:root {
  --ink: #15171A;
  --paper: #FFFFFF;
  /* 色は brand/色の実測_20261123.md の値。青の濃淡は主色を白に混ぜるか、明度を落としたものだけ。 */
  --blue: #0C52E5;
  --blue-deep: #0A43BC;
  --blue-light: #C2D4F8;
  --blue-pale: #F0F5FD;
  --cyan: #37F0FE;
  --accent: var(--blue);
  --stock: #F8FAFE;
  --canvas: #F0F5FD;
  --quiet: #5F6164;
  --line: rgb(12 82 229 / 8%);
  --mesh: linear-gradient(to right, var(--line) 1px, transparent 1px), linear-gradient(to bottom, var(--line) 1px, transparent 1px);
  --sans: "Noto Sans JP", "Noto Sans CJK JP", "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif;
  --round: "M PLUS Rounded 1c", "Hiragino Maru Gothic ProN", "Noto Sans JP", "Noto Sans CJK JP", sans-serif;
  --mono: "JetBrains Mono", ui-monospace, monospace;
  --arrive: cubic-bezier(.2, 1, .3, 1);
  --lift: cubic-bezier(.2, .9, .2, 1);
  --spring: cubic-bezier(.2, 1.6, .4, 1);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background-color: var(--canvas); background-image: var(--mesh); background-size: 40px 40px; font: 500 15px/1.85 var(--sans); }
h1, h2, h3, p, ul, ol, figure { margin: 0; }
h1, h2, h3 { font-family: var(--round); }
ul, ol { list-style: none; padding: 0; }
button, input { font: inherit; color: inherit; }
button { cursor: pointer; }
a { color: inherit; text-decoration: none; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; }
:is(.mast, .night-grid, #foot) :focus-visible { outline-color: white; }
/* 墨地・青地の上では、短い線や印だけ水色にする。字は白のまま。 */
.night-grid, #foot { --accent: var(--cyan); }
[hidden] { display: none !important; }
em { font-style: normal; color: var(--blue); }
.drawing-library { position: absolute; width: 0; height: 0; overflow: hidden; }
.reader-only { position: absolute; inset: auto; width: 1px; height: 1px; clip-path: inset(50%); overflow: hidden; white-space: nowrap; }
.reading-column { width: 100%; max-width: 480px; margin: auto; background: white; overflow: clip; }
.panel { display: none; }
.desk-art { display: block; width: 100%; height: auto; overflow: visible; }
/* ロゴは青地の正方形。--logo で一辺を決め、角は CSS で丸めるだけにする（画像は切らない）。 */
.brand-logo { --logo: 48px; display: block; flex: none; width: var(--logo); height: var(--logo); aspect-ratio: 1; border-radius: 22%; }
.brand-name, .service-mark { font: 800 1em/1.3 var(--round); letter-spacing: -.02em; }
.nameplate, .mast-inner { background: var(--blue); color: white; border-radius: 20px; }
.nameplate { max-width: 100%; padding: 6px clamp(14px, 7cqw, 24px) 16px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; }
.nameplate > div { display: grid; justify-items: center; text-align: center; }
.nameplate .brand-logo { --logo: clamp(84px, 44cqw, 132px); }
.nameplate small { font: 700 8px/1.6 var(--mono); letter-spacing: .04em; }
.nameplate .brand-name { font-size: clamp(16px, 8cqw, 26px); white-space: nowrap; }
.tool-row { display: flex; align-items: end; justify-content: center; }
.tool-row > div { text-align: center; animation: tool-bob 2.6s ease-in-out infinite; }
.tool-row > div:nth-child(even) { animation-delay: -1.3s; }
.tool-row b { display: block; font: 800 12px/1.7 var(--round); letter-spacing: .08em; }
#minute { transform-origin: 47px 48px; animation: hand-turn 2.4s linear infinite; }
/* 歯車は重ねた3枚を、それぞれ歯の中心（50,45 付近）で回す。 */
.cog { transform-origin: 50px 45px; animation: hand-turn 9s linear infinite; }
[data-count] { font-variant-numeric: tabular-nums; }

.inquiry { text-align: center; }
.inquiry p { margin-top: 9px; color: var(--quiet); font-size: 11px; font-weight: 700; }
.inquiry .inquiry-note { color: var(--ink); font-size: 12.5px; line-height: 1.6; text-wrap: balance; }
.jump-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 6px; margin: 14px 4px 0; font-size: 13px; font-weight: 900; }
.jump-row b { flex-basis: 100%; text-align: center; color: var(--quiet); font-size: 11px; letter-spacing: .12em; }
.jump-row a { display: grid; place-items: center; min-height: 44px; border: 2px solid var(--ink); border-radius: 14px; padding: 0 13px; background: white; white-space: nowrap; transition: color .18s, background .18s; }
.jump-row a:first-of-type { border-color: var(--blue); color: var(--blue); }
.jump-row a:hover { color: white; background: var(--ink); }
.text-link { color: var(--blue); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.send-note { width: fit-content; max-width: 100%; margin: 14px auto 0; border: 2px solid var(--ink); border-left: 6px solid var(--blue); border-radius: 12px; padding: 8px 14px; color: var(--ink); background: white; font-size: 15px; font-weight: 900; line-height: 1.6; }
.request-pill, .confirm-input {
  display: grid; align-content: center; justify-items: center; gap: 1px;
  min-height: 66px; border: 3px solid white; border-radius: 20px; padding: 9px 35px;
  background: var(--blue); color: white; box-shadow: 0 0 0 2px var(--blue-deep), 0 8px 18px rgb(12 82 229 / 26%);
  font-family: var(--round); font-weight: 800; position: relative; overflow: hidden; isolation: isolate; transition: transform .18s, background .18s;
}
/* 白い光は地の上・字と丸印の下を通す。 */
.request-pill::after, .confirm-input::after { content: ""; position: absolute; z-index: -1; inset: -20% auto -20% -40%; width: 26%; background: rgba(255,255,255,.35); transform: skewX(-20deg); animation: pill-shine 3.6s ease-in-out infinite; pointer-events: none; }
.request-pill small { font-size: 11.5px; font-weight: 700; letter-spacing: .08em; }
.request-pill b { font-size: 18px; letter-spacing: .03em; line-height: 1.3; }
.request-pill i { position: absolute; inset: 50% 20px auto auto; translate: 0 -50%; border-radius: 50%; width: 22px; height: 22px; display: grid; place-items: center; font: 800 20px/1 var(--round); color: var(--blue); background: white; animation: pill-beat 2.4s ease-in-out infinite; }
.request-pill:hover, .confirm-input:hover { transform: translateY(-2px); background: var(--blue-deep); }
.request-pill:active, .confirm-input:active { transform: translateY(1px); }
/* 固定バーは白い帯ごと出し、本文がボタンの周りに透けて重ならないようにする。 */
.mobile-request { position: fixed; z-index: 8; inset: auto 0 0; margin-inline: auto; max-width: 480px; border-top: 2px solid var(--ink); padding: 8px max(12px, env(safe-area-inset-right)) calc(8px + env(safe-area-inset-bottom)) max(12px, env(safe-area-inset-left)); background: white; transform: translateY(130%); transition: transform .2s ease-in; pointer-events: none; }
.mobile-request.raised { transform: translateY(0); transition: transform .45s var(--arrive); pointer-events: auto; }
.mobile-request .request-pill { min-height: 48px; border: 0; border-radius: 14px; padding-inline: 12px 40px; box-shadow: none; }
.mobile-request .request-pill b { font-size: clamp(12.5px, 3.9vw, 15px); letter-spacing: 0; white-space: nowrap; }
.mobile-request .request-pill i { right: 12px; }
.mast { background: var(--canvas); padding: max(12px, env(safe-area-inset-top)) 12px 0; }
.mast-inner { min-height: 64px; padding: 5px 10px 5px 6px; display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.mast-identity { display: flex; align-items: center; gap: 2px; min-width: 0; white-space: nowrap; }
.mast-identity .brand-logo { --logo: clamp(46px, 13.8vw, 54px); }
.mast-identity .brand-name { font-size: clamp(14px, 4.3vw, 19px); }
.mast-request { flex: none; border-radius: 12px; padding: 8px clamp(8px, 2.5vw, 14px); color: var(--blue); background: white; display: flex; gap: 5px; align-items: center; font-size: clamp(11px, 3.2vw, 12.5px); white-space: nowrap; font-weight: 900; transition: background .18s; }
.mast-request:hover { background: var(--blue-pale); }
.mast-request svg { width: 12px; fill: none; stroke: currentColor; stroke-width: 2.4; }
.conveyor { overflow: hidden; }
.conveyor-belt, .conveyor-group { display: flex; width: max-content; }
.conveyor-belt { animation: conveyor-run 22s linear infinite; }
.job-conveyor { padding-block: 12px; background: var(--canvas); border-bottom: 1px solid var(--blue-light); }
.job-conveyor { mask-image: linear-gradient(to right, transparent, #000 12px, #000 calc(100% - 36px), transparent); }
.job-conveyor .conveyor-belt { margin-left: 12px; animation-duration: 30s; }
.job-conveyor .conveyor-group { gap: 12px; padding-right: 12px; }
.job-conveyor span { border: 2px solid; border-radius: 10px; background: white; padding: 3px 14px; font-size: 13.5px; font-weight: 700; }
.type-conveyor { color: white; background: var(--blue); }
.type-conveyor span { padding: 10px 12px; font: 800 19px/1.95 var(--round); letter-spacing: .04em; white-space: pre; word-spacing: .12em; }
#ticker2 { background: var(--ink); }
#ticker2 .conveyor-belt { animation-direction: reverse; }

.opening { padding: 18px 12px 34px; }
.cover-card, .closing-card { border: 2px solid var(--ink); border-radius: 28px; background: var(--stock); position: relative; overflow: hidden; isolation: isolate; }
.cover-card { padding: 23px 16px 0; }
.cover-card::before, .closing-card::before { content: ""; position: absolute; z-index: -1; inset: 0; background-image: var(--mesh); background-size: 20px 20px; mask-image: linear-gradient(#000 30%, transparent 90%); }
.cover-lead { display: flex; align-items: center; gap: 6px; font-size: clamp(12px, 3.7vw, 17px); font-weight: 900; letter-spacing: .04em; }
.cover-lead::before, .cover-lead::after { content: ""; width: 1px; height: 1.1em; background: var(--ink); transform: rotate(-42deg); margin-inline: 5px; }
.cover-lead::after { transform: rotate(42deg); }
h1 { margin-top: 10px; font-weight: 800; line-height: 1.1; letter-spacing: .01em; }
h1 > span { display: block; overflow: hidden; margin-block: -.05em; padding-block: .11em; white-space: nowrap; }
h1 > span > span { display: inline-block; animation: word-rise .8s var(--lift) 0s both; }
@supports ((-webkit-background-clip: text) or (background-clip: text)) {
  h1 em, .cover-strips em { background-size: 250% 100%; background-position: 100% 0; -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-fill-color: transparent; animation: gloss-run 5s linear infinite; }
  h1 em { background-image: linear-gradient(100deg, var(--blue) 0 43%, #5C8BEE 47.5%, #fff 50%, #5C8BEE 52.5%, var(--blue) 57% 100%); }
  .cover-strips em { background-image: linear-gradient(100deg, #fff 0 42%, var(--cyan) 47% 53%, #fff 58% 100%); }
}
.title-first { font-size: min(8.9vw, 40px, calc((100vw - 68px) / 9.2)); }
.title-main { font-size: clamp(54px, 16vw, 72px); line-height: 1.08; }
.title-main > span { animation-delay: .12s; }
.title-main small { font-size: .62em; }
.title-last { font-size: min(calc((100vw - 68px) / 9), 45px); letter-spacing: -.03em; }
.title-last > span { animation-delay: .24s; }
.cover-roles { margin-top: 8px; border-left: 4px solid var(--blue); padding-left: 9px; font-size: clamp(12.5px, 3.5vw, 15px); font-weight: 900; line-height: 1.6; }
.cover-roles small { display: block; font-size: 12.5px; font-weight: 700; line-height: 1.55; }
.cover-scene { position: relative; display: grid; align-content: space-between; min-height: 184px; margin-top: 10px; padding: 8px 0 4px; }
.console { position: relative; z-index: 2; display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; column-gap: 8px; width: min(76%, 262px); background: var(--ink); border-radius: 14px; box-shadow: 0 8px 20px rgb(21 23 26 / 24%); padding: 8px 11px 9px; color: white; font: 500 12px/1.55 var(--mono), var(--sans); animation: surface-in .5s ease .2s both; }
.window-bar { background: var(--ink); color: #E8E8E9; display: flex; align-items: center; gap: 8px; font: 700 11px/1.6 var(--mono); padding: 4px 10px; }
.console .window-bar { grid-area: 1 / 1; min-width: 0; overflow: hidden; padding: 0; font-size: 11px; white-space: nowrap; color: #C5C6C7; }
.lamps { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--cyan); box-shadow: 11px 0 white, 22px 0 #8A8B8D; margin-right: 22px; flex: none; }
.console-lines { grid-area: 2 / 1 / auto / -1; min-height: 4.65em; margin-top: 4px; }
.console-lines span { display: block; }
.console .typed { color: var(--blue-light); }
.console .working::after { content: ""; display: inline-block; width: 7px; height: 12px; background: white; margin-left: 3px; animation: cursor-blink .8s steps(1) infinite; }
.console .pending, .console .working .rest { visibility: hidden; }
.console .working.typing::after { content: none; }
.console .working.typing .shown::after { content: ""; display: inline-block; width: 7px; height: 12px; background: white; margin-left: 3px; animation: cursor-blink .8s steps(1) infinite; }
.simulation-note { grid-area: 1 / 2; color: #C5C6C7; font-size: 11px; line-height: 1.6; white-space: nowrap; }
.cover-art { position: absolute; width: 53%; right: -15px; top: 47%; transform: translateY(-50%); }
.cover-art > div { position: relative; animation: art-arrives 1s var(--lift) .35s both; }
.cover-art img { display: block; width: 100%; height: auto; animation: desk-float 3.6s ease-in-out 1.4s infinite; }
.cover-watch { position: absolute; width: 26%; height: auto; top: 1%; right: 2%; animation: tool-bob 2.6s ease-in-out infinite; }
.orbit { display: block; position: absolute; left: 50%; top: 50%; width: 210px; height: 210px; translate: -50% -50%; border-radius: 50%; border: 2px dashed rgb(21 23 26 / 24%); animation: hand-turn 30s linear infinite; }
.orbit::after { content: ""; position: absolute; top: -6px; left: 50%; width: 10px; height: 10px; margin-left: -5px; background: var(--blue); border-radius: 50%; }
.orbit-arc { display: block; position: absolute; left: 50%; top: 50%; width: 112%; aspect-ratio: 1; translate: -50% -50%; border-radius: 50%; border: 3px solid transparent; border-top-color: var(--blue); border-left-color: var(--blue-light); animation: hand-turn 12s linear infinite reverse; }
.orbit-arc::after { content: ""; position: absolute; top: 10%; right: 10%; width: 12px; height: 12px; border: 2px solid var(--blue); border-radius: 50%; background: var(--cyan); }
.cover-gear { position: absolute; width: 24%; height: auto; right: 5%; bottom: -5%; overflow: visible; }
.cover-strips { display: grid; justify-items: start; gap: 5px; position: relative; margin-top: 10px; animation: surface-in .7s ease 1.1s both; }
.cover-strips b, .strips > span { border-radius: 8px; background: var(--blue); color: white; font-family: var(--round); font-weight: 800; line-height: 1.35; padding: 4px 9px 5px; }
.cover-strips b { font-size: clamp(14px, 4.15vw, 19px); }
.cover-strips em { color: white; text-decoration: underline var(--cyan) 3px; text-underline-offset: 3px; }
.cover-summary { font-size: 13px; line-height: 1.8; margin: 18px 8px 0; }
/* 先頭の絵の飾りが下へはみ出しても、帯の上には出さない。 */
.imprint { position: relative; z-index: 1; margin-inline: -16px; padding: 3px 12px 3px 8px; color: white; background: var(--blue); display: flex; align-items: center; gap: 4px; }
.imprint .brand-logo { --logo: clamp(52px, 15vw, 60px); border-radius: 0; }
.imprint small { font: 700 8px/1.3 var(--mono); white-space: nowrap; }
.imprint b { margin-left: 4px; border-left: 2px solid var(--cyan); padding-left: 10px; font: 800 clamp(14px, 4vw, 19px)/1.3 var(--round); white-space: nowrap; }
.opening .inquiry { margin: 18px 4px 0; }

.paper-grid, .night-grid { background-image: var(--mesh); background-size: 20px 20px; }
.paper-grid { background-color: white; }
.night-grid { --line: rgb(255 255 255 / 7%); --mesh: linear-gradient(to right, var(--line) 1px, transparent 1px), linear-gradient(to bottom, var(--line) 1px, transparent 1px); color: white; background-color: var(--ink); background-size: 30px 30px; }
.chapter { padding: 72px max(18px, env(safe-area-inset-right)) 72px max(18px, env(safe-area-inset-left)); }
.chapter-title { text-align: center; }
.chapter-kicker { display: flex; gap: 10px; align-items: center; justify-content: center; color: var(--blue); font: 800 13px/1.6 var(--round); letter-spacing: .16em; }
.chapter-kicker::before, .chapter-kicker::after { content: ""; height: 3px; width: 22px; border-radius: 3px; background: var(--accent); }
.night-grid .chapter-kicker { color: white; }
.chapter-title h2 { font: 800 clamp(27px, 7.8vw, 34px)/1.42 var(--round); letter-spacing: .02em; text-wrap: balance; margin-top: 10px; }
.service-mark { color: var(--blue); }
#about h2 { font-size: clamp(25px, 7.2vw, 31px); }
.reading { margin-top: 22px; text-align: left; }
.reading p + p { margin-top: .8em; }
.strips { display: grid; justify-items: center; gap: 7px; margin-top: 24px; }
.strips > span { padding: 6px 11px 7px; font-size: clamp(17px, 5vw, 24px); letter-spacing: -.02em; }
.origin-note { margin: 20px auto 0; padding: 14px 16px 13px; border: 1px solid var(--blue-light); border-left: 4px solid var(--blue); border-radius: 14px; background: var(--blue-pale); font-size: 13px; }
.origin-note .brand-logo { --logo: 56px; margin-bottom: 8px; }
.creed { margin: 2px 0 8px; font: 800 clamp(18px, 5.2vw, 22px)/1.45 var(--round); letter-spacing: .01em; }
.creed small { display: block; color: var(--blue); font: 900 11px/1.6 var(--sans); letter-spacing: .14em; }
.gallery { margin: 30px -18px 0; }
.gallery-track { display: flex; align-items: stretch; width: 100%; overflow-x: auto; scroll-snap-type: x mandatory; overscroll-behavior-x: contain; scrollbar-width: none; }
.gallery-track::-webkit-scrollbar { display: none; }
.roles-gallery .gallery-track { gap: 12px; padding: 10px calc(50% - 112px) 24px; }
.role-tile { border: 2px solid var(--ink); overflow: hidden; scroll-snap-align: center; cursor: pointer; }
.role-tile { --tile: var(--blue-pale); flex: 0 0 224px; border-radius: 20px; display: flex; align-items: center; flex-direction: column; background: var(--tile); box-shadow: 0 9px 20px rgb(21 23 26 / 16%); transform: scale(.88); opacity: .55; transition: opacity .45s, transform .45s cubic-bezier(.2,1.2,.4,1); }
.role-tile:nth-child(even) { --tile: var(--stock); }
.role-tile.selected { transform: scale(1); opacity: 1; }
.role-tile h3 { margin-top: 12px; font-size: 22px; font-weight: 800; }
.role-tile .desk-art { width: 146px; margin-block: 8px; }
.role-tile.selected .desk-art { animation: tool-bob 2.2s ease-in-out infinite; }
.role-tile p { flex: 1; width: 100%; padding: 12px 14px; background: white; border-top: 2px solid; font-size: 14px; font-weight: 700; }
.gallery-nav, .positions { display: flex; align-items: center; justify-content: center; gap: 16px; }
.positions { gap: 8px; }
.positions button { border: 0; padding: 0; width: 9px; height: 9px; border-radius: 9px; background: #C5C6C7; position: relative; transition: width .3s, background .3s; }
.positions button::before { content: ""; position: absolute; inset: -8px -3px; }
.positions button[aria-current="true"] { background: var(--blue); width: 28px; }
.approach { padding-block: 68px 56px; text-align: center; }
#promise { background-color: var(--blue); }
.promise-line { width: fit-content; max-width: 100%; margin: 16px auto 0; border-bottom: 4px solid var(--accent); padding-bottom: 5px; font: 800 clamp(20px, 5.6vw, 26px)/1.5 var(--round); letter-spacing: .01em; }
.approach-note { max-width: 360px; margin: 30px auto 0; padding: 20px; background: white; color: var(--ink); border-radius: 22px; position: relative; }
.approach-note::before { content: ""; height: 24px; width: 3px; border-radius: 3px; background: var(--accent); position: absolute; left: 50%; top: -12px; }
.approach-note .service-mark { font-size: 24px; }
.approach-count, .policy-number b { font: 800 86px/.95 var(--round); color: var(--blue); letter-spacing: -.02em; }
.approach-note p { font-size: 18px; font-weight: 900; }
.approach-note mark { color: inherit; background: linear-gradient(transparent 62%, var(--blue-light) 62% 94%, transparent 94%); }
.approach-note ol { margin: 16px auto 0; display: grid; gap: 6px; text-align: left; width: fit-content; counter-reset: approach; }
.approach-note li { display: flex; align-items: center; gap: 10px; counter-increment: approach; font-weight: 700; }
.approach-note li::before { content: counter(approach, decimal-leading-zero); display: grid; place-items: center; width: 30px; height: 30px; border: 2px solid; border-radius: 50%; font: 800 13px var(--round); }

.policy-sheets { container-type: inline-size; padding-block: 20px 48px; }
.policy { margin: 0 auto; padding: 1.5em 1.2em; font-size: 4cqw; }
.policy + .policy { border-top: 1px dashed var(--blue-light); }
.policy-number { display: flex; gap: .65em; justify-content: center; align-items: baseline; font-weight: 900; letter-spacing: .14em; }
.policy-number b { font-size: 6.53em; padding-right: .07em; }
.dilemma { margin-top: 1.7em; border: 2px solid; border-radius: 1.1em; background: white; text-align: center; position: relative; padding: 1.2em 1.47em .94em; box-shadow: 0 8px 10px rgb(21 23 26 / 8%); }
.dilemma p { font-size: 1.33em; line-height: 1.55; font-weight: 900; }
.dilemma small { position: absolute; top: 0; left: 50%; translate: -50% -50%; padding-inline: .7em; font-size: .87em; letter-spacing: .09em; font-weight: 900; color: var(--quiet); background: white; white-space: nowrap; }
.direction { display: block; height: 3.73em; width: 1.33em; margin: .8em auto .67em; fill: none; stroke: currentColor; stroke-width: 2; }
.direction path:first-child { stroke-dasharray: 4 4; animation: dotted-route 1s linear infinite; }
.method-label { color: white; background: var(--ink); border-radius: .6em; margin: auto; width: fit-content; padding: .12em 1.1em; font-size: 1.13em; font-weight: 900; letter-spacing: .1em; }
.policy .strips { margin-top: .6em; gap: .47em; }
.policy .strips span { font-size: 6.65cqw; padding: .25em .5em; }
.sketch { --line: rgb(12 82 229 / 10%); background-color: var(--blue-pale); background-image: var(--mesh); background-size: 1.07em 1.07em; border: 2px solid var(--ink); border-radius: 1.1em; overflow: hidden; position: relative; height: 14.67em; margin-top: .9em; }
.sketch .window-bar { font-size: .74em; }
.sketch figcaption { position: absolute; right: .6em; bottom: .4em; color: var(--quiet); font-size: .67em; font-weight: 700; background: rgb(255 255 255 / 88%); padding: 0 .4em; }
.task-list { width: fit-content; max-width: 96%; margin: .75em auto; background: white; padding: .45em .8em; border: 2px solid; border-radius: .6em; box-shadow: 3px 3px 0 var(--ink); transform: rotate(-2deg); }
.task-list li { display: flex; align-items: center; gap: .5em; border-bottom: 1px dashed #C5C6C7; font-size: .86em; font-weight: 700; padding: .12em 0; }
.task-list li:last-child { border: none; }
.task-list svg { width: 1.25em; fill: none; stroke: var(--blue); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 20; }
.task-list li:first-child { color: var(--blue); }
.task-seal { position: absolute; right: 1em; bottom: 1.3em; color: white; background: var(--blue); box-shadow: 2px 3px 0 var(--ink); border: 2px solid var(--ink); border-radius: .5em; padding: .05em .65em; font-size: 1.08em; rotate: -4deg; }
.sketch-2 { background-color: var(--stock); }
.time-records { margin: 1.35em 1.1em; padding: .5em 1em; background: white; border: 2px solid; border-radius: .6em; }
.time-records > div { display: flex; align-items: center; justify-content: space-between; padding: .2em 0; border-bottom: 1px dashed #B9BABB; font-weight: 700; }
.time-records b { font-size: 1.2em; }
.time-records p { font-size: .78em; padding-block: .5em; }
.sketch-3 { background-color: white; }
.handover-bars { margin: 1em; display: grid; justify-items: start; gap: .5em; }
.handover-bars span { display: block; width: 100%; position: relative; isolation: isolate; font-size: .86em; padding: .1em .65em; }
.handover-bars span::before { content: ""; position: absolute; inset: 0; width: 100%; z-index: -1; border: 1.5px solid; border-radius: 6px; background: var(--blue-pale); transform-origin: left; }
.handover-bars span:nth-child(2)::before { width: 74%; background: var(--blue-light); }
.handover-bars span:nth-child(3)::before { width: 56%; background: #86A9F2; }
.policy-text { margin-top: .8em; line-height: 1.93; }
.sketch.compare { height: auto; padding-bottom: 2em; background-color: var(--stock); }
.compare-title { margin: .7em 1em 0; font-size: .86em; font-weight: 900; letter-spacing: .08em; }
.compare-title::before { content: ""; display: inline-block; width: .9em; height: 3px; margin-right: .5em; border-radius: 3px; background: var(--blue); vertical-align: .3em; }
.compare-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .5em; margin: 2em .8em 0; align-items: end; }
.way { border: 1.5px dashed #8A8B8D; border-radius: .7em; padding: .45em .2em .55em; background: white; color: var(--quiet); text-align: center; line-height: 1.4; }
.way small { display: block; font-size: .66em; font-weight: 900; letter-spacing: .02em; white-space: nowrap; }
.way svg { display: block; width: 62%; margin: .35em auto; fill: none; stroke: #8A8B8D; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.way .all-at-once rect { fill: #D0D1D2; }
.way b { display: block; font: 800 .86em/1.35 var(--round); }
.way-ours { border: 2.5px solid var(--blue); color: var(--ink); box-shadow: 3px 4px 0 var(--ink); transform: translateY(-.6em) rotate(-3deg) scale(1.06); }
.way-ours small { color: var(--blue); }
.way-ours svg { stroke: var(--ink); }
.way-ours .picked { fill: var(--blue); stroke: var(--blue); }
.way-ours .tick { stroke: white; stroke-width: 2.6; }
.compare-stamp { position: absolute; z-index: 1; right: .7em; top: 2.55em; border: 2px solid var(--blue); border-radius: .6em; outline: 1.5px solid var(--blue); outline-offset: 2px; padding: .15em .7em; color: var(--blue); background: white; font: 800 .82em/1.3 var(--round); letter-spacing: .04em; text-align: center; rotate: -7deg; }
.sketch-2 { height: auto; padding-bottom: 1.9em; }
.sketch-2 .time-records { margin-bottom: .7em; }
.trend { margin: 0 1.1em; }
.trend svg { display: block; width: 100%; height: auto; overflow: visible; fill: none; stroke-linecap: round; stroke-linejoin: round; }
.trend-axis { stroke: var(--ink); stroke-width: 2; }
.trend-line { stroke: var(--blue); stroke-width: 3.5; stroke-dasharray: 100; }
.trend-area { fill: rgb(12 82 229 / 12%); }
.trend-dot { fill: var(--cyan); stroke: var(--blue); stroke-width: 3; transform-box: fill-box; transform-origin: center; }
.trend-ends { display: flex; justify-content: space-between; gap: .5em; padding-left: 1.2em; font-size: .8em; font-weight: 900; white-space: nowrap; }
.trend p { font-size: .72em; font-weight: 700; color: var(--quiet); padding-right: 5.2em; }
.handover-bars span::before { transition: width 1s cubic-bezier(.2,.9,.3,1) calc(var(--order) * .35s); }
/* 画面幅に合わせた拡大：スクリプトが 375px 基準の内側を transform で合わせ、外枠の高さをそろえる。 */
.policy-fit.fitted > .policy-fit-inner { transform-origin: 0 0; }
.policy-fit.fitted .policy { font-size: 15px; }
.policy-fit.fitted .policy .strips span { font-size: 24.9px; }

.together { text-align: center; position: relative; }
.together > p:first-child { font-weight: 900; font-size: clamp(15px, 4.4vw, 21px); }
.statement { font: 800 min(calc((100vw - 48px) / 7), 59px)/1.25 var(--round); white-space: nowrap; margin-top: 8px; }
.statement span { display: inline-block; }
.statement span:nth-child(-n+3) { box-shadow: 0 .07em 0 var(--accent); }
.walking-art { display: grid; place-items: center; min-height: 245px; background: radial-gradient(ellipse closest-side, rgb(12 82 229 / 48%), transparent); }
.walking-art img { width: 75%; height: auto; animation: desk-float 3s ease-in-out infinite; }
.together-name { display: flex; justify-content: center; align-items: center; gap: 12px; margin: 25px 0; }
.together-name .brand-logo { --logo: clamp(56px, 15.5vw, 68px); }
.together-name .brand-name { font-size: clamp(18px, 5.5vw, 27px); white-space: nowrap; }
.together .inquiry p, .night-grid .chapter-caption { color: #D0D1D2; }
.chapter-caption { margin-top: 12px; text-align: center; color: var(--quiet); font-size: 13px; }
.step-list, .question-list { margin-top: 28px; position: relative; display: grid; gap: 14px; }
.step-list::before, .step-list::after { content: ""; position: absolute; left: 25px; top: 20px; bottom: 80px; width: 3px; background: var(--blue-light); }
.step-list::after { background: var(--blue); transform-origin: top; transform: scaleY(var(--progress, 0)); }
.numbered-item { display: grid; grid-template-columns: 52px minmax(0, 1fr); gap: 14px; align-items: start; position: relative; z-index: 1; }
.number-tab { width: 52px; height: 52px; border: 2px solid var(--ink); background: white; border-radius: 16px; display: grid; place-items: center; font: 800 20px var(--round); transition: color .35s, background .35s; }
.numbered-item.passed .number-tab { color: white; background: var(--ink); }
.step-list li:last-child .number-tab { border-color: var(--blue); color: var(--blue); }
.step-list li:last-child.passed .number-tab { color: white; background: var(--blue); }
.answer-card { border-radius: 16px; border: 2px solid var(--ink); padding: 13px 14px; background: white; }
.answer-card h3 { font-weight: 800; font-size: 19px; line-height: 1.4; }
.answer-card p { margin-top: 6px; font-size: 13.5px; line-height: 1.9; }
.step-list li:last-child .answer-card { background: var(--blue); color: white; border-color: var(--blue); }
#voice, #faq { border-top: 1px dashed #C5C6C7; }
.pending-note { margin-top: 24px; border: 2px dashed #8A8B8D; border-radius: 16px; padding: 16px 16px 14px; background: var(--stock); font-size: 14px; }
.pending-seal { display: inline-block; margin-bottom: 8px; border-radius: 8px; padding: 1px 12px; color: white; background: var(--ink); font-size: 15px; letter-spacing: .12em; }
.pending-slot { margin-top: 10px; border-top: 1px dashed #B9BABB; padding-top: 10px; color: var(--quiet); font-size: 13px; font-weight: 700; }
.case-gallery { --case: min(300px, 80vw); margin-top: 20px; }
.case-gallery .gallery-track { gap: 12px; padding: 8px calc(50% - var(--case) / 2) 20px; }
.case-tile { flex: 0 0 var(--case); border: 2px solid var(--ink); border-radius: 18px; overflow: hidden; background: white; scroll-snap-align: center; cursor: pointer; box-shadow: 0 8px 18px rgb(21 23 26 / 14%); transform: scale(.94); opacity: .6; transition: opacity .45s, transform .45s cubic-bezier(.2,1.2,.4,1); }
.case-tile.selected { transform: scale(1); opacity: 1; }
.case-figure { position: relative; aspect-ratio: 358 / 214; overflow: hidden; border-bottom: 2px solid var(--ink); background-color: var(--blue-pale); background-image: var(--mesh); background-size: 16px 16px; }
.case-figure svg { display: block; width: 100%; height: 100%; fill: white; stroke: var(--ink); stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; transition: transform .8s var(--arrive); }
.case-figure .tint { fill: var(--blue-light); }
.case-figure .dashed { stroke: #B9BABB; stroke-width: 1.5; stroke-dasharray: 4 5; }
.case-tile:hover .case-figure svg { transform: scale(1.04) rotate(-1deg); }
.case-figure b { position: absolute; left: 50%; top: 50%; translate: -50% -50%; rotate: -5deg; border: 2px solid white; border-radius: 8px; padding: 0 14px; color: white; background: var(--ink); font-size: 15px; letter-spacing: .12em; white-space: nowrap; }
.case-figure small { position: absolute; right: 8px; bottom: 5px; padding: 0 6px; color: var(--quiet); background: rgb(255 255 255 / 88%); font-size: 10.5px; font-weight: 700; }
.case-body { padding: 12px 14px 14px; font-size: 13px; }
.case-number { font-size: 17px; font-weight: 800; line-height: 1.5; }
.case-slots { display: flex; flex-wrap: wrap; gap: 4px 6px; margin-top: 6px; color: var(--quiet); font-weight: 700; }
.case-slots span { border: 1.5px dashed #8A8B8D; border-radius: 8px; padding: 0 4px; white-space: nowrap; }
.case-none { margin-top: 8px; border-left: 4px solid var(--blue); padding-left: 8px; font-weight: 700; line-height: 1.6; }
.turn { flex: none; width: 44px; height: 44px; border: 2px solid var(--ink); border-radius: 50%; padding: 0 0 4px; background: white; font: 800 24px/1 var(--round); transition: color .18s, background .18s; }
.turn:hover { color: white; background: var(--blue); }
.scope-feed { margin-bottom: 28px; border: 2px solid white; border-radius: 16px; overflow: hidden; color: var(--ink); background: white; }
.feed-body { padding: 12px 0 10px; }
.feed-flag { display: flex; align-items: center; gap: 6px; width: fit-content; margin: 0 14px 10px; border-radius: 8px; padding: 1px 12px 1px 9px; color: white; background: var(--blue); font-size: 12.5px; font-weight: 900; letter-spacing: .04em; animation: flag-blink 1.1s steps(1) infinite; }
.feed-flag i { font-style: normal; font-size: 10px; animation: dot-blink 1.1s steps(1) infinite; }
.feed-row + .feed-row { margin-top: 8px; }
.feed-row .conveyor-belt { animation-duration: 16s; }
.feed-row-back .conveyor-belt { animation-duration: 19s; animation-direction: reverse; }
.feed-row .conveyor-group { gap: 8px; padding-right: 8px; }
.feed-row span { display: flex; align-items: center; gap: 6px; border: 1.5px solid var(--blue); border-radius: 9px; padding: 2px 11px; background: var(--blue-pale); font-size: 13px; font-weight: 700; white-space: nowrap; }
.feed-row small { border-radius: 5px; padding: 0 5px; color: white; background: var(--blue); font-size: 10.5px; font-weight: 900; line-height: 1.6; }
.scope-feed figcaption { margin: 10px 14px 0; color: var(--quiet); font-size: 11.5px; font-weight: 700; line-height: 1.6; }
.check-sample { margin-top: 18px; border: 2px solid var(--ink); border-radius: 16px; overflow: hidden; background: white; }
.check-sample figcaption { padding: 12px 16px; color: white; background: var(--ink); font-size: 12.5px; line-height: 1.7; }
.check-sample figcaption b { display: block; font: 800 19px/1.5 var(--round); }
.check-sample figcaption b::before { content: "例"; display: inline-grid; place-items: center; width: 1.6em; height: 1.6em; margin-right: 8px; border-radius: 50%; background: var(--blue); font-size: .75em; vertical-align: .1em; }
.check-sample ol { display: grid; padding: 6px 16px 10px; }
.check-sample li { display: grid; grid-template-columns: 62px minmax(0, 1fr); gap: 12px; align-items: center; padding: 10px 0; position: relative; font-size: 15px; font-weight: 900; line-height: 1.55; }
.check-sample li + li { border-top: 1px dashed #B9BABB; }
.check-sample li + li::before { content: "↓"; position: absolute; left: 22px; top: -13px; width: 18px; background: white; color: var(--blue); font: 800 14px/1.7 var(--round); text-align: center; }
.check-sample small { border: 2px solid var(--ink); border-radius: 9px; padding: 2px 0; background: var(--blue-pale); font-size: 13px; font-weight: 900; text-align: center; }
.check-sample li:last-child small { color: white; background: var(--blue); }
.data-note, .memo-sheet { border: 2px solid var(--ink); border-left: 6px solid var(--blue); border-radius: 16px; padding: 16px 16px 18px; color: var(--ink); background: white; font-size: 14px; text-align: left; }
.memo-sheet { margin-top: 22px; background: var(--stock); }
:is(.data-note, .memo-sheet) h3 { margin-bottom: 8px; font-size: 18px; font-weight: 800; line-height: 1.5; }
.note-label { width: fit-content; margin: 14px 0 6px; border-radius: 8px; padding: 1px 12px; color: white; background: var(--ink); font-size: 12.5px; font-weight: 900; letter-spacing: .04em; }
.blank-list { display: grid; margin-top: 10px; border-top: 1px dashed #B9BABB; }
.blank-list li { display: grid; grid-template-columns: 18px minmax(0, 1fr) auto; gap: 2px 9px; align-items: center; border-bottom: 1px dashed #B9BABB; padding: 9px 0; font-weight: 700; }
.blank-list li::before { content: ""; width: 16px; height: 16px; border: 2px solid var(--ink); border-radius: 5px; background: white; }
.blank-list b { font-weight: 900; }
.blank-list small { grid-column: 2 / -1; color: var(--quiet); font-size: 12.5px; line-height: 1.6; }
.undecided { border-left: 4px solid var(--blue); padding-left: 9px; font-weight: 700; }
.undecided-list { display: grid; margin-top: 10px; border-top: 1px dashed #B9BABB; }
.undecided-list a { display: flex; align-items: center; justify-content: space-between; gap: 10px; min-height: 44px; border-bottom: 1px dashed #B9BABB; font-weight: 900; }
.undecided-list a::after { content: "›"; color: var(--blue); font: 800 20px/1 var(--round); }
#undecided { margin-top: 24px; }
.question-list li[id], #memo, #undecided { scroll-margin-top: 14px; }
.scope-list { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-block: 28px; }
.scope-list li { border-radius: 12px; padding: 7px 14px; color: var(--ink); background: white; font-size: 15.5px; font-weight: 900; }
.scope-list li:last-child { border: 2px dashed #8A8B8D; color: white; background: transparent; }
.price-window { border: 2px solid var(--ink); border-radius: 18px; overflow: hidden; background: white; margin-top: 25px; }
.price-window > div:last-child { padding: 18px; }
.price-window h3 { font-size: clamp(21px, 6vw, 26px); margin-bottom: 12px; }
.price-window p { display: flex; flex-wrap: wrap; align-items: center; gap: 2px 10px; border-top: 1px dashed #C5C6C7; padding: 8px 0; font-size: 14px; }
.price-window p b { flex-basis: 100%; font-weight: 900; }
.price-window .price-how { display: block; border-top: 2px solid var(--ink); margin-top: 4px; padding: 12px 0 0; line-height: 1.8; }
.price-how > b { display: block; }
.price-window p i { margin-left: auto; border-radius: 8px; padding: 0 10px; color: white; background: var(--ink); font-size: 12px; font-style: normal; font-weight: 900; }

.closing { padding: 0 12px 40px; }
.closing-card { container-type: inline-size; text-align: center; padding: 36px 16px 0; }
.closing-card::before { height: 530px; }
.closing h2 { font: 800 clamp(24px, 6.6vw, 32px)/1.45 var(--round); text-wrap: balance; }
.closing h2 > span { display: block; white-space: nowrap; font-size: min(1em, 6.95cqw); }
.closing h2 em { font: 800 1.35em/1 var(--round); }
.closing .reading { font-size: 14px; }
.closing-stage { position: relative; isolation: isolate; display: grid; align-content: center; height: 280px; }
.closing-stage .orbit { z-index: -1; width: 260px; height: 260px; }
.closing-stage .tool-row { gap: 0; }
.closing-stage .tool-row > div { width: 24%; animation-duration: 2.4s; }
.closing-stage .tool-row > div:nth-child(2) { width: 30%; animation: desk-float 3s ease-in-out infinite; }
.closing-stage .tool-row > div:nth-child(3) { animation-delay: -.6s; }
.closing-stage .tool-row > div:nth-child(4) { animation-delay: -1.2s; }
#form { display: grid; gap: 32px; padding: 32px 0; text-align: left; }
.input-group { display: grid; gap: 16px; }
.input-group label { font-size: 20px; letter-spacing: .04em; font-weight: 700; }
.input-group label span { display: inline-block; vertical-align: middle; font: 400 15px/1 var(--sans); padding: 5px 12px; border-radius: 8px; color: white; background: var(--ink); margin-left: 12px; }
.input-group input { min-width: 0; width: 100%; height: 86px; border: 2px solid var(--blue-light); border-radius: 16px; padding: 0 20px; background: white; font-size: 18px; font-weight: 400; letter-spacing: .05em; }
.input-group input::placeholder { color: var(--quiet); }
.input-group { position: relative; }
input[aria-invalid="true"] { border-color: var(--ink); background: var(--blue-pale); box-shadow: 0 0 0 2px var(--ink); }
input[aria-invalid="false"] { border-color: var(--blue); }
.input-group[data-state="ok"] label::after { content: "✓"; display: inline-grid; place-items: center; width: 22px; height: 22px; margin-left: 8px; border-radius: 50%; color: white; background: var(--blue); font: 800 14px/1 var(--round); vertical-align: middle; }
.field-error { position: absolute; top: 100%; left: 2px; margin-top: 3px; color: var(--blue-deep); font-size: 13px; font-weight: 700; line-height: 1.5; white-space: nowrap; }
.form-end { text-align: center; }
.closing-card > .send-note { margin-top: 24px; }
.confirm-input { width: 100%; padding-inline: 10px; font-size: 18px; }
#confirmation { margin: 32px auto; padding: 18px; border: 2px solid var(--ink); border-left: 5px solid var(--blue); border-radius: 14px; background: white; text-align: left; }
#foot { background: var(--ink); text-align: center; color: #C5C6C7; padding: 22px 14px calc(100px + env(safe-area-inset-bottom)); }
.footer-mark { display: grid; justify-items: center; gap: 8px; font: 700 13px var(--round); letter-spacing: .04em; color: white; }
.footer-mark .brand-logo { --logo: 64px; }
.footer-links { display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; margin: 12px 0 6px; color: #D0D1D2; font-size: 12px; }
.footer-links a:hover { text-decoration: underline; }
.prototype { font-size: 11px; margin-top: 8px; }
dialog { width: min(350px, 90vw); border: 2px solid var(--ink); border-radius: 20px; padding: 34px 20px; text-align: left; color: var(--ink); }
dialog::backdrop { background: rgb(21 23 26 / 55%); }
dialog button { position: absolute; right: 8px; top: 5px; background: none; border: 0; font-size: 22px; }
dialog .brand-logo { --logo: 56px; margin: 8px 0 6px; }

@media (min-width: 481px) {
  .reading-column { box-shadow: 0 10px 40px rgb(21 23 26 / 18%); }
}
@media (min-width: 1024px) {
  .page-frame { display: grid; grid-template-columns: minmax(0, 1fr) 480px minmax(0, 1fr); align-items: start; }
  .reading-column { border-inline: 2px solid var(--ink); }
  .panel { display: flex; align-items: center; position: sticky; top: 0; height: 100vh; overflow-y: auto; padding: 40px clamp(24px, 3.4vw, 60px); }
  .panel-intro { justify-content: flex-end; }
  .panel-content { container-type: inline-size; width: 100%; max-width: 320px; display: grid; justify-items: end; gap: 20px; margin-block: auto; }
  .panel-copy { font: 800 clamp(14px, 7.2cqw, 24px)/1.55 var(--round); letter-spacing: -.01em; text-align: right; }
  .panel-copy em { font-weight: 800; }
  .panel-intro .tool-row > div { width: clamp(42px, 5vw, 78px); animation: sway-a 2.6s ease-in-out infinite; }
  .panel-intro .tool-row > div:nth-child(even) { animation-name: sway-b; animation-delay: -1.3s; }
  .panel-content .inquiry { width: 100%; }
  .panel-content .request-pill { padding-inline: 15px; }
  .panel-content .request-pill b { font-size: clamp(14px, 1.28vw, 18px); }
  .panel-content .request-pill i { right: clamp(5px, 1vw, 17px); width: 18px; height: 18px; }
  .panel-index nav { display: grid; justify-items: start; gap: 12px; margin-block: auto; }
  .panel-index nav > p { font: 800 28px/1 var(--round); letter-spacing: .04em; margin-bottom: 7px; }
  .panel-index a { display: flex; align-items: baseline; gap: 12px; color: var(--quiet); font-size: 14.5px; font-weight: 700; transition: transform .25s, color .25s; }
  .panel-index small { font: 700 11px var(--mono); }
  .panel-index a:hover, .panel-index [aria-current] { color: var(--ink); transform: translateX(6px); }
  .panel-index [aria-current] small { color: var(--blue); }
  .mobile-request { display: none; }
}

@media (min-width: 1024px) and (max-width: 1180px) {
  .panel-content .request-pill { padding-inline: 8px 32px; }
  .panel-content .request-pill b { font-size: 14px; letter-spacing: 0; }
  .panel-content .request-pill i { right: 8px; }
}

/* 入場中だけを制御し、スクリプトがない場合も本文を読めるようにする。 */
.motion-ready [data-enter] { transition: opacity .7s ease, transform .8s var(--arrive); }
.motion-ready [data-enter]:not(.entered) { opacity: 0; transform: translateY(26px); }
.motion-ready :is(.strips, .statement, .scope-list)[data-enter]:not(.entered) { opacity: 1; transform: none; }
.motion-ready .strips > span { clip-path: inset(0 100% 0 0); transition: clip-path .55s cubic-bezier(.7,0,.2,1) calc(var(--order) * .15s); }
.motion-ready .policy .strips > span { transition-delay: calc((var(--order) + 1) * .15s); }
.motion-ready .strips.entered > span { clip-path: inset(0); }
.motion-ready .sketch:not(.entered) .task-list path { stroke-dashoffset: 20; }
.sketch.entered .task-list path { animation: mark-checked .35s ease-out calc(.3s + var(--order) * .4s) both; }
.sketch-1.entered .task-seal { animation: seal-arrives .45s var(--spring) 2s both; }
.sketch-1.entered .task-list li:first-child { animation: first-task-chosen .4s ease 2s both; }
.sketch-2.entered .time-records > div { animation: surface-in .7s ease .3s both; }
.sketch-2.entered .time-records > div:nth-child(2) { animation-delay: .7s; }
.motion-ready .sketch-2:not(.entered) .trend-line { stroke-dashoffset: 100; }
.motion-ready .sketch-2:not(.entered) :is(.trend-area, .trend-dot) { opacity: 0; }
.sketch-2.entered .trend-line { animation: line-draw 1.8s ease-out both; }
.sketch-2.entered .trend-area { animation: area-rise .6s ease 1.75s both; }
.sketch-2.entered .trend-dot { animation: dot-pop .5s var(--spring) 1.8s both; }
.motion-ready .sketch-3:not(.entered) .handover-bars span::before { width: 0; }
.sketch-3.entered .task-seal { animation: seal-bounce .6s ease-out 1.7s both; }
.motion-ready .compare:not(.entered) .way-ours { transform: none; box-shadow: none; }
.motion-ready .compare:not(.entered) .compare-stamp { opacity: 0; }
.compare.entered .way-ours { animation: way-pop .6s var(--spring) .6s both; }
.compare.entered .compare-stamp { animation: stamp-press .45s ease-out 1.3s both; }
.statement.entered span { animation: speak .55s var(--spring) calc(var(--order) * 70ms) both; }
.motion-ready .statement:not(.entered) span { opacity: 0; }
.motion-ready .scope-list li { transition: transform .45s var(--spring), opacity .3s; transition-delay: calc(var(--order) * 55ms); }
.motion-ready .scope-list:not(.entered) li { opacity: 0; transform: translateY(14px) scale(.85); }

@keyframes hand-turn { to { transform: rotate(1turn); } }
@keyframes tool-bob { 50% { transform: translateY(-5px) rotate(-2deg); } }
@keyframes desk-float { 50% { transform: translateY(-10px); } }
@keyframes conveyor-run { to { transform: translateX(-50%); } }
@keyframes word-rise { from { transform: translateY(110%); } }
@keyframes surface-in { from { opacity: 0; transform: translateY(14px); } }
@keyframes art-arrives { from { opacity: 0; transform: translateX(40%); } }
@keyframes cursor-blink { 50% { opacity: 0; } }
@keyframes dotted-route { to { stroke-dashoffset: -8; } }
@keyframes mark-checked { from { stroke-dashoffset: 20; } to { stroke-dashoffset: 0; } }
@keyframes seal-arrives { from { transform: scale(0); } }
@keyframes first-task-chosen { from { background: white; } to { background: var(--blue-pale); } }
@keyframes seal-bounce { from { transform: scale(0); } 55% { transform: scale(1.2); } 78% { transform: scale(.93); } }
@keyframes gloss-run { to { background-position: 0 0; } }
@keyframes pill-shine { 0%, 62% { transform: translateX(0) skewX(-20deg); } 82%, 100% { transform: translateX(660%) skewX(-20deg); } }
@keyframes pill-beat { 0%, 100% { transform: scale(1); } 25% { transform: scale(1.12); } 50% { transform: scale(1); } 72% { transform: scale(1.07); } }
@keyframes sway-a { 0%, 100% { transform: translateY(4px) rotate(2deg); } 50% { transform: translateY(-6px) rotate(-2.5deg); } }
@keyframes sway-b { 0%, 100% { transform: translateY(4px) rotate(-2deg); } 50% { transform: translateY(-6px) rotate(2.5deg); } }
@keyframes line-draw { from { stroke-dashoffset: 100; } to { stroke-dashoffset: 0; } }
@keyframes area-rise { from { opacity: 0; transform: translateY(6px); } }
@keyframes dot-pop { from { opacity: 0; transform: scale(0); } }
@keyframes way-pop { from { transform: none; box-shadow: none; } }
@keyframes stamp-press { from { opacity: 0; transform: scale(2.4); } 60% { opacity: 1; transform: scale(.88); } }
@keyframes flag-blink { 50% { background: var(--blue-deep); } }
@keyframes dot-blink { 50% { opacity: 0; } }
@keyframes speak { from { opacity: 0; transform: scale(2.2); } 60% { opacity: 1; transform: scale(.92); } }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .motion-ready [data-enter]:not(.entered), .motion-ready .scope-list:not(.entered) li, .motion-ready .statement:not(.entered) span { opacity: 1; transform: none; }
  .motion-ready .strips > span { clip-path: none; }
  .motion-ready .sketch:not(.entered) .task-list path { stroke-dashoffset: 0; }
  .motion-ready .sketch-2:not(.entered) .trend-line { stroke-dashoffset: 0; }
  .motion-ready .sketch-2:not(.entered) :is(.trend-area, .trend-dot), .motion-ready .compare:not(.entered) .compare-stamp { opacity: 1; }
  .motion-ready .sketch-3:not(.entered) .handover-bars span::before { width: 100%; }
  .motion-ready .sketch-3:not(.entered) .handover-bars span:nth-child(2)::before { width: 74%; }
  .motion-ready .sketch-3:not(.entered) .handover-bars span:nth-child(3)::before { width: 56%; }
  .motion-ready .compare:not(.entered) .way-ours { transform: translateY(-.6em) rotate(-3deg) scale(1.06); box-shadow: 3px 4px 0 var(--ink); }
  /* 流れる札は止め、折り返して全部読めるようにする。 */
  .job-conveyor { mask-image: none; }
  :is(.job-conveyor, .type-conveyor, .feed-row) .conveyor-belt { width: auto; margin-inline: 12px; }
  :is(.job-conveyor, .type-conveyor, .feed-row) .conveyor-group { flex-wrap: wrap; width: auto; row-gap: 8px; padding-right: 0; }
  :is(.job-conveyor, .type-conveyor, .feed-row) .conveyor-group + .conveyor-group { display: none; }
  .type-conveyor span { white-space: normal; font-size: 14px; line-height: 1.5; padding: 10px 4px; }
}
