/* =========================================================
   LP改善案（v3）で足した部分：FV（SEC1）・問題提起（SEC2）・4象限（SEC3）・生きた教材（SEC4）
   運営会社（SEC6）・料金プラン（SEC7）・ご購入の流れ（2通り）
   色は style.css の変数（--dark・--deep 深緑、--mid 緑、--acid 黄緑）。配色は今の育成baseのまま
   ========================================================= */
/* 言葉の途中で改行しない（オプカンLPと同じ仕組み：assets/js/jp-wrap.js が折ってよい所に wbr を入れる。どうしても入りきらない時だけ途中で折る） */
.jp-keep body { word-break: keep-all; overflow-wrap: anywhere; line-break: strict; }
.jp-keep h1, .jp-keep h2, .jp-keep h3 { word-break: keep-all; }
@media (max-width: 760px) { jp-cl { display: inline-block; max-width: 100%; } }
.jp-solid { overflow-wrap: normal; }
jp-nb { white-space: nowrap; }
/* 長い本文（.jp-free）は区切りで折らず、ふつうに行いっぱいまで流す（2026-11-25 ユーザー「改行きにしなくていい」） */
.jp-keep .jp-free { word-break: normal; overflow-wrap: anywhere; line-break: strict; }

:root { --cta: var(--mid); }

/* ---------- 一番上のモーションの帯（横いっぱい・高さ500px。絵が主役：明るい地に横長の絵、文字は左に小さく。assets/js/kv-stage.js） ---------- */
.hero2 { background: #fff; }  /* 帯と見出し・ボタンは1枚の白い面（境目の線・地の色の切り替えなし） */
/* 背景色あり（2026-11-25 ユーザー「背景色を入れる」。build_top.py の HERO_TINT）：帯と見出し・ボタンをまとめて薄いグレー1枚。
   帯の絵・写真は、全部同じ白い枠（角丸・影）に入れる（ユーザー「画像の所だけ枠いれるなら、ぜんぶいれたら？」）。
   地と同じ色になる所（棒の下地・札・線の下地）は白か少し濃い色に */
.hero2--tint { background: var(--pale); }
.hero2--tint .mg-pic { background: #fff; border-radius: 4px; box-shadow: 0 24px 50px -30px rgba(4, 36, 26, .45); }
.hero2--tint .mg-bars i { background: #dde6e0; }
.hero2--tint .kv-kicker { padding: 0; background: none; border: 0; }  /* 見出しの上の札も箱にしない（白い箱はやめる） */
.hero2--tint .kv-sep { background: #b9c8bf; }
.hero2--tint .mg-seg span { background: var(--line); }
.mg { position: relative; height: 500px; overflow: hidden; color: var(--dark); letter-spacing: 0; }
.mg-in { position: relative; height: 100%; max-width: calc(var(--maxw) + var(--edge) * 2); margin-inline: auto; }
.mg-sc { position: absolute; inset: 0 var(--edge); display: grid; grid-template-columns: minmax(0, .5fr) minmax(0, 1.5fr); align-items: center; gap: 32px; padding-bottom: 24px; visibility: hidden; opacity: 0; transition: opacity .5s, visibility 0s .5s; }
.mg-sc.is-on { visibility: visible; opacity: 1; transition: opacity .5s; }
.mg-q { color: var(--mid); font-size: 18px; font-weight: 900; line-height: 1.5; letter-spacing: 0; }  /* 一行目（「そのまま使える3点セット」など）は、それなりに大きく（11/25） */
.mg-h { margin-top: 10px; font-size: 32px; font-weight: 900; line-height: 1.35; }
.mg-h span { display: block; }
.mg-h b { color: var(--mid); }
.mg-s { margin-top: 12px; color: var(--sub); font-size: 15px; font-weight: 700; line-height: 1.8; }
.mg-text > * { opacity: 0; transform: translateY(16px); transition: opacity .55s, transform .55s cubic-bezier(.2, .7, .2, 1); }
.mg-sc.is-on .mg-text > * { opacity: 1; transform: none; }
.mg-sc.is-on .mg-text > :nth-child(2) { transition-delay: .15s; }
.mg-sc.is-on .mg-text > :nth-child(3) { transition-delay: .35s; }
/* 絵：横長（2:1）。白い地にとけこませ、ゆっくり寄る */
.mg-pic { position: relative; margin: 0; overflow: hidden; aspect-ratio: 2 / 1; max-height: 430px; opacity: 0; transform: translateX(36px); transition: opacity .7s .05s, transform .9s .05s cubic-bezier(.2, .7, .2, 1); }
.mg-sc.is-on .mg-pic { opacity: 1; transform: none; }
.mg-pic img { display: block; width: 100%; height: 100%; object-fit: contain; transform-origin: 50% 55%; }
.mg-sc.is-on .mg-pic img { animation: mg-zoom 6s ease-out both; }
@keyframes mg-zoom { from { transform: scale(1); } to { transform: scale(1.035); } }
.mg-photo { border-radius: 4px; box-shadow: 0 24px 50px -30px rgba(4, 36, 26, .45); }
.mg-photo img { position: absolute; inset: 0; object-fit: cover; opacity: 0; transition: opacity .6s; }
.mg-photo img.is-on { opacity: 1; }
/* 場面1：毎年の講師料が積み上がる */
.mg-bars { display: grid; gap: 8px; margin-top: 18px; }
.mg-bars li { display: grid; grid-template-columns: 46px minmax(0, 1fr) 80px; align-items: center; gap: 8px; color: var(--sub); font-size: 14px; font-weight: 800; }
.mg-bars i { position: relative; height: 12px; background: #eef2ef; }
.mg-bars i::after { content: ""; position: absolute; top: 0; bottom: 0; left: 0; width: calc(var(--v) * 100%); background: #a9b8b0; transform: scaleX(0); transform-origin: left center; transition: transform .9s cubic-bezier(.2, .7, .2, 1); }
.mg-bars li:last-child i::after { background: #E8541C; }
.mg-bars b { color: var(--ink); font-size: 16px; text-align: right; opacity: 0; transition: opacity .4s; }
.mg-bars li:last-child b { color: #C2410C; font-size: 19px; }
.mg-sc.is-on .mg-bars i::after { transform: scaleX(1); }
.mg-sc.is-on .mg-bars b { opacity: 1; }
.mg-sc.is-on .mg-bars li:nth-child(1) i::after, .mg-sc.is-on .mg-bars li:nth-child(1) b { transition-delay: .7s; }
.mg-sc.is-on .mg-bars li:nth-child(2) i::after, .mg-sc.is-on .mg-bars li:nth-child(2) b { transition-delay: 1.3s; }
.mg-sc.is-on .mg-bars li:nth-child(3) i::after, .mg-sc.is-on .mg-bars li:nth-child(3) b { transition-delay: 1.9s; }
/* 場面2：3点セット */
.mg-set { display: flex; flex-direction: column; align-items: flex-start; gap: 9px; margin-top: 20px; }
.mg-set li { display: inline-flex; align-items: center; gap: 7px; padding: 0; color: var(--ink); background: none; font-size: 16px; font-weight: 800; opacity: 0; transform: translateY(10px); transition: opacity .45s, transform .45s; }  /* 箱にしない：アイコンと文字だけ（2026-11-25 ユーザー「白い箱好きよな やめて」） */
.mg-set img { width: 20px; height: auto; }
.mg-sc.is-on .mg-set li { opacity: 1; transform: none; }
.mg-sc.is-on .mg-set li:nth-child(1) { transition-delay: .6s; }
.mg-sc.is-on .mg-set li:nth-child(2) { transition-delay: .8s; }
.mg-sc.is-on .mg-set li:nth-child(3) { transition-delay: 1s; }
/* 最後：ロゴ */
.mg-end { grid-template-columns: 1fr; justify-items: center; text-align: center; }
.mg-sc.mg-end { grid-template-columns: 1fr; }  /* タブレットの幅（2列の決まり）でも、最後のロゴの場面は真ん中に（11/25） */
.mg-logo { width: 300px; height: auto; }
.mg-end .mg-s { margin-top: 18px; font-size: 17px; }
.mg-free { display: inline-block; margin-top: 18px; padding: 8px 18px; color: var(--dark); background: var(--acid); font-size: 16px; font-weight: 900; }
/* 進み具合 */
.mg-seg { position: absolute; left: 50%; bottom: 16px; display: flex; gap: 6px; transform: translateX(-50%); }
.mg-seg span { width: 30px; height: 3px; overflow: hidden; background: #dfe7e2; }
.mg-seg i { display: block; height: 100%; background: var(--mid); transform: scaleX(0); transform-origin: left center; }
@media (prefers-reduced-motion: reduce) { .mg-sc.is-on .mg-pic img { animation: none; } }

/* ---------- SEC1 ファーストビュー（中央そろえ：見出し・説明・ボタン） ---------- */
.kv { letter-spacing: 0; }
.kv-inner { padding-top: 8px; padding-bottom: 60px; text-align: center; }
.kv-copy { max-width: 1100px; margin-inline: auto; }
.kv-kicker { display: inline-flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 4px 12px; padding: 6px 14px; color: var(--deep); background: #fff; border: 1px solid var(--line); font-size: 14px; font-weight: 800; letter-spacing: .04em; }
.kv-sep { width: 1px; height: 14px; background: var(--line); }
.kv-title { margin-top: 22px; color: var(--dark); font-size: clamp(28px, 3vw, 42px); font-weight: 900; line-height: 1.4; letter-spacing: -.01em; }
.kv-l { display: block; }
.kv-title em { color: var(--mid); font-style: normal; }
.kv-lead { max-width: 820px; margin: 18px auto 0; color: var(--sub); font-size: 17px; font-weight: 700; line-height: 1.9; }
.kv-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 28px; }
.kv-primary, .kv-secondary { display: inline-flex; align-items: center; justify-content: space-between; gap: 18px; min-height: 58px; padding: 12px 24px; font-size: 16px; font-weight: 900; line-height: 1.5; text-align: left; text-decoration: none; transition: background .16s, color .16s, border-color .16s; }
.kv-primary { color: #fff; background: var(--cta); }
.kv-primary:hover { background: var(--deep); }
.kv-secondary { color: var(--deep); background: #fff; border: 1.5px solid var(--deep); font-size: 15px; }
.kv-secondary:hover { color: #fff; background: var(--deep); }
.kv-primary .ic, .kv-secondary .ic { width: 20px; height: 20px; }
/* ヘッダー：ボタンの字は折らない。PCでも幅が狭いときは、メニューの間を詰める */
.header-actions .btn { white-space: nowrap; }
/* 数字の帯（月別・60分・3点セット・買い切り）：4つとも欄の真ん中に（2026-11-25 ユーザー「ココ全体左に寄ってる」） */
.facts-list li, .facts-list li:first-child { grid-template-columns: auto auto; justify-content: center; padding-left: 14px; padding-right: 14px; }
@media (max-width: 640px) { .facts-list li, .facts-list li:first-child { padding-left: 4px; padding-right: 4px; } }  /* スマホの2列は元の余白（広いと横にはみ出す） */
/* スマホ・タブレットのメニュー（三本線。2026-11-25 ユーザー「SPのとき ヘッダーにメニューほしいな ハンバーガー」）。PCのメニューが隠れる 1100px 以下で出す */
.nav-toggle, .sp-menu { display: none; }
@media (max-width: 1100px) {
  .header-inner { gap: 10px; }
  .nav-toggle { position: relative; display: inline-flex; flex: none; align-items: center; justify-content: center; width: 44px; height: 44px; margin-right: -8px; padding: 0; color: var(--ink); background: none; border: 0; cursor: pointer; }
  .nav-toggle span { position: absolute; left: 11px; right: 11px; top: 50%; height: 2px; margin-top: -1px; background: currentColor; transition: transform .25s, opacity .2s; }
  .nav-toggle span:nth-child(1) { transform: translateY(-7px); }
  .nav-toggle span:nth-child(3) { transform: translateY(7px); }
  .nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: rotate(45deg); }
  .nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: rotate(-45deg); }
  .sp-menu { position: fixed; inset: var(--header) 0 0; z-index: 49; display: block; overflow-y: auto; padding: 6px var(--edge) 40px; color: #fff; background: var(--dark); opacity: 0; visibility: hidden; transform: translateY(-6px); transition: opacity .22s, transform .22s, visibility 0s .22s; }
  .sp-menu.is-open { opacity: 1; visibility: visible; transform: none; transition: opacity .22s, transform .22s; }
  .sp-menu nav a { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 17px 2px; color: #fff; font-size: 17px; font-weight: 800; text-decoration: none; border-bottom: 1px solid rgba(255, 255, 255, .14); }
  .sp-menu nav .ic { width: 18px; height: 18px; color: var(--acid); }
  .sp-menu-cta { display: grid; gap: 10px; margin-top: 28px; }
  .sp-menu-cta .btn { width: 100%; min-height: 54px; }
  .sp-menu-cta .btn-ghost { color: #fff; background: transparent; border-color: rgba(255, 255, 255, .55); }  /* 白い面にしない */
  body.menu-open { overflow: hidden; }
}
@media (max-width: 360px) { .brand img { width: 104px; } .header-actions .btn { padding: 6px 10px; } }
@media (max-width: 1280px) and (min-width: 1101px) {
  .header-nav { gap: 16px; }
}

/* ---------- SEC2 問題提起（2×2） ---------- */
.prob-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.prob-card { display: grid; grid-template-columns: 172px minmax(0, 1fr); align-items: center; gap: 22px; padding: 20px 28px 20px 18px; background: var(--pale); }
.prob-card img { display: block; width: 172px; height: 172px; mix-blend-mode: multiply; }
.prob-no { display: flex; align-items: center; gap: 10px; color: var(--sub); font-size: 12px; font-weight: 800; letter-spacing: .12em; }
.prob-no b { color: var(--mid); font-size: 30px; font-weight: 900; line-height: 1; letter-spacing: -.02em; }
.prob-no::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.prob-body h3 { margin-top: 8px; color: var(--ink); font-size: 21px; font-weight: 900; line-height: 1.45; word-break: keep-all; overflow-wrap: anywhere; }
.prob-body p:last-child { margin-top: 8px; color: var(--sub); font-size: 15px; line-height: 1.8; }

/* ---------- SEC3 4象限マトリクス ---------- */
.mx-head h2 { font-size: 40px; }
.mx-h2-em { color: var(--deep); }
.mx-sub { margin-top: 12px; color: var(--mid); font-size: 22px; font-weight: 900; line-height: 1.6; word-break: keep-all; }
.mx-lead { max-width: 820px; font-weight: 500; line-height: 1.9; }

/* ---------- なぜAIでは作れないのか：場面のイラスト ---------- */
.why-pic { margin: -28px -26px 22px; overflow: hidden; aspect-ratio: 4 / 3; background: #fff; }
.why-pic img { display: block; width: 100%; height: 100%; object-fit: contain; }

/* ---------- SEC4 なぜAIでは作れないのか ---------- */
.why-head h2 { font-size: 0; }
.why-q { display: block; color: #c4d8cc; font-size: 24px; font-weight: 800; line-height: 1.6; word-break: keep-all; }
.why-a { display: block; margin-top: 10px; color: #fff; font-size: 38px; font-weight: 900; line-height: 1.45; word-break: keep-all; }
.why-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.why-item { padding: 28px 26px 30px; background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.12); }
.why-top { display: flex; align-items: flex-end; justify-content: space-between; padding-bottom: 14px; border-bottom: 2px solid rgba(255,255,255,.16); }
.why-no { color: var(--acid); font-size: 58px; font-weight: 900; line-height: .9; letter-spacing: -.03em; }
.why-ic { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; color: var(--acid); background: rgba(168,255,53,.12); }
.why-ic .ic { width: 26px; height: 26px; }
.why-label { margin-top: 18px; color: #9db3a6; font-size: 12px; font-weight: 800; letter-spacing: .14em; }
.why-item h3 { margin-top: 6px; color: #fff; font-size: 21px; font-weight: 900; line-height: 1.5; word-break: keep-all; overflow-wrap: anywhere; }
.why-item p:not(.why-label) { margin-top: 12px; color: #c4d8cc; font-size: 14.5px; line-height: 1.9; }

/* ---------- SEC6 運営会社の実績 ---------- */
.org { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); align-items: center; gap: 40px; margin-bottom: 28px; padding: 44px 52px; color: #fff; background: var(--dark); }
.org .kicker { color: var(--acid); }
.org h2 { font-size: 26px; font-weight: 900; line-height: 1.4; }
.org-lead { margin-top: 14px; font-size: 20px; font-weight: 800; line-height: 1.75; }
.org-meta { margin-top: 10px; color: #9db3a6; font-size: 13.5px; font-weight: 700; }
.org-link { margin-top: 22px; color: var(--dark); background: var(--acid); }
.org-link:hover { color: var(--dark); background: #c8ff7a; }
.org-tiles { display: grid; gap: 12px; }
.org-tiles li { display: grid; grid-template-columns: 56px minmax(0, 1fr); grid-template-rows: auto auto; column-gap: 16px; align-items: center; padding: 20px 22px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); }
.org-ic { grid-row: 1 / 3; display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; color: var(--acid); background: rgba(168,255,53,.12); }
.org-ic .ic { width: 26px; height: 26px; }
.org-tiles b { font-size: 18px; font-weight: 900; line-height: 1.45; word-break: keep-all; }
.org-tiles small { color: #c4d8cc; font-size: 14px; font-weight: 700; }

/* ---------- SEC7 料金プラン ---------- */
.plans { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr) minmax(0, 1fr); align-items: stretch; gap: 18px; margin-top: 8px; }
.plan { position: relative; display: flex; flex-direction: column; padding: 30px 26px 26px; color: var(--ink); background: #fff; }
.plan.is-main { padding-top: 40px; border: 3px solid var(--acid); box-shadow: 0 30px 60px -30px rgba(168,255,53,.35); }
.plan-badge { position: absolute; top: -17px; left: 24px; display: inline-flex; align-items: center; gap: 6px; padding: 5px 14px; color: var(--dark); background: var(--acid); font-size: 13px; font-weight: 900; }
.plan-badge .ic { width: 15px; height: 15px; fill: currentColor; stroke-width: 1.5; }
.plan-name { font-size: 19px; font-weight: 900; line-height: 1.45; }
.plan.is-main .plan-name { font-size: 22px; }
.plan-name small { display: block; color: var(--sub); font-size: 12.5px; font-weight: 700; }
.plan-was { display: flex; align-items: center; gap: 10px; min-height: 26px; margin-top: 12px; }
.plan-was s { color: var(--sub); font-size: 14px; font-weight: 700; }
.plan-off { padding: 2px 9px; color: #fff; background: #C2410C; font-size: 12.5px; font-weight: 900; }
.plan-was-none { visibility: hidden; }
.plan-price { margin-top: 4px; font-size: 18px; font-weight: 900; line-height: 1.2; }
.plan-price b { color: var(--deep); font-size: 48px; letter-spacing: -.03em; }
.plan.is-main .plan-price b { font-size: 60px; }
.plan-price small { margin-left: 2px; color: var(--sub); font-size: 13px; font-weight: 700; }
.plan-price .plan-unit { margin: 0 6px 0 0; color: var(--ink); font-size: 18px; font-weight: 900; }  /* 単品の「1本」 */
.plan-desc { margin-top: 14px; color: #33443b; font-size: 14px; line-height: 1.85; }
.plan-inc { display: grid; gap: 6px; margin-top: 14px; padding-top: 14px; border-top: 1px solid #e3ebe6; }
.plan-inc li { position: relative; padding-left: 24px; font-size: 14px; font-weight: 800; }
.plan-inc li::before { content: ""; position: absolute; left: 3px; top: .45em; width: 12px; height: 7px; border-left: 3px solid var(--mid); border-bottom: 3px solid var(--mid); transform: rotate(-45deg); }
.plan-btns { display: grid; gap: 8px; margin-top: auto; padding-top: 22px; }
.plan-buy, .plan-inv { display: inline-flex; align-items: center; justify-content: center; gap: 8px; text-decoration: none; transition: background .16s, color .16s; }
.plan-buy { min-height: 54px; color: #fff; background: var(--deep); font-size: 15.5px; font-weight: 900; }
.plan-buy:hover { background: var(--dark); }
.plan.is-main .plan-buy { background: var(--cta); }
.plan.is-main .plan-buy:hover { background: var(--deep); }
.plan-inv { min-height: 46px; color: var(--deep); background: #fff; border: 1.5px solid var(--deep); font-size: 14px; font-weight: 800; }
.plan-inv:hover { color: #fff; background: var(--deep); }
.plan-buy .ic, .plan-inv .ic { width: 18px; height: 18px; }
/* プランの下の大きなボタン1つ（2026-11-25 ユーザー「大きなボタンがひとつでいい。見積もり依頼・相談はこちら」） */
.plan-cta { display: flex; justify-content: center; margin-top: 36px; }
.plan-cta-btn { display: inline-flex; align-items: center; justify-content: center; gap: 14px; width: min(100%, 560px); min-height: 76px; padding: 16px 32px; color: var(--dark); background: var(--acid); font-size: 21px; font-weight: 900; line-height: 1.4; text-decoration: none; transition: background .16s, color .16s; }
.plan-cta-btn:hover { color: var(--dark); background: #fff; }
.plan-cta-btn .ic { flex: none; width: 22px; height: 22px; }
@media (max-width: 720px) { .plan-cta { margin-top: 28px; } .plan-cta-btn { min-height: 64px; padding: 14px 18px; font-size: 17px; } }
.pay-safe { display: flex; align-items: flex-start; justify-content: center; gap: 10px; max-width: 980px; margin: 22px auto 0; color: #c4d8cc; font-size: 13px; line-height: 1.75; text-align: center; }
.pay-safe .ic { width: 18px; height: 18px; margin-top: 2px; color: var(--acid); }
.pay-safe a { margin-left: 8px; color: var(--acid); font-weight: 800; white-space: nowrap; }
.price-more { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: start; gap: 18px; margin-top: 44px; }
.price-more .opt2 { margin-top: 0; padding-top: 0; border-top: 0; }

/* ---------- ご購入の流れ（カード・請求書の2通り） ---------- */
.flow2 { display: grid; gap: 24px; }
.flow2-row { display: grid; grid-template-columns: 150px minmax(0, 1fr); align-items: stretch; gap: 28px; }
.flow2-label { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; padding: 18px 10px; color: #fff; background: var(--dark); font-size: 16px; font-weight: 900; text-align: center; }
.flow2-label .ic { width: 28px; height: 28px; color: var(--acid); }
.flow2 .flow li { padding: 26px 16px 22px; }
.flow2 .flow-ic { width: 62px; height: 62px; }
.flow2 .flow-ic .ic { width: 28px; height: 28px; }
.flow2 .flow b { font-size: 19px; }

/* =========================================================
   タブレット（1100px 以下）
   ========================================================= */
@media (max-width: 1100px) {
  .kv-inner { padding-bottom: 52px; }
  .mg { height: 420px; }
  .mg-sc { gap: 24px; grid-template-columns: minmax(0, .62fr) minmax(0, 1.38fr); }
  .mg-q { font-size: 16px; }
  .mg-h { font-size: 26px; }
  .mg-pic { max-height: 380px; }
  .prob-card { grid-template-columns: 130px minmax(0, 1fr); gap: 16px; padding: 18px 20px 18px 14px; }
  .prob-card img { width: 130px; height: 130px; }
  .prob-body h3 { font-size: 18px; }
  .prob-body p:last-child { font-size: 14px; }
  .why-list { grid-template-columns: 1fr; }
  .why-item { display: grid; grid-template-columns: 280px minmax(0, 1fr); column-gap: 28px; align-items: start; padding: 0 28px 0 0; }
  .why-pic { grid-column: 1; grid-row: 1 / span 6; margin: 0; aspect-ratio: 1; }
  .why-item > :not(.why-pic) { grid-column: 2; }
  .why-top { padding-top: 26px; }
  .why-a { font-size: 32px; }
  .org { grid-template-columns: 1fr; padding: 36px 40px; }
  .plans { grid-template-columns: 1fr 1fr; }
  .plan.is-main { grid-column: 1 / -1; }
  .price-more { grid-template-columns: 1fr; }
  .flow2-row { grid-template-columns: 120px minmax(0, 1fr); gap: 20px; }
}

/* 帯：900px 以下は、絵を上・文字を下に重ねる（横に並べると文字の列が細くなりすぎる） */
@media (max-width: 900px) {
  .mg { height: min(496px, calc(66.67vw + 176px)); }  /* 絵（幅×2/3）＋文字＋線。いちばん中身の多い場面1でも下に約24pxだけ空ける */
  .mg-sc { grid-template-columns: 1fr; grid-template-rows: auto minmax(0, 1fr); align-content: stretch; gap: 14px; padding: 18px 0 43px; text-align: center; }
  .mg-sc > .mg-text { align-self: center; }  /* 文字は絵の下の空き（線の24px上まで）の真ん中に */
  .mg-pic { order: -1; justify-self: center; width: min(100%, 440px); aspect-ratio: 3 / 2; max-height: none; }
  .mg-pic img { object-fit: cover; }
  .mg-photo img { object-position: 82% 50%; }  /* 右のスマホまで見せる */
  .mg-q { font-size: 15px; }
  .mg-h { margin-top: 4px; font-size: min(24px, 6.4vw); }
  /* 場面ごとの中身の高さをそろえる（2026-11-25 ユーザー「SPのとき隙間大きく感じる」）：棒は1行の数字に、3つの札はすぐ下の説明文と同じなので出さない */
  .mg-bars { display: flex; flex-wrap: wrap; justify-content: center; align-items: baseline; gap: 2px 6px; margin-top: 8px; }
  .mg-bars li { display: flex; align-items: baseline; gap: 4px; font-size: min(12px, 3.3vw); }
  .mg-bars li + li::before { content: "→"; margin-right: 4px; color: #a9b8b0; font-weight: 700; }
  .mg-bars i { display: none; }
  .mg-bars b { font-size: min(14px, 3.9vw); }
  .mg-bars li:last-child b { font-size: min(16px, 4.4vw); }
  .mg-set { display: none; }
  /* 最後の場面も、上に絵と同じ大きさの面（ロゴ）・下に文字。真ん中にロゴだけだと上下が大きく空く */
  .mg-end .mg-text { grid-row: 1 / -1; align-self: stretch; justify-self: stretch; display: flex; flex-direction: column; }
  .mg-logo { display: block; box-sizing: border-box; width: min(100%, 440px); height: auto; aspect-ratio: 3 / 2; margin: 0 auto 14px; padding: 0 18%; object-fit: contain; background: var(--pale); }
  .hero2--tint .mg-logo { background: none; }  /* 最後の場面のロゴは箱に入れない（白い箱はやめる） */
  .mg-end .mg-s { margin-top: auto; font-size: 14px; }
  .mg-free { margin: 10px auto auto; font-size: 14px; }
  .mg-seg { left: 50%; transform: translateX(-50%); bottom: 16px; }
  .mg-seg span { width: 26px; }
}

/* =========================================================
   スマホ（720px 以下）
   ========================================================= */
@media (max-width: 720px) {
  .kv-inner { padding-bottom: 40px; }
  .kv-kicker { padding: 5px 10px; font-size: 12px; gap: 2px 8px; }
  .kv-title { margin-top: 16px; font-size: min(26px, 6.6vw); line-height: 1.45; }
  .kv-lead { margin-top: 12px; font-size: 14px; line-height: 1.85; }
  .kv-actions { flex-direction: column; align-items: stretch; gap: 8px; margin-top: 20px; }
  .kv-primary, .kv-secondary { gap: 10px; min-height: 54px; padding: 10px 16px; font-size: 14.5px; }
  .kv-secondary { min-height: 48px; font-size: 14px; }

  .prob-grid { grid-template-columns: 1fr; gap: 10px; }
  .prob-card { grid-template-columns: 96px minmax(0, 1fr); gap: 12px; padding: 14px 14px 14px 10px; }
  .prob-card img { width: 96px; height: 96px; }
  .prob-no b { font-size: 22px; }
  .prob-body h3 { margin-top: 4px; font-size: 16.5px; }
  .prob-body p:last-child { margin-top: 4px; font-size: 13px; line-height: 1.7; }

  .mx-head h2 { font-size: 26px; }
  .mx-sub { font-size: 17px; }
  .why-pic { margin: -22px -18px 18px; }
  .why-q { font-size: 16px; }
  .why-a { margin-top: 6px; font-size: 23px; }
  .why-item { display: block; padding: 22px 18px 24px; }
  .why-pic { aspect-ratio: 4 / 3; }
  .why-top { padding-top: 0; }
  .why-top { flex-direction: row; align-items: flex-end; border-right: 0; border-bottom: 2px solid rgba(255,255,255,.16); }
  .why-no { font-size: 44px; }
  .why-ic { width: 44px; height: 44px; }
  .why-label { margin-top: 14px; }
  .why-item h3 { font-size: 18px; }
  .why-item p:not(.why-label) { font-size: 13.5px; }

  .org { gap: 24px; padding: 28px 18px; }
  .org h2 { font-size: 21px; }
  .org-lead { font-size: 16px; }
  .org-link { width: 100%; }
  .org-tiles li { grid-template-columns: 46px minmax(0, 1fr); column-gap: 12px; padding: 14px; }
  .org-ic { width: 46px; height: 46px; }
  .org-tiles b { font-size: 16px; }
  .org-tiles small { font-size: 12.5px; }

  .plans { grid-template-columns: 1fr; gap: 26px; }
  .plan { padding: 24px 18px 20px; }
  .plan.is-main { padding-top: 34px; }
  .plan-price b { font-size: 42px; }
  .plan.is-main .plan-price b { font-size: 50px; }
  .pay-safe { justify-content: flex-start; font-size: 12px; }
  .pay-safe a { display: inline-block; margin: 4px 0 0; }
  .price-more { margin-top: 32px; }

  .flow2-row { grid-template-columns: 1fr; gap: 12px; }
  .flow2-label { flex-direction: row; justify-content: flex-start; padding: 10px 16px; font-size: 15px; }
  .flow2-label .ic { width: 22px; height: 22px; }
}

/* ---------- SEC3 4象限（2026-11-25 作り直し）
   図・STEP・中身を1つに（ユーザー「ひとまとめにして」「stepは中にいれて」「箱が多すぎる」）。マスに地の色・枠は付けない。
   ①〜④は、正面の色別アイコン（①緑・②グレー・③オレンジ・④黄緑）＋「① 専門 × 外部」＋資料の言葉の見出しで見分ける。
   見えたら 軸 → ①〜④ → STEP1（③）→ STEP2（③→④）→ STEP3（④→①）→ 中身 の順に出す（「最初に全部表示されるのも分かりにくい」）。動きは assets/js/kv-stage.js ---------- */
.mxq { --q1: #127A52; --q2: #6B7C73; --q3: #C2410C; --q4: #A8FF35; position: relative; margin-top: 4px; }
.q1 { --qc: var(--q1); --qt: var(--q1); --qbg: #E0EEE5; }
.q2 { --qc: var(--q2); --qt: var(--q2); --qbg: #E5E9E7; }
.q3 { --qc: var(--q3); --qt: var(--q3); --qbg: #FAE7DD; }
.q4 { --qc: var(--q4); --qt: #4D7C0F; --qbg: #EAF6D3; }
.mxq-ax { margin: 0; color: var(--deep); font-size: 14px; font-weight: 900; line-height: 26px; text-align: center; white-space: nowrap; }
.mxq-ax-top { margin-bottom: 18px; }
.mxq-ax-bottom { margin-top: 18px; }
/* 軸の言葉は濃い緑の札（白い文字・黄緑のアイコン）。ユーザー「外部のプロに委託 とかもアイコンあるか 色変えるか」 */
.mxq-ax > span, .mxq-ax-left, .mxq-ax-right { display: inline-flex; align-items: center; gap: 6px; padding: 0 14px; border-radius: 999px; color: #fff; background: var(--deep); line-height: 30px; }
.mxq-ax .ic { flex: none; width: 17px; height: 17px; color: var(--acid); stroke-width: 2.2; }
.mxq-ax { font-feature-settings: "palt"; }  /* かっこの前後の空きを詰める */
.mxq-ax-left, .mxq-ax-right { position: absolute; z-index: 2; top: 50%; margin-top: -15px; }
.mxq-ax-left { left: 0; }
.mxq-ax-right { right: 0; }
.mxq-ax .ax-short { display: none; }
.mxq-board { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); grid-template-rows: 1fr 1fr; gap: 76px 96px; }
.mxq-axis { position: absolute; z-index: 1; background: #b4c4ba; }
.mxq-axis-h { left: 0; right: 0; top: 50%; height: 2px; margin-top: -1px; }
.mxq-axis-v { top: 0; bottom: 0; left: 50%; width: 2px; margin-left: -1px; }
/* マス（地の色・枠なし） */
.mxq-cell { position: relative; z-index: 2; display: flex; flex-direction: column; gap: 14px; padding: 26px 28px 24px; border-radius: 12px; background: var(--qbg); }  /* 地はマスごとの色（ユーザー「背景 色分けしたら？」） */
.mxq-top { display: grid; grid-template-columns: 76px minmax(0, 1fr); align-items: start; gap: 18px; }
.mxq-ic { display: grid; place-items: center; width: 76px; height: 76px; border-radius: 50%; color: #fff; background: var(--qc); transition: box-shadow .6s; }
.mxq-ic .ic { width: 36px; height: 36px; stroke-width: 1.9; }
.q4 .mxq-ic { color: var(--dark); }
.mxq-head { margin: 0; color: var(--qt); font-size: 21px; font-weight: 900; line-height: 1.4; letter-spacing: .02em; }  /* 「① 専門 × 外部」が主の見出し（ユーザー「ここ明確に違いが知りたい」） */
.mxq-no { margin-right: 6px; font-size: 26px; line-height: 1; }
.mxq-title { margin-top: 4px; color: var(--ink); font-size: 18px; font-weight: 900; line-height: 1.5; }
.mxq-step { display: inline-flex; align-items: center; gap: 8px; margin-top: 12px; padding: 5px 14px 5px 5px; border-radius: 999px; color: #fff; background: var(--qc); font-size: 14px; font-weight: 800; line-height: 1.4; }
.mxq-step b { padding: 2px 9px; border-radius: 999px; color: var(--qc); background: #fff; font-size: 11.5px; letter-spacing: .04em; white-space: nowrap; }
.q4 .mxq-step, .q4 .mxq-step b { color: var(--dark); }
.mxq-more { padding-left: 94px; }
.mxq-dl { display: grid; gap: 6px; margin: 0; font-size: 14px; line-height: 1.65; }
.mxq-dl div { display: grid; grid-template-columns: 3.6em minmax(0, 1fr); gap: 10px; }
.mxq-dl dt { color: var(--sub); font-weight: 800; }
.mxq-dl dd { margin: 0; color: var(--ink); font-weight: 700; }
.mxq-note { margin: 10px 0 0; color: var(--sub); font-size: 13.5px; line-height: 1.8; }
/* 真ん中の矢印（③→④、④→①）と、④から①へ動く浮いた予算（コイン） */
.mxq-go { position: absolute; z-index: 3; left: 50%; display: grid; place-items: center; width: 56px; height: 56px; margin: -28px 0 0 -28px; border-radius: 50%; color: var(--dark); background: var(--q4); box-shadow: 0 10px 22px -12px rgba(4, 36, 26, .6); }
.mxq-go .ic { width: 24px; height: 24px; stroke-width: 2.4; }
.mxq-go-2 { top: calc(75% + 19px); }
.mxq-go-3 { top: 50%; color: #fff; background: var(--q1); }
.mxq-go-3 > .ic { transform: rotate(-135deg); }
.mxq-coin { position: absolute; left: 50%; top: 50%; width: 14px; height: 14px; margin: -7px 0 0 -7px; border-radius: 50%; background: var(--acid); box-shadow: inset 0 0 0 2.5px var(--deep); opacity: 0; pointer-events: none; }
.mxq.s3:not(.is-done) .mxq-coin { animation: mxq-coin 1.4s cubic-bezier(.4, 0, .2, 1) both; }
.mxq.s3:not(.is-done) .mxq-coin.c2 { animation-delay: .22s; }
.mxq.s3:not(.is-done) .mxq-coin.c3 { animation-delay: .44s; }
@keyframes mxq-coin { 0% { opacity: 0; transform: translate(74px, 56px) scale(.6); } 18% { opacity: 1; } 82% { opacity: 1; } 100% { opacity: 0; transform: translate(-74px, -56px) scale(1); } }
@keyframes mxq-coin-sp { 0% { opacity: 0; transform: translate(36px, 28px) scale(.6); } 18% { opacity: 1; } 82% { opacity: 1; } 100% { opacity: 0; transform: translate(-36px, -28px) scale(1); } }
.mxq-list { display: none; margin: 28px 0 0; padding: 0; list-style: none; }
/* 出す順（JS が動くときだけ、はじめに隠す） */
.mxq.js [data-p] { opacity: 0; transition: opacity .55s, transform .6s cubic-bezier(.2, .7, .2, 1); }
.mxq.js .mxq-cell[data-p] { transform: translateY(16px); transition: opacity .55s, transform .6s cubic-bezier(.2, .7, .2, 1), filter .6s; }
.mxq.js .mxq-axis-h[data-p] { opacity: 1; transform: scaleX(0); }
.mxq.js .mxq-axis-v[data-p] { opacity: 1; transform: scaleY(0); }
.mxq.js .mxq-go[data-p] { transform: scale(.3); }
.mxq.js .mxq-step[data-p] { transform: translateY(8px); }
.mxq.js [data-p].is-in { opacity: 1; transform: none; }
/* STEP2 から：③は薄く（見直し）・④に光の輪（答え）。STEP3：①に光の輪（予算を集中） */
.mxq.s2 .mxq-cell.q3, .mxq.js.s2 .mxq-cell.q3.is-in { opacity: .42; filter: grayscale(1); }
.mxq.is-done .mxq-cell.q3, .mxq.js.is-done .mxq-cell.q3.is-in { opacity: .82; filter: none; }  /* 最後の形では③も色に戻す（色で見分けられるように） */
.mxq.s2 .q4 .mxq-ic { box-shadow: 0 0 0 9px rgba(168, 255, 53, .38); }
.mxq.s3 .q1 .mxq-ic { box-shadow: 0 0 0 9px rgba(18, 122, 82, .2); }
@media (prefers-reduced-motion: reduce) { .mxq.s3 .mxq-coin { animation: none !important; } }
@media (max-width: 1100px) {
  .mxq-board { gap: 64px 76px; }
  .mxq-cell { padding: 20px 20px 18px; }
  .mxq-top { grid-template-columns: 60px minmax(0, 1fr); gap: 14px; }
  .mxq-ic { width: 60px; height: 60px; }
  .mxq-ic .ic { width: 28px; height: 28px; }
  .mxq-head { font-size: 18px; }
  .mxq-no { font-size: 22px; }
  .mxq-title { font-size: 16px; }
  .mxq-more { padding-left: 74px; }
  .mxq-dl div { grid-template-columns: 1fr; gap: 0; }
  .mxq-go-2 { top: calc(75% + 16px); }
}
/* スマホ：図の中は アイコン・番号・見出し・STEP まで。中身は図の下に */
@media (max-width: 720px) {
  .mxq-board { gap: 44px 22px; }
  .mxq-cell { gap: 0; padding: 14px 8px 14px; border-radius: 10px; text-align: center; }
  .mxq-top { grid-template-columns: 1fr; justify-items: center; gap: 8px; }
  .mxq-ic { width: 52px; height: 52px; }
  .mxq-ic .ic { width: 25px; height: 25px; }
  .mxq-head { font-size: 14.5px; }
  .mxq-no { margin-right: 3px; font-size: 19px; }
  .mxq-title { margin-top: 3px; font-size: 13px; line-height: 1.5; }
  .mxq-step { margin-top: 8px; gap: 5px; padding: 3px 9px 3px 3px; font-size: 11.5px; }
  .mxq-step b { padding: 1px 6px; font-size: 9.5px; }
  .mxq-more { display: none; }
  .mxq-ax { font-size: 12px; line-height: 22px; }
  .mxq-ax-top { margin-bottom: 14px; }
  .mxq-ax-bottom { margin-top: 14px; }
  .mxq-ax > span, .mxq-ax-left, .mxq-ax-right { gap: 4px; padding: 0 9px; line-height: 24px; }
  .mxq-ax .ic { width: 14px; height: 14px; }
  .mxq-ax-left, .mxq-ax-right { margin-top: -12px; }
  .mxq-ax .ax-long { display: none; }
  .mxq-ax .ax-short { display: inline; }
  .mxq-go { width: 38px; height: 38px; margin: -19px 0 0 -19px; }
  .mxq-go .ic { width: 18px; height: 18px; }
  .mxq-go-2 { top: calc(75% + 11px); }
  .mxq-coin { width: 10px; height: 10px; margin: -5px 0 0 -5px; }
  .mxq.s3:not(.is-done) .mxq-coin { animation-name: mxq-coin-sp; }
  .mxq-list { display: grid; }
  .mxq-list li { padding: 18px 0 16px; border-top: 1px solid rgba(4, 36, 26, .12); }
  .mxq-list .mxq-head { font-size: 17px; }
  .mxq-list .mxq-title { margin-top: 2px; font-size: 15px; }
  .mxq-list .mxq-dl { margin-top: 10px; font-size: 13.5px; }
  .mxq-list .mxq-dl div { grid-template-columns: 3.4em minmax(0, 1fr); gap: 8px; }
}
@media (max-width: 359px) { .mxq-ax-left .ic, .mxq-ax-right .ic { display: none; } }  /* ごく細い画面：左右の札のアイコンを外して、真ん中の矢印とぶつからないように */
