/* site_sample 共通スタイル。
   既存 site/ のダーク基調を踏襲。 */
:root {
  --bg: #0a0a0c;
  --bg-2: #14141a;
  --bg-3: #1c1c24;
  --fg: #f5f5f7;
  --fg-mute: #9b9ba6;
  --fg-dim: #6b6b75;
  --accent: #ff3060;
  --accent-2: #ff6090;
  --line: #2a2a33;
  --tabbar-h: 56px;
  --header-h: 52px;
}
* { box-sizing: border-box; }
html, body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Helvetica Neue", "Hiragino Sans", "Yu Gothic UI", sans-serif;
  -webkit-text-size-adjust: 100%;
}
a { color: inherit; text-decoration: none; }
button { background: none; border: 0; color: inherit; font: inherit; cursor: pointer; }

/* ── 共通ヘッダー ──────────────────────────── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--header-h);
  display: flex;
  align-items: center;
  padding: 0 14px;
  background: rgba(10,10,12,0.85);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.site-logo {
  font-weight: 800;
  font-size: 22px;
  letter-spacing: .04em;
  background: linear-gradient(135deg, #ff3060, #ff8030);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.site-header .header-spacer { flex: 1; }
.site-header .header-link {
  font-size: 14px;
  color: var(--fg-mute);
  margin-left: 12px;
}
.site-header .header-link.active { color: var(--fg); }
.site-tagline {
  font-size: 11px;
  color: var(--fg-mute);
  margin-left: 8px;
  letter-spacing: .04em;
  display: none;
}
@media (min-width: 480px) { .site-tagline { display: inline; } }

/* ── 共通タブバー（下部） ──────────────────── */
.tabbar {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 60;
  height: var(--tabbar-h);
  display: flex;
  background: rgba(10,10,12,0.95);
  backdrop-filter: blur(8px);
  border-top: 1px solid var(--line);
  padding-bottom: env(safe-area-inset-bottom, 0);
}
.tabbar a {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  font-size: 10px;
  color: var(--fg-mute);
  padding: 6px 2px;
}
.tabbar a svg { width: 22px; height: 22px; }
.tabbar a.active { color: var(--accent); }

/* ── 一般レイアウト ──────────────────────── */
.page {
  padding: 12px 12px 8px;
  max-width: 1200px;
  margin: 0 auto;
}
.page-title {
  font-size: 18px;
  margin: 8px 4px 14px;
  font-weight: 700;
}

/* ── ホーム（TOP）セクション ───────────────── */
.home-page { padding-bottom: 8px; }
.home-section { margin: 0 0 28px; }
.home-section:first-child { margin-top: 8px; }
.home-section-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin: 0 4px 12px;
  gap: 12px;
}
.home-section-head h2 {
  font-size: 16px;
  font-weight: 700;
  margin: 0;
  color: var(--fg);
}
.home-section-head .more-link {
  font-size: 12px;
  color: var(--fg-mute);
  white-space: nowrap;
}
.home-section-head .more-link:hover { color: var(--accent-2); }

/* ── ピックアップ（メイン1本ドーン表示） ───── */
.pickup-section .home-section-head { margin-bottom: 10px; }
.pickup-single {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
/* ピックアップは画面端まで広げる（.page 親の padding を打ち消す） */
.pickup-section {
  margin-left: -12px;
  margin-right: -12px;
}
.pickup-section .home-section-head { padding: 0 12px; }
.pickup-section .pickup-frame { border-radius: 0; }
.pickup-frame {
  aspect-ratio: 16 / 9;
  background: #000;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 18px rgba(0,0,0,0.55);
}
.pickup-frame iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}
.pickup-title {
  font-size: 13px;
  color: var(--fg-mute);
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  padding: 0 4px;
}
.pickup-title:hover { color: var(--accent-2); }
.empty {
  color: var(--fg-mute);
  text-align: center;
  padding: 40px 20px;
  font-size: 14px;
}

/* ── 作品カードグリッド ────────────────────── */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 10px;
}
.product-card {
  position: relative;
  background: var(--bg-2);
  border-radius: 8px;
  overflow: hidden;
  aspect-ratio: 16 / 11;
  display: block;
}
.product-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  background: var(--bg-3);
}
.product-card .product-card-title {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 18px 8px 8px;
  background: linear-gradient(to top, rgba(0,0,0,0.85), transparent);
  font-size: 11px;
  line-height: 1.3;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ── 女優カードグリッド（円形サムネ） ───────── */
.actress-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(96px, 1fr));
  gap: 14px 10px;
}
.actress-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}
.actress-thumb {
  width: 80px; height: 80px;
  border-radius: 50%;
  overflow: hidden;
  background: var(--bg-3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  color: var(--fg-mute);
}
.actress-thumb img {
  width: 100%; height: 100%;
  object-fit: cover;
}
.actress-name {
  font-size: 12px;
  text-align: center;
  line-height: 1.2;
  word-break: break-all;
}
.actress-count {
  font-size: 10px;
  color: var(--fg-dim);
}

/* ── タグカード（テキストチップ） ─────────── */
.tag-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.tag-chip {
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 8px 14px;
  font-size: 13px;
  color: var(--fg);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.tag-chip .tag-count {
  color: var(--fg-dim);
  font-size: 11px;
}

@media (min-width: 1024px) {
  .product-grid { grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 14px; }
  .actress-grid { grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); gap: 18px 14px; }
  .actress-thumb { width: 100px; height: 100px; }
}

/* ── フッター（静的ページ・ナビページ共通） ────── */
.site-footer {
  margin-top: 16px;
  padding: 14px 16px calc(var(--tabbar-h) + 12px);
  border-top: 1px solid var(--line);
  background: rgba(20,20,26,0.6);
  font-size: 12px;
  color: var(--fg-mute);
}
.site-footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
@media (min-width: 768px) {
  .site-footer-inner { flex-direction: row; justify-content: space-between; align-items: flex-start; }
}
.site-footer-brand { max-width: 520px; display: flex; flex-direction: column; gap: 4px; }
.site-footer-brand .logo {
  font-size: 18px;
  font-weight: 800;
  background: linear-gradient(135deg, #ff3060, #ff8030);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.site-footer-brand p { margin: 0; font-size: 11px; line-height: 1.6; }
.site-footer-nav {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 4px 18px;
  font-size: 12px;
}
@media (min-width: 768px) {
  .site-footer-nav { grid-template-columns: 1fr; text-align: right; }
}
.site-footer-nav a { color: var(--fg-mute); }
.site-footer-nav a:hover { color: var(--fg); }
.site-footer-meta {
  margin: 4px 0 0;
  font-size: 10px;
  color: var(--fg-dim);
  line-height: 1.6;
}

/* ── 静的ページ（about / terms / privacy / contact） ──── */
.article-page {
  max-width: 760px;
  margin: 0 auto;
  padding: 28px 18px 8px;
}
.article-page h1 {
  font-size: 22px;
  font-weight: 700;
  letter-spacing: .02em;
  margin: 0 0 8px;
}
.article-page h2 {
  font-size: 16px;
  font-weight: 700;
  margin: 28px 0 8px;
  color: var(--fg);
}
.article-page .lead { margin-top: 18px; }
.article-page p, .article-page li {
  font-size: 13px;
  line-height: 1.8;
  color: var(--fg-mute);
}
.article-page p { margin: 0 0 12px; }
.article-page ul { margin: 0 0 12px; padding-left: 22px; }
.article-page a { color: var(--accent-2); text-decoration: underline; }
.article-page a:hover { color: var(--accent); }
.article-page strong { color: var(--fg); font-weight: 600; }
.article-info-card {
  margin-top: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
}
.article-info-card .row {
  display: grid;
  grid-template-columns: 6.5rem 1fr;
  gap: 12px;
  padding: 10px 14px;
  font-size: 13px;
  border-bottom: 1px solid var(--line);
  margin: 0;
}
.article-info-card .row:last-child { border-bottom: 0; }
.article-info-card dt { color: var(--fg-mute); margin: 0; }
.article-info-card dd { margin: 0; color: var(--fg); }
.article-meta {
  margin-top: 28px;
  font-size: 11px;
  color: var(--fg-dim);
}

/* ── 右上メニュー drawer ──────────────── */
.site-menu-btn {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  background: rgba(0,0,0,0.4);
  border: 1px solid rgba(255,255,255,0.18);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
.site-menu-btn:hover { background: rgba(0,0,0,0.7); }
.site-menu-btn svg { width: 22px; height: 22px; }

.site-menu-drawer {
  position: fixed;
  inset: 0;
  z-index: 100;
  pointer-events: none;
}
.site-menu-drawer[hidden] { display: none; }
.site-menu-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.55);
  opacity: 0;
  transition: opacity .2s ease;
  pointer-events: auto;
}
.site-menu-drawer.open .site-menu-backdrop { opacity: 1; }
.site-menu-panel {
  position: absolute;
  top: 0;
  right: 0;
  width: min(85vw, 320px);
  height: 100%;
  background: var(--bg-2);
  padding: 18px 20px calc(env(safe-area-inset-bottom, 0) + 24px);
  overflow-y: auto;
  transform: translateX(100%);
  transition: transform .25s ease;
  pointer-events: auto;
  border-left: 1px solid var(--line);
  box-sizing: border-box;
}
.site-menu-drawer.open .site-menu-panel { transform: translateX(0); }
.site-menu-close {
  position: absolute;
  top: 6px;
  right: 8px;
  width: 36px;
  height: 36px;
  font-size: 26px;
  color: var(--fg-mute);
  background: transparent;
  border: 0;
  cursor: pointer;
}
.site-menu-brand {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding-right: 36px;
  margin-bottom: 6px;
}
.site-menu-logo {
  font-size: 22px;
  font-weight: 800;
  letter-spacing: .04em;
  background: linear-gradient(135deg, #ff3060, #ff8030);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.site-menu-sub {
  font-size: 11px;
  color: var(--fg-mute);
  letter-spacing: .04em;
}
.site-menu-section { margin-top: 20px; }
.site-menu-section h3 {
  font-size: 11px;
  color: var(--fg-dim);
  margin: 0 0 6px;
  letter-spacing: .12em;
  font-weight: 600;
  text-transform: uppercase;
}
.site-menu-section ul { list-style: none; margin: 0; padding: 0; }
.site-menu-section li { padding: 0; }
.site-menu-section a {
  display: block;
  font-size: 14px;
  color: var(--fg);
  padding: 9px 8px;
  border-radius: 6px;
  text-decoration: none;
}
.site-menu-section a:hover { background: rgba(255,255,255,0.05); color: var(--accent-2); }

/* ── ランディング (TOP) 用 ──────────── */
.landing {
  max-width: 960px;
  margin: 0 auto;
  padding: 32px 20px 8px;
  text-align: center;
}
.landing-hero {
  padding: 36px 12px 28px;
}
.landing-logo {
  font-size: 56px;
  font-weight: 900;
  letter-spacing: .04em;
  background: linear-gradient(135deg, #ff3060, #ff8030);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1;
}
@media (min-width: 768px) { .landing-logo { font-size: 80px; } }
.landing-sub {
  margin-top: 14px;
  font-size: 14px;
  color: var(--fg-mute);
  letter-spacing: .04em;
}
.landing-lead {
  margin: 22px auto 0;
  max-width: 560px;
  font-size: 13px;
  line-height: 1.8;
  color: var(--fg-mute);
}
.landing-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 28px;
  padding: 14px 36px;
  font-size: 15px;
  font-weight: 700;
  color: #fff;
  background: linear-gradient(135deg, #ff3060, #ff7030);
  border-radius: 999px;
  text-decoration: none;
  box-shadow: 0 8px 22px rgba(255,48,96,0.35);
  transition: transform .15s ease, box-shadow .15s ease;
}
.landing-cta:hover { transform: translateY(-1px); box-shadow: 0 12px 26px rgba(255,48,96,0.45); }
.landing-features {
  margin-top: 48px;
  display: grid;
  gap: 16px;
  grid-template-columns: 1fr;
  text-align: left;
}
@media (min-width: 768px) { .landing-features { grid-template-columns: repeat(3, 1fr); } }
.landing-feature {
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 18px;
}
.landing-feature h3 {
  margin: 0 0 6px;
  font-size: 14px;
  font-weight: 700;
  color: var(--fg);
}
.landing-feature p {
  margin: 0;
  font-size: 12px;
  line-height: 1.7;
  color: var(--fg-mute);
}

/* ── 年齢確認ゲート ──────────────────── */
.age-gate {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(5,5,8,0.95);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.age-gate-card {
  width: 100%;
  max-width: 440px;
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 30px 26px;
  text-align: center;
  box-shadow: 0 18px 50px rgba(0,0,0,0.6);
}
.age-gate-logo {
  font-size: 36px;
  font-weight: 900;
  letter-spacing: .04em;
  background: linear-gradient(135deg, #ff3060, #ff8030);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1;
}
.age-gate-sub {
  font-size: 12px;
  color: var(--fg-mute);
  margin: 6px 0 8px;
  letter-spacing: .04em;
}
.age-gate-title {
  font-size: 18px;
  font-weight: 700;
  margin: 16px 0 14px;
  color: var(--fg);
}
.age-gate p {
  font-size: 13px;
  line-height: 1.75;
  color: var(--fg-mute);
  margin: 0 0 10px;
}
.age-gate p strong { color: var(--fg); font-weight: 700; }
.age-gate-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 20px;
}
.age-gate-btn {
  padding: 12px 20px;
  font-size: 14px;
  font-weight: 700;
  border-radius: 10px;
  border: 0;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease;
}
.age-gate-btn-yes {
  background: linear-gradient(135deg, #ff3060, #ff7030);
  color: #fff;
  box-shadow: 0 6px 18px rgba(255,48,96,0.35);
}
.age-gate-btn-yes:hover { transform: translateY(-1px); box-shadow: 0 10px 22px rgba(255,48,96,0.45); }
.age-gate-btn-no {
  background: transparent;
  color: var(--fg-mute);
  border: 1px solid var(--line);
}
.age-gate-btn-no:hover { color: var(--fg); border-color: var(--fg-mute); }
.age-gate-note {
  font-size: 11px !important;
  color: var(--fg-dim) !important;
  margin-top: 14px !important;
}
