@charset "UTF-8";

/* ===================================
   FAQページ - ヒーローセクション
   =================================== */
.faq-hero {
    background-color: #9fd9f6;
    padding: 80px 20px 60px;
}

.faq-hero-inner {
    max-width: 860px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 40px;
}

.faq-hero-icon {
    width: 120px;
    flex-shrink: 0;
}

.faq-hero-en {
    font-family: 'Roboto', sans-serif;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.3em;
    color: #516881;
    margin: 0 0 6px;
}

.faq-hero-title {
    font-size: 40px;
    color: #516881;
    font-weight: 700;
    margin: 0 0 16px;
    line-height: 1.2;
}

.faq-hero-sub {
    font-size: 14px;
    color: #516881;
    line-height: 1.9;
    margin: 0;
}

/* ===================================
   FAQセクション全体
   =================================== */
.faq-section {
    padding: 80px 20px 100px;
    background-color: #fff;
}

.faq-inner {
    max-width: 860px;
    margin: 0 auto;
}

.faq-section-head {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 60px;
}

.faq-section-head .section-icon {
    width: 100px;
    margin-bottom: 10px;
}

.faq-section-title {
    font-size: 36px;
    color: #516881;
    font-weight: 700;
    margin: 0 0 10px;
    letter-spacing: 0.05em;
}

.faq-section-sub {
    font-size: 14px;
    color: #888;
    margin: 0;
    text-align: center;
    line-height: 1.8;
}

/* ===================================
   FAQカテゴリ
   =================================== */
.faq-category {
    margin-bottom: 50px;
}

.faq-category-title {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 18px;
    font-weight: 700;
    color: #516881;
    border-bottom: 2px solid #9fd9f6;
    padding-bottom: 12px;
    margin-bottom: 0;
}

.faq-category-icon {
    width: 32px;
    height: 32px;
    background-color: #30b9bf;
    border-radius: 50%;
    color: #fff;
    font-size: 16px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-family: 'Roboto', sans-serif;
}

/* ===================================
   アコーディオン アイテム
   =================================== */
.faq-item {
    border-bottom: 1px solid #e8f4fb;
}

.faq-question {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 22px 20px;
    background: none;
    border: none;
    cursor: pointer;
    text-align: left;
    font-family: inherit;
    font-size: 15px;
    font-weight: 700;
    color: #333;
    letter-spacing: 0.05em;
    line-height: 1.6;
    transition: background-color 0.2s;
}

.faq-question:hover {
    background-color: #f0faff;
}

.faq-q-label {
    width: 36px;
    height: 36px;
    background-color: #fe4c7f;
    border-radius: 50%;
    color: #fff;
    font-size: 18px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-family: 'Roboto', sans-serif;
}

.faq-q-text {
    flex: 1;
}

.faq-arrow {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background-color: #9fd9f6;
    flex-shrink: 0;
    position: relative;
    transition: transform 0.3s, background-color 0.2s;
}

.faq-arrow::before,
.faq-arrow::after {
    content: '';
    position: absolute;
    background-color: #516881;
    border-radius: 2px;
    top: 50%;
    width: 8px;
    height: 2px;
}

.faq-arrow::before {
    left: 4px;
    transform: translateY(-50%) rotate(45deg);
}

.faq-arrow::after {
    right: 4px;
    transform: translateY(-50%) rotate(-45deg);
}

/* 開いているときの矢印 */
.faq-item.is-open .faq-arrow {
    transform: rotate(180deg);
    background-color: #30b9bf;
}

/* ===================================
   アコーディオン 回答
   =================================== */
.faq-answer {
    display: none;
}

.faq-answer-inner {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 0 20px 24px 20px;
}

.faq-a-label {
    width: 36px;
    height: 36px;
    background-color: #9fd9f6;
    border-radius: 50%;
    color: #516881;
    font-size: 18px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-family: 'Roboto', sans-serif;
}

.faq-answer-inner p {
    flex: 1;
    font-size: 14px;
    line-height: 1.9;
    color: #555;
    margin: 0;
    padding-top: 6px;
}

/* ===================================
   お問い合わせ誘導エリア
   =================================== */
.faq-contact-cta {
    margin-top: 60px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
    background-color: #f0faff;
    border-radius: 20px;
    padding: 50px 20px;
}

.faq-contact-cta p {
    font-size: 15px;
    color: #516881;
    font-weight: 700;
    margin: 0;
    text-align: center;
}

/* ===================================
   ヘッダー top-navi リンク
   =================================== */
.top-navi-list a {
    color: inherit;
    text-decoration: none;
}

.top-navi-list a:hover {
    opacity: 0.7;
}

.top-navi-list .top-navi-active {
    font-weight: bold;
    border-bottom: 1px solid #516881;
}

/* ===================================
   レスポンシブ
   =================================== */
@media (max-width: 768px) {
    .faq-hero {
        padding: 60px 20px 44px;
    }

    .faq-hero-inner {
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }

    .faq-hero-title {
        font-size: 28px;
    }

    .faq-section {
        padding: 60px 20px 80px;
    }

    .faq-section-title {
        font-size: 28px;
    }
}

@media (max-width: 480px) {
    .faq-hero-icon {
        width: 80px;
    }

    .faq-hero-title {
        font-size: 22px;
    }

    .faq-section-title {
        font-size: 22px;
    }

    .faq-question {
        padding: 16px 12px;
        font-size: 14px;
    }

    .faq-answer-inner {
        padding: 0 12px 20px 12px;
    }

    .faq-contact-cta {
        padding: 36px 16px;
    }
}
