/* ========================================
   FAQ ページ
   ======================================== */

/* ヒーロー */
.faq-hero {
    position: relative;
    overflow: hidden;
    height: 410px;
    padding-top: 30px;
    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.faq-hero-label {
    font-size: 0.875rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    color: var(--gold);
    margin-bottom: var(--space-sm);
}

.faq-hero-title {
    font-family: var(--font-serif);
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 900;
    color: #fff;
    margin-bottom: var(--space-md);
}

.faq-hero-subtitle {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.8);
}

/* セクション */
.faq-section {
    padding: var(--space-2xl) 0;
}

.faq-section-alt {
    background: var(--gray-50);
}

/* カテゴリ見出し */
.faq-category {
    font-family: var(--font-serif);
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: var(--space-lg);
    padding-left: var(--space-sm);
    border-left: 4px solid var(--gold);
}

/* FAQ リスト */
.faq-list {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

/* 各アイテム */
.faq-item {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: 12px;
    overflow: hidden;
    transition: box-shadow 0.25s ease;
}

.faq-item:hover {
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
}

.faq-item.open {
    border-color: var(--gold);
    box-shadow: 0 4px 16px rgba(212, 175, 70, 0.12);
}

/* 質問ボタン */
.faq-question {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-sm);
    padding: 1.2em 1.5em;
    background: none;
    border: none;
    cursor: pointer;
    text-align: left;
    font-family: var(--font-sans);
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--navy);
    line-height: 1.6;
}

/* +/- アイコン */
.faq-icon {
    flex-shrink: 0;
    width: 24px;
    height: 24px;
    position: relative;
}

.faq-icon::before,
.faq-icon::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    background: var(--navy);
    border-radius: 2px;
    transition: transform 0.3s ease;
}

.faq-icon::before {
    width: 14px;
    height: 2px;
    transform: translate(-50%, -50%);
}

.faq-icon::after {
    width: 2px;
    height: 14px;
    transform: translate(-50%, -50%);
}

.faq-item.open .faq-icon::after {
    transform: translate(-50%, -50%) rotate(90deg);
}

/* 回答 */
.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease, padding 0.35s ease;
    padding: 0 1.5em;
}

.faq-item.open .faq-answer {
    max-height: 500px;
    padding: 0 1.5em 1.5em;
}

.faq-answer p {
    font-size: 0.9rem;
    color: var(--gray-600);
    line-height: 1.9;
}

.faq-answer ul {
    list-style: none;
    margin: 0.5em 0;
    padding: 0;
}

.faq-answer ul li {
    font-size: 0.9rem;
    color: var(--gray-600);
    line-height: 1.9;
    padding-left: 1.4em;
    position: relative;
}

.faq-answer ul li::before {
    content: "・";
    position: absolute;
    left: 0;
    color: var(--gold);
    font-weight: 700;
}

.faq-answer a {
    color: var(--blue);
    text-decoration: none;
    font-weight: 500;
}

.faq-answer a:hover {
    text-decoration: underline;
}

/* CTA */
.faq-cta {
    padding: var(--space-3xl) 0;
    background: linear-gradient(135deg, var(--navy) 0%, #1a3a6e 100%);
    text-align: center;
}

.faq-cta-text {
    font-family: var(--font-serif);
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: var(--space-lg);
    line-height: 1.8;
}

.faq-cta-buttons {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-sm);
}

.btn-line-small {
    display: inline-block;
    padding: 0.7em 2em;
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--white);
    background: #06C755;
    border-radius: 50px;
    text-decoration: none;
    transition: opacity 0.25s;
}

.btn-line-small:hover {
    opacity: 0.85;
}

/* ========================================
   モバイル
   ======================================== */
@media (max-width: 768px) {
    .faq-hero {
        height: 300px;
    }

    .faq-hero-title {
        font-size: 1.6rem;
    }

    .faq-section {
        padding: var(--space-xl) 0;
    }

    .faq-category {
        font-size: 1.1rem;
    }

    .faq-question {
        font-size: 0.9rem;
        padding: 1em 1.2em;
    }

    .faq-answer {
        padding: 0 1.2em;
    }

    .faq-item.open .faq-answer {
        padding: 0 1.2em 1.2em;
    }

    .faq-answer p {
        font-size: 0.85rem;
    }

    .faq-cta-text {
        font-size: 1.1rem;
    }
}
