/* =============================================================
 * 第3回臨床免疫病理学カンファレンス — スタイル土台（Stage 1）
 * -------------------------------------------------------------
 * 配色: 案A ディープインディゴ × ボルドー
 * 方針: システムフォント完結 / file:// で動作 / レスポンシブ
 * 印刷用CSSは後半ステージで @media print として追記予定。
 * ============================================================= */

/* ---------- デザイントークン ---------- */
:root {
  /* 基調・差し色（案A） */
  --c-indigo:        #1E2A52;  /* 基調（ヘッダー/見出し） */
  --c-indigo-deep:   #16203E;  /* さらに深い面（ヒーロー背景など） */
  --c-bordeaux:      #9E2B4E;  /* 差し色（アクセント/リンク） */
  --c-bordeaux-dark: #832041;  /* アクセントのホバー */

  /* 背景・面・テキスト */
  --c-bg:        #F7F6F3;  /* ページ背景（オフホワイト） */
  --c-surface:   #FFFFFF;  /* カード面 */
  --c-alt:       #F0EEE9;  /* section-alt の背景 */
  --c-text:      #242833;  /* 本文（チャコール） */
  --c-muted:     #6B7180;  /* 補助テキスト */
  --c-border:    #E1DED7;  /* 罫線 */
  --c-border-strong: #CFCBC1;

  /* 注意・要確認バッジ用 */
  --c-tentative-bg:   #FBF3E7;
  --c-tentative-text: #8A5A16;
  --c-tentative-bd:   #E6D3B0;

  /* フォント */
  --font-base: "Hiragino Kaku Gothic ProN", "Yu Gothic Medium",
               "Yu Gothic", "Meiryo", system-ui, sans-serif;
  --font-mono: ui-monospace, "SFMono-Regular", "SF Mono", "Consolas",
               "Liberation Mono", monospace;

  /* レイアウト */
  --container:  1080px;
  --radius:     10px;
  --radius-sm:  6px;
  --header-h:   68px;

  --shadow-sm: 0 1px 2px rgba(22, 32, 62, 0.06);
  --shadow-md: 0 6px 24px rgba(22, 32, 62, 0.10);
}

/* ---------- リセット ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
/* 固定ヘッダー分アンカー位置を補正 */
:target { scroll-margin-top: calc(var(--header-h) + 16px); }
body {
  margin: 0;
  font-family: var(--font-base);
  color: var(--c-text);
  background: var(--c-bg);
  line-height: 1.8;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
h1, h2, h3, h4, p, dl, dd, figure { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
a { color: var(--c-bordeaux); text-decoration: none; }
a:hover { color: var(--c-bordeaux-dark); text-decoration: underline; }
img { max-width: 100%; height: auto; display: block; }

/* ---------- レイアウト補助 ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 24px;
}

.section { padding: 72px 0; }
.section-alt { background: var(--c-alt); }
.section-title {
  font-size: clamp(1.4rem, 1.1rem + 1.2vw, 1.9rem);
  color: var(--c-indigo);
  letter-spacing: 0.02em;
  padding-bottom: 14px;
  margin-bottom: 28px;
  border-bottom: 2px solid var(--c-border-strong);
  position: relative;
}
.section-title::after {
  content: "";
  position: absolute;
  left: 0; bottom: -2px;
  width: 56px; height: 2px;
  background: var(--c-bordeaux);
}

/* ---------- ヘッダー / ナビ ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: saturate(1.4) blur(8px);
  border-bottom: 1px solid var(--c-border);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: var(--header-h);
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--c-indigo);
}
.brand:hover { text-decoration: none; }
.brand-mark {
  display: inline-grid;
  place-items: center;
  width: 40px; height: 40px;
  border-radius: 9px;
  background: var(--c-indigo);
  color: #fff;
  font-weight: 700;
  font-size: 0.82rem;
  letter-spacing: 0.04em;
  flex: none;
}
.brand-text { display: flex; flex-direction: column; line-height: 1.25; }
.brand-title { font-weight: 700; font-size: 0.98rem; }
.brand-sub { font-size: 0.72rem; color: var(--c-muted); letter-spacing: 0.02em; }

.primary-nav { display: flex; align-items: center; gap: 4px; }
.primary-nav a {
  color: var(--c-text);
  font-size: 0.9rem;
  font-weight: 500;
  padding: 8px 12px;
  border-radius: var(--radius-sm);
}
.primary-nav a:hover { color: var(--c-indigo); background: var(--c-alt); text-decoration: none; }
.primary-nav a.is-current {
  color: var(--c-indigo);
  font-weight: 700;
  position: relative;
}
.primary-nav a.is-current::after {
  content: "";
  position: absolute;
  left: 12px; right: 12px; bottom: 3px;
  height: 2px;
  background: var(--c-bordeaux);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px; height: 40px;
  padding: 0 10px;
  background: transparent;
  border: 1px solid var(--c-border-strong);
  border-radius: var(--radius-sm);
  cursor: pointer;
}
.nav-toggle-bar {
  display: block; height: 2px; width: 100%;
  background: var(--c-indigo);
  transition: transform .2s ease, opacity .2s ease;
}

/* ---------- ヒーロー ---------- */
.hero {
  color: #fff;
  background:
    radial-gradient(1200px 500px at 78% -10%, rgba(158, 43, 78, 0.35), transparent 60%),
    linear-gradient(160deg, var(--c-indigo) 0%, var(--c-indigo-deep) 100%);
  padding: clamp(56px, 6vw, 96px) 0;
}
.hero-inner { max-width: 820px; }
.hero-kicker {
  font-size: 0.9rem;
  letter-spacing: 0.06em;
  color: #C6CBDD;
  margin-bottom: 14px;
}
.hero-title {
  font-size: clamp(1.7rem, 1.2rem + 2.6vw, 2.9rem);
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: 0.01em;
}
.hero-title-en {
  margin-top: 8px;
  font-size: clamp(0.85rem, 0.7rem + 0.6vw, 1.05rem);
  color: #AEB6D0;
  letter-spacing: 0.04em;
  font-weight: 400;
}
.hero-theme {
  margin-top: 18px;
  padding: 10px 16px;
  display: inline-block;
  font-size: clamp(0.95rem, 0.85rem + 0.5vw, 1.15rem);
  font-weight: 600;
  color: #fff;
  line-height: 1.6;
  border-left: 3px solid var(--c-bordeaux);
  background: rgba(255, 255, 255, 0.08);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}
.hero-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 40px;
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
}
.hero-fact dt {
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  color: #AEB6D0;
  margin-bottom: 4px;
}
.hero-fact dd {
  font-size: 1.05rem;
  font-weight: 600;
  line-height: 1.5;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }

/* ---------- ボタン ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 26px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  transition: background .18s ease, color .18s ease, border-color .18s ease, transform .05s ease;
}
.btn:hover { text-decoration: none; }
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--c-bordeaux); color: #fff; }
.btn-primary:hover { background: var(--c-bordeaux-dark); color: #fff; }
.btn-ghost { color: #fff; border: 1px solid rgba(255, 255, 255, 0.5); }
.btn-ghost:hover { background: rgba(255, 255, 255, 0.12); color: #fff; }

/* ---------- 注記・バッジ（各所で再利用）---------- */
.badge {
  display: inline-block;
  padding: 2px 10px;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 600;
  line-height: 1.7;
  vertical-align: middle;
}
.badge-tentative {
  background: var(--c-tentative-bg);
  color: var(--c-tentative-text);
  border: 1px solid var(--c-tentative-bd);
}

/* 空セクションの仮プレースホルダ（後続ステージで中身に置換）*/
.section-body:empty::before {
  content: "（このセクションの内容は後続ステージで実装します）";
  display: block;
  color: var(--c-muted);
  font-size: 0.9rem;
  padding: 24px 0;
}

/* ---------- 開催概要（定義リスト）---------- */
.overview-list {
  border-top: 1px solid var(--c-border);
}
.overview-row {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 16px 24px;
  padding: 18px 4px;
  border-bottom: 1px solid var(--c-border);
}
.overview-row dt {
  font-weight: 700;
  color: var(--c-indigo);
  font-size: 0.92rem;
  letter-spacing: 0.03em;
}
.overview-row dd { color: var(--c-text); }

.host-cell { display: flex; flex-direction: column; gap: 4px; }
.host-line { line-height: 1.6; }

.venue-head { display: flex; align-items: center; gap: 10px; font-weight: 600; }
.venue-note { color: var(--c-muted); font-size: 0.88rem; margin-top: 6px; }
.venue-candidates { margin-top: 8px; display: flex; flex-direction: column; gap: 6px; }
.venue-candidates li {
  position: relative;
  padding-left: 18px;
  line-height: 1.6;
}
.venue-candidates li::before {
  content: "";
  position: absolute;
  left: 2px; top: 0.72em;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--c-bordeaux);
}

.note-check {
  font-size: 0.78rem;
  color: var(--c-tentative-text);
}
.notice-block { margin-top: 22px; }
.notice-line { color: var(--c-muted); font-size: 0.86rem; line-height: 1.7; }

@media (max-width: 560px) {
  .overview-row { grid-template-columns: 1fr; gap: 4px; padding: 14px 4px; }
}

/* ---------- プログラム（通し表示）---------- */
.prog-head {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px 14px;
  margin-bottom: 28px;
}
.prog-head-note { color: var(--c-muted); font-size: 0.9rem; }

.prog-day { margin-bottom: 40px; }
.prog-day:last-child { margin-bottom: 0; }
.prog-day-head {
  display: flex;
  align-items: baseline;
  gap: 14px;
  padding: 10px 16px;
  background: var(--c-indigo);
  color: #fff;
  border-radius: var(--radius-sm);
  margin-bottom: 8px;
}
.prog-day-label { font-weight: 700; font-size: 1.05rem; letter-spacing: 0.04em; }
.prog-day-date { font-size: 0.9rem; color: #C6CBDD; }

/* 行：時刻列 + 内容列 */
.prog-list { border-left: 2px solid var(--c-border); margin-left: 8px; }
.prog-row {
  display: grid;
  grid-template-columns: 116px 1fr;
  gap: 20px;
  padding: 16px 0 16px 20px;
  position: relative;
}
.prog-row + .prog-row { border-top: 1px solid var(--c-border); }
.prog-time {
  font-family: var(--font-mono);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--c-indigo);
  letter-spacing: 0.01em;
  white-space: nowrap;
  padding-top: 2px;
}
/* タイムライン上のノード */
.prog-row::before {
  content: "";
  position: absolute;
  left: -7px; top: 22px;
  width: 12px; height: 12px;
  border-radius: 50%;
  background: var(--c-surface);
  border: 2px solid var(--c-border-strong);
}
.prog-row-session::before, .prog-row-luncheon::before { border-color: var(--c-bordeaux); background: var(--c-bordeaux); }
.prog-row-ceremony::before { border-color: var(--c-indigo); background: var(--c-indigo); }
.prog-row-social::before { border-color: var(--c-bordeaux); }

/* 内容: セッション */
.prog-content { min-width: 0; }
.prog-session-head { display: flex; align-items: baseline; flex-wrap: wrap; gap: 10px; }
.session-no {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: #fff;
  background: var(--c-bordeaux);
  padding: 3px 9px;
  border-radius: 999px;
  flex: none;
}
.session-no-lunch { background: var(--c-indigo); }
.prog-title { font-size: 1.08rem; font-weight: 700; color: var(--c-text); line-height: 1.45; }
.prog-title-sm { font-size: 1rem; }

.prog-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  margin-top: 8px;
  font-size: 0.9rem;
  color: var(--c-muted);
}
.prog-chair { color: var(--c-text); }
.prog-role {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--c-indigo);
  background: var(--c-alt);
  border: 1px solid var(--c-border);
  border-radius: 4px;
  padding: 1px 7px;
  margin-right: 8px;
  letter-spacing: 0.04em;
}
.prog-format { font-size: 0.82rem; }

.talk-list {
  margin-top: 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.talk-item {
  position: relative;
  padding: 8px 14px 8px 16px;
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-left: 3px solid var(--c-bordeaux);
  border-radius: var(--radius-sm);
  line-height: 1.6;
}
.talk-name { font-weight: 500; }
.talk-tbd { border-left-color: var(--c-tentative-bd); }
.talk-tbd .talk-name { color: var(--c-tentative-text); font-weight: 600; }

.prog-luncheon .prog-title { color: var(--c-indigo); }

/* 内容: 挨拶 */
.prog-ceremony .prog-title { color: var(--c-indigo); }
.prog-person { margin-top: 4px; color: var(--c-text); font-size: 0.92rem; }

/* 内容: 休憩（控えめ） */
.prog-row-break { padding-top: 10px; padding-bottom: 10px; }
.prog-break { display: flex; align-items: center; }
.prog-break-title {
  color: var(--c-muted);
  font-size: 0.86rem;
  letter-spacing: 0.02em;
}
.prog-row-break .prog-time { color: var(--c-muted); font-weight: 500; }
.prog-row-break::before { width: 8px; height: 8px; left: -5px; top: 18px; }

/* 内容: 情報交換会 */
.prog-social .prog-title { color: var(--c-bordeaux-dark); }

@media (max-width: 560px) {
  .prog-row { grid-template-columns: 1fr; gap: 4px; padding-left: 18px; }
  .prog-time { padding-top: 0; }
  .prog-row::before { top: 8px; }
}

/* ---------- 演者・座長一覧 ---------- */
.roster-group { margin-bottom: 36px; }
.roster-group:last-of-type { margin-bottom: 20px; }
.roster-heading {
  display: flex;
  align-items: baseline;
  gap: 12px;
  font-size: 1.1rem;
  color: var(--c-indigo);
  padding-bottom: 10px;
  margin-bottom: 16px;
  border-bottom: 1px solid var(--c-border-strong);
}
.roster-count { font-size: 0.82rem; font-weight: 500; color: var(--c-muted); }
.roster-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 12px;
}
.roster-item {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 12px 14px;
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-left: 3px solid var(--c-bordeaux);
  border-radius: var(--radius-sm);
}
.roster-name { font-weight: 700; font-size: 0.98rem; color: var(--c-text); }
.roster-affil { font-size: 0.82rem; color: var(--c-muted); line-height: 1.5; }
.roster-foot { margin-top: 8px; }

/* ---------- 会場・アクセス（確定）---------- */
.venue-confirmed {
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-left: 4px solid var(--c-indigo);
  border-radius: var(--radius);
  padding: 24px 26px;
  box-shadow: var(--shadow-sm);
  margin-bottom: 16px;
}
.venue-confirmed-name {
  font-size: 1.2rem;
  color: var(--c-indigo);
  line-height: 1.5;
}
.venue-confirmed-campus { color: var(--c-muted); font-size: 0.9rem; margin-top: 4px; }
.venue-detail { margin-top: 16px; border-top: 1px solid var(--c-border); }
.venue-detail-row {
  display: grid;
  grid-template-columns: 88px 1fr;
  gap: 8px 16px;
  padding: 12px 0;
}
.venue-detail-row dt { font-weight: 700; color: var(--c-indigo); font-size: 0.9rem; }
.venue-detail-row dd { color: var(--c-text); }
.venue-map-actions { margin-top: 18px; }

/* アウトラインボタン（ダーク背景以外で使う） */
.btn-outline {
  color: var(--c-indigo);
  border: 1px solid var(--c-indigo);
  background: transparent;
}
.btn-outline:hover { background: var(--c-indigo); color: #fff; }

@media (max-width: 560px) {
  .venue-detail-row { grid-template-columns: 1fr; gap: 2px; padding: 10px 0; }
}

/* ---------- 参加・問い合わせ ---------- */
.contact-subhead {
  font-size: 1.05rem;
  color: var(--c-indigo);
  margin-bottom: 12px;
  padding-left: 12px;
  border-left: 3px solid var(--c-bordeaux);
}
.contact-lead { max-width: 62ch; margin-bottom: 18px; }
.contact-actions { margin-bottom: 8px; }
.contact-url { font-size: 0.86rem; color: var(--c-muted); }

/* お問い合わせ: 事務局カード */
.office-card {
  padding: 22px 24px;
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-left: 4px solid var(--c-indigo);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  max-width: 620px;
}
.office-name { font-weight: 700; font-size: 1.05rem; color: var(--c-indigo); }
.office-affil { color: var(--c-text); font-size: 0.92rem; margin-top: 4px; line-height: 1.6; }
.office-detail { margin-top: 14px; border-top: 1px solid var(--c-border); }
.office-row {
  display: grid;
  grid-template-columns: 76px 1fr;
  gap: 6px 16px;
  padding: 10px 0;
}
.office-row + .office-row { border-top: 1px solid var(--c-border); }
.office-row dt { font-weight: 700; color: var(--c-indigo); font-size: 0.88rem; }
.office-tel { font-family: var(--font-mono); font-weight: 600; letter-spacing: 0.02em; }

.register-block { margin-bottom: 40px; }
.register-cards { display: flex; flex-direction: column; gap: 16px; }
.register-card {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
  padding: 22px 24px;
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-left: 4px solid var(--c-bordeaux);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}
.register-info { flex: 1 1 300px; min-width: 0; }
.register-audience {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: #fff;
  background: var(--c-indigo);
  padding: 2px 10px;
  border-radius: 999px;
  margin-bottom: 8px;
}
.register-label { font-size: 1.08rem; color: var(--c-text); line-height: 1.4; }
.register-actions { margin: 14px 0 8px; }
.register-hint { font-size: 0.82rem; color: var(--c-muted); }

.register-qr {
  flex: none;
  margin: 0;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}
.register-qr img {
  display: block;
  border: 1px solid var(--c-border);
  border-radius: 8px;
  padding: 6px;
  background: #fff;
}
.register-qr figcaption {
  font-size: 0.72rem;
  color: var(--c-muted);
  letter-spacing: 0.04em;
}

.venue-map-actions {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

@media (max-width: 480px) {
  .register-card { justify-content: center; text-align: center; }
  .register-info { flex-basis: 100%; }
  .register-actions { display: flex; justify-content: center; }
}

/* ---------- フッター ---------- */
.site-footer {
  background: var(--c-indigo-deep);
  color: #C6CBDD;
  padding: 44px 0 32px;
  font-size: 0.9rem;
}
.site-footer a { color: #E6D3B0; }
.footer-top {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 24px 40px;
  padding-bottom: 24px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}
.footer-title { color: #fff; font-weight: 700; font-size: 1.02rem; line-height: 1.5; }
.footer-title-en { color: #AEB6D0; font-size: 0.8rem; margin-top: 2px; }
.footer-meta { color: #C6CBDD; font-size: 0.86rem; margin-top: 6px; }
.footer-host-label { font-size: 0.72rem; letter-spacing: 0.1em; color: #AEB6D0; margin-bottom: 4px; }
.footer-host { display: flex; flex-direction: column; gap: 2px; }
.footer-host-name { color: #E6D3B0; display: block; }
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 24px;
  padding-top: 18px;
}
.footer-note { color: #AEB6D0; font-size: 0.8rem; }
.footer-copy { color: #AEB6D0; font-size: 0.8rem; }

/* ---------- レスポンシブ ---------- */
@media (max-width: 760px) {
  .nav-toggle { display: flex; }
  .primary-nav {
    position: absolute;
    top: var(--header-h);
    left: 0; right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: #fff;
    border-bottom: 1px solid var(--c-border);
    box-shadow: var(--shadow-md);
    padding: 8px 16px 16px;
    display: none;
  }
  .primary-nav.is-open { display: flex; }
  .primary-nav a { padding: 12px 8px; border-bottom: 1px solid var(--c-border); }
  .brand-sub { display: none; }
  .section { padding: 52px 0; }
}

/* =============================================================
 * 印刷用CSS（紙プログラム化）
 * 目的: A4等に印刷しても崩れず、インクを浪費しない誠実な体裁。
 *  - 固定ヘッダー/ボタン/ナビ等の画面専用要素は非表示
 *  - 濃い背景は白地＋濃色文字に変換
 *  - セッション行がページ境界で分断されないよう break 制御
 * ============================================================= */
@media print {
  :root { --header-h: 0px; }

  html, body {
    background: #fff;
    color: #000;
    font-size: 10.5pt;
    line-height: 1.55;
  }

  /* 画面専用要素を隠す（QRは紙に残すためボタンのみ隠す）*/
  .site-header,
  .nav-toggle,
  .primary-nav,
  .hero-actions,
  .btn,
  .register-hint,
  .section-body:empty::before {
    display: none !important;
  }
  /* QRは印刷で残す（参加登録に有用）*/
  .register-qr img {
    border: 0.5pt solid #999;
    -webkit-print-color-adjust: exact;
    print-color-adjust: exact;
  }
  .register-card, .venue-confirmed {
    border: 0.5pt solid #999;
    box-shadow: none;
    page-break-inside: avoid;
  }

  .container { max-width: none; padding-inline: 0; }
  .section { padding: 14pt 0; border: 0; }
  .section-alt { background: #fff; }

  a { color: #000; text-decoration: none; }

  /* ヒーロー: 濃紺グラデ → 白地に濃色文字（インク節約・可読性）*/
  .hero {
    color: #000;
    background: none !important;
    padding: 0 0 12pt;
    border-bottom: 1.5pt solid #1E2A52;
  }
  .hero-kicker { color: #444; margin-bottom: 6pt; }
  .hero-title { color: #1E2A52; font-size: 18pt; line-height: 1.35; }
  .hero-title-en { color: #555; }
  .hero-theme {
    color: #1E2A52;
    background: #f0eee9 !important;
    border-left: 2pt solid #9E2B4E;
    -webkit-print-color-adjust: exact;
    print-color-adjust: exact;
  }
  .hero-facts { border-top: 0.5pt solid #999; margin-top: 12pt; padding-top: 8pt; }
  .hero-fact dt { color: #666; }
  .hero-fact dd { color: #000; }

  /* 見出し */
  .section-title { color: #1E2A52; border-color: #1E2A52; page-break-after: avoid; }
  .section-title::after { background: #9E2B4E; }

  /* プログラム: 行の分断を避ける */
  .prog-day { page-break-inside: auto; }
  .prog-day-head {
    background: #1E2A52 !important;
    color: #fff !important;
    -webkit-print-color-adjust: exact;
    print-color-adjust: exact;
    page-break-after: avoid;
  }
  .prog-day-date { color: #dfe2ee !important; }
  .prog-row {
    page-break-inside: avoid;
    break-inside: avoid;
  }
  .prog-list { border-left: 1pt solid #bbb; }
  .prog-time { color: #1E2A52; }
  .talk-item {
    background: #fff;
    border: 0.5pt solid #bbb;
    page-break-inside: avoid;
  }
  .session-no {
    background: #9E2B4E !important;
    color: #fff !important;
    -webkit-print-color-adjust: exact;
    print-color-adjust: exact;
  }
  .session-no-lunch { background: #1E2A52 !important; }

  /* バッジ類は枠線ベースで印刷 */
  .badge-tentative {
    background: #fff !important;
    color: #8A5A16 !important;
    border: 0.5pt solid #8A5A16;
  }
  .note-check { color: #8A5A16; }

  /* 各カードの分断防止 */
  .roster-item, .venue-confirmed, .overview-row { page-break-inside: avoid; }
  .roster-list { grid-template-columns: repeat(2, 1fr); }

  /* フッター */
  .site-footer {
    background: #fff !important;
    color: #000;
    border-top: 1pt solid #1E2A52;
    -webkit-print-color-adjust: exact;
    print-color-adjust: exact;
  }
  .site-footer a,
  .footer-title, .footer-meta, .footer-title-en,
  .footer-host-label, .footer-note, .footer-copy { color: #000 !important; }

  /* 印刷時に各主要セクションを改ページから始めたい場合は下を有効化
     （既定は自動フローのまま。必要なら主催側で調整）*/
  /* #program, #speakers, #venue { page-break-before: always; } */
}
