/* sexyhunters.com - light & elegant theme */
:root {
  --bg: #fafbfc;
  --bg-elev: #ffffff;
  --bg-soft: #f6f7fb;
  --bg-hover: #f0f1f7;
  --fg: #1a1a2e;
  --fg-dim: #4a4a68;
  --fg-mute: #8b8ba8;
  --accent: #ec4899;        /* pink */
  --accent-hover: #db2777;
  --accent2: #8b5cf6;       /* purple */
  --accent3: #6366f1;       /* indigo */
  --border: #e8eaf2;
  --shadow: 0 2px 12px rgba(20, 20, 50, 0.05);
  --shadow-hover: 0 12px 36px rgba(236, 72, 153, 0.18);
  --shadow-card: 0 4px 16px rgba(20, 20, 50, 0.06);
  --gradient: linear-gradient(135deg, #ec4899 0%, #8b5cf6 100%);
  --gradient-soft: linear-gradient(135deg, #fce7f3 0%, #ede9fe 100%);
  --gradient-hero: linear-gradient(135deg, #fce7f3 0%, #ede9fe 50%, #dbeafe 100%);
  --radius: 14px;
  --radius-sm: 8px;
}

* { box-sizing: border-box; }
html, body {
  margin: 0; padding: 0;
  /* iOS Safari でページのどこかが水平オーバーフローすると
     layout viewport が広がって @media (max-width:560px) が効かなくなる
     ─ 全層で overflow-x:hidden により layout viewport を device-width に固定 */
  overflow-x: hidden;
  max-width: 100vw;
  background: var(--bg);
  color: var(--fg);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Hiragino Kaku Gothic ProN", "Yu Gothic", Meiryo, sans-serif;
  font-size: 14px; line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--fg); text-decoration: none; transition: color .15s; }
a:hover { color: var(--accent); }
img { max-width: 100%; height: auto; display: block; }
button { font-family: inherit; }

/* ── マウスストーカー(2層追従カーソル) ── */
.cursor-dot, .cursor-follower {
  position: fixed; top: 0; left: 0;
  pointer-events: none; z-index: 10000;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  will-change: transform;
}
.cursor-dot {
  width: 6px; height: 6px;
  background: var(--accent);
}
.cursor-follower {
  width: 36px; height: 36px;
  background: rgba(236, 72, 153, 0.12);
  border: 1.5px solid var(--accent);
  transition: width .3s cubic-bezier(.2,.85,.2,1), height .3s cubic-bezier(.2,.85,.2,1), background .25s, border-color .25s;
}
/* クリック(押下中)だけ拡大。 hover では膨らませない仕様 (2026-05-18 変更) */
.cursor-follower.active {
  width: 80px; height: 80px;
  background: var(--gradient);
  border-color: transparent;
  opacity: 0.85;
}
@media (hover: none), (pointer: coarse) {
  .cursor-dot, .cursor-follower { display: none; }
}
* { cursor: none; }
@media (hover: none), (pointer: coarse) { * { cursor: auto; } }
input, textarea, select { cursor: text; }
button, a, .card, .maker-card, .filter-bar select, .filter-bar input { cursor: none; }
@media (hover: none), (pointer: coarse) {
  button, a, .card, .maker-card { cursor: pointer; }
  input, textarea, select, .filter-bar select, .filter-bar input { cursor: auto; }
}

/* ── マーキー(流れる色帯) ── */
.marquee {
  overflow: hidden; white-space: nowrap;
  background: linear-gradient(90deg, #ec4899 0%, #8b5cf6 50%, #6366f1 100%);
  background-size: 200% 100%;
  animation: marquee-bg 8s linear infinite;
  color: #fff; padding: 12px 0;
  font-size: 13px; font-weight: 800; letter-spacing: 0.15em;
  text-transform: uppercase;
  margin: 0 -24px 32px;
}
@keyframes marquee-bg {
  0% { background-position: 0% 50%; }
  100% { background-position: 200% 50%; }
}
.marquee-track {
  display: inline-flex; gap: 60px;
  animation: marquee-scroll 40s linear infinite;
  padding-right: 60px;
}
.marquee-track > span { display: inline-flex; align-items: center; gap: 14px; }
.marquee-track > span::after {
  content: "✦"; color: rgba(255,255,255,0.7); font-size: 16px;
}
@keyframes marquee-scroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ── カード stagger 入場(波状フェードイン)を派手に強化 ── */
.card {
  transition-delay: calc(var(--card-index, 0) * 65ms);
}

/* ── テキスト分割アニメ ── */
.text-split-char {
  display: inline-block;
  opacity: 0;
  transform: translateY(28px) rotateX(40deg);
  transition: opacity .55s cubic-bezier(.2,.85,.2,1), transform .55s cubic-bezier(.2,.85,.2,1);
  transition-delay: calc(var(--char-index, 0) * 35ms);
  will-change: transform, opacity;
}
.text-split.revealed .text-split-char {
  opacity: 1;
  transform: translateY(0) rotateX(0);
}

/* ── Age verification overlay ── */
/* 同意前はサイト本体を完全に非表示にする。以前は blur(10px) だったが、半透明オーバーレイ
   (rgba .55)越しに成人サンプル画像が透けて見えるコンプラ懸念(是正C1, 2026-06-11)のため
   visibility:hidden へ変更。「何のサイトか」はゲートの lede 文で明示済み。 */
html.age-gate-active { overflow: hidden; }
html.age-gate-active body > header,
html.age-gate-active body > main,
html.age-gate-active body > footer {
  visibility: hidden;
  pointer-events: none;
  user-select: none;
}

#age-gate {
  position: fixed; inset: 0; z-index: 9999;
  background: rgba(255, 255, 255, 0.55);
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
  display: none; justify-content: center; align-items: center;
  text-align: center;
  padding: 24px;
  overflow-y: auto;
}
#age-gate.show { display: flex; }

#age-gate .panel {
  width: 100%;
  max-width: 720px;
  padding: 56px 56px 44px;
  background: rgba(255, 255, 255, 0.98);
  border-radius: 24px;
  box-shadow: 0 30px 90px rgba(20, 20, 50, 0.28), 0 4px 12px rgba(20, 20, 50, 0.10);
  border: 1px solid var(--border);
}

/* サイト名(これが GA4 でいう「何のサイトか1秒で伝える」の核) */
#age-gate .brand-row {
  display: flex; align-items: baseline; justify-content: center;
  gap: 14px; margin: 0 0 18px;
}
#age-gate .brand-logo {
  font-size: 32px; font-weight: 800; letter-spacing: -0.02em;
  background: var(--gradient); -webkit-background-clip: text; background-clip: text; color: transparent;
}
#age-gate .brand-tag {
  font-size: 14px; font-weight: 600; color: var(--fg-dim);
  padding: 4px 12px; border: 1px solid var(--border); border-radius: 999px;
  background: var(--bg-soft);
}

/* サービス内容の明示(2行目で何ができるサイトか分かるように) */
#age-gate .lede {
  color: var(--fg); margin: 0 0 28px; font-size: 15px; line-height: 1.7;
}
#age-gate .lede strong { color: var(--accent); font-weight: 700; }

/* 18+ バッジ(従来の h1 を視認性ある別パーツに) */
#age-gate .age-badge {
  display: inline-flex; align-items: baseline; justify-content: center;
  gap: 2px;
  font-size: 72px; font-weight: 900; line-height: 1;
  background: var(--gradient); -webkit-background-clip: text; background-clip: text; color: transparent;
  letter-spacing: -0.04em;
  margin: 0 0 8px;
}
#age-gate .age-badge span { font-size: 56px; }

#age-gate h1 {
  color: var(--fg);
  font-size: 18px; font-weight: 700; line-height: 1.5;
  margin: 0 0 6px;
  letter-spacing: 0;
}
#age-gate .ask {
  color: var(--fg-dim); font-size: 15px; font-weight: 500;
  margin: 0 0 32px;
}

#age-gate .buttons {
  display: flex; gap: 16px; justify-content: center; flex-wrap: wrap;
}
#age-gate button, #age-gate a {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 260px; min-height: 56px;
  padding: 16px 36px; border-radius: 12px; border: none;
  font-size: 17px; font-weight: 700; letter-spacing: 0.02em;
  cursor: pointer; transition: transform .2s, box-shadow .25s, background .2s, color .2s;
  text-decoration: none;
}
#age-gate .yes {
  background: var(--gradient); color: #fff;
  box-shadow: 0 10px 28px rgba(236, 72, 153, 0.38);
}
#age-gate .yes:hover { transform: translateY(-2px); box-shadow: 0 14px 36px rgba(236, 72, 153, 0.45); }
#age-gate .yes:active { transform: translateY(0); }
#age-gate .no {
  background: #fff; color: var(--fg-mute);
  border: 1.5px solid var(--border);
}
#age-gate .no:hover { background: var(--bg-hover); color: var(--fg); border-color: var(--fg-mute); }

#age-gate .note {
  margin: 24px 0 0; color: var(--fg-mute); font-size: 12px; line-height: 1.6;
}
#age-gate .about-link {
  margin: 14px 0 0; color: var(--fg-mute); font-size: 13px; line-height: 1.6;
}
#age-gate .about-link a {
  color: var(--accent); font-weight: 600;
  border-bottom: 1px solid currentColor; padding-bottom: 1px;
}
#age-gate .about-link a:hover { color: var(--accent-hover); }

@media (max-width: 560px) {
  /* モバイルは GA4 で 30% engagement と健全なので、レイアウト破壊しない範囲で縮める */
  #age-gate { padding: 16px; align-items: flex-start; padding-top: 32px; }
  #age-gate .panel { padding: 36px 24px 28px; border-radius: 20px; max-width: 100%; }
  #age-gate .brand-row { gap: 10px; margin-bottom: 14px; flex-wrap: wrap; }
  #age-gate .brand-logo { font-size: 26px; }
  #age-gate .brand-tag { font-size: 12px; padding: 3px 10px; }
  #age-gate .lede { font-size: 13.5px; margin-bottom: 22px; line-height: 1.65; }
  #age-gate .age-badge { font-size: 56px; }
  #age-gate .age-badge span { font-size: 44px; }
  #age-gate h1 { font-size: 16px; }
  #age-gate .ask { font-size: 14px; margin-bottom: 24px; }
  #age-gate .buttons { gap: 12px; flex-direction: column; }
  #age-gate button, #age-gate a {
    width: 100%; min-width: 0; min-height: 52px;
    padding: 14px 24px; font-size: 16px;
  }
  #age-gate .note { font-size: 11px; margin-top: 18px; }
  #age-gate .about-link { font-size: 12px; margin-top: 10px; }
}

/* ── /about.html long-form ページ専用タイポグラフィ ── */
.about-page { max-width: 820px; margin: 0 auto; padding: 36px 24px 80px; }
.about-page h1 {
  font-size: clamp(28px, 4vw, 40px); font-weight: 800; letter-spacing: -0.02em;
  margin: 0 0 8px; line-height: 1.2;
  background: var(--gradient); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.about-page .about-lead { color: var(--fg-dim); font-size: 15px; margin: 0 0 36px; line-height: 1.8; }
.about-toc {
  background: var(--bg-elev); border: 1px solid var(--border);
  border-radius: 14px; padding: 22px 26px; margin: 0 0 48px;
  box-shadow: 0 2px 12px rgba(20, 20, 50, 0.04);
}
.about-toc h2 {
  font-size: 11px; font-weight: 700; letter-spacing: 0.14em; color: var(--accent);
  margin: 0 0 12px; text-transform: uppercase;
}
.about-toc ol { margin: 0; padding-left: 22px; font-size: 14px; line-height: 2; color: var(--fg-dim); }
.about-toc a { color: var(--fg); border-bottom: 1px dotted var(--fg-mute); padding-bottom: 1px; }
.about-toc a:hover { color: var(--accent); border-bottom-color: var(--accent); }
.about-block { margin: 0 0 44px; scroll-margin-top: 80px; }
.about-block h2 {
  display: flex; align-items: baseline; gap: 12px;
  font-size: 20px; font-weight: 800; letter-spacing: 0.01em;
  margin: 0 0 14px; padding-bottom: 10px;
  border-bottom: 1px solid var(--border);
}
.about-block h2 .num {
  font-size: 13px; font-weight: 700; color: var(--accent);
  font-variant-numeric: tabular-nums;
}
.about-block h3 {
  font-size: 14px; font-weight: 700; margin: 24px 0 8px; color: var(--fg);
}
.about-block p, .about-block ul, .about-block dl {
  font-size: 14px; line-height: 1.9; color: var(--fg-dim); margin: 0 0 14px;
}
.about-block ul { padding-left: 1.5em; }
.about-block li { padding: 2px 0; }
.about-block dl {
  display: grid; grid-template-columns: 140px 1fr; row-gap: 10px; column-gap: 20px;
  font-size: 13.5px;
}
.about-block dt {
  font-size: 11px; letter-spacing: 0.1em; color: var(--fg-mute);
  text-transform: uppercase; font-weight: 700; padding-top: 4px;
}
.about-block dd { color: var(--fg); margin: 0; }
.about-block strong { color: var(--fg); font-weight: 700; }
.about-block a { color: var(--accent); border-bottom: 1px dotted currentColor; padding-bottom: 1px; }
.about-block a:hover { color: var(--accent-hover); }
.about-block code {
  background: var(--bg-soft); border: 1px solid var(--border);
  padding: 1px 6px; border-radius: 4px; font-size: 12px; color: var(--fg);
}
.about-warn {
  margin: 16px 0; padding: 16px 20px; border-radius: 12px;
  background: linear-gradient(135deg, #fce7f3 0%, #ffe4ec 100%);
  border: 1px solid #f9a8d4;
  color: var(--fg); font-size: 14px; line-height: 1.8;
}
.about-warn strong { color: var(--accent-hover); }
.about-callout {
  margin: 14px 0; padding: 14px 18px; border-left: 3px solid var(--accent);
  background: var(--bg-soft); border-radius: 0 8px 8px 0;
  font-size: 13.5px; line-height: 1.8; color: var(--fg-dim);
}
@media (max-width: 600px) {
  .about-page { padding: 24px 16px 60px; }
  .about-block dl { grid-template-columns: 1fr; row-gap: 4px; }
  .about-block dt { padding-top: 12px; border-top: 1px dotted var(--border); }
  .about-block dt:first-of-type { border-top: none; padding-top: 0; }
}

/* ── Header ── */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,0.85);
  backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid var(--border);
}
.header-inner {
  max-width: 1400px; margin: 0 auto;
  display: flex; align-items: center; gap: 24px;
  padding: 14px 24px;
}
.brand {
  font-size: 22px; font-weight: 800; letter-spacing: -0.02em;
  background: var(--gradient); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.search-box { display: none; }
.nav-toggle {
  margin-left: auto;
  background: var(--bg-elev);
  border: 1px solid var(--border);
  border-radius: 10px;
  width: 44px; height: 44px;
  display: none;  /* PC ではハンバーガー非表示、モバイル(@media)で表示 */
  flex-direction: column; align-items: center; justify-content: center;
  gap: 5px;
  cursor: pointer;
  transition: all .25s;
  padding: 0;
}
.nav-toggle span {
  display: block;
  width: 22px; height: 2px;
  background: var(--fg);
  border-radius: 2px;
  transition: transform .3s, opacity .25s;
}
.nav-toggle:hover {
  background: var(--gradient);
  border-color: transparent;
}
.nav-toggle:hover span { background: #fff; }
.nav-toggle.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.nav-toggle.open span:nth-child(2) {
  opacity: 0;
}
.nav-toggle.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}
/* ── Nav (PC: ヘッダ内インライン表示) ── */
.nav {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 4px;
}
.nav a {
  color: var(--fg-dim); font-size: 14px; font-weight: 600;
  padding: 10px 16px; border-radius: 10px; transition: all .2s;
  display: block;
}
.nav a:hover { background: var(--bg-soft); color: var(--accent); }
.nav a.active { background: var(--gradient-soft); color: var(--accent-hover); }

/* ── Nav (モバイル: ハンバーガーで開閉するドロップダウン) ── */
@media (max-width: 820px) {
  .nav-toggle { display: flex; }
  .nav {
    position: absolute;
    top: calc(100% + 8px); right: 20px;
    margin-left: 0;
    flex-direction: column;
    background: var(--bg-elev);
    padding: 14px;
    border-radius: 14px;
    box-shadow: 0 18px 48px rgba(20, 20, 50, 0.18);
    min-width: 220px;
    border: 1px solid var(--border);
    opacity: 0; visibility: hidden;
    transform: translateY(-8px) scale(0.96);
    transition: opacity .25s, transform .25s, visibility .25s;
    gap: 4px;
    z-index: 200;
  }
  .nav.open {
    opacity: 1; visibility: visible;
    transform: translateY(0) scale(1);
  }
}

/* ── Main content ── */
main { max-width: 1400px; margin: 0 auto; padding: 32px 24px 80px; }

/* ── Hero ── */
.hero {
  margin: -32px -24px 40px; padding: 96px 24px 80px;
  background: linear-gradient(120deg, #fce7f3 0%, #ede9fe 35%, #dbeafe 70%, #fce7f3 100%);
  background-size: 300% 300%;
  animation: hero-gradient 18s ease infinite;
  text-align: center; position: relative; overflow: hidden;
}
@keyframes hero-gradient {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}
.hero::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 50% 40% at 20% 20%, rgba(236,72,153,0.18), transparent 60%),
    radial-gradient(ellipse 50% 40% at 80% 30%, rgba(139,92,246,0.18), transparent 60%),
    radial-gradient(ellipse 60% 30% at 50% 90%, rgba(99,102,241,0.12), transparent 70%);
  pointer-events: none;
  animation: hero-bubbles 12s ease-in-out infinite;
}
@keyframes hero-bubbles {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-8px) rotate(2deg); }
}
.hero h1 {
  font-size: clamp(40px, 9vw, 88px); font-weight: 900; margin: 0 0 24px;
  letter-spacing: -0.04em; line-height: 1.05;
  background: linear-gradient(135deg, #ec4899 0%, #8b5cf6 50%, #6366f1 100%);
  background-size: 200% 200%;
  -webkit-background-clip: text; background-clip: text; color: transparent;
  position: relative;
  /* ロード時のバウンス+グラデ流動を CSS-only で確実に */
  animation:
    hero-bounce-in 1.4s cubic-bezier(.34, 1.56, .64, 1) 0.15s both,
    hero-text-shine 6s ease 1.5s infinite;
  filter: drop-shadow(0 4px 24px rgba(236, 72, 153, 0.25));
}
@keyframes hero-bounce-in {
  0%   { opacity: 0; transform: scale(0.4) translateY(60px) rotate(-3deg); }
  60%  { opacity: 1; transform: scale(1.12) translateY(-8px) rotate(1deg); }
  80%  { transform: scale(0.97) translateY(0) rotate(0); }
  100% { opacity: 1; transform: scale(1) translateY(0) rotate(0); }
}
@keyframes hero-text-shine {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}
.hero p {
  color: var(--fg-dim); font-size: clamp(14px, 1.6vw, 18px);
  margin: 0 0 30px; position: relative; font-weight: 500;
}
.hero-stats {
  display: flex; justify-content: center; gap: 28px;
  flex-wrap: wrap; position: relative; margin-top: 8px;
}
.hero-stat {
  background: rgba(255, 255, 255, 0.65);
  backdrop-filter: blur(12px) saturate(180%);
  padding: 14px 22px; border-radius: 16px;
  box-shadow: 0 4px 20px rgba(20, 20, 50, 0.06);
  min-width: 130px;
  border: 1px solid rgba(255, 255, 255, 0.7);
}
.hero-stat .num {
  display: block; font-size: 28px; font-weight: 800;
  letter-spacing: -0.02em;
  background: var(--gradient); -webkit-background-clip: text; background-clip: text; color: transparent;
  line-height: 1.1;
}
.hero-stat .label {
  display: block; font-size: 11px; color: var(--fg-mute);
  font-weight: 600; letter-spacing: 0.06em; margin-top: 4px;
}

/* ── ヒーローCTA(GA4でホーム→全作品リストが最頻遷移先のため大型化) ── */
.hero-cta {
  display: inline-flex; align-items: center; gap: 18px;
  margin: 28px auto 0;
  padding: 18px 28px 18px 22px;
  background: var(--gradient);
  color: #fff;
  border-radius: 999px;
  box-shadow: 0 14px 36px rgba(236, 72, 153, 0.32), 0 4px 12px rgba(99, 102, 241, 0.18);
  text-decoration: none;
  font-weight: 700;
  transition: transform .25s cubic-bezier(.2,.85,.2,1), box-shadow .25s;
  max-width: 100%;
  position: relative; z-index: 2;
}
.hero-cta:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 20px 48px rgba(236, 72, 153, 0.42), 0 6px 18px rgba(99, 102, 241, 0.24);
  color: #fff;
}
.hero-cta:active { transform: translateY(-1px) scale(1.0); }
.hero-cta-icon {
  font-size: 32px; line-height: 1;
  background: rgba(255, 255, 255, 0.22);
  width: 52px; height: 52px;
  border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.hero-cta-text { display: inline-flex; flex-direction: column; gap: 2px; text-align: left; min-width: 0; }
.hero-cta-label { font-size: 18px; font-weight: 800; letter-spacing: 0.01em; line-height: 1.2; }
.hero-cta-sub { font-size: 12px; font-weight: 500; opacity: 0.92; letter-spacing: 0.02em; }
.hero-cta-arrow {
  font-size: 22px; font-weight: 800;
  transition: transform .25s cubic-bezier(.2,.85,.2,1);
  flex-shrink: 0;
}
.hero-cta:hover .hero-cta-arrow { transform: translateX(4px); }

/* ── メインメニュー(ヒーロー直下の検索 + クイックリンク) ── */
.main-menu {
  max-width: 880px;
  margin: -10px auto 60px;
  padding: 0 24px;
  position: relative;
  z-index: 5;
}
.main-search-bar {
  display: flex;
  gap: 8px;
  background: var(--bg-elev);
  padding: 8px;
  border-radius: 999px;
  box-shadow: 0 12px 40px rgba(20, 20, 50, 0.1);
  border: 1px solid var(--border);
  margin-bottom: 22px;
  transition: box-shadow .25s, transform .25s;
}
.main-search-bar:focus-within {
  box-shadow: 0 16px 48px rgba(236, 72, 153, 0.18);
  transform: translateY(-2px);
}
.main-search-bar input {
  flex: 1;
  padding: 14px 22px;
  border: none; outline: none;
  background: transparent;
  font-size: 15px;
  color: var(--fg);
}
.main-search-bar input::placeholder { color: var(--fg-mute); }
.main-search-bar button {
  padding: 12px 26px;
  border: none; border-radius: 999px;
  background: var(--gradient);
  color: #fff; font-size: 14px; font-weight: 700;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(236, 72, 153, 0.35);
  transition: all .25s cubic-bezier(.2,.85,.2,1);
}
.main-search-bar button:hover {
  transform: scale(1.05);
  box-shadow: 0 8px 24px rgba(236, 72, 153, 0.5);
}

.quick-links {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 12px;
}
.quick-link {
  display: flex; align-items: center; justify-content: center; gap: 10px;
  padding: 16px 14px;
  background: var(--bg-elev);
  border-radius: 14px;
  font-size: 14px; font-weight: 700;
  color: var(--fg);
  box-shadow: 0 4px 16px rgba(20, 20, 50, 0.06);
  border: 1px solid var(--border);
  transition: all .3s cubic-bezier(.2,.85,.2,1);
  position: relative;
  overflow: hidden;
}
.quick-link::before {
  content: ""; position: absolute; inset: 0;
  background: var(--gradient);
  opacity: 0;
  transition: opacity .3s;
  z-index: 0;
}
.quick-link > * { position: relative; z-index: 1; transition: color .3s; }
.quick-link .qicon { font-size: 20px; }
.quick-link:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 30px rgba(236, 72, 153, 0.25);
  color: #fff;
  border-color: transparent;
}
.quick-link:hover::before { opacity: 1; }

/* ── レスポンシブ調整 ── */
@media (max-width: 600px) {
  /* 統計バッジ 2x2 配置 */
  .hero-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    max-width: 380px;
    margin: 0 auto;
  }
  .hero-stat {
    min-width: 0;
    padding: 12px 14px;
  }
  /* ヒーローCTA モバイル: 横幅フル + 文字サイズ調整 */
  .hero-cta {
    display: flex;
    width: calc(100% - 16px);
    margin: 22px auto 0;
    padding: 14px 18px 14px 14px;
    gap: 14px;
    border-radius: 22px;
  }
  .hero-cta-icon { width: 44px; height: 44px; font-size: 26px; }
  .hero-cta-text { flex: 1; }
  .hero-cta-label { font-size: 15px; }
  .hero-cta-sub { font-size: 11px; }
  .hero-cta-arrow { font-size: 20px; }
  /* カード 2列強制 */
  .grid,
  .grid.compact {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 10px !important;
  }
  /* セクション英語タイトル: 帯と重ねる(モバイル) */
  .section-bg-title {
    font-size: 22vw;
    line-height: 1;
  }
  /* セクションマージン縮小(モバイル) */
  .section { margin: 110px 0 60px; }
  .section + .section { margin-top: 130px; }
  .section:first-of-type { margin-top: 30px; }
  /* メインメニュークイックリンクを2列 */
  .quick-links { grid-template-columns: repeat(2, 1fr); }
  /* メインサーチバー縦並び */
  .main-search-bar { flex-direction: column; padding: 8px; border-radius: 18px; }
  .main-search-bar input { padding: 12px 16px; }
  .main-search-bar button { width: 100%; padding: 12px; }
}
@media (max-width: 400px) {
  .section-bg-title { font-size: 26vw; }
  .grid,
  .grid.compact {
    gap: 8px !important;
  }
}

/* ── Sections ── */
.section {
  margin: 200px 0 120px;
  position: relative;
}
.section + .section {
  margin-top: 220px;
}
.section:first-of-type {
  margin-top: 60px;
}
/* 作品詳細ページでサンプル動画/画像が無い場合、`.work-detail` の直後に
   `.section.same-series` が来る。`.section-bg-title`(巨大「WORKS」英語) が
   transform: translateY(-66%) で約170px上方向にはみ出すため、首の60px だと
   work-detail に被る。同じセクション群と同じ余白(220px)まで広げる。 */
.work-detail + .section {
  margin-top: 220px;
}
/* セクション境界に巨大な背景英語タイトル(次セクションがせり出す感) */
.section-bg-title {
  position: absolute;
  top: 0;
  left: 0; right: 0;
  font-size: clamp(80px, 16vw, 260px);
  font-weight: 900;
  letter-spacing: -0.05em;
  line-height: 0.9;
  background: linear-gradient(135deg, rgba(236,72,153,0.32) 0%, rgba(139,92,246,0.32) 50%, rgba(99,102,241,0.32) 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  pointer-events: none; user-select: none;
  text-align: center;
  z-index: 0;
  white-space: nowrap; overflow: hidden;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  opacity: 0;
  transform: translateY(20%) scale(0.95);
  transition: opacity .9s cubic-bezier(.2,.85,.2,1), transform 1.1s cubic-bezier(.2,.85,.2,1);
}
.section-bg-title.revealed {
  opacity: 1;
  /* 文字の 2/3 を帯の上にはみ出させ、残り 1/3 が帯と重なる */
  transform: translateY(-66%) scale(1);
}
.section-head { position: relative; z-index: 1; }
.section-head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 22px 28px;
  margin-bottom: 32px;
  /* 半透明にして後ろの背景タイトルが透ける */
  background: linear-gradient(110deg, rgba(252, 231, 243, 0.55) 0%, rgba(237, 233, 254, 0.55) 35%, rgba(219, 234, 254, 0.55) 70%, rgba(252, 231, 243, 0.55) 100%);
  background-size: 250% 100%;
  animation: section-head-shift 14s ease infinite;
  backdrop-filter: blur(8px) saturate(150%);
  border-radius: var(--radius);
  border: 1px solid rgba(255, 255, 255, 0.5);
  position: relative;
  overflow: hidden;
  box-shadow: 0 6px 24px rgba(236, 72, 153, 0.1);
}
@keyframes section-head-shift {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}
.section-head::before {
  content: ""; position: absolute;
  inset: 0;
  background: radial-gradient(circle 200px at 30% 50%, rgba(236, 72, 153, 0.25), transparent 70%);
  animation: spotlight-sweep 6s ease-in-out infinite;
  pointer-events: none;
}
@keyframes spotlight-sweep {
  0%, 100% { background-position: 0% 50%; transform: translateX(-100px); }
  50% { transform: translateX(calc(100vw - 400px)); }
}
.section-head::after {
  content: "✦"; position: absolute;
  right: -10px; top: 50%; transform: translateY(-50%);
  color: rgba(236, 72, 153, 0.25);
  font-size: 80px;
  pointer-events: none;
  animation: sparkle-rotate 8s linear infinite;
}
@keyframes sparkle-rotate {
  0% { transform: translateY(-50%) rotate(0); }
  100% { transform: translateY(-50%) rotate(360deg); }
}
.section-head h2 {
  font-size: 26px; font-weight: 900; margin: 0;
  letter-spacing: -0.02em;
  background: linear-gradient(135deg, #be185d 0%, #6d28d9 50%, #4338ca 100%);
  background-size: 200% 200%;
  -webkit-background-clip: text; background-clip: text; color: transparent;
  position: relative; z-index: 1;
  animation: heading-shine 4s ease infinite;
}
@keyframes heading-shine {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}
.section-head h2::before { display: none; }
.section-head .more {
  color: #fff; font-size: 13px; font-weight: 700;
  padding: 10px 22px; border-radius: 999px;
  background: var(--gradient);
  transition: all .3s cubic-bezier(.2,.85,.2,1);
  position: relative; z-index: 1;
  box-shadow: 0 6px 18px rgba(236, 72, 153, 0.35);
  display: inline-flex; align-items: center; gap: 6px;
}
.section-head .more::after {
  content: "→"; transition: transform .3s;
}
.section-head .more:hover {
  transform: translateX(4px) scale(1.05);
  box-shadow: 0 10px 28px rgba(236, 72, 153, 0.55);
  color: #fff;
}
.section-head .more:hover::after {
  transform: translateX(4px);
}

/* ── カード hover 時のネオングロー ── */
.card.revealed {
  position: relative;
}
.card.revealed::before {
  content: ""; position: absolute;
  inset: -2px;
  border-radius: var(--radius);
  background: linear-gradient(135deg, #ec4899, #8b5cf6, #6366f1);
  background-size: 200% 200%;
  opacity: 0;
  z-index: -1;
  filter: blur(16px);
  transition: opacity .35s;
  animation: glow-shift 4s ease infinite;
}
@keyframes glow-shift {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}
.card.revealed:hover::before {
  opacity: 0.7;
}

/* ── 人気作品レコメンド section ── */
.section.popular .section-head {
  /* 他セクションと同じ α=0.55 で透過 (背景の英語タイトルが透ける) */
  background: linear-gradient(110deg, rgba(254, 243, 199, 0.55) 0%, rgba(252, 231, 243, 0.55) 35%, rgba(237, 233, 254, 0.55) 70%, rgba(254, 243, 199, 0.55) 100%);
}
.section.popular .section-head h2 {
  background: linear-gradient(135deg, #f59e0b 0%, #ec4899 50%, #8b5cf6 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.section.popular .section-head h2::before {
  content: "👑 ";
  -webkit-text-fill-color: initial;
  background: none;
}

/* ── Card grid ── */
.grid {
  display: grid; gap: 22px;
  grid-template-columns: repeat(auto-fill, minmax(178px, 1fr));
}
.grid.compact {
  display: grid; gap: 22px;
  grid-template-columns: repeat(auto-fill, minmax(178px, 1fr));
}
.card {
  background: var(--bg-elev);
  border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: opacity .55s cubic-bezier(.2,.85,.2,1),
              transform .55s cubic-bezier(.2,.85,.2,1),
              box-shadow .35s ease;
  display: flex; flex-direction: column;
  position: relative;
  transform-style: preserve-3d;
  /* スクロール時のフェードイン初期状態(派手バージョン) */
  opacity: 0; transform: translateY(60px) scale(0.92) rotate(-1deg);
}
.card.revealed {
  opacity: 1; transform: translateY(0) scale(1) rotate(0);
}
.card:hover {
  box-shadow: 0 16px 48px rgba(236, 72, 153, 0.25);
}
.card.revealed:hover {
  /* JS でマウス追従 3D 回転を上書き */
  transition: box-shadow .25s, transform .15s ease-out;
}
.card:hover .badge {
  transform: scale(1.05);
}
.badge { transition: transform .25s; }
.card .thumb {
  aspect-ratio: 3 / 4;            /* 縦長で全カード統一(Faleno/Prestige ベース) */
  background: var(--bg-elev);
  position: relative; overflow: hidden;
}
.card .thumb img {
  width: 100%; height: 100%;
  object-fit: cover;              /* 枠いっぱいに表示・はみ出しはトリミング */
  object-position: right center;  /* 横長ジャケは右寄せで切り抜き(右側に被写体が多い AV ジャケ向け) */
  transition: transform .5s cubic-bezier(.2,.8,.2,1);
}
.card:hover .thumb img { transform: scale(1.04); }
.card .badge {
  position: absolute; top: 10px; left: 10px;
  padding: 5px 12px; border-radius: 999px;
  font-size: 10px; font-weight: 700; letter-spacing: 0.08em;
  background: var(--gradient); color: #fff;
  box-shadow: 0 2px 8px rgba(236,72,153,.3);
}
.card .badge.released {
  background: rgba(255,255,255,0.92); color: var(--fg-dim);
  backdrop-filter: blur(8px);
  box-shadow: 0 2px 8px rgba(0,0,0,.06);
}
.card .badge.past {
  background: rgba(255,255,255,0.85); color: var(--fg-mute);
}
.card .badge.debut {
  position: absolute; top: 10px; right: 10px; left: auto;
  background: linear-gradient(135deg, #f59e0b 0%, #ec4899 50%, #8b5cf6 100%);
  background-size: 200% 200%;
  color: #fff; font-weight: 800;
  letter-spacing: 0.05em;
  box-shadow: 0 2px 12px rgba(245,158,11,0.4);
  animation: debut-shine 3s ease infinite;
}
@keyframes debut-shine {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

/* ── 本日配信スタート: ソースバッジ ── */
/* status バッジ(top:10px,left:10px) / debut バッジ(top:10px,right:10px) と
   ぶつからないよう bottom-right に配置 */
.card .badge.dist {
  position: absolute; top: auto; right: 10px; bottom: 10px; left: auto;
  font-size: 10px; font-weight: 700; letter-spacing: 0.04em;
  padding: 4px 10px; border-radius: 999px;
  color: #fff; backdrop-filter: blur(6px);
  box-shadow: 0 2px 8px rgba(0,0,0,.2);
}
.card .badge.dist.dist-fanza {
  background: linear-gradient(135deg, #ff5e94 0%, #ff2d6f 100%);
}
.card .badge.dist.dist-mgs {
  background: linear-gradient(135deg, #5b8dff 0%, #3358d4 100%);
}
.card .badge.dist.dist-hnext {
  background: linear-gradient(135deg, #38c172 0%, #1a8a4a 100%);
}

.section.dist-today .section-head h2 {
  display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap;
}
.section.dist-today .dist-today-date {
  font-size: 13px; font-weight: 600; color: var(--fg-mute);
  letter-spacing: 0.02em;
}
/* 「本日配信スタート」が21件以上のとき、最初の20件以外を折りたたむ。
   ボタンクリックで .collapsed クラスが外れ、全件が出る。 */
.section.dist-today.collapsed .grid > .card:nth-child(n+21) {
  display: none;
}
.dist-today-more-wrap {
  display: flex; justify-content: center; margin-top: 18px;
}
.dist-today-more {
  min-width: 240px; padding: 12px 24px; font-size: 14px;
  cursor: pointer;
}

/* ── ランキングページ(グループ別) ── */
.ranking-intro {
  color: var(--fg-mute); font-size: 13px; margin: 0 0 16px;
  text-align: center;
}
.ranking-filter-bar {
  display: flex; gap: 16px; align-items: center; flex-wrap: wrap;
  padding: 14px 20px; background: var(--bg-elev);
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  margin-bottom: 32px;
  border-top: 3px solid transparent;
  border-image: linear-gradient(90deg, #ec4899, #8b5cf6, #6366f1) 1;
}
.ranking-filter-bar select {
  padding: 8px 12px; background: var(--bg-soft); color: var(--fg);
  border: 1px solid transparent; border-radius: var(--radius-sm);
  font-size: 13px; transition: all .15s;
  font-weight: 600;
}
.ranking-filter-bar select:focus {
  outline: none; background: var(--bg-elev); border-color: var(--accent);
}
.ranking-filter-bar label {
  font-size: 12px; color: var(--fg-mute);
  display: flex; align-items: center; gap: 8px; font-weight: 600;
}
.ranking-filter-status {
  margin-left: auto; color: var(--fg-mute); font-size: 12px;
  font-weight: 500;
  white-space: nowrap;
}
@media (max-width: 600px) {
  .ranking-filter-bar { padding: 12px 14px; gap: 10px; }
  .ranking-filter-status { width: 100%; margin-left: 0; }
}
.rankings-grid {
  display: flex; flex-direction: column; gap: 56px;
}
.ranking-group {
  position: relative;
}
.ranking-group-head {
  margin-bottom: 20px;
  padding: 18px 24px;
  background: linear-gradient(110deg, rgba(252,231,243,0.5) 0%, rgba(237,233,254,0.5) 50%, rgba(219,234,254,0.5) 100%);
  background-size: 250% 100%;
  animation: section-head-shift 14s ease infinite;
  border-radius: var(--radius);
  border-left: 5px solid var(--accent);
  box-shadow: 0 4px 16px rgba(236, 72, 153, 0.08);
}
.ranking-group-title {
  display: flex; align-items: center; gap: 10px;
  margin: 0 0 4px; font-size: 22px; font-weight: 800;
  background: linear-gradient(135deg, #be185d 0%, #6d28d9 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  letter-spacing: -0.01em;
}
.ranking-group-title .group-icon {
  font-size: 26px; -webkit-text-fill-color: initial;
}
.ranking-group-desc {
  margin: 0; color: var(--fg-mute); font-size: 12px;
  font-weight: 500;
}
.ranking-group-grid {
  display: grid; gap: 22px;
  grid-template-columns: repeat(auto-fit, minmax(360px, 1fr));
}
@media (max-width: 600px) {
  .ranking-group-grid {
    grid-template-columns: 1fr;
  }
  .rankings-grid { gap: 36px; }
  .ranking-group-head { padding: 14px 18px; }
  .ranking-group-title { font-size: 18px; }
}
.ranking-card {
  background: var(--bg-elev);
  border-radius: var(--radius);
  padding: 24px 22px 20px;
  box-shadow: var(--shadow-card);
  transition: transform .3s cubic-bezier(.2,.85,.2,1), box-shadow .3s;
  position: relative;
  overflow: hidden;
  border: 1px solid var(--border);
}
.ranking-card::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0;
  height: 4px;
  background: var(--card-accent, var(--gradient));
  transition: height .3s;
}
.ranking-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(20, 20, 50, 0.14);
}
.ranking-card:hover::before { height: 6px; }

.ranking-card-head {
  display: flex; align-items: center; gap: 10px;
  margin-bottom: 4px;
}
.ranking-card-head .card-icon {
  font-size: 22px; line-height: 1;
}
.ranking-card-title {
  flex: 1; margin: 0;
  font-size: 17px; font-weight: 800;
  color: var(--fg);
  letter-spacing: -0.01em;
}
.ranking-card-head .card-badge {
  font-size: 10px; font-weight: 800; letter-spacing: 0.08em;
  color: #fff;
  background: var(--card-accent, var(--gradient));
  padding: 4px 10px; border-radius: 999px;
  white-space: nowrap;
}
.ranking-card-desc {
  font-size: 11px; color: var(--fg-mute); margin: 0 0 18px;
  font-weight: 500; line-height: 1.5;
}

.ranking-mini {
  list-style: none; padding: 0; margin: 0;
  display: flex; flex-direction: column; gap: 2px;
}
.ranking-mini-item {
  display: flex; align-items: center; gap: 10px;
  padding: 8px 10px; border-radius: 8px;
  font-size: 13px;
  transition: background .15s;
}
.ranking-mini-item:hover { background: var(--bg-soft); }

/* 順位 */
.ranking-mini-item .rank-num {
  font-weight: 800; color: var(--fg-mute);
  min-width: 26px; text-align: center; font-size: 13px;
  flex-shrink: 0;
}
.ranking-mini-item .rank-num.medal {
  font-size: 20px; line-height: 1;
}
.ranking-mini-item:nth-child(1) .rank-num.medal { font-size: 24px; }

/* 作品アイテム(サムネ付き、タイトル2行折返) */
.work-item {
  align-items: flex-start;
  padding: 10px;
}
.work-item .rank-num {
  margin-top: 4px;
}
.work-item .rank-thumb-link {
  flex-shrink: 0;
  width: 50px; height: 67px;
  border-radius: 6px; overflow: hidden;
  background: var(--bg-soft);
  display: block;
}
.work-item .rank-thumb {
  width: 100%; height: 100%;
  object-fit: cover; object-position: center;
}
.work-item .rank-info {
  flex: 1; min-width: 0;
  display: flex; flex-direction: column; gap: 4px;
}
.work-item .rank-name {
  display: -webkit-box;
  -webkit-line-clamp: 2; -webkit-box-orient: vertical;
  overflow: hidden;
  font-size: 12px; line-height: 1.4;
  white-space: normal;
  color: var(--fg); font-weight: 600;
}
.work-item .rank-name:hover { color: var(--accent); }
.work-item .rank-meta {
  display: flex; gap: 8px; align-items: center;
  font-size: 10px; flex-wrap: wrap;
}

/* 人物アイテム */
.person-item .rank-name, .pair-item .rank-name {
  flex: 1; min-width: 0;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  color: var(--fg); font-weight: 600; font-size: 13px;
}
.person-item .rank-name:hover, .pair-item .rank-name:hover { color: var(--accent); }
.person-item .rank-meta, .pair-item .rank-meta {
  display: flex; gap: 6px; align-items: center;
  flex-shrink: 0;
}

.pair-item .rank-name { font-size: 12px; }
.pair-item .pair-x {
  color: var(--fg-mute); margin: 0 4px;
  font-weight: 400;
}
.pair-item .pair-a, .pair-item .pair-b {
  color: var(--fg);
}

.rank-score {
  color: #f59e0b; font-weight: 700; font-size: 11px;
  white-space: nowrap;
}
.rank-count {
  color: var(--fg-mute); font-weight: 500; font-size: 10px;
  white-space: nowrap;
}
.rank-maker {
  color: var(--accent); font-weight: 600; font-size: 10px;
  white-space: nowrap;
}

.ranking-empty, .ranking-loading, .ranking-error {
  color: var(--fg-mute); font-size: 12px;
  padding: 20px; text-align: center;
}
.ranking-error { color: #ef4444; }

.maker-actress-wrap {
  display: flex; flex-direction: column; gap: 12px;
}
.maker-actress-select {
  padding: 10px 14px; border: 1px solid var(--border);
  border-radius: 10px; background: var(--bg-soft);
  color: var(--fg); font-size: 13px; font-weight: 700;
  cursor: pointer; transition: all .2s;
}
.maker-actress-select:focus {
  outline: none; border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(236,72,153,.1);
}
.maker-actress-select:hover { background: var(--bg-elev); }

.card .body {
  padding: 14px 14px 16px; flex: 1;
  display: flex; flex-direction: column; gap: 8px;
}
.card .title {
  font-size: 13px; line-height: 1.45; font-weight: 600;
  margin: 0; color: var(--fg);
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
  overflow: hidden;
}
.card .actress-line {
  font-size: 15px;
  color: var(--accent);
  font-weight: 700;
  display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical;
  overflow: hidden; text-overflow: ellipsis;
}
/* meta はスキャン性重視で小バッジ化 (2026-05-18 改修)。
   sku=黒系・maker=紫系・date=灰・review=黄 で色分け。
   sale-price-mini は sale-card 側で別スタイル定義済なのでバッジ化対象外。 */
.card .meta {
  font-size: 11px; color: var(--fg-mute); margin-top: auto;
  display: flex; gap: 4px; flex-wrap: wrap; align-items: center;
}
.card .meta .sku,
.card .meta .maker,
.card .meta .date {
  display: inline-block;
  padding: 2px 6px;
  border-radius: 3px;
  font-size: 10px;
  font-weight: 600;
  line-height: 1.45;
  letter-spacing: 0.01em;
  white-space: nowrap;
}
.card .meta .sku {
  color: var(--fg-dim);
  background: rgba(0, 0, 0, 0.05);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", monospace;
  letter-spacing: 0.04em;
}
.card .meta .maker {
  color: var(--accent2, #8b5cf6);
  background: rgba(139, 92, 246, 0.1);
}
.card .meta .date {
  color: var(--fg-mute);
  background: rgba(0, 0, 0, 0.03);
  font-variant-numeric: tabular-nums;
}
.card .meta-line { display: flex; gap: 6px; flex-wrap: wrap; }
.card .review-mini {
  margin-left: auto;
  padding: 2px 6px;
  border-radius: 3px;
  background: rgba(245, 158, 11, 0.14);
  color: #b45309;
  font-size: 10px;
  font-weight: 700;
  white-space: nowrap;
}
.card .review-mini .rc {
  color: var(--fg-mute); font-weight: 500; margin-left: 3px;
}

/* ── Review block on work detail ── */
.review-block {
  display: flex; align-items: center; gap: 16px;
  padding: 14px 18px; margin-bottom: 22px;
  background: linear-gradient(135deg, rgba(245,158,11,0.08) 0%, rgba(236,72,153,0.06) 100%);
  border-radius: var(--radius);
  border: 1px solid rgba(245,158,11,0.18);
}
.review-block .stars {
  font-size: 22px; color: #f59e0b; letter-spacing: 0.04em;
  line-height: 1;
}
.review-block .score {
  font-size: 16px; color: var(--fg);
}
.review-block .score strong { font-size: 22px; font-weight: 800; }
.review-block .of { color: var(--fg-mute); font-weight: 500; font-size: 13px; }
.review-block .count {
  margin-left: auto; color: var(--fg-mute); font-size: 12px;
}

/* ── Work detail page ── */
.work-detail {
  display: grid; gap: 48px;
  grid-template-columns: minmax(0, 460px) 1fr;
  align-items: start;
}
@media (max-width: 820px) {
  .work-detail { grid-template-columns: 1fr; gap: 32px; }
  .work-detail .cover { max-width: 460px; margin: 0 auto; }
}
.work-detail .cover {
  border-radius: var(--radius); overflow: hidden;
  box-shadow: 0 20px 60px rgba(20, 20, 50, 0.16);
  background: var(--bg-soft);
  aspect-ratio: 3 / 4;
}
.work-detail .cover img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: right center;
}
.work-detail h1 {
  font-size: clamp(20px, 2.4vw, 26px); line-height: 1.45;
  margin: 0 0 22px; font-weight: 700;
  letter-spacing: -0.01em;
}
.work-detail .meta-row {
  display: grid; grid-template-columns: 84px 1fr; gap: 10px 18px;
  font-size: 13px; margin-bottom: 26px;
}
.work-detail .meta-row dt { color: var(--fg-mute); font-weight: 500; }
.work-detail .meta-row dd {
  margin: 0; color: var(--fg);
  display: flex; flex-wrap: wrap; gap: 6px;
}
.tag {
  display: inline-block; padding: 4px 11px; border-radius: 999px;
  background: var(--bg-soft);
  font-size: 11px; color: var(--fg-dim);
  transition: all .15s;
  border: 1px solid transparent;
}
.tag:hover {
  color: var(--accent); border-color: var(--accent);
  background: var(--bg-elev);
}
.tag.actress {
  background: var(--gradient-soft); color: var(--accent-hover); font-weight: 600;
}
.tag.actress:hover {
  background: var(--gradient); color: #fff;
}
.work-detail .body {
  padding: 18px 20px; background: var(--bg-soft);
  border-radius: var(--radius); margin-bottom: 24px;
  font-size: 13px; color: var(--fg-dim);
  white-space: pre-wrap; line-height: 1.8;
}
.work-detail .buy-buttons {
  display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 22px;
}
.btn {
  padding: 13px 24px; border-radius: 10px; font-size: 13px; font-weight: 700;
  border: 1px solid var(--border); background: var(--bg-elev); color: var(--fg);
  cursor: pointer; transition: all .2s; display: inline-flex; align-items: center; gap: 10px;
  box-shadow: var(--shadow);
}
.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(20, 20, 50, 0.1);
  border-color: var(--accent);
}
.btn.primary {
  background: var(--gradient); border-color: transparent; color: #fff;
  box-shadow: 0 4px 14px rgba(236,72,153,.3);
}
.btn.primary:hover {
  box-shadow: 0 10px 28px rgba(236,72,153,.45);
}
/* 作品ページ→個別レビュー記事への相互リンク。buy-buttons の下に全幅で置く。 */
.btn.review-link {
  width: 100%; flex-direction: row; gap: 8px; margin-bottom: 20px;
  background: linear-gradient(135deg, #f59e0b 0%, #ec4899 55%, #8b5cf6 100%);
  background-size: 200% 200%; color: #fff; border-color: transparent;
  box-shadow: 0 4px 14px rgba(236, 72, 153, .3);
}
.btn.review-link:hover { box-shadow: 0 10px 28px rgba(236, 72, 153, .45); }
.btn.review-link span:first-child { font-size: 15px; }
.btn .label { font-size: 11px; opacity: .85; font-weight: 500; }
.media-types {
  display: flex; gap: 8px; margin-bottom: 22px; flex-wrap: wrap;
}
.media-pill {
  padding: 6px 14px; border-radius: 999px;
  font-size: 11px; font-weight: 700; letter-spacing: 0.08em;
  background: var(--bg-soft); color: var(--fg-dim);
  border: 1px solid var(--border);
}
.media-pill.active {
  background: var(--gradient); color: #fff; border-color: transparent;
  box-shadow: 0 2px 8px rgba(139,92,246,.25);
}

/* ── Sample movie / gallery on detail page ── */
.sample-section {
  margin: 36px 0;
}
.sample-heading {
  font-size: 18px; font-weight: 700; margin: 0 0 16px;
  letter-spacing: -0.01em; padding-left: 14px; position: relative;
}
.sample-heading::before {
  content: ""; position: absolute; left: 0; top: 4px; bottom: 4px;
  width: 4px; border-radius: 2px; background: var(--gradient);
}
.sample-heading .sample-count {
  font-size: 13px; color: var(--fg-mute); font-weight: 500; margin-left: 10px;
}
.sample-layout {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: flex-start;
}
.sample-movie {
  flex: 0 0 auto;
  width: 100%;
  max-width: 720px;                    /* 動画は固定 720px 幅 */
  aspect-ratio: 3 / 2;                 /* 720:480 = 3:2 */
  position: relative;
  background: #000;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-card);
}
.sample-movie iframe {
  position: absolute; inset: 0; width: 100%; height: 100%;
  border: 0;
}
/* MGS sampleplayer 用 (iframe 拒否なので別タブ起動ボタンで代替) ─ Prestige 系作品で使用 */
.sample-movie-link {
  /* aspect-ratio による高さ確保を解除し、 ボタン1個分の高さに */
  padding-top: 0;
  height: auto;
  background: linear-gradient(180deg, #1a1a2e 0%, #2d1a4d 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 96px;
}
.sample-movie-button {
  display: inline-block;
  padding: 12px 22px;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: #fff;
  text-decoration: none;
  background: linear-gradient(180deg, #ff4d6d 0%, #c9184a 100%);
  border-radius: 999px;
  box-shadow: 0 2px 8px rgba(201, 24, 74, 0.4);
  transition: transform 0.12s ease, box-shadow 0.12s ease;
}
.sample-movie-button:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(201, 24, 74, 0.55);
}
.sample-gallery {
  flex: 1 1 280px;                     /* 動画の右横の残り幅を埋める */
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 6px;
  align-self: stretch;
  min-width: 0;
  padding: 2px;
}
@media (max-width: 900px) {
  .sample-gallery {
    flex: 1 1 100%;                    /* 小画面では動画下に縦並び */
  }
}
.sample-gallery a {
  display: block; aspect-ratio: 4/3; overflow: hidden;
  border-radius: var(--radius-sm); background: var(--bg-elev);
  transition: transform .25s, box-shadow .25s; cursor: zoom-in;
}
.sample-gallery a:hover {
  transform: scale(1.03); box-shadow: var(--shadow-hover);
}
.sample-gallery img {
  width: 100%; height: 100%; object-fit: cover; object-position: center;
}

/* ── Lightbox(サンプル画像クリック時の拡大表示) ── */
.lightbox {
  position: fixed; inset: 0; z-index: 9999;
  background: rgba(0, 0, 0, 0.95);
  display: flex; justify-content: center; align-items: center;
  cursor: zoom-out;
}
.lightbox-image {
  max-width: 95vw; max-height: 92vh;
  object-fit: contain;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6);
  border-radius: 4px;
}
.lightbox-btn {
  position: absolute; background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(8px);
  color: #fff; border: none; cursor: pointer;
  font-size: 32px; line-height: 1;
  width: 56px; height: 56px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  transition: background .2s, transform .2s;
}
.lightbox-btn:hover { background: rgba(255, 255, 255, 0.25); transform: scale(1.05); }
.lightbox-prev { left: 24px; top: 50%; transform: translateY(-50%); }
.lightbox-prev:hover { transform: translateY(-50%) scale(1.05); }
.lightbox-next { right: 24px; top: 50%; transform: translateY(-50%); }
.lightbox-next:hover { transform: translateY(-50%) scale(1.05); }
.lightbox-close { right: 24px; top: 24px; font-size: 28px; }
.lightbox-counter {
  position: absolute; bottom: 24px; left: 50%; transform: translateX(-50%);
  color: #fff; font-size: 13px; font-weight: 500;
  background: rgba(0, 0, 0, 0.5); padding: 8px 16px; border-radius: 999px;
  backdrop-filter: blur(8px);
}

/* ── Filter bar ── */
.filter-bar {
  display: flex; gap: 12px; align-items: center; flex-wrap: wrap;
  padding: 16px 20px; background: var(--bg-elev);
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  margin-bottom: 28px;
}
.filter-bar select, .filter-bar input {
  padding: 8px 12px; background: var(--bg-soft); color: var(--fg);
  border: 1px solid transparent; border-radius: var(--radius-sm);
  font-size: 13px; transition: all .15s;
}
.filter-bar select:focus, .filter-bar input:focus {
  outline: none; background: var(--bg-elev);
  border-color: var(--accent);
}
.filter-bar label {
  font-size: 12px; color: var(--fg-mute);
  display: flex; align-items: center; gap: 8px;
}
.filter-bar .count {
  margin-left: auto; color: var(--fg-mute); font-size: 12px; font-weight: 500;
}

/* ── Maker grid (top page) ── */
.maker-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 14px;
}
.maker-card {
  display: flex; align-items: center; justify-content: center;
  padding: 28px 14px; text-align: center;
  background: var(--bg-elev);
  border-radius: var(--radius);
  font-size: 14px; font-weight: 700;
  color: var(--fg);
  box-shadow: var(--shadow-card);
  transition: all .3s cubic-bezier(.2,.85,.2,1);
  border: 1px solid transparent;
  position: relative; overflow: hidden;
  isolation: isolate;
}
.maker-card::before {
  content: ""; position: absolute; inset: 0;
  background: var(--maker-grad, var(--gradient));
  opacity: 0;
  transition: opacity .3s;
  z-index: -1;
}
.maker-card span { position: relative; transition: color .3s; }
.maker-card:hover {
  transform: translateY(-5px) scale(1.03);
  box-shadow: 0 14px 40px rgba(20, 20, 50, 0.16);
  color: #fff;
}
.maker-card:hover::before { opacity: 1; }

/* メーカー固有カラー */
.maker-card[data-maker="moodyz"] { --maker-grad: linear-gradient(135deg, #ec4899, #f43f5e); }
.maker-card[data-maker="ideapocket"] { --maker-grad: linear-gradient(135deg, #8b5cf6, #ec4899); }
.maker-card[data-maker="kawaii"] { --maker-grad: linear-gradient(135deg, #f472b6, #fb923c); }
.maker-card[data-maker="s1"] { --maker-grad: linear-gradient(135deg, #6366f1, #06b6d4); }
.maker-card[data-maker="sod"] { --maker-grad: linear-gradient(135deg, #3b82f6, #6366f1); }
.maker-card[data-maker="prestige"] { --maker-grad: linear-gradient(135deg, #1e293b, #ec4899); }
.maker-card[data-maker="faleno"] { --maker-grad: linear-gradient(135deg, #f59e0b, #ec4899); }
.maker-card[data-maker="wanz"] { --maker-grad: linear-gradient(135deg, #10b981, #6366f1); }
.maker-card[data-maker="honnaka"] { --maker-grad: linear-gradient(135deg, #ef4444, #f59e0b); }
.maker-card[data-maker="premium"] { --maker-grad: linear-gradient(135deg, #06b6d4, #8b5cf6); }
.maker-card[data-maker="ebody"] { --maker-grad: linear-gradient(135deg, #f43f5e, #8b5cf6); }

/* /makers/index.html (メーカー一覧トップ) は作品数を併記する縦積みカード */
.maker-grid-full .maker-card {
  flex-direction: column;
  gap: 6px;
  padding: 32px 14px;
}
.maker-card-name {
  font-size: 17px;
  font-weight: 700;
  letter-spacing: 0.02em;
}
.maker-card-count {
  font-size: 12px;
  opacity: 0.75;
}

/* ── Pagination ── */
.pagination {
  display: flex; gap: 6px; justify-content: center; margin: 40px 0 0;
  flex-wrap: wrap;
}
.pagination a, .pagination span {
  min-width: 38px; height: 38px; padding: 0 12px;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--bg-elev);
  border-radius: var(--radius-sm); color: var(--fg-dim); font-size: 13px;
  font-weight: 600; box-shadow: var(--shadow);
  transition: all .15s;
}
.pagination a:hover {
  color: var(--accent); transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(236,72,153,.15);
}
.pagination .current {
  background: var(--gradient); color: #fff;
  box-shadow: 0 4px 12px rgba(236,72,153,.3);
}
.pagination .disabled { opacity: .35; pointer-events: none; }

/* ── Footer ── */
.site-footer {
  margin-top: 80px; padding: 40px 24px;
  background: var(--bg-elev);
  border-top: 1px solid var(--border);
}
.footer-inner { max-width: 1400px; margin: 0 auto; }
.footer-inner h3 {
  font-size: 14px; margin: 0 0 14px; color: var(--fg);
  font-weight: 700;
}
.footer-inner p { font-size: 12px; color: var(--fg-dim); margin: 0 0 8px; line-height: 1.8; }
.footer-inner a { color: var(--accent); }
.footer-inner a:hover { color: var(--accent-hover); }
.footer-inner .footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 32px;
  margin-bottom: 24px;
}
.footer-inner .footer-grid > section { min-width: 0; }
.footer-inner .footer-links {
  list-style: none;
  padding: 0; margin: 0;
}
.footer-inner .footer-links li {
  font-size: 12px;
  color: var(--fg-dim);
  margin: 0 0 6px;
  line-height: 1.6;
}
.footer-inner .footer-notice {
  font-size: 11.5px;
  color: var(--fg-dim);
  padding: 14px 16px;
  background: var(--bg-soft);
  border-radius: 6px;
  border-left: 3px solid var(--accent);
  line-height: 1.85;
  margin: 0 0 16px;
}
.footer-inner .footer-notice strong {
  color: var(--fg);
  font-weight: 700;
}
.footer-inner .copyright {
  margin-top: 16px; padding-top: 18px; border-top: 1px solid var(--border);
  text-align: center; font-size: 11px; color: var(--fg-mute);
}
@media (max-width: 720px) {
  .footer-inner .footer-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}

/* ── Empty state ── */
.empty {
  text-align: center; padding: 80px 20px; color: var(--fg-mute);
}
.empty h3 {
  color: var(--fg-dim); font-weight: 500;
  margin: 0;
}

/* ── Contact ページ (mailto ランディング) ── */
.contact-lead {
  color: var(--fg-dim);
  font-size: 14px;
  line-height: 1.85;
  margin: 0 0 28px;
}
.contact-card {
  max-width: 560px;
  padding: 28px 32px;
  margin: 0 0 36px;
  background: var(--bg-elev);
  border-radius: var(--radius);
  border-left: 4px solid var(--accent);
  box-shadow: var(--shadow-card);
  text-align: center;
}
.contact-card-label {
  font-size: 12px;
  color: var(--fg-mute);
  letter-spacing: 0.08em;
  margin-bottom: 10px;
  font-weight: 600;
}
.contact-card-mail {
  display: inline-block;
  font-size: 22px;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: 0.01em;
  word-break: break-all;
  text-decoration: none;
}
.contact-card-mail:hover { color: var(--accent-hover); text-decoration: underline; }
.contact-card-note {
  font-size: 11.5px;
  color: var(--fg-mute);
  margin: 12px 0 0;
}
.contact-h3 {
  font-size: 15px;
  font-weight: 700;
  color: var(--fg);
  margin: 32px 0 10px;
  padding-bottom: 6px;
  border-bottom: 2px solid var(--accent);
  display: inline-block;
}
.contact-list {
  list-style: disc;
  padding-left: 22px;
  margin: 8px 0 20px;
  color: var(--fg-dim);
  font-size: 13.5px;
  line-height: 1.85;
}
.contact-list li { margin-bottom: 6px; }
.contact-list code {
  font-size: 12px;
  padding: 1px 6px;
  background: var(--bg-soft);
  border-radius: 3px;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", monospace;
  color: var(--fg);
}

/* ── Search page (女優・監督検索) ── */
.search-intro {
  color: var(--fg-dim); font-size: 13px; line-height: 1.7;
  margin-bottom: 8px;
}
.search-threshold-note {
  font-size: 12px; line-height: 1.7;
  color: var(--fg-mute);
  background: var(--bg-soft);
  border-left: 3px solid var(--accent);
  padding: 10px 14px;
  border-radius: 4px;
  margin-bottom: 18px;
}
.search-threshold-note strong { color: var(--fg-dim); }
.search-tabs {
  display: flex; gap: 8px; margin-bottom: 16px;
}
.search-tab {
  padding: 10px 24px; background: var(--bg-elev); color: var(--fg-dim);
  border: 1px solid transparent; border-radius: var(--radius-sm);
  font-weight: 600; font-size: 14px; cursor: pointer;
  transition: all .2s;
}
.search-tab:hover { color: var(--fg); }
.search-tab.active {
  background: var(--gradient); color: #fff;
  box-shadow: 0 6px 18px rgba(168,85,247,.25);
}
.search-filter-bar {
  display: flex; gap: 12px; align-items: center; flex-wrap: wrap;
  padding: 16px 20px; background: var(--bg-elev);
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  margin-bottom: 24px;
}
.search-filter-bar input[type=search],
.search-filter-bar select {
  padding: 8px 12px; background: var(--bg-soft); color: var(--fg);
  border: 1px solid transparent; border-radius: var(--radius-sm);
  font-size: 13px; transition: all .15s;
}
.search-filter-bar input[type=search] { min-width: 200px; }
.search-filter-bar input[type=search]:focus,
.search-filter-bar select:focus {
  outline: none; background: var(--bg-elev); border-color: var(--accent);
}
.search-filter-bar label {
  font-size: 12px; color: var(--fg-mute);
  display: flex; align-items: center; gap: 8px;
}
.search-filter-bar .count {
  margin-left: auto; color: var(--fg-mute); font-size: 12px; font-weight: 500;
}

.search-results {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 14px;
  margin-bottom: 28px;
}
.person-card {
  display: flex; align-items: center; gap: 12px;
  padding: 12px;
  background: var(--bg-elev);
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  text-decoration: none; color: var(--fg);
  transition: transform .2s, box-shadow .2s;
  border: 1px solid transparent;
}
.person-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 30px rgba(20, 20, 50, 0.14);
  border-color: var(--accent);
}
.person-thumb {
  width: 60px; height: 60px; flex: 0 0 60px;
  border-radius: 50%; overflow: hidden;
  background: var(--bg-soft);
  display: flex; align-items: center; justify-content: center;
}
.person-thumb img { width: 100%; height: 100%; object-fit: cover; }
.person-thumb-fallback {
  font-size: 24px; font-weight: 700; color: var(--fg-mute);
}
.person-body { flex: 1; min-width: 0; }
.person-name {
  font-size: 14px; font-weight: 700;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  margin-bottom: 4px;
}
.person-meta {
  font-size: 11px; color: var(--fg-mute);
  display: flex; gap: 8px; align-items: center; flex-wrap: wrap;
}
.person-works { color: var(--fg-dim); font-weight: 600; }
.person-rating { color: #f59e0b; font-weight: 600; }
.person-rating.none { color: var(--fg-mute); font-weight: 400; }
.person-rating .rc { color: var(--fg-mute); font-weight: 400; margin-left: 2px; }
.person-latest {
  font-size: 10px; color: var(--fg-mute); margin-top: 3px;
}
.person-profile {
  font-size: 11px; color: var(--accent);
  margin-top: 4px; font-weight: 600;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
/* 顔写真がある場合は object-position を顔上部寄りに */
.person-card.face .person-thumb img {
  object-position: 50% 20%;
}
/* プロフィール絞り込みバー(2段目) */
.profile-filter-bar { margin-top: -12px; padding: 12px 20px; }
.profile-filter-bar select { min-width: 96px; }
.profile-filter-bar label { gap: 4px; }
.profile-filter-bar label > select + select { margin-left: 4px; }

@media (max-width: 600px) {
  .search-results { grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); }
  .person-thumb { width: 48px; height: 48px; flex-basis: 48px; }
  .person-name { font-size: 13px; }
}

/* ── セクション固有のリード文 (SEO 用、 一覧/メーカー/ジャンル/女優ページ上部) ── */
.section-lead {
  color: var(--fg-mute);
  font-size: 13.5px;
  line-height: 1.75;
  margin: 4px 0 18px;
  padding: 12px 16px;
  background: var(--bg-soft, rgba(255,255,255,0.03));
  border-left: 3px solid var(--accent, #ec4899);
  border-radius: 0 6px 6px 0;
}
.section-lead strong {
  color: var(--fg);
  font-weight: 700;
}
.section-lead a {
  color: var(--accent, #ec4899);
  text-decoration: none;
}
.section-lead a:hover { text-decoration: underline; }

/* ── ジャンル一覧(/genres/ 入口) ── */
.genre-intro {
  color: var(--fg-mute);
  font-size: 13px;
  margin: 4px 0 18px;
}
.genre-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 10px;
  margin-bottom: 24px;
}
.genre-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 12px 16px;
  background: var(--bg-elev);
  border-radius: var(--radius);
  text-decoration: none;
  color: var(--fg);
  font-size: 14px;
  border: 1px solid transparent;
  transition: transform .2s, box-shadow .2s, border-color .2s;
}
.genre-card:hover {
  transform: translateY(-2px);
  border-color: var(--accent);
  box-shadow: var(--shadow-card);
}
.genre-card .genre-name { font-weight: 700; }
.genre-card .genre-count {
  color: var(--fg-mute);
  font-size: 11px;
  font-weight: 500;
}

/* ── パンくず ── */
.breadcrumb {
  font-size: 12px;
  margin: 0 0 14px 0;
  color: var(--fg-mute);
}
.breadcrumb ol {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 4px 0;
}
.breadcrumb li {
  display: inline-flex;
  align-items: center;
}
.breadcrumb li + li::before {
  content: "›";
  margin: 0 8px;
  color: var(--fg-mute);
  opacity: 0.6;
}
.breadcrumb li a {
  color: var(--fg-mute);
  text-decoration: none;
}
.breadcrumb li a:hover {
  color: var(--accent);
  text-decoration: underline;
}
.breadcrumb li[aria-current="page"] {
  color: var(--fg);
  font-weight: 600;
}

/* ── 女優ページ ヒーロー(プロフィール) ── */
.actress-hero {
  display: flex;
  align-items: flex-start;
  gap: 24px;
  padding: 24px 20px 28px;
  margin-bottom: 24px;
  background: var(--bg-elev);
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
}
.actress-photo {
  flex: 0 0 200px;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  overflow: hidden;
  background: var(--bg-soft);
  display: flex;
  align-items: center;
  justify-content: center;
}
.actress-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 20%;
}
.actress-photo-fallback {
  font-size: 80px;
  font-weight: 700;
  color: var(--fg-mute);
}
.actress-info {
  flex: 1;
  min-width: 0;
}
.actress-info h1 {
  font-size: 28px;
  font-weight: 800;
  margin: 0 0 6px 0;
  letter-spacing: 0.02em;
}
.actress-ruby {
  color: var(--fg-mute);
  font-size: 14px;
  margin: 0 0 14px 0;
}
.actress-profile-meta {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 4px 16px;
  margin: 12px 0 16px;
  font-size: 13px;
}
.actress-profile-meta dt {
  color: var(--fg-mute);
  font-weight: 600;
}
.actress-profile-meta dd {
  margin: 0;
  color: var(--fg);
}
.actress-stats {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  margin-top: 14px;
}
.actress-stat {
  display: flex;
  flex-direction: column;
  background: var(--bg-soft);
  padding: 8px 14px;
  border-radius: 10px;
  min-width: 96px;
}
.actress-stat .num {
  font-size: 18px;
  font-weight: 800;
  color: var(--fg);
  text-decoration: none;
}
.actress-stat .label {
  font-size: 11px;
  color: var(--fg-mute);
  margin-top: 2px;
}

@media (max-width: 600px) {
  .actress-hero { flex-direction: column; align-items: center; text-align: center; padding: 20px 16px; }
  .actress-photo { width: 140px; height: 140px; flex-basis: 140px; }
  .actress-info h1 { font-size: 22px; }
  .actress-profile-meta { grid-template-columns: auto 1fr; font-size: 12px; }
  .actress-stats { justify-content: center; }
}

/* ── 商品スライダー (トップページ各セクション) ──
   Sale / Works / Reservation / LATEST セクションで 一度に5件表示・矢印操作・ループ式。
   - .slider-viewport が overflow:hidden
   - .slider-track が translateX で page 単位スライド
   - .slider-track > .card の flex-basis を画面幅で 5/3/2 に切替
   - スライド時 .sliding クラス付与で カードに bounce + opacity 演出 (video.dmm 系の動的見せ方)
   JS: /assets/js/app.js initSliders() */
.slider-section .slider {
  position: relative;
  padding: 0 4px;
  /* iOS Safari: flex 子の flex-basis: calc(100% - x) が
     親幅未確定だと max-content に展開される現象を防ぐため、各層で
     幅と min-width:0 を明示する */
  width: 100%;
  min-width: 0;
}
.slider-section .slider-viewport {
  overflow: hidden;
  padding: 8px 4px;
  width: 100%;
  min-width: 0;
}
.slider-section .slider-track {
  display: flex;
  gap: 22px;
  width: 100%;
  /* 1枚送り時の柔らかい overshoot バウンス感 (cubic-bezier の終端 1.0 超え) */
  transition: transform .7s cubic-bezier(.34, 1.2, .5, 1);
  will-change: transform;
}
.slider-section .slider-track > .card {
  flex: 0 0 calc((100% - 22px * 4) / 5);
  min-width: 0;
  /* スライダー内では IntersectionObserver の初期 hide を解除 (横スクロール先のカードは
     viewport 外でも事前に可視化しておく) */
  opacity: 1;
  transform: none;
}
.slider-section .slider-track > .card.revealed {
  opacity: 1;
  transform: none;
}
/* clone は意味的に重複なので a11y からは隠す (見た目はそのまま) */
.slider-section .slider-track > .slider-clone {
  pointer-events: auto;
}
/* スライド中の動的演出 ─ track 全体に短いブライトネス/サチュレーション パルスを乗せて
   「ぬるっと動いている」感を強調 (1枚送りなので per-card stagger は使わない) */
.slider-section .slider-track.sliding {
  animation: slider-track-pulse .7s ease-out;
}
@keyframes slider-track-pulse {
  0%   { filter: brightness(1)    saturate(1); }
  35%  { filter: brightness(1.06) saturate(1.18); }
  100% { filter: brightness(1)    saturate(1); }
}

/* 矢印ボタン */
.slider-section .slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  width: 48px; height: 48px;
  border: none;
  background: linear-gradient(135deg, #ec4899 0%, #8b5cf6 100%);
  color: #fff;
  font-size: 30px;
  font-weight: 800;
  border-radius: 50%;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  line-height: 1;
  padding-bottom: 4px;
  box-shadow: 0 6px 20px rgba(236, 72, 153, 0.45);
  transition: transform .25s cubic-bezier(.2, 1.4, .4, 1), box-shadow .25s, opacity .25s;
}
.slider-section .slider-btn:hover {
  transform: translateY(-50%) scale(1.12);
  box-shadow: 0 12px 32px rgba(236, 72, 153, 0.65);
}
.slider-section .slider-btn:active {
  transform: translateY(-50%) scale(0.94);
}
.slider-section .slider-btn[hidden] { display: none; }
.slider-section .slider-prev { left: -18px; }
.slider-section .slider-next { right: -18px; }

/* sale-card 専用: 値引きバッジ + 価格表示 */
.sale-card .sale-badge {
  background: linear-gradient(135deg, #ef4444 0%, #f97316 100%);
  color: #fff;
  font-weight: 800;
  letter-spacing: 0.02em;
  box-shadow: 0 4px 12px rgba(239, 68, 68, 0.35);
}
.sale-card .sale-price-mini {
  display: inline-flex;
  align-items: baseline;
  gap: 4px;
  font-size: 12px;
}
.sale-card .sale-price-mini del {
  color: var(--fg-mute);
  font-size: 11px;
}
.sale-card .sale-price-mini strong {
  color: #ef4444;
  font-weight: 800;
  font-size: 14px;
}

/* レスポンシブ: 中型タブレット 3件、 モバイル 2件
   iOS Safari の flex-basis: calc(100% - x) 計算崩れ対策で、
   モバイル域は vw ベースの固定 width に切り替える(親幅依存なし) */
@media (max-width: 900px) {
  .slider-section .slider-track {
    gap: 14px;
  }
  .slider-section .slider-track > .card {
    flex: 0 0 auto;
    width: calc((100vw - 80px) / 3);
  }
  .slider-section .slider-btn {
    width: 40px; height: 40px; font-size: 24px;
  }
  .slider-section .slider-prev { left: -8px; }
  .slider-section .slider-next { right: -8px; }
}
@media (max-width: 560px) {
  .slider-section .slider-track {
    gap: 10px;
  }
  .slider-section .slider-track > .card {
    flex: 0 0 auto;
    /* 100vw - (main padding 48 + slider 8 + viewport 4 + gap 10 + 安全マージン 10) = 100vw - 80 */
    width: calc((100vw - 80px) / 2);
  }
  .slider-section .slider-viewport {
    padding: 6px 2px;
  }
  .slider-section .slider-btn {
    width: 36px; height: 36px; font-size: 22px;
  }
  .slider-section .slider-prev { left: 2px; }
  .slider-section .slider-next { right: 2px; }
}
