/* ============================================================
   JINJIB RECRUIT — demo site v2 (big photos, diagonal "door" stripes, motion)
   Tokens first. Use tokens, not raw values.
   ============================================================ */
:root {
  --sky: #21becf;
  --sky-deep: #00a0bd;
  --sky-ink: #00748a;
  --sky-pale: #dff4f7;
  --sky-mist: #eef3f5;          /* soft section background (cool grey) */
  --pink: #f17091;
  --green: #7fc341;
  --yellow: #faaf18;
  --purple: #be69ab;
  --salmon: #f39679;
  --pink-pale: #fde6ed;
  --green-pale: #ecf6e1;
  --yellow-pale: #fff1d6;
  --purple-pale: #f5e6f1;
  --salmon-pale: #fdebe4;

  --ink: #14262f;               /* text + plates */
  --ink-2: #33474f;
  --ink-3: #62757d;
  --white: #fff;
  --line: #d3dde1;

  --f-en: "Montserrat", "Noto Sans JP", sans-serif;
  --f-jp: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif;

  --fs-giant: clamp(72px, 11vw, 180px);
  --fs-display: clamp(64px, 8.6vw, 140px);
  --fs-h2: clamp(32px, 3.4vw, 54px);
  --fs-h3: clamp(24px, 2.3vw, 36px);
  --fs-h4: 24px;
  --fs-lead: 19px;
  --fs-body: 17px;
  --fs-small: 15px;
  --fs-caption: 12px;

  --gut: 56px;
  --maxw: 1320px;
  --r-xl: 6px;
  --r-lg: 6px;
  --r-md: 4px;
  --r-sm: 3px;
  --sec: 170px;
  --hd-h: 92px;                /* floating header: 14 top + 68 capsule + 10 */
  --bar-h: 68px;               /* phone CTA bar: 8 + 52 + 8 */
  --head: #008fac;             /* English titles: brand light blue, readable on white */
  --arrow: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2314262f' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14M13 6l6 6-6 6'/%3E%3C/svg%3E");
  --arrow-ext: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2314262f' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M7 17 17 7M9 7h8v8'/%3E%3C/svg%3E");
  --cut: polygon(0 0, 100% 0, 100% calc(100% - 12%), 88% 100%, 0 100%);
}
@media (max-width: 1024px) { :root { --sec: 130px; --gut: 36px; --fs-lead: 18px; } }
@media (max-width: 640px) { :root { --fs-h4: 20px; --fs-lead: 16px; --fs-body: 16px; --fs-small: 14px; --gut: 24px; --sec: 96px; --hd-h: 76px; } }

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; font-variant-numeric: lining-nums; }
body { margin: 0; font-family: var(--f-jp); font-weight: 500; font-size: var(--fs-body); line-height: 2; letter-spacing: .05em; color: var(--ink); background: var(--white); overflow-x: clip; }
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
p, h1, h2, h3, h4, ul, ol, dl, dd, figure { margin: 0; padding: 0; }
ul, ol { list-style: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
:focus-visible { outline: 3px solid var(--sky-deep); outline-offset: 3px; }
.phr main, .phr footer { word-break: keep-all; overflow-wrap: anywhere; }
.phr .txt-flow { word-break: normal; line-break: strict; text-wrap-style: pretty; }
.rcard__ttl, .pcard__ttl, .want h3, .hs__txt p, .vals li p, .jobnav__txt, .case h3 { text-wrap: balance; }
.nw { white-space: nowrap; }
.ln { display: block; }
.sp-only { display: none; }
@media (max-width: 640px) { .sp-only { display: inline; } br.sp-only { display: block; } .pc-only { display: none; } }
.vh { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
[hidden] { display: none !important; }

.wrap { width: 100%; max-width: calc(var(--maxw) + var(--gut) * 2); margin: 0 auto; padding: 0 var(--gut); }
.wrap--narrow { max-width: calc(940px + var(--gut) * 2); margin-inline: auto; }
.sec { position: relative; padding: var(--sec) 0; }
.sec--mist { background: var(--sky-mist); }
.sec--sky { background: var(--sky); }
.sec--ink { background: var(--ink); color: var(--white); }
.sec--tight { padding-top: calc(var(--sec) * .55); padding-bottom: calc(var(--sec) * .55); }

/* category colour: set --c on a block */
.c-about { --c: var(--sky); --cp: var(--sky-pale); }
.c-business { --c: var(--green); --cp: var(--green-pale); }
.c-work { --c: var(--yellow); --cp: var(--yellow-pale); }
.c-people { --c: var(--pink); --cp: var(--pink-pale); }
.c-culture { --c: var(--purple); --cp: var(--purple-pale); }
.c-join { --c: var(--salmon); --cp: var(--salmon-pale); }
.k-sky { --c: var(--sky); --cp: var(--sky-pale); }
.k-pink { --c: var(--pink); --cp: var(--pink-pale); }
.k-green { --c: var(--green); --cp: var(--green-pale); }
.k-yellow { --c: var(--yellow); --cp: var(--yellow-pale); }
.k-purple { --c: var(--purple); --cp: var(--purple-pale); }
.k-salmon { --c: var(--salmon); --cp: var(--salmon-pale); }

/* diagonal section edge (the "cut" motif). Never over text: it only fills the top 70px */
.curve-t { position: relative; }
.curve-t::before { content: ""; position: absolute; left: 0; right: 0; top: -1px; height: 72px; background: var(--before, var(--white)); clip-path: polygon(0 0, 100% 0, 100% 0, 0 100%); pointer-events: none; }
.curve-b { position: relative; }
@media (max-width: 640px) { .curve-t::before { height: 36px; } }

/* ---------- labels & titles ---------- */
/* Japanese labels are plain bold text: no decorative marks before them (DESIGN_RULES 12-14) */
.label { display: inline-flex; align-items: center; gap: 12px; font-size: 15px; font-weight: 900; letter-spacing: .1em; line-height: 1.5; color: var(--ink); }
.ttl { display: grid; gap: 10px; justify-items: start; margin-bottom: 64px; }
.ttl__ja { order: -1; display: inline-flex; align-items: center; gap: 12px; font-size: 15px; font-weight: 900; letter-spacing: .1em; line-height: 1.5; color: var(--ink); }
/* English section and page titles: the brand light blue, bold (DESIGN_RULES 1-3) */
.ttl__en { font-family: var(--f-en); font-weight: 800; font-size: var(--fs-display); line-height: .95; letter-spacing: -.01em; color: var(--head); white-space: nowrap; }
.ttl--center { justify-items: center; text-align: center; }
.ttl--white .ttl__en, .ttl--white .ttl__ja { color: var(--white); }
.h2 { font-size: var(--fs-h2); font-weight: 900; line-height: 1.45; letter-spacing: .03em; }
.h3 { font-size: var(--fs-h3); font-weight: 900; line-height: 1.5; letter-spacing: .03em; }
.h4 { font-size: var(--fs-h4); font-weight: 900; line-height: 1.55; }
.lead { font-size: var(--fs-lead); line-height: 2; color: var(--ink-2); }
.prose > p + p { margin-top: 1lh; }
.prose p { color: var(--ink-2); }
.note { font-size: var(--fs-caption); color: var(--ink-3); line-height: 1.7; }
.kari { display: inline-block; font-size: var(--fs-caption); font-weight: 700; color: var(--ink); background: var(--yellow-pale); padding: 0 8px; line-height: 1.9; letter-spacing: .04em; border-radius: var(--r-md); }
/* Plates (zabuton) rule for every plate on the site:
   one line = one plate, a plate never wraps inside; lines are broken by hand (one span per line, pc-only/sp-only when they differ);
   font sizes are fluid so the longest line fits at 320-1440px; padding .1em .45em .14em, stacked gap .18em.
   tools/plate-audit.ps1 must report 0 (pghero__en OVER is the intended overlap onto the photo). */
.plates { display: grid; justify-items: start; gap: .18em; font-weight: 900; line-height: 1.45; letter-spacing: .04em; }
.plates > span { background: var(--ink); color: var(--white); padding: .1em .45em .14em; white-space: nowrap; }
/* proportional kana and punctuation inside every plate, so a line ending in 、。 does not leave a wide right margin */
.plates, .entry__ttl, .hero2__catch, .pghero__ttl, .stmt__big, .jobnav__lbl, .jobnav__txt, .hs__txt p, .st__meta { font-feature-settings: "palt"; }
.plates em { font-style: normal; color: var(--yellow); }
@media (max-width: 640px) {
  .ttl { justify-items: center; text-align: center; margin-bottom: 44px; }
  .center-sp { text-align: center; }
}

/* ---------- buttons: ink pill + round arrow (DESIGN_RULES 6). Everything that looks pressable is a link ---------- */
.btn { --bg: var(--ink); --fg: var(--white); --sq: var(--sky);
  position: relative; display: inline-flex; align-items: center; min-height: 60px; padding: 0 76px 0 30px; border-radius: 999px; background: var(--bg); color: var(--fg); font-weight: 900; font-size: 16px; line-height: 1.4; letter-spacing: .08em; transition: background-color .25s; }
.btn::after { content: ""; position: absolute; right: 8px; top: 50%; width: 44px; height: 44px; margin-top: -22px; border-radius: 50%; background: var(--sq) var(--arrow) center / 18px no-repeat; transition: transform .3s cubic-bezier(.3, 1.4, .5, 1); }
.btn:hover::after { transform: translateX(3px); }
.btn--entry { --sq: var(--yellow); }
.btn--white { --bg: var(--white); --fg: var(--ink); --sq: var(--sky); }
.btn--sm { min-height: 50px; padding: 0 60px 0 22px; font-size: 15px; }
.btn--sm::after { width: 36px; height: 36px; margin-top: -18px; right: 7px; background-size: 15px; }
.btn--ext::after { background-image: var(--arrow-ext); }
.btns { display: flex; flex-wrap: wrap; gap: 16px; }
.btns--center { justify-content: center; }
/* phone full-width buttons: the label is centred in the space left of the arrow (padding 72 / 32), not in the whole pill */
@media (max-width: 640px) {
  .btns { flex-direction: column; align-items: stretch; width: 100%; }
  .btns .btn, .btn--block-sp { width: 100%; justify-content: center; padding: 0 72px 0 32px; letter-spacing: .04em; }
}
.more { display: inline-flex; align-items: center; gap: 14px; font-weight: 900; color: var(--ink); }
.more::after { content: ""; width: 40px; height: 40px; border-radius: 50%; background: var(--sky) var(--arrow) center / 16px no-repeat; flex: none; transition: transform .3s; }
.more:hover::after { transform: translateX(4px); }
.chip { display: inline-flex; align-items: center; font-size: 13px; font-weight: 900; line-height: 1.5; padding: 3px 12px; border-radius: var(--r-md); background: var(--c, var(--sky)); color: var(--ink); letter-spacing: .04em; white-space: nowrap; }
.chip--pale { background: var(--cp, var(--sky-pale)); }
.chip--white { background: var(--white); }
.chip--ink { background: var(--ink); color: var(--white); }

/* ---------- header: a floating capsule, detached from the screen edges (no full-width band).
   logo | chapter menu | two pill CTAs | round menu button. Frosted so it stays readable over photos and dark sections. ---------- */
.hd { position: fixed; z-index: 50; top: 14px; left: max(20px, env(safe-area-inset-left, 0px)); right: max(20px, env(safe-area-inset-right, 0px)); height: 68px; display: flex; align-items: center; gap: 24px; padding: 0 10px 0 28px; border-radius: 999px; background: rgba(255, 255, 255, .86); -webkit-backdrop-filter: blur(14px) saturate(1.4); backdrop-filter: blur(14px) saturate(1.4); will-change: transform; }
.hd__logo { display: flex; align-items: center; gap: 14px; flex: none; }
/* the logo file carries ~35% transparent space on its right: pull the label in so the gap looks even */
.hd__logo img { width: 150px; height: auto; margin-right: -53px; }
.hd__site { font-family: var(--f-en); font-size: 11px; font-weight: 800; line-height: 1.3; letter-spacing: .1em; color: var(--ink); }
.hd__nav { display: flex; align-items: center; gap: 2px; margin-left: auto; }
.hd__nav a { display: flex; align-items: center; height: 44px; padding: 0 12px; font-size: 14px; font-weight: 900; white-space: nowrap; position: relative; }
.hd__nav a i { font-style: normal; font-family: var(--f-en); font-weight: 800; font-size: 11px; letter-spacing: .06em; color: var(--sky-ink); margin-right: 6px; }
.hd__nav a::after { content: ""; position: absolute; left: 12px; right: 12px; bottom: 4px; height: 3px; border-radius: 3px; background: var(--sky); transform: scaleX(0); transform-origin: left; transition: transform .3s; }
.hd__nav a:hover::after, .hd__nav a[aria-current]::after { transform: scaleX(1); }
.hd__act { display: flex; align-items: center; gap: 10px; flex: none; }
.hd__entry, .hd__cta { display: inline-flex; align-items: center; gap: 12px; height: 48px; padding: 0 6px 0 20px; border-radius: 999px; background: var(--ink); color: var(--white); font-weight: 900; font-size: 14px; letter-spacing: .06em; white-space: nowrap; }
.hd__entry::after, .hd__cta::after { content: ""; width: 36px; height: 36px; border-radius: 50%; background: var(--sky) var(--arrow) center / 15px no-repeat; transition: transform .3s; }
.hd__entry:hover::after, .hd__cta:hover::after { transform: translateX(3px); }
.hd__entry--career::after, .hd__cta::after { background-color: var(--yellow); }
.hd__cta { display: none; }
.hd__menu { width: 48px; height: 48px; border-radius: 50%; background: var(--ink); color: var(--white); display: grid; place-items: center; align-content: center; gap: 5px; flex: none; }
.hd__menu span { display: block; width: 20px; height: 2px; border-radius: 2px; background: currentColor; transition: transform .3s, opacity .3s; }
.hd__menu b { display: none; }
.is-menu .hd__menu span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.is-menu .hd__menu span:nth-child(2) { opacity: 0; }
.is-menu .hd__menu span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
@media (max-width: 1360px) { .hd__nav { display: none; } .hd__act { margin-left: auto; } }
/* tablet and phone: logo | entry | menu (DESIGN_RULES 6-0) */
@media (max-width: 860px) { .hd__entry { display: none; } .hd__cta { display: inline-flex; } }
@media (max-width: 640px) {
  .hd { top: 10px; left: max(12px, env(safe-area-inset-left, 0px)); right: max(12px, env(safe-area-inset-right, 0px)); height: 56px; gap: 10px; padding: 0 6px 0 20px; }
  .hd__logo img { width: 110px; margin-right: -39px; }
  .hd__site { display: none; }
  .hd__cta { height: 44px; padding: 0 5px 0 16px; font-size: 13px; gap: 10px; }
  .hd__cta::after { width: 34px; height: 34px; }
  .hd__menu { width: 44px; height: 44px; }
}

/* drawer */
.drawer { position: fixed; inset: 0; z-index: 45; background: var(--ink); color: var(--white); overflow-y: auto; padding: calc(var(--hd-h) + 48px) 0 80px; opacity: 0; visibility: hidden; transition: opacity .3s, visibility .3s; }
.drawer.is-open { opacity: 1; visibility: visible; }
.is-menu { overflow: hidden; }
.drawer__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 48px 40px; }
.drawer__grp > a { display: grid; gap: 2px; margin-bottom: 14px; }
.drawer__grp > a b { font-family: var(--f-en); font-weight: 800; font-size: 40px; line-height: 1.1; color: var(--white); }
.drawer__grp > a span { font-weight: 900; font-size: 14px; color: var(--c); }
.drawer__grp li a { display: flex; align-items: center; min-height: 44px; font-size: 15px; font-weight: 700; color: #d9e3e6; border-bottom: 1px solid rgba(255, 255, 255, .14); }
.drawer__foot { margin-top: 56px; display: flex; justify-content: center; gap: 16px; flex-wrap: wrap; }
@media (max-width: 1024px) { .drawer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .drawer__grid { grid-template-columns: minmax(0, 1fr); gap: 36px; } .drawer__grp > a b { font-size: 32px; } .drawer__foot .btn { width: 100%; justify-content: center; padding: 0 72px 0 32px; } }

/* phone CTA bar: two pills on white; the main one (new graduates) in the brand blue (DESIGN_RULES 6-0) */
.spbar { display: none; }
@media (max-width: 640px) {
  .spbar { position: fixed; z-index: 40; left: 0; right: 0; bottom: 0; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 8px; padding: 8px max(12px, env(safe-area-inset-right, 0px)) calc(8px + env(safe-area-inset-bottom, 0px)) max(12px, env(safe-area-inset-left, 0px)); background: var(--white); border-top: 1px solid var(--line); will-change: transform; }
  .spbar a { display: flex; align-items: center; justify-content: space-between; min-height: 52px; padding: 0 6px 0 18px; border-radius: 999px; background: var(--ink); font-weight: 900; font-size: 14px; letter-spacing: .04em; color: var(--white); }
  .spbar__jobs { background: var(--sky-ink) !important; }
  .spbar a::after { content: ""; width: 38px; height: 38px; border-radius: 50%; background: var(--white) var(--arrow) center / 15px no-repeat; }
  body { padding-bottom: calc(var(--bar-h) + env(safe-area-inset-bottom, 0px)); }
}

/* ---------- photos ---------- */
.ph { position: relative; overflow: hidden; background: var(--sky-mist); }
.ph img { width: 100%; height: 100%; object-fit: cover; }
.arch, .pill { clip-path: var(--cut); }
.rnd, .rnd-md { border-radius: 0; }
.r43 { aspect-ratio: 4 / 3; }
.r169 { aspect-ratio: 16 / 9; }
.r1610 { aspect-ratio: 16 / 10; }
.r34 { aspect-ratio: 3 / 4; }
.r11 { aspect-ratio: 1 / 1; }
.r21 { aspect-ratio: 2 / 1; }
.imgnote { margin-top: 10px; font-size: var(--fs-caption); color: var(--ink-3); }
.zoom img { transition: transform .8s cubic-bezier(.2, .8, .2, 1); }
a:hover .zoom img, .zoom:hover img { transform: scale(1.06); }

/* ---------- person ring (pops out of the ring) ---------- */
.ring { position: relative; width: 100%; aspect-ratio: 1 / 1.16; container-type: inline-size; }
.ring::before { content: ""; position: absolute; left: 0; right: 0; bottom: 0; aspect-ratio: 1; border-radius: 50%; background: var(--white); border: 7cqi solid var(--c, var(--sky)); }
.ring__clip { position: absolute; left: 7cqi; right: 7cqi; top: 0; bottom: 7cqi; border-radius: 0 0 43cqi 43cqi; overflow: hidden; }
.ring__clip img { position: absolute; left: 0; bottom: 0; width: 100%; height: auto; max-width: none; transition: transform .6s cubic-bezier(.2, .8, .2, 1); }
a:hover .ring__clip img { transform: translateY(-3%) scale(1.03); }
.ring__no { position: absolute; left: -2cqi; top: 2cqi; z-index: 2; font-family: var(--f-en); font-weight: 800; font-size: 24cqi; line-height: 1; color: var(--c, var(--sky)); }
.ring--fill::before { background: var(--cp, var(--sky-pale)); }
.ring--sky::before { background: var(--sky-mist); }

/* ---------- illustrations ---------- */
.il { position: absolute; pointer-events: none; z-index: 1; }
.il img { width: 100%; height: auto; }
@media (max-width: 640px) { .il--pc { display: none; } }

/* ---------- stripes (door motif) ---------- */
.stripes { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }
.stripes i { position: absolute; top: -40%; bottom: -40%; width: var(--w, 14vw); background: var(--sc, var(--sky)); transform: skewX(-32deg) translateX(var(--sx, 0)); opacity: var(--op, 1); }
.js .stripes i { transition: transform 1.4s cubic-bezier(.7, 0, .2, 1), opacity 1s; }
.js .stripes:not(.is-in) i { transform: skewX(-32deg) translateX(calc(var(--sx, 0) + 60vw)); opacity: 0; }

/* ============================================================
   TOP v2
   ============================================================ */
/* hero: big office photo cut diagonally on the right, door stripes on its edge, catch plates cutting into it */
.hero2 { position: relative; height: 100svh; min-height: 680px; max-height: 1000px; background: var(--sky-mist); overflow: hidden; }
.hero2 .stripes i:nth-child(1) { left: -7%; --w: 12vw; --sc: var(--sky); }
.hero2 .stripes i:nth-child(2) { left: 9%; --w: 2.2vw; --sc: var(--yellow); }
.hero2 .stripes i:nth-child(n+3) { display: none; }
.js .hero2 .stripes i:nth-child(2) { transition-delay: .1s; }
.hero2__marq { position: absolute; left: 0; right: 0; top: 15%; z-index: 1; overflow: hidden; white-space: nowrap; font-family: var(--f-en); font-weight: 800; font-size: clamp(90px, 12vw, 200px); line-height: 1; color: var(--white); letter-spacing: -.01em; pointer-events: none; }
.hero2__marq span { display: inline-block; padding-right: .4em; animation: marqx 38s linear infinite; }
@keyframes marqx { to { transform: translateX(-100%); } }
.hero2__ph { position: absolute; z-index: 2; top: 0; right: 0; bottom: 0; width: 70%; }
.hero2__ph img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 30% 50%; clip-path: polygon(18% 0, 100% 0, 100% 100%, 0 100%); }
.hero2__ph::before, .hero2__ph::after { content: ""; position: absolute; inset: 0; pointer-events: none; }
.hero2__ph::before { background: var(--sky); clip-path: polygon(18% 0, calc(18% + 34px) 0, 34px 100%, 0 100%); transform: translateX(-52px); }
.hero2__ph::after { background: var(--yellow); clip-path: polygon(18% 0, calc(18% + 12px) 0, 12px 100%, 0 100%); transform: translateX(-82px); }
.hero2__sp { display: none; }
.js .hero2__ph img { transition: clip-path 1.3s cubic-bezier(.7, 0, .2, 1), transform 2.6s cubic-bezier(.2, .8, .2, 1); }
.js .hero2:not(.is-in) .hero2__ph img { clip-path: polygon(100% 0, 100% 0, 100% 100%, 100% 100%); transform: scale(1.12); }
.js .hero2__ph::before, .js .hero2__ph::after { transition: opacity .8s .9s, transform 1s .9s cubic-bezier(.2, .8, .2, 1); }
.js .hero2:not(.is-in) .hero2__ph::before, .js .hero2:not(.is-in) .hero2__ph::after { opacity: 0; transform: translateX(40px); }
.hero2__copy { position: absolute; z-index: 4; left: var(--gut); bottom: 9%; max-width: 70%; }
.hero2__en { font-family: var(--f-en); font-weight: 800; font-size: 16px; letter-spacing: .18em; margin-bottom: 18px; display: inline-block; color: var(--ink); }
.hero2__catch { font-size: clamp(48px, 6.8vw, 116px); line-height: 1.2; }
.hero2__catch .ln { display: block; width: fit-content; white-space: nowrap; }
.hero2__catch .ln + .ln { margin-top: .06em; }
.hero2__catch .ln > span { display: inline-block; background: var(--ink); color: var(--white); padding: .02em .3em .06em; line-height: 1.2; }
.hero2__catch em { font-style: normal; color: var(--yellow); }
.js .hero2__catch .ln > span { clip-path: inset(0 100% 0 0); transition: clip-path 1s cubic-bezier(.7, 0, .2, 1) .5s; }
.js .hero2.is-in .hero2__catch .ln > span { clip-path: inset(0 0 0 0); }
.js .hero2.is-in .hero2__catch .ln + .ln > span { transition-delay: .75s; }
.hero2__news { position: absolute; z-index: 4; right: 0; bottom: 0; width: 380px; background: var(--white); padding: 18px 24px 16px; }
.hero2__news h2 { display: flex; justify-content: space-between; align-items: center; font-family: var(--f-en); font-weight: 800; font-size: 14px; letter-spacing: .12em; margin-bottom: 6px; }
.hero2__news h2 a { font-family: var(--f-jp); font-size: 12px; font-weight: 700; letter-spacing: .04em; }
.hero2__news a.n { display: block; font-size: 14px; line-height: 1.6; font-weight: 700; }
.hero2__news time { display: block; font-family: var(--f-en); font-size: 12px; color: var(--ink-3); font-weight: 700; }
@media (max-width: 1024px) {
  .hero2__ph { width: 78%; }
  .hero2__news { width: 320px; }
}
/* phone hero: full-bleed portrait photo, vertical catch plates on the LEFT (DESIGN_RULES 13-4-1) */
@media (max-width: 640px) {
  .hero2 { height: calc(100svh - var(--bar-h) - env(safe-area-inset-bottom, 0px)); min-height: 600px; max-height: 860px; }
  .hero2 .stripes, .hero2__marq { display: none; }
  .hero2__ph { width: 100%; }
  .hero2__ph::before, .hero2__ph::after { display: none; }
  .hero2__ph img { clip-path: none; object-position: 62% 50%; }
  .js .hero2:not(.is-in) .hero2__ph img { clip-path: none; opacity: 0; }
  .js .hero2__ph img { transition: opacity 1s, transform 2.6s cubic-bezier(.2, .8, .2, 1); }
  .hero2__pc { display: none; }
  .hero2__sp { display: block; }
  .hero2__copy { left: 14px; top: calc(var(--hd-h) + 22px); bottom: auto; max-width: none; }
  .hero2__en { display: none; }
  .hero2__catch { writing-mode: vertical-rl; font-size: clamp(36px, 10.4vw, 46px); letter-spacing: .06em; }
  .hero2__catch .ln { margin: 0 !important; }
  .hero2__catch .ln + .ln { margin-block-start: 12px !important; }
  .hero2__catch .ln > span { padding: .3em .14em; line-height: 1.2; }
  .js .hero2__catch .ln > span { clip-path: inset(0 0 100% 0); }
  .hero2__news { left: 14px; right: 14px; bottom: 12px; width: auto; padding: 10px 16px; }
  .hero2__news a.n { font-size: 13px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
  .hero2__news time { display: inline; margin-right: 8px; }
}

/* intro statement */
.intro2 { position: relative; padding: var(--sec) 0; background: var(--white); overflow: hidden; }
.intro2__in { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); gap: 72px; align-items: center; }
/* photo collage (DESIGN_RULES 7-3): two columns, one gap (--pg) both ways, the second column starts 4 gaps lower,
   portrait -> landscape / landscape -> portrait so each column fills the other's space. No overlap, no per-photo movement. */
.intro2__pics { --pg: 32px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: var(--pg); align-items: start; }
.ipcol { display: grid; gap: var(--pg); }
.ipcol + .ipcol { padding-top: calc(var(--pg) * 4); }
.ip { overflow: hidden; border-radius: var(--r-md); }
.ip img { width: 100%; height: 100%; object-fit: cover; }
.ip--p { aspect-ratio: 3 / 4; }
.ip--l { aspect-ratio: 4 / 3; }
.intro2__note { margin-top: 14px; }
.intro2__big { font-size: clamp(34px, 3.6vw, 60px); font-weight: 900; line-height: 1.4; letter-spacing: .02em; margin: 16px 0 36px; }
.intro2__big .ln { white-space: nowrap; }
.intro2__big em { font-style: normal; color: var(--sky-ink); }
.intro2 .prose { font-size: var(--fs-lead); }
.intro2 .btn { margin-top: 40px; }
@media (max-width: 1024px) { .intro2__in { grid-template-columns: minmax(0, 1fr); gap: 56px; } .intro2__pics { --pg: 24px; } }
/* phone: one swipe row, each photo about 76% of the screen, same 4:3 size (DESIGN_RULES 7-3, 13-8) */
@media (max-width: 640px) {
  .intro2__big { font-size: 30px; text-align: center; }
  .intro2 .label { display: flex; justify-content: center; }
  .intro2__pics { --pg: 12px; display: flex; gap: var(--pg); overflow-x: auto; scroll-snap-type: x mandatory; margin-inline: calc(var(--gut) * -1); padding-inline: var(--gut); scroll-padding-inline: var(--gut); scrollbar-width: none; }
  .intro2__pics::-webkit-scrollbar { display: none; }
  .ipcol { display: contents; }
  .ip { flex: 0 0 76%; scroll-snap-align: start; aspect-ratio: 4 / 3; }
  .intro2__note { text-align: center; }
  .intro2 .btn { width: 100%; justify-content: center; padding: 0 72px 0 32px; }
}

/* numbers band */
.nband { position: relative; background: var(--ink); color: var(--white); padding: 120px 0 110px; overflow: hidden; }
.nband__marq { position: absolute; left: 0; right: 0; top: 24px; white-space: nowrap; font-family: var(--f-en); font-weight: 800; font-size: 15px; letter-spacing: .3em; color: var(--sky); overflow: hidden; }
.nband__marq span { display: inline-block; padding-right: .6em; animation: marqx 40s linear infinite; }
/* one card per figure: label top-left, related icon top-right, big number, note (DESIGN_RULES 5) */
.nband__list { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.nband__list li { position: relative; display: grid; gap: 8px; align-content: start; padding: 28px 28px 26px; border-radius: var(--r-md); background: rgba(255, 255, 255, .07); }
.nband__ic { position: absolute; right: 24px; top: 24px; width: 40px; height: 40px; color: var(--c, var(--sky)); }
.nband__list small { font-size: 14px; font-weight: 900; letter-spacing: .1em; color: var(--c, var(--sky)); padding-right: 52px; }
.nband__list b { font-family: var(--f-en); font-weight: 800; font-size: clamp(52px, 5.2vw, 84px); line-height: 1; letter-spacing: -.02em; white-space: nowrap; }
.nband__list b i { font-style: normal; font-family: var(--f-jp); font-size: .26em; font-weight: 900; margin-left: 6px; letter-spacing: 0; }
.nband__list p { font-size: 13px; color: #b9c8cd; line-height: 1.6; }
.nband__cta { margin-top: 56px; }
@media (max-width: 1024px) { .nband__list { grid-template-columns: repeat(2, minmax(0, 1fr)); } .nband__list b { font-size: clamp(56px, 9vw, 96px); } }
@media (max-width: 640px) {
  .nband { padding: 90px 0 80px; }
  .nband__list { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .nband__list li { padding: 24px 20px; text-align: center; justify-items: center; }
  .nband__ic { position: static; order: -1; }
  .nband__list small { padding-right: 0; }
  .nband__cta { margin-top: 40px; }
}

/* horizontal scroll (departments) */
.hs { position: relative; background: var(--sky-mist); }
.hs__sticky { position: sticky; top: 0; height: 100svh; overflow: hidden; display: grid; grid-template-columns: minmax(0, 1fr); grid-template-rows: auto minmax(0, 1fr); padding-top: calc(var(--hd-h) + 32px); }
.hs__head { display: flex; align-items: end; justify-content: space-between; gap: 32px; margin-bottom: 36px; }
.hs__head .ttl { margin-bottom: 0; }
.hs__head p { max-width: 460px; color: var(--ink-2); }
.hs__track { display: flex; gap: 32px; padding: 0 var(--gut) 56px; will-change: transform; height: 100%; }
.hs__card { position: relative; flex: none; width: min(46vw, 760px); height: 100%; max-height: 640px; overflow: hidden; background: var(--ink); color: var(--white); }
.hs__card figure { position: absolute; inset: 0; }
.hs__card figure img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s cubic-bezier(.2, .8, .2, 1); }
.hs__card:hover figure img { transform: scale(1.05); }
/* the white number sits straight on the photo: a soft shadow keeps it readable on light backgrounds (the user's request, exception to the no-text-shadow rule) */
.hs__no { position: absolute; left: 28px; top: 20px; z-index: 2; font-family: var(--f-en); font-weight: 800; font-size: 72px; line-height: 1; color: var(--white); text-shadow: 0 2px 4px rgba(20, 38, 47, .35), 0 4px 20px rgba(20, 38, 47, .45); }
.hs__txt { position: absolute; left: 28px; bottom: 28px; right: 90px; z-index: 2; }
.hs__txt .plates { font-size: clamp(28px, 2.6vw, 42px); }
.hs__txt .plates > span { white-space: nowrap; }
.hs__txt p:not(.plates) { margin-top: 10px; display: inline-block; white-space: nowrap; background: var(--white); color: var(--ink); font-weight: 900; font-size: 15px; padding: 4px 12px; }
.vtag { position: absolute; right: 0; top: 0; z-index: 3; writing-mode: vertical-rl; background: var(--c, var(--yellow)); color: var(--ink); font-weight: 900; font-size: 15px; letter-spacing: .14em; padding: 16px 10px; line-height: 1.2; }
.hs__card .arrow { position: absolute; right: 24px; bottom: 28px; z-index: 2; width: 52px; height: 52px; border-radius: 50%; background: var(--c, var(--sky)) var(--arrow) center / 20px no-repeat; }
.hs__end { flex: none; width: min(30vw, 440px); display: grid; align-content: center; gap: 14px; padding: 0 32px; }
.hs__end b { margin-bottom: 10px; }
.hs__end b { font-family: var(--f-en); font-weight: 800; font-size: 44px; line-height: 1.1; }
@media (max-width: 860px) {
  .hs__sticky { position: static; height: auto; padding: var(--sec) 0; display: block; }
  .hs__head { display: grid; justify-items: center; text-align: center; margin-bottom: 40px; padding: 0 var(--gut); }
  .hs__track { flex-direction: column; height: auto; transform: none !important; padding: 0 var(--gut); gap: 20px; }
  .hs__card { width: 100%; height: auto; aspect-ratio: 4 / 3.4; }
  .hs__no { font-size: 56px; }
  /* phone: the text gets the full card width (arrow moves to the top-right corner, the small vertical tag is dropped) */
  .hs__txt { left: 16px; right: 16px; bottom: 18px; }
  .hs__txt .plates { font-size: min(24px, calc((100vw - 80px) / 12.4)); }
  .hs__txt p:not(.plates) { font-size: max(12px, min(13px, calc((100vw - 100px) / 18))); letter-spacing: 0; padding: 4px 10px; }
  .hs__card .vtag { display: none; }
  .hs__card .arrow { right: 14px; top: 14px; bottom: auto; width: 46px; height: 46px; }
  .hs__end { width: 100%; justify-items: stretch; text-align: center; padding: 24px 0 0; }
  .hs__end .btn { width: 100%; justify-content: center; padding: 0 72px 0 32px; }
  .hs__end b { display: none; }
}

/* stacked stories */
.stack2 { position: relative; background: var(--white); }
.stack2__head { padding: var(--sec) var(--gut) 72px; }
.st { position: sticky; top: 0; height: 100svh; overflow: hidden; background: var(--ink); color: var(--white); }
.st__bg { position: absolute; inset: 0; }
.st__bg img { width: 100%; height: 100%; object-fit: cover; filter: blur(4px) saturate(.85); transform: scale(1.06); }
.st__bg::after { content: ""; position: absolute; inset: 0; background: rgba(20, 38, 47, .4); }
.st__person { position: absolute; right: 6%; bottom: 0; width: min(38vw, 620px); z-index: 2; }
.st__person img { width: 100%; height: auto; }
.st__txt { position: absolute; z-index: 3; left: var(--gut); top: 50%; transform: translateY(-40%); max-width: 56%; }
.st__no { font-family: var(--f-en); font-weight: 800; font-size: 22px; letter-spacing: .1em; display: inline-block; background: var(--white); color: var(--ink); padding: 2px 12px; margin-bottom: 18px; }
.st__txt .plates { font-size: clamp(26px, 3vw, 48px); }
.st__tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 22px 0 32px; }
.st__tags li { background: var(--ink); color: var(--white); font-size: 13px; font-weight: 700; padding: 2px 10px; }
.st .vtag { top: 0; font-size: 17px; padding: 22px 14px; }
.st__meta { display: block; margin-top: 10px; font-weight: 700; font-size: 14px; background: var(--white); color: var(--ink); width: fit-content; padding: 2px 10px; }
@media (max-width: 860px) {
  /* phone: copy in white on the dimmed background at the top, the whole person large at the bottom.
     No plates and no colour band, so nothing covers the face or the body. */
  .st { height: calc(100svh - var(--bar-h)); }
  .st__bg::after { background: rgba(20, 38, 47, .55); }
  .st .vtag { display: none; }
  .st__person { width: min(96vw, 480px, calc((100svh - var(--bar-h) - var(--hd-h) - 270px) * .8)); left: 0; right: 0; margin-inline: auto; bottom: 0; }
  .st__txt { top: calc(var(--hd-h) + 18px); bottom: auto; transform: none; left: 16px; right: 16px; max-width: none; }
  .st__no { font-size: 15px; margin-bottom: 8px; background: none; padding: 0; color: var(--white); }
  .st__txt .plates { font-size: min(23px, 5.9vw); gap: 0; line-height: 1.45; }
  .st__txt .plates > span { background: none; color: var(--white); padding: 0; white-space: nowrap; }
  .st__meta { background: none; padding: 0; color: var(--white); margin-top: 6px; font-size: 13px; }
  .st__tags { display: none; }
  .st .btn { margin-top: 14px; width: 100%; justify-content: center; padding: 0 72px 0 32px; }
}
.rings2 { background: var(--sky-mist); }
.rings2 .rings { grid-template-columns: repeat(4, minmax(0, 1fr)); }

/* message (dark) */
.msg2 { position: relative; background: var(--ink); color: var(--white); padding: 150px 0 var(--sec); overflow: hidden; }
.msg2__marq { position: absolute; left: 0; right: 0; top: 40px; white-space: nowrap; overflow: hidden; font-family: var(--f-en); font-weight: 800; font-size: clamp(90px, 13vw, 210px); line-height: 1; color: rgba(255, 255, 255, .08); pointer-events: none; }
.msg2__marq span { display: inline-block; padding-right: .5em; animation: marqx 46s linear infinite; }
.msg2__in { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); gap: 64px; align-items: center; margin-top: 90px; }
.msg2 .ttl__en, .msg2 .ttl__ja { color: var(--white); }
.msg2 .plates { font-size: clamp(22px, 2.1vw, 34px); margin: 28px 0 28px; }
.msg2 .plates { gap: 0; }
.msg2 .plates > span { background: none; color: var(--white); padding: 0; white-space: nowrap; }
.msg2 p { color: #c9d6da; }
.msg2 .msg2__marq { color: rgba(255, 255, 255, .08); } /* keep the watermark faint: .msg2 p above would otherwise paint it bright */
.msg2__who { margin: 24px 0 36px; font-weight: 900; color: var(--white) !important; }
.msg2 .video { border-radius: 0; }
@media (max-width: 1024px) { .msg2__in { grid-template-columns: minmax(0, 1fr); gap: 40px; } }
@media (max-width: 640px) { .msg2 .plates { font-size: min(21px, calc((100vw - 48px) / 16.8)); } .msg2__in { margin-top: 40px; } .msg2 .btn { width: 100%; justify-content: center; padding: 0 72px 0 32px; } }

/* culture */
/* two sizes only, one gap both ways (DESIGN_RULES 7-3): one large photo on the left, four small ones 2 x 2 on the right */
.cul2__mosaic { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: 15vw; gap: 16px; margin: 0 0 120px; padding: 0 16px; }
.cul2__mosaic .ph:nth-child(1) { grid-column: 1 / span 2; grid-row: span 2; }
.cul2__mosaic .ph figcaption { white-space: nowrap; }
/* tablet: the large photo on its own row, the four small ones 2 x 2 under it (captions stay on one line) */
@media (max-width: 1024px) and (min-width: 641px) {
  .cul2__mosaic { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 30vw; }
  .cul2__mosaic .ph:nth-child(1) { grid-column: 1 / -1; grid-row: span 2; }
}
.cul2__mosaic .ph figcaption { position: absolute; left: 16px; bottom: 16px; z-index: 2; background: var(--ink); color: var(--white); font-weight: 900; font-size: 14px; padding: 4px 12px; }
@media (max-width: 640px) {
  .cul2__mosaic { grid-template-columns: minmax(0, 1fr); grid-auto-rows: auto; gap: 8px; padding: 0; margin-bottom: 80px; }
  .cul2__mosaic .ph { grid-column: auto !important; grid-row: auto !important; aspect-ratio: 16 / 11; }
  .cul2__mosaic .ph:nth-child(n+4) { display: none; }
}
.cul2__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 80px; align-items: start; }
.cul2__grid .plates { gap: 0; }
.cul2__grid .plates > span { background: none; color: var(--ink); padding: 0; }
@media (max-width: 1024px) { .cul2__grid { grid-template-columns: minmax(0, 1fr); gap: 56px; } }

/* join panels */
.join2 { padding: var(--sec) 0 0; background: var(--white); }
.join2__panels { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; }
.jp { position: relative; display: block; height: 76svh; min-height: 540px; max-height: 760px; overflow: hidden; background: var(--ink); color: var(--white); }
.jp figure { position: absolute; inset: 0; }
.jp figure img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s cubic-bezier(.2, .8, .2, 1); }
.jp figure::after { content: ""; position: absolute; inset: 0; background: rgba(20, 38, 47, .42); transition: background-color .4s; }
.jp:hover figure img { transform: scale(1.06); }
.jp:hover figure::after { background: rgba(20, 38, 47, .25); }
.jp__in { position: absolute; z-index: 2; left: 36px; right: 36px; bottom: 44px; display: grid; gap: 12px; }
.jp__for { font-weight: 900; font-size: 15px; letter-spacing: .1em; color: var(--c); }
.jp__ttl { font-size: clamp(30px, 2.8vw, 46px); font-weight: 900; line-height: 1.3; }
.jp__en { font-family: var(--f-en); font-weight: 800; font-size: 14px; letter-spacing: .2em; }
.jp__go { margin-top: 10px; display: inline-flex; align-items: center; gap: 14px; font-weight: 900; }
.jp__go::after { content: ""; width: 56px; height: 56px; border-radius: 50%; background: var(--c) var(--arrow) center / 22px no-repeat; transition: transform .3s; }
.jp:hover .jp__go::after { transform: translateX(6px); }
.jp .vtag { font-size: 14px; }
@media (max-width: 1024px) { .join2__panels { grid-template-columns: minmax(0, 1fr); } .jp { height: 62vw; min-height: 340px; } }
@media (max-width: 640px) { .jp { height: 120vw; max-height: 520px; } .jp__in { left: 20px; right: 20px; bottom: 28px; justify-items: center; text-align: center; } }

/* ---------- story chapters: DOOR 01-06 ---------- */
/* the chapter number tag (used in section titles, lower heroes, menus and the next-door band) */
.dn { display: inline-block; font-family: var(--f-en); font-weight: 800; font-size: 13px; letter-spacing: .16em; line-height: 1; padding: 7px 12px 6px; border-radius: var(--r-md); background: var(--sky-ink); color: var(--white); white-space: nowrap; }
.ttl__ja:has(.dn)::before, .label:has(.dn)::before { display: none; }
.ttl--white .dn { background: var(--white); color: var(--ink); }
.pghero__door { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; font-size: 14px; font-weight: 900; letter-spacing: .06em; line-height: 1.5; color: var(--ink); }
@media (max-width: 640px) { .pghero__door { justify-content: center; } .pghero:has(.arthero) .pghero__door { justify-content: flex-start; } }

/* bridge: the one line that hands the story from one chapter to the next (TOP) */
.bridge { display: grid; justify-items: center; gap: 18px; padding-block: 110px; padding-inline: var(--gut); background: var(--white); text-align: center; }
.bridge__q { font-size: clamp(32px, 4.6vw, 76px); font-weight: 900; line-height: 1.5; letter-spacing: .03em; font-feature-settings: "palt"; }
.bridge__q .ln { white-space: nowrap; }
.bridge__no .dn { font-size: 15px; padding: 9px 16px 8px; }
@media (max-width: 640px) { .how2 .h3 { text-align: center; } }
@media (max-width: 640px) { .bridge { padding-block: 80px; } .bridge__q { font-size: min(34px, calc((100vw - 48px) / 11.2)); } }
/* a white bridge next to a white section: the bridge's own padding is the gap, so the section drops its padding on that side (no double white gap) */
.bridge + .sec:not(.sec--mist), .bridge + .stack2 .stack2__head { padding-top: 0; }
.sec:not(.sec--mist):has(+ .bridge) { padding-bottom: 0; }

/* next door: the end of every lower-page chapter hands the reader to the next one; the photo opens like a door */
.nextdoor { background: var(--sky-mist); padding-block: 120px; overflow: hidden; }
.nextdoor__in { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 64px; align-items: center; }
.nextdoor__no { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; margin-bottom: 20px; }
.nextdoor__no span { font-family: var(--f-en); font-weight: 800; font-size: clamp(56px, 7vw, 112px); line-height: .9; letter-spacing: -.01em; color: var(--head); white-space: nowrap; } /* the English word never breaks (PEOP / LE); the tag and the word stack instead */
.nextdoor__q { font-size: clamp(28px, 3.2vw, 50px); font-weight: 900; line-height: 1.45; letter-spacing: .03em; font-feature-settings: "palt"; }
.nextdoor__q .ln { white-space: nowrap; }
.nextdoor__go { display: inline-flex; align-items: center; gap: 14px; margin-top: 32px; font-weight: 900; font-size: 17px; }
.nextdoor__go::after { content: ""; width: 56px; height: 56px; border-radius: 50%; background: var(--c) var(--arrow) center / 22px no-repeat; transition: transform .3s; }
.nextdoor__in:hover .nextdoor__go::after { transform: translateX(6px); }
.nextdoor__door { position: relative; aspect-ratio: 4 / 5; max-height: 560px; width: 100%; perspective: 1400px; background: var(--c); }
.nextdoor__door img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform-origin: left center; transition: transform 1.1s cubic-bezier(.2, .8, .2, 1); }
.js .nextdoor__door.is-in img { transform: rotateY(-24deg); transition-delay: .2s; }
.nextdoor__in:hover .nextdoor__door img { transform: rotateY(-36deg); transition-delay: 0s; }
@media (max-width: 860px) {
  .nextdoor { padding-block: 80px; }
  .nextdoor__in { grid-template-columns: minmax(0, 1fr); gap: 36px; text-align: center; }
  .nextdoor__no { justify-content: center; }
  .nextdoor__no span { font-size: 56px; }
  .nextdoor__q { font-size: min(28px, calc((100vw - 48px) / 11.4)); }
  .nextdoor__door { aspect-ratio: 16 / 11; max-height: none; }
}
@media (prefers-reduced-motion: reduce) { .nextdoor__door img, .js .nextdoor__door.is-in img { transform: none !important; } }

/* ---------- gate (lower pages entrances, kept) ---------- */
.gate { position: relative; z-index: 4; padding: 48px 0; }
.gate__list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.gate__item a { position: relative; display: grid; grid-template-columns: 110px minmax(0, 1fr); gap: 2px 18px; align-items: center; background: var(--white); padding: 22px 86px 22px 18px; min-height: 160px; transition: transform .3s; }
.gate__item a:hover { transform: translateY(-4px); }
.gate__fig { grid-row: span 3; width: 110px; height: 110px; background: var(--cp); display: grid; place-items: end center; overflow: hidden; clip-path: polygon(0 0, 100% 0, 100% 80%, 80% 100%, 0 100%); }
.gate__fig img { width: 84%; margin-bottom: -6%; }
.gate__for { font-size: 13px; font-weight: 900; color: var(--ink-3); line-height: 1.4; }
.gate__ttl { font-size: 24px; font-weight: 900; line-height: 1.45; white-space: nowrap; }
.gate__txt { font-size: var(--fs-small); color: var(--ink-2); line-height: 1.7; }
.gate__item a::after { content: ""; position: absolute; right: 18px; top: 50%; width: 52px; height: 52px; margin-top: -26px; border-radius: 50%; background: var(--c) var(--arrow) center / 20px no-repeat; }
.gate--onwhite .gate__item a { background: var(--sky-mist); }
@media (max-width: 1024px) { .gate__list { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 640px) {
  .gate__item a { grid-template-columns: 92px minmax(0, 1fr); padding: 16px 74px 16px 14px; min-height: 0; gap: 2px 14px; }
  .gate__fig { width: 92px; height: 92px; }
  .gate__ttl { font-size: 20px; }
  .gate__txt { display: none; }
  .gate__item a::after { right: 14px; width: 44px; height: 44px; margin-top: -22px; }
}

/* ---------- numbers (cards, lower pages) ---------- */
.nums { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.num { position: relative; background: var(--white); padding: 30px 28px 28px; display: grid; gap: 6px; align-content: start; }
.sec:not(.sec--mist):not(.sec--sky) .num { background: var(--sky-mist); }
.num__lbl { justify-self: start; }
.num__ic { position: absolute; right: 22px; top: 22px; width: 56px; height: 56px; background: var(--cp, var(--sky-pale)); display: grid; place-items: center; color: var(--ink); }
.num__ic svg { width: 28px; height: 28px; }
.num__val { font-family: var(--f-en); font-weight: 800; font-size: 76px; line-height: 1.05; color: var(--ink); margin-top: 18px; letter-spacing: -.02em; white-space: nowrap; }
.num__val small { font-family: var(--f-jp); font-size: 22px; font-weight: 900; margin-left: 4px; letter-spacing: 0; }
.num__sub { font-size: var(--fs-caption); color: var(--ink-3); line-height: 1.6; }
@media (max-width: 1024px) { .nums { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) {
  .nums { grid-template-columns: minmax(0, 1fr); gap: 10px; }
  .num { justify-items: center; text-align: center; padding: 24px 20px; }
  .num__lbl { justify-self: center; }
  .num__ic { position: static; order: -1; }
  .num__val { margin-top: 0; font-size: 60px; }
}

/* business stats + triangle diagram (lower pages) */
.tbiz { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 72px; align-items: center; }
.tbiz__stats { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 12px; margin: 32px 0 36px; }
.tbiz__stat { background: var(--white); padding: 20px 22px; }
.tbiz__stat b { display: block; font-family: var(--f-en); font-weight: 800; font-size: 52px; line-height: 1.1; white-space: nowrap; }
.tbiz__stat b small { font-family: var(--f-jp); font-size: 17px; font-weight: 900; margin-left: 2px; }
.tbiz__stat > span { font-size: 13px; font-weight: 700; color: var(--ink-2); line-height: 1.5; display: block; margin-top: 4px; }
@media (max-width: 1024px) { .tbiz { grid-template-columns: minmax(0, 1fr); gap: 48px; } }
@media (max-width: 640px) { .tbiz__stat { text-align: center; padding: 16px 10px; } .tbiz__stat b { font-size: 36px; } }
.tri { position: relative; aspect-ratio: 1 / 1.02; max-width: 620px; margin: 0 auto; width: 100%; container-type: inline-size; }
.tri__lines { position: absolute; inset: 0; width: 100%; height: 100%; }
/* centre circle: the logo alone, dead centre; the label sits on a plate right under the circle */
.tri { --core: 28cqi; }
.tri__core { position: absolute; left: 50%; top: 61cqi; width: var(--core); height: var(--core); margin: calc(var(--core) / -2) 0 0 calc(var(--core) / -2); border-radius: 50%; background: var(--white); display: grid; place-items: center; border: 3px solid var(--ink); }
/* the wordmark only (ジンジブ, cut from the official logo with no other change), trimmed to its ink so it sits on the circle's centre */
.tri__core img { display: block; width: 68%; height: auto; }
.tri__label { position: absolute; z-index: 2; left: 50%; top: calc(61cqi + var(--core) / 2 + 3cqi); transform: translateX(-50%); font-size: max(16px, 4.4cqi); font-weight: 900; line-height: 1.45; letter-spacing: .04em; white-space: nowrap; font-feature-settings: "palt"; }
.tri__label span { display: inline-block; background: var(--ink); color: var(--white); padding: .1em .45em .14em; }
.tri__node { position: absolute; width: 34cqi; display: grid; justify-items: center; text-align: center; gap: 4px; }
.tri__node .tri__fig { width: 26cqi; height: 26cqi; border-radius: 50%; background: var(--cp); display: grid; place-items: end center; overflow: hidden; }
.tri__node .tri__fig img { width: 82%; margin-bottom: -4%; }
.tri__node b { font-size: max(16px, 3.8cqi); font-weight: 900; line-height: 1.4; }
.tri__node small { font-size: max(12px, 2.5cqi); color: var(--ink-2); line-height: 1.5; font-weight: 700; }
.tri__node--a { left: 33cqi; top: 0; }
.tri__node--b { left: 0; top: 66cqi; }
.tri__node--c { right: 0; top: 66cqi; }
@media (max-width: 640px) { .tri { --core: 32cqi; margin-bottom: 64px; } }
/* PC: the whole diagram (nodes + captions = about 1.12 x its width) fits under the header, and stays in view while the text beside it scrolls */
@media (min-width: 1025px) { .tbiz > .tri { align-self: start; position: sticky; top: calc(var(--hd-h) + 24px); width: min(100%, calc((100svh - var(--hd-h) - 72px) / 1.12)); } }

/* work nav (lower pages) */
.jobnav { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.jobnav--5 { grid-template-columns: repeat(6, minmax(0, 1fr)); }
.jobnav--5 li { grid-column: span 2; }
.jobnav--5 li:nth-child(4) { grid-column: 1 / span 3; }
.jobnav--5 li:nth-child(5) { grid-column: 4 / span 3; }
.jobnav a { position: relative; display: block; overflow: hidden; background: var(--ink); color: var(--white); aspect-ratio: 4 / 3; }
.jobnav--5 li:nth-child(n+4) a { aspect-ratio: 16 / 8; }
.jobnav .ph { position: absolute; inset: 0; background: var(--ink); }
.jobnav .ph img { transition: transform .9s cubic-bezier(.2, .8, .2, 1); opacity: .9; }
.jobnav a:hover .ph img { transform: scale(1.06); }
.jobnav__lbl { position: absolute; z-index: 2; left: 20px; bottom: 54px; display: inline-block; background: var(--ink); color: var(--white); font-size: 22px; font-weight: 900; line-height: 1.4; padding: 2px 12px; }
.jobnav__txt { position: absolute; z-index: 2; left: 20px; bottom: 18px; display: inline-block; background: var(--white); color: var(--ink); font-size: 14px; font-weight: 900; padding: 2px 10px; }
.jobnav a::after { content: ""; position: absolute; z-index: 2; right: 16px; bottom: 16px; width: 48px; height: 48px; border-radius: 50%; background: var(--c) var(--arrow) center / 18px no-repeat; }
@media (max-width: 1024px) { .jobnav, .jobnav--5 { grid-template-columns: repeat(2, minmax(0, 1fr)); } .jobnav--5 li, .jobnav--5 li:nth-child(4), .jobnav--5 li:nth-child(5) { grid-column: auto; } .jobnav--5 li:nth-child(n+4) a { aspect-ratio: 4 / 3; } }
.jobnav__lbl, .jobnav__txt { white-space: nowrap; }
@media (max-width: 640px) {
  .jobnav, .jobnav--5 { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .jobnav__lbl { font-size: 19px; }
  .jobnav__txt { font-size: max(12px, min(14px, calc((100vw - 108px) / 17))); letter-spacing: 0; }
  .jobnav a::after { top: 16px; bottom: auto; }
}

/* rings grid (people) */
.dome { position: relative; background: var(--sky); padding: var(--sec) 0; overflow-x: clip; }
.dome .ttl__en, .dome .ttl__ja { color: var(--ink); }
.tabs { display: flex; justify-content: center; gap: 0; margin: -16px 0 56px; flex-wrap: wrap; }
.tabs button { min-height: 50px; padding: 0 26px; border-radius: 999px; background: rgba(255, 255, 255, .6); font-weight: 900; font-size: 15px; color: var(--ink); transition: background-color .2s; }
.tabs button[aria-selected="true"] { background: var(--ink); color: var(--white); }
.rings { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 64px 48px; }
.rings > li[hidden] { display: none; }
.rcard a { display: grid; gap: 18px; }
.rcard .ring { max-width: 320px; margin: 0 auto; width: 100%; }
.rcard__meta { display: flex; justify-content: center; gap: 8px; flex-wrap: wrap; }
.rcard__ttl { font-size: 19px; font-weight: 900; line-height: 1.6; text-align: center; }
.rcard__more { display: flex; justify-content: center; }
.dome .k-sky { --c: #0b8fa6; }
@media (max-width: 1024px) { .rings, .rings2 .rings { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 56px 28px; } }
@media (max-width: 640px) {
  .tabs { flex-wrap: nowrap; overflow-x: auto; justify-content: flex-start; margin: -8px calc(var(--gut) * -1) 40px; padding: 0 var(--gut); scroll-padding-inline: var(--gut); scrollbar-width: none; }
  .tabs button { flex: none; }
  .rings, .rings2 .rings { grid-template-columns: minmax(0, 1fr); gap: 48px; }
  .rcard .ring { max-width: 270px; }
}

/* human-power 25 */
.hp25 { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8px; }
.hp25 li { aspect-ratio: 1 / 1; background: var(--c); display: grid; align-content: center; justify-items: center; text-align: center; padding: 10px; gap: 2px; transition: transform .3s; }
.hp25 li:hover { transform: translateY(-4px); }
.hp25 li b { font-family: var(--f-en); font-weight: 800; font-size: 16px; line-height: 1; }
.hp25 li span { font-size: 16px; font-weight: 900; line-height: 1.4; }
.hp25 li small { font-size: 12px; font-weight: 700; line-height: 1.4; }
.hp25--full li { aspect-ratio: auto; min-height: 160px; padding: 18px 12px; gap: 6px; }
.hp25--full li span { font-size: 18px; }
.hp25:not(.hp25--full) li small { display: none; }
@media (max-width: 1024px) { .hp25 li span { font-size: 13px; } }
@media (max-width: 640px) { .hp25 { grid-template-columns: repeat(3, minmax(0, 1fr)); } .hp25--full { grid-template-columns: repeat(2, minmax(0, 1fr)); } .hp25--full li { min-height: 130px; } }
.tcul__days { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin: 32px 0 36px; }
.tcul__days li { background: var(--cp); padding: 18px 12px; text-align: center; display: grid; gap: 6px; justify-items: center; }
.tcul__days li svg { width: 36px; height: 36px; color: var(--ink); }
.tcul__days li b { font-size: 14px; font-weight: 900; line-height: 1.4; white-space: nowrap; letter-spacing: .02em; }
@media (max-width: 640px) { .tcul__days { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* marquee photos */
.marq { overflow: hidden; margin-top: 80px; }
.marq__track { display: flex; gap: 12px; width: max-content; animation: marq 60s linear infinite; }
.marq__track .ph { width: 420px; aspect-ratio: 16 / 10; flex: none; }
@keyframes marq { to { transform: translateX(-50%); } }
@media (max-width: 640px) { .marq__track .ph { width: 260px; } }

/* photo band before ENTRY on lower pages: big rolling photos + giant copy (TOP has its own join panels) */
.pband { position: relative; overflow: hidden; background: var(--ink); padding: 56px 0; }
.join2 + .pband { display: none; }
.pband__track { display: flex; width: max-content; animation: marq 70s linear infinite; }
.pband__set { display: flex; align-items: center; gap: 16px; padding-right: 16px; }
.pband .ph { flex: none; width: clamp(300px, 34vw, 560px); aspect-ratio: 16 / 10; }
.pband .pband__tall { width: clamp(220px, 22vw, 360px); aspect-ratio: 4 / 5; }
.pband__txt { position: absolute; z-index: 2; left: var(--gut); bottom: 40px; display: grid; justify-items: start; gap: 6px; font-family: var(--f-en); font-weight: 800; font-size: clamp(40px, 6.4vw, 108px); line-height: 1; letter-spacing: -.01em; pointer-events: none; }
.pband__txt span { background: var(--white); color: var(--ink); padding: .06em .22em .02em; white-space: nowrap; }
.pband__txt span + span { background: var(--sky); }
@media (max-width: 640px) {
  .pband { padding: 32px 0; }
  .pband .ph { width: 84vw; }
  .pband .pband__tall { width: 62vw; }
  .pband__txt { left: 14px; bottom: 22px; font-size: min(34px, calc((100vw - 28px) / 11.6)); }
}
@media (prefers-reduced-motion: reduce) { .pband__track { animation: none; } }

/* entry band */
.entry { position: relative; background: var(--sky); padding: 180px 0 var(--sec); overflow: hidden; text-align: center; }
/* stripes only at the outer edges so they never run behind the heading (DESIGN_RULES 1-6); none where the text spans the width */
.entry .stripes i:nth-child(1) { left: -14%; --w: 14vw; --sc: var(--white); --op: .35; }
.entry .stripes i:nth-child(2) { left: 89%; --w: 6vw; --sc: var(--yellow); }
.entry .stripes i:nth-child(3) { left: 97%; --w: 20vw; --sc: var(--white); --op: .3; }
@media (max-width: 1024px) { .entry .stripes { display: none; } }
.entry > .wrap { position: relative; z-index: 2; }
.entry .ttl { margin-bottom: 8px; }
.entry .ttl__en { color: var(--white); font-size: var(--fs-giant); }
.entry__ttl { display: grid; justify-items: center; gap: 0; font-size: clamp(30px, 4.2vw, 64px); font-weight: 900; line-height: 1.45; letter-spacing: .03em; margin: 22px 0 24px; }
.entry__ttl .ln > span { display: inline-block; color: var(--ink); white-space: nowrap; }
.entry__lead { color: var(--ink); font-weight: 900; margin-bottom: 48px; }
.entry__btns { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; max-width: 1100px; margin: 0 auto; }
.entry__btns .btn { justify-content: flex-start; min-height: 88px; padding-left: 28px; padding-right: 84px; text-align: left; }
/* taller button: keep the round arrow as far from the right edge as from the top and bottom */
.entry__btns .btn::after { right: 18px; }
.entry__btns .btn small { display: block; font-size: 12px; font-weight: 700; opacity: .8; letter-spacing: .04em; }
.entry .il--a { width: 160px; left: 4%; bottom: 0; z-index: 1; }
.entry .il--b { width: 150px; right: 5%; bottom: 0; z-index: 1; }
.entry .il--c { width: 120px; right: 14%; top: 90px; z-index: 1; }
@media (max-width: 1024px) { .entry__btns { grid-template-columns: minmax(0, 1fr); max-width: 560px; } .entry .il { display: none; } }
@media (max-width: 640px) { .entry { padding-top: 110px; } .entry__ttl { font-size: min(30px, calc((100vw - 48px) / 11.4)); } .entry__btns .btn { justify-content: center; text-align: center; padding: 0 84px 0 44px; } .entry__btns .btn::after { right: 16px; } }

/* footer */
.ft { background: var(--white); padding: 96px 0 36px; }
.ft__top { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 56px; }
.ft__brand { text-align: center; }
.ft__brand img { width: 230px; margin: 0 auto; transform: translateX(15.4%); }
.ft__brand p { margin-top: 20px; font-size: var(--fs-small); color: var(--ink-2); line-height: 1.9; }
.ft__nav { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px 24px; }
.ft__nav h3 { font-size: 15px; font-weight: 900; margin-bottom: 8px; display: flex; align-items: center; gap: 10px; }
.ft__nav h3 i { font-style: normal; font-family: var(--f-en); font-weight: 800; font-size: 12px; letter-spacing: .08em; color: var(--sky-ink); }
.ft__nav li a { display: block; font-size: 14px; color: var(--ink-2); line-height: 1.6; padding: 5px 0; }
.ft__nav li a:hover { color: var(--sky-ink); }
.ft__big { margin-top: 72px; font-family: var(--f-en); font-weight: 800; font-size: clamp(56px, 8.6vw, 136px); line-height: .9; letter-spacing: -.02em; color: var(--sky-mist); white-space: nowrap; overflow: hidden; }
.ft__bottom { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; margin-top: 32px; font-size: 13px; color: var(--ink-3); border-top: 1px solid var(--line); padding-top: 24px; }
.ft__links { display: flex; gap: 20px; flex-wrap: wrap; }
.ft__links a { color: var(--ink-2); font-weight: 700; }
.ft__note { margin-top: 20px; font-size: var(--fs-caption); color: var(--ink-3); }
@media (max-width: 1024px) { .ft__top { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 640px) {
  .ft { padding-top: 64px; }
  .ft__brand { text-align: center; }
  .ft__brand img { margin: 0 auto; width: 200px; }
  .ft__nav { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ft__big { font-size: 64px; }
  .ft__bottom { justify-content: center; text-align: center; flex-direction: column; }
  .ft__links { justify-content: center; }
  .ft__note { text-align: center; }
}

/* ============================================================
   Lower pages
   ============================================================ */
/* page hero: big photo cut diagonally on the right, huge English title on the left */
.pghero { position: relative; background: var(--sky-mist); padding: calc(var(--hd-h) + 70px) 0 0; overflow: hidden; min-height: 78svh; display: flex; align-items: flex-end; }
.pghero__in { position: relative; z-index: 2; width: 100%; }
.pghero__txt { position: relative; z-index: 3; padding-bottom: 96px; max-width: 54%; }
.pghero__bc { display: flex; flex-wrap: wrap; gap: 8px; font-size: 13px; font-weight: 700; color: var(--ink); margin-bottom: 28px; }
.pghero__bc a { color: var(--ink); opacity: .75; }
.pghero__bc li + li::before { content: "/"; margin-right: 8px; opacity: .5; }
.pghero__en { display: inline-block; font-family: var(--f-en); font-weight: 800; font-size: var(--fs-giant); line-height: .9; color: var(--head); white-space: nowrap; letter-spacing: -.02em; background: var(--sky-mist); padding: .06em .18em .02em 0; position: relative; z-index: 4; }
.pghero__ttl { display: block; width: fit-content; margin-top: 22px; font-size: var(--fs-h3); font-weight: 900; line-height: 1.45; color: var(--ink); white-space: nowrap; }
.pghero__lead { margin-top: 26px; font-weight: 700; color: var(--ink); max-width: 560px; line-height: 2; font-size: var(--fs-lead); }
.pghero__ph { position: absolute; z-index: 1; top: 0; right: 0; bottom: 0; width: 56%; }
.pghero__ph .ph { position: absolute; inset: 0; clip-path: polygon(22% 0, 100% 0, 100% 100%, 0 100%); }
/* door stripes running along the diagonal edge of the photo */
.pghero__ph::before, .pghero__ph::after { content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.pghero__ph::before { background: var(--c, var(--sky)); clip-path: polygon(22% 0, calc(22% + 30px) 0, 30px 100%, 0 100%); transform: translateX(-46px); }
.pghero__ph::after { background: var(--yellow); clip-path: polygon(22% 0, calc(22% + 10px) 0, 10px 100%, 0 100%); transform: translateX(-72px); }
/* ring heroes (people, articles): wide door stripes behind the person */
.pghero__ph:has(.pghero__ring)::before { background: var(--cp, var(--sky-pale)); clip-path: polygon(46% 0, 82% 0, 58% 100%, 22% 100%); transform: none; }
.pghero__ph:has(.pghero__ring)::after { background: var(--c, var(--sky)); clip-path: polygon(38% 0, 41% 0, 17% 100%, 14% 100%); transform: none; }
.pghero__ph .il { width: 140px; left: 4%; bottom: 40px; z-index: 3; }
.pghero__ring { position: absolute; z-index: 1; right: 9%; bottom: 0; width: min(34vw, 500px); }
.js .pghero__ph .ph.rvimg { clip-path: polygon(100% 0, 100% 0, 100% 100%, 100% 100%); }
.js .pghero__ph .ph.rvimg.is-in { clip-path: polygon(22% 0, 100% 0, 100% 100%, 0 100%); }
.pghero--noimg { min-height: 60svh; }
.pghero--noimg .pghero__txt { max-width: none; }
.pghero__base { display: none; }
@media (max-width: 1024px) {
  .pghero { display: block; min-height: 0; padding-top: var(--hd-h); }
  .pghero__ph { position: relative; width: 100%; height: 56vw; top: auto; }
  .pghero__ph .ph { clip-path: polygon(0 0, 100% 0, 100% 86%, 0 100%); }
  .pghero__ph::before, .pghero__ph::after { display: none; }
  .js .pghero__ph .ph.rvimg { clip-path: polygon(0 0, 0 0, 0 100%, 0 100%); }
  .js .pghero__ph .ph.rvimg.is-in { clip-path: polygon(0 0, 100% 0, 100% 86%, 0 100%); }
  .pghero__en { background: none; padding: 0; }
  .pghero__ring { position: relative; right: auto; margin: 0 auto; width: 60vw; display: block; }
  .pghero__in { display: flex; flex-direction: column-reverse; }
  .pghero__txt { max-width: none; padding: 40px var(--gut) 72px; }
  .pghero .wrap.pghero__in { padding: 0; }
}
@media (max-width: 640px) {
  .pghero__ph { height: 72vw; }
  .pghero__txt { text-align: center; padding: 28px var(--gut) 56px; }
  .pghero__bc { justify-content: center; margin-bottom: 14px; }
  .pghero__en { font-size: 60px; }
  .pghero__ttl { font-size: 21px; margin-inline: auto; }
  .pghero__lead { text-align: left; font-size: 15px; }
  .pghero__ph .il { width: 84px; }
}

/* in-page anchors */
.anchors { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin-bottom: 72px; }
.anchors a { display: inline-flex; align-items: center; gap: 8px; min-height: 48px; padding: 0 20px; border-radius: 999px; background: var(--sky-mist); font-weight: 900; font-size: 15px; }
@media (max-width: 640px) { .anchors { flex-wrap: nowrap; overflow-x: auto; justify-content: flex-start; margin: 0 calc(var(--gut) * -1) 48px; padding: 0 var(--gut); scroll-padding-inline: var(--gut); scrollbar-width: none; } .anchors a { flex: none; } }

/* split: text + photo (bigger photo, bleeding to the edge) */
.split { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 80px; align-items: center; }
.split--rev { grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); }
.split--rev .split__ph { order: -1; }
.split__ph .ph { aspect-ratio: 4 / 3.2; }
.split__ph .ph.arch { aspect-ratio: 4 / 3.6; }
.split h2, .split h3 { margin-bottom: 22px; }
@media (min-width: 1025px) {
  .split:not(.split--rev) .split__ph { margin-right: calc(var(--gut) * -1 - (100vw - min(100vw, var(--maxw) + var(--gut) * 2)) / 2); }
  .split--rev .split__ph { margin-left: calc(var(--gut) * -1 - (100vw - min(100vw, var(--maxw) + var(--gut) * 2)) / 2); }
}
@media (max-width: 1024px) { .split, .split--rev { grid-template-columns: minmax(0, 1fr); gap: 40px; } .split__ph { order: -1; margin: 0 calc(var(--gut) * -1); } }

/* statement */
.stmt { text-align: center; }
.stmt__en { font-family: var(--f-en); font-weight: 800; font-size: clamp(40px, 4.8vw, 84px); line-height: 1; letter-spacing: -.01em; color: var(--sky); white-space: nowrap; }
.stmt__big { display: block; width: fit-content; margin-inline: auto !important; font-size: clamp(34px, 4.4vw, 72px); font-weight: 900; line-height: 1.35; letter-spacing: .02em; margin: 18px 0 48px; color: var(--ink); }
.stmt__body { display: inline-block; text-align: center; line-height: 2.3; color: var(--ink-2); font-weight: 700; font-size: var(--fs-lead); }
@media (max-width: 640px) { .stmt__en { font-size: 28px; white-space: normal; } .stmt__big { font-size: min(24px, calc((100vw - 48px) / 14.6)); white-space: nowrap; } .stmt__body { line-height: 2.1; font-size: 14px; letter-spacing: .03em; } }

/* purpose / vision / value */
.pvv { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.pvv__item { background: var(--white); padding: 52px 52px 48px; display: grid; gap: 14px; align-content: start; }
.pvv__item .chip { justify-self: start; }
.pvv__big { font-size: clamp(28px, 2.6vw, 42px); font-weight: 900; line-height: 1.45; }
.pvv__item p:last-child { color: var(--ink-2); }
@media (max-width: 1024px) { .pvv { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 640px) { .pvv__item { padding: 32px 24px; text-align: center; } .pvv__item .chip { justify-self: center; } .pvv__item p:last-child { text-align: left; } }
.vals { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8px; margin-top: 40px; }
.vals li { background: var(--c); padding: 30px 14px 26px; text-align: center; display: grid; gap: 8px; justify-items: center; align-content: start; }
.vals li b { font-family: var(--f-en); font-weight: 800; font-size: 15px; }
.vals li span { font-size: 22px; font-weight: 900; line-height: 1.4; }
.vals li p { font-size: 13px; line-height: 1.7; font-weight: 700; }
@media (max-width: 1024px) { .vals { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 640px) { .vals { grid-template-columns: minmax(0, 1fr); } }

/* message page */
.msgq { font-size: clamp(26px, 3vw, 44px); font-weight: 900; line-height: 1.7; letter-spacing: .03em; text-align: center; }
.msgbody { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: 72px; align-items: start; }
.msgbody__ph { position: sticky; top: calc(var(--hd-h) + 40px); }
.msgbody h2 { margin: 56px 0 18px; }
.sign { margin-top: 40px; font-weight: 900; text-align: right; }
.sign small { display: block; font-size: 13px; color: var(--ink-3); }
.video { position: relative; aspect-ratio: 16 / 9; overflow: hidden; background: var(--ink); display: grid; place-items: center; }
.video .ph { position: absolute; inset: 0; opacity: .55; }
.video button { position: relative; z-index: 1; width: 104px; height: 104px; border-radius: 50%; background: var(--yellow); display: grid; place-items: center; transition: transform .3s; }
.video button:hover { transform: scale(1.06); }
.video button svg { width: 36px; height: 36px; margin-left: 6px; color: var(--ink); }
.video p { position: absolute; z-index: 1; left: 0; right: 0; bottom: 24px; text-align: center; color: var(--white); font-weight: 700; }
@media (max-width: 1024px) { .msgbody { grid-template-columns: minmax(0, 1fr); gap: 40px; } .msgbody__ph { position: static; max-width: 420px; margin: 0 auto; width: 100%; } }
@media (max-width: 640px) { .msgq { font-size: 22px; } .sign { text-align: center; } .video button { width: 76px; height: 76px; } }
.ph.supply { display: grid; place-items: center; text-align: center; aspect-ratio: 3 / 4; background: var(--sky-pale); clip-path: var(--cut); }
.ph.supply p { font-weight: 700; line-height: 1.8; color: var(--ink-2); padding: 0 24px; }
.ph.supply small { color: var(--ink-3); font-size: 13px; }

/* tables */
.dtable { display: grid; grid-template-columns: 220px minmax(0, 1fr); }
.dtable dt, .dtable dd { padding: 22px 4px; border-bottom: 1px solid var(--line); line-height: 1.85; }
.dtable dt { font-weight: 900; }
.dtable dd { color: var(--ink-2); }
@media (max-width: 640px) { .dtable { grid-template-columns: minmax(0, 1fr); } .dtable dt { padding-bottom: 0; border-bottom: 0; } .dtable dd { padding-top: 4px; } }
.tl li { display: grid; grid-template-columns: 140px minmax(0, 1fr); gap: 24px; padding: 18px 0; border-bottom: 1px solid var(--line); align-items: baseline; }
.tl time { font-family: var(--f-en); font-weight: 800; font-size: 22px; color: var(--sky-ink); }
.bases { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.base { background: var(--white); overflow: hidden; }
.base .ph { aspect-ratio: 16 / 11; }
.base__body { padding: 24px 28px 30px; }
.base__body h3 { font-size: var(--fs-h4); font-weight: 900; margin-bottom: 6px; display: flex; align-items: center; gap: 10px; }
.base__body p { font-size: var(--fs-small); color: var(--ink-2); line-height: 1.8; }
@media (max-width: 1024px) { .bases { grid-template-columns: minmax(0, 1fr); max-width: 600px; margin: 0 auto; } }

/* rules */
.rules { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.rule { background: var(--white); padding: 34px 26px 30px; display: grid; gap: 12px; align-content: start; justify-items: center; text-align: center; }
.rule__no { font-family: var(--f-en); font-weight: 800; font-size: 56px; line-height: 1; color: var(--c); }
.rule__ic { width: 100px; height: 100px; background: var(--cp); display: grid; place-items: center; }
.rule__ic svg { width: 50px; height: 50px; color: var(--ink); }
.rule h3 { font-size: 21px; font-weight: 900; line-height: 1.5; }
.rule p { font-size: var(--fs-small); color: var(--ink-2); line-height: 1.85; text-align: left; }
@media (max-width: 1024px) { .rules { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .rules { grid-template-columns: minmax(0, 1fr); } }
.sec--mist-band { background: var(--sky-mist); padding: 72px 0; margin-top: 8px; }
.cmp { width: 100%; border-collapse: collapse; background: var(--white); }
.cmp th, .cmp td { padding: 20px; text-align: center; border-bottom: 1px solid var(--line); }
.cmp thead th { background: var(--ink); color: var(--white); font-weight: 900; }
.cmp tbody th { text-align: left; font-weight: 900; }
.cmp td b { font-family: var(--f-en); font-size: 26px; color: var(--sky-ink); }
.cmp td span { color: var(--ink-3); }
/* comparison where one column is the subject (high-school hiring, Jinjib's field) and the other is only a reference */
.cmpwrap { overflow-x: auto; }
.cmp--focus thead th { background: var(--white); color: var(--ink); vertical-align: bottom; line-height: 1.5; }
.cmp--focus thead th small { display: block; font-size: 12px; font-weight: 700; letter-spacing: .08em; }
.cmp--focus thead th.cmp__main { background: var(--sky-ink); color: var(--white); }
.cmp--focus thead th.cmp__ref { color: var(--ink-3); }
.cmp--focus tbody th { font-size: 15px; }
.cmp--focus td.cmp__main { background: var(--sky-pale); }
.cmp--focus td.cmp__main b { font-family: var(--f-jp); font-size: 16px; font-weight: 900; color: var(--sky-ink); }
.cmp--focus td.cmp__main span { font-size: 14px; font-weight: 700; color: var(--ink-2); }
.cmp--focus td.cmp__ref { font-size: 14px; font-weight: 700; color: var(--ink-3); }
.cmp__after { margin-top: 36px; text-align: center; font-weight: 900; font-size: var(--fs-lead); line-height: 1.9; }
@media (max-width: 640px) { .cmp--focus th, .cmp--focus td { padding: 14px 10px; } .cmp--focus tbody th { font-size: 14px; } .cmp__after { font-size: 15px; } }
.bars { display: grid; gap: 18px; }
.bar { display: grid; grid-template-columns: 120px minmax(0, 1fr); gap: 16px; align-items: center; }
.bar__lbl { font-weight: 900; font-size: 15px; }
.bar__track { position: relative; height: 56px; background: var(--white); overflow: hidden; }
.bar__fill { position: absolute; left: 0; top: 0; bottom: 0; width: var(--w); background: var(--c, var(--sky)); display: flex; align-items: center; justify-content: flex-end; padding-right: 16px; font-family: var(--f-en); font-weight: 800; font-size: 24px; transform-origin: left; }
.js .bars:not(.is-in) .bar__fill { transform: scaleX(0); }
.bars .bar__fill { transition: transform 1.2s cubic-bezier(.2, .8, .2, 1); }
@media (max-width: 640px) { .bar { grid-template-columns: minmax(0, 1fr); gap: 6px; } }

/* services / issues / org */
.svcs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.svc { background: var(--white); padding: 40px 40px; display: grid; gap: 16px; align-content: start; }
.sec:not(.sec--mist) .svc { background: var(--sky-mist); }
.svc__head { display: flex; align-items: center; gap: 16px; }
.svc__ic { width: 68px; height: 68px; background: var(--c); display: grid; place-items: center; flex: none; }
.svc__ic svg { width: 34px; height: 34px; color: var(--ink); }
.svc h3 { font-size: var(--fs-h4); font-weight: 900; line-height: 1.45; }
.svc ul { display: grid; gap: 8px; }
.svc li { display: grid; padding: 14px 18px; background: var(--white); }
.sec--mist .svc li { background: var(--sky-mist); }
.svc li b { font-weight: 900; font-size: 16px; }
.svc li span { font-size: 13px; color: var(--ink-2); line-height: 1.7; }
@media (max-width: 1024px) { .svcs { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 640px) { .svc { padding: 28px 20px; } }
.issues { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.issue { background: var(--cp); padding: 30px 24px; text-align: center; display: grid; gap: 10px; justify-items: center; align-content: start; }
.issue svg { width: 48px; height: 48px; color: var(--ink); }
.issue h3 { font-size: 21px; font-weight: 900; line-height: 1.5; }
.issue p { font-size: 14px; color: var(--ink-2); line-height: 1.8; font-weight: 700; }
@media (max-width: 640px) { .issues { grid-template-columns: minmax(0, 1fr); } }
/* department map: every column = one photo (same size, at the top) + a bold heading + its departments.
   Departments are links on one light-blue plane (DESIGN_RULES 3-C): no outline boxes, round arrow on the right. */
.org { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; align-items: start; }
.org__col { display: grid; gap: 12px; align-content: start; }
.org__ph { aspect-ratio: 16 / 10; border-radius: var(--r-md); }
.org__head { margin-top: 10px; font-size: 19px; font-weight: 900; line-height: 1.5; color: var(--ink); }
.org__node { position: relative; display: grid; grid-template-columns: 56px minmax(0, 1fr) 40px; gap: 14px; align-items: center; padding: 18px 16px 18px 18px; border-radius: var(--r-md); background: var(--sky-pale); transition: background-color .25s; }
.org__node:hover { background: #cdeef3; }
.org__node::after { content: ""; width: 40px; height: 40px; border-radius: 50%; background: var(--white) var(--arrow) center / 16px no-repeat; transition: transform .3s; }
.org__node:hover::after { transform: translateX(3px); }
.org__node i { width: 56px; height: 56px; border-radius: 50%; background: var(--c); display: grid; place-items: center; font-style: normal; }
.org__node i svg { width: 28px; height: 28px; color: var(--ink); }
.org__node b { display: block; font-size: 17px; font-weight: 900; line-height: 1.45; }
.org__node span { font-size: 13px; color: var(--ink-2); line-height: 1.6; display: block; }
.org__arrow { text-align: center; font-size: 13px; font-weight: 900; color: var(--sky-ink); }
@media (max-width: 1024px) { .org { grid-template-columns: minmax(0, 1fr); gap: 56px; } .org__head { text-align: center; } }

/* dept page */
.dept-intro { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: 72px; align-items: center; }
.dept-intro .ring { max-width: 400px; margin: 0 auto; width: 100%; }
@media (max-width: 1024px) { .dept-intro { grid-template-columns: minmax(0, 1fr); gap: 40px; } }
.facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin-top: 32px; }
.fact { background: var(--cp); padding: 20px; text-align: center; }
.fact small { display: block; font-size: 12px; font-weight: 900; color: var(--ink-2); }
.fact b { display: block; font-size: 18px; font-weight: 900; line-height: 1.5; margin-top: 4px; }
@media (max-width: 640px) { .facts { grid-template-columns: minmax(0, 1fr); } }
.day { position: relative; display: grid; max-width: 860px; margin: 0 auto; }
.day li { position: relative; display: grid; grid-template-columns: 96px 26px minmax(0, 1fr); gap: 18px; padding-bottom: 30px; }
.day li::before { content: ""; position: absolute; left: 96px; margin-left: 30px; top: 22px; bottom: -4px; width: 2px; background: var(--line); }
.day li:last-child::before { display: none; }
.day time { font-family: var(--f-en); font-weight: 800; font-size: 22px; line-height: 1.5; color: var(--ink); text-align: right; }
.day i { width: 26px; height: 26px; background: var(--c); margin-top: 4px; position: relative; z-index: 1; transform: skewX(-15deg); }
.day h3 { font-size: 19px; font-weight: 900; line-height: 1.6; }
.day p { font-size: var(--fs-small); color: var(--ink-2); line-height: 1.85; }
@media (max-width: 640px) { .day li { grid-template-columns: 62px 22px minmax(0, 1fr); gap: 12px; } .day li::before { left: 62px; margin-left: 22px; } .day time { font-size: 18px; } .day i { width: 22px; height: 22px; } }
.wants { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.want { background: var(--white); padding: 36px 30px; display: grid; gap: 12px; justify-items: center; text-align: center; align-content: start; }
.sec:not(.sec--mist) .want { background: var(--sky-mist); }
.want__ic { width: 88px; height: 88px; background: var(--c); display: grid; place-items: center; }
.want__ic svg { width: 44px; height: 44px; color: var(--ink); }
.want h3 { font-size: 21px; font-weight: 900; line-height: 1.5; }
.want p { font-size: var(--fs-small); color: var(--ink-2); line-height: 1.85; text-align: left; }
.wants--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 1000px; margin: 0 auto; }
@media (max-width: 1024px) { .wants, .wants--2 { grid-template-columns: minmax(0, 1fr); } }
.yrs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; }
.yr { padding: 40px 34px; display: grid; gap: 10px; align-content: start; background: var(--sky-mist); }
.yr + .yr { background: var(--sky-pale); }
.yr + .yr + .yr { background: var(--ink); color: var(--white); }
.yr + .yr + .yr p { color: #c9d6da; }
.yr + .yr + .yr b { color: var(--sky); }
.yr b { font-family: var(--f-en); font-weight: 800; font-size: 16px; color: var(--sky-ink); letter-spacing: .08em; }
.yr h3 { font-size: 22px; font-weight: 900; line-height: 1.5; }
.yr p { font-size: var(--fs-small); color: var(--ink-2); line-height: 1.85; }
@media (max-width: 1024px) { .yrs { grid-template-columns: minmax(0, 1fr); } .yr { text-align: center; } .yr p { text-align: left; } }
.openjobs { display: grid; gap: 8px; }
.openjob a { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 20px; align-items: center; background: var(--white); padding: 22px 26px; transition: transform .25s; }
.sec:not(.sec--mist) .openjob a { background: var(--sky-mist); }
.openjob a:hover { transform: translateX(6px); }
.openjob__loc { font-size: 13px; font-weight: 900; padding: 4px 14px; background: var(--c, var(--sky)); white-space: nowrap; }
.openjob__ttl { font-weight: 900; line-height: 1.6; font-size: 17px; }
.openjob__ttl small { display: block; font-size: 13px; color: var(--ink-2); font-weight: 700; }
.openjob__pay { font-size: 14px; font-weight: 900; color: var(--ink-2); white-space: nowrap; display: flex; align-items: center; gap: 14px; }
.openjob__pay::after { content: ""; width: 44px; height: 44px; border-radius: 50%; background: var(--ink) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M7 17 17 7M9 7h8v8'/%3E%3C/svg%3E") center / 18px no-repeat; flex: none; }
@media (max-width: 640px) { .openjob a { grid-template-columns: minmax(0, 1fr); gap: 8px; padding: 18px 20px; } .openjob__loc { justify-self: start; } .openjob__pay { justify-content: space-between; } }

/* evaluation & career cases */
.evalg { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); gap: 24px; align-items: center; max-width: 960px; margin: 0 auto; }
.evalg__half { background: var(--c); border-radius: 50%; aspect-ratio: 1; display: grid; place-items: center; text-align: center; align-content: center; gap: 4px; padding: 20px; }
.evalg__half b { font-family: var(--f-en); font-weight: 800; font-size: clamp(56px, 8vw, 120px); line-height: 1; }
.evalg__half b small { font-size: .45em; }
.evalg__half span { font-size: 22px; font-weight: 900; }
.evalg__half p { font-size: 13px; font-weight: 700; line-height: 1.7; max-width: 240px; }
.evalg__plus { font-family: var(--f-en); font-weight: 800; font-size: 64px; }
@media (max-width: 640px) { .evalg { grid-template-columns: minmax(0, 1fr); gap: 8px; max-width: 300px; } .evalg__plus { text-align: center; } }
.cases { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.case { background: var(--white); padding: 30px 28px 32px; }
.case a { display: grid; gap: 14px; justify-items: center; }
.case .ring { max-width: 240px; margin: 0 auto; }
.case h3 { font-size: 20px; font-weight: 900; line-height: 1.55; text-align: center; }
/* career path rows: the block sits centred under the heading; labels stay aligned in one column */
.case__path { display: grid; gap: 6px; justify-self: center; width: fit-content; max-width: 100%; }
.case__path li { display: flex; gap: 10px; align-items: baseline; font-size: 14px; line-height: 1.7; }
.case__path li b { flex: none; font-size: 12px; font-weight: 900; background: var(--cp); padding: 1px 10px; }
@media (max-width: 1024px) { .cases { grid-template-columns: minmax(0, 1fr); max-width: 560px; margin: 0 auto; } }
.tags { display: flex; flex-wrap: wrap; gap: 8px; }
.tags .chip { white-space: normal; }

/* people list */
.filter { display: grid; gap: 14px; background: var(--sky-mist); padding: 30px 34px; margin-bottom: 64px; }
.filter__row { display: grid; grid-template-columns: 100px minmax(0, 1fr); gap: 16px; align-items: center; }
.filter__row > span { font-weight: 900; font-size: 15px; }
.filter__btns { display: flex; flex-wrap: wrap; gap: 6px; }
.filter__btns button { min-height: 44px; padding: 0 18px; border-radius: 999px; background: var(--white); font-size: 14px; font-weight: 900; transition: background-color .2s, color .2s; }
.filter__btns button[aria-pressed="true"] { background: var(--ink); color: var(--white); }
.filter__count { font-size: 14px; font-weight: 900; color: var(--ink-2); text-align: right; }
.filter__empty { text-align: center; padding: 40px 0; font-weight: 700; color: var(--ink-2); }
@media (max-width: 640px) {
  .filter { padding: 22px 0; }
  .filter__row { grid-template-columns: minmax(0, 1fr); gap: 8px; }
  .filter__row > span { padding: 0 20px; text-align: center; }
  .filter__btns { flex-wrap: nowrap; overflow-x: auto; padding: 0 20px; scroll-padding-inline: 20px; scrollbar-width: none; }
  .filter__btns button { flex: none; }
  .filter__count { text-align: center; padding: 0 20px; }
}
.pcards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 64px 40px; }
.pcard a { display: grid; gap: 16px; }
.pcard .ring { max-width: 300px; margin: 0 auto; width: 100%; }
.pcard__meta { display: flex; flex-wrap: wrap; gap: 6px; justify-content: center; }
.pcard__ttl { font-size: 18px; font-weight: 900; line-height: 1.65; }
.pcard__dept { font-size: 13px; color: var(--ink-3); font-weight: 700; line-height: 1.6; }
.pcard__date { font-family: var(--f-en); font-size: 12px; color: var(--ink-3); font-weight: 700; }
@media (max-width: 1024px) { .pcards { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 56px 24px; } }
@media (max-width: 640px) { .pcards { grid-template-columns: minmax(0, 1fr); gap: 52px; } .pcard .ring { max-width: 250px; } .pcard__ttl, .pcard__dept, .pcard__date { text-align: center; } }

/* article */
.arthero { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: 48px; align-items: end; width: 100%; }
.arthero__ttl { font-size: clamp(28px, 3.2vw, 48px); font-weight: 900; line-height: 1.5; letter-spacing: .02em; margin: 18px 0; }
.arthero__meta { display: flex; flex-wrap: wrap; gap: 8px; }
.arthero__date { font-family: var(--f-en); font-weight: 800; font-size: 15px; }
.arthero .ring { max-width: 400px; margin: 0 auto -6px; }
.pghero:has(.arthero) { min-height: 0; padding-bottom: 0; }
.pghero:has(.arthero) .pghero__txt { max-width: none; }
@media (max-width: 1024px) { .arthero { grid-template-columns: minmax(0, 1fr); gap: 28px; padding: 0 var(--gut); } .arthero .ring { max-width: 300px; } .pghero:has(.arthero) .pghero__txt { padding: 28px 0 0; } }
@media (max-width: 640px) {
  .arthero__ttl { font-size: 23px; text-align: left; }
  .pghero:has(.arthero) .pghero__txt { text-align: left; }
  .pghero:has(.arthero) .pghero__bc { justify-content: flex-start; }
  .pghero__bc { flex-wrap: nowrap; white-space: nowrap; }
  .pghero__bc li { flex: none; }
  .pghero__bc li:last-child { flex: 0 1 auto; min-width: 0; overflow: hidden; text-overflow: ellipsis; }
}
.artwrap { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 72px; align-items: start; }
.art__lead { font-size: var(--fs-lead); font-weight: 700; line-height: 2.05; padding: 32px 36px; background: var(--sky-mist); margin-bottom: 52px; }
.art h2 { font-size: clamp(24px, 2.2vw, 32px); font-weight: 900; line-height: 1.55; margin: 72px 0 26px; scroll-margin-top: calc(var(--hd-h) + 40px); }
.art h3 { font-size: 16px; font-weight: 900; color: var(--sky-ink); line-height: 1.8; margin: 32px 0 10px; }
.art p { color: var(--ink-2); line-height: 2.1; }
.art p + p { margin-top: 1lh; }
.art .art__fig { margin: 40px 0; }
.art .art__fig img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; background: var(--sky-pale); }
.art .art__fig figcaption { font-size: var(--fs-caption); color: var(--ink-3); margin-top: 8px; }
.side { position: sticky; top: calc(var(--hd-h) + 40px); display: grid; gap: 16px; }
.toc { background: var(--sky-mist); padding: 26px 26px 18px; }
.toc h2 { font-family: var(--f-en); font-weight: 800; font-size: 14px; letter-spacing: .14em; margin-bottom: 8px; }
.toc ol { counter-reset: t; }
.toc li { counter-increment: t; }
.toc li a { display: grid; grid-template-columns: 28px minmax(0, 1fr); gap: 6px; padding: 9px 0; font-size: 14px; font-weight: 700; line-height: 1.6; color: var(--ink-2); }
.toc li a::before { content: counter(t, decimal-leading-zero); font-family: var(--f-en); font-weight: 800; color: var(--sky-ink); font-size: 13px; line-height: 1.85; }
.toc li + li a { border-top: 1px solid var(--line); }
.prof { padding: 24px 26px; display: grid; gap: 8px; background: var(--cp); }
.prof dt { font-size: 12px; font-weight: 900; color: var(--ink-2); }
.prof dd { font-weight: 900; line-height: 1.6; font-size: 15px; }
.prof dd + dt { margin-top: 4px; }
@media (max-width: 1024px) { .artwrap { grid-template-columns: minmax(0, 1fr); gap: 40px; } .side { position: static; order: -1; } }
@media (max-width: 640px) { .art__lead { padding: 22px 20px; font-size: 16px; } .art h2 { font-size: 21px; margin-top: 56px; } }
.nextlinks { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.nextlinks a { display: grid; grid-template-columns: 72px minmax(0, 1fr); gap: 18px; align-items: center; background: var(--white); padding: 22px 24px; font-weight: 900; line-height: 1.55; font-size: 18px; transition: transform .25s; }
.sec:not(.sec--mist) .nextlinks a { background: var(--sky-mist); }
.nextlinks a:hover { transform: translateY(-3px); }
.nextlinks a i { width: 72px; height: 72px; background: var(--c); display: grid; place-items: center; }
.nextlinks a i svg { width: 32px; height: 32px; color: var(--ink); }
.nextlinks a small { display: block; font-size: 12px; color: var(--ink-3); font-weight: 700; }
@media (max-width: 640px) { .nextlinks { grid-template-columns: minmax(0, 1fr); } }

/* benefits */
.bens { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.ben { background: var(--white); padding: 34px 30px; display: grid; gap: 12px; align-content: start; }
.bens--mist .ben { background: var(--sky-mist); }
.ben__head { display: flex; align-items: center; gap: 14px; }
.ben__ic { width: 64px; height: 64px; background: var(--c); display: grid; place-items: center; flex: none; }
.ben__ic svg { width: 32px; height: 32px; color: var(--ink); }
.ben h3 { font-size: 20px; font-weight: 900; line-height: 1.5; }
.ben p { font-size: var(--fs-small); color: var(--ink-2); line-height: 1.85; }
.ben__big { font-family: var(--f-en); font-weight: 800; font-size: 48px; line-height: 1.1; color: var(--ink) !important; }
.ben__big small { font-family: var(--f-jp); font-size: 17px; font-weight: 900; margin-left: 2px; }
@media (max-width: 1024px) { .bens { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .bens { grid-template-columns: minmax(0, 1fr); } .ben { text-align: center; justify-items: center; } .ben__head { flex-direction: column; } .ben p { text-align: left; } }
.days { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.dayc { background: var(--c); padding: 34px 30px; display: grid; gap: 10px; align-content: start; }
.dayc__ic { display: block; }
.dayc__ic svg { width: 52px; height: 52px; color: var(--ink); }
.dayc h3 { font-family: var(--f-en); font-size: 28px; font-weight: 800; line-height: 1.25; }
.dayc h3 small { display: block; font-family: var(--f-jp); font-size: 14px; font-weight: 900; }
.dayc p { font-size: var(--fs-small); line-height: 1.85; font-weight: 700; }
@media (max-width: 1024px) { .days { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .days { grid-template-columns: minmax(0, 1fr); } .dayc { justify-items: center; text-align: center; } .dayc p { text-align: left; } }

/* gallery & scenes */
.gal { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.gal figure { position: relative; }
.gal figure .ph { aspect-ratio: 1 / 1; }
.gal figure:nth-child(3n+1) .ph { aspect-ratio: 1 / 1; }
.gal figcaption { position: absolute; left: 10px; bottom: 10px; z-index: 2; background: var(--ink); color: var(--white); font-size: 13px; font-weight: 900; padding: 2px 10px; line-height: 1.6; }
@media (max-width: 1024px) { .gal { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 640px) { .gal { grid-template-columns: minmax(0, 1fr); gap: 8px; } .gal figure .ph { aspect-ratio: 16 / 10; } .gal figure:nth-child(n+5) { display: none; } }
.scenes { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px 16px; }
.scene .ph { aspect-ratio: 16 / 10; }
.scene h3 { font-size: 22px; font-weight: 900; line-height: 1.5; margin: 20px 0 6px; display: flex; gap: 10px; align-items: center; }
.scene p { font-size: var(--fs-small); color: var(--ink-2); line-height: 1.85; }
@media (max-width: 640px) { .scenes { grid-template-columns: minmax(0, 1fr); } }

/* join */
.req { background: var(--white); padding: 18px 44px; }
.req--mist { background: var(--sky-mist); }
.req .dtable dt:last-of-type, .req .dtable dd:last-of-type { border-bottom: 0; }
@media (max-width: 640px) { .req { padding: 8px 22px; } }
.flow { --n: 5; display: grid; grid-template-columns: repeat(var(--n), minmax(0, 1fr)); gap: 8px; counter-reset: f; }
.flow li { counter-increment: f; position: relative; background: var(--white); padding: 30px 16px 26px; text-align: center; display: grid; gap: 8px; justify-items: center; align-content: start; clip-path: polygon(0 0, calc(100% - 14px) 0, 100% 50%, calc(100% - 14px) 100%, 0 100%); }
.sec:not(.sec--mist) .flow li { background: var(--sky-mist); }
.flow li::before { content: "STEP " counter(f); font-family: var(--f-en); font-weight: 800; font-size: 12px; letter-spacing: .1em; background: var(--c); padding: 2px 12px; }
.flow li b { font-size: 18px; font-weight: 900; line-height: 1.5; }
.flow li span { font-size: 13px; color: var(--ink-2); line-height: 1.7; }
@media (max-width: 1024px) { .flow { grid-template-columns: minmax(0, 1fr); max-width: 560px; margin: 0 auto; } .flow li { clip-path: polygon(0 0, 100% 0, 100% calc(100% - 12px), 50% 100%, 0 calc(100% - 12px)); padding-bottom: 34px; } }
.faq { display: grid; gap: 8px; }
.faq details { background: var(--white); }
.sec:not(.sec--mist) .faq details { background: var(--sky-mist); }
.faq summary { list-style: none; cursor: pointer; display: grid; grid-template-columns: 44px minmax(0, 1fr) 30px; gap: 16px; align-items: center; padding: 22px 26px; font-weight: 900; line-height: 1.6; font-size: 17px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::before { content: "Q"; width: 44px; height: 44px; background: var(--c, var(--sky)); display: grid; place-items: center; font-family: var(--f-en); font-weight: 800; }
.faq summary::after { content: ""; width: 12px; height: 12px; border-right: 3px solid var(--ink); border-bottom: 3px solid var(--ink); transform: rotate(45deg); justify-self: center; transition: transform .25s; }
.faq details[open] summary::after { transform: rotate(-135deg); }
.faq .faq__a { padding: 0 26px 26px 86px; color: var(--ink-2); line-height: 1.95; }
@media (max-width: 640px) { .faq summary { padding: 16px; gap: 10px; grid-template-columns: 36px minmax(0, 1fr) 20px; font-size: 16px; } .faq summary::before { width: 36px; height: 36px; } .faq .faq__a { padding: 0 18px 20px; } }
.faqcat { margin-top: 64px; }
.faqcat:first-child { margin-top: 0; }
.faqcat > h2 { display: flex; align-items: center; gap: 12px; font-size: var(--fs-h4); font-weight: 900; margin-bottom: 18px; }
.jobfilter { display: flex; flex-wrap: wrap; gap: 6px; justify-content: center; margin-bottom: 36px; }
.jobfilter button { min-height: 46px; padding: 0 22px; border-radius: 999px; background: var(--sky-mist); font-weight: 900; font-size: 14px; }
.jobfilter button[aria-pressed="true"] { background: var(--ink); color: var(--white); }
@media (max-width: 640px) { .jobfilter { flex-wrap: nowrap; overflow-x: auto; justify-content: flex-start; margin: 0 calc(var(--gut) * -1) 28px; padding: 0 var(--gut); scroll-padding-inline: var(--gut); scrollbar-width: none; } .jobfilter button { flex: none; } }
.callout { position: relative; background: var(--cp, var(--sky-mist)); padding: 52px 56px; display: grid; grid-template-columns: 200px minmax(0, 1fr); gap: 40px; align-items: center; overflow: hidden; }
.callout__fig { width: 200px; height: 200px; background: var(--white); display: grid; place-items: end center; overflow: hidden; border-radius: 50%; }
.callout__fig img { width: 80%; margin-bottom: -4%; }
.callout h3 { margin-bottom: 12px; }
@media (max-width: 640px) { .callout { grid-template-columns: minmax(0, 1fr); padding: 34px 22px; text-align: center; gap: 20px; } .callout__fig { margin: 0 auto; width: 160px; height: 160px; } .callout p { text-align: left; } }
.deptnav { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8px; }
.deptnav a { position: relative; display: block; overflow: hidden; }
.deptnav .ph { aspect-ratio: 4 / 3; background: var(--ink); }
.deptnav .ph img { opacity: .85; transition: transform .8s cubic-bezier(.2, .8, .2, 1); }
.deptnav a:hover .ph img { transform: scale(1.06); }
.deptnav b { position: absolute; left: 10px; bottom: 10px; background: var(--ink); color: var(--white); font-size: 14px; font-weight: 900; line-height: 1.5; padding: 2px 10px; }
@media (max-width: 1024px) { .deptnav { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 640px) { .deptnav { grid-template-columns: minmax(0, 1fr); } .deptnav .ph { aspect-ratio: 16 / 7; } }

.sechead { display: flex; justify-content: space-between; align-items: end; gap: 24px; margin-bottom: 56px; flex-wrap: wrap; }
.sechead .ttl { margin-bottom: 0; }
@media (max-width: 640px) { .sechead { justify-content: center; } }
.imgnote-all { margin-top: 40px; text-align: center; font-size: var(--fs-caption); color: var(--ink-3); }
.dome .imgnote-all { color: var(--ink); }

/* utilities */
.mt-xs { margin-top: 8px; } .mt-s { margin-top: 18px; } .mt-m { margin-top: 32px; } .mt-l { margin-top: 48px; } .mt-xl { margin-top: 80px; }
.mb-m { margin-bottom: 28px; } .mb-l { margin-bottom: 48px; }
.center { text-align: center; }
.linkrow { display: flex; flex-wrap: wrap; gap: 14px 36px; }
.sp-block { display: none; }
.entry .ttl { margin-bottom: 0; }
@media (max-width: 640px) { .mt-xl { margin-top: 52px; } .linkrow { flex-direction: column; align-items: center; } .sp-block { display: block; } }

/* ---------- motion ---------- */
.js .rv { opacity: 0; transform: translateY(36px); transition: opacity .9s cubic-bezier(.2, .8, .2, 1), transform .9s cubic-bezier(.2, .8, .2, 1); }
.js .rv.is-in { opacity: 1; transform: none; }
.js .rvimg { clip-path: inset(0 100% 0 0); transition: clip-path 1.2s cubic-bezier(.7, 0, .2, 1); }
.js .rvimg.is-in { clip-path: inset(0 0 0 0); }
.js .arch.rvimg.is-in { clip-path: var(--cut); }
.js .pop { opacity: 0; transform: scale(.86); transition: opacity .7s, transform .9s cubic-bezier(.3, 1.4, .5, 1); }
.js .pop.is-in { opacity: 1; transform: none; }
.js .stagger > * { opacity: 0; transform: translateY(32px); transition: opacity .8s, transform .8s cubic-bezier(.2, .8, .2, 1); }
.js .stagger.is-in > * { opacity: 1; transform: none; }
.js .stagger.is-in > *:nth-child(2) { transition-delay: .08s; }
.js .stagger.is-in > *:nth-child(3) { transition-delay: .16s; }
.js .stagger.is-in > *:nth-child(4) { transition-delay: .24s; }
.js .stagger.is-in > *:nth-child(5) { transition-delay: .32s; }
.js .stagger.is-in > *:nth-child(6) { transition-delay: .4s; }
.js .plates.rv > span { clip-path: inset(0 100% 0 0); transition: clip-path .9s cubic-bezier(.7, 0, .2, 1); }
.js .plates.rv.is-in > span { clip-path: inset(0 0 0 0); }
.js .plates.rv.is-in > span:nth-child(2) { transition-delay: .15s; }
.js .plates.rv.is-in > span:nth-child(3) { transition-delay: .3s; }
.chars .split-ch { display: inline-block; }
.js .chars .split-ch { opacity: 0; transform: translateY(.5em) rotate(4deg); transition: opacity .5s, transform .7s cubic-bezier(.2, .8, .2, 1); transition-delay: calc(var(--ci) * 40ms); }
.js .chars.is-in .split-ch { opacity: 1; transform: none; }
.px { will-change: transform; transform: translate3d(0, var(--py, 0), 0); }
.float { animation: floaty 5s ease-in-out infinite; }
.float--2 { animation-duration: 6.5s; animation-delay: -2s; }
@keyframes floaty { 50% { transform: translateY(-12px); } }
@media (prefers-reduced-motion: reduce) {
  .js .rv, .js .rvimg, .js .pop, .js .stagger > *, .js .chars .split-ch, .js .plates.rv > span, .js .hp, .js .stripes i, .js .hero2__catch .ln > span { opacity: 1 !important; transform: none !important; clip-path: none !important; transition: none !important; }
  .js .stripes i { transform: skewX(-32deg) !important; }
  .float, .marq__track, .hero2__marq span, .nband__marq span, .msg2__marq span, .hero2__scroll::after { animation: none; }
  .st { position: relative; }
}
