/* ==========================================================================
   Mの館（A案）— ダーク・ラグジュアリー
   フレームワークなし。色・書体・余白はすべて :root のカスタムプロパティから。
   ========================================================================== */

:root {
  /* 色（コントラストは背景 #0b0a0c / 面 #16131a に対して WCAG AA 以上） */
  --c-bg: #0b0a0c;
  --c-bg-deep: #070608;
  --c-surface: #16131a;
  --c-surface-2: #201b25;
  --c-line: rgba(201, 164, 92, 0.24);
  --c-line-soft: rgba(236, 230, 220, 0.09);
  --c-text: #ece6dc;      /* 15.9:1 */
  --c-text-2: #b8ae9f;    /*  9.0:1 */
  --c-text-3: #968d81;    /*  6.0:1 */
  --c-gold: #c9a45c;      /*  8.4:1 */
  --c-gold-hi: #e3c788;
  --c-gold-lo: #a8853f;
  --c-on-gold: #1a1206;
  --c-crimson: #9e1b32;   /* 面・装飾のみ（文字色には --c-crimson-text） */
  --c-crimson-hi: #b8253f;
  --c-crimson-text: #e06a7c; /* 6.1:1 */
  --g-gold: linear-gradient(135deg, #ecd398 0%, #c9a45c 48%, #a8853f 100%);

  /* 書体 */
  --f-serif: "Noto Serif JP", "Hiragino Mincho ProN", "Yu Mincho", "YuMincho", serif;
  --f-sans: "Noto Sans JP", "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Yu Gothic", "YuGothic", system-ui, sans-serif;

  /* 寸法 */
  --wrap: 1200px;
  --wrap-narrow: 800px;
  --gutter: clamp(16px, 4vw, 40px);
  --header-h: 60px;
  --space-section: clamp(80px, 13vw, 152px);
  --radius: 2px;
  --ease: cubic-bezier(0.22, 0.7, 0.2, 1);

  color-scheme: dark;
}

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

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

body {
  margin: 0;
  min-height: 100vh;
  background: var(--c-bg);
  color: var(--c-text);
  font-family: var(--f-sans);
  font-size: 15px;
  line-height: 1.85;
  letter-spacing: 0.03em;
  font-feature-settings: "palt" 0;
  -webkit-font-smoothing: antialiased;
  overflow-wrap: anywhere;
  line-break: strict;
}

@media (min-width: 768px) {
  body { font-size: 16px; }
}

img { display: block; max-width: 100%; height: auto; }
button { font: inherit; color: inherit; }
h1, h2, h3, p, ul, ol, figure, blockquote { margin: 0; }
p, li, figcaption { text-wrap: pretty; }
h1, h2, h3 { text-wrap: balance; word-break: auto-phrase; }
ul, ol { padding: 0; }

a {
  color: inherit;
  text-decoration-color: rgba(201, 164, 92, 0.55);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.25em;
  transition: color 0.25s var(--ease), text-decoration-color 0.25s var(--ease);
}
a:hover { color: var(--c-gold-hi); text-decoration-color: currentColor; }

:focus-visible {
  outline: 2px solid var(--c-gold-hi);
  outline-offset: 3px;
}
main:focus { outline: none; }

::selection { background: var(--c-crimson); color: #fff; }

.vh {
  position: absolute !important;
  width: 1px; height: 1px;
  margin: -1px; padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

.wrap {
  width: 100%;
  max-width: calc(var(--wrap) + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.wrap--narrow { max-width: calc(var(--wrap-narrow) + var(--gutter) * 2); }

.skip-link {
  position: absolute;
  left: 8px; top: -100px;
  z-index: 200;
  padding: 10px 16px;
  background: var(--c-gold);
  color: var(--c-on-gold);
  font-weight: 700;
  text-decoration: none;
}
.skip-link:focus { top: 8px; }

/* --------------------------------------------------------------------------
   PR bar / Header
   -------------------------------------------------------------------------- */
.pr-bar {
  background: var(--c-bg-deep);
  border-bottom: 1px solid var(--c-line-soft);
  color: var(--c-text-2);
  font-size: 11px;
  line-height: 1.5;
  letter-spacing: 0.06em;
  text-align: center;
  padding: 6px var(--gutter);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(11, 10, 12, 0.86);


  border-bottom: 1px solid var(--c-line);
}
.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: var(--header-h);
}

.brand {
  display: flex;
  align-items: baseline;
  gap: 14px;
  min-width: 0;
  text-decoration: none;
  color: var(--c-text);
}
.brand:hover { color: var(--c-text); }
.brand__name {
  font-family: var(--f-serif);
  font-weight: 700;
  font-size: 22px;
  line-height: 1;
  letter-spacing: 0.14em;
  white-space: nowrap;
}
.brand__m {
  color: var(--c-gold);
  font-size: 1.18em;
  margin-right: 0.04em;
}
.brand__sub {
  display: none;
  font-size: 11px;
  letter-spacing: 0.18em;
  color: var(--c-text-3);
  white-space: nowrap;
}
@media (min-width: 768px) {
  .brand__sub { display: inline; }
}

.gnav { display: flex; align-items: center; gap: 4px; }
.gnav__list { display: flex; list-style: none; gap: 0; }
.gnav__list a {
  display: flex;
  align-items: center;
  min-height: 44px;
  padding: 0 10px;
  font-size: 13px;
  letter-spacing: 0.14em;
  color: var(--c-text-2);
  text-decoration: none;
}
.gnav__list a:hover { color: var(--c-gold-hi); }
.gnav__wide { display: none; }
@media (min-width: 768px) {
  .gnav__wide { display: block; }
  .gnav__list a { padding: 0 14px; }
}

.menu-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  margin-left: 4px;
  padding: 0 12px;
  background: transparent;
  border: 1px solid var(--c-line);
  border-radius: var(--radius);
  color: var(--c-gold);
  font-size: 12px;
  letter-spacing: 0.2em;
  cursor: pointer;
  transition: border-color 0.25s var(--ease), background-color 0.25s var(--ease);
}
.menu-btn:hover { border-color: var(--c-gold); background: rgba(201, 164, 92, 0.08); }
.menu-btn__icon { display: grid; gap: 4px; width: 16px; }
.menu-btn__icon span {
  display: block;
  height: 1px;
  background: currentColor;
  transition: transform 0.3s var(--ease), opacity 0.3s var(--ease);
}
.menu-btn[aria-expanded="true"] .menu-btn__icon span:nth-child(1) { transform: translateY(5px) rotate(45deg); }
.menu-btn[aria-expanded="true"] .menu-btn__icon span:nth-child(2) { opacity: 0; }
.menu-btn[aria-expanded="true"] .menu-btn__icon span:nth-child(3) { transform: translateY(-5px) rotate(-45deg); }

.menu-panel {
  position: absolute;
  left: 0; right: 0; top: 100%;
  max-height: calc(100vh - var(--header-h));
  max-height: calc(100dvh - var(--header-h));
  overflow-y: auto;
  background: rgba(16, 14, 19, 0.98);
  border-bottom: 1px solid var(--c-line);
  box-shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.8);
  animation: fade-down 0.35s var(--ease) both;
}
.menu-panel[hidden] { display: none; }
.menu-panel__inner {
  display: grid;
  gap: 32px;
  padding-block: 28px 36px;
}
@media (min-width: 768px) {
  .menu-panel__inner { grid-template-columns: 3fr 2fr; gap: 64px; padding-block: 40px 48px; }
}
.menu-panel__title {
  font-family: var(--f-serif);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.3em;
  color: var(--c-gold);
  margin-bottom: 12px;
}
.menu-panel__list {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 20px;
}
.menu-panel__list a {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 8px;
  padding: 11px 0;
  border-bottom: 1px solid var(--c-line-soft);
  font-family: var(--f-serif);
  font-size: 15px;
  text-decoration: none;
}
.menu-panel__count { font-family: var(--f-sans); font-size: 11px; color: var(--c-text-3); }

/* --------------------------------------------------------------------------
   Common parts
   -------------------------------------------------------------------------- */
.eyebrow {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px 14px;
  margin-bottom: 16px;
  font-family: var(--f-serif);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.32em;
  color: var(--c-gold);
}
.eyebrow::before {
  content: "";
  width: 32px;
  height: 1px;
  background: currentColor;
}
.eyebrow span {
  font-size: 11px;
  letter-spacing: 0.24em;
  color: var(--c-text-3);
  text-transform: uppercase;
}

.sec-head { margin-bottom: clamp(32px, 6vw, 56px); }
.sec-head--center { text-align: center; }
.sec-head__en {
  font-family: var(--f-serif);
  font-size: 12px;
  letter-spacing: 0.42em;
  text-transform: uppercase;
  color: var(--c-gold);
  margin-bottom: 10px;
}
.sec-head__title {
  font-family: var(--f-serif);
  font-weight: 600;
  font-size: clamp(26px, 6.4vw, 40px);
  line-height: 1.4;
  letter-spacing: 0.1em;
  word-break: auto-phrase;
}
.sec-head__rule {
  position: relative;
  display: block;
  width: 72px;
  height: 1px;
  margin-top: 18px;
  background: linear-gradient(90deg, var(--c-gold), transparent);
}
.sec-head__rule::before {
  content: "";
  position: absolute;
  left: 0; top: -3px;
  width: 7px; height: 7px;
  background: var(--c-gold);
  transform: rotate(45deg);
}
.sec-head--center .sec-head__rule {
  margin-inline: auto;
  width: 120px;
  background: linear-gradient(90deg, transparent, var(--c-gold), transparent);
}
.sec-head--center .sec-head__rule::before { left: calc(50% - 3.5px); }
.sec-head__lead {
  max-width: 44em;
  margin-top: 18px;
  font-size: 14px;
  color: var(--c-text-2);
}
.sec-head--center .sec-head__lead { margin-inline: auto; }

.section { padding-block: var(--space-section) 0; }

.link-more {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  font-size: 13px;
  letter-spacing: 0.14em;
  color: var(--c-gold);
  text-decoration: none;
}
.link-more::after {
  content: "";
  width: 28px;
  height: 1px;
  background: currentColor;
  transition: width 0.35s var(--ease);
}
.link-more:hover { color: var(--c-gold-hi); }
.link-more:hover::after { width: 44px; }

.badge {
  display: inline-flex;
  align-items: center;
  padding: 4px 9px;
  font-size: 11px;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: 0.08em;
  white-space: nowrap;
}
.badge--gold { background: var(--g-gold); color: var(--c-on-gold); }
.badge--crimson { background: var(--c-crimson); color: #fff; }
.badge--line {
  border: 1px solid var(--c-line);
  color: var(--c-gold);
  font-weight: 500;
  white-space: normal;
}

.pr-mark {
  display: inline-flex;
  align-items: center;
  padding: 0 5px;
  border: 1px solid rgba(236, 230, 220, 0.35);
  font-size: 10px;
  font-weight: 700;
  line-height: 1.6;
  letter-spacing: 0.1em;
  color: var(--c-text-2);
  vertical-align: 0.1em;
  margin-left: 6px;
}

.chip {
  display: inline-block;
  margin: 0 6px 6px 0;
  padding: 2px 10px;
  border: 1px solid var(--c-line-soft);
  font-size: 12px;
  color: var(--c-text-2);
  text-decoration: none;
}
.chip--link { border-color: var(--c-line); color: var(--c-gold); }
.chip--link:hover { background: rgba(201, 164, 92, 0.08); }

/* Stars / score */
.score {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px 8px;
  font-size: 12px;
  line-height: 1.5;
}
.stars {
  --pct: calc(var(--score) / 5 * 100%);
  font-size: 13px;
  letter-spacing: 2px;
  background: linear-gradient(90deg, var(--c-gold) var(--pct), rgba(236, 230, 220, 0.22) var(--pct));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.score__num { font-family: var(--f-serif); font-weight: 600; font-size: 15px; color: var(--c-gold-hi); }
.score__note { color: var(--c-text-3); font-size: 11px; }

/* --------------------------------------------------------------------------
   Cover（パッケージ画像の枠）
   -------------------------------------------------------------------------- */
.cover {
  position: relative;
  display: block;
  overflow: hidden;
  background:
    radial-gradient(120% 80% at 50% 30%, rgba(158, 27, 50, 0.16), transparent 70%),
    linear-gradient(160deg, #221c27, #121015);
}
.cover::before {
  /* 画像の読み込み前・無効時の紋章 */
  content: "M";
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font-family: var(--f-serif);
  font-size: clamp(24px, 30%, 56px);
  color: rgba(201, 164, 92, 0.22);
}
.cover--portrait { aspect-ratio: 0.71; }
.cover--landscape { aspect-ratio: 3 / 2; }
.cover__img,
.cover__blur {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.cover--fanza.cover--portrait .cover__img {  }
.cover--contain .cover__img { object-fit: contain; }
.cover__blur {   }

/* --------------------------------------------------------------------------
   Buttons & offers（購入ボタン：1作品に複数ストアを並べられる）
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 4px 12px;
  min-height: 48px;
  padding: 10px 22px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: 0.08em;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), filter 0.25s var(--ease), background-color 0.25s var(--ease);
}
.btn--gold {
  background: var(--g-gold);
  color: var(--c-on-gold);
  box-shadow: 0 12px 32px -14px rgba(201, 164, 92, 0.7), inset 0 1px 0 rgba(255, 255, 255, 0.4);
}
.btn--gold:hover {
  color: var(--c-on-gold);

  transform: translateY(-1px);
  box-shadow: 0 16px 40px -14px rgba(201, 164, 92, 0.85), inset 0 1px 0 rgba(255, 255, 255, 0.45);
}
.btn--outline { border-color: var(--c-gold); color: var(--c-gold); background: transparent; }
.btn--outline:hover { background: rgba(201, 164, 92, 0.1); color: var(--c-gold-hi); }
.btn--ghost { border-color: rgba(236, 230, 220, 0.25); color: var(--c-text-2); background: transparent; }
.btn--ghost:hover { border-color: var(--c-text-2); color: var(--c-text); }
.btn--gold:focus-visible { outline-color: #fff; }

.offers { display: grid; grid-template-columns: minmax(0, 1fr); gap: 14px; }
.offer { min-width: 0; }
.offer__btn { width: 100%; min-width: 0; max-width: 100%; flex-wrap: wrap; overflow-wrap: anywhere; }
.offer__store { white-space: nowrap; }
.offer__price { display: inline-flex; align-items: baseline; justify-content: center; flex-wrap: wrap; gap: 4px 8px; min-width: 0; max-width: 100%; white-space: normal; }
.offer__was { font-weight: 500; font-size: 0.82em; opacity: 0.72; }
.offer__now { min-width: 0; white-space: normal; overflow-wrap: anywhere; font-family: var(--f-serif); font-size: 1.22em; font-weight: 700; letter-spacing: 0.02em; }
.offer__from { font-size: 0.8em; margin-left: -4px; }
.btn--outline .offer__now { color: var(--c-gold-hi); }
.offer__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 10px;
  margin-top: 8px;
  font-size: 12px;
  line-height: 1.5;
  color: var(--c-text-2);
}
.offer__meta .pr-mark { margin-left: 0; }
.offer__tag { color: var(--c-gold); font-weight: 700; }
.offer__end { color: var(--c-crimson-text); }
.offer__countdown:empty { display: none; }
.offer__countdown {
  padding: 0 6px;
  background: rgba(158, 27, 50, 0.22);
  border: 1px solid rgba(224, 106, 124, 0.4);
  color: #f0b6bf;
  font-weight: 700;
}

/* 大：ヒーローや詳細 */
.offer--lg .offer__btn { min-height: 60px; font-size: 16px; padding: 12px 24px; }
@media (min-width: 640px) {
  .offers--lg { max-width: 440px; }
}

/* 小：カード（2段組みのボタン） */
.offer--sm .offer__btn {
  flex-direction: column;
  gap: 0;
  min-height: 52px;
  padding: 7px 10px;
  font-size: 12px;
  letter-spacing: 0.04em;
}
.offer--sm .offer__store { font-size: 11px; font-weight: 700; }
.offer--sm .offer__price { gap: 6px; }
.offer--sm .offer__now { font-size: 15px; }
.offer--sm .offer__meta { margin-top: 6px; font-size: 11px; gap: 2px 8px; }

/* 追従バー */
.offer--sticky { display: flex; flex-direction: row-reverse; align-items: center; gap: 8px; min-width: 0; }
.offer--sticky .offer__btn { min-height: 48px; padding: 6px 12px; font-size: 13px; flex: 1; }
.offer--sticky .offer__meta { margin: 0; }
.offer--sticky .offer__end,
.offer--sticky .offer__countdown,
.offer--sticky .offer__tag { display: none; }

/* セール終了後（JSが判定）：通常価格の表示に戻す */
.is-ended .offer__now:not(.offer__now--regular),
.is-ended .offer__end,
.is-ended .offer__countdown,
.is-ended .badge--gold { display: none; }
.is-ended .offer__was { text-decoration: none; opacity: 1; font-family: var(--f-serif); font-size: 1.22em; font-weight: 700; }

/* --------------------------------------------------------------------------
   Top: Hero 今宵の一本
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding-block: 36px 24px;
}
.hero__bg { position: absolute; inset: 0; z-index: -1; }
.hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: contain;


  opacity: 0.42;
}
.hero__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(70% 55% at 50% 22%, rgba(158, 27, 50, 0.28), transparent 70%),
    linear-gradient(180deg, rgba(11, 10, 12, 0.35) 0%, rgba(11, 10, 12, 0.78) 55%, var(--c-bg) 100%);
}
.hero__inner { display: grid; gap: 32px; }
.hero__cover {
  display: block;
  justify-self: center;
  width: min(72vw, 340px);
  animation: fade-up 1.2s var(--ease) both;
}
.hero__cover .cover {
  box-shadow: 0 40px 80px -24px rgba(0, 0, 0, 0.9), 0 0 0 1px rgba(201, 164, 92, 0.45);
}
.hero__cover .cover::after {
  content: "";
  position: absolute;
  inset: 8px;
  border: 1px solid rgba(236, 211, 152, 0.35);
  pointer-events: none;
}
.hero__body > * { animation: fade-up 1.1s var(--ease) both; }
.hero__body > :nth-child(2) { animation-delay: 0.12s; }
.hero__body > :nth-child(3) { animation-delay: 0.2s; }
.hero__body > :nth-child(n + 4) { animation-delay: 0.3s; }
.hero__catch {
  font-family: var(--f-serif);
  text-wrap: balance;
  font-weight: 600;
  font-size: clamp(32px, 9.2vw, 64px);
  line-height: 1.32;
  letter-spacing: 0.08em;
  margin-bottom: 22px;
  text-shadow: 0 2px 30px rgba(0, 0, 0, 0.6);
}
.hero__title { font-size: 14px; line-height: 1.7; color: var(--c-text-2); margin-bottom: 10px; }
.hero__title a { text-decoration: none; }
.hero__title a:hover { text-decoration: underline; }
.hero__facts {
  display: flex;
  flex-wrap: wrap;
  gap: 2px 0;
  font-size: 12px;
  color: var(--c-text-3);
  margin-bottom: 8px;
}
.hero__facts span + span::before { content: "／"; margin: 0 8px; color: rgba(201, 164, 92, 0.5); }
.score--hero { margin-bottom: 20px; }
.hero__lead { max-width: 34em; margin-bottom: 28px; color: var(--c-text); }
.hero .link-more { margin-top: 14px; }

@media (min-width: 960px) {
  .hero { padding-block: 88px 64px; }
  .hero__inner {
    grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
    align-items: center;
    gap: clamp(48px, 7vw, 104px);
  }
  .hero__cover { width: 100%; max-width: 440px; justify-self: end; }
}

/* --------------------------------------------------------------------------
   Top: Features
   -------------------------------------------------------------------------- */
.features { display: grid; gap: 28px; }
.feature {
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 0;
  background: var(--c-surface);
  border: 1px solid var(--c-line-soft);
  transition: border-color 0.4s var(--ease);
}
.feature:hover { border-color: var(--c-line); }
.feature__media { display: block; overflow: hidden; }
.feature__media .cover { transition: transform 1.4s var(--ease); }
.feature:hover .feature__media .cover {  }
.feature__body {
  position: relative;
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 20px;
}
.feature__no {
  font-family: var(--f-serif);
  font-size: 44px;
  line-height: 1;
  color: var(--c-gold);
  margin-bottom: 10px;
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.8);
}
.feature__title {
  font-family: var(--f-serif);
  font-size: 26px;
  font-weight: 600;
  letter-spacing: 0.12em;
  line-height: 1.4;
}
.feature__title a { text-decoration: none; }
.feature__catch {
  margin-top: 6px;
  text-wrap: balance;
  word-break: auto-phrase;
  font-family: var(--f-serif);
  font-size: 16px;
  color: var(--c-gold-hi);
  letter-spacing: 0.06em;
}
.feature__text { margin-top: 12px; font-size: 14px; color: var(--c-text-2); }
.feature__works { list-style: none; margin-top: 18px; border-top: 1px solid var(--c-line); }
.feature__works a {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  align-items: baseline;
  padding: 11px 0;
  border-bottom: 1px solid var(--c-line-soft);
  font-size: 13px;
  line-height: 1.6;
  text-decoration: none;
}
.feature__work-title {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.feature__work-price { font-family: var(--f-serif); color: var(--c-gold); white-space: normal; overflow-wrap: anywhere; }
.feature .link-more { margin-top: 10px; align-self: flex-start; }

@media (min-width: 720px) {
  .features { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .feature--lead { grid-column: 1 / -1; }
}
@media (min-width: 960px) {
  .features { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; }
  .feature--lead {
    display: grid;
    grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  }
  .feature--lead .feature__media .cover { aspect-ratio: auto; height: 100%; min-height: 440px; }
  .feature--lead .feature__body { margin: 0; padding: 48px 44px 40px; justify-content: center; }
  .feature--lead .feature__no { font-size: 64px; }
  .feature--lead .feature__title { font-size: 34px; }
  .feature--lead .feature__catch { font-size: 19px; }
}

/* --------------------------------------------------------------------------
   Cards（セール・関連）
   -------------------------------------------------------------------------- */
.cards {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 36px 14px;
}
@media (min-width: 640px) { .cards { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 44px 20px; } }
@media (min-width: 960px) { .cards { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 52px 28px; } }

.card { display: flex; flex-direction: column; min-width: 0; }
.card[hidden] { display: none; }
.card__link { display: block; text-decoration: none; color: inherit; }
.card__link:hover { color: var(--c-text); }
.card__media { transition: box-shadow 0.4s var(--ease); box-shadow: 0 0 0 1px var(--c-line-soft); }
.card__media .cover__img { transition: transform 1s var(--ease), opacity 0.4s; }
.card__link:hover .card__media { box-shadow: 0 0 0 1px var(--c-gold), 0 24px 40px -24px rgba(0, 0, 0, 0.9); }
.card__link:hover .cover__img {  }
.card__badges {
  position: absolute;
  top: 0; left: 0;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.card__title {
  margin-top: 12px;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.65;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.card__link:hover .card__title { text-decoration: underline; text-decoration-color: var(--c-line); }
.card__cast {
  margin-top: 4px;
  margin-bottom: 12px;
  font-size: 11px;
  color: var(--c-text-3);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.card .offers { margin-top: auto; }

.more-btn {
  display: flex;
  margin: 44px auto 0;
  min-width: min(100%, 320px);
}

/* --------------------------------------------------------------------------
   Ranking
   -------------------------------------------------------------------------- */
.ranking { list-style: none; display: grid; gap: 0; border-top: 1px solid var(--c-line); }
.rank {
  position: relative;
  display: grid;
  grid-template-columns: 112px minmax(0, 1fr);
  gap: 18px;
  align-items: start;
  padding: 24px 0;
  border-bottom: 1px solid var(--c-line-soft);
}
.rank__media { display: block; grid-row: 1; grid-column: 1; }
.rank__no {
  grid-column: 1;
  grid-row: 2;
  justify-self: center;
  font-family: var(--f-serif);
  font-size: 34px;
  font-weight: 500;
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--c-text);
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.9), 0 0 2px rgba(0, 0, 0, 0.9);
  pointer-events: none;
}
.rank--top .rank__no {
  background: var(--g-gold);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-shadow: none;

}
.rank__body { display: flex; flex-direction: column; gap: 10px; min-width: 0; grid-column: 2; grid-row: 1 / span 2; }
.rank__title {
  font-size: 14px;
  font-weight: 500;
  line-height: 1.65;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.rank__title a { text-decoration: none; }
.rank__title a:hover { text-decoration: underline; }
.rank .offers { max-width: 280px; }

@media (min-width: 960px) {
  .ranking { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 32px; border-top: 0; }
  .rank {
    grid-template-columns: minmax(0, 1fr);
    gap: 16px;
    padding: 0;
    border: 0;
  }
  .rank__body { grid-row: 3; grid-column: 1; }
  .rank__no { grid-row: 2; grid-column: 1; font-size: 48px; transform: none; }
  .rank .offers { max-width: none; }
}

/* --------------------------------------------------------------------------
   Actresses
   -------------------------------------------------------------------------- */
.actresses {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 28px 10px;
}
@media (min-width: 768px) { .actresses { grid-template-columns: repeat(8, minmax(0, 1fr)); gap: 32px 20px; } }
.actress a {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  text-decoration: none;
}
.actress__photo {
  position: relative;
  width: 100%;
  max-width: 120px;
  aspect-ratio: 1;
  border-radius: 50%;
  overflow: hidden;
  background: radial-gradient(circle at 35% 30%, #2c2331, #141016 70%);
  box-shadow: 0 0 0 1px rgba(201, 164, 92, 0.5), 0 0 0 4px var(--c-bg), 0 0 0 5px rgba(201, 164, 92, 0.22);
  transition: box-shadow 0.4s var(--ease);
}
.actress__photo::before {
  content: attr(data-initial);
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font-family: var(--f-serif);
  font-size: 24px;
  color: rgba(201, 164, 92, 0.6);
}
.actress__photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;


  transition: filter 0.5s var(--ease), transform 0.8s var(--ease);
}
.actress a:hover .actress__photo { box-shadow: 0 0 0 1px var(--c-gold), 0 0 0 4px var(--c-bg), 0 0 0 5px var(--c-gold); }
.actress a:hover .actress__photo img {   }
.actress__name {
  margin-top: 14px;
  font-family: var(--f-serif);
  font-size: 13px;
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: 0.04em;
}
.actress__ruby { font-size: 10px; color: var(--c-text-3); line-height: 1.5; letter-spacing: 0.02em; }
.actress__count { margin-top: 2px; font-size: 10px; color: var(--c-gold); letter-spacing: 0.02em; }
@media (min-width: 768px) {
  .actress__name { font-size: 15px; }
  .actress__ruby, .actress__count { font-size: 11px; }
}

/* --------------------------------------------------------------------------
   Genre index
   -------------------------------------------------------------------------- */
.section--genres { padding-bottom: var(--space-section); }
.genre-index { list-style: none; border-top: 1px solid var(--c-line); }
.genre-index__item { border-bottom: 1px solid var(--c-line); }
.genre-index__row {
  display: flex;
  align-items: baseline;
  gap: 14px;
  min-height: 60px;
  padding: 18px 4px;
  list-style: none;
  cursor: pointer;
}
.genre-index__row::-webkit-details-marker { display: none; }
summary.genre-index__row::after {
  content: "";
  flex: none;
  width: 9px; height: 9px;
  margin-left: 4px;
  border-right: 1px solid var(--c-gold);
  border-bottom: 1px solid var(--c-gold);
  transform: translateY(-3px) rotate(45deg);
  transition: transform 0.3s var(--ease);
}
details[open] > summary.genre-index__row::after { transform: translateY(1px) rotate(-135deg); }
summary.genre-index__row:hover .genre-index__name { color: var(--c-gold-hi); }
.genre-index__name {
  font-family: var(--f-serif);
  font-size: 19px;
  font-weight: 500;
  letter-spacing: 0.14em;
  transition: color 0.25s var(--ease);
}
.genre-index__leader {
  flex: 1;
  min-width: 24px;
  border-bottom: 1px dotted rgba(201, 164, 92, 0.45);
  transform: translateY(-5px);
}
.genre-index__count { font-family: var(--f-serif); font-size: 18px; color: var(--c-gold); white-space: nowrap; }
.genre-index__unit { font-family: var(--f-sans); font-size: 11px; margin-left: 3px; color: var(--c-text-3); }
.is-empty .genre-index__row { cursor: default; }
.is-empty .genre-index__name { color: var(--c-text-3); }
.is-empty .genre-index__count { font-family: var(--f-sans); font-size: 12px; color: var(--c-text-3); margin-right: 17px; }
.genre-index__works {
  list-style: none;
  padding: 0 4px 22px;
  counter-reset: gw;
  animation: fade-down 0.4s var(--ease) both;
}
.genre-index__works li {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 16px;
  align-items: baseline;
  padding: 9px 0 9px 26px;
  position: relative;
  font-size: 13px;
  line-height: 1.6;
  border-top: 1px solid var(--c-line-soft);
}
.genre-index__works li::before {
  counter-increment: gw;
  content: counter(gw, decimal-leading-zero);
  position: absolute;
  left: 0;
  top: 10px;
  font-family: var(--f-serif);
  font-size: 11px;
  color: var(--c-text-3);
}
.genre-index__works a { text-decoration: none; }
.genre-index__works a:hover { text-decoration: underline; }
.genre-index__price { font-family: var(--f-serif); color: var(--c-gold); font-size: 13px; white-space: normal; overflow-wrap: anywhere; }
@media (max-width: 639px) {
  .feature__works a, .genre-index__works li { grid-template-columns: minmax(0, 1fr); gap: 2px; }
}

/* --------------------------------------------------------------------------
   Detail: hero
   -------------------------------------------------------------------------- */
.work-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding-bottom: clamp(56px, 9vw, 104px);
}
.work-hero__bg { position: absolute; inset: 0; z-index: -1; }
.work-hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: contain;


  opacity: 0.4;
}
.work-hero__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(60% 50% at 30% 20%, rgba(158, 27, 50, 0.3), transparent 70%),
    linear-gradient(180deg, rgba(11, 10, 12, 0.4) 0%, rgba(11, 10, 12, 0.82) 60%, var(--c-bg) 100%);
}
.breadcrumb { padding-block: 16px 22px; font-size: 12px; color: var(--c-text-3); }
.breadcrumb ol { list-style: none; display: flex; flex-wrap: wrap; gap: 2px 0; }
.breadcrumb li + li::before { content: "›"; margin: 0 10px; color: rgba(201, 164, 92, 0.6); }
.breadcrumb a { color: var(--c-text-2); text-decoration: none; }
.breadcrumb a:hover { color: var(--c-gold-hi); }

.work-hero__grid { display: grid; gap: 28px; }
.work-hero__cover {
  justify-self: center;
  width: min(70vw, 320px);
  animation: fade-up 1.2s var(--ease) both;
}
.work-hero__cover figcaption { margin-top: 10px; font-size: 11px; color: var(--c-text-3); text-align: center; }
.zoom {
  position: relative;
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: none;
  cursor: zoom-in;
}
.zoom .cover {
  box-shadow: 0 40px 80px -24px rgba(0, 0, 0, 0.95), 0 0 0 1px rgba(201, 164, 92, 0.45);
}
.zoom .cover::after {
  content: "";
  position: absolute;
  inset: 8px;
  border: 1px solid rgba(236, 211, 152, 0.35);
}
.zoom__hint {
  display: inline-block;
  margin-top: 8px;
  padding: 3px 10px;
  background: rgba(11, 10, 12, 0.78);
  border: 1px solid var(--c-line);
  font-size: 11px;
  letter-spacing: 0.2em;
  color: var(--c-gold);
}
.work-hero__body > * { animation: fade-up 1.1s var(--ease) both; animation-delay: 0.15s; }
.work-hero__badges { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 14px; }
.work-hero__badges:empty { display: none; }
.work-hero__title {
  font-family: var(--f-serif);
  font-weight: 600;
  font-size: clamp(20px, 5.4vw, 30px);
  line-height: 1.6;
  letter-spacing: 0.05em;
  margin-bottom: 16px;
}
.work-hero__cast { font-size: 14px; margin-bottom: 8px; }
.work-hero__label {
  display: inline-block;
  margin-right: 12px;
  font-size: 11px;
  letter-spacing: 0.24em;
  color: var(--c-gold);
}
.work-hero__cast a { text-decoration-color: var(--c-line); }
.work-hero .score { margin-bottom: 4px; }
.work-hero__catch {
  margin-top: 22px;
  text-wrap: balance;
  word-break: auto-phrase;
  font-family: var(--f-serif);
  font-size: clamp(24px, 6.4vw, 36px);
  font-weight: 600;
  line-height: 1.45;
  letter-spacing: 0.08em;
  color: var(--c-gold-hi);
}
.work-hero__lead { margin-top: 14px; max-width: 34em; }
.work-hero .offers { margin-top: 28px; }
.work-hero__facts {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 0;
  margin-top: 20px;
  font-size: 12px;
  color: var(--c-text-3);
}
.work-hero__facts span + span::before { content: "／"; margin: 0 8px; color: rgba(201, 164, 92, 0.5); }

@media (min-width: 960px) {
  .work-hero__grid {
    grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
    gap: clamp(48px, 6vw, 88px);
    align-items: start;
    padding-top: 24px;
  }
  .work-hero__cover { width: 100%; max-width: 440px; justify-self: end; position: sticky; top: calc(var(--header-h) + 24px); }
}

/* --------------------------------------------------------------------------
   Detail: sections
   -------------------------------------------------------------------------- */
.work-section { padding-top: var(--space-section); }

.gallery {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}
@media (min-width: 640px) { .gallery { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; } }
@media (min-width: 960px) { .gallery { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; } }
.gallery__btn {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 3 / 2;
  padding: 0;
  border: 0;
  overflow: hidden;
  cursor: zoom-in;
  background: linear-gradient(160deg, #221c27, #121015);
}
.gallery__btn img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 0.9s var(--ease), filter 0.4s var(--ease);

}
.gallery__btn:hover img {   }
.gallery__btn::after {
  content: "";
  position: absolute;
  inset: 0;
  box-shadow: inset 0 0 0 1px var(--c-line-soft);
  transition: box-shadow 0.3s var(--ease);
}
.gallery__btn:hover::after { box-shadow: inset 0 0 0 1px var(--c-gold); }
.gallery__no {
  display: inline-block;
  margin-top: 5px;
  font-family: var(--f-serif);
  font-size: 12px;
  color: var(--c-gold-hi);
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.9);
}

.points {
  list-style: none;
  display: grid;
  gap: 36px;
}
@media (min-width: 720px) { .points { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 44px 40px; } }
.point { padding-top: 22px; border-top: 1px solid var(--c-gold); position: relative; }
.point::before {
  content: "";
  position: absolute;
  top: -4px; left: 0;
  width: 7px; height: 7px;
  background: var(--c-gold);
  transform: rotate(45deg);
}
.point__no { font-family: var(--f-serif); font-size: 13px; letter-spacing: 0.3em; color: var(--c-gold); }
.point__title {
  margin-top: 8px;
  font-family: var(--f-serif);
  font-size: 20px;
  font-weight: 600;
  line-height: 1.55;
  letter-spacing: 0.06em;
}
.point__text { margin-top: 10px; color: var(--c-text); }
.point__basis { margin-top: 10px; font-size: 11px; color: var(--c-text-3); letter-spacing: 0.06em; }
.work-editorial__summary { margin: 20px 0 0; font-size: 16px; line-height: 1.9; }
.work-editorial__note + .work-editorial__note { margin-top: 26px; }
.work-editorial__note h3 { margin: 0 0 8px; font-family: var(--f-serif); font-size: 19px; color: var(--c-gold); }
.work-editorial__note p { margin: 0; line-height: 1.85; }

.quote {
  position: relative;
  padding: 44px 22px 26px;
  background: var(--c-surface);
  border-left: 2px solid var(--c-crimson);
}
.quote::before {
  content: "\201C";
  position: absolute;
  top: -6px; left: 14px;
  font-family: var(--f-serif);
  font-size: 88px;
  line-height: 1;
  color: rgba(201, 164, 92, 0.3);
}
.quote blockquote { margin: 0; font-family: var(--f-serif); font-size: 15px; line-height: 2.05; }
.quote figcaption {
  margin-top: 20px;
  padding-top: 14px;
  border-top: 1px solid var(--c-line-soft);
  font-size: 12px;
  color: var(--c-text-3);
}
.quote figcaption a { color: var(--c-gold); }
@media (min-width: 768px) { .quote { padding: 52px 48px 32px; } .quote blockquote { font-size: 16px; } }

.spec { width: 100%; border-collapse: collapse; font-size: 14px; border-top: 1px solid var(--c-line); }
.spec th,
.spec td { padding: 15px 0; border-bottom: 1px solid var(--c-line-soft); vertical-align: top; text-align: left; }
.spec th {
  width: 7.2em;
  padding-right: 14px;
  font-family: var(--f-serif);
  font-weight: 500;
  font-size: 13px;
  letter-spacing: 0.08em;
  color: var(--c-gold);
  white-space: nowrap;
}
.spec td { line-height: 1.75; }
.spec td .chip { margin-bottom: 4px; }
.spec__note { margin-top: 8px; font-size: 11px; color: var(--c-text-3); }
@media (min-width: 768px) { .spec th { width: 10em; font-size: 14px; } }
.price-list { list-style: none; display: grid; gap: 6px; }
.price-list li { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 2px 16px; }
.price-list__label { color: var(--c-text-2); }
.price-list__value s { color: var(--c-text-3); }
.price-list__value strong { color: var(--c-gold-hi); font-family: var(--f-serif); }

.final-cta {
  position: relative;
  margin-top: var(--space-section);
  padding-block: clamp(56px, 9vw, 96px);
  background:
    radial-gradient(60% 80% at 50% 0%, rgba(158, 27, 50, 0.32), transparent 70%),
    linear-gradient(180deg, var(--c-surface), var(--c-bg));
  border-top: 1px solid var(--c-line);
  border-bottom: 1px solid var(--c-line);
}
.final-cta__inner { display: grid; gap: 28px; justify-items: center; text-align: center; }
.final-cta__cover { width: min(44vw, 200px); }
.final-cta__cover .cover { box-shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.9), 0 0 0 1px rgba(201, 164, 92, 0.45); }
.final-cta .eyebrow { justify-content: center; }
.final-cta .eyebrow::after { content: ""; width: 32px; height: 1px; background: currentColor; }
.final-cta__title {
  font-family: var(--f-serif);
  font-size: clamp(24px, 6.4vw, 38px);
  font-weight: 600;
  letter-spacing: 0.1em;
  line-height: 1.5;
  word-break: auto-phrase;
}
.final-cta__work {
  max-width: 36em;
  margin: 12px auto 26px;
  font-size: 13px;
  color: var(--c-text-2);
}
.final-cta .offers { margin-inline: auto; width: 100%; max-width: 440px; text-align: left; }
@media (min-width: 960px) {
  .final-cta__inner { grid-template-columns: auto minmax(0, 1fr); justify-items: start; text-align: left; gap: 64px; max-width: 980px; }
  .final-cta__cover { width: 240px; }
  .final-cta .eyebrow { justify-content: flex-start; }
  .final-cta .eyebrow::after { display: none; }
  .final-cta__work { margin-inline: 0; }
  .final-cta .offers { margin-inline: 0; }
}
.page-detail #related { padding-bottom: var(--space-section); }

/* 追従購入バー（スマホのみ） */
.sticky-cta {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 55;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px var(--gutter) calc(10px + env(safe-area-inset-bottom));
  background: rgba(14, 12, 16, 0.95);


  border-top: 1px solid var(--c-line);
  transform: translateY(110%);
  visibility: hidden;
  transition: transform 0.4s var(--ease), visibility 0s linear 0.4s;
}
.sticky-cta.is-shown { transform: none; visibility: visible; transition: transform 0.4s var(--ease), visibility 0s; }
.sticky-cta[hidden] { display: none; }
.sticky-cta__title {
  flex: 1;
  min-width: 0;
  font-size: 11px;
  line-height: 1.5;
  color: var(--c-text-2);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.sticky-cta .offers { flex: 1; min-width: 0; }
.sticky-cta .offers__list { min-width: 0; }
.sticky-cta .offer__btn { max-width: 100%; }
@media (max-width: 639px) {
  .sticky-cta { flex-wrap: wrap; gap: 5px; }
  .sticky-cta__title { flex-basis: 100%; }
  .has-sticky-cta { padding-bottom: 132px; }
}
.has-sticky-cta { padding-bottom: 76px; }
@media (min-width: 960px) {
  .sticky-cta { display: none !important; }
  .has-sticky-cta { padding-bottom: 0; }
}

/* ライトボックス */
.lightbox {
  width: 100vw;
  height: 100vh;
  height: 100dvh;
  max-width: none;
  max-height: none;
  margin: 0;
  padding: 0;
  border: 0;
  background: rgba(6, 5, 7, 0.97);
  color: var(--c-text);
  overflow: hidden;
}
.lightbox[open] { display: grid; grid-template-rows: minmax(0, 1fr) auto; animation: fade-in 0.3s var(--ease) both; }
.lightbox::backdrop { background: rgba(0, 0, 0, 0.6); }
.lightbox__stage {
  display: grid;
  place-items: center;
  min-height: 0;
  padding: 64px 12px 8px;
}
.lightbox__stage img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.8);
  animation: fade-in 0.35s var(--ease) both;
}
.lightbox__caption {
  display: flex;
  justify-content: center;
  gap: 14px;
  padding: 12px 16px calc(16px + env(safe-area-inset-bottom));
  font-size: 12px;
  color: var(--c-text-2);
}
.lightbox__caption [data-lb-count] { font-family: var(--f-serif); color: var(--c-gold); }
.lightbox__btn {
  position: absolute;
  display: grid;
  place-items: center;
  width: 48px; height: 48px;
  padding: 0;
  background: rgba(22, 19, 26, 0.75);
  border: 1px solid var(--c-line);
  color: var(--c-gold-hi);
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
}
.lightbox__btn:hover { background: rgba(201, 164, 92, 0.16); }
.lightbox__close { top: 10px; right: 10px; }
.lightbox__prev { left: 8px; top: 50%; transform: translateY(-50%); }
.lightbox__next { right: 8px; top: 50%; transform: translateY(-50%); }
.lightbox__btn[hidden] { display: none; }

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */
.site-footer {
  padding-block: 64px 40px;
  background: var(--c-bg-deep);
  border-top: 1px solid var(--c-line);
  font-size: 12px;
  color: var(--c-text-2);
}
.site-footer__top { text-align: center; }
.site-footer__brand .brand__name { font-size: 26px; color: var(--c-text); }
.site-footer__tagline { margin-top: 10px; font-family: var(--f-serif); letter-spacing: 0.2em; color: var(--c-text-3); }
.footer-nav ul {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0 6px;
  margin-top: 32px;
}
.footer-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 10px;
  font-size: 13px;
  color: var(--c-text);
  text-decoration: none;
}
.footer-nav a:hover { color: var(--c-gold-hi); text-decoration: underline; }
.footer-notes {
  max-width: 720px;
  margin: 24px auto 0;
  padding-top: 24px;
  border-top: 1px solid var(--c-line-soft);
  display: grid;
  gap: 8px;
  line-height: 1.8;
}
.credits { display: flex; justify-content: center; margin-top: 28px; }
.credits a { display: inline-block; opacity: 0.85; }
.credits a:hover { opacity: 1; }
.credits img { width: 88px; height: 31px; }
.copyright { margin-top: 24px; text-align: center; color: var(--c-text-3); letter-spacing: 0.1em; }

/* --------------------------------------------------------------------------
   Age gate
   -------------------------------------------------------------------------- */
.age-gate {
  width: calc(100% - 32px);
  max-width: 460px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--c-text);
}
.age-gate[open] { animation: fade-up 0.6s var(--ease) both; }
.age-gate::backdrop {
  background: radial-gradient(80% 60% at 50% 40%, rgba(60, 10, 22, 0.55), rgba(5, 4, 6, 0.92));


}
.age-gate__inner {
  position: relative;
  padding: 44px 26px 28px;
  text-align: center;
  background: linear-gradient(180deg, #1c1720, #110f14);
  border: 1px solid rgba(201, 164, 92, 0.5);
  box-shadow: 0 50px 100px -30px rgba(0, 0, 0, 0.95);
}
.age-gate__inner::before {
  content: "";
  position: absolute;
  inset: 6px;
  border: 1px solid rgba(201, 164, 92, 0.2);
  pointer-events: none;
}
.age-gate__mark {
  display: grid;
  place-items: center;
  width: 64px; height: 64px;
  margin: 0 auto 18px;
  border: 1px solid var(--c-gold);
  border-radius: 50%;
  font-family: var(--f-serif);
  font-size: 26px;
  color: var(--c-gold);
}
.age-gate__eyebrow { font-family: var(--f-serif); font-size: 11px; letter-spacing: 0.42em; color: var(--c-gold); text-transform: uppercase; }
.age-gate__title {
  margin-top: 10px;
  font-family: var(--f-serif);
  font-size: 22px;
  font-weight: 600;
  line-height: 1.6;
  letter-spacing: 0.08em;
}
.age-gate__desc { margin-top: 14px; font-size: 14px; color: var(--c-text-2); }
.age-gate__actions { display: grid; gap: 12px; margin-top: 26px; }
.age-gate__actions .btn { flex-direction: column; gap: 0; min-height: 60px; }
.age-gate__sub { font-size: 11px; font-weight: 500; letter-spacing: 0.2em; opacity: 0.8; }
.age-gate__note { margin-top: 18px; font-size: 11px; color: var(--c-text-3); line-height: 1.7; }
html.is-gated { overflow: hidden; }

/* --------------------------------------------------------------------------
   Motion
   -------------------------------------------------------------------------- */
@keyframes fade-up {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: none; }
}
@keyframes fade-down {
  from { opacity: 0; transform: translateY(-8px); }
  to { opacity: 1; transform: none; }
}
@keyframes fade-in { from { opacity: 0; } to { opacity: 1; } }

.reveal-ready [data-reveal] {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 1s var(--ease), transform 1s var(--ease);
  transition-delay: var(--delay, 0ms);
}
.reveal-ready [data-reveal].is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-delay: 0s !important;
    transition-duration: 0.01ms !important;
    transition-delay: 0s !important;
  }
  .reveal-ready [data-reveal] { opacity: 1; transform: none; }
}

/* 長い公式タイトルは均等割りにせず、自然な折り返しで読ませる */
.card__title,
.rank__title,
.sticky-cta__title { text-wrap: pretty; word-break: normal; }
/* Official artwork is presented whole; labels sit outside its frame. */
.cover picture { display: block; width: 100%; height: 100%; }
.cover__img { object-fit: contain; }
.card__badges { position: static; display: inline-flex; gap: 6px; margin: 8px 0; }
.hero__bg, .work-hero__bg, .cover__blur { display: none; }
.pr-mark, .pr-bar, .age-gate__note { font-size: 13px; }
