/* ==========================================================================
   申込導線・信頼情報・FAQ・フォーム・アクセシビリティ
   （style.css の後に読み込む）
   ========================================================================== */

:root {
    --cta-bg: #1d7f37;
    --cta-bg-hover: #16662c;
    --error-color: #c62828;
    --header-offset: 112px; /* ヘッダー75px + 進行バー28px + 余白 */
    --sticky-cta-h: 72px; /* スマホ追従CTAの高さ。remotion-mascot/src/main.tsx の STICKY_CTA_HEIGHT と合わせる */
}

html {
    scroll-padding-top: var(--header-offset);
}

section[id],
[id] {
    scroll-margin-top: 0;
}

:focus-visible {
    outline: 3px solid #f59e0b;
    outline-offset: 3px;
}

.nav-desktop a.btn-primary {
    background: var(--cta-bg);
}

.nav-desktop a.btn-primary:hover {
    background: var(--cta-bg-hover);
}

/* --- 共通ボタン --- */
.c-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
    min-height: 48px;
    padding: 1.2rem 2.8rem;
    border-radius: 9999px;
    font-size: 1.7rem;
    font-weight: 800;
    line-height: 1.3;
    text-align: center;
    border: 2px solid transparent;
    cursor: pointer;
    font-family: inherit;
    transition: background-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.c-btn:hover {
    transform: translateY(-2px);
}

.c-btn.is-primary {
    background: var(--cta-bg);
    color: #ffffff;
    box-shadow: 0 6px 18px rgba(29, 127, 55, 0.35);
}

.c-btn.is-primary:hover {
    background: var(--cta-bg-hover);
}

.c-btn.is-ghost {
    background: #ffffff;
    color: var(--primary-color);
    border-color: var(--primary-color);
}

.c-btn.is-accent {
    background: #E3A700;
    color: #00236a;
    box-shadow: 0 6px 18px rgba(227, 167, 0, 0.35);
}

.c-btn.is-accent:hover {
    background: #f5b800;
}

.c-btn.is-outline {
    background: #ffffff;
    color: var(--primary-blue);
    border: 2px solid var(--primary-blue);
}

.c-btn.is-outline:hover {
    background: #eef5ff;
    color: #00236a;
}

.c-btn.is-large {
    min-height: 56px;
    padding: 1.4rem 4rem;
    font-size: 1.9rem;
}

.c-btn[disabled] {
    opacity: 0.6;
    cursor: wait;
    transform: none;
}

/* --- ファーストビューのリード --- */
.hero-lead {
    position: relative;
    height: 0;
    z-index: 12;
}

.hero-lead__card {
    position: absolute;
    left: max(2.4rem, calc((100vw - 1360px) / 2));
    bottom: 3rem;
    width: min(54rem, 42vw);
    background: rgba(255, 255, 255, 0.96);
    border-radius: 18px;
    padding: 2.6rem 3rem 2.8rem;
    box-shadow: 0 14px 40px rgba(0, 35, 106, 0.18);
    border: 1.5px solid #ffffff;
}

.hero-lead__eyebrow {
    display: inline-block;
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--primary-blue);
    background: #e0f2fe;
    padding: 0.2rem 1.2rem;
    border-radius: 9999px;
    margin-bottom: 1rem;
}

.hero-lead__title {
    font-size: 3.4rem;
    font-weight: 900;
    line-height: 1.35;
    color: var(--primary-color);
    letter-spacing: -0.02em;
    margin-bottom: 1.2rem;
}

.hero-lead__title em {
    font-style: normal;
    color: #c2410c;
    background: linear-gradient(transparent 62%, #ffe380 62%);
}

.hero-lead__text {
    font-size: 1.5rem;
    line-height: 1.7;
    color: var(--text-color);
    margin-bottom: 1.4rem;
}

.hero-lead__points {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
    margin-bottom: 1.8rem;
}

.hero-lead__points li {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    font-size: 1.4rem;
    font-weight: 800;
    color: #166534;
    background: #f0fdf4;
    border: 1.5px solid #86efac;
    border-radius: 9999px;
    padding: 0.3rem 1.2rem;
}

.hero-lead__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1.2rem;
}

@media screen and (max-width: 1024px) {
    .hero-lead {
        height: auto;
        background: linear-gradient(180deg, #e3f3fb 0%, #f8fafd 100%);
        padding: 2.4rem 1.6rem 8rem;
    }
    .hero-lead__card {
        position: static;
        width: 100%;
        max-width: 560px;
        margin: 0 auto;
        padding: 2.4rem 2rem;
    }
    .hero-lead__title {
        font-size: 2.7rem;
    }
    .hero-lead__text {
        font-size: 1.5rem;
    }
    .hero-lead__actions .c-btn {
        width: 100%;
    }
}

/* --- 解決セクションの SVG 置き換え分 --- */
.solution-cloud-svg {
    width: 100%;
    height: auto;
    display: block;
}

/* --- 個人情報の取り扱い（信頼カード） --- */
.trust-card {
    background: linear-gradient(135deg, #023D97, #001e52);
    color: #ffffff;
    border-radius: 24px;
    padding: 3rem 2.8rem;
    box-shadow: 0 12px 30px rgba(2, 61, 151, 0.25);
    height: 100%;
}

.trust-card__head {
    display: flex;
    align-items: center;
    gap: 1.4rem;
    margin-bottom: 2rem;
}

.trust-card__icon {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: #ffffff;
    color: var(--primary-blue);
    font-size: 2.6rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.trust-card__label {
    font-size: 1.4rem;
    font-weight: 700;
    color: #93c5fd;
}

.trust-card__title {
    font-size: 2.2rem;
    font-weight: 900;
    line-height: 1.35;
}

.trust-card__title span {
    display: block;
    font-size: 1.5rem;
    font-weight: 700;
    color: #fde047;
}

.trust-card__list {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

.trust-card__list li {
    display: flex;
    gap: 0.8rem;
    font-size: 1.5rem;
    line-height: 1.6;
    color: #e2e8f0;
}

.trust-card__list i {
    color: #fde047;
    margin-top: 0.4em;
    flex-shrink: 0;
}

/* --- 支援の仕組み --- */
.plan-flow {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.6rem;
    margin-bottom: 3.6rem;
    counter-reset: none;
}

.plan-flow li {
    display: flex;
    align-items: center;
    gap: 1.2rem;
    background: #fffbeb;
    border: 2px solid #fde68a;
    border-radius: 16px;
    padding: 1.6rem 1.8rem;
    font-size: 1.55rem;
    font-weight: 700;
    color: var(--primary-color);
    line-height: 1.5;
}

.plan-flow__num {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #d97706;
    color: #ffffff;
    font-weight: 900;
    font-size: 1.6rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.plan-list-caption {
    font-size: 1.5rem;
    font-weight: 700;
    color: #475569;
    margin-bottom: 1.6rem;
}

.craft-ticket-list.is-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    align-items: stretch;
}

@media screen and (max-width: 1024px) {
    .plan-flow,
    .craft-ticket-list.is-row {
        grid-template-columns: 1fr;
    }
}

/* --- 中間CTA --- */
.c-inline-cta {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1.6rem 3.2rem;
    background: #ffffff;
    border: 2px solid #bfdbfe;
    border-radius: 24px;
    padding: 3rem 3.2rem;
    text-align: center;
    box-shadow: 0 8px 26px rgba(2, 61, 151, 0.08);
}

.c-inline-cta__text {
    font-size: 1.9rem;
    font-weight: 800;
    color: var(--primary-color);
    line-height: 1.5;
}

.c-inline-cta.is-on-navy {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.3);
    box-shadow: none;
    margin-top: 5rem;
}

.c-inline-cta.is-on-navy .c-inline-cta__text {
    color: #ffffff;
}

@media screen and (max-width: 1024px) {
    .c-inline-cta {
        padding: 2.4rem 2rem;
    }
    .c-inline-cta .c-btn {
        width: 100%;
    }
}

/* --- スケジュール --- */
.luminous-timeline-track {
    padding: 0;
    margin: 0;
}

.luminous-timeline-card.is-prep {
    border-style: dashed;
    background: rgba(255, 255, 255, 0.04);
}

.card-step-badge.is-prep-badge {
    background: transparent;
    border-style: dashed;
}

.card-step-badge.is-prep-badge .badge-month {
    font-size: 2rem;
}

.timeline-note {
    margin-top: 1.2rem;
    font-size: 1.45rem;
    color: #fde68a;
    line-height: 1.6;
}

.goal-desc {
    margin-top: 1rem;
}

/* --- よくある質問 --- */
.c-faq {
    background: #f8fafd;
    padding: 8rem 0;
}

.faq-list {
    max-width: 880px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1.4rem;
}

.faq-item {
    background: #ffffff;
    border: 1.5px solid #dbe4f0;
    border-radius: 16px;
    overflow: hidden;
}

.faq-item summary {
    list-style: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 1.2rem;
    padding: 2rem 5.2rem 2rem 2.4rem;
    font-size: 1.7rem;
    font-weight: 800;
    color: var(--primary-color);
    position: relative;
    line-height: 1.5;
}

.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-item summary::before {
    content: "Q";
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--primary-blue);
    color: #ffffff;
    font-weight: 900;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.faq-item summary::after {
    content: "+";
    position: absolute;
    right: 2.2rem;
    top: 50%;
    transform: translateY(-50%);
    font-size: 2.6rem;
    font-weight: 700;
    color: var(--primary-blue);
}

.faq-item[open] summary::after {
    content: "−";
}

.faq-answer {
    padding: 0 2.4rem 2.2rem 6.8rem;
}

.faq-answer p {
    font-size: 1.55rem;
    line-height: 1.8;
    color: #374151;
}

.faq-answer a {
    color: var(--primary-blue);
    text-decoration: underline;
}

@media screen and (max-width: 768px) {
    .c-faq {
        padding: 6rem 0;
    }
    .faq-item summary {
        padding: 1.6rem 4.4rem 1.6rem 1.6rem;
        font-size: 1.6rem;
    }
    .faq-answer {
        padding: 0 1.6rem 1.8rem;
    }
}

/* --- お問い合わせ --- */
.c-contact {
    background: #fcfbf7;
    padding: 8rem 0 10rem;
}

.c-contact__intro {
    text-align: center;
    max-width: 880px;
    margin: 0 auto 4rem;
}

.closing-scenic {
    display: none;
    justify-content: center;
    gap: 3.2rem;
    margin-top: 3.2rem;
}

.closing-scenic.is-ready {
    display: flex;
}

.closing-scenic__item {
    text-align: center;
}

.closing-scenic__item img {
    width: 180px;
    height: 180px;
    border-radius: 50%;
    object-fit: cover;
    border: 5px solid #ffffff;
    box-shadow: 0 12px 30px rgba(0, 35, 106, 0.18);
}

.closing-scenic__item figcaption {
    margin-top: 1rem;
    font-size: 1.4rem;
    font-weight: 700;
    color: #475569;
}

.contact-card {
    max-width: 880px;
    margin: 0 auto;
    background: #ffffff;
    border: 3px solid var(--primary-blue);
    border-radius: 32px;
    padding: 5rem 5.6rem;
    box-shadow: 0 20px 60px rgba(0, 35, 106, 0.12);
}

.contact-card__title {
    font-size: 2.8rem;
    font-weight: 900;
    color: var(--primary-color);
    text-align: center;
    margin-bottom: 0.8rem;
}

.contact-card__lead {
    font-size: 1.5rem;
    color: #4b5563;
    text-align: center;
    margin-bottom: 3.2rem;
}

.contact-card__alt {
    margin-top: 2.4rem;
    text-align: center;
    font-size: 1.45rem;
    color: #4b5563;
}

.contact-card__alt a {
    color: var(--primary-blue);
    font-weight: 700;
    text-decoration: underline;
}

.contact-form {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem 2.4rem;
}

.form-field {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    border: 0;
    min-width: 0;
}

.form-field.is-full,
.form-submit.is-full {
    grid-column: 1 / -1;
}

.form-field > label,
.form-field > legend {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
}

.form-field > legend {
    margin-bottom: 0.8rem;
}

.req,
.opt {
    display: inline-block;
    font-size: 1.2rem;
    font-weight: 700;
    padding: 0.1rem 0.8rem;
    border-radius: 4px;
    margin-left: 0.4rem;
    vertical-align: middle;
}

.req {
    background: var(--error-color);
    color: #ffffff;
}

.opt {
    background: #e2e8f0;
    color: #475569;
}

.form-field input[type="text"],
.form-field input[type="email"],
.form-field input[type="tel"],
.form-field select,
.form-field textarea {
    width: 100%;
    font: inherit;
    font-size: 16px; /* iOS のズーム防止 */
    padding: 1.2rem 1.4rem;
    border: 1.5px solid #cbd5e1;
    border-radius: 10px;
    background: #ffffff;
    color: var(--text-color);
}

.form-field textarea {
    resize: vertical;
}

.form-field [aria-invalid="true"] {
    border-color: var(--error-color);
    background: #fff5f5;
}

.form-choices {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.form-choices label {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    font-size: 1.5rem;
    padding: 0.8rem 1.6rem;
    border: 1.5px solid #cbd5e1;
    border-radius: 9999px;
    cursor: pointer;
}

.form-choices label:has(input:checked) {
    border-color: var(--primary-blue);
    background: #eff6ff;
    font-weight: 700;
}

.form-consent {
    display: flex !important;
    align-items: flex-start;
    gap: 0.8rem;
    font-size: 1.45rem !important;
    font-weight: 500 !important;
    line-height: 1.6;
    color: var(--text-color) !important;
    cursor: pointer;
}

.form-consent input {
    width: 20px;
    height: 20px;
    margin-top: 0.2em;
    flex-shrink: 0;
}

.form-error {
    font-size: 1.35rem;
    color: var(--error-color);
    font-weight: 700;
    min-height: 0;
}

.form-error:empty {
    display: none;
}

.form-submit {
    text-align: center;
    margin-top: 0.8rem;
}

.form-status {
    margin-top: 1.4rem;
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 1.6;
}

.form-status.is-success {
    color: #166534;
}

.form-status.is-error {
    color: var(--error-color);
}

@media screen and (max-width: 768px) {
    .c-contact {
        padding: 6rem 0 8rem;
    }
    .contact-card {
        padding: 3.2rem 2rem;
        border-radius: 24px;
    }
    .contact-form {
        grid-template-columns: 1fr;
    }
    .form-submit .c-btn {
        width: 100%;
    }
    .closing-scenic {
        gap: 1.6rem;
    }
    .closing-scenic__item img {
        width: 130px;
        height: 130px;
    }
}

/* --- スマホ用 追従CTA --- */
.sp-sticky-cta {
    display: none;
}

@media screen and (max-width: 1024px) {
    body {
        padding-bottom: var(--sticky-cta-h);
    }
    .sp-sticky-cta {
        display: block;
        position: fixed;
        left: 0;
        right: 0;
        bottom: 0;
        z-index: 990;
        padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
        background: rgba(255, 255, 255, 0.96);
        box-shadow: 0 -4px 16px rgba(0, 35, 106, 0.12);
        transition: transform 0.3s ease, visibility 0s linear 0s;
    }
    .sp-sticky-cta .c-btn {
        width: 100%;
        min-height: 52px;
        font-size: 16px;
    }
    /* 隠れている間はキーボード・読み上げの対象からも外す */
    .sp-sticky-cta.is-hidden,
    body.nav-open .sp-sticky-cta {
        transform: translateY(110%);
        visibility: hidden;
        transition: transform 0.3s ease, visibility 0s linear 0.3s;
    }
    /* お問い合わせ付近では右下マスコットがフォームに重なるため隠す */
    body.is-contact-view #remotion-mascot-root > div:nth-child(2) {
        opacity: 0 !important;
        visibility: hidden;
        pointer-events: none !important;
    }
}

/* メニューを開いている間は右下マスコットを隠す（ドロワーより前面に出るため） */
body.nav-open #remotion-mascot-root > div:nth-child(2) {
    opacity: 0 !important;
    visibility: hidden;
    pointer-events: none !important;
}

/* --- フォームのスパム対策欄（画面外へ） --- */
.form-honeypot {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

/* --- フッター --- */
.footer-section .footer-heading {
    color: var(--primary-color);
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 1.6rem;
}

.footer-pmark {
    margin-top: 1.2rem;
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    font-weight: 700;
    color: var(--primary-blue);
}

/* --- 既存レイアウトの補正 --- */
/* 見出し: バッジの下にタイトルを置く */
.c-section-head .c-section-title-wrap {
    display: flex;
    width: fit-content;
}

/* 雲形背景: 出現アニメーションの transform と干渉しないよう margin で中央寄せ */
.t-solution__detail .bg {
    left: 0;
    right: 0;
    margin-inline: auto;
    transform: none;
}

/* 信頼カード: 右列の高さに引き伸ばさず、スクロールに追従させる */
.craft-visual-col {
    align-self: start;
    position: sticky;
    top: calc(var(--header-offset) + 8px);
}

.trust-card {
    height: auto;
}

.mascot-pods-container {
    margin-bottom: 0;
}

@media screen and (max-width: 1024px) {
    .craft-visual-col {
        position: static;
    }
}

/* スマホ: ヒーローを縮めて、リード（結論とCTA）を最初の画面に入れる */
@media screen and (max-width: 1024px) {
    /* 実機の表示領域（ツールバー込み）でもリードの見出しが見えるよう px で上限を決める */
    .top .l-main .t-hero {
        height: min(calc(100svh - 320px), 440px);
        min-height: 300px;
    }
    .hero-lead {
        padding-top: 1.2rem;
    }
    .top .l-main .t-hero__character .character {
        width: 19rem;
        height: 16.5rem;
        left: 1.2rem;
        right: auto;
        bottom: 1.2rem;
    }
}

/* 背の低い画面（iPhone SE 等）: 縦書きコピーとキャラクターを縮めて低いヒーローに収める */
@media screen and (max-width: 1024px) and (max-height: 620px) {
    .top .l-main .t-hero__copy .copy-el {
        font-size: 13px;
        padding: 16px 4px 10px;
        letter-spacing: 0.1em;
    }
    .copy-seal {
        margin-top: 6px;
    }
    .top .l-main .t-hero__character .character {
        width: 15rem;
        height: 13rem;
    }
    .hero-lead__eyebrow {
        display: none;
    }
}

/* --- スマホの最小文字サイズ（13px 未満を解消） --- */
@media screen and (max-width: 1024px) {
    .badge-en,
    .badge-jp,
    .ribbon-text,
    .ticket-badge,
    .comment-text,
    .timeline-pill,
    .badge-sub,
    .pod-badge,
    .req,
    .opt,
    .craft-notice-bar,
    .footer-bottom,
    .footer-bottom p {
        font-size: 13px;
    }
    /* ヒーローのスタンプ名は幅が足りず読めないため非表示（同じ内容をリードカードで伝えている） */
    .stamp-badge-text {
        display: none;
    }
    /* 長い見出しがはみ出さないよう、スマホでは語の途中でも折り返す */
    .c-section-title {
        word-break: normal;
        line-break: strict;
    }
    .c-section-head .c-section-title-wrap {
        max-width: 100%;
    }
}

/* ========================================================
   2026-09-29 改善スタイル
   - 6大メリット 詳細パターン（Aパターン）
   - プロジェクトの流れ（全体で約7ヶ月、発送対象者45〜85才）
   - 支援金・返礼品買取提案（1,000円買取、広告協賛分離）
   ======================================================== */

/* --- 6大メリット 詳細パターン（Aパターン） --- */
.craft-check-item.is-detailed {
    flex-direction: column;
    gap: 1.2rem;
    padding: 2.2rem 2.4rem;
}

.craft-check-item.is-detailed .item-header {
    display: flex;
    align-items: center;
    gap: 1.4rem;
    width: 100%;
}

.craft-check-item.is-detailed .item-header h4 {
    margin-bottom: 0;
    font-size: 1.85rem;
    font-weight: 800;
}

.craft-check-item.is-detailed .item-body {
    width: 100%;
}

.craft-check-item.is-detailed .item-desc {
    font-size: 1.45rem;
    color: #334155;
    line-height: 1.7;
    margin-bottom: 1.2rem;
}

.craft-check-item.is-detailed .item-points {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
    list-style: none;
    padding: 0;
    margin: 0;
}

.craft-check-item.is-detailed .item-point-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: #eef5ff;
    color: var(--primary-blue);
    font-size: 1.25rem;
    font-weight: 700;
    padding: 0.4rem 1rem;
    border-radius: 6px;
    border: 1px solid #d0e1fd;
}

.craft-check-item.is-featured .item-point-tag {
    background: #fff8e6;
    color: #9a6800;
    border-color: #fde68a;
}

/* 左側ビジュアルカラムの安心バッジ */
.trust-badges-sub {
    margin-top: 1.6rem;
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

.trust-sub-badge {
    background: #ffffff;
    border: 1.5px solid #e2e8f0;
    border-radius: 12px;
    padding: 1.2rem 1.4rem;
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.trust-sub-badge .badge-icon {
    font-size: 1.8rem;
    color: #E3A700;
    line-height: 1;
    margin-top: 0.2rem;
}

.trust-sub-badge .badge-content h5 {
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--primary-color);
    margin-bottom: 0.3rem;
}

.trust-sub-badge .badge-content p {
    font-size: 1.25rem;
    color: #64748b;
    line-height: 1.5;
    margin: 0;
}

/* --- プロジェクトの流れ：発送対象者バッジ ＆ 7ヶ月タイムライン --- */
.timeline-target-banner {
    display: inline-flex;
    align-items: center;
    gap: 1.2rem;
    background: rgba(255, 255, 255, 0.12);
    border: 1.5px solid #38bdf8;
    border-radius: 50px;
    padding: 1rem 2.4rem;
    margin-top: 1.6rem;
    margin-bottom: 2rem;
    backdrop-filter: blur(8px);
}

.timeline-target-banner i {
    font-size: 2rem;
    color: #38bdf8;
}

.timeline-target-banner .target-main {
    font-size: 1.7rem;
    font-weight: 800;
    color: #ffffff;
    letter-spacing: 0.05em;
}

.timeline-target-banner .target-sub {
    font-size: 1.3rem;
    color: #bae6fd;
}

.card-step-badge {
    min-width: 125px;
}

.card-step-badge .badge-period {
    font-size: 1.6rem;
    font-weight: 900;
    color: #ffffff;
    line-height: 1.2;
    margin: 0.3rem 0 0.1rem;
    white-space: nowrap;
}

.card-step-badge.is-gold-badge .badge-period {
    color: #00236a;
}

.card-step-badge .badge-sub-note {
    font-size: 1.15rem;
    color: #bae6fd;
    display: block;
    white-space: nowrap;
}

.card-step-badge.is-gold-badge .badge-sub-note {
    color: #00236a;
    opacity: 0.85;
}

.timeline-note.is-flexible {
    background: rgba(56, 189, 248, 0.1);
    border-left: 3px solid #38bdf8;
    padding: 0.8rem 1.2rem;
    border-radius: 0 8px 8px 0;
    color: #e0f2fe;
    font-size: 1.3rem;
    margin-top: 1rem;
}

/* --- 支援の仕組み：返礼品1,000円買取提案ボックス --- */
.craft-proposal-box {
    background: linear-gradient(135deg, #ffffff 0%, #fffdf8 100%);
    border: 2px solid #E3A700;
    border-radius: 20px;
    padding: 2.6rem 3rem;
    margin-bottom: 3.2rem;
    box-shadow: 0 8px 24px rgba(227, 167, 0, 0.12);
    position: relative;
    overflow: hidden;
}

.craft-proposal-box::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 6px;
    height: 100%;
    background: #E3A700;
}

.proposal-box-header {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    margin-bottom: 1.4rem;
}

.proposal-badge {
    align-self: flex-start;
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    background: #E3A700;
    color: #ffffff;
    font-size: 1.3rem;
    font-weight: 800;
    padding: 0.4rem 1.2rem;
    border-radius: 30px;
    letter-spacing: 0.05em;
}

.proposal-box-header h4 {
    font-size: 2rem;
    font-weight: 900;
    color: var(--primary-color);
    line-height: 1.45;
    margin: 0;
}

.proposal-box-header h4 strong {
    color: #d9432f;
    text-decoration: underline;
    text-underline-offset: 4px;
}

.proposal-box-desc {
    font-size: 1.45rem;
    color: #475569;
    line-height: 1.7;
    margin-bottom: 2rem;
}

.proposal-points-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.6rem;
}

.proposal-point-card {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    padding: 1.6rem;
    display: flex;
    gap: 1.2rem;
    align-items: flex-start;
}

.proposal-point-card .point-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: #eef5ff;
    color: var(--primary-blue);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    flex-shrink: 0;
}

.proposal-point-card .point-content strong {
    display: block;
    font-size: 1.45rem;
    color: var(--primary-color);
    margin-bottom: 0.3rem;
}

.proposal-point-card .point-content span {
    display: block;
    font-size: 1.25rem;
    color: #64748b;
    line-height: 1.5;
}

@media screen and (max-width: 1024px) {
    .proposal-points-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    .craft-proposal-box {
        padding: 2rem 1.8rem;
    }
    .proposal-box-header h4 {
        font-size: 1.7rem;
    }
    .timeline-target-banner {
        flex-direction: column;
        border-radius: 20px;
        padding: 1.2rem 1.6rem;
        gap: 0.6rem;
        text-align: center;
    }
}

/* --- 動きを減らす設定への対応 --- */
@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        transition-delay: 0s !important;
    }
    .scroll-reveal,
    .scroll-reveal-pop,
    .scroll-reveal-left,
    .scroll-reveal-right,
    .scroll-reveal-stamp {
        opacity: 1 !important;
        transform: none !important;
    }
}

/* --- 初回読み込み動画モーダル --- */
.c-video-modal {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.6rem;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.35s ease, visibility 0.35s ease;
}

.c-video-modal.is-active {
    opacity: 1;
    visibility: visible;
}

.c-video-modal__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(12, 35, 64, 0.82);
    backdrop-filter: blur(8px);
    cursor: pointer;
}

.c-video-modal__dialog {
    position: relative;
    z-index: 1;
    background: #ffffff;
    border-radius: 24px;
    width: 100%;
    max-width: 880px;
    box-shadow: 0 24px 60px rgba(0, 35, 106, 0.45);
    overflow: hidden;
    transform: scale(0.92) translateY(20px);
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.c-video-modal.is-active .c-video-modal__dialog {
    transform: scale(1) translateY(0);
}

.c-video-modal__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.6rem 2.4rem;
    background: linear-gradient(135deg, #023D97, #00236a);
    color: #ffffff;
}

.c-video-modal__title-wrap {
    display: flex;
    align-items: center;
    gap: 1.2rem;
}

.c-video-modal__badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: #E3A700;
    color: #ffffff;
    font-size: 1.2rem;
    font-weight: 800;
    padding: 0.3rem 1rem;
    border-radius: 20px;
    letter-spacing: 0.04em;
}

.c-video-modal__title {
    font-size: 1.8rem;
    font-weight: 800;
    color: #ffffff;
    margin: 0;
}

.c-video-modal__close {
    background: transparent;
    border: none;
    color: #ffffff;
    font-size: 2.2rem;
    cursor: pointer;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s ease, transform 0.2s ease;
}

.c-video-modal__close:hover {
    background: rgba(255, 255, 255, 0.18);
    transform: scale(1.1);
}

.c-video-modal__body {
    padding: 2rem 2.4rem 1.6rem;
    background: #fbfbf9;
}

.c-video-modal__video-wrap {
    position: relative;
    width: 100%;
    padding-top: 56.25%; /* 16:9 */
    background: #000000;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

.c-video-modal__video-wrap video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.c-video-modal__note {
    font-size: 1.25rem;
    color: #64748b;
    margin-top: 1rem;
    margin-bottom: 0;
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.c-video-modal__footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.4rem 2.4rem;
    background: #ffffff;
    border-top: 1px solid #e2e8f0;
    gap: 1.2rem;
}

@media screen and (max-width: 640px) {
    .c-video-modal__header {
        padding: 1.2rem 1.6rem;
    }
    .c-video-modal__title {
        font-size: 1.5rem;
    }
    .c-video-modal__body {
        padding: 1.4rem 1.6rem 1.2rem;
    }
    .c-video-modal__footer {
        flex-direction: column-reverse;
        gap: 0.8rem;
        padding: 1.2rem 1.6rem;
    }
    .c-video-modal__footer .c-btn {
        width: 100%;
    }
}

/* --- スタンプ類の非表示（ファーストビュー・課題解決） --- */
.t-hero__stamp,
.copy-seal,
.solution .stamp {
    display: none !important;
}
