
:root {
  --bg: #0a0a0e;
  --bg-card: #15151a;
  --bg-card-hover: #1c1c23;
  --border: #2a2a32;
  --text: #e5e5e7;
  --text-muted: #999aa3;
  --accent: #a855f7;
  --accent-2: #22d3eb;
  --warn: #ff5b6b;
  --max: 920px;
}
* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Hiragino Sans",
    "Hiragino Kaku Gothic ProN", "Noto Sans JP", "Yu Gothic UI", Meiryo, sans-serif;
  line-height: 1.8;
  font-size: 16px;
}
a { color: var(--accent-2); text-decoration: none; }
a:hover { color: var(--accent); text-decoration: underline; }
.container { max-width: var(--max); margin: 0 auto; padding: 0 16px; }
.main { padding: 32px 16px 64px; }

.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(10,10,14,0.85);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  padding: 10px 16px;
}
.brand { display: flex; align-items: center; gap: 10px; line-height: 1.2; }
.brand:hover { text-decoration: none; }
.brand-logo { width: 132px; height: auto; display: block; }
.brand-text { display: flex; flex-direction: column; }
.brand-mark { font-size: 22px; font-weight: 800; color: var(--text); letter-spacing: 0.04em; }
.brand-sub { font-size: 11px; color: var(--text-muted); letter-spacing: 0.1em; }
.site-nav { display: flex; gap: 12px; flex-wrap: wrap; }
.site-nav a { color: var(--text); font-size: 14px; padding: 6px 4px; min-height: 44px; display: inline-flex; align-items: center; }
.site-nav a:hover { color: var(--accent); text-decoration: none; }

/* ===== レスポンシブ（モバイル最適化） ===== */
@media (max-width: 768px) {
  body { font-size: 16px; }
  .container { padding: 0 12px; }
  .main { padding: 20px 12px 48px; }
  .header-inner { padding: 8px 12px; flex-wrap: wrap; gap: 6px; }
  .brand-logo { width: 112px; }
  .brand-mark { font-size: 18px; }
  .brand-sub { font-size: 10px; }
  .site-nav { gap: 8px; width: 100%; justify-content: flex-start; }
  .site-nav a { font-size: 13px; padding: 4px 6px; }
  .hero h1 { font-size: 22px; }
  .card-list { grid-template-columns: 1fr !important; gap: 12px; }
  article.post { padding: 18px 14px; }
  article.post h1 { font-size: 20px; line-height: 1.5; }
  article.post h2 { font-size: 17px; }
  article.post h3 { font-size: 15px; }
  article.post p { font-size: 15px; }
  article.post table { font-size: 13px; }
  article.post a[href*="al.dmm.co.jp"],
  article.post a[href*="click.duga.jp"] {
    display: block;
    width: 100%;
    text-align: center;
    margin: 8px 0;
    padding: 14px;
    font-size: 15px;
    box-sizing: border-box;
  }
  .post-hero { margin: -18px -14px 16px; }
  .age-gate-card { padding: 20px; max-width: 95vw; }
  .age-gate-card h2 { font-size: 18px; }
  .age-gate-lead { font-size: 14px; }
  .btn { padding: 14px 18px; font-size: 14px; }
  .footer-tag { font-size: 13px; }
  .footer-disclaimer { font-size: 11px; }
  .footer-links { gap: 12px; }
  .footer-links a { font-size: 12px; }
  /* 横スクロール禁止 */
  body, html { overflow-x: hidden; max-width: 100%; }
  img, video, iframe { max-width: 100%; height: auto; }
  pre { white-space: pre-wrap; word-break: break-all; }
}

@media (max-width: 380px) {
  .brand-mark { font-size: 16px; }
  .site-nav a { font-size: 12px; padding: 4px; }
  article.post h1 { font-size: 18px; }
  article.post h2 { font-size: 15px; }
}

.hero {
  padding: 24px 0 16px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 24px;
}
.hero h1 {
  font-size: 32px; line-height: 1.3; margin: 0 0 8px;
  letter-spacing: 0.02em;
}
.hero .tagline { color: var(--text-muted); margin: 0; }

.card-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  margin: 16px 0;
}
@media (min-width: 720px) {
  .card-list { grid-template-columns: 1fr 1fr; }
}
.card-link { display: block; color: inherit; text-decoration: none; }
.card-link:hover { text-decoration: none; }
.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
  transition: background .2s, border-color .2s, transform .15s;
}
.card-link:hover .card { background: var(--bg-card-hover); border-color: var(--accent); transform: translateY(-2px); }
.card-thumb { aspect-ratio: 1200 / 630; background: #060609; }
.card-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.card-body { padding: 14px 18px 18px; }
.card .cat {
  display: inline-block; font-size: 11px;
  color: var(--accent-2); border: 1px solid var(--accent-2);
  padding: 2px 8px; border-radius: 999px;
  margin-bottom: 10px;
}
.card h3 { font-size: 17px; margin: 0 0 8px; color: var(--text); }
.card .excerpt { color: var(--text-muted); font-size: 13px; margin: 0; }

.author-box {
  display: block;
  background: rgba(168,85,247,0.06);
  border-left: 3px solid var(--accent);
  border-radius: 4px;
  padding: 10px 14px;
  margin: 16px 0 24px;
}
.author-box .author-name { font-weight: 700; color: var(--text); margin: 0; font-size: 14px; }
.author-box .author-bio { color: var(--text-muted); font-size: 12px; margin: 2px 0 0; line-height: 1.6; }

article.post {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 28px 22px;
}
article.post h1 { font-size: 26px; line-height: 1.4; margin: 0 0 16px; }
article.post h2 {
  font-size: 20px; margin-top: 32px; padding-top: 8px;
  border-top: 1px solid var(--border);
}
article.post h3 { font-size: 17px; margin-top: 20px; }
article.post p { margin: 12px 0; }
article.post blockquote {
  border-left: 3px solid var(--accent);
  padding: 8px 12px;
  background: rgba(168,85,247,0.08);
  margin: 16px 0;
  color: var(--text);
}
article.post table {
  width: 100%; border-collapse: collapse;
  margin: 16px 0; font-size: 14px;
}
article.post th, article.post td {
  border: 1px solid var(--border);
  padding: 8px 10px; text-align: left;
}
article.post th { background: rgba(168,85,247,0.1); }
article.post a { color: var(--accent-2); }
article.post a:hover { color: var(--accent); }
article.post img { max-width: 100%; height: auto; border-radius: 6px; }
article.post hr { border: 0; border-top: 1px solid var(--border); margin: 24px 0; }
article.post code, article.post pre {
  background: #1f1f27; color: #f8fafc;
  border-radius: 4px; font-size: 13px;
}
article.post code { padding: 2px 6px; }
article.post pre { padding: 12px; overflow-x: auto; }

/* ===== CTA 共通（haibokusha/Compass 統一仕様） ===== */
.cta { margin: 24px 0; }
.cta-hero, .cta-mid-card, .cta-bottom {
  display: block;
  border-radius: 10px;
  overflow: hidden;
  text-decoration: none !important;
  border: 1px solid var(--border);
  transition: transform .15s, border-color .15s;
}
.cta-hero:hover, .cta-mid-card:hover, .cta-bottom:hover {
  transform: translateY(-2px);
  border-color: var(--accent);
}
.cta-hero { background: linear-gradient(135deg, rgba(168,85,247,0.15), rgba(34,211,238,0.1)); }
.cta-hero img { width: 100%; height: auto; display: block; }
.cta-hero .cta-body { padding: 14px 18px; }
.cta-hero .cta-title { color: var(--text); font-weight: 700; font-size: 18px; margin: 0 0 6px; }
.cta-hero .cta-desc { color: var(--text-muted); font-size: 13px; margin: 0; }
.cta-hero .cta-btn {
  display: inline-block; margin-top: 10px;
  background: var(--accent); color: #fff; padding: 12px 22px; border-radius: 6px;
  font-weight: 800; font-size: 15px;
}

.cta-mid-card {
  display: grid;
  grid-template-columns: 220px 1fr;
  background: var(--bg-card);
}
.cta-mid-card img { width: 100%; height: 100%; object-fit: cover; display: block; }
.cta-mid-card .cta-body { padding: 16px 18px; display: flex; flex-direction: column; justify-content: center; }
.cta-mid-card .cta-title { color: var(--text); font-weight: 700; font-size: 16px; margin: 0 0 6px; }
.cta-mid-card .cta-desc { color: var(--text-muted); font-size: 13px; margin: 0 0 8px; line-height: 1.6; }
.cta-mid-card .cta-btn {
  align-self: flex-start;
  background: var(--accent); color: #fff; padding: 8px 16px; border-radius: 4px;
  font-weight: 700; font-size: 14px;
}
.cta-mid-card.is-duga { background: rgba(251,146,60,0.06); }
.cta-mid-card.is-duga .cta-btn { background: #fb923c; }

.cta-inline {
  display: inline-flex; align-items: center; gap: 6px;
  background: rgba(168,85,247,0.08);
  color: var(--text) !important;
  padding: 4px 10px; border-radius: 4px;
  font-size: 14px; font-weight: 600;
  text-decoration: none !important;
  border: 1px solid rgba(168,85,247,0.3);
}
.cta-inline.is-duga { background: rgba(251,146,60,0.08); border-color: rgba(251,146,60,0.3); }
.cta-inline:hover { border-color: var(--accent); }
.cta-inline-icon { width: 16px; height: 16px; border-radius: 3px; vertical-align: middle; }

.cta-bottom {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  background: transparent;
  border: none;
}
.cta-bottom > a {
  display: block;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 8px;
  text-decoration: none !important;
  overflow: hidden;
  transition: border-color .15s, transform .15s;
}
.cta-bottom > a:hover { border-color: var(--accent); transform: translateY(-2px); }
.cta-bottom img { width: 100%; height: auto; display: block; }
.cta-bottom .cta-body { padding: 12px 14px; text-align: center; }
.cta-bottom .cta-title { color: var(--text); font-weight: 700; margin: 0 0 4px; font-size: 14px; }
.cta-bottom .cta-btn {
  display: block; margin-top: 8px;
  background: var(--accent); color: #fff; padding: 10px; border-radius: 4px;
  font-weight: 700; font-size: 14px;
}
.cta-bottom > a.is-duga .cta-btn { background: #fb923c; }

@media (max-width: 768px) {
  .cta-mid-card { grid-template-columns: 1fr; }
  .cta-bottom { grid-template-columns: 1fr; gap: 10px; }
  .cta-hero .cta-title { font-size: 16px; }
  .cta-hero .cta-btn { width: 100%; box-sizing: border-box; text-align: center; }
}

/* レガシー個別ボタン（CTA未変換のリンク用フォールバック） */
article.post a[href*="al.dmm.co.jp"]:not(.cta-hero):not(.cta-mid-card):not(.cta-bottom):not(.cta-inline) {
  display: inline-block;
  background: var(--accent);
  color: #fff !important;
  padding: 10px 20px;
  border-radius: 6px;
  font-weight: 700;
  margin: 6px 8px 6px 0;
  text-decoration: none !important;
}
article.post a[href*="click.duga.jp"]:not(.cta-hero):not(.cta-mid-card):not(.cta-bottom):not(.cta-inline) {
  display: inline-block;
  background: #fb923c;
  color: #fff !important;
  padding: 10px 20px;
  border-radius: 6px;
  font-weight: 700;
  margin: 6px 0 6px 0;
  text-decoration: none !important;
}

.site-footer {
  background: #060609;
  border-top: 1px solid var(--border);
  margin-top: 64px;
  padding: 24px 0 32px;
}
.footer-tag { color: var(--text); margin: 0 0 8px; font-weight: 600; }
.footer-links { list-style: none; padding: 0; margin: 0 0 12px; display: flex; gap: 16px; flex-wrap: wrap; }
.footer-links a { color: var(--text-muted); font-size: 13px; }
.footer-disclaimer { color: var(--text-muted); font-size: 12px; line-height: 1.7; margin: 8px 0; }
.footer-copy { color: var(--text-muted); font-size: 13px; margin: 12px 0 0; font-weight: 500; }

.age-gate {
  position: fixed; inset: 0; z-index: 9999;
  background: rgba(0,0,0,0.92);
  display: flex; align-items: center; justify-content: center;
  padding: 16px;
}
.age-gate.hidden { display: none; }
.age-gate-card {
  background: var(--bg-card);
  border: 1px solid var(--accent);
  border-radius: 12px;
  max-width: 480px; width: 100%;
  padding: 28px;
  text-align: center;
}
.age-gate-mark {
  display: inline-block;
  font-size: 14px; font-weight: 800;
  color: var(--warn);
  border: 2px solid var(--warn);
  padding: 4px 10px; border-radius: 6px;
  margin: 0 0 12px;
}
.age-gate-card h2 { margin: 0 0 12px; font-size: 22px; }
.age-gate-lead { color: var(--text); margin: 0 0 20px; }
.age-gate-buttons { display: flex; flex-direction: column; gap: 10px; }
.btn {
  display: inline-block; padding: 12px 20px;
  border: 1px solid var(--border);
  border-radius: 6px;
  font-weight: 700; font-size: 15px;
  cursor: pointer;
  text-decoration: none !important;
}
.btn-primary { background: var(--accent); color: #fff; border-color: var(--accent); }
.btn-primary:hover { background: #9333ea; }
.btn-leave { background: transparent; color: var(--text-muted); }
.btn-leave:hover { color: var(--text); border-color: var(--text-muted); }
.age-gate-note { color: var(--text-muted); font-size: 12px; margin: 16px 0 0; }

/* 記事冒頭 eyecatch（H1 直後） */
.post-eyecatch { margin: 0 0 24px; }
.post-eyecatch img { width: 100%; height: auto; display: block; border-radius: 8px; }

/* テキストのみ CTA（product_img なし時） */
.cta-text-only .cta-hero { padding: 4px 0; }
.cta-text-only .cta-hero .cta-body { padding: 20px 24px; }
.cta-text-only .cta-mid-card { grid-template-columns: 1fr; }
.cta-text-only .cta-mid-card .cta-body { padding: 20px 24px; }
.cta-text-only .cta-bottom a { padding: 4px 0; }
.cta-text-only .cta-bottom .cta-body { padding: 20px 24px; }

/* ============================================
   Phase 6 Sub-A: Header + Hero
   ============================================ */
:root {
  --c-primary: #0a0a0e;
  --c-secondary: #1a1a2e;
  --c-background: #0a0a0e;
  --c-accent: #ff006e;
  --c-accent-hover: #ff3388;
  --c-text: #e8e8f0;
  --c-text-soft: #b8b8c8;
  --c-text-on-dark: #ffffff;
}

.container {
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 1rem;
  box-sizing: border-box;
}

.site-header {
  background-color: var(--c-primary);
  color: var(--c-text-on-dark);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 1rem;
  gap: 1rem;
}
.header-logo {
  display: inline-block;
  flex-shrink: 0;
}
.header-logo img {
  height: 64px;
  width: auto;
  display: block;
}
@media (max-width: 640px) {
  .header-logo img { height: 48px; }
}
/* a11y: スキップリンク (focus 時のみ表示) */
.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 9999;
  background: #1d4ed8;
  color: #fff;
  padding: 12px 18px;
  border-radius: 0 0 6px 0;
  font-weight: 600;
  text-decoration: none;
}
.skip-link:focus {
  left: 0;
  outline: 2px solid #fff;
  outline-offset: 2px;
}
.header-nav {
  display: flex;
  gap: 1.25rem;
  align-items: center;
  flex-wrap: wrap;
}
.header-nav a {
  color: var(--c-text-on-dark);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  padding: 0.25rem 0.5rem;
  border-radius: 4px;
  transition: color 0.2s, background-color 0.2s;
}
.header-nav a:hover {
  color: var(--c-accent);
  background-color: rgba(201,169,97,0.08);
}
.header-mobile-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  flex-direction: column;
  gap: 4px;
}
.header-mobile-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background-color: var(--c-text-on-dark);
}

.hero {
  position: relative;
  width: 100%;
  min-height: 42vh;
  overflow: hidden;
  background-color: var(--c-primary);
  padding: 0;
  border-bottom: 0;
  margin: 0 0 24px;
}
@media (max-width: 640px) {
  .hero { min-height: 56vh; }
}
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 1;
}
.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.55;
}
.hero-overlay {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  min-height: 42vh;
  padding: 3rem 0;
  color: var(--c-text-on-dark);
  background: linear-gradient(135deg, rgba(26,26,46,0.85) 0%, rgba(26,26,46,0.55) 100%);
}
@media (max-width: 640px) {
  .hero-overlay { min-height: 56vh; padding: 2.5rem 0; }
}
.hero-title {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 700;
  margin: 0 0 1rem;
  color: var(--c-accent);
  letter-spacing: 0;
}
.hero-tagline {
  font-size: clamp(1.1rem, 2.5vw, 1.5rem);
  margin: 0 0 0.5rem;
  font-weight: 500;
}
.hero-sub {
  font-size: clamp(0.9rem, 2vw, 1rem);
  margin: 0 0 2rem;
  max-width: 600px;
  line-height: 1.7;
  opacity: 0.9;
}
.hero-cta-group {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}
.hero .btn {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  border-radius: 4px;
  text-decoration: none;
  font-size: 1rem;
  font-weight: 600;
  transition: background-color 0.2s, transform 0.1s;
  border: 2px solid transparent;
}
.hero .btn-primary {
  background-color: var(--c-accent);
  color: var(--c-primary);
}
.hero .btn-primary:hover {
  background-color: var(--c-accent-hover);
  transform: translateY(-1px);
}
.hero .btn-secondary {
  background-color: transparent;
  color: var(--c-text-on-dark);
  border-color: var(--c-accent);
}
.hero .btn-secondary:hover {
  background-color: rgba(201,169,97,0.12);
}

@media (max-width: 768px) {
  .header-inner {
    position: relative;
  }
  .header-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background-color: var(--c-primary);
    flex-direction: column;
    gap: 0;
    padding: 0.5rem 0;
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
  }
  .header-nav.open {
    display: flex;
  }
  .header-nav a {
    padding: 0.75rem 1.5rem;
    border-radius: 0;
    width: 100%;
  }
  .header-mobile-toggle {
    display: flex;
  }
  .header-logo img {
    height: 32px;
  }
  .hero,
  .hero-overlay {
    min-height: 520px;
  }
  .hero-overlay {
    padding: 3rem 0;
  }
}

/* ============================================
   Phase 6 Sub-B: Category + Article Grid
   ============================================ */

/* Article Grid */
.article-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
  margin: 2rem 0;
}
.article-card {
  display: block;
  background: #fff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
  text-decoration: none;
  color: inherit;
  transition: transform 0.2s, box-shadow 0.2s;
}
.article-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 6px 16px rgba(0,0,0,0.12);
  text-decoration: none;
}
.article-card img {
  width: 100%;
  height: auto;
  aspect-ratio: 16/9;
  object-fit: cover;
}
.article-card-body {
  padding: 1rem;
}
.article-card h3 {
  font-size: 1.05rem;
  margin: 0 0 0.5rem;
  line-height: 1.4;
  color: var(--c-text);
}
.article-card p {
  font-size: 0.875rem;
  color: var(--c-text-soft);
  margin: 0;
  line-height: 1.5;
}

/* Category Grid (5 列固定、デスクトップ。モバイルは 2 列) */
.category-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1rem;
  margin: 2rem 0;
}
@media (max-width: 900px) {
  .category-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
  .category-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.65rem;
  }
}
.category-card {
  position: relative;
  display: block;
  border-radius: 8px;
  overflow: hidden;
  text-decoration: none;
  color: var(--c-text-on-dark);
  background-color: var(--c-primary);
  aspect-ratio: 16/9;
}
.category-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.7;
  transition: opacity 0.3s;
}
.category-card:hover img {
  opacity: 0.9;
}
.category-card h3 {
  /* Gemini 生成画像内に既にラベル文字が描画されているため CSS overlay 非表示 */
  display: none !important;
}

/* Category Hero */
.category-hero {
  position: relative;
  width: 100%;
  margin-bottom: 2rem;
  background-color: var(--c-primary);
  aspect-ratio: 16/9;
  max-height: 400px;
  overflow: hidden;
}
.category-hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.6;
}
.category-hero-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  color: var(--c-text-on-dark);
  background: linear-gradient(135deg, rgba(26,26,46,0.7) 0%, rgba(26,26,46,0.3) 100%);
  text-align: center;
  padding: 2rem;
}
.category-hero-overlay h1 {
  margin: 0 0 0.5rem;
  color: var(--c-accent);
  font-size: clamp(2rem, 5vw, 3rem);
}
.category-hero-overlay p {
  margin: 0;
  font-size: clamp(0.95rem, 2vw, 1.125rem);
  max-width: 600px;
}

/* Section title */
.section-title {
  text-align: center;
  margin: 3rem 0 2rem;
  font-size: clamp(1.5rem, 3vw, 2rem);
}

/* Related posts (article footer) */
.related-posts {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid var(--c-text-muted);
}
.related-posts h2 {
  border: 0;
  padding: 0;
  margin-bottom: 1rem;
}

/* ============================================
   Phase 6 Sub-C: Base + Typography + Responsive
   ============================================ */

/* Reset / Base */
*, *::before, *::after {
  box-sizing: border-box;
}
html {
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}
body {
  margin: 0;
  font-family: "Noto Sans JP", "Inter", system-ui, -apple-system, sans-serif;
  font-size: 1rem;
  line-height: 1.75;
  color: var(--c-text);
  background-color: var(--c-background);
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
a {
  color: var(--c-accent);
  text-decoration: none;
  transition: color 0.2s;
}
a:hover {
  color: var(--c-accent-hover);
  text-decoration: underline;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  margin-top: 2rem;
  margin-bottom: 1rem;
  font-weight: 700;
  line-height: 1.3;
  color: var(--c-text);
}
h1 { font-size: clamp(1.75rem, 4vw, 2.5rem); }
h2 { font-size: clamp(1.4rem, 3vw, 1.875rem); border-bottom: 2px solid var(--c-accent); padding-bottom: 0.5rem; }
h3 { font-size: clamp(1.2rem, 2.5vw, 1.5rem); }
h4 { font-size: 1.125rem; }
p { margin: 0 0 1.25rem; }
ul, ol { padding-left: 1.5rem; margin: 0 0 1.25rem; }
li { margin-bottom: 0.5rem; }
blockquote {
  border-left: 4px solid var(--c-accent);
  padding: 0.5rem 0 0.5rem 1rem;
  margin: 1.5rem 0;
  color: var(--c-text-soft);
  background-color: rgba(201,169,97,0.06);
}
code {
  background-color: rgba(26,26,46,0.08);
  padding: 0.125rem 0.375rem;
  border-radius: 3px;
  font-size: 0.9em;
  font-family: "Consolas", "Monaco", monospace;
}
pre {
  background-color: var(--c-primary);
  color: var(--c-text-on-dark);
  padding: 1rem;
  border-radius: 6px;
  overflow-x: auto;
  margin: 1.5rem 0;
}
pre code {
  background: none;
  padding: 0;
  color: inherit;
}
hr {
  border: 0;
  border-top: 1px solid var(--c-text-muted);
  margin: 2rem 0;
  opacity: 0.3;
}

/* Article */
.article {
  max-width: 720px;
  margin: 2rem auto;
  padding: 0 1rem;
}
.article-header {
  margin-bottom: 2rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--c-text-muted);
}
.article-title {
  margin: 0 0 0.5rem;
  font-size: clamp(1.5rem, 4vw, 2.25rem);
}
.article-meta {
  font-size: 0.875rem;
  color: var(--c-text-muted);
}
.article-eyecatch {
  width: 100%;
  margin: 1.5rem 0;
  border-radius: 8px;
  overflow: hidden;
}
.article-content {
  font-size: 1.0625rem;
  line-height: 1.85;
}
.article-content img {
  margin: 1.5rem auto;
  border-radius: 6px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

/* Table */
table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.5rem 0;
  font-size: 0.95rem;
}
th, td {
  border: 1px solid var(--c-text-muted);
  padding: 0.75rem 1rem;
  text-align: left;
}
th {
  background-color: var(--c-primary);
  color: var(--c-text-on-dark);
  font-weight: 600;
}
tr:nth-child(even) td {
  background-color: rgba(26,26,46,0.03);
}
@media (max-width: 640px) {
  table {
    display: block;
    overflow-x: auto;
    white-space: nowrap;
  }
}

/* Footer */
.site-footer {
  background-color: var(--c-primary);
  color: var(--c-text-on-dark);
  padding: 3rem 0 2rem;
  margin-top: 4rem;
  text-align: center;
}
.site-footer a {
  color: var(--c-accent);
}
.footer-inner {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 1rem;
}
.footer-logo img {
  height: 40px;
  margin: 0 auto 1rem;
}
.footer-nav {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  flex-wrap: wrap;
  margin: 1rem 0;
  font-size: 0.9rem;
}
.footer-copy {
  font-size: 0.85rem;
  opacity: 0.7;
  margin: 1rem 0 0;
}

/* Responsive breakpoints */
@media (max-width: 640px) {
  .container { padding: 0 0.75rem; }
  .article { padding: 0 0.75rem; }
  h1 { font-size: 1.625rem; }
  h2 { font-size: 1.375rem; }
  body { line-height: 1.7; }
  pre { font-size: 0.85rem; padding: 0.75rem; }
}

/* Accessibility */
:focus-visible {
  outline: 3px solid var(--c-accent);
  outline-offset: 2px;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

/* Image lazy load fade-in (Phase 8+: 旧実装は .loaded クラス付与 JS が無く全画像が opacity:0 で不可視化していたため削除) */
img[loading="lazy"] {
  opacity: 1;
}

/* Phase 9+: article readability (ダーク統一版) */
.article-content,
.article-content p,
.article-content li,
.article-content h2,
.article-content h3,
.article-content h4,
article p,
article li,
main p,
main li {
  color: #e8e8f0 !important;
  background-color: transparent !important;
}
.article-content h1,
.article-content h2,
article h1,
article h2 {
  color: #ffffff !important;
}
/* Phase 9+: 全体ダーク化 (ベージュは廃止、ネオン繁華街統一) */
html, body {
  background-color: #0a0a0e !important;
  background-image: linear-gradient(180deg, #0a0a0e 0%, #1a1a2e 50%, #0a0a0e 100%) !important;
  color: #e8e8f0 !important;
}
main, .content-wrap, .container { color: #e8e8f0 !important; background: transparent !important; }
/* アイキャッチ画像のベージュ感を軽減 (画像本体再生成までの暫定) */
.card-thumb img, .article-card img, .post-eyecatch img {
  filter: hue-rotate(-25deg) saturate(1.4) contrast(1.15) brightness(0.92);
}
/* categories-showcase の上下余白もダーク */
.categories-showcase {
  background-color: #0a0a0e !important;
  background-image: linear-gradient(180deg, #0a0a0e 0%, #1a1a2e 50%, #0a0a0e 100%) !important;
}
section, article, footer { background-color: transparent; }

/* Phase 9++: HERO 看板強化 (画像なくても見映え) */
.hero {
  min-height: 540px !important;
  position: relative;
}
.hero-title {
  font-size: clamp(3rem, 8vw, 6rem) !important;
  letter-spacing: 0.1em !important;
  margin-bottom: 0.3em !important;
}
.hero-tagline {
  font-size: clamp(1.1rem, 2vw, 1.4rem) !important;
}
.hero-sub {
  font-size: clamp(0.95rem, 1.4vw, 1.1rem) !important;
  max-width: 720px;
}
.hero-cta-group .btn-primary, .hero-cta-group .btn-secondary {
  font-size: 1.05rem !important;
  padding: 16px 32px !important;
}
.header-logo img {
  height: 56px !important;
  filter: drop-shadow(0 0 10px rgba(255,0,110,0.5)) drop-shadow(0 0 20px rgba(0,245,255,0.3));
}
.site-header { padding: 6px 0 !important; }

/* ============================================
   Phase 9+++: FANZA 商品カード 5 件グリッド (記事末尾)
   ============================================ */
.dmm-products-section {
  margin: 3rem 0 2rem;
  padding: 2rem;
  background: linear-gradient(135deg, #0a0a0e 0%, #1a1a2e 100%);
  border: 1px solid rgba(255,0,110,0.3);
  border-radius: 10px;
  box-shadow: 0 0 30px rgba(255,0,110,0.1), inset 0 0 30px rgba(0,0,0,0.4);
}
.dmm-products-title {
  color: #ffffff !important;
  font-size: 1.5rem !important;
  font-weight: 800 !important;
  margin: 0 0 0.5rem !important;
  text-shadow: 0 0 12px rgba(255,0,110,0.8), 0 0 24px rgba(0,245,255,0.4);
  border: none !important;
  border-left: 4px solid #ff006e !important;
  padding: 0 0 0 14px !important;
  letter-spacing: 0.03em;
}
.dmm-products-lead {
  color: #f0f0f5 !important;
  font-size: 0.95rem !important;
  margin: 0 0 1.5rem !important;
  opacity: 0.9;
}
.dmm-products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 16px;
}
.dmm-product-card {
  display: flex;
  flex-direction: column;
  background: #15151f;
  border: 1px solid rgba(0,245,255,0.2);
  border-radius: 6px;
  overflow: hidden;
  text-decoration: none !important;
  color: #e8e8f0 !important;
  transition: all 0.25s;
}
.dmm-product-card:hover {
  border-color: #00f5ff !important;
  box-shadow: 0 0 20px rgba(0,245,255,0.5);
  transform: translateY(-3px);
}
.dmm-card-thumb {
  width: 100%;
  aspect-ratio: 3/4;
  background: #0a0a0e;
  overflow: hidden;
}
.dmm-card-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.dmm-card-noimg {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #1a1a2e 0%, #2d1b4e 100%);
}
.dmm-card-body {
  padding: 10px 12px 12px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex: 1;
}
.dmm-card-title {
  font-size: 0.85rem !important;
  font-weight: 600 !important;
  line-height: 1.4 !important;
  margin: 0 !important;
  color: #ffffff !important;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.dmm-card-maker {
  font-size: 0.7rem;
  color: #00f5ff;
  text-shadow: 0 0 4px rgba(0,245,255,0.3);
}
.dmm-card-bottom {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
}
.dmm-card-price {
  font-size: 0.85rem;
  font-weight: 700;
  color: #ff006e;
  text-shadow: 0 0 4px rgba(255,0,110,0.3);
}
.dmm-card-cta {
  font-size: 0.7rem;
  padding: 3px 8px;
  background: linear-gradient(90deg, #ff006e, #a855f7);
  color: #ffffff;
  border-radius: 3px;
  white-space: nowrap;
  box-shadow: 0 0 6px rgba(255,0,110,0.4);
}

/* 文中挿入 DLsite カード (横並びコンパクト) */
.dlsite-inline-section {
  display: block;
  margin: 1.5rem 0 1.5rem;
}
.dlsite-inline-card {
  display: flex;
  align-items: center;
  gap: 14px;
  background: linear-gradient(135deg, #1f1f2e 0%, #2d1b4e 100%);
  border: 1px solid rgba(0,245,255,0.4);
  border-radius: 8px;
  padding: 12px 16px;
  text-decoration: none !important;
  color: #f0f0f5 !important;
  transition: all 0.25s;
  box-shadow: 0 0 16px rgba(0,245,255,0.1);
}
.dlsite-inline-card:hover {
  border-color: #00f5ff;
  box-shadow: 0 0 24px rgba(0,245,255,0.4);
  transform: translateY(-2px);
}
.dlsite-inline-thumb {
  flex-shrink: 0;
  width: 100px;
  height: 75px;
  background: #0a0a0e;
  border-radius: 4px;
  overflow: hidden;
}
.dlsite-inline-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.dlsite-inline-thumb .dmm-card-noimg {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #1a1a2e 0%, #2d1b4e 100%);
}
.dlsite-inline-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}
.dlsite-inline-label {
  font-size: 0.7rem;
  color: #00f5ff;
  text-shadow: 0 0 4px rgba(0,245,255,0.4);
  letter-spacing: 0.05em;
  font-weight: 600;
}
.dlsite-inline-title {
  font-size: 0.95rem !important;
  font-weight: 600 !important;
  color: #ffffff !important;
  margin: 0 !important;
  line-height: 1.4 !important;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.dlsite-inline-cta {
  font-size: 0.75rem;
  color: #ff006e;
  font-weight: 700;
  text-shadow: 0 0 4px rgba(255,0,110,0.4);
}

/* DLsite 売れ筋ランキング 大型ネオンボタン (全記事末尾) */
.dlsite-ranking-section {
  margin: 3rem 0 2rem;
  display: flex;
  justify-content: center;
}
.dlsite-ranking-btn {
  display: flex;
  align-items: center;
  gap: 20px;
  width: 100%;
  max-width: 720px;
  padding: 24px 32px;
  background: linear-gradient(135deg, #1a1a2e 0%, #2d1b4e 50%, #1a1a2e 100%);
  border: 2px solid #00f5ff;
  border-radius: 12px;
  text-decoration: none !important;
  color: #ffffff !important;
  box-shadow:
    0 0 20px rgba(0,245,255,0.4),
    0 0 40px rgba(255,0,110,0.2),
    inset 0 0 30px rgba(0,0,0,0.4);
  transition: all 0.3s;
  position: relative;
  overflow: hidden;
}
.dlsite-ranking-btn::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent 0%, rgba(0,245,255,0.08) 50%, transparent 100%);
  transform: translateX(-100%);
  transition: transform 0.5s;
}
.dlsite-ranking-btn:hover {
  border-color: #ff006e;
  transform: translateY(-3px) scale(1.01);
  box-shadow:
    0 0 30px rgba(255,0,110,0.6),
    0 0 60px rgba(0,245,255,0.3),
    inset 0 0 30px rgba(0,0,0,0.5);
}
.dlsite-ranking-btn:hover::before {
  transform: translateX(100%);
}
.dlsite-ranking-icon {
  font-size: 2.2rem;
  filter: drop-shadow(0 0 8px rgba(0,245,255,0.6));
  flex-shrink: 0;
}
.dlsite-ranking-img {
  flex-shrink: 0;
  width: 100px;
  height: 100px;
  border-radius: 8px;
  overflow: hidden;
  background: linear-gradient(135deg, #0a0a0e 0%, #2d1b4e 100%);
  box-shadow: 0 0 16px rgba(0,245,255,0.3);
  border: 1px solid rgba(0,245,255,0.4);
}
.dlsite-ranking-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  opacity: 0.92;
  filter: drop-shadow(0 0 4px rgba(255,0,110,0.3));
}
.dlsite-ranking-btn:hover .dlsite-ranking-img {
  border-color: #ff006e;
  box-shadow: 0 0 24px rgba(255,0,110,0.5);
}
.dlsite-ranking-btn:hover .dlsite-ranking-img img {
  opacity: 1;
  transform: scale(1.05);
  transition: transform 0.3s;
}
.dlsite-ranking-text {
  display: flex;
  flex-direction: column;
  gap: 4px;
  flex: 1;
}
.dlsite-ranking-label {
  font-size: 1.1rem;
  font-weight: 800;
  color: #ffffff !important;
  text-shadow: 0 0 6px rgba(0,245,255,0.5);
  letter-spacing: 0.03em;
  line-height: 1.4;
}
.dlsite-ranking-sub {
  font-size: 0.85rem;
  color: #ff006e !important;
  text-shadow: 0 0 4px rgba(255,0,110,0.5);
  font-weight: 600;
  letter-spacing: 0.05em;
}
.hero, .hero *,
.category-hero, .category-hero *,
.site-header, .site-header *,
.site-footer, .site-footer * {
  color: revert !important;
  background-color: revert !important;
}
.hero-title { color: #c9a961 !important; }
.category-hero-overlay h1 { color: #c9a961 !important; }

/* ============================================
   Phase 8 Emergency: 全要素ライトテーマ統一・カード可視化・画像不透明化
   ============================================ */

/* Phase 9+: card もダーク統一 (ネオン繁華街) */
.card-link, .card-link:hover { color: #e8e8f0 !important; text-decoration: none !important; }
.card {
  background: linear-gradient(135deg, #1f1f2e 0%, #15151f 100%) !important;
  border: 1px solid rgba(168,85,247,0.25) !important;
  box-shadow: 0 4px 14px rgba(0,0,0,0.4) !important;
}
.card-link:hover .card {
  background: linear-gradient(135deg, #2a2a3e 0%, #1f1f2e 100%) !important;
  border-color: #ff006e !important;
  box-shadow: 0 0 24px rgba(255,0,110,0.25), 0 8px 30px rgba(0,0,0,0.5) !important;
}
.card-thumb { background: linear-gradient(135deg, #1a1a2e 0%, #2d1b4e 100%) !important; }
.card-body { color: #e8e8f0 !important; padding: 16px 18px 18px !important; }
.card .cat {
  background: linear-gradient(90deg, #ff006e 0%, #a855f7 100%) !important;
  color: #ffffff !important;
  border: none !important;
  padding: 3px 12px !important;
  font-weight: 700 !important;
  letter-spacing: 0.05em !important;
  box-shadow: 0 0 8px rgba(255,0,110,0.4) !important;
}
.card h3 { color: #ffffff !important; font-weight: 700 !important; }
.card .excerpt { color: #b8b8c8 !important; }

/* article-card もダーク統一 */
.article-card {
  background: linear-gradient(135deg, #1f1f2e 0%, #15151f 100%) !important;
  border: 1px solid rgba(0,245,255,0.25) !important;
  color: #e8e8f0 !important;
}
.article-card h3 { color: #ffffff !important; }
.article-card p { color: #b8b8c8 !important; }

/* Category card 画像 opacity を 1 へ */
.category-card { background-color: #1a1a2e !important; }
.category-card img {
  opacity: 1 !important;
}
.category-card:hover img {
  opacity: 0.95 !important;
  transform: scale(1.03);
  transition: transform 0.3s, opacity 0.3s;
}
.category-card h3 {
  color: #ffffff !important;
  background: linear-gradient(to top, rgba(0,0,0,0.92) 0%, rgba(0,0,0,0.2) 70%, transparent 100%) !important;
  text-shadow: 0 2px 8px rgba(0,0,0,0.6);
  font-weight: 700;
  padding: 1.5rem 1rem 1rem !important;
}

/* セクションタイトル */
.section-title, .categories-showcase h2 {
  color: #1a1a2e !important;
  font-weight: 700 !important;
}

/* Hero 領域はダーク維持・文字明確化 */
.hero { position: relative; }
.hero-overlay { position: relative; z-index: 2; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; }
.hero-title { color: #c9a961 !important; text-shadow: 0 2px 8px rgba(0,0,0,0.7); }
.hero-tagline {
  color: #f5f3ee !important;
  text-shadow: 0 1px 4px rgba(0,0,0,0.7);
  font-weight: 500;
}
.hero-sub {
  color: #f5f3ee !important;
  text-shadow: 0 1px 4px rgba(0,0,0,0.6);
}
.hero-cta-group .btn-primary { background: #c9a961 !important; color: #1a1a2e !important; }
.hero-cta-group .btn-secondary {
  background: rgba(255,255,255,0.95) !important;
  color: #1a1a2e !important;
  border: 1px solid #c9a961 !important;
}

/* Header / Footer */
.site-header, .site-header * { color: #f5f3ee !important; background-color: revert !important; }
.site-header { background-color: #1a1a2e !important; }
.site-header a:hover { color: #c9a961 !important; }
.site-footer { color: #f5f3ee !important; background-color: #1a1a2e !important; }
.site-footer a { color: #c9a961 !important; }

/* Phase 9+: article.post 全体ダーク化 (ネオン繁華街統一) */
article.post {
  background: linear-gradient(135deg, #1a1a2e 0%, #15151f 100%) !important;
  border: 1px solid rgba(255,0,110,0.2) !important;
  color: #f0f0f5 !important;
  padding: 32px 28px !important;
  border-radius: 8px !important;
  box-shadow: 0 0 30px rgba(255,0,110,0.08), 0 8px 32px rgba(0,0,0,0.4) !important;
}
article.post h1, article.post h2, article.post h3, article.post h4,
.article-content h1, .article-content h2, .article-content h3, .article-content h4 {
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
  font-weight: 800 !important;
  background: none !important;
}
article.post h1 {
  font-size: 1.85rem !important;
  text-shadow: 0 0 4px #ffffff, 0 0 14px rgba(255,0,110,0.7);
  padding-bottom: 0.5em !important;
  border-bottom: 2px solid rgba(255,0,110,0.6) !important;
}
article.post h2 {
  font-size: 1.4rem !important;
  background: linear-gradient(90deg, rgba(255,0,110,0.15) 0%, transparent 100%) !important;
  padding: 10px 14px 10px 16px !important;
  border-left: 5px solid #ff006e !important;
  margin: 2em 0 0.8em !important;
  text-shadow: 0 0 6px rgba(255,255,255,0.4);
  border-top: none !important;
}
article.post h3 {
  font-size: 1.15rem !important;
  border-left: 3px solid #00f5ff !important;
  padding-left: 12px !important;
  margin: 1.5em 0 0.6em !important;
  text-shadow: 0 0 4px rgba(0,245,255,0.3);
}
article.post h4 {
  font-size: 1.05rem !important;
  color: #00f5ff !important;
  -webkit-text-fill-color: #00f5ff !important;
}
article.post p, article.post li {
  color: #f0f0f5 !important;
  line-height: 1.95 !important;
  font-size: 1rem !important;
}
article.post ol, article.post ul {
  color: #f0f0f5 !important;
  padding-left: 1.6em !important;
}
article.post strong, article.post b {
  color: #00f5ff !important;
  font-weight: 700 !important;
}
article.post blockquote {
  background: linear-gradient(90deg, rgba(0,245,255,0.08) 0%, rgba(255,0,110,0.04) 100%) !important;
  border-left: 4px solid #00f5ff !important;
  color: #f0f0f5 !important;
}
article.post a { color: #00f5ff !important; border-bottom: 1px dotted rgba(0,245,255,0.4); }
article.post a:hover {
  color: #ff006e !important;
  border-bottom-color: #ff006e;
  text-shadow: 0 0 6px rgba(255,0,110,0.5);
}
article.post table { background: #1a1a2e !important; color: #e8e8f0 !important; }
article.post th { background: rgba(168,85,247,0.15) !important; color: #ffffff !important; }
article.post td { color: #e8e8f0 !important; border-color: rgba(255,255,255,0.1) !important; }
article.post code {
  background: #0a0a0e !important;
  color: #00f5ff !important;
  padding: 2px 6px !important;
  border-radius: 3px !important;
}
article.post pre {
  background: #0a0a0e !important;
  color: #e8e8f0 !important;
  padding: 14px !important;
  border-left: 3px solid #ff006e;
}

/* CTA カード内テキスト可視化 (黒背景に薄いテキストで読めない問題解消) */
.cta { margin: 1.5em 0; }
.cta a { display: block; text-decoration: none !important; }
.cta-hero, .cta-mid-card, .cta-bottom > a {
  background: linear-gradient(135deg, #1a1a2e 0%, #2d1b4e 100%) !important;
  border: 1px solid rgba(0,245,255,0.3) !important;
  border-radius: 8px !important;
  padding: 18px 20px !important;
  display: flex !important;
  gap: 16px !important;
  align-items: center !important;
  transition: all 0.25s !important;
}
.cta-hero:hover, .cta-mid-card:hover, .cta-bottom > a:hover {
  border-color: #ff006e !important;
  box-shadow: 0 0 18px rgba(255,0,110,0.4) !important;
  transform: translateY(-2px);
}
.cta-hero img, .cta-mid-card img, .cta-bottom img {
  max-width: 120px !important;
  border-radius: 4px !important;
}
.cta-body { flex: 1; }
.cta-title {
  color: #ffffff !important;
  font-weight: 700 !important;
  font-size: 1.05em !important;
  margin: 0 0 4px !important;
  text-shadow: 0 0 6px rgba(0,245,255,0.3);
}
.cta-desc {
  color: #c0c0d0 !important;
  font-size: 0.9em !important;
  margin: 0 0 8px !important;
}
.cta-btn {
  display: inline-block !important;
  background: linear-gradient(135deg, #ff006e 0%, #ff3388 100%) !important;
  color: #ffffff !important;
  padding: 8px 18px !important;
  border-radius: 4px !important;
  font-weight: 700 !important;
  box-shadow: 0 0 12px rgba(255,0,110,0.5) !important;
}
/* ジャンルから探すセクションもダーク化 */
.categories-showcase {
  background: linear-gradient(180deg, #0a0a0e 0%, #1a1a2e 100%) !important;
}
.categories-showcase h2, .section-title, .categories-showcase .section-title, body .section-title {
  color: #ffffff !important;
  text-shadow:
    0 0 4px #ffffff,
    0 0 14px rgba(255,0,110,0.95),
    0 0 28px rgba(0,245,255,0.7) !important;
  font-weight: 900 !important;
  font-size: 1.7rem !important;
  letter-spacing: 0.06em !important;
  background: none !important;
  -webkit-text-fill-color: #ffffff !important;
}
.dmm-products-title {
  color: #ffffff !important;
  text-shadow:
    0 0 4px #ffffff,
    0 0 14px rgba(255,0,110,0.95),
    0 0 28px rgba(0,245,255,0.7) !important;
  -webkit-text-fill-color: #ffffff !important;
}

/* author-box は完全非表示 (致命的 4 対策) */
.author-box { display: none !important; }

/* ============================================
   Phase 8 追加 (1942): hero 画像差し替え + アドベンチャー対策
   ============================================ */
/* hero 画像 (ネオン繁華街、新版) を表示。CSS gradient は backup として残す */
.hero-bg {
  display: block !important;
  position: absolute !important;
  inset: 0 !important;
  z-index: 0 !important;
  overflow: hidden;
}
.hero-bg img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  object-position: center bottom !important;
  opacity: 0.85 !important;
}
.hero {
  position: relative !important;
  background: linear-gradient(135deg, #0a0a0e 0%, #1a1a2e 50%, #0a0a0e 100%) !important;
  min-height: 480px;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.hero-overlay {
  position: relative !important;
  z-index: 2 !important;
  background:
    radial-gradient(ellipse at 30% 50%, rgba(0,0,0,0.75) 0%, transparent 70%),
    radial-gradient(ellipse at 100% 100%, rgba(255,0,110,0.15) 0%, transparent 50%) !important;
}
.hero-overlay {
  width: 100%;
  padding: 3rem 0;
  background: radial-gradient(ellipse at center, rgba(255,0,110,0.10) 0%, rgba(0,245,255,0.05) 40%, transparent 75%);
}

/* ============================================
   Phase 9: ネオン繁華街デザイン (20-40代男性オタク向け)
   Cyberpunk × 夜の繁華街 × アダルトVR専門サイト
   配色: 深紺 + ネオンマゼンタ #ff006e + ネオンシアン #00f5ff + ネオンパープル #a855f7
   ============================================ */

:root {
  --neon-magenta: #ff006e;
  --neon-cyan: #00f5ff;
  --neon-purple: #a855f7;
  --neon-pink: #ff3388;
  --bg-deep: #0a0a0e;
  --bg-night: #1a1a2e;
  --bg-violet: #2d1b4e;
}

/* ヘッダー: 上に細いネオンライン */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: linear-gradient(180deg, #0a0a0e 0%, #1a1a2e 100%) !important;
  border-bottom: 1px solid rgba(255,0,110,0.3);
  box-shadow: 0 2px 20px rgba(255,0,110,0.15), 0 4px 30px rgba(0,245,255,0.08);
}
.site-header::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent 0%, var(--neon-magenta) 30%, var(--neon-cyan) 70%, transparent 100%);
  opacity: 0.85;
}
.header-logo img {
  filter: drop-shadow(0 0 8px rgba(255,0,110,0.4));
}
.header-nav a:hover {
  color: var(--neon-cyan) !important;
  text-shadow: 0 0 8px rgba(0,245,255,0.6);
}

/* HERO: ネオン繁華街グラデーション + glow タイトル */
.hero {
  background:
    radial-gradient(ellipse 80% 60% at 20% 30%, rgba(255,0,110,0.18) 0%, transparent 60%),
    radial-gradient(ellipse 70% 70% at 80% 70%, rgba(0,245,255,0.15) 0%, transparent 55%),
    radial-gradient(ellipse 60% 50% at 50% 100%, rgba(168,85,247,0.20) 0%, transparent 65%),
    linear-gradient(135deg, #0a0a0e 0%, #1a1a2e 35%, #2d1b4e 70%, #0a0a0e 100%) !important;
  min-height: 480px !important;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    repeating-linear-gradient(0deg, transparent 0px, transparent 39px, rgba(0,245,255,0.04) 40px),
    repeating-linear-gradient(90deg, transparent 0px, transparent 39px, rgba(255,0,110,0.03) 40px);
  pointer-events: none;
}
.hero-title {
  color: var(--neon-magenta) !important;
  text-shadow:
    0 0 10px rgba(255,0,110,0.8),
    0 0 22px rgba(255,0,110,0.5),
    0 0 40px rgba(255,0,110,0.3);
  font-weight: 900 !important;
  letter-spacing: 0.08em;
  font-size: clamp(2.5rem, 6vw, 4.5rem) !important;
}
.hero-tagline {
  color: var(--neon-cyan) !important;
  text-shadow: 0 0 8px rgba(0,245,255,0.6), 0 0 18px rgba(0,245,255,0.3);
  font-weight: 600 !important;
  letter-spacing: 0.05em;
  margin-top: 0.5rem;
}
.hero-sub {
  color: #f0f0f5 !important;
  text-shadow: 0 1px 6px rgba(0,0,0,0.8);
  margin-top: 1rem;
  font-size: 1.05rem !important;
}
.hero-cta-group { margin-top: 1.8rem; }
.hero-cta-group .btn-primary {
  background: var(--neon-magenta) !important;
  color: #fff !important;
  border: none !important;
  font-weight: 700;
  padding: 14px 28px !important;
  box-shadow:
    0 0 12px rgba(255,0,110,0.6),
    0 0 24px rgba(255,0,110,0.4),
    inset 0 1px 0 rgba(255,255,255,0.2);
  transition: all 0.2s;
}
.hero-cta-group .btn-primary:hover {
  background: #ff3388 !important;
  box-shadow:
    0 0 18px rgba(255,0,110,0.9),
    0 0 36px rgba(255,0,110,0.6);
  transform: translateY(-2px);
}
.hero-cta-group .btn-secondary {
  background: transparent !important;
  color: var(--neon-cyan) !important;
  border: 1px solid var(--neon-cyan) !important;
  font-weight: 700;
  padding: 13px 27px !important;
  box-shadow: 0 0 10px rgba(0,245,255,0.3), inset 0 0 10px rgba(0,245,255,0.05);
  transition: all 0.2s;
}
.hero-cta-group .btn-secondary:hover {
  background: rgba(0,245,255,0.1) !important;
  box-shadow: 0 0 18px rgba(0,245,255,0.6);
  transform: translateY(-2px);
}

/* セクションタイトル: ネオン underline */
.section-title, .categories-showcase h2, .article-grid + .section-title {
  position: relative;
  color: #1a1a2e !important;
  display: inline-block;
  padding-bottom: 0.6rem !important;
  margin-bottom: 1.5rem !important;
}
.section-title::after, .categories-showcase h2::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, var(--neon-magenta), var(--neon-cyan));
  box-shadow: 0 0 8px rgba(255,0,110,0.5);
}
.categories-showcase {
  background: linear-gradient(180deg, #fafaf5 0%, #f0f0e8 100%);
  padding: 3rem 1rem !important;
  margin: 0 !important;
  max-width: 100% !important;
}

/* カテゴリカード: ネオングロー hover */
.category-card {
  background: linear-gradient(135deg, #1a1a2e 0%, #2d1b4e 100%) !important;
  border: 1px solid rgba(168,85,247,0.3) !important;
  overflow: hidden;
  position: relative;
  transition: all 0.3s;
}
.category-card::before {
  content: "";
  position: absolute;
  inset: -1px;
  background: linear-gradient(135deg, transparent 0%, var(--neon-magenta) 50%, transparent 100%);
  opacity: 0;
  transition: opacity 0.3s;
  z-index: -1;
}
.category-card:hover {
  border-color: var(--neon-magenta) !important;
  box-shadow:
    0 0 20px rgba(255,0,110,0.5),
    0 0 40px rgba(168,85,247,0.3);
  transform: translateY(-4px) scale(1.02);
}
.category-card img {
  opacity: 0.85 !important;
  transition: opacity 0.3s, transform 0.3s;
}
.category-card:hover img {
  opacity: 1 !important;
  transform: scale(1.06);
}
.category-card h3 {
  background: linear-gradient(to top, rgba(10,10,14,0.95) 0%, rgba(10,10,14,0.6) 60%, transparent 100%) !important;
  color: var(--neon-cyan) !important;
  text-shadow: 0 0 10px rgba(0,245,255,0.7), 0 2px 6px rgba(0,0,0,0.8);
  font-weight: 800 !important;
  letter-spacing: 0.08em;
}

/* 記事カード: ネオン hover */
.card {
  background: #ffffff !important;
  border: 1px solid #e0e0e8 !important;
  position: relative;
  transition: all 0.25s ease;
}
.card-link:hover .card {
  border-color: var(--neon-magenta) !important;
  box-shadow:
    0 8px 24px rgba(255,0,110,0.18),
    0 0 0 1px rgba(255,0,110,0.3);
  transform: translateY(-4px);
}
.card .cat {
  background: linear-gradient(90deg, var(--neon-magenta) 0%, var(--neon-purple) 100%) !important;
  color: #fff !important;
  border: none !important;
  padding: 3px 12px !important;
  font-weight: 700 !important;
  font-size: 11px !important;
  letter-spacing: 0.08em !important;
  box-shadow: 0 0 8px rgba(255,0,110,0.4);
}
.card h3 {
  color: #1a1a2e !important;
  font-weight: 700 !important;
  letter-spacing: 0.01em;
  transition: color 0.2s;
}
.card-link:hover .card h3 {
  color: var(--neon-magenta) !important;
}
.card-thumb { background: linear-gradient(135deg, #1a1a2e 0%, #2d1b4e 100%) !important; }

/* article-card 同様に */
.article-card {
  background: #ffffff !important;
  border: 1px solid #e0e0e8 !important;
  transition: all 0.25s;
}
.article-card:hover {
  border-color: var(--neon-cyan) !important;
  box-shadow: 0 8px 24px rgba(0,245,255,0.18), 0 0 0 1px rgba(0,245,255,0.3);
  transform: translateY(-4px);
}

/* フッター: 上ネオンライン + ダーク */
.site-footer {
  position: relative;
  background: #0a0a0e !important;
  color: #c0c0c8 !important;
  padding: 3rem 1rem !important;
  margin-top: 4rem;
}
.site-footer::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent 0%, var(--neon-cyan) 30%, var(--neon-magenta) 70%, transparent 100%);
  opacity: 0.7;
}
.site-footer a {
  color: var(--neon-cyan) !important;
  text-shadow: 0 0 4px rgba(0,245,255,0.3);
}
.site-footer a:hover {
  color: var(--neon-magenta) !important;
  text-shadow: 0 0 6px rgba(255,0,110,0.5);
}

/* 記事本文ページ: ヘッダー周りにネオン残しつつ本文は読みやすく */
article.post {
  border: 1px solid #e0e0e8 !important;
  border-top: 3px solid var(--neon-magenta) !important;
  border-radius: 6px !important;
  box-shadow: 0 4px 18px rgba(255,0,110,0.08), 0 8px 32px rgba(0,245,255,0.05);
}
article.post h1 {
  color: #1a1a2e !important;
  border-bottom: 2px solid var(--neon-magenta) !important;
  padding-bottom: 0.5em;
  text-shadow: none !important;
}
article.post h2 {
  color: #1a1a2e !important;
  border-top: none !important;
  border-left: 4px solid var(--neon-magenta) !important;
  padding-left: 12px !important;
  margin-top: 2.5em !important;
}
article.post h3 {
  color: var(--neon-purple) !important;
  border-left: 3px solid var(--neon-cyan) !important;
  padding-left: 10px !important;
}
article.post blockquote {
  border-left: 4px solid var(--neon-cyan) !important;
  background: linear-gradient(90deg, rgba(0,245,255,0.05) 0%, rgba(255,0,110,0.02) 100%) !important;
  padding: 12px 18px !important;
  margin: 1.5em 0 !important;
}
article.post a {
  color: var(--neon-magenta) !important;
  border-bottom: 1px dotted rgba(255,0,110,0.4);
  text-decoration: none !important;
}
article.post a:hover {
  color: var(--neon-purple) !important;
  border-bottom-color: var(--neon-purple);
  text-shadow: 0 0 4px rgba(168,85,247,0.4);
}
article.post code {
  background: linear-gradient(90deg, #1a1a2e 0%, #2d1b4e 100%) !important;
  color: var(--neon-cyan) !important;
  padding: 2px 6px !important;
  border-radius: 3px !important;
  font-size: 0.9em;
}

/* CTA ボタン全般 (記事内 ▶ DMM 公式へ 等) */
.cta-btn {
  background: linear-gradient(135deg, var(--neon-magenta) 0%, #ff3388 100%) !important;
  color: #fff !important;
  font-weight: 700 !important;
  box-shadow: 0 0 12px rgba(255,0,110,0.5), 0 4px 12px rgba(0,0,0,0.2) !important;
  transition: all 0.2s !important;
}
.cta-btn:hover {
  box-shadow: 0 0 20px rgba(255,0,110,0.8), 0 6px 18px rgba(0,0,0,0.3) !important;
  transform: translateY(-2px);
}

/* スクロールバー (Webkit) も夜風 */
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: #1a1a2e; }
::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, var(--neon-magenta), var(--neon-purple));
  border-radius: 5px;
}
::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(180deg, var(--neon-cyan), var(--neon-magenta));
}

/* メディアクエリ: モバイル対応 */
@media (max-width: 720px) {
  .hero { min-height: 380px !important; }
  .hero-title { font-size: clamp(2rem, 8vw, 3rem) !important; }

  /* 2026-06-04: mobile readability and tap-target tuning */
  .main {
    padding: 18px 10px 44px !important;
  }
  article.post {
    padding: 22px 16px !important;
    border-radius: 6px !important;
  }
  article.post h1 {
    font-size: 1.55rem !important;
    line-height: 1.45 !important;
    margin-bottom: 1rem !important;
  }
  article.post h2 {
    font-size: 1.28rem !important;
    line-height: 1.5 !important;
    margin-top: 2rem !important;
    padding: 9px 10px 9px 12px !important;
  }
  article.post h3 {
    font-size: 1.08rem !important;
    line-height: 1.55 !important;
  }
  article.post p,
  article.post li {
    font-size: 1rem !important;
    line-height: 1.9 !important;
  }
  article.post a[href*="al.dmm.co.jp"]:not(.cta-hero):not(.cta-mid-card):not(.cta-bottom):not(.cta-inline) {
    display: inline-flex !important;
    align-items: center;
    min-height: 44px;
    padding: 8px 12px !important;
    border-radius: 6px;
  }
  article.post table {
    display: block;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    font-size: 0.92rem !important;
    border-radius: 6px;
  }
  .related-posts {
    padding-top: 1.4rem !important;
  }
  .card-list,
  .article-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 9px !important;
  }
  .card-thumb,
  .article-card img {
    aspect-ratio: 4 / 3 !important;
  }
  .card-body,
  .article-card-body {
    padding: 8px 8px 10px !important;
  }
  .card h3,
  .card .excerpt {
    overflow-wrap: anywhere;
  }
  .card h3,
  .article-card h3 {
    font-size: 0.86rem !important;
    line-height: 1.42 !important;
    margin: 0 !important;
  }
  .card .cat,
  .card .excerpt,
  .article-card p {
    display: none !important;
  }
  .category-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 10px !important;
  }
  .category-card {
    border-radius: 6px !important;
  }
  .header-logo img {
    height: 42px !important;
  }
  .header-inner {
    padding: 0.55rem 0.75rem !important;
  }
}

/* 2026-06-07: compact vertical rhythm + tighter hero crop */
.hero {
  min-height: 420px !important;
  margin-bottom: 16px !important;
}
.hero-bg img {
  object-position: center 42% !important;
}
.hero-overlay {
  min-height: 420px !important;
  padding: 2.25rem 0 !important;
}
.hero-title {
  margin-bottom: 0.2em !important;
}
.hero-tagline {
  white-space: nowrap;
  margin-top: 0.25rem !important;
  font-size: clamp(1rem, 2.4vw, 1.25rem) !important;
}
.hero-cta-group {
  margin-top: 1.2rem !important;
}
.categories-showcase {
  padding: 2rem 1rem !important;
}
.section-title,
.categories-showcase h2,
.article-grid + .section-title {
  margin-bottom: 1rem !important;
  padding-bottom: 0.45rem !important;
}
.article-grid,
.card-list {
  margin: 1.2rem 0 !important;
  gap: 18px !important;
}
.category-grid {
  gap: 16px !important;
}
.card-body {
  padding: 12px 14px 14px !important;
}
.card .cat {
  margin-bottom: 7px !important;
}
.card h3 {
  margin-bottom: 5px !important;
}
.more-articles {
  margin: 0.6rem 0 1.8rem !important;
  text-align: center;
}
.more-articles-title {
  margin: 0 0 0.75rem !important;
  color: #1a1a2e !important;
  font-weight: 800;
  font-size: 1rem;
}
.more-articles-links {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
}
.more-articles-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 9px 14px;
  border-radius: 999px;
  background: linear-gradient(135deg, #1a1a2e 0%, #2d1b4e 100%);
  color: #fff !important;
  border: 1px solid rgba(0,245,255,0.45);
  box-shadow: 0 0 10px rgba(0,245,255,0.18);
  font-size: 0.9rem;
  font-weight: 700;
  text-decoration: none !important;
}
.more-articles-links a:hover {
  border-color: var(--neon-magenta);
  box-shadow: 0 0 16px rgba(255,0,110,0.35);
  transform: translateY(-1px);
}
article.post {
  padding: 22px 20px !important;
}
.post-eyecatch {
  margin-bottom: 18px !important;
}
article.post h1 {
  margin-bottom: 12px !important;
  padding-bottom: 0.4em !important;
}
article.post h2 {
  margin-top: 1.8em !important;
  margin-bottom: 0.55em !important;
}
article.post h3 {
  margin-top: 1.25em !important;
}
article.post p,
article.post ul,
article.post ol,
article.post blockquote,
article.post table,
.cta {
  margin-top: 0.9em !important;
  margin-bottom: 0.9em !important;
}
.site-footer {
  margin-top: 2.5rem !important;
  padding: 2rem 1rem !important;
}

@media (max-width: 720px) {
  .container {
    padding-left: 10px !important;
    padding-right: 10px !important;
  }
  .main {
    padding: 12px 8px 32px !important;
  }
  .hero {
    min-height: 300px !important;
    margin-bottom: 10px !important;
  }
  .hero-bg img {
    object-position: center 38% !important;
  }
  .hero-overlay {
    min-height: 300px !important;
    padding: 1.7rem 0 1.45rem !important;
  }
  .hero-title {
    font-size: clamp(1.8rem, 8vw, 2.6rem) !important;
  }
  .hero-tagline {
    font-size: clamp(0.9rem, 3.7vw, 1.05rem) !important;
    letter-spacing: 0 !important;
  }
  .hero-cta-group {
    margin-top: 0.9rem !important;
    gap: 8px !important;
  }
  .hero .btn {
    padding: 10px 12px !important;
    min-height: 40px !important;
    font-size: 0.88rem !important;
  }
  .categories-showcase {
    padding: 1.2rem 0.5rem !important;
  }
  .section-title,
  .categories-showcase h2,
  .article-grid + .section-title {
    margin-bottom: 0.75rem !important;
  }
  .article-grid,
  .card-list {
    margin: 0.8rem 0 !important;
    gap: 8px !important;
  }
  .category-grid {
    gap: 8px !important;
  }
  .card-thumb,
  .article-card img {
    aspect-ratio: 1200 / 630 !important;
  }
  .card-thumb img,
  .article-card img {
    object-fit: contain !important;
    object-position: center center !important;
  }
  .card-body,
  .article-card-body {
    padding: 7px 7px 8px !important;
  }
  .card h3,
  .article-card h3 {
    font-size: 0.84rem !important;
    line-height: 1.36 !important;
  }
  .more-articles {
    margin: 0.45rem 0 1.25rem !important;
  }
  .more-articles-title {
    font-size: 0.92rem !important;
    margin-bottom: 0.55rem !important;
  }
  .more-articles-links {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 7px;
  }
  .more-articles-links a {
    min-height: 38px;
    padding: 8px 6px;
    font-size: 0.82rem;
  }
  article.post {
    padding: 18px 13px !important;
  }
  article.post h1 {
    font-size: 1.42rem !important;
    line-height: 1.38 !important;
    margin-bottom: 0.7rem !important;
  }
  article.post h2 {
    margin-top: 1.45em !important;
    margin-bottom: 0.45em !important;
    padding: 7px 9px 7px 10px !important;
  }
  article.post p,
  article.post li {
    line-height: 1.78 !important;
  }
  .post-eyecatch {
    margin-bottom: 14px !important;
  }
  .site-footer {
    margin-top: 1.8rem !important;
    padding: 1.5rem 0.75rem !important;
  }
}

/* ============================================
   Premium Adult Review Article Template
   Based on VRおぢ redesign pattern C
   ============================================ */
.premium-article-page {
  --premium-bg: #07080d;
  --premium-panel: rgba(13, 17, 27, 0.86);
  --premium-line: rgba(255, 255, 255, 0.11);
  --premium-pink: #ff2f92;
  --premium-cyan: #20d9ff;
  --premium-purple: #8b5cf6;
  --premium-gold: #f6b23b;
  --premium-text: #f7f7fb;
  --premium-muted: #a6adbb;
  background:
    radial-gradient(circle at 74% 12%, rgba(32, 217, 255, 0.13), transparent 34%),
    radial-gradient(circle at 12% 26%, rgba(255, 47, 146, 0.12), transparent 32%),
    linear-gradient(180deg, #05060a 0%, #080b12 52%, #07080d 100%);
  color: var(--premium-text);
  min-height: 100vh;
  padding: 18px 0 42px;
}
.premium-article-page .container { max-width: 1380px; }
.premium-article-page > .container,
.premium-article-page .premium-layout.container,
.premium-article-page .premium-hero.container,
.premium-article-page .premium-breadcrumb.container {
  max-width: 1180px;
}
.premium-breadcrumb {
  display: flex;
  gap: 9px;
  align-items: center;
  color: var(--premium-muted);
  font-size: 13px;
  margin-bottom: 14px;
}
.premium-breadcrumb a { color: #f765b1; }
.premium-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(340px, 460px);
  gap: 20px;
  align-items: start;
  margin-bottom: 14px;
}
.premium-hero-copy,
.premium-hero-visual,
.premium-summary-card,
.premium-toc,
.premium-commerce,
.premium-side-box,
.premium-post,
.premium-r18 {
  border: 1px solid var(--premium-line);
  background: linear-gradient(180deg, rgba(17, 23, 36, 0.94), rgba(8, 11, 18, 0.9));
  box-shadow: 0 18px 60px rgba(0,0,0,0.35), inset 0 1px 0 rgba(255,255,255,0.04);
}
.premium-hero-copy {
  padding: 30px 30px 24px;
  border-radius: 14px;
  position: relative;
  overflow: hidden;
}
.premium-hero-copy::before {
  content: "";
  position: absolute;
  left: 0; top: 28px; bottom: 28px;
  width: 4px;
  background: linear-gradient(180deg, var(--premium-pink), var(--premium-cyan));
  box-shadow: 0 0 24px rgba(255, 47, 146, 0.8);
}
.premium-labels {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 14px;
}
.premium-labels span {
  color: #fff;
  background: rgba(255,47,146,0.15);
  border: 1px solid rgba(255,47,146,0.42);
  border-radius: 999px;
  padding: 5px 12px;
  font-size: 12px;
  font-weight: 800;
}
.premium-labels span:first-child { background: var(--premium-pink); }
.premium-hero h1 {
  color: #fff;
  font-size: clamp(30px, 3.5vw, 46px);
  line-height: 1.22;
  margin: 0 0 14px;
  letter-spacing: 0;
  text-shadow: 0 0 30px rgba(255,47,146,0.12);
}
.premium-hero-copy p {
  color: #d6dbe5;
  max-width: 680px;
  font-size: 15px;
  line-height: 1.8;
  margin: 0 0 14px;
}
.premium-trust-row,
.premium-meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.premium-trust-badge,
.premium-meta-row span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 34px;
  padding: 6px 12px;
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: 999px;
  background: rgba(4, 7, 13, 0.62);
  color: #dce4f2;
  font-size: 13px;
}
.premium-trust-badge::before {
  content: "";
  width: 9px; height: 9px;
  border-radius: 999px;
  background: var(--premium-cyan);
  box-shadow: 0 0 14px currentColor;
}
.premium-trust-badge.is-image::before { background: #53f06d; }
.premium-trust-badge.is-review::before { background: #9f78ff; }
.premium-trust-badge.is-dlsite::before,
.premium-trust-badge.is-fanza::before { background: var(--premium-gold); }
.premium-meta-row { margin-top: 18px; color: var(--premium-muted); }
.premium-disclosure {
  border: 1px solid rgba(246, 178, 59, 0.42);
  background: linear-gradient(180deg, rgba(246, 178, 59, 0.12), rgba(246, 178, 59, 0.045));
  border-radius: 10px;
  padding: 13px 16px;
  margin: 0 auto 16px;
  color: #f4dfb5;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.04);
}
.premium-disclosure strong {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 2px 9px;
  margin-right: 8px;
  border-radius: 999px;
  background: rgba(246, 178, 59, 0.2);
  color: #ffd78a;
  font-size: 12px;
}
.premium-disclosure p {
  margin: 0;
  font-size: 13px;
  line-height: 1.75;
}
.premium-hero-visual {
  position: relative;
  overflow: hidden;
  border-radius: 14px;
  align-self: start;
  aspect-ratio: 16 / 9;
  min-height: 0;
  background: #05060a;
}
.premium-hero-visual img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}
.premium-hero-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  border: 1px solid rgba(255,47,146,0.46);
  box-shadow: inset 0 0 36px rgba(255,47,146,0.18);
  pointer-events: none;
}
.premium-hero-visual span {
  position: absolute;
  top: 0; right: 0;
  background: linear-gradient(135deg, var(--premium-pink), #a855f7);
  color: #fff;
  padding: 10px 34px;
  font-size: 13px;
  font-weight: 900;
  transform: translate(28px, 18px) rotate(45deg);
  box-shadow: 0 0 24px rgba(255,47,146,0.45);
}
.premium-layout {
  display: grid;
  grid-template-columns: minmax(0, 760px) 300px;
  gap: 20px;
  align-items: start;
  justify-content: center;
}
.premium-toc,
.premium-commerce {
  position: sticky;
  top: 94px;
  border-radius: 13px;
}
.premium-toc { display: none; }
.premium-panel-title {
  color: #fff;
  font-size: 15px;
  font-weight: 900;
  margin-bottom: 12px;
}
.premium-panel-title.small { font-size: 14px; margin-bottom: 10px; }
.premium-toc-link {
  display: grid;
  grid-template-columns: 24px 1fr;
  gap: 8px;
  color: #dce4f2;
  border-left: 2px solid transparent;
  padding: 9px 8px;
  border-radius: 8px;
  font-size: 13px;
  line-height: 1.45;
}
.premium-toc-link:hover {
  color: #fff;
  background: rgba(255,47,146,0.12);
  border-left-color: var(--premium-pink);
  text-decoration: none;
}
.premium-toc-link span { color: var(--premium-pink); font-weight: 800; }
.premium-toc-link.is-child { padding-left: 18px; color: var(--premium-muted); }
.premium-toc-close {
  width: 100%;
  margin-top: 12px;
  border: 1px solid rgba(255,255,255,0.14);
  background: rgba(255,255,255,0.04);
  color: #dce4f2;
  border-radius: 999px;
  padding: 9px;
}
.premium-main { min-width: 0; }
.premium-summary-card {
  border-radius: 13px;
  padding: 18px 18px 16px;
  margin-bottom: 14px;
}
.premium-summary-card h2 {
  margin: 0 0 8px;
  color: #fff;
  border: 0;
  padding: 0;
  font-size: 22px;
}
.premium-summary-card > p { color: #d6dbe5; margin: 0 0 14px; line-height: 1.8; }
.premium-axis {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
}
.premium-axis article {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 92% 12%, rgba(255,47,146,0.18), transparent 34%),
    linear-gradient(180deg, rgba(20,27,43,0.96), rgba(8,11,18,0.94));
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 12px;
  padding: 12px;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.05), 0 12px 34px rgba(0,0,0,0.22);
}
.premium-axis article::before {
  content: "";
  position: absolute;
  left: 16px; right: 16px; top: 46px;
  height: 2px;
  background: linear-gradient(90deg, var(--premium-pink), transparent);
  opacity: 0.9;
}
.premium-axis span {
  display: inline-grid;
  place-items: center;
  min-width: 30px;
  height: 24px;
  border-radius: 999px;
  background: rgba(255,47,146,0.14);
  border: 1px solid rgba(255,47,146,0.38);
  color: #ff5faf;
  font-size: 12px;
  font-weight: 900;
}
.premium-axis h3 { color: #fff; margin: 10px 0 0; font-size: 14px; line-height: 1.45; }
.premium-axis p { display: none; }
.premium-axis a {
  display: none;
  text-align: center;
  border: 1px solid rgba(32,217,255,0.28);
  background: rgba(0,0,0,0.18);
  border-radius: 7px;
  color: #fff;
  padding: 7px;
  font-size: 13px;
}
article.post.premium-post {
  border-radius: 13px;
  padding: 26px 28px;
  background: rgba(12, 16, 26, 0.92) !important;
}
article.post.premium-post h2 {
  color: #fff !important;
  border-top: 0;
  border-left: 5px solid var(--premium-pink);
  padding: 0 0 0 14px;
  margin-top: 30px;
  font-size: 1.35rem;
}
article.post.premium-post h3 { color: #fff !important; }
article.post.premium-post p,
article.post.premium-post li {
  color: #e7eaf2 !important;
  line-height: 1.9;
  font-size: 1rem;
}
article.post.premium-post blockquote {
  border-left-color: var(--premium-pink) !important;
  background: rgba(255,47,146,0.09) !important;
}
article.post.premium-post img {
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.12);
}
.premium-commerce { padding: 14px; }
.premium-product-card {
  position: relative;
  overflow: hidden;
  border-radius: 13px;
  border: 1px solid rgba(255,47,146,0.68);
  background: rgba(8,10,16,0.9);
  box-shadow: 0 0 32px rgba(255,47,146,0.14);
}
.premium-product-ribbon {
  position: absolute;
  z-index: 2;
  top: 14px; left: 14px;
  background: var(--premium-pink);
  color: #fff;
  border-radius: 8px;
  padding: 6px 11px;
  font-size: 12px;
  font-weight: 900;
}
.premium-product-card > img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  display: block;
  background: #05060a;
}
.premium-product-body { padding: 15px; }
.premium-rating {
  display: flex;
  justify-content: space-between;
  color: var(--premium-gold);
  font-size: 13px;
  margin-bottom: 8px;
}
.premium-rating span { color: var(--premium-muted); }
.premium-product-body h3 {
  color: #fff;
  margin: 0 0 10px;
  font-size: 16px;
  line-height: 1.55;
}
.premium-product-tags {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 12px;
}
.premium-product-tags span,
.premium-tags a {
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: 999px;
  color: #dce4f2;
  padding: 5px 10px;
  font-size: 12px;
}
.premium-score-list {
  list-style: none;
  padding: 0;
  margin: 10px 0 14px;
}
.premium-score-list li {
  display: flex;
  justify-content: space-between;
  color: #dce4f2;
  font-size: 13px;
  margin: 7px 0;
}
.premium-score-list b { color: #ff6eb8; letter-spacing: 1px; }
.premium-price {
  text-align: right;
  color: #fff;
  font-size: 22px;
  font-weight: 900;
  margin: 6px 0 12px;
}
.premium-cta {
  display: block;
  text-align: center;
  border-radius: 8px;
  padding: 12px 14px;
  margin-top: 9px;
  font-weight: 900;
}
.premium-cta.primary {
  background: linear-gradient(90deg, var(--premium-pink), #ff4fb0);
  color: #fff !important;
  box-shadow: 0 0 20px rgba(255,47,146,0.24);
}
.premium-cta.ghost {
  border: 1px solid rgba(255,255,255,0.18);
  color: #fff !important;
}
.premium-side-box {
  border-radius: 13px;
  padding: 14px;
  margin-top: 14px;
}
.premium-mini-product {
  display: grid;
  grid-template-columns: 54px 1fr;
  gap: 10px;
  align-items: center;
  color: #fff;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.premium-mini-product img {
  width: 54px;
  height: 54px;
  object-fit: cover;
  border-radius: 8px;
}
.premium-mini-product span {
  font-size: 12px;
  line-height: 1.5;
}
.premium-side-note { color: var(--premium-muted); font-size: 13px; }
.premium-tags {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.premium-tags a:hover { border-color: var(--premium-pink); text-decoration: none; }
.premium-article-page .related-posts {
  max-width: none;
  padding: 0;
  margin: 20px 0 0;
}
.premium-r18 {
  margin-top: 22px;
  border-radius: 12px;
  padding: 16px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 16px;
  align-items: center;
}
.premium-r18 strong {
  color: var(--premium-pink);
  border: 1px solid var(--premium-pink);
  padding: 10px;
  border-radius: 4px;
  font-size: 22px;
}
.premium-r18 p {
  color: var(--premium-muted);
  margin: 0;
  font-size: 13px;
  line-height: 1.7;
}
.premium-r18 a {
  border: 1px solid rgba(255,47,146,0.55);
  color: #fff;
  border-radius: 8px;
  padding: 11px 14px;
}
.premium-category-page {
  --premium-panel: rgba(13, 17, 27, 0.88);
  --premium-line: rgba(255, 255, 255, 0.11);
  --premium-pink: #ff2f92;
  --premium-cyan: #20d9ff;
  --premium-purple: #8b5cf6;
  --premium-text: #f7f7fb;
  --premium-muted: #a6adbb;
  background:
    radial-gradient(circle at 78% 8%, rgba(32, 217, 255, 0.13), transparent 32%),
    radial-gradient(circle at 10% 22%, rgba(255, 47, 146, 0.14), transparent 34%),
    linear-gradient(180deg, #05060a 0%, #080b12 54%, #07080d 100%);
  color: var(--premium-text);
  padding: 18px 0 52px;
}
.premium-category-page .container { max-width: 1380px; }
.premium-category-hero {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(420px, 1.1fr);
  gap: 24px;
  align-items: stretch;
  margin-top: 18px;
}
.premium-category-copy,
.premium-category-visual,
.premium-category-strategy article,
.premium-category-articles,
.premium-category-page .article-card {
  border: 1px solid var(--premium-line);
  background: linear-gradient(180deg, rgba(17, 23, 36, 0.95), rgba(8, 11, 18, 0.91));
  box-shadow: 0 18px 60px rgba(0,0,0,0.34), inset 0 1px 0 rgba(255,255,255,0.04);
}
.premium-category-copy {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  padding: 36px 34px;
}
.premium-category-copy::before {
  content: "";
  position: absolute;
  inset: 28px auto 28px 0;
  width: 5px;
  background: linear-gradient(180deg, var(--premium-pink), var(--premium-cyan));
}
.premium-category-copy h1 {
  position: relative;
  z-index: 1;
  margin: 28px 0 18px;
  color: #fff;
  font-size: clamp(2.5rem, 5vw, 5.4rem);
  line-height: 1.06;
  letter-spacing: 0;
}
.premium-category-copy p {
  position: relative;
  z-index: 1;
  max-width: 620px;
  color: #e4e8f3;
  font-size: 1.08rem;
  line-height: 1.9;
  margin: 0;
}
.premium-category-visual {
  overflow: hidden;
  border-radius: 12px;
  border-color: rgba(255, 47, 146, 0.34);
  background: #05070d;
}
.premium-category-visual img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 330px;
  object-fit: contain;
}
.premium-category-nav {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}
.premium-category-chip {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.13);
  background: rgba(255,255,255,0.045);
  color: #fff !important;
  font-weight: 900;
  text-decoration: none !important;
}
.premium-category-chip:hover,
.premium-category-chip.is-current {
  border-color: rgba(255, 47, 146, 0.8);
  background: rgba(255, 47, 146, 0.16);
  box-shadow: 0 0 22px rgba(255, 47, 146, 0.18);
}
.premium-category-strategy {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 22px;
}
.premium-category-strategy article {
  border-radius: 12px;
  padding: 22px;
}
.premium-category-strategy span {
  color: var(--premium-pink);
  font-weight: 1000;
  font-size: 0.85rem;
}
.premium-category-strategy h2 {
  margin: 8px 0 8px;
  color: #fff;
  font-size: 1.1rem;
  letter-spacing: 0;
}
.premium-category-strategy p {
  margin: 0;
  color: var(--premium-muted);
  line-height: 1.75;
}
.premium-category-articles {
  margin-top: 22px;
  border-radius: 14px;
  padding: 24px;
}
.premium-section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 18px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  padding-bottom: 16px;
}
.premium-section-head p {
  margin: 0;
  color: var(--premium-pink);
  font-weight: 1000;
  letter-spacing: 0.08em;
}
.premium-section-head h2 {
  margin: 0 auto 0 0;
  color: #fff;
  font-size: clamp(1.55rem, 3vw, 2.5rem);
  letter-spacing: 0;
}
.premium-section-head span {
  color: var(--premium-muted);
  font-weight: 900;
}
.premium-category-grid { gap: 18px; }
.premium-category-page .article-card {
  overflow: hidden;
  border-radius: 12px;
  background: linear-gradient(180deg, rgba(17, 23, 36, 0.95), rgba(8, 11, 18, 0.91)) !important;
  color: #fff !important;
  text-decoration: none !important;
  transition: transform 0.16s ease, border-color 0.16s ease, box-shadow 0.16s ease;
}
.premium-category-page .article-card:hover {
  transform: translateY(-3px);
  border-color: rgba(32, 217, 255, 0.5);
  box-shadow: 0 22px 58px rgba(0,0,0,0.42), 0 0 28px rgba(32, 217, 255, 0.12);
}
.premium-category-page .article-card img {
  aspect-ratio: 1200 / 630;
  width: 100%;
  height: auto;
  object-fit: cover;
  background: #05070d;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.premium-category-page .article-card-body {
  padding: 16px 16px 18px;
  background: rgba(8, 11, 18, 0.96) !important;
}
.premium-category-page .article-card h3 {
  margin: 0 0 10px;
  color: #fff !important;
  font-size: 1.05rem;
  line-height: 1.55;
  letter-spacing: 0;
}
.premium-category-page .article-card p {
  color: var(--premium-muted) !important;
  line-height: 1.7;
  margin: 0;
}
.premium-empty {
  grid-column: 1 / -1;
  color: var(--premium-muted);
  margin: 0;
  padding: 28px;
  border: 1px dashed rgba(255,255,255,0.14);
  border-radius: 12px;
}
@media (max-width: 1180px) {
  .premium-layout { grid-template-columns: minmax(0, 1fr) 300px; }
  .premium-toc { display: none; }
  .premium-category-hero { grid-template-columns: 1fr; }
  .premium-category-strategy { grid-template-columns: 1fr; }
}
@media (max-width: 900px) {
  .premium-hero { grid-template-columns: 1fr; }
  .premium-layout { grid-template-columns: 1fr; }
  .premium-main { order: 1; }
  .premium-commerce { position: static; order: 2; }
  .premium-axis { grid-template-columns: 1fr 1fr; }
  .premium-r18 { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  html,
  body {
    overflow-x: hidden;
  }
  .main.container {
    max-width: 100% !important;
    padding-left: 8px !important;
    padding-right: 8px !important;
  }
  .premium-article-page { padding-top: 10px; }
  .premium-article-page,
  .premium-article-page * {
    box-sizing: border-box;
  }
  .premium-article-page {
    width: 100%;
    max-width: 100vw;
    overflow-x: hidden;
  }
  .premium-article-page > .container,
  .premium-article-page .container {
    width: 100%;
    max-width: 100% !important;
    padding-left: 10px !important;
    padding-right: 10px !important;
  }
  .premium-hero,
  .premium-layout,
  .premium-main,
  .premium-hero-copy,
  .premium-hero-visual,
  .premium-disclosure,
  .premium-summary-card,
  .premium-post,
  .premium-commerce,
  .premium-side-box {
    min-width: 0;
    max-width: 100%;
  }
  .premium-hero,
  .premium-layout {
    display: block !important;
    width: 100% !important;
  }
  .premium-hero-copy,
  .premium-hero-visual,
  .premium-disclosure,
  .premium-summary-card,
  .premium-post,
  .premium-commerce {
    width: 100% !important;
    margin-left: auto;
    margin-right: auto;
  }
  .premium-breadcrumb { overflow-x: auto; white-space: nowrap; }
  .premium-hero { gap: 10px; margin-bottom: 10px; }
  .premium-hero-copy { padding: 18px 12px; border-radius: 10px; overflow: visible; }
  .premium-labels { gap: 6px; margin-bottom: 10px; }
  .premium-labels span { padding: 4px 9px; font-size: 11px; }
  .premium-hero h1 {
    display: block;
    width: 100%;
    max-width: 100%;
    white-space: normal !important;
    font-size: clamp(1.25rem, 5.6vw, 1.54rem);
    line-height: 1.28;
    margin-bottom: 10px;
    overflow-wrap: anywhere;
    word-break: break-all;
    line-break: anywhere;
  }
  .premium-hero-copy p {
    width: 100%;
    max-width: 100%;
    white-space: normal !important;
    font-size: 0.92rem;
    line-height: 1.75;
    overflow-wrap: anywhere;
    word-break: break-all;
    line-break: anywhere;
  }
  .premium-hero-visual { min-height: 0; margin-top: 10px; }
  .premium-hero-visual img { width: 100%; max-width: 100%; }
  .premium-hero-visual span { display: none; }
  .premium-disclosure { margin-bottom: 10px; padding: 11px 12px; }
  .premium-disclosure strong { display: inline-flex; margin-bottom: 6px; }
  .premium-disclosure p { font-size: 0.86rem; line-height: 1.7; }
  article.post.premium-post { padding: 20px 15px; border-radius: 10px; overflow-wrap: anywhere; word-break: break-all; }
  article.post.premium-post h2 { font-size: 1.18rem; line-height: 1.45; margin-top: 24px; }
  article.post.premium-post p,
  article.post.premium-post li { font-size: 0.96rem; line-height: 1.85; }
  .premium-summary-card { padding: 15px 13px; margin-bottom: 10px; }
  .premium-summary-card h2 { font-size: 1.1rem; }
  .premium-summary-card > p { font-size: 0.94rem; }
  .premium-axis { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 7px; }
  .premium-axis article { padding: 10px; border-radius: 9px; }
  .premium-axis article::before { display: none; }
  .premium-axis span { min-width: 24px; height: 20px; font-size: 10px; }
  .premium-axis h3 { margin-top: 7px; font-size: 0.86rem; }
  .premium-meta-row { margin-top: 10px; gap: 7px; }
  .premium-trust-row,
  .premium-meta-row {
    display: grid;
    grid-template-columns: 1fr;
    gap: 7px;
  }
  .premium-meta-row span,
  .premium-trust-badge {
    min-height: 30px;
    max-width: 100%;
    width: 100%;
    flex: 1 1 100%;
    padding: 5px 9px;
    font-size: 0.78rem;
    white-space: normal;
    overflow-wrap: anywhere;
  }
  .premium-commerce { padding: 10px; border-radius: 10px; }
  .premium-product-card > img { aspect-ratio: 2 / 1; }
  .premium-product-body { padding: 12px; }
  .premium-score-list { display: none; }
  .premium-side-box { padding: 12px; margin-top: 10px; }
  .premium-category-page { padding-top: 8px; }
  .premium-category-hero { gap: 12px; }
  .premium-category-copy { padding: 24px 18px; }
  .premium-category-copy h1 { font-size: clamp(2rem, 12vw, 3.4rem); }
  .premium-category-copy p { font-size: 0.98rem; }
  .premium-category-visual img { min-height: 220px; }
  .premium-category-nav { gap: 7px; }
  .premium-category-chip { min-height: 34px; padding: 7px 10px; font-size: 0.84rem; }
  .premium-category-strategy { gap: 10px; margin-top: 12px; }
  .premium-category-strategy article { padding: 16px; }
  .premium-category-articles { margin-top: 12px; padding: 14px; }
  .premium-section-head { display: block; }
  .premium-section-head p { margin-bottom: 5px; }
  .premium-section-head span { display: inline-block; margin-top: 6px; }
  .premium-category-grid { gap: 10px; }
}
