:root {
  --bg-primary: #ffffff;
  --bg-elevated: #faf7f7;
  --bg-card: #ffffff;
  --accent: #e91e63;
  --accent-strong: #c2185b;
  --accent-soft: #fce4ec;
  --text-primary: #1f1f1f;
  --text-secondary: #4a4a4a;
  --text-muted: #888888;
  --border: #e8e2e3;
  --max-width: 880px;
  --radius: 8px;
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  background: var(--bg-primary);
  color: var(--text-primary);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Hiragino Sans",
    "Hiragino Kaku Gothic ProN", "Yu Gothic", "Meiryo", sans-serif;
  font-size: 16px;
  line-height: 1.8;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

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

a:hover {
  color: var(--accent-strong);
  text-decoration: underline;
}

/* ===== Header ===== */
.site-header {
  background: var(--bg-primary);
  border-bottom: 1px solid var(--border);
  padding: 1rem 1.25rem;
  position: sticky;
  top: 0;
  z-index: 50;
}

.site-header__inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.site-logo {
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--text-primary);
}

.site-logo:hover {
  text-decoration: none;
  color: var(--accent);
}

.site-logo__accent {
  color: var(--accent);
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.9rem;
}

.site-nav a {
  color: var(--text-secondary);
}

.site-nav a:hover {
  color: var(--accent);
  text-decoration: none;
}

/* ===== Main ===== */
.main {
  flex: 1;
  max-width: var(--max-width);
  width: 100%;
  margin: 0 auto;
  padding: 2.5rem 1.25rem 4rem;
}

.hero {
  text-align: center;
  padding: 2.5rem 0 3rem;
  border-bottom: 1px solid var(--border);
  margin-bottom: 2.5rem;
}

.hero h1 {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  margin-bottom: 1rem;
  line-height: 1.4;
}

.hero p {
  color: var(--text-secondary);
  font-size: 1.05rem;
  max-width: 640px;
  margin: 0 auto;
}

.page-title {
  font-size: clamp(1.5rem, 3.5vw, 2rem);
  margin-bottom: 0.5rem;
  padding-bottom: 0.75rem;
  border-bottom: 2px solid var(--accent);
  display: inline-block;
}

.page-subtitle {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 2rem;
}

.section {
  margin-bottom: 2.5rem;
}

.section h2 {
  font-size: 1.4rem;
  margin-bottom: 1rem;
  color: var(--text-primary);
  border-left: 4px solid var(--accent);
  padding-left: 0.75rem;
}

.section h3 {
  font-size: 1.1rem;
  margin: 1.5rem 0 0.75rem;
  color: var(--text-primary);
}

.section p {
  color: var(--text-secondary);
  margin-bottom: 1rem;
}

.section ul,
.section ol {
  color: var(--text-secondary);
  margin: 0.5rem 0 1rem 1.5rem;
}

.section li {
  margin-bottom: 0.4rem;
}

/* ===== Cards ===== */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1rem;
  margin: 1.5rem 0;
}

.card {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem;
}

.card h3 {
  color: var(--accent);
  margin-bottom: 0.5rem;
  font-size: 1.1rem;
}

.card p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  margin: 0;
}

/* ===== Tables ===== */
.info-table {
  width: 100%;
  border-collapse: collapse;
  margin: 1rem 0;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}

.info-table th,
.info-table td {
  text-align: left;
  padding: 0.75rem 1rem;
  border-bottom: 1px solid var(--border);
  font-size: 0.95rem;
}

.info-table th {
  background: var(--accent-soft);
  color: var(--accent-strong);
  font-weight: 600;
  width: 30%;
}

.info-table td {
  color: var(--text-secondary);
}

.info-table tr:last-child th,
.info-table tr:last-child td {
  border-bottom: none;
}

/* ===== Buttons ===== */
.btn {
  display: inline-block;
  background: var(--accent);
  color: #fff !important;
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius);
  font-weight: 600;
  text-decoration: none;
  transition: background 0.15s ease;
  border: none;
  cursor: pointer;
  font-family: inherit;
  font-size: 1rem;
}

.btn:hover {
  background: var(--accent-strong);
  text-decoration: none;
}

.btn--ghost {
  background: transparent;
  color: var(--accent) !important;
  border: 1px solid var(--accent);
}

.btn--ghost:hover {
  background: var(--accent);
  color: #fff !important;
}

/* ===== Footer ===== */
.site-footer {
  background: var(--bg-elevated);
  border-top: 1px solid var(--border);
  padding: 2rem 1.25rem;
  margin-top: auto;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.site-footer__inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
}

.site-footer__nav {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.site-footer__nav a {
  color: var(--text-secondary);
}

.site-footer__notice {
  margin-top: 0.75rem;
  width: 100%;
  text-align: center;
  color: var(--text-muted);
  font-size: 0.8rem;
  padding-top: 0.75rem;
  border-top: 1px solid var(--border);
}

.adult-badge {
  display: inline-block;
  background: var(--accent);
  color: #fff;
  padding: 0.15rem 0.5rem;
  border-radius: 4px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.05em;
}

/* ===== Age Gate Modal ===== */
.age-gate {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  padding: 1rem;
}

.age-gate.hidden {
  display: none;
}

.age-gate__inner {
  background: var(--bg-primary);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem 1.5rem;
  max-width: 420px;
  text-align: center;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
}

.age-gate h2 {
  color: var(--accent);
  font-size: 1.3rem;
  margin-bottom: 1rem;
}

.age-gate p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  margin-bottom: 1.5rem;
}

.age-gate__buttons {
  display: flex;
  gap: 0.75rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* ===== Mobile tweaks ===== */
@media (max-width: 480px) {
  .site-nav {
    width: 100%;
    justify-content: flex-start;
    font-size: 0.85rem;
  }

  .site-footer__inner {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .info-table th,
  .info-table td {
    display: block;
    width: 100%;
  }

  .info-table th {
    border-bottom: none;
    padding-bottom: 0.25rem;
  }
}
