/* ==========================================
   FAQ ページ固有スタイル
   ========================================== */

/* ページヘッダー */
.faq-hero {
    padding-top: 160px;
    padding-bottom: 80px;
}

/* カテゴリナビゲーション */
.faq-category-nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0;
    border-top: 1px solid rgba(17, 17, 17, 0.1);
    border-bottom: 1px solid rgba(17, 17, 17, 0.1);
}

.faq-category-nav a {
    padding: 16px 24px;
    font-size: 12px;
    letter-spacing: 0.12em;
    color: #666666;
    text-decoration: none;
    transition: color 0.3s ease;
    position: relative;
}

.faq-category-nav a::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 50%;
    transform: translateX(-50%) scaleX(0);
    width: 80%;
    height: 1px;
    background-color: #111111;
    transition: transform 0.3s ease;
}

.faq-category-nav a:hover {
    color: #111111;
}

.faq-category-nav a:hover::after {
    transform: translateX(-50%) scaleX(1);
}

/* FAQ セクション */
.faq-section {
    margin-bottom: 80px;
}

.faq-section-title {
    font-size: 18px;
    letter-spacing: 0.15em;
    font-weight: 500;
    padding-bottom: 16px;
    border-bottom: 1px solid rgba(17, 17, 17, 0.15);
    margin-bottom: 0;
}

/* アコーディオン */
.faq-item {
    border-bottom: 1px solid rgba(17, 17, 17, 0.08);
}

.faq-question {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 24px 0;
    background: none;
    border: none;
    cursor: pointer;
    text-align: left;
    font-family: 'Noto Serif JP', serif;
    font-size: 14px;
    font-weight: 400;
    letter-spacing: 0.08em;
    line-height: 1.8;
    color: #111111;
    transition: color 0.3s ease;
}

.faq-question:hover {
    color: #666666;
}

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

.faq-icon::before,
.faq-icon::after {
    content: '';
    position: absolute;
    background-color: #999999;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.3s ease;
}

.faq-icon::before {
    /* 横線（マイナス） */
    top: 50%;
    left: 0;
    width: 100%;
    height: 1px;
    transform: translateY(-50%);
}

.faq-icon::after {
    /* 縦線（プラス） */
    top: 0;
    left: 50%;
    width: 1px;
    height: 100%;
    transform: translateX(-50%);
}

.faq-item.is-open .faq-icon::after {
    transform: translateX(-50%) rotate(90deg);
    opacity: 0;
}

/* 回答エリア */
.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), padding 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 0 0 0 0;
}

.faq-item.is-open .faq-answer {
    padding: 0 0 32px 0;
}

.faq-answer-inner {
    font-size: 13px;
    line-height: 2.4;
    letter-spacing: 0.06em;
    color: #444444;
    font-weight: 300;
}

.faq-answer-inner p {
    margin-bottom: 16px;
}

.faq-answer-inner p:last-child {
    margin-bottom: 0;
}

.faq-answer-inner strong {
    font-weight: 500;
    color: #111111;
}

/* CTA セクション（規約リンクエリア） */
.faq-terms-note {
    padding: 24px 0;
    text-align: center;
    font-size: 11px;
    letter-spacing: 0.08em;
    color: #999999;
    font-weight: 300;
}

.faq-terms-note a {
    color: #666666;
    text-decoration: underline;
    text-underline-offset: 3px;
    transition: color 0.3s ease;
}

.faq-terms-note a:hover {
    color: #111111;
}

/* レスポンシブ */
@media (max-width: 768px) {
    .faq-hero {
        padding-top: 120px;
        padding-bottom: 56px;
    }

    .faq-category-nav {
        gap: 0;
    }

    .faq-category-nav a {
        padding: 12px 16px;
        font-size: 11px;
    }

    .faq-question {
        padding: 20px 0;
        font-size: 13px;
        min-height: 44px;
    }

    .faq-section {
        margin-bottom: 56px;
    }

    .faq-answer-inner {
        font-size: 12px;
        line-height: 2.2;
    }
}
