@charset "UTF-8";

/* =========================================
   FAQページ専用 メインビジュアル (.faq-mv)
========================================= */
.faq-mv {
    width: 100%;
    margin-top: 180px;
}

/* PC版スタイル */
.faq-mv .faq-mv__main {
    width: 100%;
    aspect-ratio: 1920 / 640;
    background-image: url('../img/faq/faq-mv_pc.webp');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

.faq-mv .faq-mv__inner {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto 0 0;
    padding-left: 8%;
    padding-right: 20px;
    box-sizing: border-box;
}

.faq-mv .faq-mv__title {
    font-size: 54px;
    line-height: 1.4;
    letter-spacing: 0.15em;
    margin-bottom: 50px;
}

.faq-mv .faq-mv__text {
    font-size: 28px;
    line-height: 2;
    letter-spacing: 0.15em;
    margin-bottom: 0;
}

/* ノートPC・中画面レスポンシブ (769px 〜 1500px) */
@media screen and (max-width: 1500px) and (min-width: 769px) {
    .faq-mv .faq-mv__title {
        font-size: 42px;
        margin-bottom: 30px;
    }

    .faq-mv .faq-mv__text {
        font-size: 16px;
        margin-bottom: 0;
    }
}

/* スマホ版スタイル (768px以下) */
@media screen and (max-width: 768px) {
    .faq-mv {
        margin-top: 0;
    }

    .faq-mv .faq-mv__main {
        position: relative;
        width: 100%;
        aspect-ratio: 750 / 800;
        background-image: url('../img/faq/faq-mv_sp.webp');
        /* background-image: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)), url('../img/faq/faq-mv_sp.webp'); */
        background-size: cover;
        background-position: center;
        background-repeat: no-repeat;
        align-items: center;
        justify-content: center;
        padding-top: 0;
        padding-bottom: 0;
    }

    .faq-mv .faq-mv__inner {
        padding-left: 5%;
        padding-right: 5%;
    }

    .faq-mv .faq-mv__title {
        font-size: 27px;
        line-height: 1.7;
        letter-spacing: 0.15em;
        margin-bottom: 15px;
    }

    .faq-mv .faq-mv__text {
        font-size: 14px;
        line-height: 2.1;
        letter-spacing: 0.15em;
        margin-bottom: 0;
    }
}

/* =========================================
   よくある質問 (FAQ)
========================================= */
.p-faq {
    padding-bottom: 120px;
    width: 100%;
}

.p-faq__inner {
    width: 90%;
    max-width: 980px;
    margin: 200px auto 50px;
}

/* フィルタータブ */
.p-faq__filter {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    margin-top: 50px;
    margin-bottom: 60px;
    flex-wrap: wrap;
}

.p-faq__tab {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0 24px;
    height: 40px;
    border-radius: 9999px;
    border: 1px solid #BFA17A;
    background-color: #ffffff;
    color: var(--color-text-base);
    font-size: 14px;
    cursor: pointer;
    outline: none;
    transition: all 0.3s;
    box-sizing: border-box;
}

.p-faq__tab.is-active {
    background-color: var(--color-main);
    border-color: var(--color-main);
    color: #ffffff;
}
.faq__contents {
    border-top: 1px solid #CDCDCD;
}

.faq__group {
    border-top: none !important;
}

.faq__item {
    border-bottom: 1px solid #CDCDCD;
}

/* レスポンシブ */
@media screen and (max-width: 768px) {
    .p-faq__inner {
        margin: 100px auto;
    }
    .faq__contents{
        margin: 100px 0;
    }
    .p-faq {
        padding-top: 100px;
        padding-bottom: 80px;
    }

    .p-faq__filter {
        gap: 8px;
        margin-top: 30px;
        margin-bottom: 40px;
    }

    .p-faq__tab {
        padding: 0 16px;
        height: 34px;
        font-size: 12px;
    }
}