/* Analista LP — ライトのみ。色はアプリの配色（芝・矢印の色）から取る */
/* 書体は Noto Sans JP（SIL OFL 1.1）を使う文字だけ切り出して自前で配る（scripts/subset_fonts.py）。外部の書体サービスは使わない */
@font-face { font-family: "Noto Sans JP"; src: url("assets/fonts/NotoSansJP-subset.woff") format("woff"); font-weight: 100 900; font-display: swap; }

:root {
  --paper: #F2F5F0;
  --surface: #FFFFFF;
  --ink: #0E1A14;
  --ink-2: #3E4A43;
  --rule: #D3DBD4;
  --turf: #1B7537;
  --turf-2: #228640;
  --turf-deep: #135A29;
  --pass: #FFFFFF;
  --dribble: #F5C518;
  --cross: #53C8EE;
  --shot: #FF7A1A;
  --team-a: #2F6BFF;
  --team-b: #E5383B;
  --frame: #15201A;

  --f-body: "Noto Sans JP", "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Yu Gothic", Meiryo, sans-serif;
  --f-display: var(--f-body);
  --f-hand: var(--f-body);

  --gutter: 16px;
  --max: 1160px;
  --section: clamp(64px, 9vw, 128px);
}
@media (min-width: 720px) { :root { --gutter: 32px; } }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--f-body);
  font-size: 16px;
  line-height: 1.85;
  letter-spacing: .02em;
  overflow-x: hidden;
}
img, svg { max-width: 100%; }
a { color: var(--turf); text-underline-offset: .2em; }
a:hover { color: var(--turf-deep); }
:focus-visible { outline: 3px solid var(--team-a); outline-offset: 3px; border-radius: 4px; }
h1, h2, h3, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }

.wrap { width: 100%; max-width: calc(var(--max) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 8px 14px; z-index: 10; }
.skip:focus { left: 8px; }

/* 見出しの段組み */
.h2 {
  font-family: var(--f-display);
  font-weight: 900;
  font-size: clamp(1.75rem, 1.15rem + 2.6vw, 2.75rem);
  line-height: 1.3;
  letter-spacing: .01em;
  font-feature-settings: "palt";
  max-width: 20em;
}
.h3 { font-size: 1.3125rem; line-height: 1.5; font-weight: 700; }
.section-lead { margin-top: 20px; font-size: 1.0625rem; color: var(--ink-2); max-width: 34em; }
.on-turf { color: #fff; }
.section-lead.on-turf { color: rgba(255,255,255,.88); }
.section-lead.wide { max-width: none; }

/* ===== ヘッダー ===== */
.site-header { padding-block: 18px; }
.header-inner { display: flex; align-items: center; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; font-weight: 700; font-size: 1.0625rem; letter-spacing: .01em; }
.brand img { border-radius: 7px; }
.site-nav { display: none; gap: 22px; margin-left: auto; }
.site-nav a { color: var(--ink-2); text-decoration: none; font-size: .9375rem; }
.site-nav a:hover { color: var(--ink); text-decoration: underline; }
.soon-chip { margin-left: auto; font-size: .8125rem; font-weight: 700; padding: 4px 12px; border-radius: 999px; background: var(--ink); color: #fff; white-space: nowrap; }
@media (min-width: 880px) {
  .site-nav { display: flex; }
  .soon-chip { margin-left: 0; }
}

/* ===== ヒーロー：薄い線でピッチのセンターサークルを敷く ===== */
.hero { position: relative; padding-block: clamp(24px, 5vw, 64px) var(--section); overflow: hidden; isolation: isolate; }
.hero::before, .hero::after { content: ""; position: absolute; z-index: -1; pointer-events: none; }
.hero::before {
  width: min(78vw, 820px); aspect-ratio: 1; border-radius: 50%;
  border: 3px solid rgba(27,117,55,.13);
  right: max(-26vw, -300px); top: 50%; transform: translateY(-50%);
}
.hero::after { width: 3px; top: 0; bottom: 0; right: calc(min(78vw, 820px) / 2 + max(-26vw, -300px)); background: rgba(27,117,55,.13); }
.hero-grid { display: grid; gap: 40px; align-items: center; }
@media (min-width: 960px) { .hero-grid { grid-template-columns: 5fr 7fr; gap: 56px; } }

.hero-title {
  font-family: var(--f-display);
  font-weight: 900;
  font-size: min(5rem, 15cqw);
  line-height: 1.16;
  letter-spacing: -.01em;
  font-feature-settings: "palt";
}
.hero-copy { container-type: inline-size; }
.hero-title span { display: block; white-space: nowrap; }
.hero-title span:last-child { color: var(--turf); }
.hero-lead { margin-top: 24px; font-size: 1.0625rem; color: var(--ink-2); max-width: 30em; }
.store { margin-top: 32px; display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; }
.store-badge {
  display: inline-flex; flex-direction: column; justify-content: center;
  padding: 8px 22px 9px; border-radius: 12px; background: var(--ink); color: #fff;
  line-height: 1.25; min-width: 168px;
}
.store-badge-small { font-size: .75rem; opacity: .8; }
.store-badge-big { font-size: 1.25rem; font-weight: 700; letter-spacing: .06em; }
.hero-facts { display: flex; flex-wrap: wrap; gap: 6px 8px; }
.hero-facts li { font-size: .875rem; font-weight: 700; padding: 3px 12px; border: 2px solid var(--turf); color: var(--turf-deep); border-radius: 999px; background: var(--paper); }

/* ===== スクリーンショットの枠（CSS で描く端末） =====
   iPhone は 17 Pro に寄せる：細く均一な黒い縁、チタンの外枠（border に金属のグラデーション）、画面の角の丸み、
   Dynamic Island（縦は上、横は左）、側面のボタン、やわらかい影。iPad は縁を均一にし、横向きの長い辺にカメラ。
   画面写真の上に重ねるもの（.hl / .call / 島 / 映り込み）は、すべて .screen（画像の箱）を基準に置く */
.shot { --ar: 1206 / 2622; }
.shot.land { --ar: 2622 / 1206; }
.shot.ipad.land { --ar: 2420 / 1668; }
.shot .bezel {
  position: relative;
  border: 2px solid transparent;
  background:
    linear-gradient(#0A0C0D, #0A0C0D) padding-box,
    linear-gradient(140deg, #DCDEDF 0%, #8D9296 16%, #4A4F53 33%, #C7CACC 50%, #5E6367 67%, #A9ADB0 84%, #E4E6E7 100%) border-box;
  box-shadow:
    inset 0 0 0 1px rgba(0,0,0,.9),
    inset 0 0 0 2px rgba(255,255,255,.07),
    0 2px 4px rgba(14,26,20,.10),
    0 18px 34px -14px rgba(14,26,20,.36),
    0 44px 72px -34px rgba(14,26,20,.30);
}
.shot .screen { position: relative; }
.shot img { display: block; width: 100%; height: auto; background: #000; }
/* 画面のごく薄い映り込み */
.shot .screen::before {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none; border-radius: inherit;
  background: linear-gradient(118deg, rgba(255,255,255,.10) 0%, rgba(255,255,255,.035) 26%, rgba(255,255,255,0) 40%);
}
.shot .screen > .hl, .shot .screen > .call { z-index: 2; }

/* iPhone 縦 */
.shot.phone.port .bezel { padding: 1.7%; border-radius: 15.7% / 7.4%; }
.shot.phone.port .screen,
.shot.phone.port img,
.shot.phone.port.is-missing .slot { border-radius: 13.7% / 6.3%; }
/* iPhone 横（上を左に倒した向き） */
.shot.phone.land .bezel { padding: .78%; border-radius: 7.4% / 15.7%; }
.shot.phone.land .screen,
.shot.phone.land img,
.shot.phone.land.is-missing .slot { border-radius: 6.3% / 13.7%; }

/* Dynamic Island：ステータスバーの時刻と電池の間（縦）、左の余白（横）に載る */
.shot.phone .screen::after { content: ""; position: absolute; z-index: 1; background: #000; border-radius: 999px; pointer-events: none; box-shadow: inset 0 0 0 1px rgba(255,255,255,.04); }
.shot.phone.port .screen::after { left: 34.5%; width: 31%; top: 1.25%; height: 4.2%; }
.shot.phone.land .screen::after { top: 34.5%; height: 31%; left: 1.25%; width: 4.2%; }

/* 側面のボタン：左にアクションボタンと音量、右にサイドボタンとカメラコントロール（横では下と上） */
.shot.phone .bezel::before, .shot.phone .bezel::after {
  content: ""; position: absolute; pointer-events: none;
  -webkit-mask: var(--m); mask: var(--m);
}
.shot.phone.port .bezel::before, .shot.phone.port .bezel::after { width: .75%; background: linear-gradient(90deg, #6C7175, #D6D8DA 50%, #7E8387); }
.shot.phone.port .bezel::before {
  left: calc(-2px - .75%); top: 17.5%; height: 22.5%; border-radius: 3px 0 0 3px;
  --m: linear-gradient(180deg, #000 0 17.8%, transparent 17.8% 33.3%, #000 33.3% 62.2%, transparent 62.2% 71.1%, #000 71.1% 100%);
}
.shot.phone.port .bezel::after {
  right: calc(-2px - .75%); top: 26%; height: 36%; border-radius: 0 3px 3px 0;
  --m: linear-gradient(180deg, #000 0 30.6%, transparent 30.6% 83.3%, #000 83.3% 100%);
}
.shot.phone.land .bezel::before, .shot.phone.land .bezel::after { height: .75%; background: linear-gradient(180deg, #6C7175, #D6D8DA 50%, #7E8387); }
.shot.phone.land .bezel::before {
  bottom: calc(-2px - .75%); left: 17.5%; width: 22.5%; border-radius: 0 0 3px 3px;
  --m: linear-gradient(90deg, #000 0 17.8%, transparent 17.8% 33.3%, #000 33.3% 62.2%, transparent 62.2% 71.1%, #000 71.1% 100%);
}
.shot.phone.land .bezel::after {
  top: calc(-2px - .75%); left: 26%; width: 36%; border-radius: 3px 3px 0 0;
  --m: linear-gradient(90deg, #000 0 30.6%, transparent 30.6% 83.3%, #000 83.3% 100%);
}

/* iPad 横：均一な縁、長い辺の中央に前面カメラ */
.shot.ipad .bezel { padding: 2.2%; border-radius: 3.8% / 5.4%; }
.shot.ipad .screen,
.shot.ipad img,
.shot.ipad.is-missing .slot { border-radius: 1.6% / 2.3%; }
.shot.ipad .bezel::before {
  content: ""; position: absolute; left: 50%; top: 1.5%; width: .6%; aspect-ratio: 1; transform: translate(-50%, -50%);
  border-radius: 50%; background: radial-gradient(circle at 35% 35%, #3A4250 0 25%, #12151A 60%); box-shadow: 0 0 0 1px rgba(255,255,255,.05);
}
.shot figcaption { margin-top: 12px; font-size: .8125rem; color: var(--ink-2); text-align: center; }

/* ファイルがまだない間の、ファイル名つきの空き枠 */
.shot .slot { display: none; }
.shot.is-missing img { display: none; }
.shot.is-missing .slot {
  display: flex; align-items: center; justify-content: center; text-align: center;
  aspect-ratio: var(--ar);
  background: repeating-linear-gradient(-45deg, #2A3630 0 10px, #25302A 10px 20px);
  color: #C9D3CC; font-size: .8125rem; font-weight: 700; letter-spacing: .02em; padding: 8px;
  word-break: break-all;
}

.hero-shot { width: 100%; max-width: 760px; justify-self: center; }

/* ===== 困りごと ===== */
.problem { background: var(--surface); padding-block: var(--section); }
.problem-grid { display: grid; gap: 48px; align-items: center; }
@media (min-width: 960px) { .problem-grid { grid-template-columns: 6fr 5fr; gap: 64px; } }
.problem-copy p { margin-top: 18px; color: var(--ink-2); max-width: 32em; }
.problem-copy .h2 + p { margin-top: 28px; }
.problem-copy .problem-turn { color: var(--ink); font-size: 1.125rem; }
.problem-turn strong { color: var(--turf); }

.problem-art { display: flex; align-items: flex-end; justify-content: center; gap: 0; }
.notebook { position: relative; width: 58%; max-width: 280px; transform: rotate(-3deg); margin-right: -6%; margin-bottom: 18%; z-index: 0; }
.notebook-page {
  font-family: var(--f-hand); font-weight: 500; color: #2B3A8C;
  font-size: clamp(.875rem, .8rem + .4vw, 1.0625rem); line-height: 2.1em;
  padding: 1.1em 1em 1.6em 1.6em;
  background:
    linear-gradient(90deg, transparent 1.1em, rgba(229,56,59,.35) 1.1em, rgba(229,56,59,.35) calc(1.1em + 1px), transparent calc(1.1em + 1px)),
    repeating-linear-gradient(180deg, #FFFEF8 0 calc(2.1em - 1px), #C9D6E8 calc(2.1em - 1px) 2.1em);
  background-position: 0 0, 0 1.1em;
  border-radius: 4px;
  box-shadow: 0 18px 36px -20px rgba(14,26,20,.4), 0 0 0 1px rgba(14,26,20,.06);
}
.notebook-page p { white-space: nowrap; overflow: hidden; text-overflow: clip; }
.notebook-page .faint { opacity: .55; }
.notebook-page .fainter { opacity: .3; }
.notebook-clock {
  position: absolute; left: -10px; bottom: -22px; transform: rotate(3deg);
  background: var(--ink); color: #fff; border-radius: 10px; padding: 6px 12px 7px; line-height: 1.2;
  display: flex; flex-direction: column; align-items: flex-start;
}
.notebook-clock span { font-size: .6875rem; opacity: .75; }
.notebook-clock b { font-family: var(--f-display); font-weight: 900; font-size: 1.375rem; font-variant-numeric: tabular-nums; }
.problem-shot { width: 46%; max-width: 230px; position: relative; z-index: 1; }

/* ===== 記録のしかた（芝の帯） ===== */
.record { background: #0F3D1E; color: #fff; padding-block: var(--section); }
.record-grid { margin-top: 48px; display: grid; gap: 32px; align-items: center; }
@media (min-width: 960px) { .record-grid { grid-template-columns: 7fr 5fr; gap: 48px; } }

.stage { position: relative; container-type: inline-size; border-radius: 14px; overflow: hidden; box-shadow: 0 0 0 2px rgba(255,255,255,.18); }
.pitch-svg { display: block; width: 100%; height: auto; }
.picker, .ring, .finger { position: absolute; left: 0; top: 0; pointer-events: none; opacity: 0; transition: opacity .18s ease; }
.picker.show, .ring.show, .finger.show { opacity: 1; }
.picker { font-size: clamp(9px, 2.4cqw, 15px); font-weight: 700; line-height: 1; }
.picker-row { display: flex; gap: .4em; }
.picker-row span { background: #fff; color: var(--ink); padding: .55em .9em; border-radius: 999px; box-shadow: 0 2px 6px rgba(0,0,0,.25); white-space: nowrap; transition: background-color .15s, transform .15s; }
.picker-row span.on { background: var(--dribble); transform: scale(1.08); }
.picker-timer { margin-top: .45em; height: 4px; border-radius: 2px; background: rgba(255,255,255,.35); overflow: hidden; }
.picker-timer i { display: block; height: 100%; width: 100%; background: #fff; transform-origin: left center; }
.ring { width: 0; height: 0; font-size: clamp(8px, 2.1cqw, 14px); font-weight: 700; line-height: 1; }
.ring::before { content: ""; position: absolute; width: var(--d, 120px); height: var(--d, 120px); left: calc(var(--d, 120px) / -2); top: calc(var(--d, 120px) / -2); border-radius: 50%; border: 2px solid rgba(255,255,255,.5); }
.ring span { position: absolute; transform: translate(-50%, -50%); background: #fff; color: var(--ink); padding: .5em .8em; border-radius: 999px; white-space: nowrap; box-shadow: 0 2px 6px rgba(0,0,0,.25); transition: background-color .15s, transform .15s; }
.ring span.on { background: var(--shot); transform: translate(-50%, -50%) scale(1.1); }
.finger { width: 0; height: 0; }
.finger::after { content: ""; position: absolute; width: clamp(16px, 4.4cqw, 34px); aspect-ratio: 1; border-radius: 50%; transform: translate(-50%, -50%); background: rgba(255,255,255,.35); box-shadow: 0 0 0 2px rgba(255,255,255,.75); }

.steps { display: grid; gap: 4px; counter-reset: none; }
.step { display: grid; grid-template-columns: auto 1fr; gap: 16px; padding: 18px 0; border-top: 1px solid rgba(255,255,255,.22); transition: opacity .3s ease; }
.step:last-child { border-bottom: 1px solid rgba(255,255,255,.22); }
.step-num {
  font-family: var(--f-display); font-weight: 900; font-size: 1.5rem; line-height: 1;
  width: 2em; height: 2em; display: grid; place-items: center; border-radius: 50%;
  border: 2px solid rgba(255,255,255,.7); transition: background-color .3s, color .3s;
}
.step h3 { font-size: 1.1875rem; line-height: 1.5; }
.step p { margin-top: 4px; font-size: .9375rem; color: rgba(255,255,255,.88); }
.steps.playing .step { opacity: .5; }
.steps.playing .step.on { opacity: 1; }
.steps.playing .step.on .step-num { background: #fff; color: #0F3D1E; border-color: #fff; }

.legend-block { margin-top: 72px; }
.legend { margin-top: 20px; display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 12px 24px; }
.legend li { display: grid; grid-template-columns: 64px 1fr; grid-template-rows: auto auto; column-gap: 12px; align-items: center; }
.legend svg { grid-row: 1 / 3; width: 64px; height: 16px; }
.legend b { font-size: 1rem; line-height: 1.4; }
.legend span { font-size: .8125rem; color: rgba(255,255,255,.8); line-height: 1.4; }
.record-notes { margin-top: 40px; display: grid; gap: 10px 40px; font-size: .9375rem; color: rgba(255,255,255,.9); }
@media (min-width: 720px) { .record-notes { grid-template-columns: 1fr 1fr; } }
.record-notes li { padding-left: 1.2em; position: relative; }
.record-notes li::before { content: ""; position: absolute; left: 0; top: .78em; width: .55em; height: 3px; background: var(--dribble); border-radius: 2px; }

/* ===== 振り返り ===== */
.review { padding-block: var(--section); }
.review-grid { display: grid; gap: 48px; align-items: center; }
@media (min-width: 880px) { .review-grid { grid-template-columns: 4fr 7fr; gap: 72px; } }
.review-shot { width: 62%; max-width: 300px; justify-self: center; }
@media (min-width: 880px) { .review-shot { width: 100%; } }
.feature-list { margin-top: 36px; display: grid; }
.feature-list > div { padding: 16px 0; border-top: 1px solid var(--rule); display: grid; gap: 4px; }
@media (min-width: 640px) { .feature-list > div { grid-template-columns: 11em 1fr; gap: 24px; } }
.feature-list dt { font-weight: 700; }
.feature-list dd { color: var(--ink-2); font-size: .9375rem; }

/* ===== 声のメモ・AI の下書き：流れの図と、画面写真への引き出し線 ===== */
.memo { padding-block: 0 var(--section); }
.mx { --leaf: #E6EFE7; margin-top: 40px; background: var(--surface); border: 1px solid var(--rule); border-radius: 14px; padding: 24px 18px 28px; }
.mx + .mx { margin-top: 20px; }
@media (min-width: 720px) { .mx { padding: 36px 36px 40px; } }
.mx-head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 18px; }
.mx-head p { color: var(--ink-2); font-size: .9375rem; }

.flow-n {
  display: inline-grid; place-items: center; flex: none;
  width: 1.6em; height: 1.6em; margin-right: .45em; border-radius: 50%;
  background: var(--turf); color: #fff; font-size: .75rem; font-weight: 900; line-height: 1; vertical-align: .12em;
  font-feature-settings: "tnum";
}
.safe {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 2px 10px 2px 7px; border-radius: 999px; background: var(--leaf); color: var(--turf-deep);
  font-size: .75rem; font-weight: 700; line-height: 1.6; white-space: nowrap;
}
.safe svg { width: 14px; height: 14px; flex: none; }

/* 流れ（声のメモ）：狭い画面は縦に、広い画面は横に並べ、間を矢印でつなぐ */
.flow { margin-top: 28px; display: grid; gap: 30px; }
.flow-step { position: relative; display: grid; grid-template-columns: 60px 1fr; column-gap: 16px; align-content: start; }
.flow-icon { grid-row: 1 / span 3; width: 60px; height: 60px; border-radius: 16px; background: var(--leaf); display: grid; place-items: center; }
.flow-icon svg { width: 46px; height: 46px; }
.flow-step > b { font-size: 1.0625rem; line-height: 1.5; padding-top: 2px; }
.flow-sub { font-size: .875rem; color: var(--ink-2); line-height: 1.7; margin-top: 2px; }
.flow-step .safe { justify-self: start; margin-top: 8px; }
/* 下向きの矢印（縦並び） */
.flow-step:not(:last-child)::before {
  content: ""; position: absolute; left: 29px; top: 68px; bottom: -22px; width: 2px;
  background: repeating-linear-gradient(180deg, var(--turf) 0 5px, transparent 5px 9px);
}
.flow-step:not(:last-child)::after {
  content: ""; position: absolute; left: 24px; bottom: -28px;
  border: 6px solid transparent; border-top: 8px solid var(--turf); border-bottom: 0;
}
@media (min-width: 860px) {
  .flow { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0 48px; }
  .flow-step { grid-template-columns: 1fr; }
  .flow-icon { grid-row: auto; width: 76px; height: 76px; border-radius: 20px; margin-bottom: 14px; }
  .flow-icon svg { width: 56px; height: 56px; }
  /* 横向きの矢印 */
  .flow-step:not(:last-child)::before {
    left: calc(100% + 8px); top: 37px; bottom: auto; width: 24px; height: 2px;
    background: repeating-linear-gradient(90deg, var(--turf) 0 5px, transparent 5px 9px);
  }
  .flow-step:not(:last-child)::after {
    left: calc(100% + 30px); top: 32px; bottom: auto;
    border: 6px solid transparent; border-left: 9px solid var(--turf); border-right: 0;
  }
}

.mx-aside { margin-top: 26px; display: flex; gap: 8px; align-items: flex-start; font-size: .8125rem; color: var(--ink-2); line-height: 1.7; }
.mx-aside svg { width: 18px; height: 18px; flex: none; margin-top: 2px; color: var(--turf); }

/* 役割の図（AI の下書き）：アプリが数える → AI が言葉にする → 指導者が決める */
.roles { margin-top: 28px; display: grid; gap: 40px; }
.role { position: relative; background: var(--paper); border-radius: 12px; padding: 18px 18px 20px; display: flex; flex-direction: column; }
.role-head { display: flex; align-items: center; flex-wrap: wrap; gap: 0 2px; line-height: 1.4; }
.role-head .flow-n { font-size: .8125rem; }
.role-who { font-size: .875rem; font-weight: 700; color: var(--ink-2); margin-right: .25em; }
.role-verb { font-size: 1.375rem; font-weight: 900; letter-spacing: .02em; }
.role-note { margin-top: 12px; font-size: .8125rem; color: var(--ink-2); line-height: 1.7; }
.role-tags { margin-top: auto; padding-top: 10px; display: flex; flex-wrap: wrap; gap: 6px; }
.chip { display: inline-flex; align-items: center; padding: 2px 10px; border-radius: 999px; border: 1px solid var(--rule); background: var(--surface); font-size: .75rem; font-weight: 700; line-height: 1.6; color: var(--ink-2); white-space: nowrap; }
/* 下向きの矢印（縦並び） */
.role:not(:last-child)::after {
  content: ""; position: absolute; left: 50%; bottom: -30px; width: 16px; height: 20px; margin-left: -8px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 20'%3E%3Cpath d='M8 1v10' stroke='%231B7537' stroke-width='2.4' stroke-dasharray='3.5 2.5'/%3E%3Cpath d='M1.5 11 8 19l6.5-8z' fill='%231B7537'/%3E%3C/svg%3E") center / contain no-repeat;
}
@media (min-width: 860px) {
  .roles { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 44px; }
  .role:not(:last-child)::after {
    left: auto; right: -36px; top: 50%; bottom: auto; width: 28px; height: 16px; margin: -8px 0 0;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 28 16'%3E%3Cpath d='M1 8h16' stroke='%231B7537' stroke-width='2.4' stroke-dasharray='3.5 2.5'/%3E%3Cpath d='M17 1.5 27 8l-10 6.5z' fill='%231B7537'/%3E%3C/svg%3E");
  }
}

.tally { margin-top: 14px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; }
.tally span { background: var(--surface); border: 1px solid var(--rule); border-radius: 8px; padding: 6px 2px 7px; text-align: center; line-height: 1.15; }
.tally small { font-size: .6875rem; color: var(--ink-2); }
.tally small:first-child { display: block; margin-bottom: 2px; }
.tally b { font-size: 1.625rem; font-weight: 900; color: var(--turf-deep); font-feature-settings: "tnum"; margin-right: 1px; }
.memo-chip { margin-top: 6px; display: flex; align-items: center; gap: 6px; background: var(--surface); border: 1px solid var(--rule); border-radius: 8px; padding: 6px 10px; font-size: .8125rem; font-weight: 500; line-height: 1.5; }
.memo-chip svg { width: 16px; height: 16px; flex: none; color: var(--turf); }

.ai-out { position: relative; margin-top: 14px; background: var(--surface); border: 1px solid var(--rule); border-radius: 8px; padding: 10px 12px 10px 38px; font-size: .8125rem; line-height: 1.65; }
.ai-out .spark { position: absolute; left: 10px; top: 11px; width: 20px; height: 20px; color: #1C8FB5; }
.ai-out p + p { margin-top: 4px; }
.ai-out mark { background: none; color: var(--turf-deep); font-weight: 900; box-shadow: inset 0 -.45em 0 var(--leaf); padding: 0 .1em; }

.mini-sheet { margin-top: 14px; display: grid; justify-items: start; }
.mini-btns { display: flex; gap: 6px; flex-wrap: wrap; }
.mini-btns span { font-size: .75rem; font-weight: 700; padding: 3px 11px; border-radius: 999px; background: #DCE6F7; color: #2557C9; line-height: 1.6; }
.mini-btns .go { background: #2F6BFF; color: #fff; box-shadow: 0 0 0 3px rgba(47,107,255,.2); }
.mini-down { width: 14px; height: 16px; margin: 4px 0 4px 24px; color: #2F6BFF; }
.mini-field { width: 100%; background: var(--surface); border: 1px solid var(--rule); border-radius: 8px; padding: 6px 10px 8px; line-height: 1.55; }
.mini-field small { display: block; font-size: .6875rem; font-weight: 700; color: var(--ink-2); }
.mini-field p { font-size: .8125rem; }
.ai-mark { font-weight: 700; color: var(--turf-deep); }

/* 画面写真と、引き出し線 */
.mx-shots { margin-top: 36px; padding-top: 32px; border-top: 1px dashed var(--rule); display: grid; gap: 12px; justify-items: center; align-items: center; }
.anno { margin: 0; position: relative; width: 100%; }
.anno figcaption { margin-top: 12px; font-size: .8125rem; color: var(--ink-2); text-align: center; }
.anno-land { padding-top: 40px; max-width: 640px; }
.anno-land figcaption { margin-top: 48px; }
.anno-port { --shot-w: clamp(132px, 40vw, 196px); --gw: clamp(112px, 33vw, 176px); width: auto; padding-right: calc(var(--gw) + 20px); }
.anno-port .shot { width: var(--shot-w); }
.anno-port figcaption { width: var(--shot-w); }
.anno-port.has-d figcaption { margin-top: 52px; }

/* 画面の中の、指している所の囲み */
.hl { position: absolute; border: 2.5px solid var(--turf); border-radius: 8px; box-shadow: 0 0 0 2px rgba(255,255,255,.85), 0 0 0 4px rgba(27,117,55,.18); pointer-events: none; }
/* 引き出し線と、その先の言葉。--x / --y は画面写真の中の割合 */
.call { position: absolute; left: var(--x); pointer-events: none; font-size: .8125rem; font-weight: 700; line-height: 1.45; color: var(--ink); }
.call::before { content: ""; position: absolute; background: var(--turf); }
.call em { position: absolute; font-style: normal; display: flex; align-items: flex-start; gap: 6px; }
.call i {
  flex: none; display: grid; place-items: center; width: 20px; height: 20px; margin-top: -1px; border-radius: 50%;
  background: var(--turf); color: #fff; font-style: normal; font-size: .6875rem; font-weight: 900; line-height: 1;
}
/* 右へ */
.call.r { top: var(--y); right: -14px; height: 0; }
.call.r::before { left: 0; right: 0; top: -1px; height: 2px; }
.call.r em { left: calc(100% + 6px); top: 0; width: var(--gw); transform: translateY(-10px); }
/* 下へ */
.call.d { top: var(--y); bottom: -34px; width: 0; }
.call.d::before { top: 0; bottom: 0; left: -1px; width: 2px; }
.call.d em { top: calc(100% + 4px); white-space: nowrap; }
/* 上へ */
.call.u { top: -28px; bottom: calc(100% - var(--y)); width: 0; }
.call.u::before { top: 0; bottom: 0; left: -1px; width: 2px; }
.call.u em { bottom: calc(100% + 4px); white-space: nowrap; }
.call.end em { right: -12px; flex-direction: row; }
.call.start em { left: -10px; }
.call::after { content: ""; position: absolute; width: 6px; height: 6px; border-radius: 50%; background: var(--turf); }
.call.r::after { left: -3px; top: -3px; }
.call.d::after { left: -4px; top: -3px; }
.call.u::after { left: -4px; bottom: -3px; }

.mx-then { display: flex; flex-direction: column; align-items: center; gap: 2px; color: var(--turf); font-size: .75rem; font-weight: 700; }
.mx-then svg { width: 34px; height: 14px; transform: rotate(90deg); margin-block: 10px 6px; }
.mx-then span { order: 2; color: var(--ink-2); }

.mx-facts { display: grid; gap: 16px; width: 100%; max-width: 520px; margin-top: 20px; }
.mx-facts li { display: grid; grid-template-columns: 26px 1fr; gap: 12px; align-items: start; }
.mx-facts svg { width: 26px; height: 26px; color: var(--turf); }
.mx-facts b { display: block; font-size: .9375rem; line-height: 1.5; }
.mx-facts span { display: block; font-size: .8125rem; color: var(--ink-2); line-height: 1.7; }

@media (min-width: 860px) {
  .mx-shots-voice { grid-template-columns: minmax(0, 1fr) 72px auto; gap: 8px; justify-items: stretch; }
  .mx-shots-voice .anno-land { justify-self: end; }
  .mx-then svg { transform: none; margin: 0; }
  .mx-then span { order: 0; }
  .mx-shots-ai, .mx-shots-side { grid-template-columns: auto minmax(0, 1fr); gap: 32px 56px; justify-items: start; }
  .mx-shots-ai .anno-port, .mx-shots-side .anno-port { justify-self: end; }
  .mx-shots-two { grid-template-columns: minmax(0, 1fr) 96px minmax(0, 1fr); gap: 8px; justify-items: stretch; }
  .mx-facts { margin-top: 0; }
}

/* 見えてきたら、順に出す（script.js が .rv を付けたときだけ。動きを減らす設定では付けない） */
.rv > * { opacity: 0; transform: translateY(10px); transition: opacity .5s ease, transform .5s ease; transition-delay: calc(var(--i, 0) * 160ms); }
.rv > *::before, .rv > *::after { opacity: 0; transition: opacity .4s ease; transition-delay: calc(var(--i, 0) * 160ms + 260ms); }
.rv.rv-in > *, .rv.rv-in > *::before, .rv.rv-in > *::after { opacity: 1; transform: none; }

.memo-note { margin-top: 24px; font-size: .9375rem; color: var(--ink-2); }

/* ===== 映像 ===== */
.video { background: var(--surface); padding-block: var(--section); }
.video-ways { margin-top: 56px; display: grid; gap: 72px; }
.way { display: grid; gap: 28px; align-items: center; }
.way .h3 { margin-bottom: 10px; }
.way-text > p { color: var(--ink-2); max-width: 34em; }
@media (min-width: 880px) {
  .way-film { grid-template-columns: 7fr 5fr; gap: 56px; }
  .way-import { grid-template-columns: 5fr 7fr; gap: 56px; }
  .way-import .shot { order: 2; }
}
.way-film .shot { width: 100%; }
.way-import .shot { width: 62%; max-width: 280px; justify-self: center; }
/* 2 台で：文と、流れの図・画面写真の箱（声のメモと同じ .mx / .flow / .anno） */
.way-two { gap: 24px; }
.way-two .chip { margin-bottom: 8px; }
.way-two .mx { margin-top: 0; }
.mx-two .flow { margin-top: 0; }
@media (min-width: 880px) {
  /* 文は左、箇条は右に並べる（図と写真は下に全幅） */
  .way-two .way-text { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); column-gap: 56px; align-items: end; }
  .way-two .way-text > :not(.ticks) { grid-column: 1; }
  .way-two .ticks { grid-column: 2; grid-row: 1 / span 3; align-self: end; margin-top: 0; }
  .way-two .chip { justify-self: start; }
}
.ticks { margin-top: 16px; display: grid; gap: 8px; font-size: .9375rem; }
.ticks li { position: relative; padding-left: 1.5em; }
.ticks li::before { content: ""; position: absolute; left: .1em; top: .55em; width: .7em; height: .38em; border-left: 3px solid var(--turf); border-bottom: 3px solid var(--turf); transform: rotate(-45deg); }

.clip { margin-top: 88px; padding-top: 56px; border-top: 1px solid var(--rule); display: grid; gap: 32px; align-items: center; }
@media (min-width: 880px) { .clip { grid-template-columns: 4fr 7fr; gap: 72px; } }
.clip-shot { width: 62%; max-width: 280px; justify-self: center; }
.clip-text p { margin-top: 14px; color: var(--ink-2); max-width: 34em; }
.clip-bar { margin-top: 20px; display: flex; height: 48px; border-radius: 10px; overflow: hidden; font-size: .8125rem; font-weight: 700; max-width: 520px; }
.clip-bar span { display: grid; place-items: center; white-space: nowrap; }
.clip-pre { flex: 10; background: repeating-linear-gradient(90deg, #DCE7DE 0 calc(10% - 2px), #C9D8CD calc(10% - 2px) 10%); color: var(--turf-deep); }
.clip-scene { flex: 6; background: var(--turf); color: #fff; }
.clip-post { flex: 5; background: #DCE7DE; color: var(--turf-deep); }

/* ===== ミーティング：シーン → 絞り込む → 時刻順 → 続けて再生／書き出す ===== */
.meeting { padding-block: var(--section); }
/* 見出しは 1 行に。狭い画面では「ミーティングで、」の後でだけ折る */
.meeting-title { max-width: none; font-size: min(clamp(1.75rem, 1.15rem + 2.6vw, 2.75rem), calc((100vw - 2 * var(--gutter)) / 13.6)); }
.meeting-title span { display: inline-block; }
@media (min-width: 760px) {
  .meeting-title { white-space: nowrap; font-size: min(clamp(1.75rem, 1.15rem + 2.6vw, 2.75rem), calc((100vw - 2 * var(--gutter)) / 21)); }
}

.mt { display: grid; gap: 40px; }
.mt-stage { position: relative; background: var(--paper); border-radius: 12px; padding: 16px 16px 18px; }
.mt-cap { font-size: .875rem; font-weight: 700; color: var(--ink-2); line-height: 1.5; }
.mt-title { font-size: 1.0625rem; font-weight: 700; line-height: 1.5; }
.mt-sub { margin-top: 4px; font-size: .8125rem; color: var(--ink-2); line-height: 1.7; }
.dot { display: inline-block; width: 9px; height: 9px; border-radius: 50%; flex: none; }
.dot.a { background: var(--team-a); }
.dot.b { background: var(--team-b); }

/* 振り返りのシーン */
.mt-scenes { margin-top: 10px; display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.mt-scenes li { display: flex; align-items: center; gap: 6px; background: var(--surface); border: 1px solid var(--rule); border-radius: 7px; padding: 4px 8px; font-size: .75rem; font-feature-settings: "tnum"; line-height: 1.5; color: var(--ink-2); }
.mt-scenes em { flex: 1; height: 4px; border-radius: 2px; background: var(--rule); }
.mt-scenes .hit { border-color: rgba(229,56,59,.45); color: var(--ink); }
.mt-scenes .hit em { background: rgba(229,56,59,.3); }

/* 絞り込む：アプリの絞り込みの札に似せた黒い札 */
.mt-chips { margin-top: 10px; display: flex; flex-wrap: wrap; gap: 6px; }
.mt-chips span { display: inline-flex; align-items: center; gap: 6px; background: var(--ink); color: #fff; font-size: .75rem; font-weight: 700; padding: 3px 11px; border-radius: 999px; line-height: 1.6; }
.mt-funnel { display: block; width: 100%; max-width: 170px; margin: 12px auto 0; }

/* 時刻順のフィルム */
.film { margin-top: 10px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; padding: 9px 6px; border-radius: 6px; background:
  radial-gradient(circle at 50% 50%, #F2F5F0 0 1.6px, transparent 2px) 0 2px / 9px 7px repeat-x,
  radial-gradient(circle at 50% 50%, #F2F5F0 0 1.6px, transparent 2px) 0 calc(100% - 2px) / 9px 7px repeat-x,
  var(--frame); }
.film li { position: relative; padding: 0 3px; }
.film svg { display: block; width: 100%; height: auto; border-radius: 2px; }
.film span { position: absolute; left: 7px; bottom: 4px; font-size: .625rem; font-weight: 700; color: #fff; background: rgba(14,26,20,.72); padding: 0 5px; border-radius: 4px; line-height: 1.6; font-feature-settings: "tnum"; }

/* 2 つの使い道へ枝分かれ */
.mt-outs { position: relative; display: grid; grid-auto-rows: 1fr; gap: 14px; padding-left: 30px; }
.mt-outs::before {
  content: ""; position: absolute; left: 7px; top: 0; bottom: calc((100% - 14px) / 4); width: 2px;
  background: repeating-linear-gradient(180deg, var(--turf) 0 5px, transparent 5px 9px);
}
.mt-out { position: relative; display: grid; grid-template-columns: 56px 1fr; gap: 12px; align-items: center; background: var(--paper); border-radius: 12px; padding: 14px 14px 16px; }
.mt-out::before { content: ""; position: absolute; left: -22px; top: 50%; width: 14px; height: 2px; margin-top: -1px; background: repeating-linear-gradient(90deg, var(--turf) 0 5px, transparent 5px 9px); }
.mt-out::after { content: ""; position: absolute; left: -9px; top: 50%; margin-top: -6px; border: 6px solid transparent; border-left: 8px solid var(--turf); border-right: 0; }
.mt-icon { width: 56px; height: auto; }
.mt-tags { margin-top: 6px; display: flex; flex-wrap: wrap; gap: 5px; }

/* 縦並びのときの下向きの矢印 */
.mt-stage::after {
  content: ""; position: absolute; left: 50%; bottom: -32px; width: 16px; height: 22px; margin-left: -8px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 20'%3E%3Cpath d='M8 1v10' stroke='%231B7537' stroke-width='2.4' stroke-dasharray='3.5 2.5'/%3E%3Cpath d='M1.5 11 8 19l6.5-8z' fill='%231B7537'/%3E%3C/svg%3E") center / contain no-repeat;
}
/* フィルムから枝分かれへは、左の線でつなぐ */
.mt-order::after { left: 8px; bottom: -40px; width: 2px; height: 40px; margin: 0; background: repeating-linear-gradient(180deg, var(--turf) 0 5px, transparent 5px 9px); }

@media (min-width: 640px) {
  .mt-scenes { grid-template-columns: 1fr 1fr 1fr; }
}
@media (min-width: 900px) {
  .mt { grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr) minmax(0, .8fr) minmax(0, 1.35fr); gap: 0 44px; align-items: center; }
  .mt-scenes { grid-template-columns: 1fr; gap: 5px; }
  .mt-scenes li { padding: 3px 8px; }
  .film { grid-template-columns: 1fr; padding: 6px 11px; gap: 5px; background:
    radial-gradient(circle at 50% 50%, #F2F5F0 0 1.6px, transparent 2px) 2px 0 / 7px 9px repeat-y,
    radial-gradient(circle at 50% 50%, #F2F5F0 0 1.6px, transparent 2px) calc(100% - 2px) 0 / 7px 9px repeat-y,
    var(--frame); }
  .film li { padding: 0; }
  .film span { left: 4px; bottom: 4px; }
  .mt-stage::after {
    left: auto; right: -38px; top: 50%; bottom: auto; width: 30px; height: 16px; margin: -8px 0 0;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 28 16'%3E%3Cpath d='M1 8h16' stroke='%231B7537' stroke-width='2.4' stroke-dasharray='3.5 2.5'/%3E%3Cpath d='M17 1.5 27 8l-10 6.5z' fill='%231B7537'/%3E%3C/svg%3E");
  }
  .mt-order::after { right: -52px; width: 52px; height: 2px; margin-top: -1px; background: repeating-linear-gradient(90deg, var(--turf) 0 5px, transparent 5px 9px); }
  .mt-outs::before { top: calc((100% - 14px) / 4); }
  .mt-out { grid-template-columns: 1fr; gap: 8px; align-content: center; }
  .mt-icon { width: 60px; }
}
@media (min-width: 1200px) {
  .mt-out { grid-template-columns: 60px 1fr; gap: 14px; }
}

/* ===== オフライン ===== */
.offline { background: var(--surface); padding-block: var(--section); }
.facts { margin-top: 40px; display: grid; gap: 0 48px; }
@media (min-width: 720px) { .facts { grid-template-columns: 1fr 1fr; } }
.facts > div { padding: 20px 0; border-top: 2px solid var(--ink); }
.facts dt { font-weight: 700; font-size: 1.125rem; }
.facts dd { margin-top: 4px; color: var(--ink-2); font-size: .9375rem; }
.offline-more { margin-top: 28px; font-size: .9375rem; color: var(--ink-2); }

/* ===== 価格 ===== */
.price { padding-block: var(--section); }
.price-grid { display: grid; gap: 32px; align-items: end; }
@media (min-width: 880px) { .price-grid { grid-template-columns: 1fr 1fr; gap: 64px; } }
.price-amount { font-family: var(--f-display); font-weight: 900; line-height: 1; color: var(--turf); display: flex; align-items: baseline; gap: .1em; }
.price-amount .yen { font-size: clamp(4.5rem, 2.5rem + 9vw, 8.5rem); letter-spacing: -.02em; }
.price-amount .unit { font-size: clamp(1.75rem, 1.2rem + 2vw, 2.75rem); }
.price-amount .soon-word { font-size: clamp(1.5rem, 1rem + 2vw, 2.25rem); line-height: 1.4; letter-spacing: 0; }
.price-note { margin-top: 16px; font-size: .9375rem; color: var(--ink-2); max-width: 28em; }
.price-req { margin-top: 16px; display: flex; flex-wrap: wrap; gap: 8px; }
.price-req li { font-size: .875rem; padding: 3px 12px; border-radius: 999px; background: var(--surface); border: 1px solid var(--rule); }

/* ===== よくある質問 ===== */
.faq { background: var(--surface); padding-block: var(--section); }
.faq-wrap { display: grid; gap: 32px; }
@media (min-width: 960px) { .faq-wrap { grid-template-columns: 4fr 8fr; gap: 64px; } }
.faq-list details { border-top: 1px solid var(--rule); }
.faq-list details:last-child { border-bottom: 1px solid var(--rule); }
.faq-list summary {
  cursor: pointer; list-style: none; padding: 18px 40px 18px 0; position: relative;
  font-weight: 700; font-size: 1.0625rem; line-height: 1.6;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after {
  content: ""; position: absolute; right: 6px; top: 50%; width: 14px; height: 14px; margin-top: -7px;
  background:
    linear-gradient(var(--turf), var(--turf)) center / 14px 3px no-repeat,
    linear-gradient(var(--turf), var(--turf)) center / 3px 14px no-repeat;
  transition: transform .2s ease;
}
.faq-list details[open] summary::after { transform: rotate(45deg); }
.faq-list details p { padding: 0 0 22px; color: var(--ink-2); max-width: 38em; }

/* ===== フッター ===== */
.site-footer { padding-block: 40px; border-top: 1px solid var(--rule); font-size: .875rem; }
.footer-inner { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 28px; }
.footer-brand { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; }
.footer-brand img { border-radius: 5px; }
.site-footer nav a { color: var(--ink-2); }
.copy { margin-left: auto; color: var(--ink-2); }
@media (max-width: 559px) { .copy { margin-left: 0; width: 100%; } }

/* 日本語の改行：文節で折る（対応ブラウザのみ）。見出しは行の長さをそろえる */
.h2, .h3, .mx-head p, .flow-step > b, .flow-sub, .role-note, .call em, .mx-facts span, .mx-aside, .mt-sub, .mt-title, .mt-cap, .mt-chips span, .hero-lead, .section-lead, .step h3, .faq-list summary { word-break: auto-phrase; }
.h2 { text-wrap: balance; }
@media (max-width: 959px) { .hero::after { display: none; } }
