:root {
  --bg: oklch(16% 0.015 260);
  --bg-card: oklch(20% 0.015 260);
  --bg-card-alt: oklch(24% 0.02 260);
  --border: oklch(28% 0.02 260);
  --text: oklch(95% 0.01 260);
  --text-muted: oklch(72% 0.01 260);
  --text-faint: oklch(60% 0.01 260);
  --accent: #c8f169;
  --accent-ink: oklch(14% 0.02 260);
  --page-max: 1280px;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--text);
  font-family: 'Noto Sans JP', sans-serif;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--accent); text-decoration: none; }
a:hover { opacity: 0.85; }

img { max-width: 100%; display: block; }

.wrap {
  max-width: var(--page-max);
  margin: 0 auto;
  padding-left: 56px;
  padding-right: 56px;
}

/* Header */
.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 56px;
  border-bottom: 1px solid var(--border);
  position: relative;
}

.logo {
  font-family: 'Zen Kaku Gothic New', sans-serif;
  font-weight: 900;
  font-size: 19px;
  letter-spacing: 0.02em;
  color: var(--text);
  display: flex;
  align-items: center;
}
.logo span { color: var(--accent); }

.main-nav {
  display: flex;
  align-items: center;
  gap: 32px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-muted);
}

.main-nav .nav-links a:not(.btn) { color: var(--text-muted); }
.main-nav .nav-links a:not(.btn):nth-child(even) { color: var(--text); }
.main-nav a:hover, .main-nav a.active { color: var(--accent); }

.btn {
  display: inline-block;
  padding: 11px 24px;
  border: 1px solid var(--accent);
  color: var(--accent);
  font-weight: 700;
  border-radius: 2px;
  font-size: 14px;
}

.btn-solid {
  background: var(--accent);
  color: var(--accent-ink);
  border: none;
  padding: 16px 32px;
  font-size: 15px;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  background: none;
  border: none;
  cursor: pointer;
}
.nav-toggle svg rect { fill: var(--text); }

/* Hero */
.hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  padding: 96px 56px 88px;
  align-items: center;
}

.hero-eyebrow {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 13px;
  letter-spacing: 0.22em;
  color: var(--accent);
  font-weight: 700;
}

.hero h1 {
  font-family: 'Zen Kaku Gothic New', sans-serif;
  font-size: 56px;
  font-weight: 900;
  line-height: 1.28;
  margin: 0;
}

.hero p {
  font-size: 16px;
  line-height: 1.9;
  color: var(--text-muted);
  max-width: 460px;
  margin: 0;
}

.placeholder-image {
  border-radius: 6px;
  background: linear-gradient(155deg, var(--bg-card-alt), oklch(21% 0.02 260));
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: oklch(58% 0.02 260);
  font-size: 14px;
  text-align: center;
  overflow: hidden;
}
.placeholder-image img,
.placeholder-image video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.placeholder-image.contain {
  background: var(--bg-card);
}
.placeholder-image.contain img {
  object-fit: contain;
}

/* Live banner */
.live-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 56px;
  background: var(--bg-card);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  flex-wrap: wrap;
}
.live-banner-label {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  font-weight: 500;
}
.live-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--accent);
  animation: live-pulse 1.6s ease-in-out infinite;
  flex-shrink: 0;
}
@keyframes live-pulse {
  0%, 100% { opacity: 1; box-shadow: 0 0 0 0 color-mix(in oklch, var(--accent) 55%, transparent); }
  50% { opacity: 0.6; box-shadow: 0 0 0 6px transparent; }
}
.live-banner-link {
  font-size: 14px;
  font-weight: 700;
  color: var(--accent);
  white-space: nowrap;
}

/* Stats band */
.stats-band {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  margin: 0 56px;
}
.stats-band > div {
  padding: 36px 8px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  border-right: 1px solid var(--border);
}
.stats-band > div:last-child { border-right: none; }
.stat-num {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 36px;
  font-weight: 700;
  color: var(--accent);
}
.stat-num span { font-size: 15px; color: var(--text); }
.stat-label { font-size: 13px; color: var(--text-faint); }

/* Section heading */
.section-heading {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 40px;
}
.section-eyebrow {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 12px;
  letter-spacing: 0.2em;
  color: var(--accent);
  font-weight: 700;
}
.section-heading h2 {
  font-family: 'Zen Kaku Gothic New', sans-serif;
  font-size: 30px;
  font-weight: 700;
  margin: 0;
}

/* Services grid */
.services {
  padding: 96px 56px 40px;
}
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.service-card {
  display: flex;
  flex-direction: column;
  border-radius: 6px;
  overflow: hidden;
  background: var(--bg-card);
  border: 1px solid var(--border);
}
.service-card .placeholder-image { height: 180px; border-radius: 0; border: none; }
.service-card-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.service-card-body h3 { font-size: 16px; font-weight: 700; margin: 0; }
.service-card-body p { font-size: 13px; line-height: 1.8; color: var(--text-muted); margin: 0; }

/* Generic content page */
.page-section {
  padding: 64px 56px;
}
.page-section h1 {
  font-family: 'Zen Kaku Gothic New', sans-serif;
  font-size: 38px;
  font-weight: 900;
  margin: 0 0 12px;
}
.page-section .lead {
  font-size: 15px;
  color: var(--text-muted);
  margin: 0 0 48px;
}

table.rate-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 40px;
  font-size: 14px;
}
table.rate-table caption {
  text-align: left;
  font-weight: 700;
  font-size: 16px;
  margin-bottom: 12px;
  color: var(--text);
}
table.rate-table th, table.rate-table td {
  border: 1px solid var(--border);
  padding: 12px 16px;
  text-align: left;
}
table.rate-table th { background: var(--bg-card); color: var(--accent); font-weight: 700; }

.pro-card {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 32px;
  padding: 32px 0;
  border-bottom: 1px solid var(--border);
}
.pro-card h3 { margin: 0 0 8px; font-size: 18px; }
.pro-card p { margin: 0 0 8px; font-size: 14px; line-height: 1.8; color: var(--text-muted); }

/* Footer */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 32px 56px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  color: var(--text-faint);
  flex-wrap: wrap;
  gap: 16px;
}
.site-footer .footer-links {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}

/* Mobile */
@media (max-width: 860px) {
  .site-header { padding: 18px 20px; }
  .main-nav .nav-links {
    display: none;
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    background: var(--bg);
    border-bottom: 1px solid var(--border);
    padding: 12px 20px 20px;
    z-index: 20;
  }
  .main-nav .nav-links.mobile-open { display: flex; }
  .main-nav .nav-links a { padding: 10px 0; width: 100%; }
  .nav-toggle { display: flex; }
  .main-nav { gap: 0; }

  .hero { grid-template-columns: 1fr; padding: 36px 20px 28px; gap: 24px; }
  .hero h1 { font-size: 32px; }
  .hero p { max-width: none; }

  .live-banner { padding: 16px 20px; }
  .live-banner-label { font-size: 13px; }

  .stats-band { margin: 0 20px; }
  .stats-band > div { padding: 22px 6px; }
  .stat-num { font-size: 24px; }

  .services { padding: 56px 20px 20px; }
  .services-grid { grid-template-columns: 1fr; }

  .page-section { padding: 40px 20px; }
  .pro-card { grid-template-columns: 1fr; }

  .site-footer { padding: 28px 20px; flex-direction: column; align-items: flex-start; }
}
