.loader { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; background: var(--color-base); pointer-events: none; animation: loader-out 500ms ease-out 3.6s both; }   
.loader.is-open { animation: loader-out 500ms ease-out both; }
@keyframes loader-out { to { opacity: 0; visibility: hidden; } }
.loader__in { display: grid; justify-items: center; gap: 1.4em; width: min(84vw, 420px); }
.loader__logo { width: min(58vw, 240px); height: auto; }
.loader__walk { position: relative; display: flex; align-items: flex-end; justify-content: center; gap: 2px; width: min(76vw, 330px); height: min(30vw, 130px); }
.loader__walker { position: relative; height: 100%; aspect-ratio: var(--ar); margin-inline: -4.5%; }
.loader__pose { position: absolute; inset: 0; width: 100%; height: 100%; }
.loader__pose--a { animation: fv-pose-a 500ms step-end var(--ph, 0s) infinite; }
.loader__pose--b { opacity: 0; animation: fv-pose-b 500ms step-end var(--ph, 0s) infinite; }
.loader__ground { position: absolute; left: 0; right: 0; bottom: 2px; z-index: -1; height: 2px; background: repeating-linear-gradient(90deg, var(--color-pale-3) 0 18px, transparent 18px 64px); animation: fv-ground 1s linear infinite; }
.loader__bar { position: relative; width: min(40vw, 160px); height: 3px; overflow: hidden; border-radius: var(--radius-pill); background: var(--color-pale-3); }
.loader__bar::after { content: ""; position: absolute; inset: 0; background: var(--color-main); transform-origin: 0 50%; animation: loader-bar 2100ms var(--ease-out) both; }
@keyframes loader-bar { from { scale: 0 1; } to { scale: 1 1; } }
@media (prefers-reduced-motion: reduce) { .loader { display: none; } .loader__pose--a, .loader__pose--b, .loader__ground { animation: none; } }

.copy {   
  position: relative; font-family: var(--font-ttl); font-weight: 400; font-size: var(--fs-copy);
  line-height: 1.38; letter-spacing: 0.01em; color: var(--color-ink);
}

.copy.pf-char-in { --pf-dist: 1.1em; }
.copy.pf-char-in--from-l, .copy.pf-char-in--from-r, .big-en.pf-char-in--from-l, .big-en.pf-char-in--from-r { --pf-dist: 4em; }
.copy.pf-char-in--drop { --pf-dist: 1.6em; --pf-rot: -24deg; }
.copy.pf-char-in--pop, .big-en.pf-char-in--pop { --pf-from: 0.1; }
.big-en.pf-char-in { --pf-step: 45ms; --pf-dur: 700ms; }
.sec-ttl.pf-char-in { --pf-delay: 350ms; --pf-step: 60ms; }
.free.pf-band-paint { padding: 0 0.12em; --pf-band: var(--color-accent-ink); --pf-delay: 750ms; --pf-dur: 420ms; }
.free.pf-band-paint.is-on { color: var(--color-on-dark); transition: color 0.2s linear calc(var(--pf-delay) + 0.2s); }   
.body.pf-ln-marker { --pf-bar: var(--color-main); --pf-ink: currentColor; --pf-delay: 900ms; --pf-dur: 560ms; }
.body.pf-ln-marker .pf-ln::after { left: 0; right: 0; }   
.copy--md { font-size: var(--fs-copy-md); }
.page[data-tone="dark"] .copy { color: var(--color-on-dark); }
.kw { font-weight: 700; }
.txt { display: grid; gap: var(--sp-p); }
.head { position: relative; display: grid; gap: var(--sp-1); }
.big-en {   
  font-family: var(--font-en); font-weight: 700; font-size: var(--fs-big-en);
  line-height: 1.05; letter-spacing: 0.05em; color: var(--color-main);
}
.page[data-tone="dark"] .big-en { color: var(--color-on-dark-line); }
.job { display: flex; align-items: center; gap: 0.5em; font-weight: 700; font-size: 1.05em; line-height: 1.6; letter-spacing: 0.03em; }   
.job--sq::before { content: ""; flex: none; width: 0.62em; height: 0.62em; border-radius: 2px; background: var(--color-accent); }   
.sec-ttl { font-family: var(--font-head); font-weight: 700; font-size: 1.05em; line-height: 1.5; letter-spacing: 0.03em; color: var(--color-ink); }   
.sec-ttl::before { content: ""; display: inline-block; width: 0.7em; height: 0.7em; margin-right: 0.55em; border-radius: 2px; background: var(--color-accent); translate: 0 -0.06em; }

.copy, .txt, .body, .types, .sheet, .stairs__steps, .voice__txt, .spec__dd, .plate { word-break: keep-all; overflow-wrap: anywhere; }

.page--dense { --fs-base: var(--fs-dense); --lh-body: var(--lh-dense); --sp-g: max(1.05em, 2dvh); --sp-p: max(0.6em, 1dvh); }

.marq { position: absolute; left: 0; right: 0; top: calc(var(--header-h) + 0.3em); z-index: 1; height: 1.1em; overflow: hidden; font-size: clamp(54px, 9.5dvh, 96px); pointer-events: none; }
.marq::before { content: attr(data-t); position: absolute; left: 0; top: 0; white-space: nowrap; font-family: var(--font-en); font-weight: 700; line-height: 1; letter-spacing: 0.02em; color: var(--color-marq); }
.page.is-active .marq::before { animation: marq 40s linear infinite; }
.page[data-tone="dark"] .marq::before { color: var(--color-marq-dark); }
@keyframes marq { to { transform: translateX(-50%); } }
.copy.pf-char-in .pf-c { display: inline-block; }
.copy.pf-char-in.is-on .pf-c {
  animation: pf-dash 460ms cubic-bezier(0.2, 1.5, 0.45, 1) calc(var(--pf-delay) + var(--i, 0) * var(--pf-step)) both, ink 280ms linear calc(var(--pf-delay) + var(--i, 0) * var(--pf-step) + 380ms) both;
}
@keyframes pf-dash {
  0% { opacity: 0; transform: translateX(1.5em) skewX(-28deg); }
  55% { opacity: 1; transform: translateX(-0.14em) skewX(12deg); }
  80% { transform: translateX(0.04em) skewX(-4deg); }
  100% { opacity: 1; transform: none; }
}
@keyframes ink { from { color: var(--off, var(--color-off)); } }
.page[data-tone="dark"] { --off: var(--color-off-dark); }
.page.is-active .ink { animation: ink 320ms linear var(--lt, 0ms) both; }

.page--p5, .page--p7 { background: var(--color-base) var(--dots); }   
.sparks { position: absolute; inset: 0; z-index: 1; pointer-events: none; }
.sparks::after { --spk-w: 12px; --spk-c: var(--color-main-2); }
.sparks::before, .sparks::after {
  content: ""; position: absolute; width: var(--spk-w, 18px); aspect-ratio: 1; background: var(--spk-c, var(--color-accent));
  clip-path: polygon(50% 0, 61% 39%, 100% 50%, 61% 61%, 50% 100%, 39% 61%, 0 50%, 39% 39%);
}
.sparks::before { right: 7%; top: calc(var(--header-h) + 18%); }
.sparks::after { left: 5%; bottom: 14%; }
.page.is-active .sparks::before { animation: spark 2.4s ease-in-out infinite; }
.page.is-active .sparks::after { animation: spark 2.4s ease-in-out -1.2s infinite; }
.page[data-tone="dark"] .sparks::before, .page[data-tone="dark"] .sparks::after { --spk-c: var(--color-on-dark-line); }
.sparks--p3::before { top: calc(var(--header-h) + 40%); }
.sparks--p2::after { bottom: 7%; left: 8%; }
.sparks--p5::before, .sparks--p7::before { top: calc(var(--header-h) + 12%); right: 9%; }
@keyframes spark { 0%, 100% { scale: 0.5; rotate: 0deg; opacity: 0.5; } 50% { scale: 1.15; rotate: 45deg; opacity: 1; } }
@media (prefers-reduced-motion: reduce) {
  .page.is-active .sheet .body::after { animation: none; scale: 1; }
  .page.is-active .marq::before, .copy.pf-char-in.is-on .pf-c, .page.is-active .ink, .page.is-active .sparks::before, .page.is-active .sparks::after { animation: none; }
}

.shape { position: absolute; display: block; filter: url(#grain); --sh-a: var(--color-pale-3); --sh-b: var(--color-pale-2); }
.page[data-tone="dark"] .shape { --sh-a: var(--color-pale-3); --sh-b: var(--color-main-2); opacity: 0.4; }

.page--p1 { background: var(--color-base); --fs-base: var(--fs-dense); --fw-body: 700; --lh-body: 1.7; --sp-p: max(0.45em, 0.8dvh); }
.frame {   
  position: relative; display: grid; grid-template-rows: auto auto 1fr auto; gap: 0.5em; overflow: hidden;
  height: calc(100dvh - var(--header-h) - var(--pad-y) * 2); padding: 1.2em 0.9em 1em; border-radius: var(--radius-l); background: var(--color-frame);
}
.frame .copy { grid-row: 1; justify-self: start; position: relative; z-index: 2; font-size: var(--fs-copy); }   
.free { display: inline-block; color: var(--color-accent-ink); rotate: var(--tilt-a); }
.fv { position: absolute; inset: 0; pointer-events: none; }   
.fv__sky { position: absolute; left: 0; right: 0; top: 24%; height: 16%; overflow: hidden; }
.fv__cloud { position: absolute; width: 24%; animation: fv-cloud var(--t, 40s) linear var(--d, 0s) infinite; }
.fv__cloud svg { display: block; width: 100%; height: auto; aspect-ratio: 160 / 64; --sh-a: var(--color-base); }
.fv__cloud--1 { top: 10%; --t: 46s; --d: -12s; }
.fv__cloud--2 { top: 52%; width: 16%; --t: 60s; --d: -38s; }
@keyframes fv-cloud { from { left: 104%; } to { left: -28%; } }   
.fv__track { position: absolute; left: 0; bottom: 42%; height: 40%; display: flex; align-items: flex-end; gap: 48px; width: max-content; opacity: 0.55; }   
.fv__track-wrap { position: absolute; inset: 0; }
.page.is-active .fv__track { animation: fv-track var(--fv-t, 60s) linear infinite; }
@keyframes fv-track { to { translate: calc(var(--fv-dist, 0px) * -1) 0; } }
.fv__scene { flex: none; width: auto; height: 100%; max-width: none; }
.fv__ground {   
  position: absolute; left: 0; right: 0; bottom: 42%; height: 2px; background: var(--color-pale-3);
}
.fv__ground::after {
  content: ""; position: absolute; left: 0; right: 0; top: 14px; height: 2px;
  background: repeating-linear-gradient(90deg, var(--color-mold) 0 18px, transparent 18px 64px); opacity: 0.5;
}
.page.is-active .fv__ground::after { animation: fv-ground 1.4s linear infinite; }
@keyframes fv-ground { to { background-position: -64px 0; } }
.fv__people { position: absolute; inset: 0; translate: 0 calc(var(--lift, 0px) * -1); }   
.fv__walker { position: absolute; bottom: var(--b); left: var(--x); height: var(--h); aspect-ratio: var(--ar); z-index: var(--z, 2); translate: -50% 0; }
.fv__pose { position: absolute; inset: 0; width: 100%; height: 100%; }
.fv__pose--b { opacity: 0; }
.page.is-active .fv__pose--a { animation: fv-pose-a 500ms step-end var(--ph, 0s) infinite; }
.page.is-active .fv__pose--b { animation: fv-pose-b 500ms step-end var(--ph, 0s) infinite; }
@keyframes fv-pose-a { 0% { opacity: 1; } 50% { opacity: 0; } }
@keyframes fv-pose-b { 0% { opacity: 0; } 50% { opacity: 1; } }
.types { grid-row: 2; position: relative; z-index: 4; display: grid; justify-items: start; gap: 0.3em; }   
.type {
  position: relative; display: block; padding: 0.2em 0.7em; font-weight: 700; font-size: max(var(--fs-min), 0.86em); line-height: 1.5;
  color: var(--color-ink); background: var(--color-base); border-radius: var(--radius-pill);
}

.frame.is-play { animation: fv-bg 500ms ease 1.6s both; }
@keyframes fv-bg { from { background-color: transparent; } }
.frame.is-play .copy { transform-origin: 0 0; animation: fv-copy-move 650ms cubic-bezier(0.7, 0, 0.3, 1) 1.35s both; }
@keyframes fv-copy-move { from { translate: var(--ix, 0) var(--iy, 0); scale: var(--is, 1.3); } to { translate: 0 0; scale: 1; } }
.frame.is-play .copy > * { animation: copy-boom 620ms cubic-bezier(0.3, 1.5, 0.5, 1) 120ms both; }   
@keyframes copy-boom { 0% { opacity: 0; transform: scale(0.2) rotate(-14deg); } 30% { opacity: 1; } 60% { transform: scale(1.12) rotate(4deg); } 100% { opacity: 1; transform: none; } }
.frame.is-play .fv__sky { animation: fv-fade 600ms ease 1.85s both; }
.frame.is-play .fv__track-wrap { animation: fv-up 600ms var(--ease-out) 1.8s both; --fv-from: 16px; }
.frame.is-play .fv__ground { animation: fv-fade 400ms ease 1.8s both; }
.frame.is-play .fv__walker { animation: fv-up 500ms cubic-bezier(0.34, 1.56, 0.64, 1) calc(1.35s + var(--wd)) both; --fv-from: 28px; }
.frame.is-play .type { animation: fv-pop 450ms cubic-bezier(0.34, 1.56, 0.64, 1) calc(1.35s + var(--td)) both; }
.frame.is-play .fv-txt { animation: fv-up 500ms var(--ease-out) 4.35s both; --fv-from: 14px; }   
@keyframes fv-fade { from { opacity: 0; } }
@keyframes fv-up { from { opacity: 0; transform: translateY(var(--fv-from, 14px)); } }
@keyframes fv-pop { from { opacity: 0; transform: translateY(10px) scale(0.7); } }
.fv__walker:nth-child(1) { --wd: 700ms; }
.fv__walker:nth-child(4) { --wd: 800ms; }
.fv__walker:nth-child(2) { --wd: 900ms; }
.fv__walker:nth-child(5) { --wd: 1000ms; }
.fv__walker:nth-child(3) { --wd: 1100ms; }
.fv__walker:nth-child(6) { --wd: 1200ms; }
.type:nth-child(1) { --td: 1350ms; }
.type:nth-child(2) { --td: 1500ms; }
.type:nth-child(3) { --td: 1650ms; }
.page--p1 .copy { --pf-step: 28ms; }
.page--p1 .body:last-child { color: var(--color-main); }   
.fv-txt { grid-row: 4; position: relative; z-index: 4; gap: 0.5em; line-height: 1.75; }   
.fv-txt .ln { display: inline; padding: 0.18em 0.45em; background: var(--color-band); -webkit-box-decoration-break: clone; box-decoration-break: clone; }
@media (prefers-reduced-motion: reduce) {
  .fv__cloud, .page.is-active .fv__track, .page.is-active .fv__ground::after, .page.is-active .fv__pose--a, .page.is-active .fv__pose--b { animation: none; }
}

.page--p2 { --fw-body: 700; --lh-body: 1.8; --sp-g: max(1.2em, 2.6dvh); }
.page--p2 .txt { text-align: center; }   
.page--p2 .plate { align-self: center; }
.page--p2::after {   
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 44px; z-index: 1;
  background:
    radial-gradient(58% 100% at 20% 100%, var(--color-main-deep) 97%, transparent 100%),
    radial-gradient(52% 80% at 84% 100%, var(--color-main-deep) 97%, transparent 100%);
}
.shapes { position: absolute; inset: 0; z-index: 1; overflow: hidden; pointer-events: none; }
.shape--a { width: 118px; height: 118px; top: calc(var(--header-h) + 6px); right: -34px; --pf-dur: 4.2s; }
.shape--b { width: 76px; height: 76px; top: 46%; right: -26px; --pf-dur: 3.4s; --pf-delay: -1s; }
.shape--c { width: 70px; height: 70px; bottom: 12%; left: -24px; --pf-dur: 3.8s; --pf-delay: -2s; }
.shape--d { width: 128px; height: 55px; bottom: 7%; right: -18px; --pf-dur: 4.6s; --pf-delay: -0.6s; }
.copy--brk { position: relative; justify-self: center; align-self: center; padding: 0.55em 0.9em 0.5em; text-align: center; }   
.copy--brk::before, .copy--brk::after {   
  content: ""; position: absolute; width: 1.3em; height: 1.3em;
  background: radial-gradient(circle, var(--color-on-dark-line) 1.5px, transparent 2px) 0 0 / 7px 7px;
}
.copy--brk::before { top: 0; left: 0; clip-path: polygon(0 0, 100% 0, 100% 7px, 7px 7px, 7px 100%, 0 100%); }
.copy--brk::after { right: 0; bottom: 0; clip-path: polygon(100% 100%, 0 100%, 0 calc(100% - 7px), calc(100% - 7px) calc(100% - 7px), calc(100% - 7px) 0, 100% 0); }
.copy--brk .ln { display: block; }
.kachi { display: inline-flex; gap: 0.08em; --pf-delay: 250ms; --pf-from-scale: 1.6; --pf-from-rotate: 0deg; }
.kc { display: grid; place-items: center; width: 1.22em; height: 1.22em; line-height: 1; border: 1.5px solid var(--color-on-dark-line); border-radius: 3px; }
.yuru { display: inline-flex; margin-left: 0.12em; }   
.yc { --pf-power: 1.2; }
.yc:nth-child(1) { rotate: -7deg; translate: 0 0.06em; --pf-delay: 650ms; }
.yc:nth-child(2) { rotate: 5deg; translate: 0 -0.08em; --pf-delay: 730ms; }
.yc:nth-child(3) { rotate: -4deg; translate: 0 0.05em; --pf-delay: 810ms; }
.yc:nth-child(4) { rotate: 6deg; translate: 0 -0.06em; --pf-delay: 890ms; }
.yc:nth-child(5) { rotate: -3deg; --pf-delay: 970ms; }
.plate { position: relative; align-self: flex-start; display: inline-block; padding: 0 1.6em; font-family: var(--font-head); font-weight: 700; font-size: 1.2em; line-height: 1.5; }
.plate::before, .plate::after {   
  content: ""; position: absolute; top: 15%; width: 2px; height: 70%; border-radius: 2px; background: var(--color-on-dark-line);
}
.plate::before { left: 0.5em; rotate: -28deg; }
.plate::after { right: 0.5em; rotate: 28deg; }

.head--fig { grid-template-columns: 1fr 34%; column-gap: 0.5em; align-items: start; }
.head--fig > :not(figure) { grid-column: 1; }
.head--fig > figure { grid-column: 2; grid-row: 1 / span 3; }
.page--p3 .head--fig > figure { grid-row: 1 / span 2; }
.grp { display: grid; gap: var(--sp-1); }
.lead { font-weight: 700; }
.scatter { position: absolute; inset: 0; z-index: 1; overflow: hidden; pointer-events: none; }
.scatter .shape { width: 74px; height: 74px; --sh-a: var(--color-main-2); --sh-b: var(--color-pale-3); opacity: 0.4; }   
.page:not([data-tone="dark"]) .scatter .shape:nth-child(2) { --sh-a: var(--color-accent); --sh-b: var(--color-accent-pale); }   
.shout {   
  display: inline-block; margin-top: 0.55em; padding: 0.28em 0.8em 0.3em; font-family: var(--font-head); font-weight: 700; font-size: 1.12em; line-height: 1.45;
  color: var(--color-main); background: var(--color-on-dark); border-radius: var(--radius-s); box-shadow: 4px 4px 0 var(--color-main-deep);
}
.closing { font-family: var(--font-head); font-weight: 700; color: var(--color-main); }   
.closing .ln:first-child::before { content: ""; display: inline-block; width: 0.55em; height: 0.55em; margin-right: 0.45em; border-radius: 2px; background: var(--color-accent); translate: 0 -0.08em; }
.tint { color: var(--color-main); font-weight: 700; }   
.copy--step .ln + .ln { padding-left: 2em; }   

.page--p3::before {   
  content: ""; position: absolute; left: 0; right: 0; top: var(--header-h); height: 34px; z-index: 1;
  background:
    radial-gradient(60% 100% at 22% 0, var(--color-main-3) 97%, transparent 100%),
    radial-gradient(55% 80% at 82% 0, var(--color-main-3) 97%, transparent 100%);
}
.page--p3 .job--sq::before { background: var(--color-on-dark); }
.page--p3 .head--fig { grid-template-columns: 1fr 27%; }
.page--p3 { --lh-body: 1.58; --fs-copy-md: calc(var(--fs-copy) * 0.84); }

@media (min-height: 720px) {
  .page--p3 { --lh-body: 1.78; --sp-p: max(0.85em, 1.5dvh); }
  .page--p3 .grp { gap: 0.65em; }
  .page--p3 .tags { gap: 0.4em; }
  .page--p3 .shout { margin-top: 0.8em; }
}
.card-fig {   
  position: relative; align-self: end; aspect-ratio: 1; margin: 0;
  border-radius: var(--radius-m); background: var(--color-frame);
}
.card-fig__img { position: absolute; left: -12%; bottom: -6%; width: 124%; height: auto; max-width: none; --pf-radius: 0px; --pf-zoom: 1.06; }
.tags { display: grid; grid-template-columns: 1fr 1fr; gap: 0.3em; --pf-delay: 200ms; }
.tags li {   
  display: flex; align-items: center;
  padding: 0.6em 0.9em; font-weight: 700; font-size: var(--fs-min); line-height: 1.4;
  color: var(--color-on-dark); border-radius: 12px; background: var(--color-main-deep);   
}
.scatter--p3 .sc--1 { width: 110px; height: 47px; right: -30px; bottom: 9%; --pf-dur: 4.4s; }
.scatter--p3 .sc--2 { width: 64px; height: 64px; left: -26px; bottom: 30%; --pf-dur: 3.6s; --pf-delay: -1.2s; }

.page--p4 { background: var(--color-pale) var(--dots); }
.circle-fig { position: relative; align-self: start; aspect-ratio: 1; margin: 0.6em 0 0; }
.circle-fig__bg { position: absolute; inset: 0; border-radius: 50%; background: var(--color-main); filter: url(#grain); --pf-x: 50%; --pf-y: 100%; }
.circle-fig__img { position: absolute; left: -8%; bottom: 0; width: 116%; height: auto; max-width: none; clip-path: inset(-40% 0 8% 0 round 0 0 50% 50%); --pf-rise: 16px; --pf-delay: 450ms; }
.lamp {   
  position: absolute; display: grid; place-items: center; width: 34%; aspect-ratio: 1; border-radius: 30%; filter: url(#grain);
  --pf-on-bg: var(--color-accent); --pf-on-fg: var(--color-base); --pf-off-bg: var(--color-pale-3); --pf-off-fg: var(--color-main); --pf-off-opacity: 1; --pf-dur: 3s;
}
.lamp svg { width: 66%; height: 66%; --sh-a: transparent; --sh-b: currentColor; }
.lamp--light { left: -16%; bottom: 2%; rotate: var(--tilt-a); }
.lamp--plug { right: -8%; bottom: -12%; rotate: var(--tilt-b); --pf-delay: -1.5s; }
.scatter--p4 .sc--3 { right: -24px; bottom: 16%; --pf-dur: 3.8s; }
.scatter--p4 .sc--4 { width: 110px; height: 47px; left: -36px; bottom: 4%; --pf-dur: 4.4s; --pf-delay: -2s; }

.page--p5 .copy { --pf-step: 34ms; }
.stairs { position: relative; display: grid; align-items: center; min-height: 19dvh; padding: 0.3em 0; }
.stairs__steps-bg { position: absolute; right: 0; bottom: 0; width: 44%; height: auto; aspect-ratio: 300 / 120; overflow: visible; }
.stairs__fill { fill: var(--color-pale-2); filter: url(#grain); }
.stairs__edge { fill: none; stroke: var(--color-main); stroke-width: 2.4; stroke-linejoin: round; --pf-delay: 300ms; }
.stairs__man { position: absolute; right: 2%; bottom: calc(44% * 120 / 300 * 0.98); width: 20%; height: auto; --pf-delay: 700ms; }
.stairs__steps { position: relative; display: grid; gap: 0; max-width: 62%; font-weight: 700; line-height: 1.6; }
.stairs__steps::before { content: ""; position: absolute; left: 0.95em; top: 0.9em; bottom: 0.9em; width: 3px; background: var(--color-accent); }   
.stairs__steps li { position: relative; padding: 0.35em 0 0.35em 2.6em; min-height: 2.1em; }
.stairs__steps li + li { border-top: 1px dashed var(--color-mold); }   
.num {
  position: absolute; left: 0; top: 0.35em; display: grid; place-items: center; width: 2em; height: 2em; border-radius: 50%;
  font-family: var(--font-en); font-weight: 700; font-size: max(var(--fs-min), 0.95em); line-height: 1; color: var(--color-on-dark); background: var(--color-main);
}
.stamp {   
  justify-self: start; align-self: flex-start; padding: 0.4em 0.9em; font-family: var(--font-head); font-size: 1.05em; line-height: 1.5; letter-spacing: 0.03em;
  color: var(--color-on-dark); background: var(--color-main); border-radius: var(--radius-s); --pf-delay: 1100ms;   
}
.stamp .kw { font-weight: 700; }

.page--p6 { background: var(--color-pale) var(--dots); }
.copy--vs { color: var(--color-main); }
.copy--vs .ln { display: block; }
.copy--vs .ln:first-child { font-size: 0.72em; }   
.copy--vs .ln:last-child { font-size: 1.12em; }   
.vs { display: inline-block; padding: 0 0.12em; border-radius: var(--radius-s); --pf-dur: 4s; --pf-off-opacity: 1;
  --pf-on-bg: var(--color-main); --pf-on-fg: var(--color-on-dark); --pf-off-bg: transparent; --pf-off-fg: var(--color-main); }
.sheet {   
  position: relative; display: grid; gap: var(--sp-p); margin-top: 0.7em; padding: 1.5em 1.1em 1em; border-radius: 14px; background: var(--color-base);
  rotate: -1.2deg; box-shadow: 7px 7px 0 var(--color-pale-3);
}
.sheet__tag { position: absolute; left: 1.1em; top: 0.55em; font-family: var(--font-en); font-weight: 700; font-size: var(--fs-min); line-height: 1; letter-spacing: 0.12em; color: var(--color-main-2); }
.sheet .body { position: relative; padding-left: 1.75em; }
.sheet .body::before { content: ""; position: absolute; left: 0; top: 0.32em; width: 1.05em; height: 1.05em; border-radius: 3px; box-shadow: inset 0 0 0 2px var(--color-main); }   
.sheet .body::after { content: ""; position: absolute; left: 0.32em; top: 0.38em; width: 0.4em; height: 0.72em; border: solid var(--color-accent); border-width: 0 3px 3px 0; rotate: 40deg; transform-origin: 50% 100%; scale: 0; }   
.page.is-active .sheet .body::after { animation: tick 360ms cubic-bezier(0.34, 1.56, 0.64, 1) both; }
.page.is-active .sheet .body:nth-of-type(2)::after { animation-delay: 700ms; }
.page.is-active .sheet .body:nth-of-type(3)::after { animation-delay: 1000ms; }
.page.is-active .sheet .body:nth-of-type(4)::after { animation-delay: 1300ms; }
@keyframes tick { from { scale: 0; } to { scale: 1; } }
.sheet .body + .body { padding-top: var(--sp-p); border-top: 1.5px dashed var(--color-pale-3); }   
.sheet .body + .body::before { top: calc(var(--sp-p) + 0.32em); }
.sheet .body + .body::after { top: calc(var(--sp-p) + 0.38em); }

.em { font-weight: 700; color: var(--color-main); }
.em-ink { font-weight: 700; color: var(--color-ink); }
.mkr { font-weight: 700; color: var(--color-ink); background: linear-gradient(transparent 60%, var(--color-accent-pale) 60%); }
.page[data-tone="dark"] .em, .page[data-tone="dark"] .em-ink { color: var(--color-on-dark); text-decoration: underline 2px var(--color-on-dark-line); text-underline-offset: 0.3em; }   
.page[data-tone="dark"] .mkr { color: var(--color-on-dark); background: linear-gradient(transparent 62%, var(--color-accent-ink) 62%); }
.voice { position: relative; display: grid; grid-template-columns: 30% 1fr; align-items: end; gap: 0.4em 0.7em; }
.balloon {   
  grid-column: 1 / -1; position: relative; justify-self: start; padding: 0.35em 0.85em; font-weight: 700; line-height: 1.5;
  color: var(--color-on-dark); background: var(--color-main); border-radius: var(--radius-s);
}
.balloon::after { content: ""; position: absolute; left: 2.2em; bottom: -7px; border: 7px solid transparent; border-top-color: var(--color-main); border-bottom-width: 0; }
.voice__img { width: 100%; height: auto; }
.voice__txt { padding-bottom: 0.4em; }

.hill { position: relative; margin-inline: calc(var(--gutter) * -1); padding: 0 var(--gutter); }
.hill::before {   
  content: ""; position: absolute; left: -10%; right: -10%; top: 50%; bottom: -40dvh; z-index: 0;
  border-radius: 50% 50% 0 0 / 60px 60px 0 0; background: var(--color-pale-2) var(--dots);
}
.hill__img { position: relative; z-index: 1; width: 100%; height: auto; --pf-dur: 4.2s; --pf-angle: 1.5deg; }

.page--p8 { background: var(--color-pale) var(--dots); }
.page--p8 .copy { color: var(--color-main); }
.copy--big2 .ln:last-child { font-size: 1.3em; }   
.board { display: grid; gap: var(--sp-p); padding: 0 1em 1em; border-radius: 20px; background: var(--color-base); overflow: hidden; }
.road { margin: 0 -1em; aspect-ratio: 900 / 300; background: var(--color-pale-2); }
.road__img { position: absolute; left: 0; bottom: 0; width: 100%; height: auto; }
.route { position: absolute; left: 0; top: 4%; width: 100%; height: 46%; overflow: visible; }
.route path { fill: none; stroke: var(--color-accent); stroke-width: 2; stroke-dasharray: 0.02 0.02; --pf-dur: 1400ms; --pf-delay: 300ms; }
.road__van { --pf-w: 30%; --pf-b: 1%; --pf-t: 9s; --pf-x0: -32%; --pf-x1: 104%; }
.pin {
  position: absolute; width: 12px; height: 12px; border-radius: 50%; background: var(--color-accent);
  --pf-ring: var(--color-accent); --pf-ring-2: var(--color-accent); --pf-spread: 2.4;
}
.pin--1 { left: 12%; top: 34%; }
.pin--2 { left: 52%; top: 22%; --pf-delay: 1.4s; }
.pin--3 { left: 86%; top: 28%; --pf-delay: 0.7s; }

.page--company { background: var(--color-pale) var(--dots); }
.spec { display: grid; gap: 0; }
.spec__row { display: grid; grid-template-columns: 6.4em 1fr; align-items: start; gap: 0.9em; padding: 0.7em 0; }
.spec__row + .spec__row { border-top: 1px solid var(--color-line); }
.spec__dt {
  display: grid; place-items: center; min-height: 2em; padding: 0.15em 0.4em; font-weight: 700; font-size: max(var(--fs-min), 0.9em); line-height: 1.4;
  color: var(--color-ink); background: var(--color-frame); border-radius: 4px;   
}
.spec__dd { padding-top: 0.2em; font-weight: 500; line-height: 1.7; }
.parade { position: relative; margin: 0 calc(var(--gutter) * -1); padding: 0 var(--gutter); }
.parade::before {   
  content: ""; position: absolute; left: -10%; right: -10%; top: 55%; bottom: -40dvh;
  border-radius: 50% 50% 0 0 / 50px 50px 0 0; background: var(--color-pale-2) var(--dots);
}
.parade__img { position: relative; width: 86%; height: auto; margin-inline: auto; --pf-delay: 400ms; }

.page--req .page__inner, .page--entry .page__inner { gap: 1.4em; }
.jobtabs { display: grid; grid-template-columns: 1fr 1fr; gap: 0.5em; padding: 0.45em; border-radius: var(--radius-m); background: var(--color-pale-2); }
.jobtab {
  min-height: 48px; padding: 0.4em 0.5em; font: inherit; font-weight: 700; line-height: 1.4; color: var(--color-main);
  background: transparent; border: 0; border-radius: calc(var(--radius-m) - 4px); cursor: pointer;
}
.jobtab.is-sel { color: var(--color-on-dark); background: var(--color-main); }
.spec--req { border-top: 1px solid var(--color-line); }
.spec--req .spec__row { padding: 0.95em 0; border-top: 0; border-bottom: 1px solid var(--color-line); }
.jobpanel { display: grid; gap: 0.3em; }
.jobpanel[hidden] { display: none; }
.jobpanel__ttl { font-weight: 700; color: var(--color-main); }
.sep { margin-inline: 0.15em; color: var(--color-main); }
.sep.is-eol { visibility: hidden; }   
.jobname__sep { display: none; }   
.welfare { display: grid; gap: 0.1em; }

.big-en--entry { color: var(--color-main); }
.page--entry .form { gap: var(--sp-g); }
.page--entry .field { gap: var(--sp-1); }
.badge {
  margin-left: 0.2em; padding: 0.05em 0.55em; font-size: var(--fs-min); line-height: 1.5; color: var(--color-on-dark);
  background: var(--color-accent-ink); border-radius: var(--radius-pill);
}
.badge--opt { color: var(--color-main); background: var(--color-pale-2); }
.page--entry .form__submit { display: inline-flex; align-items: center; justify-content: center; gap: 0.6em; width: 100%; border-radius: var(--radius-m); }
.form__ar { width: 1.1em; height: 1.1em; }

.rail-deco { position: absolute; inset: 0; z-index: 0; overflow: hidden; pointer-events: none; --sh-a: var(--color-pale-3); --sh-b: var(--color-pale-2); }
.rail-logo, .rail-side { position: relative; z-index: 1; }
.rail--left .rail-logo {   
  position: absolute; top: 0; left: 0; width: min(300px, 24vw); padding: 18px 22px 20px; gap: 10px;
  background: var(--color-main); border-radius: 0 0 30px 0;
}
.rail-logo__plate { display: block; padding: 10px 14px; border-radius: var(--radius-m); background: var(--color-base); }
.rail--left .rail-logo__en { color: var(--color-on-dark); font-size: 13px; }
.rail--left .rail-logo__jobs { color: var(--color-on-dark); font-size: 14px; line-height: 1.6; }
.sun { position: absolute; left: 60%; top: 17%; width: min(120px, 9vw); aspect-ratio: 1; border-radius: 50%; background: var(--color-accent); filter: url(#grain); --pf-dur: 6s; }
.sky { position: absolute; left: 0; right: 0; top: 24%; height: 24%; }
.cloud svg { width: 100%; height: auto; --sh-a: var(--color-base); }
.cloud--1 { --pf-w: 34%; --pf-b: 46%; --pf-t: 42s; --pf-d: -9s; --pf-x0: -36%; --pf-x1: 104%; }
.cloud--2 { --pf-w: 22%; --pf-b: 6%; --pf-t: 58s; --pf-d: -30s; --pf-x0: -36%; --pf-x1: 104%; }
.cloud--3 { --pf-w: 26%; --pf-b: 30%; --pf-t: 50s; --pf-d: -20s; --pf-x0: -30%; --pf-x1: 104%; }
.hill-b, .hill-f { position: absolute; bottom: 0; border-radius: 50% 50% 0 0 / 100% 100% 0 0; }
.hill-b { left: -20%; width: 110%; height: 30%; background: var(--color-pale-3); }
.hill-f { right: -25%; width: 120%; height: 22%; background: var(--color-pale-2) var(--dots); }
.hill-b--r { left: auto; right: -20%; }
.hill-f--r { right: auto; left: -25%; }
.rail-team { position: absolute; left: 9%; bottom: 7%; width: min(340px, 27vw); height: auto; --pf-dur: 5s; --pf-angle: 1deg; }
.shape--r1 { width: 92px; height: 92px; left: 9%; top: 42%; --pf-dur: 4.4s; }
.shape--r2 { width: 64px; height: 64px; right: 12%; top: 52%; --pf-dur: 3.6s; --pf-delay: -1.4s; }
.shape--r4 { width: 78px; height: 78px; left: 12%; top: 40%; --pf-dur: 4s; --pf-delay: -0.8s; }
.poles { position: absolute; right: 10%; bottom: 13%; width: min(300px, 24vw); height: auto; overflow: visible; }
.poles rect { fill: var(--color-main-2); }
.poles path { fill: none; stroke: var(--color-main-2); stroke-width: 2; --pf-dur: 1200ms; --pf-delay: 400ms; }
.pole-lamp { position: absolute; right: calc(10% + min(300px, 24vw) * 0.82); bottom: calc(13% + min(300px, 24vw) * 0.8); width: 12px; height: 12px; border-radius: 50%; background: var(--color-accent); --pf-ring: var(--color-accent); --pf-ring-2: var(--color-accent-pale); --pf-spread: 2.2; }
.road-r { position: absolute; left: 0; right: 0; bottom: 2%; height: 12%; }
.van-r { --pf-w: 32%; --pf-b: 0%; --pf-t: 16s; --pf-x0: 104%; --pf-x1: -40%; }
.rail--right .rail-side { align-self: start; margin-top: 16dvh; }
.rail-side__now { color: var(--color-main); }
.rail-prog {   
  position: absolute; z-index: 1; right: 40px; top: 50%; translate: 0 -50%; display: grid; gap: 14px; padding: 0; margin: 0;
}
.rail-prog::before { content: ""; position: absolute; left: 50%; top: 6px; bottom: 6px; width: 2px; translate: -50% 0; background: var(--color-pale-3); }
.rail-prog li { position: relative; width: 10px; height: 10px; border-radius: 50%; background: var(--color-pale-3); transition: background var(--dur-hover) ease, scale var(--dur-hover) ease; }
.rail-prog li.is-now { background: var(--color-accent); scale: 1.6; box-shadow: 0 0 0 2px var(--color-base); }

@media (min-height: 1000px) {
  :root { --fs-copy: 2.05em; --fs-copy-md: 1.8em; }
  .stairs { min-height: 25dvh; }
  .voice { grid-template-columns: 34% 1fr; }
  .road { aspect-ratio: 900 / 360; }
  .page--company .spec__row { padding-block: 1.05em; }
}

@media (max-height: 700px) {
  .sheet { margin-top: 0.55em; padding-top: 1.25em; }
  .page--p6 .voice { grid-template-columns: 21% 1fr; }
}

@media (max-height: 600px) {
  .head--fig { grid-template-columns: 1fr 28%; }
  .voice { grid-template-columns: 20% 1fr; }
  .hill__img { width: 66%; margin-inline: auto; }
  .page--dense { --lh-body: 1.55; --sp-p: 0.4em; }
  .page--p3 { --lh-body: 1.4; --sp-p: 0.25em; --sp-g: 0.55em; }
  .page--p3 .shout { margin-top: 0.3em; padding-block: 0.12em; }
}
