@charset "utf-8";

/* サブビジュアル */
.hero {
    width: 100vw;
    height: 75vh;
    background-image: url(../images/images_other/faq_sp.webp);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    position: relative;
}

.title {
    position: absolute;
    bottom: 45%;
    left: 50%;
    transform: translate(-50%, 50%);
    writing-mode: vertical-rl;
    -webkit-writing-mode: vertical-rl; 
    text-orientation: upright;
    color: #FFF;
    font-size: 2.4rem;
    font-weight: 700;
    line-height: 160%; /* 39px */
    text-shadow: 2px 2px 2px rgba(0, 0, 0, 0.5);
    letter-spacing: 8px;
    white-space: nowrap;
}

/* サブビジュアル　PC */
@media screen and (min-width:769px) {
    .hero {
        height: 70vh;
        background-image: url(../images/images_other/faq_pc.webp);
    }

    .title {
        font-size: 3.2rem;
    }
}

/* FAQ tab SP */
.tab_wrap {
    padding: 60px 8% 0;
}

.tab_border {
    border-bottom: 1px solid #3C3C3C;
}

.tablist {
    padding-bottom: 15px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: space-between;
    position: relative;
    
}

.tab_item {
    display: inline-flex;
    align-items: center;
    position: relative;
    padding: 0 3px 0;
    margin-top: 15px;
    gap: 3px;
}

.tab_item_txt {
    text-align: center;
    color: #3D5146;
    font-size: 1.6rem;
    font-weight: 700;
    line-height: 1.9;
}


/* tab__item hover時の下線 */
.tab_item::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -5px;
    width: 100%;
    height: 5px;
    background-color: #5E7E68;
    transform: scaleX(0);
    transform-origin: left;
    transition: 0.5s;
}

.tab_item:hover::after {
    transform: scaleX(1);
}

.tab_item img {
    margin-left: 10px;
}

/* tab TB */
@media screen and (min-width:768px) {
    .tab_wrap {
        padding: 120px 10% 0;
    }

    .tablist {
        padding-bottom: 18px;
    }

    .tab_item {
        margin-top: 25px;
    }

    .tab_border {
        text-align: center;
    }

    .tab_item_txt{
        font-size: 2rem;
        line-height: 1.79;
    }
}

@media screen and (min-width:1160px) {
    .tab_wrap {
        padding: 120px 12.5% 0;
        max-width: 1440px;
        margin: 0 auto;
    }

    .tablist {
        padding-bottom: 20px;
        border-bottom: 1px solid #3C3C3C;
        display: flex;
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }

    .tab_item {
        padding: 0;
        gap: 5px;
    }

    .tab_item_txt{
        font-size: 2.2rem;
        font-weight: 700;
        line-height: 1.3;
    }

    .tab_item img {
        width: 20px;
        padding: 4px 0;
        transform: translateY(4px);
    }
}

/* FAQ */
.faq-area{
    padding: 50px 8% 0;
}

.section__title {
    text-align: center;
    font-size: 2rem;
    font-weight: 700;
    line-height: 28px; /* 140% */
    margin-bottom: 20px;
}

.faq_q {
    padding: 6px 5px;
    border-radius: 2px;
    background: #C3D2CB;
    display: flex;
    align-items: flex-start;
    justify-content: left;
    margin-bottom: 5px;
}

.faq_a {
    padding: 6px 5px;
    display: flex;
    align-items: flex-start;
    justify-content: left;
    margin-bottom: 26px;
}

.faq_alphabet {
    color: #3C3C3C;
    font-family: "Playfair Display";
    font-size: 2rem;
    font-weight: 700;
    line-height: 120%; /* 28.8px */
    letter-spacing: 1.2px;
    margin-right: 15px;
}

.q_txt {
    color: #3C3C3C;
    font-size: 1.6rem;
    font-weight: 700;
    line-height: 170%; /* 27.2px */
    letter-spacing: 0.8px;
}

.a_txt {
    color: #3C3C3C;
    font-size: 1.5rem;
    font-weight: 500;
    line-height: 180%; /* 27px */
    letter-spacing: 0.75px;
}

@media screen and (min-width:768px) {
    .faq-area{
        padding: 50px 10% 0;
    }

    .section__title {
        font-size: 2.5rem;
        font-weight: 700;
        line-height: 1.4;
        margin-bottom: 30px;
    }

    .faq_alphabet {
        font-size: 2.2rem;
        margin-right: 20px;
    }

    .q_txt {
        font-size: 1.8rem;
    }

    .a_txt {
        font-size: 1.7rem;
        font-weight: 500;
        line-height: 180%; /* 27px */
        letter-spacing: 0.75px;
    }

    .faq_q {
        padding: 10px;
        margin-bottom: 10px;
    }


    .faq_a {
        padding: 10px;
        display: flex;
        align-items: flex-start;
        justify-content: left;
        margin-bottom: 40px;
    }

}

@media screen and (min-width:1024px) {
    .faq-area {
        padding: 100px 12.5% 0;
        max-width: 1440px;
        margin: 0 auto;
    }

    .section__title {
        font-size: 3.2rem;
        font-weight: 700;
        line-height: 1.4;
        margin-bottom: 40px;
    }


}




/* お問い合わせ */
.contact {
    padding: 120px 8% 80px;
    text-align: center;
}

.contact__title {
    writing-mode: vertical-rl;
    text-align: left;
    font-size: 2rem;
    font-weight: 700;
    line-height: 140%;
    letter-spacing: 3px;
    margin: 0 auto;
}

.subtitle__en {
    text-align: center;
    font-family: "Playfair Display";
    font-size: 1.2rem;
    font-weight: 700;
    line-height: 150%;
    letter-spacing: 0.6px;
    margin-bottom: 8px;
}

.contact__text_block {
    margin-top: 48px;
    text-align: left;
}

.contact_text {
    font-size: 1.5rem;
    font-weight: 400;
    line-height: 180%; /* 27px */
    letter-spacing: 0.75px;
}

.btn--contactform--wrap {
    margin: 24px auto 0;
    width: 100%;
    max-width: 380px;
    border-radius: 5px;
    border: 1px solid #3D5146;
    background: #E8EFEC;
}

.btn--contactform--wrap:hover {
    opacity: 0.6;
}

.btn--contactform {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

.btn--contactform_txt {
    color: #3D5146;
    text-align: center;
    font-size: 1.6rem;
    font-weight: 700;
    line-height: 160%; /* 25.6px */
    letter-spacing: 0.8px;
}

/* お問い合わせ　PC */
@media screen and (min-width:768px) {
    .contact {
        padding: 80px 12.5% 40px;
        display: flex;
        align-items: flex-start;
        justify-content: center;
        gap: 80px;
    }

    .contact__title {
        font-size: 3.4rem;
        font-weight: 700;
        line-height: 130%; /* 49.4px */
        letter-spacing: 1.14px;
    }

    .subtitle__en {
        font-family: "Playfair Display";
        font-size: 2rem;
        font-weight: 700;
        line-height: 150%; /* 30px */
        letter-spacing: 0.4px;
    }

    .contact_content {
        width: 34.72vw;
        max-width: 500px;
    }

    .contact__title {
        margin: 0;
    }

    .faq_text,
    .contact_text {
        font-size: 1.6rem;
        letter-spacing: 0.9px;
        margin-top: 8px;
    }

    .faq_btn {
        font-size: 1.7rem;
        font-weight: 700;
        line-height: 160%; /* 32px */
        letter-spacing: 0.6px;
        margin-top: 20px;
    }

    .contact__text_block {
        margin-top: 60px;
        text-align: left;
    }

    .btn--contactform--wrap {
        margin: 24px 0 0;
    }
}

@media screen and (min-width:1024px) {
    .contact {
        padding: 100px 12.5% 150px;
    }

    .faq_text,
    .contact_text {
        font-size: 1.8rem;
        letter-spacing: 0.9px;
        margin-top: 8px;
    }

    .faq_btn {
        font-size: 1.8rem;
        font-weight: 700;
        line-height: 160%; /* 32px */
        letter-spacing: 0.6px;
        margin-top: 20px;
    }

    .faq_btn {
        font-size: 2rem;
        font-weight: 700;
        line-height: 160%; /* 32px */
        letter-spacing: 0.6px;
        margin-top: 20px;
    }

}