/* =========================================================
   下層ページ（仕事内容・成長ステップ・就活サポート・先輩の声の個別ページ）の追加分
   2026-10-30 追加。色・文字の大きさは style.css の :root の変数を使う
   templates/base.html で style.css・ui.css のあとに読み込む
   ========================================================= */

/* ---------- 仕事内容：どんな営業をするのか（templates/sections/work-types.html） ---------- */
.wtypes__inner { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 32px 72px; align-items: start; }
.wtypes__intro .head { margin-bottom: 24px; }
.wtypes__define { font-size: var(--fs-lead); font-weight: 500; line-height: 2; }
.wtypes__goods { margin-top: 20px; color: var(--ink-sub); line-height: 1.9; }
.wtypes__quote { margin: 16px 0 0; padding-left: 16px; border-left: 3px solid var(--accent); }
.wtypes__quote blockquote { margin: 0; }
.wtypes__quote blockquote p { font-size: var(--fs-small); font-weight: 500; line-height: 1.8; }
.wtypes__quote figcaption { margin-top: 4px; font-size: var(--fs-label); color: var(--ink-sub); }
.wtypes__quote figcaption a { color: inherit; }
.wtypes__list { margin: 0; border-top: 1px solid var(--line); }
.wtypes__item { display: grid; grid-template-columns: 200px minmax(0, 1fr); gap: 8px 32px; padding: 28px 0; border-bottom: 1px solid var(--line); }
.wtypes__name { font-size: var(--fs-h3); font-weight: 900; line-height: 1.5; }
.wtypes__how { display: block; margin-top: 4px; font-size: var(--fs-small); font-weight: 700; color: var(--accent); }
.wtypes__body { margin: 0; }
.wtypes__body > p { line-height: 1.9; }
.wtypes__next { grid-column: 2; font-size: var(--fs-small); font-weight: 700; color: var(--ink-sub); }
@media (max-width: 960px) {
  .wtypes__inner { grid-template-columns: 1fr; }
  .wtypes__next { grid-column: 1; }
}
@media (max-width: 760px) {
  .wtypes__item { grid-template-columns: 1fr; padding: 24px 0; }
  .wtypes__define { line-height: 1.9; }
}

/* ---------- 成長ステップ：先輩の例（templates/sections/growth.html） ---------- */
.growth__example { margin: -32px 0 40px; font-size: var(--fs-small); font-weight: 500; color: var(--ink-sub); }
.growth__example a, .growth__skill-voice a { margin-left: 8px; color: var(--ink-sub); white-space: nowrap; }
.growth__skill-voice { display: block; margin-top: 6px; font-size: var(--fs-small); font-weight: 400; color: var(--ink-sub); line-height: 1.8; }
@media (max-width: 760px) { .growth__example { margin-top: -20px; } }

/* ---------- 就活サポート（templates/sections/voices-career.html・career-gakuchika.html） ---------- */
.voices-career__flow .flow__text { margin-top: 12px; }
.career-gk__ex { display: block; margin-top: 10px; font-size: var(--fs-small); font-weight: 500; line-height: 1.7; opacity: .9; }
.career-gk__ex a { margin-left: 8px; color: inherit; white-space: nowrap; }
.career-gk__quote { margin: 40px 0 0; max-width: 760px; padding-left: 20px; border-left: 3px solid var(--accent); }
.career-gk__quote blockquote { margin: 0; }
.career-gk__quote blockquote p { font-size: var(--fs-lead); font-weight: 700; line-height: 1.8; }
.career-gk__quote figcaption { margin-top: 6px; font-size: var(--fs-small); color: var(--ink-sub); }
.career-gk__quote figcaption a { color: inherit; }

/* ---------- 先輩の声の個別ページ：働き方と応募の案内（templates/voice.html） ---------- */
.voice-next { margin-top: 32px; padding: 32px 36px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--paper); }
.voice-next__label { font-size: var(--fs-label); font-weight: 900; letter-spacing: .1em; color: var(--accent); }
.voice-next__title { margin-top: 8px; font-size: var(--fs-h3); font-weight: 900; line-height: 1.5; }
.voice-next__text { margin-top: 8px; font-size: var(--fs-small); color: var(--ink-sub); }
.voice-next__text:empty { display: none; }
.voice-next__links { display: flex; flex-wrap: wrap; gap: 8px 24px; margin: 16px 0 0; padding: 0; list-style: none; font-size: var(--fs-small); font-weight: 700; }
.voice-next__links a { color: var(--ink); }
.voice-next .actions { margin-top: 20px; justify-content: flex-start; }
@media (max-width: 760px) {
  .voice-next { padding: 24px 20px; }
  .voice-next__links { flex-direction: column; }
}

/* 関東・関西：主要な駅からの行き方（2026-10-30） */
.office-access { display: grid; gap: 8px; margin: 24px 0 0; }
.office-access > div { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 16px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.office-access dt { min-width: 9em; font-weight: 900; }
.office-access dd { margin: 0; }

/* 特徴ページ（templates/sections/features-detail.html。2026-11-02）
   実物ごとに形を変える。カード・丸番号・青い強調語は使わない。動かない */
/* 次のセクションの本文（テレアポの語）が最初の画面に入らない高さにする */
.fw-hero.section { padding: 20px 0 44px; }
.fw-hero__title { margin: 0; font-size: min(var(--fs-display), 40px); font-weight: 900; line-height: 1.3; word-break: keep-all; overflow-wrap: anywhere; }
.fw-hero__title span { display: block; }
.fw-hero__lead { margin: 14px 0 0; font-size: var(--fs-lead); line-height: 1.8; }
.fw-team__photos img { display: block; width: 100%; height: auto; }
.fw-team__caption { margin: 10px 0 0; font-size: var(--fs-label); color: var(--ink-sub); }

/* 比較：左はよくある形、右がMarchOn。右の列だけ青い線と太字 */
.fw-cmp { width: 100%; margin-top: 16px; border-collapse: collapse; table-layout: fixed; word-break: keep-all; overflow-wrap: anywhere; }
.fw-cmp thead th { padding: 0 24px 10px; font-size: var(--fs-small); font-weight: 700; line-height: 1.5; text-align: left; color: var(--ink-sub); }
.fw-cmp thead th:last-child { color: var(--accent); font-weight: 900; }
.fw-cmp thead td { width: 9em; }
.fw-cmp thead th:nth-child(2) { width: 34%; }
.fw-cmp tbody tr { border-top: 1px solid var(--line); }
.fw-cmp tbody tr:first-child { border-top: 2px solid var(--ink); }
.fw-cmp tbody tr:last-child { border-bottom: 1px solid var(--line); }
.fw-cmp tbody th { padding: 11px 0; font-size: var(--fs-small); font-weight: 700; line-height: 1.6; text-align: left; vertical-align: middle; }
.fw-cmp td { padding: 11px 24px; vertical-align: middle; word-break: keep-all; overflow-wrap: anywhere; }
.fw-gk .fw-h2 { word-break: keep-all; overflow-wrap: anywhere; }
.fw-cmp__common { line-height: 1.6; color: var(--ink-sub); }
.fw-cmp__ours { position: relative; font-size: var(--fs-h3); font-weight: 900; line-height: 1.5; }
.fw-cmp__ours::before { content: ""; position: absolute; top: 12px; bottom: 12px; left: 0; width: 3px; background: var(--accent); }
.fw-cmp__note { margin: 10px 0 0; font-size: var(--fs-label); color: var(--ink-sub); }
/* 動き：行ごとに、よくある形 → 青い線 → MarchOn の順に出る。1回だけ */
@media (prefers-reduced-motion: no-preference) {
  .fw-cmp tbody tr { --d: .2s; }
  .fw-cmp tbody tr:nth-child(2) { --d: .8s; }
  .fw-cmp tbody tr:nth-child(3) { --d: 1.4s; }
  .fw-cmp__common { animation: fw-cmp-fade .3s ease var(--d) both; }
  .fw-cmp__ours { animation: fw-cmp-wipe .5s ease-out calc(var(--d) + .2s) both; }
  .fw-cmp__ours::before { transform-origin: 50% 0; animation: fw-cmp-bar .3s ease-out calc(var(--d) + .2s) both; }
}
@keyframes fw-cmp-fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes fw-cmp-wipe { from { clip-path: inset(0 100% 0 0); } to { clip-path: inset(0 0 0 0); } }
@keyframes fw-cmp-bar { from { transform: scaleY(0); } to { transform: none; } }

.fw-eyebrow { margin: 0 0 8px; font-size: var(--fs-small); font-weight: 700; color: var(--accent); }

.fw-h2 { margin: 0; font-size: var(--fs-h2); font-weight: 900; line-height: 1.45; }
.fw-prose p { margin: 0; line-height: 1.95; }
.fw-prose p + p { margin-top: 16px; }
.fw-prose a { text-decoration: underline; text-underline-offset: 3px; }
.fw-prose .fw-links { display: flex; flex-wrap: wrap; gap: 8px 28px; margin-top: 24px; }
.fw-link { font-weight: 700; text-decoration: underline; text-underline-offset: 4px; }
.fw-link .btn__icon { display: none; }

.fw-count__head { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 64px; }
.fw-count__sheet { max-width: 920px; margin: 40px 0 0 auto; }
.fw-count__sheet img { display: block; width: 100%; height: auto; border: 1px solid var(--line); }
.fw-count__sheet figcaption { margin-top: 10px; font-size: var(--fs-label); color: var(--ink-sub); }
.fw-count__sheet + .fw-gk__list { margin-top: 28px; }

.fw-made__inner { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); align-items: start; gap: 48px; margin-top: 28px; }
.fw-made__shot { margin: 0; }
.fw-made__shot img { display: block; width: 100%; height: auto; border: 1px solid var(--line); }

.fw-gk__sub { margin: 36px 0 0; font-size: var(--fs-h3); font-weight: 900; line-height: 1.5; }
.fw-gk__list { margin: 16px 0 0; padding: 0; list-style: none; border-top: 2px solid var(--ink); }
.fw-gk__list li { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); align-items: baseline; gap: 40px; padding: 32px 0; border-bottom: 1px solid var(--line); }
.fw-gk__did { margin: 0; font-size: clamp(21px, 2.3vw, 26px); font-weight: 900; line-height: 1.5; }
.fw-gk__how { margin: 0; font-size: var(--fs-small); line-height: 1.85; }
.fw-gk__how a { display: block; margin-top: 4px; color: var(--ink-sub); text-decoration: underline; text-underline-offset: 3px; }
.fw-gk__after { margin-top: 32px; max-width: 44em; }

.fw-team__photos { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.fw-team__text { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 56px; margin-top: 40px; }

@media (max-width: 960px) {
  .fw-count__head, .fw-made__inner, .fw-team__text { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .fw-gk__list li { grid-template-columns: minmax(0, 1fr); gap: 10px; }
}
@media (max-width: 768px) {
  .fw-hero.section { padding: 16px 0 36px; }
  .fw-hero__lead { margin-top: 12px; }
  /* 比較：スマホでは1行ずつ縦に。列の見出しは各セルの上に出す */
  .fw-cmp, .fw-cmp tbody, .fw-cmp tr, .fw-cmp tbody th, .fw-cmp td { display: block; width: auto; }
  .fw-cmp { margin-top: 16px; }
  .fw-cmp thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .fw-cmp tbody tr { padding: 12px 0; }
  .fw-cmp tbody th { padding: 0 0 4px; font-size: var(--fs-small); font-weight: 900; }
  .fw-cmp td { padding: 0; }
  .fw-cmp__common { font-size: var(--fs-small); }
  .fw-cmp td.fw-cmp__ours { margin-top: 8px; padding-left: 14px; box-shadow: inset 3px 0 0 var(--accent); }
  .fw-cmp td[data-head]::before { content: attr(data-head); display: block; font-size: var(--fs-label); font-weight: 700; color: var(--ink-sub); }
  .fw-cmp__ours[data-head]::before { position: static; width: auto; background: none; color: var(--accent); transform: none; animation: none; }
  .fw-team__photos { grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); }
  .fw-team__photos img { height: 100%; object-fit: cover; }
  .fw-team__photos img:first-child { grid-row: span 2; }
  .fw-count__sheet { margin-top: 32px; }
  .fw-gk__sub { margin-top: 32px; }
  .fw-gk__list li { padding: 24px 0; }
  .fw-team__text { margin-top: 32px; }
}
