/* =============================================
   AV女優ナビ — Dark Pink Theme
   ============================================= */

:root {
  --pink:   #e91e8c;
  --pink-d: #c4167a;
  --bg:     #0f0f0f;
  --bg2:    #1a1a1a;
  --bg3:    #242424;
  --border: #2e2e2e;
  --text:   #e8e8e8;
  --muted:  #888;
  --white:  #ffffff;
  --radius: 10px;
}

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

body {
  font-family: 'Noto Sans JP', 'Hiragino Sans', 'Yu Gothic', sans-serif;
  background: var(--bg);
  color: var(--text);
  font-size: 15px;
  line-height: 1.8;
}

a { color: var(--pink); text-decoration: none; }
a:hover { opacity: .8; }

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

/* ======= Header ======= */
.site-header {
  background: #080808;
  border-bottom: 2px solid var(--pink);
  position: sticky;
  top: 0;
  z-index: 100;
}
.header-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.site-logo .name {
  font-size: 20px;
  font-weight: 900;
  color: var(--white);
  letter-spacing: .05em;
}
.site-logo .name span { color: var(--pink); }
.site-logo .tagline {
  display: block;
  font-size: 10px;
  color: var(--muted);
  margin-top: -2px;
}
.site-nav { list-style: none; display: flex; gap: 20px; }
.site-nav a { color: var(--text); font-size: 13px; font-weight: 600; position: relative; }
.site-nav a::after { content: ''; position: absolute; bottom: -2px; left: 0; width: 0; height: 2px; background: var(--pink); transition: width .2s; }
.site-nav a:hover { color: var(--pink); }
.site-nav a:hover::after { width: 100%; }

/* ======= Hero Banner ======= */
.hero-banner {
  background: linear-gradient(135deg, #1a0a14 0%, #0f0f0f 60%);
  border-bottom: 1px solid var(--border);
  padding: 40px 20px;
  text-align: center;
}
.hero-banner h1 {
  font-size: clamp(22px, 4vw, 36px);
  font-weight: 900;
  color: var(--white);
  margin-bottom: 8px;
}
.hero-banner h1 span { color: var(--pink); }
.hero-banner p { color: var(--muted); font-size: 13px; }

/* ======= Wrapper ======= */
.home-wrapper {
  max-width: 1100px;
  margin: 40px auto;
  padding: 0 20px;
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: 40px;
}

/* ======= Section Heading ======= */
.section-heading {
  font-size: 17px;
  font-weight: 800;
  color: var(--white);
  border-left: 4px solid var(--pink);
  padding-left: 12px;
  margin-bottom: 20px;
}

/* ======= Post Card Grid ======= */
.post-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 20px;
  margin-bottom: 40px;
}
.post-card {
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  display: block;
  color: var(--text);
  transition: transform .2s, border-color .2s, box-shadow .2s;
}
.post-card:hover {
  transform: translateY(-4px);
  border-color: var(--pink);
  color: var(--text);
  box-shadow: 0 8px 32px rgba(233,30,140,0.18);
}
.post-card-thumb {
  height: 140px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 48px;
  background: linear-gradient(135deg, #2a0a1e 0%, #1a1a2e 100%);
}
.post-card-body { padding: 16px; }
.post-card-cat {
  font-size: 10px;
  font-weight: 700;
  background: var(--pink);
  color: var(--white);
  padding: 2px 8px;
  border-radius: 20px;
  display: inline-block;
  margin-bottom: 8px;
}
.post-card-title {
  font-size: 14px;
  font-weight: 700;
  color: var(--white);
  line-height: 1.5;
  margin-bottom: 6px;
}
.post-card-excerpt {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.6;
  margin-bottom: 8px;
}
.post-card-meta { font-size: 11px; color: var(--muted); }

/* ======= Sidebar ======= */
.sidebar { display: flex; flex-direction: column; gap: 24px; }

.sidebar-widget {
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}
.widget-title {
  background: var(--pink);
  color: var(--white);
  font-size: 13px;
  font-weight: 700;
  padding: 8px 14px;
}
.widget-body { padding: 14px; }

.related-list { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.related-list li { font-size: 13px; border-bottom: 1px solid var(--border); padding-bottom: 8px; }
.related-list li:last-child { border-bottom: none; padding-bottom: 0; }
.related-list a { color: var(--text); }
.related-list a:hover { color: var(--pink); }

.popular-list { counter-reset: rank; }
.rank {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  font-size: 11px;
  font-weight: 700;
  margin-right: 6px;
  color: var(--white);
  flex-shrink: 0;
}
.rank-1 { background: #e5a100; }
.rank-2 { background: #888; }
.rank-3 { background: #a0522d; }

.tag-cloud { display: flex; flex-wrap: wrap; gap: 6px; }
.tag-cloud a {
  font-size: 11px;
  background: var(--bg3);
  border: 1px solid var(--border);
  color: var(--muted);
  padding: 3px 10px;
  border-radius: 20px;
}
.tag-cloud a:hover { border-color: var(--pink); color: var(--pink); }

/* ======= Sidebar CTA Banner ======= */
.sidebar-cta-banner {
  background: linear-gradient(135deg, #1a0a14, #0f0f20);
  border: 1px solid var(--pink);
  border-radius: var(--radius);
  padding: 16px;
  text-align: center;
  font-size: 13px;
  color: var(--text);
  line-height: 1.7;
}
.btn-sidebar-cta {
  display: block;
  margin-top: 12px;
  background: var(--pink);
  color: var(--white);
  font-size: 13px;
  font-weight: 700;
  padding: 10px 16px;
  border-radius: 6px;
  text-align: center;
}
.btn-sidebar-cta:hover { background: var(--pink-d); opacity: 1; color: var(--white); }

/* ======= 2-col Article Layout ======= */
.wrapper {
  max-width: 1100px;
  margin: 40px auto;
  padding: 0 20px;
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: 40px;
}

/* ======= Article ======= */
.article-header { margin-bottom: 28px; }
.article-category {
  font-size: 11px;
  font-weight: 700;
  background: var(--pink);
  color: var(--white);
  padding: 3px 10px;
  border-radius: 20px;
  display: inline-block;
  margin-bottom: 12px;
}
.article-title {
  font-size: clamp(20px, 3vw, 28px);
  font-weight: 900;
  color: var(--white);
  line-height: 1.4;
  margin-bottom: 12px;
}
.article-meta {
  display: flex;
  gap: 16px;
  font-size: 12px;
  color: var(--muted);
  flex-wrap: wrap;
}
.eyecatch {
  background: linear-gradient(135deg, #2a0a1e, #1a0a2a);
  border: 1px solid var(--pink);
  border-radius: var(--radius);
  padding: 32px;
  text-align: center;
  font-size: 36px;
  margin-top: 16px;
}

/* ======= Article Body ======= */
.article-body { line-height: 1.9; }

.article-body h2 {
  font-size: 20px;
  font-weight: 800;
  color: var(--white);
  border-left: 4px solid var(--pink);
  padding-left: 12px;
  margin: 36px 0 16px;
}
.article-body h3 {
  font-size: 16px;
  font-weight: 700;
  color: var(--white);
  border-bottom: 1px solid var(--border);
  padding-bottom: 6px;
  margin: 24px 0 12px;
}
.article-body p { margin-bottom: 14px; color: var(--text); }

.article-body ul, .article-body ol {
  padding-left: 20px;
  margin-bottom: 14px;
  color: var(--text);
}
.article-body li { margin-bottom: 6px; }

/* ======= Summary Box ======= */
.summary-box {
  background: var(--bg2);
  border: 1px solid var(--border);
  border-left: 4px solid var(--pink);
  border-radius: var(--radius);
  padding: 18px 20px;
  margin-bottom: 24px;
  font-size: 14px;
  color: var(--text);
  line-height: 1.9;
}

/* ======= TOC ======= */
.toc {
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px 20px;
  margin-bottom: 28px;
}
.toc-title {
  font-weight: 700;
  font-size: 14px;
  color: var(--white);
  margin-bottom: 10px;
}
.toc ol { padding-left: 18px; }
.toc li { font-size: 13px; margin-bottom: 4px; }
.toc a { color: var(--pink); }

/* ======= Card Grid ======= */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 16px;
  margin-bottom: 20px;
}
.card {
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px;
  display: flex;
  gap: 12px;
  align-items: flex-start;
}
.card-icon { font-size: 28px; flex-shrink: 0; }
.card-body { display: flex; flex-direction: column; gap: 4px; font-size: 13px; }
.card-body strong { font-size: 14px; color: var(--white); }
.card-body span { color: var(--muted); line-height: 1.5; }

/* ======= CTA Box ======= */
.cta-box {
  background: linear-gradient(135deg, #1a0a14, #1a0a2a);
  border: 2px solid var(--pink);
  border-radius: var(--radius);
  padding: 24px;
  text-align: center;
  margin: 32px 0;
}
.cta-box p { font-size: 14px; margin-bottom: 14px; }
.btn-cta {
  display: inline-block;
  background: var(--pink);
  color: var(--white);
  font-size: 15px;
  font-weight: 700;
  padding: 13px 28px;
  border-radius: 8px;
  transition: background .2s, transform .2s;
}
.btn-cta:hover { background: var(--pink-d); opacity: 1; color: var(--white); transform: translateY(-1px); }
.btn-cta:active { transform: translateY(0); }
.btn-cta.large { font-size: 17px; padding: 15px 36px; }

/* ======= Steps ======= */
.steps { display: flex; flex-direction: column; gap: 16px; margin: 20px 0; }
.step {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px;
}
.step-num {
  background: var(--pink);
  color: var(--white);
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 14px;
  flex-shrink: 0;
}
.step-body strong { display: block; font-size: 15px; color: var(--white); margin-bottom: 4px; }
.step-body p { font-size: 13px; color: var(--muted); margin: 0; }

/* ======= Tips List ======= */
.tips-list { list-style: none; padding: 0; margin-bottom: 20px; }
.tips-list li {
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 12px 16px;
  margin-bottom: 10px;
  font-size: 14px;
}

/* ======= Actress Profile Card ======= */
.actress-profile {
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
  display: flex;
  gap: 20px;
  align-items: flex-start;
  margin-bottom: 24px;
}
.actress-avatar {
  font-size: 60px;
  flex-shrink: 0;
  width: 90px;
  height: 90px;
  background: linear-gradient(135deg, #2a0a1e, #1a0a2a);
  border: 2px solid var(--pink);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.actress-info h3 {
  font-size: 20px;
  font-weight: 900;
  color: var(--white);
  border: none;
  padding: 0;
  margin: 0 0 4px;
}
.actress-info .ruby { font-size: 12px; color: var(--muted); margin-bottom: 8px; }
.actress-info .tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.actress-info .tag {
  font-size: 11px;
  background: var(--bg3);
  border: 1px solid var(--pink);
  color: var(--pink);
  padding: 2px 8px;
  border-radius: 20px;
}

/* ======= Video Embed ======= */
.video-embed-box {
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
  margin-bottom: 20px;
  text-align: center;
}
.video-embed-box .video-label {
  font-size: 12px;
  color: var(--pink);
  font-weight: 700;
  margin-bottom: 10px;
  display: block;
}
.video-placeholder {
  background: #0a0a0a;
  border: 2px dashed var(--border);
  border-radius: 8px;
  height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  color: var(--muted);
  flex-direction: column;
  gap: 8px;
}

/* ======= Work Cards ======= */
.work-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 16px;
  margin-bottom: 20px;
}
.work-card {
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform .2s, box-shadow .2s, border-color .2s;
}
.work-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(233,30,140,0.15);
  border-color: var(--pink);
}
.work-card-thumb {
  height: 120px;
  background: linear-gradient(135deg, #2a0a1e, #1a0a2a);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 36px;
  border-bottom: 1px solid var(--border);
}
.work-card-body { padding: 12px; }
.work-card-body .work-title {
  font-size: 13px;
  font-weight: 700;
  color: var(--white);
  line-height: 1.4;
  margin-bottom: 8px;
}
.work-card-body .work-price {
  font-size: 12px;
  color: var(--pink);
  font-weight: 700;
  margin-bottom: 8px;
}
.btn-work {
  display: block;
  background: var(--pink);
  color: var(--white);
  font-size: 12px;
  font-weight: 700;
  padding: 7px 12px;
  border-radius: 6px;
  text-align: center;
}
.btn-work:hover { background: var(--pink-d); opacity: 1; color: var(--white); }

/* ======= Ranking List ======= */
.ranking-list { list-style: none; padding: 0; counter-reset: ranking; }
.ranking-item {
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px;
  margin-bottom: 16px;
  display: flex;
  gap: 16px;
  align-items: center;
  transition: border-color .2s, background .2s;
}
.ranking-item:hover {
  border-color: var(--pink);
  background: #1f1020;
}
.ranking-num {
  font-size: 24px;
  font-weight: 900;
  color: var(--muted);
  width: 36px;
  text-align: center;
  flex-shrink: 0;
  transition: transform .2s;
}
.ranking-item:hover .ranking-num { transform: scale(1.1); }
.ranking-num.n1 { color: #e5a100; }
.ranking-num.n2 { color: #aaa; }
.ranking-num.n3 { color: #a0522d; }
.ranking-info { flex: 1; }
.ranking-name {
  font-size: 17px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 4px;
}
.ranking-desc { font-size: 13px; color: var(--muted); }
.ranking-cta {
  display: inline-block;
  background: var(--pink);
  color: var(--white);
  font-size: 12px;
  font-weight: 700;
  padding: 7px 14px;
  border-radius: 6px;
  white-space: nowrap;
  flex-shrink: 0;
}
.ranking-cta:hover { background: var(--pink-d); opacity: 1; color: var(--white); }

/* ======= Back to Top ======= */
.back-to-top {
  position: fixed;
  bottom: 24px;
  right: 20px;
  width: 44px;
  height: 44px;
  background: var(--pink);
  color: var(--white);
  border: none;
  border-radius: 50%;
  font-size: 18px;
  cursor: pointer;
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 500;
  box-shadow: 0 4px 12px rgba(233,30,140,0.4);
  transition: background .2s, transform .2s;
}
.back-to-top:hover { background: var(--pink-d); transform: translateY(-2px); }
.back-to-top.visible { display: flex; }

/* ======= Hamburger Toggle ======= */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--white);
  font-size: 22px;
  cursor: pointer;
  padding: 6px;
  line-height: 1;
  min-height: 44px;
  min-width: 44px;
}

/* ======= Mobile CTA Bar ======= */
.mobile-cta-bar {
  display: none;
  position: fixed;
  bottom: 0; left: 0; right: 0;
  background: var(--pink);
  color: var(--white);
  text-align: center;
  padding: 13px 16px;
  font-size: 14px;
  font-weight: 700;
  z-index: 200;
  text-decoration: none;
}
.mobile-cta-bar:hover { background: var(--pink-d); opacity: 1; color: var(--white); }

/* ======= Breadcrumb ======= */
.breadcrumb {
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 20px;
}
.breadcrumb a { color: var(--muted); }
.breadcrumb a:hover { color: var(--pink); }

/* ======= Age Verification Modal ======= */
.age-modal {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.95);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.age-modal-box {
  background: var(--bg2);
  border: 2px solid var(--pink);
  border-radius: 16px;
  padding: 40px 32px;
  max-width: 420px;
  width: 100%;
  text-align: center;
}
.age-modal-box h2 {
  font-size: 22px;
  font-weight: 900;
  color: var(--white);
  margin-bottom: 12px;
  border: none;
  padding: 0;
}
.age-modal-box p {
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 24px;
  line-height: 1.7;
}
.age-btn-yes {
  display: inline-block;
  background: var(--pink);
  color: var(--white);
  font-size: 16px;
  font-weight: 700;
  padding: 13px 32px;
  border-radius: 8px;
  cursor: pointer;
  border: none;
  width: 100%;
  margin-bottom: 10px;
}
.age-btn-no {
  display: inline-block;
  background: var(--bg3);
  color: var(--muted);
  font-size: 14px;
  padding: 10px 24px;
  border-radius: 8px;
  cursor: pointer;
  border: none;
  width: 100%;
}

/* ======= Footer ======= */
.site-footer {
  background: #080808;
  border-top: 1px solid var(--border);
  text-align: center;
  padding: 20px;
  font-size: 12px;
  color: var(--muted);
  margin-top: 60px;
}
.site-footer a { color: var(--muted); }
.site-footer a:hover { color: var(--pink); }

/* ======= Responsive ======= */
@media (max-width: 768px) {
  .home-wrapper, .wrapper { grid-template-columns: 1fr; }
  .sidebar { order: 2; }
  .header-inner { flex-direction: column; height: auto; padding: 12px 16px; gap: 8px; }
  .site-nav { gap: 12px; flex-wrap: wrap; }
  .actress-profile { flex-direction: column; align-items: center; text-align: center; }
  .ranking-item { flex-wrap: wrap; }
  .mobile-cta-bar { display: block; }
  .back-to-top { bottom: 68px; }
}

@media (max-width: 480px) {
  /* ハンバーガーメニュー */
  .nav-toggle { display: flex; }
  .site-nav { display: none; flex-direction: column; width: 100%; padding: 8px 0; }
  .site-nav.open { display: flex; }
  .site-nav li { width: 100%; }
  .site-nav a { display: block; padding: 10px 4px; font-size: 14px; }
  .site-nav a::after { display: none; }
  .header-inner { flex-direction: row; flex-wrap: wrap; height: auto; padding: 10px 16px; }
  .site-logo { flex: 1; }

  /* フォントサイズ */
  body { font-size: 14px; }
  .article-body h2 { font-size: 18px; }
  .post-card-excerpt, .ranking-desc { font-size: 13px; }

  /* グリッド */
  .work-grid { grid-template-columns: repeat(2, 1fr); }
  .post-grid { grid-template-columns: 1fr; }

  /* ランキングアイテム */
  .ranking-item { flex-direction: column; align-items: flex-start; }
  .ranking-cta { width: 100%; text-align: center; padding: 12px; min-height: 44px; display: flex; align-items: center; justify-content: center; }

  /* タップ領域 */
  .btn-work { min-height: 40px; display: flex; align-items: center; justify-content: center; }
  .btn-cta { min-height: 48px; display: inline-flex; align-items: center; justify-content: center; }
}
