* { margin: 0; padding: 0; box-sizing: border-box; }
:root {
  --bg: #121218;
  --surface: #1c1c26;
  --surface2: #262633;
  --text: #f2f2f5;
  --muted: #a7a7b8;
  --accent: #ff5c8a;
  --accent2: #ff8fab;
  --border: #333344;
}
html { -webkit-text-size-adjust: 100%; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: "Hiragino Kaku Gothic ProN", "Hiragino Sans", "Noto Sans JP", sans-serif;
  line-height: 1.7;
  font-size: 15px;
}
a { color: var(--accent2); text-decoration: none; }
img { max-width: 100%; display: block; }

.site-header {
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  padding: 14px 16px;
  position: sticky; top: 0; z-index: 10;
}
.site-header .logo { font-size: 20px; font-weight: 800; color: var(--text); letter-spacing: .02em; }
.site-header .logo span { color: var(--accent); }
.site-header .tagline { font-size: 12px; color: var(--muted); margin-top: 2px; }
.pr-note {
  background: #2a2430;
  color: #e8c9d4;
  font-size: 12px;
  text-align: center;
  padding: 6px 10px;
  border-bottom: 1px solid var(--border);
}
.wrap { max-width: 880px; margin: 0 auto; padding: 16px; }

.sale-banner {
  background: linear-gradient(135deg, #ff5c8a, #ff8c42);
  color: #fff; font-weight: 800; font-size: 16px;
  border-radius: 12px; padding: 14px 16px; margin: 4px 0 18px;
  text-align: center;
}
.section-title { font-size: 17px; font-weight: 800; margin: 20px 0 10px; border-left: 4px solid var(--accent); padding-left: 8px; }

.cat-nav { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 6px; }
.cat-nav a {
  background: var(--surface2); color: var(--text);
  border: 1px solid var(--border); border-radius: 999px;
  padding: 5px 14px; font-size: 13px;
}

.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 14px; }
.card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: 12px; overflow: hidden;
}
.card .thumb {
  background: var(--surface2); aspect-ratio: 16/10;
  display: flex; align-items: center; justify-content: center;
  color: var(--muted); font-size: 13px; text-align: center; padding: 8px;
}
.card .body { padding: 12px 14px 14px; }
.card .meta { font-size: 12px; color: var(--muted); }
.card .title { font-weight: 700; font-size: 15px; margin: 4px 0 6px; color: var(--text); }
.card .desc { font-size: 13px; color: var(--muted); }
.badge {
  display: inline-block; font-size: 11px; font-weight: 700;
  background: var(--accent); color: #fff; border-radius: 4px; padding: 1px 7px; margin-right: 6px;
}
.badge.myfans { background: #7c5cff; }
.badge.doujin { background: #2ea6ff; }

.ad-slot {
  color: var(--muted); text-align: center; font-size: 12px;
  padding: 10px 0; margin: 18px 0;
}
.ad-slot::before { content: "広告"; display: block; font-size: 10px; letter-spacing: .3em; margin-bottom: 6px; color: #66667a; }
.ad-slot ins { display: block; margin: 0 auto; }

/* article */
.work-head .meta { color: var(--muted); font-size: 13px; }
.work-head h1 { font-size: 21px; line-height: 1.45; margin: 6px 0 10px; }
.work-thumb {
  background: var(--surface2); border-radius: 12px; aspect-ratio: 16/9;
  display: flex; align-items: center; justify-content: center; color: var(--muted);
  text-align: center; padding: 12px; margin-bottom: 16px; font-size: 13px;
}
table.info { width: 100%; border-collapse: collapse; margin: 10px 0 18px; font-size: 14px; }
table.info th, table.info td { border: 1px solid var(--border); padding: 8px 10px; text-align: left; vertical-align: top; }
table.info th { background: var(--surface); width: 32%; color: var(--muted); font-weight: 600; }
.synopsis { font-size: 15px; margin-bottom: 8px; }
.points { margin: 4px 0 10px 1.2em; font-size: 15px; }
.points li { margin-bottom: 4px; }

.btn-continue {
  display: block; text-align: center;
  background: linear-gradient(135deg, #ff5c8a, #ff3d68);
  color: #fff; font-size: 19px; font-weight: 800;
  border-radius: 999px; padding: 16px 20px; margin: 22px 0 8px;
  box-shadow: 0 6px 18px rgba(255, 61, 104, .35);
}
.btn-note { text-align: center; font-size: 12px; color: var(--muted); margin-bottom: 20px; }
.btn-sub {
  display: block; text-align: center;
  background: var(--surface2); color: var(--text);
  border: 1px solid var(--border); border-radius: 999px;
  padding: 11px 20px; margin: 10px 0; font-weight: 700; font-size: 14px;
}

.site-footer {
  border-top: 1px solid var(--border); margin-top: 30px;
  padding: 18px 16px 30px; text-align: center; color: var(--muted); font-size: 12px;
}
.site-footer nav { margin-bottom: 8px; }
.site-footer nav a { color: var(--muted); margin: 0 8px; }

/* age gate */
.gate { min-height: 100vh; display: flex; align-items: center; justify-content: center; padding: 20px; }
.gate-box {
  background: var(--surface); border: 1px solid var(--border); border-radius: 16px;
  max-width: 480px; width: 100%; padding: 30px 24px; text-align: center;
}
.gate-box .warn {
  display: inline-block; border: 2px solid var(--accent); color: var(--accent);
  font-weight: 800; border-radius: 8px; padding: 2px 14px; margin-bottom: 14px; font-size: 15px;
}
.gate-box h1 { font-size: 19px; margin-bottom: 10px; }
.gate-box p { color: var(--muted); font-size: 14px; margin-bottom: 20px; }
.gate-box .enter {
  display: block; background: linear-gradient(135deg, #ff5c8a, #ff3d68); color: #fff;
  font-weight: 800; font-size: 16px; border-radius: 999px; padding: 14px; margin-bottom: 12px;
}
.gate-box .leave { display: block; color: var(--muted); font-size: 14px; padding: 8px; }
