/* =====================================================================
   オトナビまとめ（OTONAVI） 共通スタイル
   動画まとめサイト型 / ダークテーマ / スマホファースト
   ===================================================================== */

:root {
  --bg: #08080a;
  --bg-elev: #0e0e12;
  --surface: #14141a;
  --surface-2: #1b1b23;
  --surface-3: #24242f;
  --line: rgba(255, 255, 255, 0.075);
  --line-strong: rgba(255, 255, 255, 0.16);
  --text: #f3f3f6;
  --muted: #9d9daa;
  --muted-2: #71717f;
  --accent: #ff4f84;
  --accent-deep: #e12b63;
  --accent-soft: rgba(255, 79, 132, 0.12);
  --gold: #ffc46b;
  --radius: 14px;
  --radius-sm: 9px;
  --maxw: 1200px;
  --header-h: 60px;
}

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Noto Sans JP",
    "Yu Gothic Medium", "Yu Gothic", YuGothic, Meiryo, system-ui, -apple-system,
    "Segoe UI", sans-serif;
  font-size: 15px;
  line-height: 1.7;
  letter-spacing: 0.01em;
  min-height: 100vh;
  overflow-x: hidden;
}

body.gate-open { overflow: hidden; }
body.drawer-open { overflow: hidden; }

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

a { color: inherit; text-decoration: none; }
a:hover { color: #fff; }

h1, h2, h3, h4 { margin: 0 0 0.6em; line-height: 1.45; font-weight: 700; }
p { margin: 0 0 1em; }
ul, ol { margin: 0 0 1em; padding-left: 1.3em; }
li { margin-bottom: 0.4em; }

.container {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 14px;
}

@media (min-width: 700px) { .container { padding: 0 24px; } }

.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;
}

.skip-link {
  position: absolute; left: 12px; top: -70px; z-index: 300;
  background: var(--accent); color: #fff;
  padding: 10px 16px; border-radius: 999px; font-weight: 700;
}
.skip-link:focus { top: 10px; }

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

/* ------------------------------------------------------------------
   18歳以上確認ゲート
   ------------------------------------------------------------------ */
.age-gate {
  position: fixed; inset: 0; z-index: 1000;
  display: flex; align-items: center; justify-content: center;
  padding: 18px;
  background:
    radial-gradient(700px 420px at 50% 0%, rgba(255, 79, 132, 0.16), transparent 65%),
    rgba(5, 5, 7, 0.97);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}

.age-gate[aria-hidden="true"] { display: none; }
html.age-ok .age-gate { display: none !important; }

.age-gate__panel {
  width: 100%; max-width: 420px;
  background: linear-gradient(180deg, #17171f 0%, #0f0f15 100%);
  border: 1px solid var(--line-strong);
  border-radius: 18px;
  padding: 30px 22px 22px;
  text-align: center;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6);
}

.age-gate__logo {
  font-weight: 800; letter-spacing: 0.26em;
  font-size: 0.72rem; color: var(--accent);
  margin-bottom: 14px;
}

.age-gate__panel h2 { font-size: 1.32rem; margin-bottom: 10px; }
.age-gate__panel p { color: var(--muted); font-size: 0.84rem; line-height: 1.8; margin-bottom: 18px; }

.age-gate__actions { display: grid; gap: 9px; }

.age-gate__note {
  margin-top: 18px; font-size: 0.68rem;
  color: var(--muted-2); line-height: 1.7;
}

/* ------------------------------------------------------------------
   ボタン
   ------------------------------------------------------------------ */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 8px; padding: 12px 18px;
  border-radius: 10px; border: 1px solid transparent;
  font-family: inherit; font-weight: 700; font-size: 0.92rem;
  line-height: 1.35; cursor: pointer; text-align: center;
  transition: background 0.15s ease, border-color 0.15s ease, transform 0.12s ease;
}

.btn:active { transform: translateY(1px); }

.btn--primary {
  background: linear-gradient(135deg, #ff6090 0%, #ff3d72 50%, #d9245c 100%);
  color: #fff;
  box-shadow: 0 8px 22px rgba(255, 61, 114, 0.28);
}
.btn--primary:hover { color: #fff; filter: brightness(1.06); }

.btn--ghost {
  background: rgba(255, 255, 255, 0.045);
  border-color: var(--line-strong);
  color: var(--text);
}
.btn--ghost:hover { background: rgba(255, 255, 255, 0.09); }

.btn--cta {
  background: #a78bfa; /* FAPXX風の淡いパープル。ブランド色に合わせる場合は下の変数を変更 */
  background: linear-gradient(135deg, #ff7ba4, #ff4f84 55%, #e0306b);
  color: #fff;
  font-size: 1rem;
  padding: 14px 18px;
  box-shadow: 0 10px 26px rgba(255, 79, 132, 0.26);
}
.btn--cta:hover { color: #fff; }

.btn--sub {
  background: #1c1c25;
  border-color: rgba(255, 255, 255, 0.13);
  color: #e9e9ef;
  font-weight: 600;
  font-size: 0.86rem;
}
.btn--sub:hover { background: #24242f; }

.btn--wide { width: 100%; }
.btn--sm { padding: 8px 14px; font-size: 0.8rem; border-radius: 8px; }

.btn svg { width: 15px; height: 15px; flex: none; }

/* ------------------------------------------------------------------
   ヘッダー
   ------------------------------------------------------------------ */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(8, 8, 10, 0.88);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: flex; align-items: center; gap: 18px;
  min-height: var(--header-h);
}

.brand { display: inline-flex; align-items: center; gap: 8px; flex: none; }

.brand__mark {
  width: 27px; height: 27px; border-radius: 8px;
  background: linear-gradient(135deg, #ff6f97, #c92357);
  display: grid; place-items: center;
  font-size: 0.78rem; font-weight: 900; color: #fff;
  box-shadow: 0 4px 12px rgba(255, 79, 132, 0.35);
}

.brand__text { display: flex; flex-direction: column; line-height: 1.1; }
.brand__jp { font-size: 1rem; font-weight: 800; letter-spacing: 0.06em; }
.brand__en { font-size: 0.56rem; color: var(--muted-2); letter-spacing: 0.22em; font-weight: 600; }

.main-nav {
  display: none;
  align-items: center;
  gap: 4px;
  font-size: 0.82rem;
  font-weight: 600;
  margin-left: 8px;
}

@media (min-width: 900px) { .main-nav { display: flex; } }

.main-nav a {
  color: var(--muted);
  padding: 8px 10px;
  border-radius: 8px;
  white-space: nowrap;
}
.main-nav a:hover { color: var(--text); background: rgba(255, 255, 255, 0.05); }
.main-nav a.is-current { color: #fff; }

.header-search {
  display: flex; align-items: center; gap: 8px;
  flex: 1; min-width: 0;
  height: 36px;
  background: #131319;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0 13px;
  transition: border-color 0.15s ease;
}
.header-search:focus-within { border-color: rgba(255, 79, 132, 0.55); }
.header-search svg { width: 14px; height: 14px; color: var(--muted-2); flex: none; }
.header-search input {
  flex: 1; min-width: 0; height: 100%;
  background: none; border: 0; outline: none;
  color: var(--text); font-family: inherit; font-size: 0.8rem;
}
.header-search input::placeholder { color: var(--muted-2); text-overflow: ellipsis; }

.header-actions { display: flex; align-items: center; gap: 4px; flex: none; }

.icon-btn {
  position: relative;
  display: inline-flex; align-items: center; justify-content: center;
  width: 38px; height: 38px;
  border: 0; background: none; border-radius: 8px;
  color: #d9d9e2; cursor: pointer;
}
.icon-btn:hover { background: rgba(255, 255, 255, 0.06); color: #fff; }
.icon-btn svg { width: 20px; height: 20px; }

.fav-count {
  position: absolute; top: 3px; right: 2px;
  min-width: 15px; height: 15px;
  padding: 0 4px;
  border-radius: 999px;
  background: var(--accent);
  color: #fff;
  font-size: 0.58rem; font-weight: 800;
  line-height: 15px; text-align: center;
  font-style: normal;
}
.fav-count[hidden] { display: none; }

@media (max-width: 420px) {
  .header-inner { gap: 8px; }
  .brand__en { display: none; }
  .header-search { height: 34px; padding: 0 10px; }
}

/* モバイルドロワー */
.drawer {
  position: fixed; inset: var(--header-h) 0 0 auto;
  width: min(84vw, 330px); z-index: 95;
  background: #0d0d12;
  border-left: 1px solid var(--line-strong);
  padding: 18px 20px 40px;
  overflow-y: auto;
  transform: translateX(100%);
  transition: transform 0.22s ease;
  box-shadow: -30px 0 60px rgba(0, 0, 0, 0.5);
}
.drawer.is-open { transform: translateX(0); }
.drawer[hidden] { display: block; visibility: hidden; }
.drawer.is-open[hidden] { visibility: visible; }

.drawer__group { margin-bottom: 22px; }
.drawer__group h2 {
  font-size: 0.66rem; letter-spacing: 0.14em;
  color: var(--muted-2); margin-bottom: 8px; font-weight: 700;
}
.drawer__group a {
  display: block; padding: 10px 2px;
  font-size: 0.9rem; color: #dcdce4;
  border-bottom: 1px solid var(--line);
}
.drawer__group a:last-child { border-bottom: 0; }

.drawer-backdrop {
  position: fixed; inset: var(--header-h) 0 0 0;
  background: rgba(0, 0, 0, 0.6);
  z-index: 90;
}
.drawer-backdrop[hidden] { display: none; }

/* ------------------------------------------------------------------
   ページ導入
   ------------------------------------------------------------------ */
.page-intro { padding: 26px 0 8px; }

.kicker {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 0.68rem; letter-spacing: 0.16em;
  color: var(--accent); font-weight: 700;
  margin-bottom: 10px;
}
.kicker::before { content: ""; width: 18px; height: 1px; background: var(--accent); }

.page-intro h1 {
  font-size: clamp(1.35rem, 5vw, 2.05rem);
  line-height: 1.4;
  margin-bottom: 10px;
  letter-spacing: 0.005em;
}

.page-intro h1 .grad {
  background: linear-gradient(100deg, #ff8fae 0%, #ff4f84 55%, #ffc46b 100%);
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
}

.page-intro .lead {
  color: var(--muted); font-size: 0.86rem;
  max-width: 46em; margin-bottom: 14px;
}

.pr-notice {
  display: flex; gap: 8px; align-items: flex-start;
  font-size: 0.72rem; color: var(--muted-2);
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 9px 11px; line-height: 1.6;
  margin: 0;
}
.pr-notice strong {
  color: var(--accent); font-weight: 800;
  border: 1px solid rgba(255, 79, 132, 0.4);
  border-radius: 4px;
  padding: 0 5px; font-size: 0.66rem;
  line-height: 1.5;
}

/* ------------------------------------------------------------------
   セクション
   ------------------------------------------------------------------ */
.section { padding: 26px 0 10px; }
.section--tight { padding-top: 18px; }

.section-head {
  display: flex; align-items: center; justify-content: space-between;
  gap: 12px; margin-bottom: 12px;
}

.section-head h2 {
  display: flex; align-items: baseline; gap: 9px;
  font-size: 1.06rem; margin: 0; letter-spacing: 0.02em;
}

.section-head h2 .en {
  font-size: 1.16rem; font-weight: 800;
  letter-spacing: 0.12em;
  color: #fff;
}

.section-head h2 .sub {
  font-size: 0.76rem; color: var(--muted); letter-spacing: 0.04em;
}

.section-head .more {
  font-size: 0.74rem; color: var(--muted); white-space: nowrap;
}
.section-head .more:hover { color: #fff; }

.section-desc {
  font-size: 0.76rem; color: var(--muted-2);
  margin: -4px 0 12px; line-height: 1.7;
}

.updated {
  font-size: 0.68rem; color: var(--muted-2);
  display: inline-flex; align-items: center; gap: 6px;
  white-space: nowrap;
}
.updated::before {
  content: ""; width: 6px; height: 6px; border-radius: 50%;
  background: #35d07f; box-shadow: 0 0 8px rgba(53, 208, 127, 0.8);
}

/* ------------------------------------------------------------------
   女優（クリエイター）行
   ------------------------------------------------------------------ */
.rail {
  display: flex; gap: 10px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  padding: 2px 0 8px;
  margin: 0 -14px;
  padding-left: 14px;
  padding-right: 14px;
}
.rail::-webkit-scrollbar { display: none; }
@media (min-width: 700px) {
  .rail { margin: 0; padding-left: 0; padding-right: 0; }
}

.actress {
  flex: none; width: 92px;
  scroll-snap-align: start;
  display: flex; flex-direction: column; align-items: center;
  gap: 4px; text-align: center;
}

.actress__avatar {
  position: relative;
  width: 66px; height: 66px;
  border-radius: 50%;
  overflow: hidden;
  background: var(--surface-2);
  border: 2px solid rgba(255, 255, 255, 0.1);
  transition: border-color 0.15s ease, transform 0.15s ease;
}
.actress:hover .actress__avatar { border-color: var(--accent); transform: translateY(-2px); }
.actress__avatar img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 22%; }

.actress__rank {
  position: absolute; left: -1px; bottom: -1px;
  width: 19px; height: 19px; border-radius: 50%;
  background: rgba(8, 8, 10, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.35);
  color: #fff; font-size: 0.6rem; font-weight: 800;
  display: grid; place-items: center;
  line-height: 1;
}

.actress__name {
  font-size: 0.72rem; font-weight: 700; color: #e7e7ee;
  width: 100%; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.actress__meta { font-size: 0.62rem; color: var(--muted-2); line-height: 1.2; }

/* ------------------------------------------------------------------
   作品カード（動画型）
   ------------------------------------------------------------------ */
.vcard {
  position: relative;
  display: flex; flex-direction: column;
  min-width: 0;
}

.vcard__thumb {
  position: relative;
  display: block;
  aspect-ratio: 16 / 10;
  border-radius: 8px;
  overflow: hidden;
  background: var(--surface-2);
}

.vcard__thumb img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: 50% 20%;
  transition: transform 0.35s ease, opacity 0.2s ease;
}
.vcard:hover .vcard__thumb img { transform: scale(1.035); opacity: 0.92; }

.vcard__play {
  position: absolute; left: 50%; top: 50%;
  width: 40px; height: 40px;
  margin: -20px 0 0 -20px;
  border-radius: 50%;
  background: rgba(12, 12, 16, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.35);
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
  display: grid; place-items: center;
}
.vcard__play::after {
  content: "";
  width: 0; height: 0;
  border-left: 10px solid #fff;
  border-top: 6px solid transparent;
  border-bottom: 6px solid transparent;
  margin-left: 2px;
}

.vcard__likes,
.vcard__views {
  position: absolute; bottom: 5px;
  display: inline-flex; align-items: center; gap: 3px;
  font-size: 0.62rem; font-weight: 700; color: #fff;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.9);
  line-height: 1;
}
.vcard__likes { left: 6px; }
.vcard__views { right: 6px; color: #e8e8ee; }
.vcard__likes svg { width: 10px; height: 10px; fill: var(--accent); }
.vcard__views svg { width: 10px; height: 10px; fill: #fff; opacity: 0.8; }

.vcard__badge {
  position: absolute; top: 6px; left: 6px;
  background: rgba(8, 8, 10, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.18);
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
  color: #fff; font-size: 0.58rem; font-weight: 700;
  padding: 2px 6px; border-radius: 4px;
  letter-spacing: 0.03em;
}

.vcard__badge--sale {
  background: linear-gradient(135deg, #ff5f8f, #d9245c);
  border-color: transparent;
}

.rank-badge {
  position: absolute; top: 6px; left: 6px;
  min-width: 22px; height: 22px;
  padding: 0 5px;
  border-radius: 5px;
  background: rgba(8, 8, 10, 0.75);
  border: 1px solid rgba(255, 255, 255, 0.22);
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
  color: #fff; font-size: 0.7rem; font-weight: 800;
  display: inline-flex; align-items: center; justify-content: center;
  line-height: 1;
}
.rank-badge--1 { background: linear-gradient(135deg, #ffd67a, #e8a327); border-color: transparent; color: #2a1a00; }
.rank-badge--2 { background: linear-gradient(135deg, #e9edf5, #a9b3c4); border-color: transparent; color: #171b22; }
.rank-badge--3 { background: linear-gradient(135deg, #f0b287, #b97044); border-color: transparent; color: #2a1405; }

.fav-toggle {
  position: absolute; top: 5px; right: 5px;
  width: 28px; height: 28px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(8, 8, 10, 0.6);
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
  color: #fff;
  display: grid; place-items: center;
  cursor: pointer;
  padding: 0;
  z-index: 2;
  transition: background 0.15s ease, transform 0.12s ease;
}
.fav-toggle svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 2; }
.fav-toggle:hover { transform: scale(1.07); }
.fav-toggle.is-fav { background: rgba(255, 79, 132, 0.9); border-color: transparent; }
.fav-toggle.is-fav svg { fill: #fff; stroke: #fff; }

.vcard__foot {
  display: flex; flex-direction: column; gap: 2px;
  padding: 7px 2px 0;
  min-width: 0;
}

.vcard__title {
  font-size: 0.78rem; font-weight: 700; line-height: 1.5;
  color: #e9e9f0;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
  overflow: hidden;
}
.vcard:hover .vcard__title { color: #fff; }

.vcard__meta {
  font-size: 0.65rem; color: var(--muted-2);
  display: flex; gap: 6px; align-items: center;
  min-width: 0;
}
.vcard__meta span {
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.vcard__meta .dot { color: #4a4a55; }

.vcard__price {
  font-size: 0.66rem; color: var(--muted);
  margin-top: 1px;
}
.vcard__price b { color: var(--gold); font-size: 0.74rem; font-weight: 800; }

/* レール用の固定幅カード */
.rail .vcard { width: 190px; flex: none; scroll-snap-align: start; }
@media (min-width: 700px) { .rail .vcard { width: 216px; } }

/* グリッド */
.grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px 10px;
}
@media (min-width: 600px) { .grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px 14px; } }
@media (min-width: 900px) { .grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px 18px; } }
@media (min-width: 1120px) { .grid { grid-template-columns: repeat(5, minmax(0, 1fr)); } }

.grid .vcard__title { font-size: 0.8rem; }

.vcard[hidden] { display: none; }

/* ------------------------------------------------------------------
   ランキング操作部
   ------------------------------------------------------------------ */
.tool-row {
  display: flex; align-items: center; gap: 8px;
  overflow-x: auto; scrollbar-width: none;
  padding-bottom: 2px;
  margin-bottom: 10px;
}
.tool-row::-webkit-scrollbar { display: none; }

.seg {
  display: inline-flex; gap: 3px;
  background: #131319;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 3px;
  flex: none;
}

.seg button {
  border: 0; background: none;
  color: var(--muted);
  font-family: inherit; font-size: 0.74rem; font-weight: 700;
  padding: 6px 12px; border-radius: 999px;
  cursor: pointer; white-space: nowrap;
}
.seg button.is-active { background: #f2f2f5; color: #111114; }

.chips {
  display: flex; gap: 6px;
  overflow-x: auto; scrollbar-width: none;
  padding-bottom: 2px;
  margin-bottom: 12px;
}
.chips::-webkit-scrollbar { display: none; }

.chip {
  flex: none;
  display: inline-flex; align-items: center; gap: 5px;
  border: 1px solid var(--line-strong);
  background: #121218;
  color: #cfcfda;
  border-radius: 999px;
  padding: 6px 11px;
  font-family: inherit; font-size: 0.74rem; font-weight: 600;
  cursor: pointer; white-space: nowrap;
  transition: background 0.15s ease, border-color 0.15s ease;
}
.chip:hover { border-color: rgba(255, 255, 255, 0.3); }
.chip.is-active { background: #f2f2f5; border-color: #f2f2f5; color: #111114; }
.chip__count { font-size: 0.64rem; color: var(--muted-2); font-weight: 700; }
.chip.is-active .chip__count { color: #55555f; }

.stats-bar {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border: 1px solid var(--line);
  border-radius: 10px;
  overflow: hidden;
  margin-bottom: 16px;
}
@media (min-width: 620px) { .stats-bar { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

.stat {
  padding: 10px 12px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  text-align: center;
  min-width: 0;
}
@media (min-width: 620px) {
  .stat { border-bottom: 0; }
  .stat:last-child { border-right: 0; }
}
.stat:nth-child(2n) { border-right: 0; }
@media (min-width: 620px) { .stat:nth-child(2n) { border-right: 1px solid var(--line); } .stat:last-child { border-right: 0; } }

.stat__value { font-size: 1.1rem; font-weight: 800; color: #fff; line-height: 1.3; }
.stat__label { font-size: 0.62rem; color: var(--muted-2); letter-spacing: 0.05em; }

/* ------------------------------------------------------------------
   詳細ページ
   ------------------------------------------------------------------ */
.backlink {
  display: inline-flex; align-items: center; gap: 6px;
  margin: 18px 0 14px;
  font-size: 0.76rem; color: var(--muted);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 6px 13px;
  background: #101016;
}
.backlink:hover { color: #fff; border-color: var(--line-strong); }

.detail {
  display: grid;
  gap: 20px;
  align-items: start;
}
@media (min-width: 880px) {
  .detail { grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 30px; }
}

.video-frame {
  position: relative;
  aspect-ratio: 16 / 10;
  border-radius: 12px;
  overflow: hidden;
  background: #000;
  border: 1px solid var(--line);
}

.video-frame img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: 50% 20%;
  opacity: 0.92;
}

.video-frame__play {
  position: absolute; left: 50%; top: 50%;
  transform: translate(-50%, -50%);
  width: 64px; height: 64px;
  border-radius: 50%;
  background: rgba(10, 10, 14, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.5);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  display: grid; place-items: center;
  transition: transform 0.15s ease, background 0.15s ease;
}
.video-frame:hover .video-frame__play { transform: translate(-50%, -50%) scale(1.06); background: rgba(255, 79, 132, 0.75); }
.video-frame__play::after {
  content: "";
  width: 0; height: 0;
  border-left: 17px solid #fff;
  border-top: 10px solid transparent;
  border-bottom: 10px solid transparent;
  margin-left: 4px;
}

.pr-badge {
  position: absolute; top: 10px; left: 10px;
  background: rgba(8, 8, 10, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: #fff; font-size: 0.62rem; font-weight: 800;
  padding: 2px 7px; border-radius: 4px;
  letter-spacing: 0.06em;
}

.detail .fav-toggle {
  top: auto; bottom: 10px; right: 10px;
  width: auto; height: 32px;
  border-radius: 999px;
  padding: 0 12px;
  gap: 6px;
  display: inline-flex;
  align-items: center;
  font-size: 0.72rem; font-weight: 700;
  font-family: inherit;
}
.detail .fav-toggle svg { width: 13px; height: 13px; }

.video-note {
  font-size: 0.66rem; color: var(--muted-2);
  margin: 8px 0 0; line-height: 1.65;
}

.detail__side { min-width: 0; }

.detail__kicker {
  font-size: 0.68rem; color: var(--muted-2);
  letter-spacing: 0.08em; margin-bottom: 8px;
}

.detail h1 {
  font-size: clamp(1.12rem, 4.2vw, 1.5rem);
  line-height: 1.55;
  margin-bottom: 8px;
}

.detail__actress {
  font-size: 0.82rem; color: var(--muted);
  margin-bottom: 14px;
  display: flex; flex-wrap: wrap; gap: 4px 10px;
  align-items: center;
}
.detail__actress b { color: #fff; font-weight: 700; }
.detail__actress a { color: #fff; border-bottom: 1px solid rgba(255, 255, 255, 0.25); }
.detail__actress .sep { color: #4a4a55; }

.detail .stats-bar { margin-bottom: 14px; }

.tag-row { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 16px; }
.tag-row a {
  display: inline-flex; align-items: center;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  padding: 4px 10px;
  font-size: 0.72rem; color: #dadae3;
}
.tag-row a:hover { border-color: var(--accent); color: #fff; }

.cta-stack { display: grid; gap: 8px; margin-bottom: 8px; }

.pr-note {
  font-size: 0.64rem; color: var(--muted-2);
  text-align: center; margin: 0 0 10px;
}

.sample-link {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 0.74rem; color: var(--muted);
  border-bottom: 1px dotted rgba(255, 255, 255, 0.25);
  margin-bottom: 14px;
}
.sample-link:hover { color: #fff; }

/* ------------------------------------------------------------------
   本文・レビュー
   ------------------------------------------------------------------ */
.panel {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px 16px;
}
@media (min-width: 700px) { .panel { padding: 26px 28px; } }

.panel h2 {
  font-size: 1rem; margin-bottom: 12px;
  display: flex; align-items: center; gap: 8px;
}
.panel h2::before {
  content: ""; width: 3px; height: 17px;
  border-radius: 2px; background: var(--accent);
}

.review-text { font-size: 0.88rem; line-height: 1.95; color: #dadade; }
.review-text p:last-child { margin-bottom: 0; }

.points { list-style: none; padding: 0; margin: 16px 0 0; display: grid; gap: 7px; }
.points li {
  position: relative; padding-left: 22px;
  font-size: 0.82rem; color: #d8d8df; line-height: 1.7; margin: 0;
}
.points li::before {
  content: "✓"; position: absolute; left: 0; top: 0;
  color: var(--accent); font-weight: 800;
}

.spec-table {
  width: 100%; border-collapse: collapse; font-size: 0.79rem;
}
.spec-table th, .spec-table td {
  text-align: left; padding: 8px 4px;
  border-bottom: 1px solid var(--line);
  vertical-align: top; line-height: 1.65;
}
.spec-table th { color: var(--muted-2); font-weight: 600; width: 34%; white-space: nowrap; }
.spec-table tr:last-child th, .spec-table tr:last-child td { border-bottom: 0; }

.disclaimer {
  font-size: 0.66rem; color: var(--muted-2); line-height: 1.7;
  background: rgba(255, 255, 255, 0.02);
  border-left: 3px solid var(--line-strong);
  padding: 8px 11px; border-radius: 0 6px 6px 0;
  margin: 12px 0 0;
}

/* ------------------------------------------------------------------
   特集カード
   ------------------------------------------------------------------ */
.feature-grid { display: grid; gap: 10px; }
@media (min-width: 700px) { .feature-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; } }
@media (min-width: 1000px) { .feature-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

.feature-card {
  display: flex; gap: 11px; align-items: flex-start;
  background: #101016;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 13px;
  transition: border-color 0.15s ease, background 0.15s ease;
}
.feature-card:hover { border-color: rgba(255, 79, 132, 0.4); background: #14141b; }

.feature-card__num {
  flex: none; width: 28px; height: 28px;
  border-radius: 7px;
  display: grid; place-items: center;
  background: var(--accent-soft);
  color: var(--accent);
  font-weight: 800; font-size: 0.76rem;
  border: 1px solid rgba(255, 79, 132, 0.2);
}

.feature-card__body { min-width: 0; }
.feature-card__title { font-size: 0.82rem; font-weight: 700; line-height: 1.55; margin: 0 0 3px; }
.feature-card__desc { font-size: 0.68rem; color: var(--muted-2); line-height: 1.6; margin: 0; }

/* ------------------------------------------------------------------
   タグ一覧
   ------------------------------------------------------------------ */
.tag-cloud { display: flex; flex-wrap: wrap; gap: 7px; }
.tag-cloud a {
  display: inline-flex; align-items: center; gap: 5px;
  border: 1px solid var(--line);
  background: #101016;
  border-radius: 999px;
  padding: 6px 11px;
  font-size: 0.76rem; color: #d7d7e1;
}
.tag-cloud a:hover { border-color: var(--accent); color: #fff; }
.tag-cloud a span { font-size: 0.66rem; color: var(--muted-2); }

/* ------------------------------------------------------------------
   CTA帯
   ------------------------------------------------------------------ */
.cta-band {
  display: flex; gap: 14px; align-items: center; justify-content: space-between;
  flex-wrap: wrap;
  background:
    radial-gradient(420px 160px at 100% 0%, rgba(255, 79, 132, 0.18), transparent 70%),
    #12121a;
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  padding: 16px;
}
.cta-band__text { flex: 1; min-width: 210px; }
.cta-band__text h3 { font-size: 0.94rem; margin-bottom: 3px; }
.cta-band__text p { font-size: 0.72rem; color: var(--muted); margin: 0; }

/* ------------------------------------------------------------------
   記事・法務ページ
   ------------------------------------------------------------------ */
.page-head { padding: 24px 0 8px; }
.page-head h1 { font-size: clamp(1.3rem, 4.6vw, 1.85rem); margin-bottom: 8px; }
.page-head__lead { color: var(--muted); font-size: 0.86rem; max-width: 46em; }
.page-head__meta { font-size: 0.7rem; color: var(--muted-2); margin-top: 8px; }

.article { display: grid; gap: 22px; padding-bottom: 20px; }
@media (min-width: 900px) {
  .article { grid-template-columns: minmax(0, 1fr) 292px; gap: 30px; align-items: start; }
}

.prose {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px 17px;
  font-size: 0.89rem; line-height: 1.95; color: #dedee6;
}
@media (min-width: 640px) { .prose { padding: 30px 34px; } }

.prose h2 {
  font-size: 1.08rem;
  margin: 1.9em 0 0.65em;
  padding-left: 11px;
  border-left: 4px solid var(--accent);
  line-height: 1.5;
}
.prose h2:first-of-type { margin-top: 0.3em; }
.prose h3 { font-size: 0.97rem; margin: 1.5em 0 0.5em; color: #fff; }
.prose p { margin-bottom: 1.25em; }
.prose ul, .prose ol { padding-left: 1.25em; margin-bottom: 1.3em; }
.prose li { margin-bottom: 0.45em; }
.prose strong { color: #fff; }

.prose .note {
  background: rgba(255, 79, 132, 0.07);
  border: 1px solid rgba(255, 79, 132, 0.22);
  border-radius: 10px;
  padding: 12px 14px;
  font-size: 0.82rem; line-height: 1.8; color: #f0dbe3;
  margin: 1.5em 0;
}
.prose .note strong { color: var(--gold); }

.prose table { width: 100%; border-collapse: collapse; font-size: 0.79rem; margin: 1.2em 0 1.5em; }
.prose th, .prose td { border: 1px solid var(--line); padding: 7px 9px; text-align: left; line-height: 1.65; }
.prose th { background: var(--surface-2); color: var(--muted); font-weight: 700; }

.prose .toc {
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 12px 16px;
  font-size: 0.79rem;
  margin-bottom: 1.7em;
}
.prose .toc ol { margin: 0; }
.prose .toc a { color: var(--muted); }
.prose .toc a:hover { color: var(--accent); }

.article-aside { display: grid; gap: 12px; }
.aside-box {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 14px;
}
.aside-box h3 { font-size: 0.8rem; margin-bottom: 8px; color: var(--muted); letter-spacing: 0.04em; }
.aside-list { list-style: none; padding: 0; margin: 0; }
.aside-list li { margin: 0; border-bottom: 1px solid var(--line); }
.aside-list li:last-child { border-bottom: 0; }
.aside-list a { display: block; padding: 8px 0; font-size: 0.75rem; color: #d5d5df; line-height: 1.6; }
.aside-list a:hover { color: var(--accent); }

.aside-work { display: flex; gap: 9px; align-items: center; padding: 8px 0; border-bottom: 1px solid var(--line); }
.aside-work:last-child { border-bottom: 0; }
.aside-work img { width: 56px; height: 64px; object-fit: cover; object-position: 50% 20%; border-radius: 5px; flex: none; }
.aside-work__title { font-size: 0.7rem; line-height: 1.5; color: #d5d5df; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.aside-work__meta { font-size: 0.62rem; color: var(--muted-2); }

.legal { max-width: 840px; margin: 0 auto; }
.legal__updated { font-size: 0.72rem; color: var(--muted-2); margin-bottom: 14px; }

.contact-card {
  background: var(--surface);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  padding: 20px;
  text-align: center;
}
.contact-card h2 { font-size: 1rem; }
.contact-card p { font-size: 0.84rem; color: var(--muted); }

/* ------------------------------------------------------------------
   一覧ページ（女優・タグ）
   ------------------------------------------------------------------ */
.actress-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 10px;
}
.actress-card {
  display: flex; gap: 10px; align-items: center;
  background: #101016;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 9px;
}
.actress-card:hover { border-color: rgba(255, 79, 132, 0.45); }
.actress-card__avatar {
  width: 52px; height: 52px; border-radius: 50%;
  overflow: hidden; flex: none; background: var(--surface-2);
}
.actress-card__avatar img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 22%; }
.actress-card__name { font-size: 0.78rem; font-weight: 700; line-height: 1.4; }
.actress-card__meta { font-size: 0.64rem; color: var(--muted-2); }

.filter-note {
  display: flex; flex-wrap: wrap; gap: 8px; align-items: center;
  font-size: 0.78rem; color: var(--muted);
  margin-bottom: 14px;
}
.filter-note strong { color: #fff; }
.filter-note a { font-size: 0.72rem; color: var(--accent); }

.empty-state {
  border: 1px dashed var(--line-strong);
  border-radius: 10px;
  padding: 40px 18px;
  text-align: center;
  color: var(--muted);
  font-size: 0.85rem;
  line-height: 1.9;
}
.empty-state[hidden] { display: none; }

/* ------------------------------------------------------------------
   フッター
   ------------------------------------------------------------------ */
.site-footer {
  margin-top: 40px;
  border-top: 1px solid var(--line);
  background: #060608;
  padding: 30px 0 26px;
}

.footer-grid { display: grid; gap: 22px; margin-bottom: 22px; }
@media (min-width: 720px) { .footer-grid { grid-template-columns: 1.5fr 1fr 1fr; gap: 30px; } }

.footer-brand p {
  font-size: 0.72rem; color: var(--muted-2);
  line-height: 1.8; margin: 9px 0 0; max-width: 36em;
}

.footer-col h3 {
  font-size: 0.68rem; letter-spacing: 0.1em;
  color: var(--muted); margin-bottom: 8px; font-weight: 700;
}
.footer-col ul { list-style: none; padding: 0; margin: 0; }
.footer-col li { margin-bottom: 6px; }
.footer-col a { font-size: 0.74rem; color: var(--muted-2); }
.footer-col a:hover { color: #fff; }

.footer-bottom {
  border-top: 1px solid var(--line);
  padding-top: 16px;
  display: flex; flex-wrap: wrap; gap: 9px 18px;
  justify-content: space-between; align-items: center;
  font-size: 0.66rem; color: var(--muted-2); line-height: 1.7;
}

.age-badge {
  display: inline-flex; align-items: center; gap: 6px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  padding: 3px 9px;
  font-weight: 700; color: var(--muted); font-size: 0.62rem;
  white-space: nowrap;
}

.footer-pr {
  font-size: 0.64rem; color: var(--muted-2);
  border-top: 1px solid var(--line);
  margin-top: 12px; padding-top: 12px; line-height: 1.8;
}

/* ユーティリティ */
.mt-0 { margin-top: 0 !important; }
.mb-0 { margin-bottom: 0 !important; }
.center { text-align: center; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}

/* ------------------------------------------------------------------
   ヘッダーアイコン（線画）
   ------------------------------------------------------------------ */
.icon-btn svg {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
}

/* モバイル: 検索窓を2段目に */
@media (max-width: 560px) {
  :root { --header-h: 104px; }
  .header-inner {
    flex-wrap: wrap;
    gap: 8px;
    padding-top: 9px;
    padding-bottom: 9px;
    min-height: 0;
  }
  .brand { margin-right: auto; }
  .header-search { order: 3; flex-basis: 100%; height: 38px; }
  .header-actions { order: 2; }
  .header-search input { font-size: 0.82rem; }
  .drawer { inset: var(--header-h) 0 0 auto; }
  .catalog-tools { top: var(--header-h); }
}

/* 3項目の統計バー */
.stats-bar--3 { grid-template-columns: repeat(3, minmax(0, 1fr)) !important; }
.stats-bar--3 .stat { border-bottom: 0; }
.stats-bar--3 .stat:nth-child(2n) { border-right: 1px solid var(--line); }
.stats-bar--3 .stat:last-child { border-right: 0; }

/* hidden属性を確実に効かせる */
.filter-note[hidden] { display: none !important; }

/* 女優アイコン: 作品画像のポートレート表示 */
.actress__avatar {
  width: 84px;
  height: 108px;
  border-radius: 10px;
  border-width: 1px;
}
.actress__avatar img { object-position: 50% 18%; }
.actress__rank { left: 4px; bottom: 4px; }
.actress { width: 96px; }

.actress-card__avatar {
  width: 56px; height: 72px;
  border-radius: 8px;
}
.actress-card__avatar img { object-position: 50% 18%; }

/* 女優カードの文字組み */
.actress-card__name { display: block; }
.actress-card__meta { display: block; }

/* トップのカテゴリチップは折り返し表示 */
#home-cats { flex-wrap: wrap; overflow: visible; }

/* カードの女優名は省略せず、メーカー名側を省略 */
.vcard__meta span:first-child { flex: none; }
.vcard__meta span:last-child {
  min-width: 0;
  flex: 1;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
