/* ==========================================================================
   よくある質問ページ（/faq/）
   ========================================================================== */

/* ---- HERO ---- */
.fq-hero {
    opacity: 1 !important;
    transform: none !important;
}
.fq-hero__bg {
    position: relative;
    width: 100%;
    height: 316px;
    background-image: var(--bg);
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
}
.fq-hero__overlay {
    position: absolute;
    inset: 0;
    background: rgba(255, 255, 255, 0.45);
}
.fq-hero__content {
    position: relative;
    z-index: 1;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}
.fq-hero__en {
    display: block;
    font-family: "Noto Serif JP", serif;
    font-size: 70px;
    font-weight: 700;
    color: rgba(81, 81, 81, 0.15);
    line-height: 1;
    letter-spacing: 0.1em;
    margin-bottom: -30px;
}
.fq-hero__title {
    font-family: "Noto Serif JP", serif;
    font-size: 50px;
    font-weight: 700;
    color: rgb(81, 81, 81);
    margin: 0;
    line-height: 1.2;
    position: relative;
    z-index: 1;
}

/* ---- FAQ メイン ---- */
.fq-main {
    opacity: 1 !important;
    transform: none !important;
    background: rgb(244, 244, 231);
    padding: 80px 20px;
}
.fq-main__inner {
    max-width: 1120px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 64px;
}

/* ---- カテゴリー ---- */
.fq-category {
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.fq-category__title {
    font-family: "Noto Serif JP", serif;
    font-size: 30px;
    font-weight: 700;
    color: rgb(36, 42, 118);
    margin: 0;
}

/* ---- FAQ リスト ---- */
.fq-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

/* ---- FAQ アイテム ---- */
.fq-item {
    background: #fff;
    border: 1px solid rgb(197, 197, 197);
    border-radius: 8px;
    box-shadow: 4px 4px 4px rgba(0, 0, 0, 0.25);
    overflow: hidden;
}

/* ---- 質問部分（ボタン） ---- */
.fq-item__question {
    display: flex;
    align-items: center;
    width: 100%;
    padding: 20px 32px;
    gap: 20px;
    background: none;
    border: none;
    cursor: pointer;
    text-align: left;
}
.fq-item__question:hover {
    background: rgba(36, 42, 118, 0.03);
}

/* Q バッジ（ネイビー円） */
.fq-item__q-badge {
    flex-shrink: 0;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: rgb(36, 42, 118);
    display: flex;
    align-items: center;
    justify-content: center;
}
.fq-item__q-badge span {
    font-family: "Noto Serif JP", serif;
    font-size: 30px;
    font-weight: 700;
    color: #fff;
    line-height: 1;
}

/* 質問テキスト */
.fq-item__q-text {
    flex: 1;
    font-family: "Noto Serif JP", serif;
    font-size: 20px;
    font-weight: 500;
    color: rgb(81, 81, 81);
    margin: 0;
    line-height: 1.5;
    text-align: left;
}

/* トグルボタン（＋／－） */
.fq-item__toggle {
    flex-shrink: 0;
    font-size: 24px;
    font-weight: 700;
    color: rgb(81, 81, 81);
    line-height: 1;
    width: 40px;
    text-align: center;
    transition: transform 0.2s ease;
}
.fq-item__question[aria-expanded="true"] .fq-item__toggle {
    transform: rotate(0deg);
}

/* ---- 回答部分 ---- */
.fq-item__answer {
    display: none;
    padding: 20px 32px;
    gap: 20px;
    border-top: 1px solid rgba(197, 197, 197, 0.6);
    background: rgba(244, 244, 231, 0.4);
}
.fq-item__answer.is-open {
    display: flex;
    align-items: flex-start;
}

/* A バッジ（ピンク円） */
.fq-item__a-badge {
    flex-shrink: 0;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: rgb(241, 94, 182);
    display: flex;
    align-items: center;
    justify-content: center;
}
.fq-item__a-badge span {
    font-family: "Noto Serif JP", serif;
    font-size: 30px;
    font-weight: 700;
    color: #fff;
    line-height: 1;
}

/* 回答テキスト */
.fq-item__a-text {
    flex: 1;
    font-family: "Noto Serif JP", serif;
    font-size: 20px;
    font-weight: 500;
    color: rgb(81, 81, 81);
    margin: 0;
    line-height: 1.8;
    padding-top: 12px;
}

/* ---- CTA ---- */
.fq-cta {
    opacity: 1 !important;
    transform: none !important;
}
.fq-cta__bg {
    position: relative;
    width: 100%;
    min-height: 461px;
    background-image: var(--bg);
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
}
.fq-cta__overlay {
    position: absolute;
    inset: 0;
    background: rgba(255, 255, 255, 0.7);
}
.fq-cta__content {
    position: relative;
    z-index: 1;
    text-align: center;
    padding: 60px 20px;
    max-width: 800px;
    width: 100%;
    margin: 0 auto;
}
.fq-cta__title {
    font-family: "Noto Serif JP", serif;
    font-size: 30px;
    font-weight: 700;
    color: rgb(37, 42, 118);
    margin: 0 0 24px;
}
.fq-cta__text {
    font-size: 18px;
    font-weight: 700;
    color: rgb(81, 81, 81);
    line-height: 1.9;
    margin: 0 0 40px;
}
.fq-cta__buttons {
    display: flex;
    gap: 24px;
    justify-content: center;
    flex-wrap: wrap;
}
.fq-cta__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 362px;
    height: 88px;
    border-radius: 11px;
    font-family: "Noto Serif JP", serif;
    font-size: 24px;
    font-weight: 700;
    color: #fff;
    text-decoration: none;
    box-shadow: 4px 4px 4px rgba(0, 0, 0, 0.25);
    transition: opacity 0.2s ease;
}
.fq-cta__btn:hover {
    opacity: 0.85;
}
.fq-cta__btn--main {
    background: rgba(36, 42, 118, 0.94);
}
.fq-cta__btn--line {
    background: rgb(6, 199, 85);
}

/* ==========================================================================
   レスポンシブ
   ========================================================================== */
@media (max-width: 767px) {
    .fq-hero__bg { height: 220px; }
    .fq-hero__en { font-size: 40px; margin-bottom: -18px; }
    .fq-hero__title { font-size: 32px; }

    .fq-main { padding: 48px 20px; }
    .fq-main__inner { gap: 48px; }

    .fq-category__title { font-size: 22px; }

    .fq-item__question { padding: 16px 20px; gap: 12px; }
    .fq-item__q-badge { width: 44px; height: 44px; }
    .fq-item__q-badge span { font-size: 22px; }
    .fq-item__q-text { font-size: 16px; }
    .fq-item__toggle { font-size: 20px; width: 28px; }

    .fq-item__answer { padding: 16px 20px; gap: 12px; }
    .fq-item__a-badge { width: 44px; height: 44px; }
    .fq-item__a-badge span { font-size: 22px; }
    .fq-item__a-text { font-size: 15px; padding-top: 8px; }

    .fq-cta__btn { width: 100%; max-width: 340px; height: 72px; font-size: 20px; }
    .fq-cta__title { font-size: 22px; }
    .fq-cta__text { font-size: 15px; }
}
