
/* ============================================
   SQUARE ONE Cockpit · Template Preview · v1
   全 14 subtype + LP の共通 CSS
   ============================================ */
:root {
  --bg-page: #f6f9ff;
  --ink: #06224a;
  --warm-ink: #2f5f9f;
  --warm-light: #c8d8f1;
  --warm-pale: #e5efff;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html, body {
  background: var(--bg-page);
  color: var(--ink);
  font-family: 'Inter', system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
  line-height: 1.6;
}

/* ===== ヘッダー ===== */
.preview-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(246, 249, 255, 0.96);
  backdrop-filter: blur(8px);
  padding: 14px 32px;
  border-bottom: 1px solid var(--warm-light);
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 12px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase;
}
.preview-header .title { color: var(--ink); font-weight: 600; }
.preview-header .meta { color: var(--warm-ink); }
.preview-header a { color: #006dff; text-decoration: none; }
.preview-header a:hover { color: #003b8f; }
.preview-header .badge {
  display: inline-block; padding: 2px 8px; border-radius: 999px;
  background: #dbeaff; color: #003b8f; font-size: 10px;
}

/* ===== Stage (各スライド/ページのコンテナ) ===== */
.stage {
  max-width: 1320px; margin: 32px auto; padding: 0 16px;
  display: flex; flex-direction: column; gap: 32px;
}

/* ----- 16:9 slide (proposal) ----- */
.slide {
  position: relative; width: 100%; aspect-ratio: 16 / 9;
  border-radius: 8px; overflow: hidden;
  box-shadow: 0 12px 32px rgba(10, 22, 40, 0.10);
  background: white;
}
.slide-num {
  position: absolute; top: 16px; left: 20px; z-index: 5;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px; letter-spacing: 0.16em; opacity: 0.6;
}

/* ----- A4 page (report) ----- */
.a4 {
  position: relative; width: 100%; aspect-ratio: 210 / 297;
  max-width: 720px; margin: 0 auto;
  border-radius: 4px; overflow: hidden;
  box-shadow: 0 12px 32px rgba(10, 22, 40, 0.10);
  background: white;
}

/* ----- Site (full-width single page) ----- */
.site-page {
  width: 100%; max-width: 1320px;
  border-radius: 8px; overflow: hidden;
  box-shadow: 0 12px 32px rgba(10, 22, 40, 0.10);
  background: white;
}

/* ===== NANO BANANA PRO PLACEHOLDER ===== */
.ph {
  position: relative;
  background-color: #e8e6e2;
  background-image:
    repeating-linear-gradient(45deg,
      transparent 0, transparent 8px,
      rgba(160, 140, 120, 0.18) 8px, rgba(160, 140, 120, 0.18) 9px);
  display: flex; align-items: center; justify-content: center;
  border: 1px dashed #b8a890;
}
.ph-label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px; letter-spacing: 0.18em; text-transform: uppercase;
  color: #5a4a40; background: rgba(243, 239, 234, 0.88);
  padding: 6px 14px; border-radius: 999px;
  border: 1px solid #b8a890;
  text-align: center; line-height: 1.4;
  max-width: 80%;
}
.ph-label strong { color: #2c2520; display: block; font-size: 11px; }

/* ===== Headings shared ===== */
.serif { font-family: 'Cormorant Garamond', 'Noto Serif JP', serif; font-weight: 400; }
.mono { font-family: 'JetBrains Mono', monospace; }
