/* RadioVoice 製品ページ。色は今の製品ページ（白地・紫・濃紺）を引き継ぐ。
   画面の見本は全画面スクショではなく、要点だけを HTML で作り直した「再現UI」（.app）で見せる。 */
:root {
  color-scheme: light;
  --ink: #171a2e;
  --muted: #50566a;
  --accent: #533dc9;
  --accent-2: #7965f3;
  --accent-dark: #3d2c9e;
  --lav: #f4f1fd;
  --lav-2: #e9e3fc;
  --line: #e2e0ee;
  --navy: #151628;
  --navy-2: #24234d;
  --red: #c8283f;
  --red-bg: #ffe6e9;
  --amber: #8a5600;
  --amber-bg: #fff0cc;
  --info: #4532a2;
  --info-bg: #ece8fc;
  --good: #1f6a40;
  --good-bg: #ddf2e5;
  --mint: #bce0cd;
  --mono: "Cascadia Mono", Consolas, "SFMono-Regular", Menlo, monospace;
  --shadow: 0 1px 2px #1b14500d, 0 18px 40px -18px #1b145040;
  --radius: 16px;
  font-family: "Yu Gothic UI", "Hiragino Sans", "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body { margin: 0; background: #fff; color: var(--ink); line-height: 1.75; font-size: clamp(1rem, 1.2vw, 1.125rem); overflow-x: hidden; }
a { color: inherit; }
a:focus-visible, button:focus-visible { outline: 3px solid var(--accent-2); outline-offset: 3px; }
img { display: block; max-width: 100%; }
h1, h2, h3, h4, p, figure, ul, ol, dl, dd { margin: 0; }
ul, ol { padding: 0; list-style: none; }
h1, h2, h3, h4 { line-height: 1.4; letter-spacing: .01em; }
h2 { font-size: clamp(1.6rem, 2.8vw, 2.4rem); text-wrap: balance; }
h3 { font-size: clamp(1.1rem, 1.45vw, 1.3rem); }
p { color: var(--muted); }
small { font-size: .82em; }
.wrap { width: min(1180px, calc(100% - clamp(32px, 8vw, 120px))); margin-inline: auto; }
.skip { position: absolute; left: 12px; top: 12px; transform: translateY(-200%); background: #fff; padding: 8px 16px; z-index: 30; }
.skip:focus { transform: none; }
.mono { font-family: var(--mono); font-variant-numeric: tabular-nums; }

/* ── ヘッダー ── */
.header { position: sticky; top: 0; z-index: 20; background: #ffffffe8; backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.nav { display: flex; align-items: center; gap: 12px 28px; min-height: 66px; }
.brand { display: inline-flex; align-items: center; gap: 9px; font-weight: 800; font-size: 1.2rem; text-decoration: none; white-space: nowrap; }
.brand-mark { display: inline-grid; place-items: center; width: 32px; height: 32px; border-radius: 9px; background: linear-gradient(135deg, var(--accent-2), var(--accent)); color: #fff; font-size: .95rem; }
.nav nav { display: flex; gap: 4px 22px; margin-left: auto; font-size: .95rem; }
.nav nav a { text-decoration: none; color: var(--muted); padding-block: 6px; }
.nav nav a:hover { color: var(--accent); }
.button { display: inline-flex; align-items: center; gap: .45em; text-decoration: none; background: var(--accent); color: #fff; border-radius: 10px; padding: 10px 20px; font-weight: 700; font-size: .98rem; white-space: nowrap; transition: background .15s; }
.button:hover { background: var(--accent-dark); }
.button.ghost { background: transparent; color: #fff; border: 1.5px solid #ffffff66; }
.button.ghost:hover { background: #ffffff1a; }
.button.light { background: #fff; color: var(--accent-dark); }
.button.light:hover { background: var(--lav-2); }
@media (max-width: 960px) {
  .nav { flex-wrap: wrap; padding-block: 8px; }
  .nav .button { margin-left: auto; padding: 8px 14px; font-size: .9rem; }
  .nav nav { order: 3; width: 100%; margin: 0; overflow-x: auto; white-space: nowrap; gap: 18px; scrollbar-width: none; }
}

/* ── 区画の共通 ── */
.section { padding-block: clamp(64px, 9vw, 120px); }
.section.tint { background: linear-gradient(180deg, #f7f5fd, #f1edfb); }
.section.soft { background: #f8f8fb; }
.sec-head { max-width: 760px; margin-bottom: clamp(28px, 4vw, 48px); }
.sec-head.center { margin-inline: auto; text-align: center; }
.sec-head p { margin-top: 14px; }
.eyebrow { display: inline-flex; align-items: center; gap: 12px; color: var(--accent); font-weight: 700; font-size: .95rem; margin-bottom: 12px; }
.eyebrow::before { content: ""; width: 36px; height: 3px; border-radius: 3px; background: currentColor; }
.sec-head.center .eyebrow::after { content: ""; width: 36px; height: 3px; border-radius: 3px; background: currentColor; }
.note { font-size: .9rem; color: var(--muted); }
.estimate { display: inline-block; font-size: .72rem; font-weight: 700; padding: 1px 7px; border-radius: 5px; background: #fff3; border: 1px solid currentColor; vertical-align: .2em; margin-left: .3em; line-height: 1.5; }
.tag { display: inline-flex; align-items: center; gap: 4px; font-size: .78rem; font-weight: 700; padding: 2px 9px; border-radius: 6px; background: var(--info-bg); color: var(--info); white-space: nowrap; line-height: 1.6; }
.tag.plan { background: #fff; color: var(--accent-dark); border: 1.5px dashed var(--accent-2); }
.tag.now { background: var(--good-bg); color: var(--good); }
.tag.ai { background: var(--navy); color: #fff; }

/* ── 再現UI（アプリ画面の部品） ── */
.app { position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); font-size: .93rem; line-height: 1.6; overflow: hidden; color: var(--ink); }
.app-bar { display: flex; align-items: center; gap: 6px; padding: 9px 14px; background: #f6f6fa; border-bottom: 1px solid var(--line); flex-wrap: wrap; }
.app-bar::before { content: ""; width: 42px; height: 10px; margin-right: 6px; background: radial-gradient(circle 5px at 5px 5px, #ff8a8a 98%, transparent) 0 0/16px 10px repeat-x; opacity: .8; }
.app-tab { font-size: .8rem; padding: 2px 10px; border-radius: 7px; color: var(--muted); white-space: nowrap; }
.app-tab.on { background: #fff; color: var(--accent-dark); font-weight: 700; box-shadow: 0 1px 3px #1b145022; }
.app-body { padding: clamp(14px, 2vw, 22px); }
.app-label { font-size: .8rem; font-weight: 700; color: var(--muted); margin-bottom: 6px; letter-spacing: .02em; }
.ui-btn { display: inline-flex; align-items: center; gap: .35em; font: inherit; font-size: .88rem; font-weight: 700; border-radius: 8px; padding: 6px 13px; border: 1px solid var(--line); background: #fff; color: var(--ink); white-space: nowrap; }
.ui-btn.primary { background: var(--accent); border-color: var(--accent); color: #fff; }
.ui-btn.dark { background: #202236; border-color: #202236; color: #fff; }
.ui-btn.on { background: var(--lav-2); border-color: var(--accent-2); color: var(--accent-dark); }
.ui-btn.big { font-size: 1rem; padding: 10px 18px; border-radius: 10px; }
.manuscript { background: #fbfbfe; border: 1px solid var(--line); border-radius: 10px; padding: 12px 14px; line-height: 1.85; }
mark { background: #ffe4a8; color: inherit; border-radius: 3px; padding: 0 2px; }
mark.red { background: #ffd2d8; }
mark.info { background: #e4defd; }
del { color: #9a3445; text-decoration-thickness: 2px; }
ins { text-decoration: none; background: #d7f2e1; border-radius: 3px; padding: 0 2px; }

/* 番号の丸印と吹き出し */
.pin { display: inline-grid; place-items: center; flex: none; width: 1.75em; height: 1.75em; border-radius: 50%; background: var(--red); color: #fff; font-weight: 800; font-size: .82rem; box-shadow: 0 0 0 4px #c8283f2e; font-family: var(--mono); line-height: 1; }
.pin.violet { background: var(--accent); box-shadow: 0 0 0 4px #533dc92e; }
.press { display: inline-flex; align-items: center; gap: 8px; }
.callout { position: relative; display: inline-block; margin-top: 12px; background: var(--navy); color: #fff; font-size: .84rem; font-weight: 600; line-height: 1.5; padding: 7px 12px; border-radius: 9px; }
.callout::before { content: ""; position: absolute; left: 18px; top: -6px; width: 12px; height: 12px; background: inherit; transform: rotate(45deg); border-radius: 2px; }
.flow-arrow { display: flex; align-items: center; gap: 8px; color: var(--accent); font-weight: 700; font-size: .85rem; margin: 10px 0; }
.flow-arrow::before { content: "↓"; display: inline-grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: var(--lav-2); }

/* 段階の札 */
.sev { display: inline-flex; align-items: center; font-size: .78rem; font-weight: 800; padding: 2px 10px; border-radius: 6px; white-space: nowrap; line-height: 1.6; }
.sev.critical { background: var(--red-bg); color: var(--red); }
.sev.caution { background: var(--amber-bg); color: var(--amber); }
.sev.info { background: var(--info-bg); color: var(--info); }
.risk { font-size: .75rem; color: var(--muted); border: 1px solid var(--line); border-radius: 20px; padding: 1px 9px; white-space: nowrap; }

/* 指摘カード（アプリの wcard の再現） */
.wcard { background: #fff; border: 1px solid var(--line); border-left: 5px solid var(--amber); border-radius: 12px; padding: 12px 14px; }
.wcard.critical { border-left-color: var(--red); }
.wcard.info { border-left-color: var(--accent-2); }
.wcard-head { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.wcard-quote { margin-top: 6px; font-weight: 700; }
.wc-sec { padding-block: 10px; border-top: 1px dashed var(--line); }
.wc-sec:first-of-type { border-top: 0; }
.ba { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 6px 10px; }
.ba-tag { font-size: .74rem; font-weight: 700; color: var(--muted); background: #f1f1f6; border-radius: 5px; padding: 1px 7px; white-space: nowrap; }
.ba-old { color: #9a3445; text-decoration: line-through; text-decoration-color: #c8283f88; }
.ba-new { font-weight: 700; color: var(--good); }
.dec-row { display: flex; flex-wrap: wrap; gap: 6px; }
.toast { display: inline-flex; align-items: center; gap: 6px; margin-top: 10px; background: #202236; color: #fff; font-size: .82rem; border-radius: 8px; padding: 5px 12px; }

/* タイムコードと波形 */
.tc { display: inline-block; font-family: var(--mono); font-variant-numeric: tabular-nums; font-weight: 700; background: var(--navy); color: #fff; border-radius: 8px; padding: 2px 10px; letter-spacing: .04em; }
.tc.mint { background: var(--mint); color: #132a20; }
.wave { height: 34px; background: repeating-linear-gradient(90deg, var(--accent-2) 0 3px, transparent 3px 6px); clip-path: polygon(0 50%, 6% 35%, 11% 12%, 17% 40%, 23% 4%, 30% 30%, 36% 14%, 42% 44%, 49% 0, 56% 34%, 62% 10%, 69% 38%, 75% 6%, 82% 30%, 88% 18%, 94% 40%, 100% 50%, 94% 60%, 88% 82%, 82% 70%, 75% 94%, 69% 62%, 62% 90%, 56% 66%, 49% 100%, 42% 56%, 36% 86%, 30% 70%, 23% 96%, 17% 60%, 11% 88%, 6% 65%); }
.wave.grey { background: repeating-linear-gradient(90deg, #a9a8bd 0 3px, transparent 3px 6px); }
.player { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: center; gap: 12px; }
.play { display: inline-grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: var(--accent); color: #fff; font-size: .9rem; }
.seek { height: 6px; border-radius: 6px; background: #e6e4f2; overflow: hidden; }
.seek span { display: block; width: 38%; height: 100%; background: var(--accent); }
.seek-time { display: flex; justify-content: space-between; font-family: var(--mono); font-size: .78rem; color: var(--muted); margin-top: 4px; }
.audio-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; margin-top: 10px; font-size: .86rem; }
.chip { font-size: .78rem; font-family: var(--mono); background: #f1f1f6; border-radius: 20px; padding: 1px 10px; }
.done { color: var(--good); font-weight: 700; }
.ai-note { margin-top: 10px; font-size: .8rem; color: var(--amber); background: #fff8e6; border-radius: 7px; padding: 4px 10px; }

/* ── 1 ヒーロー ── */
.hero { position: relative; color: #fff; overflow: hidden; background: radial-gradient(ellipse at 85% 10%, #4c3a9a 0, transparent 45%), radial-gradient(ellipse at 10% 110%, #3a2f7d 0, transparent 45%), var(--navy); }
.hero::after { content: ""; position: absolute; inset: 0; background-image: linear-gradient(#ffffff08 1px, transparent 1px), linear-gradient(90deg, #ffffff08 1px, transparent 1px); background-size: 44px 44px; mask-image: linear-gradient(90deg, transparent, #000 60%); pointer-events: none; }
.hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(28px, 5vw, 72px); align-items: center; padding-block: clamp(48px, 7vw, 96px); }
.hero .eyebrow { color: #c9bdff; }
.hero h1 { font-size: clamp(2rem, 3.8vw, 3.35rem); line-height: 1.3; text-wrap: balance; }
.hero-lead { margin-top: 20px; color: #dedbf2; }
.hero-lead + .hero-lead { margin-top: 10px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; align-items: center; }
.hero-actions .text-link { color: #c9bdff; font-size: .95rem; }
.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; margin-top: 30px; }
.stat { background: #ffffff10; border: 1px solid #ffffff22; border-radius: 12px; padding: 12px 12px 10px; }
.stat strong { display: block; font-family: var(--mono); font-size: clamp(1.25rem, 2vw, 1.6rem); color: #fff; line-height: 1.2; }
.stat span { display: block; font-size: .8rem; color: #cfcbe6; line-height: 1.45; margin-top: 4px; }
.stat .estimate { color: #ffd38a; display: inline-block; margin-top: 0; }
.hero-stack { position: relative; min-height: 600px; }
.hero-stack .app { position: absolute; width: min(400px, 82%); }
.hero-stack .s1 { left: 0; top: 0; }
.hero-stack .s2 { right: 0; top: 27%; transform: rotate(1.2deg); z-index: 1; }
.hero-stack .s3 { left: 4%; bottom: 0; transform: rotate(-1deg); z-index: 2; }
.hero-stack .app-body { padding: 14px 16px; }
@media (max-width: 960px) {
  .hero-grid { grid-template-columns: minmax(0, 1fr); }
  .hero-stack { min-height: 0; display: grid; gap: 14px; }
  .hero-stack .app { position: static; width: 100%; transform: none; }
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* ── 困りごと ── */
.problems { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.problem { background: #fff; border-radius: var(--radius); padding: 22px 20px; box-shadow: var(--shadow); border-top: 4px solid var(--accent-2); }
.problem .icon { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: var(--lav); font-size: 1.35rem; margin-bottom: 12px; }
.problem p { margin-top: 8px; font-size: .95rem; }
.problems-close { margin-top: 28px; padding: 18px 22px; border-radius: 14px; background: #fff; border: 1px solid var(--line); color: var(--ink); font-weight: 600; }
@media (max-width: 960px) { .problems { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .problems { grid-template-columns: minmax(0, 1fr); } }

/* ── 2 使う場面 ── */
.scenes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.scene { position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 20px 20px; box-shadow: var(--shadow); display: flex; flex-direction: column; }
.scene-head { display: flex; align-items: flex-start; gap: 10px; margin-bottom: 14px; }
.scene-icon { display: inline-grid; place-items: center; flex: none; width: 42px; height: 42px; border-radius: 12px; background: var(--lav); font-size: 1.3rem; }
.scene-head h3 { flex: 1; font-size: 1.08rem; padding-top: 7px; }
.scene-head .tc { font-size: .8rem; margin-top: 7px; }
.scene dl { display: grid; gap: 10px; }
.scene dt { font-size: .76rem; font-weight: 800; letter-spacing: .04em; display: flex; align-items: center; gap: 6px; }
.scene dt::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #b9b8c9; }
.scene dd { font-size: .93rem; color: var(--muted); line-height: 1.7; }
.scene .rv dt { color: var(--accent); }
.scene .rv dt::before { background: var(--accent); }
.scene .rv dd { color: var(--ink); }
.scene .gain { margin-top: auto; padding-top: 12px; }
.scene .gain dd { background: var(--good-bg); color: #164d2f; border-radius: 9px; padding: 8px 11px; font-weight: 600; }
.scene .gain dt { color: var(--good); }
.scene .gain dt::before { background: var(--good); }
.scene .note { margin-top: 10px; font-size: .82rem; }
.scene > dl { flex: 1; display: flex; flex-direction: column; gap: 10px; }
.split-band { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); margin-top: 28px; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.split-band > div { padding: 22px 24px; }
.split-band .ai { background: var(--navy); color: #fff; }
.split-band .ai p { color: #cfcbe6; }
.split-band .human { background: #fff7ef; }
.split-band h3 { font-size: 1rem; display: flex; align-items: center; gap: 8px; }
.split-band ul { display: flex; flex-wrap: wrap; gap: 6px; margin: 12px 0 10px; }
.split-band li { font-size: .88rem; padding: 3px 11px; border-radius: 20px; background: #ffffff1a; border: 1px solid #ffffff2a; }
.split-band .human li { background: #fff; border-color: #f0d7bd; }
.split-band p { font-size: .9rem; }
@media (max-width: 960px) { .scenes { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .scenes, .split-band { grid-template-columns: minmax(0, 1fr); } }

/* ── 3 1本つくる時間 ── */
.time-board { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: clamp(20px, 3vw, 36px); align-items: stretch; }
.lanes { background: #fff; border-radius: var(--radius); padding: clamp(18px, 3vw, 32px); box-shadow: var(--shadow); }
.lane + .lane { margin-top: 28px; }
.lane-head { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; margin-bottom: 10px; flex-wrap: wrap; }
.lane-head h3 { font-size: 1rem; }
.lane-head strong { font-family: var(--mono); font-size: 1.25rem; }
.lane-head .estimate { color: var(--muted); }
.bar { display: flex; height: 46px; gap: 3px; }
.bar > span { display: flex; align-items: center; justify-content: center; min-width: 0; overflow: hidden; white-space: nowrap; font-size: .76rem; font-weight: 700; color: #fff; border-radius: 6px; padding-inline: 4px; }
.bar.before > span { background: #8d8ca4; }
.bar.before > span:nth-child(even) { background: #a5a4b8; }
.bar.before > .wait { background: repeating-linear-gradient(135deg, #fff 0 6px, #ececf3 6px 12px); color: var(--muted); border: 1.5px dashed #b7b6c8; }
.bar.after { width: calc(5.5 / 45 * 100%); min-width: 120px; }
.bar.after > span { background: var(--accent); font-family: var(--mono); }
.bar.after > span:nth-child(even) { background: var(--accent-2); }
.seg-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 6px 14px; margin-top: 12px; font-size: .84rem; color: var(--muted); }
.seg-list li { display: flex; gap: 6px; align-items: baseline; }
.seg-list b { color: var(--ink); font-family: var(--mono); }
.seg-list .n { display: inline-grid; place-items: center; flex: none; width: 1.5em; height: 1.5em; border-radius: 50%; background: var(--accent); color: #fff; font-size: .72rem; font-weight: 800; font-family: var(--mono); }
.big-result { display: flex; flex-direction: column; justify-content: center; gap: 10px; border-radius: var(--radius); padding: 28px 24px; color: #fff; background: radial-gradient(ellipse at 100% 0, #5a45c8, transparent 60%), var(--navy); }
.big-result .from-to { font-family: var(--mono); font-size: clamp(1.7rem, 3vw, 2.3rem); font-weight: 800; line-height: 1.2; }
.big-result .from-to s { color: #a9a6c8; text-decoration-thickness: 2px; font-size: .7em; }
.big-result .arrow { color: var(--mint); }
.big-result p { color: #d6d3ec; font-size: .92rem; }
.big-result .month { border-top: 1px solid #ffffff2a; padding-top: 12px; }
.big-result .month strong { color: #fff; font-size: 1.3rem; }
.big-result .estimate { color: #ffd38a; }
.time-table { width: 100%; border-collapse: collapse; margin-top: 28px; font-size: .92rem; background: #fff; border-radius: 12px; overflow: hidden; box-shadow: var(--shadow); }
.time-table th, .time-table td { padding: 10px 14px; text-align: left; border-bottom: 1px solid var(--line); }
.time-table thead th { background: #f4f3f9; font-size: .82rem; }
.time-table td:last-child { color: var(--accent-dark); font-weight: 600; }
.time-table tfoot td, .time-table tfoot th { font-weight: 800; border-bottom: 0; background: var(--lav); }
.table-scroll { overflow-x: auto; }
.time-note { margin-top: 14px; }
@media (max-width: 960px) { .time-board { grid-template-columns: minmax(0, 1fr); } }

/* ── 4 押すのはここだけ ── */
.steps-layout { display: grid; grid-template-columns: 300px minmax(0, 1fr); gap: clamp(24px, 4vw, 56px); align-items: start; }
.steps-index { position: sticky; top: 96px; background: #fff; border-radius: var(--radius); padding: 10px; box-shadow: var(--shadow); }
.steps-index a { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 10px; text-decoration: none; color: var(--muted); transition: background .2s, color .2s; }
.steps-index a .n { display: inline-grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: #ecebf3; color: var(--muted); font-family: var(--mono); font-weight: 800; font-size: .85rem; transition: background .2s, color .2s; }
.steps-index a .t { font-family: var(--mono); font-size: .8rem; }
.steps-index a.active { background: var(--lav); color: var(--ink); font-weight: 700; }
.steps-index a.active .n { background: var(--accent); color: #fff; }
.steps-total { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; margin: 8px 4px 2px; padding: 12px 10px 4px; border-top: 1px dashed var(--line); font-weight: 800; }
.steps-total strong { font-family: var(--mono); font-size: 1.3rem; color: var(--accent-dark); }
.steps-total .estimate { color: var(--muted); }
.step-panel { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(18px, 3vw, 32px); align-items: center; padding-block: clamp(28px, 5vw, 56px); border-bottom: 1px solid var(--line); scroll-margin-top: 90px; }
.step-panel:first-child { padding-top: 0; }
.step-panel:last-child { border-bottom: 0; }
.step-no { display: flex; align-items: center; gap: 10px; color: var(--accent); font-weight: 800; font-size: .9rem; }
.step-no .n { font-family: var(--mono); font-size: 2.2rem; line-height: 1; }
.step-panel h3 { font-size: clamp(1.3rem, 2vw, 1.6rem); margin-top: 6px; }
.step-facts { display: grid; gap: 10px; margin-top: 16px; }
.step-facts > div { display: grid; grid-template-columns: 6.5em minmax(0, 1fr); gap: 10px; align-items: baseline; }
.step-facts dt { font-size: .78rem; font-weight: 800; color: var(--muted); }
.step-facts dd { font-size: .95rem; }
.step-facts .ui-btn { margin: 0 2px 3px 0; }
.step-facts .time { font-family: var(--mono); font-weight: 800; color: var(--accent-dark); }
.step-link { display: inline-block; margin-top: 12px; font-size: .9rem; color: var(--accent); font-weight: 700; }
.step-mock { position: relative; }
.mock-row { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.calc { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin-top: 12px; }
.calc > div { background: #f6f6fa; border-radius: 9px; padding: 8px 10px; }
.calc small { display: block; color: var(--muted); font-size: .76rem; }
.calc b { font-family: var(--mono); font-size: 1.15rem; }
.verdict { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-top: 8px; padding: 8px 12px; border-radius: 9px; font-weight: 700; font-size: .9rem; }
.verdict.ok { background: var(--good-bg); color: var(--good); }
.verdict.warn { background: var(--amber-bg); color: var(--amber); }
.verdict.bad { background: var(--red-bg); color: var(--red); }
.two-pane { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 12px; }
.mini-cards { display: grid; gap: 8px; }
.mini-cards .wcard { padding: 8px 11px; }
.mini-cards .wcard-quote { font-size: .88rem; margin-top: 4px; }
.chat { display: grid; gap: 8px; margin-top: 12px; padding-top: 12px; border-top: 1px dashed var(--line); }
.bubble { max-width: 88%; padding: 7px 11px; border-radius: 12px; font-size: .86rem; line-height: 1.55; }
.bubble.me { justify-self: end; background: var(--accent); color: #fff; border-bottom-right-radius: 4px; }
.bubble.ai { background: #f1f0f7; border-bottom-left-radius: 4px; }
.drum { display: inline-flex; align-items: center; gap: 6px; background: var(--navy); color: #fff; border-radius: 12px; padding: 8px 14px; font-family: var(--mono); font-size: 1.6rem; font-weight: 800; }
.drum .arrows { display: grid; font-size: .7rem; line-height: 1.2; color: #c9bdff; }
.ruby-text { font-size: 1.05rem; line-height: 2.4; }
.ruby-text rt { font-size: .62em; color: var(--accent); font-weight: 700; }
.ruby-text .word { border-bottom: 2px dotted var(--accent-2); }
@media (max-width: 1100px) { .step-panel { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 860px) {
  .steps-layout { grid-template-columns: minmax(0, 1fr); }
  .steps-index { position: static; }
}
@media (max-width: 560px) { .two-pane { grid-template-columns: minmax(0, 1fr); } }

/* ── 5 原稿チェック ── */
.anatomy { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(20px, 4vw, 48px); align-items: center; }
.anatomy .app { font-size: .98rem; }
.anatomy .wcard { border-left-width: 6px; padding: 16px 18px; }
.anatomy .slot { position: relative; padding-left: 34px; }
.anatomy .slot > .pin { position: absolute; left: 0; top: 2px; }
.anatomy-notes { display: grid; gap: 12px; counter-reset: n; }
.anatomy-notes li { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 12px; align-items: start; background: #fff; border-radius: 12px; padding: 12px 14px; box-shadow: var(--shadow); }
.anatomy-notes strong { display: block; }
.anatomy-notes p { font-size: .9rem; margin-top: 2px; }
.mini-stats { display: grid; gap: 4px; margin-top: 6px; }
.mini-stats div { display: grid; grid-template-columns: 5.5em minmax(0, 1fr) 3em; gap: 8px; align-items: center; font-size: .8rem; }
.mini-stats i { display: block; height: 8px; border-radius: 6px; background: var(--accent-2); }
.mini-stats span:last-child { font-family: var(--mono); text-align: right; }
.sev-guide { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: clamp(36px, 5vw, 56px); }
.sev-guide > div { background: #fff; border-radius: var(--radius); padding: 20px; box-shadow: var(--shadow); border-top: 5px solid var(--amber); }
.sev-guide > .critical { border-top-color: var(--red); }
.sev-guide > .info { border-top-color: var(--accent-2); }
.sev-guide p { font-size: .93rem; margin-top: 10px; }
.radio-box { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 18px; align-items: center; margin-top: 18px; padding: 22px 24px; border-radius: var(--radius); background: var(--navy); color: #fff; }
.radio-box .icon { font-size: 2rem; }
.radio-box p { color: #d6d3ec; margin-top: 4px; font-size: .95rem; }
.radio-box .pairs { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.radio-box .pairs span { font-size: .86rem; padding: 3px 12px; border-radius: 20px; background: #ffffff18; border: 1px solid #ffffff2a; }
.features { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px 28px; margin-top: clamp(36px, 5vw, 56px); }
.features li { padding-top: 14px; border-top: 2px solid var(--lav-2); }
.features h3 { font-size: 1.02rem; display: flex; gap: 8px; align-items: center; }
.features h3 .k { font-family: var(--mono); color: var(--accent); font-size: .9rem; }
.features p { font-size: .93rem; margin-top: 6px; }
.assist { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(20px, 4vw, 48px); align-items: center; margin-top: clamp(48px, 7vw, 88px); padding: clamp(22px, 4vw, 44px); border-radius: 22px; background: #fff; box-shadow: var(--shadow); }
.assist ul { display: grid; gap: 10px; margin-top: 18px; }
.assist li { padding-left: 1.6em; position: relative; }
.assist li::before { content: "✓"; position: absolute; left: 0; color: var(--accent); font-weight: 800; }
.assist li p { font-size: .92rem; }
@media (max-width: 960px) { .anatomy, .assist { grid-template-columns: minmax(0, 1fr); } .features { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .sev-guide, .features { grid-template-columns: minmax(0, 1fr); } .radio-box { grid-template-columns: minmax(0, 1fr); } }

/* ── 6 判断が、現場の物差しになる ── */
.share { background: radial-gradient(ellipse at 15% 0, #3a2f7d, transparent 50%), radial-gradient(ellipse at 100% 100%, #392a86, transparent 45%), var(--navy); color: #fff; }
.share .eyebrow { color: #c9bdff; }
.share .sec-head p { color: #d6d3ec; }
.why { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin-bottom: clamp(32px, 5vw, 56px); }
.why li { background: #ffffff0d; border: 1px solid #ffffff1f; border-radius: 12px; padding: 14px 16px; font-size: .92rem; color: #e7e4f7; line-height: 1.65; }
.why li b { color: #fff; }
.loop { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px 72px; padding: clamp(18px, 3vw, 34px); border-radius: 24px; background: #ffffff08; border: 1px solid #ffffff1a; }
.loop-node { position: relative; background: #fff; color: var(--ink); border-radius: var(--radius); padding: 18px 20px; box-shadow: 0 20px 40px -20px #000a; }
.loop-node.later { background: #f4f1fd; border: 2px dashed var(--accent-2); }
.loop-node .k { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.loop-node .k b { display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--accent); color: #fff; font-family: var(--mono); font-size: 1rem; }
.loop-node h3 { font-size: 1.12rem; }
.loop-node p { margin-top: 8px; font-size: .93rem; }
.loop-node::after { position: absolute; color: #c9bdff; font-size: 1.8rem; font-weight: 800; line-height: 1; }
.loop-node.n1::after { content: "→"; right: -52px; top: 50%; translate: 0 -50%; }
.loop-node.n2::after { content: "↓"; bottom: -46px; left: 50%; translate: -50% 0; }
.loop-node.n3::after { content: "←"; left: -52px; top: 50%; translate: 0 -50%; }
.loop-node.n4::after { content: "↑"; top: -46px; left: 50%; translate: -50% 0; }
.loop-node.n3 { grid-column: 2; grid-row: 2; }
.loop-node.n4 { grid-column: 1; grid-row: 2; }
.dots { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
.dots i { width: 12px; height: 12px; border-radius: 50%; background: var(--accent); opacity: .25; }
.dots i:nth-child(-n+3) { opacity: 1; }
.dots.grow i { animation: dot 6s infinite; }
.dots.grow i:nth-child(n+4) { animation-delay: calc(var(--d) * .25s); }
@keyframes dot { 0%, 30% { opacity: .2; } 50%, 100% { opacity: 1; } }
.dots-note { font-size: .78rem; color: var(--muted); margin-top: 6px; }
.loop-legend { display: flex; flex-wrap: wrap; gap: 10px 20px; margin-top: 16px; font-size: .88rem; color: #d6d3ec; }
.compare { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 20px; margin-top: clamp(32px, 5vw, 56px); }
.compare .app { color: var(--ink); }
.compare .later-card { background: #f8f6ff; border: 2px dashed var(--accent-2); }
.compare h3 { font-size: 1rem; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.dist { display: grid; gap: 10px; margin-top: 14px; }
.dist div { display: grid; grid-template-columns: 4.5em minmax(0, 1fr) 6.2em; gap: 10px; align-items: center; font-size: .88rem; }
.dist i { display: block; height: 12px; border-radius: 8px; background: var(--accent-2); }
.dist span:last-child { font-family: var(--mono); font-size: .8rem; color: var(--muted); }
.later-card .dist i { background: repeating-linear-gradient(90deg, var(--accent) 0 8px, var(--accent-2) 8px 16px); }
.compare .note { margin-top: 12px; font-size: .84rem; }
.promises { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; margin-top: 24px; }
.promises li { display: flex; align-items: center; gap: 10px; background: #ffffff12; border: 1px solid #ffffff26; border-radius: 12px; padding: 12px 14px; font-weight: 700; font-size: .92rem; }
.promises li::before { content: "✓"; display: inline-grid; place-items: center; flex: none; width: 24px; height: 24px; border-radius: 50%; background: var(--mint); color: #132a20; font-size: .8rem; }
.promise-line { margin-top: 14px; color: #d6d3ec; font-size: .95rem; }
.share-quote { color: #fff; margin-top: clamp(36px, 5vw, 56px); font-size: clamp(1.2rem, 2.2vw, 1.65rem); font-weight: 700; line-height: 1.6; text-align: center; text-wrap: balance; }
.share-quote::before, .share-quote::after { color: #c9bdff; }
.share-quote::before { content: "“"; }
.share-quote::after { content: "”"; }
@media (max-width: 960px) { .why, .promises { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 720px) {
  .loop { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .loop-node.n3, .loop-node.n4 { grid-column: 1; grid-row: auto; }
  .loop-node.n1::after, .loop-node.n2::after, .loop-node.n3::after { content: "↓"; top: auto; bottom: -36px; left: 50%; right: auto; translate: -50% 0; }
  .loop-node.n4::after { content: "↺ ①へ"; top: auto; bottom: -34px; font-size: .95rem; }
  .compare, .why, .promises { grid-template-columns: minmax(0, 1fr); }
}

/* ── 7 尺ぴったり ── */
.timing-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.timing-cards .app-body { display: flex; flex-direction: column; gap: 10px; height: 100%; }
.timing-cards h3 { font-size: 1.05rem; }
.timing-cards .tag { align-self: flex-start; }
.timing-cards .cap { font-size: .86rem; color: var(--muted); }
.wave-row { display: grid; grid-template-columns: 4.6em minmax(0, 1fr); gap: 10px; align-items: center; }
.wave-row b { font-family: var(--mono); font-size: .9rem; }
.trim { display: flex; align-items: center; height: 34px; gap: 2px; }
.trim .sil { width: 18%; height: 100%; border-radius: 5px; background: repeating-linear-gradient(135deg, #f3d3d8 0 5px, #fff 5px 10px); border: 1.5px dashed #e08a98; display: grid; place-items: center; font-size: .66rem; color: var(--red); font-weight: 700; }
.trim .wave { flex: 1; }
.timecode-band { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 12px 28px; margin-top: 28px; padding: 22px; border-radius: var(--radius); background: var(--navy); color: #fff; }
.timecode-band .tc { font-size: clamp(2rem, 5vw, 3.4rem); background: #000; color: var(--mint); padding: 4px 18px; border-radius: 12px; }
.timecode-band p { color: #d6d3ec; }
.check-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 14px 28px; margin-top: 32px; }
.check-list li { padding-left: 1.7em; position: relative; }
.check-list li::before { content: "✓"; position: absolute; left: 0; top: 0; color: var(--accent); font-weight: 800; }
.check-list strong { display: block; }
.check-list p { font-size: .92rem; margin-top: 2px; }
.check-list .tag { margin-left: 6px; vertical-align: .1em; }
@media (max-width: 960px) { .timing-cards { grid-template-columns: minmax(0, 1fr); } }

/* ── 8 地元の読み ── */
.reading-grid { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 20px; align-items: start; }
.koma { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.koma .app-body { display: grid; gap: 8px; align-content: start; }
.koma .k { font-size: .78rem; font-weight: 800; color: var(--accent); }
.koma .word-big { font-size: 1.5rem; font-weight: 800; }
.koma .word-big.picked { display: inline-block; background: var(--lav-2); border: 2px solid var(--accent-2); border-radius: 8px; padding: 0 8px; }
.yomi-input { font-family: inherit; font-size: 1.15rem; font-weight: 700; border: 2px solid var(--accent); border-radius: 8px; padding: 4px 10px; background: #fff; }
.koma-foot { margin-top: 12px; font-size: .92rem; font-weight: 700; color: var(--accent-dark); }
.dict { width: 100%; border-collapse: collapse; font-size: .95rem; }
.dict td { padding: 7px 4px; border-bottom: 1px solid var(--line); }
.dict td:last-child { color: var(--accent-dark); font-weight: 700; text-align: right; }
.dict tr.new td { background: #f1fbf5; }
.dialects { margin-top: 20px; display: grid; grid-template-columns: minmax(0, 1fr) 260px; gap: 18px; align-items: center; }
.pitch { width: 100%; height: auto; }
@media (max-width: 960px) { .reading-grid, .dialects { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 640px) { .koma { grid-template-columns: minmax(0, 1fr); } }

/* ── 9 聞いてみる ── */
.samples { display: grid; gap: 18px; }
.sample { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 20px 28px; align-items: start; background: #fff; border-radius: var(--radius); padding: clamp(18px, 3vw, 28px); box-shadow: var(--shadow); }
.sample-head { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.sample h3 { font-size: 1.15rem; margin-top: 8px; }
.sample .times { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; margin-top: 10px; font-size: .88rem; color: var(--muted); }
.sample audio { width: 100%; margin-top: 14px; }
.sample .point { font-size: .9rem; margin-top: 10px; }
.sample .voice { font-size: .82rem; margin-top: 6px; }
.audio-missing { display: flex; align-items: center; gap: 8px; margin-top: 14px; padding: 12px 14px; border-radius: 10px; background: #f4f3f9; color: var(--muted); font-weight: 700; font-size: .92rem; }
.script { background: #fbfbfe; border: 1px solid var(--line); border-radius: 12px; padding: 14px 16px; font-size: .95rem; line-height: 1.9; color: var(--ink); }
.script-label { font-size: .78rem; font-weight: 800; color: var(--muted); margin-bottom: 4px; }
.voices { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(20px, 4vw, 48px); margin-top: clamp(40px, 6vw, 72px); align-items: start; }
@media (max-width: 860px) { .sample, .voices { grid-template-columns: minmax(0, 1fr); } }

/* ── 10 できた音声と記録 ── */
.output-grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 20px; align-items: start; }
.hist-row { display: grid; grid-template-columns: auto minmax(0, 1fr) auto auto; gap: 10px; align-items: center; padding: 10px 0; border-bottom: 1px solid var(--line); }
.hist-row:last-child { border-bottom: 0; }
.hist-row .play { width: 34px; height: 34px; font-size: .78rem; }
.hist-text { font-weight: 700; font-size: .92rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.hist-meta { font-size: .78rem; color: var(--muted); }
.hist-sec { font-family: var(--mono); font-size: .8rem; background: var(--lav); color: var(--accent-dark); border-radius: 6px; padding: 1px 8px; }
.record { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 8px 16px; font-size: .92rem; }
.record dt { color: var(--muted); font-size: .84rem; }
.record dd { font-weight: 700; }
.record .mono { font-weight: 700; }
.record .disclose { grid-column: 1 / -1; background: #fff8e6; color: var(--amber); border-radius: 8px; padding: 8px 12px; font-weight: 700; }
@media (max-width: 860px) { .output-grid { grid-template-columns: minmax(0, 1fr); } }

/* ── 11 安心 ── */
.failover { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr) auto minmax(0, 1fr); gap: 12px; align-items: center; padding: clamp(18px, 3vw, 28px); background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); }
.fo { border-radius: 12px; padding: 14px 16px; text-align: center; font-weight: 700; background: #f6f6fa; }
.fo small { display: block; font-weight: 500; color: var(--muted); margin-top: 4px; }
.fo.down { background: var(--red-bg); color: var(--red); }
.fo.switch { background: var(--lav); color: var(--accent-dark); }
.fo.ok { background: var(--good-bg); color: var(--good); }
.fo-arrow { color: var(--accent); font-size: 1.4rem; font-weight: 800; }
.failover-notes { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 8px 22px; font-size: .9rem; color: var(--muted); border-top: 1px dashed var(--line); padding-top: 12px; }
.trust-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-top: 24px; }
.trust-item { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 14px; background: #fff; border-radius: var(--radius); padding: 20px; box-shadow: var(--shadow); }
.trust-item .icon { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: var(--lav); font-size: 1.3rem; }
.trust-item p { font-size: .94rem; margin-top: 6px; }
@media (max-width: 860px) {
  .failover { grid-template-columns: minmax(0, 1fr); }
  .fo-arrow { justify-self: center; rotate: 90deg; }
  .trust-grid { grid-template-columns: minmax(0, 1fr); }
}

/* ── 12 立場ごとに ── */
.team { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(20px, 4vw, 48px); align-items: center; margin-bottom: clamp(48px, 7vw, 80px); }
.team ul { display: grid; gap: 12px; }
.team li { background: #fff; border-radius: 12px; padding: 14px 16px; box-shadow: var(--shadow); }
.team li p { font-size: .92rem; margin-top: 4px; }
.roles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.role { background: #fff; border-radius: var(--radius); padding: 22px 20px; box-shadow: var(--shadow); }
.role .icon { display: inline-grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; background: var(--navy); color: #fff; font-size: 1.3rem; margin-bottom: 12px; }
.role p { font-size: .93rem; margin-top: 8px; }
@media (max-width: 960px) { .roles { grid-template-columns: repeat(2, minmax(0, 1fr)); } .team { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 560px) { .roles { grid-template-columns: minmax(0, 1fr); } }

/* ── 13 導入の流れ ── */
.process { position: relative; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px; }
.process::before { content: ""; position: absolute; left: 6%; right: 6%; top: 21px; height: 3px; background: linear-gradient(90deg, var(--lav-2), var(--accent-2), var(--lav-2)); }
.milestone { position: relative; text-align: center; }
.milestone .n { position: relative; display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: #fff; border: 3px solid var(--accent-2); color: var(--accent-dark); font-family: var(--mono); font-weight: 800; }
.milestone .card { margin-top: 12px; background: #fff; border-radius: 14px; padding: 16px 14px; box-shadow: var(--shadow); text-align: left; height: calc(100% - 56px); }
.milestone p { font-size: .9rem; margin-top: 6px; }
.milestone.key .n { background: var(--accent); color: #fff; border-color: var(--accent); box-shadow: 0 0 0 6px #533dc92a; }
.milestone.key .card { outline: 2px solid var(--accent-2); }
.milestone .key-note { margin-top: 8px; font-size: .82rem; font-weight: 700; color: var(--accent-dark); background: var(--lav); border-radius: 8px; padding: 6px 8px; }
.prepare { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 20px; margin-top: 32px; }
.prepare > div { background: #fff; border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow); }
.prepare ul { display: grid; gap: 8px; margin-top: 12px; }
.prepare li { padding-left: 1.6em; position: relative; }
.prepare li::before { content: "✓"; position: absolute; left: 0; color: var(--accent); font-weight: 800; }
.prepare p { margin-top: 10px; }
@media (max-width: 960px) {
  .process { grid-template-columns: minmax(0, 1fr); gap: 14px; }
  .process::before { left: 21px; right: auto; top: 10px; bottom: 10px; width: 3px; height: auto; background: linear-gradient(180deg, var(--lav-2), var(--accent-2), var(--lav-2)); }
  .milestone { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 14px; text-align: left; }
  .milestone .card { margin-top: 0; height: auto; }
  .prepare { grid-template-columns: minmax(0, 1fr); }
}

/* ── 14 よくある質問 ── */
.faq { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 18px; }
.faq > div { background: #fff; border-radius: 14px; padding: 18px 20px; box-shadow: var(--shadow); }
.faq dt { font-weight: 800; display: flex; gap: 10px; }
.faq dd { display: flex; gap: 10px; margin-top: 8px; color: var(--muted); font-size: .95rem; }
.faq dt::before, .faq dd::before { flex: none; display: inline-grid; place-items: center; width: 26px; height: 26px; border-radius: 8px; font-family: var(--mono); font-size: .85rem; font-weight: 800; }
.faq dt::before { content: "Q"; background: var(--accent); color: #fff; }
.faq dd::before { content: "A"; background: var(--lav-2); color: var(--accent-dark); }
.faq .new { outline: 2px solid var(--accent-2); }
@media (max-width: 760px) { .faq { grid-template-columns: minmax(0, 1fr); } }

/* ── 15 お問い合わせ ── */
.contact { text-align: center; color: #fff; background: radial-gradient(ellipse at 50% 120%, #5a45c8, transparent 60%), var(--navy); }
.contact p { color: #d6d3ec; max-width: 40em; margin: 16px auto 0; }
.contact .button { margin-top: 28px; }
.footer { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; padding-block: 22px; color: var(--muted); font-size: .92rem; }

/* 弁護士の確認が必要な文言の印（?check=legal を付けて開いたときだけ表示） */
.legal-mode [data-legal] { outline: 3px dashed #e0457b; outline-offset: 4px; position: relative; }
.legal-mode [data-legal]::before { content: "⚖ 弁護士の確認が必要：" attr(data-legal); position: absolute; z-index: 5; top: -14px; left: 8px; max-width: 90%; background: #e0457b; color: #fff; font-size: .72rem; font-weight: 700; padding: 1px 8px; border-radius: 5px; line-height: 1.6; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .dots i { opacity: 1; }
  .steps-layout { grid-template-columns: minmax(0, 1fr); }
  .steps-index { position: static; }
}

/* 製品トップと4つの詳細ページ */
.menu { position: relative; }
.menu summary { color: var(--muted); cursor: pointer; list-style: none; padding-block: 6px; }
.menu summary::-webkit-details-marker { display: none; }
.menu summary::after { content: "⌄"; margin-left: .4em; }
.menu-panel { position: absolute; inset: 100% auto auto 0; width: max-content; padding: 8px 12px; border: 1px solid var(--line); border-radius: 10px; background: white; box-shadow: var(--shadow); }
.nav .menu-panel a { display: block; padding: 7px 10px; }
.nav nav { overflow: visible; }
.sr-only { position: absolute; width: 1px; height: 1px; clip-path: inset(50%); overflow: hidden; white-space: nowrap; }
.hero { background: linear-gradient(105deg,#151628f5 12%,#151628d9 54%,#24234da6), url("assets/radiovoice/illust/hub-studio.webp") center / cover, var(--navy); }
.hero .actual-stack { min-height: 0; display: grid; padding: 5px 0 20px; gap: 0; }
.stack-piece { width: 85%; border-radius: 12px; overflow: hidden; color: var(--ink); background: white; box-shadow: 0 12px 32px #0b091958; }
.stack-piece + .stack-piece { margin-top: -6px; }
.stack-piece:nth-child(2) { justify-self: end; z-index: 1; }
.stack-piece:nth-child(3) { z-index: 2; }
.stack-piece figcaption { padding: 8px 13px; border-bottom: 1px solid var(--line); color: var(--accent-dark); font-size: .8rem; font-weight: 700; }
.ui-crop { width: 100%; height: auto; border-radius: 12px; }
.stack-piece img { border-radius: 0; }
.quick { padding-block: clamp(30px,5vw,64px); }
.quick-grid { display: grid; grid-template-columns: repeat(6,minmax(0,1fr)); gap: 9px; margin-block: 15px; }
.quick-grid li { min-width: 0; padding: 12px; border-radius: 10px; background: var(--lav); font-size: .89rem; }
.quick-grid span { display: block; color: var(--accent); font-size: 1.15rem; }
.topic-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 16px; }
.topic-card { position: relative; isolation: isolate; overflow: hidden; display: grid; grid-template-rows: auto auto auto 1fr auto auto; gap: 8px; min-width: 0; border-radius: 18px; background: white; box-shadow: var(--shadow); padding: clamp(16px,2vw,28px); }
.topic-card:nth-child(even) { background: #f6f4ff; }
.topic-card:first-child { grid-column: span 2; }
.topic-card:last-child { grid-column: span 2; }
.topic-num { color: #6c52bd; font: 700 1.65rem var(--mono); }
.topic-card > .topic-art { position: absolute; z-index: -1; width: min(38%, 174px); height: 112px; object-fit: contain; top: -13px; right: -10px; opacity: .9; }
.topic-card > h3, .topic-card > p:not(.topic-tags) { max-width: 75%; }
.topic-ui { display: grid; align-items: center; min-height: 125px; margin-top: 9px; }
.topic-ui .ui-crop { max-height: 270px; object-fit: contain; object-position: left; transition: transform .2s ease; }
.topic-card:hover .topic-ui .ui-crop { transform: translateY(-4px); }
.topic-tags { color: var(--accent-dark); font-size: .85rem; }
.mini-loop { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 11px; }
.mini-loop li { background: var(--lav); border-radius: 8px; padding: 7px 11px; }
.detail-door { background: radial-gradient(ellipse at 79% 50%, #353162, var(--navy) 65%); color: white; }
.detail-door .wrap { display: grid; grid-template-columns: minmax(0,1.2fr) minmax(0,.8fr); align-items: center; gap: 24px; min-height: min(470px,60svh); padding-block: 34px; }
.detail-door h1 { margin-block: 10px; font-size: clamp(1.9rem,4vw,3.55rem); }
.detail-door p { color: #eee8fa; }
.detail-door .text-link { color: #d9ceff; }
.detail-door .topic-art { width: 100%; max-height: 310px; object-fit: contain; }
.next-feature { padding-bottom: 44px; }
.next-feature a { display: grid; gap: 4px; background: var(--lav); border-radius: 12px; padding: 15px 20px; text-decoration: none; }
.next-feature span { font-size: .85rem; color: var(--muted); }
.next-feature strong { color: var(--accent-dark); }
.authentic-shot { min-width: 0; margin-block: 12px; }
.authentic-shot > div { position: relative; }
.authentic-shot .ui-crop { box-shadow: var(--shadow); }
.authentic-shot figcaption { color: var(--muted); font-size: .88rem; margin-top: 8px; }
.shot-pin { position: absolute; top: -7px; left: -7px; width: 26px; height: 26px; display: grid; place-items: center; border-radius: 50%; background: var(--accent); color: white; font-size: .82rem; }
.shot-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 17px; margin-bottom: 22px; }
.screen-detail { margin-top: 18px; }
.screen-detail summary { cursor: pointer; color: var(--accent-dark); }
.step-panel .sample-reconstruction { grid-column: 1 / -1; }
.sample-wave { width: 100%; height: auto; max-height: 82px; margin-block: 11px 4px; }
.sound-example { max-width: 620px; }
#reading .authentic-shot { max-width: 590px; }
#share .topic-art { max-width: 245px; margin: 24px auto 0; }
@media(max-width:960px) {
  .quick-grid { grid-template-columns: repeat(3,minmax(0,1fr)); }
  .topic-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .topic-card:last-child { grid-column: auto; }
  .hero .actual-stack { max-width: 620px; }
}
@media(max-width:640px) {
  html { scroll-padding-top: 110px; }
  .nav nav { gap: 5px 13px; font-size: .87rem; flex-wrap: wrap; white-space: normal; }
  .quick-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .topic-grid, .shot-grid, .detail-door .wrap { grid-template-columns: minmax(0,1fr); }
  .topic-card:first-child { grid-column: auto; }
  .detail-door .topic-art { max-height: 145px; }
  .stack-piece { width: 100%; }
  .stack-piece + .stack-piece { margin-top: 8px; }
}
@media(prefers-reduced-motion:reduce) {
  .topic-ui .ui-crop { transition: none; }
  .topic-card:hover .topic-ui .ui-crop { transform: none; }
}

/* 製品写真。見出しや操作の説明はHTMLのまま写真に重ねる。 */
.hero { background: radial-gradient(ellipse at 77% 75%,#45346e,transparent 58%), var(--navy); }
.top-device { display: block; align-self: center; }
.top-device img { width: 100%; height: auto; }
.photo-door { display: grid; isolation: isolate; background: #f5f5f8; color: var(--ink); }
.photo-door .wrap, .door-photo { grid-area: 1 / 1; }
.door-photo { display: block; z-index: -1; }
.door-photo img { width: 100%; height: auto; }
.photo-door .wrap { display: flex; min-height: 0; }
.photo-door .wrap > div { width: min(45%, 540px); }
.photo-door p { color: var(--muted); }
.photo-door .text-link { color: var(--accent-dark); }
.photo-door h1 { font-size: clamp(1.9rem,3.4vw,3.15rem); }
#scenes .quick-grid { grid-template-columns: repeat(3,minmax(0,1fr)); gap: 15px; }
#scenes .quick-grid li { padding: 0 0 12px; overflow: hidden; }
#scenes .quick-grid li > strong, #scenes .quick-grid li > span { margin-left: 13px; }
#scenes .quick-grid img { width: 100%; aspect-ratio: 4/3; object-fit: cover; margin-bottom: 8px; }
.step-thumb { margin-top: 9px; min-height: 40px; object-fit: contain; object-position: left top; }
.people-band { display: grid; align-items: center; isolation: isolate; background: #f2f2f6; }
.people-band picture, .people-band > .wrap { grid-area: 1 / 1; }
.people-band picture { z-index: -1; }
.people-band img { width: 100%; height: auto; }
.people-band h2 { max-width: 38%; }
.photo-contact { background: linear-gradient(#151628b3,#151628d9),url("assets/radiovoice/photo/top-contact.webp") center / cover, var(--navy); }
.editorial-photos { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 16px; margin: 25px 0; }
.editorial-photos img, .section-photo img { border-radius: 12px; width: 100%; height: auto; }
.section-photo { display: block; max-width: 720px; margin: 27px 0; }
.topic-card > h3, .topic-card > p:not(.topic-tags) { max-width: 100%; }
@media(max-width:960px) {
  .top-device { max-width: 650px; margin-inline: auto; }
  #workflow .quick-grid { grid-template-columns: repeat(3,minmax(0,1fr)); }
}
@media(max-width:640px) {
  .photo-door .wrap, .people-band > .wrap { grid-area: 1 / 1; }
  .door-photo, .people-band picture { grid-area: 2 / 1; }
  .photo-door .wrap > div, .people-band h2 { width: auto; max-width: none; }
  .people-band h2 { padding-block: 22px; }
  #scenes .quick-grid, #workflow .quick-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .editorial-photos { grid-template-columns: minmax(0,1fr); }
}

/* ===== 機能カードと6手順：スクショを縮めず、要点だけを読める大きさで見せる ===== */
.feat-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.feat { display: flex; flex-direction: column; gap: 20px; min-width: 0; padding: clamp(22px, 3vw, 36px); border-radius: 20px; background: #fff; box-shadow: 0 20px 60px rgba(21,22,40,.08); }
.feat .text-link { margin-top: auto; }
.feat-wide { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); align-items: center; gap: clamp(24px, 4vw, 56px); }
.feat-wide .text-link { margin-top: 18px; display: inline-block; }
.feat h3 { font-size: clamp(1.35rem, 2.2vw, 1.7rem); margin-top: 4px; }
.feat-text > p:not(.topic-num) { margin-top: 10px; color: var(--muted); }
.feat-points { margin-top: 16px; display: grid; gap: 8px; font-size: .95rem; }
.feat-points li { line-height: 1.9; }
.feat-points .sev { margin-right: 4px; }
.feat-points li::before { content: "✓"; color: var(--accent); font-weight: 700; margin-right: 4px; }

/* 見本の部品 */
.sev { display: inline-block; padding: 3px 10px; border-radius: 6px; font-size: .82rem; font-weight: 700; line-height: 1.5; }
.sev-red { color: var(--red); background: var(--red-bg); }
.sev-amber { color: var(--amber); background: var(--amber-bg); }
.sev-info { color: var(--info); background: var(--info-bg); }
.fm { min-width: 0; padding: 20px; border-radius: 16px; background: #fff; border: 1px solid var(--line); box-shadow: 0 12px 32px rgba(21,22,40,.07); }
.fm-chip { display: inline-block; padding: 3px 10px; border-radius: 6px; background: #f1f2f7; color: var(--muted); font-size: .82rem; font-weight: 600; }
.fm-btn { display: inline-flex; align-items: center; justify-content: center; padding: 9px 16px; border-radius: 10px; border: 1px solid var(--line); background: #fff; color: var(--ink); font-size: .92rem; font-weight: 700; white-space: nowrap; box-shadow: 0 2px 6px rgba(21,22,40,.08); }
.fm-dark { background: var(--navy); border-color: var(--navy); color: #fff; }
.fm-purple { background: var(--accent); border-color: var(--accent); color: #fff; }
.fm-plan { display: inline-block; padding: 2px 9px; border-radius: 999px; border: 1px dashed var(--accent); color: var(--accent); font-size: .78rem; font-weight: 700; vertical-align: middle; }

/* 01 指摘カード */
.fm-check { border-left: 5px solid var(--red); }
.fm-tags { display: flex; gap: 8px; }
.fm-ba { margin-top: 14px; display: grid; gap: 8px; }
.fm-ba div { display: grid; grid-template-columns: 4em 1fr; gap: 10px; align-items: baseline; }
.fm-ba dt { color: var(--muted); font-size: .82rem; }
.fm-before { color: #8a8fa3; text-decoration: line-through; }
.fm-after { font-size: clamp(1.05rem, 1.6vw, 1.25rem); font-weight: 700; }
.fm-row { margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--line); display: flex; gap: 14px; align-items: center; justify-content: space-between; }
.fm-why { font-size: .88rem; color: var(--muted); }
.fm-std { margin-top: 12px; padding: 9px 12px; border-radius: 8px; background: #f6f7fb; font-size: .82rem; color: var(--muted); }

/* 02 尺 */
.fm-timing { display: grid; gap: 14px; background: var(--navy); border-color: var(--navy); }
.fm-drum { display: inline-flex; align-items: center; justify-content: center; gap: 14px; color: #fff; }
.fm-drum .fm-tc { font: 700 clamp(2.2rem, 4.5vw, 3rem) var(--mono); letter-spacing: .02em; }
.fm-arrow { color: #a99cf7; font-size: .9rem; }
.fm-wave { width: 100%; height: 56px; object-fit: fill; filter: brightness(1.6) saturate(.8); }
.fm-result { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }
.fm-ok { padding: 4px 12px; border-radius: 6px; background: var(--good-bg); color: var(--good); font-size: .88rem; font-weight: 700; }

/* 03 読み */
.fm-reading { display: grid; gap: 14px; }
.fm-word { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.fm-word ruby { font-size: 2.4rem; font-weight: 800; line-height: 1.2; }
.fm-word rt { font-size: .85rem; color: var(--accent); font-weight: 700; }
.fm-dialects { display: flex; flex-wrap: wrap; gap: 6px; }
.fm-dialects span { padding: 6px 12px; border-radius: 8px; border: 1px solid var(--line); font-size: .88rem; }
.fm-dialects .on { border-color: var(--accent); background: var(--lav); color: var(--accent); font-weight: 700; }
.fm-pitch { width: 100%; height: auto; display: block; }

/* 04 判断の共有 */
.feat-share { background: linear-gradient(135deg, #fff, #f4f1fd); }
.fm-flow { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; counter-reset: none; }
.fm-flow li { position: relative; display: grid; gap: 8px; align-content: start; padding: 16px; border-radius: 14px; background: #fff; border: 1px solid var(--line); }
.fm-flow li.plan { border-style: dashed; border-color: #c6bdf3; background: #fbfaff; }
.fm-flow li:not(:last-child)::after { content: "→"; position: absolute; right: -11px; top: 50%; translate: 0 -50%; color: var(--accent); font-weight: 700; z-index: 1; }
.fm-flow b, .flow6 b { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--accent); color: #fff; font: 700 .85rem var(--mono); }
.fm-flow strong { font-size: 1rem; }
.fm-flow li > span:not(.fm-plan):not(.fm-decide) { font-size: .82rem; color: var(--muted); }
.fm-decide { display: grid; gap: 5px; }
.fm-decide span { padding: 6px 8px; border-radius: 8px; border: 1px solid var(--line); background: #fff; font-size: .8rem; font-weight: 700; text-align: center; white-space: nowrap; }
.fm-decide .on { border-color: var(--accent); background: var(--lav); color: var(--accent); }

/* 6手順 */
.flow6 { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 14px; position: relative; }
.flow6 li { display: grid; grid-template-rows: auto auto 1fr; gap: 10px; justify-items: start; align-content: start; padding: 18px 16px; border-radius: 16px; background: var(--lav); min-width: 0; }
.flow6 strong { font-size: 1.02rem; }
.flow6 li > .fm-btn, .flow6 li > .fm-drum, .flow6 li > .fm-pair, .flow6 li > .fm-decide { align-self: center; justify-self: stretch; }
.flow6 .fm-btn { font-size: .85rem; padding: 9px 10px; white-space: normal; text-align: center; }
.fm-pair { display: grid; gap: 6px; }
.fm-drum-sm { padding: 10px 8px; border-radius: 10px; background: var(--navy); gap: 8px; }
.fm-drum-sm .fm-tc { font-size: 1.25rem; }
.flow6-total { margin-top: 22px; display: flex; flex-wrap: wrap; align-items: center; gap: 6px 18px; font-weight: 700; }

@media (max-width: 1100px) {
  .flow6 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 860px) {
  .feat-grid { grid-template-columns: minmax(0, 1fr); }
  .feat-wide { grid-template-columns: minmax(0, 1fr); }
  .fm-flow { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .fm-flow li:nth-child(2)::after { content: none; }
}
@media (max-width: 560px) {
  .flow6 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .fm-row { flex-direction: column; align-items: flex-start; }
  .fm-flow { grid-template-columns: minmax(0, 1fr); }
  .fm-flow li::after { content: none !important; }
}

/* ===== ご導入のご相談（radiovoice-contact.html） ===== */
.contact-door { background: radial-gradient(ellipse at 80% 40%, #353162, var(--navy) 65%); color: #fff; }
.contact-door .wrap { padding-block: clamp(48px, 7vw, 88px); max-width: 860px; margin-left: max(calc((100% - 1180px) / 2), clamp(16px, 4vw, 60px)); }
.contact-door h1 { margin-block: 12px; font-size: clamp(2rem, 4vw, 3.2rem); }
.contact-door p { color: #e6e1f7; max-width: 640px; }
.contact-door .text-link { color: #d9ceff; }
.contact-grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(28px, 5vw, 72px); align-items: start; }
.contact-side h2 { font-size: clamp(1.3rem, 2vw, 1.6rem); }
.contact-steps { margin-top: 20px; display: grid; gap: 18px; }
.contact-steps li { display: grid; grid-template-columns: 32px 1fr; gap: 14px; }
.contact-steps b { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--accent); color: #fff; font: 700 .9rem var(--mono); }
.contact-steps p { margin-top: 4px; color: var(--muted); font-size: .95rem; }
.contact-prep { margin-top: 28px; padding: 20px 22px; border-radius: 16px; background: var(--lav); }
.contact-prep h3 { font-size: 1rem; }
.contact-prep ul { margin-top: 10px; display: grid; gap: 6px; }
.contact-prep li::before { content: "✓"; color: var(--accent); font-weight: 700; margin-right: 8px; }
.contact-prep p { margin-top: 10px; color: var(--muted); font-size: .9rem; }
.contact-form { display: grid; gap: 18px; padding: clamp(22px, 3vw, 36px); border-radius: 20px; background: #fff; box-shadow: 0 20px 60px rgba(21,22,40,.08); }
.contact-form label, .contact-form legend { display: block; font-weight: 700; font-size: .95rem; }
.contact-form legend { display: block; margin-bottom: 8px; }
.contact-form input:not([type=checkbox]), .contact-form select, .contact-form textarea { width: 100%; padding: 12px 14px; border: 1px solid var(--line); border-radius: 10px; font: inherit; font-weight: 400; background: #fbfbfe; display: block; margin-top: 8px; }
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus { outline: 2px solid var(--accent); outline-offset: 1px; background: #fff; }
.contact-form fieldset { border: 0; padding: 0; margin: 0; display: grid; gap: 8px; }
.contact-form label.check { display: flex; align-items: center; gap: 10px; font-weight: 400; }
.contact-form input[type=checkbox] { width: 18px; height: 18px; accent-color: var(--accent); }
.req, .opt { display: inline-block; margin-left: 8px; padding: 1px 8px; border-radius: 6px; font-size: .75rem; font-weight: 700; vertical-align: middle; }
.req { background: var(--red-bg); color: var(--red); }
.opt { background: #f1f2f7; color: var(--muted); }
.form-note { padding: 10px 14px; border-radius: 10px; background: var(--amber-bg); color: var(--amber); font-size: .88rem; }
.privacy { color: var(--muted); font-size: .88rem; }
.contact-form .button { justify-self: start; border: 0; cursor: pointer; padding: 14px 28px; }
.form-done { padding: 10px 14px; border-radius: 10px; background: var(--good-bg); color: var(--good); font-size: .9rem; }
@media (max-width: 860px) { .contact-grid { grid-template-columns: minmax(0, 1fr); } }

/* ===== 一番上の題名：言葉の途中で改行しない ===== */
.hero h1 { text-wrap: wrap; }
.nb { display: inline-block; }

/* ===== 6手順：AI がやる所と、人が決める所を見分ける ===== */
.who-legend { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 16px; }
.who { display: inline-flex; align-items: center; gap: 5px; padding: 3px 10px 3px 7px; border-radius: 999px; font-size: .8rem; font-weight: 700; line-height: 1.5; white-space: nowrap; }
.who svg { width: 16px; height: 16px; flex: none; }
.who.ai { background: linear-gradient(90deg, #533dc9, #7b5cf0); color: #fff; }
.who.human { background: #fff; color: var(--muted); border: 1px solid var(--line); }
.who-legend .who { font-size: .88rem; padding: 5px 14px 5px 10px; }
.who-legend .who svg { width: 18px; height: 18px; }
.flow6 li { grid-template-rows: auto auto 1fr auto; }
.flow6 li.human { background: #f6f6f9; }
.flow6 li.ai { position: relative; background: linear-gradient(160deg, #efeaff, #e3dbff); box-shadow: inset 0 0 0 2px #8b78f5; }
.flow6 li.ai::after { content: ""; position: absolute; top: 14px; right: 14px; width: 30px; height: 30px; border-radius: 9px; background: var(--accent) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cg fill='none' stroke='white' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3v3'/%3E%3Crect x='4' y='6' width='16' height='12' rx='4'/%3E%3Ccircle cx='9' cy='12' r='1.3' fill='white'/%3E%3Ccircle cx='15' cy='12' r='1.3' fill='white'/%3E%3Cpath d='M9.5 15.5h5'/%3E%3C/g%3E%3C/svg%3E") center / 20px no-repeat; }
.flow6 li.human b { background: #8a8fa3; }
.who-note { display: grid; gap: 6px; justify-items: start; font-size: .82rem; line-height: 1.5; color: var(--muted); }
.flow6 li.ai .who-note { color: var(--accent-dark); font-weight: 600; }

/* ===== 一番上の PC とスマホ：斜めの写真に、本物の画面をくっきり貼り込んだ画像を大きく見せる ===== */
@media (min-width: 961px) {
  .hero-grid { grid-template-columns: minmax(0, .9fr) minmax(0, 1.25fr); }
  .top-device { width: 105%; margin-right: -5%; }
}
.stat strong { white-space: nowrap; font-size: clamp(1.1rem, 1.7vw, 1.5rem); letter-spacing: -.01em; }
.stat { padding: 12px 10px 10px; }

/* ロボットの印：アンテナ・耳・目・口・胴のある、ひと目で分かる形 */
.flow6 li.ai::after { width: 38px; height: 38px; border-radius: 11px; background: var(--accent) url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22 color=%22white%22%3E%3Cpath d=%22M12 5.2V3%22 stroke=%22white%22 stroke-width=%221.6%22 stroke-linecap=%22round%22/%3E%3Ccircle cx=%2212%22 cy=%222.4%22 r=%221.5%22 fill=%22white%22/%3E%3Crect x=%222.2%22 y=%229%22 width=%222.3%22 height=%224.6%22 rx=%221%22 fill=%22white%22/%3E%3Crect x=%2219.5%22 y=%229%22 width=%222.3%22 height=%224.6%22 rx=%221%22 fill=%22white%22/%3E%3Crect x=%224.6%22 y=%225.2%22 width=%2214.8%22 height=%2212%22 rx=%223.6%22 fill=%22white%22/%3E%3Ccircle cx=%229.2%22 cy=%2210.4%22 r=%221.9%22 fill=%22%23533dc9%22/%3E%3Ccircle cx=%2214.8%22 cy=%2210.4%22 r=%221.9%22 fill=%22%23533dc9%22/%3E%3Crect x=%228.6%22 y=%2213.6%22 width=%226.8%22 height=%221.6%22 rx=%22.8%22 fill=%22%23533dc9%22/%3E%3Crect x=%227.5%22 y=%2218.4%22 width=%229%22 height=%224.2%22 rx=%221.6%22 fill=%22white%22/%3E%3C/svg%3E") center / 26px no-repeat; box-shadow: 0 6px 14px -6px rgba(83,61,201,.7); }
.who.ai { --robot-eye: #533dc9; }
.who svg { width: 18px; height: 18px; }
.who-legend .who svg { width: 20px; height: 20px; }

/* ── 操作の流れ：ノートPCの中の本物の画面に寄っていく ── */
.tour2 { position: relative; height: calc(var(--beats) * 90vh + 100vh); }
.tour2-stage { position: sticky; top: var(--hdr, 72px); height: calc(100vh - var(--hdr, 72px)); overflow: hidden; background: linear-gradient(180deg,#f7f6fb 0%,#efedf7 100%); }
.tour2-stage::before { content: ""; position: absolute; inset: 0; z-index: 2; pointer-events: none; background: linear-gradient(90deg, #f3f2f9 0%, #f3f2f9 29%, #f3f2f900 36%); }
.tour2-head { position: absolute; left: 4vw; top: 5vh; width: 26vw; z-index: 3; }
.tour2-head h2 { font-size: clamp(1.4rem, 2.3vw, 2rem); margin-top: 4px; }
.tour2-side { position: absolute; left: 4vw; top: 22vh; width: 23vw; z-index: 3; display: grid; gap: 14px; }
.tour2-index { background: #fffffff2; border-radius: 16px; padding: 8px; box-shadow: 0 10px 30px #2a246014; }
.tour2-index li { display: grid; grid-template-columns: 26px 1fr auto; gap: 10px; align-items: center; padding: 8px 10px; border-radius: 10px; color: var(--muted); font-size: .92rem; transition: background .3s, color .3s; }
.tour2-index .n { display: inline-grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: #ecebf3; font: 800 .8rem var(--mono); transition: background .3s, color .3s; }
.tour2-index .t { font: .75rem var(--mono); }
.tour2-index li.on { background: var(--lav); color: var(--ink); font-weight: 700; }
.tour2-index li.on .n { background: var(--accent); color: #fff; }
.tour2-index li.done .n { background: #d9d5f3; color: var(--accent); }
.tour2-total { font-size: .85rem; color: var(--muted); padding-left: 6px; }

/* ノートPC：画面の右下 3/4 に置く。will-change を付けると拡大した絵がぼやけるので付けない */
.rig { position: absolute; left: 0; top: 0; transform-origin: 0 0; z-index: 1; }
.laptop { transform-origin: 50% 100%; }
.lid { background: #1c1c24; border-radius: 18px 18px 6px 6px; padding: 1.6% 1.6% 2.4%; box-shadow: inset 0 0 0 2px #34343f, 0 40px 80px -30px #1d1640aa; position: relative; }
.lid::before { content: ""; position: absolute; top: .65%; left: 50%; width: 6px; height: 6px; margin-left: -3px; border-radius: 50%; background: #3b3b48; }
.screen { position: relative; aspect-ratio: 16 / 10; overflow: hidden; border-radius: 4px; background: #f5f6fa; }
.screen iframe { position: absolute; left: 0; top: 0; width: 1440px; height: 900px; border: 0; transform-origin: 0 0; pointer-events: none; background: #f5f6fa; }
/* 押す様子を見せるマウスの矢印（画面の幅に対する割合で大きさを決める） */
.cursor { position: absolute; left: 0; top: 0; width: 1.7%; aspect-ratio: 1; opacity: 0; pointer-events: none; z-index: 2; filter: drop-shadow(0 2px 3px #0005); }
.cursor svg { width: 100%; height: 100%; display: block; transform-origin: 15% 10%; transition: transform .12s; }
.cursor.down svg { transform: scale(.8); }
.cursor i { position: absolute; left: 15%; top: 10%; width: 260%; aspect-ratio: 1; border-radius: 50%; border: 3px solid #7c6cf0; transform: translate(-50%, -50%) scale(0); opacity: 0; }
.cursor.down i { animation: ripple .45s ease-out; }
@keyframes ripple { from { transform: translate(-50%, -50%) scale(.2); opacity: 1; } to { transform: translate(-50%, -50%) scale(1); opacity: 0; } }
/* 注目する場所：まわりを少し暗くして、やわらかい光の輪で示す */
.mark { position: absolute; border-radius: 10px; pointer-events: none; opacity: 0; box-shadow: 0 0 0 2px #7c6cf0cc, 0 0 24px 6px #7c6cf055, 0 0 0 200vmax #1c183c2e; }
.base { height: 0; position: relative; }
.base::before { content: ""; position: absolute; left: -7%; right: -7%; top: 0; height: 22px; border-radius: 2px 2px 22px 22px; background: linear-gradient(180deg,#d9dbe3 0%,#b9bcc8 55%,#9a9dab 100%); box-shadow: 0 30px 40px -18px #1d164066; }
.base::after { content: ""; position: absolute; left: 50%; width: 16%; margin-left: -8%; top: 0; height: 8px; border-radius: 0 0 10px 10px; background: #a7aab7; }

/* 説明の吹き出し：操作のすぐ近くに、透けたカードでふわっと出す */
.bubble { position: absolute; left: 0; top: 0; z-index: 4; width: min(400px, 27vw); padding: 16px 20px 18px; border-radius: 16px;
  background: #ffffff9e; -webkit-backdrop-filter: blur(16px) saturate(1.5); backdrop-filter: blur(16px) saturate(1.5);
  border: 1px solid #ffffffd0; box-shadow: 0 20px 44px -14px #2a1f7a55, inset 0 1px 0 #fff;
  word-break: auto-phrase; line-height: 1.75; opacity: 0; pointer-events: none; }
.bubble .k { font-size: .78rem; color: var(--accent); font-weight: 800; letter-spacing: .04em; }
.bubble p { margin: 6px 0 0; color: var(--ink); font-size: 1.05rem; }
.bubble .sub { font-size: .9rem; color: #4a4860; }
.bubble::after { content: ""; position: absolute; width: 14px; height: 14px; background: inherit; border: inherit; transform: rotate(45deg); }
.bubble[data-side="right"]::after { left: -8px; top: var(--tail); border-width: 0 0 1px 1px; margin-top: -7px; }
.bubble[data-side="left"]::after { right: -8px; top: var(--tail); border-width: 1px 1px 0 0; margin-top: -7px; }
.bubble[data-side="below"]::after { top: -8px; left: var(--tail); border-width: 1px 0 0 1px; margin-left: -7px; }
.bubble[data-side="above"]::after { bottom: -8px; left: var(--tail); border-width: 0 1px 1px 0; margin-left: -7px; }
.bubble[data-side="free"]::after { display: none; }

.tour2-cap { position: absolute; right: 3vw; bottom: 1.5vh; z-index: 3; font-size: .78rem; color: var(--muted); }
/* スマホ：手順は上に横並び、PC は全幅、説明は下にまとめて出す */
@media (max-width: 900px) {
  .tour2 { height: calc(var(--beats) * 75vh + 100vh); }
  .tour2-stage::before { display: none; }
  .tour2-head { left: 5vw; top: 2.5vh; width: 90vw; }
  .tour2-head h2 { font-size: 1.3rem; }
  .tour2-side { left: 5vw; top: 15vh; width: 90vw; }
  .tour2-head br { display: none; }
  .tour2-index { display: flex; gap: 4px; padding: 6px; overflow: hidden; }
  .tour2-index li { padding: 6px; grid-template-columns: 24px; flex: 0 0 auto; }
  .tour2-index li > span:not(.n) { display: none; }
  .tour2-index li.on { grid-template-columns: 24px auto; flex: 1 1 auto; }
  .tour2-index li.on > span:nth-child(2) { display: block; font-size: .85rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .tour2-total { display: none; }
  .bubble { width: 90vw; }
  .tour2-cap { right: 5vw; }
}

/* 判断ボタンの図解 */
.judge { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin-top: 28px; }
.judge-box { background: #fff; border-radius: var(--radius); padding: 18px 20px; box-shadow: var(--shadow); word-break: auto-phrase; }
.judge-box p { margin: 6px 0 0; font-size: .95rem; }
.judge-label { font-weight: 800; color: var(--accent); font-size: .9rem; margin: 0 !important; }
.judge-btns { display: grid; gap: 8px; margin-top: 10px; }
.judge-btns li { border: 1px solid var(--line); border-radius: 10px; padding: 8px 12px; background: #fff; }
.judge-btns li.on { border-color: #34a37a; background: #eaf7f1; }
.judge-btns b { display: block; font-size: .92rem; }
.judge-btns span { font-size: .8rem; color: var(--muted); }
.judge-rec { margin-top: 8px; display: grid; gap: 6px; font-size: .92rem; }
.judge-rec li { padding-left: 1.4em; position: relative; }
.judge-rec li::before { content: "✓"; position: absolute; left: 0; color: var(--accent); font-weight: 800; }
.judge-box .tag { margin-right: 6px; }
@media (max-width: 1000px) { .judge { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .judge { grid-template-columns: minmax(0, 1fr); } }

/* 保存と受け渡し：4つを横一列に */
@media (min-width: 1000px) { .check-list.four { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

/* 写真は、本文の幅いっぱいに横長で大きく見せる（画面の端まで広げると、元の写真の細かさが足りず粗くなる） */
.section-photo { max-width: none; width: 100%; margin: 36px 0; }
.section-photo img { aspect-ratio: 21 / 9; object-fit: cover; }
@media (max-width: 700px) { .section-photo img { aspect-ratio: 4 / 3; } }

/* ── ホーム：主の2つの機能カード ── */
.feat-two { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.feat2 { display: grid; grid-template-rows: auto 1fr auto; gap: 18px; background: #fff; border-radius: 22px; padding: clamp(22px, 3vw, 36px); box-shadow: var(--shadow); text-decoration: none; color: inherit; transition: transform .25s, box-shadow .25s; }
.feat2:hover { transform: translateY(-4px); box-shadow: 0 24px 50px -20px #2a1f7a55; }
.feat2 h3 { font-size: clamp(1.4rem, 2.2vw, 1.8rem); margin-top: 4px; }
.feat2-text > p:not(.topic-num) { margin-top: 10px; word-break: auto-phrase; }
.feat2-mock { display: grid; gap: 12px; align-content: start; }
.feat2-go { justify-self: start; background: var(--accent); color: #fff; font-weight: 700; padding: 12px 20px; border-radius: 999px; }
.fm-decide2 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 12px; }
.fm-decide2 span { text-align: center; border: 1px solid var(--line); border-radius: 8px; padding: 8px 4px; font-size: .85rem; font-weight: 700; }
.fm-decide2 .on { border-color: #34a37a; background: #eaf7f1; color: #1f7a57; }
@media (max-width: 900px) { .feat-two { grid-template-columns: minmax(0, 1fr); } }

/* ── 操作の流れの中の、時間の物差し ── */
.tour2-meter { background: #fffffff2; border-radius: 16px; padding: 14px 16px; box-shadow: 0 10px 30px #2a246014; }
.tour2-meter .m-label { font-size: .8rem; color: var(--muted); font-weight: 700; margin: 0; }
.tour2-meter .m-now { margin: 2px 0 8px; }
.tour2-meter .m-now b { font: 800 1.9rem var(--mono); color: var(--accent); }
.tour2-meter .m-now span { font-size: .85rem; color: var(--muted); margin-left: 6px; }
.tour2-meter .m-row { display: grid; grid-template-columns: 6.2em 1fr auto; gap: 8px; align-items: center; font-size: .78rem; color: var(--muted); margin-top: 6px; }
.tour2-meter .m-bar { display: block; height: 10px; border-radius: 6px; }
.tour2-meter .m-bar.before { background: #c9c6d8; }
.tour2-meter .m-bar.after { width: 13.75%; background: #ecebf3; overflow: hidden; } /* 約5.5分 ÷ 約40分 */
.tour2-meter .m-bar.after i { display: block; height: 100%; width: 0; background: var(--accent); transition: width .5s; }
.tour2-meter em { font-style: normal; font-weight: 700; color: var(--ink); }
.ai-mark { display: inline-block; margin-left: 6px; padding: 0 6px; border-radius: 6px; background: #ece8ff; color: var(--accent); font: 800 .68rem/1.6 var(--mono); vertical-align: .15em; }
@media (max-width: 900px) {
  .tour2-meter { padding: 8px 12px; }
  .tour2-meter .m-row, .tour2-meter .m-label { display: none; }
  .tour2-meter .m-now { margin: 0; }
  .tour2-meter .m-now b { font-size: 1.3rem; }
}

/* ── 作業時間のまとめ ── */
.time-sum { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 32px; align-items: center; }
@media (max-width: 900px) { .time-sum { grid-template-columns: minmax(0, 1fr); } }
