/* ====================================
   ベース設定
==================================== */
:root {
    --color-primary: #1a3a5c;
    --color-primary-dark: #142d48;
    --color-accent: #e87a2e;
    --color-accent-dark: #c8631d;
    --color-text: #2c2c2c;
    --color-text-light: #555;
    --color-bg: #ffffff;
    --color-bg-gray: #f7f8fa;
    --color-border: #e3e6eb;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Noto Sans JP", "Yu Gothic", "Meiryo", sans-serif;
    font-size: 16px;
    line-height: 1.8;
    color: var(--color-text);
    background-color: var(--color-bg);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    padding-bottom: 0;
}

a {
    color: inherit;
    text-decoration: none;
}

/* ====================================
   レイアウト共通
==================================== */
.container {
    max-width: 960px;
    margin: 0 auto;
    padding: 0 24px;
}

.container-narrow {
    max-width: 760px;
}

.section {
    padding: 96px 0;
}

.section-gray {
    background-color: var(--color-bg-gray);
}

.section-title {
    font-size: 28px;
    line-height: 1.6;
    font-weight: 700;
    color: var(--color-primary);
    text-align: center;
    margin-bottom: 48px;
    letter-spacing: 0.02em;
}

.text-block {
    max-width: 720px;
    margin: 0 auto;
}

.text-block p {
    margin-bottom: 1.5em;
    color: var(--color-text-light);
}

.text-block p:last-child {
    margin-bottom: 0;
}

/* ====================================
   フェードインアニメーション
==================================== */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.fade-in.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* ====================================
   CTAボタン
==================================== */
.cta-button {
    display: inline-block;
    background-color: var(--color-accent);
    color: #fff !important;
    padding: 18px 40px;
    border-radius: 8px;
    font-size: 17px;
    font-weight: 600;
    letter-spacing: 0.03em;
    box-shadow: 0 4px 12px rgba(232, 122, 46, 0.25);
    transition: background-color 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
    margin-top: 8px;
}

.cta-button:hover {
    background-color: var(--color-accent-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(232, 122, 46, 0.35);
}

.cta-button .arrow {
    display: inline-block;
    margin-left: 6px;
    transition: transform 0.25s ease;
}

.cta-button:hover .arrow {
    transform: translateX(4px);
}

.cta-button-large {
    padding: 22px 56px;
    font-size: 19px;
}

/* ====================================
   セクション1：ファーストビュー
==================================== */
.hero {
    background-color: var(--color-primary);
    color: #fff;
    padding: 120px 0 110px;
    text-align: center;
}

.hero-inner {
    max-width: 820px;
}

.hero-title {
    font-size: 34px;
    line-height: 1.5;
    font-weight: 700;
    letter-spacing: 0.02em;
    margin-bottom: 36px;
}

.hero-subcopy {
    font-size: 19px;
    margin-bottom: 8px;
    opacity: 0.95;
}

.hero-subcopy-small {
    font-size: 15px;
    opacity: 0.8;
    margin-bottom: 40px;
}

/* ====================================
   セクション2：共感（チェックリスト）
==================================== */
.check-list {
    list-style: none;
    max-width: 700px;
    margin: 0 auto;
    background-color: #fff;
    border: 1px solid var(--color-border);
    border-radius: 10px;
    padding: 32px 36px;
}

.check-list li {
    padding: 14px 0;
    border-bottom: 1px dashed var(--color-border);
    display: flex;
    align-items: flex-start;
    color: var(--color-text);
    font-size: 16px;
}

.check-list li:last-child {
    border-bottom: none;
}

.check-mark {
    color: var(--color-accent);
    font-weight: 700;
    margin-right: 14px;
    flex-shrink: 0;
    font-size: 17px;
}

/* ====================================
   セクション5：信頼セクション
==================================== */
.profile-list {
    list-style: none;
    max-width: 640px;
    margin: 40px auto 24px;
    padding: 28px 32px;
    background-color: #fff;
    border-left: 4px solid var(--color-accent);
    border-radius: 4px;
}

.profile-list li {
    padding: 8px 0;
    font-size: 15px;
    color: var(--color-text);
    position: relative;
    padding-left: 22px;
}

.profile-list li::before {
    content: "・";
    color: var(--color-primary);
    position: absolute;
    left: 0;
    font-weight: 700;
}

.text-link {
    text-align: center;
    margin-top: 20px;
    font-size: 15px;
}

.text-link a {
    color: var(--color-primary);
    border-bottom: 1px solid var(--color-primary);
    padding-bottom: 2px;
    transition: opacity 0.25s ease;
}

.text-link a:hover {
    opacity: 0.7;
}

/* ====================================
   セクション6：お客様の声
==================================== */
.voice-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    align-items: stretch;
}

.voice-card {
    background-color: #fff;
    border: 1px solid var(--color-border);
    border-radius: 10px;
    padding: 32px 28px;
    position: relative;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
    display: flex;
    flex-direction: column;
}

.voice-card::before {
    content: "“";
    position: absolute;
    top: 8px;
    left: 16px;
    font-size: 56px;
    color: var(--color-accent);
    opacity: 0.25;
    font-family: Georgia, serif;
    line-height: 1;
}

.voice-text {
    font-size: 15px;
    line-height: 1.85;
    color: var(--color-text-light);
    margin-bottom: 0;
    margin-top: 12px;
    flex: 1;
}

.voice-author {
    font-size: 14px;
    color: var(--color-primary);
    font-weight: 600;
    text-align: right;
    margin-top: auto;
    padding-top: 16px;
    border-top: 1px solid var(--color-border);
}

/* ====================================
   セクション7：相談の流れ
==================================== */
.step-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.step-card {
    background-color: #fff;
    border: 1px solid var(--color-border);
    border-radius: 10px;
    padding: 36px 24px;
    text-align: center;
}

.step-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background-color: var(--color-primary);
    color: #fff;
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 20px;
    font-family: Georgia, serif;
}

.step-title {
    font-size: 17px;
    font-weight: 700;
    color: var(--color-primary);
    margin-bottom: 12px;
}

.step-text {
    font-size: 14.5px;
    color: var(--color-text-light);
    line-height: 1.8;
    text-align: left;
}

/* ====================================
   セクション8：FAQ
==================================== */
.faq-list {
    max-width: 720px;
    margin: 0 auto;
}

.faq-item {
    background-color: #fff;
    border: 1px solid var(--color-border);
    border-radius: 8px;
    margin-bottom: 14px;
    overflow: hidden;
}

.faq-question {
    width: 100%;
    background: none;
    border: none;
    text-align: left;
    padding: 20px 24px;
    cursor: pointer;
    font-size: 16px;
    font-weight: 600;
    color: var(--color-primary);
    display: flex;
    align-items: center;
    font-family: inherit;
    transition: background-color 0.2s ease;
}

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

.faq-q-mark {
    color: var(--color-accent);
    margin-right: 12px;
    font-weight: 700;
    flex-shrink: 0;
}

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

.faq-toggle {
    font-size: 22px;
    color: var(--color-accent);
    font-weight: 300;
    margin-left: 12px;
    transition: transform 0.3s ease;
    flex-shrink: 0;
}

.faq-item.is-open .faq-toggle {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease;
}

.faq-item.is-open .faq-answer {
    max-height: 300px;
}

.faq-answer p {
    padding: 0 24px 22px 24px;
    color: var(--color-text-light);
    font-size: 15px;
    display: flex;
}

.faq-a-mark {
    color: var(--color-primary);
    margin-right: 12px;
    font-weight: 700;
    flex-shrink: 0;
}

/* ====================================
   最終CTA
==================================== */
.final-cta {
    background-color: var(--color-primary);
    color: #fff;
    padding: 100px 0;
    text-align: center;
}

.final-cta-copy {
    font-size: 24px;
    line-height: 1.7;
    font-weight: 600;
    margin-bottom: 36px;
    letter-spacing: 0.02em;
}

.cta-note {
    margin-top: 18px;
    font-size: 13px;
    opacity: 0.75;
}

/* ====================================
   フッター
==================================== */
.site-footer {
    background-color: #fff;
    border-top: 1px solid var(--color-border);
    padding: 32px 0;
    text-align: center;
}

.copyright {
    font-size: 13px;
    color: var(--color-text-light);
    margin-bottom: 8px;
}

.footer-link a {
    font-size: 13px;
    color: var(--color-text-light);
    border-bottom: 1px solid transparent;
    transition: border-color 0.25s ease;
}

.footer-link a:hover {
    border-bottom-color: var(--color-text-light);
}

/* ====================================
   スマホ固定CTAバー
==================================== */
.mobile-fixed-cta {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: #fff;
    padding: 10px 16px;
    border-top: 1px solid var(--color-border);
    box-shadow: 0 -4px 12px rgba(0, 0, 0, 0.08);
    z-index: 100;
}

.mobile-cta-button {
    display: block;
    background-color: var(--color-accent);
    color: #fff !important;
    text-align: center;
    padding: 14px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    transition: background-color 0.25s ease;
}

.mobile-cta-button:active {
    background-color: var(--color-accent-dark);
}

/* ====================================
   レスポンシブ
==================================== */
@media (max-width: 768px) {
    body {
        font-size: 15.5px;
        padding-bottom: 76px;
    }

    .section {
        padding: 64px 0;
    }

    .container {
        padding: 0 20px;
    }

    .section-title {
        font-size: 22px;
        margin-bottom: 32px;
    }

    /* ヒーロー */
    .hero {
        padding: 80px 0 72px;
    }

    .hero-title {
        font-size: 24px;
        line-height: 1.55;
        margin-bottom: 28px;
    }

    .hero-subcopy {
        font-size: 16px;
    }

    .hero-subcopy-small {
        font-size: 13.5px;
        margin-bottom: 32px;
    }

    .cta-button {
        padding: 16px 28px;
        font-size: 15.5px;
        width: 100%;
        max-width: 360px;
    }

    .cta-button-large {
        padding: 18px 28px;
        font-size: 16.5px;
    }

    /* チェックリスト */
    .check-list {
        padding: 20px 22px;
    }

    .check-list li {
        font-size: 15px;
        padding: 12px 0;
    }

    /* 声 */
    .voice-cards {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .voice-card {
        padding: 28px 22px;
    }

    /* ステップ */
    .step-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .step-card {
        padding: 28px 22px;
    }

    /* 最終CTA */
    .final-cta {
        padding: 72px 0;
    }

    .final-cta-copy {
        font-size: 18px;
        margin-bottom: 28px;
    }

    /* プロフィール */
    .profile-list {
        padding: 22px 24px;
    }

    .profile-list li {
        font-size: 14.5px;
    }

    /* FAQ */
    .faq-question {
        padding: 16px 18px;
        font-size: 15px;
    }

    .faq-answer p {
        padding: 0 18px 18px 18px;
        font-size: 14.5px;
    }

    /* スマホ固定CTA */
    .mobile-fixed-cta {
        display: block;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 21px;
    }

    .section-title {
        font-size: 20px;
    }
}
