/*
  guide.css : 症状ページ・検査ページ（/symptoms/ /tests/ ほか）の共通スタイル
  common.css のあとに読む。ヘッダー・フッター・パンくず・h1 の帯は common.css をそのまま使う。
  値は website/DESIGN.md に書かれたものだけを使う（出典は各行のコメント）。
  余白は 4 / 8 / 12 / 16 / 24 / 32 / 48 / 64 / 96 の段階から選ぶ。
  common.css は 1rem = 100px（PC）／画面幅に比例（スマホ）なので、このファイルは px だけで書く。
*/

:root {
  --guide-text: #464d5a;       /* DESIGN 2-B 本文 */
  --guide-ink: #19374d;        /* DESIGN 2-A --datsumou-ink 小見出し・強調 */
  --guide-muted: #5c7180;      /* DESIGN 2-A --datsumou-muted 補足（白の上 5.05:1） */
  --guide-blue: #336abd;       /* DESIGN 2-B アクセント・h2（白の上 5.33:1） */
  --guide-navy: #124a78;       /* DESIGN 2-A --datsumou-navy リンク・番号（白の上 9.22:1） */
  --guide-surface: #eff4f9;    /* DESIGN 2-B 薄い青の面 */
  --guide-line: #d9e4e9;       /* DESIGN 2-A --datsumou-line 区切り線 */
  --guide-gold: #c69b45;       /* DESIGN 2-A --datsumou-gold 救急の囲みの線（救急の囲みだけに使う） */
  --guide-gold-soft: #f7eedb;  /* DESIGN 2-A --datsumou-gold-soft 救急の囲みの面 */
  --guide-radius: 12px;        /* DESIGN 4-A 角丸 12px */
  --guide-radius-sm: 8px;      /* DESIGN 4-A 角丸 8px */
  --guide-measure: 736px;      /* 本文の幅 = 46em（約 45 字）× 16px。DESIGN 4-A の子ページ 42em〜60em の範囲 */
  --guide-bar-h: 64px;         /* 固定バーの高さ（スマホ）。ボタン 44px ＋ 上下 10px */
}

/* 固定バーの分だけ最後の行をあける（フッターのいちばん下がバーに隠れない） */
.guide-body .container {
  padding-bottom: calc(var(--guide-bar-h) + 16px);
}

.guide-main {
  font-size: 16px;
  line-height: 1.8;
  color: var(--guide-text);
  letter-spacing: 0.02em;
  padding-bottom: calc(96px + 96px + 48px); /* フッター上の「先頭へ戻る」の目印（丸の動きの上端がフッターの 213px 上）と本文の間を 24px 以上あける。段階の 96・96・48 の和 */
}

/* 768px 未満では目印の位置が rem（common.css：動く範囲の上端がフッターの 2.16rem 上）なので、画面が広いスマホ（約 473〜767px）では 240px では足りない。
   目印の位置に合わせた計算式にする（新しい余白の段階ではない）。 */
@media only screen and (max-width: 767.98px) {
  .guide-main { padding-bottom: max(calc(96px + 96px + 48px), calc(2.16rem + 24px)); }
}

.guide-main *,
.guide-bar * {
  box-sizing: border-box;
}

.guide-main a {
  color: var(--guide-navy);
  text-underline-offset: 3px;
}

.guide-main a:focus-visible,
.guide-main summary:focus-visible,
.guide-bar a:focus-visible {
  outline: 3px solid var(--guide-navy);
  outline-offset: 2px;
}

.guide-container {
  width: 100%;
  max-width: calc(var(--guide-measure) + 32px);
  margin: 0 auto;
  padding: 0 16px;
}

@media (min-width: 768px) {
  .guide-container {
    max-width: calc(var(--guide-measure) + 48px);
    padding: 0 24px;
  }
}

/* 768〜1150px は右端の電話の目印（common.css、固定）が本文にかぶるので、右の内側をあける */
@media (min-width: 768px) and (max-width: 1150px) {
  .guide-container {
    max-width: calc(var(--guide-measure) + 88px);
    padding-right: 64px;
  }
}

/* h1 の帯（common.css の .section-common-heading）の下の余白を、この型では少し詰める */
.guide-body .section-common-heading {
  margin-bottom: 32px;
}

/* パンくずの文字は common.css だとスマホで 12.4px になるので、13px 以上にそろえる（DESIGN-BASE 2 節） */
@media (max-width: 767.98px) {
  .guide-body .breadcrumb-list { font-size: 13px; }
}

/* ---------- 見出し・章 ---------- */

/* 章の間：スマホは上の余白 32px ＋ 線の上 32px ＝ 64px、PC は 48px ＋ 48px ＝ 96px */
.guide-section {
  padding: 32px 0 0;
  scroll-margin-top: 64px;
}

.guide-section + .guide-section {
  margin-top: 32px;
  border-top: 1px solid var(--guide-line);
}

.guide-container > .guide-section:first-of-type {
  padding-top: 16px;
}

@media (min-width: 768px) {
  .guide-section { padding-top: 48px; }
  .guide-section + .guide-section { margin-top: 48px; }
  .guide-container > .guide-section:first-of-type { padding-top: 24px; }
}

/* ページの名前（h1）。青い帯には区分の名前を出し、ページの名前は本文の一番上に大きく出す（オーナー 2026-11-19） */
.guide-main .guide-title {
  margin: 0 0 16px;
  font-size: clamp(28px, 3.2vw, 42px); /* DESIGN 3-B カルーセル h2 の値。子ページ h1（30〜54px）は大きすぎた（オーナー 2026-11-19「ちょっと見出しが大きすぎるかも」） */
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: 0.02em;
  color: var(--guide-ink);
  text-wrap: balance;
  word-break: auto-phrase;
  font-feature-settings: "palt" 1;
}

/* ページの頭の写真（任意）。今ある写真は 240×320 と小さいので、ぼやけない大きさで h1 の右に縦長に置く（オーナー 2026-11-22） */
.guide-head.has-photo {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 112px;
  column-gap: 16px;
  align-items: start;                  /* 写真のないページと h1 の上端をそろえる（デザインレビュー 2026-11-22） */
  margin: 0 0 16px;
}

.guide-head.has-photo .guide-title { margin: 0; }

.guide-head-photo { margin: 0; }

.guide-head-photo img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  border-radius: var(--guide-radius);   /* DESIGN 4-A 角丸 12px */
  background: var(--guide-surface);
  outline: 1px solid var(--guide-line);  /* 白い壁の写真が背景に溶けないように（既存の線の色） */
  outline-offset: -1px;
}

.guide-head-photo figcaption {
  margin-top: 8px;
  font-size: 13px;                     /* DESIGN-BASE 2 節の下限 13px。DESIGN の 14px では 112px 幅で 3 行に折れるため */
  line-height: 1.5;
  color: var(--guide-muted);
}

@media (min-width: 768px) {
  .guide-head.has-photo {
    grid-template-columns: minmax(0, 1fr) 144px;  /* 元の写真が 240px なので、2 倍の画面でぼやけにくい幅 */
    column-gap: 32px;
  }
  .guide-head-photo figcaption { font-size: 14px; }  /* DESIGN 5 写真のキャプション 14px */
}

/* 広い画面では h1 と写真の間を詰める（写真が離れて浮いて見えないように） */
@media (min-width: 1024px) {
  .guide-head.has-photo {
    grid-template-columns: minmax(0, max-content) 144px;
    justify-content: start;
    column-gap: 48px;
  }
}

/* h1 の最後の（草加市の内科…）は下の行に小さく */
.guide-main .guide-title-sub {
  display: block;
  margin-top: 8px;
  font-size: 16px;                     /* 本文の大きさ */
  line-height: 1.7;
  letter-spacing: 0.02em;
  color: var(--guide-muted);
}

.guide-main h2,
.guide-main h3 {
  font-weight: 700;
  text-wrap: balance;
  word-break: auto-phrase;
  font-feature-settings: "palt" 1;
}

.guide-main h2 {
  margin: 0 0 24px;
  font-size: clamp(25px, 3vw, 36px);   /* DESIGN 3-B 子ページ h2 */
  line-height: 1.4;
  letter-spacing: 0.02em;
  color: var(--guide-blue);            /* DESIGN 2-B 見出しの青（今のサイトの見出しの色） */
}

.guide-main h3 {
  margin: 0 0 8px;
  font-size: clamp(19px, 2vw, 24px);   /* DESIGN 3-B 子ページ h3 */
  line-height: 1.5;
  color: var(--guide-ink);
}

.guide-main p {
  margin: 0 0 16px;
  text-wrap: pretty;
}

.guide-main p:last-child { margin-bottom: 0; }

.guide-note {
  font-size: 14px;
  line-height: 1.7;
  color: var(--guide-muted);
}

/* ---------- まとめ（症状：3 行の結論／検査：4 行のまとめ） ---------- */

.guide-summary {
  margin: 0;
  background: var(--guide-surface);
  border-radius: var(--guide-radius);
  padding: 8px 16px;
}

.guide-summary > div {
  padding: 16px 0;
}

.guide-summary > div + div {
  border-top: 1px solid var(--guide-line);
}

.guide-summary dt {
  margin: 0 0 4px;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.6;
  color: var(--guide-ink);
}

.guide-summary dd {
  margin: 0;
  font-size: 18px;
  font-weight: 500;
  line-height: 1.7;
  color: var(--guide-ink);
}

@media (min-width: 768px) {
  .guide-summary { padding: 8px 24px; }
  .guide-summary > div {
    display: grid;
    grid-template-columns: 11em 1fr;
    column-gap: 24px;
    align-items: baseline;
  }
  .guide-summary dt { margin: 0; }
}

/* ---------- チェックリスト ---------- */

.guide-checklist {
  list-style: none;
  margin: 0;
  padding: 0;
}

.guide-checklist li {
  position: relative;
  padding: 12px 0 12px 36px;
  border-bottom: 1px solid var(--guide-line);
}

.guide-checklist li:first-child { border-top: 1px solid var(--guide-line); }

.guide-checklist li::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 20px;
  width: 12px;
  height: 7px;
  border-left: 3px solid var(--guide-blue);
  border-bottom: 3px solid var(--guide-blue);
  transform: rotate(-45deg);
}

/* ---------- すぐ受診・救急のサイン（金色はこの囲みだけ） ---------- */

.guide-alert {
  background: var(--guide-gold-soft);
  border-left: 4px solid var(--guide-gold);
  border-radius: var(--guide-radius);
  padding: 24px 16px;
}

@media (min-width: 768px) {
  .guide-alert { padding: 24px 32px; }
}

.guide-alert h2 {
  margin-bottom: 16px;
}

.guide-alert-tier {
  padding-bottom: 16px;
  border-bottom: 1px solid var(--guide-gold);
  margin-bottom: 16px;
}

.guide-alert-tier ul {
  margin: 0 0 12px;
  padding-left: 1.4em;
}

.guide-alert-tier li { margin-bottom: 4px; }

.guide-alert-call {
  margin: 0;
  font-weight: 700;
  color: var(--guide-ink);
}

.guide-alert-call strong {
  display: inline-block;
  margin-right: 8px;
  font-size: 24px;
  line-height: 1.4;
}

.guide-alert-after {
  margin: 0;
  color: var(--guide-ink);
}

.guide-alert-after strong {
  display: block;
  margin-bottom: 4px;
}

/* ---------- カード（検査・症状へのリンク） ---------- */

.guide-cards {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 16px;
  grid-template-columns: 1fr;
}

@media (min-width: 768px) {
  .guide-cards { grid-template-columns: 1fr 1fr; }
}

.guide-card a {
  display: block;
  height: 100%;
  min-height: 44px;
  padding: 16px 48px 16px 16px;
  position: relative;
  background: #fff;
  border: 1px solid var(--guide-line);
  border-radius: var(--guide-radius-sm);
  color: var(--guide-text);
  text-decoration: none;
}

.guide-card a:hover { border-color: var(--guide-navy); }

.guide-card a::after {
  content: "";
  position: absolute;
  right: 20px;
  top: 50%;
  width: 10px;
  height: 10px;
  margin-top: -5px;
  border-top: 2px solid var(--guide-navy);
  border-right: 2px solid var(--guide-navy);
  transform: rotate(45deg);
}

.guide-card-title {
  display: block;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.5;
  color: var(--guide-navy);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.guide-card-text {
  display: block;
  margin-top: 4px;
  font-size: 14px;
  line-height: 1.7;
  color: var(--guide-muted);
}

/* ---------- 2 列（わかること・わからないこと） ---------- */

.guide-compare {
  display: grid;
  gap: 16px;
  grid-template-columns: 1fr;
}

@media (min-width: 768px) {
  .guide-compare { grid-template-columns: 1fr 1fr; gap: 24px; }
}

.guide-compare > div {
  padding: 16px;
  background: var(--guide-surface);
  border-radius: var(--guide-radius);
}

.guide-compare ul {
  margin: 0;
  padding-left: 1.4em;
}

/* ---------- 番号付きの手順 ---------- */

.guide-steps {
  list-style: none;
  margin: 0;
  padding: 0;
  counter-reset: guide-step;
}

.guide-steps > li {
  position: relative;
  counter-increment: guide-step;
  padding: 0 0 24px 48px;
  min-height: 44px;
}

.guide-steps > li:last-child { padding-bottom: 0; }

.guide-steps > li::before {
  content: counter(guide-step);
  position: absolute;
  left: 0;
  top: 0;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--guide-navy);
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  line-height: 32px;
  text-align: center;
}

/* 手順どうしを細い線でつなぐ */
.guide-steps > li::after {
  content: "";
  position: absolute;
  left: 15px;
  top: 36px;
  bottom: 4px;
  width: 2px;
  background: var(--guide-line);
}

.guide-steps > li:last-child::after { display: none; }

.guide-steps strong {
  display: block;
  font-size: 18px;
  line-height: 1.7;
  color: var(--guide-ink);
}

/* ---------- 表（費用・診療時間） ---------- */

.guide-table-wrap {
  width: 100%;
  overflow-x: auto;   /* 長い金額の文でページ全体が横にずれないように */
}

.guide-table {
  width: 100%;
  table-layout: fixed;
  border-collapse: collapse;
  font-size: 16px;
  line-height: 1.7;
}

.guide-table caption {
  padding-bottom: 8px;
  text-align: left;
  font-size: 14px;
  color: var(--guide-muted);
}

.guide-table th,
.guide-table td {
  padding: 12px 8px;
  border-bottom: 1px solid var(--guide-line);
  text-align: left;
  vertical-align: top;
  overflow-wrap: anywhere;   /* 費用の表は金額の文を折り返す */
}

/* 診療時間の表：時刻は折り返さない */
.guide-table.is-time td { white-space: nowrap; }

.guide-table col.is-label { width: 30%; }

/* 週の診療時間の表（今の「診療時間・アクセス」のページ site/clinic.html の表に合わせる。オーナー 2026-11-22） */
.guide-table.is-week th,
.guide-table.is-week td {
  padding: 8px 4px;
  border: 1px solid var(--guide-line); /* DESIGN 2-A 区切り線（clinic.css の #d1d3d6 に近い既存の値） */
  text-align: center;
  vertical-align: middle;
  white-space: nowrap;
}

.guide-table.is-week thead th {
  background: #fff;
  color: var(--guide-blue);          /* clinic.css の曜日の色 #336abd */
}

.guide-table.is-week th:first-child {
  width: 30%;                        /* 表は table-layout: fixed なので、1 列目の幅を見出しの行で決める */
  white-space: normal;
  word-break: keep-all;
  font-size: 13px;
  line-height: 1.5;
}

.guide-table.is-week td.is-none {
  color: #d93340;                    /* DESIGN 2-B #d93340。白の地で 4.67:1（淡い赤の地では 4.5:1 に届かないため地は白のまま） */
}

.guide-table.is-week caption {      /* 見出しと同じ語が並ぶので、画面には出さず読み上げだけに */
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

@media (min-width: 768px) {
  .guide-table.is-week th,
  .guide-table.is-week td { padding: 10px 8px; }
  .guide-table.is-week th:first-child { width: 10em; font-size: 15px; white-space: nowrap; }
}

.guide-table thead th {
  background: var(--guide-surface);
  color: var(--guide-ink);
  font-weight: 700;
}

.guide-table tbody th {
  font-weight: 500;
  color: var(--guide-ink);
}

@media (min-width: 768px) {
  .guide-table th,
  .guide-table td { padding: 12px 16px; }
}

/* ---------- 項目と説明（所要時間・痛みなど） ---------- */

.guide-facts {
  margin: 0;
}

.guide-facts > div {
  padding: 16px 0;
  border-bottom: 1px solid var(--guide-line);
}

.guide-facts > div:first-child { border-top: 1px solid var(--guide-line); }

.guide-facts dt {
  margin: 0 0 4px;
  font-weight: 700;
  color: var(--guide-ink);
}

.guide-facts dd { margin: 0; }

@media (min-width: 768px) {
  .guide-facts > div {
    display: grid;
    grid-template-columns: 11em 1fr;
    column-gap: 24px;
  }
  .guide-facts dt { margin: 0; }
  /* 2 列の箱（わかること／わからないこと）の中では、項目名の下に説明を置く（説明の列が細くならないように。オーナー 2026-11-22） */
  .guide-compare .guide-facts > div { display: block; }
  .guide-compare .guide-facts dt { margin-bottom: 4px; }
}

/* ---------- 写真・図（任意。使うときは院の確認が要る） ---------- */

.guide-figure {
  margin: 24px 0 0;
}

.guide-figure-frame {
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--guide-surface);
  border-radius: var(--guide-radius);
  color: var(--guide-muted);
  font-size: 14px;
  text-align: center;
}

.guide-figure img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* 本文の図（案内図など）。切り抜かずに全体を出す（オーナー 2026-11-24「画像も載せる」） */
.guide-figure.is-map img {
  display: block;
  width: 100%;
  max-width: 560px;
  height: auto;
  border: 1px solid var(--guide-line);   /* DESIGN 2-A 区切り線 */
  border-radius: var(--guide-radius);     /* DESIGN 4-A 角丸 12px */
  background: #fff;
}

.guide-figure figcaption {
  margin-top: 8px;
  font-size: 14px;
  line-height: 1.7;
  color: var(--guide-muted);
}

/* ---------- よくある質問（details / summary。JS 不要） ---------- */

.guide-faq details {
  border-bottom: 1px solid var(--guide-line);
}

.guide-faq details:first-of-type { border-top: 1px solid var(--guide-line); }

.guide-faq summary {
  position: relative;
  display: block;
  min-height: 44px;
  padding: 12px 40px 12px 0;
  font-weight: 700;
  color: var(--guide-ink);
  cursor: pointer;
  list-style: none;
}

.guide-faq summary::-webkit-details-marker { display: none; }

.guide-faq summary::before {
  content: "Q.";
  margin-right: 8px;
  color: var(--guide-navy);
}

.guide-faq summary::after {
  content: "+";
  position: absolute;
  right: 8px;
  top: 12px;
  font-size: 24px;
  line-height: 1.5;
  color: var(--guide-navy);
}

.guide-faq details[open] summary::after { content: "\2212"; }

.guide-faq .guide-faq-answer {
  padding: 0 0 16px 28px;
}

/* ---------- 執筆・監修医師 ---------- */

.guide-author {
  padding: 16px;
  background: var(--guide-surface);
  border-radius: var(--guide-radius);
}

.guide-author dl { margin: 0; }

.guide-author dt {
  font-size: 14px;
  font-weight: 700;
  color: var(--guide-muted);
}

.guide-author dd { margin: 0 0 12px; }
.guide-author dd:last-child { margin-bottom: 0; }

/* ---------- リンク（ボタン風） ---------- */

.guide-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 8px 24px;
  border-radius: 999px;
  background: var(--guide-blue);
  color: #fff !important;
  font-weight: 700;
  text-decoration: none !important;
}

.guide-button:hover { background: var(--guide-navy); }

/* 余白のためのクラス（段階：12・16・32） */
.guide-main .guide-mt-12 { margin-top: 12px; }
.guide-main .guide-mt-16 { margin-top: 16px; }
.guide-main .guide-mt-32 { margin-top: 32px; }

/* ---------- 画面下の固定バー（受付時間・混雑の目安・道順。予約ボタンは置かない） ---------- */
/* スマホ：1 段・64px。3 つのボタンだけ（受付時間はページ内の「受付時間・道順」の章へ移動）。
   PC：受付時間の文（3 行）と、混雑の目安・道順の 2 ボタン */

.guide-bar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.97);
  border-top: 1px solid var(--guide-line);
  box-shadow: 0 -8px 24px rgba(22, 61, 88, 0.13);   /* DESIGN 4-A 固定 CTA の影 */
  color: var(--guide-text);
  font-family: "M PLUS Rounded 1c", "Hiragino Kaku Gothic ProN", "Yu Gothic", Meiryo, sans-serif;
  font-size: 14px;
  line-height: 1.6;
}

.guide-bar-inner {
  display: block;
  max-width: calc(var(--guide-measure) + 32px);
  margin: 0 auto;
  padding: 10px 16px;
  padding-bottom: calc(10px + env(safe-area-inset-bottom, 0px));
}

/* スマホでは受付時間の文を隠し、「受付時間」ボタンから章へ移す */
.guide-bar-hours { display: none; margin: 0; }
.guide-bar-hours span { display: block; }
.guide-bar-hours strong { margin-right: 8px; color: var(--guide-ink); }
.guide-bar-hours .is-walkin { color: var(--guide-ink); font-weight: 700; }  /* 予約なしの 1 行を受付時間より強く */

.guide-bar-links {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 8px;
}

.guide-bar-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 4px 4px;
  border: 2px solid var(--guide-blue);
  border-radius: 999px;
  background: #fff;
  color: var(--guide-blue);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.3;
  text-align: center;
  text-decoration: none;
}

.guide-bar-links a.is-route {
  background: var(--guide-blue);
  color: #fff;
}

/* PC（1024px 以上）：受付時間の文（3 行）と 2 ボタン。768〜1023px はスマホと同じ 3 ボタン（文が折り返して背が高くなるため） */
@media (min-width: 1024px) {
  :root { --guide-bar-h: 96px; }
  .guide-bar-inner {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    gap: 24px;
    max-width: 1120px;  /* DESIGN.md 4-B のコンテナの値（2026-11-17 オーナー承認） */
    padding: 12px 24px;
  }
  .guide-bar-hours { display: block; }
  .guide-bar-links { grid-template-columns: auto auto; }
  .guide-bar-links a { padding: 4px 24px; font-size: 15px; }
  .guide-bar-links a.is-hours { display: none; }   /* PC は受付時間の文が見えている */
}

/* 右端の電話の目印（common.css の .header-phone、幅 59px）とバーのボタンが重ならないように */
@media (min-width: 1024px) and (max-width: 1150px) {
  .guide-bar-inner { padding-right: 80px; }
}

@media (max-width: 359px) {
  .guide-bar-links { gap: 4px; }
  .guide-bar-links a { font-size: 13px; padding: 4px 2px; }
}

@media (prefers-reduced-motion: reduce) {
  .guide-main *,
  .guide-bar * { transition: none !important; }
}

@media print {
  .guide-bar { display: none; }
  .guide-body .container { padding-bottom: 0; }
}

/* ---------- 院長確認用の囲み（確認版だけ。公開版には出ない。scripts/build-guide-pages.mjs） ---------- */
/* 色は既存の値だけ（navy・薄い青の面・白）。本文と取り違えないよう、点線の枠と濃い青の帯にする（金色は救急の囲み専用） */

.guide-review {
  margin: 0 0 32px;
  padding-bottom: 16px;
  overflow: hidden;
  background: var(--guide-surface);
  border: 2px dashed var(--guide-navy);
  border-radius: var(--guide-radius);
  font-size: 16px;
}

/* 確認版でも画面には出さない（オーナー 2026-11-19）。指紋は HTML の中と --fingerprint で見る */
.guide-review[hidden] { display: none; }

.guide-review-label {
  margin: 0 0 16px;
  padding: 12px 16px;
  background: var(--guide-navy);
  color: #fff;
  font-weight: 700;
}

.guide-review-body { padding: 0 16px; }

.guide-main .guide-review h3 {
  margin: 24px 0 8px;
  font-size: 18px;
}

.guide-review ol,
.guide-review ul {
  margin: 0 0 16px;
  padding-left: 1.4em;
}

.guide-review li { margin-bottom: 8px; }

/* 本文の指紋（記録に写す値）と、title・h1・description（確認版の囲みの中） */
.guide-review-fp { margin: 0 0 16px; }
.guide-review-fp code {
  display: block;
  padding: 8px 12px;
  background: #fff;
  border: 1px solid var(--guide-line);
  border-radius: var(--guide-radius-sm);
  color: var(--guide-ink);
  font-size: 14px;
  line-height: 1.7;
  overflow-wrap: anywhere;
  user-select: all;
}

.guide-review-meta { margin: 0 0 16px; }
.guide-review-meta dt { font-size: 14px; font-weight: 700; color: var(--guide-muted); }
.guide-review-meta dd { margin: 0 0 12px; overflow-wrap: anywhere; }

/* 確認版の囲み（短くした版）：シート番号・閉じた詳細 */
.guide-review-sheets { font-weight: 700; color: var(--guide-ink); }
.guide-review-sheets strong { font-weight: 700; }
.guide-review-fp-label { margin: 0 0 4px; font-size: 14px; font-weight: 700; color: var(--guide-muted); }

.guide-review-more summary {
  min-height: 44px;
  padding: 10px 0;
  font-weight: 700;
  color: var(--guide-navy);
  cursor: pointer;
}

/* 確認版だけ：本文の【要確認】を目立たない小さい印にする（公開版には【要確認】は残らない前提。公開版のスタイルは変えない） */
.guide-main .guide-todo {
  display: inline;
  padding: 0 4px;
  background: var(--guide-surface);
  border: 1px solid var(--guide-line);
  border-radius: var(--guide-radius-sm);
  color: var(--guide-muted);
  font-size: 14px;
  line-height: 1.7;
}
