@charset "utf-8";

/*======================
*
header
*
=======================*/
/*tb*/
@media (max-width:1024px) {
    header {
        padding: 28px 25px;
    }

    header img.logo {
        width: 160px;
    }

    header nav ul {
        gap: 25px;
        margin-right: 25px;
    }

    header nav ul li {
        font-size: 13px;
    }

    header nav ul li::after {
        width: 15px;
        background: url(img/common/arrow-icn_b.webp) no-repeat right center / 100%;
    }

    header nav .header .contact {
        font-size: 12px;
        padding: 10px 20px 8px;
    }
}

/*ハンバーガーメニュー*/
/*sp*/
@media (max-width:767px) {
    header {
        padding: 0;
    }

    header .inner {
        position: relative;
        z-index: 1;
        display: flex;
        align-items: center;
        justify-content: space-between;
        width: 100%;
        height: 100%;
        padding: 16px;
        background-color: inherit;
    }

    header .inner .sp-btn {
        position: relative;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 4px;
        width: 44px;
        aspect-ratio: 1 / 1;
        border-radius: 50%;
        background-color: var(--main-color);
    }

    header .inner .sp-btn span {
        display: inline-block;
        width: 16px;
        height: 1px;
        background-color: #FFF;
        transition: 0.3s ease-in-out;
    }

    header .inner .sp-btn.active span:nth-of-type(1) {
        transform: translateY(5px) rotate(45deg);
    }

    header .inner .sp-btn.active span:nth-of-type(2) {
        opacity: 0;
    }

    header .inner .sp-btn.active span:nth-of-type(3) {
        transform: translateY(-5px) rotate(-45deg);
    }

    header img.logo {
        width: 200px;
    }

    header nav {
        position: absolute;
        z-index: -1;
        top: calc(var(--headerNav, 50dvh) * -1);
        left: 0;
        flex-direction: column;
        width: 100%;
        padding: 16px 24px 32px;
        background-color: #FAFAFC;
        transition: 0.5s ease-in-out;
    }

    header nav.active {
        top: calc(var(--header) - 1px);
    }

    header nav ul {
        display: block;
        width: 100%;
        margin: 0;
    }

    header nav ul li {
        display: flex;
        align-items: center;
        justify-content: space-between;
        width: 100%;
        font-size: 15px;
        border-bottom: solid 1px #D2DAE2;
    }

    header nav ul li a {
        width: 100%;
        padding: 0 0 16px 0;
    }

    header nav ul li:not(:first-of-type) a {
        padding-top: 17px;
    }

    header nav ul li:first-of-type a:after {
        top: calc(50% - 5px);
    }

    header nav ul li a::after {
        width: 20px;
    }

    header nav .contact {
        display: flex;
        justify-content: center;
        width: 100%;
        font-size: 15px;
        margin-top: 32px;
    }

    .sp-bg {
        position: fixed;
        z-index: 9998;
        width: 100%;
        height: 100dvh;
        background-color: rgba(6, 21, 34, 0.5);
        opacity: 0;
        pointer-events: none;
        transition: 0.5s ease-in-out;
    }

    .sp-bg.active {
        opacity: 1.0;
        pointer-events: auto;
    }
}

/*======================
*
mv
*
=======================*/
/*tb*/
@media (min-width:768px) and (max-width:1024px) {
    .mv-area h1 {
        transform: translateY(-50%);
        top: 50%;
    }
}

@media (max-width:1024px) {
    .mv-area h1 {
        font-size: 45px;
    }
}

/*sp*/
@media (max-width:767px) {
    .mv-area {
        display: flex;
        flex-direction: column-reverse;
        justify-content: space-between;
    }

    .mv-area h1 {
        position: static;
        text-align: center;
        font-size: 20px;
        line-height: calc(36 / 20);
        margin-top: 15px;
    }

    .mv-area .deco {
        display: block;
        position: relative;
        bottom: -3px;
        font-size: min(66px, 17.6vw);
        line-height: 0.82;
        margin: 20px auto 0;
        text-align: center;
    }

    .mv-area .deco span {
        width: 100%;
        text-align: center;
        animation: none;
    }

    .mv-area .deco span:not(:first-of-type) {
        display: none;
    }

    .mv-area .mv {
        width: 100%;
        aspect-ratio: 1 / 1;
        background: url(img/mv/sp-mv.webp) no-repeat left top / cover;
    }
}

/*======================
about
=======================*/
/*tb*/
@media (min-width:768px) and (max-width:899px) {
    section#about .img-area {
        aspect-ratio: 8 /4;
    }
}

@media (max-width:899px) {
    section#about .cont-area {
        flex-direction: column-reverse;
    }

    section#about .img-area {
        width: 100%;
    }

    section#about .text-area {
        width: 100%;
        padding: 60px 25px;
    }
}

/*sp*/
@media (max-width:767px) {
    section#about .text-area {
        padding: 57px 5px 58px;
    }

    section#about .text-area p {
        font-size: 15px;
    }

    section#about .text-area h2 {
        font-size: 18px;
        line-height: calc(32 / 18);
        margin-top: 23px;
    }

}

/*======================
slider
=======================*/
/*sp*/
@media (max-width:767px) {
    .slider-area {
        margin-top: 80px;
    }

    .slider-area ul {
        min-width: calc((528 / 375) * 100%);
    }

    .slider-area ul li {
        width: calc((160 / 375) * 100%);
        margin-right: 16px;
    }
}

/*======================
message
=======================*/
/*tb*/
@media (max-width:899px) {
    #message .cont-area .cont {
        gap: 40px;
        align-items: flex-start;
        width: 100%;
    }

    #message .cont-area .cont .text-area p {
        font-size: 13px;
    }
}

/*sp*/
@media (max-width:767px) {
    #message {
        width: calc((327 / 375) * 100%);
        margin-top: 48px;
    }

    #message .cont-area {
        margin: 44px auto 0;
    }

    #message .cont-area .cont {
        flex-direction: column !important;
        gap: 29px;
    }

    #message .cont-area .cont+.cont {
        margin-top: 44px;
    }

    #message .cont-area .cont .img-area {
        width: 100%;
    }

    #message .cont-area .cont .text-area h3 {
        font-size: 24px;
        line-height: calc(40 / 24);
    }

    #message .cont-area .cont .text-area p {
        font-size: 15px;
        margin-top: 18px;
    }
}

/*======================
service
=======================*/
/*sp*/
@media (max-width:767px) {
    #service {
        margin-top: 110px;
    }

    #service .cont-area {
        width: calc((327 / 375) * 100%);
        margin: 40px auto 387px;
    }

    #service .cont-area .text-area h3 {
        font-size: 24px;
        line-height: calc(40 / 24);
    }

    #service .cont-area .text-area p {
        font-size: 15px;
        margin-top: 18px;
    }

    #service .cont-area .deco01 {
        width: calc((90 / 327) * 100%);
        max-width: 90px;
        top: calc(100% + 28px);
        left: calc((76 / 327) * 100%);
    }

    #service .cont-area .deco02 {
        width: calc((120 / 327) * 100%);
        max-width: 120px;
        top: calc(100% + 138px);
        left: -8px;
    }

    #service .cont-area .deco03 {
        width: calc((160 / 327) * 100%);
        max-width: 160px;
        top: calc(100% + 84px);
        right: -49px;
    }

    #service .cont-area .deco04 {
        width: calc((75 / 327) * 100%);
        max-width: 75px;
        top: calc(100% + 323px);
        right: 74px;
    }

}

/*======================
point
=======================*/
/*tb*/
@media (max-width:1024px) {
    #point {
        width: calc((1206 / 1366) * 100%);
    }

    #point .cont-area .text-area {
        margin-top: -32px;
    }

    #point .cont-area .text-area .num {
        width: 64px;
    }

    #point .cont-area .text-area .num span:nth-of-type(1) {
        font-size: 10px;
    }

    #point .cont-area .text-area .num span:nth-of-type(2) {
        font-size: 27px;
        margin-top: 5px;
    }
}

/*sp*/
@media (max-width:767px) {
    #point {
        width: calc((327 / 375) * 100%);
        margin-top: 45px;
    }

    #point .cont-area {
        grid-template-columns: repeat(1, 1fr);
        gap: 44px;
        margin-top: 40px;
    }

    #point .cont-area .text-area h3 {
        font-size: 24px;
    }

    #point .cont-area .text-area .num span:nth-of-type(2) {
        font-size: 24px;
        margin-top: 2px;
    }
}

/*======================
company
=======================*/
/*tb*/
@media (max-width:1024px) {
    .company .cont-area {
        width: calc((1206 / 1366) * 100%);
    }
}

/*sp*/
@media (max-width:767px) {
    .company .cont-area {
        grid-template-columns: auto;
        width: calc((327 / 375) * 100%);
        margin-top: 45px;
    }

    .company .cont-area .th {
        padding-right: 0;
        margin-bottom: 9px;
        padding-bottom: 0;
        border-bottom: 0;
    }

    .company .cont-area .td {
        margin: 0 0 22px;
        padding: 0 0 22px;
    }

}

/*======================
cta
=======================*/
/*sp*/
@media (max-width:767px) {
    .cta {
        grid-template-columns: repeat(1, 1fr);
    }

    .cta .cont {
        padding: 53.5px 0 75.5px;
    }
}

/*======================
*
contact
*
=======================*/
/*tb*/
@media (max-width:1024px) {
    .contact-page #contact {
        padding: 80px calc((80 / 1024) * 100%);
    }

    .contact-page #contact .row label {
        gap: 3px;
        font-size: 14px;
        width: 148px;
    }

    .contact-page #contact .row label+*::placeholder {
        font-size: 14px;
    }
}

/*sp*/
@media (max-width:767px) {
    .contact-page .contact-head {
        padding: 48px 0 30px;
    }

    .contact-page #contact {
        width: calc((327 / 375) * 100%);
        padding: 32px 20px;
    }

    .contact-page #contact :is(.row, dl) {
        grid-template-columns: 1fr;
    }

    .contact-page #contact .row {
        gap: 8px;
    }

    .contact-page #contact :is(.row label, dl dt) {
        gap: 5px;
        font-size: 15px;
        width: fit-content;
    }

    .contact-page #contact span.required {
        font-size: 12px;
        font-weight: 700;
        padding: 4px 5px 2px;
    }

    .contact-page #contact .row label+* {
        width: 100%;
        font-size: 15px;
        padding: 13px 16px;
    }

    .contact-page #contact .row .error_text {
        position: static;
    }

    /*ボタン*/
    .contact-page #contact .submit-btn {
        margin: 24px auto 0;
    }

}

/*======================
confirmation
=======================*/
/*tb*/
@media (max-width:899px) {
    .contact-page #contact .confirmation-cont+.btn-area {
        flex-direction: column-reverse;
    }

    .contact-page #contact .confirmation-cont+.btn-area .confirm-btn {
        margin: auto;
    }
}

/*sp*/
@media (max-width:767px) {
    .contact-page #contact .confirmation-cont+.btn-area {
        margin: 22px auto 0;
    }

    .contact-page #contact .confirmation-cont dt {
        width: 100%;
    }

    .contact-page #contact .confirmation-cont dt:not(:last-of-type) {
        padding-bottom: 0;
        margin-bottom: 0;
        border-bottom: 0;
    }

    .contact-page #contact .confirmation-cont dd:not(:last-of-type) {
        padding-bottom: 22px;
        margin: 5px 0 22px;
    }
}

/*======================
thanks
=======================*/
/*sp*/
@media (max-width:767px) {
    .contact-page #contact :is(.thanks-cont, .error-cont) p:first-of-type {
        font-size: 24px;
        line-height: calc(40 / 24);
    }

    .contact-page #contact :is(.thanks-cont, .error-cont) p:last-of-type {
        font-size: 15px;
        margin-top: 13px;
    }
}

/*======================
*
404
*
=======================*/
/*sp*/
@media (max-width:599px) {
    .page-404 .cont .wrapper:last-of-type {
        text-align: start;
        max-width: 800px;
    }
}

/*======================
*
footer
*
=======================*/
/*sp*/
@media (max-width:767px) {
    footer {
        padding: 45px 10px;
    }

    footer img {
        width: 194px;
    }

    footer .copyright {
        font-size: 10px;
        margin-top: 13px;
    }
}