/* ============================================================
   決算節税ナビ — Premium LP CSS
   ターゲット: 60〜80代・年商5億円超の経営者
   設計思想: 高級感・信頼・視認性・LP導線
   ============================================================ */

/* ── リセット ───────────────────────────────── */
*, *::before, *::after { margin:0; padding:0; box-sizing:border-box; }
html { font-size:16px; scroll-behavior:smooth; }
body {
    font-family: -apple-system, BlinkMacSystemFont,
                 "游ゴシック体","Yu Gothic",YuGothic,
                 "Hiragino Sans","Hiragino Kaku Gothic ProN",
                 Meiryo, sans-serif;
    background:#06080f;
    color:#1e293b;
    -webkit-font-smoothing:antialiased;
    line-height:1.8;
}
img { display:block; max-width:100%; height:auto; }
a { text-decoration:none; color:inherit; }
button { font-family:inherit; cursor:pointer; border:none; background:none; }

/* ── コンテナ ───────────────────────────────── */
.container { max-width:1080px; margin:0 auto; padding:0 32px; }
@media(max-width:768px){ .container{ padding:0 20px; } }

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   日本語改行の学習・制御システム

   【Layer 1】word-break: auto-phrase
     ブラウザが文節を自動判定（Chrome 119+, Safari 17.4+, iOS 17.4+）
   【Layer 2】line-break: strict
     句読点・括弧を行頭・行末に置かない
   【Layer 3】.sp-br
     自動制御では不足な箇所のみ手動で補助改行
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */

/* Layer 1-2: 全テキスト要素に自動改行制御を適用 */
h1, h2, h3, h4, h5, h6,
p, li, blockquote, span, a, button, label,
.hero-h1, .hero-h1-sub, .hero-body,
.sec-h2, .sec-lead,
.pain-card h3, .pain-card p,
.stat-desc,
.case-loss, .case-quote, .case-title, .case-age,
.tl-time, .tl-body, .tl-label, .urgency-msg,
.sim-q-text, .sim-opt,
.sol-name, .sol-body,
.fcta-body, .fcta-note,
.footer-company, .footer-ceo {
    word-break:    auto-phrase;   /* 文節で折り返す（最新ブラウザ優先） */
    line-break:    strict;        /* 行頭・行末に句読点を置かない */
    overflow-wrap: break-word;    /* 超長語は強制折り返し */
}

/* フォールバック：auto-phrase 非対応環境では keep-all */
@supports not (word-break: auto-phrase) {
    h1, h2, h3, h4, h5, h6,
    p, li, blockquote, span, a, button, label {
        word-break: keep-all;
    }
}

/* Layer 3: 手動補助改行 — PCでは非表示、スマホで有効 */
.sp-br { display: none; }
@media(max-width: 768px) { .sp-br { display: inline !important; } }

/* ── 共通ラベル・見出し ─────────────────────── */
.sec-label {
    display:block; text-align:center;
    font-size:13px; font-weight:700; letter-spacing:.16em;
    text-transform:uppercase; color:#3b82f6;
    margin-bottom:18px;
}
.sec-label.light { color:#93c5fd; }

.sec-h2 {
    font-size:40px; font-weight:700; line-height:1.5;
    text-align:center; margin-bottom:24px;
    letter-spacing:-.02em;
    overflow-wrap:break-word;
}
.sec-h2.white { color:#fff; text-shadow:0 2px 16px rgba(0,0,0,.7), 0 4px 32px rgba(0,0,0,.5); }
.sec-h2.dark  { color:#0f172a; }
/* スマホ: フォントを段階的に縮小して3行でも収まるように */
@media(max-width:768px) { .sec-h2 { font-size:26px; line-height:1.55; } }
@media(max-width:430px) { .sec-h2 { font-size:22px; line-height:1.6;  } }
@media(max-width:370px) { .sec-h2 { font-size:20px; } }

.sec-lead {
    text-align:center; font-size:18px; margin-bottom:64px; line-height:1.75;
}
.sec-lead.white { color:rgba(255,255,255,.90); text-shadow:0 1px 12px rgba(0,0,0,.6); }
.sec-lead.dark  { color:#475569; }
@media(max-width:768px){ .sec-lead{ font-size:16px; margin-bottom:48px; } }

/* ── 背景+スクリム 共通パターン ─────────────── */
.hero, .pain-section, .cases-section, .urgency-section,
.simulator-section, .solutions-section, .final-cta-section {
    position:relative; overflow:hidden;
}
/* 各セクションの背景divは position:absolute; inset:0 */
.hero-bg, .pain-bg, .cases-bg, .urgency-bg,
.sim-bg, .sol-bg, .fcta-bg {
    position:absolute; inset:0;
    background-size:cover; background-position:center;
}

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   HEADER
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
.header {
    position:sticky; top:0; z-index:100;
    background:rgba(6,8,15,.92);
    backdrop-filter:blur(20px);
    -webkit-backdrop-filter:blur(20px);
    border-bottom:1px solid rgba(255,255,255,.07);
}
.header-inner {
    display:flex; align-items:center;
    justify-content:space-between; padding-top:14px; padding-bottom:14px;
    gap:12px;
}
.site-name {
    font-size:18px; font-weight:700; color:#fff;
    letter-spacing:.04em; white-space:nowrap; flex-shrink:0;
}
.header-cta {
    background:linear-gradient(135deg,#dc2626,#f43f5e);
    color:#fff; font-size:13px; font-weight:700;
    padding:10px 20px; border-radius:8px;
    box-shadow:0 4px 16px rgba(220,38,38,.35);
    transition:all .3s; white-space:nowrap;
    letter-spacing:.02em; flex-shrink:0;
}
.header-cta:hover { transform:translateY(-2px); box-shadow:0 8px 24px rgba(220,38,38,.45); }
@media(max-width:390px){
    .site-name{ font-size:15px; }
    .header-cta{ font-size:11px; padding:9px 14px; }
}

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   HERO — スマホファースト完全対応
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
.hero {
    min-height: 100svh;          /* スマホのアドレスバー考慮 */
    display: flex;
    align-items: flex-end;       /* コンテンツを下寄せ */
    padding-bottom: 0;
}

/* 背景画像 */
.hero-bg {
    animation: bgZoom 22s ease-in-out infinite alternate;
    filter: brightness(.85) saturate(1.15);
    background-attachment: scroll; /* スマホは fixed 非対応のため scroll */
}
@keyframes bgZoom {
    0%   { transform: scale(1.0); }
    100% { transform: scale(1.06); }
}

/* オーバーレイ：下から濃く、上部は透過率70%で写真が見える */
.hero-overlay {
    position: absolute; inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(6,8,15,.15) 0%,
        rgba(6,8,15,.38) 40%,
        rgba(6,8,15,.72) 75%,
        rgba(6,8,15,.90) 100%
    );
}

.hero .container {
    position: relative; z-index: 10;
    width: 100%;
    padding-top: 60px;
    padding-bottom: 56px;
}

.hero-inner {
    max-width: 680px;
    /* スマホでは全幅 */
}

/* バッジ */
.hero-eyebrow {
    display: inline-block;
    font-size: 11px; font-weight: 700;
    letter-spacing: .14em; color: #93c5fd;
    background: rgba(59,130,246,.18);
    border: 1px solid rgba(59,130,246,.35);
    padding: 7px 18px; border-radius: 100px;
    margin-bottom: 24px;
}

/* メインキャッチ */
.hero-h1 {
    font-size: 52px; font-weight: 800; line-height: 1.2;
    color: #fff; margin-bottom: 16px;
    letter-spacing: -.03em;
    text-shadow: 0 4px 32px rgba(0,0,0,.6);
}
.hero-h1 .sp-br { display: none; }

/* サブキャッチ */
.hero-h1-sub {
    font-size: 19px; color: rgba(255,255,255,.82);
    margin-bottom: 20px; line-height: 1.65;
}
.hero-h1-sub em {
    font-style: normal; font-weight: 800;
    color: #f87171; font-size: 24px;
}

/* ボディテキスト */
.hero-body {
    font-size: 16px; color: rgba(255,255,255,.65);
    margin-bottom: 40px; line-height: 1.8;
}
.hero-body strong { color: #fbbf24; font-weight: 700; }

/* ボタン行 */
.hero-actions {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-bottom: 36px;
}
@media(min-width: 560px) {
    .hero-actions { flex-direction: row; align-items: flex-start; gap: 16px; }
}

.btn-hero-primary {
    display: flex; flex-direction: column;
    align-items: center; justify-content: center;
    width: 100%;                  /* スマホ全幅 */
    background: linear-gradient(135deg,#dc2626 0%,#f43f5e 100%);
    color: #fff; border-radius: 14px;
    padding: 18px 28px;
    box-shadow: 0 10px 36px rgba(220,38,38,.50);
    transition: all .32s cubic-bezier(.4,0,.2,1);
    -webkit-tap-highlight-color: transparent;
}
.btn-hero-primary:active { transform: scale(.97); }
@media(min-width: 560px) {
    .btn-hero-primary { width: auto; min-width: 260px; padding: 20px 36px; }
    .btn-hero-primary:hover {
        transform: translateY(-3px);
        box-shadow: 0 18px 48px rgba(220,38,38,.6);
    }
}

.btn-label {
    font-size: 17px; font-weight: 700; letter-spacing: .02em;
    text-align: center; line-height: 1.45;
}
.btn-note  { font-size: 12px; opacity: .78; margin-top: 4px; }

.btn-hero-secondary {
    display: flex; align-items: center; justify-content: center;
    width: 100%;                  /* スマホ全幅 */
    background: rgba(255,255,255,.10); color: #fff;
    border: 1.5px solid rgba(255,255,255,.38);
    border-radius: 14px; padding: 17px 28px;
    font-size: 16px; font-weight: 600;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    transition: all .3s;
    -webkit-tap-highlight-color: transparent;
}
.btn-hero-secondary:active { background: rgba(255,255,255,.2); }
@media(min-width: 560px) {
    .btn-hero-secondary { width: auto; padding: 20px 32px; }
    .btn-hero-secondary:hover { background: rgba(255,255,255,.18); transform: translateY(-3px); }
}

/* 信頼バッジ一覧 */
.hero-trust {
    list-style: none;
    display: flex; flex-wrap: wrap; gap: 8px 18px;
}
.hero-trust li {
    font-size: 12px; color: rgba(255,255,255,.48);
    display: flex; align-items: center; gap: 6px;
}
.hero-trust li::before {
    content: '✓'; color: #34d399; font-weight: 700; font-size: 13px;
}

/* ── スマホ専用 上書き（〜430px） ── */
@media(max-width: 430px) {
    .hero { align-items: flex-end; }

    .hero .container { padding-top: 48px; padding-bottom: 48px; }

    .hero-eyebrow { font-size: 10px; padding: 6px 14px; margin-bottom: 20px; }

    .hero-h1 {
        font-size: 32px;
        line-height: 1.3;
        margin-bottom: 14px;
        letter-spacing: -.02em;
        overflow-wrap: break-word;
    }
    .hero-h1 .sp-br { display: inline; }

    .hero-h1-sub { font-size: 15px; margin-bottom: 14px; line-height: 1.7; }
    .hero-h1-sub em { font-size: 19px; }

    .hero-body { font-size: 13px; margin-bottom: 32px; line-height: 1.85; }

    .hero-actions { gap: 12px; margin-bottom: 28px; }

    .btn-label { font-size: 15px; }
    .btn-note  { font-size: 11px; }

    .btn-hero-secondary { font-size: 14px; padding: 15px 24px; }

    .hero-trust { gap: 6px 14px; }
    .hero-trust li { font-size: 11px; }

    /* スマホ改行制御用br — デフォルトでは非表示、スマホのみ表示 */
    .sp-br { display: inline !important; }
}

/* 431px〜767px（中スマホ〜タブレット縦） */
@media(min-width: 431px) and (max-width: 767px) {
    .hero-h1 { font-size: 40px; line-height: 1.25; }
    .hero-h1-sub { font-size: 17px; }
    .hero-h1-sub em { font-size: 22px; }
    .sp-br { display: inline !important; }
}

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   PAIN SECTION
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
.pain-section { padding:120px 0; }
/* 実写背景が見える透過率70%設定 */
.pain-bg { filter:brightness(.85) saturate(1.1); }
.pain-overlay {
    position:absolute; inset:0;
    background:linear-gradient(180deg,
        rgba(6,8,20,.55) 0%,
        rgba(10,15,40,.50) 50%,
        rgba(6,8,20,.60) 100%);
}
.pain-section .container { position:relative; z-index:10; }

.pain-grid {
    display:grid; grid-template-columns:repeat(3,1fr); gap:28px;
    margin-bottom:80px;
}
@media(max-width:768px){ .pain-grid{ grid-template-columns:1fr; gap:20px; } }

.pain-card {
    background:rgba(255,255,255,.05);
    border:1px solid rgba(255,255,255,.10);
    border-radius:20px; padding:40px 32px;
    backdrop-filter:blur(12px);
    transition:all .4s;
}
.pain-card:hover {
    background:rgba(255,255,255,.09);
    border-color:rgba(239,68,68,.3);
    transform:translateY(-6px);
}
.pain-icon { font-size:28px; margin-bottom:20px; }
.pain-num {
    font-size:42px; font-weight:800; line-height:1;
    color:rgba(59,130,246,.35); margin-bottom:20px;
    letter-spacing:-.02em;
}
.pain-card h3 {
    font-size:20px; font-weight:700; color:#f1f5f9;
    margin-bottom:16px; line-height:1.5;
    text-shadow:0 1px 8px rgba(0,0,0,.5);
}
.pain-card p {
    font-size:15px; color:rgba(255,255,255,.82); line-height:2.0;
    text-shadow:0 1px 6px rgba(0,0,0,.4);
}

/* 統計行 */
.stats-row {
    display:flex; align-items:stretch; gap:0;
    background:rgba(255,255,255,.04);
    border:1px solid rgba(255,255,255,.08);
    border-radius:24px; overflow:hidden;
}
@media(max-width:768px){ .stats-row{ flex-direction:column; } }

.stat-block {
    flex:1; padding:52px 32px; text-align:center;
}
.stat-divider {
    width:1px; background:rgba(255,255,255,.08);
    align-self:stretch;
}
@media(max-width:768px){ .stat-divider{ width:auto; height:1px; } }

.stat-num {
    font-size:80px; font-weight:800; line-height:.95;
    margin-bottom:20px; letter-spacing:-.02em;
}
.stat-num span { font-size:42px; margin-left:4px; }
@media(max-width:768px){ .stat-num{ font-size:64px; } .stat-num span{ font-size:34px; } }

.red-glow   { color:#f87171; text-shadow:0 0 40px rgba(248,113,113,.55); }
.gold-glow  { color:#fbbf24; text-shadow:0 0 40px rgba(251,191,36,.5); }
.white-glow { color:#e2e8f0; text-shadow:0 0 40px rgba(226,232,240,.3); }

.stat-desc { font-size:16px; color:rgba(255,255,255,.82); line-height:1.7; text-shadow:0 1px 8px rgba(0,0,0,.4); }

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   CASES SECTION
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
.cases-section { padding:120px 0; }
.cases-bg { filter:brightness(.80) saturate(1.15); }
.cases-overlay {
    position:absolute; inset:0;
    background:linear-gradient(160deg,
        rgba(8,15,45,.52) 0%,
        rgba(6,12,35,.48) 50%,
        rgba(8,15,45,.56) 100%);
}
.cases-section .container { position:relative; z-index:10; }

.cases-list { display:flex; flex-direction:column; gap:40px; }

.case-card {
    background:rgba(255,255,255,.07);
    border:1px solid rgba(255,255,255,.13);
    border-radius:24px; overflow:hidden;
    backdrop-filter:blur(20px);
    transition:all .4s cubic-bezier(.4,0,.2,1);
}
.case-card:hover {
    border-color:rgba(96,165,250,.4);
    box-shadow:0 24px 64px rgba(0,0,0,.4);
    transform:translateY(-4px);
}
.case-rank {
    background:linear-gradient(90deg,#1d4ed8,#3b82f6);
    color:#fff; font-size:13px; font-weight:700;
    letter-spacing:.1em; padding:10px 28px;
    text-align:center;
}
.case-body {
    display:grid; grid-template-columns:220px 1fr;
    gap:0;
}
@media(max-width:768px){ .case-body{ grid-template-columns:1fr; } }

.case-photo-wrap {
    padding:36px 28px;
    display:flex; flex-direction:column; align-items:center; gap:20px;
    border-right:1px solid rgba(255,255,255,.08);
    background:rgba(0,0,0,.15);
}
@media(max-width:768px){
    .case-photo-wrap{
        flex-direction:row; border-right:none;
        border-bottom:1px solid rgba(255,255,255,.08);
        padding:24px 28px;
    }
}
.case-photo {
    width:140px; height:140px;
    border-radius:50%; object-fit:cover;
    border:3px solid rgba(255,255,255,.2);
    box-shadow:0 8px 32px rgba(0,0,0,.4);
}
@media(max-width:768px){ .case-photo{ width:90px; height:90px; } }

.case-meta { text-align:center; }
@media(max-width:768px){ .case-meta{ text-align:left; } }
.case-title { font-size:15px; font-weight:700; color:rgba(255,255,255,.9); margin-bottom:6px; }
.case-age   { font-size:13px; color:rgba(255,255,255,.5); line-height:1.6; }

.case-content { padding:36px 40px; }
@media(max-width:768px){ .case-content{ padding:24px 28px; } }

.case-loss {
    font-size:16px; color:rgba(255,255,255,.7);
    margin-bottom:20px; font-weight:500;
}
.case-loss strong { color:#f87171; font-size:28px; font-weight:800; }

.case-quote {
    font-size:17px; line-height:2.1; font-style:normal;
    color:rgba(255,255,255,.85);
    padding:24px 28px;
    background:rgba(255,255,255,.06);
    border-left:4px solid #3b82f6;
    border-radius:0 14px 14px 0;
    margin-bottom:20px;
}
@media(max-width:768px){
    .case-quote{
        font-size:14px;
        line-height:2.2;
        padding:18px 18px;
    }
}

.case-method {
    font-size:14px; color:rgba(255,255,255,.5);
}
.case-method span {
    color:#93c5fd; font-weight:600;
    background:rgba(59,130,246,.12);
    padding:3px 12px; border-radius:6px; margin-left:6px;
}

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   URGENCY SECTION
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
.urgency-section { padding:120px 0; }
.urgency-bg { filter:brightness(.82) saturate(1.05); }
.urgency-overlay {
    position:absolute; inset:0;
    background:linear-gradient(180deg,
        rgba(6,8,20,.55) 0%,
        rgba(8,10,25,.50) 50%,
        rgba(6,8,20,.60) 100%);
}
.urgency-section .container { position:relative; z-index:10; }
/* urgency見出しは3行になるため行間を広めに */
.urgency-section .sec-h2 {
    margin-bottom:64px;
    line-height:1.65;
}

/* タイムライン */
.timeline {
    max-width:680px; margin:0 auto 72px;
    display:flex; flex-direction:column; gap:0;
    position:relative;
}
.timeline::before {
    content:''; position:absolute;
    left:19px; top:24px; bottom:24px; width:2px;
    background:rgba(255,255,255,.12);
}
.tl-item {
    display:flex; gap:28px; align-items:flex-start;
    padding:0 0 44px;
    position:relative;
}
.tl-item:last-child { padding-bottom:0; }
.tl-dot {
    width:40px; height:40px; border-radius:50%;
    flex-shrink:0;
    background:rgba(255,255,255,.1);
    border:2px solid rgba(255,255,255,.2);
    position:relative; z-index:1;
}
.tl-item.active .tl-dot {
    background:linear-gradient(135deg,#1d4ed8,#3b82f6);
    border-color:#3b82f6;
    box-shadow:0 0 0 6px rgba(59,130,246,.2);
}
.tl-content { flex:1; padding-top:8px; }
.tl-time {
    font-size:15px; color:rgba(255,255,255,.6);
    margin-bottom:8px;
}
.tl-time strong { color:#fff; font-size:18px; }
.tl-label {
    display:inline-block; font-size:14px; font-weight:700;
    padding:5px 16px; border-radius:6px; margin-bottom:12px;
}
.tl-label.good   { background:rgba(52,211,153,.15); color:#34d399; }
.tl-label.caution{ background:rgba(251,191,36,.15); color:#fbbf24; }
.tl-label.bad    { background:rgba(248,113,113,.15); color:#f87171; }
.tl-body { font-size:16px; color:rgba(255,255,255,.85); line-height:1.75; text-shadow:0 1px 8px rgba(0,0,0,.5); }

/* 緊急CTA */
.urgency-cta { text-align:center; }
.urgency-msg {
    font-size:22px; color:#fff;
    margin-bottom:36px; font-weight:600;
    text-shadow:0 2px 16px rgba(0,0,0,.6);
}
@media(max-width:768px){ .urgency-msg{ font-size:18px; } }

/* ── 共通プライマリボタン ──────────────────── */
.btn-primary {
    display:inline-flex; align-items:center; justify-content:center;
    background:linear-gradient(135deg,#dc2626 0%,#f43f5e 100%);
    color:#fff; font-size:19px; font-weight:700;
    padding:22px 52px; border-radius:14px;
    box-shadow:0 10px 36px rgba(220,38,38,.45);
    transition:all .35s cubic-bezier(.4,0,.2,1);
    letter-spacing:.03em;
    cursor:pointer; border:none;
}
.btn-primary:hover {
    transform:translateY(-4px);
    box-shadow:0 18px 52px rgba(220,38,38,.55);
}
.btn-xl { padding:26px 64px; font-size:22px; }
@media(max-width:768px){
    .btn-primary{ padding:20px 40px; font-size:17px; }
    .btn-xl     { padding:22px 48px; font-size:19px; }
}

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   SIMULATOR SECTION
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
.simulator-section { padding:120px 0; }
.sim-bg { filter:brightness(.88) saturate(1.1); }
.sim-overlay {
    position:absolute; inset:0;
    /* シミュレーターは白背景でフォームを見やすく、画像は端に透ける */
    background:linear-gradient(180deg,
        rgba(240,245,255,.62) 0%,
        rgba(248,250,252,.65) 50%,
        rgba(240,245,255,.62) 100%);
}
.simulator-section .container { position:relative; z-index:10; }

.sim-card {
    max-width:820px; margin:0 auto;
    background:#fff;
    border-radius:28px; padding:64px 56px;
    box-shadow:0 24px 80px rgba(0,0,0,.14), 0 0 0 1px rgba(0,0,0,.04);
}
@media(max-width:768px){ .sim-card{ padding:44px 24px; border-radius:20px; } }

.sim-q { margin-bottom:44px; }
.sim-q-num {
    display:inline-block; background:linear-gradient(135deg,#1d4ed8,#3b82f6);
    color:#fff; font-size:12px; font-weight:700;
    width:32px; height:32px; line-height:32px; text-align:center;
    border-radius:50%; margin-bottom:16px;
}
.sim-q-text {
    font-size:22px; font-weight:700; color:#0f172a;
    margin-bottom:24px; line-height:1.5;
}
@media(max-width:768px){ .sim-q-text{ font-size:19px; } }

.sim-opts {
    display:grid; grid-template-columns:repeat(2,1fr); gap:14px;
}
@media(max-width:480px){ .sim-opts{ grid-template-columns:1fr; } }

.sim-opt {
    padding:18px 20px; font-size:17px; font-weight:600;
    background:#fff; color:#374151;
    border:2px solid #e2e8f0; border-radius:12px;
    transition:all .3s ease; min-height:60px;
    box-shadow:0 2px 6px rgba(0,0,0,.04);
}
.sim-opt:hover {
    border-color:#3b82f6; background:#eff6ff;
    transform:translateY(-2px); box-shadow:0 6px 20px rgba(59,130,246,.12);
}
.sim-opt.selected {
    background:linear-gradient(135deg,#1d4ed8,#3b82f6);
    color:#fff; border-color:#1d4ed8;
    box-shadow:0 8px 24px rgba(29,78,216,.3); transform:translateY(-2px);
}
.sim-opt-wide { grid-column:1/-1; }

.btn-sim-submit {
    display:block; width:100%; margin-top:36px;
    padding:22px; font-size:20px; font-weight:700; color:#fff;
    background:linear-gradient(135deg,#dc2626,#f43f5e);
    border-radius:14px; letter-spacing:.04em;
    box-shadow:0 10px 32px rgba(220,38,38,.4);
    transition:all .35s;
}
.btn-sim-submit:hover {
    transform:translateY(-3px); box-shadow:0 16px 44px rgba(220,38,38,.5);
}
.btn-sim-submit:disabled {
    opacity:.7; cursor:not-allowed; transform:none;
}

/* 結果エリア */
.sim-result { margin-top:48px; animation:fadeSlideUp .55s ease; }
@keyframes fadeSlideUp{
    from{ opacity:0; transform:translateY(28px); }
    to  { opacity:1; transform:translateY(0); }
}
.sim-result-inner {
    background:linear-gradient(135deg,#0f172a 0%,#1e3a8a 100%);
    border-radius:22px; padding:56px 48px; text-align:center;
    box-shadow:0 20px 64px rgba(15,23,42,.4);
}
@media(max-width:768px){ .sim-result-inner{ padding:40px 24px; } }

.sr-eyebrow {
    font-size:14px; letter-spacing:.12em; font-weight:700;
    color:rgba(255,255,255,.5); margin-bottom:16px; text-transform:uppercase;
}
.sr-amount {
    display:flex; align-items:baseline;
    justify-content:center; gap:12px; margin-bottom:10px;
}
#srNum {
    font-size:104px; font-weight:800; line-height:.9;
    color:#f87171; text-shadow:0 0 48px rgba(248,113,113,.6);
    letter-spacing:-.02em;
}
.sr-unit { font-size:48px; font-weight:700; color:#f87171; }
@media(max-width:768px){
    #srNum{ font-size:72px; }
    .sr-unit{ font-size:36px; }
}
.sr-note-tax {
    font-size:13px; color:rgba(255,255,255,.4); margin-bottom:40px;
}
.sr-recommend {
    background:rgba(255,255,255,.08);
    border:1px solid rgba(255,255,255,.12);
    border-radius:16px; padding:28px; margin-bottom:36px;
}
.sr-rec-label {
    font-size:13px; color:rgba(255,255,255,.5);
    margin-bottom:12px; letter-spacing:.08em; font-weight:700;
    text-transform:uppercase;
}
.sr-rec-product { font-size:24px; font-weight:700; color:#93c5fd; line-height:1.5; }
@media(max-width:768px){ .sr-rec-product{ font-size:20px; } }
.sr-disclaimer {
    font-size:13px; color:rgba(255,255,255,.35); margin-top:20px;
}

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   SOLUTIONS SECTION
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
.solutions-section { padding:120px 0; }
.sol-bg { filter:brightness(.80) saturate(1.05); }
.sol-overlay {
    position:absolute; inset:0;
    /* ソリューションは白系、カードが浮き出る */
    background:linear-gradient(180deg,
        rgba(240,244,252,.60) 0%,
        rgba(238,243,250,.58) 50%,
        rgba(240,244,252,.64) 100%);
}
.solutions-section .container { position:relative; z-index:10; }

.sol-grid {
    display:grid; grid-template-columns:repeat(2,1fr); gap:28px;
}
@media(max-width:640px){ .sol-grid{ grid-template-columns:1fr; } }

.sol-card {
    background:#fff; border-radius:22px; overflow:hidden;
    box-shadow:0 8px 32px rgba(0,0,0,.08), 0 0 0 1px rgba(0,0,0,.04);
    transition:all .4s cubic-bezier(.4,0,.2,1);
}
.sol-card:hover {
    transform:translateY(-8px);
    box-shadow:0 20px 56px rgba(0,0,0,.14), 0 0 0 1px rgba(30,58,138,.15);
}
.sol-header {
    background:linear-gradient(135deg,#0f172a 0%,#1e3a8a 100%);
    padding:28px 32px 24px;
    display:flex; flex-direction:column; gap:8px;
}
.sol-tag {
    display:inline-block;
    background:rgba(255,255,255,.15); color:#93c5fd;
    font-size:12px; font-weight:700; letter-spacing:.1em;
    padding:4px 14px; border-radius:100px;
    align-self:flex-start;
}
.sol-effect-label {
    font-size:13px; color:rgba(255,255,255,.55);
    font-weight:600; letter-spacing:.06em;
}
.sol-effect-num {
    font-size:17px; color:rgba(255,255,255,.8); font-weight:600;
}
.sol-effect-num em {
    font-style:normal; font-size:32px; font-weight:800;
    color:#f87171;
}
.sol-name {
    font-size:22px; font-weight:700; color:#0f172a;
    padding:28px 32px 16px; line-height:1.4;
}
.sol-body {
    font-size:16px; color:#475569; line-height:1.85;
    padding:0 32px 28px;
}
.sol-detail {
    display:flex; flex-direction:column; gap:10px;
    padding:20px 32px 28px;
    border-top:1px solid #f1f5f9;
}
.sol-detail span {
    font-size:15px; color:#64748b; font-weight:600;
    display:flex; align-items:center; gap:8px;
}
.sol-detail span::before {
    content:''; width:6px; height:6px; border-radius:50%;
    background:#3b82f6; flex-shrink:0;
}

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   FINAL CTA
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
.final-cta-section { padding:140px 0; }
.fcta-bg { filter:brightness(.82) saturate(1.08); }
.fcta-overlay {
    position:absolute; inset:0;
    background:linear-gradient(180deg,
        rgba(6,8,20,.55) 0%,
        rgba(8,12,30,.50) 50%,
        rgba(6,8,20,.58) 100%);
}
.final-cta-section .container {
    position:relative; z-index:10; text-align:center;
}
.final-cta-section .sec-h2 { margin-bottom:36px; }
.fcta-body {
    font-size:19px; color:rgba(255,255,255,.90);
    line-height:2.0; margin-bottom:56px;
    max-width:640px; margin-left:auto; margin-right:auto;
    text-shadow:0 1px 12px rgba(0,0,0,.55);
}
@media(max-width:768px){ .fcta-body{ font-size:17px; } }
.fcta-note {
    font-size:14px; color:rgba(255,255,255,.35);
    margin-top:28px;
}

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   FOOTER
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
.footer {
    background:#020617;
    border-top:1px solid rgba(255,255,255,.07);
    padding:52px 0 40px; text-align:center;
}
.footer-logo {
    font-size:20px; font-weight:700; color:#fff;
    letter-spacing:.04em; margin-bottom:16px;
}
.footer-company {
    font-size:15px; color:rgba(255,255,255,.5); margin-bottom:6px;
}
.footer-ceo {
    font-size:14px; color:rgba(255,255,255,.35); margin-bottom:32px;
}
.footer-copy {
    font-size:13px; color:rgba(255,255,255,.25);
}

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   スクロールアニメーション
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
.reveal {
    opacity:0; transform:translateY(32px);
    transition:opacity .65s ease, transform .65s ease;
}
.reveal.visible { opacity:1; transform:translateY(0); }

/* ── アクセシビリティ ────────────────────────── */
:focus-visible {
    outline:3px solid #60a5fa; outline-offset:4px;
    border-radius:4px;
}

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   スマホ追加最適化（430px以下）
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
@media(max-width: 430px) {

    /* セクション間隔を縮める */
    .pain-section,
    .cases-section,
    .urgency-section,
    .solutions-section { padding: 80px 0; }
    .final-cta-section { padding: 100px 0; }

    /* PAINカード */
    .pain-card { padding: 28px 22px; }
    .pain-card h3 { font-size: 17px; }
    .pain-card p  { font-size: 14px; }
    .pain-icon    { font-size: 22px; margin-bottom: 14px; }
    .pain-num     { font-size: 32px; margin-bottom: 14px; }

    /* 統計数字 */
    .stat-block { padding: 36px 20px; }
    .stat-num   { font-size: 56px; }
    .stat-num span { font-size: 28px; }
    .stat-desc  { font-size: 13px; }

    /* 事例カード */
    .case-quote { font-size: 14px; line-height: 1.85; padding: 16px 18px; }
    .case-loss  { font-size: 14px; }
    .case-loss strong { font-size: 22px; }
    .case-content { padding: 20px 20px; }
    .case-photo-wrap { padding: 18px 20px; }
    .case-photo { width: 72px; height: 72px; }
    .case-title { font-size: 13px; }
    .case-age   { font-size: 12px; }

    /* タイムライン */
    .tl-body { font-size: 13px; }
    .tl-time { font-size: 13px; }
    .tl-time strong { font-size: 15px; }
    .tl-label { font-size: 12px; }
    .urgency-msg { font-size: 16px; }
    .urgency-section .sec-h2 { margin-bottom: 48px; }

    /* シミュレーター */
    .sim-card { padding: 36px 18px; border-radius: 18px; }
    .sim-q-text { font-size: 17px; }
    .sim-opt { font-size: 15px; padding: 16px 14px; min-height: 54px; }
    .btn-sim-submit { font-size: 17px; padding: 20px; }
    #srNum { font-size: 60px; }
    .sr-unit { font-size: 30px; }
    .sr-rec-product { font-size: 17px; }
    .sim-result-inner { padding: 32px 18px; }

    /* ソリューション */
    .sol-name { font-size: 18px; padding: 22px 22px 12px; }
    .sol-body { font-size: 14px; padding: 0 22px 22px; }
    .sol-header { padding: 22px 22px 18px; }
    .sol-effect-num em { font-size: 26px; }
    .sol-detail { padding: 16px 22px 22px; gap: 8px; }
    .sol-detail span { font-size: 13px; }

    /* 最終CTA */
    .fcta-body { font-size: 15px; line-height: 1.9; margin-bottom: 40px; }
    .fcta-note { font-size: 12px; }
    .btn-primary { padding: 18px 32px; font-size: 16px; }
    .btn-xl { padding: 20px 40px; font-size: 18px; }
}
