/* ==========================================================================
   INNOVATE IT STAFFING — RETRO EDITION
   2.5D retro woodblock-inspired design system
   ========================================================================== */

/* ---------- 01. TOKENS ---------- */
:root {
  --paper: #f3e9d4;
  --paper-2: #eadbc0;
  --paper-3: #dfcbaa;
  --ink: #1f1b17;
  --ink-2: #40382f;
  --ink-3: #74695b;
  --red: #d8492e;
  --red-deep: #b5371f;
  --indigo: #233f59;
  --indigo-deep: #162a3c;
  --teal: #2f6d64;
  --gold: #b98a2f;
  --sakura: #e8a8a0;
  --white: #fffaf0;
  --line: rgba(31, 27, 23, 0.16);
  --line-strong: rgba(31, 27, 23, 0.44);
  --paper-line: rgba(243, 233, 212, 0.2);
  --shadow-ink: 8px 8px 0 rgba(31, 27, 23, 0.14);
  --shadow-hard: 8px 8px 0 var(--ink);
  --font-display: 'Anton', Impact, 'Arial Narrow', sans-serif;
  --font-serif: 'Shippori Mincho B1', 'Times New Roman', serif;
  --font-body: 'Zen Kaku Gothic New', system-ui, -apple-system, sans-serif;
  --font-mono: 'Space Mono', 'Courier New', monospace;
  --shell: 1240px;
  --header-h: 82px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --noise: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.82' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.46'/%3E%3C/svg%3E");
  --seigaiha: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='60' viewBox='0 0 120 60'%3E%3Cg fill='none' stroke='%23233f59' stroke-width='1.1' opacity='.24'%3E%3Cpath d='M-30 60a30 30 0 0 1 60 0M0 60a30 30 0 0 1 60 0M30 60a30 30 0 0 1 60 0M60 60a30 30 0 0 1 60 0M90 60a30 30 0 0 1 60 0'/%3E%3Cpath d='M-15 60a15 15 0 0 1 30 0M15 60a15 15 0 0 1 30 0M45 60a15 15 0 0 1 30 0M75 60a15 15 0 0 1 30 0M105 60a15 15 0 0 1 30 0'/%3E%3C/g%3E%3C/svg%3E");
  --seigaiha-light: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='60' viewBox='0 0 120 60'%3E%3Cg fill='none' stroke='%23f3e9d4' stroke-width='1.1' opacity='.35'%3E%3Cpath d='M-30 60a30 30 0 0 1 60 0M0 60a30 30 0 0 1 60 0M30 60a30 30 0 0 1 60 0M60 60a30 30 0 0 1 60 0M90 60a30 30 0 0 1 60 0'/%3E%3Cpath d='M-15 60a15 15 0 0 1 30 0M15 60a15 15 0 0 1 30 0M45 60a15 15 0 0 1 30 0M75 60a15 15 0 0 1 30 0M105 60a15 15 0 0 1 30 0'/%3E%3C/g%3E%3C/svg%3E");
}

/* ---------- 02. RESET & BASE ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
body.is-loading { overflow: hidden; }
body.dialog-open { overflow: hidden; }
h1, h2, h3, h4, h5, p, figure, blockquote { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
::selection { background: var(--red); color: var(--paper); }
:focus-visible { outline: 2px solid var(--red); outline-offset: 4px; }
[hidden] { display: none !important; }
[id] { scroll-margin-top: calc(var(--header-h) + 26px); }
.svg-sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.hp-field { position: absolute !important; left: -9999px !important; opacity: 0; pointer-events: none; }
.shell {
  width: 100%;
  max-width: calc(var(--shell) + 64px);
  margin-inline: auto;
  padding-inline: 32px;
  position: relative;
  z-index: 1;
}
.skip-link {
  position: fixed; top: 12px; left: 12px; z-index: 10050;
  padding: 10px 16px; background: var(--ink); color: var(--paper);
  font-family: var(--font-mono); font-size: 0.7rem; transform: translateY(-150%);
  transition: transform 0.3s var(--ease);
}
.skip-link:focus { transform: none; }

/* Paper grain */
.page-grain {
  position: fixed; inset: 0; z-index: 9000; pointer-events: none;
  background-image: var(--noise); opacity: 0.14; mix-blend-mode: multiply;
}

/* Custom cursor */
.cursor {
  position: fixed; top: 0; left: 0; z-index: 10001; pointer-events: none;
  opacity: 0; transition: opacity 0.3s ease;
}
.cursor__ring, .cursor__dot {
  position: absolute; top: 0; left: 0; border-radius: 50%;
  transform: translate(-50%, -50%);
}
.cursor__ring {
  width: 30px; height: 30px; border: 1px solid var(--red);
  transition: width 0.28s var(--ease), height 0.28s var(--ease),
              background 0.28s ease, border-color 0.28s ease, opacity 0.2s;
}
.cursor__dot { width: 5px; height: 5px; background: var(--red); }
.cursor__label { display: none; }
@media (hover: hover) and (pointer: fine) {
  .has-custom-cursor, .has-custom-cursor a, .has-custom-cursor button,
  .has-custom-cursor [role="button"], .has-custom-cursor canvas { cursor: none; }
  .cursor.is-active { opacity: 1; }
  .cursor.is-hover .cursor__ring {
    width: 54px; height: 54px; background: rgba(216, 73, 46, 0.1);
    border-color: var(--ink);
  }
  .cursor.is-hover .cursor__dot { opacity: 0; }
  .cursor.is-down .cursor__ring { width: 20px; height: 20px; }
}

/* ---------- 03. LOADER ---------- */
.loader {
  position: fixed; inset: 0; z-index: 9999;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 20px; background: var(--paper);
  transition: opacity 0.8s var(--ease), visibility 0.8s;
}
.loader.is-done { opacity: 0; visibility: hidden; pointer-events: none; }
.loader__sun {
  position: absolute; width: min(46vw, 360px); aspect-ratio: 1/1; border-radius: 50%;
  background: radial-gradient(circle at 36% 32%, #e86445, var(--red) 58%, var(--red-deep));
  opacity: 0.92;
}
.loader__sun::after {
  content: ''; position: absolute; inset: 0; border-radius: 50%;
  background-image: radial-gradient(circle, rgba(243,233,212,0.4) 1px, transparent 1.4px);
  background-size: 7px 7px; opacity: 0.4;
}
.loader__seal {
  position: relative; z-index: 1; width: 86px; height: 86px;
  display: grid; place-items: center; background: var(--ink); color: var(--paper);
  border: 2px solid var(--paper); font-family: var(--font-serif);
  font-size: 1.7rem; font-weight: 700; letter-spacing: 0.03em;
  box-shadow: 7px 7px 0 rgba(31, 27, 23, 0.25);
  animation: sealIn 0.9s var(--ease) both;
}
.loader__tagline {
  position: relative; z-index: 1; font-family: var(--font-mono);
  font-size: 0.56rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--ink-3);
}
.loader__bar {
  position: relative; z-index: 1; width: min(260px, 60vw); height: 3px;
  background: rgba(31, 27, 23, 0.15); overflow: hidden;
}
.loader__bar span { display: block; width: 0; height: 100%; background: var(--ink); transition: width 0.7s var(--ease); }
.loader__meta {
  position: relative; z-index: 1; display: flex; justify-content: space-between;
  gap: 20px; width: min(340px, 70vw); font-family: var(--font-mono);
  font-size: 0.52rem; letter-spacing: 0.14em; color: var(--ink-3);
}
@keyframes sealIn { from { opacity: 0; transform: scale(0.7) rotate(-8deg); } to { opacity: 1; transform: none; } }

/* ---------- 04. HEADER ---------- */
.site-header {
  position: fixed; top: 0; left: 0; width: 100%; z-index: 100;
  height: var(--header-h);
  transition: height 0.35s var(--ease), background 0.35s ease,
              border-color 0.35s ease, box-shadow 0.35s ease;
  border-bottom: 1px solid transparent;
}
.site-header.is-scrolled {
  height: 70px;
  background: rgba(243, 233, 212, 0.92);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border-bottom-color: var(--line-strong);
  box-shadow: 0 6px 24px rgba(31, 27, 23, 0.06);
}
.header__inner { display: flex; align-items: center; justify-content: space-between; gap: 22px; height: 100%; }
.brand { display: inline-flex; align-items: center; gap: 11px; flex-shrink: 0; }
.brand__seal {
  width: 40px; height: 40px; display: grid; place-items: center;
  background: var(--red); color: var(--paper); border: 2px solid var(--ink);
  font-family: var(--font-serif); font-size: 1rem; font-weight: 700;
  letter-spacing: 0.02em;
  box-shadow: 3px 3px 0 var(--ink); transform: rotate(-2deg);
  transition: transform 0.35s var(--ease), background 0.35s ease;
}
.brand:hover .brand__seal { transform: rotate(4deg) scale(1.04); background: var(--red-deep); }
.brand__word { display: flex; flex-direction: column; line-height: 1; }
.brand__word strong { font-family: var(--font-serif); font-weight: 700; font-size: 1.18rem; letter-spacing: -0.02em; }
.brand__word small {
  font-family: var(--font-mono); font-size: 0.53rem; letter-spacing: 0.22em;
  color: var(--red); margin-top: 4px;
}
.desk-nav { display: flex; align-items: center; gap: clamp(12px, 1.7vw, 26px); }
.desk-nav__link { position: relative; display: flex; flex-direction: column; gap: 2px; line-height: 1.1; padding: 5px 0; }
.desk-nav__kicker { font-family: var(--font-serif); font-size: 0.55rem; letter-spacing: 0.16em; color: var(--red); opacity: 0.85; }
.desk-nav__en { font-family: var(--font-mono); font-size: 0.66rem; letter-spacing: 0.03em; text-transform: uppercase; color: var(--ink); }
.desk-nav__link::after {
  content: ''; position: absolute; left: 0; bottom: -2px; width: 100%; height: 1px;
  background: var(--red); transform: scaleX(0); transform-origin: right;
  transition: transform 0.35s var(--ease);
}
.desk-nav__link:hover::after, .desk-nav__link:focus-visible::after { transform: scaleX(1); transform-origin: left; }
.header__actions { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.sound-toggle {
  width: 38px; height: 38px; border: 1px solid var(--line-strong);
  background: transparent; display: grid; place-items: center; cursor: pointer;
  transition: background 0.3s ease, color 0.3s ease, transform 0.3s var(--ease), border-color 0.3s;
}
.sound-toggle:hover { background: var(--ink); color: var(--paper); border-color: var(--ink); transform: rotate(-5deg); }
.sound-toggle.is-on { background: var(--red); border-color: var(--red); color: var(--paper); animation: soundPulse 2.4s infinite; }
.sound-toggle__bars { display: none; }
@keyframes soundPulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(216, 73, 46, 0); }
  50% { box-shadow: 0 0 0 4px rgba(216, 73, 46, 0.12); }
}
.menu-btn {
  display: none; width: 40px; height: 40px; border: 1px solid var(--ink);
  background: transparent; cursor: pointer; padding: 0;
  flex-direction: column; align-items: center; justify-content: center; gap: 5px;
  transition: background 0.3s ease, color 0.3s ease;
}
.menu-btn span:not(.sr-only) { display: block; width: 18px; height: 1.5px; background: currentColor; transition: transform 0.3s; }
.menu-btn:hover { background: var(--ink); color: var(--paper); }

/* ---------- 05. BUTTONS ---------- */
.btn {
  position: relative; display: inline-flex; align-items: center; justify-content: space-between;
  gap: 16px; padding: 14px 20px; border: 1.5px solid var(--ink);
  font-family: var(--font-mono); font-size: 0.68rem; font-weight: 700;
  letter-spacing: 0.06em; line-height: 1.2; text-transform: uppercase;
  background: var(--paper); color: var(--ink); cursor: pointer;
  box-shadow: 4px 4px 0 var(--ink);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease),
              background 0.3s ease, color 0.3s ease;
}
.btn:hover { transform: translate(-2px, -2px); box-shadow: 7px 7px 0 var(--ink); }
.btn:active { transform: translate(1px, 1px); box-shadow: 2px 2px 0 var(--ink); }
.btn__icon { display: inline-grid; place-items: center; transition: transform 0.35s var(--ease); }
.btn:hover .btn__icon { transform: translateX(4px); }
.btn--red { background: var(--red); color: var(--paper); border-color: var(--ink); }
.btn--red:hover { background: var(--red-deep); }
.btn--ink { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.btn--ink:hover { background: var(--red); }
.btn--ghost { background: transparent; }
.btn--ghost:hover { background: var(--ink); color: var(--paper); }
.btn--paper { background: var(--paper); color: var(--ink); }
.btn--paper:hover { background: var(--white); }
.btn--sm { padding: 10px 14px; font-size: 0.58rem; gap: 10px; box-shadow: 3px 3px 0 var(--ink); }
.btn--sm:hover { box-shadow: 5px 5px 0 var(--ink); }
.btn--lg { padding: 16px 22px; }
.btn--full { width: 100%; }
.btn:disabled { opacity: 0.65; cursor: wait; transform: none; box-shadow: 3px 3px 0 var(--ink); }
.btn:disabled .btn__icon { opacity: 0.5; }
.icon { flex-shrink: 0; }

/* ---------- 06. MOBILE MENU ---------- */
.mobile-menu {
  position: fixed; inset: 0; width: 100%; height: 100%;
  max-width: none; max-height: none; margin: 0; padding: 0; border: 0;
  background: var(--paper); color: var(--ink); overflow: hidden;
}
.mobile-menu[open] { display: block; animation: menuIn 0.45s var(--ease); }
.mobile-menu::backdrop {
  background: rgba(22, 20, 17, 0.6);
  -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px);
}
.mobile-menu__inner { height: 100%; display: flex; flex-direction: column; }
.mobile-menu__head {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 18px 24px; border-bottom: 1px solid var(--line-strong); flex-shrink: 0;
}
.mobile-menu__close {
  width: 44px; height: 44px; border: 1px solid var(--ink); background: transparent;
  display: grid; place-items: center; cursor: pointer; transition: background 0.3s, color 0.3s;
}
.mobile-menu__close:hover { background: var(--red); color: var(--paper); border-color: var(--red); }
.mobile-menu__scroll { overflow-y: auto; padding: 14px 24px 28px; flex: 1; }
.mobile-nav__link {
  display: flex; align-items: baseline; gap: 14px; padding: 10px 0;
  border-bottom: 1px solid var(--line); transition: color 0.3s;
}
.mobile-nav__link:hover { color: var(--red); }
.mobile-nav__num { font-family: var(--font-mono); font-size: 0.55rem; color: var(--red); }
.mobile-nav__en { font-family: var(--font-serif); font-weight: 600; font-size: 1.75rem; line-height: 1.3; }
.mobile-nav__jp { margin-left: auto; font-family: var(--font-serif); font-size: 0.68rem; color: var(--ink-3); }
.mobile-sub {
  display: flex; flex-wrap: wrap; gap: 7px 16px; padding: 10px 0 14px 32px;
  border-bottom: 1px solid var(--line);
}
.mobile-sub a, .mobile-sub button {
  font-family: var(--font-mono); font-size: 0.6rem; letter-spacing: 0.02em;
  color: var(--ink-3); background: none; border: 0; padding: 0; cursor: pointer; text-align: left;
}
.mobile-sub a:hover, .mobile-sub button:hover { color: var(--red); }
.mobile-sub--cols { display: grid; grid-template-columns: 1fr 1fr; }
.mobile-menu__foot {
  display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap;
  margin-top: 24px; padding-top: 16px; border-top: 1px solid var(--line-strong);
  font-family: var(--font-mono); font-size: 0.56rem; letter-spacing: 0.04em; color: var(--ink-3);
}
@keyframes menuIn { from { opacity: 0; transform: translateX(24px); } to { opacity: 1; transform: none; } }

/* ---------- 07. HERO ---------- */
.hero {
  position: relative; min-height: 100svh; padding-top: var(--header-h);
  display: flex; flex-direction: column; overflow: clip;
  background: var(--paper); isolation: isolate;
}
.hero::before {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(180deg, rgba(234, 219, 192, 0.38), transparent 32%),
    radial-gradient(ellipse at 75% 38%, rgba(216, 73, 46, 0.06), transparent 56%);
}
.hero__wash { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.hero__sun {
  position: absolute; top: 7%; right: 1%; width: min(44vw, 600px); aspect-ratio: 1/1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(216, 73, 46, 0.16), rgba(216, 73, 46, 0.04) 55%, transparent 70%);
  border: 1px solid rgba(216, 73, 46, 0.16);
}
.hero__halftone {
  position: absolute; left: 0; right: 0; bottom: 0; height: 24%;
  background-image: radial-gradient(circle, var(--ink) 1px, transparent 1.2px);
  background-size: 8px 8px; opacity: 0.055;
  -webkit-mask-image: linear-gradient(to top, #000, transparent);
  mask-image: linear-gradient(to top, #000, transparent);
}
.hero__kanji {
  position: absolute; right: -1%; bottom: 10%; font-family: var(--font-serif);
  font-size: clamp(16rem, 32vw, 30rem); font-weight: 800; line-height: 0.7;
  color: transparent; -webkit-text-stroke: 1px rgba(31, 27, 23, 0.07);
  pointer-events: none; user-select: none;
}
.hero__vertical {
  position: absolute; left: 13px; top: 45%; writing-mode: vertical-rl;
  font-family: var(--font-serif); font-size: 0.72rem; letter-spacing: 0.42em;
  color: var(--ink-3); opacity: 0.7;
}
.hero__cloud {
  position: absolute; height: 34px; width: 150px; border-radius: 999px;
  background: rgba(255, 250, 240, 0.65); border: 1px solid rgba(31, 27, 23, 0.08);
  opacity: 0.6;
}
.hero__cloud::before, .hero__cloud::after {
  content: ''; position: absolute; bottom: 0; border-radius: 50%;
  background: inherit; border: inherit;
}
.hero__cloud::before { width: 58px; height: 58px; left: 20px; bottom: 6px; }
.hero__cloud::after { width: 40px; height: 40px; right: 24px; bottom: 3px; }
.hero__cloud--a { top: 20%; left: 42%; animation: cloudDrift 12s ease-in-out infinite; }
.hero__cloud--b { bottom: 22%; left: 5%; transform: scale(0.72); opacity: 0.35; animation: cloudDrift 16s ease-in-out infinite reverse; }
@keyframes cloudDrift { 0%, 100% { translate: 0 0; } 50% { translate: 14px -6px; } }

.hero__grid {
  position: relative; z-index: 2; flex: 1 1 auto;
  display: grid; grid-template-columns: minmax(0, 1.03fr) minmax(0, 0.97fr);
  gap: clamp(20px, 3.4vw, 54px); align-items: center;
  padding-top: clamp(30px, 5vh, 62px); padding-bottom: clamp(20px, 3vh, 36px);
}
.hero__copy { position: relative; max-width: 620px; }
.hero__eyebrow { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.status-pill {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 10px; border: 1px solid var(--line-strong);
  background: rgba(255, 250, 240, 0.45);
  font-family: var(--font-mono); font-size: 0.55rem; letter-spacing: 0.12em;
}
.status-pill__dot {
  width: 5px; height: 5px; border-radius: 50%; background: var(--red);
  box-shadow: 0 0 0 0 rgba(216, 73, 46, 0.4); animation: dotPulse 2.4s infinite;
}
@keyframes dotPulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(216, 73, 46, 0.35); }
  55% { box-shadow: 0 0 0 5px rgba(216, 73, 46, 0); }
}
.hero__coords { font-family: var(--font-mono); font-size: 0.56rem; letter-spacing: 0.12em; color: var(--ink-3); }
.hero__title { margin-top: 22px; display: flex; flex-direction: column; align-items: flex-start; text-transform: none; }
.hero__line { display: block; }

.hero__line--mega {
  position: relative;
  font-family: var(--font-display); font-size: clamp(4rem, 8.4vw, 8.5rem);
  line-height: 0.82; letter-spacing: -0.015em; text-transform: uppercase;
  margin-left: -0.035em; color: var(--ink);
}
.hero__line--mega::after {
  content: ''; display: inline-block; width: clamp(28px, 5vw, 62px); height: 3px;
  background: var(--red); margin-left: 16px; vertical-align: 0.28em;
}
.hero__line--mincho {
  font-family: var(--font-serif); font-weight: 600;
  font-size: clamp(1.8rem, 3.9vw, 3.5rem); line-height: 1.14;
  margin-top: 12px; letter-spacing: -0.02em; color: var(--ink);
}
.hero__line--mincho em { position: relative; font-style: normal; color: var(--red); }
.hero__line--mincho em::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: 4%;
  height: 0.16em; background: var(--red); opacity: 0.14; z-index: -1;
}
.hero__line--sub {
  font-family: var(--font-display); text-transform: uppercase;
  font-size: clamp(1.45rem, 2.8vw, 2.5rem); line-height: 1.1;
  letter-spacing: 0.005em; margin-top: 18px; color: var(--ink);
}
.hero__jp {
  margin-top: 18px; padding-left: 12px; border-left: 2px solid var(--red);
  font-family: var(--font-serif); font-size: clamp(0.74rem, 0.9vw, 0.85rem);
  letter-spacing: 0.1em; color: var(--ink-2);
}
.hero__lead {
  margin-top: 14px; max-width: 51ch; font-size: clamp(0.88rem, 1.05vw, 0.98rem);
  line-height: 1.85; color: var(--ink-2);
}
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: clamp(20px, 3vh, 30px); }
.hero__cta .btn--lg { flex: 0 1 auto; }

.discipline { margin-top: clamp(20px, 3vh, 30px); }
.discipline__label {
  display: block; margin-bottom: 8px; font-family: var(--font-mono);
  font-size: 0.54rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-3);
}
.seg {
  display: inline-flex; flex-wrap: wrap; padding: 3px;
  border: 1px solid var(--line-strong); background: rgba(255, 250, 240, 0.38);
}
.seg__btn {
  display: inline-flex; align-items: center; gap: 6px; min-height: 33px;
  padding: 6px 10px; border: 0; border-right: 1px solid var(--line);
  background: transparent; cursor: pointer;
  font-family: var(--font-mono); font-size: 0.55rem; font-weight: 400;
  letter-spacing: 0.01em; text-transform: uppercase; color: var(--ink-2);
  transition: background 0.25s ease, color 0.25s ease;
}
.seg__btn:last-child { border-right: 0; }
.seg__btn:hover { background: rgba(216, 73, 46, 0.08); }
.seg__btn.is-active { background: var(--ink); color: var(--paper); }
.seg__dot { width: 5px; height: 5px; border-radius: 50%; background: currentColor; opacity: 0.4; }
.seg__btn.is-active .seg__dot { background: var(--red); opacity: 1; }

.hero__metrics {
  position: relative; z-index: 2;
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--line-strong);
  padding-top: 16px; padding-bottom: 20px;
}
.metric { display: flex; flex-direction: column; gap: 4px; padding: 0 20px; border-left: 1px solid var(--line); min-width: 0; }
.metric:first-child { padding-left: 0; border-left: 0; }
.metric::before { content: ''; width: 16px; height: 2px; background: var(--red); margin-bottom: 5px; }
.metric__val {
  font-family: var(--font-display); font-size: clamp(1.8rem, 2.9vw, 2.6rem);
  line-height: 1; letter-spacing: 0.01em; white-space: nowrap;
}
.metric__label {
  font-family: var(--font-mono); font-size: 0.54rem; letter-spacing: 0.06em;
  line-height: 1.55; text-transform: uppercase; color: var(--ink-3);
  max-width: 23ch;
}

/* Hero entrance */
.js .hero__copy [data-hero],
.js .hero__metrics {
  opacity: 0; translate: 0 24px;
  transition: opacity 0.9s var(--ease), translate 0.9s var(--ease);
}
.js .hero__copy [data-hero="1"] { transition-delay: 0.08s; }
.js .hero__copy [data-hero="2"] { transition-delay: 0.16s; }
.js .hero__copy [data-hero="3"] { transition-delay: 0.24s; }
.js .hero__copy [data-hero="4"] { transition-delay: 0.32s; }
.js .hero__copy [data-hero="5"] { transition-delay: 0.40s; }
.js .hero__copy [data-hero="6"] { transition-delay: 0.48s; }
.js .hero__copy [data-hero="7"] { transition-delay: 0.56s; }
.js .hero__metrics { transition-delay: 0.66s; }
body.is-loaded .hero__copy [data-hero],
body.is-loaded .hero__metrics { opacity: 1; translate: 0 0; }
.js .hero__visual {
  opacity: 0; transform: translateY(26px) scale(0.97);
  transition: opacity 1.1s var(--ease) 0.2s, transform 1.1s var(--ease) 0.2s;
}
body.is-loaded .hero__visual { opacity: 1; transform: none; }

/* Hero diorama */
.hero__visual {
  position: relative; height: auto; min-height: 0;
  display: flex; flex-direction: column; gap: 8px; justify-content: flex-start;
}
.diorama { position: relative; width: 100%; height: min(62vh, 600px); min-height: 460px; isolation: isolate; }
.diorama__sun {
  position: absolute; top: 5%; left: 15%; width: 70%; aspect-ratio: 1/1; border-radius: 50%;
  background: radial-gradient(circle at 36% 32%, #e96545, var(--red) 58%, var(--red-deep));
  opacity: 0.94; z-index: 0;
  box-shadow: 0 0 0 12px rgba(216, 73, 46, 0.05), 0 0 0 28px rgba(216, 73, 46, 0.025);
}
.diorama__sun::after {
  content: ''; position: absolute; inset: 0; border-radius: 50%;
  background-image: radial-gradient(circle, rgba(243, 233, 212, 0.34) 1px, transparent 1.3px);
  background-size: 7px 7px; opacity: 0.35;
}
.diorama__fallback {
  position: absolute; inset: 5% 0 0; width: 100%; height: 92%; z-index: 1;
  transition: opacity 0.8s ease; filter: drop-shadow(10px 18px 0 rgba(31, 27, 23, 0.06));
}
.diorama.is-ready .diorama__fallback { opacity: 0; }
#dioramaCanvas {
  position: absolute; inset: 0; width: 100%; height: 100%; z-index: 2;
  touch-action: pan-y; cursor: grab;
}
#dioramaCanvas:active { cursor: grabbing; }
.diorama__grain {
  position: absolute; inset: 3%; z-index: 3; pointer-events: none;
  background-image: var(--noise); opacity: 0.22; mix-blend-mode: multiply;
  -webkit-mask-image: radial-gradient(ellipse at 50% 55%, #000, transparent 74%);
  mask-image: radial-gradient(ellipse at 50% 55%, #000, transparent 74%);
}
.diorama__vertical {
  position: absolute; right: 0; top: 9%; z-index: 4; writing-mode: vertical-rl;
  font-family: var(--font-serif); font-size: 0.68rem; letter-spacing: 0.35em;
  color: var(--ink-3); opacity: 0.65;
}
.diorama__seal {
  position: absolute; left: 2%; bottom: 16%; z-index: 4;
  width: 40px; height: 40px; display: grid; place-items: center;
  border: 2px solid var(--red); color: var(--red);
  font-family: var(--font-serif); font-size: 0.82rem; font-weight: 700; letter-spacing: 0.03em;
  transform: rotate(-7deg); opacity: 0.9; background: rgba(243, 233, 212, 0.35);
}
.diorama__corner { position: absolute; width: 18px; height: 18px; z-index: 4; opacity: 0.45; }
.diorama__corner--tl { top: 4%; left: 4%; border-top: 1px solid var(--ink); border-left: 1px solid var(--ink); }
.diorama__corner--tr { top: 4%; right: 4%; border-top: 1px solid var(--ink); border-right: 1px solid var(--ink); }
.diorama__corner--bl { bottom: 9%; left: 4%; border-bottom: 1px solid var(--ink); border-left: 1px solid var(--ink); }
.diorama__corner--br { bottom: 9%; right: 4%; border-bottom: 1px solid var(--ink); border-right: 1px solid var(--ink); }
.diorama__cloud {
  position: absolute; z-index: 1; height: 26px; width: 110px; border-radius: 999px;
  background: rgba(255, 250, 240, 0.8); border: 1px solid rgba(31, 27, 23, 0.08);
  opacity: 0.7;
}
.diorama__cloud::before, .diorama__cloud::after {
  content: ''; position: absolute; border-radius: 50%; background: inherit; border: inherit;
}
.diorama__cloud::before { width: 40px; height: 40px; left: 14px; bottom: 4px; }
.diorama__cloud::after { width: 28px; height: 28px; right: 16px; bottom: 2px; }
.diorama__cloud--a { top: 13%; left: 4%; transform: scale(0.85); animation: cloudDrift 11s ease-in-out infinite; }
.diorama__cloud--b { top: 34%; right: 1%; transform: scale(0.65); animation: cloudDrift 14s ease-in-out infinite reverse; }
.diorama__cloud--c { bottom: 22%; left: 14%; transform: scale(0.55); opacity: 0.45; animation: cloudDrift 17s ease-in-out infinite; }
.diorama__caption {
  position: absolute; left: 2%; right: 2%; bottom: 0; z-index: 5;
  display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap;
  border-top: 1px solid var(--line); padding-top: 9px;
  font-family: var(--font-mono); font-size: 0.53rem; letter-spacing: 0.1em; color: var(--ink-3);
}
.diorama__caption b { color: var(--red); font-weight: 400; }
.diorama__hint { color: var(--red); opacity: 0.8; animation: hintBlink 3.6s ease-in-out infinite; }
@keyframes hintBlink { 0%, 100% { opacity: 0.45; } 50% { opacity: 0.95; } }
/* ---------- TALENT ECOSYSTEM CONSOLE ---------- */
.talent-console {
  position: relative; z-index: 6; flex-shrink: 0;
  padding: 10px 12px 9px; background: rgba(255, 250, 240, 0.94);
  border: 1px solid var(--ink); box-shadow: 4px 4px 0 var(--ink);
}
.talent-console__top {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  padding-bottom: 7px; border-bottom: 1px solid var(--line);
}
.talent-console__eyebrow {
  display: inline-flex; align-items: center; gap: 6px;
  font-family: var(--font-mono); font-size: 0.48rem; letter-spacing: 0.07em;
  text-transform: uppercase; color: var(--ink); white-space: nowrap;
}
.talent-console__eyebrow em { font-style: normal; color: var(--red); font-size: 0.44rem; letter-spacing: 0.05em; }
.talent-console__dot {
  width: 5px; height: 5px; border-radius: 50%; background: var(--red);
  box-shadow: 0 0 0 0 rgba(216, 73, 46, 0.35); animation: consolePulse 2.4s infinite;
}
@keyframes consolePulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(216, 73, 46, 0.35); }
  55% { box-shadow: 0 0 0 5px rgba(216, 73, 46, 0); }
}
.talent-console__practice {
  display: inline-flex; align-items: center; gap: 4px; padding: 0;
  border: 0; background: transparent; color: var(--red);
  font-family: var(--font-mono); font-size: 0.46rem; letter-spacing: 0.04em;
  text-transform: uppercase; text-align: right; cursor: pointer; white-space: nowrap;
}
.talent-console__practice:hover { text-decoration: underline; text-underline-offset: 3px; }
.talent-console__body {
  display: grid; grid-template-columns: 34px minmax(0, 1fr) 32px;
  gap: 8px; align-items: center; padding: 7px 0 6px;
}
.talent-console__number {
  font-family: var(--font-display); font-size: 1.95rem; line-height: 0.8;
  color: var(--red); letter-spacing: 0.01em;
}
.talent-console__copy { min-width: 0; }
.talent-console__title {
  display: block; margin-bottom: 2px; font-family: var(--font-mono);
  font-size: 0.54rem; letter-spacing: 0.09em; color: var(--ink);
}
.talent-console__copy p {
  margin: 0; font-size: 0.69rem; line-height: 1.42; color: var(--ink-2);
  max-width: 47ch;
}
.talent-console__play {
  width: 32px; height: 32px; display: grid; place-items: center;
  border: 1px solid var(--ink); background: var(--red); color: var(--paper);
  box-shadow: 2px 2px 0 var(--ink); cursor: pointer;
  transition: background 0.3s, color 0.3s, transform 0.3s var(--ease);
}
.talent-console__play:hover { background: var(--ink); }
.talent-console__play:active { transform: translate(1px, 1px); box-shadow: 1px 1px 0 var(--ink); }
.talent-console__play.is-playing { background: var(--ink); }
.talent-console__steps {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 3px;
  padding-top: 7px; border-top: 1px solid var(--line);
}
.journey-step {
  display: inline-flex; align-items: center; justify-content: center; gap: 4px;
  min-width: 0; padding: 5px 3px; border: 1px solid transparent; background: transparent;
  font-family: var(--font-mono); font-size: 0.45rem; letter-spacing: 0.01em;
  color: var(--ink-3); cursor: pointer; white-space: nowrap;
  transition: background 0.25s, color 0.25s, border-color 0.25s;
}
.journey-step span { color: var(--red); }
.journey-step:hover { background: rgba(216, 73, 46, 0.07); }
.journey-step.is-active { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.journey-step.is-active span { color: var(--sakura); }
.journey-step.is-past { background: rgba(216, 73, 46, 0.08); color: var(--ink-2); }
.talent-console.is-complete { border-color: var(--teal); }
.talent-console.is-complete .talent-console__play { background: var(--teal); }
.talent-console.is-complete .talent-console__title::after {
  content: ' / MATCH MADE';
  color: var(--teal);
  font-weight: 400;
}
.talent-console[data-practice="it"] .talent-console__dot { background: var(--teal); }
.talent-console[data-practice="non-it"] .talent-console__dot { background: var(--gold); }

/* ---------- 08. MARQUEE ---------- */
.marquee {
  position: relative; z-index: 3; overflow: hidden;
  background: var(--ink); color: var(--paper);
  border-top: 1px solid var(--ink); border-bottom: 1px solid var(--ink);
  padding-block: 13px;
}
.marquee__track {
  display: flex; width: max-content; gap: 48px;
  animation: marqueeMove 34s linear infinite;
}
.marquee__track span {
  font-family: var(--font-mono); font-size: 0.66rem; letter-spacing: 0.16em; white-space: nowrap;
}
.marquee__track i { font-style: normal; color: var(--red); margin-inline: 6px; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__seal {
  position: absolute; right: 22px; top: 50%; transform: translateY(-50%) rotate(2deg);
  padding: 2px 6px; background: var(--red); color: var(--paper);
  border: 1px solid var(--paper); font-family: var(--font-serif); font-size: 0.62rem;
  letter-spacing: 0.12em; z-index: 2;
}
.marquee::before, .marquee::after {
  content: ''; position: absolute; top: 0; bottom: 0; width: 70px; z-index: 1; pointer-events: none;
}
.marquee::before { left: 0; background: linear-gradient(90deg, var(--ink), transparent); }
.marquee::after { right: 0; background: linear-gradient(-90deg, var(--ink), transparent); }
@keyframes marqueeMove { to { transform: translateX(-50%); } }

/* ---------- 09. SECTION SYSTEM ---------- */
.section {
  position: relative; padding-block: clamp(88px, 10vw, 142px);
  overflow: clip; isolation: isolate;
}
.section--dark { background: var(--indigo-deep); color: var(--paper); }
.section--dark .sec-title { color: var(--paper); }
.section--dark .sec-title em { color: var(--sakura); }
.bg-kanji {
  position: absolute; z-index: 0; pointer-events: none; user-select: none;
  font-family: var(--font-serif); font-weight: 800; line-height: 0.78;
  font-size: clamp(11rem, 23vw, 23rem); color: transparent;
  -webkit-text-stroke: 1px rgba(31, 27, 23, 0.055);
}
.section--dark .bg-kanji { -webkit-text-stroke-color: rgba(243, 233, 212, 0.065); }
.bg-kanji--about { top: 6%; right: -5%; }
.bg-kanji--employers { top: 10%; left: -4%; }
.bg-kanji--services { top: 5%; left: -4%; }
.bg-kanji--sectors { bottom: -4%; right: -4%; }
.bg-kanji--careers { top: 8%; right: -5%; }
.bg-kanji--contact { bottom: 2%; left: -3%; }

.section-head { margin-bottom: clamp(38px, 5.5vw, 70px); }
.section-head__meta {
  display: flex; align-items: center; gap: 13px;
  padding-bottom: 13px; margin-bottom: clamp(24px, 4vw, 44px);
  border-bottom: 1px solid var(--line);
  font-family: var(--font-mono); font-size: 0.55rem;
  letter-spacing: 0.11em; text-transform: uppercase; color: var(--ink-3);
}
.section-head__no { font-family: var(--font-display); font-size: 1.1rem; line-height: 1; color: var(--red); letter-spacing: 0.04em; }
.section-head__line { width: 34px; height: 1px; background: var(--line-strong); flex-shrink: 0; }
.section-head__label span { color: var(--red); padding-inline: 3px; }
.section-head__kanji {
  margin-left: auto; padding: 2px 6px; border: 1px solid var(--red);
  color: var(--red); font-family: var(--font-serif); font-size: 0.62rem; letter-spacing: 0.1em;
}
.section-head__main {
  display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(260px, 0.65fr);
  gap: clamp(28px, 5vw, 72px); align-items: end;
}
.sec-title {
  font-family: var(--font-display); font-size: clamp(2.45rem, 5vw, 4.8rem);
  font-weight: 400; line-height: 0.99; letter-spacing: -0.005em;
  text-transform: uppercase; color: var(--ink);
}
.sec-title em {
  display: inline-block; font-family: var(--font-serif);
  font-size: 0.84em; font-style: normal; font-weight: 600;
  line-height: 1.1; letter-spacing: -0.025em;
  text-transform: none; color: var(--red);
}
.sec-lead, .section-head__aside {
  max-width: 48ch; font-size: 0.92rem; line-height: 1.8; color: var(--ink-2);
}
.section-head__aside p + p { margin-top: 12px; }
.section--dark .section-head__meta { color: rgba(243, 233, 212, 0.58); border-bottom-color: var(--paper-line); }
.section--dark .section-head__line { background: rgba(243, 233, 212, 0.28); }
.section--dark .section-head__kanji { color: var(--sakura); border-color: var(--sakura); }
.section--dark .section-head__aside,
.section--dark .section-head__aside p { color: rgba(243, 233, 212, 0.72); }
.section--dark .scroll-note,
.section--dark .sector-hint { color: rgba(243, 233, 212, 0.55); }
.scroll-note, .sector-hint {
  display: inline-flex; align-items: center; gap: 8px; margin-top: 14px;
  font-family: var(--font-mono); font-size: 0.55rem; letter-spacing: 0.03em; color: var(--ink-3);
}
.scroll-note__seal {
  width: 20px; height: 20px; display: grid; place-items: center;
  background: var(--red); color: var(--paper); font-family: var(--font-serif); font-size: 0.65rem;
  transform: rotate(-4deg);
}
.sub-badge {
  display: inline-block; margin-bottom: 12px; font-family: var(--font-mono);
  font-size: 0.54rem; letter-spacing: 0.12em; color: var(--red);
}

/* Reveal system */
.js [data-reveal] {
  opacity: 0; translate: 0 28px;
  transition: opacity 0.9s var(--ease), translate 0.9s var(--ease);
  transition-delay: var(--delay, 0ms);
}
.js [data-reveal].is-inview { opacity: 1; translate: 0 0; }

/* ---------- 10. ABOUT ---------- */
.section--about { background: var(--paper); }
.section--about::before {
  content: ''; position: absolute; left: 0; right: 0; top: 0; height: 360px;
  background-image: var(--seigaiha); opacity: 0.55;
  -webkit-mask-image: linear-gradient(to bottom, #000, transparent);
  mask-image: linear-gradient(to bottom, #000, transparent);
  pointer-events: none;
}
.about {
  display: grid; grid-template-columns: minmax(240px, 0.36fr) minmax(0, 0.64fr);
  border: 1px solid var(--line-strong); background: rgba(255, 250, 240, 0.34);
  box-shadow: var(--shadow-ink);
}
.about__tabs { display: flex; flex-direction: column; border-right: 1px solid var(--line-strong); }
.about-tab {
  position: relative; display: flex; align-items: center; gap: 14px;
  width: 100%; padding: 23px 20px; text-align: left;
  background: transparent; border: 0; border-bottom: 1px solid var(--line);
  cursor: pointer; transition: background 0.3s ease, color 0.3s ease;
}
.about-tab:last-of-type { border-bottom: 0; }
.about-tab__num { font-family: var(--font-mono); font-size: 0.6rem; letter-spacing: 0.06em; color: var(--red); }
.about-tab__text { display: flex; flex-direction: column; gap: 2px; }
.about-tab__kicker { font-family: var(--font-mono); font-size: 0.5rem; letter-spacing: 0.09em; color: var(--ink-3); transition: color 0.3s; }
.about-tab__en { font-family: var(--font-serif); font-size: 1.15rem; font-weight: 600; line-height: 1.25; }
.about-tab__arrow {
  margin-left: auto; color: var(--red); opacity: 0; transform: translateX(-6px);
  transition: opacity 0.3s ease, transform 0.35s var(--ease);
}
.about-tab:hover { background: rgba(216, 73, 46, 0.045); }
.about-tab.is-active { background: var(--ink); color: var(--paper); }
.about-tab.is-active .about-tab__num,
.about-tab.is-active .about-tab__kicker { color: var(--sakura); }
.about-tab.is-active .about-tab__arrow { opacity: 1; transform: none; color: var(--sakura); }
.about__tab-note {
  margin-top: auto; padding: 20px; border-top: 1px solid var(--line);
  font-family: var(--font-mono); font-size: 0.5rem; letter-spacing: 0.18em; color: var(--ink-3);
}
.about__panels { position: relative; padding: clamp(24px, 3.8vw, 48px); min-height: 560px; }
.about-panel { animation: panelIn 0.5s var(--ease); }
@keyframes panelIn { from { opacity: 0; translate: 0 12px; } to { opacity: 1; translate: 0 0; } }
.about-panel__head {
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding-bottom: 12px; margin-bottom: 20px; border-bottom: 1px solid var(--line);
}
.about-panel__kicker { font-family: var(--font-mono); font-size: 0.56rem; letter-spacing: 0.1em; color: var(--red); }
.about-panel__mark { font-family: var(--font-serif); font-size: 2rem; line-height: 1; opacity: 0.14; }
.about-panel__title {
  margin-bottom: 20px; font-family: var(--font-display); font-weight: 400;
  font-size: clamp(1.9rem, 3vw, 2.9rem); line-height: 1; text-transform: uppercase;
}
.about-panel__lead {
  font-family: var(--font-serif); font-size: clamp(1rem, 1.4vw, 1.1rem);
  line-height: 1.8; color: var(--ink);
}
.about-panel p + p { margin-top: 14px; }
.about-panel > p { font-size: 0.88rem; line-height: 1.85; color: var(--ink-2); }
.about-panel > p.about-panel__lead { color: var(--ink); }
.about-panel__signature {
  display: flex; align-items: center; gap: 10px; margin-top: 26px; padding-top: 18px;
  border-top: 1px solid var(--line); font-family: var(--font-serif); font-size: 0.85rem; color: var(--ink-2);
}
.mini-seal {
  width: 26px; height: 26px; display: grid; place-items: center; flex-shrink: 0;
  background: var(--red); color: var(--paper); font-family: var(--font-serif);
  font-size: 0.75rem; transform: rotate(-4deg);
}

/* Pillars */
.pillar-grid {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px;
  margin-top: 26px; background: var(--line); border: 1px solid var(--line);
}
.pillar { background: var(--paper); padding: 20px 16px; }
.pillar__mark { display: block; color: var(--red); font-size: 0.58rem; }
.pillar__title { margin: 9px 0 7px; font-family: var(--font-serif); font-size: 1rem; line-height: 1.35; }
.pillar__desc { font-size: 0.76rem; line-height: 1.75; color: var(--ink-2); }
.pull-quote {
  position: relative; margin-top: 26px; padding: 20px 22px 20px 38px;
  background: rgba(216, 73, 46, 0.06); border-left: 3px solid var(--red);
}
.pull-quote__mark {
  position: absolute; left: 12px; top: 6px; font-family: var(--font-serif);
  font-size: 2.3rem; line-height: 1; color: var(--red); opacity: 0.45;
}
.pull-quote p { font-family: var(--font-serif); font-size: 0.98rem; line-height: 1.7; color: var(--ink); }

/* Approach note */
.approach-note {
  position: relative; display: flex; flex-direction: column; gap: 5px;
  margin-top: 28px; padding: 24px 90px 24px 24px; overflow: hidden;
  background: var(--indigo); color: var(--paper);
}
.approach-note__jp { font-family: var(--font-serif); font-size: 1.25rem; letter-spacing: 0.1em; }
.approach-note__en { font-family: var(--font-mono); font-size: 0.55rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--sakura); }
.approach-note__seal {
  position: absolute; right: 18px; top: 50%; transform: translateY(-50%) rotate(5deg);
  width: 54px; height: 54px; display: grid; place-items: center;
  border: 1px solid rgba(243, 233, 212, 0.35); font-family: var(--font-serif);
  font-size: 2rem; color: rgba(243, 233, 212, 0.6);
}

/* Vision & mission */
.vm-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.vm-card { padding: 24px 22px; border: 1px solid var(--line-strong); background: rgba(255, 250, 240, 0.4); }
.vm-card--mission { box-shadow: 5px 5px 0 rgba(216, 73, 46, 0.16); }
.vm-card--vision { background: var(--indigo); color: var(--paper); box-shadow: 5px 5px 0 var(--ink); }
.vm-card__tag {
  display: inline-block; margin-bottom: 14px; padding: 3px 8px;
  border: 1px solid currentColor; font-family: var(--font-mono);
  font-size: 0.52rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--red);
}
.vm-card--vision .vm-card__tag { color: var(--sakura); }
.vm-card p { font-size: 0.8rem; line-height: 1.8; color: var(--ink-2); }
.vm-card__lead { font-family: var(--font-serif); font-size: 0.93rem !important; line-height: 1.8 !important; color: var(--ink) !important; }
.vm-card p + p { margin-top: 12px; }
.vm-card--vision p { color: rgba(243, 233, 212, 0.8); }
.vm-card--vision .vm-card__lead { color: var(--paper) !important; }

/* ---------- 11. EMPLOYERS ---------- */
.section--employers {
  background-color: var(--indigo-deep);
  background-image:
    radial-gradient(circle at 18% 24%, rgba(216, 73, 46, 0.16), transparent 34%),
    radial-gradient(circle at 82% 72%, rgba(47, 109, 100, 0.2), transparent 38%),
    radial-gradient(circle at 1px 1px, rgba(243, 233, 212, 0.08) 1px, transparent 0);
  background-size: auto, auto, 26px 26px;
}
.section--employers::before {
  content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 200px;
  background-image: var(--seigaiha-light); opacity: 0.18;
  -webkit-mask-image: linear-gradient(to top, #000, transparent);
  mask-image: linear-gradient(to top, #000, transparent);
  pointer-events: none;
}
.models {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px;
}
.model {
  position: relative; display: flex; flex-direction: column; overflow: hidden;
  padding: 26px 26px 20px; border: 1px solid rgba(243, 233, 212, 0.2);
  background: rgba(243, 233, 212, 0.025);
  transition: background 0.45s var(--ease), color 0.45s ease,
              box-shadow 0.45s var(--ease), transform 0.45s var(--ease);
}
.model::before {
  content: ''; position: absolute; inset: 8px; border: 1px solid rgba(243, 233, 212, 0.07);
  pointer-events: none; transition: border-color 0.4s;
}
.model::after {
  content: ''; position: absolute; right: -20%; bottom: -60%; width: 220px; height: 220px;
  border: 1px solid rgba(243, 233, 212, 0.06); border-radius: 50%;
  transition: border-color 0.4s, transform 0.6s var(--ease);
}
.model:hover {
  background: var(--paper); color: var(--ink);
  transform: translate(-4px, -4px);
  box-shadow: 9px 9px 0 var(--red);
}
.model:hover::before { border-color: var(--line); }
.model:hover::after { border-color: rgba(216, 73, 46, 0.15); transform: scale(1.1); }
.model__top { display: flex; align-items: center; justify-content: space-between; gap: 10px; position: relative; z-index: 1; }
.model__num { font-family: var(--font-mono); font-size: 0.55rem; letter-spacing: 0.12em; color: rgba(243, 233, 212, 0.5); transition: color 0.4s; }
.model__tag {
  font-family: var(--font-mono); font-size: 0.5rem; letter-spacing: 0.08em;
  color: var(--sakura); border: 1px solid currentColor; padding: 3px 6px;
}
.model__title {
  position: relative; z-index: 1; margin: 22px 0 10px;
  font-family: var(--font-serif); font-weight: 700; font-size: clamp(1.25rem, 1.85vw, 1.55rem);
  line-height: 1.3; color: var(--paper); transition: color 0.4s;
}
.model__desc {
  position: relative; z-index: 1; font-size: 0.82rem; line-height: 1.8;
  color: rgba(243, 233, 212, 0.68); transition: color 0.4s;
}
.model__foot {
  position: relative; z-index: 1; display: flex; align-items: center; justify-content: space-between;
  margin-top: 24px; padding-top: 12px; border-top: 1px solid rgba(243, 233, 212, 0.14);
  font-family: var(--font-mono); font-size: 0.5rem; letter-spacing: 0.12em;
  color: rgba(243, 233, 212, 0.35); transition: color 0.4s, border-color 0.4s;
}
.model__arrow { font-size: 1rem; color: var(--sakura); transition: transform 0.4s var(--ease); }
.model:hover .model__num { color: var(--ink-3); }
.model:hover .model__tag { color: var(--red); }
.model:hover .model__title { color: var(--ink); }
.model:hover .model__desc { color: var(--ink-2); }
.model:hover .model__foot { color: var(--ink-3); border-top-color: var(--line); }
.model:hover .model__arrow { color: var(--red); transform: translate(3px, -3px); }
.employer-cta {
  position: relative; display: flex; align-items: center; justify-content: space-between;
  gap: 28px; flex-wrap: wrap; margin-top: 20px; padding: clamp(24px, 3.6vw, 44px);
  background: var(--red); color: var(--paper);
  box-shadow: 8px 8px 0 rgba(0, 0, 0, 0.28); overflow: hidden;
}
.employer-cta::before {
  content: ''; position: absolute; right: 10%; top: -100px; width: 280px; height: 280px;
  border-radius: 50%; border: 1px solid rgba(243, 233, 212, 0.22);
}
.employer-cta::after {
  content: ''; position: absolute; right: 17%; top: -45px; width: 170px; height: 170px;
  border-radius: 50%; background: rgba(243, 233, 212, 0.06);
}
.employer-cta__copy { position: relative; z-index: 1; max-width: 660px; }
.employer-cta__kicker { display: block; margin-bottom: 10px; font-family: var(--font-serif); font-size: 0.72rem; letter-spacing: 0.25em; opacity: 0.8; }
.employer-cta h3 {
  font-family: var(--font-serif); font-weight: 700; font-size: clamp(1.5rem, 2.6vw, 2.2rem);
  line-height: 1.3;
}
.employer-cta p { margin-top: 8px; font-size: 0.85rem; color: rgba(243, 233, 212, 0.82); }
.employer-cta .btn { position: relative; z-index: 1; flex-shrink: 0; }

/* ---------- 12. SERVICES ---------- */
.section--services {
  background:
    linear-gradient(180deg, var(--paper) 0%, #f7efdf 46%, var(--paper) 100%);
}
.section--services::before {
  content: ''; position: absolute; inset: 0; pointer-events: none; opacity: 0.5;
  background-image:
    linear-gradient(30deg, transparent 49.4%, rgba(31, 27, 23, 0.05) 50%, transparent 50.6%),
    linear-gradient(-30deg, transparent 49.4%, rgba(31, 27, 23, 0.05) 50%, transparent 50.6%);
  background-size: 42px 72px;
  -webkit-mask-image: linear-gradient(to bottom, transparent, #000 22%, transparent 82%);
  mask-image: linear-gradient(to bottom, transparent, #000 22%, transparent 82%);
}
.services-grid {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px; align-items: stretch;
}
.service {
  --accent: var(--red);
  position: relative; display: flex; flex-direction: column; overflow: hidden;
  padding: 22px 22px 18px; border: 1px solid var(--line-strong);
  background: var(--paper-2); box-shadow: 4px 4px 0 rgba(31, 27, 23, 0.1);
  transition: transform 0.45s var(--ease), box-shadow 0.45s var(--ease), background 0.4s ease;
}
.service[data-accent="teal"] { --accent: var(--teal); }
.service[data-accent="indigo"] { --accent: var(--indigo); }
.service[data-accent="vermilion"] { --accent: var(--red); }
.service[data-accent="gold"] { --accent: var(--gold); }
.service::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 5px; background: var(--accent);
}
.service:hover { transform: translate(-3px, -3px); box-shadow: 8px 8px 0 var(--ink); background: var(--paper); }
.service--featured { background: var(--indigo); color: var(--paper); }
.service--featured::after {
  content: ''; position: absolute; right: -70px; top: -70px; width: 200px; height: 200px;
  border: 1px solid rgba(243, 233, 212, 0.1); border-radius: 50%; pointer-events: none;
}
.service--featured:hover { background: #294a67; }
.service__meta { position: relative; z-index: 2; display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.service__index { font-family: var(--font-display); font-size: 1.8rem; line-height: 0.8; color: var(--accent); letter-spacing: 0.02em; }
.service__badge {
  padding: 3px 6px; border: 1px solid currentColor; color: var(--ink-3);
  font-family: var(--font-mono); font-size: 0.46rem; letter-spacing: 0.07em;
  max-width: 185px; line-height: 1.5; text-align: right;
}
.service--featured .service__badge { background: var(--red); border-color: var(--red); color: var(--paper); }
.service__stamp {
  position: absolute; z-index: 2; top: 53px; right: 18px;
  width: 60px; height: 60px; display: grid; place-items: center;
  border: 1px dashed var(--accent); border-radius: 50%;
  color: var(--accent); opacity: 0.75; transform: rotate(-7deg);
  transition: transform 0.5s var(--ease), opacity 0.4s;
}
.service:hover .service__stamp { transform: rotate(4deg) scale(1.05); opacity: 1; }
.service__stamp svg { width: 42px; height: 42px; }
.service__kanji {
  position: absolute; right: -6px; bottom: 54px; z-index: 0;
  font-family: var(--font-serif); font-size: 7.5rem; line-height: 1;
  color: var(--ink); opacity: 0.05; pointer-events: none; user-select: none;
}
.service--featured .service__kanji { color: var(--paper); opacity: 0.07; }
.service__title {
  position: relative; z-index: 1; margin: 24px 58px 10px 0;
  font-family: var(--font-serif); font-weight: 700; font-size: clamp(1.25rem, 1.65vw, 1.48rem);
  line-height: 1.3; color: var(--ink);
}
.service--featured .service__title { color: var(--paper); }
.service__summary {
  position: relative; z-index: 1; font-size: 0.78rem; line-height: 1.75; color: var(--ink-2);
}
.service--featured .service__summary { color: rgba(243, 233, 212, 0.74); }
.service__list {
  position: relative; z-index: 1; display: flex; flex-direction: column; gap: 8px;
  margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--line); flex: 1;
}
.service--featured .service__list { border-top-color: rgba(243, 233, 212, 0.18); }
.service__list li {
  position: relative; padding-left: 13px;
  font-size: 0.73rem; line-height: 1.7; color: var(--ink-2);
}
.service__list li::before {
  content: ''; position: absolute; left: 0; top: 0.68em;
  width: 5px; height: 1px; background: var(--accent);
}
.service__list strong { font-weight: 700; color: var(--ink); }
.service--featured .service__list li { color: rgba(243, 233, 212, 0.7); }
.service--featured .service__list li::before { background: var(--sakura); }
.service--featured .service__list strong { color: var(--paper); }
.service__open {
  position: relative; z-index: 1; display: flex; align-items: center; justify-content: space-between;
  gap: 10px; width: 100%; margin-top: 18px; padding: 11px 12px;
  border: 1px solid var(--line-strong); background: transparent;
  font-family: var(--font-mono); font-size: 0.53rem; letter-spacing: 0.03em;
  text-transform: uppercase; text-align: left; cursor: pointer;
  transition: background 0.3s ease, color 0.3s ease, border-color 0.3s;
}
.service__open:hover { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.service__open-arrow { font-size: 0.9rem; transition: transform 0.3s var(--ease); }
.service__open:hover .service__open-arrow { transform: translateX(4px); }
.service--featured .service__open { border-color: rgba(243, 233, 212, 0.28); color: var(--paper); }
.service--featured .service__open:hover { background: var(--red); border-color: var(--red); }

/* ---------- 13. PROCESS ---------- */
.section--process {
  background:
    radial-gradient(circle at 88% 12%, rgba(216, 73, 46, 0.07), transparent 26%),
    linear-gradient(180deg, var(--paper-2) 0%, var(--paper) 30%, var(--paper) 70%, var(--paper-2) 100%);
}
.section--process::before {
  content: ''; position: absolute; inset: 0; pointer-events: none; opacity: 0.45;
  background-image: repeating-linear-gradient(0deg, transparent, transparent 39px, rgba(31, 27, 23, 0.035) 40px);
  -webkit-mask-image: linear-gradient(to bottom, transparent, #000 18%, #000 82%, transparent);
  mask-image: linear-gradient(to bottom, transparent, #000 18%, #000 82%, transparent);
}
.process-layout {
  display: grid; grid-template-columns: 200px minmax(0, 1fr);
  gap: clamp(32px, 5vw, 80px); align-items: start;
}
.process-aside {
  position: sticky; top: 120px; display: flex; flex-direction: column; gap: 18px;
  padding: 22px 18px; border: 1px solid var(--line-strong);
  background: rgba(255, 250, 240, 0.45);
}
.process-aside__label {
  font-family: var(--font-mono); font-size: 0.55rem; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--red);
}
.process-aside__rule { width: 1px; height: 70px; background: var(--red); margin-left: 5px; }
.process-aside__text { font-family: var(--font-mono); font-size: 0.55rem; letter-spacing: 0.14em; line-height: 1.8; color: var(--ink-3); }
.process-aside__seal {
  align-self: flex-end; width: 56px; height: 56px; display: grid; place-items: center;
  background: var(--red); color: var(--paper); border: 2px solid var(--ink);
  font-family: var(--font-serif); font-size: 1.8rem; transform: rotate(-4deg);
  box-shadow: 4px 4px 0 var(--ink);
}
.process-list { position: relative; }
.process-list::before {
  content: ''; position: absolute; left: 35px; top: 30px; bottom: 50px;
  width: 1px; background: var(--line-strong);
}
.process-step {
  position: relative; display: grid; grid-template-columns: 72px minmax(0, 1fr) auto;
  gap: 22px; padding-bottom: 38px;
}
.process-step:last-child { padding-bottom: 0; }
.process-step__marker {
  position: relative; z-index: 1; width: 72px; height: 72px;
  display: grid; place-items: center; border: 1px solid var(--ink); border-radius: 50%;
  background: var(--paper-2); font-family: var(--font-display); font-size: 1.35rem;
  transition: background 0.4s ease, color 0.4s ease, transform 0.4s var(--ease), box-shadow 0.4s;
}
.process-step:hover .process-step__marker {
  background: var(--red); color: var(--paper); transform: rotate(-6deg);
  box-shadow: 4px 4px 0 var(--ink);
}
.process-step__body { min-width: 0; padding-bottom: 30px; border-bottom: 1px solid var(--line); }
.process-step:last-child .process-step__body { border-bottom: 0; padding-bottom: 0; }
.process-step__kicker { display: block; margin-bottom: 7px; font-family: var(--font-mono); font-size: 0.52rem; letter-spacing: 0.1em; color: var(--red); }
.process-step__title {
  font-family: var(--font-serif); font-size: clamp(1.3rem, 2vw, 1.6rem);
  font-weight: 700; line-height: 1.3;
}
.process-step__desc { margin-top: 8px; max-width: 62ch; font-size: 0.84rem; line-height: 1.8; color: var(--ink-2); }
.process-step__mark {
  align-self: center; padding-left: 12px; font-family: var(--font-display);
  font-size: 2.2rem; line-height: 1; color: var(--ink); opacity: 0.08;
  transition: opacity 0.4s, color 0.4s;
}
.process-step:hover .process-step__mark { opacity: 0.18; color: var(--red); }

/* ---------- 14. SECTORS ---------- */
.section--sectors {
  background-color: #122435;
  background-image:
    radial-gradient(circle at 78% 16%, rgba(216, 73, 46, 0.18), transparent 34%),
    radial-gradient(circle at 10% 80%, rgba(47, 109, 100, 0.18), transparent 36%),
    radial-gradient(circle at 1px 1px, rgba(243, 233, 212, 0.07) 1px, transparent 0);
  background-size: auto, auto, 30px 30px;
}
.section--sectors::before {
  content: ''; position: absolute; top: 16%; right: 6%; width: 340px; height: 340px;
  border-radius: 50%; border: 1px solid rgba(216, 73, 46, 0.22); pointer-events: none;
}
.section--sectors::after {
  content: ''; position: absolute; top: 22%; right: 11%; width: 240px; height: 240px;
  border-radius: 50%; background: rgba(216, 73, 46, 0.06); pointer-events: none;
}
.worlds { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; align-items: stretch; }
.world {
  position: relative; display: flex; flex-direction: column; overflow: hidden;
  padding: 30px 28px 22px; border: 1px solid var(--line);
  transition: transform 0.45s var(--ease), box-shadow 0.45s var(--ease), opacity 0.4s ease;
}
.world--it { background: var(--paper); color: var(--ink); }
.world--core { background: var(--red); color: var(--paper); border-color: var(--ink); }
.world:hover { transform: translate(-5px, -5px); }
.world--it:hover { box-shadow: 10px 10px 0 var(--red); }
.world--core:hover { box-shadow: 10px 10px 0 var(--paper); }
.world__head { position: relative; z-index: 2; display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.world__badge { display: inline-flex; align-items: center; gap: 7px; font-family: var(--font-mono); font-size: 0.53rem; letter-spacing: 0.08em; }
.world__dot { width: 6px; height: 6px; border-radius: 50%; background: var(--red); }
.world--core .world__dot { background: var(--paper); }
.world__status { font-family: var(--font-mono); font-size: 0.52rem; letter-spacing: 0.04em; opacity: 0.7; }
.world__title {
  position: relative; z-index: 1; margin: 22px 0 12px;
  font-family: var(--font-serif); font-weight: 700;
  font-size: clamp(1.65rem, 2.4vw, 2.25rem); line-height: 1.25;
}
.world__desc { position: relative; z-index: 1; font-size: 0.85rem; line-height: 1.8; max-width: 56ch; opacity: 0.82; }
.world__tags {
  position: relative; z-index: 1; display: flex; flex-wrap: wrap; gap: 7px;
  margin: 22px 0 24px; padding-top: 20px; border-top: 1px solid var(--line);
}
.world--core .world__tags { border-top-color: rgba(243, 233, 212, 0.25); }
.world__tag {
  padding: 5px 9px; border: 1px solid rgba(31, 27, 23, 0.22);
  font-family: var(--font-mono); font-size: 0.57rem; line-height: 1.5; letter-spacing: 0.01em;
  transition: background 0.25s ease, color 0.25s ease;
}
.world--it .world__tag:hover { background: var(--indigo); border-color: var(--indigo); color: var(--paper); }
.world--core .world__tag { border-color: rgba(243, 233, 212, 0.35); }
.world--core .world__tag:hover { background: var(--paper); border-color: var(--paper); color: var(--ink); }
.world__foot {
  position: relative; z-index: 1; display: flex; align-items: center; justify-content: space-between;
  gap: 12px; margin-top: auto; padding-top: 14px; border-top: 1px solid var(--line);
  font-family: var(--font-mono); font-size: 0.55rem; letter-spacing: 0.02em;
}
.world__foot i { color: var(--red); font-style: normal; }
.world--core .world__foot { border-top-color: rgba(243, 233, 212, 0.25); }
.world--core .world__foot i { color: var(--paper); }
.world__arrow { font-size: 1.2rem; transition: transform 0.35s var(--ease); }
.world:hover .world__arrow { transform: translateX(5px); }
.world__mark {
  position: absolute; right: -6px; bottom: -22px; z-index: 0;
  font-family: var(--font-display); font-size: 6.5rem; line-height: 1; font-weight: 400;
  letter-spacing: 0.02em; color: currentColor; opacity: 0.05; pointer-events: none; user-select: none;
}
.world--core .world__mark { opacity: 0.09; }
.world.is-spotlit { animation: worldSpot 2s var(--ease); }
.section--sectors.is-spotlighting .world:not(.is-spotlit) { opacity: 0.42; }
@keyframes worldSpot {
  0% { box-shadow: 0 0 0 0 rgba(216, 73, 46, 0.5); }
  40% { box-shadow: 0 0 0 8px rgba(216, 73, 46, 0.12); }
  100% { box-shadow: 0 0 0 0 rgba(216, 73, 46, 0); }
}

/* ---------- 15. CAREERS ---------- */
.section--careers { background: var(--paper); }
.section--careers::before {
  content: ''; position: absolute; inset: 0; pointer-events: none; opacity: 0.4;
  background-image:
    linear-gradient(60deg, transparent 49.5%, rgba(31, 27, 23, 0.05) 50%, transparent 50.5%),
    linear-gradient(-60deg, transparent 49.5%, rgba(31, 27, 23, 0.05) 50%, transparent 50.5%);
  background-size: 54px 92px;
  -webkit-mask-image: linear-gradient(to bottom, #000, transparent 42%);
  mask-image: linear-gradient(to bottom, #000, transparent 42%);
}
.careers-intro {
  position: relative; display: grid; grid-template-columns: 118px minmax(0, 1fr);
  gap: clamp(20px, 4vw, 46px); align-items: start;
  padding: clamp(24px, 4vw, 48px); border: 1px solid var(--line-strong);
  background: rgba(255, 250, 240, 0.46); box-shadow: var(--shadow-ink); overflow: hidden;
}

.careers-intro__stamp {
  width: 108px; height: 108px; display: grid; place-items: center;
  background: var(--red); color: var(--paper); border: 2px solid var(--ink);
  font-family: var(--font-serif); font-size: 3.3rem; font-weight: 700;
  transform: rotate(-3deg); box-shadow: 6px 6px 0 var(--ink);
}
.careers-intro__body { position: relative; z-index: 1; }
.careers-intro h3 {
  font-family: var(--font-serif); font-size: clamp(1.65rem, 2.6vw, 2.15rem);
  font-weight: 700; line-height: 1.3; margin-bottom: 14px;
}
.careers-intro p { max-width: 78ch; font-size: 0.87rem; line-height: 1.85; color: var(--ink-2); }
.careers-intro p + p { margin-top: 12px; }
.resume-head {
  display: flex; align-items: flex-end; justify-content: space-between; gap: 24px;
  flex-wrap: wrap; margin-top: clamp(52px, 7vw, 82px); padding-bottom: 16px;
  border-bottom: 1px solid var(--line-strong);
}
.resume-head h3 {
  font-family: var(--font-serif); font-size: clamp(1.6rem, 2.6vw, 2.15rem);
  font-weight: 700; line-height: 1.3;
}
.resume-head p { max-width: 40ch; font-size: 0.8rem; line-height: 1.75; color: var(--ink-3); }
.tips {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px 20px; margin-top: 30px;
}
.tip {
  position: relative; overflow: hidden; padding: 30px 22px 22px;
  background: var(--paper-2); border: 1px solid var(--line-strong);
  box-shadow: 5px 5px 0 rgba(31, 27, 23, 0.12);
  transform: rotate(-0.5deg);
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease), background 0.3s;
}
.tip:nth-child(even) { transform: rotate(0.55deg); background: #f0e4cd; }
.tip:nth-child(3n) { background: #ede0c6; }
.tip:hover { transform: rotate(0) translateY(-6px); box-shadow: 8px 8px 0 var(--ink); background: var(--paper); }
.tip__pin {
  position: absolute; top: 10px; left: 50%; width: 10px; height: 10px;
  transform: translateX(-50%); border-radius: 50%; background: var(--red);
  border: 1px solid var(--ink); box-shadow: 0 3px 0 rgba(31, 27, 23, 0.18);
}
.tip__num { display: block; margin-bottom: 12px; font-family: var(--font-display); font-size: 2.15rem; line-height: 0.8; color: var(--red); opacity: 0.55; }
.tip__title { margin-bottom: 9px; font-family: var(--font-serif); font-size: 1.1rem; font-weight: 700; line-height: 1.35; }
.tip p { font-size: 0.79rem; line-height: 1.78; color: var(--ink-2); }

/* Candidate CTA */
.candidate-cta {
  position: relative; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: clamp(24px, 4vw, 56px); align-items: center;
  margin-top: clamp(50px, 7vw, 80px); padding: clamp(26px, 4vw, 50px);
  background: var(--indigo-deep); color: var(--paper); overflow: hidden;
  box-shadow: 9px 9px 0 var(--red);
}
.candidate-cta::before {
  content: ''; position: absolute; right: -90px; top: -90px; width: 340px; height: 340px;
  border-radius: 50%; background: radial-gradient(circle at 36% 32%, rgba(232, 168, 160, 0.3), rgba(216, 73, 46, 0.12) 60%, transparent 70%);
}

.candidate-cta__copy { position: relative; z-index: 1; }
.candidate-cta__kicker { display: block; margin-bottom: 10px; font-family: var(--font-serif); font-size: 0.7rem; letter-spacing: 0.22em; color: var(--sakura); }
.candidate-cta h3 { font-family: var(--font-serif); font-weight: 700; font-size: clamp(1.5rem, 2.6vw, 2.15rem); line-height: 1.3; }
.candidate-cta p { margin-top: 10px; max-width: 56ch; font-size: 0.84rem; line-height: 1.8; color: rgba(243, 233, 212, 0.72); }
.candidate-cta__actions { position: relative; z-index: 1; display: flex; flex-direction: column; gap: 12px; }
.candidate-cta__actions .btn { width: 100%; }
.candidate-cta__actions .btn--ghost { color: var(--paper); border-color: rgba(243, 233, 212, 0.45); box-shadow: 4px 4px 0 rgba(243, 233, 212, 0.25); }
.candidate-cta__actions .btn--ghost:hover { background: var(--paper); color: var(--ink); border-color: var(--paper); box-shadow: 7px 7px 0 rgba(243, 233, 212, 0.25); }

/* ---------- 16. CONTACT ---------- */
.section--contact {
  background:
    linear-gradient(180deg, var(--paper-2) 0%, var(--paper) 26%, var(--paper) 100%);
}
.section--contact::before {
  content: ''; position: absolute; top: 8%; right: 6%; width: clamp(260px, 36vw, 520px); aspect-ratio: 1/1;
  border-radius: 50%; border: 1px solid rgba(216, 73, 46, 0.16);
  background: radial-gradient(circle, rgba(216, 73, 46, 0.08), transparent 68%); pointer-events: none;
}
.contact-top {
  display: flex; align-items: center; gap: 13px; padding-bottom: 13px;
  margin-bottom: clamp(26px, 4vw, 44px); border-bottom: 1px solid var(--line);
  font-family: var(--font-mono); font-size: 0.55rem; letter-spacing: 0.11em;
  text-transform: uppercase; color: var(--ink-3);
}
.contact-top__num { font-family: var(--font-display); font-size: 1.1rem; line-height: 1; color: var(--red); }
.contact-top__line { width: 34px; height: 1px; background: var(--line-strong); }
.contact-top__label span { color: var(--red); padding-inline: 3px; }
.contact-top__jp {
  margin-left: auto; padding: 2px 6px; border: 1px solid var(--red);
  color: var(--red); font-family: var(--font-serif); font-size: 0.62rem; letter-spacing: 0.1em;
}
.contact-grid {
  display: grid; grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: 24px; align-items: stretch;
}
.contact-info {
  position: relative; display: flex; flex-direction: column; overflow: hidden;
  padding: clamp(26px, 3.6vw, 44px); border: 1px solid var(--ink);
  background: var(--indigo-deep); color: var(--paper);
  box-shadow: 10px 10px 0 var(--red);
}
.contact-info__wash {
  position: absolute; top: -110px; right: -100px; width: 340px; height: 340px;
  border-radius: 50%; background: radial-gradient(circle at 36% 32%, rgba(216, 73, 46, 0.5), rgba(216, 73, 46, 0.1) 60%, transparent 72%);
  pointer-events: none;
}
.contact-info__badge {
  position: relative; z-index: 1; display: inline-block; align-self: flex-start;
  margin-bottom: 16px; padding: 4px 8px; border: 1px solid var(--sakura);
  color: var(--sakura); font-family: var(--font-mono); font-size: 0.52rem; letter-spacing: 0.1em;
}
.contact-info__title {
  position: relative; z-index: 1; max-width: 14ch;
  font-family: var(--font-serif); font-weight: 700;
  font-size: clamp(2.05rem, 3.3vw, 3.1rem); line-height: 1.22;
}
.contact-info__title em { font-style: normal; color: var(--sakura); }
.contact-info__lead {
  position: relative; z-index: 1; margin-top: 14px; max-width: 44ch;
  font-size: 0.86rem; line-height: 1.8; color: rgba(243, 233, 212, 0.74);
}
.contact-meta { position: relative; z-index: 1; margin-top: 28px; border-top: 1px solid var(--paper-line); }
.contact-meta__row {
  display: flex; flex-direction: column; gap: 3px;
  padding: 14px 0; border-bottom: 1px solid var(--paper-line);
}
.contact-meta__label {
  font-family: var(--font-mono); font-size: 0.5rem; letter-spacing: 0.1em;
  text-transform: uppercase; color: rgba(243, 233, 212, 0.5);
}
.contact-meta__value { font-size: 0.8rem; line-height: 1.6; color: var(--paper); }
.contact-meta__link { align-self: flex-start; border-bottom: 1px solid rgba(243, 233, 212, 0.35); transition: color 0.3s, border-color 0.3s; }
.contact-meta__link span { color: var(--sakura); display: inline-block; transition: transform 0.3s var(--ease); }
.contact-meta__link:hover { color: var(--sakura); border-color: var(--sakura); }
.contact-meta__link:hover span { transform: translateX(4px); }
.contact-meta__value--highlight { color: var(--sakura); }
.corridors { position: relative; z-index: 1; margin-top: 26px; padding-bottom: 12px; }
.corridors__title {
  display: block; margin-bottom: 10px; font-family: var(--font-mono);
  font-size: 0.5rem; letter-spacing: 0.1em; text-transform: uppercase;
  color: rgba(243, 233, 212, 0.5);
}
.corridors__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.corridor {
  display: flex; flex-direction: column; gap: 4px; min-width: 0;
  padding: 10px 9px; border: 1px solid rgba(243, 233, 212, 0.18);
  transition: background 0.3s, border-color 0.3s;
}
.corridor:hover { background: rgba(243, 233, 212, 0.06); border-color: rgba(243, 233, 212, 0.35); }
.corridor__region { font-family: var(--font-mono); font-size: 0.52rem; letter-spacing: 0.02em; color: var(--sakura); }
.corridor__cities { font-size: 0.63rem; line-height: 1.5; color: rgba(243, 233, 212, 0.68); }
.contact-info__seal {
  position: absolute; right: 22px; bottom: 20px; z-index: 2;
  width: 46px; height: 46px; display: grid; place-items: center;
  border: 1px solid rgba(243, 233, 212, 0.35); color: var(--paper);
  font-family: var(--font-serif); font-size: 0.82rem; letter-spacing: 0.03em; transform: rotate(-5deg);
}
.contact-info__jp {
  position: absolute; right: 26px; top: 112px; z-index: 1; writing-mode: vertical-rl;
  font-family: var(--font-serif); font-size: 0.6rem; letter-spacing: 0.22em;
  color: rgba(243, 233, 212, 0.3);
}

/* Contact form */
.contact-form-card {
  position: relative; display: flex; flex-direction: column; overflow: hidden;
  padding: clamp(22px, 3.6vw, 40px); background: var(--paper);
  border: 1px solid var(--line-strong); box-shadow: 10px 10px 0 rgba(31, 27, 23, 0.12);
}
.contact-form-card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 6px; background: var(--red); }
.form-card__header { display: flex; align-items: flex-start; justify-content: space-between; gap: 18px; }
.form-card__badge { display: block; margin-bottom: 6px; font-family: var(--font-mono); font-size: 0.52rem; letter-spacing: 0.12em; color: var(--red); }
.form-card__title { font-family: var(--font-display); font-weight: 400; font-size: clamp(1.8rem, 3vw, 2.5rem); line-height: 1; text-transform: uppercase; }
.form-card__jp {
  writing-mode: vertical-rl; font-family: var(--font-serif); font-size: 0.72rem;
  letter-spacing: 0.25em; color: var(--ink-3); opacity: 0.55;
}
.mandate-form { margin-top: 22px; }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 14px; }
.field { display: flex; flex-direction: column; gap: 5px; margin-bottom: 13px; min-width: 0; }
.field label { font-family: var(--font-mono); font-size: 0.52rem; letter-spacing: 0.07em; text-transform: uppercase; color: var(--ink-2); }
.field input, .field select, .field textarea {
  width: 100%; padding: 11px 12px; border: 1px solid var(--line-strong); border-radius: 0;
  background: rgba(255, 250, 240, 0.55); color: var(--ink);
  font-family: var(--font-body); font-size: 0.83rem; line-height: 1.5;
  transition: border-color 0.25s, box-shadow 0.25s, background 0.25s;
}
.field input::placeholder, .field textarea::placeholder { color: var(--ink-3); opacity: 0.62; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: var(--ink-3); }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--red); background: var(--white);
  box-shadow: 3px 3px 0 rgba(216, 73, 46, 0.14);
}
.field select {
  appearance: none; -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%231f1b17' stroke-width='1.4'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 12px center; padding-right: 34px;
  background-color: rgba(255, 250, 240, 0.55);
}
.field textarea { resize: vertical; min-height: 88px; }
.form-submit { margin-top: 6px; }
.form-disclaimer {
  display: flex; align-items: flex-start; gap: 6px; margin-top: 12px;
  font-family: var(--font-mono); font-size: 0.54rem; line-height: 1.6; color: var(--ink-3);
}
.form-success {
  position: absolute; inset: 0; z-index: 6;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  padding: clamp(24px, 4vw, 42px); text-align: center; background: var(--paper);
}
.form-success::before {
  content: ''; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: 260px; height: 260px; border-radius: 50%;
  background: radial-gradient(circle, rgba(216, 73, 46, 0.12), transparent 68%);
  pointer-events: none;
}
.form-success:not([hidden]) { animation: successIn 0.5s var(--ease); }
@keyframes successIn { from { opacity: 0; scale: 0.98; } to { opacity: 1; scale: 1; } }
.form-success__icon {
  position: relative; display: grid; place-items: center; width: 56px; height: 56px;
  border-radius: 50%; background: var(--red); color: var(--paper);
  border: 2px solid var(--ink); font-size: 1.5rem; margin-bottom: 16px;
  box-shadow: 4px 4px 0 var(--ink);
}
.form-success__title { position: relative; font-family: var(--font-serif); font-size: 1.7rem; font-weight: 700; line-height: 1.3; }
.form-success__desc { position: relative; margin-top: 10px; max-width: 40ch; font-size: 0.85rem; line-height: 1.8; color: var(--ink-2); }
.form-success__note { position: relative; margin-top: 10px; max-width: 42ch; font-size: 0.72rem; line-height: 1.7; color: var(--ink-3); }
.form-success__note a { color: var(--red); text-decoration: underline; text-underline-offset: 3px; }
.form-success .btn { position: relative; margin-top: 20px; }

/* ---------- 17. SECTION RAIL ---------- */
.section-rail {
  position: fixed; right: 20px; top: 50%; transform: translateY(-50%); z-index: 90;
  display: flex; flex-direction: column; align-items: center; gap: 7px;
  padding: 10px 7px; border: 1px solid var(--line); border-radius: 4px;
  background: rgba(243, 233, 212, 0.68);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
}
.rail__item { display: flex; align-items: center; gap: 5px; padding: 3px; color: var(--ink-3); }
.rail__dot { width: 5px; height: 5px; border-radius: 50%; background: currentColor; opacity: 0.4; transition: opacity 0.3s, box-shadow 0.3s; }
.rail__label {
  width: 0; overflow: hidden; opacity: 0; white-space: nowrap;
  font-family: var(--font-mono); font-size: 0.46rem; letter-spacing: 0.02em;
  transition: width 0.3s var(--ease), opacity 0.3s;
}
.rail__item:hover .rail__label, .rail__item.is-active .rail__label { width: 22px; opacity: 1; }
.rail__item.is-active { color: var(--red); }
.rail__item.is-active .rail__dot { opacity: 1; box-shadow: 0 0 0 3px rgba(216, 73, 46, 0.14); }
.rail__item:hover { color: var(--red); }

/* ---------- 18. FOOTER ---------- */
.site-footer {
  position: relative; overflow: hidden; padding-top: clamp(60px, 8vw, 98px);
  background: var(--ink); color: var(--paper);
}
.footer__sun {
  position: absolute; top: -150px; right: 6%; width: clamp(220px, 30vw, 380px);
  aspect-ratio: 1/1; border-radius: 50%;
  background: radial-gradient(circle at 36% 32%, #e86445, var(--red) 60%, var(--red-deep));
  opacity: 0.92;
}
.footer__sun::after {
  content: ''; position: absolute; inset: 0; border-radius: 50%;
  background-image: radial-gradient(circle, rgba(31, 27, 23, 0.3) 1px, transparent 1.4px);
  background-size: 7px 7px; opacity: 0.3;
}
.footer__waves {
  position: absolute; left: 0; right: 0; bottom: 0; height: 160px;
  background-image: var(--seigaiha-light); background-size: 120px 60px;
  opacity: 0.14;
  -webkit-mask-image: linear-gradient(to top, #000, transparent);
  mask-image: linear-gradient(to top, #000, transparent);
}
.footer__bgkanji {
  position: absolute; left: -3%; bottom: -8%; font-family: var(--font-serif);
  font-size: clamp(10rem, 24vw, 22rem); font-weight: 800; line-height: 0.75;
  color: transparent; -webkit-text-stroke: 1px rgba(243, 233, 212, 0.07);
  pointer-events: none; user-select: none;
}
.footer__top {
  position: relative; z-index: 1; display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 0.62fr) minmax(0, 0.75fr) minmax(0, 0.76fr);
  gap: 34px; padding-bottom: clamp(40px, 5vw, 64px);
}
.brand--footer .brand__seal { border-color: var(--paper); box-shadow: 3px 3px 0 rgba(243, 233, 212, 0.35); color: var(--ink); background: var(--paper); }
.brand--footer .brand__word strong { color: var(--paper); }
.brand--footer .brand__word small { color: var(--sakura); }
.footer__desc { margin-top: 18px; max-width: 38ch; font-size: 0.82rem; line-height: 1.8; color: rgba(243, 233, 212, 0.64); }
.footer__tagline {
  display: inline-block; margin-top: 16px; padding: 5px 8px;
  border: 1px solid rgba(243, 233, 212, 0.22);
  font-family: var(--font-mono); font-size: 0.52rem; letter-spacing: 0.03em; color: rgba(243, 233, 212, 0.62);
}
.footer__jp { display: block; margin-top: 16px; font-family: var(--font-serif); font-size: 0.7rem; letter-spacing: 0.18em; color: var(--sakura); }
.footer__title {
  margin-bottom: 16px; font-family: var(--font-mono); font-size: 0.55rem;
  font-weight: 400; letter-spacing: 0.14em; text-transform: uppercase; color: var(--sakura);
}
.footer__list { display: flex; flex-direction: column; gap: 7px; }
.footer__list li { font-size: 0.75rem; line-height: 1.6; color: rgba(243, 233, 212, 0.62); }
.footer__list a, .footer__list button {
  background: none; border: 0; padding: 0; text-align: left; cursor: pointer;
  font-size: inherit; color: inherit; transition: color 0.25s, padding-left 0.25s var(--ease);
}
.footer__list a:hover, .footer__list button:hover { color: var(--sakura); padding-left: 4px; }
.footer__label { color: rgba(243, 233, 212, 0.4); }
.footer__email { color: var(--sakura) !important; text-decoration: underline; text-underline-offset: 3px; }
.footer__col--contact .footer__list { gap: 6px; }
.footer__badge {
  display: inline-flex; align-items: center; gap: 8px; margin-top: 18px;
  padding: 8px 10px; border: 1px solid rgba(243, 233, 212, 0.28);
  font-family: var(--font-mono); font-size: 0.55rem; letter-spacing: 0.04em;
  transition: background 0.3s, color 0.3s, border-color 0.3s;
}
.footer__badge span[lang] { font-family: var(--font-serif); color: var(--sakura); }
.footer__badge:hover { background: var(--red); color: var(--paper); border-color: var(--red); }
.footer__badge:hover span[lang] { color: var(--paper); }
.footer__bottom {
  position: relative; z-index: 1; display: flex; align-items: center; justify-content: space-between;
  gap: 20px; flex-wrap: wrap; padding: 18px 0 24px; border-top: 1px solid rgba(243, 233, 212, 0.16);
  font-family: var(--font-mono); font-size: 0.55rem; letter-spacing: 0.02em; color: rgba(243, 233, 212, 0.45);
}
.footer__copy a { color: var(--sakura); text-decoration: underline; text-underline-offset: 3px; }
.footer__totop { display: inline-flex; align-items: center; gap: 6px; color: rgba(243, 233, 212, 0.7); transition: color 0.25s; }
.footer__totop .icon { transition: transform 0.3s var(--ease); }
.footer__totop:hover { color: var(--paper); }
.footer__totop:hover .icon { transform: translateY(-4px); }

/* ---------- 19. MODALS ---------- */
.modal {
  position: fixed; inset: 0; width: 100%; height: 100%;
  max-width: none; max-height: none; margin: 0; padding: 22px;
  border: 0; background: transparent; color: var(--ink); overflow: auto;
}
.modal[open] { display: grid; place-items: center; }
.modal::backdrop {
  background: rgba(20, 18, 15, 0.74);
  -webkit-backdrop-filter: blur(7px); backdrop-filter: blur(7px);
}
.modal__frame {
  position: relative; width: min(940px, 100%); max-height: calc(100svh - 44px);
  display: flex; flex-direction: column; overflow: hidden;
  background: var(--paper); border: 1px solid var(--ink);
  box-shadow: 12px 12px 0 rgba(0, 0, 0, 0.28);
  animation: modalIn 0.55s var(--ease);
}
@keyframes modalIn { from { opacity: 0; transform: translateY(22px) scale(0.985); } to { opacity: 1; transform: none; } }
.candidate-modal .modal__frame { width: min(820px, 100%); }
.modal__top {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  flex-shrink: 0; padding: 13px 18px; background: var(--indigo-deep); color: var(--paper);
}
.modal__badge { font-family: var(--font-mono); font-size: 0.55rem; letter-spacing: 0.12em; color: var(--sakura); }
.modal__close {
  width: 38px; height: 38px; display: grid; place-items: center; flex-shrink: 0;
  background: var(--paper); border: 1px solid var(--paper); color: var(--ink);
  cursor: pointer; transition: background 0.3s, border-color 0.3s, color 0.3s, transform 0.3s var(--ease);
}
.modal__close .icon { width: 20px; height: 20px; }
.modal__close:hover { background: var(--red); border-color: var(--red); color: var(--paper); transform: rotate(90deg); }
.modal__scroll {
  overflow-y: auto; padding: clamp(24px, 4vw, 44px); flex: 1;
  background-image: linear-gradient(90deg, rgba(31, 27, 23, 0.025) 1px, transparent 1px);
  background-size: 38px 100%;
  scrollbar-color: var(--red) var(--paper-2); scrollbar-width: thin;
}
.modal__scroll::-webkit-scrollbar { width: 9px; }
.modal__scroll::-webkit-scrollbar-track { background: var(--paper-2); }
.modal__scroll::-webkit-scrollbar-thumb { background: var(--red); border: 2px solid var(--paper-2); }
.modal__jp {
  display: inline-block; font-family: var(--font-serif); font-size: 0.64rem;
  letter-spacing: 0.22em; color: var(--red);
}
.modal__title {
  margin-top: 5px; font-family: var(--font-display); font-weight: 400;
  font-size: clamp(2rem, 4.1vw, 3.4rem); line-height: 0.98;
  letter-spacing: -0.005em; text-transform: uppercase;
}
.modal__overview {
  margin-top: 18px; padding-left: 16px; border-left: 3px solid var(--red);
  font-family: var(--font-serif); font-size: clamp(0.95rem, 1.3vw, 1.04rem);
  line-height: 1.8; color: var(--ink-2);
}
.modal__content h4 {
  margin: 26px 0 10px; font-family: var(--font-serif); font-weight: 700;
  font-size: 1.16rem; line-height: 1.4; color: var(--ink);
}
.modal__content ul { display: flex; flex-direction: column; gap: 9px; }
.modal__content li {
  position: relative; padding-left: 18px; font-size: 0.83rem; line-height: 1.8; color: var(--ink-2);
}
.modal__content li::before {
  content: ''; position: absolute; left: 0; top: 0.7em;
  width: 8px; height: 1px; background: var(--red);
}
.modal__content strong { color: var(--ink); font-weight: 700; }
.modal__kicker-line { display: flex; align-items: center; gap: 12px; margin-top: 32px; color: var(--red); }
.modal__kicker-line span { flex: 1; height: 1px; background: var(--line); }
.modal__kicker-line b { font-family: var(--font-serif); font-weight: 400; font-size: 0.9rem; }
.modal__actions {
  display: flex; align-items: center; justify-content: space-between; gap: 18px; flex-wrap: wrap;
  flex-shrink: 0; padding: 15px 22px; border-top: 1px solid var(--line); background: var(--paper-2);
}
.modal__actions-note { font-family: var(--font-mono); font-size: 0.53rem; color: var(--ink-3); }
.candidate-modal .modal__actions { display: none; }
.candidate-form { margin-top: 22px; display: flex; flex-direction: column; }
.candidate-form .form-grid { gap: 0 14px; }
.candidate-success {
  margin-top: 22px; padding: 28px 20px; text-align: center;
  border: 1px solid var(--line-strong); background: rgba(216, 73, 46, 0.05);
}
.candidate-success__icon {
  display: grid; place-items: center; width: 48px; height: 48px; margin: 0 auto 14px;
  border-radius: 50%; background: var(--red); color: var(--paper);
  border: 2px solid var(--ink); font-size: 1.3rem;
}
.candidate-success h4 { font-family: var(--font-serif); font-size: 1.3rem; }
.candidate-success p { margin-top: 8px; font-size: 0.82rem; line-height: 1.75; color: var(--ink-2); }

/* ---------- 20. RESPONSIVE ---------- */
@media (max-width: 1399px) {
  .section-rail { display: none; }
}
@media (max-width: 1120px) {
  .desk-nav { display: none; }
  .menu-btn { display: flex; }
  .header__cta { display: none; }
  .hero__grid { gap: 26px; }
  .hero__line--mega { font-size: clamp(4rem, 9.2vw, 7.2rem); }
  .hero__line--mincho { font-size: clamp(1.7rem, 3.7vw, 3rem); }
  .hero__line--sub { font-size: clamp(1.4rem, 2.7vw, 2.15rem); }
  .process-layout { grid-template-columns: 170px minmax(0, 1fr); gap: 40px; }
  .process-aside { padding: 18px 14px; }
  .footer__top { grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.7fr) minmax(0, 0.85fr); }
  .footer__col--contact { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: flex-start; gap: 16px 40px; }
  .footer__col--contact .footer__title { width: 100%; margin-bottom: 0; }
  .footer__col--contact .footer__list { flex-direction: row; flex-wrap: wrap; gap: 8px 22px; }
  .footer__badge { margin-top: 0; }
}
@media (max-width: 1024px) {
  .shell { padding-inline: 26px; }
  .services-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tips { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .section-head__main { grid-template-columns: minmax(0, 1.2fr) minmax(250px, 0.8fr); gap: 32px; }
  .hero__visual { min-height: 0; height: auto; }
  .diorama { height: min(56vh, 520px); min-height: 400px; }
  .hero__line--mega::after { width: 34px; }
  .pillar-grid { grid-template-columns: 1fr; }
  .pillar { display: grid; grid-template-columns: 22px 1fr; column-gap: 8px; padding: 17px 16px; }
  .pillar__mark { grid-row: 1 / 3; }
  .pillar__title { margin: 0 0 4px; }
  .careers-intro { grid-template-columns: 98px minmax(0, 1fr); }
  .careers-intro__stamp { width: 92px; height: 92px; font-size: 2.8rem; }
  .resume-head { align-items: flex-start; }
}
@media (max-width: 900px) {
  :root { --header-h: 74px; }
  .site-header.is-scrolled { height: 66px; }
  .hero {
    min-height: 0; padding-top: calc(var(--header-h) + 26px);
    padding-bottom: 0;
  }
  .hero__grid { grid-template-columns: 1fr; gap: 10px; padding-top: 16px; padding-bottom: 28px; }
  .hero__copy { max-width: 100%; }
  .hero__line--mega { font-size: clamp(4rem, 12vw, 7.4rem); }
  .hero__line--mincho { font-size: clamp(1.75rem, 5.3vw, 3rem); }
  .hero__line--sub { font-size: clamp(1.5rem, 4.4vw, 2.3rem); }
  .hero__lead { max-width: 62ch; }
  .hero__visual { width: min(620px, 100%); margin: 4px auto 0; height: auto; min-height: 0; }
  .diorama { height: 430px; min-height: 0; }
  .hero__kanji, .hero__vertical { display: none; }
  .hero__metrics { margin-top: 8px; }
  .section { padding-block: 76px; }
  .bg-kanji { font-size: clamp(9rem, 25vw, 17rem); opacity: 0.8; }
  .section-head__main { grid-template-columns: 1fr; gap: 20px; align-items: start; }
  .sec-title { font-size: clamp(2.2rem, 6.5vw, 4rem); }
  .sec-lead, .section-head__aside { max-width: 62ch; }
  .about { grid-template-columns: 1fr; }
  .about__tabs {
    display: grid; grid-template-columns: 1fr 1fr; border-right: 0;
    border-bottom: 1px solid var(--line-strong);
  }
  .about-tab { border-right: 1px solid var(--line); }
  .about-tab:nth-of-type(even) { border-right: 0; }
  .about-tab:nth-last-of-type(-n+2) { border-bottom: 0; }
  .about__tab-note { display: none; }
  .about__panels { min-height: 0; }
  .models { grid-template-columns: 1fr; }
  .process-layout { grid-template-columns: 1fr; gap: 28px; }
  .process-aside {
    position: static; flex-direction: row; align-items: center; gap: 16px;
    padding: 14px 18px;
  }
  .process-aside__label { font-size: 0.55rem; letter-spacing: 0.12em; }
  .process-aside__rule { width: 50px; height: 1px; margin: 0; }
  .process-aside__text { margin-left: auto; }
  .process-aside__seal { width: 42px; height: 42px; font-size: 1.3rem; }
  .worlds { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .contact-info { min-height: 0; }
  .contact-info__seal { bottom: 22px; }
  .candidate-cta { grid-template-columns: 1fr; }
  .candidate-cta__actions { max-width: 560px; }
  .footer__top { grid-template-columns: 1fr 1fr; gap: 34px 28px; }
  .footer__col--contact { grid-column: auto; display: block; }
  .footer__col--contact .footer__title { width: auto; margin-bottom: 16px; }
  .footer__col--contact .footer__list { flex-direction: column; gap: 6px; }
  .footer__badge { margin-top: 16px; }
  .careers-intro { grid-template-columns: 1fr; }
  .careers-intro__stamp { width: 80px; height: 80px; font-size: 2.4rem; }
  .tips { gap: 18px; }
}

@media (max-width: 720px) {
  .shell { padding-inline: 20px; }
  .site-header, .site-header.is-scrolled { height: 68px; }
  .brand__seal { width: 36px; height: 36px; font-size: 0.85rem; }
  .brand__word strong { font-size: 1.08rem; }
  .brand__word small { font-size: 0.48rem; letter-spacing: 0.17em; }
  .sound-toggle { width: 35px; height: 35px; }
  .menu-btn { width: 38px; height: 38px; }
  .hero { padding-top: 92px; }
  .hero__eyebrow { gap: 9px; }
  .status-pill { font-size: 0.49rem; padding: 5px 8px; }
  .hero__coords { font-size: 0.5rem; }
  .hero__line--mega { font-size: clamp(4rem, 14.5vw, 6.6rem); }
  .hero__line--mincho { font-size: clamp(1.7rem, 7vw, 2.65rem); }
  .hero__line--sub { font-size: clamp(1.45rem, 5.6vw, 2rem); }
  .hero__title { margin-top: 18px; }
  .hero__jp { margin-top: 14px; }
  .hero__lead { font-size: 0.87rem; line-height: 1.8; }
  .hero__cta { flex-direction: column; align-items: stretch; }
  .hero__cta .btn { width: 100%; }
  .seg { display: flex; width: 100%; }
  .seg__btn { flex: 1 1 100%; justify-content: flex-start; border-right: 0; border-bottom: 1px solid var(--line); }
  .seg__btn:last-child { border-bottom: 0; }
  .hero__visual { height: auto; margin-top: 16px; }
  .diorama { height: 340px; min-height: 0; }
  .talent-console { padding: 9px 10px 8px; box-shadow: 3px 3px 0 var(--ink); }
  .talent-console__eyebrow { font-size: 0.44rem; }
  .talent-console__practice { font-size: 0.42rem; }
  .talent-console__body { grid-template-columns: 30px minmax(0, 1fr) 30px; gap: 7px; }
  .talent-console__number { font-size: 1.7rem; }
  .talent-console__copy p { font-size: 0.64rem; line-height: 1.35; }
  .journey-step { font-size: 0.42rem; padding: 4px 2px; }
  .diorama__vertical { display: none; }
  .diorama__caption { font-size: 0.47rem; }
  .hero__metrics { grid-template-columns: 1fr 1fr; }
  .metric { padding: 13px 12px; }
  .metric:first-child { padding-left: 12px; }
  .metric:nth-child(odd) { border-left: 0; }
  .metric:nth-child(n+3) { border-top: 1px solid var(--line); }
  .metric__val { font-size: clamp(1.6rem, 6.5vw, 2.1rem); }
  .metric__label { font-size: 0.48rem; }
  .section { padding-block: 66px; }
  .section-head { margin-bottom: 34px; }
  .section-head__meta { flex-wrap: wrap; gap: 8px; font-size: 0.49rem; letter-spacing: 0.08em; }
  .section-head__line { width: 18px; }
  .section-head__kanji { font-size: 0.58rem; }
  .sec-title { font-size: clamp(2.1rem, 8.2vw, 3.4rem); }
  .sec-title em { display: block; }
  .sec-lead, .section-head__aside { font-size: 0.86rem; line-height: 1.78; }
  .about__panels { padding: 22px 18px; }
  .about-panel__title { font-size: 1.9rem; }
  .about-panel__lead { font-size: 0.97rem; }
  .about-panel > p { font-size: 0.83rem; }
  .vm-grid { grid-template-columns: 1fr; }
  .pull-quote { padding: 18px 18px 18px 34px; }
  .pull-quote p { font-size: 0.9rem; }
  .approach-note { padding-right: 24px; }
  .approach-note__seal { display: none; }
  .model { padding: 22px 20px 18px; }
  .employer-cta { padding: 24px 20px; }
  .employer-cta .btn { width: 100%; }
  .services-grid { grid-template-columns: 1fr; }
  .service { padding: 20px 18px 16px; }
  .service__title { font-size: 1.4rem; }
  .service__stamp { width: 52px; height: 52px; top: 51px; }
  .service__stamp svg { width: 36px; height: 36px; }
  .service__summary { font-size: 0.8rem; }
  .service__list li { font-size: 0.75rem; }
  .process-aside { display: none; }
  .process-step { grid-template-columns: 52px minmax(0, 1fr); gap: 15px; padding-bottom: 30px; }
  .process-step__marker { width: 52px; height: 52px; font-size: 1.05rem; }
  .process-list::before { left: 25px; top: 24px; bottom: 36px; }
  .process-step__mark { display: none; }
  .process-step__body { padding-bottom: 24px; }
  .process-step__title { font-size: 1.25rem; }
  .process-step__desc { font-size: 0.8rem; }
  .world { padding: 24px 20px 18px; }
  .world__title { font-size: 1.7rem; }
  .world__tag { font-size: 0.54rem; }
  .careers-intro { padding: 24px 20px; }
  .careers-intro h3 { font-size: 1.55rem; }
  .careers-intro p { font-size: 0.83rem; }
  .resume-head { gap: 12px; }
  .tips { grid-template-columns: 1fr; gap: 18px; }
  .tip { padding: 28px 20px 20px; }
  .candidate-cta { padding: 24px 20px; box-shadow: 6px 6px 0 var(--red); }
  .contact-info { padding: 26px 20px 38px; box-shadow: 7px 7px 0 var(--red); }
  .contact-info__title { font-size: 2.2rem; }
  .contact-info__jp { display: none; }
  .contact-info__seal { right: 16px; bottom: 14px; }
  .corridors__grid { grid-template-columns: 1fr 1fr; }
  .contact-form-card { padding: 24px 18px; box-shadow: 7px 7px 0 rgba(31, 27, 23, 0.12); }
  .form-grid { grid-template-columns: 1fr; gap: 0; }
  .form-card__jp { display: none; }
  .form-success { padding: 22px 18px; }
  .footer__top { grid-template-columns: 1fr; gap: 28px; }
  .footer__col--contact { grid-column: auto; }
  .footer__bottom { align-items: flex-start; flex-direction: column; gap: 10px; }
  .modal { padding: 0; }
  .modal__frame {
    width: 100%; max-height: 100svh; min-height: 100svh;
    border: 0; box-shadow: none;
  }
  .candidate-modal .modal__frame { width: 100%; }
  .modal__scroll { padding: 22px 20px; }
  .modal__title { font-size: clamp(1.9rem, 7.5vw, 2.8rem); }
  .modal__overview { font-size: 0.93rem; }
  .modal__actions { padding: 14px 18px; align-items: stretch; flex-direction: column; }
  .modal__actions .btn { width: 100%; }
  .modal__actions-note { order: 2; font-size: 0.5rem; text-align: center; }
  .candidate-form .form-grid { grid-template-columns: 1fr; }
  .footer__sun { width: 220px; top: -100px; right: -40px; }
}

@media (max-width: 560px) {
  .shell { padding-inline: 16px; }
  .hero__coords { display: none; }
  .hero__line--mega { font-size: clamp(3.7rem, 16.5vw, 5.4rem); }
  .hero__line--mega::after { width: 24px; margin-left: 10px; }
  .hero__line--mincho { font-size: clamp(1.55rem, 7.6vw, 2.2rem); }
  .hero__line--sub { font-size: clamp(1.3rem, 5.8vw, 1.8rem); }
  .hero__visual { height: auto; }
  .diorama { height: 300px; min-height: 0; }
  .diorama__seal { display: none; }
  .diorama__cloud--c { display: none; }
  .diorama__caption { gap: 6px; }
  .talent-console__top { gap: 6px; }
  .talent-console__eyebrow em { display: none; }
  .talent-console__practice { font-size: 0.4rem; }
  .talent-console__body { grid-template-columns: 26px minmax(0, 1fr) 28px; }
  .talent-console__number { font-size: 1.5rem; }
  .talent-console__play { width: 28px; height: 28px; }
  .journey-step { font-size: 0.4rem; gap: 2px; padding: 4px 1px; }
  .about__tabs { grid-template-columns: 1fr; }
  .about-tab { border-right: 0; border-bottom: 1px solid var(--line); padding: 16px 18px; }
  .about-tab:nth-last-of-type(-n+2) { border-bottom: 1px solid var(--line); }
  .about-tab:last-of-type { border-bottom: 0; }
  .about-tab__en { font-size: 1.05rem; }
  .about-panel__title { font-size: 1.7rem; }
  .pillar { grid-template-columns: 18px 1fr; }
  .bg-kanji { font-size: 9rem; }
  .section-head__line { display: none; }
  .section-head__label { flex: 1 1 auto; min-width: 0; }
  .contact-top, .section-head__meta { font-size: 0.47rem; }
  .contact-top__line { display: none; }
  .contact-top__label { flex: 1 1 auto; min-width: 0; }
  .corridors__grid { grid-template-columns: 1fr; }
  .contact-info__title { font-size: 2rem; }
  .contact-meta__value { font-size: 0.76rem; }
  .contact-info__seal { display: none; }
  .form-success__title { font-size: 1.45rem; }
  .service__title { padding-right: 0; }
  .service__stamp { display: none; }
  .section-head__kanji { margin-left: auto; }
  .footer__tagline { font-size: 0.48rem; }
  .footer__copy { line-height: 1.8; }
}
@media (max-width: 400px) {
  .hero__line--mega { font-size: 3.5rem; }
  .hero__line--mincho { font-size: 1.5rem; }
  .hero__line--sub { font-size: 1.3rem; }
  .metric__val { font-size: 1.5rem; }
  .sec-title { font-size: 2rem; }
  .btn { font-size: 0.6rem; padding: 12px 14px; gap: 10px; }
  .brand__word small { letter-spacing: 0.12em; }
  .contact-info__title { font-size: 1.85rem; }
  .modal__title { font-size: 1.75rem; }
}

/* ---------- 21. MOTION & ACCESSIBILITY ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  .js [data-reveal] { opacity: 1; translate: none; }
  .js .hero__copy [data-hero], .js .hero__metrics { opacity: 1; translate: none; }
  .js .hero__visual { opacity: 1; transform: none; }
  .marquee__track { animation: none; }
  .hero__cloud, .diorama__cloud { animation: none; }
  .diorama__hint, .status-pill__dot { animation: none; }
  .diorama__hint { display: none; }
}
@media (hover: none) {
  .cursor { display: none; }
  .model:hover, .service:hover, .world:hover, .tip:hover { transform: none; }
}

/* Cursor + form/dialog cursor safeguards */
.cursor.is-hidden { opacity: 0 !important; }
.has-custom-cursor input, .has-custom-cursor textarea, .has-custom-cursor select { cursor: auto; }
.has-custom-cursor dialog, .has-custom-cursor dialog * { cursor: auto; }
.has-custom-cursor dialog a, .has-custom-cursor dialog button { cursor: pointer; }

/* Seamless marquee */
.marquee__track { gap: 0; }
.marquee__track span { padding-right: 48px; }

/* Keep the brush underline inside its own stacking context */
.hero__line--mincho em { isolation: isolate; }

