/* style_v2.css ── 津田梅子 17枚版 */
:root {
  --c-base: #FDF6E3;
  --c-accent: #E8A000;
  --c-accent-dark: #C07800;
  --c-accent-light: rgba(232,160,0,0.12);
  --c-text: #3D2B1F;
  --c-text-sub: rgba(61,43,31,0.6);
  --c-nav-bg: rgba(61,43,31,0.93);
  --c-nav-text: #FDF6E3;
  --c-sp-bg: #1E1208;
  --c-sp-text: #F5E6D0;
  --c-sp-accent: #F5A623;
  --c-sp-card: rgba(255,255,255,0.06);
  --slide-h: calc(100vh - 60px);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

body {
  background: var(--c-base);
  font-family: 'Hiragino Kaku Gothic ProN','Hiragino Sans','Meiryo',sans-serif;
  overflow: hidden;
  height: 100vh;
  width: 100vw;
  color: var(--c-text);
  font-size: 16px;
}

/* ─── STAGE ─── */
.slide-stage {
  position: relative;
  width: 100vw;
  height: var(--slide-h);
  background: var(--c-base);
  display: flex;
  align-items: center;
  justify-content: center;
}

.slide {
  display: none;
  position: absolute;
  inset: 0;
  align-items: center;
  justify-content: center;
  background: var(--c-base);
}

.slide.active { display: flex; }

/* ─── SLIDE WRAPPER ─── */
.sl-wrap {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  padding: 20px 56px 14px;
  gap: 12px;
  overflow: hidden;
}

/* ─── HEADER ─── */
.sl-header {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.sl-badge {
  background: var(--c-accent);
  color: #fff;
  font-size: 12px;
  font-weight: bold;
  padding: 3px 12px;
  border-radius: 20px;
  white-space: nowrap;
  flex-shrink: 0;
}

.sl-badge--key {
  background: #D04000;
  box-shadow: 0 0 0 3px rgba(208,64,0,0.2);
}

.sl-badge--final {
  background: #1A5C9A;
}

.sl-title {
  font-size: clamp(1.2rem, 2.5vw, 1.8rem);
  font-weight: bold;
  color: var(--c-text);
  line-height: 1.3;
}

/* ─── BODY ─── */
.sl-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 10px;
  min-height: 0;
  overflow: hidden;
}

.sl-body--center {
  align-items: center;
  text-align: center;
}

/* ─── DIVIDER ─── */
.sl-divider {
  height: 2px;
  background: rgba(232,160,0,0.25);
  border: none;
  flex-shrink: 0;
}

/* ─── QUESTION BOX ─── */
.sl-question-box {
  background: var(--c-accent-light);
  border-left: 4px solid var(--c-accent);
  border-radius: 0 10px 10px 0;
  padding: 10px 20px;
  flex-shrink: 0;
}

.sl-question-box--big {
  border-radius: 12px;
  border-left-width: 6px;
  padding: 14px 24px;
}

.sl-q-label {
  font-size: 11px;
  font-weight: bold;
  color: var(--c-accent);
  text-transform: uppercase;
  letter-spacing: 0.07em;
  display: block;
  margin-bottom: 4px;
}

.sl-q-text {
  font-size: clamp(1rem, 2vw, 1.2rem);
  font-weight: bold;
  color: var(--c-text);
  line-height: 1.5;
}

/* ─── BULLET POINTS ─── */
.sl-points {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.sl-point {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: clamp(1rem, 2vw, 1.15rem);
  line-height: 1.6;
}

.sl-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--c-accent);
  flex-shrink: 0;
  margin-top: 0.45em;
}

.sl-dot--red {
  background: #D04000;
}

/* ─── MESSAGE BOX ─── */
.sl-msg {
  background: rgba(61,43,31,0.06);
  border-radius: 10px;
  padding: 12px 18px;
  font-size: clamp(0.95rem, 1.8vw, 1.1rem);
  line-height: 1.65;
  border-left: 4px solid var(--c-accent);
}

.sl-msg--amber {
  background: rgba(232,160,0,0.1);
  border-color: var(--c-accent);
}

/* ─── HIGHLIGHTS ─── */
.sl-hl { color: var(--c-accent); font-weight: bold; }
.sl-intro-text { font-size: clamp(1rem, 2vw, 1.15rem); color: var(--c-text-sub); line-height: 1.6; }

/* ─── COVER SLIDE ─── */
.sl-wrap--cover {
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 16px;
  padding: 24px 48px;
}

.sl-cover-eyebrow {
  font-size: clamp(0.8rem, 1.5vw, 0.95rem);
  color: var(--c-text-sub);
  letter-spacing: 0.05em;
}

.sl-cover-title {
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: bold;
  line-height: 1.3;
  color: var(--c-text);
}

.sl-cover-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  justify-content: center;
  font-size: clamp(0.9rem, 1.8vw, 1.05rem);
  color: var(--c-text-sub);
}

.sl-cover-year, .sl-cover-dest {
  background: rgba(232,160,0,0.15);
  padding: 4px 14px;
  border-radius: 20px;
  font-weight: bold;
  color: var(--c-accent);
}

.sl-cover-arrow { color: var(--c-text-sub); }

.sl-cover-items {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}

.sl-cover-item {
  background: rgba(61,43,31,0.07);
  border-radius: 20px;
  padding: 6px 16px;
  font-size: clamp(0.9rem, 1.8vw, 1rem);
  border: 1px solid rgba(61,43,31,0.15);
}

/* ─── THEME SLIDE ─── */
.sl-big-q {
  font-size: clamp(1.6rem, 4vw, 2.4rem);
  font-weight: bold;
  color: var(--c-accent);
  text-align: center;
  line-height: 1.4;
}

.sl-theme-options {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}

.sl-theme-opt {
  background: rgba(232,160,0,0.12);
  border-radius: 20px;
  padding: 6px 16px;
  font-size: clamp(0.9rem, 1.8vw, 1.05rem);
  border: 1px solid rgba(232,160,0,0.3);
}

/* ─── ERA TIMELINE ─── */
.sl-era-timeline {
  display: flex;
  align-items: stretch;
  gap: 12px;
}

.sl-era-item {
  flex: 1;
  border-radius: 12px;
  padding: 14px 18px;
}

.sl-era-item--before {
  background: rgba(61,43,31,0.07);
  border: 1px dashed rgba(61,43,31,0.2);
}

.sl-era-item--after {
  background: rgba(232,160,0,0.1);
  border: 2px solid rgba(232,160,0,0.4);
}

.sl-era-year { font-size: 0.85rem; color: var(--c-text-sub); margin-bottom: 4px; }
.sl-era-label { font-size: clamp(1rem, 2vw, 1.2rem); font-weight: bold; margin-bottom: 6px; }
.sl-era-desc { font-size: clamp(0.88rem, 1.6vw, 1rem); line-height: 1.5; }
.sl-era-arrow { font-size: 1.5rem; color: var(--c-accent); align-self: center; flex-shrink: 0; }

/* ─── COMPARISON TABLE ─── */
.sl-table {
  width: 100%;
  border-collapse: collapse;
  font-size: clamp(0.9rem, 1.8vw, 1.05rem);
}

.sl-table th, .sl-table td { padding: 10px 16px; border-bottom: 1px solid rgba(232,160,0,0.15); }

.sl-table-th {
  background: var(--c-accent);
  color: #fff;
  font-weight: bold;
  text-align: left;
}

.sl-table-th--cat { width: 22%; }
.sl-table-th--jp { width: 39%; background: rgba(232,160,0,0.9); }
.sl-table-th--us { width: 39%; background: rgba(0,120,200,0.7); }

.sl-table-cat { font-weight: bold; color: var(--c-accent); font-size: 0.9rem; }

.sl-table tbody tr:nth-child(even) td { background: rgba(232,160,0,0.04); }

/* ─── INFO BOX ─── */
.sl-info-box {
  background: rgba(232,160,0,0.1);
  border-radius: 10px;
  padding: 12px 18px;
  border-left: 4px solid var(--c-accent);
}

.sl-info-label { font-size: 0.85rem; color: var(--c-accent); font-weight: bold; margin-bottom: 4px; }
.sl-info-text { font-size: clamp(0.95rem, 1.8vw, 1.05rem); line-height: 1.6; }

/* ─── PERSON CARDS ─── */
.sl-persons {
  display: flex;
  gap: 10px;
}

.sl-persons--four { flex-wrap: wrap; }
.sl-persons--four .sl-person { flex: 1; min-width: calc(50% - 10px); }

.sl-person {
  flex: 1;
  background: var(--c-accent-light);
  border-radius: 12px;
  padding: 12px 14px;
  border-top: 3px solid var(--c-accent);
}

.sl-person--main { border-top-color: #D04000; background: rgba(208,64,0,0.08); }

.sl-person-name { font-weight: bold; font-size: clamp(0.9rem, 1.8vw, 1rem); color: var(--c-accent); display: block; margin-bottom: 2px; }
.sl-person-role { font-size: 0.8rem; color: var(--c-text-sub); display: block; margin-bottom: 6px; }
.sl-person-quote { font-size: clamp(0.85rem, 1.6vw, 0.95rem); line-height: 1.5; }

/* ─── TIMELINE ─── */
.sl-timeline {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.sl-tl-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.sl-tl-year {
  background: var(--c-accent);
  color: #fff;
  font-weight: bold;
  font-size: 0.8rem;
  padding: 4px 10px;
  border-radius: 8px;
  white-space: nowrap;
  flex-shrink: 0;
  text-align: center;
  min-width: 70px;
  line-height: 1.4;
}

.sl-tl-text { font-size: clamp(0.9rem, 1.8vw, 1.05rem); line-height: 1.6; padding-top: 2px; }

/* ─── DEPARTURE FEELINGS ─── */
.sl-departure-feeling {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.sl-feeling-item {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(61,43,31,0.06);
  border-radius: 20px;
  padding: 6px 14px;
  font-size: clamp(0.9rem, 1.8vw, 1rem);
}

.sl-feeling-icon { font-size: 1.2rem; }

/* ─── DISCOVERIES ─── */
.sl-discoveries {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.sl-discovery {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  background: rgba(232,160,0,0.07);
  border-radius: 10px;
  padding: 10px 14px;
}

.sl-discovery-num {
  background: var(--c-accent);
  color: #fff;
  font-weight: bold;
  font-size: 0.8rem;
  padding: 3px 8px;
  border-radius: 6px;
  flex-shrink: 0;
}

.sl-discovery-title { font-size: clamp(0.9rem, 1.8vw, 1rem); font-weight: bold; margin-bottom: 2px; }
.sl-discovery-sub { font-size: 0.82rem; color: var(--c-text-sub); }

/* ─── BEFORE/AFTER ─── */
.sl-before-after {
  display: flex;
  align-items: stretch;
  gap: 14px;
}

.sl-before-box, .sl-after-box {
  flex: 1;
  border-radius: 12px;
  padding: 14px 18px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.sl-before-box { background: rgba(61,43,31,0.07); border: 2px dashed rgba(61,43,31,0.2); }
.sl-after-box { background: rgba(232,160,0,0.1); border: 2px solid rgba(232,160,0,0.45); }

.sl-ba-label { font-size: 0.82rem; font-weight: bold; color: var(--c-text-sub); }
.sl-ba-text { font-size: clamp(0.9rem, 1.8vw, 1.05rem); font-weight: bold; line-height: 1.5; }
.sl-ba-sub { font-size: 0.85rem; color: var(--c-text-sub); }
.sl-arrow-big { font-size: 1.8rem; color: var(--c-accent); flex-shrink: 0; align-self: center; }

/* ─── RETURN SITUATION ─── */
.sl-return-situation { flex-shrink: 0; }
.sl-situation-label {
  display: inline-block;
  background: var(--c-accent);
  color: #fff;
  padding: 5px 16px;
  border-radius: 20px;
  font-weight: bold;
  font-size: 0.95rem;
}

/* ─── CHOICE SLIDE ─── */
.sl-choice-situation {
  background: rgba(61,43,31,0.08);
  border-radius: 10px;
  padding: 12px 18px;
  font-size: clamp(0.95rem, 1.8vw, 1.1rem);
  font-weight: bold;
  line-height: 1.6;
  border-left: 4px solid rgba(61,43,31,0.3);
  flex-shrink: 0;
}

.sl-choices {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  flex: 1;
  min-height: 0;
}

.sl-choice {
  border-radius: 12px;
  padding: 14px 16px;
  font-size: clamp(0.88rem, 1.6vw, 0.98rem);
  line-height: 1.5;
  border: 2px solid transparent;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.sl-choice--a { background: rgba(100,170,240,0.13); border-color: rgba(100,170,240,0.4); }
.sl-choice--b { background: rgba(100,200,130,0.13); border-color: rgba(100,200,130,0.4); }
.sl-choice--c { background: rgba(240,160,60,0.15); border-color: rgba(240,160,60,0.5); }
.sl-choice--d { background: rgba(180,80,80,0.13); border-color: rgba(180,80,80,0.4); }

.sl-choice-label { font-weight: bold; font-size: 1em; }

/* ─── SCHOOL BANNER ─── */
.sl-school-banner {
  background: var(--c-accent);
  border-radius: 12px;
  padding: 14px 20px;
  text-align: center;
  flex-shrink: 0;
}

.sl-school-year { font-size: 0.9rem; color: rgba(255,255,255,0.8); margin-bottom: 4px; }
.sl-school-name { font-size: clamp(1.3rem, 3vw, 1.8rem); font-weight: bold; color: #fff; }

/* ─── FEATURES LIST ─── */
.sl-features {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.sl-feature {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 8px 0;
  border-bottom: 1px solid rgba(232,160,0,0.15);
}

.sl-feature:last-child { border-bottom: none; }

.sl-feature-num {
  background: var(--c-accent);
  color: #fff;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 0.95rem;
  flex-shrink: 0;
}

.sl-feature-text { font-size: clamp(0.9rem, 1.8vw, 1.05rem); line-height: 1.5; }
.sl-feature-sub { font-size: 0.85rem; color: var(--c-text-sub); }

/* ─── FINAL SLIDE ─── */
.sl-final-definition {
  background: rgba(26,92,154,0.1);
  border-radius: 12px;
  padding: 14px 20px;
  font-size: clamp(1rem, 2vw, 1.15rem);
  line-height: 1.7;
  border-left: 4px solid #1A5C9A;
  flex-shrink: 0;
}

.sl-def-word {
  font-weight: bold;
  font-size: 1.1em;
  color: #1A5C9A;
}

.sl-final-summary {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.sl-summary-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: clamp(0.95rem, 1.8vw, 1.1rem);
  line-height: 1.6;
}

.sl-summary-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--c-accent);
  flex-shrink: 0;
  margin-top: 0.5em;
}

.sl-final-message {
  background: rgba(232,160,0,0.12);
  border-radius: 12px;
  padding: 14px 20px;
  font-size: clamp(1rem, 2vw, 1.15rem);
  line-height: 1.7;
  border: 2px solid rgba(232,160,0,0.4);
  text-align: center;
  flex-shrink: 0;
}

.sl-final-author { font-size: 0.85rem; color: var(--c-text-sub); }

.sl-final-question-big {
  font-size: clamp(1.4rem, 3.5vw, 2.2rem);
  font-weight: bold;
  color: var(--c-accent);
  text-align: center;
  line-height: 1.5;
  flex-shrink: 0;
  padding: 8px 0;
}

/* ─── PROGRESS BAR ─── */
.progress-bar {
  position: fixed;
  bottom: 60px;
  left: 0;
  height: 4px;
  background: var(--c-accent);
  transition: width 0.35s ease;
  z-index: 110;
}

/* ─── NAV BAR ─── */
.nav-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  height: 60px;
  background: var(--c-nav-bg);
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 16px;
  z-index: 100;
  flex-wrap: nowrap;
  overflow-x: auto;
}

.hamburger-btn {
  background: none;
  border: 1px solid rgba(255,255,255,0.35);
  color: var(--c-nav-text);
  width: 42px;
  height: 42px;
  border-radius: 8px;
  font-size: 18px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.hamburger-btn:hover { background: rgba(255,255,255,0.12); }

.nav-btn {
  background: none;
  border: 1px solid rgba(255,255,255,0.35);
  color: var(--c-nav-text);
  padding: 8px 18px;
  border-radius: 8px;
  font-size: 15px;
  cursor: pointer;
  font-family: inherit;
  white-space: nowrap;
  flex-shrink: 0;
}

.nav-btn:hover { background: rgba(255,255,255,0.12); }
.nav-btn:disabled { opacity: 0.28; cursor: default; }

.slide-counter {
  color: var(--c-nav-text);
  font-size: 17px;
  font-weight: bold;
  min-width: 72px;
  text-align: center;
  flex-shrink: 0;
}

.slide-title-bar {
  color: rgba(255,255,255,0.65);
  font-size: 13px;
  flex: 1;
  text-align: center;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.speaker-btn {
  background: var(--c-accent);
  border: none;
  color: #fff;
  padding: 9px 18px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: bold;
  cursor: pointer;
  font-family: inherit;
  white-space: nowrap;
  flex-shrink: 0;
}

.speaker-btn:hover { background: var(--c-accent-dark); }

.fullscreen-btn {
  background: none;
  border: 1px solid rgba(255,255,255,0.35);
  color: var(--c-nav-text);
  padding: 8px 12px;
  border-radius: 8px;
  font-size: 18px;
  cursor: pointer;
  flex-shrink: 0;
}

.fullscreen-btn:hover { background: rgba(255,255,255,0.12); }

/* ─── SIDEBAR ─── */
.sidebar {
  position: fixed;
  top: 0;
  left: 0;
  width: 270px;
  height: var(--slide-h);
  background: var(--c-nav-bg);
  transform: translateX(-270px);
  transition: transform 0.22s ease;
  z-index: 200;
  overflow-y: auto;
}

.sidebar.open { transform: translateX(0); }

.sidebar-backdrop {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.45);
  z-index: 199;
}

.sidebar-backdrop.open { display: block; }

.sidebar-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 13px 16px;
  cursor: pointer;
  color: var(--c-nav-text);
  font-size: 14px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  transition: background 0.12s;
}

.sidebar-item:hover { background: rgba(255,255,255,0.09); }
.sidebar-item.active { background: rgba(255,255,255,0.09); border-left: 3px solid var(--c-accent); }
.sidebar-num { font-weight: bold; color: var(--c-accent); min-width: 24px; }

/* ─── SPEAKER VIEW ─── */
body.speaker-view {
  overflow: auto;
  background: var(--c-sp-bg);
  height: auto;
  display: block;
}

.speaker-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: auto auto 1fr auto;
  gap: 14px;
  padding: 14px;
  min-height: 100vh;
  color: var(--c-sp-text);
}

.speaker-header {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--c-sp-card);
  border-radius: 12px;
  padding: 12px 20px;
  gap: 12px;
  flex-wrap: wrap;
}

.speaker-timer {
  font-size: 38px;
  font-weight: bold;
  font-variant-numeric: tabular-nums;
  font-family: 'Courier New',Courier,monospace;
  color: var(--c-sp-accent);
  transition: color 0.3s;
}

.speaker-slide-num { font-size: 18px; color: rgba(255,255,255,0.5); }

.speaker-estimated-time {
  font-size: 14px;
  color: var(--c-sp-accent);
  background: rgba(245,166,35,0.1);
  padding: 4px 12px;
  border-radius: 20px;
  border: 1px solid rgba(245,166,35,0.3);
}

.speaker-timer-controls { display: flex; gap: 8px; }

.timer-btn {
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  color: var(--c-sp-text);
  padding: 7px 16px;
  border-radius: 8px;
  cursor: pointer;
  font-family: inherit;
  font-size: 14px;
}

.timer-btn:hover { background: rgba(255,255,255,0.2); }

.speaker-current, .speaker-next {
  background: var(--c-sp-card);
  border-radius: 12px;
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.speaker-thumb-label { font-size: 11px; color: rgba(255,255,255,0.4); text-transform: uppercase; letter-spacing: 0.1em; }

.speaker-current img, .speaker-next img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: contain;
  border-radius: 8px;
  background: #0e0805;
}

.speaker-thumb-title { font-size: 13px; color: rgba(255,255,255,0.7); line-height: 1.4; }

.speaker-question {
  background: rgba(245,166,35,0.1);
  border: 1px solid rgba(245,166,35,0.3);
  border-radius: 8px;
  padding: 8px 12px;
  font-size: 13px;
  color: var(--c-sp-accent);
  line-height: 1.5;
}

.speaker-question-label { font-size: 10px; font-weight: bold; display: block; margin-bottom: 3px; opacity: 0.7; }

.speaker-notes-wrap {
  grid-column: 1 / -1;
  background: var(--c-sp-card);
  border-radius: 12px;
  padding: 20px 24px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.speaker-notes-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.speaker-notes-label { font-size: 12px; font-weight: bold; color: var(--c-sp-accent); letter-spacing: 0.08em; text-transform: uppercase; }

.speaker-notes-text {
  font-size: 20px;
  line-height: 1.85;
  color: var(--c-sp-text);
  white-space: pre-wrap;
}

.speaker-bridge {
  padding: 12px 16px;
  background: rgba(245,166,35,0.12);
  border-left: 4px solid var(--c-sp-accent);
  border-radius: 0 8px 8px 0;
  font-size: 16px;
  color: var(--c-sp-accent);
  line-height: 1.6;
}

.speaker-footer {
  grid-column: 1 / -1;
  display: flex;
  gap: 12px;
  justify-content: center;
  padding: 6px 0 10px;
}

.speaker-nav-btn {
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  color: var(--c-sp-text);
  padding: 10px 32px;
  border-radius: 8px;
  cursor: pointer;
  font-family: inherit;
  font-size: 16px;
}

.speaker-nav-btn:hover { background: rgba(255,255,255,0.2); }
.speaker-nav-btn:disabled { opacity: 0.25; cursor: default; }

/* ─── SPEAKER EDIT UI ─── */
.speaker-edit-toolbar { display: flex; gap: 6px; flex-wrap: wrap; }

.sp-edit-btn, .sp-save-btn, .sp-reset-btn, .sp-exit-btn {
  padding: 5px 13px;
  border-radius: 6px;
  cursor: pointer;
  font-family: inherit;
  font-size: 13px;
  border: 1px solid rgba(255,255,255,0.22);
  background: rgba(255,255,255,0.08);
  color: var(--c-sp-text);
}

.sp-edit-btn:hover, .sp-exit-btn:hover { background: rgba(255,255,255,0.18); }

.sp-save-btn {
  background: rgba(245,166,35,0.18);
  border-color: rgba(245,166,35,0.5);
  color: var(--c-sp-accent);
}

.sp-save-btn:hover { background: rgba(245,166,35,0.32); }

.sp-reset-btn {
  background: rgba(255,100,100,0.10);
  border-color: rgba(255,100,100,0.38);
  color: #ffaaaa;
}

.sp-reset-btn:hover { background: rgba(255,100,100,0.22); }

.sp-edit-section-label { font-size: 12px; font-weight: bold; color: rgba(255,255,255,0.45); letter-spacing: 0.06em; text-transform: uppercase; }
.sp-edit-section-label--bridge { color: rgba(245,166,35,0.75); }

.sp-textarea {
  width: 100%;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.2);
  color: var(--c-sp-text);
  font-family: inherit;
  font-size: 16px;
  line-height: 1.7;
  padding: 12px 14px;
  border-radius: 8px;
  resize: vertical;
}

.sp-textarea:focus { outline: none; border-color: var(--c-sp-accent); background: rgba(255,255,255,0.10); }
.sp-textarea--bridge { font-size: 14px; color: var(--c-sp-accent); }

/* ─── SPEAKER SLIDE PREVIEW ─── */
.sp-preview-wrap {
  width: 100%;
  aspect-ratio: 16 / 9;
  min-height: 160px;
  max-height: min(42vh, 460px);
  overflow: hidden;
  border-radius: 8px;
  background: var(--c-base);
  position: relative;
  flex-shrink: 0;
}

.sp-slide-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 960px;
  height: 540px;
  transform-origin: top left;
  pointer-events: none;
  color: var(--c-text);
  isolation: isolate;
}

.sp-slide-canvas .slide {
  display: flex !important;
  position: absolute !important;
  top: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  left: 0 !important;
  width: 100% !important;
  height: 100% !important;
  overflow: hidden;
}

/* ─── CAM OVERLAY (preserved from v1) ─── */
.cam-overlay {
  position: fixed; top: 16px; right: 16px; width: 200px;
  border-radius: 12px; overflow: hidden; background: #111;
  border: 2px solid rgba(253,246,227,0.65);
  box-shadow: 0 4px 20px rgba(0,0,0,0.28);
  z-index: 120; display: none; padding: 4px;
  transition: background 0.2s, border-color 0.2s;
}

.cam-overlay.active { display: block; }

.cam-media-wrap { position: relative; width: 100%; aspect-ratio: 4/3; border-radius: 8px; overflow: hidden; background: #000; }

.cam-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; transform: scaleX(-1); }
.cam-canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: none; transform: scaleX(-1); }

.cam-overlay.vbg-active .cam-video { position: absolute; opacity: 0; pointer-events: none; width: 1px !important; height: 1px !important; overflow: hidden; }
.cam-overlay.vbg-active .cam-canvas { display: block; }

.cam-rec-label { position: absolute; bottom: 8px; left: 10px; font-size: 10px; color: rgba(255,80,80,0.9); font-family: 'Courier New',Courier,monospace; font-weight: bold; letter-spacing: 0.05em; pointer-events: none; z-index: 2; }

.cam-btn { background: none; border: 1px solid rgba(255,255,255,0.35); color: var(--c-nav-text); padding: 8px 13px; border-radius: 8px; font-size: 13px; cursor: pointer; font-family: inherit; flex-shrink: 0; white-space: nowrap; transition: background 0.12s; }
.cam-btn:hover { background: rgba(255,255,255,0.12); }
.cam-btn--on { border-color: rgba(255,100,100,0.65); color: #ffaaaa; }

.vbg-btn { background: none; border: 1px solid rgba(255,255,255,0.35); color: var(--c-nav-text); padding: 8px 13px; border-radius: 8px; font-size: 13px; cursor: pointer; font-family: inherit; flex-shrink: 0; white-space: nowrap; }
.vbg-btn:hover { background: rgba(255,255,255,0.12); }
.vbg-btn:disabled { opacity: 0.4; cursor: default; }
.vbg-btn--on { border-color: rgba(100,200,100,0.65); color: #aaffaa; }

.cam-bg-select { background: rgba(40,25,10,0.8); border: 1px solid rgba(255,255,255,0.3); color: var(--c-nav-text); padding: 7px 8px; border-radius: 8px; font-size: 12px; cursor: pointer; font-family: inherit; flex-shrink: 0; max-width: 80px; appearance: none; -webkit-appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M0 0l5 6 5-6z' fill='rgba(255,255,255,0.5)'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 6px center; padding-right: 22px; }
.cam-bg-select:hover { background-color: rgba(60,40,15,0.9); }
.cam-bg-select option { background: #3D2B1F; color: #FDF6E3; }

.cam-error-toast { position: fixed; bottom: 72px; right: 16px; background: rgba(61,43,31,0.96); color: #FDF6E3; padding: 10px 16px; border-radius: 8px; font-size: 13px; max-width: 300px; line-height: 1.6; z-index: 300; border-left: 3px solid var(--c-accent); }

/* Camera backgrounds */
.cam-bg-default { background: #111; border-color: rgba(253,246,227,0.65); }
.cam-bg-white { background: #FFF; border-color: rgba(200,200,200,0.8); box-shadow: 0 4px 20px rgba(0,0,0,0.15); }
.cam-bg-beige { background: #F5E6D0; border-color: rgba(160,120,70,0.55); }
.cam-bg-amber { background: #E8A000; border-color: rgba(192,120,0,0.8); }
.cam-bg-washi { background: linear-gradient(135deg,#F2EAD3 0%,#E8DFC5 50%,#F0E8D0 100%); border-color: rgba(140,110,70,0.55); }
.cam-bg-glass { background: rgba(255,255,255,0.22); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); border-color: rgba(255,255,255,0.5); box-shadow: 0 4px 20px rgba(0,0,0,0.18); }
.cam-bg-none { background: transparent; border-color: transparent; box-shadow: none; padding: 0; }
.cam-bg-none .cam-video { border-radius: 12px; }

/* ─── RESPONSIVE ─── */
@media (max-width: 900px) {
  .sl-wrap { padding: 14px 24px 10px; }
  .sl-choices { grid-template-columns: 1fr; }
  .sl-persons--four .sl-person { min-width: 100%; }
  .sl-era-timeline { flex-direction: column; }
  .sl-era-arrow { transform: rotate(90deg); align-self: center; }
}

@media (max-width: 600px) {
  .sl-wrap { padding: 10px 14px 8px; }
  .sl-cover-title { font-size: 1.6rem; }
  .sl-persons { flex-wrap: wrap; }
  .sl-person { min-width: 100%; }
  .sl-before-after { flex-direction: column; }
}

/* ─── PRINT ─── */
@media print {
  .nav-bar, .progress-bar, .sidebar, .sidebar-backdrop, .cam-overlay { display: none !important; }
  .slide { display: flex !important; position: relative !important; page-break-after: always; height: 100vh; }
  body { overflow: visible; }
}

/* ════════════════════════════════════════
   最終案版 追加スタイル
════════════════════════════════════════ */

/* ─── 目的ラベル・問いボックス非表示 ─── */
.sl-badge        { display: none !important; }
.sl-question-box { display: none !important; }

/* ─── フォントサイズ 18px 以上保証 ─── */
.sl-point       { font-size: clamp(1.125rem, 2vw, 1.3rem); }
.sl-msg         { font-size: clamp(1.125rem, 1.8vw, 1.2rem); }
.sl-intro-text  { font-size: clamp(1.125rem, 2vw, 1.3rem); }
.sl-tl-text     { font-size: clamp(1.125rem, 1.8vw, 1.15rem); }
.sl-ba-text     { font-size: clamp(1.125rem, 1.8vw, 1.2rem); }
.sl-ba-sub      { font-size: clamp(1rem, 1.6vw, 1.1rem); }
.sl-discovery-title { font-size: clamp(1.125rem, 1.8vw, 1.15rem); }
.sl-feature-text { font-size: clamp(1.125rem, 1.8vw, 1.15rem); }
.sl-feature-sub  { font-size: clamp(0.95rem, 1.5vw, 1.05rem); }
.sl-choice       { font-size: clamp(1.1rem, 1.8vw, 1.15rem); }
.sl-table        { font-size: clamp(1.05rem, 1.8vw, 1.15rem); }
.sl-person-quote { font-size: clamp(1.05rem, 1.8vw, 1.1rem); }
.sl-era-desc     { font-size: clamp(1.05rem, 1.8vw, 1.1rem); }

/* ─── カバースライド 追加要素 ─── */
.sl-cover-header {
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.sl-cover-main-title {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: bold;
  color: var(--c-accent);
  letter-spacing: 0.04em;
}

.sl-cover-sub {
  font-size: clamp(1rem, 2vw, 1.3rem);
  color: var(--c-text-sub);
}

.sl-cover-presenter {
  font-size: clamp(0.9rem, 1.6vw, 1rem);
  color: var(--c-text-sub);
  margin-top: 4px;
}

/* ─── 写真プレースホルダー ─── */
.sl-photo-placeholder {
  width: 120px;
  height: 150px;
  background: rgba(232,160,0,0.1);
  border: 2px dashed rgba(232,160,0,0.4);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.sl-photo-inner {
  text-align: center;
}

.sl-photo-label {
  font-size: 0.85rem;
  color: var(--c-text-sub);
}

/* ─── 2カラムレイアウト ─── */
.sl-two-col {
  display: flex;
  gap: 16px;
  flex: 1;
  min-height: 0;
}

.sl-col {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-width: 0;
}

/* ─── 階段リスト（スライド6） ─── */
.sl-staircase {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.sl-stair-item {
  background: rgba(232,160,0,0.1);
  border: 1px solid rgba(232,160,0,0.25);
  border-radius: 8px;
  padding: 9px 14px;
  font-size: clamp(1rem, 1.8vw, 1.1rem);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.sl-stair-item--main {
  background: var(--c-accent);
  color: #fff;
  border-color: var(--c-accent-dark);
  font-weight: bold;
}

.sl-stair-item--main .sl-stair-age {
  color: #fff;
}

.sl-stair-age {
  font-weight: bold;
  font-size: 0.9em;
  color: var(--c-accent);
  flex-shrink: 0;
  margin-left: 8px;
}

/* ─── 4カードグリッド（スライド9） ─── */
.sl-card-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.sl-card-item {
  background: rgba(232,160,0,0.08);
  border: 1px solid rgba(232,160,0,0.25);
  border-radius: 10px;
  padding: 12px 14px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.sl-card-icon {
  font-size: 1.6rem;
  flex-shrink: 0;
}

.sl-card-text {
  font-size: clamp(1.05rem, 1.8vw, 1.15rem);
  font-weight: bold;
  line-height: 1.4;
}

/* ─── ダーク背景スライド（スライド11） ─── */
.sl-wrap--dark {
  background: #1A100A;
}

.sl-title--light {
  color: #F5E6D0;
}

.sl-point--light {
  color: #E8D8C4;
}

.sl-heart-voice {
  font-size: clamp(1.125rem, 2vw, 1.3rem);
  line-height: 2;
  color: #E8D8C4;
  padding: 10px 18px;
  background: rgba(255,255,255,0.05);
  border-radius: 10px;
}

.sl-msg--dark-closing {
  background: rgba(255,255,255,0.07);
  border-left-color: rgba(255,255,255,0.25);
  color: #C8B89A;
  font-size: clamp(1.2rem, 2vw, 1.4rem);
  text-align: center;
  font-weight: bold;
}

/* ─── 中央ハブ（スライド14） ─── */
.sl-hub-center-wrap {
  display: flex;
  justify-content: center;
  margin-bottom: 10px;
}

.sl-hub-center {
  display: inline-block;
  background: var(--c-accent);
  color: #fff;
  font-size: clamp(1.2rem, 2.5vw, 1.6rem);
  font-weight: bold;
  padding: 10px 32px;
  border-radius: 30px;
}

/* ─── レスポンシブ調整 ─── */
@media (max-width: 900px) {
  .sl-two-col { flex-direction: column; }
  .sl-card-grid { grid-template-columns: 1fr; }
}

@media (max-width: 600px) {
  .sl-card-grid { grid-template-columns: 1fr; }
  .sl-staircase { gap: 4px; }
}

/* ════════════════════════════════════════
   18枚版 追加スタイル（タイトルページ・画像対応）
════════════════════════════════════════ */

/* ─── タイトルスライド ─── */
.sl-wrap--title {
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 48px;
  padding: 40px 64px;
  background: linear-gradient(135deg, #FDF6E3 0%, #F5E8C5 100%);
}

.sl-title-left {
  flex: 1.2;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.sl-title-right {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.sl-title-eyebrow {
  font-size: clamp(0.85rem, 1.5vw, 1rem);
  color: var(--c-accent);
  font-weight: bold;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border-left: 4px solid var(--c-accent);
  padding-left: 12px;
}

.sl-title-main {
  font-size: clamp(2.4rem, 6vw, 4rem);
  font-weight: bold;
  color: var(--c-text);
  line-height: 1.2;
  letter-spacing: 0.04em;
}

.sl-title-sub {
  font-size: clamp(1.2rem, 2.5vw, 1.6rem);
  color: var(--c-text-sub);
  line-height: 1.5;
}

.sl-title-date {
  font-size: clamp(1rem, 1.8vw, 1.15rem);
  color: var(--c-text-sub);
  padding-top: 8px;
  border-top: 1px solid rgba(61,43,31,0.15);
}

/* ─── 画像付き2カラムスライド ─── */
.sl-wrap--with-image {
  flex-direction: row;
  gap: 0;
  padding: 0;
  overflow: hidden;
}

.sl-wrap-left {
  flex: 1.4;
  display: flex;
  flex-direction: column;
  padding: 20px 40px 14px 56px;
  gap: 10px;
  overflow: hidden;
  min-width: 0;
}

.sl-wrap-right {
  flex: 0 0 30%;
  max-width: 320px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 20px 16px 8px;
  background: rgba(232,160,0,0.05);
  border-left: 1px solid rgba(232,160,0,0.15);
  overflow: hidden;
}

/* ─── 肖像・写真フレーム ─── */
.portrait-frame {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  width: 100%;
}

.portrait-frame--small {
  max-width: 200px;
}

.portrait-frame--dark .source-note {
  color: rgba(245,230,208,0.65);
}

/* ─── 画像共通 ─── */
.hero-portrait {
  width: 100%;
  max-width: 280px;
  max-height: 60vh;
  object-fit: contain;
  border-radius: 12px;
  border: 3px solid rgba(232,160,0,0.4);
  background: rgba(232,160,0,0.06);
}

.slide-image {
  width: 100%;
  max-height: 55vh;
  object-fit: contain;
  border-radius: 10px;
  background: rgba(61,43,31,0.05);
}

.slide-image--portrait {
  max-width: 220px;
  max-height: 50vh;
  border: 2px solid rgba(232,160,0,0.3);
}

.slide-image--compare {
  max-height: 100px;
  object-fit: cover;
  border-radius: 8px;
  width: 100%;
}

.slide-image--group {
  max-height: 140px;
  object-fit: cover;
  border-radius: 8px;
  width: 100%;
}

.slide-image--ba {
  max-height: 90px;
  width: 100%;
  object-fit: cover;
  border-radius: 6px;
  border: 1px solid rgba(232,160,0,0.2);
}

.slide-image--sketch {
  max-height: 120px;
  object-fit: contain;
  width: auto;
}

.slide-image--person {
  max-height: 160px;
  max-width: 160px;
  object-fit: contain;
}

/* ─── 出典注記 ─── */
.source-note {
  font-size: clamp(0.72rem, 1.2vw, 0.82rem);
  color: var(--c-text-sub);
  text-align: center;
  line-height: 1.5;
}

/* ─── プレースホルダー ─── */
.placeholder-image {
  width: 100%;
  background: rgba(232,160,0,0.08);
  border: 2px dashed rgba(232,160,0,0.4);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 14px;
  text-align: center;
  color: var(--c-text-sub);
  font-size: clamp(0.85rem, 1.5vw, 0.95rem);
  line-height: 1.6;
  min-height: 80px;
}

.placeholder-image--large {
  min-height: 200px;
}

.placeholder-image--small {
  min-height: 80px;
  font-size: 0.82rem;
}

.placeholder-image--labeled {
  min-height: 90px;
}

/* ─── 比較画像行 ─── */
.comparison-image-row {
  display: flex;
  gap: 12px;
  align-items: stretch;
  flex-shrink: 0;
}

.comparison-image-item {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.comparison-image-item--placeholder {
  max-height: 110px;
}

/* ─── 画像カード ─── */
.image-card {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 4px;
  align-items: center;
}

.image-card--small {
  max-width: 200px;
  margin: 0 auto;
}

.image-card--wide {
  max-width: 100%;
}

/* ─── 列（画像専用） ─── */
.sl-col--images {
  flex: 0 0 auto;
  max-width: 200px;
}

/* ─── ダーク背景対応 ─── */
.sl-wrap--dark.sl-wrap--with-image .sl-wrap-right {
  background: rgba(0,0,0,0.2);
  border-left-color: rgba(255,255,255,0.1);
}

/* ─── レスポンシブ（画像レイアウト） ─── */
@media (max-width: 900px) {
  .sl-wrap--title { flex-direction: column; padding: 24px 32px; gap: 24px; }
  .sl-wrap--with-image { flex-direction: column; }
  .sl-wrap-right { flex: none; max-width: 100%; flex-direction: row; padding: 10px 24px; border-left: none; border-top: 1px solid rgba(232,160,0,0.15); justify-content: center; }
  .sl-wrap-left { padding: 14px 24px 8px; }
  .hero-portrait { max-height: 30vh; }
  .slide-image { max-height: 30vh; }
  .comparison-image-row { flex-direction: column; }
}

@media (max-width: 600px) {
  .sl-wrap--title { padding: 16px 20px; }
  .sl-title-main { font-size: 1.8rem; }
  .sl-wrap-right { flex-wrap: wrap; }
}

/* ════════════════════════════════════════
   小4視認性改善版（2026-05-16）
   最小差分オーバーライド
   対象：Zoom画面共有 1920×1080 小学4年生
════════════════════════════════════════ */

/* ─── 文字サイズ：16px 未満を解消 ─── */

.source-note {
  font-size: clamp(1rem, 1.6vw, 1.05rem); /* 16px floor */
}

.sl-title-eyebrow {
  font-size: clamp(1rem, 1.8vw, 1.1rem);
}

.sl-cover-item {
  font-size: clamp(1.1rem, 1.9vw, 1.2rem);
}

.sl-cover-presenter {
  font-size: clamp(1.05rem, 1.7vw, 1.15rem);
}

.sl-ba-label {
  font-size: clamp(1.1rem, 1.8vw, 1.2rem);
}

.sl-ba-sub {
  font-size: clamp(1.125rem, 1.9vw, 1.25rem);
}

.sl-discovery-sub {
  font-size: clamp(1.05rem, 1.7vw, 1.15rem);
}

.sl-era-year {
  font-size: clamp(1rem, 1.6vw, 1.1rem);
}

.sl-era-desc {
  font-size: clamp(1.125rem, 1.9vw, 1.25rem);
}

.sl-feature-sub {
  font-size: clamp(1.125rem, 1.9vw, 1.25rem);
}

.sl-person-role {
  font-size: clamp(1rem, 1.6vw, 1.1rem);
}

.sl-person-name {
  font-size: clamp(1.125rem, 1.9vw, 1.25rem);
}

.sl-person-quote {
  font-size: clamp(1.125rem, 1.9vw, 1.25rem);
}

.sl-school-year {
  font-size: clamp(1.1rem, 1.8vw, 1.2rem);
}

.sl-table-cat {
  font-size: clamp(1.1rem, 1.8vw, 1.2rem);
}

.sl-table {
  font-size: clamp(1.125rem, 1.9vw, 1.25rem);
}

.sl-stair-age {
  font-size: 1rem;
}

.sl-choice {
  font-size: clamp(1.125rem, 1.9vw, 1.25rem);
}

.placeholder-image {
  font-size: clamp(1.1rem, 1.8vw, 1.2rem);
}

.placeholder-image--small {
  font-size: clamp(1.05rem, 1.7vw, 1.15rem);
}

/* ─── 画像：contain + 大きさ拡大 ─── */

.hero-portrait {
  max-width: 320px;
  max-height: 65vh;
  object-fit: contain;
}

.slide-image--compare {
  max-height: 160px;
  object-fit: contain;
}

.slide-image--group {
  max-height: 200px;
  object-fit: contain;
}

.slide-image--ba {
  max-height: 140px;
  object-fit: contain;
}

.slide-image--sketch {
  max-height: 180px;
  object-fit: contain;
}

.slide-image--person {
  max-height: 220px;
  max-width: 220px;
  object-fit: contain;
}

/* ─── レイアウト：右画像エリアを広く ─── */

.sl-wrap-right {
  flex: 0 0 33%;
  max-width: 370px;
}

.portrait-frame--small {
  max-width: 250px;
}

.comparison-image-item--placeholder {
  max-height: none;
}

/* ════════════════════════════════════════
   再現イメージ追加・UI最適化版（2026-05-16）
   スライド5・9 画像対応 + 全体微調整
════════════════════════════════════════ */

/* ─── 蒸気船画像（スライド9）用 ─── */
.slide-image--steamship {
  width: 100%;
  max-height: 62vh;
  object-fit: contain;
  border-radius: 10px;
  background: #1A2A3A;
}

/* ─── 比較画像行：画像が入ったとき高さを確保 ─── */
.comparison-image-row {
  min-height: 110px;
}

.comparison-image-item .slide-image--compare {
  max-height: 180px;
  object-fit: contain;
  border-radius: 8px;
  width: 100%;
  background: rgba(61,43,31,0.05);
}

/* ─── スライド5：表の余白を詰める ─── */
.sl-table th, .sl-table td {
  padding: 8px 12px;
}

/* ─── スライド9：右エリアを広く使う ─── */
.sl-wrap--with-image .sl-wrap-right {
  padding: 12px 16px 12px 8px;
}

/* ─── スライド3（テーマ）：問いかけを大きく ─── */
.sl-big-q {
  font-size: clamp(1.8rem, 4.5vw, 2.8rem);
}

/* ─── スライド12（問いかけ選択）：選択肢の文字を大きく ─── */
.sl-choice-label {
  font-size: clamp(1.15rem, 2vw, 1.3rem);
}

/* ─── タイムライン年号バッジを読みやすく ─── */
.sl-tl-year {
  font-size: clamp(0.88rem, 1.6vw, 1rem);
  min-width: 80px;
  padding: 5px 10px;
}

/* ─── 出発感情アイコン行（スライド9） ─── */
.sl-feeling-item {
  font-size: clamp(1.05rem, 1.8vw, 1.15rem);
  padding: 8px 16px;
}

/* ─── 学校バナー（スライド16）を見やすく ─── */
.sl-school-name {
  font-size: clamp(1.5rem, 3.5vw, 2.2rem);
}

/* ─── 最終スライド：問いかけを強調 ─── */
.sl-final-question-big {
  font-size: clamp(1.6rem, 4vw, 2.5rem);
  padding: 12px 0;
}

/* ─── 比較表スライド（スライド5）：テーブル上部余白を詰める ─── */
.sl-wrap .comparison-image-row + .sl-table {
  margin-top: 4px;
}

/* ─── ダークスライド（スライド12）heart-voice を大きく ─── */
.sl-heart-voice {
  font-size: clamp(1.2rem, 2.2vw, 1.4rem);
}
