/* ===========================================================
   同人サークルサイト  共通スタイル
   色を変えたいときは :root の変数だけ触れば全体に反映されます
   =========================================================== */

:root {
  --accent: #e05a7a;
  --accent-sub: #7a5ae0;

  --bg: #12111a;
  --bg-soft: #1a1926;
  --bg-card: #201f2e;
  --line: #322f45;
  --fg: #eceaf5;
  --fg-dim: #a9a4c0;
  --fg-mute: #7c7796;

  /* 表紙の縦横比。FANZA同人の表紙は 560×420 なので 4:3 が既定 */
  --cover-ratio: 4 / 3;

  --radius: 14px;
  --radius-sm: 8px;
  --shadow: 0 8px 30px rgba(0, 0, 0, .45);
  --maxw: 1120px;
  --font: "Hiragino Kaku Gothic ProN", "Hiragino Sans", "Noto Sans JP",
          "Yu Gothic Medium", "Yu Gothic", Meiryo, system-ui, sans-serif;
}

:root[data-theme="light"] {
  --bg: #fbf9fb;
  --bg-soft: #f2eef4;
  --bg-card: #ffffff;
  --line: #e3dde8;
  --fg: #22202c;
  --fg-dim: #59536b;
  --fg-mute: #6f6985;   /* 背景に模様を敷くので、うすい文字は少し濃いめにしてある */
  --shadow: 0 8px 30px rgba(60, 40, 80, .12);
}

/* ===========================================================
   背景のもよう（管理画面「サイト設定」→ 背景 で切り替え）
   画面いっぱいに固定されるので、スクロールしても動きません

   ★文字の読みやすさが最優先★
   水玉は「大きく・まばらに・うすく」。濃くしたり細かくしたりすると
   文字の上に模様が重なって、とたんに読みにくくなります。
   濃さを変えるときは --bg-dot の％だけを触ってください（15%くらいが上限）
   =========================================================== */

:root {
  --bg-grad-1: transparent;
  --bg-grad-2: transparent;
  --bg-dot: transparent;
  --bg-dot-size: 46px;    /* 水玉の間隔。大きいほどまばら */
  --bg-dot-r: 4.5px;      /* 水玉の半径。大きめ＋うすめが読みやすい */
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(var(--bg-dot) var(--bg-dot-r), transparent calc(var(--bg-dot-r) + .8px))
      0 0 / var(--bg-dot-size) var(--bg-dot-size),
    radial-gradient(var(--bg-dot) var(--bg-dot-r), transparent calc(var(--bg-dot-r) + .8px))
      calc(var(--bg-dot-size) / 2) calc(var(--bg-dot-size) / 2)
      / var(--bg-dot-size) var(--bg-dot-size),
    linear-gradient(160deg, var(--bg-grad-1), var(--bg-grad-2));
}

/* サイトのアクセント色から自動で作る（色を変えると背景もついてくる） */
:root[data-bg="dots-accent"] {
  --bg-grad-1: color-mix(in srgb, var(--accent) 8%, #fff);
  --bg-grad-2: color-mix(in srgb, var(--accent-sub) 20%, #fff);
  --bg-dot: color-mix(in srgb, var(--accent) 13%, transparent);
}

:root[data-bg="dots-pink"] {
  --bg-grad-1: #fff6f9;
  --bg-grad-2: #ffeaf2;
  --bg-dot: rgba(255, 150, 187, .20);
}

:root[data-bg="dots-mint"] {
  --bg-grad-1: #f3fbf8;
  --bg-grad-2: #eaf6ff;
  --bg-dot: rgba(104, 202, 184, .20);
}

:root[data-bg="dots-lavender"] {
  --bg-grad-1: #f8f4fe;
  --bg-grad-2: #fff0f9;
  --bg-dot: rgba(174, 148, 236, .19);
}

:root[data-bg="dots-cream"] {
  --bg-grad-1: #fffaf2;
  --bg-grad-2: #fff3e6;
  --bg-dot: rgba(238, 182, 124, .21);
}

/* 暗い配色のときは、同じ模様を暗く落として使う */
:root[data-theme="dark"][data-bg]:not([data-bg="off"]) {
  --bg-grad-1: color-mix(in srgb, var(--accent) 7%, var(--bg));
  --bg-grad-2: color-mix(in srgb, var(--accent-sub) 10%, var(--bg));
  --bg-dot: color-mix(in srgb, var(--accent) 12%, transparent);
}

/* 模様を出さない設定 */
:root[data-bg="off"] body::before { display: none; }

/* 文章がまとまっている場所は、うっすら白を敷いて文字を浮かせる。
   水玉は透けて見えるので、かわいさは残したまま読みやすくなる */
:root:not([data-bg="off"]) .news-list li,
:root:not([data-bg="off"]) .about-grid,
:root:not([data-bg="off"]) .prose,
:root:not([data-bg="off"]) /* ---------- 各種サイトへのリンクボタン ---------- */

.link-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.link-btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 10px 20px 10px 12px;
  border-radius: 999px;
  background: var(--brand, var(--accent));
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .01em;
  line-height: 1;
  box-shadow: 0 4px 14px color-mix(in srgb, var(--brand, var(--accent)) 32%, transparent);
  transition: transform .15s ease, box-shadow .15s ease, filter .15s ease;
}
.link-btn:hover {
  text-decoration: none;
  transform: translateY(-2px);
  filter: brightness(1.07);
  box-shadow: 0 9px 22px color-mix(in srgb, var(--brand, var(--accent)) 42%, transparent);
}
.link-btn:active { transform: translateY(0); }

/* マークを入れる丸。ロゴ画像を指定した場合はその画像が入る */
.link-ico {
  width: 26px; height: 26px;
  flex: none;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, .22);
  overflow: hidden;
}
.link-ico svg { width: 15px; height: 15px; fill: #fff; display: block; }
.link-ico img { width: 100%; height: 100%; object-fit: cover; }
.link-ico b { font-size: 12.5px; font-weight: 800; line-height: 1; letter-spacing: 0; }

/* マークが無いサービスは、名前だけの丸みボタンになるので左右の余白をそろえる */
.link-btn:not(:has(.link-ico)) { padding: 11px 22px; }

@media (max-width: 520px) {
  .link-buttons { gap: 10px; }
  .link-btn { font-size: 13px; padding: 9px 16px 9px 10px; }
  .link-btn:not(:has(.link-ico)) { padding: 10px 18px; }
  .link-ico { width: 24px; height: 24px; }
}

.site-footer {
  background: color-mix(in srgb, var(--bg-card) 62%, transparent);
  backdrop-filter: blur(2px);
}
:root:not([data-bg="off"]) .news-list li {
  padding-left: 14px;
  padding-right: 14px;
  border-radius: var(--radius-sm);
}
:root:not([data-bg="off"]) .about-grid,
:root:not([data-bg="off"]) .prose {
  padding-left: 20px;
  padding-right: 20px;
  border-radius: var(--radius);
}

* { box-sizing: border-box; }

html, body { margin: 0; padding: 0; }

body {
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font);
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  overflow-wrap: anywhere;
}

a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }

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

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

/* ---------- ヘッダー ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}

.site-header .wrap {
  display: flex;
  align-items: center;
  gap: 16px;
  min-height: 64px;
}

.brand { display: flex; align-items: center; gap: 10px; color: var(--fg); font-weight: 700; }
.brand:hover { text-decoration: none; opacity: .85; }
.brand img { height: 34px; width: auto; }
.brand .brand-text { font-size: 17px; letter-spacing: .02em; }

.site-nav { margin-left: auto; display: flex; gap: 4px; }
.site-nav a {
  color: var(--fg-dim);
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
}
.site-nav a:hover { color: var(--fg); background: var(--bg-soft); text-decoration: none; }

.nav-toggle {
  display: none;
  margin-left: auto;
  background: none;
  border: 1px solid var(--line);
  color: var(--fg);
  border-radius: var(--radius-sm);
  width: 40px; height: 38px;
  font-size: 17px;
  cursor: pointer;
}

@media (max-width: 700px) {
  .nav-toggle { display: block; }
  .site-nav {
    display: none;
    position: absolute;
    top: 64px; left: 0; right: 0;
    flex-direction: column;
    gap: 0;
    background: var(--bg);
    border-bottom: 1px solid var(--line);
    padding: 8px 12px 14px;
  }
  .site-nav.open { display: flex; }
  .site-nav a { border-radius: var(--radius-sm); padding: 12px 14px; }
}

/* ---------- ヒーロー ---------- */

.hero {
  position: relative;
  padding: 68px 0 60px;
  border-bottom: 1px solid var(--line);
  overflow: hidden;
  background:
    radial-gradient(1000px 420px at 12% -10%, color-mix(in srgb, var(--accent) 26%, transparent), transparent 70%),
    radial-gradient(800px 380px at 88% 0%, color-mix(in srgb, var(--accent-sub) 24%, transparent), transparent 70%),
    var(--bg-soft);
}
.hero.has-image::after {
  content: "";
  position: absolute; inset: 0;
  background-image: var(--hero-image);
  background-size: cover;
  background-position: center;
  opacity: .22;
  z-index: 0;
}
.hero .wrap { position: relative; z-index: 1; }
.hero h1 { font-size: clamp(26px, 4.6vw, 42px); margin: 0 0 12px; letter-spacing: .01em; }
.hero p { color: var(--fg-dim); margin: 0 0 24px; max-width: 620px; font-size: 15px; }

/* ---------- ボタン ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 22px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 700;
  font-size: 14px;
  cursor: pointer;
  font-family: inherit;
  transition: transform .12s ease, opacity .12s ease;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { opacity: .9; color: #fff; }
.btn-ghost { background: transparent; border-color: var(--line); color: var(--fg); }
.btn-ghost:hover { background: var(--bg-soft); color: var(--fg); }
.btn-block { display: flex; width: 100%; }

/* ---------- セクション ---------- */

.section { padding: 56px 0; }
.section + .section { border-top: 1px solid var(--line); }

.section-head {
  display: flex;
  align-items: baseline;
  gap: 14px;
  margin-bottom: 26px;
  flex-wrap: wrap;
}
.section-head h2 { font-size: 21px; margin: 0; letter-spacing: .02em; }
.section-head h2::before {
  content: "";
  display: inline-block;
  width: 4px; height: 18px;
  background: var(--accent);
  border-radius: 2px;
  margin-right: 10px;
  vertical-align: -2px;
}
.section-head .more { margin-left: auto; font-size: 13px; color: var(--fg-dim); font-weight: 600; }
.section-head .more:hover { color: var(--accent); }

/* ---------- 作品グリッド ---------- */

.work-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
  gap: 22px;
}
.work-grid.featured { grid-template-columns: repeat(auto-fill, minmax(270px, 1fr)); }

.work-card {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  color: inherit;
  transition: transform .15s ease, border-color .15s ease;
}
.work-card:hover {
  text-decoration: none;
  transform: translateY(-3px);
  border-color: color-mix(in srgb, var(--accent) 55%, var(--line));
}

.work-thumb {
  position: relative;
  aspect-ratio: var(--cover-ratio);
  background: linear-gradient(135deg, var(--bg-soft), var(--line));
  overflow: hidden;
}
.work-thumb img { width: 100%; height: 100%; object-fit: cover; }
.work-thumb .ph {
  position: absolute; inset: 0;
  display: grid; place-items: center;
  color: var(--fg-mute); font-size: 12px; letter-spacing: .1em;
}

.badge-r18 {
  position: absolute; top: 8px; left: 8px;
  background: var(--accent); color: #fff;
  font-size: 10px; font-weight: 800; letter-spacing: .06em;
  padding: 3px 7px; border-radius: 5px;
  z-index: 2;
}
.badge-new {
  position: absolute; top: 8px; right: 8px;
  background: var(--accent-sub); color: #fff;
  font-size: 10px; font-weight: 800; letter-spacing: .06em;
  padding: 3px 7px; border-radius: 5px;
  z-index: 2;
}

.work-body { padding: 13px 14px 15px; display: flex; flex-direction: column; gap: 7px; flex: 1; }
.work-body h3 { margin: 0; font-size: 15px; line-height: 1.5; }
.work-body .meta { font-size: 12px; color: var(--fg-mute); }
.work-body .summary {
  font-size: 12.5px; color: var(--fg-dim); margin: 0;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}

.tag-row { display: flex; flex-wrap: wrap; gap: 5px; margin-top: auto; padding-top: 4px; }
.tag {
  font-size: 11px;
  color: var(--fg-dim);
  background: var(--bg-soft);
  border: 1px solid var(--line);
  padding: 2px 8px;
  border-radius: 999px;
}

/* ---------- フィルタ ---------- */

.filters { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; margin-bottom: 22px; }
.filter-chip {
  font-size: 12.5px; font-weight: 600;
  color: var(--fg-dim);
  background: var(--bg-soft);
  border: 1px solid var(--line);
  padding: 6px 14px;
  border-radius: 999px;
  cursor: pointer;
  font-family: inherit;
}
.filter-chip:hover { color: var(--fg); }
.filter-chip.active { background: var(--accent); border-color: var(--accent); color: #fff; }

.search-box {
  margin-left: auto;
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 7px 16px;
  color: var(--fg);
  font-size: 13px;
  font-family: inherit;
  min-width: 190px;
}
.search-box:focus { outline: 2px solid color-mix(in srgb, var(--accent) 60%, transparent); outline-offset: 1px; }

.empty { color: var(--fg-mute); font-size: 14px; padding: 30px 0; }

/* ---------- お知らせ ---------- */

.news-list { list-style: none; margin: 0; padding: 0; }
.news-list li { border-bottom: 1px solid var(--line); padding: 16px 0; }
.news-list li:first-child { border-top: 1px solid var(--line); }
.news-date { font-size: 12px; color: var(--fg-mute); font-variant-numeric: tabular-nums; }
.news-title { font-size: 15px; font-weight: 700; margin: 3px 0 5px; }
.news-body { font-size: 13.5px; color: var(--fg-dim); margin: 0; white-space: pre-wrap; }

/* ---------- 作品詳細 ---------- */

.work-detail { display: grid; grid-template-columns: 360px 1fr; gap: 40px; padding: 46px 0 20px; }
@media (max-width: 780px) { .work-detail { grid-template-columns: 1fr; gap: 26px; } }

.detail-cover {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--bg-soft);
  aspect-ratio: var(--cover-ratio);
  position: relative;
}
.detail-cover img { width: 100%; height: 100%; object-fit: cover; }

.detail-main h1 { font-size: clamp(21px, 3.4vw, 30px); margin: 0 0 6px; }
.detail-main .sub { color: var(--fg-dim); margin: 0 0 18px; font-size: 15px; }

.spec { list-style: none; padding: 0; margin: 18px 0 22px; font-size: 13.5px; }
.spec li { display: flex; gap: 14px; padding: 7px 0; border-bottom: 1px dashed var(--line); }
.spec li span:first-child { color: var(--fg-mute); min-width: 76px; }

.prose { font-size: 14.5px; color: var(--fg-dim); white-space: pre-wrap; }
.prose h2 { color: var(--fg); font-size: 18px; margin: 28px 0 10px; }
.prose p { margin: 0 0 14px; }

.buy-row { display: flex; flex-wrap: wrap; gap: 10px; margin: 24px 0 10px; }
.affiliate-note { font-size: 11.5px; color: var(--fg-mute); margin: 6px 0 0; }

.sample-strip { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 14px; }
.sample-strip button {
  border: 1px solid var(--line);
  background: var(--bg-soft);
  border-radius: var(--radius-sm);
  padding: 0; cursor: pointer; overflow: hidden;
  width: 92px; aspect-ratio: 3/4;
}
.sample-strip img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- 試し読みビューア ---------- */

.viewer {
  position: fixed; inset: 0; z-index: 200;
  background: #08070e;
  display: none;
  flex-direction: column;
}
.viewer.open { display: flex; }

/* バーは絶対に折り返さない。折り返すとページ番号の桁が増えた瞬間に
   バーの高さが変わり、下の漫画がガクッとずれてしまう */
.viewer-bar {
  display: flex; align-items: center; gap: 8px;
  padding: 9px 12px;
  background: #14121c;
  border-bottom: 1px solid rgba(255,255,255,.1);
  color: #eee;
  font-size: 13px;
  flex: none;
  flex-wrap: nowrap;
  height: 46px;                 /* 高さを固定して、中身が変わってもずれないようにする */
  overflow: hidden;
}
/* 幅が足りないときは、このタイトルだけが縮んで「…」になる */
.viewer-bar .title {
  font-weight: 700;
  flex: 0 1 auto;
  min-width: 0;
  max-width: 34vw;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
@media (max-width: 520px) {
  .viewer-bar { gap: 6px; padding: 8px 10px; font-size: 12px; height: 42px; }
  .viewer-bar button { padding: 5px 10px; font-size: 11.5px; }
  .viewer-bar .title { max-width: 24vw; }
  .viewer-bar .counter { min-width: 4.6em; }
}
.viewer-bar .spacer { margin-left: auto; }
.viewer-bar button {
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.16);
  color: #eee;
  border-radius: 999px;
  padding: 6px 14px;
  font-size: 12.5px;
  font-weight: 600;
  cursor: pointer;
  font-family: inherit;
  flex: 0 0 auto;               /* ボタンは縮ませない・折り返させない */
  white-space: nowrap;
}
.viewer-bar button.active { background: var(--accent); border-color: var(--accent); color: #fff; }
/* 「9 / 12」→「10 / 12」で幅が変わらないよう、あらかじめ場所を取っておく */
.viewer-bar .counter {
  font-variant-numeric: tabular-nums;
  color: #bbb;
  flex: 0 0 auto;
  white-space: nowrap;
  min-width: 5em;
  text-align: center;
}

.viewer-stage { flex: 1; overflow: auto; display: flex; }

/* 縦読み */
.viewer-stage.vertical { flex-direction: column; align-items: center; padding: 18px 12px 60px; gap: 14px; }
.viewer-stage.vertical img { max-width: min(760px, 100%); height: auto; border-radius: 6px; }

/* 横読み（ページを1列に並べて、指と一緒に動かす。既定は右綴じ＝日本式） */
.viewer-stage.horizontal {
  display: block;
  position: relative;
  padding: 0;
  overflow: hidden;
  cursor: grab;
  touch-action: pan-y pinch-zoom;   /* 横方向は自前で処理する */
  user-select: none;
}
.viewer-stage.horizontal:active { cursor: grabbing; }

/* 全ページを載せた1本の帯。これを左右に動かす */
.viewer-track {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  will-change: transform;
}

/* 1ページ分。左右のすき間はゼロなので、見開きが途中でつながって見える。
   上下に padding を入れると画像が縮んで左右にすき間ができるので入れないこと */
.viewer-slide {
  position: absolute;
  top: 0; bottom: 0;
  padding: 0;
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: center;
}
.viewer-slide img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  -webkit-user-drag: none;
  user-select: none;
  pointer-events: none;             /* 画像のドラッグに邪魔をさせない */
}

/* 最後の1面：購入導線 */
.viewer-slide.is-end { padding: 12px 16px; }
.viewer-slide.is-end .viewer-end {
  max-width: 100%;
  padding: 0;
  text-align: center;
}

.viewer-nav {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 46px; height: 92px;
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.14);
  color: #fff; font-size: 20px; cursor: pointer;
  border-radius: 10px;
  z-index: 3;
}
.viewer-nav.side-left { left: 12px; }
.viewer-nav.side-right { right: 12px; }
.viewer-nav[hidden] { display: none; }
@media (max-width: 700px) {
  /* スマホはスワイプとタップで送るので、矢印は控えめに */
  .viewer-nav { width: 34px; height: 64px; font-size: 16px; opacity: .5; }
  .viewer-nav.side-left { left: 4px; }
  .viewer-nav.side-right { right: 4px; }
}

/* 操作方法のヒント（開いた直後に数秒だけ出る） */
.viewer-hint {
  position: absolute;
  left: 50%; bottom: 26px;
  transform: translateX(-50%) translateY(6px);
  background: rgba(20,18,28,.92);
  border: 1px solid rgba(255,255,255,.16);
  color: #eee;
  font-size: 12.5px;
  font-weight: 700;
  padding: 8px 16px;
  border-radius: 999px;
  opacity: 0;
  pointer-events: none;
  transition: opacity .3s ease, transform .3s ease;
  z-index: 4;
}
.viewer-hint.show { opacity: 1; transform: translateX(-50%) translateY(0); }

.viewer-end {
  padding: 26px 16px 40px;
  text-align: center;
  color: #ddd;
}
.viewer-end p { font-size: 14px; margin: 0 0 14px; }

/* ---------- 年齢認証 ---------- */

.age-gate {
  position: fixed; inset: 0; z-index: 999;
  background: #0c0b12;
  display: grid; place-items: center;
  padding: 24px;
  text-align: center;
}
.age-gate .box { max-width: 460px; }
.age-gate h1 { font-size: 22px; margin: 0 0 16px; color: #fff; letter-spacing: .08em; }
.age-gate p { color: #b6b1c8; font-size: 14px; white-space: pre-wrap; margin: 0 0 26px; }
.age-gate .row { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
body.gated { overflow: hidden; }

/* ---------- フッター ---------- */

.site-footer {
  border-top: 1px solid var(--line);
  padding: 34px 0 46px;
  margin-top: 20px;
  color: var(--fg-mute);
  font-size: 12.5px;
}
.site-footer .wrap { display: flex; flex-wrap: wrap; gap: 14px 22px; align-items: center; }
.site-footer nav { display: flex; gap: 16px; flex-wrap: wrap; }
.site-footer a { color: var(--fg-mute); }
.site-footer a:hover { color: var(--accent); }
.site-footer .copy { margin-left: auto; }

/* ---------- サークル情報 ---------- */

.about-grid { display: grid; grid-template-columns: 1fr 300px; gap: 40px; padding: 44px 0; }
@media (max-width: 780px) { .about-grid { grid-template-columns: 1fr; } }

.link-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.link-list a {
  display: flex; align-items: center; gap: 10px;
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 11px 14px;
  color: var(--fg);
  font-size: 14px; font-weight: 600;
}
.link-list a:hover { text-decoration: none; border-color: var(--accent); }
.link-list a::after { content: "↗"; margin-left: auto; color: var(--fg-mute); font-size: 12px; }

.page-head { padding: 40px 0 8px; }
.page-head h1 { font-size: clamp(22px, 3.6vw, 30px); margin: 0; }

/* ---------- FANZA セール価格表示 ---------- */

.price-slot { white-space: nowrap; }
.price-was {
  text-decoration: line-through;
  color: var(--fg-mute);
  margin-right: 6px;
  font-size: .92em;
}
.price-now { color: var(--accent); font-weight: 800; }
.price-off {
  display: inline-block;
  margin-left: 6px;
  background: var(--accent);
  color: #fff;
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: .04em;
  padding: 1px 6px;
  border-radius: 4px;
  vertical-align: 1px;
}

.badge-sale {
  position: absolute; left: 8px; bottom: 8px;
  background: #d92c4e; color: #fff;
  font-size: 11px; font-weight: 800; letter-spacing: .04em;
  padding: 3px 8px; border-radius: 5px;
  z-index: 2;
  box-shadow: 0 2px 8px rgba(0,0,0,.35);
}

.sale-note {
  margin: 18px 0 0;
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  background: color-mix(in srgb, var(--accent) 14%, transparent);
  border: 1px solid color-mix(in srgb, var(--accent) 45%, transparent);
  color: var(--fg);
  font-size: 13px;
  font-weight: 700;
}

/* 詳細ページのスペック欄では価格を少し強調 */
.spec .price-slot .price-now { font-size: 1.05em; }
