@charset "UTF-8";

/* ============================================================
 * 患者支援センター（TOPS）青案 tops.css — 第5稿 2026-09-03（9/3 病院フィードバック反映）
 * 路線: 静かな紙面・強い活字（白基調×TOPSブルー／余白と面で区切る）
 * 罫線は「柱・経歴の二重罫」「タイムラインの1本」「チーム図のスパイン」「表紙の輪郭」「行リスト」に限定。
 * セクションは面の交替と余白で分ける
 * 文言は構成案（2026-08-05）と 9/3 赤字に完全忠実。ヘッダー/フッターは既存のまま
 * 単位: 文字サイズはpx（テーマSP側が html{font-size:62.5%} のため rem は使わない）
 * 10/21: テーマ共通の article p{14px} に負けていた本文の指定を直し、PC本文を一段上げ（末尾の @media (min-width: 769px) ブロック）。
 *        FVは左右50/50（境界＝リード2段組の谷）。APSの約束は03 DREAMの末尾へ
 * 10/26: 追従ナビの「現在地」ラベルと、フッター上の関連リンク向けの指定を削除（吉村様指示で要素ごと撤去）
 * hallmark-jp v2.2 · JP gates: pass目標 (J1–J17) · 行長: 36em
 * 強度: 効かせる（名物: 2分割ヒーロー／DREAM紺バンド／タイムライン8ステップ／ハブ＆スポークのチーム図）
 * ============================================================ */

.tops {
  --t-paper: #f4f7fa;
  --t-surface: #fdfdfe;
  --t-ink: #1b2a3a;
  --t-ink-soft: #4f627a;
  --t-brand: #2a5da8;
  --t-brand-deep: #1c4482;
  --t-brand-tint: #e3ebf6;
  --t-navy: #14284a;
  --t-navy-ink: #f3f6fa;
  --t-navy-sub: #9fc0e8;
  --t-rule: #c8d3e0;
  --t-rule-strong: #8fa3bb;
  --t-container: 1120px;
  --t-measure: 36em;

  background: var(--t-paper);
  color: var(--t-ink);
  font-family: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Yu Gothic Medium", "Yu Gothic", sans-serif;
  font-size: 17px;
  line-height: 1.85;
  overflow-x: clip;
}

.tops *, .tops *::before, .tops *::after { box-sizing: border-box; }

.tops :where(p, h1, h2, h3, h4, ul, ol, dl, figure) { margin: 0; }
.tops h1, .tops h2, .tops h3, .tops h4 {
  font-weight: 700;
  line-height: 1.4;
  text-wrap: balance;
  font-feature-settings: "palt";
}
.tops p { text-wrap: pretty; }
/* テーマ側の要素セレクタ（article p等）から継承を守る */
.tops :where(p, h1, h2, h3, h4, li, dt, dd, span, strong, em, time, figcaption) { color: inherit; }
.tops ul, .tops ol, .tops dl { padding: 0; }
.tops li { list-style: none; }
.tops img { max-width: 100%; height: auto; display: block; }
.tops a { color: var(--t-brand-deep); }
.tops a:hover { color: var(--t-brand); }
.tops a:focus-visible { outline: 2px solid var(--t-brand); outline-offset: 3px; }
.tops em { font-style: normal; }

.tops .t-container {
  max-width: var(--t-container);
  margin-inline: auto;
  padding-inline: clamp(18px, 4vw, 40px);
}
.tops .pcbr { display: inline; }
.tops .tops-nowrap { white-space: nowrap; }

/* --- 単線アイコン（職種・DREAMピクトグラム）共通 --- */
.tops svg { display: block; width: 100%; height: 100%; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.tops svg .tint { fill: var(--t-brand-tint); stroke: none; }

/* --- EN小ラベル＋見出し --- */
.t-label {
  display: block;
  margin-bottom: 10px;
  color: var(--t-brand-deep);
  font-size: 12.48px;
  font-weight: 500;
  letter-spacing: 0.18em;
}
.t-heading { font-size: clamp(22.4px, 2.3vw, 26.4px); letter-spacing: 0.05em; }

/* --- セクション見出し（特大ゴーストナンバー） --- */
.tops-sechead {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 0 14px;
  align-items: end;
  margin-bottom: clamp(28px, 3.5vw, 40px);
}
.tops-sechead > div { position: relative; z-index: 1; }
.tops-sechead__num {
  color: var(--t-brand);
  opacity: 0.14;
  font-size: clamp(48px, 5.5vw, 67.2px);
  font-weight: 700;
  line-height: 0.85;
  font-variant-numeric: tabular-nums;
  user-select: none;
  margin-right: -0.32em;
}
.tops-sechead__sub {
  margin-top: 8px;
  color: var(--t-ink-soft);
  font-size: 16px;
  letter-spacing: 0.05em;
  font-weight: 500;
}
.tops-section--dense .tops-sechead__num { font-size: 35.2px; opacity: 0.35; }
.tops-section--dense .t-heading { font-size: 20.8px; font-weight: 500; letter-spacing: 0.1em; }
.tops-section--dense .tops-sechead { align-items: baseline; margin-bottom: 26px; }

/* ============================================================
 * メインビジュアル — 紺のタイポパネル＋写真（人物を切らない）
 * ロゴは文字ブロック上の余白の上下中央に白い札として据え、センター長は下辺の帯に固定する
 * ============================================================ */
.tops-hero { background: var(--t-surface); }
.tops-hero__grid {
  display: grid;
  /* 写真列は最大900px。広い画面で写真が横長に伸びて上下が切れすぎるのを防ぐ（余った幅は紺パネルが吸収） */
  /* 10/21: 境界をリード文2段組の谷（画面中央）に合わせて左右50/50に。以前の比率は .tops-hero--prev（?hero=prev）で比較できる */
  grid-template-columns: repeat(2, minmax(0, 1fr));
  min-height: clamp(430px, 37vw, 500px); /* 9/9: 磯江調整。1280px時 約475px（元512→358→435→475） */
}
.tops-hero__panel {
  --hero-pad-l: max(clamp(18px, 4vw, 40px), calc((100vw - var(--t-container)) / 2 + clamp(18px, 4vw, 40px)));
  --hero-pad-r: clamp(24px, 4vw, 56px);
  display: flex;
  flex-direction: column;
  background: var(--t-navy);
  color: var(--t-navy-ink);
}
/* ロゴ: 白抜き版を紺に直置きし、キャッチ・タイトルとひとつのロックアップにする。
 * 上下の余白を等分（plate=下寄せ・text=上寄せ）してロックアップ全体をパネルの中央に置く */
.tops-hero__plate {
  flex: 1 0 auto;
  display: grid;
  align-content: end;
  justify-content: start;
  margin: 0;
  padding: clamp(20px, 2.5vw, 28px) var(--hero-pad-r) 0 var(--hero-pad-l);
}
.tops-hero__logo { width: clamp(168px, 13vw, 190px); margin-left: -6px; }
.tops-hero__text {
  flex: 1 0 auto;
  display: grid;
  align-content: start;
  gap: 8px;
  padding: 12px var(--hero-pad-r) clamp(20px, 2.5vw, 28px) var(--hero-pad-l);
}
.tops-hero__en {
  color: var(--t-navy-sub);
  font-size: 12.48px;
  font-weight: 500;
  letter-spacing: 0.22em;
}
.tops-hero__catch {
  color: #dce8f8;
  font-size: clamp(17.6px, 1.7vw, 21.6px);
  font-weight: 600;
  letter-spacing: 0.05em;
}
.tops-hero__title {
  color: var(--t-navy-ink);
  font-size: clamp(30px, 2.9vw, 40px);
  letter-spacing: 0.05em;
  line-height: 1.3;
}
.tops a.tops-hero__director {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px var(--hero-pad-r) 12px var(--hero-pad-l);
  border-top: 1px solid rgba(243, 246, 250, 0.2);
  background: rgba(255, 255, 255, 0.05);
  color: var(--t-navy-ink);
  text-decoration: none;
}
.tops a.tops-hero__director:hover { background: rgba(255, 255, 255, 0.1); color: var(--t-navy-ink); }
.tops-hero__director-text { display: flex; align-items: baseline; gap: 12px; line-height: 1.4; }
.tops-hero__director-text > span { color: var(--t-navy-sub); font-size: 12.16px; letter-spacing: 0.06em; }
.tops-hero__director-text > strong { font-size: 16px; font-weight: 500; letter-spacing: 0.1em; }
.tops-hero__director-more {
  margin-left: auto;
  color: var(--t-navy-sub);
  font-size: 12.8px;
  letter-spacing: 0.08em;
  white-space: nowrap;
}
.tops-hero__director-more::after { content: " ↓"; }
.tops-hero__director:hover .tops-hero__director-more { color: var(--t-navy-ink); }
/* 写真は絶対配置で面を埋める（画像の固有高さで行が伸びないように。行の高さは紺パネル側で決める） */
.tops-hero__media { position: relative; overflow: clip; min-height: 100%; }
/* イラスト正式版はPC(16:9)/SP(5:4)を <picture> で出し分ける。picture自体は箱を作らず、img の配置は従来どおり */
.tops-hero__media > picture { display: contents; }
.tops-hero__media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 45%; /* 顔とタブレット（写真の主題）を残す。上の空きと下の手元を均等に切る */
  display: block;
  filter: saturate(0.92) contrast(1.03);
}
/* イラスト案（?hero=illust）: 白地のイラストは薄い青の面に「置く」 */
/* イラスト案（?hero=illust*）: 9/15 吉村様「PC版はこの画角で納まる方がキレイ」→ 切らずに全体を見せる。
 * 余白はイラストの空の色で埋めて一枚絵に見せる（iStock 2100979299 の空 = #cce2ff。購入版ベクターの値）。イラストA/Bは白地 */
.tops-hero--illust .tops-hero__media { background: #fcfdfe; padding: 0; }
/* 10/21: 50/50にした分だけイラストの左右が入りきらないので cover で見せる（1280幅で左右約12%ずつ外れる。ロゴと人物は残る）。足元は下辺に揃える */
.tops-hero--illust .tops-hero__media img { object-fit: cover; object-position: 50% 100%; filter: none; animation: none; }
.tops-hero--prev .tops-hero__grid { grid-template-columns: minmax(calc(50vw - 124px), 1fr) minmax(0, min(58%, 900px)); }
.tops-hero--prev.tops-hero--illust .tops-hero__media img { object-fit: contain; }
.tops-hero--logo-in-art .tops-hero__media { background: #cce2ff; }
/* ロゴをイラスト側に組み込む案では、紺パネルの白抜きロゴを出さず、キャッチとタイトルだけを中央に */
.tops-hero--logo-in-art .tops-hero__plate { display: none; }
.tops-hero--logo-in-art .tops-hero__text { flex: 1 0 auto; align-content: center; padding-top: clamp(24px, 3vw, 40px); }
.tops-hero__intro { padding-block: clamp(36px, 4.5vw, 52px) clamp(28px, 3.5vw, 40px); }
/* リード文は2段落を左右2段組みにして幅いっぱいに使う */
.tops-hero__lead {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 clamp(32px, 4vw, 56px);
  font-size: 16.32px;
}
/* 10/21: テーマ共通の article p { font-size: 14px } が、p自身に指定の無い段落で勝ち、PCで設計より小さく出ていた
 * （吉村様指摘「リードより支援の柱の本文が大きい」の原因）。p を直接対象にして親のサイズを継がせる。
 * `#top .tops :where(p,…)` の全体防御に font-size を入れると自クラスの指定が潰れるので、個別に */
.tops-hero__lead p, .tops-about__body p, .tops-team__lead p, .tops-media__list p, .tops-media__list p a { font-size: inherit; }

/* ============================================================
 * 追従ナビ
 * ============================================================ */
.tops-pagenav {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(244, 247, 250, 0.97);
  border-block: 1px solid var(--t-rule);
}
.tops-pagenav__inner { display: flex; align-items: center; gap: 22px; min-height: 56px; }
.tops-pagenav__list { display: flex; gap: clamp(10px, 1.8vw, 26px); overflow-x: auto; }
.tops-pagenav__list a {
  position: relative;
  display: inline-block;
  padding-block: 16px;
  color: var(--t-ink);
  font-size: 14.08px;
  letter-spacing: 0.05em;
  text-decoration: none;
  white-space: nowrap;
}
.tops-pagenav__list a::after {
  content: "";
  position: absolute;
  inset-inline: 0;
  bottom: 0;
  height: 2px;
  background: var(--t-brand);
  opacity: 0;
  transition: opacity 200ms ease;
}
.tops-pagenav__list a:hover::after,
.tops-pagenav__list a[aria-current="true"]::after { opacity: 1; }
.tops-pagenav__list a[aria-current="true"] { color: var(--t-brand-deep); font-weight: 500; }
.tops-pagenav__compact { display: none; }

/* ============================================================
 * セクション共通 — 罫線でなく面の交替と余白で分ける
 * ============================================================ */
.tops-section { padding-block: clamp(48px, 6vw, 72px); }
.tops-section--dense { padding-block: clamp(36px, 4.5vw, 52px); }
.tops-about { background: var(--t-paper); }
.tops-team { background: var(--t-surface); }
.tops-flow { background: var(--t-paper); }
.tops-tools { background: #e8eef6; } /* 9/9: 白地だとPDF表紙との境界が分かりづらい→淡い青の面に */
.tops #medical { background: var(--t-paper); }
.tops-director { background: var(--t-surface); }

/* ============================================================
 * 1. TOPSとは — 本文＋外来の多職種写真
 * ============================================================ */
.tops-about__grid {
  display: grid;
  grid-template-columns: minmax(0, 36em) minmax(280px, 1fr);
  gap: 32px clamp(36px, 5vw, 80px);
  align-items: center;
}
.tops-about__body { max-width: var(--t-measure); font-size: 16.32px; }
.tops-about__photo img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  object-position: 50% 40%;
  filter: saturate(0.92) contrast(1.03);
}

/* ============================================================
 * 2. チーム医療
 * ============================================================ */
.tops-team__lead { max-width: var(--t-measure); font-size: 16.32px; }

/* 多職種チーム医療図（9/9 再設計）— 患者さんを中心にした「輪」と、役割の一覧の2部構成
 * 輪: 正方形の中に中心円＋6ノードを絶対配置。軌道の円と6本のスポークはSVGで背面に引く */
.tops-teamfig {
  margin-top: 40px;
  display: grid;
  grid-template-columns: minmax(300px, 440px) minmax(0, 1fr);
  gap: 32px clamp(32px, 5vw, 72px);
  align-items: center;
}
.tops-teamring {
  --ring-icon: 64px;
  position: relative;
  width: 100%;
  max-width: 440px;
  aspect-ratio: 1;
  margin: 12px auto 56px;
}
.tops-teamring__lines {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  stroke: var(--t-rule-strong);
  stroke-width: 1;
  fill: none;
  vector-effect: non-scaling-stroke;
}
.tops-teamring__lines circle { stroke: var(--t-rule); }
.tops-teamring__lines * { vector-effect: non-scaling-stroke; }
.tops-teamring__center {
  position: absolute;
  left: 50%;
  top: 50%;
  translate: -50% -50%;
  width: 36%;
  aspect-ratio: 1;
  border-radius: 50%;
  display: grid;
  place-content: center;
  gap: 4px;
  background: var(--t-navy);
  color: var(--t-navy-ink);
  text-align: center;
  box-shadow: 0 0 0 8px var(--t-surface);
}
.tops-teamring__center strong { font-size: 18.4px; letter-spacing: 0.14em; }
.tops-teamring__center span { color: var(--t-navy-sub); font-size: 10.5px; line-height: 1.5; letter-spacing: 0.02em; }
.tops-teamring__node {
  position: absolute;
  left: var(--x);
  top: var(--y);
  translate: -50% calc(var(--ring-icon) / -2);
  display: grid;
  justify-items: center;
  gap: 6px;
  width: max-content;
}
/* 上端のノードはラベルを輪の外（アイコンの上）に置く。スパインが文字を貫くのを避ける（9/15 お戻し「文字重ならないように」） */
.tops-teamring__node--up { translate: -50% calc(var(--ring-icon) / 2 - 100%); }
.tops-teamring__node--up .tops-teamring__icon { order: 2; }
.tops-teamring__node--up .tops-teamring__label { order: 1; }
.tops-teamring__icon {
  display: grid;
  place-items: center;
  width: var(--ring-icon);
  height: var(--ring-icon);
  padding: 6px;
  border-radius: 50%;
  border: 1px solid var(--t-rule-strong);
  background: var(--t-surface);
  color: var(--t-brand-deep);
}
.tops-teamring__label {
  color: var(--t-ink);
  font-size: 13.6px;
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: 0.04em;
  text-align: center;
}
.tops-teamring__label small { display: block; font-size: 10.5px; font-weight: 500; color: var(--t-ink-soft); letter-spacing: 0.02em; }

/* 役割の一覧 — 罫1本で区切る行リスト（2列） */
.tops-teamroles {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 clamp(24px, 3vw, 40px);
  border-top: 1px solid var(--t-rule);
}
.tops-teamroles > div { border-bottom: 1px solid var(--t-rule); padding: 16px 0 18px; }
.tops-teamroles dt {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--t-brand-deep);
  font-size: 16.8px;
  font-weight: 700;
  letter-spacing: 0.05em;
}
.tops-teamroles__icon { display: block; width: 26px; height: 26px; color: var(--t-brand); flex: none; }
.tops-teamroles dd { margin: 8px 0 0; }
.tops-teamroles dd li {
  position: relative;
  padding-left: 1em;
  font-size: 14.4px;
  line-height: 1.75;
  color: var(--t-ink-soft);
}
.tops-teamroles dd li::before { content: "・"; position: absolute; left: 0; }
.tops-teamfig__note { margin-top: 18px; color: var(--t-ink-soft); font-size: 12.8px; }

/* 3つの支援の柱 — 活字の3コラム（二重罫の帯に収める） */
.tops-pillars__title {
  margin-top: 56px;
  font-size: 20px;
  letter-spacing: 0.1em;
}
.tops-pillarfig { margin-top: 22px; } /* 10/21 「患者さんを中心に〜」の行を削除 */
.tops-pillarfig__pillars {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(24px, 3.5vw, 48px);
  border-block: 3px double var(--t-rule-strong);
  padding-block: 30px 34px;
}
.tops-pillarfig__pillar h4 {
  color: var(--t-brand-deep);
  font-size: 17.6px;
  letter-spacing: 0.04em;
}
.tops-pillarfig__pillar p {
  margin-top: 10px;
  color: var(--t-ink-soft);
  font-size: 15.68px;
}
.tops-pillarfig__pillar a { text-underline-offset: 0.2em; }
.tops-pillarfig__caption { margin-top: 16px; color: var(--t-ink-soft); font-size: 15.2px; }

/* APSの約束 — このセクション唯一の強い面。文＋ベッドサイド回診の写真 */
.tops-aps {
  margin-top: 48px;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr);
  gap: clamp(24px, 3.5vw, 48px);
  align-items: center;
  background: var(--t-brand-tint);
  padding: clamp(30px, 4vw, 44px) clamp(20px, 3.5vw, 44px);
}
.tops-aps__label { color: var(--t-brand-deep); font-size: 13.12px; font-weight: 700; letter-spacing: 0.04em; }
.tops-aps__promise {
  margin-top: 12px;
  font-size: clamp(21.6px, 2.6vw, 28.8px);
  font-weight: 700;
  letter-spacing: 0.04em;
}
.tops-aps__promise em { color: var(--t-brand-deep); }
.tops-aps__body { margin-top: 16px; max-width: var(--t-measure); font-size: 16px; color: var(--t-ink-soft); }
.tops-aps__evidence { margin-top: 8px; max-width: var(--t-measure); font-size: 15.2px; color: var(--t-ink-soft); }
.tops-aps__photo img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  object-position: 50% 35%;
  filter: saturate(0.92) contrast(1.03);
}

/* ============================================================
 * 3. DREAM（紺バンド＝名物。字と余白、右端にピクトグラム）
 * ============================================================ */
.tops-dream {
  background: var(--t-navy);
  color: var(--t-navy-ink);
  padding-block: clamp(72px, 9vw, 108px);
}
.tops-dream .t-label { color: var(--t-navy-sub); }
.tops-dream .t-heading { color: var(--t-navy-ink); }
.tops-dream .tops-sechead__num { color: var(--t-navy-sub); opacity: 0.28; }
.tops-dream__catch {
  margin-top: 8px;
  color: var(--t-navy-ink);
  font-size: clamp(23.2px, 2.8vw, 33.6px);
  font-weight: 600;
  letter-spacing: 0.04em;
  line-height: 1.55;
}
/* 10/21: 目標の文を大きい見出しの位置に移し、「痛くない〜」はこの位置で一段小さく */
.tops-dream__lead { margin-top: 18px; color: var(--t-navy-ink); font-size: 19.2px; font-weight: 600; letter-spacing: 0.03em; }
/* 10/21: APSの約束は03 DREAMの末尾（紺帯の中の淡色カード）。帯の文字色（淡）を継がないように */
.tops-dream .tops-aps { margin-top: clamp(48px, 6vw, 72px); color: var(--t-ink); }
.tops-dream__list { margin-top: clamp(40px, 5vw, 56px); display: grid; gap: clamp(28px, 4vw, 44px); }
.tops-dream__list > li {
  display: grid;
  grid-template-columns: minmax(250px, auto) minmax(0, 1fr) 84px;
  gap: 10px 56px;
  align-items: center;
}
.tops-dream__word {
  font-size: clamp(41.6px, 6vw, 70.4px);
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.01em;
  color: var(--t-navy-ink);
}
.tops-dream__word b { color: var(--t-navy-sub); font-weight: 700; }
.tops-dream__desc strong { display: block; font-size: 20px; letter-spacing: 0.12em; }
.tops-dream__desc span { display: block; margin-top: 6px; color: var(--t-navy-sub); font-size: 15.2px; }
.tops-dream__pict {
  display: block;
  width: 84px;
  height: 84px;
  justify-self: end;
  color: var(--t-navy-ink);
}
.tops-dream__pict svg { stroke-width: 1.4; }
.tops-dream__pict svg .tint { fill: rgba(159, 192, 232, 0.28); }
.tops-dream__note { margin-top: 40px; color: var(--t-navy-sub); font-size: 13.12px; }

/* ============================================================
 * 4. 受診のながれ — タイムライン（縦の1本線＋大きな数字）
 * ============================================================ */
.tops-flow__fact { margin-top: 4px; letter-spacing: 0.04em; }
.tops-flow__fact em { color: var(--t-ink-soft); font-size: 15.2px; }
.tops-flow__fact b {
  margin-inline: 10px;
  color: var(--t-brand-deep);
  font-size: clamp(27.2px, 3.2vw, 36.8px);
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

.tops-steps {
  position: relative;
  margin-top: 44px;
  display: grid;
  gap: clamp(36px, 4.5vw, 48px);
}
.tops-steps::before {
  content: "";
  position: absolute;
  top: 8px;
  bottom: 8px;
  left: 34px;
  width: 2px;
  background: var(--t-rule);
}
.tops-steps > li {
  position: relative;
  display: grid;
  grid-template-columns: 88px minmax(0, 1.2fr) minmax(240px, 1fr);
  grid-template-rows: auto 1fr;
  gap: 16px clamp(20px, 3vw, 44px);
  align-items: start;
}
.tops-steps__text { display: contents; }
.tops-steps__num {
  position: relative;
  z-index: 1;
  display: grid;
  place-content: center;
  width: 68px;
  height: 68px;
  background: var(--t-paper);
  color: var(--t-brand);
  font-size: 24px;
  font-weight: 500;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.02em;
  grid-column: 1;
  grid-row: 1;
}
.tops-steps h3 {
  grid-column: 2;
  grid-row: 1;
  padding-top: 14px;
  font-size: clamp(19.2px, 2vw, 22.4px);
  letter-spacing: 0.05em;
}
.tops-steps__pending {
  grid-column: 2;
  grid-row: 2;
  align-self: start;
  margin-top: 0;
  max-width: 34em;
  background: var(--t-surface);
  padding: 0.9em 1.1em;
  color: var(--t-ink-soft);
  font-size: 14.08px;
}
.tops-steps__pending::before { content: "※ "; }
.tops-steps__body {
  grid-column: 2;
  grid-row: 2;
  align-self: start;
  margin-top: 0;
  max-width: 34em;
  color: var(--t-ink-soft);
  font-size: 16px;
  line-height: 1.85;
}
.tops-steps__body .tops-steps__note { display: block; margin-top: 0.5em; font-size: 14.4px; }
.tops-steps__media { grid-column: 3; grid-row: 1 / span 2; }

/* 写真スロット（カンプ） */
.tops-steps__media--photo img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  display: block;
  filter: saturate(0.92) contrast(1.03);
}
.tops-steps__media--photo figcaption { margin-top: 8px; color: var(--t-ink-soft); font-size: 12.48px; }

/* 原稿・写真待ちプレースホルダ（予備） */
.tops-steps__media:not(.tops-steps__media--photo) {
  position: relative;
  background: var(--t-surface);
  aspect-ratio: 3 / 2;
  display: grid;
  place-content: center;
  text-align: center;
  padding: 12px;
}
.tops-steps__media-tag {
  position: absolute;
  top: 12px;
  left: 14px;
  color: var(--t-rule-strong);
  font-size: 10.88px;
  letter-spacing: 0.2em;
}
.tops-steps__media:not(.tops-steps__media--photo) > span:not(.tops-steps__media-tag) {
  color: var(--t-ink-soft);
  font-size: 13.6px;
  line-height: 1.7;
}
.tops-steps__media b {
  display: block;
  color: var(--t-ink);
  font-size: 14.72px;
  font-weight: 500;
  letter-spacing: 0.06em;
  margin-bottom: 4px;
}

/* 重点ステップ（口腔内チェック）＝白い面で持ち上げる */
.tops-steps > li.is-key {
  background: var(--t-surface);
  padding: clamp(24px, 3vw, 36px) clamp(20px, 3vw, 36px) clamp(28px, 3.5vw, 40px) 0;
}
.tops-steps > li.is-key .tops-steps__num { background: var(--t-surface); font-size: 28.8px; width: 80px; height: 80px; }
.tops-steps > li.is-key h3 { font-size: clamp(21.6px, 2.3vw, 25.6px); }

/* ============================================================
 * 5・6. 資材 — 表紙サムネイルタイル
 * ============================================================ */
.tops-tools__subtitle { margin-top: 8px; font-size: 17.6px; letter-spacing: 0.1em; }
.tops-toolgrid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(168px, 1fr));
  gap: 34px 24px;
  margin-top: 30px;
}
.tops-toolgrid a { display: block; color: inherit; text-decoration: none; }
.tops-toolgrid__cover { display: block; border: 1px solid var(--t-rule); background: #fff; }
.tops-toolgrid__cover img {
  width: 100%;
  aspect-ratio: 1 / 1.41;
  object-fit: contain;
  display: block;
  background: var(--t-surface);
}
.tops-toolgrid__cover--pending {
  display: grid;
  place-content: center;
  aspect-ratio: 1 / 1.41;
  color: var(--t-ink-soft);
  font-size: 14.4px;
  background: var(--t-brand-tint);
}
.tops-toolgrid__title { display: block; margin-top: 12px; font-size: 15.2px; font-weight: 700; line-height: 1.6; }
.tops-toolgrid__meta { display: block; margin-top: 4px; color: var(--t-brand-deep); font-size: 12.8px; }
.tops-toolgrid a:hover .tops-toolgrid__title { color: var(--t-brand-deep); }
.tops-toolgrid a:hover .tops-toolgrid__cover { border-color: var(--t-brand); }

.tops-visit { margin-top: 44px; background: var(--t-brand-tint); padding: 28px clamp(20px, 3vw, 36px) 32px; }
.tops-visit h3 { font-size: 17.6px; letter-spacing: 0.05em; }
.tops-visit p { margin-top: 10px; max-width: var(--t-measure); font-size: 15.2px; color: var(--t-ink-soft); }
.tops-visit__action { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; margin-top: 18px; }
.tops-visit__hint { font-size: 13.12px; color: var(--t-ink-soft); }
/* ボタンは主1種（角形・塗り） */
.tops .tops-btn {
  display: inline-block;
  padding: 13px 26px;
  background: var(--t-brand-deep);
  color: #fcfdfe;
  font-size: 15.2px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-decoration: none;
  transition: background-color 200ms ease;
}
.tops .tops-btn:hover { background: var(--t-brand); color: #fcfdfe; }

/* ============================================================
 * 7. センター長紹介・メディア出演
 * ============================================================ */
.tops-director__grid {
  display: grid;
  grid-template-columns: minmax(220px, 300px) minmax(0, 1fr);
  gap: clamp(28px, 4.5vw, 64px);
  align-items: start;
}
.tops-director__photo img { aspect-ratio: 4 / 5; object-fit: cover; }
.tops-director__title { color: var(--t-brand-deep); font-size: 14.4px; font-weight: 500; letter-spacing: 0.05em; }
.tops-director__name { margin-top: 2px; font-size: 27.2px; letter-spacing: 0.1em; }
.tops-director__name span {
  margin-left: 14px;
  color: var(--t-ink-soft);
  font-size: 13.12px;
  font-weight: 500;
  letter-spacing: 0.14em;
}
.tops-director__dl { margin-top: 26px; border-top: 3px double var(--t-rule-strong); padding-top: 10px; }
.tops-director__dl > div { padding-block: 14px; }
.tops-director__dl dt {
  color: var(--t-brand-deep);
  font-size: 13.12px;
  font-weight: 500;
  letter-spacing: 0.05em;
}
.tops-director__dl dd { margin: 6px 0 0; font-size: 16px; max-width: var(--t-measure); }
.tops-director__dl dd ul li { line-height: 1.9; }
.tops-director--sub { margin-top: 48px; max-width: 640px; }

.tops-media { margin-top: 56px; }
.tops-media__title { font-size: 20px; letter-spacing: 0.04em; }
.tops-media__list { margin-top: 18px; border-top: 1px solid var(--t-rule); }
.tops-media__list > li {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr); /* 10/21: 日付列を内容幅にしてタイトルの1行に入る幅を広げる */
  gap: 24px;
  border-bottom: 1px solid var(--t-rule);
  padding-block: 15px;
  font-size: 15.68px;
}
.tops-media__list time { color: var(--t-ink-soft); font-variant-numeric: tabular-nums; white-space: nowrap; }
.tops-media__list p { max-width: none; } /* 10/21 吉村様: タイトルは折り返さず1行に（SPは折り返す） */
.tops-media__more { margin-top: 18px; display: flex; flex-wrap: wrap; gap: 6px 28px; font-size: 14.4px; }

/* ============================================================
 * はね: 一度きりのモーションとステップ現在地
 * ============================================================ */
@media (prefers-reduced-motion: no-preference) {
  @keyframes tops-kenburns { from { scale: 1; } to { scale: 1.06; } }
  .tops-hero:not(.tops-hero--illust) .tops-hero__media img {
    animation: tops-kenburns 22s ease-out 1 forwards;
    transform-origin: 60% 40%;
  }
  @keyframes tops-rise { from { opacity: 0; translate: 0 26px; } to { opacity: 1; translate: 0 0; } }
  .tops-hero__panel .tops-hero__catch { animation: tops-rise 700ms ease-out 1 backwards; }
  .tops-hero__panel .tops-hero__title { animation: tops-rise 700ms ease-out 120ms 1 backwards; }
}

.tops-steps__num { transition: background-color 300ms ease, color 300ms ease; }
.tops-steps > li.is-current .tops-steps__num {
  background: var(--t-brand);
  color: #fcfdfe;
}
.tops-steps > li.is-key.is-current .tops-steps__num { background: var(--t-brand-deep); }

/* ============================================================
 * reveal
 * ============================================================ */
.reveal { opacity: 0; translate: 0 24px; transition: opacity 600ms ease-out, translate 600ms ease-out; }
.reveal.is-in { opacity: 1; translate: 0 0; }

/* ============================================================
 * レスポンシブ
 * ============================================================ */
@media (max-width: 960px) {
  .tops-teamfig { grid-template-columns: minmax(0, 1fr); gap: 8px; }
  .tops-teamring { max-width: 420px; }
  .tops-steps > li { grid-template-columns: 68px minmax(0, 1fr); }
  .tops-steps h3, .tops-steps__pending, .tops-steps__body { grid-column: 2; }
  .tops-steps__media { grid-column: 2; grid-row: 3; max-width: 460px; }
  .tops-pillarfig__pillars { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .tops-aps { grid-template-columns: minmax(0, 1fr); }
  .tops-aps__photo { max-width: 520px; }
  .tops-about__grid { grid-template-columns: minmax(0, 1fr); }
  .tops-about__photo { max-width: 560px; }
}

@media (max-width: 768px) {
  .tops { font-size: 16px; }

  /* センター群の画像ボタンはSP非表示（ロボット手術センター等の既存SP挙動に合わせる） */
  .subMenu_2021 { display: none; }

  /* テーマSP側 #top main article p/li の色・サイズ上書きから防御 */
  #top .tops :where(p, li, table) { color: inherit; }

  /* 関連リンク（サイト共通部）のSP最低限の整え */

  .tops-hero__grid { grid-template-columns: minmax(0, 1fr); min-height: 0; }
  .tops-hero__panel { --hero-pad-l: 18px; --hero-pad-r: 18px; order: 2; }
  .tops-hero__plate { padding: 20px 18px 0; }
  .tops-hero__logo { width: 156px; margin-left: -5px; }
  .tops-hero__text { padding: 8px 18px 18px; gap: 4px; text-align: center; } /* 10/21 吉村様: SPはキャッチ・タイトルを中央に */
  .tops-hero__director { padding-block: 12px; gap: 12px; }
  .tops-hero__director img { width: 40px; height: 40px; }
  .tops-hero__media { order: 1; }
  .tops-hero__media { min-height: 0; }
  .tops-hero__media img { position: static; height: auto; aspect-ratio: 4 / 3; object-position: 50% 30%; }
  /* SPのイラスト案は余白なしの横幅100%（9/9 磯江指示）。画像自体の比率で表示し、上下の帯も作らない */
  .tops-hero--illust .tops-hero__media { padding: 0; background: #fff; }
  .tops-hero--illust .tops-hero__media img { width: 100%; height: auto; aspect-ratio: auto; object-fit: fill; }
  .tops-hero--logo-in-art .tops-hero__text { padding-top: 22px; }
  .tops-hero__lead { grid-template-columns: minmax(0, 1fr); }
  .tops-hero__lead p + p { margin-top: 1em; }
  .tops .pcbr { display: none; }

  .tops-sechead { display: block; position: relative; }
  .tops-sechead__num { position: absolute; left: -4px; top: -14px; margin: 0; font-size: 60px; opacity: 0.12; }
  .tops-section--dense .tops-sechead__num { font-size: 36px; top: -8px; opacity: 0.25; }

  .tops-pagenav__list { display: none; }
  .tops-pagenav__compact { display: block; width: 100%; position: relative; }
  .tops-pagenav__compact summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    min-height: 50px;
    cursor: pointer;
    list-style: none;
  }
  .tops-pagenav__compact summary::-webkit-details-marker { display: none; }
  .tops-pagenav__current { font-size: 14.4px; font-weight: 500; }
  .tops-pagenav__toggle { color: var(--t-ink-soft); font-size: 12.48px; letter-spacing: 0.1em; }
  .tops-pagenav__toggle::after { content: " ▾"; }
  .tops-pagenav__compact[open] .tops-pagenav__toggle::after { content: " ▴"; }
  .tops-pagenav__compact > ul {
    position: absolute;
    inset-inline: -18px;
    top: 100%;
    z-index: 50;
    background: var(--t-surface);
    border-block: 1px solid var(--t-rule);
    box-shadow: 0 12px 24px rgba(27, 42, 58, 0.12);
    padding: 6px 18px 10px;
  }
  .tops-pagenav__compact > ul a {
    display: block;
    padding-block: 12px;
    border-bottom: 1px solid var(--t-rule);
    color: var(--t-ink);
    font-size: 15.2px;
    text-decoration: none;
  }
  .tops-pagenav__compact > ul li:last-child a { border-bottom: 0; }
  .tops-pagenav__compact > ul a[aria-current="true"] { color: var(--t-brand-deep); font-weight: 700; }

  /* チーム図（SP）: 輪を縮めて中央に。役割一覧は1列 */
  .tops-teamfig { margin-top: 28px; }
  .tops-teamring { --ring-icon: 54px; max-width: 340px; margin: 8px auto 48px; }
  .tops-teamring__center { width: 38%; box-shadow: 0 0 0 6px var(--t-surface); }
  .tops-teamring__center strong { font-size: 15.2px; }
  .tops-teamring__center span { font-size: 9.5px; }
  .tops-teamring__label { font-size: 12px; }
  .tops-teamring__label small { font-size: 9.5px; }
  .tops-teamring__label .tops-teamring__sub--long { display: none; } /* 正式名称は下の一覧にある。中心の円に文字が触れるのを避ける（9/15 お戻し） */
  .tops-teamroles { grid-template-columns: minmax(0, 1fr); }
  .tops-teamroles dt { font-size: 16px; }

  .tops-dream__list > li { grid-template-columns: minmax(0, 1fr) 64px; gap: 8px 16px; }
  .tops-dream__word { grid-column: 1; }
  .tops-dream__pict { grid-column: 2; grid-row: 1 / span 2; width: 64px; height: 64px; align-self: center; }
  .tops-dream__desc { grid-column: 1; }

  .tops-steps::before { left: 24px; }
  .tops-steps > li { grid-template-columns: 48px minmax(0, 1fr); }
  .tops-steps__num { width: 48px; height: 48px; font-size: 20px; }
  .tops-steps h3 { padding-top: 8px; }
  .tops-steps > li.is-key { padding-inline: 14px; }
  .tops-steps > li.is-key .tops-steps__num { width: 48px; height: 48px; font-size: 22.4px; }

  .tops-toolgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 26px 16px; }

  .tops-director__grid { grid-template-columns: minmax(0, 1fr); }
  .tops-director__photo { max-width: 300px; }
  .tops-media__list > li { grid-template-columns: minmax(0, 1fr); gap: 2px; }
}

/* ============================================================
 * 10/21 PC本文の一段上げ（吉村様「PC版は全体的に小さい」）。見出しは据え置き、本文と小さな文字を約1px上げてジャンプ率を縮める。
 * SPは指摘なしのため据え置き（このブロックはPC幅だけ）
 * ============================================================ */
@media (min-width: 769px) {
  .tops-hero__lead, .tops-about__body, .tops-team__lead { font-size: 17.6px; }
  .tops-hero__director-text > span { font-size: 13.6px; }
  .tops-hero__director-text > strong { font-size: 18.4px; }
  .tops-hero__director-more { font-size: 13.6px; }
  .tops-pagenav__list a { font-size: 14.4px; }
  .tops-teamroles dt { font-size: 17.6px; }
  .tops-teamroles dd li { font-size: 15.2px; }
  .tops-teamfig__note { font-size: 13.6px; }
  .tops-pillarfig__pillar h4 { font-size: 18.4px; }
  .tops-pillarfig__pillar p { font-size: 16.5px; }
  .tops-pillarfig__caption { font-size: 16px; }
  .tops-aps__label { font-size: 13.6px; }
  .tops-aps__body { font-size: 17px; }
  .tops-aps__evidence { font-size: 16px; }
  .tops-dream__lead { font-size: 20px; }
  .tops-dream__desc strong { font-size: 20.8px; }
  .tops-dream__desc span { font-size: 16px; }
  .tops-flow__fact em { font-size: 16px; }
  .tops-steps__body { font-size: 17px; }
  .tops-steps__body .tops-steps__note { font-size: 15.2px; }
  .tops-steps__media--photo figcaption { font-size: 13.12px; }
  .tops-toolgrid__title { font-size: 16px; }
  .tops-toolgrid__meta { font-size: 13.6px; }
  .tops-visit p { font-size: 16px; }
  .tops-visit__hint { font-size: 13.6px; }
  .tops .tops-btn { font-size: 16px; }
  .tops-director__title { font-size: 15.2px; }
  .tops-director__dl dt { font-size: 13.6px; }
  .tops-director__dl dd { font-size: 17px; }
  .tops-media__list > li { font-size: 16.5px; }
  .tops-media__more { font-size: 15.2px; }
}

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; translate: none; transition: none; }
  .tops * { transition: none !important; }
}
