/* RunMate design system — 2026-12 draft
   navy #112842 / sky #3fbdf5 (single accent) / white / light #f6f7f9
   Headline: Shippori Mincho / Body: Noto Sans JP */

:root {
  --navy: #112842;
  --navy-2: #1a3655;
  --navy-3: #24476d;
  --sky: #3fbdf5;
  --sky-soft: #e6f6fe;
  --ink: #1b2838;
  --muted: #566476;
  --line: #e1e6ec;
  --bg: #f6f7f9;
  --white: #fff;
  --paper: #fbf8f1;
  --radius: 14px;
  --radius-lg: 22px;
  --shadow: 0 1px 2px rgba(17, 40, 66, .06), 0 12px 32px -12px rgba(17, 40, 66, .18);
  --shadow-lg: 0 2px 4px rgba(17, 40, 66, .06), 0 30px 60px -24px rgba(17, 40, 66, .32);
  --gutter: clamp(20px, 5vw, 56px);
  --max: 1200px;
  --mincho: "Shippori Mincho", "Yu Mincho", "YuMincho", "Hiragino Mincho ProN", serif;
  --sans: "Noto Sans JP", "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif;
  --header-h: 72px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.9;
  letter-spacing: .04em;
  color: var(--ink);
  background: var(--white);
  font-feature-settings: "palt" 0;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4 { margin: 0; font-weight: 600; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--sky); outline-offset: 3px; border-radius: 6px; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

.skip { position: absolute; left: 12px; top: -60px; z-index: 200; background: var(--navy); color: #fff; padding: 10px 16px; border-radius: 8px; text-decoration: none; }
.skip:focus { top: 12px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- layout ---------- */
.wrap { width: 100%; max-width: calc(var(--max) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }
.wrap--narrow { max-width: calc(880px + var(--gutter) * 2); }
.section { padding: clamp(80px, 11vw, 150px) 0; position: relative; }
.section--tight { padding: clamp(56px, 8vw, 96px) 0; }
.section--bg { background: var(--bg); }
.section--navy { background: var(--navy); color: #fff; }
.section--paper { background: var(--paper); }

/* Japanese wrapping helpers */
.nw { display: inline-block; }
.jp-wrap { word-break: auto-phrase; }
br.sp { display: none; }
@media (max-width: 599px) { br.sp { display: inline; } br.pc { display: none; } }

/* ---------- type ---------- */
.mincho { font-family: var(--mincho); }
.eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-size: 12px; font-weight: 700; letter-spacing: .24em; text-transform: uppercase;
  color: var(--navy); margin-bottom: 22px;
}
.eyebrow::before {
  content: ""; width: 26px; height: 22px; flex: none;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 100'%3E%3Cpath fill='%23112842' d='M10 14 L46 50 L10 86 L28 86 L64 50 L28 14 Z'/%3E%3Cpath fill='%233fbdf5' d='M50 14 L86 50 L50 86 L68 86 L104 50 L68 14 Z'/%3E%3C/svg%3E") no-repeat center/contain;
}
.eyebrow span { font-weight: 500; letter-spacing: .12em; color: var(--muted); text-transform: none; }
.section--navy .eyebrow, .picker-side .eyebrow { color: #fff; }
.section--navy .eyebrow::before, .picker-side .eyebrow::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 100'%3E%3Cpath fill='%23ffffff' d='M10 14 L46 50 L10 86 L28 86 L64 50 L28 14 Z'/%3E%3Cpath fill='%233fbdf5' d='M50 14 L86 50 L50 86 L68 86 L104 50 L68 14 Z'/%3E%3C/svg%3E"); }
.section--navy .eyebrow span, .picker-side .eyebrow span { color: rgba(255,255,255,.7); }

.h-display {
  font-family: var(--mincho); font-weight: 600;
  font-size: clamp(2.15rem, 1.2rem + 4.3vw, 4.6rem);
  line-height: 1.38; letter-spacing: .04em;
  word-break: auto-phrase;
}
.h-section {
  font-family: var(--mincho); font-weight: 600;
  font-size: clamp(1.7rem, 1.1rem + 2.4vw, 2.9rem);
  line-height: 1.5; letter-spacing: .05em;
  word-break: auto-phrase;
}
.h-sub {
  font-family: var(--mincho); font-weight: 600;
  font-size: clamp(1.25rem, 1rem + .9vw, 1.6rem);
  line-height: 1.55; letter-spacing: .04em;
  word-break: auto-phrase;
}
.lead { font-size: clamp(1rem, .95rem + .3vw, 1.125rem); line-height: 2.05; color: var(--muted); }
.section--navy .lead { color: rgba(255,255,255,.78); }
.mark {
  background: linear-gradient(transparent 68%, rgba(63, 189, 245, .45) 68%, rgba(63, 189, 245, .45) 92%, transparent 92%);
  padding: 0 .06em;
}
.section--navy .mark { background: none; color: var(--sky); padding: 0; }
.small { font-size: 13px; line-height: 1.8; color: var(--muted); }
.note { font-size: 12.5px; line-height: 1.8; color: var(--muted); }

.sec-head { margin-bottom: clamp(40px, 6vw, 72px); max-width: 760px; }
.sec-head .lead { margin-top: 24px; }
.sec-head--split { max-width: none; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: clamp(24px, 6vw, 96px); align-items: end; }
.sec-head--split .lead { margin-top: 0; }
@media (max-width: 899px) { .sec-head--split { grid-template-columns: 1fr; } }
.sec-head--center { margin-left: auto; margin-right: auto; text-align: center; }
.sec-head--center .eyebrow { justify-content: center; }

/* ---------- buttons ---------- */
.btn {
  --bh: 60px;
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  min-height: var(--bh); padding: 0 30px; border-radius: 999px;
  font-weight: 700; font-size: 16px; letter-spacing: .06em; text-decoration: none; line-height: 1.4;
  border: 1.5px solid transparent; cursor: pointer; text-align: center;
  transition: transform .2s ease, box-shadow .2s ease, background-color .2s ease, color .2s ease;
}
.btn svg { width: 22px; height: 22px; flex: none; }
.btn .arrow { width: 16px; height: 16px; transition: transform .2s ease; }
.btn--line {
  background: var(--sky); color: var(--navy);
  box-shadow: 0 1px 0 rgba(255,255,255,.5) inset, 0 10px 24px -10px rgba(22, 140, 196, .75);
}
.btn--navy { background: var(--navy); color: #fff; box-shadow: 0 10px 24px -12px rgba(17, 40, 66, .7); }
.btn--ghost { border-color: currentColor; color: var(--navy); background: transparent; }
.section--navy .btn--ghost, .cta-block .btn--ghost { color: #fff; }
.btn--sm { --bh: 44px; padding: 0 20px; font-size: 14px; }
.btn--lg { --bh: 68px; padding: 0 40px; font-size: 17px; }
.btn--block { width: 100%; }
@media (hover: hover) {
  .btn:hover { transform: translateY(-2px); }
  .btn:hover .arrow { transform: translateX(3px); }
  .btn--line:hover { background: #5ccaf8; }
  .btn--navy:hover { background: var(--navy-3); }
  .btn--ghost:hover { background: var(--navy); color: #fff; border-color: var(--navy); }
  .section--navy .btn--ghost:hover, .cta-block .btn--ghost:hover { background: #fff; color: var(--navy); border-color: #fff; }
}
.btn-sub { display: block; font-size: 12px; font-weight: 500; letter-spacing: .04em; opacity: .85; }
.btn-stack { display: flex; flex-direction: column; align-items: flex-start; line-height: 1.3; }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px 18px; align-items: center; }
.text-link { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; color: var(--navy); text-decoration: none; border-bottom: 1.5px solid var(--sky); padding-bottom: 2px; }
.text-link svg { width: 14px; height: 14px; }
.section--navy .text-link { color: #fff; }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100; height: var(--header-h);
  background: rgba(255,255,255,.9); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid transparent; transition: border-color .2s ease, box-shadow .2s ease;
}
.site-header.is-scrolled { border-bottom-color: var(--line); }
.site-header .wrap { height: 100%; display: flex; align-items: center; gap: 24px; }
.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--navy); flex: none; }
.logo svg { width: 36px; height: 30px; }
.logo b { font-family: var(--sans); font-weight: 800; font-size: 21px; letter-spacing: .02em; }
.logo small { display: block; font-size: 10px; font-weight: 500; letter-spacing: .12em; color: var(--muted); margin-top: -4px; }
.gnav { margin-left: auto; }
.gnav ul { display: flex; gap: clamp(16px, 2.2vw, 34px); }
.gnav a { text-decoration: none; font-size: 14px; font-weight: 500; color: var(--ink); position: relative; padding: 6px 0; }
.gnav a[aria-current="page"] { color: var(--navy); font-weight: 700; }
.gnav a[aria-current="page"]::after, .gnav a:hover::after { content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 2px; background: var(--sky); }
.header-cta { flex: none; }
.menu-btn { display: none; margin-left: auto; width: 48px; height: 48px; border: 0; background: transparent; border-radius: 10px; cursor: pointer; position: relative; }
.menu-btn span { position: absolute; left: 13px; right: 13px; height: 2px; background: var(--navy); border-radius: 2px; transition: transform .25s ease, opacity .2s; }
.menu-btn span:nth-child(1) { top: 17px; } .menu-btn span:nth-child(2) { top: 23px; } .menu-btn span:nth-child(3) { top: 29px; }
.menu-open .menu-btn span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.menu-open .menu-btn span:nth-child(2) { opacity: 0; }
.menu-open .menu-btn span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 1023px) {
  :root { --header-h: 64px; }
  .gnav, .header-cta { display: none; }
  .menu-btn { display: block; }
  .logo b { font-size: 19px; }
}
.drawer {
  position: fixed; inset: var(--header-h) 0 0 0; z-index: 99; background: #fff;
  padding: 28px var(--gutter) 120px; overflow-y: auto;
  transform: translateY(-8px); opacity: 0; visibility: hidden; transition: opacity .2s ease, transform .2s ease, visibility .2s;
}
.menu-open .drawer { opacity: 1; visibility: visible; transform: none; }
.drawer ul li { border-bottom: 1px solid var(--line); }
.drawer ul a { display: flex; justify-content: space-between; align-items: center; padding: 18px 2px; text-decoration: none; font-family: var(--mincho); font-weight: 600; font-size: 20px; color: var(--navy); }
.drawer ul a small { font-family: var(--sans); font-size: 11px; letter-spacing: .2em; color: var(--muted); font-weight: 500; }
.drawer .btn { margin-top: 28px; }
.menu-open { overflow: hidden; }

/* ---------- hero (top) ---------- */
.hero { position: relative; padding: clamp(40px, 7vw, 96px) 0 clamp(72px, 9vw, 120px); overflow: hidden; }
.hero::before {
  content: ""; position: absolute; right: -8vw; top: -4vw; width: min(62vw, 880px); aspect-ratio: 120 / 100;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 100'%3E%3Cpath fill='%23f1f4f8' d='M10 14 L46 50 L10 86 L28 86 L64 50 L28 14 Z'/%3E%3Cpath fill='%23e9f7fe' d='M50 14 L86 50 L50 86 L68 86 L104 50 L68 14 Z'/%3E%3C/svg%3E") no-repeat center/contain;
  z-index: -1;
}
.hero .wrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero-copy .eyebrow { margin-bottom: 28px; }
.hero-copy h1 { font-size: clamp(2.1rem, 1.1rem + 4.2vw, 3.6rem); animation: rise .9s cubic-bezier(.2,.7,.2,1) both; }
.hero-copy .lead { margin-top: 30px; max-width: 34em; color: var(--ink); animation: rise .9s .12s cubic-bezier(.2,.7,.2,1) both; }
.hero-copy .btn-row { margin-top: 40px; animation: rise .9s .22s cubic-bezier(.2,.7,.2,1) both; }
.hero-facts { display: flex; flex-wrap: wrap; gap: 8px 10px; margin-top: 34px; }
.hero-facts li { font-size: 13px; font-weight: 500; padding: 6px 14px; border: 1px solid var(--line); border-radius: 999px; background: #fff; color: var(--navy); }
@keyframes rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@media (max-width: 899px) {
  .hero .wrap { grid-template-columns: 1fr; }
  .hero::before { width: 120vw; right: -50vw; top: 2vw; }
}

/* hero visual: voice memo → outputs */
.flowviz { display: grid; grid-template-columns: auto 44px minmax(0, 1fr); align-items: center; gap: 0; animation: rise 1s .3s cubic-bezier(.2,.7,.2,1) both; }
.phone {
  width: 190px; aspect-ratio: 9 / 18.5; border-radius: 34px; background: var(--navy); padding: 9px;
  box-shadow: var(--shadow-lg); position: relative;
}
.phone-screen { height: 100%; border-radius: 26px; background: #fff; padding: 30px 16px 18px; display: flex; flex-direction: column; overflow: hidden; }
.phone-screen .ps-label { font-size: 10px; letter-spacing: .14em; color: var(--muted); font-weight: 700; }
.phone-screen .ps-q { font-family: var(--mincho); font-weight: 600; font-size: 14px; line-height: 1.55; color: var(--navy); margin-top: 6px; }
.phone-screen .ps-hint { font-size: 10px; color: var(--muted); line-height: 1.6; margin-top: 8px; padding: 8px 10px; background: var(--bg); border-radius: 8px; letter-spacing: .02em; }
.wave { display: flex; align-items: center; gap: 3px; height: 52px; margin: auto 0 0; }
.wave i { flex: 1; background: var(--navy); border-radius: 2px; height: var(--h, 40%); animation: wave 1.6s ease-in-out infinite; animation-delay: calc(var(--d, 0) * -0.13s); }
.wave i:nth-child(3n) { background: var(--sky); }
@keyframes wave { 0%, 100% { transform: scaleY(1); } 50% { transform: scaleY(.55); } }
.rec { display: flex; align-items: center; justify-content: space-between; margin-top: 14px; font-size: 11px; color: var(--navy); font-weight: 700; letter-spacing: .06em; }
.rec-dot { width: 44px; height: 44px; border-radius: 50%; border: 3px solid var(--navy); display: grid; place-items: center; }
.rec-dot::after { content: ""; width: 16px; height: 16px; border-radius: 4px; background: var(--sky); }
.flow-arrow { display: grid; place-items: center; color: var(--sky); }
.flow-arrow svg { width: 30px; height: 30px; }
/* できあがるもの（2026-12-03 作り直し：通常動画の見本と同じ作り。白字に暗い縁の字幕・黄色の強調・ネイビーの線と水色の面の線画） */
.outputs { display: grid; grid-template-columns: minmax(0, .76fr) minmax(0, 1fr); gap: 12px; align-items: start; }
.out { background: #fff; border-radius: 14px; box-shadow: var(--shadow); padding: 8px; border: 1px solid var(--line); min-width: 0; }
.out--wide { grid-column: 1 / -1; }
.out-cap { font-size: 11px; font-weight: 700; color: var(--navy); margin-top: 7px; letter-spacing: .04em; line-height: 1.4; padding: 0 2px; }
.out-cap small { display: block; font-weight: 500; color: var(--muted); font-size: 10px; letter-spacing: .02em; }
.outputs .vf-ill { margin: 0; }
.outputs .vf-ill .ill-ar { stroke: var(--sky); stroke-width: 4; }
.outputs .vf-ill .ill-bg { fill: #eef6fc; stroke: none; }
.outputs .vf-ill .ill-pin { fill: #ffd23f; stroke: var(--navy); }

/* ショート動画（9:16） */
.sv { container-type: inline-size; position: relative; aspect-ratio: 9 / 16; border-radius: 8px; overflow: hidden; color: var(--navy);
  background: radial-gradient(140% 70% at 50% 0%, #ffffff 0%, #eef6fc 55%, #d4e8f7 100%); }
.sv::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(17,40,66,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(17,40,66,.05) 1px, transparent 1px); background-size: 9cqw 9cqw; mask-image: linear-gradient(#000, transparent 70%); }
.sv-hook { position: absolute; left: 0; right: 0; top: 9cqw; margin: 0; text-align: center; font-weight: 900; font-size: clamp(13px, 12cqw, 26px); line-height: 1.22; letter-spacing: .02em; color: #fff;
  -webkit-text-stroke: .19em var(--navy); paint-order: stroke fill; text-shadow: 0 1cqw 0 rgba(17,40,66,.18); }
.sv-hook em { font-style: normal; color: #ffd23f; }
.sv-card { position: absolute; left: 7cqw; right: 7cqw; top: 46cqw; padding: 6cqw 4cqw 5cqw; border-radius: 5cqw; background: #fff; border: .6cqw solid #cfe3f2; box-shadow: 0 2cqw 5cqw -3cqw rgba(17,40,66,.45); display: flex; flex-direction: column; align-items: center; }
.sv-tag { position: absolute; top: -3.4cqw; right: -2cqw; padding: 1cqw 2.6cqw; border-radius: 1.4cqw; background: #ffd23f; color: var(--navy); font-size: clamp(7px, 5.4cqw, 11px); font-weight: 800; line-height: 1.3; transform: rotate(4deg); box-shadow: 0 1cqw 2cqw rgba(0,0,0,.18); }
.outputs .sv-ill { width: 64cqw; }
.sv-steps { display: flex; gap: 1.6cqw; margin-top: 3cqw; }
.sv-steps li { padding: .9cqw 2.4cqw; border-radius: 99cqw; background: #eef4f9; color: var(--muted); font-size: clamp(7px, 5.4cqw, 11px); font-weight: 800; line-height: 1.3; white-space: nowrap; }
.sv-steps li.is-on { background: var(--navy); color: #fff; box-shadow: 0 0 0 1cqw rgba(63,189,245,.35); }
.sv-sub { position: absolute; left: 0; right: 0; bottom: 37cqw; margin: 0; text-align: center; font-size: clamp(9px, 8cqw, 17px); font-weight: 900; letter-spacing: 0; color: #fff; line-height: 1.3;
  -webkit-text-stroke: .16em #0d1b2c; paint-order: stroke fill; text-shadow: 0 .6cqw 1.8cqw rgba(0,0,0,.5); }
.sv-sub em { font-style: normal; color: #ffd23f; }
.sv-ch { position: absolute; left: 6cqw; right: 6cqw; bottom: 12cqw; display: flex; align-items: center; gap: 2.4cqw; }
.sv-av { flex: none; width: 11cqw; height: 11cqw; border-radius: 50%; background: var(--navy); display: grid; place-items: center; }
.sv-av svg { width: 64%; height: 64%; fill: none; stroke: #fff; stroke-width: 2.2; stroke-linejoin: round; }
.sv-name { min-width: 0; font-size: clamp(7px, 5.6cqw, 11px); font-weight: 700; color: var(--navy); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sv-ch b { flex: none; margin-left: auto; padding: .8cqw 2.6cqw; border-radius: 99cqw; background: #0d1b2c; color: #fff; font-size: clamp(7px, 5cqw, 10px); font-weight: 700; line-height: 1.3; }
.sv-bar { position: absolute; left: 0; right: 0; bottom: 0; height: 1.8cqw; background: rgba(17,40,66,.14); }
.sv-bar i { position: absolute; left: 0; top: 0; bottom: 0; width: 38%; background: var(--sky); animation: svbar 6s linear infinite; }
@keyframes svbar { from { width: 8%; } to { width: 92%; } }

/* 記事の下書き */
.art { container-type: inline-size; position: relative; border-radius: 8px; background: #fff; border: 1px solid var(--line); padding: 7% 6% 6%; overflow: hidden; }
.art::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 4px; background: var(--navy); }
.art-meta { display: flex; align-items: center; justify-content: space-between; gap: 2cqw; }
.art-cat { padding: .6cqw 2.4cqw; border-radius: 99cqw; background: var(--sky-soft); color: var(--navy); font-size: clamp(8px, 4.4cqw, 11px); font-weight: 700; line-height: 1.4; white-space: nowrap; }
.art-tag { padding: .6cqw 2.4cqw; border-radius: 1.2cqw; background: #ffd23f; color: var(--navy); font-size: clamp(8px, 4.4cqw, 11px); font-weight: 800; line-height: 1.4; transform: rotate(3deg); white-space: nowrap; }
.art-h { margin: 3cqw 0 0; font-size: clamp(10.5px, 6.6cqw, 15px); font-weight: 800; line-height: 1.45; color: var(--navy); letter-spacing: .01em; word-break: auto-phrase; }
.outputs .art-fig { width: 100%; margin-top: 3.4cqw; }
.art-toc { margin-top: 3.4cqw; padding: 2.6cqw 3.6cqw; border-radius: 2cqw; background: var(--bg); border-left: 1cqw solid var(--sky); }
.art-toc b { display: block; font-size: clamp(8px, 4.4cqw, 11px); color: var(--navy); letter-spacing: .12em; line-height: 1.4; }
.art-toc ol { counter-reset: toc; margin-top: .6cqw; }
.art-toc li { counter-increment: toc; display: flex; gap: 1.6cqw; font-size: clamp(9px, 5cqw, 12px); font-weight: 600; line-height: 1.6; color: var(--ink); }
.art-toc li::before { content: counter(toc); flex: none; color: var(--sky); font-weight: 800; }
.art-body { margin: 3.4cqw 0 0; font-size: clamp(9px, 5cqw, 12px); line-height: 1.75; color: var(--ink); display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3; overflow: hidden;
  -webkit-mask-image: linear-gradient(#000 55%, transparent); mask-image: linear-gradient(#000 55%, transparent); }
@media (prefers-reduced-motion: reduce) { .sv-bar i { animation: none; } }
.viz-note { margin-top: 18px; text-align: right; font-size: 11px; color: var(--muted); }
@media (max-width: 1100px) and (min-width: 900px) { .phone { width: 170px; } }
@media (max-width: 899px) {
  .flowviz { grid-template-columns: 1fr; justify-items: center; gap: 6px; margin-top: 12px; }
  .flow-arrow svg { transform: rotate(90deg); }
  .phone { width: 172px; }
  .outputs { width: 100%; max-width: 520px; }
}

/* ---------- statement band ---------- */
.statement { padding: clamp(64px, 9vw, 120px) 0; background: var(--navy); color: #fff; position: relative; overflow: hidden; }
.statement p.big { font-family: var(--mincho); font-weight: 600; font-size: clamp(1.6rem, 1rem + 2.8vw, 3.2rem); line-height: 1.55; letter-spacing: .06em; word-break: auto-phrase; }
.statement p.big em { font-style: normal; color: var(--sky); }
.statement .lead { margin-top: 28px; max-width: 40em; }
.statement::after {
  content: ""; position: absolute; right: -60px; bottom: -80px; width: 420px; aspect-ratio: 120/100; opacity: .07;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 100'%3E%3Cpath fill='%23ffffff' d='M10 14 L46 50 L10 86 L28 86 L64 50 L28 14 Z'/%3E%3Cpath fill='%23ffffff' d='M50 14 L86 50 L50 86 L68 86 L104 50 L68 14 Z'/%3E%3C/svg%3E") no-repeat center/contain;
}

/* ---------- pain list ---------- */
.pain { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-top: 1px solid var(--line); }
.pain li { padding: clamp(26px, 3.4vw, 40px) clamp(0px, 2vw, 28px) clamp(26px, 3.4vw, 40px) 0; border-bottom: 1px solid var(--line); display: grid; grid-template-columns: 56px 1fr; gap: 6px 18px; }
.pain li:nth-child(odd) { border-right: 1px solid var(--line); }
.pain li:nth-child(even) { padding-left: clamp(20px, 3vw, 40px); }
.pain .num { font-family: var(--mincho); font-size: 30px; line-height: 1.2; color: var(--sky); font-weight: 600; }
.pain h3 { font-family: var(--mincho); font-weight: 600; font-size: clamp(1.15rem, 1rem + .5vw, 1.35rem); line-height: 1.6; color: var(--navy); }
.pain p { grid-column: 2; color: var(--muted); font-size: 15px; }
@media (max-width: 767px) {
  .pain { grid-template-columns: 1fr; }
  .pain li:nth-child(odd) { border-right: 0; }
  .pain li:nth-child(even) { padding-left: 0; }
  .pain li { grid-template-columns: 44px 1fr; }
}
.pain-answer { margin-top: clamp(48px, 6vw, 72px); display: grid; grid-template-columns: auto 1fr; gap: 24px 32px; align-items: center; padding: clamp(28px, 4vw, 44px); background: var(--bg); border-radius: var(--radius-lg); }
.pain-answer .h-sub { color: var(--navy); }
.pain-answer p { color: var(--muted); }
.pain-answer .ran { width: 110px; }
@media (max-width: 599px) { .pain-answer { grid-template-columns: 1fr; } .pain-answer .ran { width: 84px; } }

/* ---------- steps (how it works) ---------- */
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 2.4vw, 28px); counter-reset: step; position: relative; }
.step { background: #fff; border-radius: var(--radius-lg); padding: clamp(28px, 3vw, 40px) clamp(22px, 2.6vw, 34px); position: relative; border: 1px solid var(--line); }
.section--bg .step { border-color: transparent; box-shadow: 0 1px 2px rgba(17,40,66,.04); }
.step-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 22px; }
.step-no { font-family: var(--mincho); font-size: 14px; font-weight: 600; color: var(--muted); letter-spacing: .1em; }
.step-no b { font-size: 40px; color: var(--navy); font-weight: 600; margin-left: 4px; vertical-align: -4px; }
.step-ico { width: 58px; height: 58px; border-radius: 50%; background: var(--sky-soft); display: grid; place-items: center; color: var(--navy); }
.step-ico svg { width: 26px; height: 26px; }
.step h3 { font-family: var(--mincho); font-size: 1.3rem; line-height: 1.55; color: var(--navy); margin-bottom: 12px; }
.step p { font-size: 15px; color: var(--muted); }
.step .who { display: inline-block; margin-top: 16px; font-size: 12px; font-weight: 700; color: var(--navy); background: var(--bg); padding: 4px 12px; border-radius: 999px; }
.section--bg .step .who { background: var(--sky-soft); }
.step:not(:last-child)::after {
  content: ""; position: absolute; top: 50%; right: calc(clamp(16px, 2.4vw, 28px) / -2 - 9px); width: 18px; height: 18px; z-index: 2;
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 100'%3E%3Cpath fill='%233fbdf5' d='M30 14 L66 50 L30 86 L48 86 L84 50 L48 14 Z'/%3E%3C/svg%3E") no-repeat center/12px; border-radius: 50%; box-shadow: 0 0 0 1px var(--line);
}
@media (max-width: 899px) {
  .steps { grid-template-columns: 1fr; }
  .step:not(:last-child)::after { top: auto; bottom: -18px; right: 50%; transform: translateX(50%) rotate(90deg); }
}

/* ---------- plans ---------- */
.effort { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 14px; font-size: 12px; font-weight: 700; color: var(--muted); margin-bottom: 18px; letter-spacing: .08em; }
.effort::before { content: none; }
.effort .bar { height: 2px; background: linear-gradient(90deg, var(--line), var(--sky)); position: relative; }
.effort .bar::after { content: ""; position: absolute; right: -2px; top: -4px; border-left: 8px solid var(--sky); border-top: 5px solid transparent; border-bottom: 5px solid transparent; }
.plans { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(12px, 1.6vw, 20px); align-items: stretch; }
.plan {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 30px 24px 26px;
  display: flex; flex-direction: column; position: relative; transition: box-shadow .25s ease, transform .25s ease, border-color .25s;
}
.plan.is-picked { border-color: var(--sky); box-shadow: 0 0 0 3px var(--sky), var(--shadow-lg); }
.plan-kind { font-size: 11px; letter-spacing: .16em; font-weight: 700; color: var(--muted); }
.plan h3 { font-family: var(--mincho); font-size: 1.42rem; line-height: 1.4; color: var(--navy); margin: 8px 0 4px; letter-spacing: .03em; }
.plan h3 small { font-size: .72em; }
.plan .tagline { font-size: 14px; color: var(--muted); line-height: 1.75; min-height: 3.5em; }
.price { margin: 18px 0 6px; padding: 16px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); display: flex; align-items: baseline; gap: 4px; color: var(--navy); white-space: nowrap; }
.price .pre { font-size: 14px; font-weight: 700; }
.price .num { font-family: var(--mincho); font-weight: 700; font-size: 2.6rem; line-height: 1; letter-spacing: 0; }
.price .unit { font-size: 15px; font-weight: 700; }
.price .tax { font-size: 11px; color: var(--muted); margin-left: auto; font-weight: 500; }
.plan .you { font-size: 13px; background: var(--bg); border-radius: 10px; padding: 10px 12px; margin: 12px 0 16px; line-height: 1.6; }
.plan .you b { display: block; font-size: 11px; letter-spacing: .1em; color: var(--muted); margin-bottom: 2px; }
.plan .you span { font-weight: 700; color: var(--navy); }
.checks li { position: relative; padding-left: 22px; font-size: 14px; line-height: 1.7; margin-bottom: 8px; }
.checks li::before { content: ""; position: absolute; left: 2px; top: .58em; width: 10px; height: 6px; border-left: 2px solid var(--sky); border-bottom: 2px solid var(--sky); transform: rotate(-45deg); }
.checks li small { display: block; color: var(--muted); font-size: 12px; }
.plan .post { margin-top: auto; padding-top: 14px; font-size: 12px; font-weight: 700; color: var(--navy); display: flex; gap: 6px; align-items: center; }
.plan .post::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--sky); }
.plan--dark { background: var(--navy); color: #fff; border-color: var(--navy); }
.plan--dark h3, .plan--dark .price { color: #fff; }
.plan--dark .plan-kind, .plan--dark .tagline, .plan--dark .price .tax { color: rgba(255,255,255,.7); }
.plan--dark .price { border-color: rgba(255,255,255,.18); }
.plan--dark .you { background: rgba(255,255,255,.08); }
.plan--dark .you b { color: rgba(255,255,255,.65); }
.plan--dark .you span, .plan--dark .post { color: #fff; }
.plan--dark .checks li small { color: rgba(255,255,255,.65); }
@media (max-width: 1100px) { .plans { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 599px) { .plans { grid-template-columns: 1fr; } .plan .tagline { min-height: 0; } }
.plan-group { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(12px, 1.6vw, 20px); margin-bottom: 14px; font-size: 12.5px; font-weight: 700; color: var(--navy); letter-spacing: .06em; }
.plan-group div { border-top: 2px solid var(--navy); padding-top: 10px; }
.plan-group div:last-child { border-top-color: var(--sky); }
.plan-group span { display: block; font-weight: 500; color: var(--muted); font-size: 12px; }
@media (max-width: 1100px) { .plan-group { display: none; } }
.plan-foot { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 10px 28px; font-size: 14px; color: var(--muted); }
.plan-foot li { display: flex; gap: 8px; align-items: baseline; }
.plan-foot li::before { content: "＞"; color: var(--sky); font-weight: 700; font-size: 12px; }

/* compare table */
.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; border-radius: var(--radius); border: 1px solid var(--line); background: #fff; }
.compare { width: 100%; min-width: 760px; border-collapse: collapse; font-size: 14px; }
.compare th, .compare td { padding: 16px 18px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; line-height: 1.7; }
.compare thead th { background: var(--navy); color: #fff; font-family: var(--mincho); font-size: 16px; font-weight: 600; white-space: nowrap; }
.compare thead th:first-child { position: sticky; left: 0; z-index: 2; background: var(--navy-2); font-family: var(--sans); font-size: 12px; letter-spacing: .1em; }
.compare tbody th { position: sticky; left: 0; z-index: 1; width: 170px; font-weight: 700; color: var(--navy); background: var(--bg); font-size: 13px; }
.compare tr:last-child th, .compare tr:last-child td { border-bottom: 0; }
.compare .yes { color: var(--navy); font-weight: 700; }
.compare .no { color: #8a96a5; }
.compare .pr { font-family: var(--mincho); font-size: 20px; font-weight: 700; color: var(--navy); white-space: nowrap; }
.scroll-hint { display: none; font-size: 12px; color: var(--muted); margin: 0 0 8px; }
@media (max-width: 799px) { .scroll-hint { display: block; } }

/* ---------- picker ---------- */
.picker { background: #fff; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); overflow: hidden; display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); }
.picker-side { background: var(--navy); color: #fff; padding: clamp(28px, 4vw, 52px); position: relative; }
.picker-side .h-sub { color: #fff; }
.picker-side p { color: rgba(255,255,255,.75); font-size: 15px; margin-top: 14px; }
.picker-side .ran { position: absolute; right: 22px; bottom: 0; width: 120px; }
.picker-main { padding: clamp(28px, 4vw, 52px); min-height: 360px; }
.q { display: none; }
.q.is-active { display: block; animation: rise .4s ease both; }
.q-no { font-size: 12px; font-weight: 700; letter-spacing: .2em; color: var(--muted); }
.q h3 { font-family: var(--mincho); font-size: clamp(1.2rem, 1rem + .8vw, 1.5rem); color: var(--navy); line-height: 1.6; margin: 8px 0 22px; }
.q-opts { display: grid; gap: 12px; }
.q-opts button {
  display: flex; align-items: center; justify-content: space-between; gap: 12px; width: 100%; text-align: left;
  padding: 18px 20px; border-radius: 14px; border: 1.5px solid var(--line); background: #fff; cursor: pointer; font-weight: 700; font-size: 15.5px; color: var(--navy); line-height: 1.5;
  transition: border-color .15s, background-color .15s;
}
.q-opts button small { display: block; font-weight: 500; font-size: 12.5px; color: var(--muted); margin-top: 2px; }
.q-opts button::after { content: ""; flex: none; width: 9px; height: 9px; border-top: 2px solid var(--sky); border-right: 2px solid var(--sky); transform: rotate(45deg); }
@media (hover: hover) { .q-opts button:hover { border-color: var(--sky); background: var(--sky-soft); } }
.q-back { margin-top: 18px; background: none; border: 0; color: var(--muted); font-size: 13px; cursor: pointer; text-decoration: underline; padding: 6px 0; }
.result-plan { font-family: var(--mincho); font-size: clamp(1.7rem, 1.2rem + 1.6vw, 2.3rem); font-weight: 700; color: var(--navy); line-height: 1.35; margin: 6px 0 4px; }
.result-price { font-weight: 700; color: var(--navy); }
.result-why { margin: 16px 0 22px; font-size: 15px; color: var(--muted); }
.result .btn-row { margin-top: 8px; }
@media (max-width: 899px) { .picker { grid-template-columns: 1fr; } .picker-side .ran { width: 64px; right: 14px; } .picker-side { padding-right: 88px; } .picker-main { min-height: 0; } }

/* ---------- included / feature grid ---------- */
.features { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; }
.feature { background: #fff; padding: clamp(26px, 3vw, 38px); }
.feature .f-ico { width: 44px; height: 44px; color: var(--navy); margin-bottom: 18px; }
.feature h3 { font-family: var(--mincho); font-size: 1.2rem; color: var(--navy); line-height: 1.55; margin-bottom: 10px; }
.feature p { font-size: 14.5px; color: var(--muted); }
.feature .tag { display: inline-block; font-size: 11px; font-weight: 700; letter-spacing: .06em; color: var(--navy); background: var(--sky-soft); border-radius: 999px; padding: 2px 10px; margin-bottom: 12px; }
@media (max-width: 899px) { .features { grid-template-columns: 1fr 1fr; } }
@media (max-width: 599px) { .features { grid-template-columns: 1fr; } }

/* ---------- notebook mockup ---------- */
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(36px, 6vw, 96px); align-items: center; }
.split--rev > :first-child { order: 2; }
@media (max-width: 899px) { .split { grid-template-columns: 1fr; } .split--rev > :first-child { order: 0; } }
.browser { border-radius: 16px; background: #fff; box-shadow: var(--shadow-lg); overflow: hidden; border: 1px solid var(--line); }
.browser-bar { height: 34px; background: #eef1f5; display: flex; align-items: center; gap: 7px; padding: 0 14px; }
.browser-bar i { width: 10px; height: 10px; border-radius: 50%; background: #cfd6df; }
.browser-bar span { margin-left: 14px; flex: 1; height: 18px; border-radius: 9px; background: #fff; font-size: 10px; color: var(--muted); display: flex; align-items: center; padding: 0 10px; letter-spacing: 0; overflow: hidden; white-space: nowrap; }
.nb { display: grid; grid-template-columns: 34% 1fr; min-height: 340px; }
.nb-side { background: var(--navy); color: #fff; padding: 18px 14px; font-size: 11.5px; }
.nb-side .nb-logo { display: flex; align-items: center; gap: 6px; font-weight: 800; font-size: 12px; margin-bottom: 4px; }
.nb-side .nb-logo svg { width: 20px; height: 17px; }
.nb-side .nb-title { font-family: var(--mincho); font-size: 13px; margin-bottom: 14px; color: rgba(255,255,255,.85); }
.nb-side li { padding: 6px 8px; border-radius: 6px; color: rgba(255,255,255,.78); line-height: 1.4; }
.nb-side li.on { background: rgba(255,255,255,.1); color: #fff; box-shadow: inset 2px 0 0 var(--sky); }
.nb-paper {
  background-color: var(--paper);
  background-image: repeating-linear-gradient(transparent 0 31px, #ece5d6 31px 32px);
  padding: 20px 20px 24px;
}
.nb-paper .nb-h { font-family: var(--mincho); font-weight: 700; color: var(--navy); font-size: 17px; line-height: 1.5; }
.nb-paper .nb-meta { font-size: 10.5px; color: var(--muted); margin: 4px 0 14px; }
.nb-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.nb-card { background: #fff; border-radius: 8px; padding: 10px 10px 9px; border: 1px solid #ebe5d8; }
.nb-card b { display: block; font-family: var(--mincho); font-size: 12px; color: var(--navy); line-height: 1.35; }
.nb-card span { display: block; font-size: 9.5px; color: var(--muted); line-height: 1.5; margin-top: 2px; letter-spacing: 0; }
.nb-card .pg { height: 4px; border-radius: 2px; background: #eef1f5; margin-top: 8px; overflow: hidden; }
.nb-card .pg i { display: block; height: 100%; background: var(--sky); width: var(--p, 30%); }
@media (max-width: 599px) {
  .nb { grid-template-columns: 1fr; min-height: 0; }
  .nb-side { display: flex; gap: 8px; align-items: center; padding: 12px 14px; }
  .nb-side ul, .nb-side .nb-title { display: none; }
}

/* ---------- record / track ---------- */
.record { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid rgba(255,255,255,.18); border-bottom: 1px solid rgba(255,255,255,.18); }
.record > div { padding: clamp(28px, 4vw, 48px) 12px; text-align: center; }
.record > div + div { border-left: 1px solid rgba(255,255,255,.18); }
.record .r-num { font-family: var(--mincho); font-weight: 700; font-size: clamp(2.4rem, 1.6rem + 3vw, 4.4rem); line-height: 1; letter-spacing: .02em; white-space: nowrap; }
.record .r-num small { font-size: .38em; margin-left: 4px; letter-spacing: .06em; }
.record .r-cap { margin-top: 14px; font-size: 13px; color: rgba(255,255,255,.72); letter-spacing: .1em; }
.section:not(.section--navy) .record { border-color: var(--line); }
.section:not(.section--navy) .record > div + div { border-color: var(--line); }
.section:not(.section--navy) .record .r-num { color: var(--navy); }
.section:not(.section--navy) .record .r-cap { color: var(--muted); }
@media (max-width: 599px) {
  .record { grid-template-columns: 1fr; }
  .record > div { display: flex; align-items: baseline; justify-content: space-between; text-align: left; padding: 20px 4px; }
  .record > div + div { border-left: 0; border-top: 1px solid rgba(255,255,255,.18); }
  .section:not(.section--navy) .record > div + div { border-top-color: var(--line); }
  .record .r-cap { margin: 0; order: -1; }
}
.record-note { margin-top: 18px; font-size: 12.5px; color: rgba(255,255,255,.65); }
.section:not(.section--navy) .record-note { color: var(--muted); }

/* ---------- principles ---------- */
.principles { counter-reset: pr; display: grid; gap: 0; border-top: 1px solid var(--line); }
.principles li { display: grid; grid-template-columns: 120px minmax(0, .9fr) minmax(0, 1.1fr); gap: 16px 40px; padding: clamp(28px, 4vw, 44px) 0; border-bottom: 1px solid var(--line); align-items: start; }
.principles .p-no { font-family: var(--mincho); font-size: 13px; letter-spacing: .2em; color: var(--muted); }
.principles .p-no b { display: block; font-size: 44px; line-height: 1.1; color: var(--sky); letter-spacing: 0; font-weight: 600; }
.principles h3 { font-family: var(--mincho); font-size: clamp(1.25rem, 1rem + .8vw, 1.6rem); line-height: 1.6; color: var(--navy); }
.principles p { color: var(--muted); font-size: 15px; }
@media (max-width: 899px) { .principles li { grid-template-columns: 1fr; gap: 10px; } .principles .p-no b { display: inline; font-size: 30px; margin-right: 8px; } }

/* ---------- flow (timeline) ---------- */
.timeline { position: relative; display: grid; gap: 0; }
.timeline li { display: grid; grid-template-columns: 72px 1fr; gap: 0 22px; position: relative; padding-bottom: 34px; }
.timeline li:last-child { padding-bottom: 0; }
.timeline li::before { content: ""; position: absolute; left: 35px; top: 56px; bottom: 0; width: 1.5px; background: repeating-linear-gradient(var(--sky) 0 6px, transparent 6px 12px); }
.timeline li:last-child::before { content: none; }
.t-badge { position: relative; z-index: 1; width: 72px; height: 72px; border-radius: 50%; border: 1.5px solid var(--navy); display: grid; place-items: center; text-align: center; background: #fff; font-family: var(--mincho); color: var(--navy); line-height: 1; }
.t-badge small { display: block; font-family: var(--sans); font-size: 9px; letter-spacing: .16em; font-weight: 700; color: var(--muted); }
.t-badge b { font-size: 24px; font-weight: 700; }
.timeline li.is-line .t-badge { background: var(--navy); color: #fff; border-color: var(--navy); }
.timeline li.is-line .t-badge small { color: var(--sky); }
.t-body { padding-top: 10px; }
.t-body h3 { font-family: var(--mincho); font-size: 1.25rem; color: var(--navy); line-height: 1.55; }
.t-body p { color: var(--muted); font-size: 15px; margin-top: 6px; }
.t-body .t-meta { display: inline-block; margin-top: 10px; font-size: 12px; font-weight: 700; color: var(--navy); background: var(--sky-soft); border-radius: 999px; padding: 3px 12px; }
.section--bg .t-badge { background: var(--bg); }
@media (max-width: 599px) {
  .timeline li { grid-template-columns: 56px 1fr; gap: 0 16px; }
  .t-badge { width: 56px; height: 56px; } .t-badge b { font-size: 19px; }
  .timeline li::before { left: 27px; top: 60px; }
  .t-body { padding-top: 4px; }
}

/* ---------- FAQ ---------- */
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: grid; grid-template-columns: 34px 1fr 24px; gap: 14px; align-items: start; padding: 24px 4px; font-weight: 700; color: var(--navy); font-size: 16px; line-height: 1.7; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::before { content: "Q"; font-family: var(--mincho); font-size: 22px; line-height: 1.2; color: var(--sky); font-weight: 700; }
.faq summary::after { content: ""; width: 14px; height: 14px; margin-top: 6px; justify-self: end; background: linear-gradient(var(--navy), var(--navy)) center/14px 2px no-repeat, linear-gradient(var(--navy), var(--navy)) center/2px 14px no-repeat; transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq .a { display: grid; grid-template-columns: 34px 1fr; gap: 14px; padding: 0 4px 26px; color: var(--muted); font-size: 15px; }
.faq .a::before { content: "A"; font-family: var(--mincho); font-size: 22px; line-height: 1.2; color: var(--navy); font-weight: 700; }
@media (max-width: 599px) { .faq summary { font-size: 15px; grid-template-columns: 26px 1fr 18px; gap: 10px; } .faq .a { grid-template-columns: 26px 1fr; gap: 10px; } }

/* ---------- CTA block ---------- */
.cta-block { background: var(--navy); color: #fff; border-radius: clamp(20px, 3vw, 32px); padding: clamp(36px, 6vw, 80px); display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); gap: clamp(28px, 5vw, 72px); align-items: center; position: relative; overflow: hidden; }
.cta-block::before {
  content: ""; position: absolute; left: -120px; top: -120px; width: 460px; aspect-ratio: 120 / 100; opacity: .06;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 100'%3E%3Cpath fill='%23ffffff' d='M10 14 L46 50 L10 86 L28 86 L64 50 L28 14 Z'/%3E%3Cpath fill='%23ffffff' d='M50 14 L86 50 L50 86 L68 86 L104 50 L68 14 Z'/%3E%3C/svg%3E") no-repeat center/contain;
}
.cta-block > * { position: relative; }
.cta-block .eyebrow { color: #fff; }
.cta-block .eyebrow span { color: rgba(255,255,255,.7); }
.cta-block .eyebrow::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 100'%3E%3Cpath fill='%23ffffff' d='M10 14 L46 50 L10 86 L28 86 L64 50 L28 14 Z'/%3E%3Cpath fill='%233fbdf5' d='M50 14 L86 50 L50 86 L68 86 L104 50 L68 14 Z'/%3E%3C/svg%3E"); }
.cta-block .h-section { color: #fff; }
.cta-block .lead { color: rgba(255,255,255,.78); margin-top: 20px; }
.cta-block .btn-row { margin-top: 34px; }
.line-menu { margin-top: 30px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; max-width: 600px; }
.line-menu li { font-size: 12.5px; font-weight: 700; padding: 10px 4px; letter-spacing: 0; border: 1px solid rgba(255,255,255,.2); border-radius: 10px; text-align: center; line-height: 1.45; color: rgba(255,255,255,.92); }
.line-menu li.hl { background: var(--sky); color: var(--navy); border-color: var(--sky); }
.line-menu-cap { margin-top: 30px; font-size: 12px; letter-spacing: .14em; color: rgba(255,255,255,.65); font-weight: 700; }
.line-menu-cap + .line-menu { margin-top: 10px; }
@media (max-width: 599px) { .line-menu { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.qr-card { background: #fff; color: var(--navy); border-radius: 22px; padding: 26px; text-align: center; max-width: 300px; justify-self: end; width: 100%; position: relative; }
.qr-card img { width: 100%; max-width: 200px; margin: 0 auto; image-rendering: pixelated; }
.qr-card .qr-cap { font-size: 13px; font-weight: 700; margin-top: 14px; line-height: 1.6; }
.qr-card .qr-cap small { display: block; font-weight: 500; color: var(--muted); font-size: 11.5px; }
.qr-card .ran { position: absolute; width: 78px; left: -52px; bottom: -6px; }
@media (max-width: 599px) { .cta-block { padding: 36px 22px; } }
@media (max-width: 899px) {
  .cta-block { grid-template-columns: 1fr; }
  .qr-card { display: none; }
}
.cta-sp-ran { display: none; }

/* ---------- page hero (sub pages) ---------- */
.page-hero { padding: clamp(48px, 8vw, 110px) 0 clamp(48px, 7vw, 90px); background: var(--bg); position: relative; overflow: hidden; }
.page-hero::after {
  content: ""; position: absolute; right: -60px; bottom: -40px; width: min(520px, 70vw); aspect-ratio: 120 / 100;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 100'%3E%3Cpath fill='%23ebeff4' d='M10 14 L46 50 L10 86 L28 86 L64 50 L28 14 Z'/%3E%3Cpath fill='%23def3fd' d='M50 14 L86 50 L50 86 L68 86 L104 50 L68 14 Z'/%3E%3C/svg%3E") no-repeat center/contain;
}
.page-hero .wrap { position: relative; z-index: 1; }
.page-hero h1 { font-family: var(--mincho); font-weight: 600; font-size: clamp(2rem, 1.2rem + 3.4vw, 3.8rem); line-height: 1.45; letter-spacing: .05em; color: var(--navy); word-break: auto-phrase; }
.page-hero .lead { margin-top: 24px; max-width: 38em; }
.crumbs { font-size: 12px; color: var(--muted); margin-bottom: 26px; display: flex; gap: 8px; }
.crumbs a { color: var(--muted); }
.page-nav { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 34px; }
.page-nav a { font-size: 13px; font-weight: 700; text-decoration: none; color: var(--navy); background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 8px 16px; }
@media (hover: hover) { .page-nav a:hover { border-color: var(--sky); } }

/* ---------- info table (about) ---------- */
.info { width: 100%; border-collapse: collapse; font-size: 15px; }
.info th, .info td { padding: 20px 8px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; line-height: 1.8; }
.info th { width: 30%; color: var(--navy); font-weight: 700; font-size: 14px; }
.info tr:first-child th, .info tr:first-child td { border-top: 1px solid var(--navy); }
.ph { background: #fff6d6; color: #6b5300; padding: 1px 6px; border-radius: 4px; font-size: .92em; }
@media (max-width: 599px) { .info th, .info td { display: block; width: 100%; padding: 4px 0; border: 0; } .info th { padding-top: 18px; } .info td { padding-bottom: 18px; border-bottom: 1px solid var(--line); } .info tr:first-child th { border-top: 1px solid var(--navy); } .info tr:first-child td { border-top: 0; } }

/* ---------- misc cards ---------- */
.cards-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(14px, 2vw, 24px); }
.cards-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(14px, 2vw, 24px); }
@media (max-width: 899px) { .cards-3 { grid-template-columns: 1fr; } }
@media (max-width: 767px) { .cards-2 { grid-template-columns: 1fr; } }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(24px, 3vw, 36px); }
.section--bg .card { border-color: transparent; }
.card h3 { font-family: var(--mincho); font-size: 1.2rem; color: var(--navy); line-height: 1.6; margin-bottom: 10px; }
.card p { font-size: 15px; color: var(--muted); }
.card .card-label { font-size: 11px; letter-spacing: .18em; font-weight: 700; color: var(--muted); margin-bottom: 8px; display: block; }
.shelves { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.shelf { background: #fff; border-radius: 14px; padding: 20px 20px 18px; border: 1px solid #ebe5d8; position: relative; }
.shelf .s-no { font-family: var(--mincho); color: var(--sky); font-weight: 700; font-size: 14px; }
.shelf h3 { font-family: var(--mincho); font-size: 1.1rem; color: var(--navy); margin: 2px 0 6px; }
.shelf p { font-size: 13.5px; color: var(--muted); line-height: 1.75; }
.shelf--guide { background: var(--navy); border-color: var(--navy); }
.shelf--guide h3 { color: #fff; } .shelf--guide p { color: rgba(255,255,255,.75); } .shelf--guide .s-no { color: var(--sky); }
@media (max-width: 899px) { .shelves { grid-template-columns: 1fr 1fr; } }
@media (max-width: 599px) { .shelves { grid-template-columns: 1fr; } }

.callout { border-left: 3px solid var(--sky); background: var(--bg); padding: 18px 22px; border-radius: 0 12px 12px 0; font-size: 14.5px; color: var(--ink); }
.callout b { color: var(--navy); }

/* contact page */
.contact-hero { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: clamp(28px, 5vw, 72px); align-items: center; }
.contact-hero .qr-card { justify-self: center; display: block; box-shadow: var(--shadow-lg); }
@media (max-width: 899px) { .contact-hero { grid-template-columns: 1fr; } .contact-hero .qr-card { display: none; } }
.menu-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.menu-grid li { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 22px 20px; }
.menu-grid li b { display: block; font-family: var(--mincho); color: var(--navy); font-size: 1.1rem; margin-bottom: 4px; }
.menu-grid li span { font-size: 13.5px; color: var(--muted); line-height: 1.75; display: block; }
.menu-grid li.hl { border-color: var(--sky); box-shadow: 0 0 0 1px var(--sky); }
@media (max-width: 899px) { .menu-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 499px) { .menu-grid { grid-template-columns: 1fr; } }
/* LINEメニュー4項目（2026-12-03）：2列×2段でそろえる */
@media (min-width: 900px) { .menu-grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.cta-block .lead, .contact-hero .lead, .menu-grid li span, .t-body p { word-break: auto-phrase; }

/* ---------- footer ---------- */
.site-footer { background: #0c1d31; color: rgba(255,255,255,.78); padding: clamp(56px, 7vw, 88px) 0 40px; font-size: 14px; }
.site-footer .wrap { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr) minmax(0, 1fr); gap: 36px; }
.site-footer .logo { color: #fff; }
.site-footer .logo small { color: rgba(255,255,255,.6); }
.f-copy { margin-top: 20px; font-family: var(--mincho); font-size: 17px; color: #fff; line-height: 1.7; }
.f-sub { font-size: 12.5px; color: rgba(255,255,255,.6); margin-top: 6px; }
.f-nav h2 { font-size: 11px; letter-spacing: .22em; color: rgba(255,255,255,.5); font-weight: 700; margin-bottom: 14px; }
.f-nav li { margin-bottom: 10px; }
.f-nav a { text-decoration: none; color: rgba(255,255,255,.86); }
@media (hover: hover) { .f-nav a:hover { color: var(--sky); } }
.f-bottom { grid-column: 1 / -1; border-top: 1px solid rgba(255,255,255,.12); padding-top: 26px; margin-top: 12px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; font-size: 12px; color: rgba(255,255,255,.55); }
@media (max-width: 767px) { .site-footer .wrap { grid-template-columns: 1fr 1fr; } .f-brand { grid-column: 1 / -1; } }

/* ---------- sticky phone CTA ---------- */
.sticky-cta { display: none; }
@media (max-width: 767px) {
  .sticky-cta {
    display: block; position: fixed; left: 0; right: 0; bottom: 0; z-index: 90;
    padding: 10px 12px calc(10px + env(safe-area-inset-bottom)); background: rgba(255,255,255,.94);
    backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-top: 1px solid var(--line);
    transition: transform .25s ease;
  }
  .sticky-cta.is-hidden { transform: translateY(110%); }
  .sticky-cta .btn { --bh: 54px; width: 100%; font-size: 15.5px; padding: 0 16px; }
  .sticky-cta .btn-sub { font-size: 11px; }
  body { padding-bottom: 76px; }
  .menu-open .sticky-cta { display: none; }
}

/* reveal (progressive) */
.js .rv { opacity: 0; transform: translateY(18px); transition: opacity .8s ease, transform .8s cubic-bezier(.2,.7,.2,1); }
.js .rv.is-in { opacity: 1; transform: none; }

/* utility */
.mt-s { margin-top: 16px; } .mt-m { margin-top: 32px; } .mt-l { margin-top: 56px; } .mt-xl { margin-top: clamp(56px, 8vw, 96px); }
.center { text-align: center; }
.navy { color: var(--navy); }
.hide-sp { } @media (max-width: 599px) { .hide-sp { display: none !important; } }

/* video frame mock (talk plans) */
/* 通常動画（横型）のイメージ（2026-12-02 作り直し：AI動画編集くんの本番と同じ作り。章の見出し・全画面の図解・強調の札・白字に縁と影の字幕） */
.player { border-radius: 16px; overflow: hidden; background: #0b1726; box-shadow: var(--shadow-lg); }
.vf { container-type: inline-size; position: relative; aspect-ratio: 16 / 9; overflow: hidden;
  background: radial-gradient(120% 90% at 50% 0%, #ffffff 0%, #eef6fc 55%, #dcecf8 100%); color: var(--navy); }
.vf::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(17,40,66,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(17,40,66,.05) 1px, transparent 1px); background-size: 4cqw 4cqw; mask-image: linear-gradient(#000, transparent 75%); }
.vf-chap { position: absolute; left: 3.2cqw; top: 3.4cqw; display: flex; align-items: stretch; border-radius: .7cqw; overflow: hidden; box-shadow: 0 .4cqw 1.2cqw rgba(17,40,66,.18); font-weight: 700; }
.vf-chap b { background: var(--navy); color: #fff; padding: .7cqw 1.3cqw; font-size: 1.9cqw; letter-spacing: .08em; }
.vf-chap span { background: #fff; padding: .7cqw 1.5cqw; font-size: 1.9cqw; letter-spacing: .04em; border: .2cqw solid var(--navy); border-left: 0; border-radius: 0 .7cqw .7cqw 0; }
.vf-voice { position: absolute; right: 3.2cqw; top: 3.6cqw; display: flex; align-items: center; gap: .5cqw; padding: .6cqw 1.3cqw .6cqw 1cqw; border-radius: 99cqw; background: rgba(17,40,66,.88); color: #fff; font-size: 1.45cqw; font-weight: 700; }
.vf-voice svg { width: 2cqw; height: 2cqw; fill: none; stroke: var(--sky); stroke-width: 2; stroke-linecap: round; }
.vf-voice span { margin-right: .4cqw; }
.vf-voice i { width: .32cqw; border-radius: 1cqw; background: var(--sky); animation: vfwave 1.1s ease-in-out infinite; }
.vf-voice i:nth-of-type(1) { height: 1cqw; } .vf-voice i:nth-of-type(2) { height: 1.8cqw; animation-delay: .15s; } .vf-voice i:nth-of-type(3) { height: 1.3cqw; animation-delay: .3s; } .vf-voice i:nth-of-type(4) { height: 2cqw; animation-delay: .45s; } .vf-voice i:nth-of-type(5) { height: 1.1cqw; animation-delay: .6s; }
@keyframes vfwave { 50% { transform: scaleY(.45); } }
.vf-steps { position: absolute; left: 4cqw; right: 4cqw; top: 13cqw; display: flex; align-items: center; justify-content: center; gap: 1.2cqw; list-style: none; margin: 0; padding: 0; }
.vf-step { position: relative; flex: 0 0 25cqw; display: flex; flex-direction: column; align-items: center; padding: 2.4cqw 1.4cqw 2.2cqw; border-radius: 1.6cqw; background: #fff; border: .18cqw solid #cfe3f2; box-shadow: 0 .6cqw 1.8cqw -1cqw rgba(17,40,66,.35); text-align: center; }
.vf-no { position: absolute; left: 1.2cqw; top: 1cqw; font: 700 1.7cqw/1 var(--sans); color: var(--sky); letter-spacing: .04em; }
.vf-ill { width: 16cqw; height: auto; margin-bottom: .8cqw; }
.vf-step b { font-size: 2.8cqw; letter-spacing: .06em; line-height: 1.3; }
.vf-step small { margin-top: .4cqw; font-size: 1.6cqw; font-weight: 700; color: var(--muted); }
.vf-step--hl { flex-basis: 28cqw; background: var(--navy); border-color: var(--navy); color: #fff; transform: translateY(-.6cqw); box-shadow: 0 1.4cqw 3cqw -1.2cqw rgba(17,40,66,.7), 0 0 0 .5cqw rgba(63,189,245,.35); }
.vf-step--hl small { color: #bfe6fb; }
.vf-tag { position: absolute; top: -1.7cqw; right: -1cqw; padding: .5cqw 1.1cqw; border-radius: .6cqw; background: #ffd23f; color: var(--navy); font-size: 1.5cqw; font-weight: 800; transform: rotate(4deg); box-shadow: 0 .4cqw 1cqw rgba(0,0,0,.2); }
.vf-arrow svg { width: 2.6cqw; height: 2.6cqw; fill: none; stroke: var(--sky); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
/* 線画のイラスト（ネイビーの線と水色の面） */
.vf-ill * { fill: none; stroke: var(--navy); stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
.vf-ill .ill-g { stroke: #9fb4c8; }
.vf-ill .ill-f, .vf-ill .ill-paper { fill: #e6f6fe; }
.vf-ill .ill-w { fill: #fff; } .vf-ill .ill-d { fill: #fff; }
.vf-ill .ill-lens { fill: rgba(255,255,255,.85); stroke: var(--sky); stroke-width: 3; }
.vf-ill .ill-s2 { stroke: var(--sky); stroke-width: 4; }
.vf-ill .ill-crack { stroke: #e2603a; stroke-width: 2.2; }
.vf-ill .ill-yen { fill: var(--sky); stroke: none; } .vf-ill .ill-yen-m { stroke: #fff; stroke-width: 2.4; }
.vf-step--hl .vf-ill * { stroke: #fff; }
.vf-step--hl .vf-ill .ill-paper { fill: rgba(63,189,245,.22); stroke: #fff; }
.vf-step--hl .vf-ill .ill-plan { stroke: #bfe6fb; stroke-width: 2.2; }
.vf-step--hl .vf-ill .ill-pin { fill: #ffd23f; stroke: none; }
.vf-step--hl .vf-ill .ill-pen { fill: var(--sky); stroke: #fff; }
/* 字幕：白字・細い暗い縁・濃い影（本番の通常字幕と同じ考え方） */
.vf-sub { position: absolute; left: 0; right: 0; bottom: 4.4cqw; margin: 0; text-align: center; font-size: 3.1cqw; font-weight: 800; letter-spacing: .04em; color: #fff;
  -webkit-text-stroke: .28cqw #0d1b2c; paint-order: stroke fill; text-shadow: 0 .25cqw .9cqw rgba(0,0,0,.55), 0 0 .5cqw rgba(0,0,0,.45); }
.vf-sub em { font-style: normal; color: #ffd23f; }
.vp-bar { display: flex; align-items: center; gap: 12px; padding: 10px 16px 12px; background: #0b1726; color: #cdd8e4; font: 600 12px var(--sans); }
.vp-play { width: 16px; height: 16px; fill: #fff; flex: none; }
.vp-time { flex: none; font-variant-numeric: tabular-nums; }
.vp-track { position: relative; flex: 1; height: 4px; border-radius: 2px; background: rgba(255,255,255,.22); }
.vp-done { position: absolute; left: 0; top: 0; bottom: 0; width: 44%; border-radius: 2px; background: var(--sky); }
.vp-mark { position: absolute; top: -1px; width: 2px; height: 6px; background: #0b1726; }
.vp-knob { position: absolute; left: 44%; top: 50%; width: 12px; height: 12px; margin: -6px 0 0 -6px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 3px rgba(63,189,245,.4); }
.vp-cc { flex: none; padding: 1px 6px; border: 1px solid #cdd8e4; border-radius: 3px; font-size: 11px; }
@media (prefers-reduced-motion: reduce) { .vf-voice i { animation: none; } }
.talk-points { display: grid; gap: 18px; margin-top: 30px; }
.talk-points li { display: grid; grid-template-columns: 44px 1fr; gap: 16px; align-items: start; }
.talk-points .tp-ico { width: 44px; height: 44px; border-radius: 12px; background: var(--sky-soft); color: var(--navy); display: grid; place-items: center; }
.talk-points .tp-ico svg { width: 22px; height: 22px; }
.talk-points b { display: block; color: var(--navy); font-size: 16px; margin-bottom: 2px; }
.talk-points span { color: var(--muted); font-size: 14.5px; line-height: 1.8; display: block; }

/* step cards: compact on phones */
@media (max-width: 599px) {
  .step { padding: 24px 22px; }
  .step-top { margin-bottom: 12px; }
  .step-no b { font-size: 32px; }
  .step-ico { width: 48px; height: 48px; }
}

/* round 2 */
h1, h2, h3, h4, .h-sub, .tagline, .q-opts, .faq summary, .line-menu li, .t-body h3, .callout b { word-break: auto-phrase; }
.btn-stack { white-space: nowrap; }
@media (max-width: 599px) {
  .btn--lg { --bh: 62px; padding: 0 22px; font-size: 16px; }
  .feature { display: grid; grid-template-columns: 34px 1fr; column-gap: 16px; padding: 24px 22px; }
  .feature .f-ico { width: 30px; height: 30px; margin: 2px 0 0; grid-row: 1 / span 3; }
  .feature .tag { justify-self: start; }
  .menu-grid li { padding: 18px 18px; }
  .compare tbody th { width: 116px; }
}
.flow-sticky { position: sticky; top: calc(var(--header-h) + 40px); }
.split--top { align-items: start; }
@media (max-width: 899px) { .flow-sticky { position: static; } }
.hero-copy .btn-row { gap: 18px 28px; }

/* mid-page CTA strip (LP) */
.cta-strip { display: flex; align-items: center; justify-content: space-between; gap: 20px 32px; padding: clamp(26px, 3.4vw, 40px) clamp(24px, 4vw, 48px); border-radius: var(--radius-lg); background: var(--sky-soft); border: 1px solid #cdeefd; }
.cta-strip .cs-title { font-family: var(--mincho); font-weight: 600; font-size: clamp(1.2rem, 1rem + .8vw, 1.55rem); color: var(--navy); line-height: 1.55; word-break: auto-phrase; }
.cta-strip .cs-sub { font-size: 14px; color: var(--muted); margin-top: 4px; }
@media (max-width: 899px) { .cta-strip { flex-direction: column; align-items: flex-start; } }
.lp-shoot { border-left: 4px solid var(--navy); }
.section--bg .lp-shoot { border-left-color: var(--navy); }

/* round 3 */
.btn-stack { white-space: normal; word-break: auto-phrase; }
.eyebrow { flex-wrap: wrap; row-gap: 6px; white-space: nowrap; }
.eyebrow span { white-space: normal; max-width: 100%; }
.hero { padding-bottom: clamp(48px, 6vw, 88px); }
@media (max-width: 899px) { .picker { grid-template-columns: minmax(0, 1fr); } }
.picker-main, .q, .result { min-width: 0; }
.menu-open .site-header { background: #fff; }
@media (max-width: 599px) {
  .btn, .btn--lg { padding: 0 20px; gap: 10px; font-size: 15px; letter-spacing: .02em; }
  .cta-strip .btn, .cta-block .btn--line { width: 100%; }
}

/* 発信ノートのページの見出しの右横のラン先生 */
.hero-title-row { display: flex; align-items: center; gap: clamp(32px, 6vw, 96px); }
.hero-title-row .hero-ran { width: clamp(78px, 9vw, 150px); height: auto; flex: none; filter: drop-shadow(0 10px 18px rgba(17,40,66,.16)); }

/* プライバシーポリシー */
.policy h2 { font-family: var(--mincho); color: var(--navy); font-size: clamp(1.2rem, 1rem + .8vw, 1.5rem); margin: 48px 0 14px; padding-bottom: 10px; border-bottom: 1px solid var(--line); }
.policy h2:first-child { margin-top: 0; }
.policy p, .policy li { line-height: 1.95; }
.policy ul { margin: 10px 0 0; padding-left: 1.3em; list-style: disc; }
.policy li::marker { color: var(--sky); }
.policy li { margin: 6px 0; }
.policy .info { margin: 14px 0; }
.policy h3 { color: var(--navy); font-size: 1.05rem; font-weight: 700; margin: 28px 0 8px; }
.policy ol { margin: 10px 0 0; padding-left: 1.5em; list-style: decimal; }
.policy ol ul { margin-top: 4px; }
.policy .terms-table th[scope="col"] { white-space: nowrap; }
.policy .terms-table { table-layout: auto; }
.policy .terms-table tr > :first-child { width: 10em; }
.policy .terms-table tr > :nth-child(2) { width: 8em; white-space: nowrap; }
.policy .terms-table td:last-child { min-width: 14em; }
.policy-date { margin-top: 48px; text-align: right; color: var(--muted); font-size: 14px; }

/* ===== 通常動画の見本・2026-12-03c ===== */
/* 再生バーの位置を見本ごとに変えられるように（--p） */
.vp-done { width: var(--p, 44%); }
.vp-knob { left: var(--p, 44%); }

/* ヒーローの「できあがるもの」の横型：工務店の見本をそのまま小さく。字は読める大きさを下限に、再生バーは細く */
.out--wide .player { border-radius: 8px; box-shadow: none; }
.out--wide .vf-chap b, .out--wide .vf-chap span { font-size: max(1.9cqw, 8px); }
.out--wide .vf-voice { font-size: max(1.45cqw, 7px); }
.out--wide .vf-voice svg { width: max(2cqw, 9px); height: max(2cqw, 9px); }
.out--wide .vf-no { font-size: max(1.7cqw, 7px); }
.out--wide .vf-step b { font-size: max(2.8cqw, 9.5px); }
.out--wide .vf-step small { font-size: max(1.6cqw, 7px); white-space: nowrap; }
.out--wide .vf-tag { font-size: max(1.5cqw, 7px); }
.out--wide .vf-sub { font-size: max(3.1cqw, 11px); }
@container (max-width: 440px) {
  .out--wide .vf-step small { display: none; }
  .out--wide .vf-steps { top: 14.5cqw; }
}
.out--wide .vp-bar { gap: 8px; padding: 5px 10px 6px; font-size: 10px; }
.out--wide .vp-play { width: 11px; height: 11px; }
.out--wide .vp-track { height: 3px; }
.out--wide .vp-mark { height: 5px; }
.out--wide .vp-knob { width: 8px; height: 8px; margin: -4px 0 0 -4px; box-shadow: 0 0 0 2px rgba(63,189,245,.4); }
.out--wide .vp-cc { font-size: 9px; padding: 0 4px; }

/* 見本の共通：小さな画面でも読める下限 */
.vf--mock .vf-chap b, .vf--mock .vf-chap span { font-size: max(1.9cqw, 8px); }
.vf--mock .vf-voice { font-size: max(1.45cqw, 7px); }
.vf--mock .vf-voice svg { width: max(2cqw, 9px); height: max(2cqw, 9px); }
.vf--mock .vf-sub { font-size: max(3.1cqw, 11px); }
.vf--mock .vf-tag { font-size: max(1.5cqw, 7px); z-index: 3; white-space: nowrap; }
/* 線画の追加の部品 */
.vf-ill .ill-ln { stroke: #9fb4c8; stroke-width: 2.4; }
.vf-ill .ill-sky { fill: var(--sky); stroke: none; }
.vf-ill .ill-soft { fill: #e6f6fe; }
.vf-ill .ill-wt { fill: #fff; }
.vf-ill .ill-ck { stroke: #fff; stroke-width: 3.2; }
.vf-ill .ill-band { fill: #ffd23f; stroke: none; }
.vf-ill .ill-hl { stroke: var(--sky); stroke-width: 3; }
.vf-ill .ill-thin { stroke-width: 1.6; }
.vf-ill text { stroke: none; fill: var(--navy); font-family: var(--sans); font-weight: 800; }

/* 案A：税理士事務所 くらべる図（これまで → これから） */
.vf-cmp { position: absolute; left: 6.5cqw; right: 6.5cqw; top: 14cqw; display: grid; grid-template-columns: minmax(0, 1fr) 11cqw minmax(0, 1fr); align-items: center; }
.vf-cmp-card { position: relative; display: flex; flex-direction: column; align-items: center; padding: 1.6cqw 1.8cqw 2cqw; border-radius: 1.6cqw; background: #fff; border: .18cqw solid #cfe3f2; box-shadow: 0 .6cqw 1.8cqw -1cqw rgba(17,40,66,.35); text-align: center; }
.vf-cmp-label { align-self: flex-start; padding: .45cqw 1.3cqw; border-radius: 99cqw; background: #edf1f5; color: var(--muted); font-size: max(1.6cqw, 7px); font-weight: 800; letter-spacing: .08em; line-height: 1.3; }
.vf-cmp .vf-ill { width: 17cqw; margin: .4cqw 0 .6cqw; }
.vf-cmp-card b { font-size: max(2.7cqw, 9px); letter-spacing: .04em; line-height: 1.3; white-space: nowrap; }
.vf-cmp-card small { margin-top: .5cqw; font-size: max(1.6cqw, 7px); font-weight: 700; color: var(--muted); line-height: 1.35; white-space: nowrap; }
.vf-cmp-card--old { background: #f7f9fb; border-color: #dde5ec; box-shadow: none; }
.vf-cmp-card--old b { color: #4a5d72; }
.vf-cmp-card--old .vf-ill * { stroke: #7d90a5; }
.vf-cmp-card--old .vf-ill .ill-paper { fill: #fff; }
.vf-cmp-card--old .vf-ill .ill-ln { stroke: #c3cfdb; }
.vf-cmp-card--new { background: var(--navy); border-color: var(--navy); color: #fff; transform: translateY(-.4cqw); box-shadow: 0 1.4cqw 3cqw -1.2cqw rgba(17,40,66,.7), 0 0 0 .5cqw rgba(63,189,245,.35); }
.vf-cmp-card--new .vf-cmp-label { background: var(--sky); color: var(--navy); }
.vf-cmp-card--new small { color: #bfe6fb; }
.vf-cmp-card--new .vf-ill * { stroke: #fff; }
.vf-cmp-card--new .vf-ill .ill-paper { fill: rgba(63,189,245,.22); }
.vf-cmp-card--new .vf-ill .ill-ln { stroke: #8fb3d1; }
.vf-cmp-card--new .vf-ill .ill-band { fill: #ffd23f; stroke: none; }
.vf-cmp-card--new .vf-ill .ill-band-m { stroke: var(--navy); stroke-width: 2.6; }
.vf-cmp-card--new .vf-ill text { fill: var(--navy); }
.vf-cmp-card--new .vf-ill .ill-sky { fill: var(--sky); stroke: var(--navy); stroke-width: 3; }
.vf-cmp-card--new .vf-tag { top: -1.6cqw; right: -1.2cqw; }
.vf-cmp-mid { display: flex; flex-direction: column; align-items: center; gap: .6cqw; }
.vf-cmp-mid svg { width: 5.4cqw; height: 5.4cqw; fill: var(--sky); }
.vf-cmp-mid span { padding: .3cqw .9cqw; border-radius: .5cqw; background: #fff; border: .15cqw solid #cfe3f2; color: var(--navy); font-size: max(1.4cqw, 6.5px); font-weight: 800; letter-spacing: .02em; line-height: 1.35; text-align: center; white-space: nowrap; font-variant-numeric: tabular-nums; }

/* 案B：歯科医院 丸を線でつなぐ流れ（4つの段階） */
.vf-flow { position: absolute; left: 4cqw; right: 4cqw; top: 14.6cqw; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); list-style: none; margin: 0; padding: 0; }
.vf-flow::before { content: ""; position: absolute; left: 12.5%; right: 12.5%; top: 6.6cqw; height: .5cqw; margin-top: -.25cqw; border-radius: 1cqw;
  background: linear-gradient(90deg, var(--sky) 0 33.4%, transparent 33.4%), repeating-linear-gradient(90deg, #b9d3e6 0 1.2cqw, transparent 1.2cqw 2cqw); }
.vf-flow li { position: relative; display: flex; flex-direction: column; align-items: center; text-align: center; padding: 0 .6cqw; }
.vf-flow-dot { position: relative; width: 13.2cqw; height: 13.2cqw; border-radius: 50%; background: #fff; border: .3cqw solid #cfe3f2; display: grid; place-items: center; box-shadow: 0 .6cqw 1.8cqw -1cqw rgba(17,40,66,.35); }
.vf-flow-dot .vf-ill { width: 9.4cqw; margin: 0; }
.vf-flow-no { margin-top: 1.4cqw; font: 800 max(1.5cqw, 6.5px)/1 var(--sans); color: var(--sky); letter-spacing: .14em; }
.vf-flow b { margin-top: .6cqw; font-size: max(2.6cqw, 9px); letter-spacing: .04em; line-height: 1.3; white-space: nowrap; }
.vf-flow small { margin-top: .4cqw; font-size: max(1.55cqw, 7px); font-weight: 700; color: var(--muted); line-height: 1.4; white-space: nowrap; }
.vf-flow li.is-hl .vf-flow-dot { background: var(--navy); border-color: var(--navy); transform: scale(1.12); box-shadow: 0 1.4cqw 3cqw -1.2cqw rgba(17,40,66,.7), 0 0 0 .6cqw rgba(63,189,245,.35); }
.vf-flow li.is-hl .vf-ill * { stroke: #fff; }
.vf-flow li.is-hl .vf-ill .ill-soft { fill: rgba(63,189,245,.3); }
.vf-flow li.is-hl .vf-ill .ill-hl { stroke: #ffd23f; }
.vf-flow li.is-hl .vf-flow-no { color: var(--navy); }
.vf-flow li.is-hl .vf-tag { top: -2.4cqw; right: -5.6cqw; }
.vf-flow li.is-done .vf-flow-dot { border-color: var(--sky); }

/* 案C：英会話教室 番号つきの理由（大きな数字と線画） */
.vf-rank-ill { position: absolute; left: 4.6cqw; top: 13.4cqw; width: 33cqw; }
.vf-rank-ill .vf-ill { width: 100%; margin: 0; }
.vf-rank-ill p { margin: .6cqw 0 0; text-align: center; font-size: max(1.5cqw, 6.5px); font-weight: 700; color: var(--muted); letter-spacing: .06em; line-height: 1.3; }
.vf-rank { position: absolute; left: 41cqw; right: 5cqw; top: 12.4cqw; display: grid; gap: 1.3cqw; list-style: none; margin: 0; padding: 0; }
.vf-rank li { position: relative; display: grid; grid-template-columns: 7cqw minmax(0, 1fr) auto; align-items: center; column-gap: 1.4cqw; padding: 1.3cqw 2cqw 1.3cqw 1.4cqw; border-radius: 1.4cqw; background: #fff; border: .18cqw solid #cfe3f2; box-shadow: 0 .6cqw 1.8cqw -1cqw rgba(17,40,66,.35); }
.vf-rank-no { font-family: var(--sans); font-weight: 800; font-size: 5.6cqw; line-height: 1; color: var(--sky); text-align: center; letter-spacing: 0; font-variant-numeric: tabular-nums; }
.vf-rank-no::after { content: ""; display: block; width: 3cqw; height: .3cqw; margin: .5cqw auto 0; border-radius: 1cqw; background: currentColor; opacity: .5; }
.vf-rank li div { min-width: 0; display: flex; flex-direction: column; }
.vf-rank b { font-size: max(2.6cqw, 9px); letter-spacing: .04em; line-height: 1.3; white-space: nowrap; }
.vf-rank small { margin-top: .3cqw; font-size: max(1.6cqw, 7px); font-weight: 700; color: var(--muted); line-height: 1.35; white-space: nowrap; }
.vf-rank .vf-ill { width: 6.2cqw; margin: 0; }
.vf-rank li.is-hl { background: var(--navy); border-color: var(--navy); color: #fff; transform: translateX(-1cqw) scale(1.03); box-shadow: 0 1.4cqw 3cqw -1.2cqw rgba(17,40,66,.7), 0 0 0 .5cqw rgba(63,189,245,.35); }
.vf-rank li.is-hl .vf-rank-no { color: #ffd23f; }
.vf-rank li.is-hl small { color: #bfe6fb; }
.vf-rank li.is-hl .vf-ill * { stroke: #fff; }
.vf-rank li.is-hl .vf-ill .ill-soft { fill: rgba(63,189,245,.3); }
.vf-rank li.is-hl .vf-tag { top: -1.7cqw; right: -1cqw; }

/* 見本を並べてくらべるページ */
.opt-page { padding: clamp(36px, 6vw, 72px) 0 clamp(56px, 8vw, 96px); background: var(--bg); min-height: 100vh; }
.opt-head h1 { font-family: var(--mincho); color: var(--navy); font-size: clamp(1.5rem, 1.1rem + 1.6vw, 2.2rem); line-height: 1.5; margin: 6px 0 10px; }
.opt-head p { color: var(--muted); font-size: 15px; }
.opt-list { display: grid; gap: clamp(40px, 6vw, 72px); margin-top: clamp(28px, 4vw, 48px); }
.opt { max-width: 880px; }
.opt-meta { display: flex; align-items: baseline; flex-wrap: wrap; gap: 6px 14px; margin-bottom: 14px; }
.opt-meta .opt-no { display: inline-block; padding: 2px 14px; border-radius: 99px; background: var(--navy); color: #fff; font-weight: 800; font-size: 15px; letter-spacing: .1em; }
.opt-meta p { margin: 0; color: var(--ink); font-size: 15px; font-weight: 600; line-height: 1.7; }
.opt-meta p span { color: var(--muted); font-weight: 400; }

/* 下書きの確認の印（公開前に消す） */
mark.todo { background: #fff3b0; color: var(--ink); padding: 0 .3em; border-radius: 4px; font-size: .9em; }
