@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: 20%;
}

h1 a {
    display: block;
    font-weight: normal;
    font-size: clamp(20px,2vw,30px);
    line-height: 2;
    font-family: Zen_Old_Mincho;
    color: #fff;
}

/* PC用ナビ */

.toggle {
    display: none;
}

.navmenu {
    width: 60%;
    margin-left: 10%;
}

.navmenu ul {
    display: flex;
}

.navmenu ul li {
    width: 25%;
}

.navmenu ul li a {
    display: block;
    line-height: 3.4;
    text-align: center;
    color: #fff;
    font-size: clamp(12px,1.1vw,16px);
}

.navmenu ul li a:hover {
    color: #f3e0c6;
}

/* サブメニュー */

.pull {
    position: relative;
}

.pull:hover .sub-menu {
    height: 5vw;
    max-height: 68.3px;
    opacity: 1;
    transition: 0.8s;
}

.navmenu .sub-menu {
    display: flex;
    position: absolute;
    top: min(58px,4vw);
    width: 50vw;
    height: 0;
    opacity: 0;
    overflow: hidden;
    transition: 0.3s;
    z-index: 100;
    background-color: rgba(255, 255, 255, 0.9);
    box-shadow: 1px 1px 4px 0px #eee;
}

.sub-menu li {
    width: calc(100% / 3);
    margin-left: auto;
    margin-right: auto;
}

.navmenu .sub-menu li a {
    display: block;
    line-height: 4;
    text-decoration: none;
    color: #333;
    font-size: clamp(11px,1.07vw,14px);}


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

/* .navmenu {
    position: fixed;
    right: -100%;
    width: 40%;
    padding: 5%;
    opacity: 0;
    background-color: rgba(255, 255, 255, 0.8);
    transition: 1s;
}

.navmenu ul li a {
    display: block;
    line-height: 3;
    font-family: Zen_Kaku_Gothic_New;

}

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

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

.toggle {
    position: fixed;
    right: 5%;
    width: 42px;
    height: 42px;
    appearance: none;
    border: none;
    cursor: pointer;
    background-color: transparent;
}

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

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

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

.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: 45vw;
    margin-left: auto;
    margin-right: auto;
    overflow: hidden;
    z-index: -1;
}

.main-visual .slide {
    position: absolute;
    top: 0;
    height: 45vw;
    width: 100%;
    background-size: cover;
    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: 5%;
    margin-left: auto;
    margin-right: auto;
}

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

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

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

.news .news-item a {
    position: relative;
    display: flex;
}

.news .news-item a::after {
    display: block;
    content: "";
    position: absolute;
    bottom: 1px;
    right: 2%;
    width: 3vw;
    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: 1% 0;
}

.date {
    line-height: 2;
    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%;
    margin-right: 4%;
    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: clamp(240px,23vw,400px);
}

.concept-title::after {
    position: absolute;
    top: 0;
    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;
}

.concept-text {
    width: 50%;
    padding: 5% 2.5%;
    font-size: clamp(15px,1.2vw,20px);
}

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

.concept-btn {
    position: relative;
    width: clamp(120px,12%,200px);
    margin-top: -12%;
    margin-left: 35%;
    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 {
    position: relative;
    width: 45%;
    height: 30vw;
    z-index: -100;
}

.concept img {
    display: block;
    position: absolute;
}

.concept img:nth-of-type(1) {
    left: 0;
    top: 32%;
    width: 40%;
}

.concept img:nth-of-type(2) {
    right: 13%;
    width: 60%;
    z-index: -1;
}

.concept img:nth-of-type(3) {
    bottom: 0;
    right: 0;
    width: 45%;
}


.line-parent {
    position: relative;
}

.line::before {
    content: "";
    display: block;
    position: absolute;
    top: -5%;
    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;
}

.model-title span {
    margin-left: 1.5em;
}

.model-title::before {
    content: "";
    position: absolute;
    top: max(-1vw,-11px);
    left: min(10.3vw,165px);
    width: 76px;
    height: 5vw;
    max-height: 70px;
    background-image: url(../images/line.png);
    background-size: cover;
    background-repeat: no-repeat;
    transform: rotate(-15deg);
    z-index: -1;
}

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

.modelhouse {
    width: 50%;
}

.modelhouse-photo {
    width: 100%;
    height: 28.6vw;
    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);
}

.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: 6%;
    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: 16vw;
    margin-top: 8%;
}

.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: flex;
    margin-bottom: 2%;
}

.footer-flex .company{
    width: 35%;
    margin-right: 5%;
}

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

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

.sns {
    cursor: pointer;
    margin-top: 2%;
}

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

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

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

.footer-nav {
    display: flex;
    width: 55%;
}

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

.footer-nav-title:nth-of-type(3),
.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: 5%;
}

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

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

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

.side-link {
    position: fixed;
    bottom: 5%;
    right: 0;
    height: 25vw;
    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;
    padding: 2% 0;
    text-align: center;
    line-height: 3.2;
    font-size: clamp(11.5px,1.2vw,18px);

}

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