:root {
  color-scheme: light dark;
  --accent: #007aff;
  --bg: #f5f5f7;
  --surface: #ffffff;
  --surface-2: #fbfbfd;
  --text: #1d1d1f;
  --muted: #6e6e73;
  --line: rgba(0, 0, 0, 0.12);
  --shadow: 0 18px 50px rgba(0, 0, 0, 0.08);
  --radius: 8px;
  --max: 1080px;
}

* {
  box-sizing: border-box;
}

html {
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Hiragino Sans",
    "Hiragino Kaku Gothic ProN", "Noto Sans JP", "Yu Gothic", Meiryo, sans-serif;
  line-height: 1.75;
  background: var(--bg);
  color: var(--text);
}

body {
  margin: 0;
  min-height: 100vh;
}

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

a:hover {
  text-decoration: underline;
}

img {
  max-width: 100%;
  height: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid var(--line);
  background: color-mix(in srgb, var(--surface) 88%, transparent);
  backdrop-filter: saturate(180%) blur(18px);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  max-width: var(--max);
  margin: 0 auto;
  padding: 14px 24px;
}

.brand {
  color: var(--text);
  font-size: 17px;
  font-weight: 700;
  letter-spacing: 0;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}

.nav-links a {
  color: var(--muted);
  border-radius: var(--radius);
  padding: 6px 10px;
  font-size: 14px;
}

.nav-links a[aria-current="page"],
.nav-links a:hover {
  color: var(--text);
  background: color-mix(in srgb, var(--accent) 10%, transparent);
  text-decoration: none;
}

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

.hero {
  padding: 72px 0 48px;
}

.eyebrow,
.badge {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  border-radius: 999px;
  padding: 2px 10px;
  background: color-mix(in srgb, var(--accent) 12%, transparent);
  color: var(--accent);
  font-size: 13px;
  font-weight: 700;
}

.badge-warning {
  background: rgba(255, 59, 48, 0.12);
  color: #ff3b30;
}

h1,
h2,
h3 {
  line-height: 1.25;
  letter-spacing: 0;
  margin: 0;
}

h1 {
  max-width: 820px;
  margin-top: 16px;
  font-size: clamp(38px, 7vw, 72px);
}

h2 {
  margin-top: 48px;
  font-size: clamp(26px, 4vw, 40px);
}

h3 {
  font-size: 21px;
}

p {
  margin: 16px 0 0;
}

.lead {
  max-width: 760px;
  color: var(--muted);
  font-size: 20px;
}

.section-lead {
  max-width: 720px;
  color: var(--muted);
}

.grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 24px;
}

.card {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  padding: 24px;
  box-shadow: var(--shadow);
}

.card h3 a {
  color: var(--text);
}

.card p {
  color: var(--muted);
}

.meta {
  color: var(--muted);
  font-size: 13px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  border: 0;
  border-radius: var(--radius);
  background: var(--accent);
  color: white;
  padding: 10px 16px;
  font-weight: 700;
  line-height: 1.2;
  cursor: pointer;
}

.button:hover {
  text-decoration: none;
  background: color-mix(in srgb, var(--accent) 86%, black);
}

.button-secondary {
  background: color-mix(in srgb, var(--text) 8%, transparent);
  color: var(--text);
}

.button-secondary:hover {
  background: color-mix(in srgb, var(--text) 14%, transparent);
}

.article {
  max-width: 800px;
}

.article h1 {
  font-size: clamp(34px, 6vw, 56px);
}

.article h2 {
  font-size: 28px;
}

.article p,
.article li {
  font-size: 17px;
}

.article ul {
  margin: 16px 0 0;
  padding-left: 1.3em;
}

.note {
  border-left: 4px solid var(--accent);
  margin-top: 24px;
  padding: 16px 20px;
  background: color-mix(in srgb, var(--accent) 8%, transparent);
  border-radius: 0 var(--radius) var(--radius) 0;
}

.empty-state {
  border: 1px dashed var(--line);
  border-radius: var(--radius);
  background: var(--surface-2);
  padding: 40px 24px;
  text-align: center;
  color: var(--muted);
}

.site-footer {
  border-top: 1px solid var(--line);
  background: var(--surface);
}

.footer-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 32px 24px;
  color: var(--muted);
  font-size: 14px;
}

.footer-links {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 12px;
}

.adult-link {
  font-size: 12px;
}

.age-overlay {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  padding: 24px;
  background: color-mix(in srgb, var(--bg) 94%, black);
}

.age-dialog {
  width: min(100%, 520px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  padding: 32px;
  box-shadow: var(--shadow);
  text-align: center;
}

.age-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  margin-top: 24px;
  flex-wrap: wrap;
}

.age-verified .age-overlay {
  display: none;
}

.fanza-credit {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 32px;
  color: var(--muted);
  font-size: 13px;
}

@media (max-width: 760px) {
  .nav {
    align-items: flex-start;
    flex-direction: column;
  }

  .wrap {
    padding: 40px 20px;
  }

  .hero {
    padding: 48px 0 32px;
  }

  .grid {
    grid-template-columns: 1fr;
  }

  .lead {
    font-size: 18px;
  }
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #000000;
    --surface: #1c1c1e;
    --surface-2: #111113;
    --text: #f5f5f7;
    --muted: #a1a1a6;
    --line: rgba(255, 255, 255, 0.16);
    --shadow: 0 18px 50px rgba(0, 0, 0, 0.35);
  }
}
