/* ===== SHIFT AI Slide System — KAWAI LIVE 260507 ===== */

:root {
  /* Brand colors */
  --c-base: #FFFFFF;
  --c-main: #a51e6d;
  --c-main-90: #ae357c;
  --c-main-70: #c06299;
  --c-main-50: #d28fb6;
  --c-main-20: #edd2e2;
  --c-main-10: #f6e9f0;
  --c-secondary: #039578;
  --c-secondary-10: #e6f4f2;
  --c-text: #333333;
  --c-text-sub: #707070;
  --c-line: #d6d6d6;
  --c-gray-light: #f5f5f5;
  --grad-primary: linear-gradient(90deg, #ff5757, #8c52ff);
  --grad-section: linear-gradient(135deg, #ff5757 0%, #c06299 50%, #8c52ff 100%);

  /* Font scale (relative) */
  --fs-body: 2cqw;
}

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

html, body {
  height: 100%;
  background: var(--c-base);
  font-family: 'Noto Sans JP', sans-serif;
  color: var(--c-text);
  overflow: hidden;
  letter-spacing: 0.02em;
}

.top-back-link {
  position: fixed;
  top: 14px;
  left: 14px;
  z-index: 1000;
  color: var(--c-text);
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(0, 0, 0, 0.12);
  border-radius: 6px;
  padding: 6px 10px;
  font-size: 12px;
  font-weight: 400;
  line-height: 1;
  text-decoration: none;
  letter-spacing: 0;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08);
}

.top-back-link:hover {
  background: #fff;
}

/* ===== Slide stage ===== */
.slide-stage {
  position: relative;
  width: 100vw;
  height: 100vh;
  overflow: hidden;
  background: var(--c-base);
}

.slide {
  width: 100vw;
  height: 100vh;
  max-width: calc(100vh * 16 / 9);
  max-height: calc(100vw * 9 / 16);
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  container-type: inline-size;
  background: var(--c-base) url("../asset/background.png") center/cover no-repeat;
  opacity: 0;
  pointer-events: none;
  transition: opacity .15s ease;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.slide.active {
  opacity: 1;
  pointer-events: auto;
  z-index: 1;
}

/* ===== Header bar ===== */
.s-header {
  height: 8cqh;
  background: var(--grad-primary);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 4cqw;
  flex-shrink: 0;
}
.s-header-title {
  color: #fff;
  font-size: 2.4cqw;
  font-weight: 700;
  letter-spacing: 0.05em;
}
.s-header-logo { height: 48%; object-fit: contain; }

/* ===== Slide content ===== */
.slide-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: stretch;
  padding: 4cqw 5cqw;
  gap: 2cqw;
  min-height: 0;
}

/* ===== Typography ===== */
.slide-h1 {
  font-size: 5.5cqw;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: 0.03em;
  color: var(--c-text);
}
.slide-h2 {
  font-size: 3.5cqw;
  font-weight: 700;
  line-height: 1.4;
  color: var(--c-text);
}
.slide-h3 {
  font-size: 2.6cqw;
  font-weight: 700;
  line-height: 1.5;
  color: var(--c-text);
}
.slide-body {
  font-size: 2cqw;
  font-weight: 400;
  line-height: 1.6;
  color: var(--c-text);
}
.slide-caption {
  font-size: 1.3cqw;
  color: var(--c-text-sub);
  line-height: 1.5;
}

/* ===== Statement (F1) ===== */
.s-statement-main {
  font-size: 5.5cqw;
  font-weight: 700;
  line-height: 1.4;
  color: var(--c-text);
  text-align: center;
}
.s-statement-sub {
  font-size: 2.8cqw;
  font-weight: 400;
  line-height: 1.6;
  color: var(--c-text-sub);
  text-align: center;
}

/* ===== Quote (F7) ===== */
.s-quote-text {
  font-size: 3.5cqw;
  font-weight: 700;
  line-height: 1.5;
  color: var(--c-text);
}
.s-quote-author {
  font-size: 1.8cqw;
  color: var(--c-text-sub);
  margin-top: 1.5cqw;
}

/* ===== Metric (F4) ===== */
.s-metric-value {
  font-size: 12cqw;
  font-weight: 700;
  line-height: 1;
  color: var(--c-main);
  letter-spacing: -0.04em;
}
.s-metric-label {
  font-size: 2.4cqw;
  font-weight: 700;
  color: var(--c-text);
  margin-top: 1cqw;
}
.s-metric-unit {
  font-size: 4cqw;
  font-weight: 700;
  color: var(--c-main);
}

/* ===== Evidence slides ===== */
.s-evidence-hero {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 3cqw;
  align-items: center;
  min-height: 56cqh;
}
.s-evidence-metric {
  background: var(--c-main-10);
  border-left: 0.75cqw solid var(--c-main);
  border-radius: 10px;
  padding: 4cqw;
}
.s-evidence-value {
  color: var(--c-main);
  font-size: 10cqw;
  font-weight: 700;
  line-height: 1;
}
.s-evidence-value span {
  font-size: 3.5cqw;
  margin-left: 0.5cqw;
}
.s-evidence-metric p {
  font-size: 2.25cqw;
  font-weight: 700;
  line-height: 1.45;
  margin-top: 1.6cqw;
}
.s-evidence-points {
  display: grid;
  gap: 1.2cqw;
}
.s-evidence-points div {
  background: #fff;
  border: 0.16cqw solid var(--c-main-20);
  border-radius: 10px;
  padding: 1.8cqw 2.2cqw;
  display: grid;
  gap: 0.4cqw;
}
.s-evidence-points strong {
  color: var(--c-main);
  font-size: 2.3cqw;
}
.s-evidence-points span {
  font-size: 1.55cqw;
  font-weight: 700;
  color: var(--c-text);
}
.s-bar-chart {
  display: grid;
  gap: 1.4cqw;
  min-height: 45cqh;
  align-content: center;
}
.s-bar-row {
  display: grid;
  grid-template-columns: 16cqw 1fr 5cqw;
  align-items: center;
  gap: 1.1cqw;
}
.s-bar-label {
  font-size: 1.45cqw;
  font-weight: 700;
  line-height: 1.35;
  color: var(--c-text);
}
.s-bar-track {
  height: 3.1cqw;
  background: var(--c-main-10);
  border-radius: 999px;
  overflow: hidden;
}
.s-bar-fill {
  height: 100%;
  background: var(--grad-primary);
  border-radius: 999px;
}
.s-bar-row.is-muted .s-bar-fill {
  background: #b8b8b8;
}
.s-bar-num {
  color: var(--c-main);
  font-size: 2.25cqw;
  font-weight: 700;
  text-align: right;
}
.s-bar-row.is-muted .s-bar-num {
  color: var(--c-text-sub);
}
.s-evidence-conclusion {
  text-align: center;
  color: var(--c-main);
  font-size: 2.1cqw;
  font-weight: 700;
}
.s-evidence-split {
  display: grid;
  grid-template-columns: 1.45fr 0.8fr;
  gap: 2cqw;
  align-items: stretch;
  min-height: 53cqh;
}
.s-mini-chart,
.s-trust-colors {
  background: #fff;
  border: 0.16cqw solid var(--c-main-20);
  border-radius: 12px;
  padding: 2cqw;
  display: grid;
  align-content: center;
  gap: 1.15cqw;
}
.s-mini-title {
  color: var(--c-main);
  font-size: 2.1cqw;
  font-weight: 700;
  margin-bottom: 0.4cqw;
}
.s-color-stat {
  display: grid;
  grid-template-columns: 3.4cqw 1fr auto;
  align-items: center;
  gap: 1cqw;
  background: var(--c-main-10);
  border-radius: 8px;
  padding: 1cqw 1.2cqw;
}
.s-color-stat span {
  width: 2.3cqw;
  height: 2.3cqw;
  border-radius: 50%;
}
.s-color-stat strong {
  font-size: 1.7cqw;
  color: var(--c-text);
}
.s-color-stat em {
  font-style: normal;
  color: var(--c-main);
  font-size: 2cqw;
  font-weight: 700;
}
.s-evidence-note {
  color: var(--c-text);
  font-size: 1.55cqw;
  font-weight: 700;
  line-height: 1.55;
  text-align: center;
}
.s-source {
  color: var(--c-text-sub);
  font-size: 1cqw;
  line-height: 1.35;
  text-align: right;
}

/* ===== Cards (F2) ===== */
.s-card-grid-2,
.s-card-grid-3,
.s-card-grid-4 {
  display: grid;
  gap: 2cqw;
  align-items: stretch;
  justify-items: stretch;
  min-height: 50cqh;
}
.s-card-grid-2 { grid-template-columns: 1fr 1fr; }
.s-card-grid-3 { grid-template-columns: 1fr 1fr 1fr; }
.s-card-grid-4 { grid-template-columns: 1fr 1fr; grid-template-rows: 1fr 1fr; }

.s-card {
  background: var(--c-main-10);
  border-radius: 16px;
  padding: 3cqw 3.5cqw;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  gap: 1.2cqw;
  width: 100%;
  height: 100%;
}
.s-card-title {
  font-size: 2.4cqw;
  font-weight: 700;
  color: var(--c-main);
  line-height: 1.4;
}
.s-card-body {
  font-size: 2cqw;
  font-weight: 400;
  color: var(--c-text);
  line-height: 1.6;
}

/* ===== Number badges ===== */
.s-number-row {
  display: flex;
  align-items: center;
  gap: 1.2cqw;
  background: var(--c-main-10);
  padding: 1.4cqw 2cqw;
  border-radius: 8px;
}
.s-number-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 4cqw;
  height: 4cqw;
  background: var(--c-main);
  color: #fff;
  font-size: 2cqw;
  font-weight: 700;
  border-radius: 4px;
  flex-shrink: 0;
}
.s-number-text {
  font-size: 2.2cqw;
  font-weight: 700;
  color: var(--c-text);
  line-height: 1.4;
}
.s-number-list {
  display: flex;
  flex-direction: column;
  gap: 1.2cqw;
}
.s-agenda-list .s-number-row {
  transition: opacity .15s ease, transform .15s ease, box-shadow .15s ease;
}
.s-agenda-list .s-number-row.is-dimmed {
  opacity: 0.3;
}
.s-agenda-list .s-number-row.is-current {
  background: #fff;
  border: 0.22cqw solid var(--c-main);
  box-shadow: 0 1cqw 3cqw rgba(165,30,109,0.16);
  transform: translateX(0.8cqw);
}

/* ===== Step flow (F6) ===== */
.s-step-flow {
  display: flex;
  align-items: stretch;
  gap: 1cqw;
  min-height: 40cqh;
}
.s-step-item {
  flex: 1;
  background: var(--c-main-10);
  border-radius: 16px;
  padding: 3cqw 1.5cqw;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 1cqw;
}
.s-step-num {
  width: 4cqw;
  height: 4cqw;
  background: var(--c-main);
  color: #fff;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 2cqw;
  font-weight: 700;
}
.s-step-label {
  font-size: 2cqw;
  font-weight: 700;
  color: var(--c-text);
  text-align: center;
  line-height: 1.4;
}
.s-arrow-solid {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5cqw;
  color: var(--c-main);
  font-weight: 700;
}

/* ===== Compare (F3) ===== */
.s-compare {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2cqw;
  min-height: 50cqh;
  align-items: stretch;
}
.s-compare-item {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 1.2cqw;
  padding: 3cqw 2.5cqw;
  border-radius: 16px;
  text-align: center;
}
.s-compare-item.before {
  background: var(--c-gray-light);
  color: var(--c-text-sub);
}
.s-compare-item.after {
  background: var(--c-main-10);
  color: var(--c-text);
}
.s-compare-label {
  font-size: 1.6cqw;
  font-weight: 700;
  letter-spacing: 0.1em;
  padding: 0.4cqw 1.2cqw;
  border-radius: 4px;
}
.s-compare-item.before .s-compare-label { background: #c2c2c2; color: #fff; }
.s-compare-item.after .s-compare-label { background: var(--c-main); color: #fff; }
.s-compare-text {
  font-size: 2.4cqw;
  font-weight: 700;
  line-height: 1.5;
}

/* ===== Funnel diagram ===== */
.s-funnel-flow {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr auto 1fr auto 1fr;
  align-items: stretch;
  gap: 0.7cqw;
  min-height: 28cqh;
}
.s-funnel-step {
  background: #fff;
  border: 0.16cqw solid var(--c-main-20);
  border-top: 0.5cqw solid var(--c-main);
  border-radius: 10px;
  padding: 1.4cqw 0.9cqw;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.45cqw;
  text-align: center;
  box-shadow: 0 0.8cqw 2cqw rgba(165,30,109,0.08);
}
.s-funnel-step.is-goal {
  background: var(--c-main);
  border-color: var(--c-main);
  color: #fff;
}
.s-funnel-num {
  width: 2.4cqw;
  height: 2.4cqw;
  border-radius: 50%;
  background: var(--c-main-10);
  color: var(--c-main);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2cqw;
  font-weight: 700;
}
.s-funnel-step.is-goal .s-funnel-num {
  background: #fff;
  color: var(--c-main);
}
.s-funnel-title {
  font-size: 1.55cqw;
  font-weight: 700;
  line-height: 1.2;
  color: var(--c-text);
}
.s-funnel-step.is-goal .s-funnel-title,
.s-funnel-step.is-goal .s-funnel-copy {
  color: #fff;
}
.s-funnel-copy {
  font-size: 1.05cqw;
  font-weight: 700;
  line-height: 1.45;
  color: var(--c-text-sub);
}
.s-funnel-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--c-main);
  font-size: 1.8cqw;
  font-weight: 700;
}
.s-emotion-design {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.3cqw;
  min-height: 26cqh;
}
.s-emotion-card {
  background: var(--c-main-10);
  border-radius: 10px;
  padding: 1.8cqw 2cqw;
  display: grid;
  grid-template-columns: auto 1fr;
  grid-template-rows: auto 1fr;
  gap: 0.8cqw 1cqw;
  align-items: center;
}
.s-emotion-label {
  grid-row: 1 / 3;
  width: 5.2cqw;
  height: 4.2cqw;
  border-radius: 10px;
  background: var(--c-main);
  color: #fff;
  font-size: 1.15cqw;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}
.s-emotion-main {
  color: var(--c-main);
  font-size: 2.2cqw;
  font-weight: 700;
  line-height: 1;
}
.s-emotion-card p {
  font-size: 1.28cqw;
  font-weight: 700;
  line-height: 1.45;
  color: var(--c-text);
}

/* ===== Section divider (F8) ===== */
.slide-section {
  background: var(--grad-section) !important;
}
.slide-section .slide-content {
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
  gap: 2cqw;
}
.s-section-chapter {
  font-size: 2.2cqw;
  font-weight: 400;
  letter-spacing: 0.3em;
  color: rgba(255,255,255,0.85);
}
.s-section-title {
  font-size: 6cqw;
  font-weight: 700;
  line-height: 1.3;
  color: #fff;
  letter-spacing: 0.05em;
}
.s-section-time {
  font-size: 1.8cqw;
  font-weight: 400;
  letter-spacing: 0.15em;
  color: rgba(255,255,255,0.8);
  margin-top: 1cqw;
}

/* ===== Cover slide ===== */
.slide-cover {
  background: var(--c-base) url("../asset/background.png") center/cover no-repeat;
}
.slide-cover-full {
  background: #ff0800 !important;
}
.slide-cover-full .s-cover-full-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.slide-cover .slide-content {
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 1.5cqw;
}
.s-cover-tag {
  font-size: 1.8cqw;
  font-weight: 700;
  color: #fff;
  background: var(--c-main);
  padding: 0.6cqw 1.4cqw;
  border-radius: 4px;
  letter-spacing: 0.15em;
}
.s-cover-title {
  font-size: 6.5cqw;
  font-weight: 700;
  line-height: 1.3;
  color: var(--c-text);
  letter-spacing: 0.05em;
}
.s-cover-sub {
  font-size: 2.4cqw;
  font-weight: 400;
  color: var(--c-text-sub);
}
.s-cover-meta {
  display: flex;
  gap: 2cqw;
  margin-top: 2cqw;
  font-size: 1.6cqw;
  color: var(--c-text-sub);
  letter-spacing: 0.1em;
}
.s-cover-logo {
  width: 22cqw;
  margin-bottom: 1cqw;
}

/* ===== Split photo ===== */
.s-split-photo {
  display: grid;
  grid-template-columns: 1fr 1fr;
  flex: 1;
  align-items: stretch;
  min-height: 0;
}
.s-split-photo-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 2cqw;
  padding: 4cqw 3cqw 4cqw 5cqw;
}
.s-split-photo-img { overflow: hidden; }
.s-split-photo-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ===== Profile slide ===== */
.s-profile {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 4cqw;
  align-items: center;
  min-height: 60cqh;
}
.s-profile-photo {
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  overflow: hidden;
  background: var(--c-main-10);
}
.s-profile-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.s-profile-text {
  display: flex;
  flex-direction: column;
  gap: 1.2cqw;
}
.s-profile-name {
  font-size: 4.5cqw;
  font-weight: 700;
  color: var(--c-text);
  line-height: 1.2;
}
.s-profile-role {
  font-size: 2.2cqw;
  color: var(--c-main);
  font-weight: 700;
}
.s-profile-bio {
  font-size: 1.8cqw;
  color: var(--c-text);
  line-height: 1.7;
}

/* ===== Timeline ===== */
.s-timeline {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 2cqw;
  align-items: stretch;
  min-height: 45cqh;
}
.s-timeline-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1cqw;
  padding: 2.5cqw 1.5cqw;
  background: var(--c-main-10);
  border-radius: 16px;
  text-align: center;
}
.s-timeline-item.current {
  background: var(--c-main);
}
.s-timeline-item.current .s-timeline-month,
.s-timeline-item.current .s-timeline-phase,
.s-timeline-item.current .s-timeline-text {
  color: #fff;
}
.s-timeline-month {
  font-size: 3.5cqw;
  font-weight: 700;
  color: var(--c-main);
  line-height: 1;
}
.s-timeline-phase {
  font-size: 1.6cqw;
  font-weight: 700;
  letter-spacing: 0.15em;
  color: var(--c-main);
}
.s-timeline-text {
  font-size: 1.8cqw;
  font-weight: 400;
  color: var(--c-text);
  line-height: 1.5;
}

/* ===== Prompt block ===== */
.s-prompt-box {
  background: #1a1a1a;
  color: #f0f0f0;
  border-radius: 12px;
  padding: 2cqw 2.4cqw 2cqw 2.6cqw;
  border-left: 0.4cqw solid var(--c-main);
  position: relative;
  font-family: 'SF Mono', Menlo, monospace;
  font-size: 0.98cqw;
  line-height: 1.24;
  white-space: pre-wrap;
  flex: 1;
  overflow: auto;
}
.s-prompt-box-long {
  font-size: 0.72cqw;
  line-height: 1.18;
}
.s-prompt-box-taste {
  padding: 1.55cqw 2.4cqw 1.55cqw 2.6cqw;
  font-size: 0.72cqw;
  line-height: 1.14;
}
.s-prompt-copy {
  position: absolute;
  top: 1.2cqw;
  right: 1.2cqw;
  background: var(--c-main);
  color: #fff;
  border: none;
  padding: 0.6cqw 1.2cqw;
  font-size: 1.2cqw;
  font-weight: 700;
  border-radius: 4px;
  cursor: pointer;
  font-family: 'Noto Sans JP', sans-serif;
}
.s-prompt-copy:hover { background: var(--c-main-90); }

.s-card-example-wrap {
  align-items: center;
  justify-content: center;
  padding: 2.4cqw 4.2cqw;
  background: transparent;
}
.s-card-example-img {
  display: block;
  width: auto;
  height: 52cqh;
  max-width: 62cqw;
  box-shadow: 0 1.2cqw 3.2cqw rgba(0,0,0,0.18);
}
.slide-image-full {
  background: #fff !important;
  align-items: center;
  justify-content: center;
}
.s-full-bleed-contain {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.s-prompt-variant-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.6cqw;
  min-height: 58cqh;
}
.s-prompt-variant {
  background: #fff;
  border: 0.16cqw solid var(--c-main-20);
  border-left: 0.55cqw solid var(--c-main);
  border-radius: 10px;
  padding: 2.2cqw 2.4cqw;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 1cqw;
}
.s-prompt-variant p {
  font-size: 1.7cqw;
  line-height: 1.55;
  font-weight: 700;
  color: var(--c-text);
}

/* ===== Highlight label ===== */
.s-highlight {
  display: inline-block;
  background: var(--c-main);
  color: #fff;
  padding: 0.4cqw 1cqw;
  font-weight: 700;
  border-radius: 4px;
  width: fit-content;
}

/* ===== Check list ===== */
.s-check-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1.2cqw;
}
.s-check-list li {
  position: relative;
  padding-left: 3cqw;
  font-size: 2cqw;
  font-weight: 700;
  color: var(--c-text);
  line-height: 1.5;
}
.s-check-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--c-main);
  font-weight: 700;
}

/* ===== Interactive card mock ===== */
.s-phone-demo {
  display: grid;
  grid-template-columns: 0.9fr 1.2fr;
  gap: 4cqw;
  align-items: center;
  min-height: 62cqh;
}
.s-phone {
  width: 24cqw;
  aspect-ratio: 9 / 16;
  margin: 0 auto;
  border-radius: 3cqw;
  background: #101014;
  border: 0.8cqw solid #26262c;
  box-shadow: 0 1.6cqw 4cqw rgba(0,0,0,0.22);
  padding: 2.5cqw 1.4cqw;
  display: flex;
  align-items: center;
  justify-content: center;
}
.s-phone-card {
  width: 100%;
  aspect-ratio: 1.62 / 1;
  border-radius: 1cqw;
  background: linear-gradient(135deg, #ff5757, #8c52ff);
  color: #fff;
  padding: 1.5cqw;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.6cqw;
  box-shadow: 0 0 2cqw rgba(255,87,87,0.45);
}
.s-phone-name {
  font-size: 2.6cqw;
  font-weight: 700;
  line-height: 1;
}
.s-phone-role {
  font-size: 1cqw;
  font-weight: 700;
  letter-spacing: 0.08em;
}
.s-phone-lines {
  display: flex;
  flex-direction: column;
  gap: 0.35cqw;
  margin-top: 0.8cqw;
}
.s-phone-lines span {
  height: 0.28cqw;
  border-radius: 99px;
  background: rgba(255,255,255,0.72);
}
.s-phone-lines span:nth-child(2) { width: 74%; }
.s-phone-lines span:nth-child(3) { width: 54%; }
.s-phone-copy {
  display: flex;
  flex-direction: column;
  gap: 2cqw;
}

/* ===== Reference sites / checklist ===== */
.s-reference-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.3cqw;
  min-height: 58cqh;
}
.s-reference-card {
  background: #fff;
  border: 0.16cqw solid var(--c-main-20);
  border-top: 0.55cqw solid var(--c-main);
  border-radius: 10px;
  padding: 1.7cqw 1.8cqw;
  color: var(--c-text);
  text-decoration: none;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.8cqw;
  box-shadow: 0 0.7cqw 1.8cqw rgba(165,30,109,0.07);
}
.s-reference-name {
  color: var(--c-main);
  font-size: 2cqw;
  font-weight: 700;
  line-height: 1.15;
}
.s-reference-card p {
  font-size: 1.28cqw;
  font-weight: 700;
  line-height: 1.48;
}
.s-reference-card span {
  color: var(--c-text-sub);
  font-size: 1.05cqw;
  font-weight: 700;
}
.s-ai-card-check-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: repeat(2, 1fr);
  gap: 1.25cqw;
  min-height: 58cqh;
}
.s-ai-check-item {
  background: var(--c-main-10);
  border-radius: 10px;
  padding: 1.8cqw 1.5cqw;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.75cqw;
}
.s-ai-check-item span {
  color: #fff;
  background: var(--c-main);
  width: 3.2cqw;
  height: 3.2cqw;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25cqw;
  font-weight: 700;
}
.s-ai-check-item strong {
  color: var(--c-main);
  font-size: 1.65cqw;
  line-height: 1.25;
}
.s-ai-check-item p {
  color: var(--c-text);
  font-size: 1.22cqw;
  font-weight: 700;
  line-height: 1.45;
}

/* ===== Vendor cards ===== */
.s-vendor-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2cqw;
  min-height: 50cqh;
}
.s-vendor-card {
  background: #fff;
  border: 0.18cqw solid var(--c-main-20);
  border-top: 0.65cqw solid var(--c-main);
  border-radius: 12px;
  padding: 3cqw 2cqw;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  gap: 1.4cqw;
  box-shadow: 0 0.8cqw 2.2cqw rgba(165,30,109,0.08);
}

/* ===== Section nav (bottom-center agenda) ===== */
.section-nav {
  position: fixed;
  bottom: 14px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 50;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px 14px;
  max-width: 70vw;
  font-size: 12px;
  pointer-events: auto;
  background: rgba(255,255,255,0.85);
  backdrop-filter: blur(6px);
  padding: 6px 14px;
  border-radius: 999px;
}
.section-nav-item {
  background: none;
  border: none;
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 12px;
  color: #ccc;
  cursor: pointer;
  padding: 2px 4px;
  letter-spacing: 0.05em;
  font-weight: 500;
}
.section-nav-item.current,
.section-nav-item.active {
  color: var(--c-main);
  font-weight: 700;
}
.section-nav.on-dark .section-nav-item { color: rgba(255,255,255,0.6); }
.section-nav.on-dark .section-nav-item.current,
.section-nav.on-dark .section-nav-item.active { color: #fff; font-weight: 700; }

/* ===== Sidebar toggle ===== */
.sidebar-toggle {
  position: fixed;
  top: 14px;
  right: 18px;
  width: 36px;
  height: 36px;
  background: rgba(255,255,255,0.85);
  border: 1px solid var(--c-line);
  border-radius: 6px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 4px;
  cursor: pointer;
  z-index: 60;
}
.sidebar-toggle span {
  width: 18px;
  height: 2px;
  background: var(--c-text);
}

/* ===== Sidebar (right overlay) ===== */
.sidebar-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.4);
  opacity: 0;
  pointer-events: none;
  transition: opacity .2s;
  z-index: 70;
}
.sidebar-backdrop.open {
  opacity: 1;
  pointer-events: auto;
}
.sidebar {
  position: fixed;
  top: 0;
  right: 0;
  width: 360px;
  height: 100vh;
  background: #fff;
  box-shadow: -4px 0 16px rgba(0,0,0,0.15);
  transform: translateX(100%);
  transition: transform .25s;
  z-index: 80;
  overflow-y: auto;
  padding: 24px 20px;
}
.sidebar.open { transform: translateX(0); }
.sidebar-title {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 16px;
  color: var(--c-main);
  letter-spacing: 0.05em;
}
.sidebar-list { display: flex; flex-direction: column; gap: 4px; }
.sidebar-section {
  font-size: 11px;
  font-weight: 700;
  color: var(--c-text-sub);
  letter-spacing: 0.1em;
  margin-top: 10px;
  margin-bottom: 4px;
  text-transform: uppercase;
}
.sidebar-item {
  display: flex;
  gap: 10px;
  padding: 6px 8px;
  font-size: 12px;
  color: var(--c-text);
  cursor: pointer;
  border-radius: 4px;
}
.sidebar-item:hover { background: var(--c-main-10); }
.sidebar-item.current,
.sidebar-item.active { background: var(--c-main); color: #fff; }
.sidebar-item-num {
  font-weight: 700;
  min-width: 22px;
  color: var(--c-main);
}
.sidebar-item.current .sidebar-item-num,
.sidebar-item.active .sidebar-item-num { color: #fff; }

/* ===== Script panel ===== */
.script-trigger {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  height: 8px;
  z-index: 30;
}
.script-panel {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(20,20,20,0.95);
  color: #fff;
  padding: 18px 28px;
  z-index: 40;
  display: none;
  max-height: 28vh;
  overflow-y: auto;
}
.script-panel.open { display: block; }
.script-label {
  font-size: 10px;
  font-weight: 700;
  color: var(--c-main-50);
  letter-spacing: 0.2em;
  margin-bottom: 6px;
}
.script-text {
  font-size: 14px;
  line-height: 1.6;
  white-space: pre-wrap;
}

/* ===== Export bar ===== */
.export-bar {
  position: fixed;
  bottom: 16px;
  left: 18px;
  z-index: 55;
  display: flex;
  gap: 8px;
}
.export-bar button {
  background: rgba(255,255,255,0.92);
  border: 1px solid var(--c-line);
  border-radius: 6px;
  padding: 8px 14px;
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  color: var(--c-text);
}
.export-bar button:hover { background: var(--c-main); color: #fff; border-color: var(--c-main); }

.export-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.6);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 200;
}
.export-overlay.open { display: flex; }
.export-overlay-inner {
  background: #fff;
  padding: 32px 40px;
  border-radius: 8px;
  min-width: 320px;
  text-align: center;
}
.export-overlay-label {
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 14px;
}
.export-progress-bar {
  height: 8px;
  background: var(--c-gray-light);
  border-radius: 4px;
  overflow: hidden;
}
.export-progress-fill {
  height: 100%;
  width: 0%;
  background: var(--c-main);
  transition: width .2s;
}

/* ===== Hidden export stage ===== */
#export-stage {
  position: fixed;
  top: -99999px;
  left: 0;
  width: 1920px;
  height: 1080px;
  background: var(--c-base);
  pointer-events: none;
  z-index: -1;
}
#export-stage .slide {
  position: relative !important;
  top: 0 !important;
  left: 0 !important;
  transform: none !important;
  width: 1920px !important;
  height: 1080px !important;
  max-width: none !important;
  max-height: none !important;
  opacity: 1 !important;
  display: flex !important;
  flex-direction: column !important;
  container-type: inline-size;
}

/* ===== Print (PDF export) ===== */
@media print {
  @page { size: 13.333in 7.5in; margin: 0; }
  html, body { margin: 0; background: #FFFFFF; overflow: visible; }
  .section-nav, .sidebar-toggle, .sidebar, .sidebar-backdrop,
  .script-trigger, .script-panel,
  .export-bar, .export-overlay, #export-stage { display: none !important; }
  .slide-stage {
    width: 13.333in;
    height: auto;
    display: block;
    position: static;
    overflow: visible;
  }
  .slide {
    position: relative !important;
    top: auto !important;
    left: auto !important;
    transform: none !important;
    width: 13.333in !important;
    height: 7.5in !important;
    max-width: none !important;
    max-height: none !important;
    opacity: 1 !important;
    display: flex !important;
    flex-direction: column !important;
    page-break-after: always;
    break-after: page;
    page-break-inside: avoid;
    break-inside: avoid;
    overflow: hidden;
  }
  .slide:last-child { page-break-after: auto; }
  * { -webkit-print-color-adjust: exact !important; print-color-adjust: exact !important; }
}
