/* ==========================================================================
   松山経営者勉強会 — Deck styles
   Built on カワサキ企画 design system, with seminar-spec overrides:
   - Background #F5F4EF (warm off-white)
   - Larger type for in-room readability (1920x1080, executive seminar)
   ========================================================================== */

:root {
  --paper: #F5F4EF;
  --paper-2: #ECEAE2;
  --ink-headline: #1A1A1A;
  --ink-body: #2C2C2C;
  --ink-sub: #6B6B6B;
  --ink-mute: #BBBBBB;
  --green: #006B3F;
  --green-dark: #004D2D;
  --green-darker: #002B19;
  --green-tint: #E6F5ED;
  --green-tint-2: #C4DFD1;
  --dark: #1A1A1A;
  --dark-2: #0E0E0E;
}

deck-stage {
  /* Larger 16:9 — 1920x1080 native */
  --slide-w: 1920px;
  --slide-h: 1080px;
  background: #000;
}

/* All slides share the same base — overridden by .slide--dark */
deck-stage > section {
  width: 1920px;
  height: 1080px;
  background: var(--paper);
  color: var(--ink-body);
  font-family: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Yu Gothic", "Meiryo", system-ui, -apple-system, sans-serif;
  position: relative;
  overflow: hidden;
  box-sizing: border-box;
}

/* ---- Slide chrome ------------------------------------------------------- */
.chrome {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.chrome .top-rule {
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 6px;
  background: var(--green);
}

.chrome .eyebrow {
  position: absolute;
  top: 56px; left: 96px;
  font-size: 20px;
  font-weight: 500;
  letter-spacing: 0.18em;
  color: var(--green);
  text-transform: uppercase;
  white-space: nowrap;
}

.chrome .wordmark {
  position: absolute;
  top: 56px; right: 96px;
  font-size: 18px;
  font-weight: 500;
  letter-spacing: 0.14em;
  color: var(--ink-sub);
  white-space: nowrap;
}

.chrome .pagenum {
  position: absolute;
  bottom: 48px; right: 96px;
  font-size: 20px;
  font-feature-settings: "tnum" 1, "lnum" 1;
  color: var(--ink-sub);
  letter-spacing: 0.05em;
  white-space: nowrap;
}

.chrome .footer {
  position: absolute;
  bottom: 48px; left: 96px;
  font-size: 18px;
  color: var(--ink-sub);
  letter-spacing: 0.04em;
}

/* Dark slide variant (title) */
.slide--dark {
  background: var(--dark) !important;
  color: #fff !important;
}
.slide--dark .chrome .top-rule { background: var(--green); }
.slide--dark .chrome .eyebrow { color: var(--green-tint); }
.slide--dark .chrome .wordmark { color: rgba(255,255,255,0.6); }
.slide--dark .chrome .pagenum { color: rgba(255,255,255,0.6); }
.slide--dark .chrome .footer { color: rgba(255,255,255,0.7); }

/* ---- Content container -------------------------------------------------- */
.frame {
  position: absolute;
  inset: 140px 96px 130px 96px;
  display: flex;
  flex-direction: column;
}

.frame--center {
  align-items: center;
  justify-content: center;
  text-align: center;
}

/* ---- Type system -------------------------------------------------------- */
.kicker {
  font-size: 22px;
  letter-spacing: 0.2em;
  color: var(--green);
  text-transform: uppercase;
  font-weight: 600;
  margin-bottom: 28px;
}

.headline {
  font-size: 76px;
  font-weight: 700;
  line-height: 1.18;
  letter-spacing: -0.02em;
  color: var(--ink-headline);
  margin: 0;
  text-wrap: pretty;
}

.headline--xl {
  font-size: 96px;
  line-height: 1.12;
}

.subhead {
  font-size: 32px;
  font-weight: 400;
  line-height: 1.5;
  color: var(--ink-sub);
  margin: 24px 0 0;
  text-wrap: pretty;
}

.body {
  font-size: 30px;
  line-height: 1.6;
  color: var(--ink-body);
}

.body--lg {
  font-size: 36px;
  line-height: 1.5;
}

.tagline {
  font-size: 30px;
  font-weight: 500;
  color: var(--green-dark);
  line-height: 1.5;
  border-left: 4px solid var(--green);
  padding-left: 28px;
  margin: 0;
  padding-right: 200px;
  text-wrap: pretty;
}

.num {
  font-feature-settings: "tnum" 1, "lnum" 1;
  font-variant-numeric: tabular-nums;
}

/* ---- Table ------------------------------------------------------------- */
.tbl {
  width: 100%;
  border-collapse: collapse;
  font-size: 28px;
}
.tbl th, .tbl td {
  text-align: left;
  padding: 18px 22px;
  border-bottom: 1px solid #D6D2C7;
  vertical-align: middle;
}
.tbl th {
  font-size: 20px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-sub);
  border-bottom: 2px solid var(--ink-body);
  padding-bottom: 16px;
}
.tbl .row-mute { color: var(--ink-sub); }
.tbl .row-mute td { color: var(--ink-sub); }
.tbl .row-hi { background: var(--green-tint); }
.tbl .row-hi td { color: var(--green-darker); font-weight: 600; }
.tbl .num-cell { font-weight: 700; font-feature-settings: "tnum" 1; }
.tbl .delta { color: var(--green); font-weight: 700; }

/* ---- Generic utilities -------------------------------------------------- */
.row { display: flex; }
.col { display: flex; flex-direction: column; }
.grow { flex: 1; }
.gap-2 { gap: 16px; }
.gap-3 { gap: 24px; }
.gap-4 { gap: 32px; }
.gap-6 { gap: 48px; }
.gap-8 { gap: 64px; }
.mt-4 { margin-top: 32px; }
.mt-6 { margin-top: 48px; }
.mt-8 { margin-top: 64px; }

/* ---- Speaker speaker-side spec elements -------------------------------- */
.card {
  background: #fff;
  border: 1px solid #DDD8CB;
  border-radius: 4px;
  padding: 40px;
}
.card--tint {
  background: var(--green-tint);
  border: 1px solid var(--green-tint-2);
}
.card--dark {
  background: var(--dark);
  color: #fff;
  border: 1px solid #333;
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--green);
  color: #fff;
  padding: 8px 18px;
  border-radius: 999px;
  font-size: 18px;
  font-weight: 600;
  letter-spacing: 0.04em;
}

.chip--ghost {
  background: transparent;
  color: var(--green);
  border: 1.5px solid var(--green);
}

/* ---- Specific layout helpers ------------------------------------------- */

/* Two-column compare */
.compare {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 0;
  align-items: stretch;
  flex: 1;
}
.compare__col {
  padding: 48px;
  display: flex;
  flex-direction: column;
}
.compare__col--mute {
  color: var(--ink-sub);
}
.compare__col--mute .compare__label { color: var(--ink-sub); border-color: var(--ink-mute); }
.compare__col--hi { background: var(--green-tint); }
.compare__col--hi .compare__label { color: var(--green); border-color: var(--green); }

.compare__divider {
  width: 1px;
  background: #D6D2C7;
}

.compare__label {
  font-size: 22px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding-bottom: 16px;
  border-bottom: 3px solid currentColor;
  margin-bottom: 28px;
  align-self: flex-start;
}

.compare__title {
  font-size: 36px;
  font-weight: 700;
  color: inherit;
  margin: 0 0 24px;
  line-height: 1.3;
}

.compare__list {
  font-size: 26px;
  line-height: 1.8;
  list-style: none;
  padding: 0;
  margin: 0;
}
.compare__list li { padding: 8px 0; }
.compare__list li::before {
  content: "—";
  margin-right: 16px;
  color: currentColor;
  opacity: 0.5;
}

.arrow-big {
  align-self: center;
  font-size: 80px;
  color: var(--green);
  padding: 0 32px;
}

/* "01" big numeral */
.bignum {
  font-size: 200px;
  font-weight: 800;
  line-height: 1;
  color: var(--green);
  font-feature-settings: "tnum" 1;
  letter-spacing: -0.04em;
}

/* "×3" or "5億円" hero stat */
.hero-stat {
  font-size: 280px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.04em;
  color: var(--green);
  font-feature-settings: "tnum" 1;
}
.hero-stat__label {
  font-size: 28px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-sub);
  font-weight: 600;
  margin-bottom: 16px;
}

/* Three column grid */
.three-col {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}

/* checkmark list */
.check-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 36px;
}
.check-list li {
  display: flex;
  gap: 28px;
  align-items: flex-start;
  font-size: 32px;
  line-height: 1.5;
  color: var(--ink-body);
}
.check-list .check-icon {
  flex: none;
  width: 48px; height: 48px;
  background: var(--green);
  border-radius: 999px;
  display: grid;
  place-items: center;
  color: #fff;
  font-weight: 700;
  font-size: 26px;
  margin-top: 6px;
}
.check-list strong { color: var(--ink-headline); font-weight: 700; }
.check-list em {
  font-style: normal;
  display: block;
  font-size: 24px;
  color: var(--ink-sub);
  margin-top: 6px;
}

/* numbered list */
.numbered {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 28px;
}
.numbered li {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 24px;
  font-size: 30px;
  line-height: 1.5;
  align-items: start;
}
.numbered .n {
  font-size: 36px;
  font-weight: 700;
  color: var(--green);
  line-height: 1;
  padding-top: 6px;
  font-feature-settings: "tnum" 1;
}
.numbered strong { display: block; color: var(--ink-headline); font-weight: 700; margin-bottom: 6px; }
.numbered em { font-style: normal; color: var(--ink-sub); font-size: 26px; }

/* Step progress */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  position: relative;
}
.steps__line {
  position: absolute;
  top: 56px;
  left: 12%;
  right: 12%;
  height: 4px;
  background: var(--green);
  z-index: 0;
}
.step {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 0 24px;
}
.step__num {
  width: 112px;
  height: 112px;
  border-radius: 999px;
  background: var(--green);
  color: #fff;
  font-size: 56px;
  font-weight: 800;
  display: grid;
  place-items: center;
  margin-bottom: 28px;
  border: 6px solid var(--paper);
  font-feature-settings: "tnum" 1;
}
.step__when {
  font-size: 22px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 16px;
}
.step__body {
  font-size: 26px;
  line-height: 1.55;
  color: var(--ink-body);
}

/* Stat block */
.stat-block {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.stat-block__num {
  font-size: 72px;
  font-weight: 800;
  line-height: 1;
  color: var(--green);
  letter-spacing: -0.03em;
  font-feature-settings: "tnum" 1;
  white-space: nowrap;
}
.stat-block__label {
  font-size: 20px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-sub);
  font-weight: 600;
  white-space: nowrap;
}

/* Quote */
.quote {
  font-size: 36px;
  font-weight: 500;
  line-height: 1.5;
  color: var(--ink-headline);
  border-left: 4px solid var(--green);
  padding: 12px 0 12px 32px;
  font-family: "Noto Serif JP", "Yu Mincho", serif;
}
.quote__attr {
  font-family: var(--font-sans);
  font-size: 22px;
  color: var(--ink-sub);
  margin-top: 16px;
  display: block;
  font-style: normal;
}
