/* ==========================================================================
   TERRAISE トップ（/）— top-hybrid.css（案A「信用」× 案B「提案力の体験」のハイブリッド・2026-09-26）
   数値の正本は ROOT/DESIGN.md。トークン・ボタン・ヘッダー・フッターは main.css。ここはトップの部品だけ（接頭辞 tp-）
   由来: ヒーロー・社名帯・体験（提案メモ）・提案の軌跡 = 案B（_archive/proposals/css/proposal-b.css）
         台帳・中盤の相談・数字1つ・人・掲載・事業・締め = 案A（同 proposal-a.css）を1本の言語に整理
   動くのは 3 か所: ヒーローの映像（.tp-hero__film）／提案メモの図（.tp-fig）／01 のビフォーアフター（main.css .ba-cmp・1回＋操作）。軌跡の線は静止
   html.film-on = 映像を再生する環境（reduced-motion・MOTION OFF・データ節約では付かない）
   ========================================================================== */

.page-top { --section: clamp(88px, 9vw, 136px); }
.page-top .tone-paper { background: var(--paper); }
.page-top main p { text-wrap: pretty; }

/* ---------- 共通: 章ラベル・見出し・数字 ---------- */
.tp-label { display: flex; align-items: center; flex-wrap: wrap; gap: 6px .9em; margin: 0 0 16px; font-size: var(--text-label); line-height: 1.4; color: var(--cyan-deep); }
.tp-label::before { content: ""; width: 24px; height: 1px; background: currentColor; flex: none; }
.tp-label__en { font-family: var(--font-mono); font-weight: 500; letter-spacing: var(--tracking-label); text-transform: uppercase; }
.tp-label__ja { color: var(--text-2); font-weight: 500; letter-spacing: .08em; }
.tp-label__ja::before { content: "—"; margin-right: .8em; opacity: .5; }
.tp-label--ink, .tp-label--ink .tp-label__ja { color: var(--ink); }
.tp-label--dark { color: var(--lt); }
.tp-label--dark .tp-label__ja { color: var(--text-on-dark-2); }

.tp-h2 { font-size: clamp(30px, 1.1rem + 2.2vw, 50px); font-weight: 700; line-height: 1.25; letter-spacing: var(--tracking-heading); }
.tp-head { max-width: 44rem; margin-bottom: clamp(40px, 5vw, 64px); }
.tp-head__lead { margin-top: 20px; max-width: 34em; color: var(--text-2); font-size: var(--text-body); line-height: 1.9; }
.tp-head__lead strong { color: var(--ink); }
.tp-head--row { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 24px 64px; align-items: end; max-width: none; }
.tp-head--row .tp-head__lead { margin-top: 0; }
.tp-head .link-arrow { margin-top: 24px; }
.page-top .num { font-family: var(--font-en); font-feature-settings: "tnum"; }
.page-top .num__unit { font-family: var(--font-ja); font-weight: 700; font-size: .4em; margin-left: .12em; letter-spacing: 0; }
.page-top .num__pre { font-family: var(--font-ja); font-size: .36em; font-weight: 700; margin-right: .2em; letter-spacing: 0; }
.page-top .link-arrow { font-size: 14px; }
.tone-navy .btn--ghost { color: #fff; border-color: rgba(255,255,255,.45); --btn-wipe: #fff; }
.tone-navy .btn--ghost:hover, .tone-navy .btn--ghost:focus-visible { color: var(--ink); border-color: #fff; }
.page-top .btn__arrow { flex: none; }

/* ==========================================================================
   00 ヒーロー（案B: 業種中立の問い → 答え）
   ========================================================================== */
.tp-hero { position: relative; display: flex; flex-direction: column; min-height: 100vh; min-height: 100svh; isolation: isolate; }
.tp-hero__screen { position: relative; flex: 1; display: flex; align-items: flex-end; padding: calc(var(--header-h) + 88px) 0 clamp(72px, 10vh, 104px); overflow: hidden; }
.tp-hero__grid {
  position: absolute; inset: 0; pointer-events: none; opacity: .5;
  background: linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px) 0 0 / 100% 20%;
  -webkit-mask-image: linear-gradient(180deg, transparent, #000 25%, #000 75%, transparent); mask-image: linear-gradient(180deg, transparent, #000 25%, #000 75%, transparent);
}
.tp-hero__content { position: relative; z-index: 1; }
.tp-hero__kicker { display: inline-flex; align-items: center; gap: .9em; color: var(--lt); margin-bottom: 28px; }
.tp-hero__kicker::before { content: ""; width: 24px; height: 1px; background: currentColor; }
.tp-hero__title { font-weight: 900; line-height: 1.1; letter-spacing: var(--tracking-display); text-wrap: initial; }
.tp-hero__q { display: block; margin-left: -.5em; font-size: clamp(22px, .9rem + 1.8vw, 40px); line-height: 1.4; font-weight: 700; color: var(--text-on-dark-2); letter-spacing: var(--tracking-heading); }
.tp-hero__main { display: block; margin-top: .06em; font-size: clamp(56px, 1rem + 8.4vw, 144px); color: #fff; }
.tp-hero__main em { font-style: normal; color: var(--cyan); }
.tp-hero__foot { display: grid; grid-template-columns: minmax(0, 36em) minmax(0, 400px); justify-content: space-between; gap: 24px clamp(32px, 5vw, 80px); align-items: end; margin-top: 40px; }
.tp-hero__lead { font-size: var(--text-lead); line-height: 1.8; font-weight: 500; letter-spacing: var(--tracking-lead); color: var(--text-on-dark-2); }
.tp-hero__lead strong { color: #fff; font-weight: 700; }
.tp-hero__cta { display: flex; flex-direction: column; align-items: stretch; gap: 12px; }
.tp-hero__cta .btn { justify-content: space-between; }
.tp-hero__try { display: inline-flex; align-items: center; gap: 1em; margin-top: 48px; padding-top: 16px; border-top: 1px solid var(--line-on-dark); font-size: 14px; font-weight: 700; color: #fff; }
.tp-hero__try .mono-label { color: var(--cyan); }
.tp-hero__try svg { width: 1em; height: 1em; transform: rotate(90deg); transition: transform var(--dur-quick) var(--ease-out); }
.tp-hero__try:hover svg { transform: rotate(90deg) translateX(4px); }

/* 映像レイヤー（最初の描画から出す。JS が来なければ 4 秒で自動的に外れる） */
.tp-hero__film { display: none; position: absolute; inset: 0; width: 100%; height: 100%; z-index: 3; background: var(--navy); }
.film-on .tp-hero:not(.is-final) .tp-hero__film { display: block; animation: tpFailsafe 0s linear 4s forwards; }
.film-on .tp-hero.is-live:not(.is-final) .tp-hero__film { animation: none; }
@keyframes tpFailsafe { to { visibility: hidden; } }
.tp-hero.is-final.was-played .tp-hero__foot, .tp-hero.is-final.was-played .tp-hero__try { animation: tpIn var(--dur-reveal) var(--ease-out) both; }
.tp-hero.is-final.was-played .tp-hero__try { animation-delay: 80ms; }
@keyframes tpIn { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }

/* HUD */
.tp-hero__hud { position: absolute; z-index: 4; inset: calc(var(--header-h) + 8px) 24px 24px; pointer-events: none; color: rgba(255,255,255,.7); transition: color var(--dur-quick) var(--ease-out); }
.tp-hud-c { position: absolute; width: 20px; height: 20px; border: 0 solid currentColor; }
.tp-hud-c--tl { left: 0; top: 0; border-left-width: 1.5px; border-top-width: 1.5px; }
.tp-hud-c--tr { right: 0; top: 0; border-right-width: 1.5px; border-top-width: 1.5px; }
.tp-hud-c--bl { left: 0; bottom: 0; border-left-width: 1.5px; border-bottom-width: 1.5px; }
.tp-hud-c--br { right: 0; bottom: 0; border-right-width: 1.5px; border-bottom-width: 1.5px; }
.tp-hero__hud p { position: absolute; margin: 0; font-size: 11px; }
.tp-hero__hud-tl { left: 32px; top: 14px; display: flex; align-items: center; gap: .8em; }
.tp-hero__hud-tr { right: 32px; top: 14px; }
.tp-hero__hud-bl { left: 32px; bottom: 22px; }
.tp-hero__rec { width: 6px; height: 6px; border-radius: 50%; background: var(--cyan); }
.tp-hero.is-live .tp-hero__rec { animation: tpRec 1s steps(1) infinite; }
@keyframes tpRec { 50% { opacity: 0; } }
.tp-hero__hud-bar { position: absolute; left: 32px; right: 32px; bottom: 8px; height: 2px; background: rgba(255,255,255,.2); }
.tp-hero__hud-bar i { position: absolute; inset: 0; background: var(--cyan); transform-origin: left; transform: scaleX(var(--p, 1)); }
.tp-hero[data-film-tone="cyan"] .tp-hero__hud { color: rgba(16,24,32,.78); }
.tp-hero[data-film-tone="cyan"] .tp-hero__hud-bar { background: rgba(16,24,32,.2); }
.tp-hero[data-film-tone="cyan"] .tp-hero__hud-bar i { background: var(--ink); }
.tp-hero__controls { position: absolute; z-index: 5; right: 56px; bottom: 50px; display: flex; align-items: center; gap: 20px; }
.tp-hero__skip, .tp-hero__replay { font-size: 12px; font-weight: 700; color: #fff; padding: 6px 0; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 6px; }
.tp-hero[data-film-tone="cyan"] .tp-hero__skip { color: var(--ink); }
.tp-hero__replay { color: var(--lt); text-decoration: none; }
.tp-hero__replay:hover { color: #fff; }

/* 社名帯（ヒーローの最下端）: 企業 → 教育、右端に受講者数 */
.tp-trust { position: relative; z-index: 6; border-top: 1px solid var(--line-on-dark); background: var(--navy); }
.tp-trust__inner { display: flex; align-items: center; gap: 16px 32px; width: min(100% - var(--gutter) * 2, 1400px); margin-inline: auto; padding: 18px 0; }
.tp-trust__label { flex: none; color: var(--lt); }
.tp-trust__list { display: flex; flex-wrap: wrap; gap: 6px 0; flex: 1; }
.tp-trust__list li { font-size: 14px; font-weight: 700; color: #fff; letter-spacing: .02em; white-space: nowrap; }
.tp-trust__list li + li::before { content: "／"; margin: 0 .5em; color: rgba(255,255,255,.3); font-weight: 400; }
.tp-trust__count { flex: none; display: flex; align-items: baseline; gap: 12px; padding-left: 32px; border-left: 1px solid var(--line-on-dark); color: var(--text-on-dark-2); }
.tp-trust__count strong { font-size: 14px; color: #fff; }
.tp-trust__count .num { font-size: 32px; font-weight: 700; color: var(--cyan); letter-spacing: -.02em; }

/* ==========================================================================
   01 信用: 誰と、何をしてきたか（v3 2026-09-26）
   ① 核の絵（teaching）＋一文 ② ビフォーアフター（比較スライダー本体は main.css の .ba-cmp）③ 絵つきタイル
   ========================================================================== */
.tp-record { padding-block: var(--section); }

/* ① 核の絵: 絵 7〜8カラム ＋ 一文 4カラム */
.tp-core { display: grid; grid-template-columns: minmax(0, 7.4fr) minmax(0, 4.6fr); gap: 32px clamp(32px, 4vw, 64px); align-items: center; padding-top: 32px; border-top: 3px solid var(--ink); }
.tp-core__fig { position: relative; margin: 0; aspect-ratio: 4 / 3; background: var(--surf); overflow: hidden; }
.tp-core__fig img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 52%; }
/* 絵の注記（01 INPUT / 02 PROCESS / 03 OUTPUT）は main.css の .ill-mk */
.tp-core__kicker { color: var(--cyan-deep); }
.tp-core__title { margin-top: 14px; font-size: clamp(28px, 1rem + 1.9vw, 44px); font-weight: 900; line-height: 1.2; letter-spacing: var(--tracking-display); }
.tp-core__lead { margin-top: 14px; font-size: clamp(18px, .9rem + .5vw, 22px); font-weight: 700; line-height: 1.6; letter-spacing: .02em; }
.tp-core__body { margin-top: 20px; padding-top: 20px; border-top: 1px solid var(--line-strong); font-size: 15px; line-height: 1.9; color: var(--text-2); }
.tp-core__text .link-arrow { margin-top: 20px; }

/* ② ビフォーアフター */
.tp-bas { margin-top: clamp(64px, 7vw, 104px); }
.tp-bas__head { display: flex; align-items: baseline; flex-wrap: wrap; gap: 6px 16px; padding-bottom: 16px; border-bottom: 3px solid var(--ink); font-size: 14px; font-weight: 500; color: var(--text-2); max-width: none; }
.tp-bas__head .mono-label { color: var(--cyan-deep); }
.tp-ba { display: grid; align-content: start; gap: 24px; }
.tp-ba--lead { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 32px clamp(32px, 4vw, 64px); align-items: center; padding: 40px 0 48px; border-bottom: 1px solid var(--line-strong); }
.tp-ba__tag { color: var(--cyan-deep); font-size: 11px; text-transform: none; letter-spacing: .08em; }
.tp-ba__name { margin-top: 6px; font-size: clamp(20px, .95rem + .6vw, 26px); font-weight: 700; line-height: 1.35; }
.tp-ba__name a { transition: color var(--dur-quick) var(--ease-out); }
.tp-ba__name a:hover { color: var(--cyan-dark); }
.tp-ba__big { display: flex; align-items: center; flex-wrap: wrap; gap: 4px 18px; margin-top: 18px; font-weight: 900; line-height: 1.05; letter-spacing: var(--tracking-display); max-width: none; }
.tp-ba__from { font-size: clamp(30px, 1rem + 2vw, 48px); color: var(--text-3); }
.tp-ba__into { font-size: clamp(44px, 1.4rem + 3.4vw, 80px); color: var(--cyan-dark); }
.tp-ba__to { position: relative; width: clamp(36px, 4vw, 56px); height: 2px; background: var(--ink); }
.tp-ba__to::after { content: ""; position: absolute; right: -1px; top: -5px; width: 10px; height: 10px; border-top: 2px solid var(--ink); border-right: 2px solid var(--ink); transform: rotate(45deg); }
.tp-ba__dl { display: grid; grid-template-columns: 1fr 1fr; margin-top: 24px; border-top: 1px solid var(--line-strong); }
.tp-ba__dl > div { padding: 14px 20px 0 0; }
.tp-ba__dl > div + div { padding-left: 20px; border-left: 1px solid var(--line-strong); }
.tp-ba__dl dt { font-size: 11px; color: var(--text-2); }
.tp-ba__dl .is-after dt { color: var(--cyan-deep); }
.tp-ba__dl dd { margin-top: 6px; font-size: 14px; line-height: 1.8; }
.tp-ba__dl .is-after dd { font-weight: 700; }
.tp-ba__stats { display: flex; flex-wrap: wrap; gap: 8px 32px; margin-top: 24px; padding-top: 16px; border-top: 1px solid var(--line); }
.tp-ba__stats li { display: flex; align-items: baseline; gap: 12px; }
.tp-ba__stat-l { font-size: 13px; font-weight: 700; color: var(--text-2); }
.tp-ba__stats .num { font-size: 40px; font-weight: 700; line-height: 1; letter-spacing: -.03em; color: var(--ink); }
.tp-ba__body > .link-arrow { margin-top: 24px; }
.tp-bas__pair { display: grid; grid-template-columns: 1fr 1fr; }
.tp-bas__pair > .tp-ba { padding: 40px clamp(24px, 3vw, 48px) 48px 0; }
.tp-bas__pair > .tp-ba + .tp-ba { padding: 40px 0 48px clamp(24px, 3vw, 48px); border-left: 1px solid var(--line-strong); }
.tp-ba__row { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 20px 24px; align-items: start; margin-top: 14px; }
.tp-ba__word { font-size: clamp(40px, 1.2rem + 2.8vw, 64px); font-weight: 900; line-height: 1; letter-spacing: var(--tracking-display); color: var(--cyan-dark); white-space: nowrap; }
.tp-ba__dl--stack { grid-template-columns: 1fr; margin-top: 0; border-top: 0; border-left: 1px solid var(--line-strong); }
.tp-ba__dl--stack > div, .tp-ba__dl--stack > div + div { padding: 0 0 10px 20px; border-left: 0; }
.tp-ba__dl--stack dd { margin-top: 2px; }

/* ③ その他の実績（罫線のグリッド。文字 左・絵 右） */
.tp-works__head { display: flex; align-items: baseline; gap: 16px; margin-top: clamp(48px, 5vw, 72px); padding-bottom: 14px; font-size: 14px; font-weight: 700; max-width: none; }
.tp-works__head .mono-label { color: var(--cyan-deep); }
.tp-works { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 3px solid var(--ink); }
.tp-work { border-bottom: 1px solid var(--line-strong); }
.tp-work:not(:nth-child(3n + 1)) { border-left: 1px solid var(--line-strong); }
.tp-work__in { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) 42%; gap: 16px; height: 100%; padding: 24px 24px 28px; transition: background-color var(--dur-quick) var(--ease-out); }
.tp-work:nth-child(3n + 1) .tp-work__in { padding-left: 0; }
.tp-work:nth-child(3n) .tp-work__in { padding-right: 0; }
.tp-work__body { display: flex; flex-direction: column; min-width: 0; }
.tp-work__tag { color: var(--cyan-deep); font-size: 11px; text-transform: none; letter-spacing: .06em; }
.tp-work__name { margin-top: 4px; font-size: 17px; font-weight: 700; line-height: 1.45; transition: color var(--dur-quick) var(--ease-out); }
.tp-work__fig { margin-top: 14px; color: var(--cyan-dark); line-height: 1; white-space: nowrap; max-width: none; }
.tp-work__fig .num { font-size: clamp(36px, 1rem + 1.8vw, 48px); font-weight: 700; letter-spacing: -.03em; }
.tp-work__after { display: block; margin-top: 6px; font-size: 16px; font-weight: 900; letter-spacing: .02em; }
.tp-work__ja { font-size: clamp(28px, 1rem + 1.2vw, 36px); font-weight: 900; letter-spacing: .02em; }
.tp-work__cap { margin-top: 8px; font-size: 13px; font-weight: 700; line-height: 1.5; }
.tp-work__what { margin-top: 8px; font-size: 13px; line-height: 1.7; color: var(--text-2); }
.tp-work__img { align-self: start; margin: 0; aspect-ratio: 1; background: var(--surf); overflow: hidden; }
.tp-work__img img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.12); transition: transform var(--dur-base) var(--ease-out); }
.tp-work__go { position: absolute; right: 0; bottom: 24px; width: 20px; height: 20px; color: var(--ink); }
.tp-work:nth-child(3n + 1) .tp-work__go, .tp-work:nth-child(3n + 2) .tp-work__go { right: 24px; }
.tp-work__go svg { width: 20px; height: 20px; transition: transform var(--dur-quick) var(--ease-out); }
a.tp-work__in:hover .tp-work__name { color: var(--cyan-dark); }
a.tp-work__in:hover .tp-work__img img { transform: scale(1.16); }
a.tp-work__in:hover .tp-work__go svg { transform: translateX(4px); }
.tp-work--text .tp-work__in { grid-template-columns: 1fr; background: var(--paper); }
.tp-work--text:nth-child(3n + 1) .tp-work__in { padding-left: 24px; }
.tp-ledger__more { margin-top: 28px; display: flex; justify-content: flex-end; }

/* ==========================================================================
   02 体験: 御社に近いものを、選んでください（案B）
   ========================================================================== */
.tp-try { padding-block: var(--section); outline: 0; }
.tp-try__grid { display: grid; grid-template-columns: minmax(260px, 4fr) minmax(0, 8fr); gap: clamp(32px, 4vw, 64px); align-items: start; }
.tp-try__grid > * { min-width: 0; }

/* 選択リスト（番号付きの文字の目次。ネイティブのラジオ＝矢印キーで選べる） */
.tp-pick { position: sticky; top: calc(var(--header-h) + 24px); display: grid; gap: 36px; }
.tp-pick__group { margin: 0; padding: 0; border: 0; min-width: 0; }
.tp-pick__legend { display: flex; align-items: baseline; gap: .8em; padding: 0 0 12px; font-size: 15px; font-weight: 700; letter-spacing: .06em; }
.tp-pick__legend .mono-label { color: var(--cyan-deep); }
.tp-pick__list { border-top: 1px solid var(--ink); }
.tp-opt { position: relative; display: flex; align-items: center; gap: 16px; padding: 12px 12px 12px 18px; border-bottom: 1px solid var(--line-strong); cursor: pointer; color: var(--text-2); transition: color var(--dur-quick) var(--ease-out), background-color var(--dur-quick) var(--ease-out); }
.tp-opt::before { content: ""; position: absolute; left: 0; top: -1px; bottom: -1px; width: 4px; background: var(--cyan); transform: scaleY(0); transform-origin: top; transition: transform var(--dur-quick) var(--ease-out); }
.tp-opt input { position: absolute; opacity: 0; width: 1px; height: 1px; margin: 0; pointer-events: none; }
.tp-opt__no { color: var(--text-3); width: 1.8em; flex: none; }
.tp-opt__txt { font-size: 17px; font-weight: 500; letter-spacing: .04em; line-height: 1.5; }
.tp-opt__dot { margin-left: auto; width: 8px; height: 8px; border-radius: 50%; background: var(--cyan); opacity: 0; transform: scale(.4); transition: opacity var(--dur-quick) var(--ease-out), transform var(--dur-quick) var(--ease-out); }
.tp-opt:hover { color: var(--ink); background: rgba(255,255,255,.7); }
.tp-opt:has(input:checked) { color: var(--ink); background: var(--white); }
.tp-opt:has(input:checked)::before { transform: scaleY(1); }
.tp-opt:has(input:checked) .tp-opt__txt { font-weight: 700; }
.tp-opt:has(input:checked) .tp-opt__no { color: var(--cyan-deep); }
.tp-opt:has(input:checked) .tp-opt__dot { opacity: 1; transform: none; }
.tp-opt:has(input:focus-visible) { outline: 2px solid var(--cyan-deep); outline-offset: -2px; }
.tp-pick__hint { color: var(--text-3); margin-top: -16px; }

/* 提案メモ（紙の一枚。角 0・影なし・1px 罫線） */
.tp-memo { position: relative; background: var(--white); border: 1px solid var(--line-strong); padding: clamp(24px, 3vw, 40px); }
.tp-memo__meta { display: flex; justify-content: space-between; gap: 16px; padding-bottom: 14px; border-bottom: 1px solid var(--ink); color: var(--text-2); }
.tp-memo__meta [data-m="pair"] { color: var(--ink); }
.tp-memo__title { margin-top: 28px; font-size: clamp(28px, 1rem + 2vw, 44px); line-height: 1.3; font-weight: 900; letter-spacing: 0; }
.tp-memo__reframe[hidden] { display: none; }
.tp-memo__reframe { display: flex; gap: 12px; margin-top: 14px; font-size: 14px; line-height: 1.8; color: var(--text-2); }
.tp-memo__reframe::before { content: "NOTE"; flex: none; font-family: var(--font-mono); font-size: 11px; letter-spacing: .12em; color: var(--ink); background: var(--pale); padding: 1px 6px; height: fit-content; margin-top: 3px; border-radius: 2px; }
.tp-memo.is-swap .tp-memo__title, .tp-memo.is-swap .tp-ipo dd, .tp-memo.is-swap .tp-memo__body p, .tp-memo.is-swap .tp-memo__reframe { animation: tpSwap var(--dur-reveal) var(--ease-out) both; }
.tp-memo.is-swap .tp-ipo__col:nth-child(2) dd { animation-delay: 60ms; }
.tp-memo.is-swap .tp-ipo__col:nth-child(3) dd { animation-delay: 120ms; }
.tp-memo.is-swap .tp-memo__body p { animation-delay: 140ms; }
@keyframes tpSwap { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }

/* 図: ベルトコンベア（1920×1080 のポスター → 選ぶたびに mp4 の区間を再生して止まる） */
.tp-fig { position: relative; margin-top: 24px; aspect-ratio: 2 / 1; overflow: hidden; background: #EEF1F5; border: 1px solid var(--line); }
.tp-fig__poster, .tp-fig__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 50%; }
.tp-fig__video { opacity: 0; transition: opacity var(--dur-quick) linear; }
.tp-fig.is-video .tp-fig__video { opacity: 1; }
.tp-fig__cap { position: absolute; left: 14px; bottom: 10px; color: var(--text-2); font-size: 11px; }
.tp-mark { position: absolute; left: 0; top: 0; display: inline-flex; align-items: center; gap: .6em; padding: 5px 9px 5px 7px; background: var(--ink); color: #fff; font-family: var(--font-mono); font-size: 11px; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; white-space: nowrap; border-radius: 2px; opacity: 0; transition: opacity var(--dur-quick) var(--ease-out); will-change: transform; }
.tp-mark b { color: var(--cyan); font-weight: 500; }
.tp-mark::after { content: ""; position: absolute; left: calc(50% + var(--dx, 0px)); top: 100%; width: 1px; height: var(--lead, 36px); background: var(--ink); }
.tp-mark::before { content: ""; position: absolute; left: calc(50% + var(--dx, 0px) - 4px); top: calc(100% + var(--lead, 36px) - 4px); width: 8px; height: 8px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 0 2px var(--ink); }
.tp-mark[data-mark="process"] { background: var(--cyan); color: var(--ink); }
.tp-mark[data-mark="process"] b { color: var(--navy); }
.tp-mark.is-on { opacity: 1; }
.tp-mark.is-below::after { top: auto; bottom: 100%; }
.tp-mark.is-below::before { top: auto; bottom: calc(100% + var(--lead, 36px) - 4px); }

/* 入力・処理・出力の表 */
.tp-ipo { display: grid; grid-template-columns: 1fr 1.35fr 1fr; margin-top: 0; border: 1px solid var(--line); border-top: 0; }
.tp-ipo__col { padding: 18px 20px 20px; }
.tp-ipo__col + .tp-ipo__col { border-left: 1px solid var(--line); }
.tp-ipo dt { display: flex; flex-direction: column; gap: 2px; font-size: 15px; font-weight: 700; margin-bottom: 8px; }
.tp-ipo dt .mono-label { color: var(--cyan-deep); font-size: 11px; }
.tp-ipo dd { font-size: 15px; line-height: 1.75; color: var(--ink); }
.tp-ipo__col--p { background: var(--pale); }
.tp-ipo__col--p dd { display: grid; grid-template-columns: auto 1fr; gap: 10px; align-items: baseline; }
.tp-ipo__col--p dd + dd { margin-top: 8px; padding-top: 8px; border-top: 1px dashed var(--line-strong); }
.tp-ipo__who { display: inline-grid; place-items: center; min-width: 2.2em; padding: 0 6px; font-family: var(--font-mono); font-size: 11px; font-weight: 500; letter-spacing: .08em; line-height: 20px; background: var(--navy); color: #fff; border-radius: 2px; }
.tp-ipo__who--h { background: var(--white); color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }

.tp-memo__body { display: grid; grid-template-columns: 1fr 1.15fr; gap: 0; margin-top: 28px; border-top: 1px solid var(--line); }
.tp-memo__body > section { padding-top: 22px; }
.tp-read { padding-right: 28px; border-right: 1px solid var(--line); }
.tp-step { padding-left: 28px; }
.tp-memo__h { display: flex; align-items: baseline; gap: .8em; font-size: 17px; font-weight: 700; margin-bottom: 10px; }
.tp-memo__h .mono-label { color: var(--cyan-deep); font-size: 11px; }
.tp-read > p { font-size: 15px; line-height: 1.85; color: var(--text-2); }
.tp-level { margin-top: 18px; display: grid; gap: 6px; }
.tp-level li { position: relative; display: flex; align-items: center; gap: 10px; font-size: 14px; color: var(--text-3); padding: 7px 10px; border: 1px solid var(--line); }
.tp-level__mk { width: 12px; height: 12px; border-radius: 50%; border: 1.5px solid var(--line-strong); flex: none; }
.tp-level li.is-on { color: var(--ink); font-weight: 700; border-color: var(--ink); background: linear-gradient(90deg, var(--pale), var(--white) 70%); }
.tp-level li.is-on .tp-level__mk { border-color: var(--cyan-deep); background: var(--cyan); }
.tp-level li.is-on::after { content: "この業務"; margin-left: auto; font-family: var(--font-mono); font-size: 10px; font-weight: 500; letter-spacing: .12em; color: var(--cyan-dark); }
.tp-step__text { font-size: clamp(16px, .9rem + .35vw, 19px); line-height: 1.9; font-weight: 500; color: var(--ink); }
.tp-step__svc { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 14px; margin-top: 18px; padding-top: 14px; border-top: 1px dashed var(--line-strong); font-size: 14px; }
.tp-step__svc .mono-label { color: var(--text-2); font-size: 11px; }
.tp-step__svc [data-m="support"] { display: flex; flex-wrap: wrap; gap: 4px 16px; }
.tp-step__svc a { font-weight: 700; color: var(--cyan-dark); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px; }

.tp-memo__foot { margin-top: 28px; padding-top: 20px; border-top: 1px solid var(--ink); display: grid; grid-template-columns: 1fr auto; gap: 16px 32px; align-items: end; }
.tp-memo__links { display: grid; gap: 10px; }
.tp-memo__case { display: flex; align-items: baseline; gap: 12px; font-size: 14px; }
.tp-memo__case .mono-label { color: var(--text-2); font-size: 11px; flex: none; }
.tp-memo__case a { display: inline; }
.tp-memo__case a b { font-weight: 700; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px; }
.tp-memo__case a span { margin-left: .8em; color: var(--text-2); }
.tp-memo__lp:empty { display: none; }
.tp-memo__act { display: flex; flex-direction: column; align-items: flex-end; gap: 12px; }
.tp-memo__note { grid-column: 1 / -1; font-size: 12px; color: var(--text-2); }

/* ==========================================================================
   03 提案の軌跡（案B: 課題 → 提案 → 成果）
   ========================================================================== */
.tp-trail { padding-block: var(--section); }
.tp-trail__list { border-top: 3px solid var(--ink); }
.tp-row { border-bottom: 1px solid var(--line-strong); }
.tp-row__link { position: relative; display: grid; grid-template-columns: 3.2fr 3fr 3.4fr 3fr; column-gap: 40px; padding: 32px 0 34px; }
.tp-row__link:hover .tp-row__name { color: var(--cyan-dark); }
.tp-row__who { display: flex; flex-direction: column; gap: 6px; padding-left: 4px; }
.tp-row__tag { color: var(--cyan-deep); font-size: 11px; text-transform: none; letter-spacing: .08em; }
.tp-row__name { font-size: 22px; font-weight: 700; line-height: 1.4; transition: color var(--dur-quick) var(--ease-out); }
.tp-row__more { display: inline-flex; align-items: center; gap: .5em; margin-top: auto; padding-top: 8px; font-size: 13px; font-weight: 700; color: var(--text-2); }
.tp-row__more svg { width: 1em; height: 1em; transition: transform var(--dur-quick) var(--ease-out); }
.tp-row__link:hover .tp-row__more { color: var(--ink); }
.tp-row__link:hover .tp-row__more svg { transform: translateX(4px); }
.tp-row__stop { position: relative; padding-top: 30px; }
.tp-row__k { position: absolute; top: 0; left: 0; z-index: 1; padding: 0 12px 0 18px; font-size: 12px; line-height: 20px; font-weight: 700; letter-spacing: .08em; color: var(--text-2); background: var(--white); }
.tp-row__stop p { font-size: 15px; line-height: 1.85; }
.tp-row__stop--p p { color: var(--text-2); }
.tp-row__stop--r .tp-row__k { color: var(--cyan-dark); }
.tp-row__sub { margin-top: 6px; font-size: 13px !important; color: var(--text-2); line-height: 1.7 !important; }
/* 課題 → 提案 → 成果 をつなぐ 1 本の線（ノード3つ）。画面に入ると 1 回だけ左から引かれる */
.tp-row__line { position: absolute; top: 42px; left: calc((100% - 120px) * 3.2 / 12.6 + 40px); right: 0; height: 1px; pointer-events: none; }
.tp-row__line::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 1px; background: var(--line-strong); }
.tp-row__line::after { content: ""; position: absolute; left: 0; right: 0; top: -0.5px; height: 2px; background: var(--cyan); }
.tp-row__line i { position: absolute; top: -4px; width: 9px; height: 9px; border-radius: 50%; background: var(--white); box-shadow: inset 0 0 0 1.5px var(--ink); z-index: 2; }
.tp-row__line i:nth-child(1) { left: 0; }
.tp-row__line i:nth-child(2) { left: calc((100% - 80px) * 3 / 9.4 + 40px); }
.tp-row__line i:nth-child(3) { left: calc((100% - 80px) * 6.4 / 9.4 + 80px); background: var(--cyan); }
/* 成果の数字 */
.tp-rba { display: flex; align-items: baseline; gap: 12px; font-weight: 900; line-height: 1.1; }
.tp-rba__b { font-size: 26px; color: var(--text-3); }
.tp-rba__to { position: relative; width: 36px; height: 1px; background: var(--ink); align-self: center; }
.tp-rba__to::after { content: ""; position: absolute; right: 0; top: -4px; border: 4px solid transparent; border-left: 7px solid var(--ink); border-right: 0; }
.tp-rba__a { font-size: clamp(34px, 1.4rem + 1.6vw, 48px); color: var(--cyan-dark); }
.tp-big { font-size: clamp(30px, 1.2rem + 1.4vw, 42px) !important; font-weight: 900; line-height: 1.15 !important; letter-spacing: -.01em; }
.tp-nums { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 8px; line-height: 1 !important; }
.tp-nums .num { font-size: clamp(34px, 1.4rem + 1.6vw, 48px); font-weight: 700; letter-spacing: -.02em; }
.tp-nums .num__unit { font-size: 15px; }
/* 1 行目（旭鉄工）だけ大きく */
.tp-row--feature .tp-row__link { padding: 40px 0 44px; }
.tp-row--feature .tp-row__name { font-size: 26px; }
.tp-row__img { width: 168px; aspect-ratio: 1; margin: 8px 0 4px; background: var(--pale); overflow: hidden; }
.tp-row__img img { width: 100%; height: 100%; object-fit: cover; }
.tp-row--feature .tp-row__stop p { font-size: 16px; }
.tp-row--feature .tp-row__line { top: 50px; }
.tp-trail__more { margin-top: 32px; display: flex; justify-content: flex-end; }

/* ==========================================================================
   中盤の相談（案A: 紺の帯）
   ========================================================================== */
.tp-mid { padding-block: clamp(64px, 8vw, 104px); }
.tp-mid__inner { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 32px clamp(40px, 5vw, 80px); align-items: end; }
.tp-mid__kicker { font-size: 11px; color: var(--lt); margin-bottom: 14px; }
.tp-mid__title { font-size: clamp(26px, 1rem + 1.8vw, 40px); font-weight: 700; line-height: 1.35; }
.tp-mid__text { margin-top: 16px; color: var(--text-on-dark-2); }
.tp-mid__cta { display: flex; flex-direction: column; align-items: stretch; gap: 12px; }
.tp-mid__cta .btn, .tp-close .btn { justify-content: space-between; }

/* ==========================================================================
   04 数字は1つだけ（案A: シアンの全面・1回）
   ========================================================================== */
.tp-number { padding-block: clamp(80px, 10vw, 152px); }
.tp-number__title { margin-top: 8px; font-size: clamp(52px, 1rem + 9vw, 168px); font-weight: 900; line-height: 1.04; letter-spacing: -.02em; color: var(--ink); }
.tp-number__fig { font-family: var(--font-en); font-weight: 700; font-size: 1.12em; letter-spacing: -.045em; font-feature-settings: "tnum"; margin: 0 .04em; }
.tp-number__sub { margin-top: 28px; font-size: var(--text-lead); font-weight: 500; color: var(--navy); }

/* ==========================================================================
   05 人（案A。紹介文は会社概要と同じ）
   ========================================================================== */
.tp-people { padding-block: var(--section); }
.tp-people__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 56px clamp(20px, 2.4vw, 40px); padding-top: 32px; border-top: 3px solid var(--ink); }
.tp-person__photo { overflow: hidden; background: var(--surf); }
.tp-person__photo img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: var(--focus, 50% 22%); }
.tp-person figcaption { margin-top: 20px; }
.tp-person figcaption > .mono-label { font-size: 11px; color: var(--cyan-deep); text-transform: none; letter-spacing: .1em; }
.tp-person__name { margin-top: 6px; font-size: clamp(24px, 1rem + .9vw, 30px); font-weight: 700; line-height: 1.3; letter-spacing: .06em; }
.tp-person__name span { display: block; margin-top: 2px; font-size: 13px; font-weight: 500; letter-spacing: .06em; color: var(--text-2); }
.tp-person__bio { margin-top: 14px; font-size: 14px; line-height: 1.85; color: var(--text-2); }
.tp-person__quote { margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--line); font-size: 17px; font-weight: 700; line-height: 1.6; }
/* 体制の帯（4人の下に横一列）: 人数 ／ 設立・所在地 ／ FDEの説明＋リンク */
.tp-people__side { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 4fr) minmax(0, 4fr); gap: 32px clamp(24px, 3vw, 48px); align-items: end; padding-top: 32px; border-top: 1px solid var(--line-strong); }
.tp-people__more { display: flex; flex-direction: column; align-items: flex-start; }
.tp-people__side-h { font-size: 11px; color: var(--cyan-deep); text-transform: none; letter-spacing: .1em; }
.tp-people__stat { margin-top: 12px; display: flex; align-items: baseline; gap: 6px; font-size: 18px; font-weight: 700; }
.tp-people__stat .num { font-size: clamp(72px, 2rem + 5vw, 128px); line-height: .9; letter-spacing: -.04em; color: var(--ink); }
.tp-people__stat .num__unit { font-size: 24px; }
.tp-people__stat-sub { margin-top: 12px; font-size: 15px; font-weight: 700; }
.tp-facts { width: 100%; border-top: 1px solid var(--ink); }
.tp-facts div { display: grid; grid-template-columns: 6.5em minmax(0, 1fr); gap: 12px; padding: 11px 0; border-bottom: 1px solid var(--line); }
.tp-facts dt { font-size: 10.5px; color: var(--text-2); padding-top: 3px; }
.tp-facts dd { font-size: 14px; font-weight: 700; line-height: 1.6; }
.tp-people__note { margin: 0 0 16px; font-size: 12px; line-height: 1.7; color: var(--text-2); }

/* ==========================================================================
   06 掲載・発表（案A の表）
   ========================================================================== */
.tp-press { padding-block: var(--section); }
.tp-press__grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 40px clamp(40px, 5vw, 80px); align-items: start; }
.tp-press__grid .tp-head { margin-bottom: 0; }
.tp-press__table { border-top: 3px solid var(--ink); }
.tp-press__row { display: grid; grid-template-columns: 7.5em 10em minmax(0, 1fr); gap: 4px 20px; padding: 14px 0; border-bottom: 1px solid var(--line-strong); font-size: 14px; line-height: 1.6; }
.tp-press__row--head { padding: 10px 0; font-size: 10.5px; color: var(--text-2); border-bottom-color: var(--ink); }
.tp-press__date { font-family: var(--font-mono); font-size: 13px; color: var(--text-2); }
.tp-press__media { padding-top: 3px; font-size: 10.5px; color: var(--cyan-deep); text-transform: none; letter-spacing: .1em; }
.tp-press__title { font-weight: 500; }
.tp-press__title a { display: inline; text-decoration: underline; text-decoration-color: var(--line-strong); text-underline-offset: 4px; transition: text-decoration-color var(--dur-quick) var(--ease-out), color var(--dur-quick) var(--ease-out); }
.tp-press__title a:hover { color: var(--cyan-dark); text-decoration-color: currentColor; }
.tp-press__title svg { display: inline-block; width: .95em; height: .95em; margin-left: .3em; vertical-align: -.1em; }

/* ==========================================================================
   07 事業内容（控えめ）＋ 業界LPの入口
   ========================================================================== */
.tp-svc { padding-block: var(--section); }
.tp-svc__list { border-top: 3px solid var(--ink); }
.tp-svc__list a { display: grid; grid-template-columns: 3.5em minmax(0, 15em) minmax(0, 13em) minmax(0, 1fr) 24px; gap: 8px 24px; align-items: baseline; padding: 24px 0; border-bottom: 1px solid var(--line-strong); }
.tp-svc__list .mono-label { font-size: 11px; color: var(--cyan-deep); }
.tp-svc__name { font-family: var(--font-en), var(--font-ja); font-size: clamp(22px, 1rem + .9vw, 30px); font-weight: 700; letter-spacing: -.01em; line-height: 1.2; transition: color var(--dur-quick) var(--ease-out); }
.tp-svc__kind { font-size: 15px; font-weight: 700; }
.tp-svc__desc { font-size: 14px; line-height: 1.7; color: var(--text-2); }
.tp-svc__list svg { width: 20px; height: 20px; align-self: center; transition: transform var(--dur-quick) var(--ease-out); }
.tp-svc__list a:hover .tp-svc__name { color: var(--cyan-dark); }
.tp-svc__list a:hover svg { transform: translateX(4px); }
.tp-svc__lp { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 40px; margin-top: 32px; }
.tp-svc__lp > .mono-label { font-size: 11px; color: var(--text-2); text-transform: none; letter-spacing: .1em; }
.tp-svc__lp ul { display: flex; flex-wrap: wrap; gap: 12px 32px; }

/* ==========================================================================
   08 締め（確かめる方法は2つ: 相談／資料）
   ========================================================================== */
.tp-close { padding-block: var(--section); }
.tp-close__title { margin-top: 8px; font-size: clamp(38px, 1rem + 5vw, 96px); font-weight: 900; line-height: 1.1; letter-spacing: -.01em; color: #fff; }
.tp-close__title .phrase { display: block; }
.tp-close__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 48px clamp(40px, 5vw, 80px); margin-top: clamp(48px, 6vw, 80px); }
.tp-close__opt { display: flex; flex-direction: column; align-items: flex-start; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.4); }
.tp-close__key { display: flex; align-items: baseline; gap: 16px; }
.tp-close__letter { font-family: var(--font-en); font-size: 56px; font-weight: 700; line-height: 1; color: var(--cyan); }
.tp-close__key .mono-label { font-size: 11px; color: var(--lt); text-transform: none; letter-spacing: .1em; }
.tp-close__name { margin-top: 20px; font-size: clamp(24px, 1rem + 1vw, 32px); font-weight: 700; }
.tp-close__steps { width: 100%; max-width: 30em; margin-top: 16px; border-top: 1px solid var(--line-on-dark); }
.tp-close__steps li { display: flex; align-items: baseline; gap: 14px; padding: 10px 0; border-bottom: 1px solid var(--line-on-dark); font-size: 16px; font-weight: 700; color: #fff; }
.tp-close__steps .mono-label { font-size: 11px; color: var(--cyan); }
.tp-close__text { margin-top: 14px; max-width: 30em; color: var(--text-on-dark-2); }
.tp-close__opt > .btn { margin-top: auto; }
.tp-close__opt > .tp-close__text { margin-bottom: 28px; }
.tp-close__opt .btn { min-width: min(100%, 22rem); }

/* ==========================================================================
   レスポンシブ
   ========================================================================== */
@media (max-width: 1100px) {
  .tp-svc__list a { grid-template-columns: 3em minmax(0, 13em) minmax(0, 1fr) 24px; }
  .tp-svc__kind { display: none; }
}
@media (max-width: 1080px) {
  .tp-try__grid { grid-template-columns: 1fr; }
  .tp-pick { position: static; grid-template-columns: 1fr 1fr; gap: 24px; }
  .tp-pick__hint { display: none; }
  .tp-row__link { grid-template-columns: 1fr 1fr 1fr; row-gap: 20px; }
  .tp-row__who { grid-column: 1 / -1; }
  .tp-row__img { display: none; }
  .tp-row__line { display: none; }
}
@media (max-width: 900px) {
  .tp-hero__foot { grid-template-columns: 1fr; }
  .tp-hero__cta { max-width: 420px; }
  .tp-trust__inner { flex-wrap: wrap; }
  .tp-trust__count { padding-left: 0; border-left: 0; }
  .tp-head--row, .tp-mid__inner, .tp-press__grid { grid-template-columns: 1fr; }
  .tp-people__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tp-people__side { grid-template-columns: 1fr; align-items: start; }
  .tp-person__photo { max-width: 320px; } /* 2列時に写真を拡大しすぎない（関根の原画が小さいため） */
  .tp-close__grid { grid-template-columns: 1fr; }
}
@media (max-width: 767px) {
  .tp-head { margin-bottom: 32px; }
  .tp-hero__screen { padding: calc(var(--header-h) + 56px) 0 96px; }
  .tp-hero__hud { inset: calc(var(--header-h) + 8px) 12px 12px; }
  .tp-hud-c { width: 14px; height: 14px; }
  .tp-hero__hud-tl, .tp-hero__hud-bl { left: 20px; }
  .tp-hero__hud-tr { display: none; }
  .tp-hero__hud-bar { left: 20px; right: 20px; }
  .tp-hero__controls { right: 24px; bottom: 26px; }
  .tp-hero__kicker { font-size: 10px; margin-bottom: 20px; }
  .tp-hero__q { margin-left: -.45em; }
  .tp-hero__main .phrase { display: block; }
  .tp-hero__foot { margin-top: 28px; }
  .tp-hero__lead { font-size: 16px; }
  .tp-hero__cta { max-width: none; }
  .tp-hero__try { display: none; }
  .tp-trust__inner { display: grid; grid-template-columns: 1fr; padding: 16px 0 18px; gap: 10px; }
  .tp-trust__list { gap: 4px 14px; }
  .tp-trust__list li { font-size: 12.5px; }
  .tp-trust__list li::before, .tp-trust__list li + li::before { content: ""; display: inline-block; width: 4px; height: 4px; margin: 0 .5em 0 0; vertical-align: .22em; background: var(--cyan); }
  .tp-trust__count { padding-top: 4px; }
  .tp-trust__count .num { font-size: 26px; }


  .tp-pick { grid-template-columns: 1fr; gap: 20px; }
  .tp-pick__list { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--ink); border-left: 1px solid var(--line-strong); }
  .tp-pick__list li { border-right: 1px solid var(--line-strong); }
  .tp-opt { gap: 8px; padding: 12px 10px 12px 12px; min-height: 56px; }
  .tp-opt__no { width: auto; font-size: 10px; }
  .tp-opt__txt { font-size: 14px; line-height: 1.4; }
  .tp-opt__dot { display: none; }
  .tp-memo { padding: 20px 16px 24px; margin-inline: calc(var(--gutter) * -0.5); }
  .tp-memo__meta { flex-direction: column; gap: 2px; }
  .tp-memo__title { margin-top: 20px; }
  .tp-fig { aspect-ratio: 16 / 9; }
  .tp-mark { font-size: 10px; padding: 4px 6px; letter-spacing: .06em; }
  .tp-ipo { grid-template-columns: 1fr; }
  .tp-ipo__col + .tp-ipo__col { border-left: 0; border-top: 1px solid var(--line); }
  .tp-ipo__col { display: grid; grid-template-columns: 5.2em 1fr; gap: 4px 12px; padding: 14px; }
  .tp-ipo__col dt { margin: 0; }
  .tp-ipo__col dt .mono-label { display: none; }
  .tp-ipo__col--p dd + dd { grid-column: 2; }
  .tp-ipo dd { font-size: 14px; }
  .tp-memo__body { grid-template-columns: 1fr; }
  .tp-read { padding-right: 0; border-right: 0; padding-bottom: 22px; border-bottom: 1px solid var(--line); }
  .tp-step { padding-left: 0; }
  .tp-memo__foot { grid-template-columns: 1fr; }
  .tp-memo__act { align-items: stretch; }
  .tp-memo__act .btn { justify-content: space-between; min-width: 0; padding: 16px 18px; font-size: 15px; white-space: normal; text-align: left; }
  .tp-memo__act .link-arrow { align-self: flex-start; }
  .tp-memo__case { flex-direction: column; gap: 2px; }
  .tp-memo__case a span { display: block; margin: 2px 0 0; }

  .tp-row__link, .tp-row--feature .tp-row__link { grid-template-columns: 1fr; row-gap: 0; padding: 28px 0 28px 28px; }
  .tp-row__who { padding-left: 0; margin-bottom: 14px; }
  .tp-row__stop { padding: 26px 0 16px; }
  .tp-row__stop .tp-row__k { padding-left: 0; }
  .tp-row__stop::before { content: ""; position: absolute; left: -28px; top: 0; width: 9px; height: 9px; border-radius: 50%; background: var(--white); box-shadow: inset 0 0 0 1.5px var(--ink); transform: translate(3px, 2px); }
  .tp-row__stop--r::before { background: var(--cyan); }
  .tp-row__stop:not(.tp-row__stop--r)::after { content: ""; position: absolute; left: -21px; top: 13px; bottom: -2px; width: 1px; background: var(--cyan); }
  .tp-row__more { position: absolute; right: 0; top: 30px; padding: 0; }

  .tp-mid__cta .btn, .tp-close .btn { width: 100%; }
  .tp-number__title .phrase { display: block; }
  .tp-people__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px 16px; }
  .tp-person figcaption { margin-top: 14px; }
  .tp-person figcaption > .mono-label { min-height: 2.6em; font-size: 10px; line-height: 1.3; letter-spacing: .06em; } /* 2行になっても名前の高さを揃える */
  .tp-person__name { font-size: 20px; }
  .tp-person__name span { min-height: 2.8em; font-size: 11px; line-height: 1.4; }
  .tp-person__bio { margin-top: 10px; font-size: 13px; line-height: 1.8; }
  .tp-person__quote { margin-top: 12px; padding-top: 10px; font-size: 14px; }
  .tp-press__row { grid-template-columns: 7em minmax(0, 1fr); padding: 12px 0; }
  .tp-press__row--head span:last-child { display: none; }
  .tp-press__title { grid-column: 1 / -1; }
  .tp-svc__list a { grid-template-columns: 2.4em minmax(0, 1fr) 20px; gap: 4px 12px; }
  .tp-svc__name { grid-column: 2; }
  .tp-svc__desc { grid-column: 2; grid-row: 2; }
  .tp-svc__list svg { grid-column: 3; grid-row: 1; }
  .tp-close__letter { font-size: 44px; }
}

/* ---------- 01（v3）のレスポンシブ ---------- */
@media (max-width: 1080px) {
  .tp-core { grid-template-columns: 1fr; }
  .tp-core__text { max-width: 40em; }
  .tp-ba--lead { grid-template-columns: 1fr; }
  .tp-work__in { grid-template-columns: 1fr; }
  .tp-work__img { order: -1; aspect-ratio: 4 / 3; }
}
@media (max-width: 900px) {
  .tp-bas__pair { grid-template-columns: 1fr; }
  .tp-bas__pair > .tp-ba, .tp-bas__pair > .tp-ba + .tp-ba { padding: 32px 0 40px; border-left: 0; }
  .tp-bas__pair > .tp-ba + .tp-ba { border-top: 1px solid var(--line-strong); }
  /* タイルは2列: 吉野家・DeNA は横幅いっぱい（文字 左・絵 右）、ほかは 絵 上・文字 下 */
  .tp-works { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tp-work, .tp-work:not(:nth-child(3n + 1)) { border-left: 0; }
  .tp-work:nth-child(1), .tp-work:nth-child(4) { grid-column: 1 / -1; }
  .tp-work:nth-child(3), .tp-work:nth-child(6) { border-left: 1px solid var(--line-strong); }
  .tp-work__in, .tp-work:nth-child(3n + 1) .tp-work__in, .tp-work:nth-child(3n) .tp-work__in { padding: 20px 16px 24px; }
  .tp-work:nth-child(2) .tp-work__in, .tp-work:nth-child(5) .tp-work__in { padding-left: 0; }
  .tp-work:nth-child(3) .tp-work__in, .tp-work:nth-child(6) .tp-work__in { padding-right: 0; }
  .tp-work:nth-child(1) .tp-work__in { grid-template-columns: minmax(0, 1fr) 44%; padding-inline: 0; }
  .tp-work:nth-child(1) .tp-work__img { order: 0; aspect-ratio: 1; }
  .tp-work--text:nth-child(4) .tp-work__in { padding-inline: 16px; }
  .tp-work__go, .tp-work:nth-child(3n + 1) .tp-work__go, .tp-work:nth-child(3n + 2) .tp-work__go { display: none; }
}
@media (max-width: 767px) {
  .tp-core { padding-top: 24px; gap: 24px; }
  .tp-core__fig { margin-inline: calc(var(--gutter) * -1); }
  .tp-core__body { font-size: 14px; }
  .tp-bas__head { font-size: 13px; }
  .tp-ba--lead { padding: 24px 0 36px; gap: 20px; }
  .tp-ba .ba-cmp { margin-inline: calc(var(--gutter) * -1); }
  .tp-ba .ba-cmp__cap { padding-inline: var(--gutter); }
  .tp-ba__dl dd { font-size: 13px; }
  .tp-ba__dl > div { padding-right: 12px; }
  .tp-ba__dl > div + div { padding-left: 12px; }
  .tp-ba__stats .num { font-size: 32px; }
  .tp-ba__row { grid-template-columns: 1fr; gap: 12px; }
  .tp-ba__dl--stack { border-left: 0; border-top: 1px solid var(--line-strong); }
  .tp-ba__dl--stack > div, .tp-ba__dl--stack > div + div { padding: 10px 0 0; }
  .tp-bas__pair > .tp-ba, .tp-bas__pair > .tp-ba + .tp-ba { padding: 24px 0 36px; gap: 20px; }
  .tp-work__in, .tp-work:nth-child(3n + 1) .tp-work__in, .tp-work:nth-child(3n) .tp-work__in { gap: 12px; padding: 16px 12px 20px; }
  .tp-work:nth-child(1) .tp-work__in { padding-inline: 0; }
  .tp-work__name { font-size: 15px; }
  .tp-work__fig .num { font-size: 32px; }
  .tp-work__ja { font-size: 26px; }
  .tp-work__after { font-size: 14px; }
  .tp-work__cap, .tp-work__what { font-size: 12px; }
}

/* ---------- 動きの配慮 ---------- */
@media (prefers-reduced-motion: reduce) {
  .tp-memo.is-swap * { animation: none !important; }
}
html[data-motion="off"] .tp-memo.is-swap * { animation: none !important; }

/* ---- 2026-09-27 v4（代表指摘「1枚を大きく出さず、3列ぐらいで」）: PC ではビフォーアフター3件を 3列に並べ、01 の絵も一回り小さく */
@media (min-width: 1081px) {
  .tp-core { grid-template-columns: minmax(0, 5.4fr) minmax(0, 6.6fr); }
  .tp-bas { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: clamp(32px, 3.4vw, 56px); }
  .tp-bas__head { grid-column: 1 / -1; }
  .tp-bas__pair { display: contents; }
  .tp-ba--lead, .tp-bas__pair > .tp-ba, .tp-bas__pair > .tp-ba + .tp-ba { grid-template-columns: 1fr; align-items: start; gap: 24px; padding: 32px 0 40px; border: 0; }
  .tp-bas { border-bottom: 1px solid var(--line-strong); }
  .tp-ba__big { margin-top: 12px; }
  .tp-ba__from { font-size: clamp(24px, .8rem + 1.2vw, 34px); }
  .tp-ba__into { font-size: clamp(34px, 1rem + 1.8vw, 52px); }
  .tp-ba__word { font-size: clamp(34px, 1rem + 1.8vw, 52px); }
  .tp-ba__row { grid-template-columns: 1fr; gap: 12px; }
  .tp-ba__dl--stack { border-left: 0; border-top: 1px solid var(--line-strong); }
  .tp-ba__dl--stack > div, .tp-ba__dl--stack > div + div { padding: 10px 0 0; }
  .tp-ba__stats { gap: 8px 24px; }
  .tp-ba__stats .num { font-size: 32px; }
}
