/* =========================================================
   itoa 新卒採用サイト（サンプル）
   ブレークポイント: タブレット ≤990px / スマホ ≤540px
   ========================================================= */

:root {
  /* カラフル4色 ＋ 黒（#212121）＋ クリーム */
  --orange: #ff8a00;
  --yellow: #ffd43b;
  --blue: #1e8fff;
  --mint: #4fd1b5;
  --navy: #212121;
  --cream: #f9f5ec;
  /* 文字に使う濃いめの色（背景とのコントラスト用） */
  --orange-text: #e06a00;
  --blue-text: #0a6fd8;
  --mint-text: #0f9c80;
  --yellow-text: #a87800;
  /* 淡い背景色 */
  --mint-light: #dcf5ee;
  --sky-light: #e5f2ff;
  --yellow-light: #fff4c7;
  --marker: #ffe95c;
  --ink: #212121; /* テキストの色 */
  --line: #d9d6cc;
  --gray: #8d8d9a;
  --ff-ja: "Zen Kaku Gothic New", "Hiragino Kaku Gothic ProN", "Noto Sans JP", sans-serif;
  --ff-en: "Prompt", "Zen Kaku Gothic New", sans-serif;
  --header-h: 90px;
  --ease-out: cubic-bezier(.2, .7, .2, 1);
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: clip; }
body {
  margin: 0;
  font-family: var(--ff-ja);
  font-weight: 500;
  color: var(--ink);
  background: var(--cream);
  letter-spacing: .04em;
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
h1, h2, h3, p, ul, ol, figure { margin: 0; padding: 0; }

/* ---------- 日本語の折り返し ----------
   word-break: auto-phrase で、文節の途中では改行しないようにする。
   「お知/らせ」「か/ら」「応/募」のような切れ方がなくなる。
   （未対応ブラウザでは無視され、従来どおりの折り返しになる）

   text-wrap: pretty / balance は、日本語＋auto-phrase と組み合わせると
   行の長さをそろえようとして文節の途中で切ったり、行末が大きく余ったりするので使わない。 */
body { word-break: auto-phrase; }
ul, ol { list-style: none; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button { font: inherit; color: inherit; }
[id] { scroll-margin-top: 80px; }
.svg-defs { position: absolute; width: 0; height: 0; overflow: hidden; }
.container { width: min(1000px, calc(100% - 80px)); margin-inline: auto; }

/* 大事な言葉に引く黄色いマーカー */
mark {
  background: linear-gradient(transparent 62%, var(--marker) 62%);
  color: inherit;
  padding: 0 .1em;
}

/* ---------- 見出し（英字＋日本語） ---------- */
.sec-head__en {
  font-family: var(--ff-en);
  font-weight: 600;
  font-size: 20px;
  line-height: 1.3;
  color: var(--accent-text, var(--blue-text));
  letter-spacing: .04em;
}
.sec-head__ja {
  margin-top: 8px;
  font-size: 48px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: .04em;
}
.sec-head--v { display: flex; align-items: flex-start; gap: 4px; }
.sec-head--v .sec-head__en,
.sec-head--v .sec-head__ja { writing-mode: vertical-rl; margin-top: 0; }
.sec-head--v .sec-head__ja { line-height: 1.25; }

.lead { margin-top: 32px; font-size: 20px; line-height: 1.8; }

/* ---------- ボタン ---------- */
.pill {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-width: 250px;
  padding: 22px 26px 22px 24px;
  white-space: nowrap;
  border: 1px solid var(--navy);
  border-radius: 50px;
  font-size: 16px;
  font-weight: 700;
  line-height: 1;
  transition: background-color .6s, color .6s, border-color .6s;
}
.pill--dark { background: var(--navy); color: #fff; }
.pill--dark:hover { background: #fff; color: var(--ink); }
.pill--light { background: #fff; color: var(--ink); }
.pill--light:hover { background: var(--navy); color: #fff; }
.pill--wide { width: 320px; padding-block: 20px; }
.pill--noborder { border-color: #fff; }
.pill--noborder:hover { border-color: var(--navy); }
.pill--yellow { background: var(--yellow); border-color: var(--yellow); color: var(--ink); }
.pill--yellow:hover { background: #fff; border-color: #fff; color: var(--ink); }
.pill__icon { position: relative; flex: none; width: 16px; height: 6px; overflow: hidden; }
.pill__icon svg { position: absolute; top: 0; width: 16px; height: 6px; transition: transform .5s var(--ease-out); }
.pill__icon svg:first-child { left: -22px; }
.pill__icon svg:last-child { left: 0; }
.pill:hover .pill__icon svg { transform: translateX(22px); }

.circle-arrow {
  display: grid;
  place-items: center;
  flex: none;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--navy);
  color: #fff;
  scale: 1.1;
  transition: scale .4s var(--ease-out);
}
.circle-arrow svg { width: 16px; height: 6px; }
.circle-arrow--diag svg { rotate: -45deg; }
.circle-arrow--sm { width: 40px; height: 40px; scale: 1; }
a:hover .circle-arrow { scale: 1.3; }
a:hover .circle-arrow--sm { scale: 1.12; }

.ring-arrow {
  display: grid;
  place-items: center;
  flex: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--navy);
  border-radius: 50%;
  transition: scale .4s var(--ease-out), background-color .4s, color .4s;
}
.ring-arrow svg { width: 15px; height: 6px; }
a:hover .ring-arrow { scale: 1.2; background: var(--navy); color: #fff; }

/* ---------- 出現アニメーション（JSが .is-in を付与） ---------- */
.js [data-appear] {
  transition:
    opacity 1s ease var(--delay, 0s),
    translate 1s var(--ease-out) var(--delay, 0s),
    scale 1s ease var(--delay, 0s);
}
.js [data-appear="up"]:not(.is-in) { opacity: 0; translate: 0 30px; }
.js [data-appear="fade"] { transition-duration: 1.8s; }
.js [data-appear="fade"]:not(.is-in) { opacity: 0; }
.js [data-appear="zoom"]:not(.is-in) { opacity: 0; scale: 1.1; }
.js [data-appear="pop"] { transition-duration: .8s; transition-timing-function: cubic-bezier(.19, 1, .22, 1); }
.js [data-appear="pop"]:not(.is-in) { opacity: 0; scale: .6; translate: 0 20px; }

/* ---------- 浮かぶBlob（いびつな丸） ----------
   --x / --y: 位置、--s: 大きさ、--d: 形が変わる速さ、--spd: スクロール時の浮き具合（JS）
   形の変化は border-radius、ふわふわは translate、スクロール追従は transform、出現は scale を使い分ける */
.blobs { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.blob {
  position: absolute;
  left: var(--x);
  top: var(--y);
  width: var(--s);
  aspect-ratio: 1;
  background: var(--c);
  border-radius: 42% 58% 63% 37% / 45% 40% 60% 55%;
  transform: translate3d(0, var(--py, 0px), 0);
  animation:
    blobMorph var(--d, 12s) ease-in-out infinite alternate,
    blobFloat calc(var(--d, 12s) * .7) ease-in-out infinite alternate;
  will-change: transform, border-radius;
}
.blob--orange { --c: var(--orange); }
.blob--yellow { --c: var(--yellow); }
.blob--blue { --c: var(--blue); }
.blob--mint { --c: var(--mint); }
.blob--white { --c: rgba(255, 255, 255, .7); }
.js .blob { transition: scale 1.4s cubic-bezier(.19, 1, .22, 1), opacity .8s ease; }
.js .blob:not(.is-in) { scale: .3; opacity: 0; }
@keyframes blobMorph {
  0%   { border-radius: 42% 58% 63% 37% / 45% 40% 60% 55%; }
  35%  { border-radius: 62% 38% 41% 59% / 57% 61% 39% 43%; }
  70%  { border-radius: 36% 64% 55% 45% / 38% 52% 48% 62%; }
  100% { border-radius: 55% 45% 38% 62% / 62% 44% 56% 38%; }
}
@keyframes blobFloat {
  from { translate: 0 0; rotate: 0deg; }
  to   { translate: 14px -20px; rotate: 24deg; }
}

/* ---------- ヘッダー ---------- */
.header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-h);
  padding: 0 32px;
  pointer-events: none;
}
.header > * { pointer-events: auto; }
.header__btns { display: flex; gap: 16px; }

.logo { display: inline-flex; align-items: flex-end; gap: 8px; line-height: 1; }
.logo__mark { width: 46px; height: 34px; flex: none; }
.logo__word { font-family: var(--ff-en); font-weight: 600; font-size: 36px; letter-spacing: 0; line-height: .9; }
.logo__sub { margin: 0 0 3px 6px; font-size: 15px; font-weight: 700; white-space: nowrap; }

/* ---------- ヘッダーのナビ＋メガメニュー（PCのみ） ---------- */
.header__right { display: flex; align-items: center; gap: 28px; }
.gnav__list { display: flex; align-items: center; gap: 4px; }
.gnav__item { position: relative; }
/* ボタンとパネルの間の隙間もホバー範囲に含める（マウスを下ろす途中で閉じないように） */
.gnav__item::after { content: ""; position: absolute; top: 100%; left: -10px; right: -10px; height: 26px; }
.gnav__btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 10px 14px;
  border: 0;
  border-radius: 50px;
  background: none;
  font-size: 15px;
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
  transition: background-color .3s, color .3s;
}
.gnav__btn:hover { background: rgba(255, 255, 255, .7); }
.gnav__chev { width: 11px; height: 7px; transition: rotate .3s var(--ease-out); }
.gnav__item.is-open .gnav__btn { background: #fff; }
.gnav__item.is-open .gnav__chev { rotate: 180deg; }

.mega {
  position: fixed;
  top: calc(var(--header-h) - 12px);
  left: 50%;
  translate: -50% 0;
  z-index: 10;
  width: min(1060px, calc(100vw - 48px));
  padding: 28px;
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 20px 50px rgba(33, 33, 33, .14);
}
.mega[hidden] { display: none; }
.js .mega { opacity: 0; translate: -50% -8px; transition: opacity .25s ease, translate .25s var(--ease-out); }
.js .gnav__item.is-open .mega { opacity: 1; translate: -50% 0; }
.js .gnav__item:not(.is-open) .mega { pointer-events: none; }
.mega__inner { display: grid; grid-template-columns: 250px 1fr; gap: 32px; }
.mega__en { font-family: var(--ff-en); font-weight: 600; font-size: 13px; color: var(--blue-text); }
.mega__ja { margin-top: 4px; font-size: 22px; font-weight: 700; line-height: 1.4; }
.mega__lead { margin-top: 10px; font-size: 13px; line-height: 1.8; color: #555; }
.mega__all { display: inline-flex; align-items: center; gap: 10px; margin-top: 16px; font-size: 14px; font-weight: 700; }
.mega__all:hover .circle-arrow { scale: 1.15; }
.mega__body { display: grid; gap: 16px; align-content: start; }

.mega-persons { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.mega-person { display: block; }
.mega-person img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; border-radius: 12px; transition: scale .5s var(--ease-out); }
.mega-person:hover img { scale: 1.04; }
.mega-person__role { display: block; margin-top: 8px; font-size: 11px; font-weight: 700; }
.mega-person__name { display: block; margin-top: 2px; font-size: 14px; font-weight: 700; }

.mega-jobs { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.mega-job {
  display: block;
  padding: 14px 16px 14px 20px;
  border-radius: 14px;
  background: var(--cream);
  box-shadow: inset 6px 0 0 var(--job-bar);
  transition: translate .3s var(--ease-out);
}
.mega-job:hover { translate: 4px 0; }
.mega-job__en { display: block; font-family: var(--ff-en); font-size: 11px; font-weight: 600; color: var(--job-bar); }
.mega-job__title { display: block; margin-top: 2px; font-size: 15px; font-weight: 700; }

.mega-links { display: grid; grid-template-columns: repeat(2, 1fr); gap: 4px 20px; }
.mega-links--row { grid-template-columns: repeat(2, max-content); padding-top: 4px; border-top: 1px solid var(--line); }
.mega-links a { display: flex; align-items: center; gap: 10px; padding: 9px 4px; font-size: 14px; font-weight: 700; transition: color .3s; }
.mega-links a span { width: 8px; height: 8px; border-radius: 50%; background: var(--mint); transition: scale .3s; }
.mega-links a:hover { color: var(--orange-text); }
.mega-links a:hover span { scale: 1.4; }

/* ---------- スマホ MENU ---------- */
.menu-btn {
  display: none;
  position: fixed;
  right: 12px;
  bottom: 12px;
  z-index: 60;
  width: 88px;
  height: 88px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 6px 18px rgba(20, 60, 110, .14);
  cursor: pointer;
}
.menu-btn__ring { position: absolute; inset: 0; animation: spin 16s linear infinite; }
.menu-btn__ring text { font-family: var(--ff-en); font-weight: 600; font-size: 11px; letter-spacing: 2.4px; fill: var(--ink); }
.menu-btn__mark { position: absolute; left: 50%; top: 50%; width: 40px; height: 30px; translate: -50% -50%; }
.menu-btn[aria-expanded="true"] .menu-btn__mark { opacity: 0; }
.menu-btn[aria-expanded="true"]::before,
.menu-btn[aria-expanded="true"]::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 28px;
  height: 2px;
  background: var(--ink);
  translate: -50% -50%;
  rotate: 45deg;
}
.menu-btn[aria-expanded="true"]::after { rotate: -45deg; }
@keyframes spin { to { rotate: 360deg; } }

.sp-menu {
  position: fixed;
  inset: 0;
  z-index: 55;
  overflow-y: auto;
  background: var(--mint-light);
  animation: fadeIn .35s ease;
}
.sp-menu[hidden] { display: none; }
.sp-menu__inner { padding: 100px 28px 130px; }
.sp-menu__links { display: flex; flex-direction: column; gap: 22px; }
.sp-menu__links a { display: block; font-size: 22px; font-weight: 700; line-height: 1.3; }
.sp-menu__links span { display: block; font-family: var(--ff-en); font-size: 13px; font-weight: 600; color: var(--mint-text); }
.sp-menu__btns { display: flex; flex-direction: column; gap: 14px; margin-top: 40px; }
.sp-menu__btns .pill { width: 100%; }
@keyframes fadeIn { from { opacity: 0; } }

/* ---------- 流れる写真（マーキー） ---------- */
.marquee { position: relative; z-index: 1; overflow-x: clip; padding-top: 30px; }
.marquee__track { display: flex; width: max-content; animation: marquee var(--dur, 70s) linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__group { display: flex; align-items: flex-start; gap: 3vw; padding-right: 3vw; }
@keyframes marquee { to { transform: translateX(-50%); } }

.m-item { flex: none; }
.m-item--l { width: 44vw; }
.m-item--m { width: 27vw; }
.m-item--s { width: 20vw; }
.m-item--stack { display: flex; flex-direction: column; gap: 3vw; width: 19vw; }
.m-item--low { margin-top: 7vw; }
.m-item figure,
figure.m-item {
  position: relative;
  overflow: hidden;
  border-radius: 14px;
  transition: translate .6s var(--ease-out);
}
.m-item figure:hover, figure.m-item:hover { translate: 0 -24px; }
.m-item img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.m-item--stack img { aspect-ratio: 4 / 3; }

/* ---------- ① KV ---------- */
.kv { position: relative; padding-top: 150px; }
.kv__catch {
  position: relative;
  z-index: 2;
  width: fit-content;
  margin: 0 auto;
  font-size: clamp(34px, 5.6vw, 86px);
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: .02em;
}
.kv__line { display: block; transform: skewX(-12deg); }
.kv__line:last-child { padding-left: .9em; }
.js .kv__line { opacity: 0; translate: 0 24px; transition: opacity 1s ease, translate 1s var(--ease-out); }
.js .kv__line:last-child { transition-delay: .2s; }
.is-loaded .kv__line { opacity: 1; translate: 0 0; }
.kv__marquee { margin-top: 30px; }

/* ---------- ② メッセージ ---------- */
.message { position: relative; }
.message__inner { position: relative; z-index: 2; width: min(1000px, calc(100% - 80px)); margin: 0 auto; padding: 160px 0 100px; }
.message__title { font-size: 40px; font-weight: 700; line-height: 1.5; }
.message__text { margin-top: 48px; font-size: 20px; line-height: 1.9; }

/* ---------- ③ 先輩を知る（縦長カードを横に4枚／スマホは横スワイプ） ---------- */
.interview { --accent-text: var(--orange-text); position: relative; padding: 120px 0 130px; background: var(--mint-light); }
.interview__head-row {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
}
.interview__lead { padding-bottom: 6px; font-size: 16px; line-height: 1.9; }

.iv-list {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  width: min(1240px, calc(100% - 80px));
  margin: 56px auto 0;
}
.iv-card:nth-child(even) { margin-top: 44px; }
.iv-card__link { display: block; transition: translate .5s var(--ease-out); }
.iv-card__link:hover { translate: 0 -10px; }
.iv-card__media { position: relative; overflow: hidden; aspect-ratio: 3 / 4; border-radius: 20px; }
.iv-card__img { width: 100%; height: 100%; object-fit: cover; transition: scale .7s var(--ease-out); }
.iv-card__link:hover .iv-card__img { scale: 1.06; }
.iv-card__label {
  position: absolute;
  top: 16px;
  left: 0;
  padding: 6px 12px;
  border-radius: 0 6px 6px 0;
  background: var(--card-c);
  color: var(--card-t);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.3;
}
.iv-card__no {
  position: absolute;
  right: 12px;
  top: 12px;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .92);
  color: var(--card-tag);
  font-family: var(--ff-en);
  font-weight: 600;
  font-size: 19px;
  line-height: 1;
}
.iv-card__arrow { position: absolute; right: 14px; bottom: 14px; }
.iv-card__body { padding: 18px 4px 0; }
.iv-card__title { font-size: 20px; font-weight: 700; line-height: 1.5; word-break: auto-phrase; }
.iv-card__name { display: flex; align-items: baseline; gap: 8px; margin-top: 10px; font-size: 14px; font-weight: 700; }
.iv-card__name span { font-family: var(--ff-en); font-weight: 500; font-size: 11px; letter-spacing: .06em; color: var(--gray); }
.iv-card__tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
.iv-card__tags li {
  padding: 3px 8px;
  border-radius: 4px;
  background: #fff;
  color: var(--card-tag);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.4;
}
.iv-card__tags li::before { content: "# "; }
.iv-hint { display: none; margin-top: 14px; font-size: 12px; color: var(--gray); text-align: center; }

/* ---------- ④ 働く環境を知る ---------- */
.environment { --accent-text: var(--mint-text); }
.environment {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 57% 1fr;
  align-items: center;
  gap: 40px;
  padding: 140px 0 40px;
  background: var(--cream);
}
.environment__visual { position: relative; aspect-ratio: 1; margin-left: 4%; }
.env-blobs { position: absolute; inset: 0; z-index: 0; }
.env-photo {
  position: absolute;
  inset: 12% 10% 10% 12%;
  z-index: 1;
  overflow: hidden;
  border-radius: 58% 42% 46% 54% / 50% 58% 42% 50%;
  animation: blobMorph 18s ease-in-out infinite alternate-reverse;
}
.env-photo img { width: 100%; height: 100%; object-fit: cover; }
.environment__content { position: relative; z-index: 1; max-width: 500px; padding-right: 40px; }

.link-list { margin-top: 40px; }
.link-list a {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
  padding: 0 20px 0 12px;
  border-bottom: 1px solid var(--line);
  font-size: 18px;
}
.link-list a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -1px;
  width: 0;
  height: 1px;
  background: var(--ink);
  transition: width .5s var(--ease-out);
}
.link-list a:hover::after { width: 100%; }

/* ---------- ⑤ 会社を知る ---------- */
.company { --accent-text: var(--blue-text); }
.company { position: relative; z-index: 2; overflow-x: clip; padding: 40px 0 120px; background: var(--cream); }
.company__inner { position: relative; z-index: 1; display: flex; align-items: flex-end; justify-content: space-between; gap: 48px; margin-top: 72px; }
.company__text { width: 54%; }
.company__links { width: 40%; margin-top: 0; }

/* ---------- ⑥ 募集職種 ---------- */
.position { --accent-text: var(--blue-text); }
.position {
  position: relative;
  z-index: 2;
  overflow: hidden;
  padding: 90px 0 110px;
  border-radius: 50px 50px 0 0;
  background: var(--yellow);
}
.position__wall {
  position: absolute;
  top: -12%;
  right: -3%;
  z-index: 0;
  display: flex;
  gap: 18px;
  width: 44%;
  height: 135%;
  rotate: 15deg;
}
.wall-col { flex: 1; }
.wall-col__track { display: flex; flex-direction: column; gap: 18px; }
.wall-col__track img { width: 100%; aspect-ratio: 2 / 3; object-fit: cover; border-radius: 12px; }
.wall-col--up .wall-col__track { animation: wallUp 60s linear infinite; }
.wall-col--down .wall-col__track { animation: wallDown 60s linear infinite; }
@keyframes wallUp { to { translate: 0 calc(-50% - 9px); } }
@keyframes wallDown { from { translate: 0 calc(-50% - 9px); } to { translate: 0 0; } }

.position__inner { position: relative; z-index: 2; display: flex; gap: 48px; }
.position__head { position: sticky; top: 120px; align-self: flex-start; }
.job-list { display: flex; flex-direction: column; gap: 16px; width: 52%; }
.job-card { display: block; padding: 24px 24px 24px 30px; border-radius: 20px; background: #fff; color: var(--ink); box-shadow: inset 8px 0 0 var(--job-bar, var(--blue)); }
.job-card__head { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.job-card__en { font-family: var(--ff-en); font-weight: 600; font-size: 14px; color: var(--job-c, var(--blue-text)); line-height: 1.6; }
.job-card__title { font-size: 20px; font-weight: 700; line-height: 1.3; }
.job-card__text { margin-top: 14px; font-size: 14px; font-weight: 400; line-height: 1.8; }

/* ---------- ⑦ 選考の流れ ---------- */
.flow { --accent-text: var(--orange-text); }
.flow { position: relative; z-index: 2; padding: 120px 0; background: var(--cream); }
.flow > .container { position: relative; z-index: 1; }
.flow-list { display: flex; flex-direction: column; gap: 36px; margin-top: 40px; }
.flow-step {
  position: relative;
  display: flex;
  align-items: center;
  gap: 36px;
  padding: 32px 40px;
  border-radius: 20px;
  background: #fff;
}
.flow-step + .flow-step::before {
  content: "";
  position: absolute;
  top: -25px;
  left: 50%;
  translate: -50% 0;
  border-style: solid;
  border-width: 10px 9px 0;
  border-color: var(--navy) transparent transparent;
}
.flow-step__icon { flex: none; width: 18%; text-align: center; }
.flow-step__icon svg { width: 56px; height: 56px; margin: 4px auto 0; }
.flow-step__num { font-family: var(--ff-en); font-size: 16px; font-weight: 600; letter-spacing: .05em; }
.flow-step__body h3 { font-size: 20px; font-weight: 700; line-height: 1.5; letter-spacing: .05em; }
.flow-step__body p { margin-top: 6px; font-size: 16px; line-height: 1.6; letter-spacing: .05em; }
.flow__note { margin-top: 14px; font-size: 14px; font-weight: 400; color: var(--gray); text-align: right; }

.casual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-top: 56px;
  padding: 36px 40px 36px 60px;
  overflow: hidden;
  border-radius: 20px;
  background: var(--orange);
  color: var(--ink);
}
.casual__text { position: relative; z-index: 2; }
.casual__title { font-size: 24px; font-weight: 700; line-height: 1.4; letter-spacing: .1em; }
.casual__desc { margin-top: 14px; font-size: 14px; line-height: 1.8; letter-spacing: .1em; }
.casual__illust { position: relative; z-index: 2; flex: none; width: 240px; margin-left: auto; overflow: visible; }
.casual__bubble { transform-box: fill-box; transform-origin: center; transition: transform .5s var(--ease-out); }
.casual:hover .casual__bubble--b { transform: rotate(5deg) translateY(-8px); }
.casual:hover .casual__bubble--a { transform: rotate(-4deg); }
.casual__arrow {
  position: relative;
  z-index: 2;
  display: grid;
  place-items: center;
  flex: none;
  width: 46px;
  height: 46px;
  border: 1px solid var(--navy);
  border-radius: 50%;
  transition: scale .4s var(--ease-out);
}
.casual__arrow svg { width: 15px; height: 6px; }
.casual:hover .casual__arrow { scale: 1.2; }

/* ---------- ⑧ よくある質問 ---------- */
.faq { --accent-text: var(--mint-text); }
.faq { position: relative; padding: 120px 0; background: var(--sky-light); overflow-x: clip; }
.faq__inner { position: relative; z-index: 1; }
.stamps { position: absolute; top: -80px; right: 0; width: 210px; height: 200px; }
.stamp {
  position: absolute;
  display: grid;
  place-items: center;
  border-radius: 16px;
  background: #fff;
  font-weight: 700;
  line-height: 1.1;
  text-align: center;
  letter-spacing: 0;
  box-shadow: 0 6px 16px rgba(20, 60, 110, .08);
}
.stamp--a { top: 0; right: 24px; width: 76px; height: 76px; font-size: 19px; color: var(--orange-text); rotate: 16deg; }
.stamp--b { top: 58px; left: 18px; width: 90px; height: 90px; font-size: 19px; color: var(--mint-text); rotate: -10deg; }
.stamp--c { top: 118px; right: 0; width: 84px; height: 84px; font-size: 24px; color: var(--blue-text); rotate: 14deg; }

.faq-list { display: flex; flex-direction: column; gap: 20px; margin-top: 40px; }
.faq-item { border-radius: 20px; background: #fff; }
.faq-item h3 { font-size: inherit; }
.faq-item__q {
  display: flex;
  align-items: center;
  gap: 24px;
  width: 100%;
  padding: 24px;
  border: 0;
  background: none;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.6;
  letter-spacing: .05em;
  text-align: left;
  cursor: pointer;
}
.faq-item__qtext { flex: 1; }
.faq-item__chev { flex: none; width: 20px; height: 12px; transition: rotate .35s var(--ease-out); }
.faq-item__q[aria-expanded="true"] .faq-item__chev { rotate: 180deg; }
.qa-icon {
  display: grid;
  place-items: center;
  flex: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  font-family: var(--ff-en);
  font-size: 22px;
  font-weight: 600;
  line-height: 1;
}
.qa-icon--q { background: var(--orange); color: var(--ink); }
.qa-icon--a { border: 1px solid var(--line); background: var(--cream); color: var(--blue-text); }
.faq-item__a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .45s var(--ease-out); }
.faq-item__a > div { overflow: hidden; }
.faq-item.is-open .faq-item__a { grid-template-rows: 1fr; }
.faq-item__a-inner { display: flex; align-items: flex-start; gap: 24px; padding: 0 24px 24px; }
.faq-item__a-inner p { flex: 1; padding-top: 6px; font-size: 16px; line-height: 1.8; letter-spacing: .05em; }

/* ---------- ⑨ 下部ナビカード ---------- */
.nav-cards { padding: 32px 0; background: var(--mint); }
.nav-cards__inner { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.nav-card { display: flex; height: 180px; overflow: hidden; border-radius: 20px; background: #fff; }
.nav-card__text { display: flex; flex: 1; flex-direction: column; justify-content: space-between; padding: 24px 10px 24px 18px; }
.nav-card__en { font-family: var(--ff-en); font-size: 13px; font-weight: 600; color: var(--nav-c, var(--blue-text)); line-height: 1; }
.nav-card__ja { margin-top: 8px; font-size: 16px; font-weight: 700; line-height: 1.2; }
.nav-card__img { width: 55%; overflow: hidden; }
.nav-card__img img { width: 100%; height: 100%; object-fit: cover; transition: scale .5s var(--ease-out); }
.nav-card:hover .nav-card__img img { scale: 1.1; }

/* ---------- ⑩ CTA ---------- */
.cta { position: relative; padding: 64px 0; overflow: hidden; background: var(--cream); color: var(--ink); }
.cta__inner {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  width: min(880px, calc(100% - 64px));
  margin-inline: auto;
}
.cta__title { font-size: 40px; font-weight: 700; line-height: 1.45; letter-spacing: .1em; }
.cta__actions { display: flex; flex-direction: column; align-items: flex-start; gap: 20px; }
.cta__contact { padding-bottom: 3px; border-bottom: 1px solid currentColor; font-size: 16px; transition: opacity .3s; }
.cta__contact:hover { opacity: .7; }

/* ---------- フッター ---------- */
.footer {
  position: relative;
  z-index: 2;
  overflow: hidden;
  border-radius: 50px 50px 0 0;
  background: var(--sky-light);
}
.footer__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr);
  gap: 48px 64px;
  width: min(1100px, calc(100% - 80px));
  margin-inline: auto;
  padding: 72px 0 48px;
}
.footer__tagline { margin-top: 20px; font-size: 18px; font-weight: 700; line-height: 1.7; letter-spacing: .06em; }
.footer__chips { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.footer__chip {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 13px 20px;
  border-radius: 50px;
  background: #fff;
  font-size: 14px;
  font-weight: 700;
  line-height: 1;
  transition: background-color .4s, translate .4s var(--ease-out);
}
.footer__chip svg { width: 14px; height: 6px; rotate: -45deg; }
.footer__chip:hover { background: var(--yellow); translate: 0 -3px; }
.footer__nav { display: grid; grid-template-columns: 1.25fr 1fr 1fr; gap: 28px; }
.footer__col-en { font-family: var(--ff-en); font-weight: 600; font-size: 13px; letter-spacing: .08em; color: var(--c, var(--blue-text)); }
.footer__col ul { display: grid; gap: 10px; margin-top: 16px; }
.footer__col a { position: relative; display: inline-block; font-size: 15px; line-height: 1.6; }
.footer__col a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 0;
  height: 1px;
  background: var(--c, var(--ink));
  transition: width .4s var(--ease-out);
}
.footer__col a:hover { color: var(--c, var(--ink)); }
.footer__col a:hover::after { width: 100%; }
.footer__word {
  position: relative;
  z-index: 1;
  margin-top: 8px;
  font-family: var(--ff-en);
  font-weight: 600;
  font-size: clamp(96px, 21vw, 300px);
  line-height: .78;
  letter-spacing: -.02em;
  text-align: center;
  color: #fff;
  user-select: none;
}
.footer__bottom {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px 24px;
  width: min(1100px, calc(100% - 80px));
  margin-inline: auto;
  padding: 20px 0 28px;
  border-top: 1px solid #c9dcef;
}
.footer__sub { display: flex; flex-wrap: wrap; gap: 20px; }
.footer__sub a, .footer__copy { font-size: 13px; font-weight: 400; color: #5f7285; }
.footer__sub a:hover { color: var(--ink); }

/* =========================================================
   レスポンシブ
   ========================================================= */
@media (max-width: 1300px) {
  .gnav { display: none; }
}

@media (max-width: 1180px) {
}

@media (max-width: 990px) {
  :root { --header-h: 76px; }
  .header { padding: 0 24px; }
  .menu-btn { display: block; }

  .sec-head__en { font-size: 14px; }
  .sec-head__ja { font-size: 32px; }
  .lead { font-size: 16px; }

  .m-item--l { width: 56vw; }
  .m-item--m { width: 36vw; }
  .m-item--s { width: 28vw; }
  .m-item--stack { width: 26vw; }

  .message__title { font-size: 30px; }
  .message__text { font-size: 16px; }

  .interview { padding: 80px 0 90px; }
  .interview__head-row { flex-direction: column; align-items: flex-start; gap: 12px; }
  .iv-list { grid-template-columns: repeat(2, 1fr); gap: 20px; width: calc(100% - 48px); margin-top: 40px; }
  .iv-card:nth-child(even) { margin-top: 32px; }
  .iv-card__title { font-size: 18px; }

  .environment { grid-template-columns: 1fr; padding-top: 100px; }
  .environment__visual { width: 76%; margin: 0 auto; }
  .environment__content { max-width: none; padding: 0 48px; }

  .company__inner { flex-direction: column; align-items: stretch; gap: 16px; }
  .company__text, .company__links { width: 100%; }

  .position__wall { width: 50%; right: -12%; opacity: .9; }
  .job-list { width: 62%; }

  .flow { padding: 80px 0; }
  .flow-step { padding: 28px 32px; gap: 24px; }

  .nav-cards__inner { gap: 12px; }
  .nav-card { height: 130px; border-radius: 12px; }
  .nav-card__text { padding: 16px 10px; }
  .nav-card__ja { font-size: 14px; }

  .cta__inner { flex-direction: column; align-items: flex-start; }
  .cta__title { font-size: 28px; }

  .footer { border-radius: 36px 36px 0 0; }
  .footer__inner { grid-template-columns: 1fr; gap: 40px; padding: 56px 0 32px; }
  .footer__bottom { padding-bottom: 120px; }
}

@media (max-width: 540px) {
  :root { --header-h: 60px; }
  .blob { width: calc(var(--s) * .62); }
  .env-blobs .blob { width: var(--s); }
  .pc { display: none; }
  .container { width: calc(100% - 40px); }

  .header { padding: 0 14px; }
  .logo { gap: 6px; }
  .logo__mark { width: 32px; height: 24px; }
  .logo__word { font-size: 26px; }
  .logo__sub { margin-left: 2px; font-size: 10px; }
  .header .pill { width: auto; min-width: 0; padding: 12px 16px; font-size: 13px; }
  .header .pill__icon { display: none; }
  .menu-btn { width: 76px; height: 76px; }

  .sec-head__en { font-size: 12px; }
  .sec-head__ja { font-size: 26px; }
  .sec-head--v { display: block; }
  .sec-head--v .sec-head__en, .sec-head--v .sec-head__ja { writing-mode: horizontal-tb; }
  .sec-head--v .sec-head__ja { margin-top: 4px; }
  .lead { margin-top: 16px; font-size: 14px; }

  .kv { padding-top: 96px; }
  .kv__catch { font-size: 8.6vw; }
  .marquee { --dur: 50s; }
  .m-item--l { width: 72vw; }
  .m-item--m { width: 50vw; }
  .m-item--s { width: 40vw; }
  .m-item--stack { width: 36vw; }
  .m-item figure, figure.m-item { border-radius: 10px; }

  .message__inner { width: calc(100% - 48px); padding: 100px 0 64px; }
  .message__title { font-size: 22px; }
  .message__text { margin-top: 20px; font-size: 14px; }

  .interview { padding: 56px 0 64px; }
  .iv-list {
    display: flex;
    gap: 14px;
    width: 100%;
    margin-top: 28px;
    padding: 4px 20px 10px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
  }
  .iv-list::-webkit-scrollbar { display: none; }
  .iv-card, .iv-card:nth-child(even) { flex: 0 0 70vw; margin-top: 0; scroll-snap-align: center; }
  .iv-card__media { border-radius: 14px; }
  .iv-card__label { top: 12px; padding: 4px 10px; font-size: 12px; }
  .iv-card__no { width: 38px; height: 38px; font-size: 16px; }
  .iv-card__arrow { right: 10px; bottom: 10px; width: 34px; height: 34px; }
  .iv-card__title { font-size: 17px; }
  .iv-card__body { padding-top: 14px; }
  .iv-hint { display: block; }

  .environment { padding-top: 64px; gap: 8px; }
  .environment__visual { width: 92%; }
  .environment__content { padding: 0 20px; }
  .link-list { margin-top: 20px; }
  .link-list a { height: 64px; font-size: 14px; }
  .ring-arrow { width: 36px; height: 36px; }

  .company { padding-bottom: 64px; }
  .company__inner { margin-top: 32px; }

  .position { padding: 56px 0 440px; border-radius: 30px 30px 0 0; }
  .position__inner { flex-direction: column; gap: 20px; }
  .position__head { position: static; }
  .job-list { width: 100%; gap: 12px; }
  .job-card { padding: 20px; }
  .job-card__en { font-size: 12px; }
  .job-card__title { font-size: 18px; }
  .job-card__text { margin-top: 10px; }
  .job-card .circle-arrow { width: 40px; height: 40px; scale: 1; }
  .position__wall { top: auto; bottom: -140px; right: -8%; width: 110%; height: 620px; }

  .flow { padding: 56px 0; }
  .flow-list { gap: 30px; margin-top: 24px; }
  .flow-step { gap: 12px; padding: 20px 16px; }
  .flow-step + .flow-step::before { top: -22px; }
  .flow-step__icon { width: 52px; }
  .flow-step__icon svg { width: 40px; height: 40px; margin-top: 2px; }
  .flow-step__num { font-size: 12px; }
  .flow-step__body h3 { font-size: 16px; }
  .flow-step__body p { font-size: 13px; line-height: 1.5; }
  .flow__note { font-size: 12px; }
  .casual { flex-direction: column; align-items: flex-start; gap: 16px; margin-top: 32px; padding: 28px 24px; }
  .casual__title { font-size: 20px; letter-spacing: .05em; }
  .casual__illust { width: 170px; margin-left: 0; }
  .casual__arrow { position: absolute; right: 20px; bottom: 24px; }

  .faq { padding: 64px 0; }
  .stamps { top: -92px; right: -8px; scale: .6; transform-origin: top right; }
  .faq-list { gap: 12px; margin-top: 24px; }
  .faq-item { border-radius: 14px; }
  .faq-item__q { gap: 12px; padding: 16px 14px; font-size: 14px; }
  .faq-item__chev { width: 16px; height: 10px; }
  .qa-icon { width: 32px; height: 32px; font-size: 16px; }
  .faq-item__a-inner { gap: 12px; padding: 0 14px 18px; }
  .faq-item__a-inner p { padding-top: 4px; font-size: 13px; }

  .nav-cards { padding: 24px 0; }
  .nav-cards__inner { grid-template-columns: 1fr; gap: 16px; }
  .nav-card { height: 150px; border-radius: 16px; }
  .nav-card__text { padding: 20px 8px 20px 20px; }
  .nav-card__ja { font-size: 16px; }

  .cta { padding: 48px 0; }
  .cta__inner { width: calc(100% - 48px); gap: 28px; }
  .cta__title { font-size: 23px; letter-spacing: .05em; }
  .cta__actions { width: 100%; gap: 14px; }
  .pill--wide { width: 100%; }

  .footer { border-radius: 24px 24px 0 0; }
  .footer__inner { width: calc(100% - 32px); gap: 32px; padding: 40px 0 24px; }
  .logo--footer .logo__word { font-size: 26px; }
  .footer__tagline { margin-top: 14px; font-size: 15px; }
  .footer__chips { margin-top: 20px; }
  .footer__chip { padding: 11px 16px; font-size: 13px; }
  .footer__nav { grid-template-columns: repeat(2, 1fr); gap: 24px 16px; }
  .footer__col a { font-size: 14px; }
  .footer__word { font-size: 25vw; }
  .footer__bottom { width: calc(100% - 32px); gap: 10px; padding: 16px 0 110px; }
  .footer__sub { flex: 1 1 100%; gap: 6px 16px; }
}

/* 動きを減らす設定の人には、アニメーションを止める */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .marquee__track, .wall-col__track, .menu-btn__ring { animation: none; }
  .blob, .env-photo { animation: none; }
  .js .blob:not(.is-in) { scale: 1; opacity: 1; }
  .js [data-appear], .js .kv__line { transition: none; opacity: 1; translate: none; scale: none; }
}
