/* Abi 公式サイト — 灰・黒・白 + 青(2026-09-13)
   地は灰。その上で黒と白の絵の具が混ざる(bg.js)。文字は墨。
   黒と白は「アクセント」: 黒い帯(一覧・フッター・言葉の帯)、白い面(画面の枠・計算機・相談)、黒い主ボタン・白い副ボタン。
   青は「いま動いているもの」の印だけ: 公開中の点・時計の点・記事の枠の点・単価比較の勝ち側・図を流れる点・ナビの現在地・焦点の輪。
   動きは読み込み時の1回と、操作・スクロールへの応答だけ。[data-motion="off"] と prefers-reduced-motion では完成形を最初から出す。 */

:root {
  --bg: #B3B6BC;
  --bg-2: #F2F3F5;
  --bg-3: #A2A5AB;
  --fg: #0F1013;
  --sub: #3E4148;
  --line: rgba(0, 0, 0, .16);
  --line-2: rgba(0, 0, 0, .34);
  --black: #0B0B0D;
  --white: #F6F6F8;
  --acc: var(--fg);
  --blue: #2F6BFF;
  --focus: var(--blue);
  --gutter: clamp(20px, 5vw, 72px);
  --nav-h: 64px;
  --display: "M PLUS 2", "Hiragino Sans", "Yu Gothic", "Noto Sans JP", sans-serif;
  --jp: "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Yu Gothic UI", "Yu Gothic", "Noto Sans JP", "Segoe UI", system-ui, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
  --e-std: cubic-bezier(.2, .8, .2, 1);
  --e-enter: cubic-bezier(.16, 1, .3, 1);
  --e-exit: cubic-bezier(.4, 0, 1, 1);
  --t-quick: 180ms;
  --t-panel: 320ms;
  --t-scene: 700ms;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { overflow-x: clip; scroll-padding-top: calc(var(--nav-h) + 12px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font: 400 15px/1.85 var(--jp);
  /* palt(和文の詰め)は付けない: 本文全体に付けると最初のレイアウトが2倍以上重くなった(2026-09-13 実測。CPU4倍遅延で約1秒→長いフレームが消えた) */
  -webkit-font-smoothing: antialiased;
}
img, svg, picture { display: block; max-width: 100%; }
[hidden] { display: none !important; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
b { font-weight: 600; }
h1, h2, h3, p, dl, dd, ol, ul, figure, fieldset { margin: 0; padding: 0; }
ol, ul { list-style: none; }
fieldset { border: 0; min-width: 0; }
legend { padding: 0; }
button, input { font: inherit; color: inherit; }
button { background: none; border: 0; padding: 0; cursor: pointer; }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; }
.mono { font-family: var(--mono); font-size: 12px; letter-spacing: .04em; }
.sr { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.anchor { display: block; position: relative; top: calc(var(--nav-h) * -1); height: 0; }
section { scroll-margin-top: var(--nav-h); }

.skip { position: fixed; left: 12px; top: -60px; z-index: 100; background: var(--black); color: var(--white); padding: 10px 16px; border-radius: 4px; font-weight: 600; }
.skip:focus { top: 12px; }

/* ── 背景: 灰の地。JS(WebGL)が動けば黒と白の絵の具、無ければ静かな階調 ── */
.space { position: fixed; inset: 0; z-index: 0; background:
  radial-gradient(70% 60% at 80% 10%, rgba(255, 255, 255, .30), transparent 70%),
  radial-gradient(50% 50% at 10% 90%, rgba(0, 0, 0, .18), transparent 70%),
  var(--bg); }
.space__gl { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; transition: opacity 900ms ease; }
html.has-gl .space__gl { opacity: 1; }
.space::after { content: ""; position: absolute; inset: 0; background: url(grain.png); opacity: .10; mix-blend-mode: multiply; pointer-events: none; }
main, .nav, .foot, .dock { position: relative; z-index: 1; }

/* ── ロゴ: AB モノグラム(symbol を差し替えれば全部変わる。fill は use から継承) ── */
.mark { height: 26px; width: auto; aspect-ratio: 895 / 790; fill: currentColor; }
.nav__name { font: 800 20px/1 var(--display); letter-spacing: -.01em; margin-left: 10px; }

/* ── ボタン: 角を1つ削った黒(主)と白(副)。印と同じ「角の立った形」。
   ホバーで指の入った場所から色が広がって反転し、矢印が入れ替わる。押すと一度沈む(規則3)。PC は指に少し吸い付く ── */
.btn {
  --btn-bg: var(--black); --btn-fg: var(--white); --btn-hover: var(--white); --btn-hover-fg: var(--black); --x: 50%; --y: 50%;
  position: relative; isolation: isolate; overflow: hidden;
  display: inline-flex; align-items: center; gap: 14px;
  height: 48px; padding: 0 20px 0 22px;
  clip-path: polygon(0 0, calc(100% - 12px) 0, 100% 12px, 100% 100%, 0 100%);
  background: var(--btn-bg); color: var(--btn-fg); border: 0;
  font-weight: 600; font-size: 14px; line-height: 1; letter-spacing: .01em; white-space: nowrap;
  translate: var(--mx, 0) var(--my, 0);
  transition: color 260ms var(--e-std), transform 120ms var(--e-std), box-shadow var(--t-quick) var(--e-std);
}
/* 広がる色: 縁を絵の具のようににじませる(SVG の乱流で歪める)。広がり切ると縁は画面の外 */
.btn::before { content: ""; position: absolute; left: var(--x); top: var(--y); width: 0; height: 0; border-radius: 50%; background: var(--btn-hover); translate: -50% -50%; transition: width 520ms var(--e-std), height 520ms var(--e-std); z-index: -1; }
/* フィルタはホバー・焦点のときだけ当てる(静止時に全ボタンへ SVG フィルタの層を持たせない) */
.btn:hover::before, .btn:focus-visible::before { width: 520px; height: 520px; filter: url(#btn-paint); }
.btn:hover, .btn:focus-visible { color: var(--btn-hover-fg); }
.btn__label, .btn__ic { position: relative; }
/* 文字は1字ずつ巻き上がって、同じ字が下から入る(欧文・和文とも短い1行なので字に切ってよい) */
.btn__label .rl { display: inline-block; position: relative; overflow: hidden; height: 1.1em; vertical-align: top; }
.btn__label .rl i { display: block; font-style: normal; line-height: 1.1; transition: transform 420ms var(--e-enter); transition-delay: calc(var(--n) * 24ms); }
.btn:hover .btn__label .rl i, .btn:focus-visible .btn__label .rl i { transform: translateY(-100%); }
.btn__ic { width: 1em; height: 1em; overflow: hidden; }
.btn__ic i { position: absolute; inset: 0; font-style: normal; display: grid; place-items: center; transition: transform 260ms var(--e-std); }
.btn__ic i + i { transform: translateX(-120%); }
.btn:hover .btn__ic i:first-child { transform: translateX(120%); }
.btn:hover .btn__ic i + i { transform: none; }
.btn:active { transform: translateY(1px) scale(.985); }
.btn:focus-visible { outline: none; box-shadow: inset 0 0 0 2px var(--focus); }
.btn--lg { height: 56px; padding: 0 24px 0 26px; font-size: 15px; clip-path: polygon(0 0, calc(100% - 14px) 0, 100% 14px, 100% 100%, 0 100%); }
.btn--sm { height: 44px; padding: 0 14px 0 16px; font-size: 13px; clip-path: polygon(0 0, calc(100% - 10px) 0, 100% 10px, 100% 100%, 0 100%); }
.btn--line { --btn-bg: var(--white); --btn-fg: var(--fg); --btn-hover: var(--black); --btn-hover-fg: var(--white); }
.btn--fill { --btn-bg: var(--black); --btn-fg: var(--white); --btn-hover: var(--white); --btn-hover-fg: var(--black); }
/* 白い面の上では、副ボタンの白が沈むので薄い縁 */
.composer .btn, .nav.is-dark .btn { box-shadow: 0 0 0 1px rgba(0, 0, 0, .12); }
.nav.is-dark .btn { --btn-bg: var(--white); --btn-fg: var(--black); --btn-hover: var(--black); --btn-hover-fg: var(--white); box-shadow: 0 0 0 1px rgba(255, 255, 255, .3); }

/* 下線つきの小さなリンク */
.ulink { display: inline-flex; align-items: center; justify-content: center; gap: 4px; min-width: 44px; padding: 11px 10px; margin: -11px -10px; text-decoration: underline; text-decoration-color: var(--line-2); text-underline-offset: 4px; transition: color var(--t-quick), text-decoration-color var(--t-quick); }
.ulink:hover { text-decoration-color: var(--fg); }
.ulink span[aria-hidden] { font-size: .9em; transition: transform var(--t-quick) var(--e-std); }
.ulink:hover span[aria-hidden] { transform: translate(2px, -1px); }

/* ── 上のナビ ── */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 20; height: var(--nav-h);
  display: flex; align-items: center; gap: 22px; padding: 0 var(--gutter);
  color: var(--fg); border-bottom: 1px solid transparent;
  transition: background-color var(--t-panel) var(--e-std), border-color var(--t-panel) var(--e-std), color var(--t-panel) var(--e-std);
}
.nav.is-solid { background: rgba(179, 182, 188, .78); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-color: var(--line); }
.nav.is-dark { --fg: var(--white); --sub: #B9BCC3; --line: rgba(255, 255, 255, .14); --line-2: rgba(255, 255, 255, .3); color: var(--white); background: rgba(11, 11, 13, .8); border-color: var(--line); }
.nav__logo { display: inline-flex; align-items: center; height: 44px; color: var(--fg); }
.nav__progress { position: absolute; left: 0; bottom: -1px; height: 2px; width: 100%; background: var(--fg); transform-origin: 0 50%; transform: scaleX(var(--p, 0)); pointer-events: none; }
.nav__here { color: var(--sub); }
.nav__here span:first-child { color: var(--fg); }
.nav__links { display: flex; gap: 4px; margin-left: auto; }
.nav__links a { display: inline-flex; align-items: center; height: 44px; padding: 0 12px; border-radius: 4px; font-size: 13px; font-weight: 500; color: var(--sub); transition: color var(--t-quick), background-color var(--t-quick); }
.nav__links a:hover { color: var(--fg); background: rgba(0, 0, 0, .08); }
.nav.is-dark .nav__links a:hover { background: rgba(255, 255, 255, .1); }
.nav__links a[aria-current] { color: var(--fg); }
.nav__links a[aria-current]::after { content: ""; display: inline-block; width: 6px; height: 6px; margin-left: 8px; border-radius: 50%; background: var(--blue); }
.nav__motion { display: inline-flex; align-items: center; gap: 8px; height: 44px; padding: 0 12px; border: 1px solid var(--line-2); border-radius: 999px; font-family: var(--jp); font-size: 12px; letter-spacing: 0; color: var(--sub); transition: color var(--t-quick), border-color var(--t-quick); }
.nav__motion:hover { color: var(--fg); border-color: var(--fg); }
.nav__motion-ic { width: 10px; height: 10px; border-radius: 50%; background: var(--fg); box-shadow: 0 0 0 0 rgba(0, 0, 0, .3); animation: pulse 2.4s ease-out infinite; }
.nav__motion[aria-pressed="true"] .nav__motion-ic { animation: none; background: transparent; border: 2px solid var(--sub); }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(0, 0, 0, .3); } 100% { box-shadow: 0 0 0 8px rgba(0, 0, 0, 0); } }

/* ── 最初の画面: Abi の紹介。左に言葉、右に印 ── */
.hero {
  position: relative; min-height: 100svh; padding: calc(var(--nav-h) + 4vh) var(--gutter) 6vh;
  display: grid; grid-template-columns: minmax(0, 56fr) minmax(0, 44fr); column-gap: 4vw; align-items: center;
}
.hero__grid { position: absolute; inset: 0; pointer-events: none; background:
  linear-gradient(90deg, var(--line) 1px, transparent 1px) 0 0 / 25% 100%,
  linear-gradient(0deg, var(--line) 1px, transparent 1px) 0 0 / 100% 25%; opacity: .5;
  mask-image: linear-gradient(180deg, transparent, #000 15%, #000 85%, transparent); -webkit-mask-image: linear-gradient(180deg, transparent, #000 15%, #000 85%, transparent); }
.hero__mark { --sx: 0; --sy: 0; grid-column: 2; grid-row: 1; justify-self: end; width: min(100%, 60vh); filter: drop-shadow(0 30px 50px rgba(0, 0, 0, .35)); transform: perspective(1400px) rotateY(calc(var(--sx) * -7deg)) rotateX(calc(var(--sy) * 5deg)); }
.hero__mark svg { width: 100%; height: auto; overflow: visible; }
.mark__fill { fill: var(--black); }
.mark__line { fill: none; stroke: var(--white); stroke-width: 5; stroke-linejoin: miter; stroke-dasharray: 1; stroke-dashoffset: 0; }
.hero__copy { grid-column: 1; grid-row: 1; max-width: 680px; position: relative; }
.hero__eyebrow { display: flex; flex-wrap: wrap; gap: 6px 18px; color: var(--sub); margin-bottom: 26px; }
.hero__eyebrow span:first-child { color: var(--fg); }
.hero__clock { font-variant-numeric: tabular-nums; }
.hero__clock::before { content: ""; display: inline-block; width: 6px; height: 6px; margin-right: 8px; border-radius: 50%; background: var(--blue); vertical-align: middle; animation: pulse-blue 2.4s ease-out infinite; }
@keyframes pulse-blue { 0% { box-shadow: 0 0 0 0 rgba(47, 107, 255, .45); } 100% { box-shadow: 0 0 0 8px rgba(47, 107, 255, 0); } }
.hero__h1 { font: 800 clamp(40px, 5.6vw, 84px)/1.08 var(--display); letter-spacing: -.02em; }
.hero__line { display: block; overflow: hidden; padding-bottom: .06em; margin-bottom: -.06em; white-space: nowrap; }
.hero__t { display: inline-block; }
.hero__t .ch { display: inline-block; }
.hero__acc { font-style: normal; color: var(--white); text-shadow: 0 1px 0 rgba(0, 0, 0, .25); }
.hero__lead { margin-top: 26px; font-size: 16px; color: var(--sub); max-width: 34em; }
.hero__lead span { display: inline-block; }
.hero__lead span:first-child { color: var(--fg); }
.hero__facts { display: flex; flex-wrap: wrap; gap: 14px 32px; margin-top: 30px; }
.hero__facts li { display: grid; grid-template-columns: max-content max-content; grid-template-areas: "k k" "n s"; align-items: baseline; gap: 6px 4px; }
.hero__k { grid-area: k; color: var(--sub); font-size: 11px; letter-spacing: 0; }
.hero__facts b { grid-area: n; font: 800 30px/1 var(--display); color: var(--fg); font-variant-numeric: tabular-nums; }
.hero__facts small { grid-area: s; font-size: 13px; color: var(--sub); margin-left: 4px; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }

/* 言葉の帯(黒): 途切れずに流れる。触れると止まる */
.band { background: var(--black); color: var(--white); overflow: hidden; border-block: 1px solid rgba(255, 255, 255, .08); }
.band__track { display: flex; width: max-content; animation: band 42s linear infinite; }
.band:hover .band__track { animation-play-state: paused; }
.band__item { display: inline-flex; align-items: center; gap: 28px; padding: 16px 28px 16px 0; font: 800 clamp(18px, 2.2vw, 28px)/1 var(--display); letter-spacing: -.01em; white-space: nowrap; }
.band__item::after { content: ""; width: 8px; height: 8px; background: var(--white); transform: rotate(45deg); }
.band__item .mono { color: #B9BCC3; font-weight: 400; letter-spacing: .06em; }
@keyframes band { to { transform: translateX(-50%); } }

/* 実物の画面3枚: perspective で奥行き、ポインタで --sx/--sy、スクロールで --sp。枠は白 */
.live { padding: 6vh var(--gutter) 6vh; }
.live__t { display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px 18px; font-size: 15px; color: var(--sub); margin-bottom: 20px; }
.live__t .mono { color: var(--fg); }
.stage { --sx: 0; --sy: 0; --sp: 0; position: relative; height: clamp(520px, 78vh, 820px); perspective: 1500px; perspective-origin: 62% 40%; transform-style: preserve-3d; }
.pane { position: absolute; border-radius: 6px; overflow: hidden; background: var(--white); border: 6px solid var(--white); box-shadow: 0 50px 90px -30px rgba(0, 0, 0, .55), 0 0 0 1px rgba(0, 0, 0, .12); transform-style: preserve-3d; backface-visibility: hidden; }
.pane picture, .pane img { width: 100%; }
.pane__cap { position: absolute; left: 10px; bottom: 10px; padding: 4px 9px; border-radius: 3px; background: var(--black); color: var(--white); font-size: 11px; }
.pane__cap::before { content: ""; display: inline-block; width: 6px; height: 6px; margin-right: 8px; border-radius: 50%; background: var(--blue); vertical-align: middle; }
.pane--a { width: 58%; right: 4%; top: 6%; transform: translate3d(0, calc(var(--sp) * -60px), 0) rotateY(calc(-14deg + var(--sx) * 4deg)) rotateX(calc(var(--sy) * -3deg)); }
.pane--b { width: 46%; left: 4%; top: 0; transform: translate3d(calc(var(--sx) * -12px), calc(var(--sp) * -120px + var(--sy) * -8px), -260px) rotateY(-10deg); filter: brightness(.8); }
.pane--c { width: 15%; left: 22%; bottom: 4%; transform: translate3d(calc(var(--sx) * 16px), calc(var(--sp) * 40px + var(--sy) * 10px), 150px) rotateY(-5deg); border-radius: 14px; }

/* ── 区画の見出し ── */
.sec-head { max-width: 760px; margin-bottom: clamp(40px, 6vw, 80px); }
.sec__eyebrow { color: var(--fg); margin-bottom: 18px; }
.sec__h2 { font: 800 clamp(30px, 4.4vw, 60px)/1.15 var(--display); letter-spacing: -.02em; text-wrap: balance; }
.sec__lede { margin-top: 22px; color: var(--sub); font-size: 15px; max-width: 40em; }

/* ── 注目の制作物 ── */
.works { padding: clamp(72px, 10vw, 140px) var(--gutter) 0; }
.work { position: relative; padding: clamp(56px, 8vw, 120px) 0; border-top: 1px solid var(--line-2); }
/* 作品の番号の透かし(白い袋文字)。スクロールで少し遅れて動く(--gy) */
.work__ghost { position: absolute; right: 0; top: clamp(24px, 4vw, 60px); z-index: 0; font: 800 clamp(140px, 24vw, 360px)/1 var(--display); letter-spacing: -.04em; color: transparent; -webkit-text-stroke: 1.5px rgba(255, 255, 255, .8); pointer-events: none; user-select: none; translate: 0 var(--gy, 0); }
.work--rail .work__ghost { right: var(--gutter); top: clamp(24px, 4vw, 60px); }
.work > *:not(.work__ghost), .rail__pin > * { position: relative; z-index: 1; }
.work__head { max-width: 640px; }
.work__no { color: var(--fg); margin-bottom: 14px; }
.work__no span { color: var(--sub); }
.work__name { font: 800 clamp(28px, 3.4vw, 48px)/1.15 var(--display); letter-spacing: -.02em; }
.work__solve { margin-top: 16px; font-size: 17px; max-width: 32em; }
.spec { display: grid; gap: 14px; margin-top: 28px; }
.spec div { display: grid; gap: 4px; }
.spec dt { font-size: 11px; color: var(--sub); }
.spec dd { font-size: 14px; }
.spec--row { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; margin-top: 44px; padding-top: 28px; border-top: 1px solid var(--line); }
.spec--mini { grid-template-columns: 1fr 1fr; gap: 12px 20px; margin-top: 4px; padding-top: 16px; border-top: 1px solid var(--line); }
.spec--mini dd { font-size: 13px; }
.st { display: inline-flex; align-items: center; gap: 6px; height: 24px; padding: 0 9px; border: 1px solid var(--line-2); border-radius: 999px; font-family: var(--jp); font-size: 11px; letter-spacing: 0; white-space: nowrap; vertical-align: middle; }
.st--live { color: var(--white); background: var(--black); border-color: var(--black); }
.st--live::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--blue); box-shadow: 0 0 0 1px rgba(255, 255, 255, .35); }
.st--beta { color: var(--sub); }
.st--internal { color: var(--sub); border-style: dashed; }
.st--sale { color: var(--fg); background: var(--white); border-color: var(--white); }

/* 01 E就慣: 横に並ぶ3コマ。PC で動きが有効なら区画を留めてスクロールで送る(.is-pinned)、それ以外は横スクロール */
.work--rail { padding: 0; margin-inline: calc(var(--gutter) * -1); overflow-x: clip; }
.rail__win { min-width: 0; }
.rail__pin { padding: clamp(56px, 8vw, 120px) var(--gutter); display: grid; gap: 40px; }
.rail__track { display: flex; gap: 24px; overflow-x: auto; scroll-snap-type: x mandatory; padding-inline: var(--gutter); margin-inline: calc(var(--gutter) * -1); scroll-padding-inline: var(--gutter); scrollbar-width: none; }
.rail__track::-webkit-scrollbar { display: none; }
.rail__step { flex: 0 0 auto; width: clamp(300px, 44vw, 720px); scroll-snap-align: start; }
.rail__step--phone { width: clamp(220px, 30vw, 460px); }
.shot { aspect-ratio: 16 / 10; overflow: hidden; border: 6px solid var(--white); border-radius: 6px; background: var(--white); box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .5); }
.shot--phone { aspect-ratio: 390 / 760; width: 52%; border-radius: 16px; }
.crop { width: 100%; height: 100%; overflow: hidden; }
.crop img { transform-origin: 0 0; }
.crop--a img { transform: translate(-20%, 0) scale(2); }
.crop--b img { transform: translate(-14%, -46%) scale(1.8); }
.rail__t { margin-top: 16px; font-size: 14px; color: var(--sub); max-width: 34em; }
.rail__t .mono { color: var(--fg); margin-right: 10px; }
.rail__t b { display: block; color: var(--fg); font-size: 16px; margin-bottom: 2px; }
.rail.is-pinned .rail__pin { position: sticky; top: var(--nav-h); height: calc(100svh - var(--nav-h)); grid-template-columns: minmax(280px, 30%) minmax(0, 1fr); align-items: center; padding-block: 0; overflow: clip; }
.rail.is-pinned .rail__win { overflow: clip; margin-right: calc(var(--gutter) * -1); padding-right: var(--gutter); }
.rail.is-pinned .rail__track { overflow: visible; scroll-snap-type: none; margin-inline: 0; padding-inline: 0; will-change: transform; }
.rail.is-pinned .rail__step { scroll-snap-align: none; }

/* 02 ドレピ: 記事1本を上から下まで。左の注釈が、見えている部分に合わせて点く */
.scan { display: grid; grid-template-columns: minmax(260px, 34%) minmax(0, 1fr); gap: 48px; margin-top: 44px; align-items: start; }
.scan__notes { display: grid; gap: 2px; position: sticky; top: calc(var(--nav-h) + 24px); }
.scan__note { padding: 16px 18px; border-left: 2px solid var(--line-2); color: var(--sub); font-size: 14px; transition: border-color var(--t-panel) var(--e-std), color var(--t-panel) var(--e-std), background-color var(--t-panel) var(--e-std); }
.scan__note b { display: block; color: var(--sub); margin-bottom: 2px; transition: color var(--t-panel) var(--e-std); }
.scan__note.is-on { border-color: var(--black); color: var(--fg); background: rgba(255, 255, 255, .45); }
.scan__note.is-on b { color: var(--fg); }
.scan__frame { position: relative; aspect-ratio: 5 / 4; overflow: hidden; border: 6px solid var(--white); border-radius: 6px; background: #fff; box-shadow: 0 40px 80px -40px rgba(0, 0, 0, .5); }
.scan__frame picture, .scan__frame img { width: 100%; height: auto; will-change: transform; }
.scan__frame picture { padding-top: 34px; }
.scan__url { position: absolute; left: 0; right: 0; top: 0; padding: 8px 14px; background: var(--black); color: rgba(255, 255, 255, .85); font-size: 11px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.scan__url::before { content: ""; display: inline-block; width: 7px; height: 7px; margin-right: 10px; border-radius: 50%; background: var(--blue); vertical-align: middle; }

/* 03 無料ツール: この場で動く見本(白い面) */
.tool { display: grid; grid-template-columns: minmax(0, 1fr) minmax(200px, 26%); gap: 48px; margin-top: 44px; align-items: end; }
.calc { background: var(--bg-2); border-radius: 8px; padding: clamp(20px, 3vw, 36px); box-shadow: 0 30px 60px -40px rgba(0, 0, 0, .5); }
.calc__h { font-size: 15px; font-weight: 600; margin-bottom: 22px; }
.calc__h .mono { color: var(--sub); margin-right: 12px; }
.calc__row { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.calc__item { display: grid; gap: 14px; padding: 18px; border: 1px solid var(--line); border-radius: 6px; transition: border-color var(--t-panel) var(--e-std), background-color var(--t-panel) var(--e-std); }
.calc__item legend { font: 800 20px/1 var(--display); color: var(--sub); float: left; margin-bottom: 4px; }
.calc__item label { display: grid; gap: 4px; font-size: 12px; color: var(--sub); }
.calc__item input { width: 100%; height: 44px; background: transparent; border: 0; border-bottom: 1px solid var(--line-2); border-radius: 0; font: 500 22px/1 var(--mono); color: var(--fg); padding: 0; transition: border-color var(--t-quick); -moz-appearance: textfield; }
.calc__item input::-webkit-outer-spin-button, .calc__item input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.calc__item input:focus { outline: none; border-color: var(--black); }
.calc__item input:focus-visible { outline: none; }
.calc.is-a .calc__item:first-child, .calc.is-b .calc__item:last-child { border-color: var(--black); background: var(--black); color: var(--white); }
.calc.is-a .calc__item:first-child legend, .calc.is-b .calc__item:last-child legend, .calc.is-a .calc__item:first-child label, .calc.is-b .calc__item:last-child label { color: #C9CBD1; }
.calc.is-a .calc__item:first-child input, .calc.is-b .calc__item:last-child input { color: var(--white); border-color: rgba(255, 255, 255, .35); }
.calc__out { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 26px; }
.calc__r { display: flex; align-items: baseline; gap: 10px; }
.calc__r .mono { color: var(--sub); }
.calc__r b { font: 800 clamp(30px, 3.2vw, 44px)/1 var(--display); color: var(--sub); font-variant-numeric: tabular-nums; transition: color var(--t-panel) var(--e-std); }
.calc__r small { color: var(--sub); font-size: 12px; }
.calc.is-a [data-out-a], .calc.is-b [data-out-b] { color: var(--blue); }
.calc__v { grid-column: 1 / -1; font-size: 15px; font-weight: 600; padding-top: 14px; border-top: 1px solid var(--line); }
.calc__note { margin-top: 18px; font-size: 12px; color: var(--sub); }
.tool__shot { display: grid; gap: 10px; justify-items: center; color: var(--sub); }
.phone { width: 100%; max-width: 260px; border-radius: 22px; overflow: hidden; border: 6px solid var(--white); background: var(--white); box-shadow: 0 40px 80px -40px rgba(0, 0, 0, .6); }

/* 04 Office / Orbit: 仕組みの図(白い面の上) */
.diagram { margin-top: 44px; border-radius: 8px; padding: clamp(16px, 2.6vw, 32px); background: var(--bg-2); box-shadow: 0 30px 60px -40px rgba(0, 0, 0, .5); }
.diagram__note { display: flex; flex-wrap: wrap; gap: 6px 20px; color: var(--sub); margin-bottom: 16px; font-size: 12px; }
.diagram__note span::before { content: "■"; color: var(--black); margin-right: 8px; font-size: 8px; vertical-align: middle; }
.diagram__scroll { overflow-x: auto; }
.dg { width: 100%; min-width: 760px; max-width: 1100px; height: auto; font-family: var(--jp); }
.dg text { font-size: 12px; fill: var(--fg); }
.dg .dg__s { font-size: 11px; fill: var(--sub); }
.dg .dg__h { font: 800 15px var(--display); fill: var(--fg); }
.dg .dg__row { font-size: 11px; fill: var(--fg); }
.dg rect { fill: rgba(0, 0, 0, .03); stroke: var(--line-2); stroke-width: 1; }
.dg .dg__rows rect { fill: rgba(0, 0, 0, .07); stroke: none; }
.dg .dg__rec rect { stroke: var(--black); }
.dg .dg__you rect { fill: var(--black); stroke: var(--black); }
.dg .dg__you text { fill: var(--white); }
.dg .dg__you .dg__s { fill: #C9CBD1; }
.dg__flow { color: var(--black); }
.dg__flow path { fill: none; stroke: currentColor; stroke-width: 1.5; stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 1000ms var(--e-std) 200ms; }
.diagram.is-seen .dg__flow path, html:not(.js) .dg__flow path, [data-motion="off"] .dg__flow path { stroke-dashoffset: 0; }
.dg__dots circle { fill: var(--blue); }
.dg__dots { opacity: 0; transition: opacity 500ms ease 1200ms; }
.diagram.is-seen .dg__dots { opacity: 1; }
[data-motion="off"] .dg__dots { display: none; }

/* 05・06 図版2枚(白い枠) */
.plates { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 24px; padding: clamp(56px, 8vw, 120px) 0 clamp(72px, 10vw, 140px); border-top: 1px solid var(--line-2); }
.plate { display: grid; gap: 16px; align-content: start; }
.plate__img { display: block; overflow: hidden; border: 6px solid var(--white); border-radius: 6px; background: var(--white); aspect-ratio: 4 / 3; box-shadow: 0 40px 80px -40px rgba(0, 0, 0, .5); transition: transform 500ms var(--e-std); }
.plate:hover .plate__img { transform: translateY(-6px); }
.plate__img:focus-visible { outline-offset: 6px; }
.plate__link { position: relative; z-index: 1; display: inline-flex; align-items: baseline; gap: 6px; padding: 8px 0; margin: -8px 0; text-decoration: underline; text-decoration-color: transparent; text-underline-offset: 6px; transition: text-decoration-color var(--t-quick); }
.plate__link:hover, .plate:hover .plate__link { text-decoration-color: var(--fg); }
.plate__link span[aria-hidden] { font-size: .7em; transition: transform var(--t-quick) var(--e-std); }
.plate:hover .plate__link span[aria-hidden] { transform: translate(3px, -2px); }
.plate--wide .plate__img { aspect-ratio: 16 / 9; }
.plate__img picture { height: 100%; }
.plate__img img { width: 100%; height: 100%; object-fit: cover; object-position: top; transition: transform 900ms var(--e-std); }
.plate:hover .plate__img img { transform: scale(1.03); }
.plate__t { display: grid; gap: 4px; }
.plate__t .mono { color: var(--sub); }
.plate__t b { font: 800 24px/1.2 var(--display); }
.plate__t > span:last-child { color: var(--sub); font-size: 14px; font-family: var(--jp); font-weight: 400; }

/* ── 一覧 18件: 黒い帯(アクセント) ── */
.sheet--black { --bg: var(--black); --bg-2: #17181B; --fg: var(--white); --sub: #B4B7BE; --line: rgba(255, 255, 255, .12); --line-2: rgba(255, 255, 255, .3); --acc: var(--white); background: var(--bg); color: var(--fg); color-scheme: dark; }
.index { padding: clamp(72px, 10vw, 140px) var(--gutter); }
.sec-head--index { margin-bottom: 36px; }
.filter { position: relative; display: flex; flex-wrap: wrap; gap: 4px; padding: 4px; border: 1px solid var(--line-2); border-radius: 999px; width: fit-content; max-width: 100%; }
.filter__thumb { position: absolute; top: 4px; left: 0; height: calc(100% - 8px); width: 0; border-radius: 999px; background: var(--white); transition: transform var(--t-panel) var(--e-std), width var(--t-panel) var(--e-std); opacity: 0; }
.filter.is-ready .filter__thumb { opacity: 1; }
.filter__btn { position: relative; z-index: 1; height: 44px; padding: 0 16px; border-radius: 999px; font-family: var(--mono); font-size: 12px; letter-spacing: .04em; color: var(--sub); transition: color var(--t-panel) var(--e-std); }
.filter__btn span { margin-left: 6px; opacity: .7; }
.filter__btn:hover { color: var(--fg); }
.filter__btn[aria-pressed="true"] { color: var(--black); }
.filter__btn:focus-visible { outline-offset: -2px; }
.filter__count { margin: 18px 0 10px; color: var(--sub); }
.idx { border-top: 1px solid var(--line); }
.idx__row { display: grid; grid-template-columns: 3ch minmax(0, 1.1fr) minmax(0, 2fr) auto auto; align-items: center; gap: 20px; padding: 16px 8px; margin: 0 -8px; border-bottom: 1px solid var(--line); border-radius: 4px; transition: background-color var(--t-quick) var(--e-std); }
.idx__row:hover { background: rgba(255, 255, 255, .06); }
.idx__no { color: var(--sub); }
.idx__name { font: 800 18px/1.3 var(--display); }
a.idx__name { position: relative; z-index: 1; display: inline-block; padding-block: 12px; margin-block: -12px; text-decoration: underline; text-decoration-color: transparent; text-underline-offset: 5px; transition: text-decoration-color var(--t-quick); }
a.idx__name:hover { text-decoration-color: var(--fg); }
.idx__solve { font-size: 14px; color: var(--sub); }
.idx__cat { color: var(--sub); display: grid; gap: 2px; }
.idx__cat i { font-style: normal; font-family: var(--jp); font-size: 11px; letter-spacing: 0; color: var(--sub); opacity: .85; }
.idx__legend { margin-top: 14px; font-size: 13px; color: var(--sub); max-width: 52em; }
.idx__legend b { color: var(--fg); font-weight: 600; }
.sheet--black .st--live { background: var(--white); color: var(--black); border-color: var(--white); }
.sheet--black .st--live::before { background: var(--blue); box-shadow: none; }
.sheet--black .st--sale { background: transparent; color: var(--fg); border-color: var(--line-2); }
.idx__peek { position: fixed; left: 0; top: 0; z-index: 30; width: 220px; height: auto; border: 4px solid var(--white); border-radius: 6px; box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .6); pointer-events: none; }

/* ── できること ── */
.services { padding: clamp(72px, 10vw, 140px) var(--gutter); border-top: 1px solid var(--line-2); }
.svc { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px; border-top: 1px solid var(--line-2); }
.svc__item { display: grid; align-content: start; gap: 14px; padding: 28px 18px 26px; margin: 0 -18px; border-radius: 6px; position: relative; transition: background-color var(--t-panel) var(--e-std), color var(--t-panel) var(--e-std); }
.svc__item:hover { --fg: var(--white); --sub: #C9CBD1; background: var(--black); color: var(--white); }
.svc__no { font: 800 clamp(48px, 5.4vw, 80px)/1 var(--display); color: transparent; -webkit-text-stroke: 1px var(--fg); letter-spacing: -.03em; transition: color var(--t-panel) var(--e-std); }
.svc__item:hover .svc__no { color: var(--white); -webkit-text-stroke: 1px var(--white); }
.svc__item:hover .ulink { text-decoration-color: rgba(255, 255, 255, .5); }
.svc__name { font: 800 22px/1.3 var(--display); margin-top: 6px; }
.svc__txt { font-size: 14px; color: var(--sub); }
.svc__eg { display: flex; flex-wrap: wrap; gap: 6px 16px; font-size: 13px; margin-top: 4px; }
.svc__eg .mono { color: var(--sub); }
.svc__also { margin-top: 40px; font-size: 14px; color: var(--sub); max-width: 48em; }

/* ── 制作の流れ: 4段。横に引かれる線の上に番号が立ち、見えたときに順に出る ── */
.flow { padding: clamp(72px, 10vw, 140px) var(--gutter); border-top: 1px solid var(--line-2); }
.steps { position: relative; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px; padding-top: 28px; }
.steps::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 2px; background: var(--black); transform-origin: 0 50%; transform: scaleX(var(--k, 1)); }
.step { display: grid; align-content: start; gap: 12px; }
.step__no { color: var(--fg); position: relative; }
.step__no::before { content: ""; position: absolute; left: 0; top: -36px; width: 10px; height: 10px; background: var(--black); transform: rotate(45deg); }
.step__name { font: 800 22px/1.3 var(--display); }
.step__txt { font-size: 14px; color: var(--sub); }
.step__who { color: var(--sub); font-size: 11px; letter-spacing: 0; }
.flow__note { margin-top: 40px; font-size: 14px; color: var(--sub); }

/* ── 相談(白い面に黒いボタン) ── */
.contact { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(40px, 6vw, 96px); padding: clamp(72px, 10vw, 140px) var(--gutter); border-top: 1px solid var(--line-2); }
.contact__h2 { font: 800 clamp(40px, 6vw, 88px)/1.05 var(--display); letter-spacing: -.02em; }
.contact__lede { margin-top: 24px; font-size: 16px; }
.contact__center { margin-top: 18px; font-size: 14px; color: var(--sub); }
.contact__reply { margin-top: 10px; font-size: 14px; color: var(--sub); }
.contact__other { display: flex; flex-wrap: wrap; gap: 8px 20px; margin-top: 28px; font-size: 14px; }
.composer { display: grid; gap: 20px; padding: clamp(22px, 3vw, 36px); border-radius: 8px; background: var(--bg-2); box-shadow: 0 40px 80px -40px rgba(0, 0, 0, .5); }
.composer__step { display: flex; align-items: baseline; gap: 12px; font-weight: 600; font-size: 15px; }
.composer__step .mono { color: var(--sub); }
.composer__hint { font-weight: 400; font-size: 12px; color: var(--sub); }
.topics { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.topic { position: relative; display: block; }
.topic input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; z-index: 1; cursor: pointer; }
.topic__face { display: grid; gap: 2px; min-height: 64px; padding: 12px 14px 12px 38px; border: 1px solid var(--line); border-radius: 6px; font-size: 12px; color: var(--sub); transition: border-color var(--t-quick), background-color var(--t-quick), color var(--t-quick); }
.topic__face b { font-size: 14px; color: var(--fg); transition: color var(--t-quick); }
.topic__face::before { content: ""; position: absolute; left: 14px; top: 16px; width: 14px; height: 14px; border-radius: 50%; border: 1px solid var(--line-2); transition: border-color var(--t-quick), box-shadow var(--t-quick); }
.topic input:hover + .topic__face { border-color: var(--line-2); background: rgba(0, 0, 0, .03); }
.topic input:checked + .topic__face { border-color: var(--black); background: var(--black); color: #C9CBD1; }
.topic input:checked + .topic__face b { color: var(--white); }
.topic input:checked + .topic__face::before { border-color: var(--white); box-shadow: inset 0 0 0 4px var(--white); }
.topic input:focus-visible + .topic__face { outline: 2px solid var(--focus); outline-offset: 2px; }
.composer__diag { font-size: 13px; color: var(--sub); padding: 12px 14px; border-left: 2px solid var(--black); background: rgba(0, 0, 0, .05); }
.fields { display: grid; gap: 6px; counter-reset: f; }
.fields li { position: relative; padding: 6px 0 6px 34px; font-size: 13px; color: var(--sub); border-bottom: 1px solid var(--line); }
.fields li::before { counter-increment: f; content: counter(f, decimal-leading-zero); position: absolute; left: 0; top: 9px; font-family: var(--mono); font-size: 11px; color: var(--fg); }
.fields b { color: var(--fg); margin-right: 8px; }
.composer__send { display: grid; gap: 12px; justify-items: start; }
.composer__to { color: var(--sub); }
.composer__to span { color: var(--fg); }

/* ── Abiについて・フッター(黒) ── */
.about { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(40px, 6vw, 96px); padding: clamp(72px, 10vw, 140px) var(--gutter); border-top: 1px solid var(--line-2); }
.about__txt { max-width: 560px; }
.about__h2 { font: 800 clamp(26px, 3vw, 40px)/1.2 var(--display); letter-spacing: -.02em; margin-bottom: 20px; }
.about__txt p { font-size: 15px; color: var(--sub); }
.about__txt p + p { margin-top: 12px; }
.corp { display: grid; align-content: start; border-top: 1px solid var(--line-2); }
.corp div { display: grid; grid-template-columns: minmax(120px, 30%) minmax(0, 1fr); gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.corp dt { font-size: 12px; color: var(--sub); padding-top: 2px; }
.corp dd { font-size: 14px; overflow-wrap: anywhere; }
.about__links { display: flex; flex-wrap: wrap; gap: 8px 20px; margin-top: 20px; font-size: 14px; }
.foot { --fg: var(--white); --sub: #B4B7BE; --line: rgba(255, 255, 255, .12); background: var(--black); color: var(--white); padding: clamp(48px, 6vw, 96px) var(--gutter) calc(32px + env(safe-area-inset-bottom)); }
.foot__row { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 24px; }
.foot__big { font: 800 clamp(96px, 20vw, 300px)/.9 var(--display); letter-spacing: -.04em; color: var(--white); }
.foot__mark { height: clamp(120px, 22vw, 320px); width: auto; aspect-ratio: 895 / 790; fill: var(--white); overflow: visible; flex: none; }
.foot__links { display: flex; flex-wrap: wrap; gap: 4px 6px; margin-top: 32px; padding-top: 24px; border-top: 1px solid var(--line); }
.foot__links a { display: inline-flex; align-items: center; justify-content: center; min-width: 44px; height: 44px; padding: 0 10px; margin: 0; font-size: 13px; color: var(--sub); border-radius: 4px; transition: color var(--t-quick), background-color var(--t-quick); }
.foot__links a:hover { color: var(--white); background: rgba(255, 255, 255, .08); }
.foot__meta { margin-top: 20px; color: var(--sub); }

/* ── 指の輪(PC・マウスだけ)。地の色を反転するので、灰・黒・白のどの上でも見える。押せる物の上で広がる ── */
.cursor { position: fixed; left: 0; top: 0; z-index: 40; width: 26px; height: 26px; border: 1.5px solid #fff; border-radius: 50%; pointer-events: none; translate: -50% -50%; mix-blend-mode: difference; opacity: 0; transition: width 220ms var(--e-std), height 220ms var(--e-std), opacity 300ms ease, background-color 220ms var(--e-std); }
.cursor.is-on { opacity: 1; }
.cursor.is-link { width: 48px; height: 48px; background: rgba(255, 255, 255, .22); }
.cursor.is-down { width: 18px; height: 18px; }
@media (hover: none), (max-width: 899px) { .cursor { display: none; } }
[data-motion="off"] .cursor { display: none; }

/* ── スマホの下の帯 ── */
.dock { position: fixed; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom)); z-index: 19; display: none; grid-template-columns: 1fr 1.4fr; gap: 6px; padding: 6px; border-radius: 10px; background: rgba(246, 246, 248, .9); border: 1px solid var(--line-2); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); box-shadow: 0 20px 40px -20px rgba(0, 0, 0, .5); transform: translateY(calc(100% + 24px)); transition: transform var(--t-panel) var(--e-std); }
.dock.is-on { transform: none; }
.dock__link { display: flex; align-items: center; justify-content: center; height: 48px; border-radius: 6px; font-weight: 600; font-size: 14px; color: var(--fg); }
.dock__link--main { background: var(--black); color: var(--white); border-radius: 0; clip-path: polygon(0 0, calc(100% - 10px) 0, 100% 10px, 100% 100%, 0 100%); }
.dock__link:active { transform: scale(.98); }

/* ── 動き: 読み込み時の1回(1.3秒で完成)と、見えたときの出方 ── */
html.js.is-intro[data-motion="on"] .hero__t .ch { animation: rise 640ms var(--e-enter) both; animation-delay: calc(var(--i) * 90ms + var(--k) * 28ms + 60ms); }
html.js.is-intro[data-motion="on"] :is(.hero__eyebrow, .hero__cta, .hero__facts) { animation: fade 420ms var(--e-std) both 300ms; }
html.js.is-intro[data-motion="on"] .hero__lead span { animation: focus 640ms var(--e-std) both; animation-delay: calc(420ms + var(--j) * 60ms); }
html.js.is-intro[data-motion="on"] .mark__line { animation: draw 1100ms var(--e-std) both; }
html.js.is-intro[data-motion="on"] .mark__fill { animation: stamp 700ms var(--e-enter) both 760ms; transform-origin: 50% 60%; transform-box: fill-box; }
html.js.is-intro[data-motion="on"] .band { animation: fade 500ms var(--e-std) both 900ms; }
@keyframes rise { from { transform: translateY(108%) rotate(6deg); opacity: 0; } }
@keyframes fade { from { opacity: 0; transform: translateY(8px); } }
@keyframes focus { from { opacity: 0; filter: blur(10px); } }
@keyframes draw { from { stroke-dashoffset: 1; } }
@keyframes stamp { from { opacity: 0; transform: scale(1.18); } 60% { opacity: 1; transform: scale(.985); } }
/* 画面3枚は見えたときに着地する。動いている間は彩度を抜き、止まった瞬間に色が戻る(ABI-SIG-001 規則1) */
html.js[data-motion="on"] .live .pane > picture, html.js[data-motion="on"] .live .pane__cap { transition: opacity 900ms var(--e-enter), transform 900ms var(--e-enter), filter 300ms ease 700ms; }
html.js[data-motion="on"] .live:not(.is-seen) .pane > picture, html.js[data-motion="on"] .live:not(.is-seen) .pane__cap { opacity: 0; transform: translateY(40px); filter: saturate(.15); }
html.js[data-motion="on"] .live .pane--b > * { transition-delay: 120ms; }
html.js[data-motion="on"] .live .pane--c > * { transition-delay: 240ms; }
html.js[data-motion="on"] :is(.work__head, .plates, .diagram, .tool, .spec--row, .sec-head, .svc__item, .contact__intro, .composer, .scan__notes, .scan__frame, .rail__track, .about__txt, .live__t, .step, .corp, .flow__note) { opacity: 0; transform: translateY(16px); transition: opacity 600ms var(--e-enter), transform 760ms var(--e-enter); }
html.js[data-motion="on"] :is(.work__head, .plates, .diagram, .tool, .spec--row, .sec-head, .svc__item, .contact__intro, .composer, .scan__notes, .scan__frame, .rail__track, .about__txt, .live__t, .step, .corp, .flow__note).is-seen { opacity: 1; transform: none; }
/* 流れ: 線が左から引かれ(0→1)、段が順に立つ */
html.js[data-motion="on"] .steps::before { --k: 0; transition: transform 1100ms var(--e-std); }
html.js[data-motion="on"] .steps.is-seen::before { --k: 1; }
html.js[data-motion="on"] .step:nth-child(2) { transition-delay: 160ms; }
html.js[data-motion="on"] .step:nth-child(3) { transition-delay: 320ms; }
html.js[data-motion="on"] .step:nth-child(4) { transition-delay: 480ms; }
html.js[data-motion="on"] .svc__item:nth-child(2) { transition-delay: 80ms; }
html.js[data-motion="on"] .svc__item:nth-child(3) { transition-delay: 160ms; }
html.js[data-motion="on"] .svc__item:nth-child(4) { transition-delay: 240ms; }

/* 動きを止める: すべて完成形。ホバーの色替えだけ残す */
[data-motion="off"] *, [data-motion="off"] *::before, [data-motion="off"] *::after { animation: none !important; transition-duration: 1ms !important; }
[data-motion="off"] .stage { --sx: 0; --sy: 0; --sp: 0; }
[data-motion="off"] .btn { --mx: 0; --my: 0; }
@media (prefers-reduced-motion: reduce) {
  html:not([data-motion="on"]) *, html:not([data-motion="on"]) *::before, html:not([data-motion="on"]) *::after { animation: none !important; transition-duration: 1ms !important; }
}

/* ── 幅 ── */
@media (max-width: 1100px) {
  .svc { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px 32px; }
  .contact { grid-template-columns: 1fr; }
  .about { grid-template-columns: 1fr; }
  .spec--row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px 32px; }
  .hero { grid-template-columns: minmax(0, 48fr) minmax(0, 52fr); }
}
@media (max-width: 899px) {
  :root { --nav-h: 56px; }
  .hero__clock { display: none; }
  .work__ghost { font-size: 96px; top: 12px; -webkit-text-stroke-width: 1px; }
  .svc__item { padding: 24px 0; margin: 0; }
  .svc__item:hover { background: transparent; color: inherit; --fg: var(--fg); --sub: var(--sub); }
  .nav { gap: 10px; }
  .nav__here, .nav__links, .nav__motion-txt { display: none; }
  .nav__motion { width: 44px; height: 44px; padding: 0; justify-content: center; margin-left: auto; }
  .nav .btn--sm { height: 44px; }
  .hero { display: block; min-height: 0; padding: calc(var(--nav-h) + 24px) var(--gutter) 40px; }
  .hero__mark { width: 30vw; max-width: 140px; margin: 0 0 26px; filter: drop-shadow(0 16px 30px rgba(0, 0, 0, .35)); }
  .hero__grid { background-size: 50% 100%, 100% 20%; }
  .hero__h1 { font-size: clamp(36px, 10.6vw, 52px); }
  .hero__eyebrow { margin-bottom: 18px; }
  .hero__eyebrow span:last-child { display: none; }
  .hero__lead { font-size: 15px; margin-top: 18px; }
  .hero__facts { gap: 12px 24px; }
  .hero__facts b { font-size: 24px; }
  .hero__cta { margin-top: 24px; }
  .hero__cta .btn { flex: 1 1 auto; justify-content: space-between; }
  .band__item { padding: 12px 20px 12px 0; font-size: 16px; gap: 20px; }
  .live { padding: 28px var(--gutter) 24px; }
  .live__t { font-size: 14px; }
  .stage { min-height: 0; height: auto; perspective: none; transform-style: flat; margin-top: 8px; padding-bottom: 18%; }
  .pane { position: relative; will-change: auto; transform: none !important; border-width: 4px; }
  .pane--a { width: 88%; right: auto; top: auto; margin-left: auto; }
  .pane--b { display: none; }
  .pane--c { position: absolute; width: 32%; left: 0; bottom: 0; filter: none; box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .6); }
  .pane__cap { display: none; }
  .pane--a .pane__cap { display: block; }
  .works { padding-top: 56px; }
  .work__solve { font-size: 16px; }
  .spec--row { grid-template-columns: 1fr; gap: 16px; }
  .rail__pin { gap: 28px; }
  .rail__step { width: 80vw; }
  .rail__step--phone { width: 56vw; }
  .shot { border-width: 4px; }
  .shot--phone { width: 62%; }
  .scan { grid-template-columns: 1fr; gap: 20px; }
  .scan__frame { order: -1; aspect-ratio: 4 / 5; border-width: 4px; }
  .scan__frame picture { padding-top: 62px; }
  .scan__url { white-space: normal; }
  .scan__notes { position: static; grid-template-columns: 1fr; }
  .scan__note { padding: 12px 14px; font-size: 13px; }
  .tool { grid-template-columns: 1fr; gap: 28px; }
  .calc__row { grid-template-columns: 1fr; gap: 14px; }
  .calc__out { grid-template-columns: 1fr; gap: 12px; }
  .tool__shot .phone { max-width: 200px; border-width: 4px; }
  .diagram { padding: 14px; }
  .plates { grid-template-columns: 1fr; gap: 40px; }
  .spec--mini { grid-template-columns: 1fr; gap: 10px; }
  .plate__img { aspect-ratio: 540 / 582; border-width: 4px; }
  .plate--wide .plate__img { aspect-ratio: 540 / 582; }
  .idx__row { grid-template-columns: 3ch minmax(0, 1fr) auto; grid-template-areas: "no name st" "no solve solve"; gap: 6px 12px; padding: 14px 6px; margin: 0 -6px; }
  .idx__no { grid-area: no; align-self: start; padding-top: 4px; }
  .idx__name { grid-area: name; font-size: 17px; }
  .idx__solve { grid-area: solve; font-size: 13px; }
  .idx__cat { display: none; }
  .idx__row .st { grid-area: st; }
  .idx__peek { display: none; }
  .filter { border-radius: 12px; }
  .filter__thumb { border-radius: 8px; }
  .filter__btn { height: 44px; padding: 0 12px; border-radius: 8px; font-size: 11px; }
  .svc { grid-template-columns: 1fr; gap: 0; }
  .svc__item { grid-template-columns: 64px 1fr; grid-template-areas: "no name" "no txt" "no eg"; gap: 8px 14px; padding: 24px 0; border-bottom: 1px solid var(--line); }
  .svc__no { grid-area: no; font-size: 40px; }
  .svc__name { grid-area: name; margin: 0; font-size: 19px; }
  .svc__txt { grid-area: txt; }
  .svc__eg { grid-area: eg; }
  .steps { grid-template-columns: 1fr; gap: 0; padding-top: 0; padding-left: 28px; }
  .steps::before { left: 4px; right: auto; top: 0; bottom: 0; width: 2px; height: auto; transform-origin: 50% 0; }
  .step { padding: 20px 0; border-bottom: 1px solid var(--line); }
  .step__no::before { left: -33px; top: 4px; }
  .flow__note { margin-top: 24px; }
  .corp div { grid-template-columns: 96px minmax(0, 1fr); gap: 12px; }
  .foot__links { gap: 0 2px; }
  .contact { padding-bottom: 96px; }
  .topics { grid-template-columns: 1fr; }
  .topic__face { min-height: 56px; }
  .composer__send { justify-items: stretch; }
  .composer__send .btn { justify-content: space-between; }
  .composer__to { word-break: break-all; }
  .foot { padding-bottom: calc(96px + env(safe-area-inset-bottom)); }
  .foot__row { grid-template-columns: 1fr; }
  .foot__big { font-size: clamp(80px, 26vw, 120px); }
  .foot__mark { height: 96px; }
  .dock { display: grid; }
}
@media (max-width: 420px) {
  .hero__cta { flex-direction: column; }
  .btn--lg { height: 52px; }
}
@media (min-width: 900px) and (max-height: 700px) {
  .hero { min-height: 0; padding-bottom: 40px; }
  .hero__mark { width: min(100%, 52vh); }
}
@media print {
  .space, .nav, .dock, .idx__peek, .band { display: none !important; }
  body { background: #fff; color: #000; }
}
