@charset "UTF-8";
/* ==========================================================================
   past-exam-strategy.css｜過去問の使い方コラム専用CSS（第3層・v2.1）
   作成：2026-11-25（Antigravity）
   前提：style.css（v4.0）＋ type-column.css（v1.14）の後に読み込む
   接頭辞：pe-（past-exam-strategy）
   ※ 共通部品は type-column.css に任せ、本ページ固有の図表・数値パネル・
      表補助・見出し番号装飾のみを定義する。
   ========================================================================== */

/* ===== 冒頭タイトル副題・導入 ===== */
.pe-hero-sub {
  display: block;
  margin-top: 6px;
  font-family: var(--sans);
  font-size: clamp(16px, 1.9vw, 19px);
  font-weight: 700;
  line-height: 1.65;
  color: var(--navy-soft);
  word-break: auto-phrase;
  text-wrap: balance;
}

.pe-lead p {
  color: var(--text);
}

.pe-lead p strong {
  color: var(--navy);
}

/* ===== 章番号付き見出し・小見出し ===== */
.col-sec-head h2.pe-sec-heading {
  display: flex;
  align-items: baseline;
  gap: 12px;
}

.pe-sec-num {
  flex: 0 0 auto;
  font-family: var(--serif);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--accent);
  font-variant-numeric: tabular-nums;
}

.pe-sec-title {
  min-width: 0;
  word-break: auto-phrase;
  text-wrap: balance;
}

.col-body .pe-subhead {
  padding-left: 12px;
  border-left: 3px solid var(--line-strong);
}

/* ===== 2列カード（目的1・2／復習の取捨選択） ===== */
.pe-purpose-grid,
.pe-review-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin: 22px 0 24px;
}

.pe-purpose-card,
.pe-review-card {
  padding: 18px 20px;
  background: var(--bg-surface);
  border: 1px solid var(--line);
  border-top: 2px solid var(--navy);
  border-radius: var(--radius);
}

.pe-label {
  display: inline-block;
  margin-bottom: 6px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--accent);
}

.pe-purpose-card h3,
.pe-review-card h4 {
  margin: 0 0 8px;
  font-family: var(--serif);
  font-size: 16.5px;
  font-weight: 700;
  line-height: 1.55;
  color: var(--navy);
  word-break: auto-phrase;
  text-wrap: balance;
}

.col-body .pe-purpose-card p {
  margin: 0;
  font-size: 14px;
  line-height: 1.85;
  color: var(--text);
  word-break: auto-phrase;
  text-wrap: balance;
}

.col-body .pe-review-card p {
  margin: 0;
  font-size: 14px;
  line-height: 1.85;
  color: var(--text);
  text-wrap: pretty;
}

.page-past-exam-strategy .col-statement,
.page-past-exam-strategy .col-small-note {
  word-break: auto-phrase;
  text-wrap: balance;
}

/* ===== 着手の目安バーグラフ ===== */
.pe-readiness {
  margin: 22px 0 24px;
  padding: 20px 22px;
  background: var(--bg-surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.pe-readiness figcaption {
  margin: 0 0 16px;
  font-family: var(--serif);
  font-size: 14.5px;
  font-weight: 700;
  line-height: 1.55;
  color: var(--navy);
  word-break: auto-phrase;
  text-wrap: balance;
}

.pe-bar-row {
  margin-bottom: 14px;
}

.pe-bar-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 10px;
  margin-bottom: 6px;
}

.pe-bar-head strong {
  font-family: var(--serif);
  font-size: 17px;
  color: var(--navy);
}

.pe-bar-head span {
  font-size: 12.5px;
  font-weight: 700;
  color: var(--navy-soft);
}

.pe-bar-muted .pe-bar-head strong,
.pe-bar-muted .pe-bar-head span {
  color: var(--text-muted);
}

.pe-bar {
  height: 12px;
  background: var(--bg-slate);
  border-radius: 999px;
  overflow: hidden;
}

.pe-bar-fill {
  display: block;
  height: 100%;
  background: var(--navy);
  border-radius: 999px;
}

.pe-bar-fill--80 {
  width: 80%;
}

.pe-bar-fill--50 {
  width: 50%;
}

.pe-bar-muted .pe-bar-fill {
  background: var(--line-strong);
}

/* ===== 演習年数・原因分析テーブル補助 ===== */
.pe-year-table thead th:first-child {
  width: 58%;
}

.pe-year-table td {
  font-variant-numeric: tabular-nums;
}

/* v2.1（ClaudeCode）：狭い画面で「年分程度」の「程度」だけが次の行に残らないようにする */
.pe-year-table td:last-child {
  white-space: nowrap;
}

.pe-year-table td strong {
  font-family: var(--serif);
  font-size: 19px;
  color: var(--navy);
}

.pe-year-table tbody tr.pe-secondary th,
.pe-year-table tbody tr.pe-secondary td {
  background: var(--bg-surface);
}

.pe-year-table tbody tr.pe-secondary:first-of-type th,
.pe-year-table tbody tr.pe-secondary:first-of-type td {
  border-top: 1px solid var(--line-strong);
}

.pe-cause-table thead th:first-child {
  width: 34%;
}

/* ===== 過去問演習後の分岐図 ===== */
.pe-flow {
  margin: 22px 0 24px;
  padding: 22px;
  background: var(--bg-surface);
  border: 1px solid var(--line);
  border-top: 3px solid var(--navy);
  border-radius: var(--radius);
}

.band .pe-flow {
  background: var(--bg-white);
}

.pe-flow-top {
  max-width: 320px;
  margin: 0 auto 24px;
  padding: 11px 16px;
  background: var(--navy);
  color: #ffffff;
  font-size: 14.5px;
  font-weight: 700;
  line-height: 1.5;
  text-align: center;
  border-radius: var(--radius);
  position: relative;
  word-break: auto-phrase;
  text-wrap: balance;
}

.pe-flow-top::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 50%;
  height: 12px;
  border-left: 1px solid var(--line-strong);
}

.pe-flow-branches {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  position: relative;
}

.pe-flow-branches::before {
  content: "";
  position: absolute;
  left: 25%;
  right: 25%;
  top: -12px;
  height: 12px;
  border: 1px solid var(--line-strong);
  border-bottom: 0;
}

.pe-flow-card {
  padding: 15px 16px;
  background: var(--bg-white);
  border: 1px solid var(--line);
  border-top: 2px solid var(--navy-soft);
  border-radius: var(--radius);
  text-align: center;
}

.band .pe-flow-card {
  background: var(--bg-surface);
}

.pe-flow-card--return {
  border-top-color: var(--accent);
}

.col-body .pe-flow-card p {
  margin: 0 0 6px;
  font-size: 13px;
  line-height: 1.6;
  color: var(--text-muted);
  word-break: auto-phrase;
  text-wrap: balance;
}

.pe-flow-card strong {
  display: block;
  font-family: var(--serif);
  font-size: 16px;
  font-weight: 700;
  line-height: 1.5;
  color: var(--navy);
  word-break: auto-phrase;
  text-wrap: balance;
}

.pe-flow-card--return strong {
  color: var(--accent);
}

/* ===== 制限時間比較パネル ===== */
.pe-time {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  gap: 14px;
  margin: 22px 0 24px;
  padding: 20px 18px;
  background: var(--bg-surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  text-align: center;
}

.pe-time div > span {
  display: block;
  margin-bottom: 4px;
  font-size: 12.5px;
  line-height: 1.6;
  color: var(--text-muted);
  word-break: auto-phrase;
  text-wrap: balance;
}

.pe-time strong {
  display: block;
  font-family: var(--serif);
  font-size: 30px;
  font-weight: 700;
  line-height: 1.35;
  color: var(--navy);
  font-variant-numeric: tabular-nums;
}

.pe-time-target strong {
  color: var(--accent);
}

.pe-time small {
  margin-left: 3px;
  font-family: var(--sans);
  font-size: 13.5px;
  font-weight: 700;
}

.pe-arrow {
  font-size: 20px;
  font-weight: 700;
  color: var(--line-strong);
}

/* ===== 得点率目安・基準値パネル ===== */
.pe-formula {
  margin: 22px 0;
  padding: 18px 16px;
  background: var(--navy);
  color: #ffffff;
  border-radius: var(--radius);
  text-align: center;
}

.pe-formula > span {
  display: block;
  font-size: 12.5px;
  line-height: 1.6;
  color: #d7e5f4;
}

.col-body .pe-formula p {
  margin: 6px 0 0;
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 700;
  line-height: 1.5;
  color: #ffffff;
  word-break: auto-phrase;
  text-wrap: balance;
}

.pe-unit {
  font-size: 0.72em;
}

.pe-thresholds {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: 22px 0 24px;
}

.pe-thresholds > div {
  padding: 15px 10px;
  background: var(--bg-surface);
  border: 1px solid var(--line);
  border-top: 2px solid var(--accent);
  border-radius: var(--radius);
  text-align: center;
}

.pe-thresholds div > span {
  display: block;
  margin-bottom: 4px;
  font-size: 12.5px;
  font-weight: 700;
  line-height: 1.5;
  color: var(--text-muted);
}

.pe-thresholds strong {
  display: block;
  font-family: var(--serif);
  font-size: 24px;
  font-weight: 700;
  line-height: 1.4;
  color: var(--navy);
}

.pe-thresholds small {
  margin-left: 2px;
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 700;
}

/* ===== レスポンシブ（<= 600px） ===== */
@media (max-width: 600px) {
  .pe-hero-sub {
    font-size: 15.5px;
  }

  .col-sec-head h2.pe-sec-heading {
    gap: 8px;
  }

  .pe-purpose-grid,
  .pe-review-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .pe-purpose-card,
  .pe-review-card,
  .pe-readiness {
    padding: 16px;
  }

  .pe-year-table thead th:first-child {
    width: 55%;
  }

  .pe-year-table td strong {
    font-size: 17px;
  }

  .pe-cause-table thead th:first-child {
    width: 41%;
  }

  .pe-flow {
    padding: 16px 14px;
  }

  .pe-flow-branches {
    gap: 10px;
  }

  .pe-flow-card {
    padding: 12px 10px;
  }

  .col-body .pe-flow-card p {
    font-size: 12px;
  }

  .pe-flow-card strong {
    font-size: 14.5px;
  }

  .pe-time {
    padding: 16px 12px;
    gap: 8px;
  }

  .pe-time strong {
    font-size: 25px;
  }

  .col-body .pe-formula p {
    font-size: 19px;
  }

  .pe-thresholds {
    gap: 8px;
  }

  .pe-thresholds > div {
    padding: 12px 6px;
  }

  .pe-thresholds strong {
    font-size: 20px;
  }

  .pe-thresholds small {
    font-size: 11.5px;
  }
}
