/* 見本システムズ キャリア採用（試作）。最初の画面 */
:root {
  --bg: #e7efed;
  --ink: #13233a;
  --ink-2: #3a4a5e;
  --accent: #ff6a2b;
  --teal: #0f6f7c;
  --f-ja: "Noto Sans JP", "Hiragino Sans", "Hiragino Kaku Gothic ProN", sans-serif;
  --f-head: "Zen Kaku Gothic New", "Noto Sans JP", "Hiragino Sans", sans-serif;
  --f-en: "Outfit", "Noto Sans JP", sans-serif;
  --header-h: 84px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
html.is-locked { overflow: hidden; }
body {
  margin: 0;
  background: var(--bg) radial-gradient(120% 90% at 85% 0%, rgba(255, 255, 255, .75) 0, rgba(255, 255, 255, 0) 60%) no-repeat;
  color: var(--ink);
  font-family: var(--f-ja);
  font-size: 15px;
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
p { margin: 0; }
.defs { position: absolute; }
.mark { display: block; width: 34px; height: 34px; flex: none; }

/* ---------- 開いたときの幕 ---------- */
.cover {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: #fff;
  display: grid;
  place-content: center;
  clip-path: polygon(0 0, 100% 0, 100% 100%, 0 135%);
}
.cover.is-gone { display: none; }
.cover__line { position: absolute; inset: 0; width: 100%; height: 100%; }
.cover__line path { fill: none; stroke-width: 54; stroke-linecap: round; stroke-linejoin: round; }
.cover__brand { position: relative; display: grid; justify-items: center; gap: 10px; }
.cover__brand .mark { width: 52px; height: 52px; }
.cover__name { font-family: var(--f-head); font-weight: 900; font-size: 22px; letter-spacing: .08em; }
.cover__label { font-family: var(--f-en); font-weight: 600; font-size: 12px; letter-spacing: .24em; color: var(--ink-2); }
.cover__dot { position: absolute; border-radius: 50%; opacity: 0; }
.cover__dot--1 { width: 72px; height: 72px; background: #ffc43a; top: 22%; left: 72%; }
.cover__dot--2 { width: 34px; height: 34px; background: #7fd8cf; top: 30%; left: 24%; }
.cover__dot--3 { width: 14px; height: 14px; background: var(--accent); top: 64%; left: 33%; }
.cover__dot--4 { width: 22px; height: 22px; background: var(--teal); top: 70%; left: 78%; }

/* ---------- ヘッダー ---------- */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  height: var(--header-h);
  display: flex;
  align-items: center;
  gap: 28px;
  padding: 0 28px 0 32px;
}
.header__logo { display: flex; align-items: center; gap: 10px; margin-right: auto; }
.header__name { font-family: var(--f-head); font-weight: 900; font-size: 19px; letter-spacing: .06em; }
.header__sub {
  font-size: 12px; font-weight: 700; color: var(--ink-2);
  padding-left: 12px; border-left: 1px solid rgba(19, 35, 58, .25); line-height: 1.2;
}
.header__nav { display: flex; gap: 30px; font-size: 14px; font-weight: 700; letter-spacing: .04em; }
.header__nav a { position: relative; padding: 6px 0; }
.header__nav a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px;
  background: var(--accent); transform: scaleX(0); transform-origin: right; transition: transform .35s ease;
}
.header__nav a:hover::after { transform: scaleX(1); transform-origin: left; }
.header__entry {
  display: inline-flex; align-items: center; gap: 10px;
  height: 48px; padding: 0 22px 0 24px; border-radius: 999px;
  background: var(--ink); color: #fff; font-size: 14px; font-weight: 700; letter-spacing: .04em;
  position: relative; overflow: hidden; isolation: isolate;
}
.header__entry::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(90deg, #ff5f2e, #ffb23a);
  transform: translateX(-101%); transition: transform .45s cubic-bezier(.6, 0, .2, 1);
}
.header__entry:hover::before { transform: translateX(0); }
.header__entry::after { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); transition: background .3s; }
.header__entry:hover::after { background: #fff; }
.header__menu { display: none; }

/* ---------- 最初の画面 ---------- */
.kv {
  position: relative;
  height: 100vh;
  height: 100svh;
  min-height: 680px;
  max-height: 1080px;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, 46fr) minmax(0, 54fr);
}

/* 下から浮かぶ白い泡 */
.kv__bubbles { position: absolute; inset: 0; pointer-events: none; }
.kv__bubbles span {
  position: absolute; bottom: -120px; border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, .95) 0, rgba(255, 255, 255, .7) 38%, rgba(255, 255, 255, 0) 70%);
  animation: rise linear infinite;
  opacity: 0;
}
.kv__bubbles span:nth-child(1) { left: 6%;  width: 46px;  height: 46px;  animation-duration: 13s; animation-delay: -2s; }
.kv__bubbles span:nth-child(2) { left: 21%; width: 90px;  height: 90px;  animation-duration: 17s; animation-delay: -9s; }
.kv__bubbles span:nth-child(3) { left: 38%; width: 26px;  height: 26px;  animation-duration: 11s; animation-delay: -5s; }
.kv__bubbles span:nth-child(4) { left: 52%; width: 70px;  height: 70px;  animation-duration: 15s; animation-delay: -12s; }
.kv__bubbles span:nth-child(5) { left: 64%; width: 34px;  height: 34px;  animation-duration: 12s; animation-delay: -1s; }
.kv__bubbles span:nth-child(6) { left: 77%; width: 110px; height: 110px; animation-duration: 19s; animation-delay: -6s; }
.kv__bubbles span:nth-child(7) { left: 88%; width: 40px;  height: 40px;  animation-duration: 14s; animation-delay: -10s; }
.kv__bubbles span:nth-child(8) { left: 95%; width: 22px;  height: 22px;  animation-duration: 10s; animation-delay: -3s; }
.kv__bubbles span:nth-child(9) { left: 45%; width: 56px;  height: 56px;  animation-duration: 16s; animation-delay: -14s; }
@keyframes rise {
  0%   { transform: translateY(0); opacity: 0; }
  12%  { opacity: 1; }
  80%  { opacity: .9; }
  100% { transform: translateY(calc(-100svh - 240px)); opacity: 0; }
}

.kv__text {
  position: relative; z-index: 2;
  align-self: center;
  /* 下は SCROLL の印のぶんを空ける（画面の高さが低いと、募集のボタンが印に重なった・10/11） */
  padding: calc(var(--header-h) + 10px) 0 150px clamp(32px, 6.4vw, 110px);
}
.kv__label { display: flex; align-items: center; gap: 14px; margin-bottom: clamp(14px, 2.9vh, 26px); }
.kv__label-ja { font-size: 13px; font-weight: 700; letter-spacing: .12em; }
.kv__label-en {
  font-family: var(--f-en); font-weight: 600; font-size: 12px; letter-spacing: .22em; color: var(--accent);
  display: inline-flex; align-items: center; gap: 14px;
}
.kv__label-en::before { content: ""; width: 28px; height: 2px; background: var(--accent); }
.kv__catch {
  margin: 0;
  font-family: var(--f-head);
  font-weight: 900;
  font-size: clamp(44px, min(6vw, 10.4vh), 100px);
  line-height: 1.22;
  letter-spacing: .02em;
  font-feature-settings: "palt";
}
.kv__catch-line { display: block; white-space: nowrap; }
.kv__lead { margin-top: clamp(16px, 3.3vh, 30px); max-width: 31em; color: var(--ink-2); font-size: 15px; line-height: 2.05; text-wrap: pretty; }
.kv__jobs { display: flex; flex-wrap: wrap; gap: 12px; margin-top: clamp(18px, 3.8vh, 34px); }
.kv__job {
  display: inline-flex; align-items: center; gap: 14px;
  height: 52px; padding: 0 12px 0 24px; border-radius: 999px;
  background: #fff; font-size: 14px; font-weight: 700; letter-spacing: .04em;
  box-shadow: 0 6px 18px rgba(19, 35, 58, .06);
  transition: transform .3s ease;
}
.kv__job::after {
  content: ""; width: 30px; height: 30px; border-radius: 50%;
  background: var(--accent) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3E%3Cpath d='M12 9.5 17.5 15 12 20.5' fill='none' stroke='%23fff' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 30px no-repeat;
  transition: transform .3s ease;
}
.kv__job:hover::after { transform: translateX(3px); }

/* 写真と線 */
.kv__visual { position: relative; z-index: 1; }
.stage-wrap {
  position: absolute;
  right: clamp(0px, 3vw, 60px);
  bottom: 0;
  height: min(calc(100% - var(--header-h) + 40px), 900px);
  aspect-ratio: 1000 / 1100;
}
.stage { display: block; width: 100%; height: 100%; overflow: visible; }
.stage .line { fill: none; stroke-linecap: round; stroke-linejoin: round; opacity: 0; }
.stage image { opacity: 0; }
.stage .node { opacity: 0; transform-box: fill-box; transform-origin: center; }

/* 写真の人の職種と前職（人と一緒に入れ替わる） */
.kv__caption {
  position: absolute; z-index: 3;
  right: 0; top: 9%;
  display: grid; gap: 1px;
  padding: 14px 20px 15px 18px;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 10px 30px rgba(19, 35, 58, .08);
  white-space: nowrap;
  opacity: 0;
}
.kv__role {
  display: flex; align-items: center; gap: 8px;
  font-family: var(--f-head); font-weight: 900; font-size: 16px; letter-spacing: .05em;
}
.kv__role::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); }
.kv__meta { display: grid; padding-left: 16px; }
.kv__career, .kv__year { font-size: 12px; font-weight: 500; color: var(--ink-2); letter-spacing: .03em; line-height: 1.7; }

.kv__scroll {
  position: absolute; z-index: 3; left: clamp(32px, 6.4vw, 110px); bottom: 0;
  display: grid; justify-items: center; gap: 10px;
  font-family: var(--f-en); font-weight: 600; font-size: 11px; letter-spacing: .24em;
}
.kv__scroll::after {
  content: ""; width: 1px; height: 64px;
  background: linear-gradient(var(--ink) 0 0) top / 1px 0 no-repeat, rgba(19, 35, 58, .2);
  animation: scrollbar 2.2s cubic-bezier(.6, 0, .3, 1) infinite;
}
@keyframes scrollbar {
  0%   { background-size: 1px 0, auto; background-position: top, 0 0; }
  50%  { background-size: 1px 100%, auto; background-position: top, 0 0; }
  51%  { background-size: 1px 100%, auto; background-position: bottom, 0 0; }
  100% { background-size: 1px 0, auto; background-position: bottom, 0 0; }
}

/* 幕が抜けたあと、言葉が下から出る */
.js .kv__label, .js .kv__catch-line, .js .kv__lead, .js .kv__jobs, .js .header, .js .kv__scroll { opacity: 0; }

/* ---------- スマホ ---------- */
/* ---------- 下の区切り（共通） ---------- */
html { scroll-behavior: smooth; }
:root { --side: clamp(20px, 6.4vw, 110px); --wide: 1240px; --pale: #d3e5e1; }
main > section { scroll-margin-top: calc(var(--header-h) - 1px); }

/* ヘッダー: 下へ送ったら地の色を敷く */
.header { transition: background-color .3s, box-shadow .3s; }
.header.is-scrolled {
  background: rgba(231, 239, 237, .9);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 rgba(19, 35, 58, .06);
}

/* ボタン（ヘッダーの「募集要項・エントリー」と同じ形。乗せるとオレンジが左から走る） */
.btn {
  display: inline-flex; align-items: center; gap: 12px;
  height: 56px; padding: 0 26px 0 28px; border-radius: 999px;
  background: var(--ink); color: #fff; font-size: 15px; font-weight: 700; letter-spacing: .04em;
  position: relative; overflow: hidden; isolation: isolate;
}
.btn::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(90deg, #ff5f2e, #ffb23a);
  transform: translateX(-101%); transition: transform .45s cubic-bezier(.6, 0, .2, 1);
}
.btn:hover::before { transform: translateX(0); }
.btn::after { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); transition: background .3s; }
.btn:hover::after { background: #fff; }
.btn--light { background: #fff; color: var(--ink); }
.btn--light:hover { color: #fff; }

/* 区切りの見出し: 大きな英字が起き上がり、その下に番号と線と日本語 */
.sec { position: relative; padding: clamp(96px, 11vw, 168px) var(--side) 0; }
.sec > * { max-width: var(--wide); margin-left: auto; margin-right: auto; }
.sec--white { background: #fff; }
.sec__head { margin-bottom: clamp(40px, 5vw, 72px); }
.sec__en {
  font-family: var(--f-en); font-weight: 700; font-size: clamp(64px, 11vw, 168px);
  line-height: .86; letter-spacing: -.01em; color: var(--pale);
  perspective: 900px;
}
.sec--white .sec__en { color: #e3eeeb; }
.sec__en span { display: inline-block; transform-origin: 50% 100%; }
.sec__title {
  position: relative; margin: -.36em 0 0;
  display: flex; align-items: center; gap: 16px;
  font-family: var(--f-head); font-weight: 900; font-size: clamp(26px, 3.1vw, 42px); letter-spacing: .04em; line-height: 1.4;
}
.sec__num {
  display: inline-flex; align-items: center; gap: 12px;
  font-family: var(--f-en); font-weight: 600; font-size: 14px; letter-spacing: .1em; color: var(--accent);
}
.sec__num::after { content: ""; width: 28px; height: 2px; background: var(--accent); }
.sec__lead { margin-top: 22px; max-width: 36em; color: var(--ink-2); font-size: 15px; line-height: 2.05; }

/* 下から出る・見出しの英字が起き上がる・＋が弾む・板が伸びる */
.js .reveal { opacity: 0; transform: translateY(32px); transition: opacity .9s cubic-bezier(.2, .7, .2, 1), transform .9s cubic-bezier(.2, .7, .2, 1); transition-delay: calc(var(--d, 0) * 90ms); }
.js .reveal.is-in { opacity: 1; transform: none; }
.js .sec__en span { opacity: 0; transform: rotateX(-90deg) translateY(30%); transition: transform 1.1s cubic-bezier(.2, .7, .2, 1), opacity .6s ease; }
.js .sec__head.is-in .sec__en span { opacity: 1; transform: none; }
.js .pop { scale: 0; }
.js .is-in .pop { animation: pop .9s cubic-bezier(.34, 1.7, .5, 1) forwards; animation-delay: calc(.4s + var(--d, 0) * 90ms); }
@keyframes pop { from { scale: 0; } to { scale: 1; } }

/* ---------- メッセージ ---------- */
.message { position: relative; overflow: hidden; padding: clamp(120px, 14vw, 220px) var(--side); }
.marquee { position: absolute; left: 0; top: 50%; translate: 0 -50%; pointer-events: none; }
.marquee__track { display: flex; width: max-content; animation: marquee 56s linear infinite; }
.marquee span {
  font-family: var(--f-en); font-weight: 800; font-size: clamp(120px, 17vw, 270px); line-height: 1;
  color: #fff; opacity: .8; padding-right: .3em; white-space: nowrap; letter-spacing: -.01em;
}
@keyframes marquee { to { transform: translateX(-50%); } }
.scrub-line { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.scrub-line path { fill: none; stroke-linecap: round; stroke-linejoin: round; }
.message__line path { stroke-width: 46; opacity: .5; }
.message__inner { position: relative; max-width: 760px; margin: 0 auto; }
.message__title {
  margin: 0 0 44px;
  font-family: var(--f-head); font-weight: 900; font-size: clamp(28px, 3.5vw, 50px); line-height: 1.5; letter-spacing: .03em;
  font-feature-settings: "palt";
}
.message__title > span { display: block; }
.nw { display: inline-block; }
.message__body p { margin: 0 0 1.5em; font-size: 16px; line-height: 2.2; }
.message__body p:last-child { margin-bottom: 0; }

/* ---------- 人を知る ---------- */
.people { padding-bottom: clamp(96px, 10vw, 150px); }
.people__list { list-style: none; padding: 0; margin-top: 0; margin-bottom: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(16px, 2.6vw, 40px); padding-top: 40px; }
.person:nth-child(even) { margin-top: 56px; }
.person__open { all: unset; display: block; position: relative; width: 100%; cursor: pointer; border-radius: 36px; }
.person__open:focus-visible { outline: 3px solid var(--accent); outline-offset: 4px; }
.person__frame {
  display: block; position: relative; aspect-ratio: 4 / 5; border-radius: 36px;
  background: linear-gradient(150deg, #2fb3aa, #0b4f69);
}
/* 人は四角の上の端から頭を出す（入れ物を四角より上へ伸ばし、下の角だけ四角と同じ丸みで切る） */
.person__clip { position: absolute; left: 0; right: 0; bottom: 0; top: -22%; overflow: hidden; border-radius: 0 0 36px 36px; }
.person__clip img { position: absolute; left: 50%; bottom: 0; width: 104%; height: auto; translate: -50% 0; transition: transform .6s cubic-bezier(.2, .7, .2, 1); transform-origin: 50% 100%; }
.person__open:hover .person__clip img { transform: scale(1.04); }
.person__plus {
  position: absolute; right: 14px; bottom: 14px; z-index: 2;
  width: 54px; height: 54px; border-radius: 50%; background: var(--ink);
  transition: rotate .4s cubic-bezier(.2, .7, .2, 1), background-color .3s;
}
.person__plus::before, .person__plus::after { content: ""; position: absolute; left: 50%; top: 50%; width: 20px; height: 2.5px; background: #fff; border-radius: 2px; translate: -50% -50%; }
.person__plus::after { rotate: 90deg; }
.person__open:hover .person__plus { rotate: 90deg; background: var(--accent); }
.person__role { margin-top: 20px; font-family: var(--f-head); font-weight: 900; font-size: 18px; letter-spacing: .04em; }
.person__path { display: flex; align-items: center; flex-wrap: wrap; gap: 4px 10px; margin-top: 6px; font-size: 13px; font-weight: 500; color: var(--ink-2); }
.person__arrow { position: relative; width: 26px; height: 2px; background: var(--accent); }
.person__arrow::after { content: ""; position: absolute; right: -3px; top: -3px; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); }
.person__year { margin-top: 2px; font-size: 12px; color: var(--ink-2); }

/* ---------- 仕事を知る ---------- */
.work { padding-bottom: clamp(96px, 10vw, 150px); }
.work__jobs { position: relative; padding: clamp(56px, 6vw, 96px) 0; }
.work__jobs::before {
  content: ""; position: absolute; top: 0; bottom: 0; left: calc(50% - 50vw); right: calc(-1 * min(var(--side), 72px));
  background: #fff; border-radius: 0 64px 64px 0; z-index: 0;
}
.js .work__jobs::before { clip-path: inset(0 100% 0 0 round 0 64px 64px 0); transition: clip-path 1.4s cubic-bezier(.65, 0, .35, 1); }
.js .work__jobs.is-in::before { clip-path: inset(0 0 0 0 round 0 64px 64px 0); }
.job { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 80px); align-items: center; }
.job + .job { margin-top: clamp(72px, 8vw, 120px); }
.job--reverse .job__photo { order: 2; }
.job__photo { position: relative; isolation: isolate; }
.job__photo img { display: block; width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: 28px; }
.job__corner {
  position: absolute; z-index: -1; right: -5%; bottom: -9%; width: 36%; aspect-ratio: 1;
  border-radius: 28%; background: linear-gradient(135deg, #ff5f2e, #ffc43a); rotate: -8deg;
}
.job--reverse .job__corner { right: auto; left: -5%; rotate: 8deg; }
.job__en { font-family: var(--f-en); font-weight: 600; font-size: 13px; letter-spacing: .24em; color: var(--accent); }
.job__title { margin: 6px 0 2px; font-family: var(--f-head); font-weight: 900; font-size: clamp(28px, 3vw, 40px); letter-spacing: .04em; }
.job__sub { font-size: 14px; font-weight: 700; color: var(--ink-2); }
.job__desc { margin-top: 20px; line-height: 2.05; }
.job__points { list-style: none; padding: 0; margin: 20px 0 30px; display: grid; gap: 8px; font-size: 14px; font-weight: 700; }
.job__points li { display: flex; align-items: center; gap: 10px; }
.job__points li::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); flex: none; }

/* ---------- これまでにつくった仕組み（横に送る） ---------- */
.case { padding-bottom: clamp(96px, 10vw, 150px); }
.slider__track {
  list-style: none; margin: 0; padding: 6px 0 10px;
  display: flex; gap: 24px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth;
  scrollbar-width: none; -webkit-overflow-scrolling: touch;
}
.slider__track::-webkit-scrollbar { display: none; }
.slider__track:focus-visible { outline: 3px solid var(--accent); outline-offset: 4px; border-radius: 8px; }
.slide {
  position: relative; overflow: hidden; flex: 0 0 auto; width: clamp(280px, 30vw, 392px); min-height: 340px;
  display: flex; flex-direction: column; padding: 32px 30px 28px; border-radius: 28px;
  background: var(--bg); scroll-snap-align: start;
}
.slide__en { position: absolute; right: -3px; top: 16px; font-family: var(--f-en); font-weight: 800; font-size: 40px; line-height: 1; color: #fff; }
.slide__tag { position: relative; align-self: flex-start; padding: 2px 14px; border-radius: 999px; background: var(--teal); color: #fff; font-size: 12px; font-weight: 700; letter-spacing: .08em; }
.slide__title { position: relative; margin: 20px 0 12px; font-family: var(--f-head); font-weight: 900; font-size: 19px; line-height: 1.6; letter-spacing: .02em; }
.slide__text { position: relative; font-size: 14px; line-height: 1.95; color: var(--ink-2); }
.slide__who { position: relative; margin-top: auto; padding-top: 20px; display: flex; align-items: center; gap: 10px; font-size: 12px; font-weight: 700; color: var(--accent); }
.slide__who::before { content: ""; width: 22px; height: 2px; background: var(--accent); }
.slider__ui { display: flex; align-items: center; gap: 18px; margin-top: 30px; }
.slider__btn { position: relative; width: 56px; height: 56px; flex: none; border: 0; border-radius: 50%; background: var(--ink); cursor: pointer; transition: background-color .3s, opacity .3s; }
.slider__btn::before { content: ""; position: absolute; left: 50%; top: 50%; width: 10px; height: 10px; border-top: 2.5px solid #fff; border-right: 2.5px solid #fff; translate: -65% -50%; rotate: 45deg; }
.slider__btn--prev::before { translate: -35% -50%; rotate: -135deg; }
.slider__btn:hover { background: var(--accent); }
.slider__btn:disabled { opacity: .3; cursor: default; background: var(--ink); }
.slider__bar { position: relative; flex: 0 1 220px; height: 2px; background: #d4dedb; overflow: hidden; }
.slider__fill { position: absolute; inset: 0; background: var(--accent); transform-origin: left; transform: scaleX(.1667); transition: transform .45s cubic-bezier(.2, .7, .2, 1); }
.slider__count { font-family: var(--f-en); font-weight: 600; font-size: 15px; letter-spacing: .06em; white-space: nowrap; }
.slider__now { color: var(--accent); }

/* ---------- 数字で知る ---------- */
.numbers { padding-bottom: clamp(96px, 10vw, 150px); }
.numbers__list { list-style: none; padding: 0; margin-top: 0; margin-bottom: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(14px, 1.8vw, 24px); }
.num { display: grid; grid-template-areas: "ring" "label"; justify-items: center; padding: 36px 20px 30px; border-radius: 28px; background: #fff; text-align: center; }
.num__ring { grid-area: ring; width: min(160px, 100%); aspect-ratio: 1; rotate: -90deg; }
.num__ring circle { fill: none; stroke: #e2ecea; stroke-width: 7; }
.num__ring .num__arc { stroke: var(--accent); stroke-linecap: round; stroke-dasharray: 326.73; stroke-dashoffset: 326.73; transition: stroke-dashoffset 1.8s cubic-bezier(.2, .7, .2, 1); }
.num__value { grid-area: ring; align-self: center; margin: 0; font-family: var(--f-en); font-weight: 700; font-size: clamp(34px, 3.4vw, 46px); line-height: 1; letter-spacing: -.01em; font-variant-numeric: tabular-nums; }
.num__unit { margin-left: 3px; font-family: var(--f-ja); font-size: 14px; font-weight: 700; }
.num__label { grid-area: label; margin-top: 18px; font-size: 14px; font-weight: 700; }
.numbers__note { margin-top: 16px; text-align: right; font-size: 12px; color: var(--ink-2); }
/* 割合でない数字（業界の数・残業の時間）は輪で囲まず、数字の下に中身が分かる小さな絵を置く。数字の高さは輪の数字とそろえる */
.num__stage { grid-area: ring; width: min(160px, 100%); aspect-ratio: 1; display: grid; grid-template-rows: 1fr auto 1fr; justify-items: center; }
.num--plain .num__value { grid-area: auto; grid-row: 2; }
.num__tags { grid-row: 3; align-self: start; display: flex; flex-wrap: wrap; justify-content: center; gap: 4px; margin: 12px 0 0; padding: 0; list-style: none; }
.num__tags li { padding: 4px 8px; border-radius: 999px; background: var(--bg); color: var(--teal); font-size: 11px; font-weight: 700; line-height: 1; }
.num__tags .num__tags-more { padding-left: 2px; padding-right: 0; background: none; color: var(--ink-2); }
.num__dayblock { grid-row: 3; align-self: start; width: 100%; margin-top: 16px; }
.num__day { display: flex; height: 10px; border-radius: 5px; overflow: hidden; background: #e2ecea; }
.num__day-base { flex: 0 0 92.2%; background: linear-gradient(90deg, #2fb3aa, #0f6f7c); }
.num__day-over { flex: 0 0 7.8%; background: var(--accent); }
.num__day-row { display: flex; justify-content: space-between; margin-top: 7px; font-size: 11px; font-weight: 700; color: var(--ink-2); }
.num__day-plus { color: var(--accent); }
.js .num__tags li { opacity: 0; translate: 0 6px; transition: opacity .5s ease, translate .5s cubic-bezier(.2, .7, .2, 1); transition-delay: calc(.5s + var(--i, 0) * 70ms); }
.js .num.is-in .num__tags li { opacity: 1; translate: 0 0; }
.js .num__day-base, .js .num__day-over { transform: scaleX(0); transform-origin: left; transition: transform 1s cubic-bezier(.2, .7, .2, 1); }
.js .num.is-in .num__day-base { transform: scaleX(1); transition-delay: .5s; }
.js .num.is-in .num__day-over { transform: scaleX(1); transition-delay: 1.4s; }

/* ---------- よくある質問 ---------- */
.faq { padding-bottom: clamp(96px, 10vw, 150px); }
.faq__list { display: grid; gap: 12px; }
.qa { border-radius: 20px; background: var(--bg); overflow: hidden; }
.qa__q { all: unset; box-sizing: border-box; display: flex; align-items: center; gap: 16px; width: 100%; padding: 22px 26px; cursor: pointer; font-size: 16px; font-weight: 700; line-height: 1.6; }
.qa__q:focus-visible { outline: 3px solid var(--accent); outline-offset: -3px; border-radius: 20px; }
.qa__mark { font-family: var(--f-en); font-weight: 700; font-size: 22px; color: var(--accent); }
.qa__text { flex: 1; }
.qa__icon { position: relative; flex: none; width: 34px; height: 34px; border-radius: 50%; background: var(--ink); transition: rotate .35s cubic-bezier(.2, .7, .2, 1), background-color .3s; }
.qa__icon::before, .qa__icon::after { content: ""; position: absolute; left: 50%; top: 50%; width: 13px; height: 2px; background: #fff; border-radius: 2px; translate: -50% -50%; }
.qa__icon::after { rotate: 90deg; }
.qa__q[aria-expanded="true"] .qa__icon { rotate: 45deg; background: var(--accent); }
.qa__a { overflow: hidden; }
.qa__a p { margin: 0; padding: 0 30px 26px 64px; line-height: 2; color: var(--ink-2); }

/* ---------- 募集要項・エントリー ---------- */
.entry { padding: clamp(40px, 6vw, 96px) var(--side) clamp(96px, 10vw, 150px); background: #fff; }
.entry__board {
  position: relative; overflow: hidden; isolation: isolate; max-width: var(--wide); margin: 0 auto;
  padding: clamp(56px, 7vw, 112px) clamp(28px, 6vw, 96px);
  border-radius: 56px; background: linear-gradient(135deg, #2fb3aa, #0b4f69); color: #fff;
}
.js .entry__board.grow { clip-path: inset(10% 10% 10% 10% round 56px); opacity: 0; transition: clip-path 1.2s cubic-bezier(.65, 0, .35, 1), opacity .6s ease; }
.js .entry__board.grow.is-in { clip-path: inset(0 0 0 0 round 56px); opacity: 1; }
.entry__line path { stroke-width: 46; }
.entry__en { position: absolute; right: 3%; bottom: -4%; z-index: -1; font-family: var(--f-en); font-weight: 800; font-size: clamp(90px, 15vw, 220px); line-height: 1; color: rgba(255, 255, 255, .14); }
.entry__title { position: relative; margin: 0; font-family: var(--f-head); font-weight: 900; font-size: clamp(28px, 3.4vw, 48px); letter-spacing: .04em; }
.entry__text { position: relative; margin-top: 18px; max-width: 32em; line-height: 2; }
.entry__btns { position: relative; display: flex; flex-wrap: wrap; gap: 14px; margin-top: 36px; }

/* ---------- フッター ---------- */
.footer { background: var(--ink); color: #fff; padding: 56px var(--side) 44px; }
.footer__inner { max-width: var(--wide); margin: 0 auto; display: grid; gap: 22px; }
.footer__logo { display: inline-flex; align-items: center; gap: 10px; font-family: var(--f-head); font-weight: 900; font-size: 18px; letter-spacing: .06em; }
.footer__nav { display: flex; flex-wrap: wrap; gap: 10px 28px; font-size: 13px; font-weight: 700; }
.footer__nav a:hover { color: #ffc43a; }
.footer__note { font-size: 12px; line-height: 1.9; color: rgba(255, 255, 255, .72); }
.footer__copy { font-family: var(--f-en); font-size: 12px; letter-spacing: .08em; color: rgba(255, 255, 255, .6); }

/* ---------- スマホのメニュー ---------- */
.menu { position: fixed; inset: 0; z-index: 45; display: grid; place-items: center; padding: var(--header-h) 24px 40px; background: var(--bg); }
.menu[hidden] { display: none; }
.menu__nav { display: grid; gap: 18px; justify-items: center; font-family: var(--f-head); font-weight: 900; font-size: 20px; letter-spacing: .04em; }
.menu__entry { margin-top: 10px; padding: 12px 28px; border-radius: 999px; background: var(--ink); color: #fff; font-size: 16px; }
.header__menu[aria-expanded="true"] span:first-child { translate: 0 4.5px; rotate: 45deg; }
.header__menu[aria-expanded="true"] span:last-child { width: 18px; translate: 0 -4.5px; rotate: -45deg; }
.header__menu span { transition: rotate .3s, translate .3s, width .3s; }

/* ---------- 社員の話の窓 ---------- */
.modal { position: fixed; inset: 0; z-index: 90; display: grid; place-items: center; padding: 24px; }
.modal[hidden] { display: none; }
.modal__back { position: absolute; inset: 0; background: rgba(19, 35, 58, .62); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }
.modal__panel {
  position: relative; width: min(980px, 100%); max-height: calc(100svh - 48px); overflow: auto; overscroll-behavior: contain;
  padding: clamp(28px, 5vw, 64px); border-radius: 32px; background: #fff;
}
.modal__panel:focus { outline: none; }
.modal.is-open .modal__back { animation: fade .4s ease both; }
.modal.is-open .modal__panel { animation: panel-in .55s cubic-bezier(.2, .7, .2, 1) both; }
@keyframes fade { from { opacity: 0; } }
@keyframes panel-in { from { opacity: 0; translate: 0 40px; } }
.modal__close {
  position: sticky; top: 0; z-index: 3; display: block; margin: -12px -12px -40px auto;
  width: 52px; height: 52px; border: 0; border-radius: 50%; background: var(--ink); cursor: pointer; transition: background-color .3s, rotate .4s;
}
.modal__close::before, .modal__close::after { content: ""; position: absolute; left: 50%; top: 50%; width: 20px; height: 2.5px; background: #fff; border-radius: 2px; translate: -50% -50%; rotate: 45deg; }
.modal__close::after { rotate: -45deg; }
.modal__close:hover { background: var(--accent); rotate: 90deg; }
.talk__head { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 48px); align-items: end; }
.talk__photo img { display: block; width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: 24px; }
.talk__en { font-family: var(--f-en); font-weight: 600; font-size: 13px; letter-spacing: .24em; color: var(--accent); }
.talk__role { margin: 6px 0 12px; font-family: var(--f-head); font-weight: 900; font-size: clamp(24px, 2.8vw, 34px); letter-spacing: .04em; line-height: 1.4; }
.talk__path, .talk__year { font-size: 14px; color: var(--ink-2); }
.talk__qa { max-width: 720px; margin-top: 16px; }
.talk__qa h3 { display: flex; align-items: center; gap: 12px; margin: 40px 0 12px; font-family: var(--f-head); font-weight: 900; font-size: 20px; letter-spacing: .04em; }
.talk__qa h3::before { content: ""; width: 28px; height: 2px; background: var(--accent); flex: none; }
.talk__qa p { margin: 0; line-height: 2.1; }
.talk__fig { margin: 32px 0 0; }
.talk__fig img { display: block; width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: 20px; }

.talk__photo.is-portrait { position: relative; overflow: hidden; aspect-ratio: 3 / 2; border-radius: 24px; background: linear-gradient(150deg, #2fb3aa, #0b4f69); }
.talk__photo.is-portrait img { position: absolute; left: 50%; top: 6%; width: 62%; height: auto; aspect-ratio: auto; border-radius: 0; translate: -50% 0; object-fit: contain; }
.talk__others { margin-top: 56px; padding-top: 32px; border-top: 1px solid #e1e8e6; }
.talk__others-title { margin-bottom: 16px; font-family: var(--f-head); font-weight: 900; font-size: 16px; letter-spacing: .04em; }
.talk__others-row { display: flex; flex-wrap: wrap; gap: 14px; }
.talk__other { all: unset; box-sizing: border-box; display: flex; align-items: center; gap: 12px; padding: 8px 18px 8px 8px; border-radius: 999px; background: var(--bg); cursor: pointer; font-size: 14px; font-weight: 700; transition: background-color .3s, color .3s; }
.talk__other:hover { background: var(--ink); color: #fff; }
.talk__other:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
.talk__other-face { position: relative; overflow: hidden; width: 52px; height: 52px; border-radius: 50%; background: linear-gradient(150deg, #2fb3aa, #0b4f69); flex: none; }
.talk__other-face img { position: absolute; left: 50%; top: 4%; width: 150%; translate: -50% 0; }

.toast {
  position: fixed; left: 50%; bottom: 28px; z-index: 95; translate: -50% 16px;
  padding: 12px 22px; border-radius: 999px; background: var(--ink); color: #fff; font-size: 14px; font-weight: 700;
  opacity: 0; pointer-events: none; transition: opacity .3s, translate .3s;
}
.toast.is-show { opacity: 1; translate: -50% 0; }

@media (max-width: 899px) {
  :root { --header-h: 64px; }
  .header { gap: 12px; padding: 0 16px; }
  .header__nav, .header__entry, .header__sub { display: none; }
  .header__name { font-size: 16px; }
  .mark { width: 30px; height: 30px; }
  .header__menu {
    display: grid; align-content: center; justify-items: center; gap: 7px;
    width: 46px; height: 46px; border: 0; border-radius: 50%; background: var(--ink); cursor: pointer;
  }
  .header__menu span { display: block; width: 18px; height: 2px; background: #fff; border-radius: 2px; }
  .header__menu span:last-child { width: 12px; justify-self: center; transform: translateX(-3px); }

  .kv {
    display: flex; flex-direction: column;
    height: auto; min-height: 100svh; max-height: none;
    padding-top: var(--header-h);
  }
  .kv__visual { order: 1; height: min(116vw, 52svh); min-height: 360px; }
  .stage-wrap { right: 50%; transform: translateX(50%); height: 100%; }
  /* スマホでは札を写真の下の端に重ねる（上に置くと顔や髪にかかる） */
  .kv__caption { right: auto; left: 20px; top: auto; bottom: -22px; padding: 10px 16px 11px 14px; border-radius: 12px; }
  .kv__role { font-size: 14px; gap: 7px; }
  .kv__role::before { width: 7px; height: 7px; }
  .kv__meta { display: flex; gap: 10px; padding-left: 14px; }
  .kv__career, .kv__year { font-size: 11px; }
  .kv__text { order: 2; align-self: stretch; padding: 52px 20px 96px; }
  .kv__label { margin-bottom: 14px; gap: 10px; }
  .kv__label-ja { font-size: 12px; }
  .kv__label-en { font-size: 10px; gap: 10px; }
  .kv__label-en::before { width: 18px; }
  .kv__catch { font-size: clamp(38px, 11.4vw, 60px); line-height: 1.24; }
  .kv__lead { margin-top: 16px; font-size: 14px; line-height: 1.95; }
  .kv__jobs { margin-top: 20px; gap: 10px; }
  .kv__job { height: 46px; padding: 0 8px 0 18px; font-size: 13px; gap: 10px; }
  .kv__job::after { width: 28px; height: 28px; background-size: 28px; }
  .kv__scroll { left: auto; right: 22px; }
}

@media (max-width: 899px) {
  .sec__title { gap: 12px; font-size: clamp(21px, 5.6vw, 26px); }
  .sec__num { gap: 8px; font-size: 12px; }
  .sec__num::after { width: 18px; }
  .message { padding-top: 96px; padding-bottom: 104px; }
  .message__title { margin-bottom: 32px; font-size: clamp(22px, 6.2vw, 28px); }
  .message__body p { font-size: 15px; line-height: 2.1; }
  .marquee span { font-size: 112px; }
  .people__list { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 36px 14px; padding-top: 28px; }
  .person:nth-child(even) { margin-top: 36px; }
  .person__open, .person__frame { border-radius: 26px; }
  .person__clip { border-radius: 0 0 26px 26px; }
  .person__plus { width: 42px; height: 42px; right: 10px; bottom: 10px; }
  .person__plus::before, .person__plus::after { width: 16px; height: 2px; }
  .person__role { margin-top: 14px; font-size: 13px; letter-spacing: .02em; }
  .person__path { font-size: 11.5px; gap: 2px 8px; }
  .person__arrow { width: 18px; }
  .person__year { font-size: 11px; }
  .work__jobs::before { right: calc(-1 * var(--side)); border-radius: 0 40px 40px 0; }
  .js .work__jobs::before { clip-path: inset(0 100% 0 0 round 0 40px 40px 0); }
  .js .work__jobs.is-in::before { clip-path: inset(0 0 0 0 round 0 40px 40px 0); }
  .job { grid-template-columns: minmax(0, 1fr); gap: 26px; }
  .job--reverse .job__photo { order: 0; }
  .job__photo img { border-radius: 20px; }
  .slide { width: 80vw; min-height: 320px; padding: 26px 22px 22px; }
  .slide__en { font-size: 32px; top: 18px; }
  .slide__title { font-size: 17px; }
  .slider__ui { gap: 12px; }
  .slider__btn { width: 48px; height: 48px; }
  .numbers__list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .num { padding: 24px 12px 22px; border-radius: 22px; }
  .num__ring { width: min(128px, 100%); }
  .num__value { font-size: 30px; }
  .num__unit { font-size: 12px; }
  .num__label { margin-top: 12px; font-size: 13px; }
  .num__stage { width: min(128px, 100%); }
  .num__tags { gap: 3px; margin-top: 8px; }
  .num__tags li { padding: 3px 6px; font-size: 10px; }
  .num__tags li:nth-child(n+5):not(.num__tags-more) { display: none; }
  .num__dayblock { margin-top: 12px; }
  .num__day-row { font-size: 10px; }
  .qa { border-radius: 16px; }
  .qa__q { padding: 18px 16px; gap: 12px; font-size: 15px; }
  .qa__mark { font-size: 19px; }
  .qa__icon { width: 30px; height: 30px; }
  .qa__a p { padding: 0 18px 22px 47px; font-size: 14px; }
  .entry__board { border-radius: 36px; }
  .entry__title { font-size: clamp(22px, 6.2vw, 28px); }
  .slider__bar { flex-basis: 120px; }
  .js .entry__board.grow { clip-path: inset(10% 10% 10% 10% round 36px); }
  .js .entry__board.grow.is-in { clip-path: inset(0 0 0 0 round 36px); }
  .entry__btns .btn { width: 100%; justify-content: space-between; }
  .modal { padding: 10px; }
  .modal__panel { max-height: calc(100svh - 20px); padding: 22px 18px 32px; border-radius: 22px; }
  .modal__close { width: 44px; height: 44px; margin: 6px 6px -50px auto; }
  .entry__line { display: none; }
  .talk__head { grid-template-columns: minmax(0, 1fr); gap: 18px; }
  .talk__photo img { border-radius: 16px; }
  .talk__qa h3 { margin-top: 32px; font-size: 17px; }
  .talk__qa p { font-size: 15px; line-height: 2; }
}

@media (prefers-reduced-motion: reduce) {
  .kv__bubbles span, .kv__scroll::after, .marquee__track { animation: none; }
  .js .reveal, .js .sec__en span { opacity: 1; transform: none; transition: none; }
  .js .pop { scale: 1; }
  .js .num__tags li { opacity: 1; translate: 0 0; transition: none; }
  .js .num__day-base, .js .num__day-over { transform: none; transition: none; }
  .js .work__jobs::before, .js .entry__board.grow { clip-path: none; opacity: 1; transition: none; }
  html { scroll-behavior: auto; }
}
