/* =========================================================
   NFA株式会社 採用サイト
   色は3色：ベース（白に近い灰）・メイン（ティール）・差し色（信号灯のオレンジ）
   薄い色はすべて color-mix() でメインから作る
   ========================================================= */
:root {
  --ink: #091e2d;
  --base: #f0f7fa;
  --white: #fff;
  --main: #006fbf;
  --accent: #1abdf8;
  --sky: #00e5d1;

  --main-deep: color-mix(in srgb, var(--main) 62%, #04121c);
  --main-soft: color-mix(in srgb, var(--main) 26%, white);
  --main-pale: color-mix(in srgb, var(--main) 9%, white);
  --main-line: color-mix(in srgb, var(--main) 18%, transparent);
  --ink-sub: color-mix(in srgb, var(--ink) 74%, white);
  --accent-pale: color-mix(in srgb, var(--accent) 16%, white);

  --ff: "IBM Plex Sans JP", "Hiragino Sans", "Yu Gothic", "Meiryo", sans-serif;
  --ff-en: "Barlow Condensed", "IBM Plex Sans JP", sans-serif;

  --max: 1200px;
  --gut: clamp(20px, 5vw, 64px);
  --sec: clamp(104px, 13vw, 200px);
  --r-xl: clamp(36px, 6vw, 96px);
  --r-lg: clamp(24px, 3vw, 40px);
  --ease: cubic-bezier(.22, .8, .24, 1);
  --ease-io: cubic-bezier(.785, .135, .15, .86);
  --hd-h: 96px;
}
@media (max-width: 1100px) { :root { --hd-h: 76px; } }

/* ---------- 土台 ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--hd-h) + 16px); }
html.is-still { scroll-behavior: auto; }
body {
  margin: 0;
  font-family: var(--ff);
  font-size: 17px;
  line-height: 1.95;
  letter-spacing: .03em;
  color: var(--ink);
  background: var(--base);
  word-break: auto-phrase;
  line-break: strict;
  overflow-wrap: anywhere;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
@media (max-width: 767px) { body { font-size: 16px; line-height: 1.9; } }
body.is-locked { overflow: hidden; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
p { margin: 0; text-wrap: pretty; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4 { margin: 0; font-weight: 700; line-height: 1.45; letter-spacing: 0; text-wrap: balance; font-feature-settings: "palt"; }
address { font-style: normal; }
button { font: inherit; color: inherit; }
.w { display: inline-block; }
.sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.wrap { width: min(100% - var(--gut) * 2, var(--max)); margin-inline: auto; }
.wrap--narrow { width: min(100% - var(--gut) * 2, 880px); margin-inline: auto; }
.num { font-family: var(--ff-en); font-feature-settings: "tnum"; letter-spacing: 0; }

:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 6px; }

.skip {
  position: fixed; left: 16px; top: -80px; z-index: 300;
  padding: 12px 20px; border-radius: 999px; background: var(--ink); color: #fff; text-decoration: none;
  transition: top .2s;
}
.skip:focus { top: 16px; }

/* 無地の面にのせる、片すみだけの方眼（図面の紙のような質感） */
.tex { position: relative; isolation: isolate; }
.tex::before {
  content: ""; position: absolute; z-index: -1; pointer-events: none;
  width: min(60vw, 720px); aspect-ratio: 1;
  background-image:
    linear-gradient(var(--main-line) 1px, transparent 1px),
    linear-gradient(90deg, var(--main-line) 1px, transparent 1px);
  background-size: 28px 28px;
  -webkit-mask-image: radial-gradient(closest-side, #000 20%, transparent);
  mask-image: radial-gradient(closest-side, #000 20%, transparent);
  opacity: .7;
}
.tex--tr::before { top: -12%; right: -14%; }
.tex--tl::before { top: -10%; left: -16%; }
.tex--br::before { bottom: -14%; right: -12%; }
.tex--bl::before { bottom: -12%; left: -14%; }
.tex--dark::before {
  background-image:
    linear-gradient(color-mix(in srgb, white 12%, transparent) 1px, transparent 1px),
    linear-gradient(90deg, color-mix(in srgb, white 12%, transparent) 1px, transparent 1px);
}

/* ---------- ロゴ ---------- */
.logo {
  position: relative; display: inline-block;
  font-family: var(--ff-en); font-weight: 700; font-size: 38px; line-height: 1; letter-spacing: .02em;
  color: var(--main);
  padding-right: 14px;
}
.logo__lamp {
  position: absolute; right: 0; top: 2px;
  width: 10px; height: 10px; border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 0 color-mix(in srgb, var(--accent) 60%, transparent);
  animation: lamp 2.4s ease-in-out infinite;
}
@keyframes lamp {
  0%, 100% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--accent) 55%, transparent); }
  50% { box-shadow: 0 0 0 7px color-mix(in srgb, var(--accent) 0%, transparent); }
}

/* ---------- ボタン ---------- */
.btn {
  position: relative; isolation: isolate; overflow: hidden;
  display: inline-flex; align-items: center; justify-content: space-between; gap: 22px;
  min-height: 62px; padding: 8px 9px 8px 30px;
  border: 2px solid var(--main); border-radius: 999px;
  background: var(--white); color: var(--main);
  font-weight: 700; font-size: 17px; line-height: 1.4; letter-spacing: .04em; text-decoration: none;
  transition: color .4s var(--ease);
  cursor: pointer;
}
.btn::before {
  content: ""; position: absolute; inset: -2px; z-index: -1;
  background: var(--main);
  clip-path: inset(0 100% 0 0);
  transition: clip-path .5s var(--ease);
}
.btn .arw { background: var(--main); color: var(--white); transition: background .4s, color .4s; }
@media (hover: hover) {
  .btn:hover { color: var(--white); }
  .btn:hover::before { clip-path: inset(0 0 0 0); }
  .btn:hover .arw { background: var(--white); color: var(--main); }
  .btn:hover .arw svg { animation: arwMove .55s var(--ease); }
}
.btn--accent { border-color: var(--accent); background: var(--accent); background-image: linear-gradient(135deg, color-mix(in srgb, var(--sky) 80%, white), var(--accent) 70%); color: var(--ink); }
.btn--accent::before { background: var(--ink); }
.btn--accent .arw { background: var(--ink); color: var(--accent); }
@media (hover: hover) {
  .btn--accent:hover { color: var(--white); }
  .btn--accent:hover .arw { background: var(--accent); color: var(--ink); }
}
.btn--white { border-color: var(--white); background: transparent; color: var(--white); }
.btn--white::before { background: var(--white); }
.btn--white .arw { background: var(--white); color: var(--main); }
@media (hover: hover) {
  .btn--white:hover { color: var(--main); }
  .btn--white:hover .arw { background: var(--main); color: var(--white); }
}
.btn--lg { min-height: 72px; font-size: 19px; padding-left: 34px; }

.arw {
  flex: none; display: grid; place-items: center; overflow: hidden;
  width: 54px; height: 38px; border-radius: 999px;
}
.arw svg { width: 22px; height: 12px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
@keyframes arwMove {
  0% { transform: translateX(0); }
  45% { transform: translateX(150%); }
  46% { transform: translateX(-150%); }
  100% { transform: translateX(0); }
}

/* 文字のリンク（下線が流れる） */
.tlink {
  display: inline-flex; align-items: center; gap: 12px;
  font-weight: 700; color: var(--main); text-decoration: none;
  background: linear-gradient(currentColor, currentColor) left bottom / 100% 2px no-repeat;
  padding-bottom: 4px;
}
.tlink::after {
  content: ""; width: 20px; height: 10px; flex: none;
  background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 26 12'%3E%3Cpath d='M1 6h23M19 1l5 5-5 5' fill='none' stroke='%23000' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 26 12'%3E%3Cpath d='M1 6h23M19 1l5 5-5 5' fill='none' stroke='%23000' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
  transition: transform .4s var(--ease);
}
@media (hover: hover) {
  .tlink:hover { animation: textLine .9s var(--ease) forwards; }
  .tlink:hover::after { transform: translateX(5px); }
}
@keyframes textLine {
  0% { background-size: 100% 2px; background-position: right bottom; }
  40% { background-size: 0 2px; background-position: right bottom; }
  41% { background-size: 0 2px; background-position: left bottom; }
  100% { background-size: 100% 2px; background-position: left bottom; }
}

/* ---------- 写真の枠（写真が無いあいだは、撮ってほしいものを表示） ---------- */
.ph {
  position: relative; margin: 0; overflow: hidden;
  background:
    linear-gradient(color-mix(in srgb, white 9%, transparent) 1px, transparent 1px) 0 0 / 26px 26px,
    linear-gradient(90deg, color-mix(in srgb, white 9%, transparent) 1px, transparent 1px) 0 0 / 26px 26px,
    linear-gradient(150deg, color-mix(in srgb, var(--main) 78%, white), var(--main-deep));
  border-radius: var(--r-lg);
  aspect-ratio: var(--ar, 4 / 3);
  -webkit-mask-image: -webkit-radial-gradient(white, black);
}
.ph img { position: absolute; inset: 0; z-index: 1; width: 100%; height: 100%; object-fit: cover; }
.ph__note {
  position: absolute; inset: 0;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px;
  padding: 12% 14%;
  color: color-mix(in srgb, white 88%, transparent);
  font-size: 16px; line-height: 1.65; text-align: center; letter-spacing: .04em;
}
.ph__note svg { width: 30px; height: 30px; fill: none; stroke: currentColor; stroke-width: 1.4; opacity: .8; }
/* 形のバリエーション（配線の結束タグのような、角を1つだけ残した丸み） */
.shape-tag { border-radius: 999px 999px 999px 40px; }
.shape-tag-r { border-radius: 999px 40px 999px 999px; }
.shape-leaf { border-radius: 50% 50% 50% 14% / 50% 50% 50% 14%; }
.shape-leaf-r { border-radius: 14% 50% 50% 50% / 14% 50% 50% 50%; }
.shape-pill { border-radius: 999px; }
.shape-arch { border-radius: 999px 999px var(--r-lg) var(--r-lg); }
.shape-soft { border-radius: clamp(40px, 7vw, 120px) var(--r-lg) clamp(40px, 7vw, 120px) clamp(40px, 7vw, 120px); }

/* ---------- 配線（直角に曲がる3本の束が、描かれていく） ---------- */
.wire { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; overflow: visible; }
.wire__l {
  fill: none; stroke-linecap: round; stroke-linejoin: round;
  stroke-width: var(--ww, 16);
  stroke-dasharray: 1 2; stroke-dashoffset: 1;
  transition: stroke-dashoffset 2s var(--ease);
}
.wire__l1 { stroke: var(--c1, var(--main)); }
.wire__l2 { stroke: var(--c2, var(--main-soft)); transition-delay: .14s; }
.wire__l3 { stroke: var(--c3, color-mix(in srgb, var(--main) 50%, white)); transition-delay: .28s; }
.wire__pulse {
  fill: none; stroke: var(--accent); stroke-linecap: round;
  stroke-width: calc(var(--ww, 16) * .62);
  stroke-dasharray: .025 .975; stroke-dashoffset: 0;
  opacity: 0; transition: opacity .6s 1.8s;
}
.wire.is-in .wire__l { stroke-dashoffset: 0; }
.wire.is-in .wire__pulse { opacity: 1; animation: pulse var(--pulse-s, 7s) linear infinite 1.8s; }
@keyframes pulse { to { stroke-dashoffset: -1; } }

/* 段の境目 */
.edge { position: absolute; left: 0; width: 100%; height: clamp(48px, 9vw, 140px); pointer-events: none; }
.edge--top { bottom: calc(100% - 1px); }
.edge--bottom { top: calc(100% - 1px); transform: scaleY(-1); }
.edge--flip { transform: scaleX(-1); }
.edge--bottom.edge--flip { transform: scale(-1, -1); }
.edge--main path { fill: var(--main); }
.edge--deep path { fill: var(--main-deep); }
.edge--base path { fill: var(--base); }
.edge--white path { fill: var(--white); }
.edge--pale path { fill: var(--main-pale); }

/* ---------- 大きな英字が流れる帯 ---------- */
.marquee { overflow: hidden; white-space: nowrap; pointer-events: none; user-select: none; }
.marquee__track { display: inline-flex; will-change: transform; }
.marquee__track span {
  font-family: var(--ff-en); font-weight: 700; line-height: 1;
  font-size: clamp(64px, 13vw, 200px); letter-spacing: .14em;
  padding-right: .5em;
}

/* ---------- 見出しのかたまり ---------- */
.sec { position: relative; padding-block: var(--sec); }
.sec-head { display: grid; gap: 14px; margin-bottom: clamp(40px, 6vw, 80px); }
.sec-head__en {
  font-family: var(--ff-en); font-weight: 600; font-size: 20px; letter-spacing: .16em; line-height: 1;
  color: color-mix(in srgb, var(--main) 70%, white);
  order: 2;
}
.sec-head__ja { font-size: clamp(34px, 5vw, 60px); line-height: 1.35; color: var(--main); }
.sec-head--white .sec-head__ja { color: var(--white); }
.sec-head--white .sec-head__en { color: var(--main-soft); }
.sec-head--center { justify-items: center; text-align: center; }

.title-l { font-size: clamp(30px, 4.2vw, 52px); line-height: 1.5; }
.title-m { font-size: clamp(22px, 3vw, 36px); line-height: 1.55; }
.title-s { font-size: clamp(21px, 2.2vw, 26px); line-height: 1.6; }
.lead { font-size: clamp(17px, 1.5vw, 19px); line-height: 2.05; }
.body > p + p { margin-top: 1.2em; }
.small { font-size: 16px; color: var(--ink-sub); }

.tag {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 4px 14px; border-radius: 999px;
  font-size: 16px; font-weight: 700; line-height: 1.5; letter-spacing: .04em;
  background: var(--main-pale); color: var(--main);
}
.tag--ai { background: color-mix(in srgb, var(--main) 14%, white); color: var(--main-deep); }
.tag--robot { background: var(--main-soft); color: var(--main-deep); }
.tag--human { background: var(--accent); color: var(--ink); }

/* ---------- 出現の動き（段ごとに種類を変える） ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(32px); transition: opacity .9s var(--ease), transform 1.1s var(--ease); transition-delay: var(--d, 0s); }
.js [data-reveal].is-in { opacity: 1; transform: none; }
/* 文節ごとに、左から切り抜かれて現れる */
.js [data-reveal="words"] { opacity: 1; transform: none; }
.js [data-reveal="words"] .w {
  clip-path: inset(-20% 100% -20% 0); transform: translateY(.35em);
  transition: clip-path .9s var(--ease), transform .9s var(--ease);
  transition-delay: calc(var(--i, 0) * 90ms + var(--d, 0s));
}
.js [data-reveal="words"].is-in .w { clip-path: inset(-20% -2% -20% 0); transform: none; }
/* 写真：丸く切り抜かれて広がる */
.js [data-reveal="photo"] { opacity: 1; transform: none; clip-path: inset(14% 14% 14% 14% round 999px); transition: clip-path 1.4s var(--ease); }
.js [data-reveal="photo"].is-in { clip-path: inset(0 0 0 0 round 0); }
.js [data-reveal="photo"] img, .js [data-reveal="photo"] .ph__note { transform: scale(1.18); transition: transform 1.8s var(--ease); }
.js [data-reveal="photo"].is-in img, .js [data-reveal="photo"].is-in .ph__note { transform: none; }
/* 子要素を順番に */
.js [data-reveal="stagger"] { opacity: 1; transform: none; }
.js [data-reveal="stagger"] > * { opacity: 0; transform: translateY(40px); transition: opacity .8s var(--ease), transform 1s var(--ease); transition-delay: calc(var(--i, 0) * 110ms); }
.js [data-reveal="stagger"].is-in > * { opacity: 1; transform: none; }
/* 横から */
.js [data-reveal="left"] { transform: translateX(-48px); }
.js [data-reveal="right"] { transform: translateX(48px); }
/* はずむ */
.js [data-reveal="pop"] { transform: scale(.85); }
.js [data-reveal="pop"].is-in { animation: bounceIn .9s var(--ease) both; }
@keyframes bounceIn {
  0% { opacity: 0; transform: scale(.85); }
  45% { opacity: 1; transform: scale(1.06); }
  70% { transform: scale(.98); }
  100% { opacity: 1; transform: scale(1); }
}
.float-y { animation: floatY 5s ease-in-out infinite alternate; }
@keyframes floatY { from { transform: translateY(-8px); } to { transform: translateY(8px); } }

/* =========================================================
   ヘッダー
   ========================================================= */
.hd { position: fixed; inset: 0 0 auto; z-index: 100; padding: 22px clamp(16px, 2.2vw, 32px) 0; pointer-events: none; }
.hd__bar {
  pointer-events: auto;
  display: flex; align-items: center; gap: 20px;
  height: 76px; padding: 0 12px 0 32px;
  border: 1px solid var(--main-line);
  border-radius: 999px;
  background: rgb(255 255 255 / 72%);
  -webkit-backdrop-filter: blur(14px) saturate(1.3);
  backdrop-filter: blur(14px) saturate(1.3);
  box-shadow: 0 10px 30px -18px rgb(9 30 45 / 35%);
  transition: background .5s var(--ease), border-color .5s, box-shadow .5s, padding .5s var(--ease);
}
.hd__logo { display: flex; align-items: center; gap: 16px; text-decoration: none; flex: none; }
.hd__site { font-size: 16px; font-weight: 700; letter-spacing: .1em; color: var(--ink); }
.hd__nav { margin-left: auto; }
.gnav { display: flex; align-items: center; }
.gnav__item { position: relative; }
.gnav__item + .gnav__item::before {
  content: ""; position: absolute; left: 0; top: 50%; width: 1px; height: 16px; translate: 0 -50%;
  background: var(--main-soft);
}
.gnav__btn, .gnav__link {
  display: inline-flex; align-items: center; gap: 8px;
  height: 52px; padding: 0 20px;
  border: 0; background: none; cursor: pointer;
  font-size: 16px; font-weight: 700; letter-spacing: .04em; color: var(--main); text-decoration: none;
  white-space: nowrap;
}
.gnav__btn svg { width: 11px; height: 8px; fill: none; stroke: currentColor; stroke-width: 1.8; transition: transform .35s var(--ease); }
.gnav__btn[aria-expanded="true"] svg { transform: rotate(180deg); }
.gnav__btn[data-current], .gnav__link[data-current], .gnav__link[aria-current] {
  background: linear-gradient(var(--accent), var(--accent)) center calc(100% - 6px) / 22px 3px no-repeat;
}
.dd {
  position: absolute; top: calc(100% + 12px); left: 50%;
  min-width: 250px; padding: 10px;
  border-radius: 24px; background: var(--white);
  box-shadow: 0 24px 50px -24px rgb(9 30 45 / 40%);
  opacity: 0; visibility: hidden; transform: translate(-50%, -10px);
  transition: opacity .3s var(--ease), transform .4s var(--ease), visibility .3s;
}
.gnav__item.is-open .dd { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.dd li + li { border-top: 1px dashed var(--main-soft); }
.dd a {
  display: block; padding: 12px 16px; border-radius: 14px;
  font-size: 16px; font-weight: 700; text-align: center; color: var(--main); text-decoration: none;
  transition: background .25s, color .25s;
}
.dd a:hover, .dd a[aria-current] { background: var(--main-pale); }
.hd__entry {
  flex: none; display: inline-flex; align-items: center; justify-content: center;
  height: 56px; padding: 0 30px; border-radius: 999px;
  background: var(--accent); background-image: linear-gradient(135deg, color-mix(in srgb, var(--sky) 80%, white), var(--accent) 70%); color: var(--ink);
  font-weight: 700; font-size: 17px; letter-spacing: .06em; text-decoration: none;
  position: relative; overflow: hidden; isolation: isolate;
  transition: color .4s;
}
.hd__entry::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--ink); clip-path: inset(0 100% 0 0); transition: clip-path .45s var(--ease); }
@media (hover: hover) { .hd__entry:hover { color: var(--white); } .hd__entry:hover::before { clip-path: inset(0); } }
.hd__menu { display: none; }
.hd__progress { position: absolute; left: clamp(48px, 5vw, 80px); right: clamp(48px, 5vw, 80px); top: calc(22px + 76px - 2px); height: 2px; pointer-events: none; }
.hd__progress span { display: block; height: 100%; width: 100%; transform-origin: left; transform: scaleX(var(--p, 0)); background: var(--accent); border-radius: 2px; }

/* トップの最初の画面では、ロゴとメニューを分けて置く（参考サイトの形を自分流に） */
body.is-top:not(.is-past-fv) .hd__bar { background: transparent; border-color: transparent; box-shadow: none; -webkit-backdrop-filter: none; backdrop-filter: none; padding-left: 12px; }
body.is-top:not(.is-past-fv) .hd__nav { background: rgb(255 255 255 / 80%); border: 1px solid var(--main-line); border-radius: 999px; padding: 0 8px; -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
body.is-top:not(.is-past-fv) .hd__progress { opacity: 0; }

@media (max-width: 1100px) {
  .hd { padding: 12px 12px 0; }
  .hd__bar { height: 62px; padding: 0 7px 0 22px; }
  .hd__nav, .hd__entry { display: none; }
  .logo { font-size: 32px; }
  .hd__site { font-size: 16px; }
  .hd__menu {
    display: grid; place-content: center; gap: 7px; margin-left: auto;
    width: 50px; height: 50px; border-radius: 50%; border: 0;
    background: var(--main); cursor: pointer; position: relative; z-index: 2;
  }
  .hd__menu i { display: block; width: 20px; height: 2px; background: var(--white); border-radius: 2px; transition: transform .45s var(--ease); }
  .hd__menu[aria-expanded="true"] i:nth-of-type(1) { transform: translateY(4.5px) rotate(45deg); }
  .hd__menu[aria-expanded="true"] i:nth-of-type(2) { transform: translateY(-4.5px) rotate(-45deg); }
  .hd__progress { top: calc(12px + 62px - 2px); left: 40px; right: 40px; }
  body.is-top:not(.is-past-fv) .hd__bar { background: rgb(255 255 255 / 72%); border-color: var(--main-line); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); padding-left: 22px; }
}

/* スマホのメニュー（右上から円が広がる） */
.spmenu {
  position: fixed; inset: 0; z-index: 90;
  background: var(--main);
  color: var(--white);
  clip-path: circle(0 at calc(100% - 49px) 49px);
  visibility: hidden;
  transition: clip-path .7s var(--ease-io), visibility 0s .7s;
  overflow-y: auto; overscroll-behavior: contain;
}
.spmenu.is-open { clip-path: circle(150% at calc(100% - 49px) 49px); visibility: visible; transition: clip-path .8s var(--ease-io), visibility 0s; }
.spmenu__inner { padding: 110px 24px 120px; max-width: 760px; margin-inline: auto; }
.spmenu__cols { display: grid; gap: 28px 32px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.spmenu__head { font-weight: 700; font-size: 18px; color: var(--main-soft); margin: 18px 0 8px; }
.spmenu__head a { color: var(--white); text-decoration: none; }
.spmenu__group:first-child .spmenu__head:first-child { margin-top: 0; }
.spmenu li a { display: flex; align-items: center; gap: 12px; padding: 9px 0; font-size: 17px; font-weight: 500; text-decoration: none; }
.spmenu li a::before { content: ""; width: 14px; height: 2px; background: var(--accent); flex: none; }
.spmenu__cta { display: grid; gap: 14px; margin-top: 40px; }
.spmenu .spmenu__group > * { opacity: 0; transform: translateY(16px); transition: opacity .5s, transform .6s var(--ease); }
.spmenu.is-open .spmenu__group > * { opacity: 1; transform: none; transition-delay: .25s; }

/* スマホ：画面の下に残る相談ボタン */
.sp-cta { display: none; }
@media (max-width: 767px) {
  .sp-cta {
    display: block; position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 80;
    transform: translateY(140%); transition: transform .5s var(--ease);
  }
  .sp-cta.is-show { transform: none; }
  .sp-cta__btn {
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    min-height: 64px; border-radius: 999px; background: var(--accent); color: var(--ink);
    text-decoration: none; font-weight: 700; font-size: 18px; line-height: 1.35;
    box-shadow: 0 14px 30px -12px rgb(9 30 45 / 45%);
  }
  .sp-cta__btn small { font-size: 16px; font-weight: 500; }
  body:has(.sp-cta) .ft { padding-bottom: 96px; }
}

/* PC：右下の回る「エントリー」 */
.float-entry {
  position: fixed; right: 28px; bottom: 28px; z-index: 80;
  width: 132px; height: 132px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--main); color: var(--white); text-decoration: none;
  box-shadow: 0 18px 40px -18px rgb(9 30 45 / 55%);
  opacity: 0; visibility: hidden; transform: scale(.6);
  transition: opacity .4s, transform .6s var(--ease), visibility .4s, background .3s;
}
.float-entry.is-show { opacity: 1; visibility: visible; transform: none; }
.float-entry__ring { position: absolute; inset: 6px; width: calc(100% - 12px); height: calc(100% - 12px); animation: spin 16s linear infinite; }
.float-entry__ring text { font-family: var(--ff-en); font-size: 13.4px; font-weight: 600; letter-spacing: 0; fill: var(--main-soft); }
.float-entry__label { position: relative; font-size: 16px; font-weight: 700; letter-spacing: .04em; }
.float-entry:hover { background: var(--accent); color: var(--ink); }
.float-entry:hover .float-entry__ring text { fill: var(--ink); }
@keyframes spin { to { transform: rotate(360deg); } }
@media (max-width: 767px) { .float-entry { display: none; } }

/* マウスについてくる円（PCだけ） */
.stalker { position: fixed; left: 0; top: 0; z-index: 120; pointer-events: none; opacity: 0; transition: opacity .3s; }
.stalker span {
  position: absolute; left: -9px; top: -9px; width: 18px; height: 18px; border-radius: 50%;
  border: 1.5px solid var(--main); background: color-mix(in srgb, var(--accent) 0%, transparent);
  transition: transform .45s var(--ease), background .3s, border-color .3s;
}
.stalker.is-hover span { transform: scale(3.2); background: color-mix(in srgb, var(--accent) 22%, transparent); border-color: transparent; }
@media (hover: none), (pointer: coarse) { .stalker { display: none; } }

/* ページを移るときの幕 */
.curtain { position: fixed; inset: 0; z-index: 200; pointer-events: none; }
.curtain span { position: absolute; inset: 0; background: var(--main); transform: scaleX(0); transform-origin: right; }
html.is-leaving .curtain span { transform: scaleX(1); transform-origin: left; transition: transform .42s var(--ease-io); }
html.is-arriving .curtain span { transform: scaleX(1); }
html.is-arrived .curtain span { transform: scaleX(0); transform-origin: right; transition: transform .6s var(--ease-io); }

/* =========================================================
   トップ：読み込み画面
   ========================================================= */
.loading {
  position: fixed; inset: 0; z-index: 150;
  display: grid; place-items: center;
  background: var(--main-deep);
  clip-path: inset(0 0 0 0);
}
.loading__tiles { position: absolute; inset: 0; display: grid; grid-template-columns: 1.1fr .9fr 1.2fr .8fr; gap: 10px; padding: 10px; }
.loading__tiles i {
  border-radius: 28px;
  background:
    linear-gradient(color-mix(in srgb, white 8%, transparent) 1px, transparent 1px) 0 0 / 26px 26px,
    linear-gradient(90deg, color-mix(in srgb, white 8%, transparent) 1px, transparent 1px) 0 0 / 26px 26px,
    color-mix(in srgb, var(--main) 80%, black);
  clip-path: inset(100% 0 0 0 round 28px);
}
.loading__tiles i:nth-child(2n) { clip-path: inset(0 0 100% 0 round 28px); }
.loading__logo { position: relative; text-align: center; color: var(--white); }
.loading__logo .logo { font-size: clamp(72px, 12vw, 132px); color: var(--white); opacity: 0; transform: translateY(20px); }
.loading__logo .logo__lamp { width: 18px; height: 18px; top: 6px; }
.loading__logo small { display: block; margin-top: 14px; font-size: 17px; font-weight: 700; letter-spacing: .3em; opacity: 0; }
.loading .wire { --ww: 12; --c1: var(--white); --c2: var(--main-soft); --c3: color-mix(in srgb, var(--main) 55%, white); }
.loading.is-run .loading__tiles i { clip-path: inset(0 0 0 0 round 28px); transition: clip-path 1s var(--ease); }
.loading.is-run .loading__tiles i:nth-child(1) { transition-delay: .1s; }
.loading.is-run .loading__tiles i:nth-child(2) { transition-delay: .2s; }
.loading.is-run .loading__tiles i:nth-child(3) { transition-delay: .3s; }
.loading.is-run .loading__tiles i:nth-child(4) { transition-delay: .4s; }
.loading.is-run .logo { opacity: 1; transform: none; transition: opacity .8s .7s, transform 1s .7s var(--ease); }
.loading.is-run small { opacity: .85; transition: opacity .8s 1s; }
.loading.is-done { clip-path: inset(0 0 0 100%); transition: clip-path .8s var(--ease-io); }
.loading.is-gone { display: none; }

/* =========================================================
   トップ：最初の画面
   ========================================================= */
.fv { position: relative; min-height: max(760px, 100svh); padding: calc(var(--hd-h) + 40px) 0 72px; overflow: hidden; }
.fv__inner { position: relative; z-index: 2; display: grid; grid-template-columns: minmax(0, 46fr) minmax(0, 54fr); align-items: center; gap: clamp(24px, 4vw, 64px); width: min(100% - var(--gut), 1440px); margin-left: var(--gut); min-height: calc(max(760px, 100svh) - var(--hd-h) - 112px); }
.fv__label { display: inline-flex; align-items: center; gap: 12px; font-size: 17px; font-weight: 700; letter-spacing: .08em; color: var(--main); margin-bottom: 28px; }
.fv__label::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--accent); }
.fv__catch { display: grid; margin-bottom: 26px; }
.fv__phrase { grid-area: 1 / 1; align-self: start; }
.fv__q { font-size: clamp(38px, 4.5vw, 70px); line-height: 1.32; font-weight: 700; color: var(--ink); font-feature-settings: "palt"; letter-spacing: -.01em; text-wrap: balance; }
.fv__q .w { clip-path: inset(-20% 100% -20% 0); transform: translateY(.3em); }
.fv__phrase.is-active .w { clip-path: inset(-20% -3% -20% 0); transform: none; transition: clip-path 1s var(--ease), transform 1s var(--ease); transition-delay: calc(var(--i, 0) * 110ms + .1s); }
.fv__phrase.is-leaving .w { clip-path: inset(-20% -3% -20% 100%); transform: none; transition: clip-path .7s var(--ease-io); transition-delay: calc(var(--i, 0) * 50ms); }
.fv__who { margin-top: 16px; font-size: 16px; color: var(--ink-sub); opacity: 0; transform: translateY(8px); }
.fv__phrase.is-active .fv__who { opacity: 1; transform: none; transition: opacity .6s .7s, transform .8s .7s var(--ease); }
.fv__phrase.is-leaving .fv__who { opacity: 0; transition: opacity .3s; }
.fv__lead { max-width: 34em; font-size: clamp(17px, 1.35vw, 19px); line-height: 2; }
.fv__cta { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 32px; margin-top: 36px; }

.fv__visual { position: relative; height: min(76svh, 760px); min-height: 520px; }
.fv__frame { position: absolute; inset: 0 0 0 0; border-radius: clamp(80px, 12vw, 220px) 0 0 clamp(80px, 12vw, 220px); overflow: hidden; background: var(--main-deep); }
.fv__slide { position: absolute; inset: 0; border-radius: 0; aspect-ratio: auto; opacity: 0; transition: opacity 1.5s ease; }
.fv__slide.is-active { opacity: 1; z-index: 1; }
.fv__slide img, .fv__slide .ph__note { transform: scale(1.1); }
.fv__slide.is-zoom img, .fv__slide.is-zoom .ph__note { transform: scale(1); transition: transform 8s ease-in-out; }
.fv__text { position: relative; z-index: 5; }
.fv__wire { z-index: 3; top: calc(-1 * (var(--hd-h) + 40px)); left: calc(-1 * var(--gut)); width: calc(100% + var(--gut)); height: calc(100% + var(--hd-h) + 112px); --ww: 16; --c1: var(--accent); --c2: var(--white); --c3: var(--main-soft); }
.fv__badge {
  position: absolute; left: -36px; bottom: 9%; z-index: 4;
  padding: 20px 28px 18px; border-radius: 28px;
  background: var(--white); box-shadow: 0 24px 50px -28px rgb(9 30 45 / 50%);
}
.fv__badge p { font-size: 16px; font-weight: 700; color: var(--ink-sub); line-height: 1.5; }
.fv__badge b { display: inline-block; font-family: var(--ff-en); font-size: 72px; line-height: 1; color: var(--main); margin-right: 4px; }
.fv__badge span { font-size: 20px; font-weight: 700; color: var(--main); }
.fv__badge small { display: block; font-size: 16px; color: var(--ink-sub); }
.fv__ctrl { position: absolute; right: clamp(20px, 3vw, 48px); bottom: 26px; z-index: 4; display: flex; align-items: center; gap: 16px; color: var(--white); padding: 8px 18px; border-radius: 999px; background: rgb(9 30 45 / 45%); }
.fv__count { font-family: var(--ff-en); font-size: 20px; font-weight: 600; letter-spacing: .08em; min-width: 3.6em; }
.fv__bars { display: flex; gap: 6px; }
.fv__bars i { width: 34px; height: 3px; border-radius: 3px; background: rgb(255 255 255 / 35%); overflow: hidden; }
.fv__bars i::after { content: ""; display: block; height: 100%; background: var(--white); transform: scaleX(0); transform-origin: left; }
.fv__bars i.is-done::after { transform: scaleX(1); }
.fv__bars i.is-run::after { animation: bar var(--dur, 6s) linear forwards; }
.is-paused .fv__bars i.is-run::after { animation-play-state: paused; }
@keyframes bar { to { transform: scaleX(1); } }
.fv__pause {
  display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%;
  border: 1.5px solid rgb(255 255 255 / 70%); background: rgb(9 30 45 / 30%); color: var(--white); cursor: pointer;
}
.fv__pause svg { width: 14px; height: 14px; fill: currentColor; }
.fv__pause .i-play { display: none; transform: translateX(2px); }
.is-paused .fv__pause .i-play { display: block; }
.is-paused .fv__pause .i-pause { display: none; }
.fv__job {
  position: absolute; left: clamp(32px, 5vw, 80px); top: 28px; z-index: 4;
  padding: 6px 16px; border-radius: 999px; background: rgb(255 255 255 / 86%); color: var(--main);
  font-size: 16px; font-weight: 700;
}
.scroll-hint {
  position: absolute; left: 50%; bottom: 18px; z-index: 3; translate: -50% 0;
  display: grid; justify-items: center; gap: 6px;
  font-family: var(--ff-en); font-size: 16px; font-weight: 600; letter-spacing: .2em; color: var(--main);
  transition: opacity .4s;
}
.scroll-hint i { position: relative; width: 2px; height: 42px; background: var(--main-soft); overflow: hidden; }
.scroll-hint i::after { content: ""; position: absolute; left: 0; top: 0; width: 100%; height: 40%; background: var(--main); animation: drip 1.8s var(--ease-io) infinite; }
@keyframes drip { from { transform: translateY(-100%); } to { transform: translateY(260%); } }
.scroll-hint.is-hide { opacity: 0; }

@media (max-width: 900px) {
  .fv { padding: calc(var(--hd-h) + 16px) 0 48px; min-height: 0; }
  .fv__inner { grid-template-columns: 1fr; width: 100%; margin: 0; min-height: 0; gap: 28px; }
  .fv__visual { order: -1; height: 42svh; min-height: 300px; margin-left: var(--gut); }
  .fv__frame { border-radius: clamp(60px, 18vw, 120px) 0 0 clamp(60px, 18vw, 120px); }
  .fv__text { padding-inline: var(--gut); }
  .fv__label { margin-bottom: 14px; }
  .fv__badge { left: auto; right: var(--gut); bottom: -28px; padding: 12px 18px 12px; border-radius: 20px; }
  .fv__badge b { font-size: 48px; }
  .fv__badge span { font-size: 17px; }
  .fv__ctrl { bottom: auto; top: 16px; right: 16px; }
  .fv__bars i { width: 22px; }
  .fv__job { top: 72px; bottom: auto; left: 24px; }
  .fv__q { font-size: clamp(30px, 8.4vw, 46px); }
  .fv__cta { margin-top: 26px; }
  .fv__cta .btn { width: 100%; }
  .scroll-hint { display: none; }
  .fv__wire { display: none; }
}

/* 最初の画面のすぐ下：勤務地・募集・残業・まず何ができるか */
.facts { position: relative; z-index: 3; margin-top: -8px; }
.facts__box { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)) ; border-radius: var(--r-lg); background: var(--white); box-shadow: 0 30px 60px -40px rgb(9 30 45 / 40%); overflow: hidden; }
.facts__item { padding: 26px 28px; display: grid; gap: 4px; align-content: start; }
.facts__item + .facts__item { border-left: 1px solid var(--main-pale); }
.facts__k { font-size: 16px; font-weight: 700; color: var(--main); }
.facts__v { font-size: 18px; font-weight: 700; line-height: 1.6; }
.facts__v b { font-family: var(--ff-en); font-size: 34px; line-height: 1; color: var(--main); margin-right: 2px; }
.news { display: flex; align-items: center; gap: 24px; margin-top: 18px; padding: 0 8px; }
.news__label { font-family: var(--ff-en); font-weight: 700; font-size: 22px; letter-spacing: .08em; color: var(--main); flex: none; }
.news__list { position: relative; flex: 1; min-width: 0; height: 2em; overflow: hidden; }
.news__list li { position: absolute; inset: 0; display: flex; gap: 18px; align-items: center; white-space: nowrap; transform: translateY(100%); opacity: 0; transition: transform .7s var(--ease), opacity .5s; }
.news__list li.is-active { transform: none; opacity: 1; }
.news__list li.is-out { transform: translateY(-100%); opacity: 0; }
.news__list time { font-family: var(--ff-en); font-size: 18px; color: var(--ink-sub); }
.news__list a, .news__list span { overflow: hidden; text-overflow: ellipsis; text-decoration: none; }
.news__nav { display: flex; gap: 8px; flex: none; }
.news__nav button { width: 44px; height: 44px; border-radius: 50%; border: 1.5px solid var(--main-soft); background: var(--white); color: var(--main); cursor: pointer; display: grid; place-items: center; }
.news__nav svg { width: 14px; height: 10px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
@media (max-width: 900px) {
  .facts { margin-top: 24px; }
  .facts__box { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .facts__item { padding: 18px 18px; }
  .facts__item:nth-child(3) { border-left: 0; }
  .facts__item:nth-child(n + 3) { border-top: 1px solid var(--main-pale); }
  .facts__v { font-size: 17px; }
  .news { flex-wrap: wrap; gap: 6px 16px; }
  .news__list { flex-basis: 100%; order: 3; }
  .news__nav { margin-left: auto; }
}

/* =========================================================
   トップ：メッセージ
   ========================================================= */
.intro { padding-top: clamp(120px, 14vw, 220px); overflow: hidden; }
.intro__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(40px, 6vw, 96px); align-items: center; }
.intro__photos { position: relative; height: clamp(520px, 56vw, 760px); }
.intro__photos > div { position: absolute; }
.intro__p1 { left: 0; top: 0; width: 70%; }
.intro__p2 { right: 0; top: 40%; width: 48%; }
.intro__p3 { left: 10%; bottom: 0; width: 40%; }
.intro__p1 .ph { --ar: 5 / 4; }
.intro__photos .ph { border-radius: 16px; }
.intro__p1 .ph { border-top-left-radius: clamp(80px, 10vw, 160px); }
.intro__p2 .ph { border-bottom-right-radius: clamp(64px, 8vw, 120px); }
.intro__p3 .ph { border-top-right-radius: clamp(48px, 6vw, 88px); }
.intro__p2 .ph { --ar: 3 / 4; }
.intro__p3 .ph { --ar: 1; }
.intro__title { color: var(--main); margin-bottom: 40px; }
.intro__body { display: grid; gap: 1.3em; }
.intro__btn { margin-top: 44px; }
.marquee--intro { margin-top: clamp(80px, 10vw, 140px); color: color-mix(in srgb, var(--main) 14%, var(--base)); }
@media (max-width: 900px) {
  .intro__grid { grid-template-columns: 1fr; }
  .intro__photos { height: 108vw; order: 2; }
}

/* =========================================================
   トップ：事業
   ========================================================= */
.biz { position: relative; margin-top: clamp(80px, 10vw, 140px); }
.biz__wide { position: relative; height: clamp(300px, 44vw, 600px); overflow: hidden; border-radius: var(--r-xl) var(--r-xl) 0 0; margin-inline: clamp(0px, 2vw, 32px); }
.biz__wide .ph { position: absolute; inset: -12% 0; border-radius: 0; aspect-ratio: auto; height: 124%; }
.biz__body { position: relative; background: var(--main-deep); color: var(--white); padding: clamp(80px, 9vw, 140px) 0 clamp(88px, 10vw, 150px); margin-inline: clamp(0px, 2vw, 32px); overflow: hidden; }
.biz__head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 96px); align-items: end; }
.biz__title { font-size: clamp(30px, 4.2vw, 54px); line-height: 1.5; }
.biz__flow { position: relative; margin-top: clamp(64px, 8vw, 110px); }
.flow-mini { position: relative; }
.flow-mini__list { position: relative; display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 12px; }
.flow-mini__line { position: absolute; left: 0; right: 0; top: 34px; height: 4px; border-radius: 4px; background: color-mix(in srgb, white 18%, transparent); overflow: hidden; }
.flow-mini__line::after { content: ""; position: absolute; inset: 0; background: var(--main-soft); transform: scaleX(0); transform-origin: left; transition: transform 2.4s var(--ease); }
.flow-mini.is-in .flow-mini__line::after { transform: scaleX(1); }
.flow-mini__dot { position: absolute; top: 28px; left: 0; width: 16px; height: 16px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 6px color-mix(in srgb, var(--accent) 30%, transparent); opacity: 0; }
.flow-mini.is-in .flow-mini__dot { opacity: 1; animation: travel 6s var(--ease-io) infinite 2.4s; }
@keyframes travel { from { left: 0; } to { left: calc(100% - 16px); } }
.flow-mini__list li { position: relative; display: grid; justify-items: center; text-align: center; gap: 12px; }
.flow-mini__n { display: grid; place-items: center; width: 72px; height: 72px; border-radius: 50%; background: var(--main-deep); border: 2px solid var(--main-soft); font-family: var(--ff-en); font-size: 24px; font-weight: 700; position: relative; z-index: 1; }
.flow-mini__list li.is-human .flow-mini__n { border-color: var(--accent); background: var(--accent); color: var(--ink); }
.flow-mini__name { font-size: 18px; font-weight: 700; line-height: 1.4; }
.flow-mini__who { font-size: 16px; color: var(--main-soft); line-height: 1.5; }
.flow-mini__list li.is-human .flow-mini__who { color: var(--accent); font-weight: 700; }
.flow-mini__key { display: flex; align-items: center; gap: 12px; margin-top: 32px; font-size: 16px; line-height: 1.6; color: var(--white); }
.flow-mini__keydot { flex: none; width: 18px; height: 18px; border-radius: 50%; background: var(--accent); }
.biz__stat { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: clamp(28px, 5vw, 80px); align-items: center; margin-top: clamp(64px, 8vw, 110px); padding: clamp(28px, 4vw, 48px); border-radius: var(--r-lg); background: color-mix(in srgb, white 7%, transparent); }
[data-count] { font-variant-numeric: tabular-nums; font-feature-settings: "tnum"; display: inline-block; text-align: right; }
.biz__big { font-size: 18px; font-weight: 700; line-height: 1.5; }
.biz__big b { display: block; font-family: var(--ff-en); font-size: clamp(80px, 10vw, 140px); line-height: .95; color: var(--accent); }
.bars { display: grid; gap: 18px; }
.bars__row { display: grid; grid-template-columns: 9em minmax(0, 1fr); gap: 16px; align-items: center; font-size: 16px; font-weight: 700; }
.bars__bar { position: relative; height: 34px; border-radius: 999px; background: color-mix(in srgb, white 10%, transparent); overflow: hidden; }
.bars__bar i { position: absolute; inset: 0 auto 0 0; width: var(--v); border-radius: 999px; background: var(--main-soft); transform: scaleX(0); transform-origin: left; transition: transform 1.6s var(--ease); display: flex; align-items: center; justify-content: flex-end; padding-right: 14px; font-style: normal; color: var(--ink); font-family: var(--ff-en); font-size: 18px; }
.bars__bar.is-accent i { background: var(--accent); }
.bars.is-in .bars__bar i { transform: none; }
.bars.is-in .bars__row + .bars__row .bars__bar i { transition-delay: .3s; }
.bars__note { font-size: 16px; color: var(--main-soft); font-weight: 500; }
.biz__btn { margin-top: 56px; }
.biz .wire { --ww: 10; --c1: color-mix(in srgb, white 30%, transparent); --c2: color-mix(in srgb, white 14%, transparent); --c3: color-mix(in srgb, white 8%, transparent); opacity: .9; }
@media (max-width: 900px) {
  .biz__head { grid-template-columns: 1fr; }
  .flow-mini__list { grid-template-columns: 1fr; gap: 0; }
  .flow-mini__line { left: 34px; right: auto; top: 0; bottom: 0; width: 4px; height: auto; }
  .flow-mini__line::after { transform: scaleY(0); transform-origin: top; }
  .flow-mini.is-in .flow-mini__line::after { transform: scaleY(1); }
  .flow-mini__dot { display: none; }
  .flow-mini__list li { grid-template-columns: 72px minmax(0, 1fr); justify-items: start; text-align: left; column-gap: 20px; row-gap: 0; padding: 10px 0; }
  .flow-mini__n { grid-row: span 2; }
  .flow-mini__name { align-self: end; }
  .biz__stat { grid-template-columns: 1fr; }
  .bars__row { grid-template-columns: 1fr; gap: 6px; }
}

/* =========================================================
   トップ：会社を知る／働く環境を知る（大きな板に入口を並べる）
   ========================================================= */
.gate { position: relative; overflow: hidden; }
.gate__plate { position: relative; container-type: inline-size; padding: clamp(56px, 7vw, 110px) clamp(24px, 6vw, 96px); border-radius: var(--r-xl); background: var(--white); }
.gate__grid { display: grid; gap: 22px; margin-top: 8px; }
@container (width > 46rem) {
  .gate__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; }
  .gate__grid > :nth-child(even) { transform: translateY(56px); }
}
.door {
  position: relative; display: grid; gap: 12px; align-content: start;
  padding: clamp(28px, 4vw, 48px);
  border-radius: clamp(28px, 4vw, 56px) clamp(28px, 4vw, 56px) clamp(28px, 4vw, 56px) 12px;
  background: var(--main-pale);
  transition: background .4s;
}
.door:hover { background: color-mix(in srgb, var(--main) 14%, white); }
.door__title { font-size: clamp(21px, 2vw, 25px); line-height: 1.55; }
.door__text { color: var(--ink-sub); }
.door .btn { justify-self: start; margin-top: 12px; }
/* 写真は見出しの横に置き、扉（カード）とは重ねない */
.gate__top { display: grid; gap: 28px; margin-bottom: 48px; }
.gate__photo { position: relative; z-index: 2; width: min(62%, 300px); justify-self: end; }
.gate__photo .ph { --ar: 3 / 4; }
.gate__head { max-width: 640px; margin-bottom: 0; }
.gate__lead { margin-top: 24px; color: var(--ink-sub); max-width: 34em; text-wrap: pretty; }
@container (width > 46rem) {
  .gate__top { grid-template-columns: minmax(0, 1fr) clamp(220px, 30%, 300px); align-items: start; gap: 48px; margin-bottom: 72px; }
  .gate__photo { width: 100%; margin-top: calc(-1 * clamp(56px, 7vw, 110px) - 72px); }
}

/* =========================================================
   トップ：働く人を知る
   ========================================================= */
.people { position: relative; overflow: hidden; background: color-mix(in srgb, var(--main) 5%, var(--base)); }
.people__layout { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: clamp(24px, 4vw, 64px); }
.vtitle { writing-mode: vertical-rl; display: flex; align-items: center; gap: 14px; font-size: clamp(30px, 3.4vw, 48px); font-weight: 700; color: var(--main); line-height: 1.1; letter-spacing: .08em; }
.vtitle small { font-family: var(--ff-en); font-size: 20px; font-weight: 600; letter-spacing: .2em; color: var(--ink); }
.slider { position: relative; min-width: 0; }
.slider__track {
  display: flex; gap: clamp(20px, 3vw, 44px);
  overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth;
  padding: 10px 0 70px; margin-right: calc(var(--gut) * -1); padding-right: var(--gut);
  scrollbar-width: none; overscroll-behavior-x: contain;
  cursor: grab;
}
.is-still .slider__track { scroll-behavior: auto; }
.slider__track::-webkit-scrollbar { display: none; }
.slider__track.is-drag { cursor: grabbing; scroll-snap-type: none; scroll-behavior: auto; }
.pcard { flex: 0 0 clamp(260px, 26vw, 360px); scroll-snap-align: start; text-decoration: none; display: grid; gap: 18px; align-content: start; }
.pcard:nth-child(even) { margin-top: 64px; }
.pcard__photo { position: relative; }
.pcard__photo .ph { --ar: 3 / 4.2; border-radius: 999px 999px 999px 999px; transition: border-radius .6s var(--ease); }
.pcard:hover .pcard__photo .ph { border-radius: 999px 999px 999px 40px; }
.pcard__photo .ph img { transition: transform .8s var(--ease); }
.pcard:hover .pcard__photo .ph img { transform: scale(1.05); }
.pcard__dept { position: absolute; left: 50%; bottom: 8%; translate: -50% 0; z-index: 2; white-space: nowrap; padding: 4px 16px; border-radius: 999px; background: var(--white); color: var(--main); font-weight: 700; font-size: 16px; }
.pcard__catch { font-size: clamp(19px, 1.7vw, 22px); font-weight: 700; line-height: 1.6; font-feature-settings: "palt"; text-wrap: balance; }
.pcard__meta { display: flex; align-items: center; justify-content: space-between; gap: 16px; color: var(--ink-sub); font-size: 16px; line-height: 1.6; }
.pcard__meta .arw { background: var(--main); color: var(--white); transition: transform .4s var(--ease); }
.pcard:hover .pcard__meta .arw { transform: translateX(6px); }
.slider__ui { display: flex; align-items: center; gap: 16px; margin-top: 4px; }
.slider__btn { width: 56px; height: 56px; border-radius: 50%; border: 2px solid var(--main); background: var(--white); color: var(--main); cursor: pointer; display: grid; place-items: center; transition: background .3s, color .3s; }
.slider__btn:hover { background: var(--main); color: var(--white); }
.slider__btn svg { width: 18px; height: 12px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.slider__prev svg { transform: scaleX(-1); }
.slider__bar { flex: 1; height: 3px; border-radius: 3px; background: var(--main-soft); overflow: hidden; max-width: 320px; }
.slider__bar i { display: block; height: 100%; width: 25%; background: var(--main); border-radius: 3px; transition: transform .5s var(--ease); }
.slider__play { margin-left: 8px; }
.talk-card { position: relative; display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); align-items: end; margin-top: clamp(80px, 10vw, 140px); text-decoration: none; }
.talk-card__photo .ph { --ar: 16 / 10; border-radius: var(--r-xl) var(--r-xl) var(--r-xl) var(--r-lg); }
.talk-card__badge { position: absolute; left: clamp(16px, 3vw, 40px); top: clamp(-36px, -3vw, -24px); z-index: 2; display: grid; place-items: center; width: clamp(96px, 10vw, 132px); aspect-ratio: 1; border-radius: 50%; background: var(--main); color: var(--white); font-weight: 700; font-size: 18px; text-align: center; line-height: 1.4; }
.talk-card__box { position: relative; margin-left: clamp(-120px, -8vw, -40px); margin-bottom: clamp(-40px, -3vw, -20px); padding: clamp(28px, 4vw, 48px); border-radius: var(--r-lg) var(--r-xl) var(--r-xl) var(--r-xl); background: var(--white); box-shadow: 0 30px 60px -40px rgb(9 30 45 / 40%); display: grid; gap: 18px; }
.talk-card__title { font-size: clamp(21px, 2.1vw, 27px); line-height: 1.6; }
.talk-card__members { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 14px; font-size: 16px; color: var(--ink-sub); line-height: 1.5; }
.talk-card__members .x { color: var(--main); font-weight: 700; }
.talk-card .arw { justify-self: end; background: var(--main); color: var(--white); }
@media (max-width: 900px) {
  .people__layout { grid-template-columns: 1fr; }
  .vtitle { writing-mode: horizontal-tb; flex-direction: column; align-items: flex-start; gap: 6px; }
  .pcard { flex-basis: 74vw; }
  .talk-card { grid-template-columns: 1fr; }
  .talk-card__box { margin: -48px 16px 0; }
}

/* =========================================================
   トップ：数字で見る働き方
   ========================================================= */
.change { position: relative; overflow: hidden; }
.change__grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(20px, 3vw, 32px); }
.change__main { padding: clamp(32px, 4vw, 56px); border-radius: var(--r-xl) var(--r-lg) var(--r-xl) var(--r-xl); background: var(--main); color: var(--white); display: grid; gap: 28px; }
.change__k { font-weight: 700; font-size: 18px; color: var(--main-soft); }
.drop { display: flex; align-items: flex-end; gap: clamp(16px, 3vw, 40px); }
.drop__item { display: grid; gap: 8px; }
.drop__item small { font-size: 16px; color: var(--main-soft); font-weight: 700; }
.drop__v { font-family: var(--ff-en); font-weight: 700; line-height: .9; }
.drop__v small { font-family: var(--ff); font-size: 20px; margin-left: 4px; }
.drop__v b, .stat__v b, .dtile__v b, .bigfig__v b { font-weight: 700; }
.drop__item--before .drop__v { font-size: clamp(56px, 7vw, 96px); color: color-mix(in srgb, white 55%, var(--main)); text-decoration: line-through; text-decoration-thickness: 4px; text-decoration-color: var(--accent); }
.drop__item--after .drop__v { font-size: clamp(96px, 13vw, 180px); color: var(--white); }
.drop__arrow { width: clamp(48px, 7vw, 100px); height: 20px; margin-bottom: 30px; flex: none; }
.drop__arrow path { fill: none; stroke: var(--accent); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 1s .4s var(--ease); }
.change__main.is-in .drop__arrow path { stroke-dashoffset: 0; }
.shrink { display: grid; gap: 10px; }
.shrink__row { display: grid; grid-template-columns: 4.5em minmax(0, 1fr); gap: 14px; align-items: center; font-size: 16px; font-weight: 700; }
.shrink__bar { height: 14px; border-radius: 999px; background: color-mix(in srgb, white 14%, transparent); overflow: hidden; }
.shrink__bar i { display: block; height: 100%; width: 100%; border-radius: 999px; background: color-mix(in srgb, white 60%, var(--main)); transform-origin: left; transition: transform 1.8s .3s var(--ease); }
.change__main.is-in .shrink__row--after .shrink__bar i { transform: scaleX(.25); background: var(--accent); }
.change__side { display: grid; gap: clamp(20px, 3vw, 32px); }
.stat { padding: clamp(28px, 3.4vw, 44px); border-radius: var(--r-lg) var(--r-xl) var(--r-xl) var(--r-xl); background: var(--white); display: grid; gap: 6px; align-content: center; }
.stat__k { font-weight: 700; font-size: 17px; line-height: 1.6; }
.stat__v { font-family: var(--ff-en); font-weight: 700; font-size: clamp(64px, 7vw, 96px); line-height: 1; color: var(--main); }
.stat__v small { font-family: var(--ff); font-size: 20px; margin-left: 6px; color: var(--ink); }
.stat__v small.pre { margin: 0 6px 0 0; }
.stat__note { font-size: 16px; color: var(--ink-sub); }
@media (max-width: 900px) { .change__grid { grid-template-columns: 1fr; } }

/* =========================================================
   共通：応募の段
   ========================================================= */
.entry { position: relative; margin-top: clamp(80px, 10vw, 150px); padding: clamp(60px, 7vw, 100px) 0 clamp(40px, 5vw, 80px); background: var(--main); color: var(--white); overflow: hidden; overflow: clip; }
.entry { overflow: visible; }
.entry > .wire { overflow: hidden; }
.entry__inner { position: relative; z-index: 2; text-align: center; }
.entry__title { font-size: clamp(32px, 4.6vw, 58px); line-height: 1.45; }
.entry__lead { margin-top: 22px; font-size: clamp(17px, 1.5vw, 19px); }
.entry__cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 2.4vw, 32px); margin-top: clamp(48px, 6vw, 72px); text-align: left; }
.ecard {
  position: relative; display: grid; gap: 10px; align-content: start; height: 100%;
  padding: clamp(40px, 4.4vw, 64px) clamp(26px, 2.6vw, 40px) clamp(28px, 3vw, 40px);
  border-radius: 999px 999px var(--r-lg) var(--r-lg);
  background: var(--white); color: var(--ink); text-decoration: none;
  transition: transform .5s var(--ease), box-shadow .5s;
}
.ecard:hover { transform: translateY(-8px); box-shadow: 0 30px 50px -30px rgb(9 30 45 / 60%); }
.ecard__tag { justify-self: start; padding: 2px 14px; border-radius: 999px; background: var(--main-pale); color: var(--main); font-size: 16px; font-weight: 700; }
.entry__cards li:first-child .ecard__tag { background: var(--accent); color: var(--ink); }
.ecard__name { font-size: clamp(24px, 2.4vw, 30px); font-weight: 700; line-height: 1.4; color: var(--main); }
.ecard__text { color: var(--ink-sub); line-height: 1.75; }
.ecard .arw { margin-top: 12px; background: var(--main); color: var(--white); }
.ecard:hover .arw svg { animation: arwMove .55s var(--ease); }
.marquee--entry { position: relative; z-index: 1; margin-top: clamp(56px, 7vw, 90px); color: color-mix(in srgb, white 92%, transparent); }
.entry .wire { --ww: 12; --c1: color-mix(in srgb, white 28%, transparent); --c2: color-mix(in srgb, white 14%, transparent); --c3: color-mix(in srgb, white 8%, transparent); }
@media (max-width: 900px) {
  .entry__cards { grid-template-columns: 1fr; }
  .ecard { border-radius: 999px var(--r-lg) var(--r-lg) 999px; padding: 26px 28px 26px 40px; grid-template-columns: minmax(0, 1fr) auto; column-gap: 12px; }
  .ecard > :not(.arw) { grid-column: 1; }
  .ecard .arw { grid-column: 2; grid-row: 1 / span 3; align-self: center; margin: 0; }
}

/* =========================================================
   フッター
   ========================================================= */
.ft { position: relative; padding: clamp(120px, 12vw, 180px) 0 36px; background: var(--base); }
.ft__inner { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: 48px; }
.ft__logo { text-decoration: none; display: inline-block; }
.ft__name { margin-top: 18px; font-weight: 700; font-size: 18px; }
.ft__addr { margin-top: 8px; line-height: 1.8; }
.ft__note { margin-top: 8px; color: var(--ink-sub); font-size: 16px; }
.motion-toggle { margin-top: 28px; display: inline-flex; align-items: center; gap: 10px; min-height: 48px; padding: 0 20px; border-radius: 999px; border: 1.5px solid var(--main-soft); background: var(--white); color: var(--main); font-weight: 700; font-size: 16px; cursor: pointer; }
.motion-toggle__icon { width: 14px; height: 14px; background: linear-gradient(90deg, currentColor 0 35%, transparent 35% 65%, currentColor 65%); }
.is-still .motion-toggle__icon { background: currentColor; clip-path: polygon(0 0, 100% 50%, 0 100%); }
.ft__nav { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; }
.ft__head { font-weight: 700; margin: 0 0 10px; }
.ft__head + .ft__head, ul + .ft__head { margin-top: 22px; }
.ft__head a { text-decoration: none; }
.ft__col li a { display: inline-flex; align-items: baseline; gap: 10px; padding: 4px 0; text-decoration: none; color: var(--ink-sub); }
.ft__col li a::before { content: ""; width: 10px; height: 2px; background: var(--main); flex: none; translate: 0 -5px; }
.ft__col a:hover, .ft__col a[aria-current] { color: var(--main); }
.ft__bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 64px; padding-top: 28px; border-top: 1px solid var(--main-line); font-size: 16px; color: var(--ink-sub); }
.ft__bottom small { font-size: 16px; font-family: var(--ff-en); letter-spacing: .06em; }
@media (max-width: 900px) {
  .ft__inner { grid-template-columns: 1fr; }
  .ft__nav { grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
}

/* =========================================================
   下層ページ：最初の画面
   ========================================================= */
.pfv { position: relative; padding: calc(var(--hd-h) + 60px) 0 clamp(120px, 12vw, 190px); background: var(--main) linear-gradient(143deg, var(--main) 40%, color-mix(in srgb, var(--sky) 70%, var(--main)) 130%); color: var(--white); overflow: hidden; }
.pfv .wire { --ww: 12; --c1: color-mix(in srgb, white 34%, transparent); --c2: color-mix(in srgb, white 16%, transparent); --c3: color-mix(in srgb, white 9%, transparent); }
.crumb { position: relative; z-index: 2; display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 4px 12px; font-size: 16px; color: var(--main-soft); margin-bottom: clamp(24px, 4vw, 56px); }
.crumb li + li::before { content: "/"; margin-right: 12px; opacity: .6; }
.crumb a { text-decoration: none; }
.crumb a:hover { text-decoration: underline; }
.pfv__inner { position: relative; z-index: 2; display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: clamp(32px, 5vw, 80px); align-items: center; }
.pfv__cat { font-size: 17px; font-weight: 700; color: var(--white); display: inline-flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.pfv__title { font-size: clamp(36px, 5.4vw, 72px); line-height: 1.3; }
.pfv__statement { margin-top: clamp(24px, 3vw, 40px); font-size: clamp(22px, 2.4vw, 32px); font-weight: 700; line-height: 1.6; font-feature-settings: "palt"; }
.pfv__lead { margin-top: 22px; max-width: 38em; color: color-mix(in srgb, white 90%, transparent); }
.pfv__photos { position: relative; height: clamp(320px, 36vw, 500px); }
.pfv__photos > div { position: absolute; }
.pfv__photos > div:nth-child(1) { right: 0; top: 0; width: 82%; }
.pfv__photos > div:nth-child(2) { left: 0; bottom: 0; width: 52%; }
.pfv__photos > div:nth-child(1) .ph { --ar: 4 / 4.4; }
.pfv__photos > div:nth-child(2) .ph { --ar: 1; }
.pfv__en { position: absolute; left: 0; right: 0; bottom: clamp(70px, 8vw, 130px); z-index: 1; color: color-mix(in srgb, white 9%, transparent); }
.anchors { position: relative; z-index: 2; display: flex; flex-wrap: wrap; gap: 12px; margin-top: 40px; }
.anchors a { display: inline-flex; align-items: center; gap: 12px; min-height: 52px; padding: 0 10px 0 24px; border-radius: 999px; border: 1.5px solid color-mix(in srgb, white 60%, transparent); text-decoration: none; font-weight: 700; transition: background .3s, color .3s; }
.anchors a::after { content: ""; display: grid; width: 34px; height: 26px; border-radius: 999px; background: var(--accent) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 14'%3E%3Cpath d='M6 1v11M1.5 7.5L6 12l4.5-4.5' fill='none' stroke='%23091e2d' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 10px no-repeat; }
.anchors a:hover { background: var(--white); color: var(--main); }
@media (max-width: 900px) {
  .pfv { padding-top: calc(var(--hd-h) + 36px); }
  .crumb { justify-content: flex-start; }
  .pfv__inner { grid-template-columns: 1fr; }
  .pfv__photos { height: 76vw; max-height: 460px; }
}

/* =========================================================
   about：強み
   ========================================================= */
.strong-lead { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(40px, 6vw, 96px); align-items: center; }
.strong-lead .ph { --ar: 5 / 4.4; }
.pt-n { display: inline-flex; align-items: baseline; gap: 10px; color: var(--main); font-weight: 700; margin-bottom: 14px; }
.pt-n b { font-family: var(--ff-en); font-size: 44px; line-height: 1; }
.pair { container-type: inline-size; margin-top: clamp(80px, 10vw, 140px); }
.pair__grid { display: grid; gap: 24px; }
@container (width > 52rem) { .pair__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px; } }
.pair__card { padding: clamp(32px, 4vw, 56px); border-radius: var(--r-xl) var(--r-xl) var(--r-xl) var(--r-lg); background: var(--white); display: grid; gap: 18px; align-content: start; }
.ai-steps { display: grid; gap: 10px; margin-top: 10px; }
.ai-steps li { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 14px; align-items: center; padding: 14px 18px; border-radius: 18px; background: var(--main-pale); font-weight: 700; }
.ai-steps li .tag { justify-self: start; }
.ai-steps li.is-human { background: var(--accent-pale); }
.bigfig { position: relative; margin-top: clamp(80px, 10vw, 140px); padding: clamp(48px, 6vw, 96px); border-radius: var(--r-xl); background: var(--main-deep); color: var(--white); overflow: hidden; display: grid; grid-template-columns: auto minmax(0, 1fr); gap: clamp(32px, 6vw, 96px); align-items: center; }
.bigfig__v { font-family: var(--ff-en); font-weight: 700; font-size: clamp(120px, 18vw, 260px); line-height: .85; color: var(--accent); }
.bigfig__v small { font-family: var(--ff); font-size: clamp(28px, 3vw, 40px); color: var(--white); margin-left: 8px; }
.world { position: relative; margin-top: clamp(80px, 10vw, 140px); display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(40px, 6vw, 96px); align-items: center; }
.world .ph { --ar: 4 / 3; }
.lang-marquee { margin-top: clamp(48px, 6vw, 80px); color: color-mix(in srgb, var(--main) 18%, var(--base)); }
.lang-marquee .marquee__track span { font-family: var(--ff); font-weight: 700; letter-spacing: .02em; font-size: clamp(56px, 9vw, 140px); }
@media (max-width: 900px) {
  .strong-lead, .world, .bigfig { grid-template-columns: 1fr; }
}

/* about：データ */
.data { position: relative; background: var(--main); color: var(--white); overflow: hidden; }
.data__grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: clamp(14px, 2vw, 24px); }
.dtile { position: relative; grid-column: span 2; padding: clamp(24px, 3vw, 40px); border-radius: var(--r-lg) var(--r-xl) var(--r-xl) var(--r-xl); background: color-mix(in srgb, white 9%, transparent); display: grid; gap: 10px; align-content: space-between; min-height: 240px; }
.dtile--wide { grid-column: span 4; }
.dtile--full { grid-column: span 6; }
.dtile--light { background: var(--white); color: var(--ink); }
.dtile__k { font-weight: 700; font-size: 17px; line-height: 1.6; }
.dtile__v { font-family: var(--ff-en); font-weight: 700; font-size: clamp(64px, 8vw, 116px); line-height: .95; color: var(--white); }
.dtile--light .dtile__v { color: var(--main); }
.dtile__v small { font-family: var(--ff); font-size: clamp(18px, 1.8vw, 24px); margin-left: 6px; }
.dtile__note { font-size: 16px; color: color-mix(in srgb, white 80%, transparent); }
.dtile--light .dtile__note { color: var(--ink-sub); }
.dtile__words { display: flex; flex-wrap: wrap; gap: 10px; }
.dtile__words li { padding: 6px 18px; border-radius: 999px; background: var(--white); color: var(--main); font-weight: 700; font-size: 18px; }
@media (max-width: 900px) {
  .data__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .dtile, .dtile--wide { grid-column: span 2; min-height: 0; }
}

/* about：正直な話（足りないもの） */
.honest__grid { display: grid; gap: 18px; }
.honest__item { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 18px 32px; align-items: center; padding: clamp(24px, 3vw, 40px) clamp(24px, 3.4vw, 48px); border-radius: var(--r-lg) var(--r-xl) var(--r-xl) var(--r-lg); background: var(--white); text-decoration: none; transition: transform .5s var(--ease), background .3s; }
.honest__item:hover { transform: translateX(8px); background: color-mix(in srgb, var(--main) 6%, white); }
.honest__k { font-size: 16px; font-weight: 700; color: var(--main); }
.honest__t { font-size: clamp(19px, 1.8vw, 23px); font-weight: 700; line-height: 1.6; }
.honest__item .arw { background: var(--main); color: var(--white); }

/* =========================================================
   history：歩み
   ========================================================= */
.tl { position: relative; padding-left: clamp(40px, 8vw, 120px); }
.tl__rail { position: absolute; left: clamp(12px, 3vw, 44px); top: 0; bottom: 0; width: 6px; border-radius: 6px; background: var(--main-soft); overflow: hidden; }
.tl__rail i { position: absolute; inset: 0; background: var(--main); transform-origin: top; transform: scaleY(var(--p, 0)); }
.tl__item { position: relative; display: grid; grid-template-columns: minmax(130px, 2fr) minmax(0, 7fr); gap: clamp(16px, 4vw, 56px); padding: clamp(28px, 4vw, 52px) 0; }
.tl__item + .tl__item { border-top: 1px dashed var(--main-soft); }
.tl__item::before { content: ""; position: absolute; left: calc(clamp(40px, 8vw, 120px) * -1 + clamp(12px, 3vw, 44px) - 9px); top: clamp(40px, 4.6vw, 62px); width: 24px; height: 24px; border-radius: 50%; background: var(--base); border: 4px solid var(--main-soft); transition: background .4s, border-color .4s, transform .5s var(--ease); }
.tl__item.is-pass::before { background: var(--accent); border-color: var(--main); transform: scale(1.15); }
.tl__year { font-family: var(--ff-en); font-weight: 700; font-size: clamp(48px, 6vw, 84px); line-height: 1; color: var(--main-soft); transition: color .5s; }
.tl__item.is-pass .tl__year { color: var(--main); }
.tl__year small { display: block; font-family: var(--ff); font-size: 16px; color: var(--ink-sub); margin-top: 8px; }
.tl__body { display: grid; gap: 12px; align-content: start; }
.tl__title { font-size: clamp(21px, 2.2vw, 28px); line-height: 1.55; }
.tl__body .ph { --ar: 16 / 9; max-width: 520px; margin-top: 10px; }
.tl__item--next .tl__year { font-family: var(--ff); font-size: clamp(32px, 3.6vw, 46px); }
@media (max-width: 767px) { .tl__item { grid-template-columns: 1fr; } }

/* =========================================================
   work：制御盤の図／工程の横スクロール／納期の比較
   ========================================================= */
.panel-fig { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(40px, 6vw, 96px); align-items: center; }
.cabinet { position: relative; width: 100%; max-width: 520px; margin-inline: auto; }
.cabinet svg { width: 100%; height: auto; overflow: visible; }
.cabinet .c-box { fill: var(--white); stroke: var(--main); stroke-width: 4; }
.cabinet .c-part { fill: var(--main-pale); stroke: var(--main); stroke-width: 2.5; }
.cabinet .c-plc { fill: var(--main); }
.cabinet .c-wire { fill: none; stroke: var(--main-soft); stroke-width: 3; stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 1.8s var(--ease); }
.cabinet .c-wire.is-acc { stroke: var(--accent); }
.cabinet .c-lamp { fill: var(--accent); }
.cabinet .c-p { opacity: 0; transform: translateY(10px); transition: opacity .6s var(--ease), transform .8s var(--ease); transform-box: fill-box; }
.cabinet.is-in .c-p { opacity: 1; transform: none; }
.cabinet.is-in .c-wire { stroke-dashoffset: 0; transition-delay: .8s; }
.cabinet__label { position: absolute; padding: 4px 14px; border-radius: 999px; background: var(--ink); color: var(--white); font-size: 16px; font-weight: 700; white-space: nowrap; opacity: 0; transform: translateY(6px); transition: opacity .5s, transform .6s var(--ease); }
.cabinet.is-in .cabinet__label { opacity: 1; transform: none; transition-delay: calc(1.2s + var(--i, 0) * .15s); }
@media (max-width: 900px) { .panel-fig { grid-template-columns: 1fr; } }

.hscroll { position: relative; background: var(--main-deep); color: var(--white); }
.hscroll__sticky { position: sticky; top: 0; height: 100svh; overflow: hidden; display: flex; flex-direction: column; justify-content: center; padding-top: var(--hd-h); }
.hscroll__head { display: flex; justify-content: space-between; align-items: end; gap: 24px; margin-bottom: clamp(28px, 4vw, 48px); }
.hscroll__count { font-family: var(--ff-en); font-size: 22px; font-weight: 600; letter-spacing: .1em; color: var(--main-soft); white-space: nowrap; }
.hscroll__count b { font-size: 48px; color: var(--accent); }
.hscroll__track { display: flex; gap: clamp(20px, 2.4vw, 32px); padding-inline: var(--gut); will-change: transform; }
.step { flex: 0 0 clamp(300px, 30vw, 420px); padding: clamp(24px, 2.6vw, 36px); border-radius: var(--r-lg) var(--r-xl) var(--r-xl) var(--r-xl); background: color-mix(in srgb, white 8%, transparent); display: grid; gap: 14px; align-content: start; }
.step.is-human { background: var(--white); color: var(--ink); }
.step__top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.step__n { font-family: var(--ff-en); font-weight: 700; font-size: 56px; line-height: 1; color: var(--main-soft); }
.step.is-human .step__n { color: var(--accent); }
.step__tags { display: flex; flex-wrap: wrap; gap: 6px; justify-content: flex-end; }
.step__name { font-size: clamp(22px, 2vw, 26px); line-height: 1.5; }
.step .ph { --ar: 16 / 10; border-radius: 20px; }
.step__text { line-height: 1.85; }
.step.is-human .step__text { color: var(--ink-sub); }
.hscroll__bar { height: 4px; margin: clamp(28px, 4vw, 44px) var(--gut) 0; border-radius: 4px; background: color-mix(in srgb, white 16%, transparent); overflow: hidden; }
.hscroll__bar i { display: block; height: 100%; background: var(--accent); transform-origin: left; transform: scaleX(var(--p, 0)); }
@media (max-width: 900px), (max-height: 640px) {
  .hscroll { height: auto !important; }
  .hscroll__sticky { position: relative; height: auto; padding: var(--sec) 0; }
  .hscroll__track { flex-direction: column; transform: none !important; }
  .step { flex-basis: auto; }
  .hscroll__bar, .hscroll__count { display: none; }
}

.speed { display: grid; gap: 22px; }
.speed__row { display: grid; grid-template-columns: 10em minmax(0, 1fr); gap: 20px; align-items: center; }
.speed__name { font-weight: 700; line-height: 1.5; }
.speed__bar { display: flex; height: 56px; border-radius: 18px; overflow: hidden; width: var(--w); transform-origin: left; transform: scaleX(0); transition: transform 1.6s var(--ease); }
.speed.is-in .speed__bar { transform: none; }
.speed.is-in .speed__row + .speed__row .speed__bar { transition-delay: .35s; }
.speed__bar span { display: grid; place-items: center; font-size: 16px; font-weight: 700; color: var(--ink); white-space: nowrap; overflow: hidden; padding: 0 6px; }
.speed__bar .s1 { background: color-mix(in srgb, var(--main) 30%, white); }
.speed__bar .s2 { background: color-mix(in srgb, var(--main) 18%, white); }
.speed__bar .s3 { background: color-mix(in srgb, var(--main) 40%, white); }
.speed__bar .s4 { background: var(--accent); }
.speed__legend { display: flex; flex-wrap: wrap; gap: 8px 20px; font-size: 16px; color: var(--ink-sub); }
.speed__legend i { display: inline-block; width: 14px; height: 14px; border-radius: 4px; margin-right: 6px; vertical-align: -1px; }
@media (max-width: 767px) { .speed__row { grid-template-columns: 1fr; gap: 8px; } .speed__bar span { font-size: 16px; } }

/* =========================================================
   jobs：持ち場の図／職種
   ========================================================= */
.map { position: relative; padding: clamp(32px, 5vw, 64px); border-radius: var(--r-xl); background: var(--white); container-type: inline-size; }
.map__factory { position: relative; padding: clamp(28px, 4vw, 48px) clamp(16px, 3vw, 40px); border: 3px dashed var(--main-soft); border-radius: var(--r-lg); }
.map__factory-label { position: absolute; top: -18px; left: 28px; padding: 2px 16px; border-radius: 999px; background: var(--white); color: var(--main); font-weight: 700; font-size: 16px; border: 2px solid var(--main-soft); }
.map__flow { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 10px; }
.map__node { position: relative; padding: 18px 10px; border-radius: 18px; background: var(--main-pale); text-align: center; font-weight: 700; line-height: 1.5; }
.map__node:not(:last-child)::after { content: ""; position: absolute; right: -10px; top: 50%; width: 10px; height: 3px; background: var(--main-soft); }
.map__node small { display: block; font-size: 16px; color: var(--ink-sub); font-weight: 500; }
.map__pins { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 10px; margin-top: 14px; }
.map__pin { display: grid; justify-items: center; gap: 6px; text-decoration: none; }
.map__pin::before { content: ""; width: 3px; height: 26px; background: var(--accent); }
.map__pin span { padding: 6px 14px; border-radius: 999px; background: var(--accent); color: var(--ink); font-weight: 700; font-size: 16px; text-align: center; line-height: 1.45; }
.map__pin.is-empty::before, .map__pin.is-empty span { visibility: hidden; }
.map__all { margin-top: 26px; display: flex; flex-wrap: wrap; gap: 12px 18px; align-items: center; justify-content: center; font-weight: 700; color: var(--main); }
.map__all a { text-decoration: none; padding: 8px 18px; border-radius: 999px; background: var(--accent); color: var(--ink); }
@container (width < 44rem) {
  .map__flow, .map__pins { grid-template-columns: 1fr; }
  .map__node:not(:last-child)::after { right: 50%; top: auto; bottom: -10px; width: 3px; height: 10px; }
  .map__pins { display: flex; flex-wrap: wrap; justify-content: center; }
  .map__pin::before { display: none; }
  .map__pin.is-empty { display: none; }
}

.jobs-layout { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: clamp(32px, 5vw, 80px); align-items: start; }
.side-nav { position: sticky; top: calc(var(--hd-h) + 40px); display: grid; gap: 6px; }
.side-nav a { display: flex; align-items: center; gap: 12px; padding: 12px 16px; border-radius: 16px; text-decoration: none; font-weight: 700; color: var(--ink-sub); transition: background .3s, color .3s; }
.side-nav a::before { content: ""; width: 10px; height: 10px; border-radius: 50%; border: 2px solid var(--main-soft); flex: none; transition: background .3s, border-color .3s; }
.side-nav a.is-current { background: var(--white); color: var(--main); }
.side-nav a.is-current::before { background: var(--accent); border-color: var(--accent); }
.job { padding: clamp(32px, 4.4vw, 64px); border-radius: var(--r-xl) var(--r-xl) var(--r-xl) var(--r-lg); background: var(--white); display: grid; gap: 28px; }
.job + .job { margin-top: clamp(28px, 4vw, 48px); }
.job__head { display: grid; grid-template-columns: minmax(0, 1fr) clamp(160px, 22%, 240px); gap: 24px 40px; align-items: center; }
.job__head .ph { --ar: 1; }
.job__kind { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 14px; }
.job__name { font-size: clamp(28px, 3.2vw, 40px); color: var(--main); line-height: 1.4; }
.job__catch { margin-top: 10px; font-size: clamp(19px, 1.8vw, 22px); font-weight: 700; line-height: 1.6; }
.job__dl { display: grid; gap: 0; border-top: 1px solid var(--main-pale); }
.job__dl > div { display: grid; grid-template-columns: 9em minmax(0, 1fr); gap: 20px; padding: 18px 0; border-bottom: 1px solid var(--main-pale); }
.job__dl dt { font-weight: 700; color: var(--main); }
.job__dl dd { margin: 0; }
.job__dl ul li { position: relative; padding-left: 1.1em; }
.job__dl ul li::before { content: ""; position: absolute; left: 0; top: .85em; width: 6px; height: 6px; border-radius: 50%; background: var(--main); }
.job__voice { padding: 22px 26px; border-radius: 22px; background: var(--main-pale); font-weight: 700; line-height: 1.8; }
.job__voice small { display: block; margin-top: 6px; font-weight: 500; font-size: 16px; color: var(--ink-sub); }
.job__links { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 32px; }
@media (max-width: 1000px) {
  .jobs-layout { grid-template-columns: 1fr; }
  .side-nav { position: sticky; top: calc(var(--hd-h) + 8px); z-index: 5; grid-auto-flow: column; overflow-x: auto; background: rgb(240 247 250 / 86%); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); padding: 8px; border-radius: 20px; scrollbar-width: none; }
  .side-nav a { white-space: nowrap; }
}
@media (max-width: 767px) {
  .job__head { grid-template-columns: 1fr; }
  .job__head .ph { max-width: 220px; }
  .job__dl > div { grid-template-columns: 1fr; gap: 4px; }
}

.steps-path { display: grid; gap: 18px; }
.path { display: grid; grid-template-columns: 11em repeat(4, minmax(0, 1fr)); gap: 10px; align-items: stretch; }
.path__job { display: grid; align-content: center; padding: 16px 20px; border-radius: 18px; background: var(--main); color: var(--white); font-weight: 700; line-height: 1.5; }
.path__st { position: relative; padding: 16px 18px; border-radius: 18px; background: var(--white); line-height: 1.6; }
.path__st small { display: block; font-family: var(--ff-en); font-weight: 700; font-size: 18px; color: var(--main); letter-spacing: .04em; }
@media (max-width: 900px) { .path { grid-template-columns: 1fr 1fr; } .path__job { grid-column: 1 / -1; } }

/* =========================================================
   インタビュー
   ========================================================= */
.ifv { position: relative; padding: calc(var(--hd-h) + 60px) 0 0; background: var(--main); color: var(--white); overflow: hidden; }
.ifv__inner { position: relative; z-index: 2; display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr) auto; gap: clamp(24px, 4vw, 56px); align-items: end; }
.ifv__text { padding-bottom: clamp(120px, 14vw, 220px); }
.ifv__title { font-size: clamp(32px, 4.4vw, 58px); line-height: 1.45; }
.ifv__meta { margin-top: 26px; display: flex; flex-wrap: wrap; gap: 6px 18px; font-weight: 700; color: color-mix(in srgb, white 88%, transparent); }
.ifv__photo .ph { --ar: 3 / 4.1; border-radius: 999px 999px 0 0; }
.ifv__en { writing-mode: vertical-rl; font-family: var(--ff-en); font-weight: 700; font-size: clamp(56px, 7vw, 104px); letter-spacing: .14em; line-height: 1; color: color-mix(in srgb, white 22%, transparent); padding-bottom: clamp(60px, 8vw, 120px); }
.ifv .wire { --ww: 12; --c1: color-mix(in srgb, white 30%, transparent); --c2: color-mix(in srgb, white 15%, transparent); --c3: color-mix(in srgb, white 8%, transparent); }
.profile { position: relative; z-index: 3; margin-top: -1px; background: var(--base); padding: clamp(56px, 7vw, 96px) 0 0; }
.profile__box { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 16px clamp(24px, 4vw, 56px); align-items: start; }
.profile__k { font-family: var(--ff-en); font-weight: 700; font-size: 24px; letter-spacing: .14em; color: var(--main); line-height: 1.6; }
@media (max-width: 900px) {
  .ifv__inner { grid-template-columns: 1fr; }
  .ifv__text { padding-bottom: 20px; }
  .ifv__photo { width: 76%; margin-left: auto; }
  .ifv__en { display: none; }
  .profile__box { grid-template-columns: 1fr; }
}
.qa { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(36px, 6vw, 96px); align-items: center; }
.qa + .qa, .qa + .qa-wide, .qa-wide + .qa, .qa-wide + .qa-quote, .qa-quote + .qa { margin-top: clamp(80px, 10vw, 140px); }
.qa--rev .qa__text { order: 2; }
.qa__q { font-size: clamp(22px, 2.4vw, 30px); color: var(--main); line-height: 1.55; margin-bottom: 14px; }
.qa__sub { font-size: clamp(18px, 1.6vw, 20px); font-weight: 700; color: var(--ink-sub); margin-bottom: 18px; line-height: 1.6; }
.qa .ph { --ar: 4 / 3.4; }
.qa-wide .ph { --ar: 21 / 9; margin-bottom: clamp(36px, 5vw, 64px); }
.qa-wide__text { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: clamp(24px, 5vw, 80px); }
.qa-quote { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(36px, 6vw, 96px); align-items: start; }
.qa-quote__big { font-size: clamp(26px, 3.2vw, 42px); font-weight: 700; line-height: 1.6; color: var(--main); font-feature-settings: "palt"; position: sticky; top: calc(var(--hd-h) + 60px); text-wrap: balance; }
@media (max-width: 900px) {
  .qa, .qa-wide__text, .qa-quote { grid-template-columns: 1fr; }
  .qa--rev .qa__text { order: 0; }
  .qa-quote__big { position: static; }
}
.sched { position: relative; display: grid; gap: 0; }
.sched::before { content: ""; position: absolute; left: 4.9em; top: 20px; bottom: 20px; width: 3px; background: var(--main-soft); border-radius: 3px; }
.sched li { position: relative; display: grid; grid-template-columns: 4em minmax(0, 1fr); gap: 2.4em; padding: 14px 0; align-items: baseline; }
.sched li::before { content: ""; position: absolute; left: calc(4.9em - 6px); top: 26px; width: 15px; height: 15px; border-radius: 50%; background: var(--white); border: 3px solid var(--main); }
.sched li.is-last::before { background: var(--accent); border-color: var(--accent); }
.sched time { font-family: var(--ff-en); font-weight: 700; font-size: 24px; color: var(--main); line-height: 1.2; }
.sched__wrap { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(40px, 6vw, 96px); align-items: start; padding: clamp(40px, 6vw, 80px); border-radius: var(--r-xl); background: var(--white); }
@media (max-width: 900px) { .sched__wrap { grid-template-columns: 1fr; } }
.msg { position: relative; padding: clamp(48px, 7vw, 110px) clamp(28px, 6vw, 96px); border-radius: var(--r-xl); background: var(--main-deep); color: var(--white); overflow: hidden; }
.msg__k { font-weight: 700; color: var(--accent); margin-bottom: 18px; }
.msg__text { font-size: clamp(22px, 2.6vw, 34px); font-weight: 700; line-height: 1.75; font-feature-settings: "palt"; max-width: 27em; text-wrap: pretty; }
@media (max-width: 767px) { .msg .wire { display: none; } }
.msg__cta { margin-top: 40px; display: flex; flex-wrap: wrap; gap: 16px 28px; align-items: center; }
.msg .wire { --ww: 10; --c1: color-mix(in srgb, white 22%, transparent); --c2: color-mix(in srgb, white 11%, transparent); --c3: color-mix(in srgb, white 6%, transparent); }
.related { container-type: inline-size; }
.related__grid { display: grid; gap: 28px; }
@container (width > 46rem) { .related__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.related .pcard { flex: none; }
.related .pcard:nth-child(even) { margin-top: 0; }
@container (width > 46rem) { .related .pcard:nth-child(2) { margin-top: 56px; } }

/* =========================================================
   座談会
   ========================================================= */
.members { display: flex; flex-wrap: wrap; gap: 14px 28px; margin-top: 28px; }
.member { display: flex; align-items: center; gap: 12px; }
.avatar { flex: none; display: grid; place-items: center; width: 60px; height: 60px; border-radius: 50%; font-family: var(--ff-en); font-weight: 700; font-size: 22px; letter-spacing: .04em; }
.avatar--a { background: var(--white); color: var(--main); }
.avatar--b { background: var(--accent); color: var(--ink); }
.avatar--c { background: var(--main-soft); color: var(--main-deep); }
.member__t { line-height: 1.5; font-size: 16px; }
.member__t b { display: block; font-size: 18px; }
.topic + .topic { margin-top: clamp(80px, 10vw, 130px); }
.topic__head { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 20px; align-items: baseline; margin-bottom: clamp(28px, 4vw, 48px); }
.topic__n { font-family: var(--ff-en); font-weight: 700; font-size: 56px; line-height: 1; color: var(--main-soft); }
.chat { display: grid; gap: 20px; }
.chat__row { display: grid; grid-template-columns: 60px minmax(0, 1fr); gap: 18px; align-items: start; max-width: 860px; }
.chat__row--r { grid-template-columns: minmax(0, 1fr) 60px; margin-left: auto; }
.chat__row--r .avatar { order: 2; }
.chat__bubble { position: relative; padding: 20px 26px; border-radius: 6px 28px 28px 28px; background: var(--white); line-height: 1.9; }
.chat__row--r .chat__bubble { border-radius: 28px 6px 28px 28px; background: color-mix(in srgb, var(--main) 8%, white); }
.chat__name { display: block; font-size: 16px; font-weight: 700; color: var(--main); margin-bottom: 4px; }
.js .chat__row { opacity: 0; transform: translateY(24px); transition: opacity .7s var(--ease), transform .8s var(--ease); }
.js .chat__row.is-in { opacity: 1; transform: none; }
.talk-photo .ph { --ar: 21 / 9; border-radius: var(--r-xl); }
.talk-stats { container-type: inline-size; }
.talk-stats__grid { display: grid; gap: 18px; }
@container (width > 50rem) { .talk-stats__grid { grid-template-columns: 1.3fr 1fr 1fr; } }
.talk-stats .stat { background: var(--white); }
.talk-stats .stat:first-child { background: var(--main); color: var(--white); }
.talk-stats .stat:first-child .stat__v, .talk-stats .stat:first-child .stat__v small { color: var(--white); }
.talk-stats .stat:first-child .stat__note { color: var(--main-soft); }

/* =========================================================
   研修・福利厚生
   ========================================================= */
.road { position: relative; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; padding-top: 50px; }
.road::before { content: ""; position: absolute; left: 0; right: 0; top: 14px; height: 6px; border-radius: 6px; background: var(--main-soft); }
.road::after { content: ""; position: absolute; left: 0; right: 0; top: 14px; height: 6px; border-radius: 6px; background: var(--main); transform: scaleX(0); transform-origin: left; transition: transform 2.2s var(--ease); }
.road.is-in::after { transform: scaleX(1); }
.road li { position: relative; z-index: 1; padding: 24px; border-radius: var(--r-lg); background: var(--white); display: grid; gap: 8px; align-content: start; }
.road li::before { content: ""; position: absolute; left: 24px; top: -44px; width: 22px; height: 22px; border-radius: 50%; background: var(--white); border: 5px solid var(--main); }
.road__when { font-weight: 700; color: var(--main); }
.road__title { font-size: 20px; line-height: 1.5; }
@media (max-width: 900px) {
  .road { grid-template-columns: 1fr; padding-top: 0; padding-left: 40px; }
  .road::before, .road::after { left: 10px; right: auto; top: 0; bottom: 0; width: 6px; height: auto; }
  .road::after { transform: scaleY(0); transform-origin: top; }
  .road.is-in::after { transform: scaleY(1); }
  .road li::before { left: -40px; top: 26px; }
}
.learn { position: relative; padding: clamp(48px, 7vw, 100px) clamp(28px, 6vw, 96px); border-radius: var(--r-xl); background: var(--main-deep); color: var(--white); overflow: hidden; }
.learn__grid { position: relative; z-index: 2; display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(32px, 6vw, 96px); align-items: center; }
.learn__list { display: grid; gap: 14px; }
.learn__list li { padding: 22px 26px; border-radius: 22px; background: color-mix(in srgb, white 9%, transparent); }
.learn__list b { display: block; font-size: 19px; margin-bottom: 4px; }
.learn .wire { --ww: 10; --c1: color-mix(in srgb, white 22%, transparent); --c2: color-mix(in srgb, white 11%, transparent); --c3: color-mix(in srgb, white 6%, transparent); }
@media (max-width: 900px) { .learn__grid { grid-template-columns: 1fr; } }
.lic { display: flex; flex-wrap: wrap; gap: 12px; }
.lic li { padding: 12px 22px; border-radius: 999px; background: var(--white); border: 2px solid var(--main-soft); font-weight: 700; }
.two { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 96px); align-items: center; }
.two .ph { --ar: 4 / 3; }
@media (max-width: 900px) { .two { grid-template-columns: 1fr; } }

.facts-grid { container-type: inline-size; }
.facts-grid__list { display: grid; gap: 16px; }
@container (width > 40rem) { .facts-grid__list { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@container (width > 64rem) { .facts-grid__list { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.fact { padding: 26px 28px; border-radius: var(--r-lg) var(--r-xl) var(--r-xl) var(--r-xl); background: var(--white); display: grid; gap: 8px; align-content: start; }
.fact__k { font-size: 19px; font-weight: 700; color: var(--main); line-height: 1.5; }
.fact__v { line-height: 1.8; color: var(--ink-sub); }
.fact--hl { background: var(--main); color: var(--white); }
.fact--hl .fact__k { color: var(--white); }
.fact--hl .fact__v { color: color-mix(in srgb, white 88%, transparent); }

.chart { position: relative; padding: clamp(28px, 4vw, 56px); border-radius: var(--r-xl); background: var(--white); }
.chart__title { font-weight: 700; color: var(--main); margin-bottom: 18px; }
.ot { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: end; gap: clamp(8px, 2vw, 24px); }
.ot__col { display: grid; justify-items: center; gap: 12px; }
.ot__track { display: flex; flex-direction: column; justify-content: flex-end; align-items: center; gap: 10px; height: clamp(230px, 24vw, 280px); width: 100%; border-bottom: 2px solid var(--main-soft); }
.ot__v { font-weight: 700; color: var(--ink-sub); white-space: nowrap; opacity: 0; transition: opacity .5s .2s; }
.ot__v b { font-family: var(--ff-en); font-size: clamp(40px, 4.4vw, 56px); line-height: 1; color: var(--main); margin-right: 2px; }
.ot__bar { display: block; width: min(100%, 120px); height: calc(var(--h) * 0.62); border-radius: 18px 18px 4px 4px; background: color-mix(in srgb, var(--main) 30%, white); transform: scaleY(0); transform-origin: bottom; transition: transform 1.2s var(--ease); }
.ot__col.is-now .ot__bar { background: var(--accent); transition-delay: .5s; }
.ot__col.is-now .ot__v { transition-delay: 1.2s; }
.ot__col.is-now .ot__v b { color: var(--ink); }
.ot__k { font-weight: 700; }
.ot__diff { align-self: center; display: grid; justify-items: center; gap: 2px; padding-bottom: 40px; font-size: 16px; color: var(--ink-sub); text-align: center; opacity: 0; transition: opacity .5s 1.5s; }
.ot__diff span { font-family: var(--ff-en); font-weight: 700; font-size: 20px; color: var(--main); }
.chart.is-in .ot__bar { transform: none; }
.chart.is-in .ot__v, .chart.is-in .ot__diff { opacity: 1; }
.chart__note { margin-top: 14px; font-size: 16px; color: var(--ink-sub); }

/* =========================================================
   募集要項・よくある質問
   ========================================================= */
.tabs { display: flex; gap: 10px; border-bottom: 4px solid var(--main); }
.tabs button { position: relative; min-height: 64px; padding: 0 clamp(20px, 3vw, 40px); border: 0; border-radius: 22px 22px 0 0; background: var(--main-soft); color: var(--main-deep); font-weight: 700; font-size: 18px; cursor: pointer; transition: background .3s, color .3s, transform .3s; transform: translateY(6px); }
.tabs button[aria-selected="true"] { background: var(--main); color: var(--white); transform: none; }
.tabpanel { padding-top: clamp(28px, 4vw, 48px); }
.tabpanel[hidden] { display: none; }
.js .tabpanel:not([hidden]) { animation: fadeUp .6s var(--ease); }
@keyframes fadeUp { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.acc { border-radius: var(--r-lg); background: var(--white); overflow: hidden; }
.acc + .acc { margin-top: 14px; }
.acc__btn { display: flex; align-items: center; justify-content: space-between; gap: 20px; width: 100%; padding: 24px clamp(20px, 3vw, 36px); border: 0; background: none; text-align: left; cursor: pointer; font-weight: 700; font-size: clamp(18px, 1.7vw, 21px); line-height: 1.55; }
.acc__btn .q { display: inline-grid; place-items: center; flex: none; width: 40px; height: 40px; border-radius: 50%; background: var(--main); color: var(--white); font-family: var(--ff-en); font-size: 20px; margin-right: 14px; }
.acc__btn > span:first-child { display: flex; align-items: center; }
.acc__icon { position: relative; flex: none; width: 40px; height: 40px; border-radius: 50%; background: var(--main-pale); }
.acc__icon::before, .acc__icon::after { content: ""; position: absolute; left: 50%; top: 50%; width: 14px; height: 2px; translate: -50% -50%; background: var(--main); transition: transform .4s var(--ease); }
.acc__icon::after { transform: rotate(90deg); }
.acc.is-open .acc__icon::after { transform: rotate(0deg); }
.acc__panel { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .5s var(--ease); }
.acc.is-open .acc__panel { grid-template-rows: 1fr; }
.acc__inner { overflow: hidden; }
.acc__body { padding: 0 clamp(20px, 3vw, 36px) 28px; }
.req-table { width: 100%; border-collapse: collapse; }
.req-table th, .req-table td { padding: 18px 0; border-top: 1px solid var(--main-pale); text-align: left; vertical-align: top; line-height: 1.85; }
.req-table th { width: 9em; padding-right: 20px; color: var(--main); font-weight: 700; }
.req-table .money { font-family: var(--ff-en); font-size: 22px; font-weight: 700; font-feature-settings: "tnum"; color: var(--ink); }
@media (max-width: 767px) {
  .req-table th, .req-table td { display: block; width: auto; padding: 0; border: 0; }
  .req-table th { padding-top: 16px; border-top: 1px solid var(--main-pale); }
  .req-table td { padding: 4px 0 16px; }
}
.flowline { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.flowline li { padding: 8px 16px; border-radius: 999px; background: var(--main-pale); font-weight: 700; }
.flowline li:not(:last-child)::after { content: "→"; margin-left: 12px; color: var(--main); }
.faq-layout { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: clamp(32px, 5vw, 80px); align-items: start; }
.faq-group + .faq-group { margin-top: clamp(48px, 6vw, 80px); }
.faq-group__title { font-size: clamp(22px, 2.2vw, 28px); color: var(--main); margin-bottom: 20px; }
.acc__a { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 14px; }
.acc__a .a { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--accent); color: var(--ink); font-family: var(--ff-en); font-size: 20px; font-weight: 700; }
@media (max-width: 1000px) { .faq-layout { grid-template-columns: 1fr; } }

/* =========================================================
   エントリーフォーム
   ========================================================= */
.form-page { padding: calc(var(--hd-h) + 56px) 0 var(--sec); background: var(--base); position: relative; overflow: hidden; }
.form-hero { text-align: center; margin-bottom: clamp(40px, 5vw, 64px); }
.form-hero__title { font-size: clamp(36px, 5vw, 60px); color: var(--main); }
.form-hero__lead { margin-top: 14px; font-size: clamp(18px, 1.6vw, 20px); font-weight: 700; }
.form-layout { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: clamp(24px, 4vw, 56px); align-items: start; }
.form-card { padding: clamp(28px, 4vw, 56px); border-radius: var(--r-xl) var(--r-xl) var(--r-xl) var(--r-lg); background: var(--white); box-shadow: 0 40px 80px -60px rgb(9 30 45 / 40%); }
.progress { margin-bottom: clamp(28px, 4vw, 44px); container-type: inline-size; }
@container (width < 30rem) { .progress__step .pl { display: none; } }
.progress__steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.progress__step { display: grid; gap: 8px; align-content: end; font-size: 16px; font-weight: 700; color: var(--ink-sub); }
.progress__step i { height: 6px; border-radius: 6px; background: var(--main-pale); overflow: hidden; }
.progress__step i::after { content: ""; display: block; height: 100%; background: var(--main); transform: scaleX(0); transform-origin: left; transition: transform .6s var(--ease); }
.progress__step.is-done i::after, .progress__step.is-now i::after { transform: scaleX(1); }
.progress__step.is-now { color: var(--main); }
.fstep[hidden] { display: none; }
.js .fstep:not([hidden]) { animation: stepIn .6s var(--ease); }
@keyframes stepIn { from { opacity: 0; transform: translateX(24px); } to { opacity: 1; transform: none; } }
.field { border: 0; margin: 0 0 clamp(28px, 4vw, 40px); padding: 0; }
.field__label, .field legend { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; padding: 0; margin-bottom: 12px; font-weight: 700; font-size: 18px; }
.req, .opt { padding: 1px 10px; border-radius: 999px; font-size: 16px; font-weight: 700; line-height: 1.6; }
.req { background: var(--accent); color: var(--ink); }
.opt { background: var(--main-pale); color: var(--main); }
.field__hint { margin: -4px 0 12px; font-size: 16px; color: var(--ink-sub); }
.choices { display: grid; gap: 12px; }
.choices--3 { grid-template-columns: 1fr; container-type: inline-size; }
@container (width > 34rem) { .choices--3 .choice { grid-template-columns: 9.5em minmax(0, 1fr); column-gap: 20px; align-items: baseline; } }
.choice { position: relative; display: grid; gap: 4px; padding: 20px 22px 20px 58px; border: 2px solid var(--main-pale); border-radius: 22px; background: var(--white); cursor: pointer; transition: border-color .3s, background .3s, transform .3s var(--ease); }
.choice:hover { border-color: var(--main-soft); }
.choice input { position: absolute; left: 20px; top: 24px; width: 24px; height: 24px; margin: 0; accent-color: var(--main); }
.choice__name { font-weight: 700; font-size: 19px; line-height: 1.5; }
.choice__text { font-size: 16px; color: var(--ink-sub); line-height: 1.65; }
.choice:has(input:checked) { border-color: var(--main); background: var(--main-pale); }
.choice:has(input:focus-visible) { outline: 3px solid var(--accent); outline-offset: 2px; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip { position: relative; display: inline-flex; align-items: center; min-height: 50px; padding: 0 22px 0 46px; border: 2px solid var(--main-pale); border-radius: 999px; cursor: pointer; font-weight: 700; transition: border-color .3s, background .3s; }
.chip input { position: absolute; left: 16px; top: 50%; translate: 0 -50%; width: 20px; height: 20px; margin: 0; accent-color: var(--main); }
.chip:has(input:checked) { border-color: var(--main); background: var(--main-pale); color: var(--main-deep); }
.chip:has(input:focus-visible) { outline: 3px solid var(--accent); outline-offset: 2px; }
.input, .textarea, .select {
  width: 100%; min-height: 58px; padding: 14px 18px;
  border: 2px solid color-mix(in srgb, var(--main) 22%, white); border-radius: 16px;
  background: var(--white); font: inherit; font-size: 18px; color: var(--ink);
  transition: border-color .3s, box-shadow .3s;
}
.textarea { min-height: 140px; resize: vertical; line-height: 1.8; }
.input:focus, .textarea:focus, .select:focus { outline: none; border-color: var(--main); box-shadow: 0 0 0 4px color-mix(in srgb, var(--main) 18%, transparent); }
.input::placeholder, .textarea::placeholder { color: color-mix(in srgb, var(--ink) 50%, white); }
.input[aria-invalid="true"], .textarea[aria-invalid="true"] { border-color: #c2410c; background: #fff7f2; }
.field__error { display: none; margin-top: 8px; font-size: 16px; font-weight: 700; color: #b23a06; }
.field.is-error .field__error { display: block; }
.field__ok { display: none; margin-top: 8px; font-size: 16px; color: var(--main); font-weight: 700; }
.field.is-ok .field__ok { display: block; }
.suggest { margin-top: 8px; font-size: 16px; }
.suggest button { border: 0; background: none; color: var(--main); font-weight: 700; text-decoration: underline; cursor: pointer; padding: 0; }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 0 18px; }
.consent { display: flex; gap: 12px; align-items: flex-start; padding: 18px 20px; border-radius: 18px; background: var(--main-pale); cursor: pointer; }
.consent input { width: 24px; height: 24px; margin: 3px 0 0; accent-color: var(--main); flex: none; }
.fnav { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 14px; margin-top: 12px; }
.fnav .btn { min-width: 240px; }
.back { display: inline-flex; align-items: center; gap: 10px; min-height: 52px; padding: 0 18px; border: 0; background: none; font-weight: 700; color: var(--main); cursor: pointer; }
.back::before { content: ""; width: 18px; height: 10px; background: currentColor; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 26 12'%3E%3Cpath d='M25 6H2M7 1L2 6l5 5' fill='none' stroke='%23000' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 26 12'%3E%3Cpath d='M25 6H2M7 1L2 6l5 5' fill='none' stroke='%23000' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat; }
.confirm { display: grid; border-top: 1px solid var(--main-pale); margin-bottom: 28px; }
.confirm > div { display: grid; grid-template-columns: 11em minmax(0, 1fr); gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--main-pale); }
.confirm dt { font-weight: 700; color: var(--main); }
.confirm dd { margin: 0; white-space: pre-wrap; }
.done { text-align: center; padding: 20px 0; }
.done__check { width: 120px; height: 120px; margin: 0 auto 28px; }
.done__check circle { fill: var(--main-pale); stroke: var(--main); stroke-width: 4; }
.done__check path { fill: none; stroke: var(--main); stroke-width: 7; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 1; stroke-dashoffset: 1; }
.done.is-in .done__check path { animation: draw .8s .3s var(--ease) forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.done__title { font-size: clamp(26px, 3vw, 36px); color: var(--main); }
.done__text { margin: 16px auto 0; max-width: 32em; }
.done__next { margin-top: 36px; display: grid; gap: 12px; justify-items: center; }
.aside { position: sticky; top: calc(var(--hd-h) + 32px); display: grid; gap: 16px; }
.aside__box { padding: 28px; border-radius: var(--r-lg) var(--r-xl) var(--r-xl) var(--r-xl); background: var(--white); }
.aside__title { font-size: 20px; color: var(--main); margin-bottom: 14px; }
.aside__steps { counter-reset: s; display: grid; gap: 12px; }
.aside__steps li { counter-increment: s; display: grid; grid-template-columns: 36px minmax(0, 1fr); gap: 12px; line-height: 1.7; }
.aside__steps li::before { content: counter(s); display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--main); color: var(--white); font-family: var(--ff-en); font-weight: 700; font-size: 18px; }
.aside__box--accent { background: var(--main); color: var(--white); }
.aside__box--accent .aside__title { color: var(--white); }
@media (max-width: 1000px) {
  .form-layout { grid-template-columns: 1fr; }
  .aside { position: static; }
}
@media (max-width: 767px) {
  .choices--3 { grid-template-columns: 1fr; }
  .two-col { grid-template-columns: 1fr; }
  .confirm > div { grid-template-columns: 1fr; gap: 2px; }
  .fnav { flex-direction: column-reverse; align-items: stretch; }
  .fnav .btn { width: 100%; }
}

/* 個人情報の取り扱い */
.doc h2 { font-size: clamp(21px, 2vw, 25px); color: var(--main); margin: 48px 0 12px; }
.doc p + p { margin-top: 1em; }
.doc ul li { position: relative; padding-left: 1.1em; }
.doc ul li::before { content: ""; position: absolute; left: 0; top: .85em; width: 6px; height: 6px; border-radius: 50%; background: var(--main); }

/* =========================================================
   動きを止める（OSの「視差効果を減らす」設定、またはフッターのボタン）
   ========================================================= */
.is-still *, .is-still *::before, .is-still *::after {
  animation-duration: .001ms !important; animation-iteration-count: 1 !important;
  transition-duration: .001ms !important; transition-delay: 0s !important;
}
.is-still .wire__pulse, .is-still .flow-mini__dot, .is-still .scroll-hint i::after, .is-still .logo__lamp { animation: none !important; }
.is-still .float-entry__ring { animation: none; }
.is-still .stalker { display: none; }
.is-still .curtain { display: none; }

/* 事業紹介の線：見出しと本文のすき間を通す。1列になる幅では文字に重なるので出さない */
@media (max-width: 900px) { .biz__wire { display: none; } }

/* 下層ページの最初の画面：下の段との境目（段差の形）を、画面の一番下に置く */
.pfv__foot { position: absolute; left: 0; right: 0; bottom: 0; height: 0; z-index: 1; }
.ifv__foot { position: absolute; left: 0; right: 0; bottom: 0; height: 0; z-index: 1; }

/* ティールの上の小さな文字は、オレンジだと読みにくい（コントラスト不足）ので白にして、印だけオレンジに */
.pfv__cat { display: flex; align-items: center; gap: 10px; color: var(--white); }
.pfv__cat::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--accent); flex: none; }
.crumb { color: color-mix(in srgb, white 88%, transparent); }

/* インタビューの問いと答え：並び方が違っても、間の広さをそろえる */
.qa-flow > * + * { margin-top: clamp(80px, 10vw, 140px); }
.qa-flow > .qa + .qa, .qa-flow > .qa + .qa-wide, .qa-flow > .qa-wide + .qa, .qa-flow > .qa-wide + .qa-quote, .qa-flow > .qa-quote + .qa { margin-top: clamp(80px, 10vw, 140px); }
.qa__a > p + p, .qa-wide__a > p + p, .qa-quote__a > p + p { margin-top: 1.2em; }

/* 暗い面の上の文字リンク */
.tlink--white { color: var(--white); }

/* 新卒の初任給：金額は右ぞろえで、桁をそろえて比べやすく */
.req-table .pay { border-collapse: collapse; width: auto; min-width: min(100%, 24em); }
.req-table .pay td { display: table-cell; padding: 6px 0; border: 0; line-height: 1.7; }
.req-table .pay td:last-child { text-align: right; padding-left: 32px; white-space: nowrap; }
.req-table .pay tr + tr td { border-top: 1px dashed var(--main-pale); }

/* エントリー：明るい背景の上の現在地、ステップの見出し、確認画面の「戻る」リンク */
.form-page .crumb { color: var(--ink-sub); justify-content: center; }
.fstep__title { margin-bottom: clamp(20px, 3vw, 32px); color: var(--ink); }
.fstep__title:focus { outline: none; }
.fstep__edit { margin-bottom: 24px; color: var(--ink-sub); }
.fstep__edit button { border: 0; background: none; padding: 0 2px; color: var(--main); font-weight: 700; text-decoration: underline; text-underline-offset: 4px; cursor: pointer; }
.done__title:focus { outline: none; }

/* 個人情報の取り扱い：下層の最初の画面を、写真なしの1列にする */
.pfv--plain .pfv__inner { grid-template-columns: 1fr; }
.doc { max-width: 46em; }

/* 片すみの方眼（.tex）が画面の右にはみ出して、横に揺れるのを防ぐ。
   clip は「スクロールの箱」を作らないので、追従する要素（sticky）はそのまま動く */
main { overflow-x: clip; }
.sched__wrap { position: relative; overflow: hidden; }

/* 下層の最初の画面：下の余白を広げて、配線がボタンと重ならないすき間をつくる */
.pfv { padding-bottom: clamp(170px, 17vw, 260px); }
.dtile--light .dtile__words li { background: var(--main-pale); }

/* 狭い画面：濃い色の箱の余白を詰め、見出しのまとまりが箱に収まるようにする */
@media (max-width: 480px) {
  .msg, .learn, .bigfig { padding-inline: 22px; }
  .honest__item { grid-template-columns: minmax(0, 1fr); gap: 14px; }
  .honest__item .arw { justify-self: end; }
  .topic__head { gap: 12px; }
  .topic__n { font-size: 40px; }
  .choice { padding: 18px 16px 18px 52px; }
  .choice input { left: 16px; top: 22px; }
}

/* ===== 2026-11-15 下層ページの最初の画面（参考サイトの型：大きな楕円の写真1枚・太い曲線・英字の帯・波の下端） ===== */
.pfv { padding-bottom: clamp(140px, 14vw, 220px); }
.pfv__inner { grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); min-height: clamp(360px, 38vw, 540px); }
.pfv__swoosh { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 1; pointer-events: none; }
.pfv__swoosh path { fill: none; stroke: color-mix(in srgb, white 90%, transparent); stroke-width: clamp(14px, 1.8vw, 26px); stroke-linecap: round; vector-effect: non-scaling-stroke; }
.pfv__photos { height: auto; }
.pfv__photos > div { position: relative; }
.pfv .pfv__photos > div:nth-child(1) { inset: auto; width: 100%; max-width: 440px; margin-left: auto; }
.pfv .pfv__photos > div:nth-child(2) { display: none; }
.pfv .pfv__photos > div:nth-child(1) .ph { --ar: 4 / 5; border-radius: 50%; }
.pfv__en { top: auto; bottom: clamp(56px, 7vw, 110px); color: color-mix(in srgb, white 16%, transparent); }
.pfv__foot { height: auto; }
.pfv__wave { display: block; width: 100%; height: clamp(56px, 9vw, 140px); }
.pfv__wave-fill { fill: var(--base); }
.pfv__wave-line { fill: none; stroke: color-mix(in srgb, var(--accent) 65%, white); stroke-width: clamp(8px, 1vw, 14px); vector-effect: non-scaling-stroke; }
.ifv__foot { height: auto; z-index: 3; }

/* 働く環境・募集要項のページは、参考サイトと同じく薄い水色の地に濃い文字 */
.pfv--pale { background: color-mix(in srgb, var(--main) 11%, white); color: var(--ink); }
.pfv--pale .pfv__cat { color: var(--main); }
.pfv--pale .crumb { color: var(--ink-sub); }
.pfv--pale .pfv__swoosh path { stroke: var(--accent); }
.pfv--pale .pfv__en { color: var(--white); }

/* 最初の画面のすぐ下：説明文とページ内リンク */
.pfv-sub { position: relative; background: var(--base); padding-top: clamp(4px, 1vw, 16px); }
.pfv-sub__inner { display: grid; gap: 28px; justify-items: start; }
.pfv-sub .pfv__lead { margin: 0; max-width: 40em; color: var(--ink); font-size: clamp(17px, 1.4vw, 19px); line-height: 1.9; }
.pfv-sub .anchors { margin-top: 0; }
.pfv-sub .anchors a { border-color: color-mix(in srgb, var(--main) 35%, transparent); background: var(--white); color: var(--main); }
@media (hover: hover) { .pfv-sub .anchors a:hover { background: var(--main); color: var(--white); } }
.pfv-sub + .sec { padding-top: clamp(80px, 9vw, 140px); }
@media (max-width: 900px) {
  .pfv__inner { min-height: 0; grid-template-columns: 1fr; }
  .pfv__swoosh { top: auto; height: 46%; }
  .pfv .pfv__photos > div:nth-child(1) { width: 72%; max-width: 340px; }
  .pfv__photos { height: auto; max-height: none; }
  .pfv__en { top: auto; bottom: clamp(70px, 14vw, 110px); }
}

/* エントリーの3枚：丸みをゆるめ、文字と縁の間をあける */
.ecard { border-radius: clamp(72px, 9vw, 140px) clamp(72px, 9vw, 140px) var(--r-lg) var(--r-lg); padding: clamp(56px, 5.6vw, 84px) clamp(36px, 3.6vw, 56px) clamp(36px, 3.4vw, 48px); }
@media (max-width: 900px) {
  .ecard { border-radius: 56px var(--r-lg) var(--r-lg) 56px; padding: 30px 24px 30px 36px; }
}

/* 福利厚生などの数字を大きく */
.fn-row { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 6px; font-weight: 700; color: var(--main); font-size: 20px; line-height: 1.2; margin-bottom: 4px; }
.fn { font-family: var(--ff-en); font-weight: 700; font-size: clamp(44px, 4.6vw, 60px); line-height: 1; letter-spacing: .01em; font-variant-numeric: tabular-nums; }
.fn-row small { font-size: 17px; }
.fact--hl .fn-row { color: var(--white); }

/* ===== 2026-11-16 最初の画面：全ページを薄い水色の地に。写真を大きく、タイトルの上の余白を詰める ===== */
.pfv, .ifv { background: color-mix(in srgb, var(--main) 11%, white); color: var(--ink); }
.pfv { padding-top: calc(var(--hd-h) + 20px); }
.pfv .pfv__cat, .ifv .pfv__cat { color: var(--main); }
.pfv .crumb, .ifv .crumb { color: var(--ink-sub); }
.pfv .crumb { margin-bottom: clamp(16px, 2vw, 28px); }
.pfv .pfv__swoosh path, .ifv .pfv__swoosh path { stroke: var(--accent); }
.pfv .pfv__en { color: var(--white); }
.pfv__inner { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); min-height: 0; align-items: start; }
.pfv__inner > div:first-child { padding-top: clamp(8px, 2.4vw, 40px); }
.pfv__title { font-size: clamp(36px, 4.6vw, 64px); }
/* 写真は右端まで広げ、左側だけ大きく丸める */
.pfv .pfv__photos > div:nth-child(1) { width: calc(100% + max(var(--gut), (100vw - var(--max)) / 2)); max-width: none; margin-left: 0; }
.pfv .pfv__photos > div:nth-child(1) .ph { --ar: 4 / 3; border-radius: clamp(100px, 14vw, 240px) 0 0 clamp(100px, 14vw, 240px); }
.pfv--plain .pfv__inner > div:first-child { padding-top: 0; }
/* インタビュー */
.ifv { padding-top: calc(var(--hd-h) + 20px); }
.ifv__meta { color: var(--ink-sub); }
.ifv__en { color: var(--white); }
.ifv__inner { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) auto; }
.ifv__title { font-size: clamp(32px, 3.2vw, 44px); }
.ifv__text { align-self: start; padding-top: clamp(24px, 5vw, 72px); }
@media (max-width: 900px) {
  .pfv { padding-top: calc(var(--hd-h) + 16px); }
  .pfv__inner { grid-template-columns: 1fr; gap: 28px; }
  .pfv__inner > div:first-child { padding-top: 0; }
  .pfv .pfv__photos > div:nth-child(1) { width: calc(100% + var(--gut)); max-width: none; }
  .pfv .pfv__photos > div:nth-child(1) .ph { border-radius: 80px 0 0 80px; }
  .ifv__inner { grid-template-columns: 1fr; }
  .ifv__text { padding-top: 8px; }
}

/* ===== 2026-11-16 濃い青の面を減らす（濃い青の大きな面は1ページ2か所まで。ほかは薄い水色の地に濃い文字） ===== */
.bigfig, .msg, .learn, .hscroll { background: color-mix(in srgb, var(--main) 13%, white); color: var(--ink); }
.bigfig__v { color: var(--main); }
.bigfig__v small { color: var(--ink); }
.msg__k { color: var(--main); }
.msg .tlink--white { color: var(--main); }
.msg .wire, .learn .wire { --c1: color-mix(in srgb, var(--main) 24%, transparent); --c2: color-mix(in srgb, var(--main) 13%, transparent); --c3: color-mix(in srgb, var(--main) 7%, transparent); }
.learn__list li { background: var(--white); }
.learn .sec-head--white .sec-head__ja, .hscroll .sec-head--white .sec-head__ja { color: var(--main); }
.learn .sec-head--white .sec-head__en, .hscroll .sec-head--white .sec-head__en { color: var(--main); }
.hscroll__count { color: var(--ink-sub); }
.hscroll__count b { color: var(--main); }
.hscroll__bar { background: color-mix(in srgb, var(--main) 16%, transparent); }
.hscroll__bar i { background: var(--main); }
.step { background: var(--white); }
.step__n, .step.is-human .step__n { color: var(--main); }
.step.is-human { background: var(--accent-pale); box-shadow: inset 0 0 0 2px var(--accent); }
