/* =====================================================================
   Med Generate コーポレートサイト v2 — 共通スタイル
   色は OKLCH（DESIGN.md 参照）。水色×紺×白を基調に、近黒紺で締める。
   ===================================================================== */

:root {
  --paper: oklch(99% .006 215);
  --mist: oklch(95.5% .022 212);
  --aqua: oklch(74% .13 219);
  --aqua-pale: oklch(88% .065 208);
  --aqua-deep: oklch(52% .1 228);
  --navy: oklch(37% .14 260);
  --ink: oklch(21% .045 258);
  --ink-2: oklch(27% .06 258);
  --ink-soft: oklch(46% .03 250);
  --line: oklch(89% .018 225);
  --line-dark: oklch(34% .05 255);

  --f-disp: "Murecho", "Zen Kaku Gothic New", sans-serif;
  --f-accent: "Zen Old Mincho", serif;
  --f-body: "Zen Kaku Gothic New", sans-serif;
  --f-en: "Anybody", "Murecho", sans-serif;

  --pad-x: clamp(20px, 5vw, 88px);
  --sec-y: clamp(96px, 14vw, 200px);
  --ease: cubic-bezier(.2, .8, .2, 1);
  --ease-io: cubic-bezier(.76, 0, .24, 1);
  --header-h: 76px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
html.lenis, html.lenis body { height: auto; }
html.mg-inertia { scroll-behavior: auto; }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font-family: var(--f-body); font-size: clamp(15px, 1.05vw, 17px); line-height: 1.95;
  letter-spacing: .03em; font-feature-settings: "palt" 1;
  -webkit-font-smoothing: antialiased; overflow-x: clip;
}
img, svg, canvas { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3, p, ul, ol, dl, figure, blockquote { margin: 0; }
ul, ol { padding: 0; list-style: none; }
em { font-style: normal; font-family: var(--f-accent); font-weight: 700; letter-spacing: .02em; }
button { font: inherit; color: inherit; }
.pc { display: none; }
@media (min-width: 900px) { .pc { display: inline; } .sp { display: none; } }
.sr-only { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: fixed; left: 12px; top: 12px; z-index: 200; background: var(--ink); color: var(--paper); padding: 10px 16px; border-radius: 8px; text-decoration: none; transform: translateY(-160%); opacity: 0; }
.skip:focus { transform: none; opacity: 1; }
:focus-visible { outline: 2px solid var(--aqua-deep); outline-offset: 3px; border-radius: 4px; }
[data-dark] :focus-visible, .mobile-menu :focus-visible { outline-color: var(--aqua); }
::selection { background: var(--aqua-pale); color: var(--ink); }

.ico-arrow { width: 1.1em; height: 1.1em; fill: none; stroke: currentColor; stroke-width: 1.6; flex: none; transition: transform .5s var(--ease); }

/* ---------- 見出しの行マスク ---------- */
.ln { display: block; overflow: hidden; padding: .14em 0 .22em; margin: -.14em 0 -.22em; }
.ln > span { display: block; }

/* ---------- ページ遷移の幕 ---------- */
.curtain { position: fixed; inset: 0; z-index: 150; pointer-events: none; }
.curtain-a, .curtain-b { position: absolute; inset: 0; transform: translateY(100%); }
.curtain-a { background: var(--aqua); }
.curtain-b { background: var(--ink); }
/* 読み込み時: 覆った状態から上へ抜ける（JS不要で必ず終わる） */
html.is-entering .curtain-a { animation: cur-out .8s var(--ease-io) .05s both; }
html.is-entering .curtain-b { animation: cur-out .8s var(--ease-io) both; }
@keyframes cur-out { from { transform: translateY(0); } to { transform: translateY(-100%); } }
html.is-leaving .curtain { pointer-events: auto; }
html.is-leaving .curtain-a { animation: cur-in .55s var(--ease-io) both; }
html.is-leaving .curtain-b { animation: cur-in .55s var(--ease-io) .08s both; }
@keyframes cur-in { from { transform: translateY(100%); } to { transform: translateY(0); } }

/* ---------- ヘッダー ---------- */
.site-header {
  position: fixed; inset: 0 0 auto; z-index: 90; height: var(--header-h);
  display: flex; align-items: center; gap: 24px; padding: 0 var(--pad-x);
  transition: transform .5s var(--ease), color .3s, background-color .3s;
}
.site-header.is-hidden { transform: translateY(-100%); }
.site-header.is-solid { background: color-mix(in oklch, var(--paper) 88%, transparent); backdrop-filter: saturate(1.4) blur(10px); }
.site-header.is-dark { color: var(--paper); }
.site-header.is-dark.is-solid { background: color-mix(in oklch, var(--ink) 86%, transparent); }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.brand img { width: 21px; height: 30px; }
.brand-word { font-family: var(--f-en); font-weight: 500; font-size: 18px; letter-spacing: -.01em; }
.gnav { margin-left: auto; }
.gnav ul { display: flex; gap: clamp(18px, 2.4vw, 36px); }
.gnav-link {
  text-decoration: none; font-size: 14px; font-weight: 500; letter-spacing: .08em; padding: 6px 0;
  background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; transition: background-size .45s var(--ease);
}
.gnav-link:hover, .gnav-link[aria-current="page"] { background-size: 100% 1px; }
.header-tools { display: flex; align-items: center; gap: 14px; }
.think-head::after { content: ""; position: absolute; inset: 0; border-radius: 50%; background: var(--aqua); opacity: 0; animation: beat 1.6s infinite; will-change: transform, opacity; }
@keyframes beat { 0% { transform: scale(1); opacity: .6; } 40%, 100% { transform: scale(2.8); opacity: 0; } }
.btn-pill {
  display: inline-flex; align-items: center; height: 40px; padding: 0 20px; border-radius: 999px;
  background: var(--navy); color: var(--paper); text-decoration: none; font-size: 14px; font-weight: 500; letter-spacing: .08em;
  transition: background-color .3s;
}
.btn-pill:hover { background: var(--ink); }
.site-header.is-dark .btn-pill { background: var(--aqua); color: var(--ink); }
.menu-btn { display: none; width: 44px; height: 44px; border: 0; background: none; position: relative; cursor: pointer; }
.menu-btn span { position: absolute; left: 11px; right: 11px; height: 1.5px; background: currentColor; transition: transform .4s var(--ease); }
.menu-btn span:first-child { top: 18px; } .menu-btn span:last-child { top: 25px; }
.menu-btn[aria-expanded="true"] span:first-child { transform: translateY(3.5px) rotate(45deg); }
.menu-btn[aria-expanded="true"] span:last-child { transform: translateY(-3.5px) rotate(-45deg); }
.mobile-menu {
  position: fixed; inset: 0; z-index: 85; background: var(--ink); color: var(--paper);
  padding: calc(var(--header-h) + 32px) var(--pad-x) 40px; display: flex; flex-direction: column;
}
.mobile-menu[hidden] { display: none; }
.mobile-menu ul { display: grid; gap: 4px; }
.mobile-menu a { display: block; text-decoration: none; font-family: var(--f-disp); font-weight: 600; font-size: clamp(28px, 8vw, 40px); padding: 6px 0; border-bottom: 1px solid var(--line-dark); }
.mobile-menu-foot { margin-top: auto; font-size: 13px; color: var(--aqua-pale); }
body.menu-open .site-header { color: var(--paper); background: transparent; backdrop-filter: none; }
@media (max-width: 899px) {
  .gnav { display: none; }
  .menu-btn { display: block; }
  .header-tools { margin-left: auto; gap: 6px; }
  .btn-pill { height: 36px; padding: 0 14px; font-size: 13px; }
  :root { --header-h: 64px; }
}

/* ---------- 共通の部品 ---------- */
.link-line {
  display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 500; letter-spacing: .06em;
  padding: 8px 0; border-bottom: 1px solid currentColor; color: var(--navy);
}
.link-line:hover .ico-arrow { transform: translateX(5px); }
.link-line.on-dark { color: var(--aqua-pale); }
.btn-ghost, .btn-ink {
  display: inline-flex; align-items: center; gap: 14px; min-height: 58px; padding: 0 30px; border-radius: 999px;
  text-decoration: none; font-weight: 500; letter-spacing: .08em; transition: background-color .35s, color .35s;
}
.btn-ghost { border: 1px solid var(--aqua); color: var(--paper); }
.btn-ghost:hover { background: var(--aqua); color: var(--ink); }
.btn-ink { background: var(--ink); color: var(--paper); }
.btn-ink:hover { background: var(--navy); }
.btn-ghost:hover .ico-arrow, .btn-ink:hover .ico-arrow { transform: translateX(5px); }
.p-crumb { font-size: 12px; letter-spacing: .1em; color: var(--ink-soft); display: flex; gap: 10px; flex-wrap: wrap; }
.p-crumb a { text-decoration: none; }
.p-crumb a:hover { text-decoration: underline; }
.p-crumb.on-dark { color: var(--aqua-pale); }
.p-title {
  font-family: var(--f-disp); font-weight: 600; font-size: clamp(31px, 6.4vw, 104px); line-height: 1.12; letter-spacing: -.01em;
}
.news-tag { font-size: 12px; letter-spacing: .1em; padding: 2px 10px; border: 1px solid currentColor; border-radius: 999px; color: var(--aqua-deep); white-space: nowrap; }


/* reveal（GSAP が無い時のフォールバックも兼ねる） */
html.js .rv { opacity: 0; transform: translateY(28px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
html.js .rv.in { opacity: 1; transform: none; }
html.js .ln > span { transform: translateY(110%); transition: transform 1.1s var(--ease); }
html.js .ln.in > span { transform: none; }

/* =====================================================================
   トップ
   ===================================================================== */
.hero { position: relative; height: 100svh; min-height: 620px; overflow: hidden; background: var(--paper); }
.hero-field { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-inner { position: absolute; left: var(--pad-x); right: var(--pad-x); bottom: clamp(56px, 10vh, 120px); pointer-events: none; }
.hero-title {
  font-family: var(--f-disp); font-weight: 700; font-size: clamp(48px, 9.4vw, 168px); line-height: 1.04; letter-spacing: -.03em; color: var(--ink);
}
.hero-title em { color: var(--navy); font-weight: 700; }
/* LCP を遅らせないよう opacity を 0 にしない入場 */
html.js .hero-lead { animation: leadIn 1.2s var(--ease) .9s both; }
@keyframes leadIn { from { opacity: .01; transform: translateY(18px); } to { opacity: 1; transform: none; } }
.hero-lead { margin-top: clamp(20px, 3vw, 36px); font-size: clamp(15px, 1.25vw, 19px); font-weight: 500; max-width: 34em; background: color-mix(in oklch, var(--paper) 70%, transparent); display: inline-block; padding: 4px 8px 4px 0; }
.hero-spine {
  position: absolute; right: var(--pad-x); top: 50%; transform: translateY(-50%); writing-mode: vertical-rl;
  font-size: 12px; letter-spacing: .5em; color: var(--ink-soft);
}
.hero-scroll { position: absolute; right: var(--pad-x); bottom: 28px; font-family: var(--f-en); font-size: 11px; letter-spacing: .3em; text-transform: uppercase; color: var(--ink-soft); display: flex; align-items: center; gap: 12px; }
.hero-scroll::after { content: ""; width: 48px; height: 1px; background: currentColor; transform-origin: left; animation: scrollcue 2.4s var(--ease-io) infinite; }
@keyframes scrollcue { 0% { transform: scaleX(0); } 50% { transform: scaleX(1); transform-origin: left; } 51% { transform-origin: right; } 100% { transform: scaleX(0); transform-origin: right; } }
@media (max-width: 700px) {
  .hero { min-height: 560px; }
  .hero-spine { display: none; }
  .hero-inner { bottom: 88px; }
  .hero-scroll { display: none; }
}

/* ミッション（文字が濃くなる） */
.mission { background: var(--mist); padding: var(--sec-y) var(--pad-x); }
.mission-inner { max-width: 1320px; }
.mission-kicker { font-size: 14px; letter-spacing: .3em; color: var(--aqua-deep); font-weight: 500; margin-bottom: clamp(28px, 4vw, 56px); display: flex; align-items: center; gap: 16px; }
.mission-kicker::before { content: ""; width: 36px; height: 1px; background: currentColor; }
.mission-big { font-family: var(--f-disp); font-weight: 700; font-size: clamp(30px, 7.2vw, 128px); line-height: 1.16; letter-spacing: -.02em; }
.mission-big .ch { opacity: .16; transition: opacity .2s; }
html:not(.js) .mission-big .ch { opacity: 1; }
.mission-body { margin: clamp(40px, 6vw, 80px) 0 32px auto; max-width: 36em; font-size: clamp(15px, 1.15vw, 18px); }
.mission .link-line { margin-left: auto; display: flex; width: max-content; }
@media (min-width: 1000px) { .mission-body { margin-right: 6vw; } .mission .link-line { margin-right: 6vw; } }

/* 事業（ピン留め横スクロール） */
.hpin { background: var(--ink); color: var(--paper); position: relative; }
.hpin-sticky { display: flex; flex-direction: column; gap: 48px; padding: var(--sec-y) var(--pad-x); }
.hpin-title { font-family: var(--f-disp); font-weight: 600; font-size: clamp(34px, 3.5vw, 64px); line-height: 1.14; letter-spacing: -.02em; }
.hpin-title em { color: var(--aqua); }
.hpin-note { margin: 24px 0 28px; color: var(--aqua-pale); max-width: 28em; }
.hpin-track { display: grid; gap: 20px; }
.hp-panel { display: grid; gap: 24px; padding: 28px 0 40px; border-top: 1px solid var(--line-dark); }
.hp-glyph { width: 100%; height: 220px; background: var(--ink-2); border-radius: 4px; }
.hp-en { font-family: var(--f-en); font-size: 12px; letter-spacing: .24em; text-transform: uppercase; color: var(--aqua); }
.hp-title { font-family: var(--f-disp); font-weight: 600; font-size: clamp(26px, 2.6vw, 40px); line-height: 1.3; margin: 8px 0 16px; }
.hp-lead { color: oklch(88% .02 230); margin-bottom: 20px; }
@media (min-width: 1000px) {
  .hpin-sticky { height: 100vh; flex-direction: row; align-items: center; gap: 0; padding: 0; overflow: hidden; }
  .hpin-head { flex: none; width: 38vw; padding: 0 4vw 0 var(--pad-x); position: relative; z-index: 2; background: var(--ink); align-self: stretch; display: flex; flex-direction: column; justify-content: center; box-shadow: 40px 0 60px -20px var(--ink); }
  .hpin-head .link-line { align-self: flex-start; }
  .hpin-track { display: flex; gap: 0; height: 100%; align-items: center; will-change: transform; }
  .hp-panel { width: 46vw; height: 74vh; flex: none; grid-template-rows: 1fr auto; padding: 0 3.2vw; border-top: 0; border-left: 1px solid var(--line-dark); }
  .hp-glyph { height: 100%; min-height: 0; }
}

/* 考え方（非対称2カラム・左 sticky） */
.thinking { padding: var(--sec-y) var(--pad-x); display: grid; gap: 56px; background: var(--paper); }
.thinking-title { font-family: var(--f-disp); font-weight: 700; font-size: clamp(44px, 5.6vw, 100px); line-height: 1.08; letter-spacing: -.03em; }
.thinking-sub { margin-top: 20px; font-family: var(--f-accent); font-weight: 500; font-size: clamp(18px, 1.8vw, 26px); color: var(--navy); }
.thought { padding: 36px 0 44px; border-top: 1px solid var(--line); }
.thought h3 { font-family: var(--f-disp); font-weight: 600; font-size: clamp(22px, 2.1vw, 32px); line-height: 1.4; margin-bottom: 14px; }
.thought p { color: var(--ink-soft); max-width: 32em; }
@media (min-width: 1000px) {
  .thinking { grid-template-columns: 5fr 6fr; gap: 6vw; align-items: start; }
  .thinking-head { position: sticky; top: 22vh; }
  .thinking-body { padding-top: 16vh; }
  .thought { padding: 48px 0 12vh; }
}

/* 採用バンド（水色ドレンチ＋速度連動マーキー） */
.recruit-band { background: var(--aqua); color: var(--ink); padding: clamp(72px, 10vw, 140px) 0; overflow: hidden; }
.vmarquee { overflow: hidden; }
.vmarquee-track { display: flex; width: max-content; will-change: transform; }
.vmarquee-track span {
  font-family: var(--f-disp); font-weight: 700; font-size: clamp(56px, 10vw, 180px); line-height: 1.1; letter-spacing: -.03em;
  white-space: nowrap; padding-right: .6em; display: flex; align-items: center;
}
.vmarquee-track span::after { content: ""; width: .28em; height: .28em; border-radius: 50%; background: var(--ink); margin-left: .6em; }
.recruit-band-inner { padding: clamp(40px, 6vw, 72px) var(--pad-x) 0; display: grid; gap: 20px; max-width: 900px; margin-left: auto; margin-right: 8vw; }
.recruit-band-title { font-family: var(--f-disp); font-weight: 600; font-size: clamp(24px, 2.6vw, 38px); line-height: 1.4; }
.recruit-band .btn-ink { justify-self: start; }
@media (max-width: 999px) { .recruit-band-inner { margin-right: 0; } }

/* お知らせ（トップ） */
.news-top { padding: var(--sec-y) var(--pad-x); background: var(--paper); }
.news-top-head { display: flex; justify-content: space-between; align-items: end; gap: 24px; margin-bottom: 40px; flex-wrap: wrap; }
.news-top-title { font-family: var(--f-disp); font-weight: 700; font-size: clamp(40px, 5.6vw, 88px); letter-spacing: -.02em; line-height: 1; }
.news-list { border-top: 1px solid var(--ink); }
.news-row {
  display: grid; grid-template-columns: 9em auto 1fr auto; align-items: center; gap: 24px; padding: 28px 12px;
  border-bottom: 1px solid var(--line); text-decoration: none; position: relative; isolation: isolate;
}
.news-row::before { content: ""; position: absolute; inset: 0; background: var(--mist); transform: scaleY(0); transform-origin: bottom; transition: transform .5s var(--ease); z-index: -1; }
.news-row:hover::before, .news-row:focus-visible::before { transform: none; }
.news-row:hover .ico-arrow { transform: translateX(6px); }
.news-row time { font-family: var(--f-en); font-size: clamp(18px, 1.6vw, 24px); font-weight: 400; letter-spacing: .02em; color: var(--navy); font-feature-settings: "tnum" 1; }
.news-ttl { font-weight: 500; }
@media (max-width: 700px) {
  .news-row { grid-template-columns: auto 1fr; gap: 8px 14px; padding: 22px 4px; }
  .news-row .news-ttl { grid-column: 1 / -1; }
  .news-row .ico-arrow { display: none; }
}

/* =====================================================================
   共通の締め（CTA＋フッター）
   ===================================================================== */
.endcap { position: relative; background: var(--ink); color: var(--paper); padding: clamp(120px, 16vw, 220px) var(--pad-x) clamp(96px, 12vw, 160px); text-align: center; overflow: hidden; }
.endcap-pulse { position: absolute; left: 0; right: 0; top: 50%; height: 200px; width: 100%; transform: translateY(-50%); opacity: .5; }
.endcap-inner { position: relative; display: grid; justify-items: center; gap: 28px; }
.endcap-title { font-family: var(--f-disp); font-weight: 600; font-size: clamp(24px, 4.4vw, 68px); line-height: 1.3; letter-spacing: -.01em; }
.endcap-note { color: var(--aqua-pale); font-size: 15px; }
.site-footer { background: var(--ink); color: oklch(90% .02 230); padding: 72px var(--pad-x) 28px; border-top: 1px solid var(--line-dark); overflow: hidden; }
.footer-cols { display: grid; gap: 40px; }
.footer-lead { max-width: 24em; margin-bottom: 18px; }
.footer-cols address { font-style: normal; color: var(--aqua-pale); font-size: 14px; }
.footer-h { font-size: 12px; letter-spacing: .24em; color: var(--aqua); margin-bottom: 14px; }
.footer-nav ul { display: grid; gap: 6px; }
.footer-nav a { text-decoration: none; font-size: 14px; }
.footer-nav a:hover { color: var(--aqua); }
.footer-word::before { content: attr(data-word); }
.footer-word { font-family: var(--f-en); font-weight: 500; font-size: clamp(56px, 15vw, 260px); line-height: .9; letter-spacing: -.05em; color: var(--ink-2); margin: 72px 0 24px; white-space: nowrap; }
.footer-copy { font-size: 12px; color: var(--aqua-pale); font-family: var(--f-en); }
@media (min-width: 900px) { .footer-cols { grid-template-columns: 2fr 1fr 1fr 1fr; } }

/* 右下の回転円形リンク（Bright Biotech 移植） */
.orbit { position: fixed; right: clamp(14px, 2vw, 28px); bottom: clamp(14px, 2vw, 28px); z-index: 80; width: 108px; height: 108px; display: grid; place-items: center; text-decoration: none; color: var(--ink); transition: transform .5s var(--ease), opacity .4s; }
.orbit > svg { position: absolute; inset: 0; width: 100%; height: 100%; animation: spin 16s linear infinite; }
.orbit text { font-family: var(--f-disp); font-size: 11px; font-weight: 500; fill: currentColor; }
.orbit-core { width: 50px; height: 50px; border-radius: 50%; background: var(--aqua); color: var(--ink); display: grid; place-items: center; transition: transform .5s var(--ease); }
.orbit-core .ico-arrow { width: 20px; height: 20px; }
.orbit:hover .orbit-core { transform: scale(1.14); }
.orbit.on-dark { color: var(--aqua-pale); }
.orbit.is-away { opacity: 0; pointer-events: none; transform: scale(.8); }
@keyframes spin { to { transform: rotate(360deg); } }
@media (max-width: 700px) { .orbit { width: 84px; height: 84px; } .orbit-core { width: 40px; height: 40px; } }

/* カーソル（マウス端末のみ） */
.cursor { display: none; }
@media (hover: hover) and (pointer: fine) {
  html.has-cursor .cursor { display: block; position: fixed; inset: 0; pointer-events: none; z-index: 140; }
  .cursor-dot, .cursor-ring { position: absolute; left: 0; top: 0; border-radius: 50%; }
  .cursor-dot { width: 6px; height: 6px; margin: -3px 0 0 -3px; background: var(--aqua); }
  .cursor-ring { width: 38px; height: 38px; margin: -19px 0 0 -19px; border: 1px solid var(--aqua-deep); transition: background-color .35s, border-color .35s; }
  html.cursor-link .cursor-ring { background: oklch(74% .13 219 / .16); border-color: var(--aqua); }
}

/* =====================================================================
   下層ページ共通のヒーロー
   ===================================================================== */
.p-hero { position: relative; padding: calc(var(--header-h) + clamp(48px, 8vw, 120px)) var(--pad-x) clamp(72px, 9vw, 140px); overflow: hidden; }
.p-hero-inner { position: relative; max-width: 980px; display: grid; gap: 28px; }
.p-lead { max-width: 34em; font-size: clamp(15px, 1.15vw, 18px); }

/* 会社について */
.p-hero--cells { background: var(--paper); min-height: 92svh; display: flex; align-items: flex-end; }
.cells-field { position: absolute; top: 0; right: -6vw; width: 62vw; height: 100%; }
.p-hero--cells .p-title em { color: var(--navy); }
.p-hero--cells .p-lead { background: color-mix(in oklch, var(--paper) 78%, transparent); }
@media (max-width: 899px) { .cells-field { width: 120vw; right: -40vw; height: 60%; opacity: .7; } }

.quote-band { background: var(--mist); padding: var(--sec-y) var(--pad-x); display: grid; gap: 40px; position: relative; }
.v-label { font-size: 14px; letter-spacing: .5em; color: var(--aqua-deep); font-weight: 500; }
.quote-big p { font-family: var(--f-disp); font-weight: 700; font-size: clamp(30px, 8vw, 150px); line-height: 1.1; letter-spacing: -.03em; }
.quote-big em { color: var(--navy); }
.quote-body { max-width: 36em; justify-self: end; margin-right: 4vw; }
@media (min-width: 900px) {
  .quote-band { grid-template-columns: 60px 1fr; }
  .v-label { writing-mode: vertical-rl; grid-row: 1 / 3; }
}

.overlap { padding: var(--sec-y) var(--pad-x); display: grid; gap: 40px; background: var(--paper); }
.overlap-fig { max-width: 560px; overflow: hidden; border-radius: 2px; }
.overlap-fig img { width: 100%; height: auto; aspect-ratio: 800 / 533; object-fit: cover; }
.overlap-title { font-family: var(--f-disp); font-weight: 700; font-size: clamp(40px, 5.4vw, 88px); line-height: 1.08; letter-spacing: -.02em; margin-bottom: 28px; }
.principle { padding: 32px 0; border-top: 1px solid var(--line); }
.principle h3 { font-family: var(--f-disp); font-weight: 600; font-size: clamp(20px, 1.9vw, 28px); margin-bottom: 10px; }
.principle p { color: var(--ink-soft); }
@media (min-width: 1000px) {
  .overlap { grid-template-columns: repeat(12, 1fr); gap: 0; align-items: start; }
  .overlap-fig { grid-column: 1 / 6; grid-row: 1; position: sticky; top: 18vh; }
  .overlap-text { grid-column: 7 / 13; grid-row: 1; padding-top: 4vh; }
}

.facts-sec { background: var(--ink); color: var(--paper); padding: var(--sec-y) var(--pad-x); display: grid; gap: 48px; }
.facts-title { font-family: var(--f-disp); font-weight: 600; font-size: clamp(32px, 4vw, 60px); }
.facts { border-top: 1px solid var(--line-dark); }
.facts > div { display: grid; grid-template-columns: 8em 1fr; gap: 24px; padding: 24px 12px; border-bottom: 1px solid var(--line-dark); position: relative; isolation: isolate; transition: color .35s; }
.facts > div::before { content: ""; position: absolute; inset: 0; background: var(--aqua); transform: scaleX(0); transform-origin: left; transition: transform .55s var(--ease); z-index: -1; }
.facts > div:hover { color: var(--ink); }
.facts > div:hover::before { transform: none; }
.facts dt { color: var(--aqua-pale); font-size: 14px; letter-spacing: .14em; transition: color .35s; }
.facts > div:hover dt { color: var(--ink); }
.facts dd { margin: 0; font-size: clamp(16px, 1.3vw, 20px); font-feature-settings: "tnum" 1; }
@media (min-width: 1000px) { .facts-sec { grid-template-columns: 1fr 2fr; } }
@media (max-width: 600px) { .facts > div { grid-template-columns: 1fr; gap: 4px; } }

.access { display: grid; background: var(--paper); }
.access-text { padding: var(--sec-y) var(--pad-x); display: grid; gap: 28px; align-content: start; }
.access-title { font-size: 14px; letter-spacing: .3em; color: var(--aqua-deep); font-weight: 500; }
.access-zip { display: block; font-family: var(--f-en); color: var(--ink-soft); margin-bottom: 8px; }
.access-big { font-family: var(--f-disp); font-weight: 700; font-size: clamp(40px, 6vw, 96px); line-height: 1.1; letter-spacing: -.02em; display: block; }
.access-note { color: var(--ink-soft); max-width: 28em; }
.access .link-line { justify-self: start; }
.access-map { min-height: 420px; position: relative; }
.access-map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; filter: grayscale(1) contrast(1.05) brightness(1.02); }
@media (min-width: 1000px) { .access { grid-template-columns: 1fr 1fr; } .access-map { min-height: 100%; } }

/* =====================================================================
   サービス一覧
   ===================================================================== */
.svc-index { padding: calc(var(--header-h) + clamp(48px, 7vw, 110px)) var(--pad-x) var(--sec-y); position: relative; }
.svc-index-head { display: grid; gap: 24px; margin-bottom: clamp(56px, 7vw, 100px); }
.svc-index .p-title em { color: var(--navy); }
.svc-rows { border-top: 1px solid var(--ink); }
.svc-row {
  display: grid; grid-template-columns: 1fr auto; gap: 8px 24px; align-items: center; text-decoration: none;
  padding: clamp(24px, 3vw, 40px) 12px; border-bottom: 1px solid var(--line); position: relative; isolation: isolate; transition: color .4s;
}
.svc-row::before { content: ""; position: absolute; inset: 0; background: var(--navy); transform: scaleY(0); transform-origin: top; transition: transform .6s var(--ease); z-index: -1; }
.svc-row:hover, .svc-row:focus-visible { color: var(--paper); }
.svc-row:hover::before, .svc-row:focus-visible::before { transform: none; }
.svc-row-name { font-family: var(--f-disp); font-weight: 600; font-size: clamp(23px, 3.1vw, 56px); line-height: 1.12; letter-spacing: -.02em; }
.svc-row-en { font-family: var(--f-en); font-size: 12px; letter-spacing: .24em; text-transform: uppercase; color: var(--aqua-deep); grid-row: 1; grid-column: 2; }
.svc-row:hover .svc-row-en { color: var(--aqua); }
.svc-row-lead { grid-column: 1 / -1; max-width: 44em; color: var(--ink-soft); font-size: 15px; transition: color .4s; }
.svc-row:hover .svc-row-lead { color: var(--aqua-pale); }
.svc-row .ico-arrow { grid-row: 2; grid-column: 2; width: 28px; height: 28px; }
.svc-row:hover .ico-arrow { transform: translateX(8px); }
.svc-follow { position: fixed; left: 0; top: 0; width: 260px; height: 180px; pointer-events: none; z-index: 60; opacity: 0; transition: opacity .3s; border-radius: 4px; background: var(--ink); }
.svc-follow.on { opacity: 1; }
@media (min-width: 1000px) {
  .svc-row { grid-template-columns: 1.3fr 1fr auto; }
  .svc-row-lead { grid-column: 2; grid-row: 1 / 3; }
  .svc-row-en { grid-column: 1; grid-row: 2; }
  .svc-row .ico-arrow { grid-column: 3; grid-row: 1 / 3; }
}

.process { background: var(--mist); padding: var(--sec-y) var(--pad-x); }
.process-head { display: grid; gap: 20px; margin-bottom: 64px; }
.process-title { font-family: var(--f-disp); font-weight: 600; font-size: clamp(32px, 4.4vw, 68px); line-height: 1.16; letter-spacing: -.02em; }
.process-line { height: 2px; background: var(--line); position: relative; display: none; }
.process-line-fill { position: absolute; inset: 0; background: var(--aqua-deep); transform-origin: left; transform: scaleX(0); }
html:not(.js) .process-line-fill { transform: none; }
.steps { display: grid; gap: 36px; }
.step { position: relative; padding-left: 28px; }
.step-dot { position: absolute; left: 0; top: .6em; width: 12px; height: 12px; border-radius: 50%; background: var(--paper); border: 2px solid var(--aqua-deep); transition: background-color .4s; }
.step.on .step-dot { background: var(--aqua-deep); }
.step h3 { font-family: var(--f-disp); font-weight: 600; font-size: clamp(20px, 1.8vw, 26px); margin-bottom: 8px; }
.step p { color: var(--ink-soft); font-size: 15px; }
@media (min-width: 1000px) {
  .process-head { grid-template-columns: 1fr 1fr; align-items: end; }
  .process-line { display: block; }
  .steps { grid-template-columns: repeat(4, 1fr); gap: 3vw; }
  .step { padding: 32px 0 0; }
  .step-dot { top: -7px; }
}

.scatter-sec { background: var(--aqua); color: var(--ink); padding: var(--sec-y) var(--pad-x); position: relative; overflow: hidden; }
.scatter-title { font-family: var(--f-disp); font-weight: 700; font-size: clamp(36px, 5vw, 80px); line-height: 1.12; letter-spacing: -.02em; margin-bottom: 48px; }
.float-words { display: grid; gap: 12px; }
.float-words li { font-family: var(--f-disp); font-weight: 500; font-size: clamp(17px, 1.7vw, 26px); background: var(--paper); padding: 10px 22px; border-radius: 999px; justify-self: start; }
@media (min-width: 1000px) {
  .scatter-sec { min-height: 110vh; }
  .float-words { position: absolute; inset: 22vh 6vw 10vh 34vw; display: block; }
  .float-words li { position: absolute; left: var(--x); top: var(--y); white-space: nowrap; animation: drift 9s ease-in-out infinite alternate; }
  .float-words li:nth-child(2n) { animation-duration: 11s; animation-delay: -3s; background: var(--ink); color: var(--paper); }
  .float-words li:nth-child(3n) { animation-duration: 13s; animation-delay: -6s; }
}
@keyframes drift { from { transform: translate(0, 0); } to { transform: translate(18px, -22px); } }

/* =====================================================================
   サービス詳細
   ===================================================================== */
.d-hero { position: relative; background: var(--ink); color: var(--paper); min-height: 100svh; display: flex; align-items: flex-end; overflow: hidden; }
.d-field { position: absolute; inset: 0; width: 100%; height: 100%; }
.d-hero-inner { position: relative; padding: calc(var(--header-h) + 40px) var(--pad-x) clamp(56px, 9vh, 110px); display: grid; gap: 22px; max-width: 1200px; pointer-events: none; }
.d-hero-inner a { pointer-events: auto; }
.d-name { font-family: var(--f-disp); font-weight: 500; font-size: clamp(16px, 1.4vw, 20px); display: flex; gap: 16px; align-items: baseline; color: var(--aqua); }
.d-name span { font-family: var(--f-en); font-size: 12px; letter-spacing: .24em; text-transform: uppercase; color: var(--aqua-pale); }
.d-title { font-family: var(--f-disp); font-weight: 700; font-size: clamp(28px, 5.6vw, 96px); line-height: 1.1; letter-spacing: -.025em; text-shadow: 0 0 40px var(--ink); }
.d-title em { color: var(--aqua); }
.d-lead { max-width: 36em; color: oklch(90% .02 230); font-size: clamp(15px, 1.15vw, 18px); text-shadow: 0 0 20px var(--ink); }

.pairs-sec { padding: var(--sec-y) var(--pad-x); background: var(--paper); }
.pairs-title { font-family: var(--f-disp); font-weight: 600; font-size: clamp(30px, 4vw, 60px); line-height: 1.2; letter-spacing: -.02em; margin-bottom: 56px; display: grid; }
.pairs-title span:last-child { color: var(--navy); padding-left: 1.2em; }
.pairs { border-top: 1px solid var(--ink); }
.pair { display: grid; gap: 14px; padding: 32px 0; border-bottom: 1px solid var(--line); }
.pair-q { font-family: var(--f-disp); font-weight: 600; font-size: clamp(19px, 1.7vw, 26px); line-height: 1.5; }
.pair-arrow { height: 1px; background: var(--aqua-deep); width: 48px; position: relative; transform-origin: left; }
.pair-arrow::after { content: ""; position: absolute; right: 0; top: -4px; width: 9px; height: 9px; border-top: 1px solid var(--aqua-deep); border-right: 1px solid var(--aqua-deep); transform: rotate(45deg); }
html.js .pair .pair-arrow { transform: scaleX(0); transition: transform 1s var(--ease) .3s; }
html.js .pair.in .pair-arrow { transform: none; }
.pair-a { color: var(--ink-soft); max-width: 34em; }
@media (min-width: 1000px) {
  .pair { grid-template-columns: 1fr 120px 1fr; align-items: center; gap: 32px; padding: 44px 0; }
  .pair-arrow { width: 100%; }
}

.package { background: var(--ink); color: var(--paper); padding: var(--sec-y) var(--pad-x); display: grid; gap: 28px; }
.package-title { font-family: var(--f-disp); font-weight: 600; font-size: clamp(26px, 3.3vw, 54px); color: var(--aqua); }
.package-lead { max-width: 36em; color: oklch(90% .02 230); }
.package-list { display: grid; gap: 0; border-top: 1px solid var(--line-dark); }
.package-list li { padding: 20px 0; border-bottom: 1px solid var(--line-dark); font-family: var(--f-disp); font-weight: 500; font-size: clamp(18px, 1.6vw, 24px); display: flex; gap: 16px; align-items: center; }
.package-list li::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--aqua); flex: none; }
@media (min-width: 1000px) { .package { grid-template-columns: 1fr 1fr; column-gap: 6vw; } .package-list { grid-column: 2; grid-row: 1 / 3; } }

.tagband { background: var(--mist); padding: clamp(64px, 8vw, 110px) 0; overflow: hidden; }
.tagband-title { padding: 0 var(--pad-x); font-size: 14px; letter-spacing: .3em; color: var(--aqua-deep); font-weight: 500; margin-bottom: 32px; }
.tagband-track { display: flex; width: max-content; animation: marquee 50s linear infinite; }
.tagband-track span { font-family: var(--f-disp); font-weight: 600; font-size: clamp(32px, 5vw, 80px); letter-spacing: -.02em; white-space: nowrap; padding: 0 .5em; display: flex; align-items: center; gap: 1em; }
.tagband-track span::after { content: ""; width: .22em; height: .22em; border-radius: 50%; background: var(--aqua); }
.tagband-track span:nth-child(2n) { color: var(--navy); }
@keyframes marquee { to { transform: translateX(-50%); } }

.vflow { padding: var(--sec-y) var(--pad-x); background: var(--paper); display: grid; gap: 48px; }
.vflow-title { font-family: var(--f-disp); font-weight: 700; font-size: clamp(40px, 5.4vw, 88px); letter-spacing: -.02em; }
.vflow-head p { margin-top: 16px; color: var(--ink-soft); }
.vflow-body { position: relative; padding-left: 40px; }
.vflow-line { position: absolute; left: 6px; top: 12px; bottom: 12px; width: 2px; background: var(--line); }
.vflow-fill { position: absolute; inset: 0; background: var(--aqua-deep); transform-origin: top; transform: scaleY(0); }
html:not(.js) .vflow-fill { transform: none; }
.vsteps { display: grid; gap: clamp(40px, 6vw, 80px); }
.vstep { position: relative; }
.vstep::before { content: ""; position: absolute; left: -40px; top: .45em; width: 14px; height: 14px; border-radius: 50%; background: var(--paper); border: 2px solid var(--aqua-deep); }
.vstep h3 { font-family: var(--f-disp); font-weight: 600; font-size: clamp(22px, 2.2vw, 34px); margin-bottom: 8px; }
.vstep p { color: var(--ink-soft); max-width: 32em; }
@media (min-width: 1000px) { .vflow { grid-template-columns: 1fr 1.3fr; } .vflow-head { position: sticky; top: 24vh; align-self: start; } }

.faq { background: var(--mist); padding: var(--sec-y) var(--pad-x); }
.faq-title { font-family: var(--f-disp); font-weight: 700; font-size: clamp(36px, 4.6vw, 72px); letter-spacing: -.02em; margin-bottom: 48px; }
.faq-wrap { display: grid; gap: 24px; }
.faq-tabs { display: grid; gap: 8px; }
.faq-tab {
  text-align: left; background: transparent; border: 1px solid var(--line); border-radius: 999px; padding: 14px 24px; cursor: pointer;
  font-weight: 500; line-height: 1.5; transition: background-color .3s, color .3s, border-color .3s;
}
.faq-tab:hover { border-color: var(--navy); }
.faq-tab[aria-selected="true"] { background: var(--navy); color: var(--paper); border-color: var(--navy); }
.faq-panels { background: var(--paper); border-radius: 4px; padding: clamp(28px, 4vw, 56px); min-height: 260px; }
.faq-q { font-family: var(--f-disp); font-weight: 600; font-size: clamp(20px, 2vw, 30px); line-height: 1.45; margin-bottom: 20px; }
.faq-panel p:last-child { color: var(--ink-soft); font-size: clamp(15px, 1.1vw, 17px); }
.faq-panel:not([hidden]) { animation: fadein .5s var(--ease); }
@keyframes fadein { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
@media (min-width: 1000px) { .faq-wrap { grid-template-columns: 1fr 1.2fr; gap: 4vw; } }

.others { background: var(--ink); color: var(--paper); padding: clamp(80px, 10vw, 140px) var(--pad-x) 0; }
.others-h { font-size: 14px; letter-spacing: .3em; color: var(--aqua); margin-bottom: 24px; }
.others ul { border-top: 1px solid var(--line-dark); }
.others a { display: flex; align-items: center; gap: 24px; padding: 28px 0; border-bottom: 1px solid var(--line-dark); text-decoration: none; font-family: var(--f-disp); font-weight: 600; font-size: clamp(22px, 3.6vw, 56px); letter-spacing: -.01em; transition: color .3s; }
.others a > span:first-child { transition: transform .5s var(--ease); }
.others a:hover { color: var(--aqua); }
.others a:hover > span:first-child { transform: translateX(16px); }
.others-en { font-family: var(--f-en); font-weight: 400; font-size: 12px; letter-spacing: .24em; text-transform: uppercase; color: var(--aqua-pale); margin-left: auto; }
.others .ico-arrow { width: 28px; height: 28px; }
@media (max-width: 700px) { .others-en { display: none; } .others a { justify-content: space-between; } }
.page-detail .endcap { padding-top: clamp(100px, 12vw, 180px); }

/* =====================================================================
   採用
   ===================================================================== */
.r-hero { background: var(--aqua); color: var(--ink); min-height: 100svh; position: relative; display: flex; align-items: center; overflow: hidden; }
.r-hero-inner { position: relative; z-index: 1; padding: calc(var(--header-h) + 40px) var(--pad-x) 120px; display: grid; gap: 32px; }
.r-hero .p-crumb { color: var(--ink); }
.r-title { font-family: var(--f-disp); font-weight: 700; font-size: clamp(26px, 7vw, 124px); line-height: 1.12; letter-spacing: -.03em; }
.r-pulse { position: absolute; left: 0; right: 0; bottom: 6vh; width: 100%; height: 140px; opacity: .55; }
.page-recruit .site-header:not(.is-dark):not(.is-solid) .btn-pill { background: var(--ink); }

.r-message { padding: var(--sec-y) var(--pad-x); display: grid; gap: 40px; justify-items: center; text-align: center; background: var(--paper); }
.r-msg-big { font-family: var(--f-accent); font-weight: 700; font-size: clamp(24px, 3vw, 46px); line-height: 1.6; color: var(--navy); }
.r-msg-body { max-width: 34em; text-align: left; color: var(--ink-soft); }

.ways { background: var(--mist); padding: var(--sec-y) var(--pad-x); overflow: hidden; }
.ways-title { font-size: 14px; letter-spacing: .3em; color: var(--aqua-deep); font-weight: 500; margin-bottom: 40px; }
.ways-list { display: grid; gap: 24px; }
.way { display: grid; grid-template-columns: auto 1fr; align-items: center; gap: 4px 20px; }
.way svg { width: clamp(44px, 5vw, 72px); height: auto; fill: none; stroke: var(--navy); stroke-width: 1.5; grid-row: 1 / 3; }
.way-word { font-family: var(--f-disp); font-weight: 700; font-size: clamp(36px, 7.4vw, 128px); line-height: 1.05; letter-spacing: -.03em; }
.way-note { color: var(--ink-soft); font-size: 14px; }
@media (min-width: 1000px) {
  .way:nth-child(2) { margin-left: 16vw; } .way:nth-child(3) { margin-left: 6vw; } .way:nth-child(4) { margin-left: 24vw; }
}

.jobs { background: var(--ink); color: var(--paper); padding: var(--sec-y) var(--pad-x); display: grid; gap: 48px; }
.jobs-title { font-family: var(--f-disp); font-weight: 700; font-size: clamp(40px, 5.4vw, 88px); letter-spacing: -.02em; }
.jobs-head p { margin-top: 16px; color: var(--aqua-pale); }
.jobs-list { border-top: 1px solid var(--line-dark); }
.job { border-bottom: 1px solid var(--line-dark); }
.job summary, .article summary { list-style: none; cursor: pointer; display: grid; grid-template-columns: 1fr auto; gap: 6px 20px; align-items: center; padding: 30px 4px; }
.job summary::-webkit-details-marker, .article summary::-webkit-details-marker { display: none; }
.job-title { font-family: var(--f-disp); font-weight: 600; font-size: clamp(22px, 2.6vw, 40px); line-height: 1.35; }
.job-type { font-size: 13px; color: var(--aqua); letter-spacing: .1em; grid-row: 2; }
.job-plus { width: 40px; height: 40px; border-radius: 50%; border: 1px solid currentColor; position: relative; grid-row: 1 / 3; grid-column: 2; transition: transform .5s var(--ease), background-color .3s; }
.job-plus::before, .job-plus::after { content: ""; position: absolute; left: 50%; top: 50%; width: 14px; height: 1.5px; background: currentColor; transform: translate(-50%, -50%); }
.job-plus::after { transform: translate(-50%, -50%) rotate(90deg); }
details[open] > summary .job-plus { transform: rotate(45deg); background: var(--aqua); color: var(--ink); border-color: var(--aqua); }
.job summary:hover .job-title { color: var(--aqua); }
.job-body { padding: 0 4px 36px; display: grid; gap: 20px; max-width: 46em; color: oklch(90% .02 230); }
.job-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.job-tags li { font-size: 13px; padding: 4px 14px; border: 1px solid var(--aqua); border-radius: 999px; color: var(--aqua-pale); }
.job-body .link-line { justify-self: start; }
@media (min-width: 1000px) { .jobs { grid-template-columns: 1fr 2fr; } .jobs-head { position: sticky; top: 20vh; align-self: start; } }

.rflow { padding: var(--sec-y) var(--pad-x); background: var(--paper); display: grid; gap: 40px; }
.rflow-title { font-family: var(--f-disp); font-weight: 700; font-size: clamp(36px, 4.6vw, 72px); letter-spacing: -.02em; }
.rsteps { display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 16px; margin: 0 calc(var(--pad-x) * -1); padding-left: var(--pad-x); padding-right: var(--pad-x); }
.rstep { flex: 0 0 min(300px, 78vw); scroll-snap-align: start; border-top: 2px solid var(--aqua-deep); padding-top: 24px; position: relative; }
.rstep::after { content: ""; position: absolute; top: -7px; left: 0; width: 12px; height: 12px; border-radius: 50%; background: var(--aqua-deep); }
.rstep h3 { font-family: var(--f-disp); font-weight: 600; font-size: clamp(20px, 1.8vw, 26px); margin-bottom: 8px; }
.rstep p { color: var(--ink-soft); font-size: 15px; }
.rflow-note { color: var(--ink-soft); }
.rflow .btn-ink { justify-self: start; }
@media (min-width: 1000px) { .rsteps { overflow: visible; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 3vw; } }

/* =====================================================================
   お知らせ
   ===================================================================== */
.newsroom { padding: calc(var(--header-h) + clamp(48px, 7vw, 110px)) var(--pad-x) var(--sec-y); display: grid; gap: 48px; }
.newsroom-side { display: grid; gap: 20px; align-content: start; }
.newsroom-title { font-family: var(--f-disp); font-weight: 700; font-size: clamp(44px, 6vw, 100px); letter-spacing: -.02em; line-height: 1; }
.newsroom-list { border-top: 1px solid var(--ink); }
.article { border-bottom: 1px solid var(--line); }
.article summary { grid-template-columns: auto 1fr auto; gap: 8px 20px; padding: 28px 4px; }
.article time { font-family: var(--f-en); color: var(--navy); font-size: clamp(16px, 1.3vw, 20px); font-feature-settings: "tnum" 1; }
.article .news-tag { justify-self: start; }
.article-title { grid-column: 1 / 3; font-family: var(--f-disp); font-weight: 600; font-size: clamp(19px, 1.7vw, 26px); line-height: 1.5; }
.article summary .job-plus { grid-column: 3; grid-row: 1 / 3; color: var(--navy); }
.article summary:hover .article-title { color: var(--navy); }
.article-body { padding: 0 4px 40px; max-width: 40em; display: grid; gap: 1em; color: var(--ink-soft); }
.article-body strong { color: var(--ink); }
.article:target summary { background: var(--mist); }
@media (min-width: 1000px) { .newsroom { grid-template-columns: 1fr 1.7fr; } .newsroom-side { position: sticky; top: calc(var(--header-h) + 40px); align-self: start; } }

/* =====================================================================
   お問い合わせ
   ===================================================================== */
.contact { display: grid; min-height: 100svh; }
.contact-side { background: var(--ink); color: var(--paper); padding: calc(var(--header-h) + clamp(40px, 6vw, 96px)) var(--pad-x) 64px; display: grid; gap: 28px; align-content: start; }
.contact-title { font-family: var(--f-disp); font-weight: 700; font-size: clamp(40px, 5vw, 84px); letter-spacing: -.02em; line-height: 1.1; }
.contact-lead { color: oklch(90% .02 230); max-width: 28em; }
.contact-flow { display: grid; gap: 0; counter-reset: cf; border-top: 1px solid var(--line-dark); }
.contact-flow li { padding: 16px 0; border-bottom: 1px solid var(--line-dark); display: flex; gap: 16px; align-items: center; }
.contact-flow li::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--aqua); flex: none; }
.contact-small { font-size: 13px; color: var(--aqua-pale); }
.contact-small a { color: var(--aqua); }
.cform { padding: calc(var(--header-h) + clamp(40px, 6vw, 96px)) var(--pad-x) 80px; display: grid; gap: 30px; align-content: start; background: var(--paper); }
.field { display: grid; gap: 8px; }
.field-row { display: grid; gap: 30px; }
.field label { font-size: 14px; font-weight: 500; letter-spacing: .06em; }
.req { font-size: 11px; color: var(--paper); background: var(--navy); border-radius: 999px; padding: 1px 8px; margin-left: 6px; vertical-align: 1px; }
.field input, .field select, .field textarea {
  font: inherit; color: var(--ink); background: transparent; border: 0; border-bottom: 1px solid var(--line); border-radius: 0;
  padding: 12px 2px; width: 100%; outline: none;
  background-image: linear-gradient(var(--aqua-deep), var(--aqua-deep)); background-size: 0 2px; background-repeat: no-repeat; background-position: 0 100%;
  transition: background-size .5s var(--ease);
}
.field select { appearance: none; background-image: linear-gradient(var(--aqua-deep), var(--aqua-deep)), url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 9l6 6 6-6' fill='none' stroke='%230A182D' stroke-width='1.6'/%3E%3C/svg%3E"); background-size: 0 2px, 18px; background-position: 0 100%, right 4px center; }
.field input:focus, .field textarea:focus { background-size: 100% 2px; }
.field select:focus { background-size: 100% 2px, 18px; }
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible { outline: none; }
.field textarea { resize: vertical; min-height: 160px; }
.field input::placeholder, .field textarea::placeholder { color: oklch(62% .02 240); }
.field-check { display: flex; gap: 12px; align-items: center; }
.field-check input { width: 20px; height: 20px; accent-color: var(--navy); }
.field-check a { color: var(--aqua-deep); }
.btn-submit { justify-self: start; display: inline-flex; align-items: center; gap: 14px; min-height: 60px; padding: 0 36px; border-radius: 999px; border: 0; background: var(--navy); color: var(--paper); font-weight: 500; letter-spacing: .1em; cursor: pointer; transition: background-color .3s; }
.btn-submit:hover { background: var(--ink); }
.btn-submit:disabled { opacity: .6; cursor: wait; }
.form-message { padding: 16px 20px; border-radius: 4px; font-size: 15px; }
.form-message.success { background: var(--mist); color: var(--ink); border-left: 0; }
.form-message.error { background: oklch(95% .03 25); color: oklch(40% .14 25); }
.field.invalid input, .field.invalid select, .field.invalid textarea { border-bottom-color: oklch(55% .18 25); }
@media (min-width: 1000px) { .contact { grid-template-columns: 5fr 7fr; } .contact-side { position: sticky; top: 0; height: 100svh; } .field-row { grid-template-columns: 1fr 1fr; } .cform { padding-right: 10vw; } }
.page-contact .endcap { display: none; }

/* =====================================================================
   プライバシーポリシー
   ===================================================================== */
.doc { padding: calc(var(--header-h) + clamp(48px, 7vw, 110px)) var(--pad-x) var(--sec-y); display: grid; gap: 48px; }
.doc-side { display: grid; gap: 24px; align-content: start; }
.doc-title { font-family: var(--f-disp); font-weight: 700; font-size: clamp(36px, 4.4vw, 68px); line-height: 1.12; letter-spacing: -.02em; }
.doc-toc ol { display: grid; gap: 2px; border-top: 1px solid var(--line); }
.doc-toc a { display: block; padding: 8px 0; border-bottom: 1px solid var(--line); text-decoration: none; font-size: 14px; color: var(--ink-soft); }
.doc-toc a:hover, .doc-toc a.on { color: var(--navy); }
.doc-body { max-width: 760px; }
.doc-body .lead { font-size: clamp(16px, 1.2vw, 19px); margin-bottom: 32px; }
.doc-body h2 { font-family: var(--f-disp); font-weight: 600; font-size: clamp(20px, 1.7vw, 26px); margin: 56px 0 14px; padding-top: 20px; border-top: 1px solid var(--line); scroll-margin-top: 100px; }
.doc-body h3 { font-family: var(--f-disp); font-weight: 600; font-size: 18px; margin: 32px 0 10px; }
.doc-body p { margin: 0 0 14px; }
.doc-body ul { margin: 0 0 14px; padding-left: 1.4em; list-style: disc; }
.doc-body li { margin-bottom: 6px; }
.doc-body a { color: var(--aqua-deep); }
.doc-body .box { background: var(--mist); padding: 24px 28px; margin: 20px 0; border-radius: 4px; }
.doc-body .box p:last-child { margin-bottom: 0; }
.doc-body .meta { margin-top: 56px; padding-top: 24px; border-top: 1px solid var(--line); color: var(--ink-soft); font-size: 14px; }
@media (min-width: 1000px) { .doc { grid-template-columns: 1fr 2fr; gap: 6vw; } .doc-side { position: sticky; top: calc(var(--header-h) + 32px); align-self: start; } }

/* =====================================================================
   404
   ===================================================================== */
.nf { min-height: 100svh; background: var(--ink); color: var(--paper); display: grid; place-items: center; position: relative; overflow: hidden; text-align: center; padding: 40px var(--pad-x); }
.nf-line { position: absolute; left: 0; right: 0; top: 50%; height: 260px; width: 100%; transform: translateY(-50%); }
.nf-inner { position: relative; display: grid; justify-items: center; gap: 24px; }
.nf-code { font-family: var(--f-en); font-weight: 300; font-size: clamp(90px, 18vw, 260px); line-height: .9; letter-spacing: -.06em; color: var(--aqua); }
.nf-title { font-family: var(--f-disp); font-weight: 700; font-size: clamp(28px, 4vw, 56px); line-height: 1.3; }
.nf-lead { color: var(--aqua-pale); }

/* =====================================================================
   prefers-reduced-motion
   ===================================================================== */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .curtain { display: none; }
  .orbit > svg, .think-head::after, .hero-scroll::after, .float-words li, .tagband-track { animation: none !important; }
  html.js .rv, html.js .ln > span { opacity: 1; transform: none; transition: none; }
}

/* お問い合わせ: 左右で明暗が分かれるため、ヘッダーは常に白地で固定 */
.page-contact .site-header { background: var(--paper); color: var(--ink); }
@media (min-width: 1000px) { .page-contact .contact-side { top: var(--header-h); height: calc(100svh - var(--header-h)); padding-top: clamp(40px, 6vw, 96px); } .page-contact .contact { padding-top: var(--header-h); } .page-contact .cform { padding-top: clamp(40px, 6vw, 96px); } }

/* トップ「考え方」: 本文列の左を走る信号の線（QA1で追加） */
.thinking-body { position: relative; padding-left: 36px; }
.think-line { position: absolute; left: 0; top: 0; bottom: 0; width: 2px; background: var(--line); }
.think-fill { position: absolute; inset: 0; background: linear-gradient(var(--aqua), var(--navy)); transform-origin: top; transform: scaleY(0); }
html:not(.js) .think-fill { transform: none; }
.think-head { position: absolute; left: -5px; top: 0; width: 12px; height: 12px; border-radius: 50%; background: var(--aqua); }
.thought h3 { position: relative; }
.thought h3::before { content: ""; position: absolute; left: -41px; top: .55em; width: 12px; height: 12px; border-radius: 50%; background: var(--paper); border: 2px solid var(--aqua-deep); }

/* 事業パネル: 偶数枚目はグリフを下に置き、同じ形の反復を崩す（QA1で追加） */
@media (min-width: 1000px) {
  .hp-panel:nth-child(even) { grid-template-rows: auto 1fr; }
  .hp-panel:nth-child(even) .hp-glyph { order: 2; }
  .hp-panel:nth-child(even) .hp-text { padding-bottom: 28px; }
  .hp-panel:nth-child(odd) .hp-text { padding-top: 28px; }
  .hp-panel:nth-child(3) { width: 40vw; }
}

/* スマホ: サービス行は 名前→英字→説明 の縦積み、矢印は右上（QA2で追加） */
@media (max-width: 999px) {
  .svc-row { grid-template-columns: 1fr auto; }
  .svc-row-name { grid-column: 1; grid-row: 1; }
  .svc-row-en { grid-column: 1; grid-row: 2; }
  .svc-row .ico-arrow { grid-column: 2; grid-row: 1; }
  .svc-row-lead { grid-column: 1 / -1; grid-row: 3; }
}

/* 360px 級の小型端末: 見出しの泣き別れを防ぐ微調整（QA3で追加） */
@media (max-width: 380px) {
  .d-title { font-size: 25px; }
  .r-title { font-size: 26px; }
  .endcap-title { font-size: 20px; }
  .svc-row-name { font-size: 21px; }
  .thought h3 { font-size: 19px; }
}


/* =====================================================================
   第4周: 書体の声・看板ビジュアル・章をまたぐ演出
   ===================================================================== */

/* ---- 書体の体系: 極細（thin）と極太（heavy）の対比、明朝の1語（em）を大きく ---- */
.thin { font-weight: 200; letter-spacing: .01em; }
.heavy { font-weight: 800; letter-spacing: -.045em; }
h1 em, h2 em, .stage-statement em, .endcap-giant em, .story-title em {
  font-family: var(--f-accent); font-weight: 700; font-size: 1.14em; letter-spacing: -.02em; color: var(--navy);
  display: inline-block; transform: translateY(.04em);
}
[data-dark] h1 em, [data-dark] h2 em, .endcap-giant em, .d-title em { color: var(--aqua); }
.p-title, .d-title, .r-title, .hpin-title, .process-title, .overlap-title, .facts-title, .vflow-title, .faq-title, .jobs-title, .rflow-title, .newsroom-title, .doc-title, .contact-title, .scatter-title, .news-top-title, .pairs-title { font-weight: 800; letter-spacing: -.04em; }

/* 英字ディスプレイ（Anybody）: 幅軸 --wdth をスクロールで伸縮させる章見出し */
.chapter-word { font-family: "Anybody", sans-serif; font-weight: 250; font-size: clamp(64px, 13vw, 240px); line-height: .78; letter-spacing: -.02em;
  font-variation-settings: "wdth" var(--wdth, 100); color: var(--aqua-pale); white-space: nowrap; pointer-events: none; user-select: none; margin: 0 0 .12em -.04em; }
.chapter-word::before { content: attr(data-w); }
[data-dark] .chapter-word { color: var(--ink-2); }
.hp-en, .svc-row-en, .d-name span, .others-en, .footer-copy, .news-row time, .article time { font-variation-settings: "wdth" 125; }

/* ---- stage（トップ hero → ミッション） ---- */
.stage { position: relative; background: var(--paper); }
html.fx .stage { height: 330vh; }
.stage-sticky { position: relative; height: 100svh; min-height: 620px; overflow: hidden; }
html.fx .stage-sticky { position: sticky; top: 0; }
.stage-gl, .stage-2d { position: absolute; inset: 0; width: 100%; height: 100%; }
.stage-gl { opacity: 0; transition: opacity 1.6s var(--ease); }
.stage-gl.is-ready { opacity: 1; }
.stage-2d { display: none; }
html.no-webgl .stage-2d { display: block; }
html.no-webgl .stage-gl { display: none; }
.stage-hero { position: absolute; left: var(--pad-x); right: var(--pad-x); bottom: clamp(48px, 9vh, 110px); pointer-events: none; }
.stage-hero .hero-title { font-size: clamp(50px, 10.4vw, 188px); line-height: 1.02; letter-spacing: -.03em; font-weight: 400; }
.stage-hero .hero-title em { font-size: 1.1em; }
.stage-over { position: fixed; right: var(--pad-x); top: calc(var(--header-h) + 3vh); display: flex; gap: .3em; align-items: baseline;
  font-family: "Anybody", sans-serif; font-weight: 200; font-variation-settings: "wdth" 150; font-size: clamp(22px, 3.2vw, 56px); color: var(--navy); letter-spacing: -.01em; }
.stage-over .x { font-weight: 600; color: var(--aqua-deep); font-variation-settings: "wdth" 50; }
.hero-lead { background: none; }
.stage-mission { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; padding: 0 var(--pad-x); visibility: hidden; }
html:not(.fx) .stage-mission { position: relative; visibility: visible; padding: 96px var(--pad-x); background: var(--mist); }
html:not(.fx) .stage-sticky { height: auto; }
html:not(.fx) .stage-hero { position: relative; left: 0; right: 0; bottom: 0; padding: 60vh var(--pad-x) 80px; }
html:not(.fx) .stage-gl, html:not(.fx) .stage-2d { height: 100svh; }
.stage-kicker { font-family: "Anybody", sans-serif; font-variation-settings: "wdth" 150; font-weight: 300; font-size: 14px; letter-spacing: .5em; text-transform: uppercase; color: var(--aqua-deep); margin-bottom: clamp(20px, 3vw, 40px); }
.stage-statement { font-family: var(--f-disp); font-size: clamp(29px, 7.6vw, 138px); line-height: 1.12; letter-spacing: -.03em; color: var(--ink); }
.stage-statement .ac, .endcap-giant .ac { display: inline-block; will-change: transform; }
.hero-spine { z-index: 1; }

/* ミッションの続き（本文） */
.mission { background: var(--mist); padding: clamp(96px, 12vw, 180px) var(--pad-x); }
.mission-inner { max-width: 1240px; display: grid; gap: clamp(32px, 4vw, 56px); }
.mission-body { font-family: var(--f-disp); font-weight: 300; font-size: clamp(22px, 2.6vw, 44px); line-height: 1.6; letter-spacing: -.01em; max-width: 26em; margin: 0; }
.mission-body2 { max-width: 34em; margin-left: auto; font-size: clamp(15px, 1.15vw, 18px); color: var(--ink-soft); }
.mission .link-line { margin-left: auto; }

/* 事業ピン: 章見出しの英字 */
.hpin-head .chapter-word { font-size: clamp(56px, 8vw, 150px); color: var(--ink-2); margin-bottom: 24px; }

/* ---- 考え方（ピン留めで入れ替わる） ---- */
.story { position: relative; background: var(--paper); }
html.fx .story { height: 340vh; }
.story-sticky { padding: clamp(96px, 10vw, 140px) var(--pad-x) 64px; display: grid; gap: 32px; position: relative; overflow: hidden; }
html.fx .story-sticky { position: sticky; top: 0; height: 100svh; align-content: space-between; }
.story-word { position: absolute; right: -2vw; top: 4vh; color: var(--mist); font-size: clamp(90px, 19vw, 360px); }
.story-title { position: relative; font-family: var(--f-disp); font-size: clamp(34px, 5.4vw, 96px); line-height: 1.08; letter-spacing: -.03em; display: grid; }
.story-title .heavy { padding-left: 1.4em; }
.story-items { position: relative; display: grid; gap: 40px; }
.story-item { max-width: 900px; }
.story-h { font-family: var(--f-disp); font-weight: 800; font-size: clamp(28px, 4.2vw, 72px); line-height: 1.18; letter-spacing: -.04em; margin-bottom: 18px; }
.story-p { max-width: 32em; color: var(--ink-soft); font-size: clamp(15px, 1.2vw, 19px); }
html.fx .story-items { min-height: 38vh; margin-left: 18vw; }
html.fx .story-item { position: absolute; inset: 0 0 auto 0; opacity: 0; transform: translateY(60px); transition: opacity .7s var(--ease), transform .9s var(--ease); pointer-events: none; }
html.fx .story-item.on { opacity: 1; transform: none; pointer-events: auto; }
html.fx .story-item.past { transform: translateY(-60px); }
.story-meter { position: relative; height: 70px; border-top: 1px solid var(--line); }
.story-pulse { position: absolute; inset: 0; width: 100%; height: 100%; opacity: .5; }
.story-fill { position: absolute; left: 0; right: 0; top: -1px; height: 2px; background: var(--navy); transform-origin: left; transform: scaleX(0); }
html:not(.fx) .story-fill { transform: none; }
@media (max-width: 899px) { html.fx .story-items { margin-left: 0; min-height: 46vh; } .story-title .heavy { padding-left: 0; } }

/* ---- 採用バンド: 太さの対比で流す ---- */
.vmarquee-track span { font-weight: 200; }
.vmarquee-track span b { font-weight: 800; }
.recruit-band-title em { color: var(--ink); }

/* ---- お知らせ（トップ）: 日付の数字を縦に積んだ列 ---- */
.news-top-title { display: grid; gap: 4px; }
.news-top-title .chapter-word { font-size: clamp(72px, 14vw, 260px); color: var(--mist); }
.news-top-ja { font-size: clamp(22px, 2vw, 30px); font-weight: 800; letter-spacing: .1em; }
.ncols { display: grid; border-top: 1px solid var(--ink); }
.ncol { display: grid; gap: 14px; padding: 32px 0 40px; text-decoration: none; border-bottom: 1px solid var(--line); position: relative; }
.ncol-date { display: grid; font-family: "Anybody", sans-serif; font-weight: 300; font-size: clamp(80px, 10vw, 176px); line-height: .82; letter-spacing: -.03em; color: var(--navy);
  font-variation-settings: "wdth" 88; transition: font-variation-settings .8s var(--ease), color .4s; }
.ncol:hover .ncol-date, .ncol:focus-visible .ncol-date { font-variation-settings: "wdth" 150; color: var(--aqua-deep); }
.ncol-time { font-family: "Anybody", sans-serif; font-variation-settings: "wdth" 125; font-size: 13px; color: var(--ink-soft); }
.ncol .news-tag { justify-self: start; }
.ncol-ttl { font-weight: 700; font-size: clamp(16px, 1.3vw, 19px); line-height: 1.6; }
.ncol .ico-arrow { width: 26px; height: 26px; }
.ncol:hover .ico-arrow { transform: translateX(8px); }
@media (min-width: 900px) {
  .ncols { grid-template-columns: repeat(3, 1fr); border-top: 0; }
  .ncol { border-bottom: 0; border-left: 1px solid var(--line); padding: 8px 2.4vw 24px; min-height: 64vh; align-content: space-between; }
  .ncols li:first-child .ncol { border-left: 1px solid var(--ink); }
}

/* ---- 締め: ブランドの一文を画面いっぱいに ---- */
.endcap { text-align: left; padding: clamp(110px, 14vw, 200px) var(--pad-x) clamp(80px, 10vw, 140px); }
.endcap-giant { font-family: var(--f-disp); font-size: clamp(44px, 11.6vw, 230px); line-height: .98; letter-spacing: -.05em; color: var(--paper); margin-bottom: clamp(56px, 7vw, 110px); position: relative; }
.endcap-pulse { top: 38%; height: 260px; opacity: .45; }
.endcap-inner { justify-items: start; grid-template-columns: 1fr; max-width: 1100px; margin-left: auto; }
.endcap-title { font-size: clamp(22px, 2.6vw, 40px); font-weight: 700; }
@media (min-width: 1000px) { .endcap-inner { grid-template-columns: 1.2fr 1fr; align-items: end; column-gap: 4vw; } .endcap-inner .btn-ghost { grid-column: 2; } .endcap-note { grid-column: 2; grid-row: 1; } }

/* ---- 背景色の溶け（JS が .bgm を付けた明るい章は透明にし、body の色を変える） ---- */
html.fx .bgm { background-color: transparent !important; }

/* ---- 遷移の「飛ぶ文字」 ---- */
.flyer { position: fixed; left: 50%; top: 50%; z-index: 170; translate: -50% -50%; pointer-events: none; white-space: nowrap;
  font-family: var(--f-disp); font-weight: 800; letter-spacing: -.03em; font-size: clamp(34px, 6vw, 96px); line-height: 1; color: var(--paper); }

/* ---- 質感: ごく薄いフィルムグレイン ---- */
body::after { content: ""; position: fixed; inset: 0; z-index: 130; pointer-events: none; opacity: .05;
  background: url("../img/grain.png") repeat; /* 事前生成のノイズタイル（SVG フィルタは再描画のたびに重いため不使用） */ }

/* ---- スマホ: 回転する問い合わせリンクは見出しに重なるため出さない（ヘッダーの「相談する」で代替） ---- */
@media (max-width: 700px) { .orbit { display: none; } }

/* hero の小さい本文は線の上でも読めるよう紙色の縁取り */
.stage-hero .hero-lead { text-shadow: 0 0 6px var(--paper), 0 0 14px var(--paper), 0 0 2px var(--paper); font-weight: 500; }
.hero-spine, .hero-scroll { text-shadow: 0 0 6px var(--paper); }


/* =====================================================================
   第4周: 下層ページの型の組み替えと書体の対比
   ===================================================================== */
/* 詳細 hero: 1行目は極細、2行目は極太 */
.d-title .ln:first-child > span { font-weight: 200; }
.d-title .ln:last-child > span { font-weight: 800; }
.p-title .thin, .r-title .thin, .overlap-title .thin, .process-title .thin, .pairs-title .thin, .scatter-title .thin, .quote-big .thin { font-weight: 200; }
.pairs-title .heavy { color: var(--ink); padding-left: 1.2em; }
.pairs-title span:last-child { color: inherit; }
.quote-big p { font-weight: 400; }
.r-msg-big { font-family: var(--f-disp); color: var(--ink); line-height: 1.5; font-size: clamp(24px, 3vw, 48px); }
.r-msg-big .heavy { font-size: .62em; font-weight: 700; letter-spacing: 0; color: var(--navy); }
.r-msg-big em { font-family: var(--f-accent); color: var(--navy); font-size: 1.14em; }
[data-assemble] .ac { display: inline-block; }

/* 会社概要: 左右2列をやめ、英字の章見出し＋全幅の表 */
@media (min-width: 1000px) { .facts-sec { grid-template-columns: 1fr; } }
.facts-sec .chapter-word { margin-bottom: -.1em; }
.facts-title { font-size: clamp(28px, 3vw, 44px); }
@media (min-width: 1000px) {
  .facts { display: grid; grid-template-columns: 1fr 1fr; column-gap: 5vw; border-top: 0; }
  .facts > div { border-top: 1px solid var(--line-dark); border-bottom: 0; }
  .facts > div:nth-last-child(-n+2) { border-bottom: 1px solid var(--line-dark); }
}
.access-text .chapter-word { color: var(--mist); }

/* サービスの進め方: 見出しを1列に */
@media (min-width: 1000px) { .process-head { grid-template-columns: 1fr; } .process-head p { max-width: 34em; margin-left: auto; } }
.process .chapter-word { color: var(--paper); }

/* 詳細の進め方: 中央線をはさんで左右に振る */
.vflow .chapter-word { color: var(--mist); }
@media (min-width: 1000px) {
  .vflow { grid-template-columns: 1fr; }
  .vflow-head { position: static; text-align: center; }
  .vflow-head .chapter-word { margin: 0 auto -.1em; }
  .vflow-body { padding-left: 0; max-width: 1100px; margin: 0 auto; width: 100%; }
  .vflow-line { left: 50%; margin-left: -1px; }
  .vstep { width: 50%; padding-right: 64px; text-align: right; }
  .vstep::before { left: auto; right: -8px; }
  .vstep:nth-child(even) { margin-left: 50%; padding: 0 0 0 64px; text-align: left; }
  .vstep:nth-child(even)::before { right: auto; left: -8px; }
  .vstep p { margin-left: auto; }
  .vstep:nth-child(even) p { margin-left: 0; }
}
.faq .chapter-word { color: var(--paper); }

/* 募集職種: 全幅に */
@media (min-width: 1000px) { .jobs { grid-template-columns: 1fr; } .jobs-head { position: static; } }
.jobs-list .job-title { font-size: clamp(24px, 3.4vw, 56px); font-weight: 800; letter-spacing: -.03em; }

/* お知らせ一覧: 巨大な年号の透かしの上にリスト（左右2列をやめる） */
.newsroom { position: relative; overflow: hidden; }
@media (min-width: 1000px) {
  .newsroom { grid-template-columns: 1fr; }
  .newsroom-side { position: static; }
  .newsroom-list { max-width: 1100px; margin-left: auto; width: 100%; position: relative; }
}
.newsroom-side, .newsroom-list { position: relative; z-index: 1; }
.article { background: color-mix(in oklch, var(--paper) 86%, transparent); }

/* お知らせ一覧: 1列なのでグリッドをやめ、見出しの下にリストを置く */
.newsroom { display: block; }
.newsroom-side { margin-bottom: clamp(40px, 6vw, 88px); top: auto; }

/* 英字の章見出しがグリッドの最小幅を押し広げないように（はみ出した分は body の clip で切れる） */
.chapter-word { contain: inline-size; max-width: 100%; }

/* 各章のはみ出し（英字の章見出し・散らばる文字）を章の中で切る。clip は sticky を壊さない */
main > section, main > nav, .endcap, .site-footer { overflow-x: clip; }

/* 第4周の弱点対処: 収束した中央の脈線、サービス行のグリフ */
.stage-line { position: absolute; left: 0; right: 0; top: 50%; width: 100%; height: 180px; transform: translateY(-50%); opacity: 0; pointer-events: none; }
html:not(.fx) .stage-line { display: none; }
.svc-row-glyph { display: none; }
@media (min-width: 1000px) {
  .svc-row { grid-template-columns: 1.1fr 1fr 180px auto; }
  .svc-row-glyph { display: block; grid-column: 3; grid-row: 1 / 3; width: 180px; height: 110px; background: var(--ink); border-radius: 4px; transition: transform .6s var(--ease); }
  .svc-row:hover .svc-row-glyph { transform: scale(1.06); }
  .svc-row .ico-arrow { grid-column: 4; }
}

/* ミッションの一文は収束した脈線の下に置き、線の上に章名を置く */
html.fx .stage-mission { place-content: start center; padding-top: calc(50svh + clamp(56px, 8vh, 96px)); }
html.fx .stage-kicker { position: absolute; left: 0; right: 0; top: calc(50svh - clamp(90px, 12vh, 130px)); margin: 0; }

/* 5周目: お問い合わせ・採用 hero を全体の文法に揃える */
.contact-side { position: relative; overflow: hidden; }
.contact-side .chapter-word { color: var(--ink-2); font-size: clamp(64px, 9vw, 170px); margin-bottom: -.2em; }
.contact-title .thin { font-weight: 200; }
.contact-pulse { position: absolute; left: 0; right: 0; top: calc(var(--header-h) + 10px); width: 100%; height: 140px; opacity: .5; pointer-events: none; }
.r-word { position: absolute; right: -1vw; top: calc(var(--header-h) + 2vh); color: oklch(62% .12 224 / .45); font-size: clamp(90px, 20vw, 380px); z-index: 0; }

/* 絶対配置の英字は内在幅が必要（inline-size の封じ込めを外す。はみ出しは章の clip で切れる） */
.r-word, .story-word { contain: none; max-width: none; }
/* 回転リンクの中心: 水色の面でも見えるよう紺、暗い面では水色 */
.orbit-core { background: var(--navy); color: var(--paper); }
.orbit.on-dark .orbit-core { background: var(--aqua); color: var(--ink); }

/* 5周目: 詳細 hero に奥行きの光だまり、考え方の見出しサイズ */
.d-hero::before { content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(60% 70% at 70% 45%, oklch(52% .1 228 / .35), transparent 70%), radial-gradient(40% 40% at 85% 80%, oklch(37% .14 260 / .5), transparent 70%); }
@media (max-width: 899px) { .d-hero::before { background: radial-gradient(90% 50% at 50% 28%, oklch(52% .1 228 / .35), transparent 70%); } }
.story-h { font-size: clamp(26px, 3.3vw, 58px); }

/* 6周目: スマホの採用 hero は行を細かく分けて大きく、下寄せに */
@media (max-width: 899px) {
  .r-hero { align-items: flex-end; }
  .r-hero-inner { padding-bottom: 190px; }
  .r-title { font-size: clamp(32px, 9vw, 46px); line-height: 1.16; }
  .r-word { top: calc(var(--header-h) + 4vh); font-size: 30vw; left: -1vw; right: auto; }
}

/* 第7周: 専用カーソルは実際にマウスが動くまで表示しない */
html.has-cursor .cursor { opacity: 0; transition: opacity .3s; }
html.has-cursor.cursor-on .cursor { opacity: 1; }

/* 第7周: 下層ページの hero は高さに上限を設け、縦に長い画面でも文字とグラフィックが間延びしないようにする */
.d-hero { min-height: 0; height: clamp(620px, 100svh, 980px); }
.r-hero { min-height: 0; height: clamp(600px, 100svh, 960px); }
.p-hero--cells { min-height: 0; height: clamp(560px, 92svh, 940px); }
.contact { min-height: 0; }
@media (min-width: 1000px) { .page-contact .contact-side { height: clamp(560px, calc(100svh - var(--header-h)), 900px); } }

@media (max-width: 700px) { .d-name { flex-direction: column; gap: 4px; align-items: flex-start; } }

/* ソフトウェア描画時の 3D の写し（見た目は WebGL と同じ） */
.stage-glcopy { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }


/* =====================================================================
   第8周: 動きの層（motion.js）
   ===================================================================== */
/* トップの hero のピン留めを短く（スクロールしてすぐ変化が分かるように） */
html.fx .stage { height: 230vh; }

/* オープニング */
.opening { position: fixed; inset: 0; z-index: 210; background: var(--paper); display: grid; place-content: center; justify-items: center; gap: 18px; pointer-events: none; }
.opening-logo { width: 42px; height: auto; }
.opening-word { font-family: "Anybody", sans-serif; font-weight: 300; font-variation-settings: "wdth" 130; font-size: clamp(28px, 4vw, 56px); color: var(--ink); margin: 0; }
.opening-word::before { content: attr(data-w); }
.opening-line { position: absolute; left: 0; right: 0; top: 50%; width: 100%; height: 120px; transform: translateY(46px); }
.opening-line path { fill: none; stroke: var(--aqua); stroke-width: 2; vector-effect: non-scaling-stroke; }

/* 巨大英字の無限マーキー（途中で切れて見えず、流れていると分かる帯） */
.is-marquee { overflow: hidden; contain: none; max-width: none; white-space: nowrap; }
.is-marquee::before { content: none !important; }
.mq-track { display: inline-flex; white-space: nowrap; will-change: transform; }
.mq-item { display: inline-flex; align-items: center; padding-right: .3em; font-variation-settings: "wdth" var(--wdth, 100); }
.mq-item::before { content: attr(data-t); }
.mq-item::after { content: ""; width: .1em; height: .1em; border-radius: 50%; background: currentColor; margin-left: .3em; opacity: .7; }
.chapter-word.is-marquee { width: calc(100% + var(--pad-x) * 2); margin-left: calc(var(--pad-x) * -1); }
.hpin-head .chapter-word.is-marquee, .contact-side .chapter-word.is-marquee { width: calc(100% + 4vw + var(--pad-x)); margin-left: calc(var(--pad-x) * -1); }
.r-word.is-marquee, .story-word.is-marquee { left: 0; right: 0; width: auto; }
.footer-word.is-marquee { margin-left: calc(var(--pad-x) * -1); margin-right: calc(var(--pad-x) * -1); }
.footer-word.is-marquee::before { content: none !important; }

/* 見出しの分解・本文の行 */
.mx .mc, .mx-lines.mx-on .mc { display: inline-block; white-space: pre; will-change: transform, opacity; }
.mx-blur .mc { will-change: filter, transform, opacity; }

/* ボタン・リンクの文字のロール */
.roll { display: inline-block; position: relative; overflow: hidden; vertical-align: bottom; line-height: 1.3; }
.roll-a, .roll-b { display: block; transition: transform .5s var(--ease); }
.roll-b { position: absolute; left: 0; top: 100%; }
a:hover .roll-a, a:hover .roll-b, a:focus-visible .roll-a, a:focus-visible .roll-b { transform: translateY(-100%); }
.gnav-link .roll { line-height: 1.5; }

/* 速度連動の傾きは transform の原点を中央に */
.hp-panel, .ncol, .svc-row, .pair, .way, .job, .article { transform-origin: 50% 50%; will-change: transform; }


/* 第8周: 詳細 hero の文字は上端基準で置く（下端揃えだと、本文フォントの差し替えで行数が変わった時に見出しごと上へずれ、CLS になる） */
.d-hero { align-items: stretch; }
.d-hero-inner { position: absolute; left: 0; right: 0; top: max(calc(var(--header-h) + 24px), calc(100% - 520px)); padding-top: 0; padding-bottom: 0; }
@media (max-width: 899px) { .d-hero-inner { top: max(calc(var(--header-h) + 24px), calc(100% - 430px)); } }
/* 採用・考え方の巨大英字は、マーキーに切り替わる前から同じ箱（左右いっぱい）にしておく（切替時のずれ＝CLS を防ぐ） */
html.fx .r-word, html.fx .story-word { left: 0; right: 0; overflow: hidden; white-space: nowrap; }


/* =====================================================================
   第9周: 実績・法人向けAI・AIセミナー
   ===================================================================== */
/* 実績の行（トップ）: 大きな数字と文を左右に振る。カードは使わない */
.proof { background: var(--mist); padding: var(--sec-y) var(--pad-x); }
.proof .chapter-word { color: var(--paper); }
.proof-title { font-family: var(--f-disp); font-size: clamp(32px, 4.6vw, 76px); letter-spacing: -.03em; margin-bottom: clamp(40px, 6vw, 80px); }
.proof-title .thin { font-weight: 200; }
.proof-rows { border-top: 1px solid var(--ink); }
.proof-row { display: grid; gap: 14px; padding: clamp(28px, 4vw, 52px) 0; border-bottom: 1px solid var(--line); align-items: center; }
.proof-fig { font-family: "Anybody", sans-serif; font-weight: 300; font-variation-settings: "wdth" 80; font-size: clamp(54px, 8vw, 136px); line-height: .95; letter-spacing: -.03em; color: var(--navy); display: flex; align-items: center; gap: .25em; flex-wrap: wrap; }
.proof-fig small { font-size: .42em; font-family: var(--f-disp); font-weight: 700; margin-left: .05em; }
.pf-from { color: var(--ink-soft); font-weight: 200; text-decoration: line-through; text-decoration-thickness: 2px; }
.pf-arrow { display: inline-block; width: 1.2em; height: 2px; background: var(--aqua-deep); position: relative; transform-origin: left; }
.pf-arrow::after { content: ""; position: absolute; right: -2px; top: -6px; width: 14px; height: 14px; border-top: 2px solid var(--aqua-deep); border-right: 2px solid var(--aqua-deep); transform: rotate(45deg); }
.pf-to { font-weight: 600; color: var(--navy); }
.pf-unit { font-size: .38em; color: var(--ink-soft); font-weight: 300; }
.pf-word { font-family: var(--f-disp); font-weight: 800; font-size: .62em; letter-spacing: -.04em; }
.proof-txt { font-size: clamp(16px, 1.35vw, 21px); font-weight: 500; line-height: 1.75; max-width: 30em; }
.proof-tag { display: inline-block; margin-top: 12px; font-size: 12px; letter-spacing: .1em; padding: 2px 12px; border: 1px solid var(--aqua-deep); border-radius: 999px; color: var(--aqua-deep); }
.proof-amb { margin-top: 40px; display: flex; flex-wrap: wrap; gap: 16px 32px; align-items: center; font-weight: 500; }
@media (min-width: 1000px) {
  .proof-row { grid-template-columns: 1.15fr 1fr; gap: 4vw; }
  .proof-row:nth-child(even) .proof-fig { order: 2; justify-content: flex-end; }
  .proof-row:nth-child(even) .proof-body { order: 1; text-align: right; }
  .proof-row:nth-child(even) .proof-txt { margin-left: auto; }
}

/* サービス詳細の実績（暗い章） */
.dproof { background: var(--ink); color: var(--paper); padding: var(--sec-y) var(--pad-x); }
.dproof-title { font-family: var(--f-disp); font-size: clamp(30px, 4vw, 64px); margin-bottom: 40px; }
.dproof-title .thin { font-weight: 200; }
.dproof-rows { display: grid; border-top: 1px solid var(--line-dark); }
.dproof-row { display: grid; gap: 12px; padding: 32px 0; border-bottom: 1px solid var(--line-dark); }
.dproof .proof-fig { color: var(--aqua); }
.dproof .pf-from { color: var(--aqua-pale); }
.dproof .pf-to { color: var(--paper); }
.dproof .proof-txt { color: oklch(90% .02 230); }
.dproof-note { margin-top: 16px; font-size: 13px; color: var(--aqua-pale); }
@media (min-width: 1000px) { .dproof-row { grid-template-columns: 1fr 1fr; align-items: center; gap: 4vw; } }

/* AIセミナー: hero（組み上がるページの図を右に） */
.sem-hero { position: relative; background: var(--paper); height: clamp(620px, 100svh, 980px); overflow: hidden; display: flex; align-items: flex-end; }
.sem-field { position: absolute; inset: 0; width: 100%; height: 100%; }
.sem-hero-inner { position: relative; padding: calc(var(--header-h) + 24px) var(--pad-x) clamp(56px, 9vh, 110px); display: grid; gap: 22px; max-width: 980px; }
.sem-area { font-family: var(--f-disp); font-weight: 700; color: var(--aqua-deep); letter-spacing: .2em; }
.sem-title .thin { font-weight: 200; }
.sem-hero .p-lead { background: color-mix(in oklch, var(--paper) 80%, transparent); }

/* 満足度: 大きな数字＋割合バー */
.sem-proof { background: var(--mist); padding: var(--sec-y) var(--pad-x); }
.sem-proof-title { font-family: var(--f-disp); font-size: clamp(30px, 4.4vw, 72px); letter-spacing: -.03em; margin-bottom: 48px; }
.sem-proof-title .thin { font-weight: 200; }
.rating { display: grid; gap: 24px; align-items: center; padding-bottom: 48px; border-bottom: 1px solid var(--line); }
.rating-num { font-family: "Anybody", sans-serif; font-weight: 250; font-variation-settings: "wdth" 70; font-size: clamp(110px, 18vw, 300px); line-height: .85; color: var(--navy); letter-spacing: -.04em; }
.rating-num .pf-unit { font-size: .22em; }
.rating-head { font-family: var(--f-disp); font-weight: 700; font-size: clamp(18px, 1.6vw, 24px); margin-bottom: 18px; }
.rating-bar { position: relative; height: 56px; max-width: 620px; background: var(--paper); border: 1px solid var(--line); border-radius: 999px; overflow: hidden; margin-bottom: 16px; }
.rating-fill { position: absolute; inset: 0; width: calc(var(--v) * 100%); background: linear-gradient(90deg, var(--aqua), var(--navy)); transform-origin: left; border-radius: 999px; }
.rating-pct { position: absolute; right: calc(10% + 16px); top: 50%; transform: translateY(-50%); font-family: "Anybody", sans-serif; font-weight: 500; font-size: 24px; color: var(--paper); }
.sem-facts { display: grid; }
.sem-facts li { display: grid; gap: 8px; padding: 32px 0; border-bottom: 1px solid var(--line); }
.sem-fact-fig { font-family: var(--f-disp); font-weight: 800; font-size: clamp(36px, 5vw, 80px); letter-spacing: -.04em; color: var(--navy); line-height: 1.1; }
.sem-fact-fig small { font-size: .45em; }
.sem-facts li p:last-child { font-size: clamp(16px, 1.3vw, 20px); font-weight: 500; }
@media (min-width: 1000px) {
  .rating { grid-template-columns: auto 1fr; gap: 5vw; }
  .sem-facts { grid-template-columns: 1fr 1fr; column-gap: 5vw; }
}

/* 2つのコース: 明と暗の左右分割 */
.courses { display: grid; }
.course { padding: var(--sec-y) var(--pad-x); display: grid; gap: 24px; align-content: start; overflow: hidden; }
.course-a { background: var(--paper); }
.course-b { background: var(--ink); color: var(--paper); }
.course .chapter-word { color: var(--mist); font-size: clamp(56px, 8vw, 140px); }
.course-b .chapter-word { color: var(--ink-2); }
.course-title { font-family: var(--f-disp); font-weight: 800; font-size: clamp(28px, 3.4vw, 56px); line-height: 1.25; letter-spacing: -.03em; }
.course-title .thin { font-weight: 200; }
.course-b .course-title em { color: var(--aqua); }
.course-lead { max-width: 30em; font-size: clamp(15px, 1.15vw, 18px); }
.course-b .course-lead { color: oklch(90% .02 230); }
.course-dl { border-top: 1px solid var(--line); }
.course-b .course-dl { border-color: var(--line-dark); }
.course-dl > div { display: grid; gap: 4px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.course-b .course-dl > div { border-color: var(--line-dark); }
.course-dl dt { font-size: 13px; letter-spacing: .12em; color: var(--aqua-deep); }
.course-b .course-dl dt { color: var(--aqua); }
.course-dl dd { margin: 0; }
@media (min-width: 1000px) { .courses { grid-template-columns: 1fr 1fr; } }

/* 企業・団体向け開催（水色の面） */
.sem-org { background: var(--aqua); color: var(--ink); padding: var(--sec-y) var(--pad-x); display: grid; gap: 32px; }
.sem-org-title { font-family: var(--f-disp); font-size: clamp(36px, 6vw, 100px); line-height: 1.12; letter-spacing: -.03em; }
.sem-org-title .thin { font-weight: 200; }
.sem-org-body { display: grid; gap: 18px; max-width: 36em; }
.sem-org-body .btn-ink { justify-self: start; }
@media (min-width: 1000px) { .sem-org { grid-template-columns: 1.2fr 1fr; align-items: end; } }

/* 講師（名前を大きく） */
.lecturer { background: var(--paper); padding: var(--sec-y) var(--pad-x); display: grid; gap: 16px; }
.lecturer .chapter-word { color: var(--mist); }
.lec-role { font-family: var(--f-disp); font-weight: 700; color: var(--aqua-deep); letter-spacing: .12em; }
.lec-name { font-family: var(--f-accent); font-weight: 700; font-size: clamp(56px, 10vw, 180px); line-height: 1; letter-spacing: .04em; color: var(--ink); }
.lec-note { max-width: 32em; color: var(--ink-soft); }

/* セミナーの Q&A */
.semqa { background: var(--mist); padding: var(--sec-y) var(--pad-x); display: grid; gap: 40px; }
.semqa-title { font-family: var(--f-disp); font-size: clamp(30px, 4vw, 64px); line-height: 1.2; letter-spacing: -.03em; }
.semqa-title .thin { font-weight: 200; }
.semqa-list { border-top: 1px solid var(--ink); }
.qa { border-bottom: 1px solid var(--line); }
.qa summary { list-style: none; cursor: pointer; display: grid; grid-template-columns: 1fr auto; gap: 20px; align-items: center; padding: 24px 4px; }
.qa summary::-webkit-details-marker { display: none; }
.qa-q { font-family: var(--f-disp); font-weight: 700; font-size: clamp(17px, 1.5vw, 22px); line-height: 1.5; }
.qa summary .job-plus { color: var(--navy); }
.qa summary:hover .qa-q { color: var(--navy); }
.qa-a { padding: 0 4px 28px; max-width: 46em; color: var(--ink-soft); }
@media (min-width: 1000px) { .semqa { grid-template-columns: 1fr 2fr; } }

/* セミナー hero の見出しは図と重ならず、音引きが折れない大きさに */
.sem-title { font-size: clamp(30px, 4.1vw, 72px); }
@media (min-width: 900px) { .sem-hero-inner { max-width: 56vw; } }

@media (max-width: 700px) { .svc-row-name { font-size: 5.1vw; } }

/* 句読点などを前の語から切り離さない */
.nw { white-space: nowrap; display: inline-block; }

/* 第9周修正: 流れる英字の帯の全長が、グリッドの章の列幅を押し広げないようにする
   （contain を外していたため「進め方」の列が 4,000px 超に広がり、中身が画面の右外へ出ていた） */
.is-marquee { contain: inline-size; min-width: 0; }
.chapter-word { min-width: 0; }

/* ---------- 事例 ---------- */
.case-meta { font-size: 13px; letter-spacing: .12em; color: var(--aqua-deep); }
.course-b .case-meta { color: var(--aqua); }
.cases .course-dl dd { max-width: 34em; }
.sem-proof > .link-line { margin-top: 32px; display: inline-flex; }
.sem-org-body .link-line { justify-self: start; }

/* =====================================================================
   コラム記事（/column/）: 読むための面。参考: SmartHR Mag.・サイボウズ式・Goodpatch Blog・MF基礎知識の実測
   本文 17px / 行間 2.05 / 最大40字。見出しは大きさと余白で区切り、飾りの線や地色は使わない
   ===================================================================== */
.clm { padding: calc(var(--header-h) + clamp(36px, 5vw, 80px)) var(--pad-x) clamp(88px, 10vw, 150px); }
.clm-head, .clm-grid { max-width: 1120px; margin: 0 auto; }
.clm-head { display: grid; gap: 18px; padding-bottom: clamp(28px, 3.4vw, 44px); border-bottom: 1px solid var(--ink); }
.clm-kicker { font-size: 13px; font-weight: 500; letter-spacing: .12em; color: var(--aqua-deep); margin-top: 18px; }
.clm-title { font-family: var(--f-disp); font-weight: 800; font-size: clamp(30px, 3.4vw, 50px); line-height: 1.32; letter-spacing: -.01em; word-break: auto-phrase; }
.clm-title .thin { font-weight: 200; }
.clm-title em { color: var(--navy); }
.clm-sub { font-family: var(--f-disp); font-weight: 500; font-size: clamp(16px, 1.35vw, 20px); line-height: 1.6; color: var(--ink-soft); word-break: auto-phrase; }
.clm-meta { display: flex; flex-wrap: wrap; gap: 4px 26px; margin-top: 10px; font-size: 13.5px; line-height: 1.8; color: var(--ink-soft); }
.clm-meta a { text-decoration: none; }
.clm-meta a:hover b { text-decoration: underline; }
.clm-meta b { font-weight: 700; color: var(--ink); }
.clm-meta time { font-family: var(--f-en); font-weight: 500; font-variation-settings: "wdth" 88; color: var(--ink); letter-spacing: .02em; }
.clm-disclose { max-width: 50em; font-size: 14px; line-height: 1.85; color: var(--ink); }
.clm-disclose b { font-weight: 700; color: var(--navy); margin-right: 1em; }

.clm-grid { display: grid; gap: 36px; padding-top: clamp(32px, 4.4vw, 60px); }
.clm-toc-h { font-size: 12px; letter-spacing: .16em; color: var(--ink-soft); margin-bottom: 10px; }
.clm-toc ol { counter-reset: toc; }
.clm-toc li { counter-increment: toc; }
.clm-toc a { display: grid; grid-template-columns: 1.6em 1fr; line-height: 1.65; }
.clm-toc a::before { content: counter(toc); font-family: var(--f-en); color: var(--aqua-deep); }
@media (min-width: 1000px) {
  .clm-grid { grid-template-columns: 216px minmax(0, 1fr); column-gap: 68px; }
  .clm-toc { position: sticky; top: calc(var(--header-h) + 28px); align-self: start; }
}

.clm-body { min-width: 0; font-size: 17px; line-height: 2.05; letter-spacing: .04em; font-feature-settings: normal; }
.clm-body > * { max-width: 708px; }
.clm-body > * + * { margin-top: 1.4em; }
.clm-body p, .clm-body li, .clm-body dd, .clm-table td { text-wrap: pretty; }
.clm-table th, .clm-table td, .clm-table caption { word-break: auto-phrase; }
.clm-body a { color: var(--aqua-deep); text-underline-offset: 3px; }
.clm-body strong { font-weight: 700; }
.clm-lead { font-size: 18px; line-height: 2; }
.clm-body h2 {
  font-family: var(--f-disp); font-weight: 700; font-size: 26px; line-height: 1.55; letter-spacing: .02em;
  margin-top: 96px; padding-top: 30px; border-top: 1px solid var(--line); font-feature-settings: "palt" 1;
  scroll-margin-top: calc(var(--header-h) + 20px); word-break: auto-phrase;
}
.clm-body h2 + * { margin-top: 22px; }
.clm-body h3 { font-weight: 700; font-size: 19px; line-height: 1.65; color: var(--navy); margin-top: 52px; word-break: auto-phrase; }
.clm-body h3 + * { margin-top: 10px; }

/* 先に、4つの数字 */
.clm-body .clm-label { margin-top: 52px; font-size: 12px; letter-spacing: .16em; color: var(--ink-soft); }
.clm-body .clm-label + .clm-key { margin-top: 10px; }
.clm-key { border-top: 1px solid var(--ink); }
.clm-key > div { display: grid; grid-template-columns: 9.6rem 1fr; gap: 24px; align-items: baseline; padding: 16px 0; border-bottom: 1px solid var(--line); }
.clm-key dt { font-family: var(--f-en); font-weight: 500; font-size: 36px; line-height: 1.15; letter-spacing: -.01em; font-variation-settings: "wdth" 84; color: var(--navy); white-space: nowrap; }
.clm-key dt small { font-family: var(--f-disp); font-weight: 600; font-size: 14px; letter-spacing: .04em; margin-left: 3px; }
.clm-key dd { margin: 0; font-size: 15px; line-height: 1.85; }

/* 定義のリスト（研修の形） */
.clm-dl > div { padding: 18px 0; border-top: 1px solid var(--line); }
.clm-dl > div:last-child { border-bottom: 1px solid var(--line); }
.clm-dl dt { font-weight: 700; }
.clm-dl dd { margin: 4px 0 0; }

/* 確かめたいこと */
.clm-check { counter-reset: chk; }
.clm-check > li { counter-increment: chk; position: relative; padding-left: 2.2em; }
.clm-check > li + li { margin-top: 30px; }
.clm-check > li::before { content: counter(chk); position: absolute; left: 0; top: 0; font-family: var(--f-en); font-weight: 500; font-size: 21px; line-height: 1.75; color: var(--aqua-deep); }
.clm-check b { display: block; font-weight: 700; font-size: 18px; line-height: 1.75; margin-bottom: 4px; word-break: auto-phrase; }

/* 表（本文の列より広く出す） */
.clm-body > .clm-table { max-width: none; margin-top: 36px; }
.clm-body > .clm-table + * { margin-top: 36px; }
.clm-table table { width: 100%; border-collapse: collapse; font-size: 14.5px; line-height: 1.75; letter-spacing: .02em; font-variant-numeric: tabular-nums; }
.clm-table caption { caption-side: top; text-align: left; font-family: var(--f-disp); font-weight: 700; font-size: 15px; padding-bottom: 14px; }
.clm-table th, .clm-table td { text-align: left; vertical-align: top; padding: 15px 18px 15px 0; border-bottom: 1px solid var(--line); }
.clm-table th:last-child, .clm-table td:last-child { padding-right: 0; }
.clm-table thead th { font-size: 12.5px; font-weight: 500; letter-spacing: .08em; color: var(--ink-soft); padding-top: 0; padding-bottom: 10px; border-bottom: 2px solid var(--ink); white-space: nowrap; }
.clm-table tbody th { font-weight: 700; width: 24%; }
.clm-table tbody th small { display: block; font-weight: 400; font-size: 12.5px; color: var(--ink-soft); margin-top: 2px; }
.clm-table--vendors thead th:nth-child(1) { width: 23%; } .clm-table--vendors thead th:nth-child(2) { width: 16%; } .clm-table--vendors thead th:nth-child(3) { width: 33%; }
.clm-table--courses thead th:nth-child(1) { width: 31%; } .clm-table--courses thead th:nth-child(2) { width: 25%; } .clm-table--courses thead th:nth-child(4) { width: 11%; }
.clm-table--courses td:last-child { white-space: nowrap; }
.clm-table--terms table { border-top: 2px solid var(--ink); }
.clm-table--terms tbody th { width: 30%; font-weight: 500; color: var(--navy); }
.clm-own { display: inline-block; margin-left: 8px; padding: 0 7px; border: 1px solid var(--navy); border-radius: 3px; font-size: 11.5px; font-weight: 500; line-height: 1.6; letter-spacing: .06em; color: var(--navy); vertical-align: 2px; }
.clm-ref { font-size: 10.5px; line-height: 0; vertical-align: super; margin-left: 1px; letter-spacing: 0; }
.clm-ref a { text-decoration: none; font-weight: 500; }
.clm-src { margin-top: 12px; font-size: 13px; line-height: 1.85; color: var(--ink-soft); }
.clm-body .clm-note { font-size: 14px; line-height: 1.9; color: var(--ink-soft); }
.clm-body > .clm-claim { font-weight: 700; }
.clm-body > .clm-claim + .clm-note { margin-top: 10px; }

/* 書いた人・出典 */
.clm-body .clm-author { margin-top: 104px; padding-top: 28px; border-top: 1px solid var(--ink); display: grid; gap: 8px; }
.clm-body .clm-author h2 { margin: 0; padding: 0; border: 0; font-family: var(--f-body); font-weight: 500; font-size: 12px; line-height: 1.6; letter-spacing: .16em; color: var(--ink-soft); }
.clm-author-name { font-family: var(--f-accent); font-weight: 700; font-size: 36px; line-height: 1.3; letter-spacing: .08em; margin-top: 4px; }
.clm-author-role { font-family: var(--f-disp); font-weight: 600; font-size: 14px; letter-spacing: .08em; color: var(--aqua-deep); }
.clm-author p:not([class]) { font-size: 15px; line-height: 1.95; margin-top: 8px; }
.clm-author-links { display: flex; flex-wrap: wrap; gap: 6px 32px; margin-top: 14px; }
.clm-body .clm-author-links a { color: var(--navy); }
.clm-body .clm-sources { margin-top: 64px; }
.clm-body .clm-sources h3 { font-size: 15px; color: var(--ink); margin: 0 0 12px; }
.clm-sources ol { list-style: decimal; padding-left: 1.7em; font-size: 13.5px; line-height: 1.75; }
.clm-sources li + li { margin-top: 12px; }
.clm-sources li { scroll-margin-top: calc(var(--header-h) + 24px); }
.clm-sources li:target { background: var(--mist); }
.clm-url { font-size: 12.5px; word-break: break-all; }
.clm-chk { font-size: 12.5px; color: var(--ink-soft); }
.clm-dates { margin-top: 28px; font-size: 13px; color: var(--ink-soft); }

@media (max-width: 760px) {
  /* 表は横スクロールさせず、1行ずつ縦に積む */
  .clm-table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .clm-table table, .clm-table tbody, .clm-table tr, .clm-table th, .clm-table td { display: block; width: auto; }
  .clm-table caption { display: block; padding-bottom: 10px; }
  .clm-table table { border-top: 0; }
  .clm-table tbody { border-top: 2px solid var(--ink); }
  .clm-table--courses td:last-child { white-space: normal; }
  .clm-table tbody tr { padding: 16px 0 14px; border-bottom: 1px solid var(--line); }
  .clm-table th, .clm-table td { border: 0; padding: 3px 0; }
  .clm-table tbody th { font-size: 16px; padding-bottom: 8px; width: auto; }
  .clm-table td { display: grid; grid-template-columns: 6.2em minmax(0, 1fr); gap: 12px; }
  .clm-table td::before { content: attr(data-label); font-size: 12px; line-height: 2.1; letter-spacing: .04em; color: var(--aqua-deep); }
  .clm-table--terms td { display: block; }
  .clm-table--terms td::before { content: none; }
  .clm-table--terms tbody th { padding-bottom: 2px; font-size: 14px; width: auto; }
}
@media (max-width: 699px) {
  .clm-body { font-size: 16px; line-height: 1.95; letter-spacing: .03em; }
  .clm-lead { font-size: 16.5px; }
  .clm-body h2 { font-size: 21px; margin-top: 72px; padding-top: 24px; }
  .clm-body h3 { font-size: 17.5px; margin-top: 44px; }
  .clm-check b { font-size: 16.5px; }
  .clm-key > div { grid-template-columns: 1fr; gap: 2px; padding: 14px 0; }
  .clm-key dt { font-size: 32px; }
  .clm-author-name { font-size: 30px; }
  .clm-meta { gap: 2px 18px; }
}

/* ---------- 法人向けAI研修: 強み・形式別の比較 ---------- */
.tr-why { background: var(--paper); padding: var(--sec-y) var(--pad-x); display: grid; gap: 40px; overflow: hidden; }
.tr-why .chapter-word { color: var(--mist); }
.tr-why-title { font-family: var(--f-disp); font-size: clamp(30px, 4.2vw, 68px); line-height: 1.2; letter-spacing: -.03em; }
.tr-why-title .thin { font-weight: 200; }
.tr-why-grid { display: grid; gap: 0; border-top: 1px solid var(--ink); }
.tr-why-item { padding: 28px 0; border-bottom: 1px solid var(--line); display: grid; gap: 10px; }
.tr-why-item h3 { font-family: var(--f-disp); font-weight: 800; font-size: clamp(20px, 1.8vw, 28px); color: var(--navy); letter-spacing: -.02em; }
.tr-why-item p { max-width: 34em; }
@media (min-width: 1000px) { .tr-why-grid { grid-template-columns: repeat(3, 1fr); column-gap: 4vw; } .tr-why-item { align-content: start; } }

.tr-compare { background: var(--mist); padding: var(--sec-y) var(--pad-x); display: grid; gap: 36px; }
.tr-compare-title { font-family: var(--f-disp); font-size: clamp(30px, 4.2vw, 68px); line-height: 1.2; letter-spacing: -.03em; }
.tr-compare-title .thin { font-weight: 200; }
.tr-table { width: 100%; border-collapse: collapse; font-size: 15px; }
.tr-table th, .tr-table td { padding: 16px 14px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.tr-table thead th { font-size: 13px; letter-spacing: .1em; color: var(--ink-soft); border-bottom: 2px solid var(--ink); font-weight: 700; }
.tr-table tbody th { font-weight: 700; width: 30%; }
.tr-table .is-us { background: var(--paper); }
.tr-table thead .is-us { color: var(--navy); border-bottom-color: var(--aqua); }
.tr-table .mk { display: block; font-family: "Anybody", sans-serif; font-size: 26px; line-height: 1; color: var(--ink-soft); margin-bottom: 6px; }
.tr-table .is-us .mk { color: var(--aqua-deep); font-weight: 700; }
.tr-table .mk-note { font-size: 13px; color: var(--ink-soft); }
.tr-table .is-us .mk-note { color: var(--ink); font-weight: 500; }
.tr-compare-note { font-size: 13px; color: var(--ink-soft); max-width: 60em; }
@media (max-width: 760px) {
  .tr-table thead { display: none; }
  .tr-table, .tr-table tbody, .tr-table tr { display: block; }
  .tr-table tr { border-top: 1px solid var(--ink); padding: 14px 0 6px; }
  .tr-table tbody th { display: block; width: auto; border: 0; padding: 0 0 10px; font-size: 16px; }
  .tr-table td { display: grid; grid-template-columns: 9.5em 2em 1fr; align-items: baseline; gap: 6px; padding: 8px 10px; border-bottom: 1px solid var(--line); }
  .tr-table td::before { content: attr(data-label); font-size: 12px; color: var(--ink-soft); }
  .tr-table td .mk { font-size: 20px; margin: 0; }
}

/* ---------- 法人向けAI研修: 12時間プログラム（助成金） ---------- */
.pg { background: var(--ink); color: var(--paper); padding: var(--sec-y) var(--pad-x); display: grid; gap: 32px; overflow: hidden; }
.pg .chapter-word { color: var(--ink-2); }
.pg-badge { justify-self: start; font-size: 13px; letter-spacing: .12em; color: var(--ink); background: var(--aqua); padding: 6px 14px; border-radius: 999px; font-weight: 700; }
.pg-title { font-family: var(--f-disp); font-size: clamp(32px, 4.6vw, 76px); line-height: 1.15; letter-spacing: -.03em; }
.pg-title .thin { font-weight: 200; }
.pg-lead { max-width: 40em; color: oklch(90% .02 230); }
.pg-calc { display: grid; gap: 8px; align-items: center; border-top: 1px solid var(--line-dark); border-bottom: 1px solid var(--line-dark); padding: 28px 0; }
.pg-cell { display: grid; gap: 4px; }
.pg-k { font-size: 13px; letter-spacing: .08em; color: var(--aqua-pale); }
.pg-v { font-family: "Anybody", sans-serif; font-weight: 500; font-size: clamp(28px, 2.6vw, 40px); line-height: 1.1; font-feature-settings: "tnum" 1; }
.pg-v small { font-family: var(--f-body, inherit); font-size: .45em; margin-left: 2px; }
.pg-n { font-size: 12px; color: oklch(80% .02 230); }
.pg-op { font-family: "Anybody", sans-serif; font-size: 28px; color: var(--aqua); text-align: center; }
.pg-total .pg-k { color: var(--aqua); font-weight: 700; }
.pg-total .pg-v { font-weight: 800; font-size: clamp(48px, 5.4vw, 88px); color: var(--aqua); }
@media (min-width: 1100px) { .pg-calc { grid-template-columns: 1fr auto 1fr auto 1fr auto 1.4fr; gap: 18px; } }
.pg-ex { font-size: 15px; }
.pg-steps { display: grid; gap: 0; counter-reset: none; border-top: 1px solid var(--line-dark); }
.pg-steps li { display: grid; grid-template-columns: 3em 1fr; column-gap: 16px; row-gap: 4px; padding: 20px 0; border-bottom: 1px solid var(--line-dark); }
.pg-no { grid-row: span 2; font-family: "Anybody", sans-serif; font-size: 22px; color: var(--aqua); }
.pg-steps h3 { font-family: var(--f-disp); font-weight: 700; font-size: 18px; }
.pg-steps p { font-size: 14px; color: oklch(88% .02 230); max-width: 40em; }
@media (min-width: 1000px) { .pg-steps { grid-template-columns: 1fr 1fr; column-gap: 5vw; } }
.pg-dl > div { display: grid; grid-template-columns: 5em 1fr; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--line-dark); }
.pg-dl dt { color: var(--aqua-pale); font-size: 13px; letter-spacing: .1em; }
.pg-dl dd { margin: 0; }
.pg-notes { display: grid; gap: 8px; font-size: 13px; color: oklch(82% .02 230); list-style: disc; padding-left: 1.2em; max-width: 60em; }
.pg .btn-ink { justify-self: start; background: var(--aqua); color: var(--ink); }
