@charset "UTF-8";

* {
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: Zen_Kaku_Gothic_New;
}

a {
    text-decoration: none;
    color: #333;
}

ul {
    list-style-type: none;
}

@font-face {
    font-family: Zen_Kaku_Gothic_New;
    src: url(../font/Zen_Kaku_Gothic_New/ZenKakuGothicNew-Regular.ttf);
}

@font-face {
    font-family: Zen_Old_Mincho;
    src: url(../font/Zen_Old_Mincho/ZenOldMincho-Regular.ttf);
}

header {
    display: flex;
    align-items: baseline;
    background-color: #BC9F77;
    padding: 0 5%;
    box-shadow: 1px 1px 2px 0 #BC9F77;
}

h1 {
    width: 50%;
}

h1 a {
    display: block;
    font-weight: normal;
    font-size: 20px;
    line-height: 2;
    font-family: Zen_Old_Mincho;
    color: #fff;
}

.sub-menu,
.sub-menu li {
    display: none;
}


/* ハンバーガーメニューここから */

.navmenu {
    position: fixed;
    right: -100%;
    width: 100%;
    height: 100vh;
    padding-top: 10%;
    opacity: 1;
    background-color: rgba(255, 255, 255, 0.9);
    transition: 1s;
    z-index: 100;
}

.navmenu ul {
    display: block;
    width: 50%;
    margin-left: auto;
    margin-right: auto;
}

.navmenu ul li {
    margin-top: 8%;
}

.navmenu ul li a {
    display: block;
    line-height: 3;
    font-family: Zen_Kaku_Gothic_New;
    border-bottom: 1px solid #888;
    font-size: 16px;
}

.navmenu ul li a:hover {
    opacity: 0.5;
}

.navmenu.open {
    right: 0;
    opacity: 1;
    transition: 0.8s ease-out;
}

.toggle {
    position: fixed;
    right: 1.5%;
    width: 36px;
    height: 36px;
    appearance: none;
    border: none;
    cursor: pointer;
    background-color: transparent;
    z-index: 100;
}

.toggle::before {
    content: "";
    position: absolute;
    display: block;
    top: 0;
    left: -30%;
    width: 190%;
    height: 105%;
    border-bottom-left-radius: 1vw;
    background-color: #BC9F77;
}

.toggle span,
.toggle span::before,
.toggle span::after {
    position: absolute;
    display: block;
    content: "";
    width: 100%;
    height: 2px;
    border-radius: 1vw;
    background-color: #fff;
    transition: 0.5s;
    z-index: 100;
}

.toggle span::before {
    top: -8px;
}

.toggle span::after {
    top: 8px;
}

.toggle.open span {
    background-color: transparent;
    transition: 0.2s;
}

.toggle.open span::before {
    top: 0;
    transform: rotate(-45deg);
}

.toggle.open span::after {
    top: 0;
    transform: rotate(45deg);
}

/* ハンバーガーメニューここまで */


.main-visual {
    position: relative;
    width: 100%;
    height: 100vw;
    margin-left: auto;
    margin-right: auto;
    overflow: hidden;
    z-index: -1;
}

.main-visual .slide {
    position: absolute;
    top: 0;
    height: 100vw;
    width: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    animation: mv 28s infinite;
}

.main-visual .photo1 {
    background-image: url(../images/mv1.jpg);
    animation-delay: 0;
}

.main-visual .photo2 {
    background-image: url(../images/mv2.jpg);
    animation-delay: 7s;
}

.main-visual .photo3 {
    background-image: url(../images/mv3.jpg);
    animation-delay: 14s;
}

.main-visual .photo4 {
    background-image: url(../images/mv4.jpg);
    animation-delay: 21s;
}

@keyframes mv {
    0% { opacity: 0; transform: scale(1.0, 1.0); }
    1% { opacity: 1;}
    5% { opacity: 1; }
   21% { opacity: 1; }
   25% { opacity: 1; transform: scale(1.05, 1.05); }
   26% { opacity: 0; }
  100% { opacity: 0; }
}

main section {
    width: 90%;
    margin-top: 12%;
    margin-left: auto;
    margin-right: auto;
}

main section:nth-of-type(2) {
    margin-top: 20%;
}

main section:nth-of-type(3) {
    margin-top: 80%;
}

h2 {
    font-family: Zen_Old_Mincho;
    font-weight: normal;
    text-align: center;
    font-size: clamp(24px,2vw,30px);
}

.news .news-item a {
    position: relative;
    display: block;
    margin-top: 5%;
}

.news .news-item a::after {
    display: block;
    content: "";
    position: absolute;
    bottom: -3%;
    right: 2%;
    width: 8vw;
    height: clamp(20px,1.4vw,28px);
    background-image: url(../images/arrow_short.png);
    background-size: 100%;
    background-repeat: no-repeat;
}

.news .news-item {
    border-bottom: 1px solid #ccc;
    padding: 3% 0;
}

.date {
    line-height: 3;
    font-size: clamp(14px,1.1vw,17px);
    text-indent: 2em;
}

.category {
    border: 1px solid #BC9F77;
    border-radius: 1vw;
    padding: 0 1% 0.5%;
    margin-left: 2%;
    font-size: clamp(14px,1.1vw,17px);
    transition: 0.5s;
}

.news-item p {
    font-size: clamp(15px,1.2vw,20px);
    transition: 0.5s;
}

.news .news-item:hover p {
    opacity: 0.5;
    transition: 0.5s;
}

.news .news-item:hover .category {
    border: 1px solid transparent;
    background-color: #BC9F77;
    color: #fff;
    transition: 0.5s;
}

.concept-title {
    position: relative;
    width: 240px;
    margin-left: -1em;
}

.concept-title::after {
    position: absolute;
    top: 8%;
    left: 10%;
    content: "";
    width: clamp(240px,23vw,400px);
    height: 60px;
    display: block;
    background-image: url(../images/arrow.png);
    background-size: 100%;
    background-repeat: no-repeat;
}

.concept {
    display: flex;
    position: relative;
}

.concept-text {
    position: absolute;
    top: 70%;
    width: 90%;
    padding: 12% 0;
    text-align: justify;
    font-size: clamp(12.5px,1.2vw,20px);
}

.concept-text p {
    line-height: 1.8;
}

.concept-btn {
    position: relative;
    width: clamp(120px,12%,200px);
    margin-top: 24%;
    margin-left: auto;
    margin-right: 10%;
    border-bottom: 1px solid #333;
    transition: 0.5s;
}

.concept-btn:hover {
    border-bottom: 1px solid transparent;
    transition: 1s;
}

.concept-btn a {
    display: block;
    line-height: 2.4;
    text-align: center;
    font-size: clamp(14px,1.2vw,20px);
    transition: 1s;
}

.concept-btn:hover a {
    color: #fff;
    transition: 1s;
}

.concept-btn::after {
    position: absolute;
    top: 0;
    content: "";
    display: block;
    background-color: #BC9F77;
    width: 100%;
    height: clamp(36px,3vw,48px);
    z-index: -1;
    transform: scale(0,0.7);
    transition: .5s;
}

.concept-btn:hover::after {
    transform: scale(1,1);
    transition: .5s;
}

.concept-photo {
    width: 100%;
    height: 50vw;
    margin-top: 20%;
}

.concept img {
    display: block;
    position: absolute;
    z-index: -1;
}

.concept img:nth-of-type(1) {
    bottom: -110%;
    right: 0;
    width: 60%;
}

.concept img:nth-of-type(2) {
    left: 5%;
    bottom: -75%;
    width: 40%;
}

.concept img:nth-of-type(3) {
    top: 7%;
    right: 0;
    width: 80%;
}


.line-parent {
    position: relative;
}


.line::before {
    content: "";
    display: block;
    position: absolute;
    top: -12%;
    left: 50%;
    width: 1px;
    height: 10vw;
    background-color: #333;
    animation: line 2s infinite;
}

@keyframes line {
    0% {
        transform: scale(1, 0);
        transform-origin: 0 0;
      }
      50% {
        transform: scale(1, 1);
        transform-origin: 0 0;
      }
      50.1% {
        transform: scale(1, 1);
        transform-origin: 0 100%;
      }
      100% {
        transform: scale(1, 0);
        transform-origin: 0 100%;
      }
}


.model-title {
    position: relative;
    margin-left: -6em;
}

.model-title span {
    display: block;
    margin-left: 11em;
}

.model-title::before {
    content: "";
    position: absolute;
    top: 0;
    right: 37vw;
    width: 75px;
    height: min(79px,24vw);
    background-image: url(../images/line.png);
    background-size: cover;
    background-repeat: no-repeat;
    z-index: -1;
}

.modelhouse-flex {
    display: block;
    margin-top: 8%;
    padding: 3% 0;
    border-top: 1px solid #ccc;
}

.modelhouse {
    width: 90%;
    padding: 12% 0;
    margin-left: auto;
    margin-right: auto;
    border-bottom: 1px solid #ccc;
}

.modelhouse-photo {
    width: 100%;
    height: 53vw;
    overflow: hidden;
}

.modelhouse img {
    width: 100%;
    transition: 1s;
}

.modelhouse a:hover img {
    transform: scale(1.05,1.05);
    filter: brightness(1.1);
    transition: 1s;
}

.modelhouse-text {
    padding: 1% 2%;
}

.modelhouse-text p {
    font-size: clamp(14px,1.1vw,17px);
}

.modelhouse-text p:nth-child(2) {
    font-size: 12px;
}

.btn {
    width: clamp(100px,18%,240px);
    margin-left: auto;
    text-align: center;
    line-height: 2.4;
    border-bottom: 1px solid #333;
    transition: 0.5s;
}

.modelhouse a:hover .btn {
    opacity: 0.5;
    transition: 0.5s;
}

.link-btn {
    position: relative;
    width: clamp(265px,23%,320px);
    margin-top: 12%;
    margin-left: auto;
    margin-right: auto;
    transition: 0.5s;
}

.link-btn::before {
    position: absolute;
    bottom: 0;
    content: "";
    display: block;
    border-bottom: 1px solid #333;
    width: 100%;
    z-index: -1;
    animation: border 2s infinite;
}

@keyframes border {
    0% {
        transform: scaleX(0);
        transform-origin: left;

    }

    50% {
        transform: scaleX(1);
        transform-origin: left;
    }
    50.1% {
        transform-origin: right;
    }

    100% {
        transform: scaleX(0);
        transform-origin: right;
    }
}


.link-btn a {
    display: block;
    text-align: center;
    line-height: 2.4;
    font-size: clamp(15px,1.2vw,20px);
    transition: 1s;
}

.link-btn:hover a {
    color: #fff;
    transition: 1s;
}

.link-btn::after {
    position: absolute;
    top: 0;
    content: "";
    display: block;
    background-color: #BC9F77;
    width: 100%;
    height: clamp(36px,3vw,48px);
    z-index: -1;
    transform: scale(0,0.8);
    transform-origin: right;
    transition: .5s;
}

.link-btn:hover::after {
    transform: scale(1,1);
    transform-origin: right;
    transition: .5s;
}


.swiper {
    width: 100%;
    height: 33vw;
    margin-top: 20%;
}

.swiper-wrapper {
    transition-timing-function: linear;
}

.swiper-slide img {
    width: 100%;
}

footer {
    padding: 3% 5%;
    background-color: #BC9F77;
}

footer a {
    color: #fff;
    transition: 0.5s;
}

footer a:hover {
    color: #f3e0c6;
    transition: 0.5s;
}

.footer-flex {
    display: block;
    margin-bottom: 2%;
}

.footer-flex .company{
    width: 280px;
    margin-left: auto;
    margin-right: auto;
}

footer h3 {
    font-family: Zen_Old_Mincho;
    font-weight: normal;
    margin-bottom: 3%;
    text-align: center;
    color: #fff;
}

footer address {
    font-style: normal;
    text-align: justify;
    font-size: clamp(14px,1.1vw,17px);
    color: #fff;
}

.sns {
    cursor: pointer;
    width: 99px;
    margin-top: 4%;
    margin-left: auto;
    margin-right: auto;
}

.fa-brands {
    font-size: clamp(24px,2.4vw,34px);
    color: #fff;
}

.fa-brands:nth-of-type(2) {
    margin-left: 8%;
    margin-right: 8%;
}

.fa-brands:hover {
    filter: blur(0.8px);
    color: #f3e0c6;
    transition: 0.2s;
}

.footer-nav {
    display: flex;
    flex-wrap: wrap;
    width: 98%;
    gap: 3%;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 5%;
}

.footer-nav-title {
    width: 47%;
    margin-top: 10%;
}

/* .footer-nav-title:first-of-type {
    width: 20%;
}
.footer-nav-title:nth-of-type(2) {
    width: 22%;
}

.footer-nav-title:nth-of-type(3) {
    width: 28%;
}
.footer-nav-title:nth-of-type(4) {
    width: 30%;
} */

.footer-nav .footer-nav-title a {
    display: block;
    font-size: clamp(15px,1.2vw,20px);
}

.footer-nav li ul {
    margin-top: 5%;
    margin-left: 17%;
}

.footer-nav li ul li {
    width: 100%;
}

.footer-nav .footer-nav-title ul li a {
    line-height: 2;
    font-size: clamp(11.5px,1.1vw,17px);
}

footer p {
    font-size: clamp(12px,1.1vw,17px);
    text-align: center;
    color: #fff;
}

.side-link {
    position: fixed;
    bottom: 2%;
    right: 0;
    height: 36vw;
    min-height: 250px;
    z-index: 100;
}

.side-link li {
    background-color: #fae846;
    margin-bottom: 10%;
    height: calc(100% / 3);
    writing-mode: vertical-rl;
}

.side-link li:last-of-type {
    margin-bottom: 0;
    background-color: #2E5C6E;
}

.side-link li a {
    display: block;
    text-align: center;
    line-height: 2.7;
    font-size: 2.8vw;

}

.side-link li:nth-of-type(3) a {
    color: #fff;
}
