/* GoStitch 紹介ページ
   ページ全体を編集ソフトのタイムラインに見立てる。明るい灰白の地に青 1 色、映像の帯だけを濃紺にする。 */

@font-face { font-family: "GS Sans"; src: url("fonts/gs-regular.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "GS Sans"; src: url("fonts/gs-bold.woff2") format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: "GS Sans"; src: url("fonts/gs-black.woff2") format("woff2"); font-weight: 900; font-display: swap; }
@font-face { font-family: "GS Inter"; src: url("fonts/inter.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }

:root {
  --bg: #F4F5F7;
  --paper: #FFFFFF;
  --ink: #101826;
  --text: #202834;
  --muted: #535E6E;
  --line: #DDE2E9;
  --line-2: #C6CED9;
  --blue: #1769CE;
  --blue-d: #1157AD;
  --blue-s: #EDF4FE;
  --sky: #7CB8FF;
  --night: #101826;
  --night-2: #172236;
  --night-3: #1F2C44;
  --n-line: rgba(255, 255, 255, .11);
  --n-text: #C8D2E1;
  --ok: #3CD48A;
  --warn: #7A5208;
  --warn-bg: #FFF4DC;
  --ease: cubic-bezier(.2, .7, .1, 1);
  --wrap: 1320px;
  --pad: clamp(20px, 5vw, 72px);
  --hh: 60px;
  --f-sans: "GS Inter", "GS Sans", "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Yu Gothic", "Noto Sans JP", sans-serif;
  --f-mono: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  --r: 8px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: calc(var(--hh) + 16px); }
main section[id] { scroll-margin-top: calc(var(--hh) + 8px); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font-family: var(--f-sans); font-size: 17px; line-height: 1.95; letter-spacing: .04em;
  font-feature-settings: "cv05", "cv08";
  line-break: strict; word-break: keep-all; overflow-wrap: anywhere;
  text-autospace: normal; text-spacing-trim: trim-start;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3, p, ul, ol, dl, dd, figure { margin: 0; padding: 0; }
ul, ol { list-style: none; }
button { font: inherit; color: inherit; }
code { font-family: var(--f-mono); }
.defs { position: absolute; width: 0; height: 0; overflow: hidden; }
.sr-only { position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; border: 0; }
.wrap { width: min(100%, calc(var(--wrap) + var(--pad) * 2)); margin-inline: auto; padding-inline: var(--pad); }

:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; border-radius: 4px; }
.demo :focus-visible, .sure :focus-visible { outline-color: var(--sky); }

.skip { position: fixed; left: 16px; top: 12px; z-index: 100; padding: 10px 16px; background: var(--ink); color: #fff; border-radius: 6px; font-weight: 700; text-decoration: none; transform: translateY(-160%); transition: transform .2s var(--ease); }
.skip:focus { transform: none; }

/* 共通の部品 ------------------------------------------------------------ */
.tag-mono { font-family: var(--f-mono); font-size: 12px; letter-spacing: .06em; font-weight: 600; white-space: nowrap; }
.ch { display: flex; align-items: center; gap: 12px; font-size: 14.5px; font-weight: 700; letter-spacing: .08em; color: var(--ink); margin-bottom: 22px; font-feature-settings: "palt"; }
.ch__no { font-family: "GS Inter", sans-serif; font-weight: 800; font-size: 13px; letter-spacing: .04em; font-variation-settings: "slnt" -10; color: #fff; background: var(--blue); padding: 3px 8px 3px 7px; border-radius: 3px; line-height: 1.3; }
.ch--dark { color: #fff; }
.h2 { font-weight: 900; font-size: clamp(34px, 4.6vw, 64px); line-height: 1.3; letter-spacing: .01em; color: var(--ink); font-feature-settings: "palt"; }
/* 見出しの行中の句読点: palt で詰まりすぎないよう、文の切れ目にアキを足す */
.pq { margin-right: .3em; }
.pc { margin-right: .16em; }
.h3 { font-weight: 900; font-size: clamp(25px, 2.5vw, 36px); line-height: 1.38; letter-spacing: .01em; color: var(--ink); font-feature-settings: "palt"; margin-bottom: 18px; }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 24px; border-radius: 8px; font-weight: 700; font-size: 16px; letter-spacing: .06em; text-decoration: none; transition: background-color .2s, color .2s, border-color .2s, transform .15s var(--ease); font-feature-settings: "palt"; }
.btn:active { transform: translateY(1px) scale(.99); }
.btn--blue { background: var(--blue); color: #fff; box-shadow: 0 1px 0 rgba(16,24,38,.12), 0 8px 18px -8px rgba(23,105,206,.7); }
.btn--blue:hover { background: var(--blue-d); }
.btn--blue svg { transition: transform .25s var(--ease); }
.btn--blue:hover svg { transform: translateY(2px); }
.btn--line { border: 1.5px solid var(--line-2); color: var(--ink); background: var(--paper); }
.btn--line:hover { border-color: var(--ink); }

.tag-status { display: inline-flex; align-items: center; gap: 8px; height: 30px; padding: 0 14px; border-radius: 999px; background: #E3EEFC; font-size: 14px; font-weight: 700; letter-spacing: .06em; color: var(--blue-d); white-space: nowrap; font-feature-settings: "palt"; cursor: default; }
.tag-status--dark { background: rgba(59,130,246,.16); box-shadow: inset 0 0 0 1px rgba(124,184,255,.38); color: #A9CFFF; }
.tag-status--dark i { background: #7CB8FF; }
.tag-status i { width: 7px; height: 7px; background: var(--blue); border-radius: 1px; flex: none; }

/* ヘッダー -------------------------------------------------------------- */
.gh { position: fixed; inset: 0 0 auto; z-index: 50; height: var(--hh); background: #F8F9FB; border-bottom: 1px solid #E2E8F0; }
.gh__in { height: 100%; display: flex; align-items: center; gap: 24px; width: min(100%, calc(var(--wrap) + var(--pad) * 2)); margin-inline: auto; padding-inline: var(--pad); }
.gh__brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-family: "GS Inter", sans-serif; font-weight: 800; font-size: 18px; letter-spacing: -.01em; color: var(--ink); min-height: 44px; }
.gh__brand img { width: 32px; height: 32px; border-radius: 7px; }
.gh__nav { margin-left: auto; }
.gh__nav ul { display: flex; gap: 4px; }
.gh__nav a { position: relative; display: inline-flex; align-items: center; min-height: 44px; padding: 0 12px; font-size: 14.5px; font-weight: 700; letter-spacing: .06em; text-decoration: none; color: var(--text); font-feature-settings: "palt"; }
.gh__nav a::after { content: ""; position: absolute; left: 12px; right: 12px; bottom: 9px; height: 2px; background: var(--blue); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease); }
.gh__nav a:hover::after, .gh__nav a[aria-current="true"]::after { transform: scaleX(1); }
.gh__nav a[aria-current="true"] { color: var(--blue); }
.gh__end { display: flex; align-items: center; gap: 16px; }
.gh__tc { font-family: var(--f-mono); font-size: 12px; letter-spacing: .04em; color: var(--muted); font-variant-numeric: tabular-nums; padding-left: 16px; border-left: 1px solid var(--line-2); }
.gh__tc span::before { content: "TC "; color: var(--blue); font-weight: 700; }
.gh__play { position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; overflow: hidden; }
.gh__play span { display: block; height: 100%; background: var(--blue); transform-origin: left; transform: scaleX(0); }

/* ヒーロー -------------------------------------------------------------- */
.hero { position: relative; padding-top: var(--hh); overflow: clip; }
.topruler { display: flex; justify-content: space-between; height: 26px; align-items: flex-end; padding: 0 var(--pad) 9px; font-family: var(--f-mono); font-size: 11.5px; color: #7A8494; letter-spacing: .04em;
  background:
    repeating-linear-gradient(to right, rgba(16,24,38,.22) 0 1px, transparent 1px 16px) left bottom / 100% 5px no-repeat,
    repeating-linear-gradient(to right, rgba(16,24,38,.3) 0 1px, transparent 1px 160px) left bottom / 100% 10px no-repeat;
  border-bottom: 1px solid var(--line);
}
.topruler span { padding-bottom: 2px; }
.hero__grid { position: relative; z-index: 3; display: grid; grid-template-columns: minmax(0, 620px) minmax(0, 1fr); gap: clamp(32px, 4vw, 64px); padding-top: clamp(24px, 2.2vw, 32px); padding-bottom: clamp(20px, 1.8vw, 26px); align-items: start; }
.hero__eyebrow { display: flex; align-items: center; gap: 12px; font-size: 15px; font-weight: 700; letter-spacing: .1em; color: var(--ink); font-feature-settings: "palt"; }
.hero__eyebrow .tag-mono { color: var(--blue); border: 1.5px solid var(--blue); border-radius: 4px; padding: 1px 6px; line-height: 1.5; letter-spacing: .02em; }
.hero__h { margin-top: 16px; font-weight: 900; font-size: clamp(50px, 5.7vw, 88px); line-height: 1.18; letter-spacing: -.01em; color: var(--ink); font-feature-settings: "palt"; }
.hero__h span { display: block; white-space: nowrap; }
.hero__h .l2 { color: var(--blue); position: relative; width: max-content; }
.hero__h .l2::after { content: ""; position: absolute; left: .04em; right: .62em; bottom: -.08em; height: .085em; background:
  repeating-linear-gradient(to right, var(--blue) 0 calc(33.33% - 6px), transparent calc(33.33% - 6px) 33.33%); transform-origin: left; }
.js .hero__h .l2::after { transform: scaleX(.001); transition: transform 1.1s var(--ease) .5s, background .4s; }
.js .is-ready .hero__h .l2::after, .is-ready.hero .hero__h .l2::after { transform: scaleX(1); background: var(--blue); }
.hero__lead { margin-top: 20px; max-width: 34em; font-size: 18px; line-height: 1.9; color: var(--text); }
.hero__info { background: var(--night); padding: 4px 0 30px; }
.hero__spec { display: grid; grid-template-columns: auto auto auto; justify-content: start; gap: 0 28px; }
.hero__spec div { display: grid; gap: 2px; padding: 0 0 0 14px; border-left: 2px solid rgba(124,184,255,.5); }
.hero__spec dt { font-family: "GS Inter", "GS Sans", sans-serif; font-weight: 700; font-size: 14px; letter-spacing: .06em; color: #AEB9CB; line-height: 1.6; }
.hero__spec dd { font-weight: 700; font-size: 16px; color: #fff; line-height: 1.6; }
.hero__spec .hero__state { border-left: 0; padding-left: 0; align-self: end; }
.nw { white-space: nowrap; }
.hero__spec .sep { color: #8E9BB0; margin: 0 .15em; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 22px; }
.hero__note { margin-top: 12px; font-size: 14px; color: var(--muted); letter-spacing: .04em; }

.hero__window { position: relative; width: 100%; max-width: 560px; justify-self: end; margin-top: 4px; }
.hero__cap { display: flex; align-items: baseline; gap: 10px; margin-top: 10px; font-size: 14px; color: var(--muted); }
.hero__cap .tag-mono { color: var(--blue); }
.mac { border-radius: 11px; overflow: hidden; background: var(--paper);
  box-shadow: 0 0 0 1px rgba(16,24,38,.1), 0 2px 3px rgba(16,24,38,.06), 0 24px 48px -18px rgba(16,24,38,.32), 0 50px 80px -40px rgba(6,10,18,.55); }
.mac__bar { position: relative; display: flex; align-items: center; gap: 8px; height: 30px; padding: 0 13px; background: linear-gradient(#FAFBFC, #EEF1F4); border-bottom: 1px solid #DADFE6; }
.mac__bar i { width: 12px; height: 12px; border-radius: 50%; background: #FF5F57; box-shadow: inset 0 0 0 .5px rgba(0,0,0,.18); }
.mac__bar i:nth-child(2) { background: #FEBC2E; }
.mac__bar i:nth-child(3) { background: #28C840; }
.mac__bar span { position: absolute; left: 50%; transform: translateX(-50%); font-family: "GS Inter", sans-serif; font-weight: 600; font-size: 12.5px; color: #4B5563; letter-spacing: .01em; }

/* 映像の帯(ヒーロー・最後) */
.band { position: relative; background: var(--night); color: #fff; }
.band--hero { z-index: 1; padding: 0 0 8px; }
.band--hero .band__lane { width: min(100% - var(--pad) * 2, var(--wrap)); margin: 12px auto 0; height: 104px; }
.band__lane--out { height: 54px !important; margin-top: 0 !important; }
.hout { position: absolute; left: 0; width: 94%; top: 6px; height: 40px; display: flex; align-items: center; padding: 0 14px; border: 2px dashed rgba(124,184,255,.75); border-radius: 6px; background: rgba(23,105,206,.12); }
.fn > span { display: inline-block; }
.hclip .ls { display: none; }
.hout b { font-family: var(--f-mono); font-size: 14px; font-weight: 700; color: var(--sky); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.band__ruler { position: relative; height: 30px; border-bottom: 1px solid var(--n-line);
  background:
    repeating-linear-gradient(to right, rgba(255,255,255,.22) 0 1px, transparent 1px 14px) left bottom / 100% 5px no-repeat,
    repeating-linear-gradient(to right, rgba(255,255,255,.4) 0 1px, transparent 1px 140px) left bottom / 100% 11px no-repeat; }
.band__rin { position: relative; height: 100%; width: min(100% - var(--pad) * 2, var(--wrap)); margin: 0 auto; }
.band__ruler span { position: absolute; top: 7px; left: calc(var(--x) * 19.93%); font-family: var(--f-mono); font-size: 11.5px; color: #8C99AE; letter-spacing: .04em; }
.band__lane { position: relative; height: 128px; margin-top: 18px; }
.lane-tag { position: absolute; left: -44px; top: 50%; transform: translateY(-50%); font-family: var(--f-mono); font-size: 12px; font-weight: 700; color: #8C99AE; }
.hclip { position: absolute; top: 8px; height: 88px; display: flex; gap: 2px; padding: 0; background: #0A0F18; border-radius: 6px; overflow: hidden; box-shadow: 0 0 0 1.5px rgba(124,184,255,.55);
  transform: translate3d(var(--px, 0px), 0, 0); }
.hclip:nth-of-type(1) { left: 0; width: 37.6%; }
.hclip:nth-of-type(2) { left: 40.6%; width: 37.6%; }
.hclip:nth-of-type(3) { left: 81.2%; width: 18.8%; }
.hclip img { flex: 1 1 0; min-width: 0; height: 100%; object-fit: cover; }
.hclip b, .sclip__v b { position: absolute; left: 8px; top: 8px; max-width: calc(100% - 16px); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-family: var(--f-mono); font-size: 12px; font-weight: 600; letter-spacing: .02em; color: #fff; background: rgba(10, 15, 24, .78); padding: 2px 7px; border-radius: 3px; }
.hclip::before, .hclip::after { content: ""; position: absolute; top: 0; bottom: 0; width: 6px; background: rgba(124,184,255,.9); z-index: 1; }
.hclip::before { left: 0; border-radius: 6px 0 0 6px; }
.hclip::after { right: 0; border-radius: 0 6px 6px 0; }
.band__playhead { position: absolute; left: 26.3%; top: -18px; bottom: 6px; width: 2px; background: var(--blue); z-index: 3; box-shadow: 0 0 0 1px rgba(16,24,38,.4); }
.band__playhead::before { content: ""; position: absolute; left: -7px; top: 0; width: 16px; height: 18px; background: var(--blue); clip-path: polygon(0 0, 100% 0, 100% 60%, 50% 100%, 0 60%); }
.band__playhead em { position: absolute; left: 14px; top: 0; font-style: normal; font-family: var(--f-mono); font-size: 12px; font-weight: 700; color: #fff; background: var(--blue); padding: 1px 7px; border-radius: 3px; white-space: nowrap; }

/* なぜ分かれるのか ------------------------------------------------------- */
.why { background: var(--paper); padding: clamp(96px, 11vw, 160px) 0 clamp(96px, 10vw, 150px); }
.why__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 5vw, 80px); align-items: end; }
.why__copy p:not(.ch) { margin-top: 28px; max-width: 30em; }
.anat__name { font-family: var(--f-mono); font-size: clamp(38px, 6vw, 88px); font-weight: 700; letter-spacing: 0; gap: .16em; line-height: 1; color: var(--ink); display: flex; white-space: nowrap; padding-bottom: 46px; }
.seg { position: relative; display: inline-block; }
.seg i { position: absolute; left: .04em; right: .04em; top: calc(100% + 14px); font-style: normal; font-family: var(--f-sans); font-size: 14px; font-weight: 700; letter-spacing: .06em; line-height: 1.4; padding-top: 10px; border-top: 2px solid currentColor; white-space: nowrap; font-feature-settings: "palt"; }
.seg i::before, .seg i::after { content: ""; position: absolute; top: -8px; width: 2px; height: 8px; background: currentColor; }
.seg i::before { left: 0; }
.seg i::after { right: 0; }
.seg--fmt { color: #7A8597; }
.seg--ch { color: var(--blue); }
.seg--no { color: var(--ink); }
.seg--ext { color: #B4BCC8; }
.seg--fmt i { color: #5A6576; }
.seg--no i { color: var(--ink); }
.anat__legend { margin-top: 30px; display: grid; gap: 4px; border-top: 1px solid var(--line); }
.anat__legend div { display: grid; grid-template-columns: 72px 1fr; gap: 16px; align-items: baseline; padding: 10px 0; border-bottom: 1px solid var(--line); }
.anat__legend dt { font-family: var(--f-mono); font-weight: 700; font-size: 16px; }
.anat__legend dd { font-size: 16px; line-height: 1.8; }
.k-fmt dt { color: #5A6576; } .k-ch dt { color: var(--blue); } .k-no dt { color: var(--ink); }

.sort { margin-top: clamp(64px, 7vw, 104px); display: grid; grid-template-columns: minmax(0, 5fr) 64px minmax(0, 6fr); align-items: start; gap: 0 clamp(16px, 2vw, 32px); padding: clamp(24px, 3vw, 44px); background: var(--bg); border-radius: 10px; border: 1px solid var(--line); }
.sort__path { display: flex; align-items: center; gap: 8px; font-family: var(--f-mono); font-size: 13px; font-weight: 700; color: var(--muted); margin-bottom: 12px; }
.sort__list { background: var(--paper); border: 1px solid var(--line); border-radius: 8px; overflow: hidden; }
.sort__list li { position: relative; display: flex; align-items: center; gap: 10px; min-height: 44px; padding: 0 16px 0 34px; font-family: var(--f-mono); font-size: 16px; letter-spacing: .02em; color: var(--ink); border-top: 1px solid var(--line); }
.sort__list li:first-child { border-top: 0; }
.sort__list li::before { content: ""; position: absolute; left: 14px; top: 50%; width: 9px; height: 9px; margin-top: -4.5px; border-radius: 2px; background: #9AA6B8; }
.sort__list li.g38::before, .sort__groups li.g38 > b::before { background: var(--blue); }
.sort__list li.g38 { background: var(--blue-s); color: var(--blue-d); font-weight: 700; }
.sort__list li.is-skip { color: #5F6979; text-decoration: line-through; text-decoration-color: rgba(16,24,38,.35); }
.sort__list li.is-skip::before { background: transparent; border: 1.5px solid #A3ADBB; }
.sort__list li em { margin-left: auto; font-style: normal; font-family: var(--f-sans); font-size: 14px; font-weight: 700; color: var(--muted); text-decoration: none; display: inline-block; border: 1px solid var(--line-2); border-radius: 3px; padding: 0 6px; line-height: 1.6; }
.sort__arrow { display: grid; place-items: center; width: 44px; height: 44px; margin: 120px auto 0; border-radius: 50%; background: var(--paper); border: 1px solid var(--line); color: var(--blue); }
.sort__cap { grid-column: 1 / -1; font-size: 17px; font-weight: 700; color: var(--ink); line-height: 1.8; margin-bottom: 22px; }
.sort__out { padding-top: 36px; }
.sort__groups { display: grid; gap: 10px; }
.sort__groups li { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 14px; padding: 14px 18px; background: var(--paper); border: 1px solid var(--line); border-radius: 8px; }
.sort__groups li.g38 { border-color: var(--blue); box-shadow: 0 0 0 1px var(--blue); }
.sort__groups li > b { position: relative; padding-left: 18px; font-family: "GS Inter", sans-serif; font-weight: 700; font-size: 16px; color: var(--ink); white-space: nowrap; }
.sort__groups li > b::before { content: ""; position: absolute; left: 0; top: 50%; width: 9px; height: 9px; margin-top: -4.5px; border-radius: 2px; background: #9AA6B8; }
.chips { display: flex; gap: 3px; min-width: 0; }
.chips em { font-style: normal; font-size: 13px; font-weight: 700; color: var(--blue); align-self: center; margin-right: 4px; flex: none; }
.chips span { white-space: nowrap; min-width: max-content; padding: 0 6px; flex: 1 1 0; max-width: 72px; text-align: center; font-family: var(--f-mono); font-size: 12.5px; font-weight: 700; line-height: 26px; color: #fff; background: #5F6B80; border-radius: 3px; }
.g38 .chips span { background: var(--blue); }
.cnt { font-size: 14px; color: var(--muted); white-space: nowrap; font-weight: 700; }
.cnt b { font-family: "GS Inter", sans-serif; font-size: 20px; font-weight: 800; color: var(--ink); margin-right: 2px; font-variation-settings: "slnt" -10; }
.sort__foot { margin-top: 14px; font-size: 14.5px; color: var(--muted); line-height: 1.8; }

/* 実演 ------------------------------------------------------------------- */
.demo { position: relative; background: var(--night); color: var(--n-text); padding: clamp(96px, 11vw, 150px) 0 clamp(72px, 8vw, 110px); }
.demo::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 12px;
  background: repeating-linear-gradient(to right, rgba(255,255,255,.18) 0 1px, transparent 1px 14px) left top / 100% 6px no-repeat,
              repeating-linear-gradient(to right, rgba(255,255,255,.35) 0 1px, transparent 1px 140px) left top / 100% 12px no-repeat; }
.demo__head { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 0 clamp(32px, 5vw, 80px); align-items: end; margin-bottom: clamp(40px, 5vw, 64px); }
.demo__head .ch { grid-column: 1 / -1; }
.demo .h2 { color: #fff; }
.demo__lead { font-size: 17px; line-height: 2; max-width: 30em; }

.stitch { display: grid; grid-template-columns: minmax(0, 1fr) clamp(300px, 27vw, 380px); grid-template-areas: "bar bar" "tl side" "out side"; background: var(--night-2); border: 1px solid var(--n-line); border-radius: 10px; overflow: hidden; box-shadow: 0 40px 80px -40px rgba(0,0,0,.6); }
.stitch__bar { grid-area: bar; display: flex; align-items: center; justify-content: space-between; gap: 16px 24px; flex-wrap: wrap; padding: 16px 24px; border-bottom: 1px solid var(--n-line); background: var(--night-3); }
.stitch__session { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 18px; font-size: 14.5px; color: var(--n-text); }
.stitch__session b { font-family: "GS Inter", sans-serif; font-size: 17px; font-weight: 700; color: #fff; letter-spacing: .01em; }
.stitch__session span { font-family: "GS Inter", "GS Sans", sans-serif; font-variant-numeric: tabular-nums; }
.stitch__stages { display: flex; gap: 6px; }
.stitch__stages li { display: flex; align-items: center; gap: 8px; height: 30px; padding: 0 12px 0 8px; border-radius: 5px; font-size: 14px; font-weight: 700; color: #AEB9CB; border: 1px solid var(--n-line); transition: color .3s, background-color .3s, border-color .3s; font-feature-settings: "palt"; }
.stitch__stages li span { font-family: "GS Inter", sans-serif; font-size: 11.5px; font-weight: 800; font-variation-settings: "slnt" -10; }
.stitch__stages li.is-now { color: #fff; background: var(--blue); border-color: var(--blue); }
.stitch__stages li.is-done { color: var(--ok); border-color: rgba(60,212,138,.4); }

.stitch__tl { grid-area: tl; padding: 22px 24px 8px; }
.tl__ruler { position: relative; height: 26px; margin-left: 44px; border-bottom: 1px solid var(--n-line);
  background: repeating-linear-gradient(to right, rgba(255,255,255,.2) 0 1px, transparent 1px calc(19.505% / 8)) left bottom / 92% 5px no-repeat,
              repeating-linear-gradient(to right, rgba(255,255,255,.45) 0 1px, transparent 1px 19.505%) left bottom / 100% 10px no-repeat; }
.tl__ruler span { position: absolute; top: 0; left: calc(var(--t) * 19.505%); font-family: var(--f-mono); font-size: 11.5px; color: #8E9BB0; transform: translateX(3px); white-space: nowrap; }
.tl__ruler span.end { left: 92%; color: var(--sky); transform: translateX(calc(-100% - 4px)); }
.tl__body { display: grid; grid-template-columns: 44px minmax(0, 1fr); padding-top: 14px; }
.tl__tags { display: grid; grid-template-rows: 92px 34px; gap: 6px; padding-top: 12px; font-family: var(--f-mono); font-size: 12px; font-weight: 700; color: #8E9BB0; }
.tl__tags span { display: flex; align-items: center; }
.tl__clips { position: relative; height: 156px; container-type: inline-size; }
.sclip { position: absolute; top: 12px; display: grid; grid-template-rows: 92px 34px; gap: 6px; transition: transform .95s var(--ease); }
.sclip[data-i="0"] { left: 0; width: 36.8%; transform: translate3d(0, -6px, 0); }
.sclip[data-i="1"] { left: 39.4%; width: 36.8%; transform: translate3d(0, 9px, 0); }
.sclip[data-i="2"] { left: 78.8%; width: 18.4%; transform: translate3d(0, -2px, 0); }
.sclip__v { position: relative; display: flex; gap: 2px; background: #0A0F18; border-radius: 5px; overflow: hidden; box-shadow: 0 0 0 1.5px rgba(124,184,255,.6); }
.sclip__v img { flex: 1 1 0; min-width: 0; height: 100%; object-fit: cover; }
.sclip__a { border-radius: 5px; background: #183A68; box-shadow: 0 0 0 1px rgba(124,184,255,.35); overflow: hidden; }
.sclip__a svg { display: block; width: 100%; height: 100%; }
.seam { position: absolute; top: 4px; height: 148px; left: calc(var(--s) * 36.8%); width: 2px; margin-left: -1px; background: var(--sky); transform: scaleY(0); opacity: 0; transition: transform .4s var(--ease), opacity .5s; }
.merged { position: absolute; left: -3px; top: 9px; width: calc(92% + 6px); height: 138px; border: 2px solid var(--sky); border-radius: 7px; opacity: 0; transition: opacity .5s; pointer-events: none; }
.merged b { position: absolute; left: 8px; top: 7px; max-width: calc(100% - 16px); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-family: var(--f-mono); font-size: 12px; font-weight: 700; color: var(--night); background: var(--sky); padding: 2px 8px; border-radius: 3px; }
.tl__head { position: absolute; left: 0; top: -6px; bottom: -4px; width: 2px; margin-left: -1px; background: #fff; opacity: 0; transition: opacity .3s; }
.tl__head::before { content: ""; position: absolute; left: -6px; top: 0; width: 14px; height: 14px; background: #fff; clip-path: polygon(0 0, 100% 0, 100% 55%, 50% 100%, 0 55%); }

.stitch__out { grid-area: out; padding: 8px 24px 26px; }
.stitch__file { display: grid; font-family: var(--f-mono); font-size: clamp(14px, 1.45vw, 20px); font-weight: 600; color: #fff; letter-spacing: .01em; margin-bottom: 18px; min-height: 1.6em; }
.stitch__file > span { grid-area: 1 / 1; transition: opacity .45s, transform .45s var(--ease); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.stitch__file i { font-style: normal; color: #6D7B92; margin: 0 .5em; }
.f-to { opacity: 0; transform: translateY(8px); color: var(--sky); }
.prog { height: 6px; background: rgba(255,255,255,.1); border-radius: 3px; overflow: hidden; }
.prog span { display: block; height: 100%; width: 100%; background: linear-gradient(to right, var(--blue), var(--sky)); transform-origin: left; transform: scaleX(0); }
.stitch__status { display: flex; justify-content: space-between; align-items: baseline; margin-top: 10px; font-size: 15px; font-weight: 700; color: #fff; }
.pct { font-family: "GS Inter", sans-serif; font-size: 14px; color: var(--n-text); font-variant-numeric: tabular-nums; }
.pct b { font-size: 26px; font-weight: 800; color: #fff; font-variation-settings: "slnt" -10; margin-right: 2px; }

.stitch__side { grid-area: side; display: flex; flex-direction: column; gap: 18px; padding: 22px 24px 24px; border-left: 1px solid var(--n-line); background: rgba(16,24,38,.35); }
.verify__h { display: flex; justify-content: space-between; align-items: baseline; font-size: 15px; font-weight: 700; color: #fff; padding-bottom: 10px; border-bottom: 1px solid var(--n-line); }
.verify__h span { font-family: var(--f-mono); font-size: 12px; color: var(--sky); font-weight: 600; }
.vrow { padding: 12px 0; border-bottom: 1px solid var(--n-line); }
.vrow__k { display: flex; align-items: center; justify-content: space-between; font-size: 15px; font-weight: 700; color: #fff; margin-bottom: 4px; }
.vrow__h { display: grid; grid-template-columns: 6.6em minmax(0, 1fr); align-items: baseline; font-size: 14px; line-height: 1.9; }
.vrow__h .lab { color: #AEB9CB; font-weight: 700; }
.hv { display: grid; font-family: var(--f-mono); font-size: 13.5px; color: var(--n-text); letter-spacing: .02em; white-space: nowrap; }
.hv > span { grid-area: 1 / 1; }
/* 照合待ち → 値: 古い表示を先に消してから、新しい値を出す(同じ場所で重ねない) */
.hv .got { transition: opacity .3s .15s; }
.hv .wait { font-family: var(--f-sans); font-size: 14px; color: #AEB9CB; }
.hv .got { opacity: 0; color: #fff; }
.kept { display: flex; align-items: center; gap: 8px; padding: 2px 0; font-size: 14.5px; font-weight: 700; color: #E6FFF2; opacity: 0; transform: translateY(6px); transition: opacity .45s, transform .45s var(--ease); }
.kept svg { color: var(--ok); flex: none; }
.kept { visibility: hidden; }
.stitch.is-done .kept { visibility: visible; }
.run { margin-top: auto; display: flex; align-items: center; justify-content: center; gap: 12px; width: 100%; min-height: 60px; border: 0; border-radius: 8px; background: var(--blue); color: #fff; font-size: 18px; font-weight: 700; letter-spacing: .16em; cursor: pointer; transition: background-color .2s, transform .15s var(--ease), opacity .2s; box-shadow: 0 10px 24px -10px rgba(23,105,206,.9), inset 0 1px 0 rgba(255,255,255,.18); font-feature-settings: "palt"; }
.run:hover { background: #1F78E6; }
.run:active { transform: scale(.985); }
.run[aria-disabled="true"] { cursor: default; background: #2A3A57; color: #AEBBD0; box-shadow: none; }
.run svg { transition: transform .25s var(--ease); }
.run:hover svg { transform: translateX(3px); }
.run:focus-visible { outline: 3px solid var(--sky); outline-offset: 3px; }
.demo__note { margin-top: 18px; font-size: 14.5px; line-height: 1.9; color: #B7C2D3; max-width: 52em; }

/* 状態ごとの表示 */
.stitch.is-joined .sclip { transform: translate3d(0, 0, 0); }
.stitch.is-joined .sclip[data-i="1"] { transform: translate3d(-2.6cqw, 0, 0); }
.stitch.is-joined .sclip[data-i="2"] { transform: translate3d(-5.2cqw, 0, 0); }
.stitch.is-sealed .seam { transform: scaleY(1); opacity: 1; }
.stitch.is-verify .tl__head { opacity: 1; }
.stitch.is-done .seam { opacity: .0; }
.stitch.is-done .merged { opacity: 1; }
.stitch.is-done .sclip__v b { opacity: 0; }
.stitch.is-done .f-from { opacity: 0; transform: translateY(-8px); }
.stitch.is-done .f-to { opacity: 1; transform: none; }
.stitch.is-done .kept { opacity: 1; transform: none; }
.sclip__v b { transition: opacity .3s; }
.vrow.is-match .got { opacity: 1; }
.vrow.is-match .wait { opacity: 0; visibility: hidden; }
.vrow:not(.is-match) .got { visibility: hidden; }

/* 照合の行: 一致のしるし */
.match { display: inline-flex; align-items: center; gap: 4px; margin-left: 8px; font-family: var(--f-sans); font-size: 14px; font-weight: 700; color: var(--ok); opacity: 0; transform: scale(.85); transition: opacity .3s, transform .35s var(--ease); white-space: nowrap; }
.vrow.is-match .match { opacity: 1; transform: none; }

/* 使い方 ----------------------------------------------------------------- */
.steps { padding: clamp(96px, 11vw, 160px) 0 clamp(104px, 11vw, 170px); }
.steps__head { margin-bottom: clamp(48px, 6vw, 88px); }
.steps__list { position: relative; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); grid-template-rows: repeat(3, auto); gap: 0 clamp(24px, 3.2vw, 56px); padding-top: 34px; }
.steps__list::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 12px; border-top: 2px solid var(--ink);
  background: repeating-linear-gradient(to right, rgba(16,24,38,.35) 0 1px, transparent 1px 12px) left top / 100% 6px no-repeat; }
.step { position: relative; display: grid; grid-row: span 3; grid-template-rows: subgrid; }
.step__txt h3 { margin: 18px 0 12px; }
.step > .mock { align-self: stretch; }
.step__flag { position: absolute; left: 0; top: calc(-1 * (var(--drop, 0px) + 34px)); height: calc(var(--drop, 0px) + 22px); width: 0; border-left: 2px dashed var(--line-2); }
.step__flag::before { content: ""; position: absolute; left: -9px; top: -8px; width: 16px; height: 20px; background: var(--blue); clip-path: polygon(0 0, 100% 0, 100% 62%, 50% 100%, 0 62%); }
.step__no { display: flex; align-items: baseline; gap: 10px; font-family: "GS Inter", sans-serif; font-weight: 800; font-size: clamp(56px, 6vw, 88px); line-height: 1; letter-spacing: -.03em; color: var(--ink); font-variation-settings: "slnt" -10; }
.step__no span { font-size: 12px; letter-spacing: .1em; color: var(--blue); font-variation-settings: "slnt" 0; font-family: var(--f-mono); font-weight: 700; }
.step h3 { margin: 22px 0 14px; font-weight: 900; font-size: clamp(21px, 1.9vw, 26px); line-height: 1.45; color: var(--ink); font-feature-settings: "palt"; }
.step > p:not(.step__no) { font-size: 16.5px; line-height: 1.95; max-width: 32em; }

/* 手順の絵(アプリの画面の要点だけを描いたもの) */
.mock { box-shadow: 0 8px 20px rgba(11,18,32,.10) !important; display: flex; flex-direction: column; justify-content: center; margin-top: 26px; background: var(--paper); border: 1px solid var(--line); border-radius: 10px; box-shadow: 0 22px 40px -26px rgba(16,24,38,.45); font-family: var(--f-sans); letter-spacing: .02em; }
.mock--drop { padding: 18px; }
.mock__clips { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; margin: 0 0 14px; }
.mock__clips span { position: relative; aspect-ratio: 16 / 10; border-radius: 6px; overflow: hidden; }
.mock__clips img { width: 100%; height: 100%; object-fit: cover; }
.mock__clips em { position: absolute; left: 5px; top: 5px; font-style: normal; font-family: var(--f-mono); font-size: 12px; font-weight: 700; background: rgba(255,255,255,.9); color: var(--ink); padding: 0 5px; border-radius: 3px; }
.mock__opts { display: grid; gap: 10px; margin-bottom: 16px; padding-bottom: 16px; border-bottom: 1px solid var(--line); }
.mock__opts div { display: grid; gap: 4px; }
.mock__opts dt { font-size: 14px; font-weight: 700; color: var(--muted); }
.mock__opts dd { font-size: 15px; padding: 8px 12px; border: 1px solid var(--line); border-radius: 6px; background: var(--bg); color: var(--ink); font-variant-numeric: tabular-nums; }
.mock__drop { display: flex; align-items: center; justify-content: center; gap: 10px; padding: 24px 12px 6px; border: 2px dashed #C3CBD6; border-bottom: 0; border-radius: 8px 8px 0 0; font-size: 15px; font-weight: 700; color: var(--ink); text-align: center; }
.mock__drop svg { color: var(--blue); flex: none; }
.mock__or { padding: 4px 0; border-left: 2px dashed #C3CBD6; border-right: 2px dashed #C3CBD6; text-align: center; font-size: 14px; color: var(--muted); }
.mock__btns { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px; padding: 6px 12px 22px; border: 2px dashed #C3CBD6; border-top: 0; border-radius: 0 0 8px 8px; }
.mb { display: inline-flex; align-items: center; min-height: 40px; padding: 0 16px; border-radius: 7px; font-size: 14.5px; font-weight: 700; border: 1.5px solid var(--line-2); color: var(--ink); background: var(--paper); white-space: nowrap; }
.mb--blue { background: var(--blue); border-color: var(--blue); color: #fff; }
.mb--ghost { border-color: transparent; }
.mb--ghost::before { content: ""; width: 0; height: 0; margin-right: 8px; border-left: 9px solid var(--ink); border-top: 6px solid transparent; border-bottom: 6px solid transparent; }
.mb--soft { background: var(--blue-s); border-color: var(--blue-s); color: var(--blue-d); }
.mock--card { overflow: hidden; border: 2px solid #9EC2F0; }
.mock__thumb { position: relative; aspect-ratio: 2.4 / 1; overflow: hidden; }
.mock__thumb img { width: 100%; height: 100%; object-fit: cover; }
.mock__thumb span { position: absolute; right: 10px; bottom: 10px; font-family: "GS Inter", sans-serif; font-weight: 700; font-size: 14px; color: #fff; background: rgba(16,24,38,.82); padding: 2px 8px; border-radius: 4px; }
.mock__body { padding: 16px 18px 16px; }
.mock__title { display: flex; align-items: center; gap: 10px; font-family: "GS Inter", sans-serif; font-weight: 700; font-size: 20px; color: var(--ink); letter-spacing: 0; }
.cbox { width: 20px; height: 20px; border-radius: 4px; background: var(--blue); color: #fff; display: grid; place-items: center; flex: none; }
.mock__meta { margin-top: 4px; padding-left: 30px; font-size: 15px; color: var(--muted); line-height: 1.6; font-variant-numeric: tabular-nums; }
.mock__meta .dot { margin: 0 .3em; color: var(--muted); }
.mock__acts { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 14px; padding-top: 12px; border-top: 1px solid var(--line); }
.mock__acts .mb { justify-content: center; }
.mock--export { padding: 22px 20px; }
.mock__sel { font-size: 15px; color: var(--muted); font-variant-numeric: tabular-nums; }
.mock__go { margin-top: 12px; display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 58px; padding: 0 20px; border-radius: 8px; background: var(--blue); color: #fff; font-size: 16px; font-weight: 700; box-shadow: 0 12px 24px -12px rgba(23,105,206,.85); }

/* 特徴 ------------------------------------------------------------------- */
.feat { padding: 0 0 clamp(96px, 10vw, 150px); }
.feat__head { margin-bottom: clamp(40px, 5vw, 72px); }
.fgrid { display: grid; gap: clamp(16px, 2vw, 24px); }
.fgrid--a { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
.fgrid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: clamp(16px, 2vw, 24px); }
.fgrid--3 .panel--sub > p:not(.panel__tag) { font-size: 15.5px; line-height: 1.85; }
.fgrid--3 .panel--sub { display: flex; flex-direction: column; }

.fgrid--3 .panel--sub > p:last-of-type { margin-bottom: 20px; }
.fig--bare { background: none; padding: 0 !important; gap: 12px; }
.ask { padding: 18px 18px 16px; border: 1px solid #E2E8F0; border-radius: 12px; background: var(--paper); box-shadow: 0 18px 34px -22px rgba(16,24,38,.5); font-size: 14px; color: var(--ink); }
.ask__h { font-weight: 700; font-size: 15px; }
.ask__row { margin-top: 10px; padding: 8px 10px; border-radius: 6px; background: #F3F4F6; border: 1px solid #E5E7EB; font-size: 13.5px; line-height: 1.6; }
.ask__btns { display: flex; justify-content: flex-end; gap: 8px; margin-top: 12px; }
.ask__btns span { padding: 4px 12px; border: 1px solid #D7DCE3; border-radius: 6px; font-size: 13px; font-weight: 700; }
.ask__btns .is-go { background: var(--blue); border-color: var(--blue); color: #fff; }
.panel.panel--quality { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(28px, 4vw, 64px); align-items: center; }
.panel--quality .packets { margin-top: 0; }
.panel { position: relative; display: flex; flex-direction: column; background: var(--paper); border: 1px solid var(--line); border-radius: 10px; padding: clamp(28px, 3.4vw, 52px); }
.panel > * { flex: none; }
.push { flex: 1 1 auto; min-height: 0; }
.panel > .h3 { align-self: flex-start; }
.panel > p:not(.panel__tag):not(.panel__fine):not(.warnline) { max-width: 30em; }
.panel__tag { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 16px; font-size: 14.5px; font-weight: 700; letter-spacing: .08em; color: var(--blue); font-feature-settings: "palt"; }
.panel__tag::before { content: ""; width: 10px; height: 10px; background: currentColor; border-radius: 2px; }
.panel__tag--dark { color: var(--sky); }
.h3--main { font-size: clamp(30px, 2.9vw, 40px); }
.h3--date .nw { display: inline; }
.h3--sub { font-size: clamp(22px, 1.9vw, 27px); margin-bottom: 14px; }
.panel--sub { padding: clamp(24px, 2.8vw, 40px); }
.panel--sub > p:not(.panel__tag) { font-size: 16px; }
.fig { flex: 1 1 auto; display: flex; flex-direction: column; justify-content: center; gap: 14px; margin-top: 24px; padding: 20px; background: var(--bg); border-radius: 10px; }
.fig.fig--bare, .fig.fig--opts { background: none; }
.fgrid--3 .fig { height: 236px; flex: none; padding: 0 !important; justify-content: center; margin-top: auto; }
.fgrid--3 .fig--opts .opts { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.fig__k { font-size: 14px; font-weight: 700; color: var(--muted); }
.fig__note { font-size: 14px; line-height: 1.8; color: var(--muted); }
.shot { margin: 0; }
.shot img { width: 100%; border-radius: 12px; border: 1px solid #E2E8F0; box-shadow: 0 8px 20px rgba(11,18,32,.10); background: var(--paper); }
.shot figcaption { margin-top: 10px; font-size: 14px; color: var(--muted); }
.shot--dark img { border-color: transparent; }
.shot--dark figcaption { color: #B7C2D3; }
.shot--toast { max-width: 322px; }
.shot--name { max-width: 370px; margin-top: 14px; }
.dates__txt { display: none; }
.panel__fine { margin-top: 16px; font-size: 14.5px; line-height: 1.85; color: var(--muted); }

/* 再エンコードしない: 3つのファイルのデータが、並びも中身もそのまま1本になる図 */
.packets { position: relative; margin-top: 32px; padding: 26px 24px 22px; background: var(--bg); border-radius: 8px; }
.pk-in { position: relative; height: 150px; }
.pk-clip { position: absolute; top: calc(var(--o) * 50px); left: calc(var(--from) / 13 * 100%); width: calc(var(--n) / 13 * 100%); }
.pk-lab { display: block; font-family: var(--f-mono); font-size: 12px; font-weight: 600; color: var(--muted); line-height: 1.5; margin-bottom: 4px; white-space: nowrap; }
.pk-row { display: flex; gap: 3px; }
.pk-row i { flex: 1 1 0; height: 20px; border-radius: 2px; }
.pk-clip .pk-row { padding-right: 3px; }
.pk-out { position: relative; padding-top: 14px; border-top: 1px dashed var(--line-2); }
.pk-out .pk-row { padding-right: 3px; outline: 2px solid var(--blue); outline-offset: 4px; border-radius: 2px; }
.pk-out .pk-lab { margin: 12px 0 0; color: var(--blue); font-weight: 700; overflow: hidden; text-overflow: ellipsis; }
.pk-seam { position: absolute; top: 26px; bottom: 60px; left: calc(24px + (100% - 48px) * var(--at) / 13 - 1px); width: 0; border-left: 1px dashed rgba(23,105,206,.5); }
.packets i.c1 { background: var(--blue); }
.packets i.c2 { background: #8DB9F0; }
.packets i.c3 { background: var(--ink); }
.js .pk-clip { transition: transform .9s var(--ease); transform: translate3d(calc(var(--o) * 14px), 0, 0); }
.js .is-in .pk-clip { transform: none; }
.js .pk-out i { transform: scaleY(0); transition: transform .3s var(--ease); transition-delay: calc(var(--n, 0) * 45ms + 500ms); }
.js .is-in .pk-out i { transform: none; }

/* フォルダをまたいだ章 */
.tree { margin-top: 0; padding: 18px 20px; background: var(--bg); border-radius: 8px; font-family: var(--f-mono); font-size: 14px; line-height: 1.6; color: var(--text); }
.tree p { position: relative; }
.tree__root { display: flex; align-items: center; gap: 8px; font-weight: 700; color: var(--ink); }
.tree__root svg { color: var(--blue); }
.tree__dir { margin: 8px 0 0 7px; padding-left: 18px; border-left: 1.5px solid var(--line-2); display: grid; gap: 2px; }
.tree__dir b { font-weight: 700; color: var(--muted); }
.tree__dir span { padding-left: 14px; color: var(--blue-d); font-weight: 600; }
.tree__dir span::before { content: ""; display: inline-block; width: 8px; height: 8px; margin-right: 8px; border-radius: 2px; background: var(--blue); vertical-align: 1px; }
.tree__out { margin-top: 12px; display: flex; align-items: center; justify-content: space-between; padding: 8px 12px; border-radius: 6px; border: 2px solid var(--blue); background: var(--paper); font-family: var(--f-sans); font-size: 14px; font-weight: 700; color: var(--muted); }
.tree__out span { white-space: nowrap; }
.tree__out b { font-family: "GS Inter", sans-serif; color: var(--ink); font-size: 15.5px; }

.opts { display: grid; }
.opts li { display: flex; align-items: center; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 16px; color: var(--text); }
.opts li::before { content: ""; width: 8px; height: 8px; border-radius: 2px; background: var(--line-2); flex: none; }
.opts li:last-child { border-bottom: 0; }
.opts li.is-on { color: var(--blue-d); font-weight: 700; }
.opts li.is-on::before { background: var(--blue); }
.radio { width: 18px; height: 18px; border-radius: 50%; border: 1.5px solid var(--line-2); flex: none; }
.is-on .radio { border: 5px solid var(--blue); }

.sure { background: var(--night); color: var(--n-text); padding: clamp(64px, 7vw, 104px) 0 clamp(80px, 9vw, 130px); position: relative; overflow: clip; border-top: 1px solid var(--n-line); }
.sure__grid { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); gap: clamp(32px, 5vw, 80px); align-items: start; }
.sure__copy { position: sticky; top: calc(var(--hh) + 32px); }
.sure__body { padding-top: 44px; }
.sure__body .shot { margin-top: 28px; max-width: 480px; }
.sure__body .shot figcaption { line-height: 1.8; }
.sure__h { font-weight: 900; font-size: clamp(60px, 10vw, 156px); line-height: 1.08; letter-spacing: -.02em; color: #fff; font-feature-settings: "palt"; }
.sure__h span { display: block; white-space: nowrap; }
.sure__h span + span { color: var(--sky); }
.sure__lead { font-size: 17.5px; line-height: 2; color: #E2E8F1; }
.sure__list { margin-top: 26px; border-top: 1px solid var(--n-line); }
.sure__list li { position: relative; padding: 13px 0 13px 30px; border-bottom: 1px solid var(--n-line); font-size: 16px; line-height: 1.85; }
.sure__list li::before { content: ""; position: absolute; left: 2px; top: 22px; width: 12px; height: 7px; border-left: 2px solid var(--ok); border-bottom: 2px solid var(--ok); transform: rotate(-45deg); }
.hashes { margin-top: clamp(56px, 7vw, 96px); font-family: var(--f-mono); display: grid; grid-template-columns: 56px 1fr 1fr; column-gap: 8px; }
.hblock { display: contents; }
.hblock p { grid-column: 2; }
.hblock + .hblock p { grid-column: 3; }
.hblock p:nth-child(1) { grid-row: 1; } .hblock p:nth-child(2) { grid-row: 2; } .hblock p:nth-child(3) { grid-row: 3; }
.hashes .hblock:first-child .k { position: absolute; }
.hashes p { position: relative; display: grid; grid-template-columns: minmax(0, 1fr); align-items: center; }
.hashes .hblock:first-child .k { left: -64px; }
.hblock + .hblock .k { display: none; }
.hashes .k { font-size: 12px; font-weight: 700; color: #8E9BB0; letter-spacing: .08em; }
.hashes .v { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.hashes__row .v i { font-style: normal; font-size: clamp(14px, 2.5vw, 38px); font-weight: 600; color: #fff; letter-spacing: .04em; text-align: center; }
.hashes__row:nth-child(3) .v i { color: var(--sky); }
.hashes__ties { height: 40px; }
.hashes__ties .v i { display: block; height: 28px; width: 2px; margin: 0 auto; background: linear-gradient(var(--n-line), var(--ok)); transform-origin: top; }
.js .hashes__ties .v i { transform: scaleY(0); transition: transform .5s var(--ease); }
.js .hashes.is-in .hashes__ties .v i { transform: none; }
.hashes__ties .v i:nth-child(2) { transition-delay: .1s; } .hashes__ties .v i:nth-child(3) { transition-delay: .2s; } .hashes__ties .v i:nth-child(4) { transition-delay: .3s; }
.hashes__ties .v i:nth-child(5) { transition-delay: .4s; } .hashes__ties .v i:nth-child(6) { transition-delay: .5s; } .hashes__ties .v i:nth-child(7) { transition-delay: .6s; } .hashes__ties .v i:nth-child(8) { transition-delay: .7s; }

.toast { display: none; display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 12px; padding: 14px 16px; border-radius: 10px; background: var(--paper); border: 1px solid var(--line); box-shadow: 0 16px 30px -18px rgba(16,24,38,.45), 0 2px 4px rgba(16,24,38,.05); font-size: 16px; font-weight: 700; color: var(--ink); }
.toast svg { color: var(--blue); }
.toast b { color: var(--blue); font-size: 15px; padding: 6px 12px; border-radius: 6px; background: var(--blue-s); white-space: nowrap; }

.dates { margin-top: 28px; padding: 20px; background: var(--bg); border-radius: 8px; }
.dates__list { display: grid; gap: 6px; }
.dates__list li { display: grid; grid-template-columns: auto minmax(0, 1fr) auto auto; align-items: center; gap: 12px; padding: 10px 14px; background: var(--paper); border: 1px solid var(--line); border-radius: 6px; font-family: var(--f-mono); font-size: 14.5px; white-space: nowrap; }
.dates__list li.is-edit { border-color: var(--blue); box-shadow: 0 0 0 1px var(--blue); }
.dates__list .s { font-family: "GS Inter", sans-serif; font-weight: 700; color: var(--ink); }
.dates__list s { color: #5F6979; justify-self: end; }
.dates__list svg { color: var(--blue); }
.dates__list b { color: var(--blue-d); }
.dates__opt { display: flex; align-items: center; gap: 10px; margin-top: 14px; font-size: 15px; font-weight: 700; color: var(--ink); line-height: 1.6; }
.box { width: 18px; height: 18px; border-radius: 4px; background: var(--blue); color: #fff; display: grid; place-items: center; flex: none; }
.dates__cap { margin-top: 8px; font-size: 14px; color: var(--muted); }
.warnline { margin-top: 20px; padding: 14px 16px 14px 18px; border-left: 4px solid #D79A1E; background: var(--warn-bg); color: var(--warn); border-radius: 0 6px 6px 0; font-size: 15.5px; line-height: 1.85; }
.warnline strong { color: #5C3D03; }

.panel.panel--date { margin-top: clamp(16px, 2vw, 24px); display: block; }
.date__head { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: 24px clamp(32px, 4vw, 64px); align-items: start; }
.date__side .warnline { margin-top: 6px; }
.date__steps { margin-top: 30px; padding-top: 28px; border-top: 1px solid var(--line); }
.step-shot--1 { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); align-items: center; gap: 12px clamp(24px, 3vw, 48px); }
.step-shot--1 .shot { max-width: none; }
.date__steps .date__flow { margin-top: 36px; }
.oscard__txt--next { margin-top: 0; }
.dates__cap { display: none; }
.date__flow { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px clamp(24px, 3vw, 48px); align-items: start; margin-top: 30px; }
.step-shot { display: grid; gap: 10px; }
.step-shot .shot { max-width: 520px; }
.date__flow .step-shot .shot { max-width: none; }
.date__copy > p:not(.panel__tag):not(.warnline) { max-width: 30em; }
.flow { display: grid; gap: 26px; counter-reset: flow; }
.flow li { display: grid; gap: 10px; }
.flow .shot { max-width: 480px; }
.flow__a .shot { max-width: 560px; }
.flow__cap { display: flex; align-items: baseline; gap: 10px; font-size: 15.5px; font-weight: 700; color: var(--ink); line-height: 1.6; }
.flow__cap b { display: inline-grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--blue); color: #fff; font-family: "GS Inter", sans-serif; font-size: 14px; flex: none; }
.date__note { margin-top: 16px; font-size: 14px; color: var(--muted); }
.panel--wide { margin-top: clamp(64px, 7vw, 104px); display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: clamp(32px, 4vw, 72px); align-items: center; background: none; border: 0; border-radius: 0; padding: 0; }
.h3--lang { font-size: clamp(30px, 2.9vw, 40px); line-height: 1.3; }
.lang1, .lang2 { display: block; white-space: nowrap; }
.num { font-family: "GS Inter", sans-serif; font-weight: 800; font-size: 2.3em; font-variation-settings: "slnt" -10; color: var(--blue); line-height: .9; letter-spacing: -.04em; margin-right: .03em; }
.langs { margin-top: 22px; display: flex; flex-wrap: wrap; gap: 2px 0; max-width: 34em; }
.langs li { font-size: 15px; font-weight: 700; color: var(--text); line-height: 1.8; }
.langs li:not(:last-child)::after { content: "・"; color: var(--muted); margin: 0 .2em; font-weight: 400; }
/* 画面の右端まで伸ばす */
.duo { margin-right: calc(-1 * (max(0px, (100vw - var(--wrap) - var(--pad) * 2) / 2) + var(--pad))); }
.duo__win { border-radius: 10px 0 0 10px; overflow: hidden; box-shadow: 0 0 0 1px rgba(16,24,38,.1), 0 30px 60px -30px rgba(16,24,38,.45); }
.duo__view { position: relative; }
.duo__dark { position: absolute; inset: 0; width: 100%; height: 100%; clip-path: polygon(62% 0, 100% 0, 100% 100%, 46% 100%); }
.duo__view::after { content: ""; position: absolute; top: 0; bottom: 0; left: 46%; width: 16%; background: linear-gradient(to bottom right, transparent calc(50% - 1px), var(--blue) calc(50% - 1px), var(--blue) calc(50% + 1px), transparent calc(50% + 1px)); }
.duo__lab { position: absolute; bottom: 12px; font-family: var(--f-mono); font-size: 12px; font-weight: 700; padding: 2px 8px; border-radius: 3px; letter-spacing: .06em; }
.duo__lab--l { left: 12px; background: var(--ink); color: #fff; }
.duo .mac__bar { background: linear-gradient(to right, #F3F5F8 62%, #1B2230 62%); border-bottom-color: #2A3344; }
.duo__lab--d { right: 16px; background: #fff; color: var(--ink); }

/* 動作環境 --------------------------------------------------------------- */
.spec { background: var(--paper); padding: clamp(96px, 11vw, 160px) 0; }
.spec__head { margin-bottom: clamp(36px, 4vw, 56px); }
.oscards { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(16px, 2vw, 24px); }
.oscard { position: relative; padding: clamp(28px, 3.4vw, 48px); background: var(--bg); border: 1px solid var(--line); border-radius: 10px; overflow: hidden; }
.oscard::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 6px; background: var(--blue); }
.oscard__k { font-family: var(--f-mono); font-size: 13px; font-weight: 700; color: var(--blue); letter-spacing: .1em; }
.oscard__name { margin-top: 6px; font-family: "GS Inter", sans-serif; font-weight: 800; font-size: clamp(52px, 6vw, 88px); line-height: 1; letter-spacing: -.03em; color: var(--ink); font-variation-settings: "slnt" -10; }
.oscard__req { margin-top: 22px; font-size: 18px; font-weight: 700; color: var(--ink); }
.oscard__req .sep { color: var(--muted); margin: 0 .15em; }
.oscard__txt { margin-top: 8px; font-size: 16px; line-height: 1.9; max-width: 30em; }
.spec__list { margin-top: clamp(40px, 4vw, 64px); display: grid; grid-template-columns: 1fr 1fr; gap: 0 clamp(32px, 4vw, 64px); border-top: 2px solid var(--ink); }
.spec__list > div { padding: 24px 0 26px; border-bottom: 1px solid var(--line); }
.spec__list dt { font-weight: 700; font-size: 18px; color: var(--ink); line-height: 1.6; margin-bottom: 10px; }
.spec__list dt .k { display: block; font-family: var(--f-mono); font-size: 13px; color: var(--blue); letter-spacing: .08em; margin-bottom: 2px; }
.spec__list dd { font-size: 16px; line-height: 1.9; }
.spec__list code { display: inline-block; font-size: 14px; padding: 1px 8px; background: var(--bg); border: 1px solid var(--line); border-radius: 4px; color: var(--ink); white-space: nowrap; line-height: 1.75; }
.codes { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.spec__list code.long { display: block; width: max-content; max-width: 100%; overflow: hidden; text-overflow: ellipsis; margin-top: 10px; }
.fmt { display: block; }
.fmt + .fmt { margin-top: 16px; }
.fmt b { display: block; color: var(--ink); }
.etc { display: grid; gap: 12px; }
.etc li { display: grid; grid-template-columns: 9em minmax(0, 1fr); gap: 12px; align-items: baseline; }
.etc b { font-size: 15px; color: var(--ink); }
.big { font-family: "GS Inter", sans-serif; font-weight: 800; font-size: 26px; line-height: 1; color: var(--ink); font-variation-settings: "slnt" -10; margin-right: 4px; letter-spacing: -.01em; }

/* 質問 ------------------------------------------------------------------- */
.faq { padding: clamp(96px, 11vw, 160px) 0; }
.faq__head { margin-bottom: clamp(36px, 4vw, 56px); }
.faq__list { border-top: 2px solid var(--ink); }
.faq details { position: relative; border-bottom: 1px solid var(--line-2); padding-left: 20px; }
.faq details::before { content: ""; position: absolute; left: 0; top: 18px; bottom: 18px; width: 3px; border-radius: 2px; background: var(--blue); transform: scaleY(0); transform-origin: top; transition: transform .35s var(--ease); }
.faq details[open]::before { transform: none; }
.faq summary { display: grid; grid-template-columns: 96px minmax(0, 1fr) 44px; align-items: center; min-height: 80px; padding: 14px 0; cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.q-no { font-family: var(--f-mono); font-size: 13.5px; font-weight: 700; color: var(--blue); }
.q { font-weight: 700; font-size: clamp(17px, 1.6vw, 21px); line-height: 1.6; color: var(--ink); font-feature-settings: "palt"; transition: color .2s; }
.faq summary:hover .q { color: var(--blue); }
.pm { position: relative; width: 36px; height: 36px; border-radius: 6px; border: 1.5px solid var(--line-2); justify-self: end; transition: background-color .2s, border-color .2s; }
.pm::before, .pm::after { content: ""; position: absolute; left: 50%; top: 50%; width: 14px; height: 2px; margin: -1px 0 0 -7px; background: var(--ink); transition: transform .3s var(--ease); }
.pm::after { transform: rotate(90deg); }
.faq details[open] .pm { background: var(--ink); border-color: var(--ink); }
.faq details[open] .pm::before, .faq details[open] .pm::after { background: #fff; }
.faq details[open] .pm::after { transform: rotate(0deg); }
.faq .a { padding: 0 44px 30px 96px; }
.faq .a p { max-width: 38em; font-size: 16.5px; }

/* 公開準備 --------------------------------------------------------------- */
.release { background: var(--blue); color: #fff; padding-top: clamp(96px, 11vw, 160px); }
.release :focus-visible { outline-color: #fff; }
.release__grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: clamp(32px, 5vw, 80px); align-items: end; padding-bottom: clamp(72px, 8vw, 120px); }
.release__icon { width: 80px; height: 80px; border-radius: 18px; margin-bottom: 36px; box-shadow: 0 0 0 3px rgba(255,255,255,.9), 0 18px 30px -14px rgba(6,20,50,.6); }
.release__h { font-weight: 900; font-size: clamp(44px, 7.2vw, 96px); line-height: 1.16; letter-spacing: -.02em; color: #fff; font-feature-settings: "palt"; }
.release__copy > p { margin-top: 26px; max-width: 28em; font-size: 18px; color: #fff; }
.release__os { display: grid; gap: 12px; }
.release__os li { display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "os st" "req st"; align-items: center; gap: 4px 16px; padding: 22px 24px; border: 0; border-radius: 10px; background: var(--paper); color: var(--text); box-shadow: 0 24px 40px -24px rgba(6,20,50,.6); }
.release__os .os { grid-area: os; white-space: nowrap; font-family: "GS Inter", sans-serif; font-weight: 800; font-size: clamp(26px, 2.6vw, 34px); letter-spacing: -.01em; color: var(--ink); font-variation-settings: "slnt" -10; line-height: 1.2; }
.release__os .req { grid-area: req; font-size: 16px; color: var(--text); line-height: 1.7; }
.release__os .st { grid-area: st; }

.band--final { padding: 0 0 clamp(48px, 6vw, 80px); }
.band__ruler--final { display: flex; justify-content: space-between; align-items: flex-start; padding: 8px var(--pad) 0; }
.band__ruler--final span { position: static; }
.fstrip { position: relative; width: min(100% - var(--pad) * 2, 1600px); margin: 44px auto 0; }
.fstrip__in { position: relative; display: flex; gap: 0; }
.fstrip__in::after { content: ""; position: absolute; inset: -6px; border: 2px solid var(--sky); border-radius: 9px; opacity: var(--join, 1); pointer-events: none; }
.fstrip__in { height: clamp(64px, 13vw, 200px); }
.fp { position: relative; display: flex; gap: 2px; flex: 2 1 0; min-width: 0; height: 100%; overflow: hidden; background: #0A0F18; transform: translate3d(calc(var(--k) * var(--gap, 0px)), calc(var(--k) * var(--lift, 0px)), 0); border-radius: calc(var(--gap, 0px) / 6); box-shadow: 0 0 0 1px rgba(10,15,24,.9); }
.fp:first-child { border-radius: 6px 0 0 6px; }
.fp:last-child { border-radius: 0 6px 6px 0; }
.fp--3 { flex-grow: 1; }
.fp img { flex: 1 1 0; min-width: 0; width: 100%; height: 100%; object-fit: cover; }
.fp em { position: absolute; left: 8px; top: 8px; z-index: 1; font-style: normal; font-family: var(--f-mono); font-size: 12px; font-weight: 700; color: #fff; background: rgba(10,15,24,.8); padding: 1px 7px; border-radius: 3px; }
.fp + .fp { box-shadow: -2px 0 0 rgba(124,184,255,.9); }
.fstrip__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; margin-top: 18px; }
.fstrip__meta span { font-family: var(--f-mono); font-size: 13px; color: #B7C2D3; }
.fstrip__name { display: inline-block; font-family: var(--f-mono); font-size: clamp(13px, 1.3vw, 16px); font-weight: 700; color: #0B1220; background: var(--sky); padding: 3px 10px; border-radius: 4px; }
.fstrip__name .fn, .fstrip__name .fn > span { color: #0B1220; font-weight: 700; }

/* フッター --------------------------------------------------------------- */
.gf { background: var(--bg); padding: 64px 0 40px; border-top: 1px solid var(--line); }
.gf__grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 32px clamp(32px, 5vw, 96px); }
.gf__brand { display: flex; align-items: center; gap: 14px; }
.gf__brand img { width: 40px; height: 40px; border-radius: 9px; }
.gf__brand p { display: grid; line-height: 1.5; }
.gf__brand b { font-family: "GS Inter", sans-serif; font-weight: 800; font-size: 18px; color: var(--ink); }
.gf__brand span { font-size: 14px; color: var(--muted); }
.gf__nav { display: flex; flex-wrap: wrap; gap: 8px 28px; align-items: center; }
.gf__nav a { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; font-weight: 700; font-size: 15.5px; text-decoration: none; color: var(--ink); background-image: linear-gradient(var(--blue), var(--blue)); background-size: 0 2px; background-position: left calc(100% - 8px); background-repeat: no-repeat; transition: background-size .3s var(--ease), color .2s; }
.gf__nav a:hover { background-size: 100% 2px; color: var(--blue); }
.gf__nav svg { transform: rotate(-45deg); }
.gf__notes { grid-column: 2; display: grid; gap: 8px; font-size: 14px; line-height: 1.85; color: var(--muted); max-width: 52em; }
.gf__copy { grid-column: 1 / -1; padding-top: 24px; border-top: 1px solid var(--line); font-family: "GS Inter", sans-serif; font-size: 13px; color: var(--muted); letter-spacing: .06em; }
.gf__copy small { font-size: inherit; }

/* 出現 ------------------------------------------------------------------- */
.js [data-reveal] { opacity: 0; transform: translate3d(0, 28px, 0); transition: opacity .7s var(--ease), transform .8s var(--ease); }
.js [data-reveal].is-in { opacity: 1; transform: none; }
.js [data-reveal="rise"] { transform: translate3d(0, 40px, 0); transition-duration: .9s, 1.1s; }
.js [data-reveal="hash"] { transform: none; }
.js .step[data-reveal]:nth-child(2) { transition-delay: .1s; }
.js .step[data-reveal]:nth-child(3) { transition-delay: .2s; }

/* 画面幅ごと ------------------------------------------------------------- */
@media (max-width: 1180px) {
  .gh__tc { display: none; }
  .hero__grid { grid-template-columns: minmax(0, 540px) minmax(0, 1fr); }
  .hero__h { font-size: clamp(50px, 6.2vw, 80px); }
}
@media (min-width: 1024px) and (max-width: 1180px) {
  .dates__list li { grid-template-columns: 14px minmax(0, 1fr); gap: 2px 8px; }
  .dates__list .s, .dates__list s { grid-column: 1 / -1; justify-self: start; }
}
@media (max-width: 1023px) {
  :root { --hh: 100px; }
  .gh { height: var(--hh); }
  .gh__in { height: 56px; }
  .gh__nav { position: absolute; left: 0; right: 0; top: 56px; height: 44px; margin: 0; overflow-x: auto; overscroll-behavior-x: contain; border-top: 1px solid var(--line); scrollbar-width: none; }
  .gh__nav::-webkit-scrollbar { display: none; }
  .gh__nav { background: #F8F9FB; }
  .gh__nav ul { width: max-content; min-width: 100%; justify-content: space-between; gap: 0; padding: 0 calc(var(--pad) - 8px) 0 calc(var(--pad) - 8px); }
  .gh__nav a { min-height: 44px; padding: 0 8px; }
  .gh__nav a::after { left: 8px; right: 8px; }
  .gh__end { margin-left: auto; }
  /* スマホ・タブレットのヒーロー: 見出し → クリップの帯 → 実画面 → 対応環境 */
  .hero { display: flex; flex-direction: column; }
  .hero__grid { display: contents; }
  .hero__copy { order: 1; padding: 40px var(--pad) 32px; }
  .band--hero { order: 2; }
  .hero__window { order: 3; justify-self: auto; width: auto; max-width: 720px; margin: 0; padding: 32px var(--pad) 0; }
  .hero__info { order: 4; background: none; padding: 12px 0 28px; }
  .hero__info .tag-status--dark { background: #E3EEFC; box-shadow: none; color: var(--blue-d); }
  .hero__info .tag-status--dark i { background: var(--blue); }
  .hero__info .hero__spec div { border-left-color: var(--blue); }
  .hero__info .hero__spec dt { color: var(--muted); }
  .hero__info .hero__spec dd { color: var(--ink); }
  .hero__info .hero__spec .sep { color: var(--muted); }
  .date__head, .date__flow, .panel.panel--quality { grid-template-columns: minmax(0, 1fr); }
  .fgrid--3 { grid-template-columns: minmax(0, 1fr); }
  .sure__copy { position: static; }
  .sure__body { padding-top: 0; }
  .hero__h { font-size: clamp(44px, 10.6vw, 96px); }
  .anat__name { font-size: clamp(38px, 8.6vw, 92px); }
  .why__grid, .demo__head, .sure__grid, .release__grid { grid-template-columns: minmax(0, 1fr); }
  .spec__list { grid-template-columns: minmax(0, 1fr); }
  .anat { margin-top: 24px; }
  .stitch { grid-template-columns: minmax(0, 1fr); grid-template-areas: "bar" "tl" "out" "side"; }
  .stitch__side { border-left: 0; border-top: 1px solid var(--n-line); }
  .fgrid--a, .panel--wide { grid-template-columns: minmax(0, 1fr); }
  .demo__lead { margin-top: 24px; }
  .tl__ruler span:nth-child(5) { display: none; }
}
@media (max-width: 860px) {
  .sort { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .sort__arrow { transform: rotate(90deg); margin: 0 0 0 12px; }
  .sort__out { padding-top: 0; }
  .steps__list { grid-template-columns: minmax(0, 1fr); padding-top: 0; padding-left: 40px; gap: 56px; }
  .steps__list::before { left: 7px; right: auto; top: 6px; bottom: 0; width: 2px; height: auto; border-top: 0; background: var(--ink); }
  .step { display: block; }
  .steps__list { grid-template-rows: none; padding-bottom: 0; }
  .step__flag { left: -40px; top: 0; height: 0; border: 0; }
  .step__flag::before { left: -1px; top: 6px; }
  .mock { max-width: 520px; }
    .gf__grid { grid-template-columns: minmax(0, 1fr); }
  .gf__notes { grid-column: auto; }
}
@media (max-width: 640px) {
  .oscards { grid-template-columns: minmax(0, 1fr); }
  .oscard__req { font-size: 16.5px; }
  .etc li { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .spec__list code.long { font-size: 12.5px; padding: 1px 6px; }
  .oscard__name { font-size: clamp(40px, 13vw, 60px); }
  .mock__go { font-size: 15px; padding: 0 16px; white-space: nowrap; }
  .mock--export { padding: 18px 16px; }
  body { font-size: 16px; line-height: 1.9; }
  .gh__in { gap: 12px; }
  .gh__brand { font-size: 17px; }
  .topruler span:nth-child(n+4) { display: none; }
  .hero__eyebrow { font-size: 14px; }
  .hero__h { font-size: 12.6vw; margin-top: 20px; line-height: 1.2; }
  .hero__lead { font-size: 16.5px; margin-top: 22px; line-height: 1.95; }
  .hero__spec { position: relative; grid-template-columns: auto auto; gap: 0 18px; }
  .hero__spec dd { font-size: 15.5px; }
  .hero__spec .hero__state { grid-column: 1 / -1; justify-self: start; margin-top: 10px; padding-left: 0; border-left: 0; }
  .hero__state .tag-status { height: 24px; padding: 0 9px; font-size: 13px; }
  .hero__cta .btn { flex: 1 1 auto; }
  .band--hero .band__lane { height: 82px; margin-top: 24px; }
  .band__lane--out { height: 52px !important; }
  .hclip { height: 68px; top: 8px; }
  .hclip img:nth-child(2) { display: none; }
  .hclip { height: 56px; }
  .hclip b { font-size: 11px; left: 5px; top: 5px; padding: 1px 5px; max-width: calc(100% - 10px); }
  .hclip::before, .hclip::after { width: 4px; }
  .lane-tag { display: none; }
  .band__playhead { left: 26.3%; bottom: 14px; }
  .band__ruler span { display: none; }
  .hout { height: 36px; padding: 0 10px; }
  .hout b { font-size: 12px; }
  .hero__copy { padding-top: 24px; padding-bottom: 18px; }
  .hero__window { padding-top: 14px; }
  .why { padding-top: 28px; }
  .anat__name { font-size: 10.8vw !important; }
  .hero__info .hero__spec { gap: 10px; }
  .h2 { font-size: clamp(28px, 8.4vw, 40px); line-height: 1.34; }
  .anat__name { font-size: 11.6vw; padding-bottom: 44px; }
  .seg i { font-size: 13px; }
  .seg--ext i { display: none; }
  .anat__legend div { grid-template-columns: 54px 1fr; gap: 12px; }
  .anat__legend dd, .anat__legend dt { font-size: 15.5px; }
  .sort { padding: 18px; }
  .sort__list li { font-size: 15px; }
  .sort__groups li { grid-template-columns: minmax(0, 1fr) auto; padding: 12px 14px; gap: 8px 12px; }
  .sort__groups .chips { grid-column: 1 / -1; grid-row: 2; }
  .stitch__bar { padding: 14px 16px; }
  .stitch__tl { padding: 18px 14px 6px; }
  .tl__ruler { margin-left: 30px; }
  .tl__ruler span:nth-child(2), .tl__ruler span:nth-child(4), .tl__ruler span:nth-child(5) { display: none; }
  .tl__body { grid-template-columns: 30px minmax(0, 1fr); }
  .sclip__v img:nth-child(2) { display: none; }
  .sclip__v b { font-size: 11px; padding: 1px 5px; left: 5px; top: 5px; max-width: calc(100% - 10px); }
  .merged b { display: none; }
  .stitch__tl { padding: 8px 12px 2px; }
  .tl__tags { grid-template-rows: 60px 24px; }
  .sclip { grid-template-rows: 60px 24px; }
  .tl__clips { height: 110px; }
  .seam { height: 100px; }
  .merged { height: 96px; }
  .stitch__out { padding: 4px 16px 18px; }
  .stitch__file { margin-bottom: 14px; }
  .f-from { white-space: normal !important; }
  .f-to > span { display: block; }
  .vrow { padding: 10px 0; }
  .demo { padding: 60px 0 48px; }
  .stitch__session { gap: 0 12px; font-size: 14px; line-height: 1.6; }
  .stitch__session b { flex-basis: 100%; }
  .stitch__stages li { height: 26px; }
  .stitch__bar { padding: 10px 16px; gap: 6px; }
  .tl__ruler { height: 22px; }
  .tl__body { padding-top: 8px; }
  .stitch__out { padding: 2px 16px 14px !important; }
  .stitch__file { margin-bottom: 10px !important; }
  .stitch__status { margin-top: 4px; }
  .stitch__side { padding: 14px 16px 16px !important; gap: 10px; }
  .vrow__h { line-height: 1.55; }
  .vrow__k { margin-bottom: 2px; }
  .demo__head { margin-bottom: 26px; }
  .demo__lead { margin-top: 16px; }
  .stitch__bar { padding: 12px 16px; gap: 8px; }
  .stitch__side { gap: 12px; }
  .verify__h { padding-bottom: 6px; }
  .vrow { padding: 8px 0; }
  .run { min-height: 44px; font-size: 16px; }
  .demo__note { margin-top: 12px; }
  .sure { padding: 52px 0 56px; }
  .hashes { margin-top: 36px; }
  .hashes__ties { height: 30px; }
  .hashes__ties .v i { height: 20px; }
  .stitch__file { font-size: 15px; line-height: 1.6; }
  .stitch__side { padding: 18px 16px 20px; }
  .demo__lead { font-size: 16px; }
  .steps__list { padding-left: 32px; }
  .steps__list::before { left: 5px; }
  .step__flag { left: -32px; }
  .step__no { font-size: 56px; }
  .packets { padding: 20px 16px 18px; }
  .pk-in { height: 138px; }
  .pk-clip { top: calc(var(--o) * 46px); }
  .pk-lab { font-size: 11px; }
  .pk-clip:nth-child(3) .pk-lab { direction: rtl; text-align: left; }
  .pk-row { gap: 2px; }
  .pk-row i { height: 16px; }
  .pk-seam { left: calc(16px + (100% - 32px) * var(--at) / 13 - 1px); top: 20px; }
  .sure__h { font-size: 17.5vw; }
  .sure__lead { font-size: 16px; }
  .hashes { grid-template-columns: 40px minmax(0, 1fr); row-gap: 0; }
  .hblock p, .hblock + .hblock p { grid-column: 2; }
  .hblock + .hblock p:nth-child(1) { grid-row: 4; margin-top: 26px; } .hblock + .hblock p:nth-child(2) { grid-row: 5; } .hblock + .hblock p:nth-child(3) { grid-row: 6; }
  .hblock + .hblock .k { display: block; position: absolute; left: -48px; }
  .hashes .hblock:first-child .k { left: -48px; }
  .hashes__row .v i { font-size: 18px; }
  .dates { padding: 14px; }
  .toast { grid-template-columns: auto minmax(0, 1fr); }
  .toast b { grid-column: 2; justify-self: start; }
  .dates__list li { grid-template-columns: 14px minmax(0, 1fr); gap: 2px 8px; font-size: 14px; padding: 10px 12px; }
  .dates__list .s, .dates__list s { grid-column: 1 / -1; justify-self: start; }
  .faq summary { grid-template-columns: 58px minmax(0, 1fr) 40px; min-height: 72px; }
  .faq .a { padding: 0 0 22px 0; }
  .faq details { padding-left: 14px; }
  .pk-out .pk-lab { overflow: visible; white-space: normal; }
  .faq .a p { font-size: 16px; }
  .release__h { font-size: 11vw; }
  .release__os li { grid-template-columns: minmax(0, 1fr); grid-template-areas: "os" "req" "st"; padding: 20px; }
  .release__os .st { justify-self: start; margin-top: 10px; }
  .fstrip__in { height: 64px; }
  .fp img:nth-child(3) { display: none; }
  .fp em { font-size: 11px; left: 5px; top: 5px; padding: 0 5px; }
  .fstrip__meta span { font-size: 12.5px; }
  .h3--main { font-size: 27px; }
  .h3--sub { font-size: 22px; }
  .h3--lang { font-size: 27px; }
  .panel--sub, .panel--main { padding: 24px 18px; }
  .warnline { padding: 12px 12px 12px 14px; }
  .fig { padding: 16px; }
  .mock__drop { flex-direction: column; padding-top: 20px; }
  .mock__btns { flex-direction: column; align-items: stretch; padding: 6px 16px 20px; }
  .mock__btns .mb { justify-content: center; }
  .oscard__req { display: flex; flex-direction: column; row-gap: 2px; }
  .oscard__req .sep, .hero__spec .sep { display: none; }
  .hero__spec dd { display: flex; flex-direction: column; }
  .h3--date { font-size: 24px; }
  .h3--date .nw { display: inline-block; }
  .pk-out .pk-lab .fn > span, .fstrip__name .fn > span { display: block; }
  .pk-out .pk-lab { font-size: 12px; }
  .fgrid--3 .fig { padding: 0; background: none; }
  .fgrid--3 { gap: 0; margin-top: 32px; border-top: 1px solid var(--line-2); }
  .fgrid--3 .panel--sub { background: none; border: 0; border-radius: 0; padding: 32px 0; border-bottom: 1px solid var(--line-2); }
  .fgrid--3 .panel--sub > p:last-of-type { margin-bottom: 20px; }
  .fgrid--3 .panel--sub { padding: 20px 0 24px; }
  .fgrid--3 .panel__tag { margin-bottom: 12px; }
  .fgrid--3 .h3--sub { margin-bottom: 10px; }
  .fgrid--3 .fig { margin-top: 0; gap: 10px; }
  .shot--pc { display: none; }
  .step-shot--1 { grid-template-columns: minmax(0, 1fr); }
  .dates__txt { display: grid; margin-top: 4px; border: 1px solid #E2E8F0; border-radius: 10px; background: var(--paper); font-family: var(--f-mono); font-size: 13.5px; line-height: 1.5; color: var(--ink); }
  .dates__txt li { display: grid; padding: 11px 14px; border-top: 1px solid var(--line); }
  .dates__txt li:first-child { border-top: 0; }
  .dates__txt b { display: grid; }
  .dates__txt b .nw { display: block; }
  .dates__cap { display: block; margin-top: 8px; font-size: 14px; color: var(--muted); }
  .panel--date .date__note { display: none; }

  .langs { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
  .langs li { font-size: 14px; }
  .langs li::after { content: none !important; }
  .langs li::before { content: ""; display: inline-block; width: 6px; height: 6px; border-radius: 1px; background: var(--blue); margin: 0 8px 2px 0; }
  .anat { margin-top: 4px !important; }
  .anat__legend { margin-top: 20px; }
  .fgrid--3 .fig { height: auto; }
  .dates__txt li > span { font-family: "GS Inter", sans-serif; font-weight: 700; font-size: 12.5px; letter-spacing: .04em; color: var(--muted); line-height: 21px; }
  .dates__txt b { line-height: 21px; }
  .dates__txt b .nw:first-child { color: #4B5563; font-weight: 400; }
  .dates__txt b .nw:last-child { color: var(--ink); font-weight: 600; }
  .dates__txt b { font-weight: 500; }
  .date__flow .shot img, .sure__body .shot img { border-radius: 8px; }
  .oscard { padding: 26px 20px; }
}
@media (max-width: 420px) {
  .hclip .lf { display: none; }
  .hclip .ls { display: inline; }
  .hout b { font-size: 11.5px; }
  .tree__dir span { padding-left: 4px; white-space: nowrap; }
  .tree__out b, .tree__out span { white-space: nowrap; }
  .num { margin-right: 0; }
}
@media (max-width: 379px) {
  /* 目次が入りきらない幅では、右端をぼかして続きがあることを見せる */
  .gh__nav { -webkit-mask-image: linear-gradient(to right, #000 calc(100% - 28px), transparent); mask-image: linear-gradient(to right, #000 calc(100% - 28px), transparent); }
  .gh__nav ul { justify-content: flex-start; padding-right: 32px; }
}
@media (max-width: 359px) {
  .hero__spec .hero__state { display: none; }
  .hero__info { padding-bottom: 24px; }
  .hero__copy { padding-bottom: 14px; }
  .hout b { font-size: 11px; }
  .mock__go { font-size: 14px; white-space: normal; padding: 10px 14px; }
  .dates__list li { font-size: 13.5px; }
  .gh__end .tag-status { padding: 0 10px; }
  .hero__spec dd { font-size: 15.5px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: 0s !important; transition-delay: 0s !important; animation: none !important; }
  .js [data-reveal] { opacity: 1; transform: none; }
  .js .hero__h .l2::after { transform: scaleX(1); background: var(--blue); }
  .js .packets__out i, .js .hashes__ties .v i { transform: none; }
}
