/* =========================================================
   MarchOn 長期インターン採用サイト（intern.marchon.co.jp）
   コーポレートサイト（黄色）と混ざらないように、黒をベースに1色のアクセントで組む
   色・文字・余白を変えたいときは、まず下の「設定」だけを触る
   ========================================================= */

/* ---------- 設定 ---------- */
:root {
  /* 色 */
  --black: #0e0e10;      /* ベース（ヘッダー・ファーストビュー・フッター） */
  --black-2: #1a1a1e;    /* 黒の上のカード */
  --ink: #1d1d21;        /* 白地の文字 */
  --ink-sub: #5c5c66;    /* 白地の補足文字 */
  --on-dark: #ffffff;    /* 黒地の文字 */
  --on-dark-sub: #a8a8b3;/* 黒地の補足文字 */
  --paper: #ffffff;
  --gray: #f3f3f5;       /* 白地のセクションの交互の背景 */
  --line: #e1e1e6;
  --line-dark: #2e2e35;
  --accent: #3d63ff;     /* アクセント（ボタン・強調）。白い文字をのせて読める濃さ */
  --accent-light: #8ea6ff; /* 黒地の上の強調文字 */

  /* 文字の大きさのルール（役割ごとに1つだけ使う。強調は「1段大きく＋太く」、補足は「1段小さく＋薄く」）
     display … ファーストビューのコピーだけ
     h1      … ページの見出し（下層ページ・記事のタイトル）
     h2      … セクションの見出し
     h3      … カード・項目の見出し
     lead    … 見出しの下のリード文、強調したい本文
     body    … 本文
     small   … 注記・補足・メニューの説明
     label   … 英字ラベル・タグ */
  --fs-display: clamp(34px, 4.3vw, 60px);
  --fs-h1: clamp(30px, 3.6vw, 44px);
  --fs-h2: clamp(26px, 3vw, 38px);
  --fs-h3: clamp(18px, 1.6vw, 21px);
  --fs-lead: clamp(16px, 1.4vw, 18px);
  --fs-body: 16px;
  --fs-small: 14px;
  --fs-label: 13px;

  --font-ja: "Noto Sans JP", sans-serif;
  --font-en: "Lato", "Noto Sans JP", sans-serif;
  --font-mincho: "Zen Old Mincho", "Yu Mincho", serif;

  --width: 1180px;
  --narrow: 880px;
  --section-space: 120px;
  --header-height: 76px;
  --radius: 12px;
}

/* ---------- 基本 ---------- */
*, *::before, *::after { box-sizing: border-box; }
/* ページ内のスクロールジャンプはしない（smooth にもしない） */
html { scroll-padding-top: var(--header-height); }
body {
  margin: 0;
  font-family: var(--font-ja);
  font-size: var(--fs-body);
  line-height: 1.9;
  color: var(--ink);
  background: var(--paper);
  -webkit-text-size-adjust: 100%;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3, p { margin: 0; }
/* 見出し・表・ラベルは、言葉の途中で改行しない（文節で折り返す。対応していないブラウザでは今までどおり） */
h1, h2, h3, h4, th, td, .flow, .nav, [class*="title"], [class*="label"], [class*="desc"] { word-break: auto-phrase; overflow-wrap: break-word; }
/* 改行（2026-10-29 ユーザー「改行が気になる」）
   本文・リード・引用も、単語の途中（「アルファドライ／ブ」など）で切らず、言葉の区切りで折り返す
   見出しは行の長さをそろえ、最後の行に1語だけ残らない（「…変えると／提案」など）ようにする */
p, li, dd, blockquote { word-break: auto-phrase; overflow-wrap: break-word; text-wrap: pretty; }
h1, h2, h3, h4, [class*="title"], [class*="heading"] { text-wrap: balance; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 8px; z-index: 100; background: var(--paper); padding: 8px 12px; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.wrap { max-width: var(--width); margin: 0 auto; padding: 0 24px; }
.wrap--narrow { max-width: var(--narrow); }
.num { font-family: var(--font-en); font-weight: 900; }

/* 強調（content の *〜*）：白地は下線マーカー、黒地はアクセント色の文字 */
em { font-style: normal; background: linear-gradient(transparent 62%, rgba(61, 99, 255, .25) 62%); }

/* ---------- ボタン（右端に丸い矢印） ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-width: 240px;
  padding: 10px 10px 10px 28px;
  border-radius: 999px;
  background: var(--accent);
  color: var(--on-dark);
  font-weight: 700;
  font-size: 15px;
  text-decoration: none;
  line-height: 1.4;
  transition: opacity .2s;
}
.btn:hover { opacity: .85; }
.btn__icon {
  flex: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--paper);
  position: relative;
}
.btn__icon::before {
  content: "";
  position: absolute;
  inset: 0;
  margin: auto;
  width: 9px;
  height: 9px;
  border-top: 2px solid var(--ink);
  border-right: 2px solid var(--ink);
  transform: translateX(-2px) rotate(45deg);
}
.btn--ghost { background: transparent; color: var(--on-dark); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .6); }
.btn--dark { background: var(--black); color: var(--on-dark); }
.btn--light { background: var(--paper); color: var(--ink); }
.btn--light .btn__icon { background: var(--black); }
.btn--light .btn__icon::before { border-color: var(--paper); }
.btn--block { display: flex; width: 100%; }
.btn--small { min-width: 0; gap: 12px; padding: 6px 6px 6px 18px; font-size: 14px; }
.btn--small .btn__icon { width: 30px; height: 30px; }
.btn.is-disabled { opacity: .4; cursor: not-allowed; }
/* 面談予約のURLが未設定（--draft の確認ビルドのときだけ出る） */
.is-unset { opacity: .55; outline: 1px dashed currentColor; cursor: not-allowed; }
.actions { margin-top: 56px; text-align: center; }
.actions--row { display: flex; flex-wrap: wrap; justify-content: center; gap: 16px; }

/* ---------- ヘッダー（黒） ---------- */
.header {
  position: sticky;
  top: 0;
  z-index: 20;
  height: var(--header-height);
  background: var(--black);
  color: var(--on-dark);
  border-bottom: 1px solid var(--line-dark);
}
.header__inner { height: 100%; display: flex; align-items: center; padding-left: 32px; }
.header__logo { display: flex; align-items: center; gap: 12px; text-decoration: none; flex: none; }
.header__logo img { width: 40px; height: auto; }
.header__logo span { font-family: var(--font-en); font-weight: 900; font-size: var(--fs-label); letter-spacing: .18em; color: var(--on-dark-sub); }
.header__nav { margin-left: auto; margin-right: 24px; height: 100%; }
.nav { display: flex; height: 100%; margin: 0; padding: 0; list-style: none; }
.nav__item { position: relative; display: flex; align-items: center; }
.nav__link { display: flex; align-items: center; height: 100%; padding: 0 14px; font-size: var(--fs-small); font-weight: 700; text-decoration: none; white-space: nowrap; }
.nav__link:hover { color: var(--accent-light); }
.nav__link[aria-current="page"] { box-shadow: inset 0 -3px 0 var(--accent); }
.has-sub > .nav__link::after { content: ""; width: 6px; height: 6px; margin-left: 8px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: translateY(-2px) rotate(45deg); }
.nav__link.is-external:not(.has-sub > *)::after { content: "↗"; margin-left: 4px; font-size: .9em; color: var(--on-dark-sub); }

/* カーソルを置く（キーボードでフォーカスする）と、詳細のメニューが開く */
.nav__sub {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 300px;
  margin: 0;
  padding: 8px;
  list-style: none;
  background: var(--paper);
  color: var(--ink);
  border-radius: 0 0 var(--radius) var(--radius);
  box-shadow: 0 16px 40px rgba(0, 0, 0, .25);
  visibility: hidden;
  opacity: 0;
  transform: translateY(-4px);
  transition: opacity .15s, transform .15s, visibility .15s;
}
.has-sub:hover > .nav__sub,
.has-sub:focus-within > .nav__sub { visibility: visible; opacity: 1; transform: none; }
.nav__sub a { display: block; padding: 12px 14px; border-radius: 8px; text-decoration: none; line-height: 1.6; }
.nav__sub a:hover, .nav__sub a[aria-current="page"] { background: var(--gray); }
.nav__sub-label { display: block; font-size: var(--fs-small); font-weight: 700; }
.nav__sub-desc { display: block; margin-top: 2px; font-size: 12px; color: var(--ink-sub); }

.header__ctas { display: flex; align-self: stretch; flex: none; }
.header__cta { display: flex; align-items: center; padding: 0 24px; background: var(--accent); color: var(--on-dark); font-weight: 700; font-size: var(--fs-small); text-decoration: none; white-space: nowrap; }
.header__cta--sub { background: transparent; border-left: 1px solid var(--line-dark); }
.header__cta:hover { opacity: .85; }
.header__menu { display: none; }

/* ---------- セクション共通 ---------- */
.section { padding: var(--section-space) 0; }
.section--gray { background: var(--gray); }
.section--dark { background: var(--black); color: var(--on-dark); }

/* 見出し：英字ラベル＋見出し＋リード（左寄せ） */
.head { margin-bottom: 56px; }
.head__en { font-family: var(--font-en); font-weight: 900; font-size: var(--fs-label); letter-spacing: .2em; color: var(--accent); }
.section--dark .head__en { color: var(--accent-light); }
.head__title { margin-top: 8px; font-size: var(--fs-h2); font-weight: 900; letter-spacing: .02em; line-height: 1.4; }
h1.head__title { font-size: var(--fs-h1); }
.head__sub { margin-top: 16px; max-width: 760px; font-size: var(--fs-lead); font-weight: 500; color: var(--ink-sub); }
.section--dark .head__sub { color: var(--on-dark-sub); }

.note { margin-top: 32px; font-size: var(--fs-small); color: var(--ink-sub); }
.note--center { text-align: center; }
.note a { margin-left: 8px; color: var(--ink); font-weight: 700; }

/* パンくず */
.breadcrumb { padding-top: 24px; font-size: var(--fs-label); color: var(--ink-sub); }
.breadcrumb ol { display: flex; flex-wrap: wrap; gap: 4px 0; margin: 0 auto; padding: 0 24px; list-style: none; }
.breadcrumb li + li::before { content: "/"; margin: 0 10px; color: var(--line); }
.breadcrumb a { color: var(--ink); }
.breadcrumb + .section { padding-top: 56px; }
/* パンくずの背景は、すぐ下のセクションの色にそろえる（黒いヘッダー → 白い帯 → 黒いセクション、と色が分かれないように） */
.breadcrumb:not(.breadcrumb--bottom):has(+ .section--dark) { background: var(--black); color: var(--on-dark-sub); }
.breadcrumb:not(.breadcrumb--bottom):has(+ .section--dark) a { color: var(--on-dark); }
.breadcrumb:not(.breadcrumb--bottom):has(+ .section--dark) li + li::before { color: var(--line-dark); }
.breadcrumb:not(.breadcrumb--bottom):has(+ .section--gray) { background: var(--gray); }

/* ---------- ファーストビュー（全面のモノクロ写真＋縦書きのコピー＋手書きの英字） ---------- */
/* 背景の写真：白黒にして、まわりを暗くする（文字を読めるように） */
/* 斜めに走る細い光の線（前に進む＝March On の動き） */
/* 縦書きのコピー。強調（*〜*）は1段大きく */
/* 手書き風の英字。斜めに大きく、写真の上に重ねる */
/* 右下：先輩の声へのカードと、募集状況 */

/* 代表について（ceo のページ） */
.ceo { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 64px; align-items: start; }
.ceo__motto { margin: 0; padding: 0 0 24px; text-wrap: balance; border-bottom: 1px solid var(--line); font-family: var(--font-mincho); font-size: clamp(24px, 2.4vw, 32px); font-weight: 700; line-height: 1.5; }
.ceo__role { margin-top: 24px; font-size: var(--fs-small); color: var(--ink-sub); }
.ceo__name { margin-top: 4px; font-size: var(--fs-h3); font-weight: 700; }
.ceo__name span { margin-left: 12px; font-size: var(--fs-label); font-weight: 400; color: var(--ink-sub); }
.ceo__body p + p, .ceo__body .card__title + p { margin-top: 1em; }
.ceo__body .card__title { margin-bottom: 16px; }
.ceo-book__date { font-size: var(--fs-label); font-weight: 700; letter-spacing: .08em; color: var(--accent); }
.ceo-book__title { margin-top: 8px; font-family: var(--font-mincho); font-size: var(--fs-h2); font-weight: 900; }
.ceo-book__sub { margin: 4px 0 20px; font-weight: 700; color: var(--ink-sub); }
.ceo__h2 { margin-bottom: 24px; font-size: var(--fs-h2); font-weight: 900; }
.ceo__p + .ceo__p { margin-top: 1em; }
.ceo__links { margin: 32px 0 0; padding: 0; list-style: none; }
.ceo__links li + li { margin-top: 8px; }
.ceo__links a { font-weight: 700; color: var(--ink); }
.ceo__example { margin-bottom: 40px; padding: 24px; border: 2px dashed var(--accent); border-radius: var(--radius); }
.ceo__example-label { margin-bottom: 12px; font-size: var(--fs-label); font-weight: 700; color: var(--accent); }
.ceo__example p + p { margin-top: 1em; }
/* 代表のページの文字の強弱：メッセージは lead（読ませる）、プロフィールは本文＋薄い色（補足）
   長い段落は文節改行にすると右端がガタガタになるので、最後の行に1文字だけ残らないようにするだけ。短い動画タイトルは文節で折り返す */
.ceo__body p, .ceo__p, .ceo-book__text p { text-wrap: pretty; }
.video__title { word-break: auto-phrase; }
.ceo__body .card__title:not(:first-child) { margin-top: 48px; padding-top: 40px; border-top: 1px solid var(--line); }
.ceo__message p { font-size: var(--fs-lead); line-height: 2; }
.ceo__profile p { color: var(--ink-sub); }
.ceo__p { font-size: var(--fs-lead); line-height: 2; }
.ceo-book__text > p:not([class]) { color: var(--ink-sub); }
.ceo-book .actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
/* 設立の理由・本の紹介は2〜3行の段落なので、PCでは文節で折り返して「した。」だけが次の行に残らないようにする */
@media (min-width: 769px) { .ceo__p, .ceo-book__text > p:not([class]) { word-break: auto-phrase; } }
#founding .head__en, #book .head__en { margin-bottom: 8px; }
/* PCでは右の文章が長いので、左の写真・名前をスクロールに合わせて止めておく */
@media (min-width: 769px) { .ceo__side { position: sticky; top: calc(var(--header-height) + 32px); } }
/* プロフィールの上の数字（3つ横並び。スマホは縦に積む） */
.ceo-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin: 8px 0 32px; padding: 0; list-style: none; border-top: 2px solid var(--ink); border-bottom: 1px solid var(--line); }
.ceo-stats li { display: flex; flex-direction: column; gap: 6px; padding: 20px 16px 22px 0; }
.ceo-stats li + li { padding-left: 20px; border-left: 1px solid var(--line); }
.ceo-stats__num { font-size: var(--fs-small); font-weight: 700; line-height: 1.2; white-space: nowrap; }
.ceo-stats__num .num { margin-right: 2px; font-size: clamp(32px, 3.4vw, 44px); color: var(--accent); }
.ceo-stats__label { font-size: var(--fs-small); line-height: 1.6; color: var(--ink-sub); word-break: auto-phrase; }
@media (max-width: 600px) {
  .ceo-stats { grid-template-columns: 1fr; }
  .ceo-stats li { display: grid; grid-template-columns: 140px 1fr; align-items: baseline; gap: 8px; padding: 14px 0; }
  .ceo-stats li + li { padding-left: 0; border-left: 0; border-top: 1px solid var(--line); }
  .ceo-stats__num { white-space: nowrap; }
}
/* 白いカードの上なので、枠線ボタンは黒の線と文字にする */
.ceo-book .btn--ghost { color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }
.ceo-book .btn--ghost .btn__icon { background: var(--black); }
.ceo-book .btn--ghost .btn__icon::before { border-color: var(--paper); }
/* 本はページの中で紹介しているので、左下の本のバナーは出さない */
body:has(#book) .book-banner { display: none; }
/* 1週間のシフト例（9:00〜18:00 の帯に、働く時間を塗る） */
.shift__title { margin: 56px 0 16px; font-size: var(--fs-h3); font-weight: 700; }
.spec-title { margin: 56px 0 16px; font-size: var(--fs-h3); font-weight: 700; scroll-margin-top: 96px; }
.shift { display: grid; gap: 48px; }
.shift .cal { margin: 0; }
/* 左の時刻の目盛り（帯の上端＝9:00、下端＝18:00） */
/* 9時＝1行目の始まり、18時＝9行目の終わり */
.growth__skills-title { margin: 56px 0 8px; font-size: var(--fs-h3); font-weight: 700; }
@media (max-width: 768px) { .ceo { grid-template-columns: 1fr; gap: 32px; } }

/* メッセージ（ファーストビューの下）：明朝体・左右2列 */
.message { background: var(--black); color: var(--on-dark); border-top: 1px solid var(--line-dark); }
.message__cols { display: grid; grid-template-columns: repeat(2, max-content); justify-content: center; gap: 0 120px; }
.message__col { display: flex; flex-direction: column; font-family: var(--font-mincho); font-weight: 700; font-size: var(--fs-lead); line-height: 2.4; letter-spacing: .12em; }
.message__col + .message__col { margin-top: 36px; }
.message__col:last-child span:last-child { margin-top: 12px; font-size: var(--fs-h3); color: var(--accent-light); }
.message__gap { height: 1.4em; }
.message__lead { max-width: 640px; margin: 64px auto 0; color: var(--on-dark-sub); text-align: center; font-size: var(--fs-small); }

/* ---------- 特徴（トップ） ---------- */
.points { background: #141418; }
.points__list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; margin: 0; padding: 0; list-style: none; }
.point { display: flex; flex-direction: column; padding: 36px 32px; background: var(--black-2); border: 1px solid var(--line-dark); border-radius: var(--radius); }
.point__num { font-size: 48px; line-height: 1; color: var(--accent-light); }
.point__title { margin-top: 24px; font-size: var(--fs-h3); font-weight: 900; line-height: 1.6; }
.point__body { margin-top: 16px; flex: 1; font-size: var(--fs-small); color: var(--on-dark-sub); }
.point__link { display: inline-flex; align-items: center; gap: 12px; margin-top: 28px; font-size: var(--fs-small); font-weight: 700; text-decoration: none; }
.point__link .btn__icon { width: 32px; height: 32px; }

/* ---------- 動き（止まりすぎないように。「視差効果を減らす」設定のときは動かさない） ---------- */

/* ---------- ファーストビューの「Will」 ---------- */

/* ---------- Will（トップ） ---------- */

/* ---------- 学業との両立（トップ）・東西のチーム（拠点ページ） ---------- */

/* ---------- 記事を「ページ」として見せる形（articles.toml の style = "page"） ---------- */

/* 記事（style = "page"）の見せ方のバリエーション（templates/article.html の layout。2026-10-29：どのブロックも同じ形で単調、文字だけにしない） */
.explainer__bigfig { margin: 48px 0 0; }
.explainer__bigfig .figure__scroll { max-width: 760px; margin: 0 auto; }
.figure .fig-huge { font-size: 26px; font-weight: 900; }
/* cycle：図の下に一言を3列 */
.explainer__notes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; max-width: 760px; margin: 24px auto 0; padding: 0; list-style: none; text-align: center; }
.explainer__notes li { font-size: var(--fs-small); color: var(--ink-sub); line-height: 1.8; }
.explainer__notes b { display: block; margin-bottom: 4px; font-size: var(--fs-body); color: var(--ink); }
.explainer__notes li.is-accent b { color: var(--accent); }
/* split の文章の下の小さな並び */
.explainer__mini { margin: 28px 0 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.explainer__mini li { display: grid; grid-template-columns: 2.5em minmax(0, 1fr); column-gap: 8px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.explainer__mini .num { grid-row: 1 / span 2; color: var(--accent); }
.explainer__mini b { font-weight: 900; }
.explainer__mini span:last-child { font-size: var(--fs-small); color: var(--ink-sub); }
/* rows：左に小さな絵、右に文章 */
.explainer__rows { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin: 48px 0 0; padding: 0; list-style: none; }
.explainer__rows li { display: flex; flex-direction: column; gap: 20px; padding: 24px; border-radius: var(--radius); background: var(--paper); border: 1px solid var(--line); }
.explainer__art svg { display: block; width: 120px; height: 90px; }
.explainer__rows h3 { font-size: var(--fs-h3); font-weight: 900; line-height: 1.5; }
.explainer__rows p { margin-top: 8px; font-size: var(--fs-small); color: var(--ink-sub); }
.explainer__rows .tag { margin-top: 12px; }
/* pair：「誰と」「何を」。いちばん大事なブロックなので、うすい青の地で目立たせる */
.explainer__block--pair { background: #eef2ff; }
.explainer__pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; margin-top: 40px; }
.explainer__group { padding: 28px; border-radius: var(--radius); background: var(--paper); }
.explainer__group-label { margin: 0; font-size: clamp(28px, 3vw, 40px); font-weight: 900; color: var(--accent); line-height: 1; }
.explainer__group ul { margin: 20px 0 0; padding: 0; list-style: none; }
.explainer__group li { display: grid; grid-template-columns: 48px minmax(0, 1fr); gap: 16px; align-items: start; padding: 18px 0; border-top: 1px solid var(--line); }
.explainer__group .explainer__icon { width: 48px; height: 48px; }
.explainer__group h3 { font-size: var(--fs-h3); font-weight: 900; line-height: 1.5; }
.explainer__group li p { margin-top: 4px; font-size: var(--fs-small); color: var(--ink-sub); }
.explainer__group li.is-accent .explainer__icon { background: var(--accent); color: var(--on-dark); }
/* ファーストビューの右の絵（記事の hero_art。黒地用） */
.explainer__hero-inner.has-art { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); align-items: center; gap: 48px; }
.explainer__hero-art svg { display: block; width: 100%; height: auto; }
.explainer__hero-inner.has-art .explainer__title { max-width: none; font-size: clamp(32px, 3.8vw, 52px); }
.hero-ask text { font-family: var(--font-ja); font-weight: 700; }
.hero-ask .ha-card { fill: var(--black-2); stroke: var(--line-dark); }
.hero-ask .ha-ai { fill: var(--accent-light); } .hero-ask .ha-ink { fill: var(--black); }
.hero-ask .ha-label { font-size: 14px; fill: var(--on-dark-sub); }
.hero-ask .ha-me { fill: #2e2e35; } .hero-ask .ha-text { font-size: 13px; fill: var(--on-dark); }
.hero-ask .ha-bubble { fill: none; stroke: #3a3a42; stroke-dasharray: 4 4; }
.hero-ask .ha-muted { font-size: 13px; font-weight: 400; fill: #6e6e78; }
.hero-ask .ha-arrow { fill: none; stroke: var(--accent-light); stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }
.hero-ask .ha-cue { font-size: 14px; fill: var(--accent-light); }
.hero-ask .ha-call { fill: var(--accent); } .hero-ask .ha-white { fill: var(--paper); } .hero-ask .ha-accent { fill: var(--accent); }
.hero-ask .ha-label-on { font-size: 14px; fill: var(--on-dark); } .hero-ask .ha-wave { fill: rgba(255, 255, 255, .7); }
.hero-ask .ha-voice { font-size: 18px; font-weight: 900; fill: var(--ink); }
.hero-ask .ha-note { font-size: 11px; font-weight: 400; fill: var(--ink-sub); }
@media (max-width: 900px) { .explainer__hero-inner.has-art { grid-template-columns: 1fr; gap: 32px; } .explainer__hero-art { max-width: 440px; } }
/* 写真のグリッド（関東・関西のページ。1枚目を大きく、残りを右に縦に並べる） */
.photo-grid { display: grid; gap: 12px; margin-top: 40px; }
.photo-grid__item { margin: 0; overflow: hidden; border-radius: var(--radius); background: var(--gray); }
.photo-grid__item img { display: block; width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4 / 3; }
.photo-grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.photo-grid--3 { grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); grid-template-rows: repeat(2, minmax(0, 1fr)); }
.photo-grid--3 .photo-grid__item:first-child { grid-row: 1 / span 2; }
.photo-grid--3 .photo-grid__item:first-child img { aspect-ratio: auto; }
@media (max-width: 700px) {
  .photo-grid--2, .photo-grid--3 { grid-template-columns: 1fr; grid-template-rows: none; }
  .photo-grid--3 .photo-grid__item:first-child { grid-row: auto; }
  .photo-grid--3 .photo-grid__item:first-child img { aspect-ratio: 4 / 3; }
}
/* stats：先輩の成果の数字。1つ目だけ大きく（青地） */
.explainer__stats { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 16px; margin: 48px 0 0; padding: 0; list-style: none; }
.explainer__stats a { display: flex; flex-direction: column; height: 100%; padding: 28px 24px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--paper); color: inherit; text-decoration: none; transition: border-color .2s, transform .2s; }
.explainer__stats a:hover { border-color: var(--accent); transform: translateY(-2px); }
.explainer__stat-when { font-size: var(--fs-small); font-weight: 700; color: var(--ink-sub); }
.explainer__stat-num { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 8px; margin-top: 16px; }
.explainer__stat-num .num { font-size: clamp(56px, 6vw, 88px); line-height: 1; color: var(--accent); }
.explainer__stat-before { font-family: var(--font-en); font-size: clamp(32px, 3vw, 44px); font-weight: 900; line-height: 1; color: var(--ink-sub); }
.explainer__stat-arrow { font-size: 24px; font-weight: 900; color: var(--ink-sub); }
.explainer__stat-unit { font-size: var(--fs-small); font-weight: 900; }
.explainer__stat-text { flex: 1; margin-top: 16px; font-size: var(--fs-small); line-height: 1.8; color: var(--ink-sub); }
.explainer__stat-who { display: flex; justify-content: space-between; margin-top: 20px; padding-top: 14px; border-top: 1px solid var(--line); font-size: var(--fs-small); font-weight: 700; }
.explainer__stats .is-lead a { background: var(--accent); border-color: var(--accent); color: var(--on-dark); }
.explainer__stats .is-lead .explainer__stat-num .num { font-size: clamp(88px, 10vw, 140px); color: var(--on-dark); }
.explainer__stats .is-lead .explainer__stat-before, .explainer__stats .is-lead .explainer__stat-arrow { color: rgba(255, 255, 255, .6); }
.explainer__stats .is-lead .explainer__stat-when, .explainer__stats .is-lead .explainer__stat-text { color: rgba(255, 255, 255, .85); }
.explainer__stats .is-lead .explainer__stat-who { border-top-color: rgba(255, 255, 255, .3); }
@media (max-width: 1100px) { .explainer__stats { grid-template-columns: repeat(2, minmax(0, 1fr)); } .explainer__stats .is-lead { grid-column: 1 / -1; } }
@media (max-width: 600px) { .explainer__stats { grid-template-columns: 1fr; } }
/* rows の、実際の画面の画像（まだ無いときは下書きでだけ空の枠） */
.explainer__shot { display: block; width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: 12px; border: 1px solid var(--line); }
.explainer__shot.is-empty { display: grid; place-items: center; border: 2px dashed var(--line); background: var(--gray); font-size: var(--fs-small); font-weight: 700; color: var(--ink-sub); }
/* quotes：先輩の声のカード */
.explainer__quotes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin: 48px 0 0; padding: 0; list-style: none; }
.explainer__quotes li { position: relative; display: flex; flex-direction: column; padding: 32px 28px 28px; border-radius: var(--radius); background: var(--paper); border: 1px solid var(--line); }
.explainer__quotes li::before { content: "\201C"; position: absolute; top: 4px; right: 20px; font-family: Georgia, serif; font-size: 96px; line-height: 1; color: var(--accent); opacity: .18; }
.explainer__avatar { width: 48px; height: 48px; }
.explainer__avatar .av-a { fill: var(--accent); } .explainer__avatar .av-b { fill: var(--black); } .explainer__avatar .av-c { fill: #8ea6ff; }
.explainer__avatar circle, .explainer__avatar path, .explainer__avatar rect + rect { fill: var(--paper); }
.explainer__quotes blockquote { flex: 1; margin: 20px 0 0; }
.explainer__quotes blockquote p { font-weight: 700; line-height: 1.9; }
.explainer__quote-who { margin-top: 20px; font-size: var(--fs-small); color: var(--ink-sub); }
@media (max-width: 900px) {
  .explainer__rows, .explainer__quotes, .explainer__pair { grid-template-columns: 1fr; }
  .explainer__notes { grid-template-columns: 1fr; text-align: left; }
}

/* ---------- 新規事業の営業は、なぜ難しいのか（トップ） ----------
   壁（左）と答え（右）を1行ずつ。カードにせず線で区切る */

/* ---------- バリュー（トップ）：3つのバリューを1つずつ、番号・明朝の言葉・説明・図で見せる（PCは図が左右交互） ---------- */

    
   
   
  
  

/* ---------- 特徴：流れるカード（templates/sections/features.html） ---------- */

/* =========================================================
   演出（public/js/boot.js・main.js）。動きを減らす設定のときは JS がクラスを付けないので、何も出ない
   ========================================================= */

/* ---------- 特徴：1件ずつ読ませる（トップ。templates/sections/features.html、動きは main.js の「特徴：1件ずつ切り替える」） ----------
   JSが無いとき：5件をカードで縦に並べる。JSが動くと .fx に is-ready が付き、左に見出しのリスト、右に1件だけを出す
   --fx-t … 1件を出しておく時間（細い線がこの時間で伸びきると次へ進む） */
.fx { --fx-t: 7s; }
.fx__panels { display: grid; gap: 20px; }
.fx__panel { display: grid; grid-template-columns: minmax(0, 1fr) minmax(200px, 300px); align-items: center; gap: 40px; padding: 40px 44px; border: 1px solid var(--line-dark); border-radius: var(--radius); background: var(--black-2); }
.fx__key { display: flex; align-items: baseline; gap: 12px; font-size: var(--fs-small); font-weight: 900; letter-spacing: .04em; color: var(--accent-light); }
.fx__key .num { font-size: var(--fs-label); letter-spacing: .1em; }
.fx__title { margin-top: 12px; font-size: clamp(24px, 2.4vw, 32px); font-weight: 900; line-height: 1.45; }
.fx__body { margin-top: 16px; max-width: 34em; color: var(--on-dark-sub); }
.fx__tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 18px 0 0; padding: 0; list-style: none; }
.fx__tags li { padding: 2px 12px; border: 1px solid rgba(142, 166, 255, .45); border-radius: 999px; font-size: var(--fs-label); font-weight: 700; line-height: 1.7; color: var(--accent-light); }
.fx__links { display: flex; flex-wrap: wrap; gap: 10px 28px; margin-top: 24px; }
.fx__art { display: block; width: 100%; height: auto; }

/* 深掘りリンク（トップ・特徴ページで共通。templates/_feature_links.html） */
.feature-link { display: inline-flex; align-items: center; gap: 12px; font-size: var(--fs-small); font-weight: 700; color: inherit; text-decoration: none; }
.feature-link .btn__icon { width: 32px; height: 32px; background: var(--accent); }
.feature-link .btn__icon::before { border-color: var(--on-dark); }
.feature-link:hover span:first-child { text-decoration: underline; text-underline-offset: 4px; }
.feature-link--light { color: var(--ink); }

/* JSが動くとき：左にリスト、右に1件 */
.fx.is-ready { display: grid; grid-template-columns: 280px minmax(0, 1fr); gap: 32px; align-items: start; }
.fx__list { display: flex; flex-direction: column; border-top: 1px solid var(--line-dark); }
.fx__list[hidden] { display: none; }
.fx__tab { position: relative; display: flex; align-items: baseline; gap: 14px; width: 100%; padding: 18px 4px 20px; border: 0; border-bottom: 1px solid var(--line-dark); background: none; color: var(--on-dark-sub); font: inherit; font-size: var(--fs-lead); font-weight: 700; line-height: 1.5; text-align: left; cursor: pointer; transition: color .2s; }
.fx__tab:hover, .fx__tab[aria-selected="true"] { color: var(--on-dark); }
.fx__tab-num { font-size: var(--fs-label); letter-spacing: .1em; color: var(--on-dark-sub); }
.fx__tab[aria-selected="true"] .fx__tab-num { color: var(--accent-light); }
.fx__tab:focus-visible { outline: 2px solid var(--accent-light); outline-offset: 2px; }
/* 進行中の項目の細い線（自動で進んでいるときだけ伸びる。止めたとき・動きを減らす設定のときは伸びきった線＝選択中の印） */
.fx__bar { position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; overflow: hidden; }
.fx__bar-fill { display: block; height: 100%; background: var(--accent-light); transform: scaleX(0); transform-origin: left; }
.fx__tab[aria-selected="true"] .fx__bar-fill { transform: scaleX(1); }
.fx.is-playing .fx__tab[aria-selected="true"] .fx__bar-fill { animation: fx-progress var(--fx-t) linear forwards; }
.fx.is-playing.is-paused .fx__tab[aria-selected="true"] .fx__bar-fill,
.fx.is-playing.is-offscreen .fx__tab[aria-selected="true"] .fx__bar-fill { animation-play-state: paused; }
@keyframes fx-progress { from { transform: scaleX(0); } to { transform: scaleX(1); } }
/* 5件を同じ場所に重ね、選ばれた1件だけを出す（いちばん長い1件の高さにそろうので、切り替えで下が動かない） */
.fx.is-ready .fx__panels { gap: 0; }
.fx.is-ready .fx__panel { grid-area: 1 / 1; visibility: hidden; opacity: 0; transition: opacity .35s ease, visibility 0s .35s; }
.fx.is-ready .fx__panel.is-active { visibility: visible; opacity: 1; transition: opacity .35s ease; }
@media (prefers-reduced-motion: reduce) { .fx.is-ready .fx__panel, .fx.is-ready .fx__panel.is-active { transition: none; } }
@media (max-width: 1024px) {
  .fx.is-ready { grid-template-columns: 220px minmax(0, 1fr); gap: 24px; }
  .fx__panel { grid-template-columns: minmax(0, 1fr) 200px; gap: 28px; padding: 32px; }
}
/* スマホ：リストは折り返すチップにして上に、その下に1件。イラストは文字の上 */
@media (max-width: 768px) {
  .fx.is-ready { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .fx__list { flex-direction: row; flex-wrap: wrap; gap: 8px; border-top: 0; }
  .fx__tab { width: auto; gap: 8px; padding: 6px 14px 8px; border: 1px solid var(--line-dark); border-radius: 999px; overflow: hidden; font-size: var(--fs-small); }
  .fx__tab[aria-selected="true"] { border-color: var(--accent-light); }
  .fx__bar { left: 14px; right: 14px; bottom: 2px; }
  .fx__panel { grid-template-columns: minmax(0, 1fr); gap: 20px; padding: 28px 22px; }
  .fx__art { order: -1; max-width: 220px; }
  .fx__title { font-size: 22px; }
}

/* ---------- 特徴ページ：1件ずつ掘り下げる（templates/sections/features-detail.html。動かない） ----------
   白地に、イラストだけ小さな黒の面にのせる（イラストは黒地用の色）。左右を1件ごとに入れ替える */
.fd__list { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.fd__item { display: grid; grid-template-columns: 340px minmax(0, 1fr); align-items: center; gap: 56px; padding: 56px 0; border-bottom: 1px solid var(--line); }
.fd__item:nth-child(even) { grid-template-columns: minmax(0, 1fr) 340px; }
.fd__item:nth-child(even) .fd__art { order: 2; }
.fd__art { padding: 28px; border-radius: var(--radius); background: var(--black); }
.fd__art img { display: block; width: 100%; height: auto; }
.fd__key { display: flex; align-items: baseline; gap: 12px; font-size: var(--fs-small); font-weight: 900; letter-spacing: .04em; color: var(--accent); }
.fd__key .num { font-size: var(--fs-label); letter-spacing: .1em; }
.fd__title { margin-top: 10px; font-size: clamp(24px, 2.4vw, 32px); font-weight: 900; line-height: 1.45; }
.fd__body { margin-top: 16px; max-width: 36em; }
.fd__tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 18px 0 0; padding: 0; list-style: none; }
.fd__links { display: flex; flex-wrap: wrap; gap: 10px 28px; margin-top: 24px; }
/* 「新規事業 × AI」の帯（[features] affinity）。黒にせず、薄い青の面 */
.fd__affinity { margin-top: 72px; padding: 48px; border-left: 4px solid var(--accent); border-radius: var(--radius); background: #eef2ff; }
.fd__affinity-title { font-size: clamp(22px, 2.2vw, 28px); font-weight: 900; line-height: 1.5; }
.fd__affinity-body { margin-top: 14px; max-width: 40em; }
.fd__affinity-link { margin-top: 24px; }
@media (max-width: 768px) {
  .fd__item, .fd__item:nth-child(even) { grid-template-columns: minmax(0, 1fr); gap: 24px; padding: 40px 0; }
  .fd__item:nth-child(even) .fd__art { order: 0; }
  .fd__art { max-width: 320px; padding: 20px; }
  .fd__title { font-size: 22px; }
  .fd__affinity { margin-top: 48px; padding: 28px 20px; }
  .fd__affinity-link { min-width: 0; max-width: 100%; }
}

 
 
 
 
 
 
 
 
 
 

   

/* ---------- 就活サポート①：先輩がいる業界・職種 ---------- */

.voices-career__map { display: grid; gap: 16px; }
.voices-career__row { display: grid; grid-template-columns: 72px minmax(0, 1fr); align-items: center; gap: 20px; padding: 28px; border-radius: 20px; background: var(--paper); color: var(--ink); }
.voices-career__row-label { font-size: var(--fs-label); font-weight: 900; letter-spacing: .1em; color: var(--accent); }
.voices-career__chips { display: flex; flex-wrap: wrap; gap: 10px; margin: 0; padding: 0; list-style: none; }
.voices-career__chips li { padding: 8px 20px; border-radius: 999px; background: var(--accent); color: var(--on-dark); font-size: var(--fs-h3); font-weight: 900; }
.voices-career__chips li.is-more { padding-inline: 4px; background: none; color: var(--ink-sub); font-size: var(--fs-small); font-weight: 700; align-self: end; }
@media (max-width: 900px) {
  .voices-career__grid { grid-template-columns: 1fr; }
  .voices-career__row { grid-template-columns: 1fr; gap: 12px; padding: 20px; }
  .voices-career__chips li { padding: 6px 16px; }
}

/* ---------- 就活サポート②：先輩に聞けること ---------- */
.career-help__list { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin: 0; padding: 0; list-style: none; }
.career-help__item { padding: 28px; border: 1px solid var(--line); border-radius: 20px; }
.career-help__icon { width: 56px; height: 56px; padding: 13px; border-radius: 16px; background: var(--accent); color: var(--on-dark); }
.career-help__word { margin-top: 24px; font-size: var(--fs-h2); font-weight: 900; line-height: 1.3; word-break: auto-phrase; }
.career-help__text { margin-top: 12px; color: var(--ink-sub); }
@media (max-width: 1000px) { .career-help__list { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) {
  .career-help__list { grid-template-columns: 1fr; }
  .career-help__item { display: grid; grid-template-columns: auto minmax(0, 1fr); column-gap: 16px; padding: 20px; }
  .career-help__icon { grid-row: 1 / span 2; width: 48px; height: 48px; padding: 11px; }
  .career-help__word { margin-top: 0; font-size: var(--fs-h3); }
  .career-help__text { margin-top: 4px; }
}

/* ---------- 就活サポート③：社員に聞けること ---------- */
.career-staff__inner { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; align-items: end; }
.career-staff__title { margin-top: 8px; font-size: var(--fs-display); font-weight: 900; line-height: 1.35; word-break: auto-phrase; }
.career-staff__lead { font-size: var(--fs-lead); font-weight: 500; }
.career-staff__tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 24px 0 0; padding: 0; list-style: none; }
.career-staff__tags li { padding: 6px 18px; border-radius: 999px; background: var(--black); color: var(--on-dark); font-weight: 700; }
@media (max-width: 900px) { .career-staff__inner { grid-template-columns: 1fr; gap: 24px; } }

/* ---------- 就活サポート④：ガクチカになる（やること → 話せること） ---------- */
.career-gk__labels, .career-gk__row { display: grid; grid-template-columns: minmax(0, 5fr) 64px minmax(0, 6fr); align-items: center; }
.career-gk__labels { margin-bottom: 12px; font-size: var(--fs-label); font-weight: 900; letter-spacing: .1em; color: var(--accent-light); }
.career-gk__list { display: grid; gap: 16px; margin: 0; padding: 0; list-style: none; }
.career-gk__do { padding: 24px 28px; border: 1px solid var(--line-dark); border-radius: 20px; background: var(--black-2); font-size: var(--fs-h3); font-weight: 700; }
.career-gk__talk { padding: 24px 28px; border-radius: 20px; background: var(--paper); color: var(--ink); font-size: var(--fs-h3); font-weight: 900; }
.career-gk__arrow { justify-self: center; width: 16px; height: 16px; border-top: 3px solid var(--accent-light); border-right: 3px solid var(--accent-light); transform: rotate(45deg); }
.career-gk__sp { display: none; }
@media (max-width: 900px) {
  .career-gk__labels { display: none; }
  .career-gk__row { grid-template-columns: 1fr; gap: 12px; }
  .career-gk__arrow { transform: rotate(135deg); }
  .career-gk__do, .career-gk__talk { padding: 18px 20px; }
  .career-gk__sp { display: block; margin-bottom: 4px; font-size: var(--fs-label); font-weight: 900; letter-spacing: .1em; color: var(--accent-light); }
  .career-gk__talk .career-gk__sp { color: var(--accent); }
}

/* ---------- 知りたいことから見る（各ページへのカード） ---------- */
.guide { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin: 0; padding: 0; list-style: none; }
.guide__item {
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 28px 80px 28px 28px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  text-decoration: none;
  transition: border-color .2s, box-shadow .2s;
}
.guide__item:hover { border-color: var(--ink); box-shadow: 0 8px 24px rgba(0, 0, 0, .06); }
.guide__en { font-family: var(--font-en); font-weight: 900; font-size: var(--fs-label); letter-spacing: .2em; color: var(--accent); }
.guide__label { margin-top: 4px; font-size: var(--fs-h3); font-weight: 900; }
.guide__desc { margin-top: 8px; font-size: var(--fs-small); color: var(--ink-sub); line-height: 1.8; }
.guide__item .btn__icon { position: absolute; right: 24px; top: 50%; margin-top: -20px; background: var(--black); }
.guide__item .btn__icon::before { border-color: var(--paper); }
.guide--compact { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.siblings { padding: 64px 0; }
.siblings__title { margin-bottom: 20px; font-size: var(--fs-small); font-weight: 700; color: var(--ink-sub); }

/* ---------- カード ---------- */
.grid { display: grid; gap: 24px; margin: 0; padding: 0; list-style: none; }
.grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 32px; }
.card > p { font-size: var(--fs-small); color: var(--ink-sub); }
.card__title { font-size: var(--fs-h3); font-weight: 900; line-height: 1.5; margin-bottom: 12px; color: var(--ink); }

/* 番号つきのステップ */
.phase__num { display: flex; align-items: baseline; gap: 12px; padding-bottom: 12px; margin-bottom: 20px; border-bottom: 1px solid var(--line); }
.phase__num .num { font-size: 40px; line-height: 1; color: var(--accent); }
.phase__label { font-family: var(--font-en); font-weight: 700; font-size: var(--fs-label); letter-spacing: .2em; color: var(--ink-sub); }
.phase__when { font-weight: 700; font-size: var(--fs-small); color: var(--accent); margin-bottom: 4px; }

/* ---------- 箇条書き ---------- */
.checks { margin: 0; padding: 0; list-style: none; max-width: 760px; }
.checks li { position: relative; padding: 16px 0 16px 40px; border-bottom: 1px solid var(--line); }
.checks li::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 24px;
  width: 18px;
  height: 10px;
  border-left: 3px solid var(--accent);
  border-bottom: 3px solid var(--accent);
  transform: rotate(-45deg);
}
.dots { margin: 0; padding-left: 1.1em; }

/* ---------- 表 ---------- */
.table { width: 100%; border-collapse: collapse; background: var(--paper); }
.table caption { text-align: left; font-weight: 700; margin-bottom: 12px; }
.table th, .table td { padding: 18px 24px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.table tr:first-child th, .table tr:first-child td { border-top: 2px solid var(--ink); }
.table th { font-weight: 700; background: var(--gray); }
.table--spec th { width: 14em; }
.checks + .table { margin-top: 48px; }
.table--entry { border-radius: var(--radius); overflow: hidden; }
.table--entry th, .table--entry td { vertical-align: middle; }
.table--entry td { text-align: center; }
.table--entry small { font-weight: 400; color: var(--ink-sub); }
.table--entry .status { margin-left: 8px; vertical-align: middle; }

/* ---------- 声 ---------- */
.voice img { border-radius: 50%; margin-bottom: 16px; }
.voice__profile { font-size: var(--fs-label); color: var(--ink-sub); margin-bottom: 8px; }

/* ---------- FAQ ---------- */
.faq { border-bottom: 1px solid var(--line); }
.faq:first-of-type { border-top: 2px solid var(--ink); }
.faq summary { display: flex; gap: 16px; align-items: baseline; padding: 22px 40px 22px 0; font-weight: 700; cursor: pointer; list-style: none; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "＋"; position: absolute; right: 4px; top: 22px; }
.faq[open] summary::after { content: "－"; }
.faq__q, .faq__a { flex: none; font-family: var(--font-en); font-weight: 900; font-size: 20px; }
.faq__q { color: var(--accent); }
.faq p { display: flex; gap: 16px; align-items: baseline; padding: 0 0 24px; color: var(--ink-sub); }

/* ---------- 応募への案内（各ページの最後） ---------- */
.cta { text-align: center; }
.cta__en { font-family: var(--font-en); font-weight: 900; font-size: var(--fs-label); letter-spacing: .2em; color: var(--accent-light); }
.cta__title { margin-top: 12px; font-size: var(--fs-h2); font-weight: 900; line-height: 1.5; }
.cta__lead { margin-top: 16px; font-size: var(--fs-lead); color: var(--on-dark-sub); }
.cta .actions { margin-top: 40px; }

/* ---------- 先輩の声（一覧のカード・個別ページ） ---------- */
.tag { display: inline-block; padding: 2px 10px; border: 1px solid var(--line); border-radius: 999px; font-size: var(--fs-label); font-weight: 700; color: var(--ink-sub); line-height: 1.7; }
.tag--accent { border-color: var(--accent); background: var(--accent); color: var(--on-dark); }
.voice-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin: 0; padding: 0; list-style: none; }
.voice-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 28px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  text-decoration: none;
  transition: border-color .2s, box-shadow .2s;
}
.voice-card:hover { border-color: var(--ink); }
/* 学年・文理は小さく、アクセントの点で区切る */
.voice-card__meta { display: flex; flex-wrap: wrap; gap: 4px 14px; font-size: var(--fs-label); font-weight: 700; color: var(--accent); }
.voice-card__meta span + span::before { content: ""; display: inline-block; width: 4px; height: 4px; margin-right: 14px; border-radius: 50%; background: var(--line); vertical-align: middle; }
/* タイトル（読む人のフック）をいちばん大きく。名前は出さない */
.voice-card__title { margin-top: 14px; flex: 1; font-size: var(--fs-h3); font-weight: 900; line-height: 1.7; }
.voice-card__foot { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 24px; padding-top: 16px; border-top: 1px solid var(--line); }
.voice-card__school { font-size: var(--fs-small); color: var(--ink-sub); }
.voice-card__arrow { position: relative; flex: none; width: 36px; height: 36px; border-radius: 50%; background: var(--gray); transition: background .2s; }
.voice-card__arrow::before { content: ""; position: absolute; top: 50%; left: 50%; width: 8px; height: 8px; border-top: 2px solid var(--ink); border-right: 2px solid var(--ink); transform: translate(-65%, -50%) rotate(45deg); }
.voice-card:hover .voice-card__arrow { background: var(--black); }
.voice-card:hover .voice-card__arrow::before { border-color: var(--paper); }

.voice-page__head { padding-top: 48px; padding-bottom: 48px; border-bottom: 1px solid var(--line); }
.voice-page__title { font-size: var(--fs-h1); font-weight: 900; line-height: 1.4; }
.voice-page__profile { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; margin-top: 20px; }
.voice-page__school { font-size: var(--fs-small); font-weight: 700; color: var(--ink-sub); }
.voice-page__catch { margin-top: 16px; font-size: var(--fs-small); color: var(--ink-sub); }
.voice-page__body { padding-top: 16px; }
.voice-page__photo { margin: 32px 0 0; overflow: hidden; border-radius: var(--radius); background: var(--gray); }
.voice-page__photo img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; object-position: center 45%; }
/* Q4 の流れ：結果がいちばん目に入るように、結果だけ大きく太く */
.voice-page .qa .flow { margin-top: 24px; }
.voice-page .flow__step.is-accent .flow__text { font-size: var(--fs-h3); font-weight: 900; line-height: 1.6; color: var(--ink); }
.voice-page__closing { margin: 56px 0 0; padding: 48px 40px; border-radius: var(--radius); background: var(--gray); text-align: center; }
.voice-page__closing-label { font-size: var(--fs-label); font-weight: 900; letter-spacing: .1em; color: var(--accent); }
.voice-page__closing blockquote { margin: 16px 0 0; }
.voice-page__closing blockquote p { font-size: var(--fs-h2); font-weight: 900; line-height: 1.6; word-break: auto-phrase; }
.voice-page__closing-who { margin-top: 16px; font-size: var(--fs-small); color: var(--ink-sub); }
@media (max-width: 768px) { .voice-page__closing { padding: 32px 20px; } }
/* 本人がつくったツールの画面（仕事の話の下。2026-10-30） */
.voice-tools { margin-top: 24px; }
.voice-tools__label { font-size: var(--fs-label); font-weight: 900; letter-spacing: .1em; color: var(--accent); }
.voice-tools__item { margin: 12px 0 0; padding: 12px; border-radius: var(--radius); background: var(--gray); }
.voice-tools__item img, .voice-tools__item video { display: block; width: 100%; height: auto; border-radius: 4px; box-shadow: 0 4px 16px rgba(0, 0, 0, .12); }
.voice-tools__item figcaption { margin-top: 12px; font-size: var(--fs-small); line-height: 1.8; }
.voice-tools__title { display: block; font-size: var(--fs-body); font-weight: 900; }
.qa { padding: 40px 0; border-bottom: 1px solid var(--line); }
.qa__q { display: flex; align-items: baseline; gap: 14px; font-size: var(--fs-h3); font-weight: 900; line-height: 1.5; }
.qa__num { flex: none; font-size: var(--fs-small); color: var(--accent); }
.qa__a { margin-top: 16px; line-height: 2; }
.voice-pager { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 16px; padding-top: 40px; padding-bottom: 80px; }
.voice-pager a { text-decoration: none; font-weight: 700; font-size: var(--fs-small); }
.voice-pager span { display: block; font-size: var(--fs-label); font-weight: 400; color: var(--ink-sub); }
.voice-pager__next { text-align: right; }
.voice-pager__list { padding: 10px 24px; border: 1px solid var(--ink); border-radius: 999px; }
.voice-pager__prev:hover, .voice-pager__next:hover { color: var(--accent); }

/* ---------- 記事 ---------- */
.article-card { display: flex; flex-direction: column; height: 100%; text-decoration: none; transition: border-color .2s, box-shadow .2s; }
.article-card:hover { border-color: var(--ink); box-shadow: 0 8px 24px rgba(0, 0, 0, .06); }
.article-card__label { align-self: flex-start; margin-bottom: 16px; padding: 2px 12px; border-radius: 999px; background: var(--black); color: var(--on-dark); font-size: var(--fs-label); font-weight: 700; }
.article-card > p:not(.article-card__label) { flex: 1; }
.article-card__more { display: flex; align-items: center; justify-content: flex-end; gap: 12px; margin-top: 24px; font-size: var(--fs-small); font-weight: 700; }
.article-card__more .btn__icon { width: 32px; height: 32px; background: var(--black); }
.article-card__more .btn__icon::before { border-color: var(--paper); }

.draft-banner { padding: 10px 24px; background: #c0392b; color: var(--paper); font-size: var(--fs-label); font-weight: 700; text-align: center; }
.article__head { padding-top: 56px; padding-bottom: 40px; }
.article__title { margin-top: 8px; font-size: var(--fs-h1); font-weight: 900; line-height: 1.5; }
.article__date { margin-top: 16px; font-size: var(--fs-label); color: var(--ink-sub); }
.article__lead { margin-top: 24px; font-size: var(--fs-lead); }
.article__toc { margin-bottom: 56px; }
.article__toc-title { padding: 20px 28px 0; font-weight: 700; background: var(--gray); border-top: 2px solid var(--ink); }
.article__toc ol { margin: 0; padding: 12px 28px 24px 3em; background: var(--gray); font-size: var(--fs-small); }
.article__toc li + li { margin-top: 6px; }
.article__body { padding-bottom: var(--section-space); }
.article__body section + section { margin-top: 64px; }
.article__body h2 { margin-bottom: 24px; padding-left: 16px; border-left: 4px solid var(--accent); font-size: var(--fs-h3); font-weight: 900; line-height: 1.5; }
.article__body p { line-height: 2; }
.article__body p + p { margin-top: 1.2em; }
.article__pending { padding: 24px; border: 1px dashed var(--line); color: var(--ink-sub); text-align: center; font-size: var(--fs-small); }

/* ---------- 404 ---------- */
.notfound .head { margin-bottom: 0; }

/* ---------- フッター（黒。ヘッダーの目次と同じ項目） ---------- */
.footer { background: var(--black); color: var(--on-dark); font-size: var(--fs-small); border-top: 1px solid var(--line-dark); }
.footer__inner { display: grid; grid-template-columns: 220px 1fr; gap: 48px; padding-top: 56px; padding-bottom: 56px; }
.footer__brand img { width: 72px; }
.footer__site { margin-top: 16px; font-weight: 700; }
.footer__company { margin-top: 4px; font-size: var(--fs-label); color: var(--on-dark-sub); }
.footer__cols { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px 24px; margin: 0; padding: 0; list-style: none; }
.footer__cols ul { margin: 10px 0 0; padding: 0; list-style: none; }
.footer__cols li li + li { margin-top: 6px; }
.footer__heading { display: inline-block; font-weight: 700; color: var(--on-dark); }
.footer a { text-decoration: none; }
.footer__cols ul a { color: var(--on-dark-sub); }
.footer a:hover { color: var(--accent-light); }
.footer__bottom { border-top: 1px solid var(--line-dark); color: var(--on-dark-sub); font-size: 12px; }
.footer__bottom .wrap { display: flex; justify-content: space-between; padding-top: 16px; padding-bottom: 16px; }

/* ---------- 狭いPC・タブレット（1200px以下）：目次は「≡」のメニューにする ---------- */
@media (max-width: 1200px) {
  .header__inner { padding-left: 16px; }
  .header__nav {
    display: none;
    position: absolute;
    top: var(--header-height);
    left: 0;
    right: 0;
    height: auto;
    max-height: calc(100svh - var(--header-height));
    overflow: auto;
    margin: 0;
    padding: 8px 24px 32px;
    background: var(--black);
    border-bottom: 1px solid var(--line-dark);
  }
  .header__nav.is-open { display: block; }
  .nav { display: block; height: auto; }
  .nav__item { display: block; border-bottom: 1px solid var(--line-dark); }
  .nav__link { height: auto; padding: 16px 0; font-size: var(--fs-body); }
  .nav__link[aria-current="page"] { box-shadow: none; color: var(--accent-light); }
  .has-sub > .nav__link::after { display: none; }
  /* メニューの中では、子の項目は最初から開いて並べる */
  .nav__sub { position: static; min-width: 0; padding: 0 0 12px; background: none; color: var(--on-dark); box-shadow: none; visibility: visible; opacity: 1; transform: none; }
  .nav__sub a { padding: 8px 12px; }
  .nav__sub a:hover, .nav__sub a[aria-current="page"] { background: var(--black-2); }
  .nav__sub-desc { color: var(--on-dark-sub); }
  .header__ctas { margin-left: auto; }
  .header__menu {
    display: flex; flex-direction: column; justify-content: center; gap: 5px;
    width: 60px; height: 100%; padding: 0 18px; background: none; border: 0; cursor: pointer;
  }
  .header__menu span { display: block; height: 2px; background: var(--on-dark); }
  .grid--3, .guide, .points__list, .voice-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer__cols { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

/* ---------- スマホ（768px以下） ---------- */
@media (max-width: 768px) {
  :root { --section-space: 72px; --header-height: 60px; }
  body { font-size: 15px; }

  .header__logo img { width: 32px; }
  .header__cta { padding: 0 14px; font-size: var(--fs-label); }
  .header__cta--sub { display: none; }

  .message__cols { grid-template-columns: 1fr; justify-content: start; }
  .message__col + .message__col { margin-top: 1.4em; }
  .message__lead { text-align: left; }
  .btn { min-width: 0; width: 100%; }
  .btn--small { width: auto; }

  .head { margin-bottom: 40px; }
  .grid--2, .grid--3, .guide, .guide--compact, .points__list, .voice-grid { grid-template-columns: 1fr; }
  .voice-pager { grid-template-columns: 1fr 1fr; }
  .voice-pager__list { grid-column: 1 / -1; grid-row: 2; justify-self: center; }
  .card, .point { padding: 24px 20px; }

  .table--spec th, .table--spec td { display: block; width: 100%; }
  .table--spec td { border-top: 0; }
  .table--spec tr:first-child td { border-top: 0; }
  /* エントリー表は、募集ごとに「見出し → ボタン2つ横並び」の形にする */
  .table--entry, .table--entry tbody { display: block; }
  .table--entry tr:first-child { display: none; }
  .table--entry tr { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; padding: 16px; border-bottom: 1px solid var(--line); }
  .table--entry th, .table--entry td { display: block; padding: 0; border: 0 !important; background: none; text-align: left; }
  .table--entry th { grid-column: 1 / -1; margin-bottom: 4px; }
  .table--entry .btn--small { width: 100%; gap: 6px; padding: 5px 5px 5px 12px; font-size: 13px; white-space: nowrap; }
  .table--entry .btn--small .btn__icon { width: 26px; height: 26px; }

  .article__head { padding-top: 32px; }

  .footer__inner { grid-template-columns: 1fr; }
  .footer__cols { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer__bottom .wrap { flex-direction: column; gap: 4px; }
}

/* ---------- 先輩の声：一覧の上（人数と学年の内訳）・絞り込み ---------- */
.voices-intro__inner { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; gap: 48px; }
.voices-intro .head { margin-bottom: 32px; }
.voices-intro__count { font-size: var(--fs-lead); font-weight: 700; }
.voices-intro__count .num { margin-right: 6px; font-size: 64px; line-height: 1; color: var(--accent-light); }
.voices-intro__bars { margin: 28px 0 0; padding: 0; list-style: none; max-width: 420px; }
.voices-intro__bars li { display: grid; grid-template-columns: 6.5em 1fr 2em; align-items: center; gap: 12px; padding: 6px 0; font-size: var(--fs-small); }
.voices-intro__bars .num { text-align: right; }
.voices-intro__bar { width: 100%; height: 10px; fill: var(--accent); }
.voices-intro__track { fill: var(--black-2); }
.voices-intro__art { width: 100%; }

/* 全国にこんな仲間がいます（タイル型の日本地図） */
.voices-map__inner { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); align-items: center; gap: 48px; }
.voices-map__count { font-size: var(--fs-lead); font-weight: 700; }
.voices-map__count .num { margin-right: 6px; font-size: 64px; line-height: 1; color: var(--accent); }
.voices-map__list { display: flex; flex-wrap: wrap; gap: 8px; margin: 24px 0 0; padding: 0; list-style: none; }
.voices-map__list li { padding: 2px 12px; border: 1px solid var(--line); border-radius: 999px; font-size: var(--fs-small); font-weight: 700; }
.voices-map__svg { display: block; width: 100%; height: auto; max-height: calc(100svh - 280px); margin: 0 auto; overflow: visible; }
.voices-map__tile rect { fill: #dcdce3; }
.voices-map__tile.is-pin rect { fill: var(--black); }
.voices-map__tile text { font-size: 12px; font-weight: 900; fill: var(--on-dark); }
.voices-map__tile text.is-long { font-size: 10px; }
.voices-map__pin { fill: var(--accent); }
.voices-map__pin-dot { fill: var(--paper); }
.voices-list { padding-top: 56px; }
.filter { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 32px; }
.filter__chip { display: inline-flex; align-items: center; gap: 8px; padding: 8px 18px; border: 1px solid var(--line); border-radius: 999px; background: var(--paper); font: inherit; font-size: var(--fs-small); font-weight: 700; color: var(--ink); cursor: pointer; }
.filter__chip .num { font-size: var(--fs-label); color: var(--ink-sub); }
.filter__chip[aria-pressed="true"] { border-color: var(--black); background: var(--black); color: var(--on-dark); }
.filter__chip[aria-pressed="true"] .num { color: var(--accent-light); }

/* パンくず（ページの下） */
.breadcrumb--bottom { padding: 20px 0; border-top: 1px solid var(--line); }

/* ---------- 動き（止まりすぎないように。「視差効果を減らす」設定のときは動かさない） ---------- */
/* スクロールで、見出し・カードを下からふわっと出す（JSが動いたときだけ。main.js が .can-reveal をつける） */
.can-reveal :is(.head, .point, .guide > li, .voice-grid > li, .grid > li, .grid > article, .qa, .cta__title) {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .6s ease, transform .6s ease;
}
.can-reveal :is(.head, .point, .guide > li, .voice-grid > li, .grid > li, .grid > article, .qa, .cta__title).is-revealed { opacity: 1; transform: none; }
/* ファーストビュー：背景の社名がゆっくり流れる */
@media (prefers-reduced-motion: no-preference) {
}
/* 英字は左から右へ書いていくように出す */

@media (max-width: 1200px) {
  .voices-intro__inner { grid-template-columns: 1fr; }
  .voices-intro__art { max-width: 480px; }
  .voices-map__inner { grid-template-columns: 1fr; }
}

/* ---------- イラスト（public/images/illust/） ---------- */
.point__art { width: 100%; max-width: 240px; height: auto; margin: -8px 0 16px; }
.work-card__top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 20px; }
.work-card__icon { width: 64px; height: 64px; }
.work-card__num { font-size: 32px; line-height: 1; color: var(--line); }

/* ---------- ヘッダーの高さ（少し高くして、目次を押しやすく） ---------- */
:root { --header-height: 88px; }
.header__logo img { width: 48px; }
.nav__link { padding: 0 10px; font-size: 14px; }
.header__nav { margin-right: 12px; }
.header__cta { padding: 0 20px; }
@media (max-width: 1520px) { .header__logo span { display: none; } }

/* ---------- ファーストビューの「Will」 ---------- */

/* ---------- Will（トップ） ---------- */

/* ---------- 学業との両立（トップ）・東西のチーム（拠点ページ） ---------- */

/* ---------- ページ内の目次（募集要項のページだけ） ---------- */
.page-toc { position: sticky; top: var(--header-height); z-index: 5; background: var(--paper); border-bottom: 1px solid var(--line); }
.page-toc ul { display: flex; gap: 8px; margin: 0 auto; padding-top: 12px; padding-bottom: 12px; list-style: none; overflow-x: auto; }
.page-toc a { display: block; padding: 6px 16px; border: 1px solid var(--line); border-radius: 999px; font-size: var(--fs-small); font-weight: 700; text-decoration: none; white-space: nowrap; }
.page-toc a:hover { border-color: var(--ink); }
.page-toc ~ .section { scroll-margin-top: calc(var(--header-height) + 64px); }

/* ---------- 関東・関西インターン ---------- */
.office-facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin: 0; }
.office-facts > div { padding: 20px 24px; background: var(--black-2); border: 1px solid var(--line-dark); border-radius: var(--radius); }
.office-facts dt { font-size: var(--fs-label); color: var(--accent-light); font-weight: 700; letter-spacing: .1em; }
.office-facts dd { margin: 6px 0 0; font-size: var(--fs-h3); font-weight: 900; }
.office-facts dd span { display: block; margin-top: 4px; font-size: var(--fs-small); font-weight: 400; color: var(--on-dark-sub); }
.actions--left { justify-content: flex-start; margin-top: 32px; }

/* ヘッダーの項目が増えたので、目次を「≡」にする幅を広げる */
@media (max-width: 1360px) {
  .header__inner { padding-left: 16px; }
  .header__nav { display: none; position: absolute; top: var(--header-height); left: 0; right: 0; height: auto; max-height: calc(100svh - var(--header-height)); overflow: auto; margin: 0; padding: 8px 24px 32px; background: var(--black); border-bottom: 1px solid var(--line-dark); }
  .header__nav.is-open { display: block; }
  .nav { display: block; height: auto; }
  .nav__item { display: block; border-bottom: 1px solid var(--line-dark); }
  .nav__link { height: auto; padding: 16px 0; font-size: var(--fs-body); }
  .nav__link[aria-current="page"] { box-shadow: none; color: var(--accent-light); }
  .has-sub > .nav__link::after { display: none; }
  .nav__sub { position: static; min-width: 0; padding: 0 0 12px; background: none; color: var(--on-dark); box-shadow: none; visibility: visible; opacity: 1; transform: none; }
  .nav__sub a { padding: 8px 12px; }
  .nav__sub a:hover, .nav__sub a[aria-current="page"] { background: var(--black-2); }
  .nav__sub-desc { color: var(--on-dark-sub); }
  .header__ctas { margin-left: auto; }
  .header__menu { display: flex; flex-direction: column; justify-content: center; gap: 5px; width: 60px; height: 100%; padding: 0 18px; background: none; border: 0; cursor: pointer; }
  .header__menu span { display: block; height: 2px; background: var(--on-dark); }
}
@media (max-width: 768px) {
  :root { --header-height: 64px; }
  .header__logo img { width: 36px; }
}

/* =========================================================
   トップ（2026-10-29 作り直し）：カードを並べず、大きな文字と線で見せる
   ========================================================= */
.hero em, .section--dark em, .footer em, .cta em { background: none; color: var(--accent-light); }

/* ---------- ファーストビュー（参考：リクルート新卒採用トップ） ---------- */
.hero {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  height: calc(100svh - var(--header-height));
  min-height: 560px;
  max-height: 900px;
  background: radial-gradient(ellipse 60% 70% at 58% 18%, #6b6b72 0%, #2b2b30 38%, #0e0e10 78%);
  color: var(--on-dark);
}
/* 写真があるとき：全面・モノクロ */
.hero__bg { position: absolute; inset: 0; z-index: -3; }
.hero__bg img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) contrast(1.15) brightness(.7); }
/* 上からの光とぼけた水滴（写真が無くても、雨の夜の空気が出るように） */
.hero__light {
  position: absolute; inset: 0; z-index: -2; pointer-events: none;
  background:
    radial-gradient(circle at 18% 22%, rgba(255, 255, 255, .22), transparent 70px),
    radial-gradient(circle at 8% 58%, rgba(255, 255, 255, .14), transparent 90px),
    radial-gradient(circle at 34% 76%, rgba(255, 255, 255, .12), transparent 60px),
    radial-gradient(circle at 72% 12%, rgba(255, 255, 255, .18), transparent 110px),
    radial-gradient(circle at 88% 44%, rgba(255, 255, 255, .12), transparent 70px),
    radial-gradient(circle at 63% 64%, rgba(255, 255, 255, .08), transparent 140px),
    radial-gradient(circle at 46% 34%, rgba(255, 255, 255, .10), transparent 40px);
  filter: blur(6px);
}
/* 雨：斜めの細い線を2層。手前の層ほど太く速い */
.hero__rain { position: absolute; inset: -20%; z-index: -1; pointer-events: none; transform: rotate(14deg); }
.hero__rain span { position: absolute; inset: 0; }
.hero__rain span:first-child {
  background-image: repeating-linear-gradient(90deg, transparent 0 13px, rgba(255, 255, 255, .28) 13px 14px, transparent 14px 31px);
  -webkit-mask-image: repeating-linear-gradient(180deg, #000 0 90px, transparent 90px 150px, #000 150px 190px, transparent 190px 300px);
          mask-image: repeating-linear-gradient(180deg, #000 0 90px, transparent 90px 150px, #000 150px 190px, transparent 190px 300px);
}
.hero__rain span:last-child {
  background-image: repeating-linear-gradient(90deg, transparent 0 41px, rgba(255, 255, 255, .5) 41px 43px, transparent 43px 97px);
  -webkit-mask-image: repeating-linear-gradient(180deg, #000 0 140px, transparent 140px 380px);
          mask-image: repeating-linear-gradient(180deg, #000 0 140px, transparent 140px 380px);
  filter: blur(.6px);
}

/* 縦書きのコピー（中央より少し右） */
.hero__copy {
  position: absolute;
  top: 10%;
  right: 30%;
  writing-mode: vertical-rl;
  display: flex;
  flex-direction: column; /* 縦書きでは「右から左へ列を並べる」 */
  align-items: flex-start;
  gap: 28px;
  font-weight: 500;
  white-space: nowrap;
  letter-spacing: .18em;
  line-height: 1.4;
  text-shadow: 0 2px 18px rgba(0, 0, 0, .55);
}
.hero__catch { font-size: clamp(30px, 3vw, 44px); font-weight: 900; letter-spacing: .1em; }
.hero__sub { margin-top: 3.2em; font-size: clamp(17px, 1.6vw, 24px); }
.hero__sub em { background: none; color: var(--on-dark); font-size: 1.5em; font-weight: 900; letter-spacing: .05em; }

/* 斜めに重ねる手書きの英字（にじんだ虹色） */
.hero__en {
  position: absolute;
  left: 6%;
  bottom: 4%;
  font-family: "Shadows Into Light", "Caveat", cursive;
  font-size: clamp(64px, 10.5vw, 168px);
  line-height: 1;
  letter-spacing: .02em;
  white-space: nowrap;
  transform: rotate(-9deg);
  transform-origin: left bottom;
  background: linear-gradient(100deg, #f6c6e6 0%, #fde9a9 22%, #c9f2d4 44%, #b9d8ff 66%, #e3c8ff 84%, #f6c6e6 100%);
  -webkit-background-clip: text;
          background-clip: text;
  color: transparent;
  filter: drop-shadow(0 2px 10px rgba(0, 0, 0, .35));
  pointer-events: none;
}

/* 右下：先輩の声への小さなカードと、募集状況のボタン */
.hero__float { position: absolute; right: 16px; bottom: 16px; display: flex; flex-direction: column; align-items: flex-end; gap: 12px; }
.hero__card { display: block; width: 172px; padding: 6px 6px 10px; border-radius: 2px; background: linear-gradient(135deg, #f6c6e6, #fde9a9 35%, #c9f2d4 65%, #b9d8ff); color: var(--ink); text-decoration: none; transition: transform .2s; }
.hero__card:hover { transform: translateY(-3px); }
.hero__card-img { display: block; aspect-ratio: 16 / 9; background: var(--black); overflow: hidden; }
.hero__card-img img { width: 100%; height: 100%; object-fit: cover; }
.hero__card-en { display: block; margin: 8px 4px 0; font-family: var(--font-en); font-size: 11px; font-weight: 700; }
.hero__card-title { display: block; margin: 0 4px; font-size: var(--fs-small); font-weight: 900; }
.hero__status { display: inline-flex; align-items: center; gap: 14px; white-space: nowrap; padding: 12px 12px 12px 24px; border-radius: 999px; background: var(--paper); color: var(--ink); font-size: var(--fs-small); font-weight: 700; text-decoration: none; box-shadow: 0 6px 20px rgba(0, 0, 0, .3); }
.hero__status-icon { position: relative; width: 26px; height: 26px; border-radius: 50%; background: var(--ink); transition: background .2s; }
.hero__status-icon::after { content: ""; position: absolute; top: 45%; left: 50%; width: 6px; height: 6px; border-right: 2px solid var(--paper); border-bottom: 2px solid var(--paper); transform: translate(-50%, -50%) rotate(45deg); }
.hero__status:hover .hero__status-icon { background: var(--accent); }

@media (prefers-reduced-motion: no-preference) {
  .hero__rain span:first-child { animation: hero-rain 1.1s linear infinite; }
  .hero__rain span:last-child { animation: hero-rain-2 .7s linear infinite; }
  .hero__copy { animation: hero-in 1s ease .2s both; }
  .hero__en { animation: hero-write 1.6s ease .6s both; }
  .hero__float { animation: hero-in .8s ease 1s both; }
}
/* 雨は、マスクの繰り返し（300px・380px）ぶん下へずらしてループさせる */
@keyframes hero-rain { from { -webkit-mask-position: 0 0; mask-position: 0 0; } to { -webkit-mask-position: 0 300px; mask-position: 0 300px; } }
@keyframes hero-rain-2 { from { -webkit-mask-position: 0 0; mask-position: 0 0; } to { -webkit-mask-position: 0 380px; mask-position: 0 380px; } }
@keyframes hero-write { from { clip-path: inset(0 100% 0 0); } to { clip-path: inset(0 -5% 0 0); } }
@keyframes hero-in { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }

@media (max-width: 768px) {
  .hero { height: calc(100svh - var(--header-height)); min-height: 600px; max-height: none; }
  .hero__copy { top: 5%; right: 10%; gap: 18px; }
  /* スマホでは英字を2行に折り返し、右下のカードより上に置く */
  .hero__en { left: 5%; right: 5%; bottom: 190px; font-size: clamp(48px, 15vw, 72px); line-height: .95; white-space: normal; }
  .hero__float { left: 16px; right: 16px; flex-direction: row; align-items: flex-end; justify-content: space-between; }
  .hero__card { width: 120px; }
  .hero__status { padding-left: 16px; font-size: var(--fs-label); }
}

/* ---------- Will：大きな文字の行（カードにしない） ---------- */
.wills__list { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--line-dark); }
.will { display: grid; grid-template-columns: 4em minmax(0, 1.4fr) minmax(0, 1fr); align-items: baseline; gap: 24px; padding: 36px 0; border-bottom: 1px solid var(--line-dark); transition: color .2s; }
.will__num { font-size: var(--fs-small); color: var(--on-dark-sub); }
.will__title { font-size: clamp(24px, 3vw, 40px); font-weight: 900; line-height: 1.3; color: var(--on-dark); transition: color .25s; }
.will__body { color: var(--on-dark-sub); }
.will:hover .will__title { color: var(--accent-light); }
.will:hover .will__num { color: var(--accent-light); }

/* ---------- 学業との両立：パターンを大きな文字で（引用にしない） ---------- */
.balance__list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); margin: 0; padding: 0; list-style: none; border-top: 2px solid var(--ink); }
.balance__item { display: flex; flex-direction: column; gap: 8px; padding: 32px 32px 32px 0; border-bottom: 1px solid var(--line); }
.balance__item:nth-child(even) { padding-left: 32px; border-left: 1px solid var(--line); }
.balance__who { font-size: var(--fs-small); font-weight: 700; color: var(--accent); }
.balance__text { font-size: clamp(20px, 2.2vw, 28px); font-weight: 900; line-height: 1.5; }
.balance__more { margin-top: 28px; text-align: right; font-size: var(--fs-small); font-weight: 700; }
.balance__more a::after { content: " →"; }

/* ---------- 特徴：イラストと文字を左右に（カードにしない） ---------- */
.points__list { display: block; }
.point { display: grid; grid-template-columns: 280px minmax(0, 1fr); grid-template-areas: "art num" "art title" "art body" "art link"; column-gap: 56px; align-content: center; padding: 48px 0; background: none; border: 0; border-radius: 0; border-top: 1px solid var(--line-dark); }
.point:nth-child(even) { grid-template-columns: minmax(0, 1fr) 280px; grid-template-areas: "num art" "title art" "body art" "link art"; }
.point__art { grid-area: art; align-self: center; max-width: 280px; margin: 0; }
.point__num { grid-area: num; }
.point__title { grid-area: title; font-size: var(--fs-h2); }
.point__body { grid-area: body; max-width: 36em; font-size: var(--fs-body); }
.point__link { grid-area: link; justify-self: start; }

/* ---------- 目次・記事の一覧：線で区切った大きな行 ---------- */
.index-list { margin: 0; padding: 0; list-style: none; border-top: 2px solid var(--ink); }
.index-list__item { display: grid; grid-template-columns: 10em minmax(0, 1fr) minmax(0, 1.2fr) 2em; align-items: baseline; gap: 24px; padding: 28px 8px; border-bottom: 1px solid var(--line); text-decoration: none; transition: background .2s, padding .2s; }
.index-list__item:hover { background: var(--gray); padding-left: 20px; }
.section--gray .index-list__item:hover { background: var(--paper); }
.index-list__en { font-family: var(--font-en); font-weight: 900; font-size: var(--fs-label); letter-spacing: .15em; color: var(--accent); }
.index-list__label { font-size: var(--fs-h3); font-weight: 900; }
.index-list__desc { font-size: var(--fs-small); color: var(--ink-sub); }
.index-list__arrow { font-size: 20px; text-align: right; transition: transform .2s; }
.index-list__item:hover .index-list__arrow { transform: translateX(6px); color: var(--accent); }

@media (max-width: 768px) {
  .hero__inner { padding: 56px 20px 72px; min-height: 560px; }
  .hero__actions { flex-direction: column; }
  .will { grid-template-columns: 2.5em minmax(0, 1fr); gap: 8px 12px; padding: 24px 0; }
  .will__body { grid-column: 2; }
  .balance__list { grid-template-columns: 1fr; }
  .balance__item, .balance__item:nth-child(even) { padding: 24px 0; border-left: 0; }
  .point, .point:nth-child(even) { grid-template-columns: 1fr; grid-template-areas: "art" "num" "title" "body" "link"; padding: 40px 0; }
  .point__art { max-width: 220px; margin-bottom: 16px; }
  .index-list__item { grid-template-columns: minmax(0, 1fr) 1.5em; gap: 4px 12px; padding: 20px 0; }
  .index-list__en, .index-list__label, .index-list__desc { grid-column: 1; }
  .index-list__arrow { grid-column: 2; grid-row: 1 / span 3; align-self: center; }
}

/* ---------- 余白を詰める（2026-10-29：「遠すぎる」） ---------- */
:root { --section-space: 88px; }
.head { margin-bottom: 36px; }
.head__sub { margin-top: 10px; }
/* Will：見出しと説明を近づける（右端に離さない） */
.will { grid-template-columns: 3em auto minmax(0, 1fr); gap: 32px; padding: 22px 0; }
.will__body { max-width: 30em; }
.balance__item { padding: 22px 24px 22px 0; }
.balance__item:nth-child(even) { padding-left: 24px; }
.balance__more { margin-top: 16px; }
.point { padding: 32px 0; column-gap: 40px; }
.index-list__item { padding: 18px 8px; gap: 20px; }
.siblings { padding: 48px 0; }
.cta .actions { margin-top: 28px; }
@media (max-width: 768px) {
  :root { --section-space: 64px; }
  .will { grid-template-columns: 2.5em minmax(0, 1fr); gap: 4px 12px; padding: 18px 0; }
}

/* ---------- 記事の図（templates/figures/） ---------- */
.figure { margin: 36px 0 8px; }
.figure svg { display: block; width: 100%; height: auto; overflow: visible; }
/* 図はPC用（fig-wide）とスマホ用（fig-narrow・縦長）の2枚を持ち、画面幅で切り替える。横スクロールはしない */
.figure .fig-narrow { display: none; }
@media (max-width: 600px) {
  .figure .fig-wide { display: none; }
  .figure .fig-narrow { display: block; max-width: 400px; margin: 0 auto; }
}
.figure figcaption { margin-top: 12px; font-size: var(--fs-label); color: var(--ink-sub); }
.figure text { font-family: var(--font-ja); font-size: 15px; font-weight: 700; fill: var(--ink); }
.figure .fig-title { font-size: 20px; font-weight: 900; }
.figure .fig-small { font-size: 13px; }
.figure .fig-item { font-size: 14px; }
.figure .fig-sub-strong { font-size: 15px; font-weight: 900; }
.figure .fig-muted { font-weight: 400; fill: var(--ink-sub); }
.figure .fig-text-accent { fill: var(--accent); }
.figure .fig-text-accent-light { fill: var(--accent-light); }
.figure .fig-on-dark { fill: var(--on-dark); }
.fig-fill { fill: var(--gray); }
.section--gray .fig-fill { fill: var(--paper); }
.fig-ink { fill: var(--black); }
.fig-paper { fill: var(--paper); }
.fig-accent { fill: var(--accent); }
.fig-line { stroke: var(--ink); stroke-width: 1.5; }
.fig-line:not(.fig-paper) { fill: none; }
.fig-stroke-accent { stroke: var(--accent); stroke-width: 2; }
.fig-stroke-accent:not(.fig-paper) { fill: none; }
.fig-thick { stroke-width: 3; stroke-linecap: round; }
.fig-dash { stroke-dasharray: 2 7; stroke-linecap: round; stroke-width: 3; }
.fig-check { fill: none; stroke: var(--paper); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- カルチャー（トップ）：バリューを大きく、先輩の言葉を大きさを変えて流し込む（カードにしない） ---------- */
.culture__values { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin: 0 0 56px; padding: 0; list-style: none; border-top: 2px solid var(--ink); }
.culture__values li { display: flex; flex-direction: column; gap: 6px; padding: 24px 24px 24px 0; font-size: clamp(20px, 2.2vw, 30px); font-weight: 900; line-height: 1.4; }
.culture__values li + li { padding-left: 24px; border-left: 1px solid var(--line); }
.culture__values .num { font-size: var(--fs-small); color: var(--accent); }
.culture__voices { columns: 2; column-gap: 56px; margin: 0; padding: 0; list-style: none; }
.culture__voice { break-inside: avoid; padding: 20px 0 24px; border-bottom: 1px solid var(--line); }
.culture__quote { font-weight: 900; line-height: 1.6; }
.culture__quote::before { content: "“"; margin-right: 4px; color: var(--accent); font-family: var(--font-en); }
.culture__voice--l .culture__quote { font-size: clamp(22px, 2.4vw, 32px); }
.culture__voice--m .culture__quote { font-size: var(--fs-lead); }
.culture__who { display: inline-block; margin-top: 8px; font-size: var(--fs-label); color: var(--ink-sub); text-decoration: none; }
.culture__who::after { content: " →"; }
.culture__who:hover { color: var(--accent); }
@media (max-width: 768px) {
  .culture__values { grid-template-columns: 1fr; }
  .culture__values li, .culture__values li + li { padding: 18px 0; border-left: 0; border-bottom: 1px solid var(--line); }
  .culture__voices { columns: 1; }
}

/* ---------- 記事を「ページ」として見せる形（articles.toml の style = "page"） ---------- */
/* 記事のファーストビュー：画面いっぱいの黒地に、タイトルとリードだけ。斜めの細い線はトップのファーストビューと同じ */
.explainer__hero { position: relative; display: flex; flex-direction: column; min-height: min(calc(100svh - var(--header-height)), 760px); padding: 0 0 72px; overflow: hidden; isolation: isolate; }
.explainer__hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(ellipse at 85% 20%, rgba(61, 99, 255, .28) 0%, transparent 55%), radial-gradient(ellipse at 10% 100%, rgba(61, 99, 255, .12) 0%, transparent 50%); }
.explainer__lines {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    repeating-linear-gradient(105deg, transparent 0 46px, rgba(255, 255, 255, .06) 46px 47px, transparent 47px 120px),
    repeating-linear-gradient(105deg, transparent 0 83px, rgba(255, 255, 255, .04) 83px 84px, transparent 84px 190px);
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, rgba(0, 0, 0, .5) 40%, #000 100%);
  mask-image: linear-gradient(90deg, transparent 0%, rgba(0, 0, 0, .5) 40%, #000 100%);
  pointer-events: none;
}
.explainer__hero-inner { flex: 1; display: flex; flex-direction: column; justify-content: center; width: 100%; padding-top: 48px; }
.explainer__title { margin-top: 16px; max-width: 15em; font-size: clamp(34px, 5vw, 68px); font-weight: 900; line-height: 1.3; letter-spacing: .01em; }
.explainer__lead { margin-top: 32px; max-width: 34em; font-size: var(--fs-lead); line-height: 1.9; color: var(--on-dark-sub); }
.explainer__cue { display: flex; align-items: center; gap: 12px; margin-top: 56px; font-size: var(--fs-label); font-weight: 700; letter-spacing: .1em; color: var(--on-dark-sub); }
.explainer__cue span { width: 1px; height: 40px; background: linear-gradient(var(--accent-light), transparent); }
.explainer__figblock { padding: 72px 0; background: var(--gray); }
.explainer__figblock.section--dark { background: var(--black); border-top: 1px solid var(--line-dark); }
.explainer__figblock .figure { margin: 0; }
/* 白地用の図は、灰色のブロックの上に白いパネルで出す（図の中の灰色が背景に溶けないように） */
.explainer__figblock:not(.section--dark) .figure__scroll { padding: 40px; border-radius: var(--radius); background: var(--paper); }
@media (max-width: 600px) { .explainer__figblock:not(.section--dark) .figure__scroll { padding: 20px; } }
.breadcrumb--dark { position: relative; color: var(--on-dark-sub); }
.breadcrumb--dark a { color: var(--on-dark); }
.breadcrumb--dark li + li::before { color: var(--line-dark); }
.explainer__figure { margin-top: 0; }
.explainer__figure figcaption { color: var(--on-dark-sub); }
.explainer__figure--panel .figure__scroll { padding: 32px; border-radius: var(--radius); background: var(--paper); }
@media (max-width: 600px) { .explainer__figure--panel .figure__scroll { padding: 20px; } }
.explainer__block { padding: 96px 0; }
.explainer__heading { margin-top: 8px; font-size: var(--fs-h2); font-weight: 900; line-height: 1.4; }
.explainer__text { max-width: 760px; }
.explainer__text p { margin-top: 20px; line-height: 2; }
.explainer__split { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); align-items: center; gap: 56px; }
.explainer__split .figure { margin: 0; }
/* 中の図（スマホでは横スワイプ）に押されて列が画面より広がらないように */
.explainer__split > * { min-width: 0; }
.explainer__points { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin: 48px 0 0; padding: 0; list-style: none; }
.explainer__points li { padding: 24px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--paper); }
.explainer__points li.is-accent { border-color: var(--accent); }
.explainer__points h3 { margin-top: 12px; font-size: var(--fs-h3); font-weight: 900; line-height: 1.5; }
.explainer__points h3.is-big { font-family: var(--font-en); font-size: clamp(56px, 7vw, 96px); line-height: 1; letter-spacing: -.02em; }
.explainer__points li.is-accent h3.is-big { color: var(--accent); }
.explainer__points p { margin-top: 8px; font-size: var(--fs-small); color: var(--ink-sub); }
.explainer__num { font-family: var(--font-en); font-size: var(--fs-label); font-weight: 900; color: var(--ink-sub); }
.explainer__points li.is-accent .explainer__num { color: var(--accent); }
@media (max-width: 1200px) { .explainer__points { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 768px) {
  .explainer__hero { min-height: 0; padding: 0 0 56px; }
  .explainer__hero-inner { padding-top: 40px; }
  .explainer__cue { margin-top: 40px; }
  .explainer__figblock { padding: 48px 0; }
  .explainer__block { padding: 64px 0; }
  .explainer__split { grid-template-columns: 1fr; gap: 32px; }
  .explainer__points { grid-template-columns: 1fr; }
}

/* 図：新規事業の7つのステージ（黒地用） */
.sg-mountain { fill: var(--black-2); }
.sg-ridge { fill: none; stroke: var(--on-dark-sub); stroke-width: 2; stroke-dasharray: 2 7; stroke-linecap: round; }
.sg-ridge-accent { fill: none; stroke: var(--accent-light); stroke-width: 4; stroke-linecap: round; stroke-linejoin: round; }
.sg-bracket { fill: none; stroke: var(--accent-light); stroke-width: 1.5; }
.sg-gate { fill: none; stroke: var(--on-dark); stroke-width: 3; stroke-linecap: round; }
.sg-flag { fill: var(--accent); }
.sg-num { fill: var(--line-dark); }
.sg-num-accent { fill: var(--accent); }
.figure text.sg-num-text { font-size: 13px; font-weight: 900; fill: var(--on-dark); }
.figure text.sg-label { font-size: 16px; font-weight: 900; fill: var(--on-dark); }
.figure text.sg-accent-text { font-size: 17px; font-weight: 900; fill: var(--accent-light); }
.sg-phase { fill: none; stroke: var(--line-dark); stroke-width: 1.5; }
.figure text.sg-phase-text { font-size: 13px; font-weight: 700; fill: var(--on-dark-sub); }
.figure text.sg-legend { font-size: 14px; font-weight: 700; fill: var(--on-dark-sub); }

/* 募集要項：募集ごとに分けて書くセル */
.spec-group + .spec-group, .spec-tags + .spec-group { margin-top: 16px; }
.nowrap { white-space: nowrap; }
/* 1項目ずつ区切って並べる（選考で重視すること・応募時点でなくてよいもの） */
.spec-tags { display: flex; flex-wrap: wrap; gap: 6px 8px; margin: 6px 0 0; padding: 0; list-style: none; }
td > .spec-tags:first-child { margin-top: 0; }
.spec-tags li { padding: 2px 12px; border: 1px solid var(--line); border-radius: 999px; background: var(--paper); font-size: var(--fs-small); }

/* 関東・関西インターン：在籍生の大学がある都府県 */
.office-prefs { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-bottom: 24px; font-size: var(--fs-small); }
.office-prefs span { margin-right: 8px; color: var(--ink-sub); }
.office-prefs b { padding: 4px 14px; border-radius: 999px; background: var(--black); color: var(--on-dark); }

/* ---------- フロー（_macros.html の flow。順番があるものを矢印でつなぐ） ---------- */
.flow { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); margin: 0; padding: 0; list-style: none; }
.flow__step { position: relative; padding: 0 28px 0 0; }
/* 番号の横から次のステップへ伸びる線と、その先の矢印 */
.flow__step::before { content: ""; position: absolute; top: 27px; left: 56px; right: 8px; height: 2px; background: var(--line); }
.flow__step::after { content: ""; position: absolute; top: 22px; right: 10px; width: 10px; height: 10px; border-top: 2px solid var(--accent); border-right: 2px solid var(--accent); transform: rotate(45deg); }
.flow__step:last-child::before, .flow__step:last-child::after { display: none; }
.flow__marker { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; width: 56px; height: 56px; border-radius: 50%; background: var(--black); color: var(--on-dark); line-height: 1; }
.flow__step.is-accent .flow__marker { background: var(--accent); }
.flow__label { font-family: var(--font-en); font-size: 9px; font-weight: 700; letter-spacing: .12em; color: var(--on-dark-sub); }
.flow__step.is-accent .flow__label { color: var(--on-dark); }
.flow__marker .num { margin-top: 3px; font-size: 20px; font-weight: 900; }
.flow__when { margin-top: 20px; font-size: var(--fs-small); font-weight: 700; color: var(--accent); }
.flow__title { margin-top: 20px; font-size: var(--fs-lead); font-weight: 900; line-height: 1.5; }
.flow__when + .flow__title { margin-top: 4px; }
.flow__text { margin-top: 8px; font-size: var(--fs-small); color: var(--ink-sub); line-height: 1.8; }
.explainer__flow { margin-top: 48px; }
/* 7つ以上はPCでも詰まるので、少し小さくする */
@media (max-width: 1200px) { .flow--7 .flow__step { padding-right: 16px; } }
/* スマホ：縦に並べて下へ */
@media (max-width: 768px) {
  .flow { grid-auto-flow: row; }
  .flow__step { display: grid; grid-template-columns: 56px 1fr; column-gap: 20px; padding: 0 0 32px; }
  .flow__step > :not(.flow__marker) { grid-column: 2; }
  .flow__marker { grid-row: 1 / span 3; }
  .flow__step::before { top: 60px; bottom: 4px; left: 27px; right: auto; width: 2px; height: auto; }
  .flow__step::after { top: auto; bottom: 6px; left: 23px; right: auto; transform: rotate(135deg); }
  .flow__when, .flow__title { margin-top: 0; }
  .flow__title { padding-top: 14px; }
  .flow__when { padding-top: 8px; }
  .flow__when + .flow__title { padding-top: 0; }
}

/* ---------- 特徴（features）：流れるカードだけ（スタイルは下の「特徴：流れるカード」） ---------- */
.features { background: #141418; }

/* ---------- 新規事業の営業は、なぜ難しいのか（トップ） ----------
   壁（左）と答え（右）を1行ずつ。カードにせず線で区切る */
/* 日本語を文節で折り返す（対応ブラウザのみ。非対応でもふつうに折り返す） */
.why__wall, .why__close-title, .why__actions .btn span:first-child { word-break: auto-phrase; }
/* 見出しは読点でだけ折り返す（「新規事業の営業は、／なぜ難しいのか」） */
.why .head__title { word-break: keep-all; overflow-wrap: anywhere; }
.why__list { margin: 0; padding: 0; list-style: none; border-top: 2px solid var(--ink); }
.why__item { display: grid; grid-template-columns: 120px minmax(0, 1fr) minmax(0, 1fr); gap: 0 40px; align-items: start; padding: 32px 0; border-bottom: 1px solid var(--line); }
.why__num { font-size: var(--fs-small); font-weight: 700; color: var(--ink-sub); line-height: 1.2; }
.why__num .num { display: block; margin-top: 6px; font-size: 40px; line-height: 1; color: var(--accent); }
.why__wall { font-size: var(--fs-h3); font-weight: 900; line-height: 1.6; }
.why__answer { position: relative; padding-left: 20px; border-left: 2px solid var(--accent); font-size: var(--fs-body); }
.why__answer-label { display: block; font-size: var(--fs-label); font-weight: 700; letter-spacing: .1em; color: var(--accent); }
.why__source { max-width: 760px; margin-top: 20px; font-size: var(--fs-small); color: var(--ink-sub); }
.why__close { max-width: 760px; margin: 72px auto 0; text-align: center; }
.why__close-title { font-size: var(--fs-h2); font-weight: 900; line-height: 1.5; text-wrap: balance; }
.why__close-body { margin-top: 20px; font-size: var(--fs-lead); color: var(--ink-sub); text-align: left; }
.why__actions { margin-top: 40px; }
.why__article { box-shadow: inset 0 0 0 1px var(--line); }
@media (max-width: 768px) {
  .why__item { grid-template-columns: 1fr; gap: 12px; padding: 28px 0; }
  .why__num { display: flex; align-items: baseline; gap: 8px; }
  .why__num .num { display: inline; margin: 0; font-size: 32px; }
  .why__close { margin-top: 56px; text-align: left; }
}

/* ---------- バリュー（トップ）：3つのバリューを1つずつ、番号・明朝の言葉・説明・図で見せる（PCは図が左右交互） ---------- */
/* 3つが重なる場所：左に見出し、右にベン図 */
.values__inner { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); align-items: center; gap: 56px; }
.values .head { margin-bottom: 0; }
.venn { display: block; width: 100%; max-width: 560px; height: auto; margin: 0 auto; overflow: visible; }
.venn__circle { fill: var(--accent); fill-opacity: .1; stroke: var(--accent); stroke-width: 1.5; transition: transform 1s cubic-bezier(.2, .8, .2, 1), opacity .8s; }
.venn__word { font-family: var(--font-mincho); font-size: 30px; font-weight: 900; fill: var(--ink); }
.venn__line { font-size: 15px; font-weight: 700; fill: var(--ink-sub); }
.venn__center rect { fill: var(--black); }
.venn__center text { font-size: 15px; font-weight: 900; fill: var(--on-dark); }
.venn__label, .venn__center { transition: opacity .6s .5s; }
/* 画面に入る前：円は外側に離れていて、言葉は見えない → 入ると寄ってきて重なる */
.can-reveal .venn:not(.is-revealed) .venn__circle { opacity: 0; }
.can-reveal .venn:not(.is-revealed) .venn__circle--1 { transform: translate(-40px, -24px); }
.can-reveal .venn:not(.is-revealed) .venn__circle--2 { transform: translate(40px, -24px); }
.can-reveal .venn:not(.is-revealed) .venn__circle--3 { transform: translate(0, 44px); }
.can-reveal .venn:not(.is-revealed) :is(.venn__label, .venn__center) { opacity: 0; }
@media (max-width: 900px) { .values__inner { grid-template-columns: 1fr; gap: 32px; } }

/* ---------- ヘッダーのメニュー：アイコン＋短い名前＋短い説明 ---------- */
.icon-sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.nav__sub a { display: grid; grid-template-columns: 36px minmax(0, 1fr); column-gap: 12px; align-items: center; }
.nav__sub a > :not(.nav__icon) { grid-column: 2; }
.nav__icon { grid-row: 1 / span 2; width: 36px; height: 36px; padding: 7px; border-radius: 10px; background: var(--gray); color: var(--ink); }
.nav__sub a:hover .nav__icon, .nav__sub a[aria-current="page"] .nav__icon { background: var(--accent); color: var(--on-dark); }
@media (max-width: 1360px) {
  /* ≡ のメニューの中では、子の項目をタイルにして横に並べる */
  .nav__sub { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 4px 12px; }
  .nav__icon { background: var(--black-2); color: var(--accent-light); border: 1px solid var(--line-dark); }
}

/* ---------- 仕事内容：W字の流れ（templates/sections/work-w.html） ----------
   PC：5つの仕事を「W」の5つの頂点に置く。上の頂点（1・3・5）は文字を点の上に、下の頂点（2・4）は点の下に。
   W の線は真ん中の帯（2行目）だけに描くので、文字と線は重ならない。
   横は25列（1列4%）の格子。頂点の中心は 14%・30%・50%・70%・86%（SVG の points と合わせる） */
.work-w {
  --work-w-node: 88px;   /* 頂点の丸の大きさ */
  --work-w-band: 150px;  /* W の線を描く帯の高さ（上下の頂点の距離） */
  display: grid;
  grid-template-columns: repeat(25, minmax(0, 1fr));
  grid-template-rows: auto var(--work-w-band) auto;
  margin-top: 8px;
}
.work-w__list { display: contents; }
.work-w__line { grid-column: 1 / -1; grid-row: 2; width: 100%; height: 100%; overflow: visible; }
.work-w__line polyline { fill: none; stroke-linejoin: round; stroke-linecap: round; vector-effect: non-scaling-stroke; }
.work-w__line-shadow { stroke: var(--line); stroke-width: 14px; }
.work-w__line-main { stroke: var(--accent); stroke-width: 2px; }

.work-w__item { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; text-align: center; min-width: 0; }
/* 上の頂点：文字 → 丸（丸の中心が帯の上の端にくる） */
.work-w__item.is-top { grid-row: 1; flex-direction: column-reverse; justify-content: flex-start; align-self: end; }
.work-w__item.is-top .work-w__node { margin-bottom: calc(var(--work-w-node) / -2); }
.work-w__item.is-top .work-w__text { padding-bottom: 24px; }
/* 下の頂点：丸 → 文字（丸の中心が帯の下の端にくる） */
.work-w__item.is-bottom { grid-row: 3; align-self: start; }
.work-w__item.is-bottom .work-w__node { margin-top: calc(var(--work-w-node) / -2); }
.work-w__item.is-bottom .work-w__text { padding-top: 24px; }
/* 文字の幅：隣の頂点の文字とは上下の段が違うので、頂点の間隔より広くとれる */
.work-w__item--1 { grid-column: 1 / 8; }    /*  0〜28%、中心14% */
.work-w__item--2 { grid-column: 4 / 13; }   /* 12〜48%、中心30% */
.work-w__item--3 { grid-column: 9 / 18; }   /* 32〜68%、中心50% */
.work-w__item--4 { grid-column: 14 / 23; }  /* 52〜88%、中心70% */
.work-w__item--5 { grid-column: 19 / 26; }  /* 72〜100%、中心86% */

.work-w__node {
  position: relative;
  flex: none;
  display: grid;
  place-items: center;
  width: var(--work-w-node);
  height: var(--work-w-node);
  border-radius: 50%;
  background: var(--paper);
  border: 2px solid var(--ink);
}
.work-w__icon { width: 52px; height: 52px; }
.work-w__num {
  position: absolute;
  top: -6px;
  left: -6px;
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--accent);
  color: var(--on-dark);
  font-size: 13px;
  line-height: 1;
  letter-spacing: .02em;
}
.work-w__text { max-width: 22em; }
.work-w__title { font-size: var(--fs-h3); font-weight: 900; line-height: 1.5; }
.work-w__body { margin-top: 8px; font-size: var(--fs-small); color: var(--ink-sub); line-height: 1.8; word-break: auto-phrase; text-wrap: pretty; }

/* 少し狭いPC・タブレット：帯を低く、丸を小さく */
@media (max-width: 1024px) {
  .work-w { --work-w-node: 76px; --work-w-band: 120px; }
  .work-w__icon { width: 44px; height: 44px; }
}

/* スマホ：W はやめて、左の縦線でつないだ流れにする（上から 01 → 05） */
@media (max-width: 768px) {
  .work-w { display: block; margin-top: 0; }
  .work-w__line { display: none; }
  .work-w__list { display: block; margin: 0; padding: 0; list-style: none; }
  .work-w__item,
  .work-w__item.is-top,
  .work-w__item.is-bottom {
    display: grid;
    grid-template-columns: 64px minmax(0, 1fr);
    column-gap: 18px;
    align-items: start;
    padding: 0 0 32px;
    text-align: left;
  }
  .work-w__item:last-child { padding-bottom: 0; }
  /* 丸と丸をつなぐ縦線 */
  .work-w__item::before { content: ""; position: absolute; z-index: -1; top: 64px; bottom: 0; left: 31px; width: 2px; background: var(--accent); }
  .work-w__item:last-child::before { display: none; }
  .work-w__item.is-top .work-w__node,
  .work-w__item.is-bottom .work-w__node { width: 64px; height: 64px; margin: 0; }
  .work-w__icon { width: 38px; height: 38px; }
  .work-w__num { top: -4px; left: -4px; width: 26px; height: 26px; font-size: 11px; }
  .work-w__item.is-top .work-w__text,
  .work-w__item.is-bottom .work-w__text { max-width: none; padding: 6px 0 0; }
}

/* ---------- インターン生がやったこと：チェックリスト（templates/sections/cases-list.html） ----------
   カードは並べず、大きなチェックマーク＋やったこと＋ひとこと の行を積む。PCは見出しとひとことを横に並べる */
.cases-list { margin: 0; padding: 0; list-style: none; max-width: 960px; border-top: 2px solid var(--ink); }
.cases-list__item {
  display: grid;
  grid-template-columns: 44px minmax(0, 13em) minmax(0, 1fr);
  column-gap: 24px;
  align-items: center;
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
}
.cases-list__check { position: relative; width: 44px; height: 44px; border-radius: 50%; background: var(--accent); }
.cases-list__check::before {
  content: "";
  position: absolute;
  left: 13px;
  top: 14px;
  width: 18px;
  height: 9px;
  border-left: 3px solid var(--on-dark);
  border-bottom: 3px solid var(--on-dark);
  transform: rotate(-45deg);
}
.cases-list__title { font-size: var(--fs-h3); font-weight: 900; line-height: 1.5; }
.cases-list__body { font-size: var(--fs-small); color: var(--ink-sub); line-height: 1.8; word-break: auto-phrase; text-wrap: pretty; }

@media (max-width: 768px) {
  .cases-list__item { grid-template-columns: 36px minmax(0, 1fr); column-gap: 14px; row-gap: 4px; align-items: start; padding: 18px 0; }
  .cases-list__check { width: 36px; height: 36px; grid-row: 1 / span 2; }
  .cases-list__check::before { left: 10px; top: 11px; width: 15px; height: 8px; }
  .cases-list__title { padding-top: 2px; }
  .cases-list__body { grid-column: 2; }
}

/* ---------- 一緒に働くプロ（成長ステップのページ・templates/sections/team.html）
   上：見出しと図／代表（左・大きく）とメンバー（右・役職と経歴タグの行）
   下：学びの土台（左に書籍、右に「7つの設計ルール」を成長ステップごとに束ねた目次風のリスト） ---------- */
.team__intro { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 400px); align-items: end; column-gap: 64px; }
.team__intro .head { margin-bottom: 0; }
.team__art { margin-bottom: -8px; }
.team__art img { width: 100%; height: auto; }

.team__roster { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); margin-top: 56px; border-top: 1px solid var(--line-dark); }
.team__role { font-family: var(--font-en); font-weight: 900; font-size: var(--fs-label); letter-spacing: .14em; color: var(--accent-light); line-height: 1.6; }
.team__tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.team__tags li { padding: 4px 14px; border: 1px solid var(--line-dark); border-radius: 999px; font-size: var(--fs-small); font-weight: 500; line-height: 1.6; color: var(--on-dark); }

/* 代表 */
.team__ceo { padding: 44px 56px 48px 0; border-right: 1px solid var(--line-dark); }
.team__name { margin-top: 6px; font-family: var(--font-mincho); font-size: var(--fs-h2); font-weight: 900; letter-spacing: .08em; line-height: 1.4; }
.team__ceo .team__tags { margin-top: 18px; }
.team__ceo .team__tags li { border-color: var(--accent-light); }
.team__ceo-body { margin-top: 20px; color: var(--on-dark-sub); line-height: 2; }
.team__ceo-link { margin-top: 28px; }

/* 先輩の声（原文の抜き出し） */
.team__voice { margin: 28px 0 0; padding: 4px 0 4px 20px; border-left: 2px solid var(--accent); }
.team__voice blockquote { margin: 0; }
.team__voice blockquote p { font-size: var(--fs-small); line-height: 1.9; color: var(--on-dark); }
.team__voice figcaption { margin-top: 8px; font-size: var(--fs-label); color: var(--on-dark-sub); }
.team__voice figcaption a { color: var(--on-dark-sub); }
.team__voice figcaption a:hover { color: var(--on-dark); }

/* メンバー（役職と経歴だけの行） */
.team__members { padding: 44px 0 0 56px; }
.team__group + .team__group { margin-top: 40px; }
.team__group-label { font-size: var(--fs-small); font-weight: 700; color: var(--on-dark-sub); }
.team__group-body { margin-top: 6px; font-size: var(--fs-lead); font-weight: 700; line-height: 1.7; }
.team__list { margin: 16px 0 0; padding: 0; list-style: none; border-top: 1px solid var(--line-dark); }
.team__member { display: grid; grid-template-columns: 11em minmax(0, 1fr); align-items: baseline; column-gap: 24px; padding: 18px 0; border-bottom: 1px solid var(--line-dark); }
.team__more { margin-top: 24px; font-size: var(--fs-small); }
.team__more a { color: var(--on-dark); font-weight: 700; }

/* 学びの土台 */
.team__base { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); column-gap: 64px; margin-top: 96px; padding-top: 72px; border-top: 1px solid var(--line-dark); }
.team__base-side { align-self: start; position: sticky; top: calc(var(--header-height) + 32px); }
.team__base-en { font-family: var(--font-en); font-weight: 900; font-size: var(--fs-label); letter-spacing: .2em; color: var(--accent-light); }
.team__base-title { margin-top: 8px; font-family: var(--font-mincho); font-size: var(--fs-h2); font-weight: 900; line-height: 1.5; letter-spacing: .04em; }
.team__base-body { margin-top: 20px; color: var(--on-dark-sub); line-height: 2; }
/* 書籍：本の形をなぞった枠（左の背だけアクセント色） */
.team__book { display: grid; gap: 6px; margin-top: 32px; padding: 28px 28px 24px; border: 1px solid var(--line-dark); border-left: 6px solid var(--accent); border-radius: 4px var(--radius) var(--radius) 4px; background: var(--black-2); color: var(--on-dark); text-decoration: none; transition: border-color .2s; }
.team__book:hover { border-color: var(--accent-light); }
.team__book-title { font-family: var(--font-mincho); font-size: var(--fs-h3); font-weight: 900; letter-spacing: .1em; }
.team__book-sub { font-size: var(--fs-small); color: var(--on-dark-sub); }
.team__book-link { margin-top: 10px; font-size: var(--fs-small); font-weight: 700; color: var(--accent-light); }

.team__steps { margin: 0; padding: 0; list-style: none; counter-reset: none; }
.team__step { position: relative; padding: 0 0 48px 32px; border-left: 2px solid var(--line-dark); }
.team__step:last-child { padding-bottom: 0; }
.team__step::before { content: ""; position: absolute; top: 6px; left: -7px; width: 12px; height: 12px; border-radius: 3px; background: var(--accent); }
.team__step-head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 16px; line-height: 1.5; }
.team__step-no { font-family: var(--font-en); font-weight: 900; font-size: var(--fs-label); letter-spacing: .14em; color: var(--accent-light); }
.team__step-title { font-size: var(--fs-h3); font-weight: 900; }
.team__rules { margin: 16px 0 0; padding: 0; list-style: none; }
.team__rules li { display: grid; grid-template-columns: 5.5em minmax(0, 1fr); align-items: baseline; column-gap: 16px; padding: 14px 0; border-bottom: 1px dashed var(--line-dark); }
.team__rule-no { font-family: var(--font-en); font-weight: 700; font-size: var(--fs-label); letter-spacing: .14em; color: var(--on-dark-sub); white-space: nowrap; }
.team__rule-no .num { font-size: var(--fs-lead); color: var(--on-dark); }
.team__rule-text { font-family: var(--font-mincho); font-size: var(--fs-lead); font-weight: 700; line-height: 1.7; }
.team__voice--step { margin-top: 20px; }

@media (max-width: 1024px) {
  .team__intro { grid-template-columns: minmax(0, 1fr); row-gap: 32px; }
  .team__art { max-width: 420px; margin-bottom: 0; }
  .team__roster { grid-template-columns: minmax(0, 1fr); }
  .team__ceo { padding: 40px 0; border-right: 0; border-bottom: 1px solid var(--line-dark); }
  .team__members { padding: 40px 0 0; }
  .team__base { grid-template-columns: minmax(0, 1fr); row-gap: 48px; }
  .team__base-side { position: static; }
}
@media (max-width: 768px) {
  .team__roster { margin-top: 40px; }
  .team__ceo { padding: 32px 0; }
  .team__members { padding-top: 32px; }
  .team__member { grid-template-columns: minmax(0, 1fr); row-gap: 10px; padding: 16px 0; }
  .team__tags li { padding: 3px 12px; font-size: var(--fs-label); }
  .team__base { margin-top: 64px; padding-top: 48px; row-gap: 40px; }
  .team__book { padding: 22px 20px 20px; }
  .team__step { padding: 0 0 40px 22px; }
  .team__rules li { grid-template-columns: minmax(0, 1fr); row-gap: 2px; padding: 12px 0; }
  .team__rule-text { font-size: var(--fs-body); }
}

/* ---------- 特徴：流れるカード（templates/sections/features.html） ---------- */
/* 速さ：1周（5枚）にかかる秒数。小さいほど速い */
:root { --marquee-speed: 32s; }
.marquee { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent); mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent); }
.marquee__track { display: flex; align-items: stretch; gap: 16px; width: max-content; margin: 0; padding: 0; list-style: none; animation: marquee var(--marquee-speed) linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(calc(-50% - 8px)); } }
/* カード：番号（小）→ ひとこと（いちばん大きく）→ 見出し（小さく）。本文は出さない */
.marquee__card { display: flex; flex-direction: column; justify-content: space-between; width: 360px; min-height: 240px; padding: 28px 30px; border: 1px solid var(--line-dark); border-radius: var(--radius); background: var(--black-2); }
.marquee__num { font-size: var(--fs-small); color: var(--accent-light); letter-spacing: .1em; }
.marquee__key { margin-top: 20px; font-size: clamp(30px, 3.2vw, 44px); font-weight: 900; line-height: 1.25; letter-spacing: -.01em; }
.marquee__title { margin-top: auto; padding-top: 20px; font-size: var(--fs-small); font-weight: 700; line-height: 1.7; color: var(--on-dark-sub); }
.marquee__title em { color: var(--on-dark); }
@media (max-width: 768px) { .marquee__card { width: 260px; min-height: 200px; padding: 22px; } }
/* 動きを減らす設定のとき：止めて、手で横にスクロールできるようにする */
@media (prefers-reduced-motion: reduce) {
  .marquee { overflow-x: auto; -webkit-mask-image: none; mask-image: none; }
  .marquee__track { animation: none; padding: 0 24px; }
  .marquee__track > [aria-hidden="true"] { display: none; }
}

/* 記事（style = "page"）の本文の下のボタン */
.explainer__link { margin-top: 28px; }
/* 図：止まるところ（stall） */
.fig-dashed { stroke-dasharray: 4 5; }
.fig-faded { opacity: .55; }
.fig-cross { fill: none; stroke: var(--paper); stroke-width: 2.5; stroke-linecap: round; }

/* ---------- 写真・表紙（代表のページ、成長ステップの「プロ」） ---------- */
.ceo__photo { display: block; width: 200px; height: 200px; margin-bottom: 28px; border-radius: 50%; object-fit: cover; background: var(--gray); }
.ceo-book { display: grid; grid-template-columns: 180px 1fr; gap: 40px; align-items: start; }
.ceo-book__cover { width: 100%; height: auto; border: 1px solid var(--line); box-shadow: 0 12px 30px rgba(0, 0, 0, .12); }
.team__photo { display: block; width: 120px; height: 120px; margin-bottom: 20px; border-radius: 50%; object-fit: cover; background: var(--paper); }
.team__book--cover { grid-template-columns: 88px 1fr; column-gap: 20px; align-items: center; }
.team__book--cover .team__book-cover { grid-row: 1 / span 3; width: 100%; height: auto; }
.team__book--cover > span { grid-column: 2; }
@media (max-width: 768px) {
  .ceo__photo { width: 140px; height: 140px; }
  .ceo-book { grid-template-columns: 1fr; gap: 24px; }
  .ceo-book__cover { width: 140px; }
}

/* ---------- 代表の本のバナー（全ページの左下に固定。スマホは出さない） ---------- */
.book-banner { position: fixed; left: 20px; bottom: 20px; z-index: 40; width: 272px; border-radius: var(--radius); background: var(--paper); color: var(--ink); box-shadow: 0 12px 32px rgba(0, 0, 0, .28); }
.book-banner[hidden] { display: none; }
.book-banner__link { display: grid; grid-template-columns: 64px 1fr; gap: 14px; align-items: center; padding: 12px 36px 12px 12px; color: inherit; text-decoration: none; }
.book-banner__link img { width: 100%; height: auto; border: 1px solid var(--line); }
.book-banner__text { display: grid; gap: 2px; }
.book-banner__label { font-size: 11px; font-weight: 700; letter-spacing: .08em; color: var(--accent); }
.book-banner__title { font-family: var(--font-mincho); font-size: var(--fs-body); font-weight: 900; }
.book-banner__more { margin-top: 4px; font-size: 12px; font-weight: 700; color: var(--ink-sub); }
.book-banner__link:hover .book-banner__more { color: var(--accent); }
.book-banner__close { position: absolute; top: 6px; right: 6px; width: 28px; height: 28px; border: 0; border-radius: 50%; background: transparent; color: var(--ink-sub); font-size: 18px; line-height: 1; cursor: pointer; }
.book-banner__close:hover { background: var(--gray); color: var(--ink); }
@media (max-width: 768px) { .book-banner { display: none; } }
@media print { .book-banner { display: none; } }

/* ---------- 記事：カードのアイコン、カードが3枚のときは3列 ---------- */
.explainer__points:has(> li:nth-child(3):last-child) { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.explainer__icon { display: block; width: 56px; height: 56px; margin-bottom: 16px; padding: 12px; border-radius: 14px; background: var(--gray); color: var(--accent); }
.explainer__points li.is-accent .explainer__icon { background: var(--accent); color: var(--on-dark); }
@media (max-width: 760px) { .explainer__points:has(> li:nth-child(3):last-child) { grid-template-columns: 1fr; } }
/* 図の中で拡大して使うアイコン（templates/_icons.html） */
.fig-icon-light { color: var(--paper); }

/* トップの下の2つ：とても狭い画面では先輩の声のカードを小さく */
@media (max-width: 360px) {
  .hero__card { width: 104px; }
  .hero__card-title { font-size: var(--fs-label); }
  .hero__status { gap: 10px; padding: 10px 10px 10px 14px; }
}

/* ---------- エントリーの2つのボタン（関東・関西） ---------- */
.entry-buttons { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.entry-buttons--one { grid-template-columns: 1fr; }
.entry-buttons--left { max-width: 360px; grid-template-columns: 1fr; }
.entry-buttons--sheet { margin-top: 16px; }
.entry-button { position: relative; display: flex; flex-direction: column; gap: 4px; padding: 28px 72px 28px 28px; border-radius: var(--radius); background: var(--black); color: var(--on-dark); text-decoration: none; transition: background .2s, transform .2s; }
.entry-button:hover { background: var(--accent); transform: translateY(-2px); }
.entry-button__area { font-size: var(--fs-h3); font-weight: 900; line-height: 1.4; }
.entry-button__sub { font-size: var(--fs-small); color: var(--on-dark-sub); }
.entry-button:hover .entry-button__sub { color: var(--on-dark); }
.entry-button .btn__icon { position: absolute; top: 50%; right: 24px; transform: translateY(-50%); background: var(--paper); }
.entry-button .btn__icon::before { border-color: var(--ink); }
.entry-button.is-disabled { background: var(--line); color: var(--ink-sub); }
@media (max-width: 600px) { .entry-buttons { grid-template-columns: 1fr; } .entry-button { padding: 22px 64px 22px 22px; } }

/* =========================================================
   演出（public/js/boot.js・main.js）。動きを減らす設定のときは JS がクラスを付けないので、何も出ない
   ========================================================= */

/* ---------- オープニング（トップを、そのタブで初めて開いたときだけ）と、読み込みが遅いときの画面 ----------
   is-loading … 黒い画面にロゴ → 線が伸びる → INTERNSHIP → 幕が上へ抜ける（約1.8秒）
   is-slow    … 0.6秒たっても読み込みが終わらないときだけ、同じ黒い画面を出し、読み込みが終わったら上へ抜ける
   速く読み込めたページでは何も出さない（ふわっと出す演出もしない） */
.loader { display: none; }
html.is-loading .loader, html.is-slow .loader { position: fixed; inset: 0; z-index: 10001; display: flex; align-items: center; justify-content: center; background: var(--black); pointer-events: none; }
html.is-loading .loader { animation: loader-out .7s cubic-bezier(.76, 0, .24, 1) 1.1s forwards; }
html.is-loading body, html.is-slow body { overflow: hidden; }
.loader__inner { display: flex; flex-direction: column; align-items: center; gap: 20px; }
.loader__mark { width: 76px; height: auto; opacity: 0; animation: loader-mark .5s cubic-bezier(.2, .8, .2, 1) .1s forwards; }
.loader__line { display: block; width: 0; height: 2px; background: var(--accent); animation: loader-line .5s cubic-bezier(.65, 0, .35, 1) .4s forwards; }
.loader__text { font-family: var(--font-en); font-size: 13px; font-weight: 900; letter-spacing: .4em; color: var(--on-dark); opacity: 0; animation: loader-text .4s ease-out .6s forwards; }
/* 遅いときは、線が左右に行き来して「読み込み中」を示す */
html.is-slow .loader__line { width: 160px; transform-origin: left; animation: loader-wait 1s ease-in-out infinite alternate; }
@keyframes loader-mark { from { opacity: 0; transform: translateY(14px) scale(.9); } to { opacity: 1; transform: none; } }
@keyframes loader-line { to { width: 160px; } }
@keyframes loader-text { to { opacity: 1; } }
@keyframes loader-wait { from { transform: scaleX(.15); } to { transform: scaleX(1); } }
@keyframes loader-out { to { clip-path: inset(0 0 100% 0); } }

/* ---------- ページ移動：画面の上に細い線が走ってから移る（次のページは、そのまま出す） ---------- */
.page-wipe { position: fixed; top: 0; left: 0; right: 0; z-index: 10000; height: 3px; background: var(--accent); transform: scaleX(0); transform-origin: left; pointer-events: none; }
.page-wipe img { display: none; }
html.is-leaving .page-wipe { transform: scaleX(1); transition: transform .2s ease-out; }

/* ---------- マウスのカーソル：白い点と輪を「差の絶対値」で重ねる。白地では黒、黒地では白、青の上ではオレンジに変わる ----------
   中心の点は大きめにしてはっきり見せ、輪はすぐ後ろをついてくる（速さは main.js の 0.4） */
.cursor { display: none; }
html.has-cursor .cursor { display: block; position: fixed; top: 0; left: 0; z-index: 10002; pointer-events: none; mix-blend-mode: difference; opacity: 0; transition: opacity .2s; }
html.has-cursor .cursor.is-visible { opacity: 1; }
html.has-cursor, html.has-cursor a, html.has-cursor button, html.has-cursor summary, html.has-cursor label { cursor: none; }
html.has-cursor input, html.has-cursor textarea, html.has-cursor select { cursor: auto; }
.cursor__dot, .cursor__ring { position: absolute; top: 0; left: 0; border-radius: 50%; will-change: transform; }
.cursor__dot { width: 10px; height: 10px; margin: -5px 0 0 -5px; background: #fff; }
.cursor__ring { width: 36px; height: 36px; margin: -18px 0 0 -18px; }
.cursor__ring::before { content: ""; position: absolute; inset: 0; border: 1.5px solid #fff; border-radius: 50%; transition: transform .2s cubic-bezier(.2, .8, .2, 1), background .2s; }
.cursor.is-link .cursor__ring::before { transform: scale(1.7); background: #fff; }
.cursor.is-link .cursor__dot { opacity: 0; }
.cursor.is-down .cursor__ring::before { transform: scale(.7); }
.cursor.is-link.is-down .cursor__ring::before { transform: scale(1.25); }
/* 応募シート（ダイアログ）が開いている間は、ふつうのカーソルに戻す（ダイアログが一番上に重なり、自作のカーソルが隠れるため） */
html.has-cursor:has(dialog[open]) .cursor { display: none; }
html.has-cursor:has(dialog[open]), html.has-cursor:has(dialog[open]) a, html.has-cursor:has(dialog[open]) button { cursor: auto; }
html.has-cursor:has(dialog[open]) a, html.has-cursor:has(dialog[open]) button { cursor: pointer; }

/* ---------- 仕事内容：ファーストビュー（言い切り＋図）と、考える→当たる→聞く→返す ---------- */
.work-top { padding-top: 96px; padding-bottom: 104px; }
.work-top__inner { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: 56px; align-items: center; }
.work-top__title { margin-top: 16px; font-size: var(--fs-display); font-weight: 900; line-height: 1.35; }
.work-top__title em { background: none; color: var(--accent-light); }
.work-top__lead { margin-top: 28px; font-size: var(--fs-lead); color: var(--on-dark-sub); line-height: 2; }
.work-top__chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 32px 0 0; padding: 0; list-style: none; }
.work-top__chips li { padding: 4px 14px; border: 1px solid var(--line-dark); border-radius: 999px; font-size: var(--fs-small); font-weight: 700; }
.work-map { display: block; width: 100%; height: auto; }
.work-map__mesh path { fill: none; stroke: var(--line-dark); stroke-width: 1.5; }
.work-map__loop { fill: none; stroke: var(--accent); stroke-width: 2.5; stroke-dasharray: 2 7; stroke-linecap: round; }
.work-map__arrowhead { fill: var(--accent); }
.work-map__core { fill: var(--accent); }
.work-map__core-title { font-size: 24px; font-weight: 900; fill: var(--on-dark); }
.work-map__core-sub { font-size: 13px; font-weight: 700; fill: var(--on-dark); opacity: .85; }
.work-map__node { fill: var(--black-2); stroke: var(--on-dark); stroke-width: 2; }
.work-map__icon { color: var(--accent-light); }
.work-map__label { font-size: 16px; font-weight: 900; fill: var(--on-dark); }

.work-phases__list { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 40px; margin: 0; padding: 0; list-style: none; }
.work-phases__item { position: relative; padding: 32px 28px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--paper); }
.work-phases__item + .work-phases__item::before { content: ""; position: absolute; left: -28px; top: 60px; width: 14px; height: 14px; border-top: 2px solid var(--accent); border-right: 2px solid var(--accent); transform: rotate(45deg); }
.work-phases__icon { display: block; width: 64px; height: 64px; padding: 14px; border-radius: 16px; background: var(--black); color: var(--accent-light); }
.work-phases__en { margin-top: 20px; font-family: var(--font-en); font-size: var(--fs-label); font-weight: 900; letter-spacing: .15em; color: var(--accent); }
.work-phases__en .num { margin-right: 8px; }
.work-phases__title { margin-top: 4px; font-size: var(--fs-h2); font-weight: 900; }
.work-phases__body { margin-top: 8px; font-size: var(--fs-small); color: var(--ink-sub); }
.work-phases__tasks { display: flex; flex-wrap: wrap; gap: 6px; margin: 20px 0 0; padding: 0; list-style: none; }
.work-phases__tasks li { padding: 2px 12px; border-radius: 999px; background: var(--gray); font-size: var(--fs-small); font-weight: 700; }
@media (max-width: 1000px) {
  .work-top__inner { grid-template-columns: 1fr; }
  .work-top__art { max-width: 480px; }
  .work-phases__list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .work-phases__item:nth-child(3)::before { display: none; }
}
@media (max-width: 600px) {
  .work-top { padding-top: 56px; padding-bottom: 64px; }
  .work-phases__list { grid-template-columns: 1fr; gap: 32px; }
  .work-phases__item + .work-phases__item::before, .work-phases__item:nth-child(3)::before { display: block; left: 50%; top: -24px; transform: translateX(-50%) rotate(135deg); }
}
/* 仕事内容：担当する新規事業の属性（図の枠の色と、下の帯） */
.work-map__node.is-company { stroke: var(--on-dark); }
.work-map__node.is-product { stroke: var(--accent-light); }
.work-map__node.is-field { fill: var(--accent); stroke: var(--accent); }
.work-map__label { font-size: 15px; }
.work-kinds__list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin: 0; padding: 0; list-style: none; }
.work-kinds__group { padding: 28px; border-radius: var(--radius); background: var(--paper); }
.work-kinds__icon { display: block; width: 48px; height: 48px; padding: 11px; border-radius: 12px; background: var(--black); color: var(--accent-light); }
.work-kinds__label { margin-top: 16px; font-size: var(--fs-h3); font-weight: 900; }
.work-kinds__items { display: flex; flex-wrap: wrap; gap: 8px; margin: 14px 0 0; padding: 0; list-style: none; }
.work-kinds__items li { padding: 4px 14px; border: 1px solid var(--line); border-radius: 999px; font-size: var(--fs-small); font-weight: 700; }
/* 全体にかかる仕事（動かす）：矢印でつながず、黒いカード */
.work-phases__item.is-span { background: var(--black); border-color: var(--black); color: var(--on-dark); }
.work-phases__item.is-span::before { display: none !important; }
.work-phases__item.is-span .work-phases__icon { background: var(--accent); color: var(--on-dark); }
.work-phases__item.is-span .work-phases__en { color: var(--accent-light); }
.work-phases__item.is-span .work-phases__body { color: var(--on-dark-sub); }
.work-phases__item.is-span .work-phases__tasks li { background: var(--black-2); }
@media (max-width: 760px) { .work-kinds__list { grid-template-columns: 1fr; } }

/* ---------- 縦長のタイルを横に並べる（知りたいことから見る・事業を知る） ---------- */
.tiles { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); gap: 16px; max-width: var(--width); margin: 0 auto; padding: 0 24px; list-style: none; }
.tile { position: relative; display: flex; flex-direction: column; height: 100%; min-height: 300px; padding: 24px 22px 22px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--paper); color: var(--ink); text-decoration: none; transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease; }
.tile:hover { transform: translateY(-4px); border-color: var(--accent); box-shadow: 0 14px 30px rgba(14, 14, 16, .1); }
.tile__icon { width: 36px; height: 36px; color: var(--accent); }
.tile__en { margin-top: 28px; font-family: var(--font-en); font-size: var(--fs-label); font-weight: 900; letter-spacing: .14em; color: var(--accent); }
.tile__label { margin-top: 8px; font-size: var(--fs-h3); font-weight: 900; line-height: 1.45; }
.tile__desc { margin-top: 12px; font-size: var(--fs-small); line-height: 1.8; color: var(--ink-sub); }
.tile__arrow { margin-top: auto; align-self: flex-end; }
.tile__more { display: flex; align-items: center; justify-content: flex-end; gap: 10px; margin-top: auto; padding-top: 16px; font-size: var(--fs-small); font-weight: 700; }
.tile__more .tile__arrow { margin: 0; }
.tile:hover .tile__arrow { background: var(--accent); }
@media (max-width: 1100px) {
  .tiles { grid-auto-columns: 220px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: 24px; padding-bottom: 12px; }
  .tiles--article { grid-auto-columns: 280px; }
  .tiles > li { scroll-snap-align: start; }
}
@media (max-width: 768px) {
  .tiles, .tiles--article { grid-auto-columns: 72%; gap: 12px; padding: 0 20px 12px; scroll-padding-inline: 20px; }
  .tile { min-height: 260px; }
}

/* ---------- 関東・関西：実際の都府県の形の地図（templates/_office_map.html。動き：gather） ---------- */
.office-map { margin: 0 0 40px; }
.office-map svg { display: block; width: 100%; max-width: 560px; height: auto; margin: 0 auto; overflow: visible; }
.office-map__pref { fill: #e6e6ea; stroke: var(--paper); stroke-width: 1.5; stroke-linejoin: round; }
.office-map__pref.is-on { fill: var(--black); }
.office-map__pref.is-pin { fill: var(--accent); }
.office-map__label { font-size: 13px; font-weight: 700; fill: var(--ink-sub); paint-order: stroke; stroke: #e6e6ea; stroke-width: 3px; }
.office-map__label.is-on { fill: var(--on-dark); stroke: none; }
.office-map__arrow { fill: none; stroke: #ffb020; stroke-width: 3; stroke-linecap: round; stroke-dasharray: 7 6; }
.office-map__head { fill: #ffb020; }
.office-map__dot { fill: var(--paper); stroke: var(--black); stroke-width: 3; }
.office-map__pulse { fill: none; stroke: var(--paper); stroke-width: 2; opacity: 0; }
.office-map__caption { margin-top: 12px; text-align: center; font-size: var(--fs-small); color: var(--ink-sub); }
.office-map__caption b { display: block; font-size: var(--fs-h3); color: var(--ink); }
@media (prefers-reduced-motion: no-preference) {
  .office-map__arrow { animation: map-flow 1.2s linear infinite; }
  .office-map__pulse { transform-box: fill-box; transform-origin: center; animation: map-pulse 2s ease-out infinite; }
}
@keyframes map-flow { to { stroke-dashoffset: -26; } }
@keyframes map-pulse { from { transform: scale(.3); opacity: .9; } to { transform: scale(1.4); opacity: 0; } }

/* ---------- シフトのカレンダー：関東・関西の時間割と募集要項のシフト例で共通（templates/_shift_calendar.html。動き：static） ----------
   1時間＝--cal-hour の高さ。帯は時間どおりの位置と長さで、すき間をあけない */
.cal { --cal-hour: 40px; max-width: calc(var(--narrow) - 48px); margin: 48px 0 0; }
.cal__title { margin-bottom: 16px; font-size: var(--fs-h3); font-weight: 900; }
.cal__who { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-bottom: 16px; font-weight: 700; }
.cal__who span { flex: none; font-size: var(--fs-small); color: var(--accent); white-space: nowrap; }
.cal__off { grid-row: 1 / -1; grid-column: 1; display: flex; align-items: center; justify-content: center; font-size: 12px; color: var(--ink-sub); writing-mode: vertical-rl; letter-spacing: .2em; }
.cal__grid { display: grid; grid-template-columns: 3.5em repeat(5, minmax(0, 1fr)); column-gap: 6px; }
.cal__label { padding-bottom: 8px; text-align: center; font-weight: 900; }
.cal__hours, .cal__track { display: grid; grid-template-rows: repeat(9, var(--cal-hour)); }
.cal__hour { grid-row-end: span 1; font-size: 11px; line-height: 1; color: var(--ink-sub); transform: translateY(-50%); }
.cal__hour.gs-18 { grid-row-start: 9; transform: translateY(calc(var(--cal-hour) - 50%)); }
/* 毎時の線（1時間ごと） */
.cal__track { border-top: 1px solid var(--line); background: repeating-linear-gradient(180deg, var(--gray) 0 calc(var(--cal-hour) - 1px), var(--line) calc(var(--cal-hour) - 1px) var(--cal-hour)); }
.cal__bar { grid-column: 1; display: flex; flex-direction: column; justify-content: flex-start; padding: 6px 8px; border-bottom: 1px solid var(--paper); font-size: 11px; line-height: 1.4; overflow: hidden; }
.cal__bar b { font-size: 12px; }
.cal__bar--class { background: #d4d4db; color: var(--ink); }
.cal__bar--work { background: var(--accent); color: var(--on-dark); }
.cal__legend { display: flex; gap: 16px; margin: 16px 0 0; padding: 0; list-style: none; font-size: var(--fs-small); }
.cal__legend li { display: flex; align-items: center; gap: 6px; padding: 0; border: 0; background: none; color: var(--ink); }
.cal__legend li::before { content: ""; width: 14px; height: 14px; border-radius: 4px; }
.cal__legend .cal__bar--class::before { background: #d4d4db; }
.cal__legend .cal__bar--work::before { background: var(--accent); }
.cal__note { margin-top: 8px; font-size: var(--fs-small); color: var(--ink-sub); }
@media (max-width: 768px) {
  .cal { --cal-hour: 34px; }
  .cal__grid { grid-template-columns: 2.8em repeat(5, minmax(0, 1fr)); column-gap: 3px; }
  .cal__bar { padding: 3px 4px; font-size: 9px; }
  .cal__bar b { font-size: 10px; }
}
/* 時間割の位置（9時＝1本目の線 … 18時＝10本目の線） */
.gs-9 { grid-row-start: 1; } .ge-9 { grid-row-end: 1; }
.gs-10 { grid-row-start: 2; } .ge-10 { grid-row-end: 2; }
.gs-11 { grid-row-start: 3; } .ge-11 { grid-row-end: 3; }
.gs-12 { grid-row-start: 4; } .ge-12 { grid-row-end: 4; }
.gs-13 { grid-row-start: 5; } .ge-13 { grid-row-end: 5; }
.gs-14 { grid-row-start: 6; } .ge-14 { grid-row-end: 6; }
.gs-15 { grid-row-start: 7; } .ge-15 { grid-row-end: 7; }
.gs-16 { grid-row-start: 8; } .ge-16 { grid-row-end: 8; }
.gs-17 { grid-row-start: 9; } .ge-17 { grid-row-end: 9; }
.gs-18 { grid-row-start: 10; } .ge-18 { grid-row-end: 10; }

/* スマホでは両立・通える？の項目を1列にするので、左の余白・線を消す（上の「余白を詰める」より後に置く） */
@media (max-width: 768px) { .balance__item, .balance__item:nth-child(even) { padding: 20px 0; border-left: 0; } }
/* 仕事内容：右の図（会社の大きさを強調、商材の軸） */
.work-map__arc { stroke: var(--accent-light) !important; stroke-dasharray: 2 6; stroke-linecap: round; }
.work-map__cap { font-size: 13px; font-weight: 700; fill: var(--accent-light); }
.work-map__node.is-size { fill: var(--paper); stroke: var(--paper); }
.work-map__node.is-axis { fill: var(--black-2); stroke: var(--line-dark); stroke-width: 1.5; }
.work-map__label { font-size: 14px; }
.work-map__label.is-size { font-size: 16px; fill: var(--ink); }

/* 仕事内容：一連の流れを1枚の図で（templates/figures/work-flow.html） */
.work-flow { margin: 0; padding: 40px; border: 1px solid var(--line); border-radius: 20px; background: var(--paper); }
.work-flow__groups { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 24px; margin-bottom: 16px; }
.work-flow__group { position: relative; padding-bottom: 10px; border-bottom: 3px solid var(--ink); text-align: center; font-size: var(--fs-small); font-weight: 900; letter-spacing: .1em; }
.work-flow__group.is-last { border-color: var(--accent); color: var(--accent); }
.work-flow__group--1 { grid-column: span 1; } .work-flow__group--2 { grid-column: span 2; } .work-flow__group--3 { grid-column: span 3; } .work-flow__group--4 { grid-column: span 4; }
.work-flow__steps { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 24px; margin: 0; padding: 0; list-style: none; }
.work-flow__step { position: relative; display: flex; flex-direction: column; align-items: center; text-align: center; padding: 24px 12px; border-radius: 16px; background: var(--gray); }
.work-flow__step + .work-flow__step::before { content: ""; position: absolute; left: -19px; top: 52px; width: 12px; height: 12px; border-top: 2px solid var(--accent); border-right: 2px solid var(--accent); transform: rotate(45deg); }
.work-flow__group-sp { display: none; }
.work-flow__icon { width: 56px; height: 56px; padding: 13px; border-radius: 16px; background: var(--black); color: var(--accent-light); }
.work-flow__num { margin-top: 14px; font-size: var(--fs-label); color: var(--accent); }
.work-flow__title { margin-top: 2px; font-size: var(--fs-h3); font-weight: 900; }
.work-flow__body { margin-top: 6px; font-size: 13px; line-height: 1.7; color: var(--ink-sub); }
.work-flow__manage { position: relative; display: flex; align-items: center; gap: 16px; margin-top: 32px; padding: 18px 24px; border-radius: 16px; background: var(--black); color: var(--on-dark); }
.work-flow__manage::before { content: ""; position: absolute; left: 10%; right: 10%; top: -20px; height: 12px; border: 2px solid var(--line); border-bottom: 0; border-radius: 8px 8px 0 0; }
.work-flow__manage .work-flow__icon { flex: none; width: 48px; height: 48px; padding: 11px; background: var(--accent); color: var(--on-dark); }
.work-flow__manage .work-flow__title { margin: 0; }
.work-flow__manage .work-flow__body { margin: 0; font-size: var(--fs-small); color: var(--on-dark-sub); }
.work-flow__manage-note { margin-left: auto; padding: 2px 12px; border: 1px solid var(--line-dark); border-radius: 999px; font-size: var(--fs-label); font-weight: 700; white-space: nowrap; }
@media (max-width: 900px) {
  .work-flow { padding: 24px 20px; }
  .work-flow__groups { display: none; }
  .work-flow__steps { grid-template-columns: 1fr; gap: 28px; }
  .work-flow__step { display: grid; grid-template-columns: 56px minmax(0, 1fr); column-gap: 16px; align-items: center; text-align: left; padding: 16px; }
  .work-flow__step .work-flow__icon { grid-row: 1 / span 3; }
  .work-flow__num, .work-flow__title, .work-flow__body { margin-top: 0; grid-column: 2; }
  .work-flow__step + .work-flow__step::before { left: 50%; top: -22px; transform: translateX(-50%) rotate(135deg); }
  .work-flow__group-sp { display: block; grid-column: 1 / -1; margin-bottom: 8px; font-size: var(--fs-label); font-weight: 900; letter-spacing: .1em; color: var(--accent); }
  .work-flow__manage { flex-wrap: wrap; }
  .work-flow__manage::before { display: none; }
  .work-flow__manage-note { margin-left: 0; }
}
@media (max-width: 900px) {
  .work-flow__group-sp { grid-row: 1; }
  .work-flow__step:has(.work-flow__group-sp) .work-flow__icon { grid-row: 2 / span 3; }
}

/* ---------- 先輩の声：就活の話も聞ける ---------- */
.voices-career__grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: 32px; align-items: stretch; }
.voices-career__stat { padding: 32px; border: 1px solid var(--line-dark); border-radius: 20px; background: var(--black-2); }
.voices-career__big { display: flex; align-items: baseline; gap: 10px; }
.voices-career__big .num { font-size: 96px; line-height: 1; color: var(--accent-light); }
.voices-career__of { font-size: var(--fs-h3); font-weight: 700; color: var(--on-dark-sub); }
.voices-career__label { margin-top: 12px; font-weight: 700; }
.voices-career__tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 24px 0 0; padding: 0; list-style: none; }
.voices-career__tags li { padding: 2px 14px; border: 1px solid var(--line-dark); border-radius: 999px; font-size: var(--fs-small); font-weight: 700; }
.voices-career__paths { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin: 0; padding: 0; list-style: none; }
.voices-career__paths li { word-break: auto-phrase; display: flex; flex-direction: column; justify-content: space-between; gap: 32px; padding: 28px; border-radius: 20px; background: var(--paper); color: var(--ink); font-size: var(--fs-h3); font-weight: 900; }
.voices-career__icon { width: 64px; height: 64px; padding: 15px; border-radius: 16px; background: var(--accent); color: var(--on-dark); }
@media (max-width: 900px) {
  .voices-career__grid { grid-template-columns: 1fr; }
  .voices-career__paths { grid-template-columns: 1fr; }
  .voices-career__paths li { flex-direction: row; align-items: center; gap: 16px; padding: 18px 20px; }
  .voices-career__icon { width: 48px; height: 48px; padding: 11px; }
}

/* ---------- 知りたいことから見る：大小のあるタイル ---------- */
.bento { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: minmax(150px, auto); gap: 16px; margin: 0; padding: 0; list-style: none; }
.bento__item--1 { grid-column: span 2; grid-row: span 2; }
.bento__item--2, .bento__item--3, .bento__item--4 { grid-column: span 2; }
.bento__tile { position: relative; display: flex; flex-direction: column; height: 100%; padding: 24px 72px 24px 24px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--paper); color: var(--ink); text-decoration: none; overflow: hidden; transition: border-color .2s, transform .2s; }
.bento__tile:hover { border-color: var(--ink); transform: translateY(-3px); }
.bento__icon { width: 28px; height: 28px; color: var(--accent); }
.bento__en { margin-top: auto; padding-top: 20px; font-family: var(--font-en); font-size: var(--fs-label); font-weight: 900; letter-spacing: .14em; color: var(--accent); }
.bento__label { margin-top: 4px; font-size: var(--fs-h3); font-weight: 900; line-height: 1.45; }
.bento__desc { margin-top: 6px; font-size: var(--fs-small); line-height: 1.7; color: var(--ink-sub); }
.bento__arrow { position: absolute; right: 20px; bottom: 20px; transition: transform .2s, background .2s; }
.bento__tile:hover .bento__arrow { background: var(--accent); transform: translateX(4px); }
/* 大きいタイル（1つ目）：黒地。アイコンを大きく右上に */
.bento__tile.is-main { padding: 36px 96px 36px 36px; border-color: var(--black); background: var(--black); color: var(--on-dark); }
.bento__tile.is-main .bento__icon { position: absolute; top: 32px; right: 32px; width: 96px; height: 96px; color: var(--accent-light); opacity: .9; }
.bento__tile.is-main .bento__en { color: var(--accent-light); }
.bento__tile.is-main .bento__en { margin-top: 0; padding-top: 0; }
.bento__tile.is-main .bento__label { font-size: var(--fs-h3); color: var(--on-dark-sub); }
.bento__statement { margin-top: 12px; font-size: var(--fs-h1); font-weight: 900; line-height: 1.35; }
.bento__statement em { color: var(--accent-light); }
/* やることの流れ：チップを矢印でつなぐ */
.bento__flow { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 0; margin-top: auto; padding-top: 28px; }
.bento__flow span { padding: 4px 12px; border: 1px solid var(--line-dark); border-radius: 999px; font-size: var(--fs-small); font-weight: 700; white-space: nowrap; }
.bento__flow span + span::before { content: "→"; margin: 0 8px 0 -4px; color: var(--accent-light); }
.bento__flow span + span { margin-left: 4px; }
.bento__tile.is-main .bento__desc { max-width: 26em; font-size: var(--fs-body); color: var(--on-dark-sub); }
.bento__tile.is-main .bento__arrow { right: 32px; bottom: 32px; background: var(--paper); }
.bento__tile.is-main .bento__arrow::before { border-color: var(--ink); }
.bento__tile.is-main:hover .bento__arrow { background: var(--accent); }
.bento__tile.is-main:hover .bento__arrow::before { border-color: var(--paper); }
@media (max-width: 900px) {
  .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: auto; gap: 12px; }
  .bento__item--1, .bento__item--2, .bento__item--3, .bento__item--4 { grid-column: span 2; grid-row: auto; }
  .bento__tile { min-height: 140px; padding: 20px 56px 20px 20px; }
  .bento__tile.is-main { min-height: 240px; padding: 28px 80px 28px 24px; }
  .bento__tile.is-main .bento__icon { width: 64px; height: 64px; top: 24px; right: 24px; }
  .bento__arrow { right: 14px; bottom: 14px; }
}
@media (max-width: 420px) { .bento__desc { display: none; } .bento__tile.is-main .bento__desc { display: block; } }

/* ---------- 記事のカード（3本とも同じ形） ---------- */
.article-tile { min-height: 260px; }
.article-tile__top { display: flex; align-items: center; gap: 12px; }
.article-tile__num { font-size: 32px; font-weight: 900; line-height: 1; color: var(--accent); }
.article-tile__label { padding: 2px 12px; border-radius: 999px; background: var(--black); color: var(--on-dark); font-size: var(--fs-label); font-weight: 700; }
.article-tile__q { margin-top: 28px; font-size: var(--fs-h3); font-weight: 900; line-height: 1.5; }
.article-tile__title { margin-top: 10px; font-size: var(--fs-small); line-height: 1.7; color: var(--ink-sub); }

/* ---------- 仕事内容：サポート体制・メンバー ---------- */
.support { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.support__box { padding: 40px; border-radius: var(--radius); background: var(--gray); }
.support__box--dark { background: var(--black); color: var(--on-dark); }
.support__title { font-size: var(--fs-h2); font-weight: 900; line-height: 1.4; }
.support__items { margin: 28px 0 0; padding: 0; list-style: none; }
.support__items li { display: grid; grid-template-columns: 9em 1fr; align-items: baseline; gap: 16px; padding: 18px 0; border-top: 1px solid var(--line); }
.support__word { font-size: var(--fs-h3); font-weight: 900; color: var(--accent); }
.support__text { color: var(--ink-sub); line-height: 1.8; }
.support__lead { margin-top: 20px; color: var(--on-dark-sub); line-height: 1.9; }
.support__schools-label { margin-top: 28px; font-size: var(--fs-label); font-weight: 700; color: var(--on-dark-sub); }
.support__schools { display: flex; flex-wrap: wrap; gap: 8px; margin: 12px 0 0; padding: 0; list-style: none; }
.support__schools li { padding: 4px 12px; border: 1px solid var(--line-dark); border-radius: 999px; font-size: var(--fs-small); font-weight: 700; }
.support__link { margin-top: 28px; }
.support__link a { display: inline-flex; align-items: center; gap: 12px; color: var(--on-dark); font-weight: 700; text-decoration: none; }
.support__link .btn__icon { background: var(--paper); }
.support__link .btn__icon::before { border-color: var(--ink); }
@media (max-width: 900px) {
  .support { grid-template-columns: 1fr; }
  .support__box { padding: 28px 22px; }
  .support__items li { grid-template-columns: 1fr; gap: 4px; }
}

/* ---------- 関東と関西のチーム：斜めの2本の帯がすれ違う（templates/sections/office.html。動き：cross） ---------- */
.cross { position: relative; margin: 8px 0 24px; padding: 40px 0; overflow: hidden; }
.cross__band { transform: rotate(-4deg); margin: 0 -40px; padding: 18px 0; background: var(--black); }
.cross__band--west { transform: rotate(3deg); margin-top: -8px; background: var(--accent); }
.cross__track { display: flex; gap: 48px; width: max-content; margin: 0; padding: 0; list-style: none; }
.cross__item { display: flex; align-items: baseline; gap: 14px; white-space: nowrap; color: var(--on-dark); }
.cross__quote { font-size: clamp(18px, 1.8vw, 24px); font-weight: 900; }
.cross__quote::before { content: "“"; margin-right: 4px; color: var(--accent-light); font-family: var(--font-en); }
.cross__band--west .cross__quote::before { color: var(--on-dark); }
.cross__who { font-size: var(--fs-label); color: rgba(255, 255, 255, .7); text-decoration: none; }
.cross__who:hover { color: var(--on-dark); text-decoration: underline; }
.cross__word { font-size: clamp(22px, 2.6vw, 34px); font-weight: 900; letter-spacing: .1em; }
.cross__word::after { content: "／"; margin-left: 48px; opacity: .4; }
.cross__voices { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; margin: 16px 0 0; padding: 0; list-style: none; }
.cross__voice { padding-top: 20px; border-top: 2px solid var(--ink); }
.cross__voice .culture__quote { font-size: var(--fs-lead); }
@media (max-width: 900px) { .cross__voices { grid-template-columns: 1fr; gap: 0; } .cross__voice { padding: 20px 0 24px; } }
@media (prefers-reduced-motion: no-preference) {
  .cross__band--east .cross__track { animation: marquee 50s linear infinite; }
  .cross__band--west .cross__track { animation: marquee 50s linear infinite reverse; }
  .cross:hover .cross__track { animation-play-state: paused; }
}
/* 動きを減らす設定：帯をまっすぐにして、言葉を折り返して全部見せる（下の帯は同じ言葉なので出さない） */
@media (prefers-reduced-motion: reduce) {
  .cross__band { transform: none; margin: 0; }
  .cross__band--west { display: none; }
  .cross__track { flex-wrap: wrap; width: auto; padding: 0 24px; }
  .cross__item { white-space: normal; }
  .cross__track > [aria-hidden="true"] { display: none; }
}

/* ---------- 代表のページ：YouTube（サムネイル → 押すと再生） ---------- */
#video .ceo__h2 { margin-top: 8px; }
.video { margin: 32px 0 0; }
.video__frame, .video__iframe { position: relative; display: block; width: 100%; aspect-ratio: 16 / 9; border: 0; border-radius: var(--radius); overflow: hidden; background: #000; }
.video__frame img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s, opacity .3s; opacity: .85; }
.video__frame:hover img { transform: scale(1.03); opacity: 1; }
.video__play { position: absolute; top: 50%; left: 50%; width: 80px; height: 80px; margin: -40px 0 0 -40px; border-radius: 50%; background: var(--accent); box-shadow: 0 8px 30px rgba(0, 0, 0, .4); transition: transform .2s; }
.video__play::before { content: ""; position: absolute; top: 50%; left: 54%; transform: translate(-50%, -50%); border-style: solid; border-width: 13px 0 13px 22px; border-color: transparent transparent transparent #fff; }
.video__frame:hover .video__play { transform: scale(1.08); }
.video__caption { display: flex; flex-direction: column; gap: 4px; margin-top: 16px; }
.video__title { font-size: var(--fs-lead); font-weight: 700; line-height: 1.6; }
.video__channel { font-size: var(--fs-small); color: var(--on-dark-sub); }
@media (max-width: 600px) { .video__play { width: 60px; height: 60px; margin: -30px 0 0 -30px; } .video__play::before { border-width: 10px 0 10px 17px; } }

/* ---------- お知らせ（トップの最後） ---------- */
.news { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 9fr); gap: 48px; align-items: start; }
.news .head { margin-bottom: 0; }
.news__list { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.news__item { display: grid; grid-template-columns: 7em 8.5em 1fr; align-items: baseline; gap: 16px; padding: 24px 8px; border-bottom: 1px solid var(--line); color: var(--ink); text-decoration: none; transition: background .2s; }
.news__item:hover { background: var(--gray); }
.news__date { font-family: var(--font-en); font-weight: 700; color: var(--ink-sub); }
.news__tag { justify-self: start; padding: 2px 10px; border: 1px solid var(--line); border-radius: 999px; font-size: var(--fs-label); font-weight: 700; white-space: nowrap; }
.news__title { font-weight: 700; line-height: 1.7; }
.news__item:hover .news__title { color: var(--accent); }
.news__source { display: block; margin-top: 4px; font-size: var(--fs-label); font-weight: 400; color: var(--ink-sub); }
@media (max-width: 900px) {
  .news { grid-template-columns: 1fr; gap: 24px; }
  .news__item { grid-template-columns: auto 1fr; gap: 8px 12px; padding: 20px 0; }
  .news__title { grid-column: 1 / -1; }
}
.news__all { grid-column: 2; margin-top: 24px; text-align: right; }
.news__all a { display: inline-flex; align-items: center; gap: 12px; font-weight: 700; text-decoration: none; color: var(--ink); }
@media (max-width: 900px) { .news__all { grid-column: 1; } }

/* =========================================================
   トップ（2026-10-29 作り直し）：①誰と（who）→ ②何を（what）→ ③教育（learn）→ 権威付け（proof）
   ========================================================= */
/* ---------- ① 誰と働くか ---------- */
.who__photo { margin: 0 0 56px; border-radius: var(--radius); overflow: hidden; }
.who__photo img { width: 100%; aspect-ratio: 1024 / 360; object-fit: cover; }
.who__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-top: 1px solid var(--line-dark); }
.who__col { padding: 44px 48px 0 0; }
.who__col + .who__col { padding: 44px 0 0 48px; border-left: 1px solid var(--line-dark); }
.who__label { font-size: var(--fs-label); font-weight: 700; letter-spacing: .14em; color: var(--accent-light); }
.who__title { margin-top: 8px; font-size: var(--fs-h2); font-weight: 900; line-height: 1.4; }
.who__lead { margin-top: 12px; color: var(--on-dark-sub); line-height: 1.9; }
.who__ceo { display: flex; gap: 20px; align-items: center; margin-top: 28px; }
.who__ceo-photo { flex: none; width: 96px; height: 96px; border-radius: 50%; object-fit: cover; background: var(--paper); }
.who__ceo-name { margin: 2px 0 10px; font-size: var(--fs-h3); font-weight: 900; }
.who__staff { margin: 28px 0 0; padding: 0; list-style: none; border-top: 1px solid var(--line-dark); }
.who__staff li { display: grid; grid-template-columns: 10em minmax(0, 1fr); gap: 16px; align-items: baseline; padding: 14px 0; border-bottom: 1px solid var(--line-dark); }
.who__staff-tags { font-size: var(--fs-small); color: var(--on-dark); line-height: 1.7; }
.who .support__schools { margin-top: 20px; }
.who__quotes { display: grid; gap: 12px; margin: 28px 0 0; padding: 0; list-style: none; }
.who__quotes li { padding: 18px 22px; border-radius: var(--radius); background: var(--black-2); }
.who__quotes blockquote { margin: 0; font-weight: 700; line-height: 1.8; }
.who__quotes a { display: inline-block; margin-top: 6px; font-size: var(--fs-label); color: var(--on-dark-sub); }
.who__links { display: flex; flex-wrap: wrap; gap: 12px 28px; margin-top: 28px; }
.who__links a { display: inline-flex; align-items: center; gap: 12px; color: var(--on-dark); font-weight: 700; text-decoration: none; }
.who__links .btn__icon { background: var(--paper); }
.who__links .btn__icon::before { border-color: var(--ink); }
@media (max-width: 900px) {
  .who__photo { margin-bottom: 40px; }
  .who__photo img { aspect-ratio: 4 / 3; }
  .who__grid { grid-template-columns: 1fr; }
  .who__col, .who__col + .who__col { padding: 36px 0 0; border-left: 0; }
  .who__col + .who__col { margin-top: 36px; border-top: 1px solid var(--line-dark); }
  .who__staff li { grid-template-columns: 1fr; gap: 2px; }
}

/* ---------- ② 何をするか（上から順に落とす） ---------- */
.what__steps { margin: 0; padding: 0; list-style: none; counter-reset: none; }
.what__step { position: relative; display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 48px; padding: 48px 0; border-top: 1px solid var(--line); }
/* 段のあいだを下向きの矢印でつなぐ */
.what__step + .what__step::before { content: ""; position: absolute; top: -11px; left: 22px; width: 20px; height: 20px; border-right: 2px solid var(--accent); border-bottom: 2px solid var(--accent); background: var(--paper); transform: rotate(45deg); }
.what__q { display: flex; gap: 16px; align-items: baseline; }
.what__num { font-size: 40px; line-height: 1; color: var(--accent); }
.what__q-text { font-size: var(--fs-h2); font-weight: 900; line-height: 1.4; }
.what__body { font-size: var(--fs-lead); line-height: 2; }
.what__figure { margin-top: 28px; }
.what__figure .work-flow { padding: 28px; }
.what__more { margin-top: 40px; }
@media (max-width: 900px) {
  .what__step { grid-template-columns: 1fr; gap: 20px; padding: 40px 0; }
}

/* ---------- ③ 教育・サポート ---------- */
.learn__support { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin: 0 0 48px; padding: 0; list-style: none; }
.learn__support li { display: flex; flex-direction: column; gap: 8px; padding: 28px; border-radius: var(--radius); background: var(--paper); }
@media (max-width: 1024px) { .learn__support { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 768px) { .learn__support { grid-template-columns: 1fr; } }

/* ---------- 権威付け ---------- */
.proof__list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin: 0; padding: 0; list-style: none; }
.proof__item { display: flex; flex-direction: column; padding: 36px 32px; border: 1px solid var(--line-dark); border-radius: var(--radius); background: var(--black-2); }
.proof__en { font-family: var(--font-en); font-size: var(--fs-label); font-weight: 900; letter-spacing: .14em; color: var(--accent-light); }
.proof__title { margin-top: 8px; font-size: var(--fs-h3); font-weight: 900; line-height: 1.5; }
.proof__stats { display: grid; gap: 16px; margin: 24px 0 0; }
.proof__stats dt { font-size: var(--fs-small); color: var(--on-dark-sub); }
.proof__stats dd { margin: 0; font-weight: 900; }
.proof__stats .num { font-size: clamp(36px, 3.6vw, 52px); line-height: 1.1; margin-right: 4px; }
.proof__cover { width: 132px; margin-top: 24px; border-radius: 4px; box-shadow: 0 10px 30px rgba(0, 0, 0, .5); }
.proof__body { margin-top: 20px; color: var(--on-dark-sub); line-height: 1.9; }
.proof__link { display: inline-flex; align-items: center; gap: 12px; margin-top: auto; padding-top: 24px; color: var(--on-dark); font-weight: 700; text-decoration: none; }
.proof__link .btn__icon { background: var(--paper); }
.proof__link .btn__icon::before { border-color: var(--ink); }
@media (max-width: 1024px) { .proof__list { grid-template-columns: 1fr; } }
.who__count { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 20px; margin-top: 28px; font-weight: 900; }
.who__count .num { margin-right: 4px; font-size: clamp(36px, 3.6vw, 52px); line-height: 1.1; color: var(--accent-light); }
.who__count-tail { font-weight: 700; color: var(--on-dark-sub); }
.who__prefs { margin-top: 8px; font-size: var(--fs-small); color: var(--on-dark-sub); }

/* ---------- 関東・関西インターン：最初の画面（2026-10-29）「〇〇オフィス」＋ひとこと＋地図 ---------- */
.office-hero__inner { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 48px; align-items: center; }
.office-hero__title { margin-top: 8px; font-size: var(--fs-display); font-weight: 900; line-height: 1.3; }
.office-hero__catch { margin-top: 20px; font-family: var(--font-mincho); font-size: clamp(26px, 3vw, 40px); font-weight: 700; line-height: 1.5; color: var(--accent-light); }
.office-hero__address { margin: 24px 0 32px; font-size: var(--fs-small); color: var(--on-dark-sub); }
/* 地図は黒地に合わせる（オレンジは使わない） */
.office-hero .office-map { margin: 0; }
.office-hero .office-map__pref { fill: #26262c; stroke: var(--black); }
.office-hero .office-map__pref.is-on { fill: #4a4a55; }
.office-hero .office-map__pref.is-pin { fill: var(--accent); }
.office-hero .office-map__label { fill: var(--on-dark-sub); stroke: #26262c; }
.office-hero .office-map__label.is-on { fill: var(--on-dark); }
.office-hero .office-map__arrow { stroke: var(--accent-light); }
.office-hero .office-map__head { fill: var(--accent-light); }
.office-hero .office-map__dot { stroke: var(--accent); }
.office-hero .office-map__caption { color: var(--on-dark-sub); }
.office-hero .office-map__caption b { color: var(--on-dark); }
@media (max-width: 900px) {
  .office-hero__inner { grid-template-columns: 1fr; gap: 32px; }
}
.office-hero .office-map__caption b { display: none; }

/* 先輩の声：人数・学年と日本地図を白地の1画面に横並び（2026-10-29） */
.voices-intro__inner:has(.voices-map__svg) { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); }
.voices-intro__map { position: relative; }
.voices-intro__count--map { position: absolute; top: 0; left: 0; }
.voices-map--fit { max-height: calc(100svh - 200px); }
.voices-intro--light .voices-intro__count .num { color: var(--accent); }
.voices-intro--light .voices-intro__track { fill: var(--gray); }
@media (max-width: 900px) {
  .voices-intro__inner:has(.voices-map__svg) { grid-template-columns: 1fr; }
  .voices-intro__count--map { position: static; margin-bottom: 16px; }
}

/* 就活サポート：業界・職種を横いっぱいの2段に、動かさず白地で並べる（templates/sections/voices-career.html。2026-10-29 ユーザー：動かさない・黒背景はしんどい） */
.voices-career__flow { margin-top: 40px; padding: 40px 40px 36px; border-radius: 20px; background: var(--gray); }
.voices-career .voices-career__step { font-size: var(--fs-h2); line-height: 1.3; }
.voices-career__verb { margin-top: 6px; font-size: var(--fs-lead); font-weight: 700; color: var(--accent); }
.voices-career__details { margin: 24px 0 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.voices-career__detail { display: grid; grid-template-columns: 48px 240px minmax(0, 1fr); align-items: baseline; gap: 16px; padding: 24px 0; border-bottom: 1px solid var(--line); }
.voices-career__detail-num { font-size: var(--fs-small); font-weight: 900; color: var(--accent); }
.voices-career__detail-word { font-size: var(--fs-h3); font-weight: 900; }
.voices-career__detail-word span { display: block; margin-top: 2px; font-size: var(--fs-small); font-weight: 700; color: var(--ink-sub); }
.voices-career__detail-text { color: var(--ink); }
.voices-career__sub { margin-top: 72px; font-size: var(--fs-h3); font-weight: 900; }
.voices-career__staff { margin-top: 40px; padding: 24px 28px; border-left: 4px solid var(--accent); background: var(--gray); }
.voices-career__staff b { display: block; margin-bottom: 4px; font-size: var(--fs-h3); }
@media (max-width: 768px) {
  .voices-career__flow { padding: 24px 20px; }
  .voices-career__detail { grid-template-columns: 32px minmax(0, 1fr); gap: 4px 12px; padding: 20px 0; }
  .voices-career__detail-text { grid-column: 2; }
  .voices-career__sub { margin-top: 56px; }
}
.voices-career__note { margin-top: 8px; color: var(--ink-sub); }
.voices-career__note b { color: var(--accent); }
.voices-career__rows { display: grid; gap: 0; margin-top: 20px; border-top: 1px solid var(--line); }
.voices-career .voices-career__row { grid-template-columns: 120px minmax(0, 1fr); align-items: start; gap: 24px; padding: 32px 0; border-bottom: 1px solid var(--line); border-radius: 0; background: none; }
.voices-career .voices-career__row-label { padding-top: 10px; font-size: var(--fs-h3); font-weight: 900; letter-spacing: 0; color: var(--ink); }
.voices-career .voices-career__chips { gap: 10px; }
.voices-career .voices-career__chips li { padding: 10px 18px; border: 1px solid var(--line); border-radius: 12px; background: var(--gray); color: var(--ink); font-size: var(--fs-h3); font-weight: 700; line-height: 1.4; }
.voices-career .voices-career__row--role .voices-career__chips li { border-color: var(--accent); background: var(--paper); color: var(--accent); }
.voices-career .voices-career__chips li.is-more { padding-inline: 4px; border: 0; background: none; color: var(--ink-sub); font-size: var(--fs-body); align-self: center; }
@media (max-width: 768px) {
  .voices-career .voices-career__row { grid-template-columns: 1fr; gap: 12px; padding: 24px 0; }
  .voices-career .voices-career__row-label { padding-top: 0; }
  .voices-career .voices-career__chips { gap: 8px; }
  .voices-career .voices-career__chips li { padding: 8px 16px; }
}
/* 就活サポート④：ガクチカを白地（グレー）に（2026-10-29） */
.career-gk .career-gk__labels { color: var(--accent); }
.career-gk .career-gk__do { border-color: var(--line); background: var(--paper); color: var(--ink); }
.career-gk .career-gk__talk { background: var(--accent); color: var(--on-dark); }
.career-gk .career-gk__arrow { border-color: var(--accent); }
.career-gk .career-gk__sp { color: var(--accent); }
.career-gk .career-gk__talk .career-gk__sp { color: rgba(255, 255, 255, .8); }
/* 就活サポート②は3つ（2026-10-29） */
.career-help__list { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 768px) { .career-help__list { grid-template-columns: 1fr; } }

/* ---------- 2026-10-29：代表の本のバナーは、スクロールしてから出す（main.js が is-shown を付ける） ---------- */
.book-banner { opacity: 0; transform: translateY(12px); pointer-events: none; transition: opacity .3s, transform .3s; }
.book-banner.is-shown { opacity: 1; transform: none; pointer-events: auto; }

/* ---------- 2026-10-29：募集要項の上の目次ボタン。カーソルを乗せると左から塗られて、矢印が下に動く ---------- */
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
.page-toc a { position: relative; overflow: hidden; display: inline-flex; align-items: center; gap: 6px; isolation: isolate; transition: color .25s, border-color .25s; }
.page-toc a::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--ink); transform: scaleX(0); transform-origin: left; transition: transform .3s cubic-bezier(.2, .8, .2, 1); }
.page-toc a::after { content: "↓"; font-size: .9em; transition: transform .3s; }
.page-toc a:hover, .page-toc a:focus-visible { color: var(--paper); border-color: var(--ink); }
.page-toc a:hover::before, .page-toc a:focus-visible::before { transform: scaleX(1); }
.page-toc a:hover::after, .page-toc a:focus-visible::after { animation: toc-bounce .8s ease-in-out infinite; }
@keyframes toc-bounce { 50% { transform: translateY(3px); } }
@media (prefers-reduced-motion: reduce) { .page-toc a::before, .page-toc a::after { transition: none; animation: none !important; } }

/* ---------- 2026-10-29 仕事内容：既存の営業と、何が違う？（templates/sections/work-diff.html） ---------- */
.work-diff__table { border-top: 2px solid var(--ink); }
.work-diff__row { display: grid; grid-template-columns: 180px 1fr 1.4fr; gap: 24px; padding: 22px 0; border-bottom: 1px solid var(--line); align-items: baseline; }
.work-diff__row--head { padding: 14px 0; font-size: var(--fs-label); font-weight: 900; }
.work-diff__topic { font-weight: 900; }
.work-diff__old { color: var(--ink-sub); }
.work-diff__new { font-weight: 700; }
.work-diff__row--head .work-diff__new { color: var(--accent); }
.work-diff__row:not(.work-diff__row--head) .work-diff__new { padding-left: 16px; border-left: 3px solid var(--accent); }
.work-diff__tag { display: none; }
@media (max-width: 760px) {
  .work-diff__row { grid-template-columns: 1fr; gap: 8px; }
  .work-diff__row--head { display: none; }
  .work-diff__tag { display: block; margin-bottom: 2px; font-size: var(--fs-label); color: var(--ink-sub); }
  .work-diff__new .work-diff__tag { color: var(--accent); }
}

/* ---------- 2026-10-29 仕事内容：先輩は、実際にこうやった（templates/sections/work-cases.html） ---------- */
.work-cases__list { margin: 0; padding: 0; list-style: none; border-top: 2px solid var(--ink); }
.work-cases__item { display: grid; grid-template-columns: 120px 1fr auto 32px; gap: 24px; align-items: center; padding: 22px 0; border-bottom: 1px solid var(--line); color: inherit; text-decoration: none; transition: background .2s, padding .2s; }
.work-cases__task { justify-self: start; padding: 4px 12px; border-radius: 999px; background: var(--ink); color: var(--paper); font-size: var(--fs-label); font-weight: 700; }
.work-cases__text { font-size: var(--fs-lead); font-weight: 900; line-height: 1.6; }
.work-cases__who { font-size: var(--fs-small); color: var(--ink-sub); white-space: nowrap; }
.work-cases__item:hover { padding-left: 12px; padding-right: 12px; background: rgba(0, 0, 0, .03); }
.work-cases__item:hover .work-cases__text { color: var(--accent); }
@media (max-width: 760px) {
  .work-cases__item { grid-template-columns: 1fr 32px; gap: 8px 12px; }
  .work-cases__task, .work-cases__text, .work-cases__who { grid-column: 1; }
  .work-cases__arrow { grid-column: 2; grid-row: 1 / span 3; }
  .work-cases__who { white-space: normal; }
}

/* ---------- 2026-10-29 記事ページ（templates/article.html の style = "page"）：重複とテンプレ感の手直し ---------- */
/* ファーストビューの装飾（右上の青い放射グラデーションと斜線）は外す */
.explainer__hero::before { background: none; }
.explainer__lines { display: none; }
/* hero = "short"：黒地だが短く（new-business）。図はすぐ下の明るいブロックへ */
.explainer__hero--short { min-height: 0; padding-bottom: 64px; }
.explainer__hero--short .explainer__hero-inner { padding-top: 56px; }
.explainer__hero--short .explainer__title { font-size: clamp(30px, 4.2vw, 54px); }
.explainer__hero--short .explainer__lead { margin-top: 24px; }
/* hero = "light"：明るい地。図を同じブロックに続けて出す（new-business-sales） */
.explainer__hero--light { min-height: 0; padding-bottom: 80px; background: var(--gray); color: var(--ink); }
.explainer__hero--light .explainer__hero-inner { padding-top: 56px; }
.explainer__hero--light .explainer__title { max-width: 18em; font-size: clamp(30px, 4.2vw, 54px); }
.explainer__hero--light .explainer__lead { margin-top: 24px; color: var(--ink-sub); }
.explainer__herofig { margin: 48px 0 0; }
.explainer__herofig .figure__scroll { padding: 40px 48px; border-radius: var(--radius); background: var(--paper); }
.explainer__herofig .fig-wide { max-width: 860px; }
@media (max-width: 600px) { .explainer__herofig .figure__scroll { padding: 20px 16px; } }
.figure text.fig-how { font-weight: 400; }
/* 山の図（stage-gate-7）を明るい地に置くときの色 */
.explainer__figblock:not(.section--dark) .sg-mountain { fill: #e8ecf8; }
.explainer__figblock:not(.section--dark) .sg-ridge { stroke: var(--ink-sub); }
.explainer__figblock:not(.section--dark) .sg-gate { stroke: var(--ink); }
.explainer__figblock:not(.section--dark) .sg-num { fill: #9aa0ae; }
.explainer__figblock:not(.section--dark) .sg-phase { stroke: #c9cfdc; }
.explainer__figblock:not(.section--dark) .sg-bracket { stroke: var(--accent); }
.explainer__figblock:not(.section--dark) .sg-ridge-accent { stroke: var(--accent); }
.explainer__figblock:not(.section--dark) .figure text.sg-label { fill: var(--ink); }
.explainer__figblock:not(.section--dark) .figure text.sg-accent-text { fill: var(--accent); }
.explainer__figblock:not(.section--dark) .figure text.sg-phase-text,
.explainer__figblock:not(.section--dark) .figure text.sg-legend { fill: var(--ink-sub); }
/* layout = "list"：罫線の一覧（左に見出し、右に文章） */
.explainer__list { max-width: 960px; margin: 40px 0 0; padding: 0; list-style: none; border-top: 2px solid var(--ink); }
.explainer__list li { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); gap: 8px 40px; align-items: baseline; padding: 22px 0; border-bottom: 1px solid var(--line); }
.explainer__list h3 { font-size: var(--fs-h3); font-weight: 900; line-height: 1.5; }
.explainer__list p { line-height: 1.9; color: var(--ink-sub); }
.explainer__list li.is-accent h3 { color: var(--accent); }
@media (max-width: 760px) { .explainer__list li { grid-template-columns: 1fr; } }
/* layout = "pair"：白いカードと線アイコンをやめ、罫線で区切った一覧に */
.explainer__group { padding: 0; border-top: 2px solid var(--ink); border-radius: 0; background: none; }
.explainer__group-label { margin-top: 16px; font-size: var(--fs-h3); }
.explainer__group ul { margin-top: 8px; }
.explainer__group li { grid-template-columns: minmax(0, 1fr); border-top: 1px solid rgba(0, 0, 0, .12); }
.explainer__group .explainer__icon { display: none; }
/* layout = "rows"：3列のカードをやめ、1件ずつ横に並べた行に（左に小さな絵、右に文章） */
.explainer__rows { grid-template-columns: minmax(0, 1fr); gap: 0; border-top: 2px solid var(--ink); }
.explainer__rows li { display: grid; grid-template-columns: 120px minmax(0, 1fr) minmax(0, 280px); gap: 32px; align-items: center; padding: 24px 0; border: 0; border-bottom: 1px solid var(--line); border-radius: 0; background: none; }
.explainer__rows li > .explainer__shot { grid-column: 3; grid-row: 1; }
.explainer__rows li > .explainer__art { grid-column: 1; grid-row: 1; }
.explainer__rows li > div:last-child { grid-column: 2; grid-row: 1; }
@media (max-width: 760px) {
  .explainer__rows li { grid-template-columns: 72px minmax(0, 1fr); gap: 16px; align-items: start; }
  .explainer__rows .explainer__art svg { width: 72px; height: 54px; }
  .explainer__rows li > .explainer__shot { grid-column: 1 / -1; grid-row: 2; }
}
.explainer__group li:first-child { border-top: 0; }

/* ---------- 2026-10-29 トップの作り直し：1画面に「大きな一言＋大きな絵」（templates/sections/what.html・learn.html・who.html） ----------
   文字は少なく大きく、絵は先輩の声の幾何学イラストと同じタッチ（角丸の四角・細い線・青い線）。
   動きは「見えたら線が引かれる」の1種類だけ（main.js の「絵を描く」）。動きを減らす設定では最初から描いた状態 */
.scene { padding: clamp(96px, 12vw, 160px) 0; }
.scene__inner { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(40px, 6vw, 96px); align-items: center; }
.scene__inner--rev .scene__text { order: 2; }
.scene__title { margin: 0; font-size: clamp(36px, 5.4vw, 76px); font-weight: 900; line-height: 1.22; letter-spacing: .01em; word-break: keep-all; overflow-wrap: anywhere; }
.scene__lead { max-width: 30em; margin: 28px 0 0; font-size: var(--fs-lead); line-height: 1.9; color: var(--ink-sub); }
.scene__more { margin-top: 40px; }
.scene__list { margin: 28px 0 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.scene__list li { display: grid; grid-template-columns: 7.5em minmax(0, 1fr); gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); font-size: var(--fs-small); color: var(--ink-sub); line-height: 1.7; }
.scene__list b { color: var(--ink); }
.scene__count { margin: 28px 0 0; font-weight: 700; line-height: 1.8; }
.scene__count .num { margin-right: 2px; font-size: 1.8em; color: var(--accent); }
.scene__sub { margin: 36px 0 0; font-size: var(--fs-label); font-weight: 700; color: var(--ink-sub); }
.scene__staff { margin: 8px 0 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.scene__staff li { display: grid; grid-template-columns: 12em minmax(0, 1fr); gap: 16px; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: var(--fs-small); color: var(--ink-sub); line-height: 1.6; }
.scene__staff b { color: var(--ink); }
.scene__art { margin: 0; }
.scene__schools { display: grid; gap: 8px; margin-top: 16px; font-size: var(--fs-small); color: var(--ink-sub); line-height: 1.7; }
.scene__schools b { margin-right: 12px; color: var(--ink); }

/* 絵 */
.draw { display: block; width: 100%; height: auto; overflow: visible; }
.draw__dots rect { fill: var(--paper); stroke: #c9c9d3; stroke-width: 1.5; }
.section--gray .draw__dots rect { fill: var(--gray); }
.draw__dots--who rect { fill: var(--ink); stroke: var(--paper); stroke-width: 2; }
.draw__web line { stroke: #c9c9d3; stroke-width: 1.5; stroke-linecap: round; }
.draw__line { fill: none; stroke: var(--accent); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 1; stroke-dashoffset: 0; }
.draw__line--sub { stroke: var(--ink); stroke-width: 2; }
.draw__line--dash { stroke-width: 2.5; stroke-dasharray: .012 .02; }
.draw__pass rect { fill: var(--accent); opacity: .22; }
.draw__you { fill: var(--ink); }
.draw__goal { fill: var(--accent); }
.draw__tie { stroke: var(--accent); stroke-width: 1.5; stroke-dasharray: 3 5; opacity: .55; }
.draw__beat { fill: var(--accent); }
.draw__tick { fill: #b3b3bf; }
.draw__label { font-size: 17px; font-weight: 700; fill: var(--ink); }
.draw__label--goal { fill: var(--accent); font-size: 19px; font-weight: 900; }
.draw__label--sub { fill: var(--ink-sub); }
.draw__label--blue { fill: var(--accent); }
/* 描く前（JSがあって、動いてよいときだけ）：線を消し、点を小さくしておく */
.can-draw [data-draw]:not(.is-drawn) .draw__line { stroke-dashoffset: 1; }
.can-draw [data-draw]:not(.is-drawn) .draw__line--dash { opacity: 0; }
.can-draw [data-draw]:not(.is-drawn) :is(.draw__goal, .draw__beat, .draw__label--goal, .draw__pass rect) { opacity: 0; }
.can-draw [data-draw] .draw__line { transition: stroke-dashoffset 1.6s cubic-bezier(.6, 0, .2, 1) .2s; }
.can-draw [data-draw] .draw__line--dash { transition: opacity .6s ease 1.2s; }
.can-draw [data-draw] :is(.draw__goal, .draw__label--goal) { transition: opacity .5s ease 1.6s; }
.can-draw [data-draw] .draw__pass rect { transition: opacity .4s ease .9s; }
.can-draw [data-draw] .draw__beat { transition: opacity .4s ease; }
.can-draw [data-draw].is-drawn .draw__beat:nth-of-type(1) { transition-delay: .5s; }
.can-draw [data-draw].is-drawn .draw__beat:nth-of-type(2) { transition-delay: .7s; }
.can-draw [data-draw].is-drawn .draw__beat:nth-of-type(3) { transition-delay: .9s; }
.can-draw [data-draw].is-drawn .draw__beat:nth-of-type(4) { transition-delay: 1.1s; }
.can-draw [data-draw].is-drawn .draw__beat:nth-of-type(5) { transition-delay: 1.3s; }
.can-draw [data-draw].is-drawn .draw__beat:nth-of-type(6) { transition-delay: 1.5s; }

@media (max-width: 900px) {
  .scene__inner { grid-template-columns: 1fr; gap: 48px; }
  .scene__inner--rev .scene__text { order: 0; }
  .scene__art { max-width: 560px; }
}
@media (max-width: 760px) {
  .scene { padding: 80px 0; }
  .scene__list li, .scene__staff li { grid-template-columns: 1fr; gap: 2px; }
  .draw__label { font-size: 20px; }
  .draw__label--goal { font-size: 22px; }
}

/* ---------- 2026-10-29 仕事の流れの図（templates/figures/work-flow.html）：1本の青い線の上に角丸の点。カード・アイコン・黒い帯はやめた ---------- */
.wflow { margin: 0; }
.wflow__groups { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 0 24px; margin-bottom: 28px; }
.wflow__group { padding-bottom: 8px; border-bottom: 1px solid var(--ink); font-size: var(--fs-label); font-weight: 700; }
.wflow__group.is-last { color: var(--accent); border-color: var(--accent); }
.wflow__group--1 { grid-column: span 1; } .wflow__group--2 { grid-column: span 2; } .wflow__group--3 { grid-column: span 3; } .wflow__group--4 { grid-column: span 4; }
.wflow__steps { position: relative; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 0 24px; margin: 0; padding: 0; list-style: none; }
.wflow__rail { position: absolute; top: 13px; left: 0; right: 0; height: 4px; }
.wflow__rail svg { display: block; width: 100%; height: 4px; overflow: visible; }
.wflow__rail .draw__line { vector-effect: non-scaling-stroke; }
.wflow__step { position: relative; display: flex; flex-direction: column; gap: 10px; }
.wflow__dot { width: 30px; height: 30px; border-radius: 8px; background: var(--paper); border: 2px solid var(--ink); }
.section--gray .wflow__dot { background: var(--gray); }
.wflow__step.is-goal .wflow__dot { background: var(--accent); border-color: var(--accent); }
.wflow__group-sp { display: none; }
.wflow__title { margin-top: 10px; font-size: clamp(22px, 2.2vw, 30px); font-weight: 900; line-height: 1.3; }
.wflow__step.is-goal .wflow__title { color: var(--accent); }
.wflow__body { font-size: var(--fs-small); line-height: 1.8; color: var(--ink-sub); }
.wflow__manage { position: relative; margin-top: 48px; padding-top: 18px; }
.wflow__manage-line { position: absolute; top: 0; left: 0; right: 0; border-top: 2px dashed var(--ink); }
.wflow__manage p { margin: 0; font-size: var(--fs-small); color: var(--ink-sub); }
.wflow__manage b { margin-right: 16px; font-size: var(--fs-lead); color: var(--ink); }
.can-draw .wflow:not(.is-drawn) .wflow__dot { transform: scale(.4); opacity: 0; }
.can-draw .wflow .wflow__dot { transition: transform .4s cubic-bezier(.2, .8, .2, 1), opacity .3s; }
.can-draw .wflow.is-drawn .wflow__step:nth-child(2) .wflow__dot { transition-delay: .2s; }
.can-draw .wflow.is-drawn .wflow__step:nth-child(3) .wflow__dot { transition-delay: .5s; }
.can-draw .wflow.is-drawn .wflow__step:nth-child(4) .wflow__dot { transition-delay: .8s; }
.can-draw .wflow.is-drawn .wflow__step:nth-child(5) .wflow__dot { transition-delay: 1.1s; }
.can-draw .wflow.is-drawn .wflow__step:nth-child(6) .wflow__dot { transition-delay: 1.4s; }
@media (max-width: 760px) {
  .wflow__groups { display: none; }
  .wflow__steps { grid-template-columns: 1fr; gap: 28px; padding-left: 48px; }
  .wflow__rail { top: 0; bottom: 0; left: 13px; right: auto; width: 4px; height: auto; }
  .wflow__rail svg { display: none; }
  .wflow__rail { border-left: 3px solid var(--accent); }
  .wflow__step { gap: 4px; }
  .wflow__dot { position: absolute; left: -48px; top: 2px; }
  .wflow__group-sp:not(:empty) { display: block; font-size: var(--fs-label); font-weight: 700; color: var(--accent); }
  .wflow__title { margin-top: 0; }
}

/* 2026-10-29 トップの社員一覧：名前の途中で折れないように */
.scene__staff b { word-break: keep-all; }
.scene__staff li { grid-template-columns: 14em minmax(0, 1fr); }
@media (max-width: 760px) { .scene__staff li { grid-template-columns: 1fr; } }
.scene__title { font-size: clamp(34px, 4.8vw, 68px); }
/* 2026-10-29 仕事の流れの線：SVGをやめてCSSの線に（PCで途切れて見えたため）。見えたら左から伸びる */
.wflow__rail svg { display: none; }
.wflow__rail { top: 14px; height: 3px; background: var(--accent); transform-origin: left; }
.wflow__dot { position: relative; z-index: 1; }
.can-draw .wflow:not(.is-drawn) .wflow__rail { transform: scaleX(0); }
.can-draw .wflow .wflow__rail { transition: transform 1.6s cubic-bezier(.6, 0, .2, 1) .1s; }
@media (max-width: 760px) {
  .wflow__rail { top: 0; height: auto; width: 3px; background: var(--accent); border: 0; transform-origin: top; }
  .can-draw .wflow:not(.is-drawn) .wflow__rail { transform: scaleY(0); }
}

/* ---------- 2026-10-29 QA：チェックで見つかったところの手直し ---------- */
/* 2026-10-29 QA フッターの外部リンク：↗ だけが次の行に落ちないように */
.footer__ext { white-space: nowrap; }
/* 2026-10-29 QA スマホで語の途中で折れない：トップ「知りたいことから見る」の小さいタイル（「関東インターン」）は1語のまま、入る大きさに。
   先輩の声のカードの「週2〜3」は build.py の nobr_range で .nowrap に囲む */
.bento__label { word-break: keep-all; overflow-wrap: break-word; }
@media (max-width: 480px) {
  .bento__tile:not(.is-main) { padding-right: 16px; }
  .bento__tile:not(.is-main) .bento__label { font-size: 16px; }
}
/* 2026-10-29 QA 図の太い線（style 属性は CSP で止まるので class で指定。templates/figures/art-code.html・art-target.html） */
.fig-stroke-accent.fig-stroke-4 { stroke-width: 4; }
/* 2026-10-29 QA 成長ステップ：7つの設計ルールの各まとまりに、ステップの時期を小さく */
.team__step-when { margin: 0 0 4px; font-size: var(--fs-label); font-weight: 700; letter-spacing: .08em; line-height: 1.5; color: var(--accent-light); }
.team__step-when + .team__rules { margin-top: 8px; }
/* 2026-10-29 QA 一緒に働くのは、新規事業のプロ：右の列がリンク1本だけで空いていたので、代表を1列にして写真の横に文章を並べる */
.team__roster { grid-template-columns: minmax(0, 1fr); }
.team__ceo { display: grid; grid-template-columns: 120px minmax(0, 1fr); column-gap: 40px; align-items: start; padding: 44px 0 48px; border-right: 0; border-bottom: 0; }
.team__ceo > * { grid-column: 2; }
.team__ceo > .team__photo { grid-column: 1; grid-row: 1 / span 8; margin-bottom: 0; }
.team__ceo-body, .team__ceo .team__voice { max-width: 44em; }
.team__members { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 32px; padding: 0; }
.team__members .team__more { margin-top: 0; }
@media (max-width: 768px) {
  .team__ceo { grid-template-columns: minmax(0, 1fr); padding: 32px 0; border-bottom: 0; }
  .team__ceo > *, .team__ceo > .team__photo { grid-column: 1; grid-row: auto; }
  .team__ceo > .team__photo { margin-bottom: 20px; }
  .team__members { padding: 0; }
}

/* ---------- 2026-10-29 形を変え続ける円（仕事内容。templates/sections/work-top.html・work-day.html・work-grow.html） ----------
   「まだ形の決まっていない商材」を表す。border-radius を少しずつ変え続けるだけ（位置は動かさないので、中の文字は読める）
   動きを減らす設定では止まる */
@keyframes blob-a { 0%, 100% { border-radius: 58% 42% 46% 54% / 52% 44% 56% 48%; } 33% { border-radius: 40% 60% 62% 38% / 46% 62% 38% 54%; } 66% { border-radius: 64% 36% 40% 60% / 62% 40% 60% 38%; } }
@keyframes blob-b { 0%, 100% { border-radius: 44% 56% 60% 40% / 60% 46% 54% 40%; } 50% { border-radius: 62% 38% 36% 64% / 40% 60% 40% 60%; } }
.blob { display: inline-flex; align-items: center; justify-content: center; text-align: center; border-radius: 58% 42% 46% 54% / 52% 44% 56% 48%; animation: blob-a 9s ease-in-out infinite; }
.blob:nth-child(even) { animation-name: blob-b; animation-duration: 11s; }
.blob:nth-child(3n) { animation-duration: 13s; animation-direction: reverse; }
@media (prefers-reduced-motion: reduce) { .blob { animation: none; } }

/* 最初の画面：円の集まり */
.work-top__inner { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; align-items: center; }
.work-top__title { font-size: clamp(34px, 4.6vw, 64px); line-height: 1.25; word-break: keep-all; overflow-wrap: anywhere; }
.blobs { position: relative; height: clamp(360px, 38vw, 480px); }
.blobs .blob { position: absolute; padding: 12px; font-weight: 700; line-height: 1.4; }
.blob--size { width: 31%; aspect-ratio: 1; background: var(--accent); color: #fff; font-size: clamp(15px, 1.5vw, 19px); font-weight: 900; }
.blob--axis { width: 23%; aspect-ratio: 1; border: 1.5px solid rgba(255, 255, 255, .55); color: var(--on-dark); font-size: clamp(12px, 1.05vw, 14px); }
.blob--1 { left: 2%; top: 30%; width: 26%; }
.blob--2 { left: 33%; top: 6%; width: 32%; }
.blob--3 { left: 58%; top: 40%; width: 40%; }
.blob--a1 { left: 0; top: 0; }
.blob--a2 { left: 70%; top: 0; }
.blob--a3 { left: 24%; top: 62%; width: 27%; }
.blob--a4 { left: 3%; top: 76%; width: 20%; }
.blob--a5 { left: 77%; top: 80%; width: 21%; }
@media (max-width: 900px) {
  .work-top__inner { grid-template-columns: 1fr; gap: 32px; }
  .blobs { height: 92vw; max-height: 480px; }
  .blob--size { font-size: 15px; }
  .blob--axis { font-size: 12px; width: 26%; }
}

/* 1日の中身 */
.work-day__list { margin: 0; padding: 0; list-style: none; }
.work-day__item { display: grid; grid-template-columns: 120px minmax(0, 1fr); gap: 40px; align-items: center; padding: 40px 0; border-top: 1px solid var(--line); }
.work-day__item:last-child { border-bottom: 1px solid var(--line); }
.blob--mini { width: 96px; height: 96px; background: var(--accent); }
.work-day__item:nth-child(2) .blob--mini { background: var(--ink); }
.work-day__item:nth-child(3) .blob--mini { background: none; border: 2px solid var(--accent); }
.work-day__what { margin: 0; font-size: clamp(24px, 2.8vw, 38px); font-weight: 900; line-height: 1.35; }
.work-day__quote { max-width: 44em; margin: 14px 0 0; color: var(--ink-sub); font-size: var(--fs-small); line-height: 1.8; }
.work-day__quote p { margin: 0; }
.work-day__quote footer { margin-top: 4px; font-size: var(--fs-label); }

/* できることが、増えていく：段階ごとに円が大きくなり、最後は青 */
.work-grow__list { margin: 0; padding: 0; list-style: none; }
.work-grow__item { display: grid; grid-template-columns: 200px minmax(0, 1fr); gap: 40px; align-items: center; padding: 36px 0; }
.work-grow__item + .work-grow__item { border-top: 1px dashed #c9c9d3; }
.blob--grow { justify-self: center; background: none; border: 2px solid var(--ink); }
.blob--g1 { width: 64px; height: 64px; }
.blob--g2 { width: 112px; height: 112px; border-color: var(--accent); }
.blob--g3 { width: 168px; height: 168px; background: var(--accent); border-color: var(--accent); }
.work-grow__when { margin: 0; font-size: var(--fs-label); font-weight: 700; color: var(--accent); }
.work-grow__what { margin: 6px 0 0; font-size: clamp(24px, 2.8vw, 38px); font-weight: 900; line-height: 1.35; }
.work-grow__quote { max-width: 44em; margin: 12px 0 0; font-size: var(--fs-small); color: var(--ink-sub); line-height: 1.8; }
.work-grow__quote a { margin-left: 8px; font-size: var(--fs-label); }
@media (max-width: 760px) {
  .work-day__item { grid-template-columns: 64px minmax(0, 1fr); gap: 20px; padding: 28px 0; }
  .blob--mini { width: 56px; height: 56px; }
  .work-grow__item { grid-template-columns: 1fr; gap: 16px; }
  .blob--grow { justify-self: start; }
  .blob--g3 { width: 120px; height: 120px; }
}

/* ---------- 2026-10-29 仕事内容：ピボットの円（work-top.html）。飾りの円は外し、意味のある1つだけにした ---------- */

.work-top__title { font-size: clamp(32px, 4.2vw, 58px); }
.work-day__item { grid-template-columns: minmax(0, 1fr); }
.work-grow__item { grid-template-columns: 9em minmax(0, 1fr); align-items: baseline; }
.work-grow__when { font-size: var(--fs-lead); }
.pivot { position: relative; display: grid; place-items: center; width: min(100%, 460px); aspect-ratio: 1; margin: 0 auto; }
.pivot__shape { position: absolute; inset: 0; background: var(--accent); animation-duration: 7s; }
.pivot__steps { position: relative; width: 72%; margin: 0; padding: 0; list-style: none; color: #fff; text-align: center; }
.pivot__step { display: none; }
.pivot__step.is-on { display: block; animation: pivot-in .6s ease both; }
.pivot__label { display: block; margin-bottom: 10px; font-size: var(--fs-label); font-weight: 700; opacity: .8; }
.pivot__text { display: block; font-size: clamp(18px, 1.9vw, 24px); font-weight: 900; line-height: 1.6; word-break: keep-all; overflow-wrap: anywhere; }
.pivot__who { position: absolute; bottom: -36px; left: 0; right: 0; text-align: center; font-size: var(--fs-label); }
.pivot__who a { color: var(--on-dark-sub); }
@keyframes pivot-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
/* 動きを減らす設定・JSなし：3つを全部並べる */
.pivot:not(.is-cycling) .pivot__step { display: block; margin-bottom: 14px; }
.pivot:not(.is-cycling) .pivot__text { font-size: clamp(15px, 1.4vw, 18px); }
@media (max-width: 900px) { .pivot { width: min(88vw, 400px); margin-bottom: 40px; } }
@media (max-width: 760px) { .work-grow__item { grid-template-columns: 1fr; gap: 4px; } }

/* ---------- 2026-10-29 仕事内容：「何を売るの？」の円を戻した（ユーザーが気に入っている。消さないこと） ---------- */
.blobs { display: block; }
.blobs .blob { word-break: keep-all; overflow-wrap: normal; }
.blob--size { font-size: clamp(14px, 1.35vw, 18px); }
.blob--1 { width: 30%; }
.blob--axis { font-size: clamp(11px, .95vw, 13px); width: 24%; }
/* ピボットの円は白地のブロックへ（work-pivot.html） */
.work-pivot__inner { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; align-items: center; }
.work-pivot .pivot__who a { color: var(--ink-sub); }
@media (max-width: 900px) { .work-pivot__inner { grid-template-columns: 1fr; gap: 24px; } }
@media (max-width: 760px) { .blob--axis { font-size: 11px; width: 27%; } .blob--size { font-size: 14px; } }

/* ---------- 2026-10-29 仕事内容の最初の画面「何を売るの？」（templates/sections/work-top.html） ----------
   ユーザー：線でつながっているのがよかった＋商材だけが透明の青でふわふわ。消さないこと */
.blobs { display: none; }
.wmap { position: relative; height: clamp(380px, 40vw, 520px); }
.wmap__lines { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.wmap__lines line { stroke: rgba(255, 255, 255, .28); stroke-width: 1; vector-effect: non-scaling-stroke; }
.wmap__lines line.is-axis { stroke: rgba(142, 166, 255, .45); stroke-dasharray: 3 4; }
.wmap__node { position: absolute; transform: translate(-50%, -50%); white-space: nowrap; }
.wmap--50-50 { left: 50%; top: 50%; }
.wmap--20-20 { left: 20%; top: 20%; }
.wmap--50-8 { left: 50%; top: 8%; }
.wmap--80-20 { left: 80%; top: 20%; }
.wmap--12-56 { left: 12%; top: 56%; }
.wmap--88-54 { left: 88%; top: 54%; }
.wmap--26-86 { left: 26%; top: 86%; }
.wmap--74-86 { left: 74%; top: 86%; }
.wmap--50-97 { left: 50%; top: 97%; }
.wmap__center { padding: 18px 26px; border-radius: 14px; background: var(--accent); color: #fff; font-size: clamp(18px, 1.8vw, 24px); font-weight: 900; box-shadow: 0 0 0 10px rgba(61, 99, 255, .18); }
.wmap__size { padding: 8px 18px; border-radius: 999px; background: #fff; color: var(--ink); font-size: clamp(13px, 1.2vw, 16px); font-weight: 900; }
.wmap__axis { display: flex; align-items: center; justify-content: center; width: clamp(96px, 9.5vw, 128px); aspect-ratio: 1; padding: 10px; background: rgba(61, 99, 255, .26); border: 1px solid rgba(142, 166, 255, .55); color: #fff; font-size: clamp(11px, .95vw, 13px); font-weight: 700; line-height: 1.45; white-space: normal; word-break: keep-all; text-align: center; animation: blob-a 9s ease-in-out infinite, wmap-float 6s ease-in-out infinite; }
.wmap__node:nth-of-type(even) .wmap__axis { animation-duration: 11s, 7s; animation-name: blob-b, wmap-float; }
.wmap__node:nth-of-type(3n) .wmap__axis { animation-delay: -2s, -3s; }
@keyframes wmap-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
@media (prefers-reduced-motion: reduce) { .wmap__axis { animation: none; } }
@media (max-width: 900px) { .wmap { height: 96vw; max-height: 520px; margin-top: 8px; } }
@media (max-width: 760px) {
  .wmap__axis { width: 84px; font-size: 10.5px; padding: 6px; }
  .wmap__size { padding: 6px 12px; font-size: 12px; }
  .wmap__center { padding: 12px 16px; font-size: 16px; }
}
/* 2026-10-29 商材の円：もう少し明るい透明の青に。スマホは文字が円からはみ出さない大きさに */
.wmap__axis { background: rgba(61, 99, 255, .38); border-color: rgba(160, 182, 255, .7); box-shadow: 0 0 28px rgba(61, 99, 255, .35); }
@media (max-width: 760px) { .wmap__axis { width: 92px; font-size: 10px; } }

/* =========================================================
   2026-10-29 仕事内容 下半分（templates/sections/work-day.html・work-grow.html・work-cases.html）
   1日の中身：先輩をタブで切り替え、その人の1日を1本の線で（透明の青の帯＝インターンの時間）
   できることが、増えていく：縦の線でつなぎ、スクロールで線が下へ伸びる
   先輩は、実際にこうやった：数字を大きく見せる一覧＋押すと開く
   飾りの形・記号・番号・英字の小見出しは置かない。動きを減らす設定では止める
   ========================================================= */

/* ---------- 1日の中身 ---------- */
.wday { max-width: 1040px; }
.wday__tabs { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 32px; }
.wday__tabs[hidden] { display: none; }
.wday__tab { padding: 10px 20px; border: 1.5px solid var(--ink); border-radius: 999px; background: var(--paper); color: var(--ink); font: inherit; font-size: var(--fs-small); font-weight: 700; line-height: 1.4; cursor: pointer; transition: background .2s, color .2s; }
.wday__tab:hover { background: rgba(61, 99, 255, .1); }
.wday__tab[aria-selected="true"] { background: var(--ink); color: var(--paper); }
.wday__panel { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 20px 56px; align-content: start; padding: 36px 0 40px; border-top: 2px solid var(--ink); }
.wday__panel[hidden] { display: none; }
.wday__who { grid-column: 1; font-size: var(--fs-small); font-weight: 700; color: var(--ink-sub); }
.wday.is-tabs .wday__who { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.wday__summary { grid-column: 1; font-size: clamp(20px, 2.1vw, 27px); font-weight: 900; line-height: 1.55; }
.wday__days { grid-column: 2; grid-row: 1 / span 3; margin: 0; padding: 0; list-style: none; }
.wday__day + .wday__day { margin-top: 28px; }
.wday__name { margin-bottom: 8px; font-weight: 700; line-height: 1.5; }
.wday__per { margin-left: 10px; color: var(--accent); }
/* 1日の線：黒い線の上に、大学（白地に黒の枠）とインターン（透明の青の帯）を左から置く */
.wday__line { position: relative; display: flex; align-items: center; gap: 8px; min-height: 52px; }
.wday__line::before { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 2px; margin-top: -1px; background: var(--ink); }
.wday__part { position: relative; display: flex; align-items: center; min-height: 46px; padding: 0 16px; border-radius: 10px; font-weight: 900; line-height: 1.3; white-space: nowrap; }
.wday__part--school { flex: 0 0 auto; border: 2px solid var(--ink); background: var(--paper); font-size: var(--fs-small); }
.wday__part--intern { background: rgba(61, 99, 255, .38); border: 1px solid rgba(61, 99, 255, .6); color: var(--ink); }
.wday__part--h9 { flex: 0 0 90%; }
.wday__part--h8 { flex: 0 0 80%; }
.wday__part--h3 { flex: 0 0 30%; }
/* 長さが回答に無い帯は、右へ薄くなる（終わりの時刻を描かない） */
.wday__part--open { flex: 1 1 auto; border: 0; background: linear-gradient(90deg, rgba(61, 99, 255, .38) 55%, rgba(61, 99, 255, 0)); font-size: var(--fs-small); white-space: normal; }
.wday__quote { grid-column: 1; margin: 0; padding-left: 16px; border-left: 2px solid var(--accent); color: var(--ink-sub); font-size: var(--fs-small); line-height: 1.85; }
.wday__quote p { margin: 0; }
.wday__quote footer { margin-top: 6px; font-size: var(--fs-label); }
.wday__note { margin-top: 4px; color: var(--ink-sub); font-size: var(--fs-label); }
/* 帯は、見えたとき（タブを切り替えたとき）に左から伸びる */
@media (prefers-reduced-motion: no-preference) {
  .wday.is-anim .wday__part { clip-path: inset(0 100% 0 0); transition: clip-path .9s cubic-bezier(.2, .7, .2, 1); }
  .wday.is-anim .wday__day:nth-child(2) .wday__part { transition-delay: .25s; }
  .wday.is-anim .wday__part + .wday__part { transition-delay: .35s; }
  .wday.is-anim .wday__day:nth-child(2) .wday__part + .wday__part { transition-delay: .6s; }
  .wday.is-anim .wday__panel.is-in .wday__part { clip-path: inset(0 0 0 0); }
}
@media (max-width: 760px) {
  .wday__tabs { gap: 8px; margin-bottom: 24px; }
  .wday__tab { padding: 8px 14px; font-size: 13px; }
  .wday__panel { grid-template-columns: minmax(0, 1fr); padding: 28px 0 32px; }
  .wday__who, .wday__summary, .wday__days, .wday__quote { grid-column: 1; grid-row: auto; }
  .wday__part { padding: 0 12px; }
}

/* ---------- できることが、増えていく：縦の線 ---------- */
.wgrow { position: relative; max-width: 880px; margin: 0; padding: 0 0 0 56px; list-style: none; }
.wgrow__step { position: relative; padding-bottom: 56px; }
.wgrow__step--last { padding-bottom: 0; }
/* 段の丸（線の上の位置）と、次の段までの線 */
.wgrow__step::before { content: ""; position: absolute; z-index: 1; left: -49px; top: 4px; width: 18px; height: 18px; border: 2px solid var(--ink); border-radius: 50%; background: var(--gray); }
.wgrow__step--last::before { left: -53px; top: 0; width: 26px; height: 26px; border-color: var(--accent); background: var(--accent); box-shadow: 0 0 0 8px rgba(61, 99, 255, .2); }
.wgrow__step:not(.wgrow__step--last)::after { content: ""; position: absolute; left: -41px; top: 13px; bottom: -13px; width: 2px; background: var(--ink); transform-origin: top; }
.wgrow__when { color: var(--accent); font-size: var(--fs-small); font-weight: 700; line-height: 1.6; }
.wgrow__what { margin-top: 4px; font-size: clamp(22px, 2.6vw, 34px); font-weight: 900; line-height: 1.4; }
.wgrow__step--last .wgrow__what { color: var(--accent); }
.wgrow__quote { max-width: 44em; margin-top: 12px; color: var(--ink-sub); font-size: var(--fs-small); line-height: 1.85; }
.wgrow__quote a { margin-left: 8px; font-size: var(--fs-label); white-space: nowrap; }
.work-grow .what__more { margin-top: 56px; }
/* スクロールで：段が出る → その段から次の段へ、線が下へ伸びる */
@media (prefers-reduced-motion: no-preference) {
  .wgrow.is-anim .wgrow__step > * { opacity: 0; transform: translateY(14px); transition: opacity .6s ease, transform .6s ease; }
  .wgrow.is-anim .wgrow__step::before { opacity: 0; transform: scale(.4); transition: opacity .4s ease, transform .4s ease; }
  .wgrow.is-anim .wgrow__step::after { transform: scaleY(0); transition: transform 1s cubic-bezier(.3, .6, .3, 1) .35s; }
  .wgrow.is-anim .wgrow__step.is-in > * { opacity: 1; transform: none; }
  .wgrow.is-anim .wgrow__step.is-in > .wgrow__what { transition-delay: .08s; }
  .wgrow.is-anim .wgrow__step.is-in > .wgrow__quote { transition-delay: .16s; }
  .wgrow.is-anim .wgrow__step.is-in::before { opacity: 1; transform: none; }
  .wgrow.is-anim .wgrow__step.is-in::after { transform: scaleY(1); }
}
@media (max-width: 760px) {
  .wgrow { padding-left: 40px; }
  .wgrow__step { padding-bottom: 44px; }
  .wgrow__step::before { left: -38px; width: 16px; height: 16px; top: 5px; }
  .wgrow__step--last::before { left: -41px; top: 2px; width: 22px; height: 22px; box-shadow: 0 0 0 6px rgba(61, 99, 255, .2); }
  .wgrow__step:not(.wgrow__step--last)::after { left: -31px; top: 13px; }
}

/* ---------- 先輩は、実際にこうやった：数字を大きく＋押すと開く ---------- */
.wcase { margin: 0; padding: 0; list-style: none; border-top: 2px solid var(--ink); }
.wcase > li { border-bottom: 1px solid var(--line); }
.wcase__head { display: grid; grid-template-columns: 14em minmax(0, 1fr) auto; gap: 16px 40px; align-items: center; padding: 28px 0; cursor: pointer; list-style: none; }
.wcase__head::-webkit-details-marker { display: none; }
.wcase__fig { display: flex; flex-wrap: wrap; align-items: baseline; column-gap: 4px; }
.wcase__pre { flex: 0 0 100%; color: var(--ink-sub); font-size: var(--fs-label); font-weight: 700; line-height: 1.5; }
.wcase__num { font-family: var(--font-en); font-size: clamp(48px, 5.2vw, 72px); font-weight: 900; line-height: 1.05; color: var(--accent); letter-spacing: -.01em; }
.wcase__unit { font-size: clamp(16px, 1.5vw, 20px); font-weight: 900; }
.wcase__fig--word .wcase__num { font-family: var(--font-ja); font-size: clamp(28px, 2.9vw, 40px); line-height: 1.25; }
.wcase__body { display: block; }
.wcase__task { display: block; color: var(--ink-sub); font-size: var(--fs-label); font-weight: 700; }
.wcase__text { display: block; margin-top: 2px; font-size: var(--fs-lead); font-weight: 900; line-height: 1.6; transition: color .2s; }
.wcase__who { display: block; margin-top: 4px; color: var(--ink-sub); font-size: var(--fs-small); }
.wcase__toggle { padding: 6px 16px; border: 1.5px solid var(--ink); border-radius: 999px; font-size: var(--fs-label); font-weight: 700; white-space: nowrap; transition: background .2s, color .2s; }
.wcase__close { display: none; }
.wcase__item[open] .wcase__open { display: none; }
.wcase__item[open] .wcase__close { display: inline; }
.wcase__item[open] .wcase__toggle, .wcase__head:hover .wcase__toggle { background: var(--ink); color: var(--paper); }
.wcase__head:hover .wcase__text { color: var(--accent); }
.wcase__head:focus-visible { outline-offset: -3px; }
.wcase__detail { padding: 0 0 36px calc(14em + 40px); }
/* 難しかったこと → 工夫 → 結果：左の線でつなぐ */
.wcase__steps { margin: 0; border-left: 2px solid var(--ink); }
.wcase__s { display: grid; grid-template-columns: 8em minmax(0, 1fr); gap: 4px 20px; padding: 0 0 18px 20px; }
.wcase__s:last-child { padding-bottom: 0; }
.wcase__s dt { font-size: var(--fs-small); font-weight: 700; line-height: 1.85; }
.wcase__s dd { margin: 0; font-size: var(--fs-small); line-height: 1.85; }
.wcase__s--result dt { color: var(--accent); }
.wcase__s--result dd { font-weight: 700; color: var(--ink); }
.wcase__raw { padding-left: 20px; border-left: 2px solid var(--ink); font-size: var(--fs-small); line-height: 1.85; }
.wcase__link { margin-top: 20px; font-size: var(--fs-small); font-weight: 700; }
.wcase__link a { color: var(--accent); }
@media (prefers-reduced-motion: no-preference) {
  .wcase__item[open] .wcase__detail { animation: wcase-in .4s ease both; }
}
@keyframes wcase-in { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
@media (max-width: 760px) {
  .wcase__head { grid-template-columns: minmax(0, 1fr) auto; gap: 10px 16px; padding: 24px 0; }
  .wcase__fig { grid-column: 1; grid-row: 1; }
  .wcase__toggle { grid-column: 2; grid-row: 1; align-self: start; }
  .wcase__body { grid-column: 1 / -1; }
  .wcase__num { font-size: 48px; }
  .wcase__fig--word .wcase__num { font-size: 28px; }
  .wcase__detail { padding: 0 0 28px; }
  .wcase__s { grid-template-columns: minmax(0, 1fr); padding-left: 16px; }
  .wcase__raw { padding-left: 16px; }
}
/* 1日の線（2026-10-29 調整）：線は帯の下に引き、帯がその上にのる（文字に線が重ならないように） */
.wday__line { align-items: flex-end; }
.wday__line::before { top: auto; bottom: 0; margin-top: 0; }
.wday__part { border-radius: 10px 10px 0 0; }
.wday__part--school { border-bottom-width: 0; }
.wcase__fig--word .wcase__num { font-size: clamp(24px, 2.3vw, 32px); }
@media (max-width: 760px) {
  .wday__tabs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .wday__tabs[hidden] { display: none; }
  .wday__tab { padding: 8px 6px; border-radius: 22px; white-space: normal; }
}

/* ---------- 仕事内容：アプローチの4つのやり方（work-methods.html）。文と資料の画像を左右交互に ---------- */
.wmeth { margin: 0; padding: 0; list-style: none; display: grid; gap: 72px; }
.wmeth__item { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 32px 56px; align-items: center; }
.wmeth__item:nth-child(even) { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
.wmeth__item:nth-child(even) .wmeth__text { order: 2; }
.wmeth__num { display: flex; align-items: baseline; gap: 12px; margin: 0; color: var(--ink-sub); font-family: var(--font-en); font-size: var(--fs-label); font-weight: 700; letter-spacing: .12em; }
.wmeth__num .num { color: var(--accent); font-size: clamp(32px, 3.2vw, 44px); font-weight: 900; letter-spacing: 0; line-height: 1; }
.wmeth__title { margin: 12px 0 0; font-size: clamp(24px, 2.4vw, 32px); font-weight: 900; line-height: 1.4; }
.wmeth__catch { margin: 6px 0 0; color: var(--accent); font-size: var(--fs-lead); font-weight: 700; }
.wmeth__body { margin: 16px 0 0; font-size: var(--fs-body); line-height: 1.9; }
.wmeth__img { margin: 0; }
.wmeth__shot { display: block; width: 100%; height: auto; border: 1px solid var(--line); border-radius: 8px; background: var(--paper); box-shadow: 0 12px 32px rgba(14, 14, 16, .08); }
/* 2枚：1枚目を左上に大きく、2枚目を右下に重ねる（同じマスに置いて、高さは大きいほうに合わせる） */
.wmeth__img--stack { display: grid; }
.wmeth__img--stack .wmeth__shot { grid-area: 1 / 1; }
.wmeth__img--stack .wmeth__shot:first-child { width: 86%; justify-self: start; align-self: start; }
.wmeth__img--stack .wmeth__shot:nth-child(2) { width: 44%; justify-self: end; align-self: start; margin-top: 22%; box-shadow: 0 16px 40px rgba(14, 14, 16, .18); }
.wmeth__note { margin: 48px 0 0; color: var(--ink-sub); font-size: var(--fs-label); }
@media (max-width: 760px) {
  .wmeth { gap: 56px; }
  .wmeth__item, .wmeth__item:nth-child(even) { grid-template-columns: minmax(0, 1fr); }
  .wmeth__item:nth-child(even) .wmeth__text { order: 0; }
}
/* 画像がまだない手法は文だけ。全部そうなら2列に並べる */
.wmeth:not(:has(.wmeth__img)) { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 56px 64px; }
.wmeth__item--text { grid-template-columns: minmax(0, 1fr); }
.wmeth__item--text .wmeth__text { order: 0 !important; }
@media (max-width: 760px) { .wmeth:not(:has(.wmeth__img)) { grid-template-columns: minmax(0, 1fr); } }

/* 先輩の声の一覧：画像がある先輩のカード（2026-10-30 ユーザー：画像を追加した先輩を15人の中で目立たせる）
   ツールをつくった先輩 … 2列ぶんの横長、左にツールの画面。写真だけの先輩 … 上に写真 */
.voice-card__body { display: flex; flex: 1; flex-direction: column; min-width: 0; }
.voice-card--tool, .voice-card--photo { padding: 0; overflow: hidden; }
.voice-card--tool .voice-card__body, .voice-card--photo .voice-card__body { padding: 28px; }
.voice-card__media { display: block; overflow: hidden; background: var(--gray); }
.voice-card__media img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.voice-card:hover .voice-card__media img { transform: scale(1.03); }
.voice-card--photo .voice-card__media { aspect-ratio: 16 / 10; }
.voice-card--tool { flex-direction: row; background: var(--black); border-color: var(--black); color: var(--paper); }
.voice-card--tool:hover { border-color: var(--accent); }
.voice-card--tool .voice-card__media { flex: 0 0 55%; }
.voice-card--tool .voice-card__media--screen { padding: 24px 0 24px 24px; background: var(--black); }
.voice-card--tool .voice-card__media--screen img { height: 100%; border-radius: 6px; object-fit: cover; object-position: top left; }
.voice-card--tool .voice-card__school { color: var(--on-dark-sub); }
.voice-card--tool .voice-card__foot { border-top-color: rgba(255, 255, 255, .16); }
.voice-card--tool .voice-card__arrow { background: rgba(255, 255, 255, .12); }
.voice-card--tool .voice-card__arrow::before { border-color: var(--paper); }
.voice-card--tool:hover .voice-card__arrow { background: var(--accent); }
.voice-card__badge { align-self: flex-start; margin-bottom: 16px; padding: 5px 12px; border-radius: 999px; background: var(--accent); color: #fff; font-size: var(--fs-label); font-weight: 700; }
.voices-list .voice-grid { grid-auto-flow: row dense; }
.voices-list .voice-grid > li.is-wide { grid-column: span 2; }
@media (max-width: 768px) {
  .voices-list .voice-grid > li.is-wide { grid-column: auto; }
  .voice-card--tool { flex-direction: column; }
  .voice-card--tool .voice-card__media { flex: none; aspect-ratio: 16 / 10; }
  .voice-card--tool .voice-card__media--screen { padding: 20px 20px 0; }
}

/* 写真5枚：1枚目を左に大きく、残り4枚を右に2×2（関東関西合同イベント。2026-10-30） */
.photo-grid--5 { grid-template-columns: minmax(0, 2fr) minmax(0, 1fr) minmax(0, 1fr); grid-template-rows: repeat(2, minmax(0, 1fr)); }
.photo-grid--5 .photo-grid__item:first-child { grid-row: 1 / span 2; }
.photo-grid--5 .photo-grid__item:first-child img { aspect-ratio: auto; }
@media (max-width: 700px) {
  .photo-grid--5 { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-rows: none; }
  .photo-grid--5 .photo-grid__item:first-child { grid-column: 1 / -1; grid-row: auto; }
  .photo-grid--5 .photo-grid__item:first-child img { aspect-ratio: 4 / 3; }
}

/* 写真9枚：4列で、1枚目を2×2に大きく、残り8枚をまわりに（関東関西合同イベント。2026-10-30） */
.photo-grid--9 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.photo-grid--9 .photo-grid__item:first-child { grid-column: span 2; grid-row: span 2; }
.photo-grid--9 .photo-grid__item:first-child img { aspect-ratio: auto; }
@media (max-width: 700px) {
  .photo-grid--9 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .photo-grid--9 .photo-grid__item:first-child { grid-column: 1 / -1; grid-row: auto; }
  .photo-grid--9 .photo-grid__item:first-child img { aspect-ratio: 4 / 3; }
}

/* 写真7枚：4列で、1枚目を2×2に大きく、右に2×2、下の2枚は2列ずつ（関東関西合同イベント。2026-10-30） */
.photo-grid--7 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.photo-grid--7 .photo-grid__item:first-child { grid-column: span 2; grid-row: span 2; }
.photo-grid--7 .photo-grid__item:first-child img { aspect-ratio: auto; }
.photo-grid--7 .photo-grid__item:nth-child(n + 6) { grid-column: span 2; }
@media (max-width: 700px) {
  .photo-grid--7 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .photo-grid--7 .photo-grid__item:first-child { grid-column: 1 / -1; grid-row: auto; }
  .photo-grid--7 .photo-grid__item:first-child img { aspect-ratio: 4 / 3; }
  .photo-grid--7 .photo-grid__item:nth-child(n + 6) { grid-column: auto; }
}

/* ---------- 仕事内容：ある1日の流れ（work-schedule.html）。左に見出しと9時間の使い方、右に1行ずつの時刻表 ---------- */
.wsch-wrap { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 40px 72px; align-items: start; }
.wsch-side .head { margin-bottom: 0; }
.wsch-share { margin-top: 36px; }
.wsch-share__title { margin: 0 0 10px; font-size: var(--fs-label); font-weight: 700; color: var(--ink-sub); }
.wsch-share__bar { display: block; width: 100%; height: 16px; border-radius: 999px; overflow: hidden; }
.wsch-share__seg--call { fill: var(--accent); }
.wsch-share__seg--prep { fill: #8ea6ff; }
.wsch-share__seg--meet { fill: var(--ink); }
.wsch-share__seg--break { fill: var(--line); }
.wsch-share__legend { margin: 14px 0 0; padding: 0; list-style: none; display: grid; gap: 6px; }
.wsch-share__item { display: flex; align-items: center; gap: 10px; font-size: var(--fs-small); }
.wsch-share__item::before { content: ""; flex: none; width: 10px; height: 10px; border-radius: 3px; background: var(--line); }
.wsch-share__item--call::before { background: var(--accent); }
.wsch-share__item--prep::before { background: #8ea6ff; }
.wsch-share__item--meet::before { background: var(--ink); }
.wsch-share__time { margin-left: auto; font-weight: 700; }
.wsch-share__item--call .wsch-share__time { color: var(--accent); }
.wsch__note { margin: 24px 0 0; color: var(--ink-sub); font-size: var(--fs-label); }
.wsch { margin: 0; padding: 0; list-style: none; border-top: 2px solid var(--ink); }
.wsch__item { display: grid; grid-template-columns: 4.5em minmax(0, 1fr); gap: 0 20px; padding: 14px 4px; border-bottom: 1px solid var(--line); }
.wsch__time { margin: 0; }
.wsch__time .num { font-family: var(--font-en); font-size: 20px; font-weight: 900; line-height: 1.4; }
.wsch__title { margin: 0; font-size: var(--fs-body); font-weight: 900; line-height: 1.6; }
.wsch__end { margin-left: 10px; color: var(--ink-sub); font-size: var(--fs-label); font-weight: 400; }
.wsch__body { margin: 2px 0 0; color: var(--ink-sub); font-size: var(--fs-small); line-height: 1.7; }
.wsch__item--call { background: rgba(61, 99, 255, .07); }
.wsch__item--call .wsch__time .num, .wsch__item--call .wsch__title { color: var(--accent); }
.wsch__item--break .wsch__title { color: var(--ink-sub); font-weight: 700; }
@media (max-width: 760px) {
  .wsch-wrap { grid-template-columns: minmax(0, 1fr); }
  .wsch-share { margin-top: 24px; }
  .wsch__item { grid-template-columns: 3.8em minmax(0, 1fr); gap: 0 12px; }
  .wsch__time .num { font-size: 17px; }
}
/* 仕事内容ページの見出しは、content の \n で改行する（2026-10-30） */
.work-methods .head__title, .work-schedule .head__title, .work-grow .head__title, .work-cases .head__title { white-space: pre-line; }
/* 仕事内容の最初の見出し：句読点だけが次の行に落ちないよう、1行が左の列に収まる大きさにする（2026-10-30） */
.work-top__title { font-size: clamp(30px, 3.6vw, 52px); }
/* できることが、増えていく：段の右に写真（2026-10-30）。左に時期・やること・声、右に写真 */
.work-grow .wgrow { max-width: 1080px; }
.wgrow__step:has(.wgrow__img) { display: grid; grid-template-columns: minmax(0, 1fr) 320px; grid-template-rows: auto auto 1fr; column-gap: 48px; align-content: start; }
.wgrow__step:has(.wgrow__img) > :not(.wgrow__img) { grid-column: 1; }
.wgrow__img { grid-column: 2; grid-row: 1 / span 3; margin: 0; align-self: start; }
.wgrow__img img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius); }
@media (max-width: 760px) {
  .wgrow__step:has(.wgrow__img) { grid-template-columns: minmax(0, 1fr); }
  .wgrow__img { grid-column: 1; grid-row: auto; margin-top: 16px; }
}

/* =========================================================
   記事「新規事業の営業は、なぜ難しいのか」（new-business-sales）2026-10-30 作り直し
   絵は templates/figures/ の sales-paths・wall-segment・wall-talk・wall-pivot・try-loop
   ========================================================= */
.nbs-on-accent { fill: #fff !important; }

/* ファーストビュー右の絵：既存事業＝1本道 / 新規事業＝外れて、外れて、届く（10秒でくり返す） */
.nbs-paths-wrap { margin: 0; padding: 32px 28px; border-radius: 20px; background: var(--paper); }
.nbs-paths .nbs-paths__label { font-size: 20px; font-weight: 900; }
.figure .nbs-paths .fig-small { font-size: 15px; }
/* PCでは絵を少し大きく（文字6：絵5 → 1：1） */
.explainer__hero--light .explainer__hero-inner.has-art { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }

@media (max-width: 600px) { .nbs-paths-wrap { padding: 20px 14px; } .figure .nbs-paths .fig-small { font-size: 17px; } .nbs-paths .nbs-paths__label { font-size: 22px; } }
.nbs-paths__road { fill: none; stroke: var(--ink); stroke-width: 3; }
.nbs-paths__rule { stroke: var(--line); stroke-width: 1; }
.nbs-paths__fog circle { fill: var(--line); }
.nbs-paths__try { fill: none; stroke: var(--accent); stroke-width: 3; stroke-linecap: round; stroke-dasharray: 1; }
.nbs-paths__miss circle { fill: var(--paper); stroke: var(--ink-sub); stroke-width: 1.5; }
.nbs-paths__miss path { stroke: var(--ink-sub); stroke-width: 2; stroke-linecap: round; }
.nbs-paths__goal circle { fill: var(--accent); }
.figure .nbs-paths__goal-text { fill: var(--accent); }
@media (prefers-reduced-motion: no-preference) {
  .nbs-paths__try--1 { animation: nbs-try1 10s infinite; }
  .nbs-paths__miss--1 { animation: nbs-miss1 10s infinite; }
  .nbs-paths__try--2 { animation: nbs-try2 10s infinite; }
  .nbs-paths__miss--2 { animation: nbs-miss2 10s infinite; }
  .nbs-paths__try--3 { animation: nbs-try3 10s infinite; }
  .nbs-paths__goal, .nbs-paths__goal-text { animation: nbs-goal 10s infinite; }
  .nbs-paths__goal { transform-box: fill-box; transform-origin: center; }
}
/* 外れた道は薄く残す。最後にまとめて消えて、最初から */
@keyframes nbs-try1 { 0% { stroke-dashoffset: 1; opacity: 1; } 12% { stroke-dashoffset: 0; opacity: 1; } 22% { opacity: 1; } 30%, 90% { stroke-dashoffset: 0; opacity: .2; } 100% { stroke-dashoffset: 0; opacity: 0; } }
@keyframes nbs-miss1 { 0%, 12% { opacity: 0; } 15%, 22% { opacity: 1; } 30%, 90% { opacity: .35; } 100% { opacity: 0; } }
@keyframes nbs-try2 { 0%, 30% { stroke-dashoffset: 1; opacity: 1; } 42% { stroke-dashoffset: 0; opacity: 1; } 50% { opacity: 1; } 58%, 90% { stroke-dashoffset: 0; opacity: .2; } 100% { stroke-dashoffset: 0; opacity: 0; } }
@keyframes nbs-miss2 { 0%, 42% { opacity: 0; } 45%, 50% { opacity: 1; } 58%, 90% { opacity: .35; } 100% { opacity: 0; } }
@keyframes nbs-try3 { 0%, 58% { stroke-dashoffset: 1; opacity: 1; } 72%, 92% { stroke-dashoffset: 0; opacity: 1; } 100% { stroke-dashoffset: 0; opacity: 0; } }
@keyframes nbs-goal { 0%, 72% { opacity: .15; transform: scale(1); } 76% { opacity: 1; transform: scale(1.12); } 80%, 92% { opacity: 1; transform: scale(1); } 100% { opacity: .15; } }
@media (prefers-reduced-motion: reduce) {
  .nbs-paths__try--1, .nbs-paths__try--2 { opacity: .2; }
  .nbs-paths__miss { opacity: .35; }
}

/* 壁：1つずつ、絵と文章を左右に（絵は左右交互） */
.walls { margin: 48px 0 0; padding: 0; list-style: none; }
.walls__item { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; gap: 64px; padding: 64px 0; border-top: 1px solid var(--line); }
.walls__item:nth-child(even) .walls__art { order: 2; }
.walls__art.figure { margin: 0; padding: 36px; border-radius: 20px; background: var(--gray); }
.walls__num { display: flex; align-items: baseline; gap: 6px; font-weight: 900; color: var(--accent); }
.walls__num span:first-child { font-size: var(--fs-small); }
.walls__num .num { font-size: 40px; line-height: 1; }
.walls__title { margin-top: 12px; font-size: var(--fs-h2); font-weight: 900; line-height: 1.4; }
.walls__how { margin-top: 20px; line-height: 1.9; }
.walls__how b { display: inline-block; margin-right: 10px; padding: 2px 10px; border-radius: 6px; background: var(--ink); color: var(--paper); font-size: var(--fs-label); vertical-align: 2px; }
.walls__case { display: block; margin-top: 28px; padding: 24px 28px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--paper); color: inherit; text-decoration: none; transition: border-color .2s; }
.walls__case:hover { border-color: var(--accent); }
.walls__case > span { display: block; }
.walls__case-label { font-size: var(--fs-label); font-weight: 700; color: var(--accent); }
.walls__case .walls__stat { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 8px; margin-top: 6px; font-weight: 900; }
.walls__stat .num { font-size: 48px; line-height: 1.1; color: var(--ink); }
.walls__stat .walls__stat-before { font-size: 28px; color: var(--ink-sub); }
.walls__stat-arrow { color: var(--accent); }
.walls__stat-unit { font-size: var(--fs-small); }
.walls__case-text { margin-top: 10px; font-size: var(--fs-small); line-height: 1.8; color: var(--ink-sub); }
.walls__case .walls__case-who { display: flex; align-items: center; gap: 10px; margin-top: 16px; font-size: var(--fs-small); font-weight: 700; }
@media (max-width: 900px) {
  .walls__item { grid-template-columns: 1fr; gap: 28px; padding: 44px 0; }
  .walls__item:nth-child(even) .walls__art { order: 0; }
  .walls__art.figure { padding: 24px 18px; }
  .walls__stat .num { font-size: 40px; }
}

/* 壁の絵：見えたら1回だけ動く（main.js の [data-draw] → .is-drawn。動きを減らす設定では can-draw がつかず、最後の形のまま） */
.nbs-wall { overflow: visible; }
.nbs-seg__dot { fill: #d9dbe3; }
.nbs-seg__dot.is-in { fill: var(--accent); }
.nbs-seg__frame { fill: none; stroke: var(--accent); stroke-width: 2.5; stroke-dasharray: 1; }
.nbs-talk__bubble { stroke: var(--accent); stroke-width: 2; }
.nbs-talk__row--1 { opacity: .6; }
.nbs-talk__arrow { fill: none; stroke: var(--accent); stroke-width: 3; stroke-linecap: round; stroke-dasharray: 1; }
.nbs-pivot__first { fill: none; stroke: var(--ink-sub); stroke-width: 3; stroke-linecap: round; stroke-dasharray: 1; opacity: .5; }
.nbs-pivot__miss circle { fill: var(--paper); stroke: var(--ink-sub); stroke-width: 1.5; }
.nbs-pivot__miss path { stroke: var(--ink-sub); stroke-width: 2.5; stroke-linecap: round; }
.nbs-pivot__turn { fill: none; stroke: var(--accent); stroke-width: 3.5; stroke-linecap: round; stroke-dasharray: 1; }
.nbs-pivot__goal, .nbs-talk__goal, .nbs-seg__tag { transform-box: fill-box; transform-origin: center; }

.can-draw .nbs-seg:not(.is-drawn) .nbs-seg__dot.is-in { fill: #d9dbe3; }
.can-draw .nbs-seg:not(.is-drawn) .nbs-seg__frame { stroke-dashoffset: 1; }
.can-draw .nbs-seg:not(.is-drawn) .nbs-seg__tag { opacity: 0; transform: translateY(8px); }
.can-draw .nbs-seg .nbs-seg__frame { transition: stroke-dashoffset 1s ease .2s; }
.can-draw .nbs-seg .nbs-seg__dot.is-in { transition: fill .4s ease calc(1s + var(--d) * .12s); }
.can-draw .nbs-seg .nbs-seg__tag { transition: opacity .5s ease 1.6s, transform .5s ease 1.6s; }

.can-draw .nbs-talk:not(.is-drawn) .nbs-talk__row--1 { opacity: 0; }
.can-draw .nbs-talk:not(.is-drawn) .nbs-talk__row--2 { opacity: 0; transform: translateY(10px); }
.can-draw .nbs-talk:not(.is-drawn) .nbs-talk__arrow { stroke-dashoffset: 1; }
.can-draw .nbs-talk:not(.is-drawn) .nbs-talk__goal { opacity: 0; transform: scale(.7); }
.can-draw .nbs-talk.is-drawn .nbs-talk__row--1 { animation: nbs-fade-dim 1.6s ease both; }
.can-draw .nbs-talk .nbs-talk__row--2 { transition: opacity .5s ease 1.4s, transform .5s ease 1.4s; }
.can-draw .nbs-talk .nbs-talk__arrow { transition: stroke-dashoffset .5s ease 2s; }
.can-draw .nbs-talk .nbs-talk__goal { transition: opacity .4s ease 2.4s, transform .4s cubic-bezier(.3, 1.6, .5, 1) 2.4s; }
@keyframes nbs-fade-dim { 0% { opacity: 0; } 30%, 60% { opacity: 1; } 100% { opacity: .6; } }

.can-draw .nbs-pivot:not(.is-drawn) :is(.nbs-pivot__first, .nbs-pivot__turn) { stroke-dashoffset: 1; }
.can-draw .nbs-pivot:not(.is-drawn) :is(.nbs-pivot__miss, .nbs-pivot__miss-text, .nbs-pivot__chip) { opacity: 0; }
.can-draw .nbs-pivot:not(.is-drawn) .nbs-pivot__goal { opacity: 0; transform: scale(.7); }
.can-draw .nbs-pivot .nbs-pivot__first { transition: stroke-dashoffset .8s ease .2s; }
.can-draw .nbs-pivot :is(.nbs-pivot__miss, .nbs-pivot__miss-text) { transition: opacity .4s ease 1s; }
.can-draw .nbs-pivot .nbs-pivot__chip { transition: opacity .4s ease 1.5s; }
.can-draw .nbs-pivot .nbs-pivot__turn { transition: stroke-dashoffset .9s ease 1.6s; }
.can-draw .nbs-pivot .nbs-pivot__goal { transition: opacity .4s ease 2.5s, transform .4s cubic-bezier(.3, 1.6, .5, 1) 2.5s; }

/* 締め：考える → 試す → 変える の輪を、点がまわり続ける */
.nbs-loop { max-width: 360px; margin: 0 auto; }
.nbs-loop__ring { fill: none; stroke: var(--accent); stroke-width: 2; stroke-dasharray: 2 8; stroke-linecap: round; }
.nbs-loop__runner { transform-origin: 160px 160px; }
@media (prefers-reduced-motion: no-preference) { .nbs-loop__runner { animation: nbs-orbit 6s linear infinite; } }
@keyframes nbs-orbit { to { transform: rotate(360deg); } }

/* 本：表紙と文章を左右に */
.explainer__book { display: grid; grid-template-columns: 200px minmax(0, 1fr); align-items: center; gap: 56px; }
.explainer__book .explainer__text { order: 2; }
.explainer__cover { display: block; width: 100%; height: auto; border-radius: 4px; box-shadow: 0 18px 40px rgba(0, 0, 0, .18); transform: rotate(-3deg); }
@media (max-width: 600px) { .explainer__book { grid-template-columns: 1fr; gap: 32px; } .explainer__book .explainer__text { order: 0; } .explainer__cover { width: 150px; } }

/* ---------- 先輩の声：最後の見直し（2026-10-30） ---------- */
/* 上：人数と都府県の数を横に並べる（学年の内訳は下の絞り込みボタンに出ている） */
.voices-intro__stats { display: flex; gap: 48px; margin: 8px 0 0; }
.voices-intro__stats dt { color: var(--ink-sub); font-size: var(--fs-label); font-weight: 700; }
.voices-intro__stats dd { margin: 4px 0 0; font-size: var(--fs-lead); font-weight: 700; }
.voices-intro__stats .num { margin-right: 4px; font-size: 64px; line-height: 1; color: var(--accent); }
.voices-intro--light { padding-bottom: 48px; }
.voices-list { padding-top: 48px; }
/* 写真もツールもない先輩：写真の場所に、応募する人へのひとこと */
.voice-card__media--quote { position: relative; display: flex; align-items: center; aspect-ratio: 16 / 10; padding: 28px 28px 20px 56px; background: var(--gray); }
.voice-card__media--quote::before { content: "“"; position: absolute; left: 20px; top: 8px; font-family: var(--font-en); font-size: 72px; font-weight: 900; line-height: 1; color: var(--accent); }
.voice-card__quote { font-size: var(--fs-lead); font-weight: 700; line-height: 1.7; color: var(--ink); display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }
/* ツールの画面は切らずに全体を見せる */
.voice-card--tool .voice-card__media--screen img { object-fit: contain; object-position: left center; }
@media (max-width: 760px) {
  .voices-intro__stats { gap: 32px; }
  .voices-intro__stats .num { font-size: 48px; }
  .voices-map--fit { max-height: none; }
  .voices-intro__map { margin-top: 8px; }
}
/* 上：見出しを上にそろえ、地図は少し小さく */
@media (min-width: 761px) {
  .voices-intro__inner:has(.voices-map__svg) { align-items: start; }
  .voices-intro__inner:has(.voices-map__svg) > div:first-child { padding-top: 64px; }
  .voices-map--fit { max-height: min(560px, calc(100svh - 200px)); }
}
/* ツールのカード：画面のうしろに少し明るい面を敷いて、画面がのっているように見せる */
.voice-card--tool .voice-card__media--screen { display: flex; align-items: center; justify-content: center; margin: 24px 0 24px 24px; padding: 20px; border-radius: 10px; background: #1f1f26; }
.voice-card--tool .voice-card__media--screen img { height: auto; max-height: 100%; }
@media (max-width: 760px) {
  .voice-card--tool .voice-card__media--screen { margin: 16px 16px 0; padding: 14px; }
}

/* =========================================================
   記事3本の見直し（2026-10-30）：①新規事業とは ②ふつうの営業との違い ③AI時代に大事なこと
   ========================================================= */
/* タイトルの上に、記事の問い（teaser） */
.explainer__q { font-size: var(--fs-small); font-weight: 700; color: var(--accent); }
.explainer__q + .explainer__title { margin-top: 12px; }
/* 3本とも、明るい地のファーストビューで右に絵（PCは1：1、900px以下は縦に） */
@media (min-width: 901px) { .explainer__hero--light .explainer__hero-inner.has-art { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } }
@media (max-width: 900px) { .explainer__hero--light .explainer__hero-inner.has-art { grid-template-columns: 1fr; } .explainer__hero--light .explainer__hero-art { max-width: none; } }
.explainer__hero--light .explainer__hero-inner.has-art .explainer__title { font-size: clamp(28px, 3.4vw, 46px); }

/* ① ファーストビューの絵：いまの事業 / 新規事業（「？」が順に点滅） */
.nb-define .nb-define__label { font-size: 20px; font-weight: 900; }
.nb-define__new { stroke: var(--accent); stroke-width: 2; stroke-dasharray: 6 6; }
.nb-define__q { transform-box: fill-box; transform-origin: center; }
@media (prefers-reduced-motion: no-preference) { .nb-define__q { animation: nb-q 3.6s ease-in-out infinite; animation-delay: calc(var(--i) * .5s); } }
@keyframes nb-q { 0%, 60%, 100% { transform: scale(1); } 70% { transform: scale(1.25); } 80% { transform: scale(.95); } }
@media (max-width: 600px) { .figure .nb-define .fig-item { font-size: 17px; } .figure .nb-define .fig-small { font-size: 15px; } .nb-define .nb-define__label { font-size: 22px; } }

/* ① 営業で確かめる：見えたら、1→2→3 と出て、矢印を引き、最後に関門 */
.nb-check { max-width: 380px; margin: 0 auto; }
.nb-check__arrow { fill: none; stroke: var(--accent); stroke-width: 2.5; stroke-dasharray: 1; }
.can-draw .nb-check:not(.is-drawn) .nb-check__step { opacity: 0; transform: translateY(10px); }
.can-draw .nb-check:not(.is-drawn) .nb-check__arrow { stroke-dashoffset: 1; }
.can-draw .nb-check:not(.is-drawn) .nb-check__gate { opacity: 0; }
.can-draw .nb-check .nb-check__step { transition: opacity .4s ease calc(var(--i) * .5s), transform .4s ease calc(var(--i) * .5s); }
.can-draw .nb-check .nb-check__arrow { transition: stroke-dashoffset .3s ease calc(var(--i) * .5s + .35s); }
.can-draw .nb-check .nb-check__gate { transition: opacity .5s ease 1.7s; }

/* ② 壁の絵の文字：スマホで13px以上になるように大きく */
.figure .nbs-wall .fig-small { font-size: 15px; }
.figure .nbs-wall .fig-item { font-size: 16px; }
.figure .nbs-wall .fig-muted { fill: #5a5a63; }

/* ③ ファーストビューの絵 hero-ask を明るい地に（もとは黒地用の色） */
.explainer__hero--light .hero-ask .ha-card { fill: var(--paper); stroke: var(--line); }
.explainer__hero--light .hero-ask .ha-label { font-size: 16px; fill: var(--ink-sub); }
.explainer__hero--light .hero-ask .ha-me { fill: var(--gray); }
.explainer__hero--light .hero-ask .ha-text { font-size: 15px; fill: var(--ink); }
.explainer__hero--light .hero-ask .ha-bubble { stroke: #c9cbd3; }
.explainer__hero--light .hero-ask .ha-muted { font-size: 15px; fill: #6e6e78; }
.explainer__hero--light .hero-ask .ha-cue { font-size: 16px; fill: var(--accent); }
.explainer__hero--light .hero-ask .ha-arrow { stroke: var(--accent); }
.explainer__hero--light .hero-ask .ha-ai { fill: var(--accent); }
.explainer__hero--light .hero-ask .ha-ink { fill: var(--paper); }
.explainer__hero--light .hero-ask .ha-label-on { font-size: 16px; }
.explainer__hero--light .hero-ask .ha-voice { font-size: 19px; }
.explainer__hero--light .hero-ask .ha-note { font-size: 13px; }

/* 次に読む（①→②→③）。最後の記事は「仕事内容」へ */
.next-read { padding: 56px 0; background: var(--paper); }
.next-read__card { display: grid; grid-template-columns: 220px minmax(0, 1fr) auto; align-items: center; gap: 32px; padding: 24px 32px 24px 24px; border-radius: 20px; background: var(--black); color: var(--paper); text-decoration: none; transition: transform .2s; }
.next-read__card:hover { transform: translateY(-3px); }
.next-read__card--end { grid-template-columns: minmax(0, 1fr) auto; padding-left: 32px; }
.next-read__thumb { display: block; padding: 16px; border-radius: 14px; background: var(--paper); }
.next-read__body > span { display: block; }
.next-read__label { font-size: var(--fs-label); font-weight: 700; color: var(--on-dark-sub); }
.next-read__q { margin-top: 8px; font-size: var(--fs-h3); font-weight: 900; line-height: 1.5; }
.next-read__title { margin-top: 4px; font-size: var(--fs-small); color: var(--on-dark-sub); }
.next-read__card .btn__icon { background: var(--accent); }
@media (max-width: 700px) {
  .next-read__card { grid-template-columns: minmax(0, 1fr) auto; gap: 16px; padding: 20px; }
  .next-read__thumb { grid-column: 1 / -1; }
}

/* 記事の小さな絵（一覧のタイル・次に読む・ほかの記事）。カーソルを乗せると青い線を引き直す */
.thumb { display: block; width: 100%; height: auto; overflow: visible; }
.thumb__base { stroke: var(--line); stroke-width: 1.5; }
.thumb__line { fill: none; stroke: var(--accent); stroke-width: 4; stroke-linecap: round; stroke-dasharray: 1; }
.thumb__road { stroke: var(--ink); stroke-width: 3; }
.thumb__pole { stroke: var(--ink); stroke-width: 2.5; }
.thumb__ink { fill: var(--ink); }
.thumb__accent { fill: var(--accent); }
.thumb__soft { fill: var(--gray); }
.thumb__gray { fill: #c9cbd3; }
.thumb__white { fill: var(--paper); }
.thumb__voice { font-family: var(--font-ja); font-size: 17px; font-weight: 900; fill: var(--ink); }
.thumb__miss-line { fill: none; stroke: var(--accent); stroke-width: 2.5; opacity: .25; }
.thumb__miss circle { fill: var(--paper); stroke: var(--ink-sub); stroke-width: 1.5; }
.thumb__miss path { stroke: var(--ink-sub); stroke-width: 2; stroke-linecap: round; }
@media (prefers-reduced-motion: no-preference) {
  :is(.article-tile, .next-read__card, .article-card):hover .thumb__line { animation: thumb-draw .9s ease; }
}
@keyframes thumb-draw { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }

/* 記事一覧のタイル：上に絵。スマホは横スワイプをやめて縦に並べる */
.article-tile__thumb { display: block; margin: -4px -2px 20px; padding: 18px 16px; border-radius: 10px; background: var(--gray); }
.article-tile .article-tile__q { margin-top: 12px; }
@media (max-width: 1100px) {
  .tiles--article { grid-auto-flow: row; grid-template-columns: repeat(3, minmax(0, 1fr)); grid-auto-columns: auto; overflow: visible; }
}
@media (max-width: 768px) {
  .tiles--article { grid-template-columns: 1fr; grid-auto-columns: auto; padding: 0 20px; }
  .tiles--article .tile { min-height: 0; }
}

/* ほかの記事のカード：上に絵、問いを大きく */
.article-card__thumb { display: block; margin-bottom: 16px; padding: 14px; border-radius: 10px; background: var(--gray); }

/* 山の図（stage-gate-7）を記事のふつうのブロックに置いたときも、明るい地の色に（2026-10-30 ファーストビュー下から本文へ移した） */
.explainer__block .figure__scroll:has(.sg-mountain) { padding: 32px; border-radius: var(--radius); background: var(--paper); }
@media (max-width: 600px) { .explainer__block .figure__scroll:has(.sg-mountain) { padding: 16px 12px; } }
.explainer__block .sg-mountain { fill: #e8ecf8; }
.explainer__block .sg-ridge { stroke: var(--ink-sub); }
.explainer__block .sg-gate { stroke: var(--ink); }
.explainer__block .sg-num { fill: #9aa0ae; }
.explainer__block .sg-phase { stroke: #c9cfdc; }
.explainer__block .sg-bracket { stroke: var(--accent); }
.explainer__block .sg-ridge-accent { stroke: var(--accent); }
.explainer__block .figure text.sg-label { fill: var(--ink); }
.explainer__block .figure text.sg-accent-text { fill: var(--accent); }
.explainer__block .figure text.sg-phase-text,
.explainer__block .figure text.sg-legend { fill: var(--ink-sub); }

/* ---------- 関東・関西のページ：ふだん（写真・シフト・授業・雰囲気を1つのタイルに。2026-10-30） ---------- */
.office-daily .head { margin-bottom: 32px; }
.daily { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); grid-auto-rows: minmax(0, auto); gap: 12px; }
.daily__photo { margin: 0; overflow: hidden; border-radius: var(--radius); background: var(--gray); min-height: 240px; }
.daily__photo img { display: block; width: 100%; height: 100%; object-fit: cover; }
.daily__photo--main { grid-column: span 2; aspect-ratio: 16 / 9; }
.daily__card { display: flex; flex-direction: column; gap: 12px; padding: 28px; border-radius: var(--radius); background: var(--gray); }
.daily__card--shift { background: var(--paper); border: 1px solid var(--line); }
.daily__card--dark { background: var(--black); color: var(--on-dark); }
.daily__label { margin: 0; font-size: var(--fs-label); font-weight: 700; color: var(--accent); }
.daily__card--dark .daily__label { color: var(--accent-light); }
.daily__big { margin: 0; font-family: var(--font-en); font-size: clamp(36px, 3.6vw, 48px); font-weight: 900; line-height: 1.1; }
.daily__big span { margin: 0 4px; font-size: .6em; color: var(--ink-sub); }
.daily__lead { margin: 0; font-size: var(--fs-h3); font-weight: 900; line-height: 1.5; }
.daily__text, .daily__note { margin: 0; font-size: var(--fs-small); line-height: 1.7; color: var(--ink-sub); }
.daily__quotes { display: flex; flex-direction: column; gap: 16px; margin: 4px 0 0; padding: 0; list-style: none; }
.daily__quotes li { padding-top: 16px; border-top: 1px solid var(--line); }
.daily__card--dark .daily__quotes li { border-color: var(--line-dark); }
.daily__quote { margin: 0; font-weight: 700; line-height: 1.7; }
.daily__quote::before { content: "“"; margin-right: 4px; color: var(--accent); font-family: var(--font-en); }
.daily__who { display: inline-block; margin-top: 6px; font-size: var(--fs-label); color: var(--ink-sub); text-decoration: none; }
.daily__card--dark .daily__who { color: var(--on-dark-sub); }
.daily__who::after { content: " →"; }
.daily__who:hover { color: var(--accent); }
.daily__more { margin: 24px 0 0; text-align: right; font-size: var(--fs-small); font-weight: 700; }
.daily__more a::after { content: " →"; }
/* 1日の帯（9時〜18時） */
.daybar { margin-top: 8px; }
.daybar__track { display: grid; grid-template-columns: repeat(9, minmax(0, 1fr)); height: 40px; border-radius: 8px; background: var(--gray); }
.daybar__block { grid-row: 1; display: flex; align-items: center; justify-content: center; border-radius: 8px; font-size: 12px; font-weight: 700; white-space: nowrap; }
.daybar__block--class { background: #d9d9df; color: var(--ink); }
.daybar__block--work { background: var(--accent); color: #fff; }
/* 9時＝1列目の始まり、18時＝9列目の終わり */
.daybar__from-9 { grid-column-start: 1; } .daybar__from-10 { grid-column-start: 2; } .daybar__from-11 { grid-column-start: 3; } .daybar__from-12 { grid-column-start: 4; } .daybar__from-13 { grid-column-start: 5; } .daybar__from-14 { grid-column-start: 6; } .daybar__from-15 { grid-column-start: 7; } .daybar__from-16 { grid-column-start: 8; } .daybar__from-17 { grid-column-start: 9; }
.daybar__to-10 { grid-column-end: 2; } .daybar__to-11 { grid-column-end: 3; } .daybar__to-12 { grid-column-end: 4; } .daybar__to-13 { grid-column-end: 5; } .daybar__to-14 { grid-column-end: 6; } .daybar__to-15 { grid-column-end: 7; } .daybar__to-16 { grid-column-end: 8; } .daybar__to-17 { grid-column-end: 9; } .daybar__to-18 { grid-column-end: 10; }
.daybar__scale { display: flex; justify-content: space-between; margin-top: 4px; font-family: var(--font-en); font-size: 12px; color: var(--ink-sub); }

/* 関東と関西で、ひとつのチーム：最新のイベント＋東西の言葉 */
.office-team .cross { margin: 40px 0; }
.office-team__grid { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 32px; align-items: start; }
.office-team__grid .daily__quotes li { border-color: #d4d4da; }
.event-teaser { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); overflow: hidden; border-radius: var(--radius); background: var(--paper); color: inherit; text-decoration: none; transition: box-shadow .2s; }
.event-teaser:hover { box-shadow: 0 10px 30px rgba(0, 0, 0, .1); }
.event-teaser__img img { display: block; width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4 / 3; }
.event-teaser__body { display: flex; flex-direction: column; gap: 10px; padding: 24px; }
.event-teaser__date { font-family: var(--font-en); font-size: var(--fs-small); font-weight: 700; color: var(--accent); }
.event-teaser__title { font-size: var(--fs-h3); font-weight: 900; line-height: 1.5; }
.event-teaser__facts { display: flex; flex-direction: column; gap: 4px; font-size: var(--fs-small); color: var(--ink-sub); }
.event-teaser__facts b { margin-right: 6px; font-size: 20px; color: var(--ink); }
.event-teaser__more { margin-top: auto; font-size: var(--fs-small); font-weight: 700; color: var(--accent); }
.event-teaser__more::after { content: " →"; }

/* この地域の大学の先輩（リンクだけ） */
.office-local__list { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 8px; margin: 0; padding: 0; list-style: none; }
.office-local__list--wide { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.office-local__list a { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; padding: 16px 18px; border: 1px solid var(--line); border-radius: 10px; background: var(--paper); color: var(--ink); font-weight: 700; text-decoration: none; transition: border-color .2s, color .2s; }
.office-local__list a::after { content: "→"; color: var(--accent); }
.office-local__list a:hover { border-color: var(--accent); color: var(--accent); }
.office-local__list small { margin-left: auto; font-size: var(--fs-label); font-weight: 400; color: var(--ink-sub); }

.office-local__school { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 12px; padding: 14px 18px; border: 1px solid var(--line); border-radius: 10px; background: var(--paper); font-weight: 700; }
.office-local__grades { display: flex; flex-wrap: wrap; gap: 6px; }
.office-local__list .office-local__grades a { display: inline-block; padding: 4px 10px; border: 1px solid var(--line); border-radius: 999px; font-size: var(--fs-label); }
.office-local__list .office-local__grades a::after { content: none; }

/* ---------- イベント（events.html） ---------- */
.events-hero { padding-bottom: 0; }
.event__head { max-width: var(--narrow); }
.event__date { margin: 0 0 8px; font-family: var(--font-en); font-size: clamp(20px, 2vw, 26px); font-weight: 900; color: var(--accent); }
.event__title { margin: 0; font-size: var(--fs-h1); font-weight: 900; line-height: 1.4; }
.event__lead { margin: 16px 0 0; font-size: var(--fs-lead); line-height: 1.9; }
.event__facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin: 40px 0 0; padding: 0; list-style: none; border-top: 2px solid var(--ink); }
.event__facts li { display: flex; flex-direction: column; gap: 4px; padding: 24px 24px 24px 0; border-bottom: 1px solid var(--line); }
.event__facts li + li { padding-left: 24px; border-left: 1px solid var(--line); }
.event__facts b { font-size: clamp(28px, 3vw, 40px); font-weight: 900; line-height: 1.2; }
.event__facts span { font-size: var(--fs-small); color: var(--ink-sub); }
.photo-notice { display: block; margin: 8px 0 0; font-size: 12px; line-height: 1.6; font-weight: 400; color: var(--ink-sub); }  /* 5/29 の写真の注意書き */
.event__photos { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin-top: 40px; }
.event__photo { margin: 0; overflow: hidden; border-radius: var(--radius); background: var(--gray); }
.event__photo img { display: block; width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4 / 3; }
.event__photo--main { grid-column: span 2; grid-row: span 2; }
/* 7枚のとき：大1＋小4で2段、残り2枚を横長にして3段目を埋める */
.event__photos--7 .event__photo:nth-child(n+6) { grid-column: span 2; }
.event__photos--7 .event__photo:nth-child(n+6) img { aspect-ratio: 16 / 9; }

@media (max-width: 1000px) {
  .daily { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .daily__photo--main { grid-column: 1 / -1; }
  .office-team__grid { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  .daily { grid-template-columns: 1fr; }
  .daily__photo { min-height: 0; aspect-ratio: 4 / 3; }
  .daily__photo--main { aspect-ratio: 4 / 3; }
  .daily__card { padding: 22px 20px; }
  .event-teaser { grid-template-columns: 1fr; }
  .office-local__list, .office-local__list--wide { grid-template-columns: 1fr; }
  .event__facts { grid-template-columns: 1fr; }
  .event__facts li + li { padding-left: 0; border-left: 0; }
  .event__facts li { padding: 16px 0; flex-direction: row; align-items: baseline; gap: 12px; }
  .event__photos { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .event__photo--main { grid-row: auto; }
  .event__photos--7 .event__photo:nth-child(n+6) { grid-column: auto; }
  .event__photos--7 .event__photo:nth-child(n+6) img { aspect-ratio: 4 / 3; }
}
