@charset "utf-8";
/* ═══════════════════════════════════════════════════════════════
   トップページ 再構築 — 2026-08-15
   styles.css の追補が13層積み上がって上書き合戦になっていたので、
   トップの主要4面だけ新しいクラス名（t2-）で組み直す。
   旧クラスに一切マッチしないので、特異度の争いが起きない。
   ═══════════════════════════════════════════════════════════════ */

/* 面をclip-pathで斜めに落とすと、落とした先の地色が出る。
   ファーストビューと同じ白を出したいので、下地を白で固定する。 */
main { background: #fff; }

:root {
  --t2-ink: #0e1512;
  --t2-dark: #0b1411;     /* セカンドビューの面 */
  --t2-green: #05A676;
  --t2-mint: #8fd9c6;     /* 濃色面の上でだけ使う。AA確保済み */
}

/* ───────────────────────────────────────────────
   1. ファーストビュー
   写真を1枚、画面いっぱいに置く。読み込み直後は少し内側に
   収まった状態で、スクロールにつれて画面の端まで広がる。
   （React Bits の Scroll Expand と同じ考え方。
   動かすのは拡大率だけなので、毎フレームの組み直しが起きない。
   写真の側にも逆向きの寄りを少しかけている）
   ─────────────────────────────────────────────── */
.t2-fv {
  --fp: 0;                       /* 0＝読み込み直後 / 1＝広がり切った状態 */
  --fs: 0.88;                    /* 写真の縮み具合 */
  position: relative;
  height: 180svh;
  /* 写真の外側は濃い地にする。次のセクションと同じ色なので、
     写真が端まで広がり切ったあとも面がつながって見える */
  background: #222222;
}
.t2-fv-frame {
  position: sticky;
  top: 0;
  height: 100svh;
  overflow: hidden;
  background: #222222;
}
.t2-fv-media {
  position: absolute;
  inset: 0;
  overflow: hidden;
  transform: scale(var(--fs));
  border-radius: calc(20px * (1 - var(--fp)) / var(--fs));
  will-change: transform;
  background: #222222;
}
.t2-fv-media img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: 50% 38%;
  display: block;
  /* 写真の側は逆に少しだけ寄っていく */
  transform: scale(calc(1.08 - 0.08 * var(--fp)));
  transform-origin: 50% 40%;
}
/* 文字を載せる側だけ暗くする。下から上へ、段を細かく刻む */
.t2-fv-veil {
  position: absolute; inset: 0;
  pointer-events: none;
  background:
    linear-gradient(to top,
      rgba(8,14,12,0.86) 0%,
      rgba(8,14,12,0.80) 8%,
      rgba(8,14,12,0.70) 16%,
      rgba(8,14,12,0.57) 24%,
      rgba(8,14,12,0.43) 32%,
      rgba(8,14,12,0.30) 40%,
      rgba(8,14,12,0.19) 48%,
      rgba(8,14,12,0.10) 56%,
      rgba(8,14,12,0.04) 64%,
      rgba(8,14,12,0) 72%),
    linear-gradient(to bottom,
      rgba(8,14,12,0.60) 0%,
      rgba(8,14,12,0.52) 6%,
      rgba(8,14,12,0.40) 13%,
      rgba(8,14,12,0.26) 21%,
      rgba(8,14,12,0.14) 29%,
      rgba(8,14,12,0.05) 37%,
      rgba(8,14,12,0) 46%),
    /* 文字を置く左側は、写真の明るさに関係なく読めるようにする */
    linear-gradient(to right,
      rgba(8,14,12,0.86) 0%,
      rgba(8,14,12,0.82) 16%,
      rgba(8,14,12,0.74) 28%,
      rgba(8,14,12,0.62) 40%,
      rgba(8,14,12,0.47) 52%,
      rgba(8,14,12,0.32) 63%,
      rgba(8,14,12,0.19) 73%,
      rgba(8,14,12,0.09) 83%,
      rgba(8,14,12,0.02) 92%,
      rgba(8,14,12,0) 100%);
}

.t2-fv-copy {
  position: absolute;
  left: clamp(28px, 9vw, 132px);
  /* 上側にもガードを置く。画面が低いときに
     見出しがヘッダーへ潜り込むのを防ぐ */
  top: 96px;
  bottom: clamp(88px, 13vh, 150px);
  width: min(46em, 74vw);
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
}
.t2-fv-title {
  margin: 0 0 clamp(20px, 2.4vw, 30px);
  font-size: clamp(30px, 5.4vw, 74px);
  font-weight: 700;
  letter-spacing: -0.045em;
  line-height: 1.28;
  color: #fff;
}
/* 1行ずつ、下から立ち上げる。行の箱で切り取っているので、
   立ち上がる前の文字は見えない */
.t2-fv-title .l { display: block; overflow: hidden; padding-bottom: 0.08em; }
.t2-fv-title .l > span { display: block; }
/* 立ち上がる前に隠すのは、JSが動いているときだけ。
   JSが無い環境で文字ごと消えないようにする */
.js .t2-fv-title .l > span {
  transform: translateY(112%);
  transition: transform 1100ms cubic-bezier(0.16, 1, 0.3, 1) calc(var(--li, 0) * 130ms);
}
.t2-fv.is-ready .t2-fv-title .l > span { transform: translateY(0); }

.t2-fv-sub {
  margin: 0 0 clamp(22px, 2.6vw, 34px);
  width: min(34em, 100%);
  font-size: 14px;
  line-height: 2.1;
  letter-spacing: 0.03em;
  color: rgba(255,255,255,0.88);
  word-break: auto-phrase;
}
.t2-fv-act { display: flex; align-items: center; gap: clamp(16px, 2vw, 28px); flex-wrap: wrap; }
.js .t2-fv-sub,
.js .t2-fv-act {
  opacity: 0;
  transform: translateY(14px);
  transition:
    opacity 900ms cubic-bezier(0.22, 1, 0.36, 1) var(--rd, 0ms),
    transform 900ms cubic-bezier(0.22, 1, 0.36, 1) var(--rd, 0ms);
}
.t2-fv-sub { --rd: 420ms; }
.t2-fv-act { --rd: 540ms; }
.t2-fv.is-ready .t2-fv-sub,
.t2-fv.is-ready .t2-fv-act { opacity: 1; transform: translateY(0); }

.t2-fv-act .t2-btn {
  display: inline-flex; align-items: center; gap: 12px;
  padding: 17px 34px;
  border-radius: 999px;
  /* 白文字を載せるので、ブランドの #05A676（比3.12）ではなく
     サイト共通の濃い緑を使う（比7.42） */
  background: #05614f;
  color: #fff;
  font-size: 14px; font-weight: 600;
  letter-spacing: 0.04em;
  text-decoration: none;
  transition: background 260ms ease;
}
.t2-fv-act .t2-btn:hover { background: #044a3c; }
.t2-fv-act .t2-btn:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }
.t2-fv-act .t2-lnk {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 14px; font-weight: 500;
  letter-spacing: 0.04em;
  color: #fff;
  text-decoration: none;
  padding: 6px 2px;
  border-bottom: 1px solid rgba(255,255,255,0.5);
  transition: border-color 260ms ease;
}
.t2-fv-act .t2-lnk:hover { border-color: #fff; }
.t2-fv-act .t2-lnk:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }

/* 下へ続くことを示す目印。広がり切ると消える */
.t2-fv-scroll {
  position: absolute;
  right: clamp(24px, 4vw, 56px);
  bottom: clamp(34px, 5vh, 56px);
  z-index: 2;
  display: flex; align-items: center; gap: 12px;
  font-family: var(--font-en, Inter, sans-serif);
  font-size: 13px; font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.82);
  opacity: calc(1 - var(--fp) * 1.6);
}
.t2-fv-scroll .bar {
  position: relative;
  width: 52px; height: 1px;
  background: rgba(255,255,255,0.35);
  overflow: hidden;
}
.t2-fv-scroll .bar::after {
  content: '';
  position: absolute; inset: 0;
  background: #fff;
  transform: translateX(-100%);
  animation: t2FvCue 2200ms cubic-bezier(0.65, 0, 0.35, 1) infinite;
}
@keyframes t2FvCue {
  0%   { transform: translateX(-100%); }
  55%  { transform: translateX(0); }
  100% { transform: translateX(100%); }
}

@media (max-width: 900px) {
  .t2-fv { --fs: 0.94; height: 168svh; }
  .t2-fv-media { border-radius: calc(14px * (1 - var(--fp)) / var(--fs)); }
  .t2-fv-copy {
    left: 22px; right: 22px;
    width: auto;
    bottom: clamp(74px, 11vh, 110px);
  }
  .t2-fv-title { font-size: clamp(28px, 8.4vw, 42px); letter-spacing: -0.04em; }
  .t2-fv-sub { font-size: 13.5px; line-height: 2; }
  .t2-fv-act { gap: 14px; }
  .t2-fv-act .t2-btn { padding: 15px 26px; }
  .t2-fv-scroll { display: none; }
  /* 縦長では左右が切れるので、トレーナー側へ寄せて切り取る */
  .t2-fv-media img { object-position: 66% 40%; }
  /* 縦長では文字が写真の明るい部分に重なるので、幕を濃くする。
     横方向の幕は幅が足りず効かないため、下からの幕だけで守る */
  .t2-fv-veil {
    background:
      linear-gradient(to top,
        rgba(8,14,12,0.92) 0%,
        rgba(8,14,12,0.90) 12%,
        rgba(8,14,12,0.86) 22%,
        rgba(8,14,12,0.80) 30%,
        rgba(8,14,12,0.71) 38%,
        rgba(8,14,12,0.59) 46%,
        rgba(8,14,12,0.45) 54%,
        rgba(8,14,12,0.31) 62%,
        rgba(8,14,12,0.19) 70%,
        rgba(8,14,12,0.10) 78%,
        rgba(8,14,12,0.04) 86%,
        rgba(8,14,12,0) 94%),
      linear-gradient(to bottom,
        rgba(8,14,12,0.66) 0%,
        rgba(8,14,12,0.52) 8%,
        rgba(8,14,12,0.36) 16%,
        rgba(8,14,12,0.20) 24%,
        rgba(8,14,12,0.08) 32%,
        rgba(8,14,12,0) 40%);
  }
  .t2-fig-cap { text-wrap: balance; letter-spacing: 0.1em; }
}
/* 横に倒した携帯のように画面が低いとき。
   そのままでは見出し・本文・ボタンが収まらず、上が切れる */
@media (max-height: 560px) and (orientation: landscape) {
  .t2-fv-copy { top: 76px; bottom: 24px; }
  .t2-fv-title { font-size: clamp(22px, 3.4vw, 30px); margin-bottom: 12px; }
  .t2-fv-sub { font-size: 13px; line-height: 1.75; margin-bottom: 16px; width: min(30em, 100%); }
  .t2-fv-act .t2-btn { padding: 12px 22px; }
  .t2-fv-scroll { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  /* 広げる動きも、文字の立ち上がりも出さない */
  .t2-fv { --fs: 1; --fp: 1; height: 100svh; }
  .t2-fv-media { border-radius: 0; }
  .t2-fv-scroll { display: none; }
  .t2-fv-title .l > span { transform: none; transition: none; }
  .t2-fv-sub, .t2-fv-act { opacity: 1; transform: none; transition: none; }
  .t2-fv-scroll .bar::after { animation: none; transform: translateX(0); }
}

/* ───────────────────────────────────────────────
   2. セカンドビュー — 会社紹介とミッション
   文章は面いっぱいに組み、写真は文章の下へ回して
   画面の端から端まで流れる帯にする。
   （2枚を横幅50%ずつで区切ると写真が小さくなりすぎるため、
   2026-08-30に この形へ変更）
   ─────────────────────────────────────────────── */
.t2-story {
  position: relative;
  background: var(--t2-dark);
  color: #fff;
  padding: clamp(84px, 9.5vw, 148px) 0 0;
  /* overflow は置かない。ここに hidden があると
     .t2-story-head の position:sticky が効かなくなる。
     写真の帯は .t2-strip-row 側で切り取っている */
}
.t2-story-inner {
  width: min(1240px, 90vw);
  margin-inline: auto;
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: clamp(32px, 5vw, 88px);
  align-items: start;
  padding-bottom: clamp(64px, 7.5vw, 108px);
}
.t2-story-head { position: sticky; top: clamp(96px, 12vh, 140px); }
.t2-story-kicker {
  display: flex; align-items: center; gap: 12px;
  margin: 0 0 16px;
  font-family: var(--font-en, Inter, sans-serif);
  font-size: 13px; font-weight: 500;
  letter-spacing: 0.13em;
  color: var(--t2-mint);
}
.t2-story-kicker::before { content: ''; width: 30px; height: 1px; background: var(--t2-mint); flex: none; }
.t2-story-title {
  margin: 0;
  font-size: clamp(28px, 3.6vw, 50px);
  /* インタビュー記事のタイトル（.detail-title）と同じ400。
     字間は詰めをゆるめるにとどめる。0まで開けると1行目が
     「従来のトレーナー像／を、」と割れて3行になる */
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 1.4;
  color: #fff;
}
.t2-story-body p {
  margin: 0 0 clamp(22px, 2.4vw, 32px);
  font-size: 14px;
  line-height: 2.25;
  letter-spacing: 0.03em;
  color: rgba(255,255,255,0.8);
}
.t2-story-body p:last-child { margin-bottom: 0; }
.t2-story-body p .em { color: #fff; font-weight: 500; }

.t2-mission {
  margin-top: clamp(30px, 3.4vw, 46px);
  padding: clamp(22px, 2.4vw, 30px) clamp(22px, 2.6vw, 34px);
  border-radius: 12px;
  background: rgba(255,255,255,0.055);
}
.t2-mission .lbl {
  display: block;
  margin-bottom: 12px;
  font-family: var(--font-en, Inter, sans-serif);
  font-size: 13px; font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--t2-mint);
}
.t2-mission p {
  margin: 0;
  font-size: 14px;
  line-height: 2.05;
  letter-spacing: 0.02em;
  color: #fff;
  word-break: auto-phrase;
}

/* 写真の帯。上段と下段が逆向きに流れ、
   スクロールとは無関係に、一定の速さで静かに流れる。地の端から端まで使う */
.t2-strip { padding-bottom: clamp(26px, 3vw, 40px); }
.t2-strip-row { overflow: hidden; }
.t2-strip-row + .t2-strip-row { margin-top: clamp(14px, 1.6vw, 24px); }
.t2-strip-track {
  list-style: none;
  margin: 0; padding: 0;
  display: flex;
  gap: clamp(14px, 1.6vw, 24px);
  width: max-content;
  will-change: transform;
}
.t2-strip-track li {
  flex: none;
  width: clamp(280px, 30vw, 480px);
  aspect-ratio: 3 / 2;
  overflow: hidden;
  border-radius: 8px;
  background: rgba(255,255,255,0.05);
}
.t2-strip-track img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
}
.t2-fig-cap {
  width: min(1240px, 90vw);
  margin: clamp(18px, 2vw, 26px) auto 0;
  padding-bottom: clamp(70px, 8vw, 120px);
  font-family: var(--font-en, Inter, sans-serif);
  font-size: 13px; font-weight: 500;
  letter-spacing: 0.14em;
  color: rgba(255,255,255,0.62);
}

@media (max-width: 960px) {
  .t2-story-inner { grid-template-columns: 1fr; gap: 36px; padding-bottom: clamp(44px, 6vw, 64px); }
  .t2-story-head { position: static; }
}
@media (prefers-reduced-motion: reduce) {
  /* 自動で流さない。指で横へ送れるようにする */
  .t2-strip-row { overflow-x: auto; }
  .t2-strip-track { transform: none !important; }
}

/* ───────────────────────────────────────────────
   3. 数字で見るNEXPORT
   横送りをやめ、8つを一度に見せる升目にした（2026-08-30）。
   ページの他の場所で横に流す見せ方を使っているので、
   ここは並べて全部見せる形にする。
   1つだけ大きく取り、残りを小さく敷く。
   ─────────────────────────────────────────────── */
.t2-nums {
  background: #fff;
  padding: clamp(76px, 8.5vw, 124px) 0 clamp(84px, 9.5vw, 132px);
}
.t2-nums-inner {
  width: min(1240px, 90vw);
  margin-inline: auto;
}
.t2-nums-head { margin-bottom: clamp(34px, 4.2vw, 58px); }
.t2-nums-kicker {
  display: flex; align-items: center; gap: 12px;
  margin: 0 0 14px;
  font-family: var(--font-en, Inter, sans-serif);
  font-size: 13px; font-weight: 500;
  letter-spacing: 0.13em;
  color: #3f6d5f;
}
.t2-nums-kicker::before { content: ''; width: 30px; height: 1px; background: #3f6d5f; flex: none; }
.t2-nums-title {
  margin: 0 0 16px;
  font-size: clamp(26px, 3.1vw, 40px);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.45;
  color: var(--t2-ink);
  text-wrap: balance;
}
.t2-nums-lead {
  margin: 0;
  font-size: 14px; line-height: 2.05; letter-spacing: 0.03em;
  color: #43524d;
  word-break: auto-phrase;
}

.t2-bento {
  --be: cubic-bezier(0.22, 1, 0.36, 1);
  list-style: none;
  margin: 0; padding: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(10px, 1.1vw, 16px);
}
.bt {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: clamp(20px, 2.2vw, 30px);
  border-radius: 12px;
  background: #f6f0e5;
  min-height: clamp(158px, 16vw, 200px);
}
/* 伏せた状態から順に起き上がる。カードの束と同じ緩急。
   隠すのはJSが動いているときだけにする（2026-08-30） */
.js .bt {
  opacity: 0;
  /* 移動なし（2026-09-18） */
  transition:
    opacity 640ms var(--be) calc(var(--bi, 0) * 70ms),
    transform 640ms var(--be) calc(var(--bi, 0) * 70ms);
}
.t2-bento.is-in .bt { opacity: 1; transform: translateY(0); }
.bt.b1 { grid-column: span 2; grid-row: span 2; }
.bt.b2 { grid-column: span 2; }

.bt .bt-k {
  display: block;
  font-size: 13px; font-weight: 600;
  letter-spacing: 0.12em;
  color: #55605b;
  margin-bottom: auto;
}
.bt .bt-v {
  display: block;
  margin: clamp(18px, 2vw, 26px) 0 10px;
  font-size: clamp(34px, 3.8vw, 54px);
  font-weight: 700;
  letter-spacing: -0.045em;
  line-height: 1;
  color: var(--t2-ink);
  font-variant-numeric: tabular-nums;
}
.bt .bt-v .bt-num { display: inline-block; text-align: center; }
.bt .bt-v .bt-u {
  /* 数字に比例させると狭い画面で11px前後まで落ちるので下限を置く */
  font-size: clamp(13px, 0.32em, 22px);
  font-weight: 600;
  letter-spacing: 0.02em;
  margin-left: 8px;
  color: #43524d;
}
.bt .bt-note {
  margin: 0;
  font-size: 13px;
  line-height: 1.9;
  letter-spacing: 0.02em;
  color: #55605b;
  word-break: auto-phrase;
}

/* 先頭の1つだけ濃い面で受けて、升目に強弱をつける */
.bt.is-lead { background: #222222; overflow: hidden; }
/* 公式SVGの2パスをそのまま使う。長方形と右上三角形の輪郭・比率を保持。 */
.bt.is-lead::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: url("../img/nexport-symbol-pattern.svg");
  background-size: 50% auto;
  opacity: 0.10;
}
/* 升の辺で地紋が断ち切れないよう、内側から地の色で溶かす */
.bt.is-lead::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(to right, #222222 0%, rgba(34,34,34,0) 22%, rgba(34,34,34,0) 78%, #222222 100%),
    linear-gradient(to bottom, #222222 0%, rgba(34,34,34,0) 20%, rgba(34,34,34,0) 80%, #222222 100%);
}
.bt.is-lead > * { position: relative; z-index: 1; }
.bt.is-lead .bt-k { color: #a9b2af; }
.bt.is-lead .bt-v { color: #fff; font-size: clamp(52px, 7vw, 104px); }
.bt.is-lead .bt-v .bt-u { color: #cfd6d3; }
.bt.is-lead .bt-note { color: #cfd6d3; max-width: 26em; }

@media (max-width: 900px) {
  .t2-bento { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  /* 大きく取るのは先頭だけ。2枚目まで全幅にすると強弱が消える。
     先頭が1行を占めると残り7つで最後の行に空きが出るので、
     最後の1つを全幅にして升目を埋める */
  .bt.b1 { grid-row: span 1; }
  .bt.b2 { grid-column: span 1; }
  .bt:last-child { grid-column: span 2; }
  .bt.is-lead .bt-v { font-size: clamp(48px, 11vw, 72px); }
}
@media (max-width: 560px) {
  .t2-bento { grid-template-columns: 1fr; }
  .bt.b1, .bt.b2, .bt:last-child { grid-column: span 1; }
  .bt { min-height: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .js .bt { opacity: 1; transform: none; transition: none; }
}

/* ───────────────────────────────────────────────
   4. 下層への導線バナー
   仕事と研修・募集要項はトップで説明しきらず、ここから下層へ渡す。
   ─────────────────────────────────────────────── */
.t2-gates {
  /* 濃い面（About）と白い面（数字）の間に挟むので、地は紙の色にする */
  background: #f6f0e5;
  padding: clamp(76px, 8.5vw, 124px) 0 clamp(84px, 9.5vw, 132px);
}
.t2-gates-inner {
  width: min(1240px, 90vw);
  margin-inline: auto;
}
.t2-gates-head { margin-bottom: clamp(36px, 4.4vw, 64px); }
.t2-gates-kicker {
  display: flex; align-items: center; gap: 12px;
  margin: 0 0 14px;
  font-family: var(--font-en, Inter, sans-serif);
  font-size: 13px; font-weight: 500;
  letter-spacing: 0.13em;
  color: #3f6d5f;
}
.t2-gates-kicker::before {
  content: ''; width: 30px; height: 1px; background: #3f6d5f; flex: none;
}
.t2-gates-title {
  margin: 0 0 16px;
  font-size: clamp(26px, 3.1vw, 40px);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.45;
  color: var(--t2-ink);
  text-wrap: balance;
}
.t2-gates-lead {
  margin: 0;
  font-size: 14px; line-height: 2.05; letter-spacing: 0.03em;
  color: #43524d;
  word-break: auto-phrase;
}

/* カードの束は2枚。スタッフのカードと同じ作り
   （上が写真・下が濃い面・境目は幕でなじませる）にして、
   トップ全体で同じ語彙になるようにする。 */
.t2-gates-deck {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(18px, 2vw, 32px);
}
.gcard {
  --ge: cubic-bezier(0.22, 1, 0.36, 1);
  position: relative;
  display: flex;
  flex-direction: column;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border-radius: 10px;
  background: #222222;
  text-decoration: none;
  container-type: inline-size;
  box-shadow: 0 10px 28px rgba(34,34,34,0.14);
}
/* 伏せた状態から起き上がる。スタッフのカードと同じ緩急を使い、
   2枚に時間差をつける。隠すのはJSが動いているときだけ（2026-08-30） */
.js .gcard {
  opacity: 0;
  transform: rotateZ(var(--gr, -3deg)) scale(0.975);   /* 起き上がりの傾きだけ残し、下→上の移動はやめた（2026-09-18） */
  transition:
    opacity 720ms var(--ge) calc(var(--gi, 0) * 110ms),
    transform 720ms var(--ge) calc(var(--gi, 0) * 110ms),
    box-shadow 260ms var(--ge);
}
.gcard:nth-child(2) { --gr: 3deg; }
.t2-gates-deck.is-in .gcard {
  opacity: 1;
  transform: translateY(0) rotateZ(0deg) scale(1);
}
.gcard:hover { box-shadow: 0 18px 44px rgba(34,34,34,0.26); }

.gcard-shot {
  position: relative;
  flex: 1 1 auto;
  min-height: 0;
  overflow: hidden;
}
.gcard-shot img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  transform: scale(1.04);
  transition: transform 900ms var(--ge);
}
.gcard:hover .gcard-shot img { transform: scale(1.09); }
/* 幕はスタッフのカードと同じ引き方（段を細かく刻んで境目を消す） */
.gcard-veil {
  position: absolute; inset: 0;
  background: linear-gradient(to top,
    #222222 0%,
    rgba(34,34,34,0.998) 5%,
    rgba(34,34,34,0.985) 8%,
    rgba(34,34,34,0.955) 11%,
    rgba(34,34,34,0.905) 14%,
    rgba(34,34,34,0.835) 17%,
    rgba(34,34,34,0.745) 20%,
    rgba(34,34,34,0.640) 23%,
    rgba(34,34,34,0.525) 26%,
    rgba(34,34,34,0.410) 29%,
    rgba(34,34,34,0.300) 32%,
    rgba(34,34,34,0.202) 35%,
    rgba(34,34,34,0.122) 38%,
    rgba(34,34,34,0.062) 41%,
    rgba(34,34,34,0.023) 44%,
    rgba(34,34,34,0.005) 47%,
    rgba(34,34,34,0) 50%);
  pointer-events: none;
}
.gcard-copy {
  position: relative;
  z-index: 1;
  flex: 0 0 auto;
  display: flex;
  flex-direction: column;
  margin-top: calc(-1 * clamp(26px, 6cqw, 56px));
  padding: clamp(14px, 1.6vw, 20px) clamp(22px, 2.4vw, 32px) clamp(28px, 3.2vw, 40px);
}
.gcard-badge {
  font-family: var(--font-en, Inter, sans-serif);
  font-size: 13px; font-weight: 500;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: #a9b2af;
  margin-bottom: 14px;
}
.gcard-ttl {
  font-size: clamp(19px, 2vw, 26px);
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1.5;
  color: #fff;
  margin-bottom: 12px;
}
.gcard-txt {
  font-size: 13.5px;
  line-height: 1.95;
  letter-spacing: 0.03em;
  color: #cfd6d3;
  margin-bottom: 22px;
  word-break: auto-phrase;
}
.gcard-more {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 13px; font-weight: 400;
  letter-spacing: 0.04em;
  color: #fff;
}
.gcard-more .arw {
  width: 26px; height: 1px;
  background: rgba(255,255,255,0.7);
  position: relative;
  transition: width .3s var(--ge);
}
.gcard-more .arw::before {
  content: ''; position: absolute; right: 0; top: -3px;
  width: 7px; height: 7px;
  border-top: 1px solid rgba(255,255,255,0.7);
  border-right: 1px solid rgba(255,255,255,0.7);
  transform: rotate(45deg);
}
.gcard:hover .gcard-more .arw { width: 40px; }
/* 紙色の面に載るので緑（比2.75）では見えない。ボタンと同じ濃さにそろえる */
.gcard:focus-visible { outline: 2px solid #0e1512; outline-offset: 4px; }

@media (max-width: 720px) {
  /* 縦に積む。1枚ずつは縦長に戻して写真を大きく見せる */
  .t2-gates-deck { grid-template-columns: 1fr; gap: 20px; }
  .gcard { aspect-ratio: 3 / 4; }
  .gcard-copy { padding-inline: 20px; }
}
@media (prefers-reduced-motion: reduce) {
  .js .gcard { opacity: 1; transform: none; transition: box-shadow 200ms; }
}

/* ───────────────────────────────────────────────
   4-2. 募集要項と選考
   いちばん先に知りたい情報なので、下層へ渡す前に
   選考の流れだけはこの面で見せ切る。
   段は左から順に立ち上がり、間の線が伸びてつながる。
   ─────────────────────────────────────────────── */
.t2-hire {
  --he: cubic-bezier(0.22, 1, 0.36, 1);
  background: #fff;
  padding: clamp(76px, 8.5vw, 124px) 0 clamp(84px, 9.5vw, 132px);
}
.t2-hire-inner {
  width: min(1240px, 90vw);
  margin-inline: auto;
}
.t2-hire-head { margin-bottom: clamp(40px, 5vw, 72px); }
.t2-hire-kicker {
  display: flex; align-items: center; gap: 12px;
  margin: 0 0 14px;
  font-family: var(--font-en, Inter, sans-serif);
  font-size: 13px; font-weight: 500;
  letter-spacing: 0.13em;
  color: #3f6d5f;
}
.t2-hire-kicker::before {
  content: ''; width: 30px; height: 1px; background: #3f6d5f; flex: none;
}
.t2-hire-title {
  margin: 0 0 16px;
  font-size: clamp(26px, 3.1vw, 40px);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.45;
  color: var(--t2-ink);
  text-wrap: balance;
}
.t2-hire-lead {
  margin: 0;
  font-size: 14px; line-height: 2.05; letter-spacing: 0.03em;
  color: #43524d;
  word-break: auto-phrase;
}

/* 選考の流れ。番号の玉と線で作る本来のフローチャートにする。
   線は上から順に伸び、玉は数字を白抜きに色が変わる。
   （縦に並べた小さい丸だけでは流れに見えないため作り替えた） */
.t2-flow {
  --nz: 46px;
  --gap: clamp(8px, 1vw, 16px);
  --rail: #ded6c6;
  /* 玉の色。白文字を載せるので、サイト共通の濃い緑を使う
     （ブランドの #05A676 に白文字は比3.12でAAに届かない） */
  --node: #05614f;
  list-style: none;
  margin: 0 0 clamp(36px, 4.4vw, 60px);
  padding: 0;
  position: relative;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: var(--gap);
}
/* 玉の中心どうしを結ぶ線。1列の幅は (100% - 隙間4つ) / 5 なので、
   左右それぞれ その半分だけ内側から引く。::before が未通過・::after が通過済み */
.t2-flow::before,
.t2-flow::after {
  content: '';
  position: absolute;
  left: calc((100% - 4 * var(--gap)) / 10);
  right: calc((100% - 4 * var(--gap)) / 10);
  top: calc(var(--nz) / 2 - 1px);
  height: 2px;
  border-radius: 2px;
}
.t2-flow::before { background: var(--rail); }
.t2-flow::after {
  background: #05A676;
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 1400ms cubic-bezier(0.65, 0, 0.35, 1) 160ms;
}
.t2-flow.is-in::after { transform: scaleX(1); }

.fstep {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 0 clamp(4px, 0.6vw, 10px);
}
/* 玉。線の上に乗せるので地の色で塗りつぶす */
.fstep-node {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: var(--nz); height: var(--nz);
  border-radius: 50%;
  background: #fff;
  border: 1px solid var(--rail);
  margin-bottom: 18px;
  transition:
    transform 520ms cubic-bezier(0.34, 1.56, 0.64, 1) calc(var(--si, 0) * 330ms + 120ms),
    opacity 380ms ease calc(var(--si, 0) * 330ms + 120ms),
    background-color 320ms ease calc(var(--si, 0) * 330ms + 260ms),
    border-color 320ms ease calc(var(--si, 0) * 330ms + 260ms);
}
/* 隠すのはJSが動いているときだけ（2026-08-30） */
.js .fstep-node { transform: scale(0.72); opacity: 0; }
.js .fstep-body { opacity: 0; }   /* 移動なし（2026-09-18） */
.fstep-n {
  font-family: var(--font-en, Inter, sans-serif);
  font-size: 13px; font-weight: 600;
  letter-spacing: 0.06em;
  color: #6a736f;   /* 白地で4.89。#9a9284 は3.08で足りない */
  transition: color 320ms ease calc(var(--si, 0) * 330ms + 260ms);
}
.t2-flow.is-in .fstep-node {
  opacity: 1;
  transform: scale(1);
  background: var(--node);
  border-color: var(--node);
}
.t2-flow.is-in .fstep-n { color: #fff; }

.fstep-body {
  display: block;
  transition:
    opacity 560ms cubic-bezier(0.22, 1, 0.36, 1) calc(var(--si, 0) * 330ms + 280ms),
    transform 560ms cubic-bezier(0.22, 1, 0.36, 1) calc(var(--si, 0) * 330ms + 280ms);
}
.t2-flow.is-in .fstep-body { opacity: 1; transform: translateY(0); }
.fstep-t {
  display: block;
  font-size: clamp(15px, 1.35vw, 18px);
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--t2-ink);
  margin-bottom: 6px;
  text-wrap: balance;
}
.fstep-e {
  display: block;
  font-family: var(--font-en, Inter, sans-serif);
  font-size: 13px; font-weight: 400;
  letter-spacing: 0.08em;
  color: #6a736f;
  margin-bottom: 10px;
}
.fstep-d {
  display: block;
  font-size: 13px;
  line-height: 1.85;
  letter-spacing: 0.02em;
  color: #55605b;
  word-break: auto-phrase;
}

@media (max-width: 1023px) {
  /* 横に5つ並べると1段が110〜170pxまで縮み、説明文が数文字で折れるので、
     線を縦に倒して上から下へ流れる形にする */
  .t2-flow {
    grid-template-columns: 1fr;
    gap: 26px;
  }
  .t2-flow::before,
  .t2-flow::after { display: none; }
  .fstep {
    display: grid;
    grid-template-columns: var(--nz) 1fr;
    column-gap: 18px;
    align-items: start;
    text-align: left;
    padding: 0;
  }
  .fstep-node { margin-bottom: 0; }
  /* 玉から次の玉へ下ろす線。段の下端から隙間の分まで伸ばす */
  .fstep::before {
    content: '';
    position: absolute;
    left: calc(var(--nz) / 2 - 1px);
    top: var(--nz);
    bottom: -26px;
    width: 2px;
    border-radius: 2px;
    background: var(--rail);
    transform: scaleY(0);
    transform-origin: top center;
    transition: transform 460ms cubic-bezier(0.65, 0, 0.35, 1) calc(var(--si, 0) * 330ms + 300ms);
  }
  .t2-flow.is-in .fstep::before { transform: scaleY(1); background: #05A676; }
  .fstep:last-child::before { display: none; }
  .fstep-body { padding-top: 9px; }
  .fstep-e { margin-bottom: 8px; }
}
@media (prefers-reduced-motion: reduce) {
  /* 共通CSSは transition-duration しか消していないので、
     遅延が残って順番に点いてしまう。ここで動き自体を止める */
  .t2-flow::after { transform: scaleX(1); transition: none; }
  .js .fstep-node { opacity: 1; transform: scale(1); transition: none; }
  .js .fstep-n { color: #fff; transition: none; }
  .js .fstep-body { opacity: 1; transform: none; transition: none; }
  .fstep::before { transform: scaleY(1); transition: none; }
}

.t2-hire-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: clamp(20px, 3vw, 48px);
  flex-wrap: wrap;
}
.t2-hire-note {
  margin: 0;
  font-size: 13.5px; line-height: 1.95; letter-spacing: 0.03em;
  color: #43524d;
  word-break: auto-phrase;
}
.t2-hire-link {
  display: inline-flex; align-items: center; gap: 12px;
  padding: 16px 30px;
  border-radius: 999px;
  /* 黒はこのボタンだけの色だったので、サイト共通の濃緑にそろえる（2026-08-31） */
  background: #05614f;
  color: #fff;
  font-size: 14px; font-weight: 500;
  letter-spacing: 0.03em;
  text-decoration: none;
  transition: background 260ms var(--he);
  flex: none;
}
.t2-hire-link:hover { background: #044a3c; }
.t2-hire-link .arw {
  width: 26px; height: 1px;
  background: #fff;
  position: relative;
  transition: width .3s var(--he);
}
.t2-hire-link .arw::before {
  content: ''; position: absolute; right: 0; top: -3px;
  width: 7px; height: 7px;
  border-top: 1px solid #fff;
  border-right: 1px solid #fff;
  transform: rotate(45deg);
}
.t2-hire-link:hover .arw { width: 38px; }
.t2-hire-link:focus-visible { outline: 2px solid #0e1512; outline-offset: 3px; }

@media (max-width: 560px) {
  .t2-hire-foot { flex-direction: column; align-items: flex-start; }
  .t2-hire-link { width: 100%; justify-content: center; }
}

/* ───────────────────────────────────────────────
   5. 最後の案内（応募フォーム本体は /entry/ に置く）
   参考ページと同じ型：淡い面／和文見出しの下に英字を小さく／
   短い説明／丸い矢印ボタン。角は切らない。
   ─────────────────────────────────────────────── */
.t2-cta {
  background: #f4f3f0;
  padding: clamp(72px, 8vw, 116px) 0;
  border-top: 1px solid rgba(14,21,18,0.08);
}
.t2-cta-inner {
  width: min(1180px, 90vw);
  margin-inline: auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(36px, 5vw, 84px);
}
.t2-cta-col { min-width: 0; }
.t2-cta-inner > .t2-cta-col + .t2-cta-col {
  padding-left: clamp(36px, 5vw, 84px);
  border-left: 1px solid rgba(14,21,18,0.14);
}
.t2-cta-ttl {
  margin: 0 0 16px;
  font-size: clamp(20px, 2vw, 26px);
  font-weight: 600;
  letter-spacing: -0.025em;
  color: var(--t2-ink);
}
/* 英字は見出しの「下」に小さく置く。横に並べない */
.t2-cta-ttl .en {
  display: block;
  margin-top: 7px;
  font-family: var(--font-en, Inter, sans-serif);
  font-size: 13px; font-weight: 500;
  letter-spacing: 0.14em;
  color: #55605b;
}
.t2-cta-txt {
  margin: 0 0 26px;
  font-size: 13.5px; line-height: 2.1; letter-spacing: 0.03em;
  color: #2b3330;
  max-width: 30em;
}
.t2-cta-btn {
  display: inline-flex; align-items: center; gap: 14px;
  font-size: 13.5px; font-weight: 600; letter-spacing: 0.03em;
  color: var(--t2-ink);
  text-decoration: none;
}
.t2-cta-btn .ico {
  width: 40px; height: 40px; flex: none;
  border-radius: 50%;
  background: var(--t2-ink);
  position: relative;
  transition: background .25s;
}
.t2-cta-btn .ico::before,
.t2-cta-btn .ico::after {
  content: ''; position: absolute; background: #fff;
}
.t2-cta-btn .ico::before { left: 12px; top: 19.5px; width: 15px; height: 1px; }
.t2-cta-btn .ico::after {
  right: 12px; top: 16px; width: 6px; height: 6px;
  background: none;
  border-top: 1px solid #fff; border-right: 1px solid #fff;
  transform: rotate(45deg);
}
.t2-cta-btn:hover .ico { background: #05614f; }

@media (max-width: 760px) {
  .t2-cta-inner { grid-template-columns: 1fr; gap: 40px; }
  .t2-cta-inner > .t2-cta-col + .t2-cta-col {
    padding-left: 0; padding-top: 36px;
    border-left: 0; border-top: 1px solid rgba(14,21,18,0.14);
  }
}

/* ヘッダーは最上部から最後まで透明のまま（中島さん指示）。白の面は敷かない。 */

/* ───────────────────────────────────────────────
   見出しの組み方を参考ページに合わせる
   英字は和文の「下」に小さく敷く。上や左に横並びで置かない。
   大文字化と広い字間もやめて、字面を静かにする。
   ─────────────────────────────────────────────── */

/* 数字の見出しは、他のセクション（仕事と研修・募集要項）と同じ
   左揃え・英字が上の形にそろえる（中央揃えをやめた。2026-08-30） */
.t2-nums-kicker { color: #3f6d5f; }
.t2-nums-kicker::before { background: #3f6d5f; }

/* セカンドビュー。英字の小見出しは見出しの下へ置き、
   大文字と広い字間をやめて静かにする */
.t2-story-title { margin-bottom: 12px; }
.t2-story-kicker {
  margin: 0;
  font-size: 13px; font-weight: 500;
  letter-spacing: 0.13em;
  text-transform: none;
  color: #9fb3ac;
}
.t2-story-kicker::before { display: none; }
.t2-fig-cap {
  font-size: 13px; font-weight: 500;
  letter-spacing: 0.13em;
  text-transform: none;
  color: #9fb3ac;
}

/* ミッションのラベルも、大文字と広い字間をやめて静かにする */
.t2-mission .lbl {
  font-size: 13px; font-weight: 500;
  letter-spacing: 0.13em;
  text-transform: none;
  color: #9fb3ac;
  margin-bottom: 13px;
}

/* 共通フッター最下段が rgba(255,255,255,0.4)＝比3.81 でAAに届かないので底上げする
   （下層は pages2.css 側に同じ指定がある） */
.footer-bottom { color: rgba(255,255,255,0.62); }

/* ヘッダーの反転と暗幕は、全ページに効かせるため styles.css の末尾へ移した（2026-08-30） */

/* 和文の折り返しは文節で */
.t2-fv-sub, .t2-story-body p, .t2-mission p, .t2-nums-lead, .bt .bt-note,
.entry-text {
  word-break: auto-phrase;
}

/* CTAの2本目は「線だけ」のボタンにする。
   styles.css が .cta-btn を一律で緑の面にしていて、主従が付かないうえ
   白文字 on 緑は比3.12でAAに届かないため。 */
.cta .cta-btn:not(.cta-btn-primary) {
  background: transparent !important;
  border: 1px solid rgba(255,255,255,0.55);
  color: #fff !important;
}
.cta .cta-btn:not(.cta-btn-primary):hover {
  border-color: #fff;
  background: rgba(255,255,255,0.10) !important;
}

/* ═══════════════════════════════════════════════════════════
   黒の面を、公式サイトのフッターと同じ黒（#222222）に揃える（2026-08-16）
   いままで #0b1411 / #0e1512 / #1a1a1a が混在していた。
   あわせて、ヒーローとCTAに入っていた緑のグラデーション（ネオン状の光）を消す。
   ═══════════════════════════════════════════════════════════ */
:root { --t2-dark: #222222; }

.t2-story,
.sec-people,
.footer { background: #222222 !important; }

/* 緑のグラデーションは使わない */
.list-hero::before, .page-hero::before, .cta::before,
.top-hero::before, .top-hero::after,
.vision-section::before, .top-interview-section::before { display: none !important; }


/* ═══════════════════════════════════════════════════════════
   インタビュー：めくれるカード（2026-08-29）
   横スクロールをやめ、4枚を重ねて1枚ずつ手前へ送る。
   参考にしたのは threeui「Koi Studies」の動きの設計だけで、
   コードは使っていない（有料パッケージのためソースは持ち込めない）。
   canvas も WebGL も使わず、transform と opacity だけで作る。

   3層に分ける。層ごとに役割を1つだけ持たせるのが滑らかさの正体。
     .ist-shell … 奥行きの位置
     .ist-plane … 指の動き・傾き・飛び出し
     .ist-card  … 重なりの角度
   緩急は3層とも同じにして、時間だけ変える。
   手前のカードは常に画面の中央。後ろの3枚は右・左・上へばらばらにはみ出す。
   ═══════════════════════════════════════════════════════════ */
.ist {
  --ist-e: cubic-bezier(0.22, 1, 0.36, 1);
  --ist-w: clamp(252px, 25vw, 372px);
  position: relative;
  padding: calc(var(--ist-w) * 0.09 + clamp(18px, 2.6vw, 34px)) 0 0;
}

.ist-stage {
  position: relative;
  width: var(--ist-w);
  aspect-ratio: 2 / 3;
  margin-inline: auto;
  perspective: 1100px;
  container-type: inline-size;
}
.ist-deck {
  position: absolute; inset: 0;
  transform-style: preserve-3d;
}

/* 1層目：奥行き */
.ist-shell {
  --x: 0%; --y: 0%; --z: 0px;
  position: absolute; inset: 0;
  transform: translate3d(var(--x), var(--y), var(--z));
  transform-style: preserve-3d;
  transition: transform 380ms var(--ist-e);
  will-change: transform;
}
.ist-shell[data-d="0"] { --x: 0%;    --y: 0%;    --z: 0px;    z-index: 4; }
.ist-shell[data-d="1"] { --x: 9.5%;   --y: -6.2%; --z: -4cqw;  z-index: 3; }
.ist-shell[data-d="2"] { --x: -10.5%; --y: 4.8%;  --z: -8cqw;  z-index: 2; }
.ist-shell[data-d="3"] { --x: 5.8%;   --y: 11.5%; --z: -12cqw; z-index: 1; }

/* 2層目：指の動きと傾き */
.ist-plane {
  --dx: 0px; --dturn: 0deg; --tx: 0deg; --ty: 0deg;
  position: absolute; inset: 0;
  transform: translate3d(var(--dx), 0, 0) rotateX(var(--tx)) rotateY(var(--ty)) rotateZ(var(--dturn));
  transform-style: preserve-3d;
  transition: transform 320ms var(--ist-e), opacity 200ms;
  will-change: transform;
}
/* 指を追っている間はほぼ即時に。ここが追従の手触りを決める */
.ist-shell.is-tracking .ist-plane { transition-duration: 70ms; transition-timing-function: linear; }
.ist-shell.is-dragging .ist-plane { transition: none; }
.ist-shell.is-out { --z: 26px; z-index: 9; }
.ist-shell.is-out .ist-plane {
  --dx: -62%; --dturn: -12deg;
  opacity: 0;
  transition: transform 400ms cubic-bezier(0.32, 0, 0.2, 1), opacity 260ms ease-out;
}
.ist-shell.is-out.to-right .ist-plane { --dx: 62%; --dturn: 12deg; }
.ist-shell.no-anim, .ist-shell.no-anim .ist-plane, .ist-shell.no-anim .ist-card,
.ist-shell.no-anim .ist-img, .ist-shell.no-anim .ist-copy { transition: none !important; }

/* 3層目：重なりの角度 */
.ist-card {
  --rot: 0deg; --sc: 1;
  position: absolute; inset: 0;
  display: block;
  overflow: hidden;
  border-radius: 10px;
  background: #222222;
  /* 手前のカードに枠線は付けない。枠の下にもカードの地（#222222）が塗られるので、
     明るい写真の上では細い暗線に見える（2026-08-30に「野暮ったい」と指摘された）。
     手前の1枚は落ち影だけで地から浮かせる。枠線は後ろのカードにだけ残す。 */
  border: 0;
  /* 上から順に「写真」「文字」。写真は残りの高さを全部もらう。
     割合で決めると、カードが小さい幅ほど文字が写真へ食い込み、
     人物が顎のあたりで切れてしまう。 */
  display: flex;
  flex-direction: column;
  text-decoration: none;
  transform: rotateZ(var(--rot)) scale(var(--sc));
  transform-origin: 50% 50%;
  transition: transform 440ms var(--ist-e), box-shadow 240ms, background 440ms var(--ist-e);
  -webkit-user-drag: none;
}
.ist-shell[data-d="0"] .ist-card { --rot: 0deg;    --sc: 1;     }
.ist-shell[data-d="1"] .ist-card { --rot: -5.2deg; --sc: 0.994; }
.ist-shell[data-d="2"] .ist-card { --rot: 6.8deg;  --sc: 0.982; }
.ist-shell[data-d="3"] .ist-card { --rot: -9deg;   --sc: 0.968; }

/* 落ち影は手前の1枚だけ。ほかのセクションへは広げない */
.ist-shell[data-d="0"] .ist-card { box-shadow: 0 1.8cqw 5cqw rgba(0,0,0,0.30); }

/* 後ろのカードは、文字の面が地の色と同じだと下半分が消えてしまう。
   ほんの少しだけ明るい紙にして、重なっている枚数が数えられるようにする。 */
.ist-shell:not([data-d="0"]) .ist-card {
  background: #2b2b2b;
  border: 1px solid rgba(255,255,255,0.14);
}

.ist-shell { cursor: grab; touch-action: pan-y; }
.ist-shell.is-dragging { cursor: grabbing; }
/* 後ろのカードも押せる。押すとその人が手前へ来る（記事へは飛ばさない）。
   触れないままだと、見えているのに反応しないカードになる。 */
.ist-shell:not([data-d="0"]) { cursor: pointer; }

/* 写真。手前に来たときに、そのまま滑らかに立ち上がる。
   後ろにいる間は少し沈めて大きめに置いておき、
   手前へ出るのに合わせて明るさと寸法が戻る。マス目状の出現はしない。 */
/* 写真はカードいっぱいには伸ばさず、上の領域に収める。
   どのみち下は面で塗るので、そこまで引き延ばすと人物に寄りすぎる。
   16:9 の全高が入る高さにすると横に切る幅が広がり、
   頭からみぞおちのあたりまでが入る「引き」の絵になる。 */
.ist-shot {
  position: relative;
  flex: 1 1 auto;
  min-height: 0;
  overflow: hidden;
}
.ist-img {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  opacity: 0.74;
  transform: scale(1.05);
  transform-origin: 50% 100%;
  transition: opacity 620ms var(--ist-e), transform 700ms var(--ist-e);
}
.ist-shell[data-d="0"] .ist-img { opacity: 1; transform: scale(1); }

/* 写真の下端を、下の面へなじませる */
.ist-veil {
  position: absolute; inset: 0;
  /* 面へなじませる幕。**段の数を増やして、境目が線に見えないようにしてある。**
     刻みを粗くすると、暗い地の上では帯（バンディング）が出る。
     長さは写真の下から38%まで。ここから上は素の写真。
     濃い側（0〜9%）を厚く保つのは、文字の頭がこの帯へ乗るため。
     さらに長く取ると、みぞおちまで写っている絵が顎で切れて見える。 */
  background: linear-gradient(to top,
    #222222 0%,
    rgba(34,34,34,0.998) 5%,
    rgba(34,34,34,0.985) 8%,
    rgba(34,34,34,0.955) 11%,
    rgba(34,34,34,0.905) 14%,
    rgba(34,34,34,0.835) 17%,
    rgba(34,34,34,0.745) 20%,
    rgba(34,34,34,0.640) 23%,
    rgba(34,34,34,0.525) 26%,
    rgba(34,34,34,0.410) 29%,
    rgba(34,34,34,0.300) 32%,
    rgba(34,34,34,0.202) 35%,
    rgba(34,34,34,0.122) 38%,
    rgba(34,34,34,0.062) 41%,
    rgba(34,34,34,0.023) 44%,
    rgba(34,34,34,0.005) 47%,
    rgba(34,34,34,0) 50%);
  pointer-events: none;
}

/* 文字は写真より少し遅れて立ち上がる。1語ずつは和文で崩れるのでやらない */
/* 幕は文字のかたまり自身に持たせる。カードの高さに対する割合で敷くと、
   カードが小さいほど文字が明るい側へせり上がって読めなくなる
   （1024・768・390 で実際に 4.5:1 を割っていた）。 */
.ist-copy {
  flex: 0 0 auto;
  /* 文字のかたまりを写真の下端へ少しだけ重ねる。重ねたぶん写真が縦に伸びるので、
     人物が顎で切れる方向には働かない。重ねる量は幕の濃い側（下から9%）に
     収まる範囲にとどめる。 */
  position: relative;
  z-index: 1;
  margin-top: calc(-1 * clamp(30px, 7cqw, 64px));
  padding: clamp(14px, 1.6vw, 20px) clamp(24px, 2.6vw, 34px) clamp(32px, 3.6vw, 46px);
  /* 前へ出るとき・後ろへ回るときは、カードの移動と同じ時間をかけて濃さを変える。
     ここを瞬時に切り替えると、左へ戻したときだけ文字が跳ねて見える。 */
  transition: opacity 380ms var(--ist-e);
}
/* 後ろのカードの文字。薄さは文字のかたまりごと1回だけ掛ける。
   1つずつの文字に掛けると、行が入れ子になっている見出しだけ二重に掛かり、
   いちばん大きい見出しがいちばん小さい氏名より沈む。 */
.ist-shell:not([data-d="0"]) .ist-copy { opacity: 0.5; }
/* 薄くすると、もともと白より落としてある肩書きと英字名だけが 4.5:1 を割る。
   後ろのカードではその2つを白に戻し、薄さの掛かった状態で基準を満たす。 */
.ist-shell:not([data-d="0"]) .ist-badge,
.ist-shell:not([data-d="0"]) .ist-name .en { color: #ffffff !important; }
.ist-copy > *, .ist-title .ln {
  opacity: 1;
  filter: none;
  translate: none;
}
.ist.is-in .ist-shell[data-d="0"] .ist-badge,
.ist.is-in .ist-shell[data-d="0"] .ist-title .ln,
.ist.is-in .ist-shell[data-d="0"] .ist-name,
.ist.is-in .ist-shell[data-d="0"] .ist-more {
  animation: ist-ink-in 720ms cubic-bezier(0.16, 1, 0.3, 1) both;
  animation-delay: calc(170ms + var(--i, 0) * 68ms);
}
/* 見出しは行が入れ子なので、外側は出さずに行だけ出す */
.ist-shell[data-d="0"] .ist-title { opacity: 1; filter: none; translate: none; animation: none; }
.ist-badge      { --i: 0; }
.ist-title .ln  { --i: 2; }              /* 3行目以降も2として扱う（順番は崩れない） */
.ist-title .ln:nth-child(1) { --i: 1; }
.ist-name       { --i: 3; }
.ist-more       { --i: 4; }
@keyframes ist-ink-in {
  from { opacity: 0; filter: blur(0.32em); translate: 0 0.72em; }
  to   { opacity: 1; filter: blur(0);      translate: 0 0;      }
}
/* 肩書きと英字名は、太さと明るさを一段落として見出し・氏名との差を作る。
   薄くしすぎない。#222222 の上で 4.5:1 を割らない範囲にとどめてある
   （#a9b2af で約7.5:1、#9aa3a0 で約6.3:1）。 */
.ist-badge {
  margin: 0 0 15px;
  font-family: var(--font-en, "Inter", sans-serif);
  font-size: 13px; font-weight: 500;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: #a9b2af;
}
.ist-title {
  margin: 0 0 20px;
  font-size: clamp(14px, 5.7cqw, 21px);
  font-weight: 600;
  line-height: 1.62;
  letter-spacing: -0.025em;
  color: #fff;
}
.ist-title .ln { display: block; }
/* 幅が狭いと氏名が「立子山 健／太」と割れていたので、
   和名は割らずに1かたまりで置き、英字だけを次の行へ落とす。 */
.ist-name {
  display: flex; align-items: baseline; flex-wrap: wrap;
  gap: 4px 11px;
  margin: 0;
  padding-top: 17px;
  border-top: 1px solid rgba(255,255,255,0.22);
  font-size: 14px; font-weight: 600;
  color: #fff;
}
.ist-name .ja { white-space: nowrap; }
/* styles.css 側に `.en { color:#2b3330 !important }` があり、
   そのままでは濃色のカードの上で読めなくなる。同じ強さで書き戻す。 */
.ist-name .en {
  font-family: var(--font-en, "Inter", sans-serif);
  font-size: 13px; font-weight: 500;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: #9aa3a0 !important;
  white-space: nowrap;
}
.ist-more {
  display: inline-flex; align-items: center; gap: 10px;
  margin-top: 24px;
  font-size: 13px; font-weight: 400;
  letter-spacing: 0.04em;
  color: #fff;
}
.ist-more .arw {
  width: 26px; height: 1px;
  background: rgba(255,255,255,0.7);
  position: relative;
  transition: width .25s var(--ist-e);
}
.ist-more .arw::before {
  content: ''; position: absolute; right: 0; top: -3px;
  width: 7px; height: 7px;
  border-top: 1px solid rgba(255,255,255,0.7);
  border-right: 1px solid rgba(255,255,255,0.7);
  transform: rotate(45deg);
}
.ist-card:hover .ist-more .arw { width: 38px; }
.ist-card:focus-visible { outline: 2px solid var(--t2-mint); outline-offset: 4px; }

/* 送りのボタン。地が黒なので白で作る */
.ist-ctrl {
  display: flex; align-items: center; justify-content: center;
  gap: 14px;
  /* 束のいちばん奥の1枚が下へ 12.4% ぶんはみ出すので、その分を足して離す */
  margin-top: calc(var(--ist-w) * 0.20 + clamp(24px, 2.2vw, 34px));
}
.ist-btn {
  width: 46px; height: 46px;
  border: 1px solid rgba(255,255,255,0.34);
  border-radius: 50%;
  background: transparent;
  color: #fff;
  font-size: 15px;
  display: inline-flex; align-items: center; justify-content: center;
  cursor: pointer;
  transition: background .2s, color .2s, border-color .2s;
}
.ist-btn:hover { background: #fff; border-color: #fff; color: #222222; }
.ist-btn:focus-visible { outline: 2px solid var(--t2-mint); outline-offset: 3px; }
.ist-pos {
  margin: 0;
  min-width: 46px;
  text-align: center;
  font-family: var(--font-en, "Inter", sans-serif);
  font-size: 13px; letter-spacing: 0.06em;
  color: #d6dcd9;
}
.ist-status {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip-path: inset(50%); white-space: nowrap; border: 0;
}

@media (max-width: 767px) {
  /* スマホは画面の幅をもっと使う。2:3のまま一回り大きくする */
  .ist { --ist-w: min(82vw, 366px); }
  .ist-copy { padding-inline: 20px; }
}
/* 狭い画面では、ばらけ幅と回転を浅くする。そのままだと画面からはみ出す。
   あわせて文字まわりの余白を詰める。詰めないと写真の枠が
   16:9 より横長になり、こんどは頭の上が切れる。 */
@media (max-width: 560px) {
  /* カードを大きくしたぶん、詰めていた間隔を戻す */
  .ist-badge  { margin-bottom: 11px; }
  .ist-title  { margin-bottom: 14px; }
  .ist-name   { padding-top: 15px; }
  .ist-more   { margin-top: 19px; }
  .ist-copy   { padding-top: 14px; padding-bottom: 30px; }
  .ist-shell[data-d="1"] { --x: 6%;    --y: -4%;  }
  .ist-shell[data-d="2"] { --x: -6.6%; --y: 3%;   }
  .ist-shell[data-d="3"] { --x: 3.6%;  --y: 7.2%; }
  .ist-shell[data-d="1"] .ist-card { --rot: -3.4deg; }
  .ist-shell[data-d="2"] .ist-card { --rot: 4.4deg;  }
  .ist-shell[data-d="3"] .ist-card { --rot: -5.8deg; }
}

@media (prefers-reduced-motion: reduce) {
  .ist-ctrl { margin-top: clamp(28px, 3vw, 44px); }
  .ist-copy > *, .ist-title .ln { opacity: 1; filter: none; translate: none; }
  .ist.is-in .ist-shell[data-d="0"] .ist-badge,
  .ist.is-in .ist-shell[data-d="0"] .ist-title .ln,
  .ist.is-in .ist-shell[data-d="0"] .ist-name,
  .ist.is-in .ist-shell[data-d="0"] .ist-more { animation: none; }
  .ist-shell:not([data-d="0"]) { opacity: 0; pointer-events: none; }
  .ist-deck, .ist-shell, .ist-plane, .ist-card, .ist-img, .ist-copy {
    transition: opacity 200ms linear !important;
    transform: none !important;
  }
  .ist-img, .ist-copy { opacity: 1; }
}

/* ═══════════════════════════════════════════════════════════
   広い画面のカード（768px 以上）
   2:3 のままだと、768〜1024 の帯で写真が158pxしかなく、文字（224px）より
   小さくなっていた。ここから上は 4:5 の大きめのカードに切り替える。
   4:5 だと 16:9 の元の絵を横に32%切ることになるが、いまのPC表示（1920pxで
   34%切っている）より切らずに済み、人はいまより45%大きく映る。
   カード幅の上限が 560px なのは好みではなく素材の限界。02〜04 の写真は
   1920×1080 で圧縮が強く、これ以上広げると画面の細かい点で粗さが出る。
   ═══════════════════════════════════════════════════════════ */
@media (min-width: 768px) {
  .ist { --ist-w: clamp(420px, 38vw, 560px); }
  .ist-stage { aspect-ratio: 4 / 5; }
  /* カードが大きくなるので、下限を14pxから18pxへ上げる（上限21pxは据え置き） */
  .ist-title { font-size: clamp(18px, 3.75cqw, 21px); }
  /* 横に広いカードでは、同じ割合だと横のはみ出しが大きくなりすぎる。
     372px幅のときの「ずれた量」をそのまま保つ割合に置き直す。 */
  .ist-shell[data-d="1"] { --x: 6%;  --y: -6.2%;  }
  .ist-shell[data-d="2"] { --x: -7%; --y: 4.8%;   }
  .ist-shell[data-d="3"] { --x: 4%;  --y: 11.5%;  }
  .ist-shell[data-d="1"] .ist-card { --rot: -5deg; }
  .ist-shell[data-d="2"] .ist-card { --rot: 6deg;  }
  .ist-shell[data-d="3"] .ist-card { --rot: -7deg; }
}

/* ═══════════════════════════════════════════════════════════
   地の模様（ロゴのシンボルの線画）
   小さい形を並べると規則が見えすぎるので、大きく・少なく置く。
   カードは地も後ろの3枚も不透明なので、線がカードの裏を通っても濁らない。
   ═══════════════════════════════════════════════════════════ */
.sec-people { position: relative; overflow: hidden; overflow: clip; }
/* 模様の置き場所は、写真の枠（カード1枚ぶんの箱）にぴったり重ねる。
   見出しは常にこの上、送りのボタンは常にこの下にあるので、
   どの画面幅でも文字やボタンに当たらないことが数値合わせでなく形で決まる。 */
/* 地の模様。ロゴのシンボルをごく薄く敷き詰め、
   面の四辺で地の色へ溶かして消す。
   （太い線で2つ大きく置く形は、線が主張しすぎたのでやめた。2026-08-30） */
/* 敷き詰めには地紋専用の nexport-symbol-pattern.svg を使う。
   単体の nexport-symbol-outline.svg は輪郭の四辺がviewBoxの端に乗っているため、
   並べると隣どうしの辺が同じ場所に二重に描かれ、その線だけ太く（または半分に）見えた。
   専用タイルは同じ形の格子を「窓」で切り出したもので、1本の線は1回しか描かれない。
   ロゴを線だけにして、横幅が6枚でちょうど埋まる大きさで隙間なく並べる。
   ぱっと見は方眼の罫、近づくとロゴだと分かる濃さにする（2026-08-31）。
   ベタ塗りの小さいロゴを敷いていたのを作り替えた */
.sp-mark {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image: url("../img/nexport-symbol-pattern.svg");
  background-repeat: repeat;
  background-size: 16.6667% auto;
  opacity: 0.10;
}
/* 端の消し込み。地と同じ色を四辺から薄くかぶせる。
   マスクを重ねるより外し方が少ない */
.sp-mark::after {
  content: '';
  position: absolute; inset: 0;
  background:
    linear-gradient(to right,
      #222222 0%, rgba(34,34,34,0.90) 9%, rgba(34,34,34,0.62) 18%, rgba(34,34,34,0.28) 27%, rgba(34,34,34,0) 36%,
      rgba(34,34,34,0) 64%, rgba(34,34,34,0.28) 73%, rgba(34,34,34,0.62) 82%, rgba(34,34,34,0.90) 91%, #222222 100%),
    linear-gradient(to bottom,
      #222222 0%, rgba(34,34,34,0.90) 7%, rgba(34,34,34,0.55) 15%, rgba(34,34,34,0.22) 23%, rgba(34,34,34,0) 31%,
      rgba(34,34,34,0) 69%, rgba(34,34,34,0.22) 77%, rgba(34,34,34,0.55) 85%, rgba(34,34,34,0.90) 93%, #222222 100%);
}
@media (max-width: 767px) {
  /* 狭い画面では3枚で横幅を埋める */
  .sp-mark { background-size: 33.3333% auto; opacity: 0.09; }
}

/* 見出しとカードの束は模様より前に置く */
.sec-people .sec-inner { position: relative; z-index: 1; }
.sec-people .ist { z-index: 1; }

/* このセクションの1行説明が、最後の1文字だけ次の行に落ちていた。
   和文は文節で折り返し、行の長さをそろえる。 */
.sec-people .sec-lead {
  text-wrap: balance;
  word-break: auto-phrase;
}

/* ───────────────────────────────────────────────
   About の文章を行ごとに立ち上げる
   （1行ずつ、ぼけた状態から輪郭が合っていく。
   和文なので語ごとには割らず、原稿の改行をそのまま単位にする）
   ─────────────────────────────────────────────── */
.t2-story-inner[data-appear] {
  opacity: 1;
  transform: none;
  transition: none;
}
.t2-story-inner .ln,
.t2-story-inner .rv {
  display: block;
  opacity: 0;
  filter: blur(7px);
  transition:
    opacity 760ms cubic-bezier(0.22, 1, 0.36, 1) var(--ld, 0ms),
    filter 760ms cubic-bezier(0.22, 1, 0.36, 1) var(--ld, 0ms);
}
.t2-story-inner.is-in .ln,
.t2-story-inner.is-in .rv {
  opacity: 1;
  filter: blur(0);
  transform: translateY(0);
}
@media (prefers-reduced-motion: reduce) {
  .t2-story-inner .ln,
  .t2-story-inner .rv { opacity: 1; filter: none; transform: none; transition: none; }
}

/* ───────────────────────────────────────────────
   最後の案内（エントリー）2026-08-31 に作り替え
   中央に文字を置いて丸いボタンを2つ並べる形をやめ、
   締めの面として組み直した。
   - 地はサイトで主となる濃い緑。ここで新しい色は出さない
   - 行き先は「扉」として横いっぱいの帯にし、押す場所を大きく取る
   - 地紋はスタッフインタビューと同じロゴの線。面の統一を取る
   ─────────────────────────────────────────────── */
.sec-entry {
  position: relative;
  overflow: hidden;
  background: #05614f;
  color: #fff;
  padding: clamp(88px, 10vw, 144px) 0 clamp(92px, 10.5vw, 148px);
}
/* 地紋。スタッフインタビューと同じタイルを使い、横幅を6枚で埋める */
.entry-mark {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image: url("../img/nexport-symbol-pattern.svg");
  background-repeat: repeat;
  background-size: 16.6667% auto;
  opacity: 0.10;
}
.entry-mark::after {
  content: '';
  position: absolute; inset: 0;
  background:
    linear-gradient(to right,
      #05614f 0%, rgba(5,97,79,0.86) 10%, rgba(5,97,79,0.44) 20%, rgba(5,97,79,0) 32%,
      rgba(5,97,79,0) 68%, rgba(5,97,79,0.44) 80%, rgba(5,97,79,0.86) 90%, #05614f 100%),
    linear-gradient(to bottom,
      #05614f 0%, rgba(5,97,79,0.80) 9%, rgba(5,97,79,0.32) 19%, rgba(5,97,79,0) 30%,
      rgba(5,97,79,0) 70%, rgba(5,97,79,0.32) 81%, rgba(5,97,79,0.80) 91%, #05614f 100%);
}
.entry-inner {
  position: relative;
  z-index: 1;
  width: min(1240px, 90vw);
  margin-inline: auto;
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: clamp(36px, 5vw, 96px);
  align-items: center;
}
.sec-entry .sec-kicker {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 18px;
  font-family: var(--font-en, Inter, sans-serif);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.13em;
  text-transform: none;
  color: rgba(255,255,255,0.86);
}
.sec-entry .sec-kicker::before {
  content: '';
  width: 30px; height: 1px;
  background: rgba(255,255,255,0.6);
  flex: none;
  display: block;
}
.sec-entry .entry-title {
  margin: 0 0 20px;
  font-size: clamp(32px, 4.4vw, 60px);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1.24;
  color: #fff;
}
.sec-entry .entry-text {
  margin: 0;
  max-width: 30em;
  font-size: 14px;
  font-weight: 400;
  line-height: 2.1;
  letter-spacing: 0.03em;
  color: rgba(255,255,255,0.82);
  word-break: auto-phrase;
}

/* 行き先は横いっぱいの帯。押せる面積を大きく取る */
.entry-doors { display: grid; gap: 14px; }
.edoor {
  position: relative;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  row-gap: 4px;
  padding: clamp(22px, 2.4vw, 30px) clamp(22px, 2.6vw, 34px);
  border-radius: 12px;
  /* 枠線が扉の輪郭そのものなので、深緑の地に対して3:1を満たす濃さにする（0.34では2.20で足りない） */
  border: 1px solid rgba(255,255,255,0.52);
  text-decoration: none;
  color: #fff;
  transition: background-color 280ms ease, border-color 280ms ease, transform 280ms cubic-bezier(0.22,1,0.36,1);
}
.edoor-t {
  grid-column: 1;
  font-size: clamp(16px, 1.5vw, 19px);
  font-weight: 600;
  letter-spacing: -0.01em;
}
.edoor-e {
  grid-column: 1;
  font-family: var(--font-en, Inter, sans-serif);
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0.08em;
  /* 深緑の地に対して4.5:1を満たす濃さ（0.7では4.45で足りない） */
  color: rgba(255,255,255,0.78);
}
.edoor .arw {
  grid-column: 2;
  grid-row: 1 / span 2;
  position: relative;
  width: 30px; height: 1px;
  background: currentColor;
  flex: none;
  transition: width .3s cubic-bezier(0.22,1,0.36,1);
}
.edoor .arw::before {
  content: '';
  position: absolute;
  right: 0; top: -3px;
  width: 7px; height: 7px;
  border-top: 1px solid currentColor;
  border-right: 1px solid currentColor;
  transform: rotate(45deg);
}
.edoor:hover { background: rgba(255,255,255,0.10); border-color: rgba(255,255,255,0.6); }
.edoor:hover .arw { width: 44px; }
.edoor:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }

/* 主となる行き先は白い面で受ける */
.edoor.is-main {
  background: #fff;
  border-color: #fff;
  color: #0e1512;
}
.edoor.is-main .edoor-e { color: #55605b; }
.edoor.is-main:hover { background: #f6f0e5; border-color: #f6f0e5; transform: translateY(-2px); }

@media (max-width: 900px) {
  .entry-inner { grid-template-columns: 1fr; gap: 34px; }
}
@media (prefers-reduced-motion: reduce) {
  .edoor, .edoor .arw { transition: none; }
  .edoor.is-main:hover { transform: none; }
}
