/* 動画作品紹介サイト（静的生成・niche-contents-market）— nanaketa-lab の生成器の CSS を流用し、末尾の「DTI 版」で上書きする。
   config.colors はビルド時にこのファイルの末尾へ :root として追記される。
   メディアクエリ内では var() を使えないため幅は数値で直書き（§5-2）。 */

:root {
  --color-bg-page: #fafafa;
  --color-bg-surface: #fff;
  --color-text: #333;
  --color-text-sub: #555;
  --color-text-strong: #111827;
  --color-text-muted: #6b7280;
  --color-text-meta: #4b5563;
  --color-link: #1967d2;
  --color-link-hover: #e53900;
  --color-title: #ef97e8;
  --color-header-text: #f47fd7;
  --color-header-stripe-a: #edf5f4;
  --color-header-stripe-b: #f6faf9;
  --color-mint: #95e5e2;
  --color-footer-bg: #c6eeee;
  --color-date: #b2e0df;
  --color-border-card: #e8e8e8;
  --color-border-3d-top: #e3e3e3;
  --color-border-3d-right: #cecece;
  --color-border-3d-bottom: #b4b4b4;
  --color-border-3d-left: #d6d6d6;
  --color-meta-divider: #f3f3f3;
  --color-hover-bg: #f5f8fa;
  --color-readmore-bg: #222;
  --color-readmore-border: #f6b7ca;
  --color-readmore-hover: #f48fb1;
  --color-pill-bg: #fff5f7;
  --color-pill-border: #ffd5e1;
  --color-accent-active: #f564a9;
  --color-current-bg: #eee;
  --color-dots-bg: #f5f6f7;
  --color-catlabel-bg: rgba(51, 51, 51, .7);
  --color-catlabel-eyecatch-bg: #7fbfff;
  --color-catlabel-border: #eee;
  --color-cta-from: #ff5b5b;
  --color-cta-to: #c8102e;
  --color-notice-bg: #f8fbff;
  --color-notice-border: #60a5fa;
  --color-keyword-underline: #55bde8;
  --color-chip-bg: #f4f4f4;
  --color-chip-text: #374151;
  --color-thumb-placeholder: #f5f5f5;
  --color-breadcrumb: #999;
  --color-h3-border: #ddd;
  --color-h3-accent: #888;

  --font-family-base: "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
  --font-size-base: 16px;
  --font-weight-base: 500;
  --line-height-base: 1.8;
  --font-size-site-name: 28px;
  --font-size-card-title: 22px;
  --line-height-card-title: 1.45;
  --font-size-entry-title: 34px;

  --radius-basic: 4px;
  --radius-pill: 20px;
  --radius-full: 50px;
  --radius-full-chip: 999px;
  --radius-panel: 16px;
  --radius-thumb: 12px;
  --radius-cta: 14px;
  --radius-notice: 10px;
  --radius-readmore: 8px;
  --radius-gotop: 5px;

  --shadow-wrap-hover: 0 10px 20px -5px rgba(0, 0, 0, .2);
  --shadow-card-hover: 0 12px 28px rgba(0, 0, 0, .12);
  --shadow-panel: 0 10px 28px rgba(15, 23, 42, .12);
  --shadow-related: 0 10px 24px rgba(15, 23, 42, .12);
  --shadow-related-hover: 0 16px 30px rgba(15, 23, 42, .16);
  --shadow-cta: 0 10px 28px rgba(200, 16, 46, .28), inset 0 1px 0 rgba(255, 255, 255, .2);
  --shadow-cta-hover: 0 16px 36px rgba(200, 16, 46, .35), inset 0 1px 0 rgba(255, 255, 255, .25);
  --shadow-mobile-bar: 0 0 5px darkgrey;
  --shadow-post-nav: 0 8px 24px rgba(0, 0, 0, .08);

  --layout-wrap: 1256px;
  --space-main-pad: 36px 29px;
  --space-content-top: 24px;
  --card-gap-col: .5%;
  --card-gap-row: 16px;
  --card-thumb-ratio: 16 / 11;
}

/* ---------- 基本 ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body {
  margin: 0;
  background-color: var(--color-bg-page);
  color: var(--color-text);
  font-family: var(--font-family-base);
  font-size: var(--font-size-base);
  font-weight: var(--font-weight-base);
  line-height: var(--line-height-base);
  overflow-wrap: anywhere;
  /* 本文が短いページでもフッターを画面の下端以下に置く（.site → .site-content を伸ばす）。固定要素は流れの外なので影響しない */
  min-height: 100vh;
  display: flex; flex-direction: column;
}
.site { flex: 1 0 auto; display: flex; flex-direction: column; }
.site-content { flex: 1 0 auto; }
body.is-locked { overflow: hidden; }
img { max-width: 100%; height: auto; vertical-align: middle; }
a { color: var(--color-link); }
a:hover { color: var(--color-link-hover); }
button { font: inherit; color: inherit; }
figure { margin: 0; }
h1, h2, h3 { margin: 0; }
.icon { display: inline-block; width: 1em; height: 1em; vertical-align: -.125em; flex: none; }
.visually-hidden {
  position: absolute !important; 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: 8px; top: -100px; z-index: 100001;
  padding: 8px 12px; background: var(--color-bg-surface); color: var(--color-text); border-radius: var(--radius-basic);
}
.skip-link:focus { top: 8px; }
:focus-visible { outline: 2px solid var(--color-link); outline-offset: 2px; }
[hidden] { display: none !important; }

/* ---------- ヘッダー ---------- */
.site-header__band {
  background: repeating-linear-gradient(90deg, var(--color-header-stripe-a) 0 10px, var(--color-header-stripe-b) 10px 20px);
  color: var(--color-header-text);
}
.site-header__inner {
  max-width: var(--layout-wrap);
  min-height: 90px;
  margin: 0 auto;
  display: flex; align-items: center; justify-content: center;
}
.site-header__logo {
  margin: 0;
  padding: 20px 0 30px;
  text-align: center;
  font-size: var(--font-size-site-name);
  font-weight: 400;
  line-height: 1.8;
}
.site-header__link { color: var(--color-text); text-decoration: none; padding: 0 1em; }
.site-header__link:hover { color: var(--color-header-text); }
.site-header__name { color: var(--color-header-text); }
.site-header__logo-img { display: block; margin: 0 auto; height: 72px; width: auto; max-width: min(90vw, 560px); }
.site-header__link:has(.site-header__logo-img) { display: inline-block; padding: 0; }

/* ---------- R18 の常設表示（config.r18_notice・参照には無い部品） ---------- */
.r18-notice {
  background: var(--color-pill-bg); border-bottom: 1px solid var(--color-pill-border);
  color: var(--color-text-sub); font-size: 12px; line-height: 1.6; text-align: center; padding: 4px 12px;
}
.r18-notice__text { margin: 0; }
.r18-notice__sentence { display: inline-block; } /* 文の途中では折り返さず、句点の後でだけ折り返す */

/* ---------- 本体 ---------- */
.site-content { margin-top: var(--space-content-top); }
.site-content__inner { max-width: var(--layout-wrap); margin: 0 auto; }
.site-main {
  background: var(--color-bg-surface);
  padding: var(--space-main-pad);
  border: 1px solid transparent;
  border-radius: var(--radius-basic);
  width: 100%;
}

/* ---------- 一覧見出し・パンくず ---------- */
.list-heading {
  display: flex; align-items: center; gap: .3em;
  font-size: 26px; font-weight: 700; line-height: 1.3;
  color: var(--color-mint);
  margin: 16px 0;
}
.list-heading__icon { display: inline-flex; }
.breadcrumbs {
  display: flex; flex-wrap: wrap; align-items: center;
  font-size: 13px; color: var(--color-breadcrumb);
  margin: 13px 5.2px;
}
.breadcrumbs__item { display: inline-flex; align-items: center; gap: .3em; }
.breadcrumbs__item a { text-decoration: none; }
.breadcrumbs__label { color: var(--color-title); }
.breadcrumbs__item a:hover .breadcrumbs__label { text-decoration: underline; }
.breadcrumbs__sep { display: inline-flex; margin: 0 10px; }

/* ---------- カード一覧 ---------- */
.card-list {
  display: grid;
  grid-template-columns: repeat(3, 33%);
  column-gap: var(--card-gap-col);
  row-gap: var(--card-gap-row);
  margin: 0 0 48px;
}
.work-card {
  display: block;
  padding: 7px;
  border: 1px solid;
  border-color: var(--color-border-3d-top) var(--color-border-3d-right) var(--color-border-3d-bottom) var(--color-border-3d-left);
  border-radius: 0;
  color: var(--color-text);
  text-decoration: none;
  transition: all .3s ease-in-out;
  min-width: 0;
}
.work-card:hover { color: var(--color-text); background: var(--color-hover-bg); transform: translateY(-4px); box-shadow: var(--shadow-wrap-hover); }
.work-card__inner {
  display: flex; flex-direction: column; height: 100%;
  border: 1px solid var(--color-border-card);
  background: var(--color-bg-surface);
  transition: all .25s ease;
}
.work-card:hover .work-card__inner { transform: translateY(-6px); box-shadow: var(--shadow-card-hover); }
.work-card__thumb {
  position: relative; width: 100%; aspect-ratio: var(--card-thumb-ratio); overflow: hidden; margin: 0;
  background: var(--color-thumb-placeholder);
}
.work-card__image { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; display: block; }
.work-card:hover .work-card__image { transform: scale(1.04); }
.work-card__label {
  position: absolute; top: .3em; left: .3em;
  max-width: 70%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
  font-size: 11px; line-height: 1.6; padding: 1px 5px;
  background: var(--color-catlabel-bg); color: #fff;
  border: 1px solid var(--color-catlabel-border); border-radius: var(--radius-full);
}
.work-card__content { display: flex; flex-direction: column; flex: 1 1 auto; padding: 14px 16px 0; }
.work-card__title {
  font-size: var(--font-size-card-title); font-weight: 700;
  line-height: var(--line-height-card-title); height: 2.9em;
  margin: 0 0 8px; color: var(--color-title);
  display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; line-clamp: 2; overflow: hidden;
}
.work-card__chips { display: flex; flex-wrap: wrap; gap: 6px; margin: 4px 0 9px; }
.chip {
  font-size: 12px; line-height: 21.6px; padding: 3px 8px;
  background: var(--color-pill-bg); border: 1px solid var(--color-pill-border);
  border-radius: var(--radius-pill); color: var(--color-text-sub);
  max-width: 100%; overflow-wrap: anywhere;
}
.work-card__match, .work-card__excerpt {
  font-size: 12.8px; line-height: 1.55; color: var(--color-text-sub); margin: 0 0 10px;
}
.work-card__excerpt { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3; line-clamp: 3; overflow: hidden; }
.work-card__match-heading { display: block; font-weight: 700; color: var(--color-text); margin-bottom: 4px; }
.work-card__match-list { list-style: none; margin: 0; padding: 0; }
.work-card__match-item {
  margin-top: 2px; line-height: 1.55;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.work-card__match-item::before { content: "・"; }
.work-card__readmore {
  display: block; width: calc(100% - 32px);
  margin: auto 16px 18px; padding: 11px 12px;
  background: var(--color-readmore-bg); color: #fff;
  border: 1px solid var(--color-readmore-border); border-radius: var(--radius-readmore);
  font-size: .92rem; font-weight: 700; line-height: 1.4; text-align: center;
  transition: background .2s, transform .2s;
}
.work-card:hover .work-card__readmore { background: var(--color-readmore-hover); border-color: var(--color-readmore-hover); transform: translateX(4px); }
.work-card__footer {
  display: flex; justify-content: flex-end;
  margin-top: 0; padding: 5px 0 6px; border-top: 1px solid var(--color-meta-divider);
}
.work-card__date { display: inline-flex; align-items: center; gap: .3em; font-size: 11.2px; color: var(--color-date); line-height: 1.6; }

/* ---------- ページ送り ---------- */
.pager { display: flex; flex-wrap: wrap; justify-content: center; row-gap: 8px; width: 100%; margin: 24px 0; }
.pager__item {
  display: inline-flex; align-items: center; justify-content: center;
  width: 46px; height: 46px; line-height: 46px; margin: 0 4px;
  font-size: 16px; color: var(--color-text); text-decoration: none;
  border: 1px solid;
  border-color: var(--color-border-3d-top) var(--color-border-3d-right) var(--color-border-3d-bottom) var(--color-border-3d-left);
  border-radius: var(--radius-basic);
}
a.pager__item:hover { background: var(--color-hover-bg); color: var(--color-text); border-bottom: 2px solid var(--color-accent-active); }
.pager__item--current { background: var(--color-current-bg); color: var(--color-accent-active); border-bottom: 2px solid var(--color-accent-active); }
.pager__item--dots { background: var(--color-dots-bg); opacity: .6; }
.pager__item--sp-dots { display: none; } /* 400px 以下でだけ表示（--far の代わり） */

/* ---------- ジャンル一覧ページ ---------- */
.genre-index__lead { color: var(--color-text-sub); font-size: 14px; margin: 0 0 16px; }
.genre-index {
  list-style: none; margin: 0 0 32px; padding: 0;
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px;
}
.genre-index__link {
  display: flex; align-items: center; gap: .5em;
  padding: 10px 12px; border: 1px solid var(--color-pill-border); background: var(--color-pill-bg);
  border-radius: var(--radius-readmore); color: var(--color-text); text-decoration: none; font-size: 14px;
}
.genre-index__link:hover { color: var(--color-text); background: var(--color-hover-bg); }
.genre-index__icon { color: var(--color-mint); }
.genre-index__name { flex: 1 1 auto; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.genre-index__count, .drawer__count {
  font-size: 12px; color: var(--color-text-muted); background: var(--color-bg-surface);
  border-radius: var(--radius-full-chip); padding: 0 8px; line-height: 1.8;
}

/* ---------- 404 ---------- */
.notfound { margin: 0 0 32px; }
.notfound__text { margin: 0 0 12px; }
.notfound__link { font-weight: 700; }
.notfound__heading {
  font-size: 24px; line-height: 1.25; font-weight: 700;
  background: var(--color-dots-bg); padding: 20px 25px; border-left: 9px solid var(--color-mint);
  margin: 0 0 1.62em;
}

/* ---------- 詳細 ---------- */
.work__title {
  font-size: var(--font-size-entry-title); line-height: 1.34; font-weight: 700;
  color: var(--color-title); text-align: center; letter-spacing: -.03em;
  max-width: 900px; margin: 40px auto 25px; padding: 0 20px;
}
.work__eyecatch { display: flex; justify-content: center; margin-bottom: 14px; } /* 2026-10-31: 50px→14px（価格とボタンを上へ） */
.work__eyecatch-figure { position: relative; width: 560px; max-width: 100%; }
.work__eyecatch-image { /* 枠は固定しない（参照と同じ height:auto）。到着前の高さは img の width=560 height=420 属性で確保 */
  display: block; width: 100%; height: auto;
  background: var(--color-thumb-placeholder);
}
.work__eyecatch-label {
  position: absolute; top: .4em; left: .4em;
  font-size: 14px; line-height: 1.6; padding: 2px 8px;
  background: var(--color-catlabel-eyecatch-bg); color: #fff;
  border: 1px solid var(--color-catlabel-border); border-radius: var(--radius-full); opacity: .9;
  max-width: 80%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.work__date { display: flex; align-items: center; justify-content: flex-end; gap: .3em; color: var(--color-date); line-height: .8; margin: 0 0 12px; font-size: 14px; }
.work__date-label { font-size: 12px; }
.work-panel { padding: 20px 22px; } /* 2026-10-31: 表紙の 2 枚目（work-panel__thumb）を外したので、文章だけの枠 */

.work-panel {
  display: flex; gap: 24px; align-items: flex-start;
  background: var(--color-bg-surface); border-radius: var(--radius-panel);
  padding: 24px; box-shadow: var(--shadow-panel);
}
.work-panel__thumb { flex: 0 0 300px; max-width: 300px; }
.work-panel__image { /* 参照どおり height:auto（画像の縦横比のまま全体を表示。切り抜かない） */
  display: block; width: 100%; height: auto;
  border-radius: var(--radius-thumb); background: var(--color-thumb-placeholder);
}
.work-panel__content { flex: 1 1 auto; min-width: 0; }
.work-panel__circle { font-size: 16px; color: var(--color-text-muted); margin-bottom: 10px; }
.work-panel__genres {
  display: inline-block;
  font-size: 13px; line-height: 1.6; color: var(--color-text-meta); margin-bottom: 14px;
  background: var(--color-pill-bg); border: 1px solid var(--color-pill-border); border-radius: var(--radius-pill); padding: 3px 8px;
}
.work-panel__genres:empty { display: none; } /* ジャンル 0 件の作品で空の枠を出さない */
.work-panel__summary { font-size: 18px; line-height: 1.8; color: var(--color-text-strong); margin-bottom: 16px; }
.work-panel__summary.is-below { margin: 28px 0 8px; padding: 16px 18px; background: var(--color-bg-surface); border-radius: var(--radius-panel); box-shadow: var(--shadow-panel); font-size: 16px; }
.work-panel__excerpt { margin: 0; }
.audience__heading { font-size: 1.08em; font-weight: 800; line-height: 1.5; color: var(--color-text-strong); margin-bottom: 10px; }
.audience__list { margin: 0; padding-left: 1.35em; }
.audience__list li { margin-bottom: 8px; line-height: 1.85; }
.audience__keyword {
  text-decoration: underline; text-decoration-color: var(--color-keyword-underline);
  text-decoration-thickness: 2px; text-underline-offset: 5px;
}
.free-notice {
  margin: 18px 0 8px; padding: 16px 18px;
  border-left: 4px solid var(--color-notice-border); background: var(--color-notice-bg);
  border-radius: var(--radius-notice);
}
.free-notice__question { font-weight: 700; line-height: 1.6; margin-bottom: 8px; }
.free-notice__answer { line-height: 1.8; margin: 0 0 1.8em; }
.free-notice__action { margin: 0; }
.cta-button {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 260px; max-width: 100%; padding: 16px 34px; border-radius: var(--radius-cta);
  background: linear-gradient(135deg, var(--color-cta-from), var(--color-cta-to));
  color: #fff; font-size: 18px; font-weight: 700; letter-spacing: .04em; text-decoration: none;
  box-shadow: var(--shadow-cta); transition: transform .2s, box-shadow .2s, filter .2s;
}
.cta-button:hover { color: #fff; transform: translateY(-3px); filter: brightness(1.05); box-shadow: var(--shadow-cta-hover); }
.cta-button:active { transform: translateY(0); }
.cta-button__pr { display: inline-block; margin-right: 10px; padding: 0 6px; border: 1px solid rgba(255,255,255,.85); border-radius: 3px; font-size: 11px; line-height: 1.7; letter-spacing: .05em; }
.free-notice__pr { margin: 8px 0 0; font-size: 12px; color: var(--color-text-muted, #666); }
.ad-notice { background: #fff8e6; border-bottom: 1px solid #f3dca0; }
.ad-notice__text { max-width: var(--layout-wrap); margin: 0 auto; padding: 6px 16px; font-size: 12px; line-height: 1.6; text-align: center; color: #5c4a1a; }

/* 新着・関連グリッド（裁定 §7-3: 描画値を再現。崩れる値は README「参照との差分」） */
.work-grid { margin-top: 30px; }
.work-grid--related { margin-top: 40px; }
.work-grid__heading {
  font-size: 24px; line-height: 1.25; font-weight: 700;
  background: var(--color-dots-bg); padding: 25px; border-radius: 2px;
  margin: 0 0 1.62em;
}
.work-grid--new .work-grid__heading { border-left: 3px solid var(--color-text-strong); }
.work-grid--related .work-grid__heading { border-left: 9px solid var(--color-mint); border-radius: 0; }
.work-grid__list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; align-items: stretch; }
.work-grid--related .work-grid__list { gap: 12px; }
.work-grid__card { display: flex; flex-direction: column; color: var(--color-text); text-decoration: none; min-width: 0; }
.work-grid__card:hover { color: var(--color-text); }
.work-grid--new .work-grid__card {
  background: var(--color-bg-surface); border-radius: var(--radius-panel);
  box-shadow: var(--shadow-related); overflow: hidden; transition: transform .2s, box-shadow .2s;
}
.work-grid--new .work-grid__card:hover { transform: translateY(-4px); box-shadow: var(--shadow-related-hover); }
.work-grid__thumb { overflow: hidden; background: var(--color-thumb-placeholder); }
.work-grid__image { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center; transition: transform .3s ease; }
.work-grid--new .work-grid__thumb { height: 220px; }
.work-grid--new .work-grid__card:hover .work-grid__image { transform: scale(1.03); }
.work-grid--related .work-grid__thumb { position: relative; aspect-ratio: 4 / 3; border-radius: var(--radius-basic); }
.work-grid--related .work-grid__image { position: absolute; inset: 0; }
.work-grid__body { padding: 10px 12px 12px; }
.work-grid__title {
  font-weight: 700;
  border: 1px solid var(--color-h3-border); border-left: 7px solid var(--color-h3-accent);
  display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; line-clamp: 2; overflow: hidden;
  box-sizing: content-box;
}
.work-grid--new .work-grid__title {
  font-size: 15px; line-height: 1.45; min-height: 2.9em; max-height: 2.9em;
  padding: 12px 20px; margin: 0 0 7px;
}
.work-grid--related .work-grid__title {
  font-size: 22px; line-height: 1.25; height: 2.5em;
  padding: 12px 20px; margin: 10px 0 0;
}
.work-grid__circle {
  display: inline-block; max-width: 100%; overflow-wrap: anywhere;
  font-size: 12px; font-weight: 600; color: var(--color-chip-text); background: var(--color-chip-bg);
  border-radius: var(--radius-full-chip); padding: 3px 8px; margin: 0 0 4px; line-height: 1.6;
}
.work-grid__circle::before { content: "【"; }
.work-grid__circle::after { content: "】"; }

/* 分類のリンク（旧版の部品・DTI 版では未使用） */
.terms { display: flex; flex-direction: column; gap: 8px; margin: 32px 0 24px; }
.terms__group { display: flex; flex-wrap: wrap; gap: 5px; }
.terms__link {
  display: inline-flex; align-items: center; gap: .3em;
  font-size: 12px; line-height: 1.6; text-decoration: none; border-radius: var(--radius-basic);
}
.terms__link--category { background: var(--color-text); color: #fff; padding: 2px 6px; border: 1px solid var(--color-text); }
.terms__link--category:hover { color: #fff; background: var(--color-link-hover); border-color: var(--color-link-hover); }
.terms__link--tag { color: var(--color-text); padding: 1px 5px; border: 1px solid var(--color-border-3d-right); }
.terms__link--tag:hover { color: var(--color-link-hover); border-color: var(--color-link-hover); }

/* 前後の作品 */
.post-nav { display: flex; flex-direction: column; gap: 12px; margin: 24px 0; }
.post-nav__link {
  display: flex; align-items: center; gap: 12px;
  padding: 10px; background: var(--color-bg-surface); border-radius: 14px; box-shadow: var(--shadow-post-nav);
  color: var(--color-text); text-decoration: none; transition: transform .2s, box-shadow .2s;
}
.post-nav__link:hover { color: var(--color-text); transform: translateY(-3px); box-shadow: var(--shadow-card-hover); }
.post-nav__link--next { flex-direction: row-reverse; text-align: right; }
.post-nav__arrow { display: inline-flex; color: var(--color-text-muted); }
.post-nav__thumb { flex: 0 0 120px; width: 120px; aspect-ratio: 16 / 9; overflow: hidden; border-radius: var(--radius-basic); background: var(--color-thumb-placeholder); }
.post-nav__image { width: 100%; height: 100%; object-fit: cover; display: block; }
.post-nav__title {
  flex: 1 1 auto; min-width: 0; font-size: 1rem; font-weight: 700; line-height: 1.5;
  display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3; line-clamp: 3; overflow: hidden;
}

/* ---------- 固定ページ（data/pages） ---------- */
.static-page { color: var(--color-text); line-height: var(--line-height-base); max-width: 900px; }
.static-page h2 { /* 記事内 h2（design-tokens「見出し h2」・404 の .notfound__heading と同じ系統） */
  font-size: 24px; line-height: 1.25; font-weight: 700;
  background: var(--color-dots-bg); padding: 25px; border-left: 9px solid var(--color-mint);
  margin: 40px 0 1.62em;
}
.static-page > h2:first-child { margin-top: 0; }
.static-page p, .static-page ul, .static-page ol { margin: 0 0 16px; }
.static-page ul, .static-page ol { padding-left: 1.5em; }

/* ---------- フッター ---------- */
.site-footer { background: var(--color-footer-bg); color: var(--color-text); padding: 8px; margin-top: 20px; }
.site-footer__inner {
  max-width: var(--layout-wrap); margin: 0 auto;
  padding: 8px 60px 8px 12px; /* 右 60px＝固定の「トップへ」ボタン（右 10px・幅 40px）とクレジットが重ならないように */
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
.site-footer__logo { font-size: 18px; }
.site-footer__logo-img { display: block; height: 34px; width: auto; }
.site-footer__link { color: var(--color-text); text-decoration: none; }
.site-footer__link:hover { color: var(--color-header-text); }
.site-footer__body { text-align: right; font-size: 14px; }
.site-footer__nav { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 4px 16px; }
.site-footer__nav-link { color: var(--color-text); }
.site-footer__copyright { margin-top: 8px; }
.site-footer__credit { margin-top: 4px; font-size: 12px; }
.site-footer__credit a { color: var(--color-text); }

/* ---------- 下部バー・トップへ ---------- */
.mobile-bar { display: none; }
.to-top { position: fixed; right: 10px; bottom: 10px; z-index: 99999; display: none; }
.to-top.is-visible { display: block; }
.to-top__button {
  width: 40px; height: 40px; display: flex; align-items: center; justify-content: center;
  background: var(--color-current-bg); color: var(--color-text); border: 0; border-radius: var(--radius-gotop);
  font-size: 22px; opacity: .5; cursor: pointer; transition: opacity .2s;
}
.to-top__button:hover { opacity: 1; }

/* ---------- 検索オーバーレイ ---------- */
.search-panel {
  position: fixed; inset: 0; z-index: 100000; background: rgba(0, 0, 0, .55);
  display: flex; justify-content: center; align-items: flex-start; padding: 16px;
  padding-top: max(16px, env(safe-area-inset-top));
}
.search-panel__inner {
  width: 100%; max-width: 720px; max-height: calc(100vh - 32px); max-height: calc(100dvh - 32px);
  display: flex; flex-direction: column;
  background: var(--color-bg-surface); border-radius: var(--radius-panel); box-shadow: var(--shadow-panel); overflow: hidden;
}
.search-panel__bar { display: flex; gap: 8px; padding: 12px; border-bottom: 1px solid var(--color-border-card); }
.search-panel__input {
  flex: 1 1 auto; min-width: 0; font: inherit; font-size: 16px; padding: 10px 12px;
  border: 1px solid var(--color-border-3d-right); border-radius: var(--radius-readmore);
}
.search-panel__close, .drawer__close {
  flex: none; width: 44px; height: 44px; display: inline-flex; align-items: center; justify-content: center;
  border: 0; background: var(--color-current-bg); border-radius: var(--radius-readmore); font-size: 20px; cursor: pointer;
}
.search-panel__status { margin: 8px 16px 0; font-size: 13px; color: var(--color-text-muted); }
.search-panel__results { list-style: none; margin: 0; padding: 4px 8px 12px; overflow-y: auto; }
.search-panel__result { display: block; padding: 10px 8px; border-bottom: 1px solid var(--color-meta-divider); text-decoration: none; color: var(--color-text); }
.search-panel__result:hover { background: var(--color-hover-bg); color: var(--color-text); }
.search-panel__result-title { display: block; font-weight: 700; color: var(--color-title); line-height: 1.5; }
.search-panel__result-meta { display: block; font-size: 12px; color: var(--color-text-muted); line-height: 1.6; }

/* ---------- ジャンル引き出し ---------- */
.drawer { position: fixed; inset: 0; z-index: 100000; }
.drawer__backdrop { position: absolute; inset: 0; background: rgba(0, 0, 0, .45); }
.drawer__panel {
  position: absolute; top: 0; right: 0; bottom: 0; width: min(320px, 86vw);
  background: var(--color-bg-surface); box-shadow: -4px 0 20px rgba(0, 0, 0, .15);
  display: flex; flex-direction: column; padding: 12px 12px calc(12px + env(safe-area-inset-bottom));
  transform: translateX(100%); transition: transform .25s ease;
}
.drawer.is-open .drawer__panel { transform: translateX(0); }
.drawer__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 8px; }
.drawer__title { font-weight: 700; color: var(--color-mint); font-size: 18px; }
.drawer__list { list-style: none; margin: 0; padding: 0; overflow-y: auto; flex: 1 1 auto; }
.drawer__link {
  display: flex; align-items: center; justify-content: space-between; gap: 8px;
  padding: 9px 6px; border-bottom: 1px solid var(--color-meta-divider); color: var(--color-text); text-decoration: none; font-size: 14px;
}
.drawer__link:hover { background: var(--color-hover-bg); color: var(--color-text); }
.drawer__count { background: var(--color-pill-bg); }
.drawer__all {
  display: block; margin-top: 10px; padding: 10px; text-align: center; font-weight: 700; text-decoration: none;
  background: var(--color-readmore-bg); color: #fff; border-radius: var(--radius-readmore);
}
.drawer__all:hover { color: #fff; background: var(--color-readmore-hover); }

/* ---------- 年齢確認 ---------- */
.age-gate {
  position: fixed; inset: 0; z-index: 100001; background: rgba(17, 24, 39, .97);
  display: flex; align-items: center; justify-content: center; padding: 16px;
}
.age-gate__box {
  width: 100%; max-width: 440px; background: var(--color-bg-surface); border-radius: var(--radius-panel);
  padding: 28px 24px; text-align: center; box-shadow: var(--shadow-panel);
}
.age-gate__title { margin: 0 0 8px; font-size: 22px; font-weight: 700; color: var(--color-title); }
.age-gate__text { margin: 0 0 8px; font-size: 14px; color: var(--color-text-sub); }
.age-gate__question { margin: 0 0 20px; font-size: 18px; font-weight: 700; }
.age-gate__actions { display: flex; flex-direction: column; gap: 10px; }
.age-gate__button { padding: 14px 16px; border-radius: var(--radius-cta); border: 0; font-weight: 700; cursor: pointer; font-size: 16px; }
.age-gate__button--yes { background: linear-gradient(135deg, var(--color-cta-from), var(--color-cta-to)); color: #fff; box-shadow: var(--shadow-cta); }
.age-gate__button--no { background: var(--color-current-bg); color: var(--color-text); }

/* ---------- ブレークポイント（§5-2） ---------- */
@media (max-width: 1255px) {
  .site-content__inner, .site-header__inner, .site-footer__inner { max-width: none; }
}
@media (max-width: 1023px) {
  body { padding-bottom: calc(50px + env(safe-area-inset-bottom)); }
  .mobile-bar {
    display: flex; justify-content: space-around;
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 3;
    min-height: 50px; margin: 0; padding: 0 0 env(safe-area-inset-bottom); list-style: none;
    background: var(--color-bg-surface); box-shadow: var(--shadow-mobile-bar);
  }
  .mobile-bar__item { width: 100%; }
  .mobile-bar__button {
    width: 100%; height: 50px; display: flex; flex-direction: column; align-items: center; justify-content: center;
    color: var(--color-text); text-decoration: none; background: none; border: 0; padding: 0; cursor: pointer;
  }
  .mobile-bar__button:hover { color: var(--color-text); }
  .mobile-bar__icon { font-size: 19px; line-height: 1; display: inline-flex; }
  .mobile-bar__label { font-size: 9px; opacity: .8; line-height: 1.6; margin-top: 2px; }
  .to-top, .to-top.is-visible { display: none; }
  .site-footer__inner { flex-direction: column; justify-content: center; text-align: center; padding: 8px 12px; }
  .site-footer__body { text-align: center; }
  .site-footer__nav { justify-content: center; }
  .genre-index { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 834px) {
  .site-main { padding: 32px 16px; border: 0; }
  .card-list { grid-template-columns: repeat(2, 49%); justify-content: space-between; }
  .site-header__inner { min-height: 60px; }
  .site-header__logo { font-size: 22px; }
  .site-header__logo-img { height: 56px; }
  .site-content { margin-top: 10px; }
  .work-grid--new .work-grid__list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .work-card__match, .work-card__excerpt { font-size: 14px; }
  .work-card__readmore { width: calc(100% - 26px); margin: auto 13px 15px; }
  .work__eyecatch-label { font-size: 10px; padding: 2px 4px; }
}
@media (max-width: 767px) {
  .work-panel { flex-direction: column; padding: 16px; }
  .work-panel__thumb { flex: none; width: 100%; max-width: 100%; }
  .work__title { font-size: 26px; line-height: 1.4; }
  .audience__list li { margin-bottom: 7px; line-height: 1.75; }
  .free-notice { padding: 14px 15px; }
  .work-grid--related .work-grid__list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .work-grid--new .work-grid__title { font-size: 14px; }
  .genre-index { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cta-button { min-width: 0; width: 100%; padding: 16px 20px; }
}
@media (max-width: 640px) {
  .pager__item { width: 36px; height: 36px; line-height: 36px; margin: 0 1px; } /* 481〜640px で 11 項目（最大 418px）が 1 行に入る */
}
@media (max-width: 480px) {
  .site-header__logo { font-size: 18px; }
  .site-header__logo-img { height: 44px; }
  .site-footer__logo-img { height: 28px; margin: 0 auto; }
  .pager__item { width: 30px; height: 30px; line-height: 30px; margin: 0 1px; } /* 間隔 2px。11 項目（前へ 1 … 3 4 5 6 7 … 25 次へ）でも 376px 以上で 1 行 */
  .work-card__match, .work-card__excerpt { display: none; }
  .work-card__content { padding: 12px 13px 0; }
  .work-card__label { font-size: 10px; padding: 1px 3px; }
  .chip { line-height: 15.6px; }
  .work-grid--new .work-grid__list { grid-template-columns: 1fr; }
  .work-grid__heading { font-size: 20px; padding: 12px 16px; }
  .work-grid--related .work-grid__title { font-size: 18px; padding: .6em; }
  .work-grid--new .work-grid__title { padding: .6em; }
  .notfound__heading, .static-page h2 { font-size: 20px; padding: 12px 16px; }
  .post-nav__thumb { flex-basis: 30%; width: 30%; }
}
@media (max-width: 400px) {
  .pager__item--far { display: none; } /* 現在±2 の番号を隠して 9 項目以内（320〜400px で 1 行。401px 以上は 11 項目でも 352px で入る） */
  .pager__item--sp-dots { display: inline-flex; } /* 隠した番号の代わりの …（他の項目と同じ inline-flex で揃える） */
}
@media (max-width: 356px) {
  .card-list { grid-template-columns: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; scroll-behavior: auto !important; }
}

/* ---------- 編集部の一押しおすすめ（featured） ---------- */
.featured { margin: 0 0 28px; padding: 3px; border-radius: 14px; background: linear-gradient(135deg, #ef97e8, #c9a8ff 50%, #95e5e2); box-shadow: 0 8px 24px rgba(239, 151, 232, .25); }
.featured__inner { display: flex; gap: 24px; padding: 20px 22px; background: #fff; border-radius: 12px; }
.featured__visual { flex: 0 0 300px; position: relative; }
.featured__image-link { display: block; border-radius: 10px; overflow: hidden; box-shadow: 0 4px 14px rgba(0, 0, 0, .12); transition: transform .25s ease; }
.featured__image-link:hover { transform: scale(1.02); }
.featured__image { display: block; width: 100%; height: auto; }
.featured__ribbon { position: absolute; top: 10px; left: -6px; padding: 4px 12px; background: #f564a9; color: #fff; font-weight: 700; font-size: 13px; border-radius: 4px; box-shadow: 0 2px 6px rgba(0, 0, 0, .2); }
.featured__body { flex: 1; min-width: 0; }
.featured__heading { margin: 0 0 4px; font-size: 14px; font-weight: 700; letter-spacing: .08em; color: #e85b88; }
.featured__spark { margin-right: 6px; color: #95e5e2; }
.featured__kicker { margin: 0 0 8px; font-size: 13px; color: #6b7280; }
.featured__title { margin: 0 0 6px; font-size: 22px; line-height: 1.4; font-weight: 700; }
.featured__title a { color: #111827; text-decoration: none; }
.featured__title a:hover { color: #f564a9; }
.featured__circle { margin: 0 0 10px; font-size: 13px; color: #4b5563; }
.featured__lead { margin: 0 0 10px; font-size: 14px; line-height: 1.8; }
.featured__points { margin: 0 0 12px; padding: 0; list-style: none; }
.featured__points li { position: relative; padding-left: 1.5em; margin: 4px 0; font-size: 14px; line-height: 1.6; }
.featured__points li::before { content: "✔"; position: absolute; left: 0; color: #f564a9; font-weight: 700; }
.featured__meta { margin: 0 0 14px; display: flex; flex-wrap: wrap; gap: 6px; }
.featured__chip { padding: 2px 10px; border-radius: 20px; background: #fff5f7; border: 1px solid #ffd5e1; font-size: 12px; color: #555; }
.featured__actions { margin: 0; display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; }
.featured__cta { position: relative; overflow: hidden; animation: featuredPulse 2.4s ease-in-out 3; }
.featured__cta::after { content: ""; position: absolute; top: 0; left: -60%; width: 40%; height: 100%; background: linear-gradient(120deg, transparent, rgba(255, 255, 255, .45), transparent); animation: featuredShine 3s ease-in-out 3; pointer-events: none; }
.featured__cta-arrow { margin-left: 8px; }
.featured__official { font-size: 13px; color: #1967d2; }
.featured__pr { margin: 10px 0 0; font-size: 11px; color: #6b7280; }
@keyframes featuredPulse { 0%, 100% { box-shadow: 0 6px 18px rgba(245, 100, 169, .35); } 50% { box-shadow: 0 10px 28px rgba(245, 100, 169, .55); } }
@keyframes featuredShine { 0% { left: -60%; } 60%, 100% { left: 120%; } }
@media (prefers-reduced-motion: reduce) { .featured__cta, .featured__cta::after { animation: none; } }
@media (max-width: 767px) { .featured__inner { flex-direction: column; padding: 14px; gap: 14px; } .featured__visual { flex-basis: auto; } .featured__title { font-size: 19px; } .featured__actions { flex-direction: column; align-items: stretch; } .featured__official { text-align: center; } }

/* ---------- 価格・セール・評価・無料サンプル・購入導線（2026-10-31 追加） ---------- */
/* 価格の塊（.price--offer＝作品ページ上部・card＝一覧カード・grid＝新着/関連・rail＝セール帯・spec＝作品情報・bar＝固定バー） */
.price { display: inline-flex; flex-wrap: wrap; align-items: baseline; gap: 2px 8px; line-height: 1.3; }
.price__now { font-weight: 800; color: #c8102e; font-size: 1.1em; }
.price__list { color: var(--color-text-muted); font-size: .85em; text-decoration: line-through; }
.price__off { display: inline-block; padding: 1px 7px; border-radius: 4px; background: #e5484d; color: #fff; font-size: .78em; font-weight: 700; line-height: 1.6; }
.price--offer .price__now { font-size: 36px; line-height: 1.1; letter-spacing: -.02em; }
.price--offer .price__list { font-size: 16px; }
.price--offer .price__off { font-size: 15px; padding: 3px 10px; }
.price--card .price__now { font-size: 19px; }
.price--grid, .price--rail { font-size: 13px; }
.price--bar .price__now { font-size: 18px; }
.review { display: inline-flex; align-items: baseline; gap: 2px; color: #b45309; font-weight: 700; font-size: .95em; }
.review__star { color: #f59e0b; }
.review__count { font-weight: 500; color: var(--color-text-muted); font-size: .85em; }
/* 表紙に重ねる札 */
.badge { display: inline-block; padding: 2px 8px; border-radius: 4px; font-size: 12px; font-weight: 700; line-height: 1.6; color: #fff; box-shadow: 0 1px 3px rgba(0, 0, 0, .3); white-space: nowrap; }
.badge--sale { background: #e5484d; }
.badge--sample { background: #1967d2; }
.work-card__badges { position: absolute; right: .35em; bottom: .35em; display: flex; flex-direction: column; align-items: flex-end; gap: 4px; }
.work-grid--new .work-grid__thumb { position: relative; }
.work-card__meta { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 12px; margin: -2px 0 8px; }
.work-grid__price { margin: 0; }
.work-grid--related .work-grid__price { margin: 4px 0 0; }

/* 作品ページ上部の購入枠 */
.offer {
  margin: 0 0 18px; padding: 16px 18px; border-radius: 12px;
  background: linear-gradient(180deg, #fff7f8, #fff); border: 2px solid #ffd5e1; box-shadow: 0 6px 18px rgba(245, 100, 169, .12);
}
.offer__price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 10px; margin: 0 0 8px; }
.offer__noprice { font-size: 14px; color: var(--color-text-muted); }
.offer__facts { display: flex; flex-wrap: wrap; gap: 6px 8px; margin: 0 0 12px; font-size: 13px; }
.offer__fact { display: inline-flex; align-items: center; padding: 3px 10px; border-radius: 20px; background: #fff; border: 1px solid #e5e7eb; color: var(--color-text-sub); text-decoration: none; }
.offer__fact--end { background: #fff1f2; border-color: #fecdd3; color: #be123c; font-weight: 700; }
.offer__fact--samples { background: #eff6ff; border-color: #bfdbfe; color: #1967d2; font-weight: 700; }
.offer__fact--samples:hover { background: #dbeafe; color: #1453b0; }
.offer__action { margin: 0; }
.offer__pr { margin: 8px 0 0; font-size: 11px; line-height: 1.5; color: var(--color-text-muted); }
.cta-button__arrow { flex: 0 0 auto; margin-left: 8px; transition: transform .2s; }
.cta-button .cta-button__pr { flex: 0 0 auto; white-space: nowrap; } /* 狭い画面で「P／R」に割れない */
.cta-button:hover .cta-button__arrow { transform: translateX(4px); }
.offer__cta { position: relative; overflow: hidden; animation: ctaPulse 2.4s ease-in-out 4; }
.offer__cta::after {
  content: ""; position: absolute; top: 0; left: -60%; width: 40%; height: 100%;
  background: linear-gradient(120deg, transparent, rgba(255, 255, 255, .45), transparent); animation: featuredShine 3s ease-in-out 3; pointer-events: none;
}
.cta-button__price { margin-left: 8px; padding: 2px 8px; border-radius: 6px; background: rgba(255, 255, 255, .2); font-size: .85em; white-space: nowrap; }
.offer__asof { margin: 8px 0 0; font-size: 12px; line-height: 1.5; color: var(--color-text-sub); }
.offer__cta { width: 100%; min-width: 0; font-size: 20px; padding: 18px 24px; }
@keyframes ctaPulse { 0%, 100% { box-shadow: var(--shadow-cta); } 50% { box-shadow: 0 16px 36px rgba(200, 16, 46, .5), inset 0 1px 0 rgba(255, 255, 255, .25); } }
/* 表紙に重ねる「無料サンプル N 枚を見る」 */
.work__eyecatch-samples {
  position: absolute; right: 10px; bottom: 10px; padding: 8px 14px; border-radius: 999px;
  background: rgba(25, 103, 210, .92); color: #fff; font-weight: 700; font-size: 14px; line-height: 1.4; text-decoration: none;
  box-shadow: 0 4px 12px rgba(0, 0, 0, .3);
}
.work__eyecatch-samples:hover { color: #fff; background: #1453b0; }

/* 無料サンプル画像 */
.samples { margin: 32px 0 8px; }
.samples__heading, .spec__heading {
  font-size: 24px; line-height: 1.25; font-weight: 700;
  background: var(--color-dots-bg); padding: 20px 25px; margin: 0 0 12px;
}
.samples__heading { border-left: 9px solid #1967d2; }
.spec__heading { border-left: 9px solid var(--color-mint); }
.samples__lead { margin: 0 0 14px; font-size: 14px; color: var(--color-text-sub); }
.samples__grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.samples__item { margin: 0; min-width: 0; }
.samples__link { display: block; border-radius: 10px; overflow: hidden; background: #f3f4f6; box-shadow: 0 2px 8px rgba(0, 0, 0, .08); transition: transform .2s, box-shadow .2s; }
.samples__link:hover { transform: translateY(-3px); box-shadow: var(--shadow-card-hover); }
.samples__image { display: block; width: 100%; height: auto; aspect-ratio: 3 / 4; object-fit: contain; }
/* 末尾の「続きは本編で」。最後の行の下端に白いぼかしをかぶせてボタンを置く（ボタン以外は押せない＝下の画像は普通に押せる） */
.samples__teaser { margin-top: 16px; padding: 18px 16px 14px; text-align: center; background: #fff7f8; border: 2px dashed #ffd5e1; border-radius: 12px; }
.samples__teaser-text { margin: 0 0 12px; font-size: 19px; font-weight: 800; color: var(--color-text-strong); }
.samples__teaser-action { margin: 0; }
/* 格子の最後のマス＝「本編は全N ページ／この続きを…」 */
.samples__more {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px;
  aspect-ratio: 3 / 4; padding: 12px; border-radius: 10px; text-align: center; text-decoration: none;
  background: linear-gradient(160deg, #fff5f7, #ffe4ec); border: 2px dashed #f564a9; color: #be123c; font-weight: 800;
  transition: transform .2s, box-shadow .2s;
}
.samples__more:hover { color: #be123c; transform: translateY(-3px); box-shadow: var(--shadow-card-hover); }
.samples__more-plus { font-size: 44px; line-height: 1; }
.samples__more-text { font-size: 14px; line-height: 1.4; }
.samples__more-cta { font-size: 14px; text-decoration: underline; text-underline-offset: 4px; }
.samples__more-pr { padding: 0 5px; border: 1px solid currentColor; border-radius: 3px; font-size: 10px; font-weight: 600; }
.cta-button--teaser { font-size: 20px; padding: 18px 40px; }
.samples__pr { margin: 8px 0 0; font-size: 11px; color: var(--color-text-muted); }

/* 作品情報の表 */
.spec { margin: 28px 0 8px; }
.spec__table { width: 100%; border-collapse: collapse; font-size: 14px; background: var(--color-bg-surface); }
.spec__table th, .spec__table td { padding: 10px 12px; border-bottom: 1px solid #eee; text-align: left; vertical-align: top; line-height: 1.6; }
.spec__table th { width: 9em; white-space: nowrap; color: var(--color-text-sub); font-weight: 600; background: #fafafa; }
.spec__note { margin-left: 6px; font-size: 12px; color: #be123c; }
.spec__pr { display: inline-block; margin-left: 6px; padding: 0 4px; border: 1px solid currentColor; border-radius: 3px; font-size: 10px; line-height: 1.5; }

/* 画面下に固定の購入バー（本文の購入ボタンが見えていない間だけ JS が出す） */
body.page--work { padding-bottom: 76px; }
body.has-buy-bar .mobile-bar { display: none; }      /* 購入バーが出ている間は下部ナビを隠す（2 段にしない） */
body.has-buy-bar .to-top { bottom: 84px; }           /* トップへ戻るが購入ボタンに重ならないように上へ */
.buy-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 4;
  background: rgba(255, 255, 255, .97); border-top: 1px solid #ffd5e1; box-shadow: 0 -4px 16px rgba(0, 0, 0, .12);
  transform: translateY(100%); transition: transform .25s ease;
}
.buy-bar.is-visible { transform: none; }
.buy-bar__inner { max-width: var(--layout-wrap); margin: 0 auto; display: flex; align-items: center; gap: 12px; padding: 6px 16px; }
.buy-bar__text { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.price--bar { flex-wrap: nowrap; white-space: nowrap; }
.price__list-label { font-size: .85em; margin-right: 2px; }
.price-note { margin: 0 0 14px; padding: 8px 12px; border-radius: 8px; background: #fffbeb; border: 1px solid #fde68a; font-size: 12px; line-height: 1.6; color: #78350f; }
.work-panel__disclosure { margin: 0 0 8px; padding: 8px 12px; border-radius: 8px; background: #fff1f2; border: 1px solid #fecdd3; font-size: 13px; line-height: 1.6; color: #9f1239; }
.work-panel__official { margin: 0 0 12px; font-size: 13px; }
.work-card__date-label { margin-right: 2px; }
.buy-bar__title { font-size: 12px; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cta-button--bar { flex: 0 0 auto; min-width: 0; padding: 10px 22px; font-size: 16px; }

/* トップの横並び（DTI 版は「サンプル動画が見られる作品」） */
.rail { margin: 0 0 28px; }
.rail__head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 14px; margin: 0 0 10px; }
.rail__heading { margin: 0; font-size: 20px; font-weight: 800; color: #be123c; }
.rail__heading::before { content: "SALE"; display: inline-block; margin-right: 8px; padding: 1px 8px; border-radius: 4px; background: #e5484d; color: #fff; font-size: 12px; letter-spacing: .08em; vertical-align: 2px; }
.rail__lead { margin: 0; font-size: 13px; color: var(--color-text-muted); }
.rail__list { list-style: none; margin: 0; padding: 4px 0 10px; display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; }
.rail__item { flex: 0 0 150px; min-width: 0; scroll-snap-align: start; }
.rail__card { display: block; color: var(--color-text); text-decoration: none; }
.rail__card:hover { color: var(--color-text); }
.rail__thumb { position: relative; display: block; aspect-ratio: var(--card-thumb-ratio); border-radius: 8px; overflow: hidden; background: var(--color-thumb-placeholder); box-shadow: 0 2px 8px rgba(0, 0, 0, .1); }
.rail__image { display: block; width: 100%; height: 100%; object-fit: cover; }
.rail__thumb .badge { position: absolute; left: 6px; top: 6px; }
.rail__title { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; line-clamp: 2; overflow: hidden; margin: 6px 0 2px; font-size: 13px; font-weight: 700; line-height: 1.4; }

/* 拡大表示（lightbox） */
.lightbox { position: fixed; inset: 0; z-index: 100000; display: flex; align-items: center; justify-content: center; background: rgba(0, 0, 0, .92); }
.lightbox__figure { margin: 0; max-width: 100%; max-height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.lightbox__image { display: block; max-width: 100vw; max-height: calc(100vh - 56px); max-height: calc(100dvh - 56px); object-fit: contain; }
.lightbox__caption { margin: 8px 0 0; color: #fff; font-size: 13px; opacity: .85; }
.lightbox__close, .lightbox__nav {
  position: absolute; display: flex; align-items: center; justify-content: center;
  width: 48px; height: 48px; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .15); color: #fff; font-size: 30px; line-height: 1; cursor: pointer;
}
.lightbox__close:hover, .lightbox__nav:hover { background: rgba(255, 255, 255, .3); }
.lightbox__close { top: 12px; right: 12px; }
.lightbox__nav { top: 50%; transform: translateY(-50%); }
.lightbox__nav--prev { left: 10px; }
.lightbox__nav--next { right: 10px; }
.lightbox__nav[disabled] { opacity: .25; cursor: default; }
.lightbox__cta { position: absolute; left: 0; right: 0; bottom: 14px; margin: 0 auto; width: max-content; max-width: calc(100% - 24px); min-width: 0; padding: 12px 22px; font-size: 16px; white-space: nowrap; }
.lightbox__cta:hover { transform: translateY(-3px); }
.lightbox__cta:active { transform: translateY(0); }
.lightbox__image { max-height: calc(100vh - 120px); max-height: calc(100dvh - 120px); }
.lightbox__teaser { display: none; max-width: 440px; padding: 24px; color: #fff; text-align: center; }
.lightbox__teaser-title { margin: 0 0 8px; font-size: 22px; font-weight: 800; }
.lightbox__teaser-text { margin: 0; font-size: 15px; line-height: 1.7; opacity: .85; }
.lightbox.is-teaser .lightbox__figure { display: none; }
.lightbox.is-teaser .lightbox__teaser { display: block; }
.rail__more { margin: 2px 0 0; text-align: right; }
.rail__all { font-weight: 700; }

@media (max-width: 1023px) {
  .buy-bar { padding-bottom: env(safe-area-inset-bottom); }
  body.page--work { padding-bottom: calc(76px + env(safe-area-inset-bottom)); }
}
@media (max-width: 834px) {
  .samples__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
}
@media (max-width: 767px) {
  .work__title { font-size: 21px; line-height: 1.35; margin: 8px auto 10px; padding: 0 12px; }
  .r18-notice__text, .ad-notice__text { font-size: 10px; line-height: 1.4; padding: 3px 10px; }
  .page--work .site-main { padding-top: 14px; }
  .page--work .site-header__logo-img { height: 44px; }
  .page--work .site-header__inner { min-height: 48px; }
  .page--work .work__eyecatch { margin-bottom: 8px; }
  .page--work .work__date { display: none; } /* 配信開始日は作品情報の表にある */
  .work-panel { padding: 12px 14px; }
  .work-panel__circle { margin-bottom: 6px; font-size: 14px; }
  .offer { margin-bottom: 12px; }
  .work-panel__genres { font-size: 12px; margin-bottom: 10px; }
  .price--offer .price__now { font-size: 30px; }
  .offer { padding: 14px; }
  .offer__cta { font-size: 18px; padding: 16px 18px; }
  .samples__heading, .spec__heading { font-size: 20px; padding: 12px 16px; }
  .samples__teaser-text { font-size: 17px; }
  .cta-button--teaser { padding: 16px 20px; }
  .spec__table th { width: 7em; white-space: normal; }
  .rail__item { flex-basis: 132px; }
}
@media (max-width: 480px) {
  .buy-bar__title { display: none; }
  .buy-bar__inner { padding: 8px 12px; gap: 10px; }
  .buy-bar__text { flex: 0 0 auto; }            /* 価格は折り返さず左に置き、ボタンが残りの幅を取る */
  .cta-button--bar { flex: 1 1 auto; padding: 12px 12px; font-size: 15px; }
  .price--bar .price__now { font-size: 17px; }
  .price--bar .price__list { display: none; }   /* 狭い幅では定価を省き、割引率だけ残す */
  .offer__cta, .cta-button--teaser { font-size: 17px; letter-spacing: 0; }
  .lightbox__cta { font-size: 14px; padding: 10px 14px; }
  .work-card__badges { right: .25em; bottom: .25em; }
  .badge { font-size: 10px; padding: 1px 6px; }
  .work__eyecatch-samples { font-size: 12px; padding: 6px 10px; }
  .lightbox__close, .lightbox__nav { width: 40px; height: 40px; font-size: 24px; }
}
@media (prefers-reduced-motion: reduce) {
  .offer__cta, .offer__cta::after { animation: none; }
  .buy-bar { transition: none; }
}

/* ---------- 一覧カードの無料サンプル横スライド（2026-10-31） ----------
   一覧カードの画像枠は全部 4:5（スライドの有無で段がずれないように）。背景は表紙のぼかし、表紙は contain で全体を見せる。
   スライド＝表紙＋サンプル（最大 10 枚）。画面内のカードだけ自動で 3 枚まで進む（hover・触っている間・フォーカス中・年齢確認中・
   省データ設定では止まる）。JS 無しでは表紙だけ（点・枚数・案内は JS が is-ready を付けてから出す）。 */
.work-card__thumb { aspect-ratio: 4 / 5; background: #e5e7eb; }
.thumb-bg { position: absolute; inset: -12px; background-size: cover; background-position: center; filter: blur(14px) saturate(1.1); opacity: .9; transform: scale(1.1); pointer-events: none; }
.work-card__image--contain { position: relative; object-fit: contain; }
.work-card:hover .work-card__image--contain, .work-card:hover .slides__img { transform: none; } /* 通常の拡大ズームは使わない（ずれるため） */
.slides { position: absolute; inset: 0; overflow: hidden; touch-action: pan-y pinch-zoom; cursor: pointer; } /* タップ＝次のサンプル */
.slides__track { display: flex; width: 100%; height: 100%; transition: transform .45s cubic-bezier(.22, .61, .36, 1); }
.slides__img { flex: 0 0 100%; width: 100%; height: 100%; display: block; object-fit: contain; }
.slides__counter, .slides__dots, .slides__hint, .slides__arrow { display: none; } /* JS が is-ready を付けるまで出さない */
.slides.is-ready .slides__counter {
  display: block; position: absolute; right: 8px; bottom: 8px; padding: 2px 8px; border-radius: 999px;
  background: rgba(17, 24, 39, .72); color: #fff; font-size: 12px; font-weight: 700; line-height: 1.6; letter-spacing: .04em;
}
.slides.is-ready .slides__dots { display: flex; position: absolute; left: 0; right: 0; bottom: 10px; justify-content: center; gap: 5px; pointer-events: none; }
.slides__dot { width: 6px; height: 6px; border-radius: 50%; background: rgba(255, 255, 255, .55); box-shadow: 0 0 2px rgba(0, 0, 0, .5); transition: transform .2s, background .2s; }
.slides__dot.is-active { background: #fff; transform: scale(1.35); }
.slides.is-ready .slides__hint {
  display: block; position: absolute; left: 8px; bottom: 34px; padding: 4px 10px; border-radius: 999px;
  background: rgba(25, 103, 210, .92); color: #fff; font-size: 12px; font-weight: 700; line-height: 1.5;
  box-shadow: 0 2px 6px rgba(0, 0, 0, .3); transition: opacity .3s;
}
.slides.is-moved .slides__hint { opacity: 0; }
.slides__hint-mouse { display: none; }
@media (hover: hover) and (pointer: fine) { .slides__hint-touch { display: none; } .slides__hint-mouse { display: inline; } }
.slides.is-ready .slides__arrow {
  display: flex; position: absolute; top: 50%; transform: translateY(-50%); width: 36px; height: 36px; border-radius: 50%;
  align-items: center; justify-content: center; font-size: 26px; line-height: 1; color: #fff;
  background: rgba(17, 24, 39, .55); opacity: 0; transition: opacity .2s, background .2s; cursor: pointer; user-select: none;
}
.slides__arrow--prev { left: 8px; }
.slides__arrow--next { right: 8px; }
.slides:hover .slides__arrow { opacity: 1; }
.slides__arrow:hover { background: rgba(17, 24, 39, .85); }
.work-card__thumb:has(.slides) .work-card__badges { bottom: auto; top: .35em; } /* スライドのカードだけ札を右上へ（右下は枚数と重なるため） */
.work-card__thumb:has(.slides) .work-card__label + .work-card__badges { top: 2.4em; }
@media (max-width: 640px) {
  .card-list { grid-template-columns: 100%; } /* スマホはカード 1 列＝サンプルを大きく */
}
@media (hover: none) {
  .slides.is-ready .slides__arrow { display: none; } /* スマホはスワイプ */
}
@media (prefers-reduced-motion: reduce) {
  .slides__track { transition: none; }
}

/* おすすめ枠の画像＝表紙＋無料サンプルの横スライド（2026-10-31） */
.featured__media { display: block; position: relative; aspect-ratio: 4 / 5; overflow: hidden; border-radius: 10px; background: #e5e7eb; }
.featured__media .work-card__image { width: 100%; height: 100%; }
.featured__image-link:hover { transform: none; }
.featured__ribbon { z-index: 2; }
@media (max-width: 767px) { .featured__media { max-width: 420px; margin: 0 auto; } }

/* ====================================================================================================
   DTI 版（niche-contents-market・2026-11-02）: 16:9 のカバー・サンプル動画・配信サイト／出演者の部品
   ==================================================================================================== */
:root { --card-thumb-ratio: 16 / 9; }
.work-card__thumb { aspect-ratio: 16 / 9; }
.work-card__footer { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.work-card__duration { font-size: 12px; color: var(--color-text-muted); white-space: nowrap; }
.work-card__duration::before { content: "▶ "; color: #e5484d; }
.chip--actor { font-weight: 600; color: var(--color-text); }
.chip--more { color: var(--color-text-muted); }
.work-card__match-list { margin: 0 0 10px; padding-left: 1.2em; font-size: 12.8px; line-height: 1.55; color: var(--color-text-sub); }
.badge--movie { background: #e5484d; }
.list-subheading { margin: 8px 0 12px; font-size: 20px; font-weight: 800; color: var(--color-text-strong); }
.list-lead { margin: -8px 0 16px; font-size: 14px; color: var(--color-text-sub); }
.card-list__empty { padding: 24px; text-align: center; color: var(--color-text-muted); }

/* トップ: サンプル動画の横並び・配信サイトの札 */
.rail__heading { display: flex; align-items: center; gap: 6px; color: #be123c; }
.rail__heading::before { content: none; display: none; }
.rail__icon { width: 1.1em; height: 1.1em; }
.rail__item { flex-basis: 210px; }
.rail__thumb { aspect-ratio: 16 / 9; }
.rail__play {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 44px; height: 44px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center; padding-left: 3px; background: rgba(229, 72, 77, .92); color: #fff;
  font-size: 18px; box-shadow: 0 4px 12px rgba(0, 0, 0, .35); transition: transform .2s;
}
.rail__card:hover .rail__play { transform: translate(-50%, -50%) scale(1.12); }
.rail__site { display: block; font-size: 12px; color: var(--color-text-muted); }
.site-chips { margin: 0 0 24px; }
.site-chips__heading { margin: 0 0 8px; font-size: 15px; font-weight: 800; }
.site-chips__list { display: flex; flex-wrap: wrap; gap: 8px; }
.site-chips__item {
  display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 999px; background: #fff;
  border: 1px solid #e5e7eb; color: var(--color-text); font-size: 14px; font-weight: 700; text-decoration: none;
  box-shadow: 0 1px 3px rgba(0, 0, 0, .06); transition: transform .15s, box-shadow .15s;
}
.site-chips__item:hover { color: var(--color-text); transform: translateY(-2px); box-shadow: 0 4px 10px rgba(0, 0, 0, .12); }
.site-chips__count { padding: 0 7px; border-radius: 999px; background: var(--color-pill-bg); font-size: 12px; line-height: 1.7; }
.site-chips__item--all { background: transparent; border-style: dashed; color: var(--color-text-sub); }
.genre-index__item--off .genre-index__link { color: var(--color-text-muted); cursor: default; }
.genre-index__item--off .genre-index__link:hover { background: none; color: var(--color-text-muted); }
.genre-index__state { font-size: 12px; padding: 0 8px; border-radius: 999px; background: #f3f4f6; white-space: nowrap; }
.drawer__all--sub { margin-top: 8px; background: transparent; border: 1px solid currentColor; color: var(--color-mint); }

/* 作品ページ: 16:9 のカバー（縦横比を保ったまま全体を見せる・背景はぼかし） */
.work__eyecatch-figure { width: 960px; aspect-ratio: 16 / 9; overflow: hidden; background: #111827; border-radius: 10px; }
.work__eyecatch-image { position: relative; width: 100%; height: 100%; object-fit: contain; background: transparent; }
.work__eyecatch-label { z-index: 1; }
.work__eyecatch-samples { z-index: 1; }

/* 作品ページ: サンプル動画（タップで再生・自動再生しない） */
.movie { max-width: 960px; margin: 0 auto 16px; }
.movie__heading { margin: 0 0 8px; font-size: 16px; font-weight: 800; color: #be123c; }
.movie__heading::before { content: "▶"; margin-right: 6px; }
.movie__frame { position: relative; aspect-ratio: 16 / 9; background: #000; border-radius: 10px; overflow: hidden; box-shadow: 0 6px 20px rgba(0, 0, 0, .25); }
.movie__video { display: block; width: 100%; height: 100%; object-fit: contain; background: #000; }
.movie__lead { margin: 8px 0 0; font-size: 12px; color: var(--color-text-muted); }
.movie__teaser { margin-top: 12px; padding: 14px 16px; text-align: center; background: #fff7f8; border: 2px dashed #ffd5e1; border-radius: 12px; }
.movie__teaser-text { margin: 0 0 10px; font-size: 17px; font-weight: 800; color: var(--color-text-strong); }
.movie__teaser-action { margin: 0; }
.cta-button--movie { font-size: 20px; padding: 16px 40px; }

/* 作品ページ: 配信サイト・出演・配信日・再生時間 */
.work-meta { margin: 0 0 14px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px 16px; }
.work-meta__row { display: flex; gap: 8px; min-width: 0; font-size: 15px; line-height: 1.6; }
.work-meta__key { flex: 0 0 auto; margin: 0; padding: 0 8px; border-radius: 4px; background: #f3f4f6; color: var(--color-text-sub); font-size: 12px; font-weight: 700; line-height: 25px; height: 25px; }
.work-meta__value { margin: 0; min-width: 0; overflow-wrap: anywhere; font-weight: 700; }
.work-notice { margin: 0; padding: 14px 16px; border-radius: 10px; background: #fffbeb; border: 1px solid #fde68a; color: #78350f; font-size: 15px; font-weight: 700; line-height: 1.6; }
.offer__fact--movie { background: #fff1f2; border-color: #fecdd3; color: #be123c; font-weight: 700; }
.offer__fact--movie:hover { background: #ffe4e6; color: #9f1239; }

/* 作品ページ: 無料サンプル画像（作品元は 1200x800・800x1200・683x1024 が混ざる＝3:2 の枠に contain で全体を見せる） */
.samples__image { aspect-ratio: 3 / 2; object-fit: contain; background: #111827; }
.samples__more { aspect-ratio: 3 / 2; }

/* 作品ページ: 紹介文 */
.work-desc { margin: 28px 0 8px; padding: 16px 18px; background: var(--color-bg-surface); border-radius: var(--radius-panel); box-shadow: var(--shadow-panel); }
.work-desc__heading { margin: 0 0 8px; font-size: 17px; font-weight: 800; }
.work-desc__text, .work-desc__excerpt { margin: 0 0 8px; font-size: 15px; line-height: 1.9; }

/* 作品ページ: 関連作品（16:9 の格子） */
.work-grid { margin: 32px 0 8px; }
.work-grid .work-grid__list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.work-grid .work-grid__card { background: var(--color-bg-surface); border-radius: var(--radius-panel); box-shadow: var(--shadow-related); overflow: hidden; transition: transform .2s, box-shadow .2s; }
.work-grid .work-grid__card:hover { transform: translateY(-4px); box-shadow: var(--shadow-related-hover); }
.work-grid .work-grid__thumb { position: relative; aspect-ratio: 16 / 9; }
.work-grid .work-grid__image { position: absolute; inset: 0; }
.work-grid .work-grid__title { border: 0; padding: 8px 10px 0; margin: 0; font-size: 14px; line-height: 1.45; height: 2.9em; }
.work-grid__site { margin: 4px 10px 10px; font-size: 12px; color: var(--color-text-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.work-grid__more { margin: 10px 0 0; text-align: right; font-size: 14px; font-weight: 700; }
@media (max-width: 767px) {
  .work-meta { grid-template-columns: 100%; }
  .work-grid .work-grid__list { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .samples__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cta-button--movie { width: 100%; padding: 14px 16px; font-size: 18px; }
  .rail__item { flex-basis: 170px; }
}
@media (max-width: 640px) {
  /* スマホは 1 列なので、説明文を 2 行だけ見せる（旧版は隠していた） */
  .work-card__excerpt { display: -webkit-box; -webkit-line-clamp: 2; line-clamp: 2; font-size: 13px; }
}
@media (max-width: 640px) {
  /* 配信サイトの札は横に流す（縦に積むと新着が画面の下へ押し出されるため） */
  .site-chips__list { flex-wrap: nowrap; overflow-x: auto; padding-bottom: 6px; -webkit-overflow-scrolling: touch; }
  .site-chips__item { flex: 0 0 auto; }
}

/* 作品ページ（PC 幅）: 最初の画面に動画（または表紙）と、配信サイト・出演者・配信日・再生時間・本編ボタンを並べる 2 段組。
   動画の幅は画面の高さに合わせて抑え、操作バーまで最初の画面に入れる（1366x768・1440x900 で確認・2026-11-02） */
@media (min-width: 1024px) {
  .work { display: grid; grid-template-columns: minmax(0, 1fr) 340px; column-gap: 24px; align-items: start; }
  .work > * { grid-column: 1 / -1; min-width: 0; }
  .work > .work__title { grid-row: 1; margin: 20px auto 14px; font-size: 24px; }
  .work > .movie, .work > .work__eyecatch { grid-column: 1; grid-row: 2; margin: 0 0 16px; }
  .work > .movie { width: 100%; max-width: min(100%, calc((100vh - 345px) * 16 / 9)); justify-self: center; }
  .work > .work__eyecatch .work__eyecatch-figure { width: 100%; max-width: min(100%, calc((100vh - 330px) * 16 / 9)); }
  .work > .work-panel { grid-column: 2; grid-row: 2; padding: 18px; }
  .work-panel .work-meta { grid-template-columns: 100%; gap: 6px; }
  .work-panel .offer__cta { width: 100%; }
}

/* サンプル動画＝表紙に再生マークを重ねたリンク（押すと作品元の作品ページが別窓で開き、そこで再生）2026-11-02 */
.movie__link { display: block; text-decoration: none; color: #fff; cursor: pointer; }
.movie__poster { display: block; width: 100%; height: 100%; object-fit: contain; background: #000; transition: transform .25s ease, filter .25s ease; }
.movie__play { position: absolute; left: 50%; top: 50%; width: 84px; height: 84px; margin: -42px 0 0 -42px; border-radius: 50%;
  background: rgba(190, 18, 60, .88); box-shadow: 0 6px 24px rgba(0, 0, 0, .45); transition: transform .2s ease; }
.movie__play::before { content: ""; position: absolute; left: 33px; top: 24px; border-style: solid; border-width: 18px 0 18px 30px;
  border-color: transparent transparent transparent #fff; }
.movie__badge { position: absolute; left: 50%; bottom: 14px; transform: translateX(-50%); display: inline-flex; align-items: center; gap: 6px;
  max-width: calc(100% - 24px); padding: 8px 14px; border-radius: 999px; background: rgba(0, 0, 0, .72); font-size: 14px; font-weight: 800;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.movie__link:hover .movie__poster, .movie__link:focus-visible .movie__poster { filter: brightness(1.08); transform: scale(1.02); }
.movie__link:hover .movie__play, .movie__link:focus-visible .movie__play { transform: scale(1.08); }
.movie__link:focus-visible { outline: 3px solid #be123c; outline-offset: 3px; }
@media (max-width: 480px) { .movie__play { width: 68px; height: 68px; margin: -34px 0 0 -34px; } .movie__play::before { left: 27px; top: 19px; border-width: 15px 0 15px 25px; } .movie__badge { font-size: 12px; bottom: 10px; } }
@media (prefers-reduced-motion: reduce) { .movie__poster, .movie__play { transition: none; } }
