/*
Theme Name: シカケる 集客タイプ診断LP
Author: HiNeLi Inc.
Description: 飲食店オーナー向け「集客タイプ診断」ランディングページ用テーマ。お問い合わせは MW WP Form (key=144) を使用します。
Version: 1.1.2
Requires at least: 5.8
Tested up to: 6.5
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: shikakeru-shindan
*/

:root {
    --org:   #e8720c;
    --org2:  #f5921e;
    --org-l: #fff3e8;
    --navy:  #1a2744;
    --blue:  #2d4fa0;
    --gold:  #f0a832;
    --glt:   #f5c05a;
    --green: #16a34a;
    --grn-l: #f0fdf4;
    --amb:   #d97706;
    --amb-l: #fffbeb;
    --red:   #dc2626;
    --red-l: #fef2f2;
    --card:  #ffffff;
    --bg:    #fffbf5;
    --bdr:   #fde8cc;
    --tx:    #1e1e2e;
    --txs:   #6b7280;
    --dk:    #0f1629;
  }
  *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
  html { scroll-behavior: smooth; }
  body {
    font-family: 'Noto Sans JP','Hiragino Kaku Gothic ProN','Hiragino Sans','Yu Gothic Medium',Meiryo,sans-serif;
    background: var(--bg);
    color: var(--tx);
    line-height: 1.85;
    font-size: 16px;
    overflow-x: hidden;
  }

  /* ── TOPBAR ── */
  #topbar {
    position: fixed; top: 0; left: 0; right: 0; z-index: 300;
    background: rgba(26,39,68,.97);
    backdrop-filter: blur(12px);
    height: 52px;
    display: flex; align-items: center; justify-content: space-between;
    padding: 0 20px;
  }
  .tb-logo { height: 28px; }
  .tb-cta {
    background: linear-gradient(135deg, var(--org), var(--org2));
    color: #fff; font-size: .78rem; font-weight: 800;
    padding: 7px 16px; border-radius: 99px; border: none;
    cursor: pointer; letter-spacing: .04em;
    transition: transform .2s, box-shadow .2s;
  }
  .tb-cta:hover { transform: translateY(-1px); box-shadow: 0 6px 20px rgba(232,114,12,.4); }

  /* ── HERO ── */
  #hero {
    min-height: 100svh;
    background: #181310;
    display: flex; align-items: center; justify-content: center;
    padding: 88px 16px 44px;
    position: relative; overflow: hidden;
  }

  /* Hero background (single, heavily darkened) */
  .hero-bg-wrap {
    position: absolute !important; inset: 0; z-index: 0 !important; overflow: hidden;
  }
  .hero-bg-wrap::after {
    content: '';
    position: absolute; inset: 0; z-index: 1;
    background: radial-gradient(ellipse 85% 75% at 50% 45%, rgba(0,0,0,.4) 0%, rgba(12,9,7,.82) 100%);
  }
  .hero-bg-img {
    position: absolute; inset: 0;
    width: 100%; height: 100%; object-fit: cover;
    filter: blur(2px) brightness(.45) saturate(.85);
    transform: scale(1.06);
  }
  .hero-card {
    position: relative; z-index: 2;
    width: 100%; max-width: 600px;
    background: #f6f0e6;
    border-radius: 26px;
    padding: 40px 40px 34px;
    text-align: center;
    box-shadow: 0 30px 80px rgba(0,0,0,.55);
  }
  .hc-eyebrow {
    font-size: 1rem; font-weight: 800; letter-spacing: .03em;
    color: var(--org); margin-bottom: 18px;
    display: flex; align-items: center; justify-content: center; gap: 14px;
  }
  .hc-eyebrow::before, .hc-eyebrow::after {
    content: ''; display: block;
    width: 26px; height: 2px; background: var(--org); border-radius: 2px;
  }
  .hc-label {
    display: inline-flex; align-items: center; gap: 9px;
    background: var(--navy); color: #fff;
    font-size: 1.08rem; font-weight: 800; letter-spacing: .01em;
    padding: 11px 26px; border-radius: 99px;
    margin-bottom: 22px;
  }
  .hc-label svg { width: 19px; height: 19px; flex-shrink: 0; }
  .hc-title {
    font-size: clamp(1rem, 6.5vw, 2.5rem);
    font-weight: 900; color: var(--navy);
    line-height: 1.3; letter-spacing: .01em;
    margin-bottom: 22px;
  }
  .hc-title .l2 { white-space: nowrap; }
  .hc-em { color: var(--org); }
  .hc-hl {
    color: var(--org);
    background: linear-gradient(transparent 58%, rgba(232,114,12,.2) 58%);
    padding: 0 3px;
  }
  .hc-desc {
    font-size: 1.04rem; color: #4a4640;
    line-height: 1.85; margin-bottom: 24px;
  }
  .br-mb { display: none; }
  .hc-badges {
    display: grid; grid-template-columns: 1fr 1fr 2fr;
    gap: 10px; margin-bottom: 26px;
  }
  .hc-badge {
    display: flex; align-items: center; justify-content: center; gap: 7px;
    background: #fffdf9;
    border: 1.5px solid #e7ddca;
    border-radius: 12px;
    padding: 14px 6px;
    font-size: .98rem; font-weight: 700; color: var(--navy);
  }
  .hc-badge svg { width: 19px; height: 19px; color: var(--org); flex-shrink: 0; }
  .hc-divider { height: 1px; background: #e1d7c5; margin: 4px 0 22px; }
  .hc-track {
    display: flex; align-items: center; justify-content: center; gap: 16px;
    margin-bottom: 22px;
  }
  .hc-laurel { width: auto; height: 60px; flex-shrink: 0; }
  .hc-laurel.r { transform: scaleX(-1); }
  .hc-track-main {
    font-size: clamp(.95rem, 3.5vw, 1.24rem); font-weight: 800; color: var(--navy);
    line-height: 1.3;
  }
  .hc-track-main .num {
    font-size: clamp(1.5rem, 6.5vw, 2rem); font-weight: 900; color: var(--org);
    margin-right: 2px;
  }
  .hc-track-sub { font-size: clamp(.74rem, 3vw, .94rem); color: #6b6459; margin-top: 5px; }
  .btn-start {
    display: block; width: 100%;
    background: linear-gradient(180deg, var(--org2), var(--org));
    color: #fff; font-size: 1.36rem; font-weight: 900;
    padding: 21px 32px; border-radius: 99px; border: none;
    cursor: pointer; letter-spacing: .04em; text-align: center;
    box-shadow: 0 10px 26px rgba(232,114,12,.36);
    transition: transform .2s, box-shadow .2s;
  }
  .btn-start:hover { transform: translateY(-2px); box-shadow: 0 16px 40px rgba(232,114,12,.45); }

  /* ── WRAP ── */
  .wrap { max-width: 600px; margin: 0 auto; padding: 0 20px; }

  /* ── HOOK INTRO ── */
  .hook-intro {
    padding: 36px 0 16px;
    text-align: center;
  }
  .hi-lead {
    font-size: 1.02rem; font-weight: 900; color: var(--navy);
    line-height: 1.65; margin-bottom: 14px;
  }
  .hi-body {
    font-size: .9rem; color: var(--txs); line-height: 2;
    margin-bottom: 16px;
  }
  .hi-story-card {
    background: var(--navy);
    border-radius: 16px;
    padding: 24px 22px;
    margin: 0 0 18px;
    text-align: left;
    color: rgba(255,255,255,.88);
    font-size: .9rem;
    line-height: 1.9;
  }
  .hi-story-card p { margin-bottom: 12px; }
  .hi-story-hd {
    font-size: 1rem; font-weight: 900; color: var(--gold);
    margin-bottom: 16px; letter-spacing: .04em;
  }
  .hi-quote {
    border-left: 3px solid var(--gold);
    padding: 10px 16px;
    margin: 14px 0;
    font-style: italic;
    font-weight: 700;
    color: var(--gold);
    font-size: .95rem;
  }
  .hi-law {
    background: rgba(240,168,50,.12);
    border: 1px solid rgba(240,168,50,.3);
    border-radius: 10px;
    padding: 14px 18px;
    font-size: .88rem;
    color: rgba(255,255,255,.92);
    line-height: 1.85;
    margin-top: 14px;
  }
  .hi-law strong { color: var(--gold); }
  .hi-bridge {
    display: block;
    font-size: .88rem; font-weight: 700; color: var(--tx);
    background: linear-gradient(135deg, var(--org-l), #fff8f0);
    border: 1px solid var(--bdr); border-radius: 10px;
    padding: 12px 18px;
    text-align: center;
  }
  .hi-bridge em { color: var(--org); font-style: normal; }

  /* ── QUIZ SECTION ── */
  .q-sec {
    display: none; opacity: 0;
    transform: translateY(24px);
    transition: opacity .5s ease, transform .5s ease;
    padding: 56px 0 24px;
  }
  .q-sec.visible { display: block; }
  .q-sec.show    { opacity: 1; transform: translateY(0); }

  .q-num-badge {
    display: inline-flex; align-items: center; gap: 6px;
    background: var(--org-l); border: 1.5px solid var(--bdr);
    color: var(--org); font-size: .78rem; font-weight: 800;
    padding: 5px 16px; border-radius: 99px;
    margin-bottom: 16px; letter-spacing: .06em;
  }

  .story-setup {
    background: #fff; border-radius: 16px;
    border: 1px solid var(--bdr); overflow: hidden;
    margin-bottom: 20px; font-size: .93rem; line-height: 1.85;
    box-shadow: 0 4px 20px rgba(0,0,0,.06);
  }
  .story-setup-hd {
    background: linear-gradient(135deg, var(--navy), #2d4fa0);
    color: #fff; padding: 12px 22px;
    font-size: .78rem; font-weight: 700; letter-spacing: .08em;
  }
  .story-setup-body { padding: 20px 22px; }
  .story-setup-body p { margin-bottom: 10px; }
  .story-setup-body p:last-child { margin-bottom: 0; }
  .story-em { color: var(--org); font-weight: 700; }

  .q-label {
    font-size: .88rem; font-weight: 800; color: var(--navy);
    margin-bottom: 12px;
  }
  .q-choices { display: flex; flex-direction: column; gap: 10px; }

  .q-btn {
    width: 100%; background: #fff;
    border: 2px solid var(--bdr); border-radius: 14px;
    padding: 15px 18px; text-align: left;
    cursor: pointer; font-size: .93rem;
    font-family: inherit; color: var(--tx);
    display: flex; align-items: flex-start; gap: 12px;
    transition: border-color .2s, background .2s, transform .15s;
    box-shadow: 0 1px 4px rgba(0,0,0,.04);
  }
  .q-btn:hover:not(:disabled) {
    border-color: var(--org);
    background: var(--org-l);
    transform: translateX(4px);
  }
  .q-btn:disabled { cursor: default; }
  .q-lbl {
    width: 30px; height: 30px; border-radius: 8px;
    background: var(--org-l); border: 1.5px solid var(--bdr);
    color: var(--org); font-weight: 900; font-size: .82rem;
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0; transition: all .3s;
  }
  .q-btn .q-txt { flex: 1; line-height: 1.55; padding-top: 2px; }

  .q-btn.sel-ok   { border-color: var(--blue); background: #f0f4ff; }
  .q-btn.sel-ok .q-lbl { background: var(--blue); color: #fff; border-color: var(--blue); }
  .q-btn.sel-ng   { border-color: var(--blue); background: #f0f4ff; }
  .q-btn.sel-ng .q-lbl { background: var(--blue); color: #fff; border-color: var(--blue); }

  /* ── INSIGHT BLOCK ── */
  .insight-block {
    display: none;
    margin-top: 20px;
    background: var(--navy);
    border-radius: 16px;
    padding: 22px 20px 20px;
    color: rgba(255,255,255,.9);
  }
  .insight-block.on { display: block; }
  .ib-tag {
    display: inline-block;
    background: var(--org);
    color: #fff;
    font-size: .72rem;
    font-weight: 800;
    padding: 3px 10px;
    border-radius: 99px;
    margin-bottom: 10px;
    letter-spacing: .06em;
  }
  .ib-title {
    font-size: .95rem;
    font-weight: 900;
    color: #fff;
    margin-bottom: 14px;
    line-height: 1.5;
  }
  .ib-flow-wrap { margin-bottom: 14px; }
  .ib-flow {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
    margin-bottom: 8px;
  }
  .ib-chip {
    background: rgba(255,255,255,.15);
    color: #fff;
    font-size: .78rem;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 6px;
  }
  .ib-chip.soft { background: rgba(255,255,255,.1); color: rgba(255,255,255,.7); }
  .ib-chip.bad  { background: var(--red); color: #fff; }
  .ib-arr { color: rgba(255,255,255,.4); font-size: .85rem; }
  .ib-body {
    font-size: .88rem;
    line-height: 1.85;
    color: rgba(255,255,255,.8);
    margin-bottom: 14px;
  }
  .ib-body strong { color: #fff; }
  .ib-point {
    background: rgba(232,114,12,.18);
    border-left: 3px solid var(--org);
    border-radius: 0 8px 8px 0;
    padding: 10px 14px;
    font-size: .86rem;
    line-height: 1.8;
    color: rgba(255,255,255,.85);
  }
  .ib-point strong { color: var(--org2); }

  .empathy-bridge {
    text-align: center;
    margin: 32px 0 24px;
    padding: 24px 20px;
    background: linear-gradient(135deg, #fffbf5, var(--org-l));
    border-radius: 14px;
    font-size: 1rem;
    line-height: 2;
    color: var(--tx);
  }
  .empathy-bridge p { margin: 0; }
  .empathy-bridge p + p { margin-top: 6px; }
  /* 強調：既存の strong をブランドオレンジに */
  .empathy-bridge strong { color: var(--org); font-weight: 800; }
  /* マーカー風ハイライト（重要フレーズ） */
  .eb-mark {
    font-weight: 800;
    background: linear-gradient(transparent 58%, rgba(240,168,50,.42) 58%);
    padding: 0 .1em;
  }
  /* 結論の一文：大きく・オレンジで目立たせる */
  .empathy-bridge .eb-key {
    margin-top: 14px;
    font-size: 1.18rem;
    font-weight: 900;
    line-height: 1.7;
    color: var(--org);
  }
  .empathy-bridge .eb-lead {
    display: inline-block;
    font-size: .95rem;
    font-weight: 700;
    color: var(--txs, var(--blue));
    letter-spacing: .04em;
    margin-bottom: 2px;
  }
  .empathy-bridge .eb-key .eb-keymark {
    background: linear-gradient(transparent 56%, rgba(232,114,12,.18) 56%);
    padding: 0 .12em;
  }
  /* 現地診断オファーへの導入ブリッジ */
  .offer-intro {
    text-align: center;
    margin: 22px 0 18px;
    font-size: .95rem; line-height: 1.95; color: var(--tx);
  }
  .offer-intro p { margin: 0; }
  .offer-intro .oi-q {
    font-weight: 800; color: var(--navy);
    font-size: 1.04rem; margin-bottom: 8px; text-wrap: balance;
  }
  .offer-intro .oi-strong {
    margin-top: 10px; font-weight: 800; color: var(--org);
    text-wrap: balance;
  }

  .read-on-hint {
    text-align: center;
    font-size: .85rem;
    color: var(--txs);
    margin-top: 18px;
    margin-bottom: 4px;
    letter-spacing: .02em;
  }

  .diag-bridge {
    text-align: center;
    margin: 24px 0 8px;
    padding: 18px 20px;
    background: linear-gradient(135deg, var(--org-l), #fff8f0);
    border: 1px solid var(--bdr);
    border-radius: 12px;
    font-size: .95rem;
    line-height: 1.8;
    color: var(--tx);
  }
  .diag-bridge p { margin: 0; }
  .diag-bridge p + p { margin-top: 4px; }
  .q-btn.sel-diag { border-color: var(--blue); background: #f0f4ff; }
  .q-btn.sel-diag .q-lbl { background: var(--blue); color: #fff; border-color: var(--blue); }
  .q-btn:disabled { cursor: not-allowed; pointer-events: none; }
  .btn-next:disabled { cursor: not-allowed; opacity: .5; box-shadow: none; filter: grayscale(.25); }

  .q-fb {
    display: none; margin-top: 14px;
    border-radius: 12px; padding: 15px 18px;
    font-size: .92rem; line-height: 1.75;
  }
  .q-fb.on { display: block; }
  .q-fb.ok { background: var(--grn-l); border: 1.5px solid #86efac; }
  .q-fb.ng { background: var(--amb-l); border: 1.5px solid #fcd34d; }
  .q-fb.diag { background: #f0f4ff; border: 1.5px solid #93aff0; }
  .q-fb .fb-ttl { font-weight: 800; font-size: .97rem; margin-bottom: 6px; }
  .q-fb.ok .fb-ttl { color: var(--green); }
  .q-fb.ng .fb-ttl { color: var(--amb); }
  .q-fb.diag .fb-ttl { color: var(--blue); }
  .fb-food {
    margin-top: 10px; padding: 10px 14px;
    background: rgba(232,114,12,.06);
    border-left: 3px solid var(--org);
    border-radius: 0 8px 8px 0;
    font-size: .88rem; color: var(--tx);
  }
  .fb-food strong { color: var(--org); font-weight: 800; }

  .btn-next {
    display: none; width: 100%; margin-top: 18px;
    background: linear-gradient(135deg, var(--navy), var(--blue));
    color: #fff; font-size: .98rem; font-weight: 800;
    padding: 15px 32px; border-radius: 99px; border: none;
    cursor: pointer; letter-spacing: .04em;
    transition: opacity .2s, transform .2s;
  }
  .btn-next.on { display: block; }
  .btn-next:hover { opacity: .9; transform: translateY(-2px); }

  /* ── REVEAL SECTION ── */
  .reveal-sec {
    display: none; opacity: 0;
    transform: translateY(18px);
    transition: opacity .5s ease, transform .5s ease;
    padding: 0 0 24px;
  }
  .reveal-sec.visible { display: block; }
  .reveal-sec.show    { opacity: 1; transform: translateY(0); }

  /* ── USJ 横スクロールギャラリー ── */
  .usj-gal { margin-bottom: 20px; }
  .usj-gal-head { text-align: center; margin-bottom: 14px; }
  .usj-gal-ttl {
    font-size: clamp(1.15rem, 5vw, 1.45rem); font-weight: 900;
    color: var(--navy); letter-spacing: .01em; line-height: 1.4; margin: 0;
  }
  .usj-gal-sub {
    font-size: .82rem; font-weight: 700; color: var(--org);
    margin-top: 8px; letter-spacing: .02em;
  }
  .usj-scroller {
    display: flex; gap: 14px;
    overflow-x: auto; overflow-y: hidden;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding: 4px 0 6px;
    scroll-padding: 0;
  }
  .usj-scroller::-webkit-scrollbar { display: none; }
  .usj-slide {
    flex: 0 0 86%; max-width: 480px; margin: 0;
    scroll-snap-align: center; scroll-snap-stop: always;
  }
  .usj-slide img {
    display: block; width: 100%; height: auto;
    border-radius: 16px;
    box-shadow: 0 10px 36px rgba(26,47,94,.22);
    border: 1px solid rgba(26,47,94,.08);
  }
  .usj-gal-foot {
    display: flex; align-items: center; justify-content: center;
    gap: 16px; margin-top: 16px;
  }
  .usj-arrow {
    width: 42px; height: 42px; flex: 0 0 auto;
    border-radius: 50%; border: none; cursor: pointer;
    background: var(--navy); color: #fff;
    font-size: 22px; line-height: 1; font-weight: 700;
    display: flex; align-items: center; justify-content: center;
    box-shadow: 0 4px 14px rgba(26,47,94,.28);
    transition: transform .15s ease, opacity .15s ease;
  }
  .usj-arrow:hover { transform: scale(1.06); }
  .usj-arrow:disabled { opacity: .3; cursor: default; transform: none; }
  .usj-dots { display: flex; gap: 9px; align-items: center; }
  .usj-dots .usj-dot {
    width: 9px; height: 9px; border-radius: 50%;
    background: rgba(26,47,94,.22); border: none; padding: 0; cursor: pointer;
    transition: width .2s ease, background .2s ease;
  }
  .usj-dots .usj-dot.active { width: 26px; border-radius: 5px; background: var(--org); }
  @media (min-width: 600px) {
    .usj-slide { flex-basis: 70%; }
  }

  .dk-card {
    background: linear-gradient(160deg, var(--dk) 0%, #1a2744 100%);
    border-radius: 20px; padding: 30px 26px;
    color: #c8cfe8; margin-bottom: 20px;
    border: 1px solid rgba(255,255,255,.1);
    position: relative; overflow: hidden;
    box-shadow: 0 8px 40px rgba(0,0,0,.3);
  }
  .dk-card::before {
    content: '';
    position: absolute; top: -40px; right: -40px;
    width: 120px; height: 120px;
    background: radial-gradient(circle, rgba(240,168,50,.12) 0%, transparent 70%);
  }
  .dk-card h3 {
    color: var(--gold); font-size: 1.05rem; font-weight: 900;
    margin-bottom: 14px; letter-spacing: .03em;
  }
  .dk-card p { font-size: .93rem; line-height: 1.95; margin-bottom: 11px; color: #c4cee2; }
  .dk-card p:last-child { margin-bottom: 0; }
  .dk-em { color: var(--gold); font-weight: 700; }
  /* 強調（やや強め・白） */
  .dk-strong { color: #fff; font-weight: 800; }
  /* 強調パラグラフ：通常文より一段大きく・白く（節目の一文） */
  .dk-lead { font-size: 1.06rem; color: #fff; font-weight: 700; line-height: 1.78; }
  /* 章わけ：長い解説の単調さを断ち、流れの節目をつくる */
  .dk-chapter {
    display: flex; align-items: center; gap: 11px;
    margin: 30px 0 15px; padding-top: 24px;
    border-top: 1px solid rgba(240,168,50,.2);
  }
  .dk-chapter:first-of-type { border-top: none; padding-top: 6px; margin-top: 16px; }
  .dk-chapter .dkc-no {
    flex-shrink: 0; width: 27px; height: 27px; border-radius: 8px;
    background: linear-gradient(135deg, var(--gold), #d98f1e); color: var(--dk);
    font-size: .88rem; font-weight: 900;
    display: flex; align-items: center; justify-content: center;
  }
  .dk-chapter .dkc-ttl { font-size: 1.05rem; font-weight: 900; color: var(--gold); line-height: 1.4; letter-spacing: .02em; }
  /* 超重要：独立した一行で大きく見せる */
  .dk-key {
    margin: 22px 0; padding: 15px 17px;
    border-left: 4px solid var(--gold);
    background: rgba(240,168,50,.09);
    border-radius: 0 12px 12px 0;
    font-size: 1.3rem; font-weight: 900; line-height: 1.5; color: #fff;
  }
  .dk-key .mk {
    background: linear-gradient(transparent 58%, rgba(240,168,50,.42) 58%);
    padding: 0 2px;
  }
  /* 答えC：独立カードで改行・色変え・大きく */
  .dk-pick {
    display: flex; align-items: center; gap: 13px;
    margin: 16px 0; padding: 15px 17px;
    background: rgba(240,168,50,.14);
    border: 1px solid rgba(240,168,50,.42);
    border-radius: 13px;
  }
  .dk-pick .pick-badge {
    flex-shrink: 0; width: 40px; height: 40px; border-radius: 10px;
    background: var(--gold); color: var(--dk);
    font-weight: 900; font-size: 1.25rem;
    display: flex; align-items: center; justify-content: center;
  }
  .dk-pick .pick-txt { font-size: 1.08rem; font-weight: 800; color: #fff; line-height: 1.55; }
  .dk-pick .pick-txt b { color: var(--gold); }
  /* ステップ番号 */
  .dk-step {
    display: inline-flex; align-items: center; justify-content: center;
    width: 23px; height: 23px; border-radius: 50%;
    background: var(--gold); color: var(--dk);
    font-size: .82rem; font-weight: 900; margin-right: 7px;
    vertical-align: 2px;
  }
  .dk-quote {
    background: rgba(240,168,50,.1);
    border: 1px solid rgba(240,168,50,.28);
    border-left: 3px solid var(--gold);
    border-radius: 0 10px 10px 0; padding: 12px 16px;
    margin: 14px 0; font-size: .9rem; color: #e8edf8;
    font-style: italic;
  }
  .dk-video { margin: 18px 0 6px; }
  .dk-video-frame {
    position: relative; display: block; width: 100%; padding-bottom: 56.25%;
    border-radius: 12px; overflow: hidden;
    border: 1px solid rgba(240,168,50,.3);
    box-shadow: 0 8px 28px rgba(0,0,0,.35);
    background: #000; cursor: pointer;
  }
  .dk-video-frame iframe {
    position: absolute; inset: 0; width: 100%; height: 100%; border: 0;
  }
  .dk-video-thumb {
    position: absolute; inset: 0; width: 100%; height: 100%;
    object-fit: cover; transition: transform .4s ease, opacity .3s;
  }
  .dk-video-frame:hover .dk-video-thumb { transform: scale(1.04); opacity: .85; }
  .dk-video-play {
    position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%);
    filter: drop-shadow(0 4px 12px rgba(0,0,0,.5));
    transition: transform .25s ease;
  }
  .dk-video-frame:hover .dk-video-play { transform: translate(-50%,-50%) scale(1.12); }
  .dk-video-cap {
    text-align: center; font-size: .8rem; color: var(--gold);
    font-weight: 700; margin: 10px 0 0;
  }
  .dk-law { display: flex; flex-direction: column; gap: 6px; text-align: center; padding: 18px 16px; }
  .dk-law-label { font-size: .72rem; font-weight: 800; letter-spacing: .12em; color: var(--gold); opacity: .9; }
  .dk-law-sub { font-size: .82rem; color: #b9c4dc; font-weight: 600; }
  .dk-law-main { font-size: 1.12rem; font-weight: 900; color: #fff; line-height: 1.5; margin: 2px 0; }
  .dk-law-main span { color: var(--gold); }
  .dk-law-foot { font-size: .76rem; color: #8a97b5; font-weight: 600; margin-top: 4px; }
  .lesson {
    background: #fff; border-radius: 16px;
    border: 1px solid var(--bdr);
    border-left: 4px solid var(--org);
    padding: 26px 24px; margin-bottom: 20px;
    box-shadow: 0 4px 20px rgba(0,0,0,.05);
  }
  .lesson .les-ic { font-size: 1.8rem; margin-bottom: 10px; }
  .lesson h3 { font-size: 1.02rem; font-weight: 900; color: var(--navy); margin-bottom: 8px; }
  .lesson p { font-size: .9rem; color: var(--txs); line-height: 1.85; }
  .les-em { color: var(--org); font-weight: 700; }

  .btn-cont {
    display: block; width: 100%;
    background: linear-gradient(135deg, var(--navy), var(--blue));
    color: #fff; font-size: .98rem; font-weight: 800;
    padding: 15px 32px; border-radius: 99px; border: none;
    cursor: pointer; letter-spacing: .04em; text-align: center;
    transition: opacity .2s, transform .2s;
  }
  .btn-cont:hover { opacity: .9; transform: translateY(-2px); }

  /* ── MID INSIGHT ── */
  .insight-mid {
    background: var(--navy);
    border-radius: 20px; padding: 32px 24px;
    color: #c8cfe8; margin-bottom: 28px;
  }
  .insight-mid h3 {
    color: #fff; font-size: 1.08rem; font-weight: 900;
    margin-bottom: 14px; text-align: center;
  }
  .ins-flow {
    display: flex; align-items: center; justify-content: center;
    gap: 8px; flex-wrap: wrap; margin: 16px 0;
  }
  .ins-tag {
    background: rgba(255,255,255,.1);
    border: 1px solid rgba(255,255,255,.2);
    color: rgba(255,255,255,.8);
    font-size: .82rem; font-weight: 700;
    padding: 6px 14px; border-radius: 8px;
  }
  .ins-arrow { color: rgba(255,255,255,.3); font-size: 1.2rem; }
  .ins-tag.bad { border-color: rgba(220,38,38,.4); background: rgba(220,38,38,.12); color: #fca5a5; }
  .ins-point {
    background: rgba(232,114,12,.12);
    border: 1px solid rgba(232,114,12,.3);
    border-radius: 12px; padding: 14px 16px;
    font-size: .9rem; line-height: 1.8; color: #e8edf8;
    margin-top: 14px;
  }
  .ins-point strong { color: var(--org2); font-weight: 800; }

  /* ── RESULT SECTION ── */
  .res-sec {
    display: none; opacity: 0;
    transform: translateY(20px);
    transition: opacity .5s ease, transform .5s ease;
    padding: 48px 0;
  }
  .res-sec.visible { display: block; }
  .res-sec.show    { opacity: 1; transform: translateY(0); }

  .res-header {
    text-align: center; margin-bottom: 28px;
  }
  .res-header .res-label {
    display: inline-block;
    background: var(--org-l); color: var(--org);
    font-size: .72rem; font-weight: 800; letter-spacing: .12em;
    padding: 4px 14px; border-radius: 99px; margin-bottom: 12px;
  }
  .res-header h2 {
    font-size: clamp(1.25rem, 4vw, 1.7rem);
    font-weight: 900; color: var(--navy);
  }

  /* Type cards */
  .type-card {
    border-radius: 20px; padding: 28px 24px;
    margin-bottom: 24px; display: none;
  }
  .type-card.active { display: block; }

  /* TypeA - amber */
  .type-a {
    background: linear-gradient(135deg, #fffbeb, #fff8e8);
    border: 2px solid #fcd34d;
  }
  .type-a .tc-icon { font-size: 2.8rem; text-align: center; margin-bottom: 12px; }
  .type-a .tc-tag {
    display: inline-block;
    background: var(--amb); color: #fff;
    font-size: .72rem; font-weight: 800; letter-spacing: .08em;
    padding: 4px 14px; border-radius: 99px; margin-bottom: 14px;
  }
  .type-a .tc-title {
    font-size: 1.08rem; font-weight: 900; color: #92400e;
    line-height: 1.5; margin-bottom: 14px;
  }
  .type-a .tc-body {
    font-size: .92rem; color: #78350f; line-height: 1.9;
    margin-bottom: 16px;
  }
  .type-a .tc-cta {
    background: linear-gradient(135deg, var(--amb), #f59e0b);
    color: #fff; font-size: .95rem; font-weight: 900;
    padding: 14px 24px; border-radius: 12px;
    border-left: 4px solid #92400e;
    margin-top: 16px;
  }
  .type-a .tc-cta strong { font-size: 1rem; display: block; margin-bottom: 6px; }

  /* TypeB - blue */
  .type-b {
    background: linear-gradient(135deg, #eff6ff, #eef2ff);
    border: 2px solid #93c5fd;
  }
  .type-b .tc-icon { font-size: 2.8rem; text-align: center; margin-bottom: 12px; }
  .type-b .tc-tag {
    display: inline-block;
    background: var(--blue); color: #fff;
    font-size: .72rem; font-weight: 800; letter-spacing: .08em;
    padding: 4px 14px; border-radius: 99px; margin-bottom: 14px;
  }
  .type-b .tc-title {
    font-size: 1.08rem; font-weight: 900; color: #1e3a8a;
    line-height: 1.5; margin-bottom: 14px;
  }
  .type-b .tc-body {
    font-size: .92rem; color: #1e40af; line-height: 1.9;
    margin-bottom: 16px;
  }
  .type-b .tc-cta {
    background: linear-gradient(135deg, var(--navy), var(--blue));
    color: #fff; font-size: .95rem; font-weight: 900;
    padding: 14px 24px; border-radius: 12px;
    border-left: 4px solid #1e3a8a;
    margin-top: 16px;
  }
  .type-b .tc-cta strong { font-size: 1rem; display: block; margin-bottom: 6px; }

  /* TypeC - green */
  .type-c {
    background: linear-gradient(135deg, #f0fdf4, #ecfdf5);
    border: 2px solid #86efac;
  }
  .type-c .tc-icon { font-size: 2.8rem; text-align: center; margin-bottom: 12px; }
  .type-c .tc-tag {
    display: inline-block;
    background: var(--green); color: #fff;
    font-size: .72rem; font-weight: 800; letter-spacing: .08em;
    padding: 4px 14px; border-radius: 99px; margin-bottom: 14px;
  }
  .type-c .tc-title {
    font-size: 1.08rem; font-weight: 900; color: #14532d;
    line-height: 1.5; margin-bottom: 14px;
  }
  .type-c .tc-body {
    font-size: .92rem; color: #166534; line-height: 1.9;
    margin-bottom: 16px;
  }
  .type-c .tc-cta {
    background: linear-gradient(135deg, #15803d, var(--green));
    color: #fff; font-size: .95rem; font-weight: 900;
    padding: 14px 24px; border-radius: 12px;
    border-left: 4px solid #14532d;
    margin-top: 16px;
  }
  .type-c .tc-cta strong { font-size: 1rem; display: block; margin-bottom: 6px; }

  /* あるある事例ブロック（結果カード共通） */
  .tc-cases {
    margin-top: 16px;
    background: rgba(255,255,255,.55);
    border: 1px dashed var(--bdr);
    border-radius: 12px;
    padding: 15px 17px;
  }
  .tc-cases .tcc-lbl {
    display: block; font-size: .76rem; font-weight: 800;
    letter-spacing: .04em; margin-bottom: 10px;
  }
  .tc-cases ul { list-style: none; display: flex; flex-direction: column; gap: 9px; }
  .tc-cases li {
    font-size: .86rem; line-height: 1.7;
    padding-left: 22px; position: relative;
  }
  .tc-cases li::before {
    content: '›'; position: absolute; left: 4px; top: 2px;
    font-weight: 900; font-size: 1.05rem; line-height: 1;
  }
  .type-a .tc-cases { border-color: rgba(217,119,6,.32); }
  .type-a .tc-cases .tcc-lbl, .type-a .tc-cases li::before { color: var(--amb); }
  .type-a .tc-cases li { color: #78350f; }
  .type-b .tc-cases { border-color: rgba(45,79,160,.32); }
  .type-b .tc-cases .tcc-lbl, .type-b .tc-cases li::before { color: var(--blue); }
  .type-b .tc-cases li { color: #1e40af; }
  .type-c .tc-cases { border-color: rgba(22,163,74,.32); }
  .type-c .tc-cases .tcc-lbl, .type-c .tc-cases li::before { color: #15803d; }
  .type-c .tc-cases li { color: #166534; }

  /* TypeD - violet */
  .type-d {
    background: linear-gradient(135deg, #faf5ff, #f5f3ff);
    border: 2px solid #c4b5fd;
  }
  .type-d .tc-icon { font-size: 2.8rem; text-align: center; margin-bottom: 12px; }
  .type-d .tc-tag {
    display: inline-block;
    background: #7c3aed; color: #fff;
    font-size: .72rem; font-weight: 800; letter-spacing: .08em;
    padding: 4px 14px; border-radius: 99px; margin-bottom: 14px;
  }
  .type-d .tc-title {
    font-size: 1.08rem; font-weight: 900; color: #4c1d95;
    line-height: 1.5; margin-bottom: 14px;
  }
  .type-d .tc-body {
    font-size: .92rem; color: #5b21b6; line-height: 1.9;
    margin-bottom: 16px;
  }
  .type-d .tc-cta {
    background: linear-gradient(135deg, #6d28d9, #7c3aed);
    color: #fff; font-size: .95rem; font-weight: 900;
    padding: 14px 24px; border-radius: 12px;
    margin-top: 16px;
  }
  .type-d .tc-cta strong { font-size: 1rem; display: block; margin-bottom: 6px; }
  .type-d .tc-cases { border-color: rgba(124,58,237,.32); }
  .type-d .tc-cases .tcc-lbl, .type-d .tc-cases li::before { color: #7c3aed; }
  .type-d .tc-cases li { color: #5b21b6; }

  /* ── 結果カードの情報階層（通常／強調／超重要） ── */
  /* タイプ名バッジを主役級に強調 */
  .type-card .tc-tag {
    font-size: .98rem; font-weight: 900; letter-spacing: .03em;
    padding: 7px 20px; box-shadow: 0 5px 16px rgba(0,0,0,.14);
  }
  .tc-lead {
    font-size: 1.04rem; font-weight: 800; line-height: 1.75;
    margin-bottom: 13px;
  }
  .tc-em { font-weight: 900; }
  .tck-lbl { display:block; font-size:.7rem; font-weight:800; letter-spacing:.1em; opacity:.62; margin-bottom:6px; }
  /* 結果カード：キャッチコピー＆サブテキスト */
  .type-card .tc-title { font-size: 1.34rem; line-height: 1.45; margin-bottom: 8px; }
  .tc-sub {
    font-size: .88rem; line-height: 1.85; margin-bottom: 18px;
    padding-bottom: 16px; border-bottom: 1px solid rgba(0,0,0,.08);
  }
  .type-a .tc-sub { color: #78350f; }
  .type-b .tc-sub { color: #1e40af; }
  .type-c .tc-sub { color: #166534; }
  .type-d .tc-sub { color: #5b21b6; }
  .tc-key {
    margin: 15px 0 4px; padding: 14px 16px;
    border-radius: 0 13px 13px 0;
    font-size: 1.18rem; font-weight: 900; line-height: 1.5;
  }
  /* TypeA amber */
  .type-a .tc-lead { color: #92400e; }
  .type-a .tc-em { color: #b45309; }
  .type-a .tc-key { background: rgba(245,158,11,.14); border-left: 4px solid var(--amb); color: #7c2d12; }
  /* TypeB blue */
  .type-b .tc-lead { color: #1e3a8a; }
  .type-b .tc-em { color: #1d4ed8; }
  .type-b .tc-key { background: rgba(45,79,160,.11); border-left: 4px solid var(--blue); color: #1e3a8a; }
  /* TypeC green */
  .type-c .tc-lead { color: #14532d; }
  .type-c .tc-em { color: #15803d; }
  .type-c .tc-key { background: rgba(22,163,74,.11); border-left: 4px solid #16a34a; color: #14532d; }
  /* TypeD violet */
  .type-d .tc-lead { color: #4c1d95; }
  .type-d .tc-em { color: #7c3aed; }
  .type-d .tc-key { background: rgba(124,58,237,.11); border-left: 4px solid #7c3aed; color: #4c1d95; }

  .tc-cta-btn {
    display: block; width: 100%;
    background: linear-gradient(135deg, var(--org), var(--org2));
    color: #fff; font-size: 1.05rem; font-weight: 900;
    padding: 18px 32px; border-radius: 99px; border: none;
    cursor: pointer; letter-spacing: .05em; text-align: center;
    box-shadow: 0 8px 32px rgba(232,114,12,.38);
    margin-top: 20px;
    transition: transform .2s, box-shadow .2s;
  }
  .tc-cta-btn:hover { transform: translateY(-3px); box-shadow: 0 14px 40px rgba(232,114,12,.48); }

  /* ── CASE STUDIES ── */
  .sh { text-align: center; margin-bottom: 24px; }
  .sh-label {
    display: inline-block;
    background: var(--org-l); color: var(--org);
    font-size: .72rem; font-weight: 800; letter-spacing: .12em;
    padding: 4px 14px; border-radius: 99px; margin-bottom: 10px;
  }
  .sh-title {
    font-size: clamp(1.25rem, 4vw, 1.55rem);
    font-weight: 900; color: var(--navy);
    line-height: 1.42;
  }
  .sh-sub { font-size: .88rem; color: var(--txs); margin-top: 8px; }

  /* 実績紹介 横スクロールトラック */
  .case-track {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: minmax(280px, 1fr);
    gap: 14px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding-bottom: 6px;
    /* カード端が画面端でも見切れないように */
    margin: 0 -4px;
    padding-left: 4px; padding-right: 4px;
  }
  .case-track::-webkit-scrollbar { display: none; }
  .case-card {
    background: #fff; border-radius: 18px;
    border: 1px solid var(--bdr); overflow: hidden;
    scroll-snap-align: start;
    box-shadow: 0 4px 16px rgba(0,0,0,.05);
  }
  /* 3枚がきれいに収まるPC幅では均等3カラム＋枠を広げる */
  @media (min-width: 720px) {
    .case-track {
      grid-auto-columns: 1fr; overflow-x: visible;
      width: min(940px, 92vw);
      margin-left: 50%; transform: translateX(-50%);
      gap: 18px;
    }
  }
  .case-hint {
    display: none;
    text-align: center; font-size: .76rem; color: var(--txs);
    margin-top: 10px; letter-spacing: .02em;
  }
  @media (max-width: 719px) {
    .case-hint { display: block; }
  }

  /* 実績下CTA */
  .case-cta {
    margin-top: 20px;
    background: var(--org-l);
    border: 1px solid rgba(232,114,12,.22);
    border-radius: 18px;
    padding: 24px 22px;
    text-align: center;
  }
  .case-cta-lead { font-size: .82rem; font-weight: 800; color: var(--org); letter-spacing: .02em; margin-bottom: 8px; }
  .case-cta-main { font-size: clamp(.95rem, 3.6vw, 1.08rem); font-weight: 800; color: var(--navy); line-height: 1.75; margin-bottom: 18px; }
  .case-cta .tc-cta-btn { margin: 0 auto; max-width: 420px; }
  .case-cta-note { font-size: .76rem; color: var(--txs); margin-top: 10px; }
  .cc-head {
    background: linear-gradient(135deg, var(--navy), var(--blue));
    padding: 14px 20px;
    display: flex; align-items: center; gap: 12px;
  }
  .cc-ic { font-size: 1.6rem; }
  .cc-head h4 { color: #fff; font-size: .92rem; font-weight: 800; }
  .cc-body { padding: 18px 20px; }
  .cc-body p { font-size: .9rem; color: var(--txs); line-height: 1.85; margin-bottom: 12px; }
  .cc-result {
    background: var(--org-l); border-radius: 8px;
    padding: 8px 14px; font-size: .88rem;
    font-weight: 800; color: var(--org); margin-bottom: 12px;
  }
  .cc-quote {
    background: var(--bg); border-radius: 10px;
    border-left: 3px solid var(--bdr);
    padding: 12px 16px; font-size: .85rem;
    color: var(--txs); font-style: italic; line-height: 1.8;
  }
  .cc-quote cite { display: block; margin-top: 6px; font-style: normal; font-weight: 700; font-size: .8rem; }

  /* ── WHY FREE ── */
  .why-free {
    background: var(--navy); color: #fff;
    border-radius: 20px; padding: 0; margin: 20px 0;
    overflow: hidden;
  }
  .wf-summary {
    list-style: none; cursor: pointer;
    display: flex; align-items: center; justify-content: space-between; gap: 14px;
    padding: 22px 24px;
    color: var(--gold); font-size: 1rem; font-weight: 900; line-height: 1.5;
  }
  .wf-summary::-webkit-details-marker { display: none; }
  .wf-chev {
    flex-shrink: 0; font-size: 1.1rem; color: var(--gold);
    transition: transform .25s ease;
  }
  .why-free[open] .wf-chev { transform: rotate(180deg); }
  .why-free[open] .wf-summary { padding-bottom: 8px; }
  .wf-inner { padding: 0 24px 28px; }
  .why-free h3 { color: var(--gold); font-size: 1rem; font-weight: 900; margin-bottom: 10px; }

  /* 診断担当者ボックス（格納式） */
  .trust-summary {
    list-style: none; cursor: pointer;
    display: flex; align-items: center; justify-content: space-between; gap: 14px;
    padding: 22px 24px;
    font-size: 1rem; font-weight: 900; line-height: 1.5;
    color: var(--gold);
  }
  .trust-summary::-webkit-details-marker { display: none; }
  .trust-blk[open] .trust-summary {
    border-bottom: 1px solid rgba(255,255,255,.08);
  }
  .trust-blk[open] .wf-chev { transform: rotate(180deg); }
  .trust-inner { padding: 24px; }
  .why-free p  { font-size: .88rem; color: #9aadcc; line-height: 1.85; margin-bottom: 8px; }
  .why-free p:last-child { margin-bottom: 0; }
  .why-free .wf-em { color: #fff; font-weight: 700; }
  .why-item {
    display: flex; gap: 12px; margin-bottom: 14px;
    align-items: flex-start;
  }
  .wi-ic {
    width: 36px; height: 36px; border-radius: 10px;
    background: rgba(255,255,255,.1);
    display: flex; align-items: center; justify-content: center;
    font-size: 1.1rem; flex-shrink: 0;
  }
  .wi-body { flex: 1; }
  .wi-body strong { color: #fff; font-size: .9rem; display: block; margin-bottom: 4px; }
  .wi-body p { font-size: .85rem; color: #9aadcc; line-height: 1.7; margin: 0; }

  /* ── PRE-FORM CHIP SELECTOR ── */
  .pre-form {
    background: #fff; border-radius: 20px;
    border: 1px solid var(--bdr); padding: 28px 24px;
    box-shadow: 0 6px 32px rgba(0,0,0,.07);
    margin: 24px 0;
  }
  .pf-step { display: none; }
  .pf-step.active { display: block; }
  .pf-step-hd { display: flex; align-items: center; gap: 10px; margin-bottom: 16px; }
  .pf-num {
    width: 26px; height: 26px; border-radius: 50%;
    background: var(--org); color: #fff;
    font-size: .75rem; font-weight: 900;
    display: flex; align-items: center; justify-content: center; flex-shrink: 0;
  }
  .pf-q { font-size: 1rem; font-weight: 800; color: var(--navy); line-height: 1.45; }
  .pf-chips { display: flex; flex-wrap: wrap; gap: 8px; }
  .pf-chip {
    background: #f8f8f8; border: 1.5px solid var(--bdr);
    border-radius: 99px; padding: 9px 18px;
    font-size: .88rem; font-family: inherit;
    cursor: pointer; transition: all .2s;
    color: var(--tx); font-weight: 500; white-space: nowrap;
  }
  .pf-chip:hover { border-color: var(--org); background: var(--org-l); color: var(--org); }
  .pf-chip.sel { border-color: var(--org); background: var(--org); color: #fff; font-weight: 700; }
  .pf-progress { height: 3px; background: var(--bdr); border-radius: 99px; margin-bottom: 22px; overflow: hidden; }
  .pf-progress-fill {
    height: 100%; border-radius: 99px;
    background: linear-gradient(90deg, var(--org), var(--org2));
    transition: width .4s ease;
  }
  .pf-lead { text-align: center; font-size: .82rem; color: var(--txs); margin-bottom: 20px; }

  /* ── FORM ── */
  #form-section {
    display: none; opacity: 0; transform: translateY(20px);
    transition: opacity .5s ease, transform .5s ease;
    background: #fff; border-radius: 24px;
    border: 1px solid var(--bdr);
    padding: 32px 24px; margin: 32px 0;
    box-shadow: 0 8px 40px rgba(0,0,0,.08);
    border-top: 4px solid var(--org);
  }
  #form-section.visible { display: block; }
  #form-section.show { opacity: 1; transform: translateY(0); }
  .fs-header { text-align: center; margin-bottom: 24px; }
  .fs-header h2 { font-size: 1.2rem; font-weight: 900; color: var(--navy); margin-bottom: 8px; }
  .fs-header p  { font-size: .88rem; color: var(--txs); }
  .form-notes {
    background: var(--org-l); border-radius: 12px;
    padding: 14px 18px; margin-bottom: 22px;
  }
  .form-notes li {
    list-style: none; font-size: .82rem; color: var(--tx);
    padding: 3px 0; padding-left: 20px; position: relative;
  }
  .form-notes li::before { content: '✅'; position: absolute; left: 0; }
  .form-group { margin-bottom: 16px; }
  .form-group label {
    display: block; font-size: .85rem; font-weight: 700;
    color: var(--navy); margin-bottom: 6px;
  }
  .form-group label .req {
    background: var(--org); color: #fff;
    font-size: .65rem; font-weight: 800;
    padding: 2px 7px; border-radius: 4px; margin-left: 6px;
  }
  .form-group input {
    width: 100%; padding: 12px 16px;
    border: 1.5px solid var(--bdr); border-radius: 10px;
    font-family: inherit; font-size: .93rem; color: var(--tx);
    background: var(--bg);
    transition: border-color .2s, box-shadow .2s;
  }
  .form-group input:focus {
    outline: none; border-color: var(--org);
    box-shadow: 0 0 0 3px rgba(232,114,12,.12);
  }
  .btn-submit {
    width: 100%;
    background: linear-gradient(135deg, var(--org), var(--org2));
    color: #fff; font-size: 1.05rem; font-weight: 900;
    padding: 16px 32px; border-radius: 99px; border: none;
    cursor: pointer; letter-spacing: .05em;
    box-shadow: 0 8px 28px rgba(232,114,12,.35);
    transition: transform .2s, box-shadow .2s;
    margin-top: 8px;
  }
  .btn-submit:hover { transform: translateY(-2px); box-shadow: 0 12px 36px rgba(232,114,12,.45); }

  /* ── MW WP Form が生成するボタン（[mwform_submit]）の見た目を .btn-submit に揃える ── */
  #mw_wp_form_mw-wp-form-144 input[type="submit"],
  #mw_wp_form_mw-wp-form-144 button[type="submit"] {
    width: 100%;
    background: linear-gradient(135deg, var(--org), var(--org2));
    color: #fff; font-size: 1.05rem; font-weight: 900;
    padding: 16px 32px; border-radius: 99px; border: none;
    cursor: pointer; letter-spacing: .05em;
    box-shadow: 0 8px 28px rgba(232,114,12,.35);
    transition: transform .2s, box-shadow .2s;
    margin-top: 8px;
  }
  #mw_wp_form_mw-wp-form-144 input[type="submit"]:hover,
  #mw_wp_form_mw-wp-form-144 button[type="submit"]:hover {
    transform: translateY(-2px); box-shadow: 0 12px 36px rgba(232,114,12,.45);
  }
  /* 「← 内容を修正」（戻る）ボタンは控えめなサブスタイル */
  #mw_wp_form_mw-wp-form-144 input[name="submitBack"] {
    background: #fff; color: var(--navy);
    border: 1.5px solid var(--bdr); box-shadow: none;
    margin-bottom: 4px;
  }
  #mw_wp_form_mw-wp-form-144 input[name="submitBack"]:hover {
    transform: none; box-shadow: none; border-color: var(--org); color: var(--org);
  }
  /* 確認画面：入力値の表示を読みやすく */
  .mw_wp_form_confirm .form-group { margin-bottom: 14px; }
  .mw_wp_form_confirm .form-group .mwform-tel-field span,
  .mw_wp_form_confirm .form-group { font-weight: 600; color: var(--tx); }

  .form-thanks {
    display: none; text-align: center; padding: 20px;
  }
  .form-thanks .ft-ic { font-size: 3rem; margin-bottom: 12px; }
  .form-thanks h3 { font-size: 1.1rem; font-weight: 900; color: var(--navy); margin-bottom: 8px; }
  .form-thanks p { font-size: .9rem; color: var(--txs); }

  /* ── MID CTA ── */
  .mid-cta {
    text-align: center;
    background: linear-gradient(135deg, #fff8f0, var(--org-l));
    border: 2px solid var(--org);
    border-radius: 18px;
    padding: 28px 20px 24px;
    margin: 24px 0;
  }
  .mid-cta-lead { font-size: .82rem; font-weight: 700; color: var(--txs); margin-bottom: 14px; }
  .btn-mid-cta {
    display: inline-block; width: 100%;
    padding: 18px 24px;
    background: linear-gradient(135deg, var(--org), var(--org2));
    color: #fff; font-size: 1.05rem; font-weight: 900;
    border: none; border-radius: 12px; cursor: pointer;
    letter-spacing: .04em;
    box-shadow: 0 8px 28px rgba(232,114,12,.35);
    animation: ctaPulse 2.2s ease-in-out infinite;
    transition: transform .2s, box-shadow .2s;
  }
  .btn-mid-cta:hover { animation: none; transform: translateY(-2px); box-shadow: 0 12px 36px rgba(232,114,12,.45); }
  @keyframes ctaPulse {
    0%,100% { box-shadow: 0 6px 28px rgba(232,114,12,.4); transform: translateY(0); }
    50%      { box-shadow: 0 10px 40px rgba(232,114,12,.6); transform: translateY(-2px); }
  }
  .mid-cta-sub { font-size: .78rem; color: var(--txs); margin-top: 14px; }

  /* ── BRIDGE BAND ── */
  .bridge-band {
    background: linear-gradient(135deg, #fff8f0 0%, #fffbf5 100%);
    border-top: 3px solid var(--org); border-bottom: 3px solid var(--org);
    padding: 32px 20px; text-align: center; margin: 28px 0;
    position: relative; overflow: hidden;
  }
  .bridge-band::before {
    content: '';
    position: absolute; inset: 0;
    background-image: radial-gradient(circle, rgba(232,114,12,.04) 1px, transparent 1px);
    background-size: 20px 20px;
  }
  .bridge-band > * { position: relative; z-index: 1; }
  .bb-tag {
    display: inline-block;
    background: var(--org); color: #fff;
    font-size: .7rem; font-weight: 800; letter-spacing: .12em;
    padding: 4px 16px; border-radius: 99px; margin-bottom: 14px;
  }
  .bb-title {
    font-size: clamp(1rem, 3.5vw, 1.2rem);
    font-weight: 900; color: var(--navy);
    line-height: 1.6; margin-bottom: 10px;
  }
  .bb-body { font-size: .9rem; color: var(--txs); line-height: 1.85; margin-bottom: 14px; }
  .bb-body em { color: var(--org); font-style: normal; font-weight: 700; }
  .bb-limit {
    display: inline-flex; align-items: center; gap: 10px;
    background: #fff; border: 2px solid var(--org);
    border-radius: 10px; padding: 8px 18px;
    font-size: .82rem; font-weight: 800; color: var(--org);
    box-shadow: 0 2px 12px rgba(232,114,12,.15);
  }
  .bbl-item { white-space: nowrap; }
  @media (max-width: 480px) {
    .bb-limit { flex-direction: column; gap: 4px; padding: 10px 16px; }
    .bbl-sep { display: none; }
  }

  /* ── FOOTER ── */
  footer {
    background: var(--dk); color: rgba(255,255,255,.5);
    padding: 28px 20px; text-align: center;
    font-size: .78rem; line-height: 1.9;
  }
  footer a { color: rgba(255,255,255,.5); text-decoration: none; }

  /* ── PROGRESS BAR ── */
  #progress-bar {
    position: fixed; top: 52px; left: 0; right: 0;
    height: 3px; background: rgba(255,255,255,.1); z-index: 200;
  }
  #progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--org), var(--gold));
    width: 0%; transition: width .5s ease;
  }

  /* ── DIVIDER ── */
  .divider { border: none; border-top: 1px solid var(--bdr); margin: 16px 0; }

  /* ── DIAGNOSIS ANIMATION ── */
  .diag-loading {
    text-align: center; padding: 48px 24px;
    display: none;
  }
  .diag-loading.on { display: block; }
  .diag-dots {
    display: flex; justify-content: center; gap: 8px; margin-bottom: 20px;
  }
  .diag-dots span {
    width: 12px; height: 12px; border-radius: 50%;
    background: var(--org); opacity: 0.3;
    animation: diagPulse 1.2s ease-in-out infinite;
  }
  .diag-dots span:nth-child(2) { animation-delay: .2s; }
  .diag-dots span:nth-child(3) { animation-delay: .4s; }
  @keyframes diagPulse {
    0%,100% { opacity: 0.3; transform: scale(1); }
    50%      { opacity: 1;   transform: scale(1.3); }
  }
  .diag-loading p { font-size: .95rem; color: var(--txs); font-weight: 700; }

  @keyframes cfFall {
    to { transform: translateY(110vh) rotate(600deg); opacity: 0; }
  }

  @media (max-width: 480px) {
    .hero-title { font-size: clamp(1.4rem, 7vw, 1.9rem); }
    #form-section { padding: 24px 18px; }
    .hc-badges { grid-template-columns: 1fr 1fr; }
    .hc-badges .hc-badge:last-child { grid-column: 1 / -1; }
    .hero-card { padding: 40px 5vw 34px; }
    .br-mb { display: inline; }
  }
    /* ════════════════════════════════════════════════════════
       🎨 THEME VARIATIONS  (A=オリジナル / B=和モダン / C=ミニマル)
       ════════════════════════════════════════════════════════ */

    /* ── Variation B: 和モダン (朱・墨・生成り + 明朝) ── */
    body.theme-wa {
      --org:   #b94436;
      --org2:  #d35a4a;
      --org-l: #fbeee8;
      --navy:  #2b2622;
      --blue:  #3d3530;
      --gold:  #b08842;
      --glt:   #c9a25c;
      --bg:    #f7f1e3;
      --bdr:   #e8d8bf;
      --card:  #fffdf7;
      --tx:    #1f1a16;
      --txs:   #6f6357;
      --dk:    #1c1714;
      font-family: 'Noto Serif JP','Hiragino Mincho ProN','Yu Mincho',serif;
    }
    body.theme-wa h1, body.theme-wa h2, body.theme-wa h3, body.theme-wa h4,
    body.theme-wa .hero-title, body.theme-wa .sh-title, body.theme-wa .bb-title,
    body.theme-wa .q-text, body.theme-wa .form-card h2, body.theme-wa .cta-box h2,
    body.theme-wa .trust-name, body.theme-wa .wf-title, body.theme-wa .wf-closer {
      font-family: 'Noto Serif JP','Hiragino Mincho ProN','Yu Mincho',serif;
      letter-spacing: .02em;
    }
    body.theme-wa #hero { background: #1c1714; }
    body.theme-wa .hero-bg-wrap::after {
      background: linear-gradient(135deg, rgba(28,23,20,.85) 0%, rgba(40,30,24,.74) 100%);
    }
    body.theme-wa .btn-start,
    body.theme-wa .btn-cta,
    body.theme-wa .btn-submit,
    body.theme-wa .btn-mid-cta {
      background: linear-gradient(135deg, #b94436, #d35a4a);
      border-radius: 4px;
    }
    body.theme-wa .q-btn,
    body.theme-wa .lesson,
    body.theme-wa .case,
    body.theme-wa .form-card,
    body.theme-wa .why-free,
    body.theme-wa .trust-blk,
    body.theme-wa .cta-box,
    body.theme-wa .mid-cta,
    body.theme-wa .pre-form,
    body.theme-wa .q-card,
    body.theme-wa .result-card,
    body.theme-wa .story-setup,
    body.theme-wa .bridge-band {
      border-radius: 6px !important;
    }
    body.theme-wa .btn-cont,
    body.theme-wa .btn-next {
      border-radius: 4px;
      background: linear-gradient(135deg, #2b2622, #3d3530);
    }

    /* ── Variation C: モダンミニマル (黒×青アクセント・フラット) ── */
    body.theme-min {
      --org:   #1d4ed8;
      --org2:  #2563eb;
      --org-l: #eff4ff;
      --navy:  #0a0a0a;
      --blue:  #1f2937;
      --gold:  #0a0a0a;
      --glt:   #404040;
      --green: #059669;
      --grn-l: #ecfdf5;
      --bg:    #ffffff;
      --bdr:   #e5e7eb;
      --card:  #ffffff;
      --tx:    #0a0a0a;
      --txs:   #6b7280;
      --dk:    #0a0a0a;
      font-family: 'Inter','Noto Sans JP','Hiragino Kaku Gothic ProN',sans-serif;
      letter-spacing: -.005em;
    }
    body.theme-min .q-card,
    body.theme-min .lesson,
    body.theme-min .case,
    body.theme-min .form-card,
    body.theme-min .why-free,
    body.theme-min .trust-blk,
    body.theme-min .cta-box,
    body.theme-min .mid-cta,
    body.theme-min .pre-form,
    body.theme-min .story-setup,
    body.theme-min .bridge-band,
    body.theme-min .result-card,
    body.theme-min .btn-start,
    body.theme-min .btn-cta,
    body.theme-min .btn-submit,
    body.theme-min .btn-mid-cta,
    body.theme-min .btn-cont,
    body.theme-min .btn-next,
    body.theme-min .q-btn {
      box-shadow: none !important;
      border-radius: 8px !important;
    }
    body.theme-min .btn-cta,
    body.theme-min .btn-start,
    body.theme-min .btn-submit,
    body.theme-min .btn-mid-cta,
    body.theme-min .btn-cont,
    body.theme-min .btn-next {
      background: #0a0a0a !important;
      animation: none !important;
    }
    body.theme-min .btn-cta:hover,
    body.theme-min .btn-start:hover,
    body.theme-min .btn-submit:hover,
    body.theme-min .btn-mid-cta:hover { background: #1d4ed8 !important; }
    body.theme-min #hero { background: #fafafa; }
    body.theme-min .hero-bg-wrap { opacity: .35; }
    body.theme-min .hero-bg-wrap::after {
      background: linear-gradient(180deg, rgba(255,255,255,.5) 0%, rgba(250,250,250,.85) 100%);
    }
    body.theme-min .hero-title,
    body.theme-min .hero-pain,
    body.theme-min .hero-benefit,
    body.theme-min .hero-stat-line { color: #0a0a0a; }
    body.theme-min .hero-pain,
    body.theme-min .hero-benefit { color: #404040; }
    body.theme-min .cta-box { background: #fafafa !important; border: 1px solid #e5e7eb !important; }
    body.theme-min .cta-box::before { display: none; }
    body.theme-min .bridge-band {
      background: #fafafa !important;
      border-top: 1px solid #e5e7eb !important;
      border-bottom: 1px solid #e5e7eb !important;
    }

    /* ════════════════════════════════════════════════════════
       🎛 THEME SWITCHER PANEL (右下フローティング)
       ════════════════════════════════════════════════════════ */
    #theme-switcher {
      position: fixed; right: 14px; bottom: 14px; z-index: 9000;
      background: rgba(20,22,30,.96);
      backdrop-filter: blur(14px);
      border-radius: 14px;
      padding: 10px;
      box-shadow: 0 12px 40px rgba(0,0,0,.4), 0 0 0 1px rgba(255,255,255,.08) inset;
      display: flex; gap: 6px; align-items: center;
      font-family: -apple-system,'Helvetica Neue',Arial,sans-serif;
    }
    #theme-switcher .ts-label {
      font-size: .62rem; font-weight: 700; letter-spacing: .14em;
      color: rgba(255,255,255,.55); padding: 0 8px 0 4px;
      text-transform: uppercase; user-select: none;
    }
    #theme-switcher button.ts-btn {
      appearance: none; border: none; cursor: pointer;
      background: rgba(255,255,255,.08);
      color: rgba(255,255,255,.7);
      font-size: .78rem; font-weight: 700;
      padding: 9px 14px; border-radius: 9px;
      font-family: inherit; line-height: 1.1;
      transition: all .18s ease;
      white-space: nowrap;
    }
    #theme-switcher button.ts-btn:hover {
      background: rgba(255,255,255,.14); color: #fff;
    }
    #theme-switcher button.ts-btn.active {
      background: #fff; color: #14161e;
      box-shadow: 0 2px 12px rgba(255,255,255,.25);
    }
    #theme-switcher .ts-dot {
      display: inline-block; width: 8px; height: 8px;
      border-radius: 50%; margin-right: 6px; vertical-align: middle;
      box-shadow: inset 0 0 0 1px rgba(0,0,0,.18);
    }
    #theme-switcher .ts-dot.a { background: #e8720c; }
    #theme-switcher .ts-dot.b { background: #b94436; }
    #theme-switcher .ts-dot.c { background: #1d4ed8; }

    @media (max-width: 520px) {
      #theme-switcher { right: 8px; bottom: 8px; padding: 7px; gap: 4px; border-radius: 12px; }
      #theme-switcher .ts-label { display: none; }
      #theme-switcher button.ts-btn { padding: 8px 11px; font-size: .72rem; }
    }

    /* ════════════════════════════════════════════════════════
       ✒️ 中央寄せコンテンツの改行最適化
       ── 文末区切りの <br> は残しつつ、二次折返しを均等化 ──
       ════════════════════════════════════════════════════════ */
    .hero-desc, .hi-lead, .hi-body, .hi-bridge,
    .bb-title, .bb-body, .empathy-bridge p,
    .sh-title, .insight-block h2, .cta-box h2,
    .form-card h2, .form-card .fc-sub, .wf-em {
      text-wrap: balance;
      line-break: strict;
      word-break: normal;
    }
    /* 中央寄せ見出しは行頭・行末を整える */
    .bb-title, .sh-title, .insight-block h2,
    .cta-box h2, .form-card h2 {
      text-wrap: balance;
    }

  /* ════════ 流行りモノ依存型 インフォグラフィック ════════ */
  .ig-host { background: transparent !important; border: none !important; padding: 0 !important; }
  .ig-wrap {
    --ig-navy:#1a2f5e; --ig-blue:#2d6bff; --ig-yellow:#f5c842;
    --ig-red:#e84040; --ig-beige:#f8f5ef; --ig-flow:#e8f4ff; --ig-pink:#fff0f0;
    font-family: 'Noto Sans JP', sans-serif;
    max-width: 480px; margin: 0 auto;
    background: var(--ig-beige);
    border-radius: 18px;
    padding: 18px 16px 20px;
    color: var(--ig-navy);
  }
  .ig-wrap * { box-sizing: border-box; }

  /* 1. ヘッダー */
  .ig-header { display: flex; align-items: center; justify-content: center; gap: 12px; margin-bottom: 16px; }
  .ig-h-ttl { font-size: 23px; font-weight: 900; color: var(--ig-navy); letter-spacing: .01em; }
  .ig-h-deco { position: relative; width: 26px; height: 22px; flex-shrink: 0; }
  .ig-h-deco::before, .ig-h-deco::after {
    content: ''; position: absolute; right: 0; width: 18px; height: 3px;
    background: var(--ig-yellow); border-radius: 3px;
  }
  .ig-h-deco::before { top: 3px; transform: rotate(28deg); }
  .ig-h-deco::after  { bottom: 3px; transform: rotate(-28deg); }
  .ig-h-deco.l { transform: scaleX(-1); }

  /* カード共通 */
  .ig-card { background: #fff; border-radius: 16px; box-shadow: 0 4px 18px rgba(26,47,94,.07); }

  /* 2. メインカード */
  .ig-main { display: grid; grid-template-columns: 1.08fr .92fr; gap: 8px; padding: 18px 16px; overflow: hidden; }
  .ig-badge {
    display: inline-block; background: var(--ig-navy); color: #fff;
    font-size: 12px; font-weight: 700; padding: 6px 14px; border-radius: 8px; margin-bottom: 12px;
  }
  .ig-catch { font-size: 21px; font-weight: 900; line-height: 1.34; color: var(--ig-navy); letter-spacing: -.02em; }
  .ig-catch span { display: block; white-space: nowrap; }
  .ig-underline { display: block; width: 60px; height: 4px; border-radius: 4px; background: #f06a1e; margin: 12px 0 14px; }
  .ig-desc { font-size: 13px; font-weight: 400; line-height: 1.9; color: #41506e; }

  .ig-main-right { display: flex; align-items: center; justify-content: center; }
  .ig-hero-img { display: block; width: 100%; height: auto; }

  /* 3. ポジティブ */
  .ig-positive { display: flex; align-items: center; gap: 14px; background: var(--ig-flow); padding: 16px 18px; margin-top: 14px; }
  .ig-thumb { flex-shrink: 0; width: 44px; height: 44px; display: flex; align-items: center; justify-content: center; }
  .ig-thumb img { width: 100%; height: 100%; object-fit: contain; }
  .ig-positive-tx { font-size: 13.5px; font-weight: 400; line-height: 1.75; color: #2c3b5a; }
  .ig-positive-tx strong { color: var(--ig-blue); font-weight: 700; }

  /* 4. フロー */
  .ig-flow { background: #fff; border-radius: 16px; box-shadow: 0 4px 18px rgba(26,47,94,.07); padding: 16px 14px 18px; margin-top: 14px; }
  .ig-flow-lbl-row { text-align: center; margin-bottom: 16px; }
  .ig-flow-lbl { display: inline-block; background: var(--ig-navy); color: #fff; font-size: 13px; font-weight: 700; padding: 6px 20px; border-radius: 8px; }
  .ig-steps { display: grid; grid-template-columns: repeat(4, 1fr); align-items: stretch; gap: 8px; }
  .ig-step { background: #fff; border: 1px solid #e6ebf3; border-radius: 12px; padding: 14px 4px 12px; box-shadow: 0 2px 8px rgba(26,47,94,.05); text-align: center; }
  .ig-step-ic { position: relative; width: 42px; height: 42px; margin: 0 auto 8px; display: flex; align-items: center; justify-content: center; }
  .ig-step-ic img { max-width: 100%; max-height: 100%; object-fit: contain; }
  .ig-step p { font-size: 11.5px; font-weight: 700; line-height: 1.5; color: var(--ig-navy); }

  /* 5. 結果 */
  .ig-result { display: flex; align-items: center; gap: 8px; background: var(--ig-pink); padding: 18px 18px; margin-top: 14px; }
  .ig-result-tx { flex: 1; }
  .ig-result-badge { display: inline-block; background: var(--ig-red); color: #fff; font-size: 11.5px; font-weight: 700; padding: 4px 13px; border-radius: 7px; margin-bottom: 12px; }
  .ig-result-main { font-size: 20px; font-weight: 900; line-height: 1.4; color: var(--ig-navy); }
  .ig-result-main .ig-red { color: var(--ig-red); }
  .ig-collapse { width: 116px; flex-shrink: 0; display: flex; align-items: flex-end; justify-content: center; }
  .ig-collapse img { width: 100%; height: auto; object-fit: contain; }

  /* 6. ソリューション */
  .ig-solution { background: var(--ig-navy); color: #fff; padding: 22px 18px; margin-top: 14px; }
  .ig-sol-head { display: flex; align-items: center; gap: 12px; padding-bottom: 16px; border-bottom: 1px solid rgba(255,255,255,.12); margin-bottom: 14px; }
  .ig-bulb { flex-shrink: 0; width: 42px; height: 42px; border-radius: 50%; background: rgba(245,200,66,.16); display: flex; align-items: center; justify-content: center; }
  .ig-bulb svg { width: 24px; height: 24px; }
  .ig-sol-pre { font-size: 15px; font-weight: 700; color: #fff; line-height: 1.4; }
  .ig-sol-ttl { font-size: 22px; font-weight: 900; line-height: 1.3; color: #fff; }
  .ig-sol-ttl .ig-yellow { color: var(--ig-yellow); }
  .ig-sol-desc { font-size: 12px; font-weight: 400; line-height: 1.7; color: #c5d0e6; margin-bottom: 14px; }
  .ig-sol-items { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
  .ig-sol-item { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1); border-radius: 10px; padding: 12px 6px; display: flex; align-items: center; gap: 8px; }
  .ig-sol-item img { width: 30px; height: 30px; object-fit: contain; flex-shrink: 0; border-radius: 6px; }
  .ig-sol-item p { font-size: 11px; font-weight: 700; line-height: 1.35; color: #fff; }

  /* 7. フッター */
  .ig-footer { display: flex; align-items: flex-start; gap: 12px; padding: 16px 8px 4px; }
  .ig-shield { flex-shrink: 0; width: 30px; height: 30px; }
  .ig-shield svg { width: 100%; height: 100%; }
  .ig-footer-tx { font-size: 12px; font-weight: 400; line-height: 1.75; color: #41506e; }
  .ig-footer-tx .ig-orange { color: #f06a1e; font-weight: 700; }
  .ig-footer-tx .ig-fkey { font-weight: 700; }
  .ig-a .ig-footer-tx .ig-fkey { color: #e8720c; }
  .ig-c .ig-footer-tx .ig-fkey { color: #2e7d47; }
  .ig-d .ig-footer-tx .ig-fkey { color: #6d3bd4; }
  .ig-a .ig-shield { color: #e8720c; }
  .ig-c .ig-shield { color: #2e7d47; }
  .ig-d .ig-shield { color: #6d3bd4; }
  .ig-fshield path:first-child { fill: currentColor; }

  /* ── 広告頼み型バリアント（紫アクセント） ── */
  .ig-d .ig-badge {
    display: inline-flex; align-items: center; gap: 7px;
    background: linear-gradient(135deg, #8b5cf6, #6d3bd4);
    padding: 7px 16px 7px 10px;
  }
  .ig-d .ig-badge-ic { width: 20px; height: 20px; object-fit: contain; }
  .ig-d .ig-positive { background: #f3eefc; }
  .ig-d .ig-positive-tx strong { color: var(--ig-navy); font-weight: 700; }
  .ig-hl-y { background: linear-gradient(transparent 58%, #ffe48a 58%); padding: 0 1px; }
  .ig-d .ig-solution { background: linear-gradient(160deg, #6d3bd4 0%, #5a2fb8 100%); }
  .ig-d .ig-bulb { background: transparent; }
  .ig-d .ig-bulb img { width: 100%; height: 100%; object-fit: contain; }
  .ig-sol-headtx { flex: 1; }
  .ig-sol-fig { width: 96px; height: auto; object-fit: contain; align-self: flex-end; margin: -6px -4px -12px 0; flex-shrink: 0; }

  /* ── 値下げ頼み型バリアント（オレンジアクセント） ── */
  .ig-a .ig-badge {
    display: inline-flex; align-items: center; gap: 7px;
    background: linear-gradient(135deg, #f5961f, #e8720c);
    padding: 7px 16px 7px 10px;
  }
  .ig-a .ig-badge-ic { width: 20px; height: 20px; object-fit: contain; }
  .ig-a .ig-positive { background: #fff3e6; }
  .ig-a .ig-positive-tx strong { color: var(--ig-navy); font-weight: 700; }
  .ig-a .ig-solution { background: linear-gradient(160deg, #e8720c 0%, #c85d08 100%); }
  .ig-a .ig-bulb { background: transparent; }
  .ig-a .ig-bulb img { width: 100%; height: 100%; object-fit: contain; }

  /* ── 伝わらない名店型バリアント（グリーンアクセント） ── */
  .ig-c .ig-badge {
    display: inline-flex; align-items: center; gap: 7px;
    background: linear-gradient(135deg, #3ba05f, #2c7d47);
    padding: 7px 16px 7px 10px;
  }
  .ig-c .ig-badge-ic { width: 20px; height: 20px; object-fit: contain; }
  .ig-c .ig-positive { background: #eef6ef; }
  .ig-c .ig-positive-tx strong { color: var(--ig-navy); font-weight: 700; }
  .ig-c .ig-solution { background: linear-gradient(160deg, #2e6e43 0%, #235636 100%); }
  .ig-c .ig-bulb { background: transparent; }
  .ig-c .ig-bulb img { width: 100%; height: 100%; object-fit: contain; }

  @media (max-width: 430px) {
    .ig-main { grid-template-columns: 1fr; gap: 4px; }
    .ig-main-left { text-align: center; }
    .ig-badge { margin-bottom: 14px; }
    .ig-catch { font-size: 24px; }
    .ig-catch span { white-space: normal; }
    .ig-underline { margin: 14px auto 14px; }
    .ig-desc { font-size: 13.5px; text-align: left; }
    .ig-main-right { margin-top: 6px; max-width: 300px; margin-left: auto; margin-right: auto; }
    .ig-result { flex-direction: column-reverse; text-align: center; gap: 10px; }
    .ig-collapse { width: 150px; }
    .ig-result-tx { width: 100%; }
    .ig-result-main { font-size: 21px; }
    .ig-sol-items { grid-template-columns: 1fr; }
    .ig-sol-item { justify-content: flex-start; padding: 12px 14px; }
    .ig-sol-fig { width: 76px; }
  }

  /* PC: もう少し幅広め */
  @media (min-width: 600px) {
    .ig-wrap { max-width: 620px; padding: 26px 28px 28px; }
    .ig-h-ttl { font-size: 27px; }
    .ig-main { grid-template-columns: 1.1fr .9fr; gap: 18px; padding: 26px 26px; }
    .ig-sol-fig { width: 124px; }
    .ig-catch { font-size: 26px; }
    .ig-desc { font-size: 14px; }
    .ig-badge { font-size: 13px; }
    .ig-positive-tx { font-size: 15px; }
    .ig-step p { font-size: 13px; }
    .ig-step-ic { width: 48px; height: 48px; }
    .ig-result-main { font-size: 24px; }
    .ig-collapse { width: 140px; }
    .ig-sol-pre { font-size: 16px; }
    .ig-sol-ttl { font-size: 25px; }
    .ig-sol-desc { font-size: 13.5px; }
    .ig-sol-item p { font-size: 12.5px; }
    .ig-footer-tx { font-size: 13.5px; }
  }

  /* ════════════════════════════════════════════════════════
     サブページ（確認画面 / その他固定ページ）— フォームだけのクリーン表示
     ════════════════════════════════════════════════════════ */
  .subpage-main {
    min-height: 100vh;
    display: flex; align-items: flex-start; justify-content: center;
    padding: 96px 20px 56px;
  }
  .subpage-main .wrap { width: 100%; }
  #form-section.subpage-card {
    margin: 0 auto;
    opacity: 1 !important; transform: none !important;
  }
  .subpage-card .fs-form-content { font-size: .92rem; color: var(--tx); line-height: 1.9; }

  /* ════════════════════════════════════════════════════════
     送信完了ページ (page-thanks.php)
     ════════════════════════════════════════════════════════ */
  body.thanks-page { display: flex; flex-direction: column; min-height: 100vh; background: var(--bg, #fbf8f4); }
  .thanks-page #topbar { justify-content: center; }
  .thanks-main {
    flex: 1; display: flex; align-items: center; justify-content: center;
    padding: 56px 20px;
  }
  .thanks-card {
    width: 100%; max-width: 540px;
    background: #fff; border-radius: 20px; border-top: 5px solid var(--org);
    box-shadow: 0 24px 60px rgba(26,39,68,.12);
    padding: 52px 40px 44px; text-align: center;
  }
  .thanks-check {
    width: 92px; height: 92px; margin: 0 auto 26px; border-radius: 50%;
    background: linear-gradient(135deg, var(--org), var(--org2));
    display: flex; align-items: center; justify-content: center;
    box-shadow: 0 12px 30px rgba(232,114,12,.35);
    animation: thx-pop .5s cubic-bezier(.2,.8,.3,1.2) both;
  }
  .thanks-check svg { width: 46px; height: 46px; }
  .thanks-check svg path { stroke-dasharray: 40; stroke-dashoffset: 40; animation: thx-draw .5s ease .35s forwards; }
  @keyframes thx-pop { from { transform: scale(.4); opacity: 0; } to { transform: scale(1); opacity: 1; } }
  @keyframes thx-draw { to { stroke-dashoffset: 0; } }
  @media (prefers-reduced-motion: reduce) {
    .thanks-check { animation: none; }
    .thanks-check svg path { stroke-dashoffset: 0; animation: none; }
  }
  .thanks-eyebrow {
    display: inline-block; font-size: .74rem; font-weight: 800; letter-spacing: .08em;
    color: var(--org); background: var(--org-l); padding: 5px 14px; border-radius: 999px; margin-bottom: 16px;
  }
  .thanks-title { font-size: 1.5rem; font-weight: 900; color: var(--navy); line-height: 1.5; margin-bottom: 16px; letter-spacing: .01em; }
  .thanks-lead { font-size: .95rem; line-height: 1.95; color: var(--tx); margin-bottom: 28px; }
  .thanks-lead strong { color: var(--org); font-weight: 700; }
  .thanks-steps { text-align: left; background: var(--bg, #fbf8f4); border: 1px solid var(--line, #eceef3); border-radius: 14px; padding: 22px 22px 20px; margin-bottom: 26px; }
  .thanks-steps-ttl { font-size: .8rem; font-weight: 800; color: var(--navy); letter-spacing: .04em; margin-bottom: 14px; display: flex; align-items: center; gap: 7px; }
  .thanks-steps-ttl::before { content: ""; width: 16px; height: 2px; background: var(--org); border-radius: 2px; }
  .thanks-steps ol { list-style: none; counter-reset: st; display: flex; flex-direction: column; gap: 14px; margin: 0; padding: 0; }
  .thanks-steps li { counter-increment: st; display: flex; gap: 12px; align-items: flex-start; font-size: .88rem; line-height: 1.7; color: var(--tx); }
  .thanks-steps li::before {
    content: counter(st); flex-shrink: 0; width: 24px; height: 24px; border-radius: 50%;
    background: var(--org); color: #fff; font-size: .78rem; font-weight: 800;
    display: flex; align-items: center; justify-content: center; margin-top: 1px;
  }
  .thanks-steps li strong { color: var(--navy); font-weight: 700; }
  .thanks-note { font-size: .8rem; color: var(--txs); line-height: 1.7; margin-bottom: 28px; }
  .thanks-btn {
    display: inline-flex; align-items: center; gap: 8px;
    background: var(--navy); color: #fff; font-family: inherit; font-size: .95rem; font-weight: 800;
    text-decoration: none; padding: 15px 34px; border-radius: 999px;
    transition: transform .15s ease, box-shadow .15s ease; box-shadow: 0 8px 24px rgba(26,39,68,.22);
  }
  .thanks-btn:hover { transform: translateY(-2px); box-shadow: 0 12px 30px rgba(26,39,68,.3); }
  @media (max-width: 480px) {
    .thanks-main { padding: 36px 16px; }
    .thanks-card { padding: 40px 22px 34px; border-radius: 16px; }
    .thanks-title { font-size: 1.28rem; }
    .thanks-check { width: 80px; height: 80px; }
    .thanks-check svg { width: 40px; height: 40px; }
  }
