/* ============================================
   SHIFT AI DESIGN TEAM — Monthly Report Slide
   16:9 / 1920×1080 / cqw scaling
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@300;400;700;900&family=Inter:wght@300;400;700;900&display=swap');

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

:root {
  --c-base: #FFFFFF;
  --c-main: #333333;
  --c-accent: #a51e6d;

  --c-base-dim: #F8F5F7;
  --c-main-light: rgba(51, 51, 51, 0.06);
  --c-main-mid: rgba(51, 51, 51, 0.5);
  --c-accent-light: rgba(165, 30, 109, 0.08);
  --c-accent-lighter: rgba(165, 30, 109, 0.04);
  --c-text: #1A1A1A;
  --c-text-sub: #777777;
  --c-border: rgba(165, 30, 109, 0.12);
  --c-card-shadow: rgba(165, 30, 109, 0.08);

  --grad-brand: linear-gradient(135deg, #e6033d, #673ba0);
  --grad-brand-b: linear-gradient(135deg, #c06299, #a51e6d);
  --grad-sub: linear-gradient(135deg, #32bed2, #039578);
}

body {
  font-family: "Noto Sans JP", "Inter", sans-serif;
  background: var(--c-main);
  color: var(--c-text);
  overflow: hidden;
  cursor: url('../assets/cursor-icon.png') 48 48, auto !important;
}

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
}

/* ============================================
   SLIDE STAGE
   ============================================ */
.slide-stage {
  width: 100vw;
  height: 100vh;
  display: grid;
  place-items: center;
  background: var(--c-base);
}

.slide {
  width: 100vw;
  height: 100vh;
  max-width: calc(100vh * 16 / 9);
  max-height: calc(100vw * 9 / 16);
  margin: auto;
  position: relative;
  overflow: hidden;
  background: var(--c-base);
  container-type: inline-size;
  display: none;
}
.slide.active { display: flex; align-items: center; justify-content: center; }

.slide-content {
  padding: 4.2cqw;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
}

/* ============================================
   TYPOGRAPHY — cqw
   ============================================ */
.slide-hero   { font-size: 7.2cqw; font-weight: 700; line-height: 1.1; letter-spacing: -0.03em; }
.slide-h1     { font-size: 4.2cqw; font-weight: 700; line-height: 1.15; }
.slide-h2     { font-size: 3cqw; font-weight: 700; line-height: 1.25; }
.slide-h3     { font-size: 2.4cqw; font-weight: 700; line-height: 1.3; }
.slide-title  { font-size: 2cqw; font-weight: 400; line-height: 1.4; }
.slide-body   { font-size: 1.6cqw; font-weight: 400; line-height: 1.7; letter-spacing: 0.02em; }
.slide-caption { font-size: 1.3cqw; font-weight: 300; line-height: 1.5; }
.slide-micro  { font-size: 1cqw; font-weight: 300; }
.slide-number { font-size: 9cqw; font-weight: 700; line-height: 1; }

.text-accent { color: var(--c-accent); }
.text-main   { color: var(--c-main); }
.text-sub    { color: var(--c-text-sub); }
.text-white  { color: #FFFFFF; }
.text-center { text-align: center; }

/* ============================================
   COVER — Brand Gradient
   ============================================ */
.cover-slide {
  background: var(--grad-brand);
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cover-slide::before {
  content: '';
  position: absolute;
  top: -30%; left: -30%;
  width: 160%; height: 160%;
  background: radial-gradient(ellipse at 30% 20%, rgba(255,255,255,0.12) 0%, transparent 60%),
              radial-gradient(ellipse at 70% 80%, rgba(103,59,160,0.3) 0%, transparent 50%);
  pointer-events: none;
}
.cover-slide .cover-content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2cqw;
}
.cover-line {
  width: 6cqw;
  height: 0.2cqw;
  background: rgba(255,255,255,0.6);
}
.cover-team-name {
  font-size: 5.5cqw;
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  line-height: 1.1;
}
.cover-team-name span {
  display: block;
  font-size: 3cqw;
  font-weight: 300;
  letter-spacing: 0.3em;
  margin-top: 0.8cqw;
}
.cover-month {
  font-size: 2.8cqw;
  font-weight: 300;
  color: rgba(255,255,255,0.85);
  letter-spacing: 0.2em;
}
.cover-tagline {
  font-size: 1.4cqw;
  font-weight: 300;
  color: rgba(255,255,255,0.5);
  letter-spacing: 0.1em;
  margin-top: 1cqw;
}
/* Grid pattern overlay */
.cover-slide::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 4cqw 4cqw;
  pointer-events: none;
}

/* ============================================
   SECTION BRIDGE
   ============================================ */
.section-bridge {
  background: var(--c-main);
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 1.5cqw;
  position: relative;
}
.section-bridge::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--grad-brand);
  opacity: 0.15;
}
.section-bridge .bridge-label {
  font-size: 1.3cqw;
  font-weight: 700;
  color: var(--c-accent);
  letter-spacing: 0.2em;
  position: relative;
  opacity: 0.7;
}
.section-bridge .bridge-title {
  font-size: 4.5cqw;
  font-weight: 700;
  color: #fff;
  position: relative;
}
.section-bridge .bridge-line {
  width: 5cqw;
  height: 0.2cqw;
  background: var(--c-accent);
  position: relative;
}

/* ============================================
   BIG NUMBER 3-COL
   ============================================ */
/* KGI Center */
.kgi-slide {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  height: 100%;
  text-align: center;
}
.kgi-slide .section-label {
  font-size: 1.2cqw;
  font-weight: 700;
  color: var(--c-accent);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: 3cqw;
}
.kgi-text {
  font-size: 3.8cqw;
  font-weight: 700;
  color: var(--c-text);
  line-height: 1.6;
  max-width: 80%;
}

.big-number-section {
  display: flex;
  flex-direction: column;
  height: 100%;
  gap: 3cqw;
}
.big-number-section .section-label {
  font-size: 1.1cqw;
  font-weight: 700;
  color: var(--c-accent);
  letter-spacing: 0.15em;
  text-transform: uppercase;
}
.big-number-section .section-headline {
  font-size: 3cqw;
  font-weight: 700;
  color: var(--c-text);
}
.big-number-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 2.5cqw;
  flex: 1;
  align-items: center;
}
.big-number-card {
  background: var(--c-base-dim);
  border-radius: 0.25cqw;
  padding: 3cqw 2cqw;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.big-number-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 0.3cqw;
  background: var(--grad-brand);
}
.big-number-card .num {
  font-size: 7cqw;
  font-weight: 700;
  background: var(--grad-brand);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1.1;
}
.big-number-card .num-unit {
  font-size: 2.5cqw;
  font-weight: 700;
  -webkit-text-fill-color: var(--c-accent);
  margin-left: 0.3cqw;
}
.big-number-card .num-label {
  font-size: 1.5cqw;
  font-weight: 400;
  color: var(--c-text-sub);
  margin-top: 0.8cqw;
}

/* ============================================
   MEMBER BAR CHART
   ============================================ */
.bar-chart-section {
  display: flex;
  flex-direction: column;
  height: 100%;
  gap: 2cqw;
}
.bar-chart-section .section-label {
  font-size: 1.1cqw;
  font-weight: 700;
  color: var(--c-accent);
  letter-spacing: 0.15em;
}
.bar-chart-section .section-headline {
  font-size: 2.6cqw;
  font-weight: 700;
}
.bar-chart-container {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 1.2cqw;
}
.bar-row {
  display: grid;
  grid-template-columns: 6cqw 1fr 6cqw;
  align-items: center;
  gap: 1.2cqw;
}
.bar-name {
  font-size: 1.4cqw;
  font-weight: 700;
  text-align: right;
  color: var(--c-text);
}
.bar-track {
  height: 2.5cqw;
  background: var(--c-base-dim);
  border-radius: 0.1cqw;
  overflow: hidden;
  position: relative;
}
.bar-fill {
  height: 100%;
  border-radius: 0.1cqw;
  background: var(--grad-brand);
  transition: width 0.8s ease;
}
.bar-value {
  font-size: 1.3cqw;
  font-weight: 700;
  color: var(--c-accent);
}

/* ============================================
   LINE CHART (SVG-based)
   ============================================ */
.chart-section {
  display: flex;
  flex-direction: column;
  height: 100%;
  gap: 2cqw;
}
.chart-section .section-label {
  font-size: 1.1cqw;
  font-weight: 700;
  color: var(--c-accent);
  letter-spacing: 0.15em;
}
.chart-section .section-headline {
  font-size: 2.6cqw;
  font-weight: 700;
}
.chart-wrapper {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}
.chart-wrapper svg {
  width: 100%;
  height: 100%;
}
.chart-line {
  fill: none;
  stroke: url(#brandGrad);
  stroke-width: 3;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.chart-area {
  fill: url(#brandGradArea);
}
.chart-dot {
  fill: var(--c-accent);
  stroke: #fff;
  stroke-width: 2;
}
.chart-label {
  font-size: 14px;
  fill: var(--c-text-sub);
  font-family: "Noto Sans JP", sans-serif;
}
.chart-value {
  font-size: 14px;
  fill: var(--c-text);
  font-weight: 700;
  font-family: "Noto Sans JP", sans-serif;
}
.chart-grid-line {
  stroke: var(--c-border);
  stroke-width: 1;
  stroke-dasharray: 4,4;
}

/* Combo chart extras */
.section-subheadline {
  font-size: 1.6cqw;
  font-weight: 400;
  color: var(--c-text-sub);
  margin-top: -1cqw;
}
.combo-legend {
  display: flex;
  gap: 2.5cqw;
  align-items: center;
}
.legend-item {
  display: flex;
  align-items: center;
  gap: 0.6cqw;
  font-size: 1.2cqw;
  font-weight: 700;
  color: var(--c-text);
}
.legend-bar {
  display: inline-block;
  width: 1.8cqw;
  height: 1.2cqw;
  border-radius: 0.1cqw;
  background: linear-gradient(180deg, #c06299, #a51e6d);
}
.legend-line {
  display: inline-block;
  width: 2cqw;
  height: 0.2cqw;
  background: #333;
  position: relative;
}
.legend-line::after {
  content: '';
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 0.6cqw;
  height: 0.6cqw;
  border-radius: 50%;
  background: #333;
}

/* ============================================
   PHOTO GRID PLACEHOLDER
   ============================================ */
.works-section {
  display: flex;
  flex-direction: column;
  height: 100%;
  gap: 2cqw;
}
.works-section .section-label {
  font-size: 1.1cqw;
  font-weight: 700;
  color: var(--c-accent);
  letter-spacing: 0.15em;
}
.works-section .section-headline {
  font-size: 2.6cqw;
  font-weight: 700;
}
.works-grid {
  flex: 1;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 1.5cqw;
}
.work-placeholder {
  background: var(--c-base-dim);
  border-radius: 0.1cqw;
  border: 1px solid var(--c-border);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}
.work-placeholder::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--grad-brand);
  opacity: 0.03;
}
.work-placeholder .placeholder-icon {
  font-size: 3cqw;
  color: var(--c-accent);
  opacity: 0.25;
  position: relative;
}

/* ============================================
   BULLET CARDS
   ============================================ */
.bullets-section {
  display: flex;
  flex-direction: column;
  height: 100%;
  gap: 2.5cqw;
}
.bullets-section .section-label {
  font-size: 1.1cqw;
  font-weight: 700;
  color: var(--c-accent);
  letter-spacing: 0.15em;
}
.bullets-section .section-headline {
  font-size: 2.6cqw;
  font-weight: 700;
}
.bullets-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 2cqw;
  flex: 1;
  align-items: center;
}
.bullet-card {
  background: var(--c-base);
  border: 1px solid var(--c-border);
  border-radius: 0.25cqw;
  padding: 2.5cqw 2cqw;
  text-align: center;
  box-shadow: 0 0.2cqw 1.2cqw var(--c-card-shadow);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.2cqw;
  position: relative;
  overflow: hidden;
}
.bullet-card::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 0.25cqw;
  background: var(--grad-brand);
}
.bullet-icon {
  font-size: 3.5cqw;
  color: var(--c-accent);
}
.bullet-icon svg {
  width: 3cqw;
  height: 3cqw;
  stroke: var(--c-accent);
}
.bullet-title {
  font-size: 1.8cqw;
  font-weight: 700;
  color: var(--c-text);
}
.bullet-body {
  font-size: 1.3cqw;
  color: var(--c-text-sub);
  line-height: 1.6;
}

/* ============================================
   PHOTO ROW (横1列・縦長最大化)
   ============================================ */
.photo-row-section {
  display: flex;
  flex-direction: column;
  height: 100%;
  gap: 1.5cqw;
}
.photo-row-section .section-label {
  font-size: 1.1cqw;
  font-weight: 700;
  color: var(--c-accent);
  letter-spacing: 0.15em;
}
.photo-row-section .section-headline {
  font-size: 2.6cqw;
  font-weight: 700;
}
.photo-row {
  flex: 1;
  display: flex;
  gap: 1.2cqw;
  align-items: stretch;
  min-height: 0;
}
.photo-row-cell {
  flex: 1;
  border-radius: 0.1cqw;
  overflow: hidden;
  background: var(--c-base-dim);
  border: 1px solid var(--c-border);
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
}
.photo-row-cell img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

/* ============================================
   PHOTO GRID 4
   ============================================ */
.photo-grid-section {
  display: flex;
  flex-direction: column;
  height: 100%;
  gap: 1.5cqw;
}
.photo-grid-section .section-label {
  font-size: 1.1cqw;
  font-weight: 700;
  color: var(--c-accent);
  letter-spacing: 0.15em;
}
.photo-grid-section .section-headline {
  font-size: 2.6cqw;
  font-weight: 700;
}
.photo-grid-4 {
  flex: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 1.2cqw;
  min-height: 0;
}
.photo-cell {
  border-radius: 0.1cqw;
  overflow: hidden;
  background: var(--c-base-dim);
  border: 1px solid var(--c-border);
  display: flex;
  align-items: center;
  justify-content: center;
}
.photo-cell img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

/* ============================================
   EVENT CARDS
   ============================================ */
.events-section {
  display: flex;
  flex-direction: column;
  height: 100%;
  gap: 2cqw;
}
.events-section .section-label {
  font-size: 1.1cqw;
  font-weight: 700;
  color: var(--c-accent);
  letter-spacing: 0.15em;
}
.events-section .section-headline {
  font-size: 2.6cqw;
  font-weight: 700;
}
.events-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 1.8cqw;
  align-items: start;
}
.event-card {
  background: var(--c-base);
  border: 1px solid var(--c-border);
  border-radius: 0.25cqw;
  padding: 1.8cqw;
  box-shadow: 0 0.2cqw 1.2cqw var(--c-card-shadow);
  display: flex;
  flex-direction: column;
  gap: 0.6cqw;
  position: relative;
  overflow: hidden;
  justify-content: flex-start;
}
.event-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 0.3cqw;
  background: var(--grad-brand);
}
.event-date {
  font-size: 1.2cqw;
  font-weight: 700;
  color: var(--c-accent);
  letter-spacing: 0.05em;
}
.event-tag {
  display: inline-block;
  align-self: flex-start;
  background: var(--c-accent-light);
  color: var(--c-accent);
  font-size: 0.95cqw;
  font-weight: 700;
  padding: 0.25cqw 0.8cqw;
  border-radius: 0.15cqw;
  letter-spacing: 0.05em;
}
.event-title {
  font-size: 1.7cqw;
  font-weight: 700;
  color: var(--c-text);
  line-height: 1.25;
}
.event-org {
  font-size: 1.1cqw;
  font-weight: 700;
  color: var(--c-text-sub);
}
.event-desc {
  font-size: 1.05cqw;
  color: var(--c-text-sub);
  line-height: 1.55;
}
.event-link-area {
  display: flex;
  align-items: center;
  gap: 1cqw;
  padding-top: 0.8cqw;
  border-top: 1px solid var(--c-border);
}
.event-qr {
  flex-shrink: 0;
  width: 5.5cqw;
  height: 5.5cqw;
  border-radius: 0.1cqw;
  overflow: hidden;
  border: 1px solid var(--c-border);
  background: #fff;
}
.event-qr img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.event-url {
  font-size: 0.85cqw;
  color: var(--c-accent);
  word-break: break-all;
  opacity: 0.7;
}

/* ============================================
   TOOLS SHOWCASE
   ============================================ */
.tools-section {
  display: flex;
  flex-direction: column;
  height: 100%;
  gap: 2cqw;
}
.tools-section .section-label {
  font-size: 1.1cqw;
  font-weight: 700;
  color: var(--c-accent);
  letter-spacing: 0.15em;
}
.tools-section .section-headline {
  font-size: 2.6cqw;
  font-weight: 700;
}
.tools-grid {
  flex: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 1.5cqw;
  align-items: stretch;
}
.tool-card {
  background: var(--c-base);
  border: 1px solid var(--c-border);
  border-radius: 0.25cqw;
  padding: 1.8cqw;
  box-shadow: 0 0.2cqw 1.2cqw var(--c-card-shadow);
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
}
.tool-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 0.25cqw;
  background: var(--grad-brand);
}
.tool-card-inner {
  display: flex;
  align-items: center;
  gap: 1.5cqw;
  width: 100%;
  height: 100%;
}
.tool-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.6cqw;
  min-width: 0;
}
.tool-name {
  font-size: 1.7cqw;
  font-weight: 700;
  color: var(--c-text);
  line-height: 1.2;
}
.tool-desc {
  font-size: 1.15cqw;
  color: var(--c-text-sub);
  line-height: 1.5;
}
.tool-url {
  font-size: 0.9cqw;
  color: var(--c-accent);
  font-weight: 400;
  word-break: break-all;
  opacity: 0.7;
}
.tool-qr {
  flex-shrink: 0;
  width: 8cqw;
  height: 8cqw;
  border-radius: 0.25cqw;
  overflow: hidden;
  border: 1px solid var(--c-border);
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
}
.tool-qr img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* ============================================
   FEATURE HIGHLIGHT
   ============================================ */
.feature-section {
  display: flex;
  flex-direction: column;
  height: 100%;
  gap: 1.5cqw;
}
.feature-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 2cqw;
}
.feature-header-text {
  display: flex;
  flex-direction: column;
  gap: 0.6cqw;
}
.feature-section .section-label {
  font-size: 1.1cqw;
  font-weight: 700;
  color: var(--c-accent);
  letter-spacing: 0.15em;
}
.feature-section .section-headline {
  font-size: 2.6cqw;
  font-weight: 700;
}
.feature-image {
  flex-shrink: 0;
  width: 48cqw;
  border-radius: 0.1cqw;
  overflow: hidden;
  box-shadow: 0 0.3cqw 1.5cqw rgba(0,0,0,0.12);
  border: 1px solid var(--c-border);
}
.feature-image img {
  width: 100%;
  height: auto;
  display: block;
}
.feature-footnote {
  font-size: 1.1cqw;
  color: var(--c-accent);
  font-weight: 700;
  margin-top: 0.3cqw;
}
.feature-status {
  display: inline-block;
  align-self: flex-start;
  font-size: 1.1cqw;
  font-weight: 700;
  color: #b45309;
  background: #fef3c7;
  padding: 0.3cqw 1cqw;
  border-radius: 0.15cqw;
}
.feature-grid {
  display: flex;
  flex-direction: column;
  gap: 1.5cqw;
  flex: 1;
  justify-content: center;
}
.feature-card {
  display: flex;
  align-items: center;
  gap: 1.8cqw;
  background: var(--c-base-dim);
  border-radius: 0.1cqw;
  padding: 2cqw 2.2cqw;
  border-left: 0.3cqw solid var(--c-accent);
}
.feature-icon {
  font-size: 3cqw;
  flex-shrink: 0;
  color: var(--c-accent);
}
.feature-icon svg {
  width: 2.5cqw;
  height: 2.5cqw;
  stroke: var(--c-accent);
}
.feature-info {
  display: flex;
  flex-direction: column;
  gap: 0.3cqw;
}
.feature-title {
  font-size: 1.7cqw;
  font-weight: 700;
  color: var(--c-text);
}
.feature-body {
  font-size: 1.2cqw;
  color: var(--c-text-sub);
  line-height: 1.5;
}

/* ============================================
   LINK STYLES (QR clickable)
   ============================================ */
a.tool-qr,
a.event-link-area {
  text-decoration: none;
  color: inherit;
  transition: opacity 0.15s ease;
  position: relative;
  z-index: 20;
}
a.tool-qr:hover,
a.event-link-area:hover {
  opacity: 0.75;
}

/* ============================================
   CLOSING
   ============================================ */
.closing-slide {
  background: var(--grad-brand);
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 2cqw;
  position: relative;
}
.closing-slide::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 4cqw 4cqw;
  pointer-events: none;
}
.closing-title {
  font-size: 6cqw;
  font-weight: 700;
  color: #fff;
  position: relative;
  letter-spacing: 0.05em;
}
.closing-sub {
  font-size: 1.8cqw;
  font-weight: 300;
  color: rgba(255,255,255,0.6);
  letter-spacing: 0.2em;
  position: relative;
}
.closing-line {
  width: 5cqw;
  height: 0.2cqw;
  background: rgba(255,255,255,0.4);
  position: relative;
}

/* ============================================
   ACCENT LINE (top decorator)
   ============================================ */
.accent-top-line {
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 0.3cqw;
  background: var(--grad-brand);
}

/* ============================================
   TIMER
   ============================================ */
.timer {
  position: fixed;
  top: 10px; left: 14px;
  z-index: 500;
  display: flex;
  align-items: center;
  gap: 2px;
  background: rgba(255,255,255,0.85);
  border-radius: 3px;
  padding: 3px 6px;
  backdrop-filter: blur(8px);
  box-shadow: 0 1px 4px rgba(0,0,0,0.06);
  opacity: 0.45;
  transition: opacity 0.2s ease;
}
.timer:hover { opacity: 1; }
.timer-display {
  font-family: "Inter", "Noto Sans JP", sans-serif;
  font-size: 13px;
  font-weight: 700;
  color: var(--c-main);
  min-width: 36px;
  text-align: center;
  user-select: none;
}
.timer-display.warning { color: #e6033d; }
.timer-adj, .timer-toggle {
  border: none;
  background: none;
  cursor: url('../assets/cursor-icon.png') 48 48, pointer;
  font-size: 11px;
  color: var(--c-text-sub);
  padding: 2px 5px;
  border-radius: 2px;
  line-height: 1;
  font-family: "Inter", sans-serif;
  transition: background 0.15s ease;
}
.timer-adj:hover, .timer-toggle:hover {
  background: rgba(0,0,0,0.06);
}
.timer-toggle {
  font-size: 10px;
  color: var(--c-accent);
}

/* ============================================
   UI — Status bar, Nav, Sidebar, Script
   ============================================ */
.slide-nav {
  position: fixed;
  inset: 0;
  z-index: 10;
  pointer-events: none;
}
.nav-left, .nav-right {
  position: absolute;
  top: 0;
  width: 50%;
  height: 100%;
  cursor: url('../assets/cursor-icon.png') 48 48, pointer;
  pointer-events: all;
}
.nav-left { left: 0; cursor: url('../assets/cursor-icon.png') 48 48, auto; }
.nav-right { right: 0; cursor: url('../assets/cursor-icon.png') 48 48, auto; }

/* Status */
.status-bar {
  position: fixed;
  top: 12px; right: 60px;
  z-index: 100;
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: "Noto Sans JP", sans-serif;
  font-size: 12px;
  color: var(--c-text-sub);
  background: rgba(255,255,255,0.9);
  padding: 6px 14px;
  border-radius: 3px;
  backdrop-filter: blur(8px);
  box-shadow: 0 1px 4px rgba(0,0,0,0.08);
}
.status-section { font-weight: 700; color: var(--c-accent); }
.status-count { color: var(--c-text-sub); }

/* Progress */
.progress-bar {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  height: 3px;
  background: rgba(0,0,0,0.05);
  z-index: 100;
}
.progress-fill {
  height: 100%;
  background: var(--grad-brand);
  transition: width 0.3s ease;
}

/* Menu button */
.menu-btn {
  position: fixed;
  top: 10px; right: 14px;
  z-index: 200;
  width: 36px; height: 36px;
  background: rgba(255,255,255,0.9);
  border: none;
  border-radius: 3px;
  cursor: url('../assets/cursor-icon.png') 48 48, pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  backdrop-filter: blur(8px);
  box-shadow: 0 1px 4px rgba(0,0,0,0.08);
}
.menu-btn span {
  display: block;
  width: 18px; height: 2px;
  background: var(--c-main);
  border-radius: 1px;
  transition: all 0.3s ease;
}

/* Sidebar */
.sidebar-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.4);
  z-index: 300;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}
.sidebar-overlay.open {
  opacity: 1;
  pointer-events: all;
}
.sidebar {
  position: fixed;
  top: 0; right: -320px; bottom: 0;
  width: 320px;
  background: #fff;
  z-index: 310;
  transition: right 0.3s ease;
  overflow-y: auto;
  box-shadow: -4px 0 20px rgba(0,0,0,0.1);
}
.sidebar-overlay.open .sidebar {
  right: 0;
}
.sidebar-header {
  padding: 20px;
  font-size: 14px;
  font-weight: 700;
  color: var(--c-accent);
  letter-spacing: 0.1em;
  border-bottom: 1px solid var(--c-border);
}
.sidebar-section {
  padding: 12px 20px 4px;
  font-size: 11px;
  font-weight: 700;
  color: var(--c-accent);
  letter-spacing: 0.1em;
}
.sidebar-item {
  padding: 8px 20px;
  font-size: 13px;
  color: var(--c-text-sub);
  cursor: url('../assets/cursor-icon.png') 48 48, pointer;
  transition: background 0.15s ease;
}
.sidebar-item:hover { background: var(--c-accent-light); }
.sidebar-item.current {
  color: var(--c-accent);
  font-weight: 700;
  background: var(--c-accent-lighter);
}

/* Talk script */
.script-trigger {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  height: 48px;
  z-index: 50;
}
.script-panel {
  position: fixed;
  bottom: -40vh; left: 0; right: 0;
  max-height: 30vh;
  background: rgba(26,26,26,0.92);
  color: #eee;
  font-size: 15px;
  line-height: 1.8;
  padding: 24px 40px;
  z-index: 60;
  transition: bottom 0.2s ease;
  overflow-y: auto;
  backdrop-filter: blur(12px);
  font-family: "Noto Sans JP", sans-serif;
}
.script-panel.visible {
  bottom: 0;
}

/* ============================================
   WORKFLOW DIAGRAM
   ============================================ */
.workflow-section {
  width: 100%;
  height: 100%;
  padding: 3cqw 2.5cqw 2cqw;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.workflow-diagram-wrap {
  width: 100%;
  margin-top: 1.5cqw;
}
.workflow-diagram-wrap svg {
  width: 100%;
  height: auto;
  display: block;
  font-family: "Noto Sans JP", "Inter", sans-serif;
}
