@charset "utf-8";
/*==========================
FAQ
==========================*/
.topic-subpage {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 18px;
    /* max-width: 1440px; */
    margin: 0 auto;
    background-image: url(../images/subpage-topic-bg.webp);
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    text-align: center;
}

.topic-subpage_eng {
    color: #FFF;
    font-family: "Cormorant Garamond";
    font-size: 9.2rem; /* フォールバック */
    font-size: clamp(6.4rem,6.38vw,9.2rem);
    font-style: normal;
    font-weight: 600;
    line-height: 1;
}

.topic-subpage_ja {
    color: #FFF;
    font-family: "Noto Serif JP";
    font-size: 1.6rem;
    font-weight: 600;
    line-height: 1.8;
    margin-top: 14px;
}

.faq-subtext {
    text-align: left;
    width: fit-content;
    margin: 0 auto;
    font-family: "Noto Sans JP";
    font-size: 1.6rem;
    margin-top: 80px;
    padding: 20px 0;
}

/* FAQナビゲーションボタン */
.faq-nav-buttons {
    max-width: 1114px;
    margin: 80px auto 0;
}

.faq-nav-grid {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 42px;
    flex-wrap: wrap;
}

.faq-nav-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 6px 20px;
    background-color: #47763C;
    color: #FFF;
    border-radius: 5px;
    font-family: "Noto Sans JP";
    font-size: 1.8rem;
    font-weight: 500;
    text-align: center;
    transition: all 0.3s ease;
    width: 274px;
    height: 55px;
}

.faq-nav-btn:hover {
    background-color: #1e3d1a;
    box-shadow: 0 4px 12px rgba(45, 90, 39, 0.3);
}

.faq-nav-btn span {
    display: block;
    line-height: 1;
}

.faq-list-wrapper {
    padding: 0 20px 40px;
}

.faq-list {
    max-width: 1114px;
    margin: 0 auto;
}

.category-name {
    font-family: "Noto Sans JP";
    font-size: 2.4rem;
    font-weight: 700;
    line-height: 1;
    text-align: center;
    padding: 80px 0 40px;
}

.faq-list-item {
    font-family: "Noto Sans JP";
    cursor: pointer;
}

.faq-list-item + .faq-list-item {
    margin-top: 20px;
}

.faq-question {
    display: flex;
    align-items: center;
    justify-content: start;
    padding: 17.5px 60px 17.5px 75px;;
    background-color: #FFF;
    font-size: 1.6rem;
    font-weight: 500;
    position: relative;
}

.faq-question::before {
    display: block;
    content: "";
    background-image: url(../images/question-icon.svg);
    background-position: center;
    background-size: contain;
    background-repeat: no-repeat;
    width:35px;
    height: 35px;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    left: 30px;
}

/* 初期状態（閉じているとき） */
.faq-question::after {
    display: flex;
    align-items: center;
    justify-content: center;
    content: "+";
    color: white;
    background: linear-gradient(180deg, #F3C11B 0%, #E39513 100%);
    font-size: 2.8rem;
    line-height: 1;
    width: 40px;
    height: 100%;
    position: absolute;
    top: 0;
    right: 0;
}

/* オープン時にopenクラスを付与 */
.faq-question.open::after {
	content: "-";
}

.faq-answer {
    padding: 17.5px 60px 17.5px 75px;
    font-size: 1.6rem;
    background-color: #FFF;
    position: relative;
}

.faq-answer::before {
    display: block;
    content: "";
    background-image: url(../images/answer-icon.svg);
    background-position: center;
    background-size: contain;
    background-repeat: no-repeat;
    width:35px;
    height: 35px;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    left: 30px;
}

.btn-list-faq {
    margin: 80px auto;
}

/* FAQ sp */
@media screen and (max-width:769px) {
    .topic-subpage {
        padding: 65px;
        background-image: url(../images/subpage-topic-bg-sp.webp);
    }

    .topic-subpage_eng {
        font-size: 4.8rem;
    }

    .topic-subpage_ja {
        font-size: 1.4rem;
    }

    .faq-subtext {
        font-size: 1.4rem;
        margin-top: 80px;
        padding: 0 24px;
    }

    .faq-nav-grid {
        gap: 20px;
    }

    .faq-nav-buttons {
        padding: 0 24px;
    }

    .faq-nav-btn {
        font-size: 1.4rem;
        width: 224px;
        height: 50px;
    }

    .faq-list-wrapper {
        padding: 0 24px 0;
    }

    .category-name {
        font-size: 1.8rem;
        padding: 80px 0 40px;
    }

    .faq-list-item {
        height: auto;
    }

    .faq-question {
        height: auto;
        padding: 24px 40px 24px 55px;
        font-size: 1.4rem;
    }
    
    .faq-question::before {
        left: 10px;
    }

    /* 初期状態（閉じているとき） */
    .faq-question::after {
        width: 30px;
    }

    .faq-answer {
        font-size: 1.4rem;
    }

    .faq-answer {
        padding: 10px 30px 20px 55px;
        font-size: 1.4rem;
    }

    .faq-answer::before {
        left: 10px;
    }

    .btn-list-faq {
        margin: 80px auto;
    }

}/* sp 769px */
