/*
 * /faq — LLMO対策ページ「よくあるご質問」専用スタイル
 * Figma仕様（Hero #ffdab9 / Pill #507bd0 / FAQ CTA #1a3261）に準拠
 */

.p-faq {
    color: #333;
    font-family: 'Noto Sans JP', sans-serif;
    font-weight: 500;
    line-height: 1.5;
    /* 既存サイトのヘッダー(.p-header-wrap)が position:fixed のため、
       コンテンツ全体を下げて Hero がヘッダー下に隠れないようにする */
    margin-top: 80px;
}

.p-faq .breadcrumb-wrap {
    max-width: 1024px;
    margin: 0 auto;
    padding: 16px;
}

/* ============================================
   Hero
   ============================================ */
.p-faq-hero {
    background-color: #ffdab9;
    padding: 56px 16px 40px;
    text-align: center;
}

.p-faq-hero__title {
    color: #1a326e;
    font-size: 32px;
    font-weight: 700;
    line-height: 1.5;
    margin: 0;
}

.p-faq-lead {
    max-width: 1024px;
    margin: 32px auto 0;
    padding: 0 16px;
    color: #333;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.8;
    text-align: center;
}

/* ============================================
   カテゴリピル
   ============================================ */
.p-faq-pills {
    max-width: 1024px;
    margin: 32px auto 0;
    padding: 0 16px;
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
}

.p-faq-pill {
    display: inline-block;
    background: #fff;
    border: 1px solid #507bd0;
    border-radius: 4px;
    padding: 8px 16px;
    color: #1a326e;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    line-height: 1.4;
    transition: background 0.2s ease, color 0.2s ease;
}

.p-faq-pill:hover,
.p-faq-pill:focus {
    background: #1a326e;
    color: #fff;
}

/* ============================================
   FAQ グループ
   ============================================ */
.p-faq-content {
    max-width: 1024px;
    margin: 40px auto 0;
    padding: 0 16px;
}

.p-faq-group {
    margin-bottom: 40px;
    scroll-margin-top: 80px;
}

.p-faq-group__title {
    color: #1a326e;
    font-size: 22px;
    font-weight: 700;
    line-height: 1.5;
    margin: 0 0 16px;
}

.p-faq-group__list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.p-faq-card {
    background: #fff;
    border: 1px solid #eaeaea;
    border-radius: 4px;
    padding: 18px;
}

.p-faq-card__q {
    color: #1a3261;
    font-size: 18px;
    font-weight: 700;
    line-height: 1.5;
    margin: 0 0 8px;
}

.p-faq-card__a {
    color: #333;
    font-size: 14px;
    line-height: 1.7;
    margin: 0;
}

/* ============================================
   FAQ CTA
   ============================================ */
.p-faq-cta {
    background-color: #1a3261;
    color: #fff;
    padding: 42px 16px;
    text-align: center;
    margin: 40px 0;
}

.p-faq-cta__title {
    color: #fff;
    font-size: 22px;
    font-weight: 700;
    line-height: 1.5;
    margin: 0 0 16px;
}

.p-faq-cta__body {
    color: #fff;
    font-size: 16px;
    line-height: 1.7;
    margin: 0 0 16px;
}

.p-faq-cta__button {
    display: inline-block;
    background: #ff5500;
    color: #fff;
    text-decoration: none;
    font-weight: 700;
    font-size: 16px;
    line-height: 54px;
    width: 100%;
    max-width: 360px;
    border-radius: 4px;
    box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.12);
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.p-faq-cta__button:hover,
.p-faq-cta__button:focus {
    opacity: 0.9;
    transform: translateY(-1px);
}

/* ============================================
   PC レイアウト
   ============================================ */
@media (min-width: 768px) {
    .p-faq {
        margin-top: 150px;
    }
    .p-faq-hero {
        padding: 80px 16px 56px;
    }
    .p-faq-hero__title {
        font-size: 42px;
    }
    .p-faq-group__title {
        font-size: 28px;
    }
    .p-faq-card__q {
        font-size: 20px;
    }
    .p-faq-cta {
        padding: 64px 16px;
    }
    .p-faq-cta__title {
        font-size: 28px;
    }
}
