/* ========================================
   Reset + base typography + topnav
   ======================================== */

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

html, body {
  background: var(--bg);
  color: var(--ink);
  overflow-x: hidden;
}

body {
  font-family: var(--font-jp);
  min-height: 100vh;
}

/* Keep noun+number/unit pairs from breaking ("5社", "3時間", etc.) */
.nobr { white-space: nowrap; }

/* Top navigation — fixed brand + section links */
.topnav {
  position: fixed;
  top: 0; left: 0; right: 0;
  padding: 24px 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 100;
  color: var(--ink);
}

.topnav .brand {
  font-family: "Inter", sans-serif;
  font-weight: 500;
  font-size: 12px;
  letter-spacing: .04em;
}
.topnav .brand b { font-weight: 700; letter-spacing: -.005em; }

.topnav .right {
  display: flex;
  gap: 28px;
  font-size: 11px;
  letter-spacing: .08em;
}
.topnav .right a {
  color: var(--ink);
  text-decoration: none;
  font-family: "Inter", sans-serif;
  font-weight: 500;
  opacity: 0.7;
  transition: opacity var(--dur-base) ease;
}
.topnav .right a:hover { opacity: 1; }

/* Fixed CTA in bottom-right — hidden during hero, fades in after scrolling past it */
.cta-row {
  position: fixed;
  right: 40px; bottom: 40px;
  z-index: 50;
  display: flex;
  gap: 12px;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity var(--dur-mid) ease, transform var(--dur-mid) ease;
  pointer-events: none;
}
.cta-row.is-visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
.cta-row a {
  font-family: "Inter", sans-serif;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .08em;
  text-decoration: none;
  padding: 14px 24px;
  border-radius: var(--radius-pill);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.cta-row .primary {
  color: #FFFFFF;
  background: var(--accent);
}
.cta-row .primary:hover { background: var(--accent-bright); }
