/* ==========================================================
   作品ページ（style.css の上に重ねる）
   色は style.css の変数をそのまま使う＝body.is-r18 で夜になる。
   ========================================================== */

/* ---------- 上のメニュー：購入ボタン ---------- */
.btn-buy {
  display: inline-flex; align-items: center; padding: 8px 20px; border-radius: 999px;
  background: linear-gradient(135deg, var(--gold-hi), var(--gold)); color: #2A1B12;
  font-weight: 700; font-size: 13px; letter-spacing: .14em; text-decoration: none;
  box-shadow: 0 6px 18px -8px rgba(150, 110, 50, .7);
  transition: transform .25s, filter .25s;
}
.btn-buy:hover { transform: translateY(-1px); filter: brightness(1.06); }
.is-work .gnav { gap: clamp(12px, 1.8vw, 26px); }
.is-work .gnav ul { gap: clamp(12px, 1.8vw, 28px); }

/* ---------- 最初の画面 ---------- */
.hero--work .slide__title { white-space: normal; }
.crumb {
  position: absolute; left: clamp(20px, 7vw, 120px); top: calc(var(--header-h) + 14px); z-index: 3;
  display: flex; gap: 8px; font-size: 11px; letter-spacing: .14em; color: var(--ink-soft);
}
.crumb a { text-decoration: none; }
.crumb a:hover { text-decoration: underline; }
.crumb span { opacity: .5; }
.btn-line--pv span { font-size: 10px; }
.hero--work .slide__catch { white-space: pre-line; }
.hero--work .slide__kv { width: min(42vw, 620px); }

/* ---------- この作品のニュース ---------- */
.sec--wnews { padding-top: 34px; padding-bottom: 34px; background: var(--bg); }
.wnews { max-width: 980px; margin: 0 auto; display: grid; grid-template-columns: 120px 1fr; gap: 24px; align-items: start; }
.wnews__head { font: 500 26px/1 var(--f-en); letter-spacing: .2em; color: var(--gold); padding-top: 6px; }
.wnews__list li { display: grid; grid-template-columns: 110px 1fr; gap: 16px; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.wnews__list time { font-size: 13px; color: var(--ink-soft); letter-spacing: .08em; }

/* ---------- あらすじ ---------- */
.sec--story { padding: 0; background: var(--bg); }
.story { position: relative; min-height: 760px; display: flex; align-items: center; overflow: hidden; }
.story__bg { position: absolute; inset: 0; background-size: cover; background-position: center right; }
.story__bg::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(var(--hero-fade), .97) 0%, rgba(var(--hero-fade), .93) 44%, rgba(var(--hero-fade), .45) 72%, rgba(var(--hero-fade), .2) 100%),
              linear-gradient(180deg, rgba(var(--hero-fade), 1) 0, rgba(var(--hero-fade), 0) 120px, rgba(var(--hero-fade), 0) calc(100% - 120px), rgba(var(--hero-fade), 1) 100%);
}
body.is-r18 .story__bg { filter: brightness(.6) saturate(.9); }
.story__body { position: relative; width: min(640px, 100%); margin-left: clamp(20px, 9vw, 160px); padding: clamp(90px, 10vw, 140px) 0; }
.story__title { font: 800 clamp(26px, 2.8vw, 36px)/1.5 var(--f-mincho); letter-spacing: .12em; white-space: pre-line; }
.story__paras { margin-top: 22px; display: grid; gap: 16px; font-size: 15px; line-height: 2.1; }
.story__quote { margin-top: 34px; padding: 22px 26px; border-left: 2px solid var(--gold); background: rgba(var(--hero-fade), .6); }
.story__quote blockquote { margin: 0; font: 700 clamp(17px, 1.6vw, 20px)/1.8 var(--f-mincho); letter-spacing: .08em; }
.story__quote figcaption { margin-top: 10px; display: flex; align-items: center; gap: 14px; font-size: 12px; letter-spacing: .2em; color: var(--accent-deep); }
body.is-r18 .story__quote figcaption { color: #E58AA5; }

/* ---------- 声のボタン（共通） ---------- */
.vbtn, .vchip, .vmini {
  display: inline-flex; align-items: center; gap: 8px; cursor: pointer;
  font: 500 12px/1.4 var(--f-goth); letter-spacing: .1em; color: var(--ink);
  border: 1px solid var(--gold); border-radius: 999px; background: var(--bg-3);
  padding: 6px 14px 6px 8px; transition: background .25s, color .25s, border-color .25s;
}
.vbtn:hover, .vchip:hover, .vmini:hover { background: var(--gold); color: var(--bg); }
.vbtn__icon {
  flex: none; width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center;
  background: var(--gold); position: relative;
}
.vbtn__icon::before { content: ""; margin-left: 2px; border-left: 7px solid var(--bg); border-top: 4.5px solid transparent; border-bottom: 4.5px solid transparent; }
.is-playing .vbtn__icon::before { margin: 0; width: 8px; height: 8px; border: 0; background: var(--bg); }
.is-playing .vbtn__icon { animation: pulse 1.2s ease-in-out infinite; }
@keyframes pulse { 50% { box-shadow: 0 0 0 6px rgba(184, 151, 90, .25); } }
.vbtn--heart { border-color: #9C8BC4; }
.vbtn--heart .vbtn__icon { background: #8C7AB8; }
.vbtn--heart:hover { background: #8C7AB8; color: #fff; }

/* ---------- 声と本音 ---------- */
.sec--honne { background: linear-gradient(180deg, var(--bg-2), var(--bg)); }
.honne { max-width: 1120px; margin: 0 auto; }
.honne__intro { text-align: center; max-width: 720px; margin: 0 auto; }
.honne__title { font: 800 clamp(24px, 2.8vw, 34px)/1.6 var(--f-mincho); letter-spacing: .12em; }
.honne__lead { margin-top: 16px; color: var(--ink-soft); }
.honne__shots { margin-top: 40px; display: grid; grid-template-columns: 1fr auto 1fr; gap: 18px; align-items: center; }
.honne__shot { position: relative; border-radius: 6px; overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow); }
.honne__shot img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.honne__shot figcaption {
  position: absolute; left: 12px; top: 12px; padding: 4px 12px; border-radius: 999px;
  font-size: 12px; letter-spacing: .12em; background: rgba(42, 32, 30, .78); color: #FBF3EC;
}
.honne__shot.is-heart figcaption { background: rgba(108, 88, 160, .88); }
.honne__arrow { font: 500 26px/1 var(--f-en); color: var(--gold); }

.pairs { margin-top: 48px; display: grid; gap: 18px; }
.pair { background: var(--card); border: 1px solid var(--line); border-radius: 8px; padding: 22px 26px 24px; box-shadow: var(--shadow); }
.pair__scene { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 14px; font-size: 13px; color: var(--ink-soft); }
.pair__no { font: 600 12px/1 var(--f-goth); letter-spacing: .2em; color: var(--gold); }
.pair__cols { margin-top: 14px; display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.pair__voice, .pair__heart { position: relative; padding: 16px 18px 18px; border-radius: 6px; display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }
.pair__voice { background: var(--bg-3); border: 1px solid var(--line); }
.pair__heart { background: linear-gradient(135deg, rgba(140, 122, 184, .14), rgba(140, 122, 184, .05)); border: 1px solid rgba(140, 122, 184, .35); overflow: hidden; }
.pair__tag { font-size: 11px; letter-spacing: .2em; color: var(--accent-deep); }
.pair__heart .pair__tag { color: #7A68A8; }
body.is-r18 .pair__tag { color: #E58AA5; }
body.is-r18 .pair__heart .pair__tag { color: #B9A8E6; }
.pair__text { font: 600 16px/1.85 var(--f-mincho); letter-spacing: .06em; flex: 1; }
.pair__heart .pair__text { color: #5E4F8C; }
body.is-r18 .pair__heart .pair__text { color: #D4C8F2; }
/* 本音は最初ぼかしておき、「本音をのぞく」で見せる */
.pair__heart .pair__text, .pair__heart .vbtn { filter: blur(7px); opacity: .55; transition: filter .8s ease, opacity .8s ease; user-select: none; }
.pair.is-open .pair__heart .pair__text, .pair.is-open .pair__heart .vbtn { filter: none; opacity: 1; user-select: auto; }
.pair__open {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -40%);
  padding: 10px 22px; border-radius: 999px; cursor: pointer;
  border: 1px solid #8C7AB8; background: rgba(255, 255, 255, .92); color: #5E4F8C;
  font: 700 13px/1 var(--f-goth); letter-spacing: .16em;
  box-shadow: 0 10px 24px -12px rgba(94, 79, 140, .6);
  transition: opacity .4s, transform .4s;
}
body.is-r18 .pair__open { background: rgba(36, 21, 40, .92); color: #D4C8F2; }
.pair__open:hover { background: #8C7AB8; color: #fff; }
.pair.is-open .pair__open { opacity: 0; pointer-events: none; transform: translate(-50%, -30%); }
.pair.is-more { display: none; }
.pairs.is-all .pair.is-more { display: block; }
.pairs__more { margin-top: 22px; text-align: center; }
.pairs__more .btn-line { cursor: pointer; background: transparent; color: var(--ink); font-family: var(--f-goth); }
.honne__note { margin-top: 22px; font-size: 12px; color: var(--ink-soft); text-align: center; }

/* ---------- 物量 ---------- */
.sec--volume { background: var(--bg); }
.volume__lead { text-align: center; font: 700 clamp(18px, 1.8vw, 22px)/1.6 var(--f-mincho); letter-spacing: .14em; margin: -24px 0 40px; }
.volume { max-width: 1120px; margin: 0 auto; display: grid; grid-template-columns: repeat(var(--vcols, 4), minmax(0, 1fr)); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.volume[style*="--vcols:3"] { max-width: 900px; }
.vol { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; min-height: 170px; padding: 26px 12px; text-align: center; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.vol__label { font-size: 13px; letter-spacing: .16em; color: var(--ink-soft); }
.vol__num {
  font: 800 clamp(38px, 4.2vw, 56px)/1.1 var(--f-mincho); letter-spacing: .02em;
  background: linear-gradient(180deg, var(--gold-hi), var(--gold) 60%, #9A7A40);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.vol__num small { font-size: .36em; letter-spacing: .08em; margin: 0 .1em; }
.vol__sub { font-size: 11px; letter-spacing: .1em; color: var(--accent-deep); }
body.is-r18 .vol__sub { color: #E58AA5; }

/* ---------- 登場人物 ---------- */
.sec--chara { background: linear-gradient(180deg, var(--bg), var(--bg-2)); overflow: hidden; }
.heroine { max-width: 1180px; margin: 0 auto; display: grid; grid-template-columns: 5fr 6fr; gap: clamp(24px, 5vw, 72px); align-items: center; }
.heroine__stage { position: relative; display: flex; flex-direction: column; align-items: center; }
.heroine__ring {
  position: absolute; left: 50%; top: 44%; width: 84%; aspect-ratio: 1; transform: translate(-50%, -50%);
  border-radius: 50%; border: 1px solid var(--gold); opacity: .55;
  background: radial-gradient(circle, rgba(var(--hero-fade), 0) 55%, rgba(184, 151, 90, .1));
  box-shadow: 0 0 0 16px rgba(184, 151, 90, .05);
}
.heroine__video {
  position: relative; width: 100%; max-width: 480px; aspect-ratio: 3 / 4; object-fit: contain; transition: opacity .22s;
  -webkit-mask-image: linear-gradient(#000 80%, transparent 99%); mask-image: linear-gradient(#000 80%, transparent 99%);
}
.heroine__video.is-switching { opacity: 0; }
.outfits { position: relative; margin-top: 18px; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.outfit {
  padding: 6px 16px; border-radius: 999px; cursor: pointer;
  border: 1px solid var(--line); background: var(--bg-3); color: var(--ink);
  font: 500 12px/1.4 var(--f-goth); letter-spacing: .12em; transition: .25s;
}
.outfit:hover { border-color: var(--gold); }
.outfit.is-active { background: var(--ink); color: var(--bg); border-color: var(--ink); }
body.is-r18 .outfit.is-active { background: var(--gold); color: #22130F; border-color: var(--gold); }
.outfit--r18 { border-color: #B0345A; }
.heroine__role { font-size: 12px; letter-spacing: .2em; color: var(--accent-deep); }
body.is-r18 .heroine__role { color: #E58AA5; }
.heroine__name { margin-top: 6px; font: 800 clamp(32px, 3.4vw, 44px)/1.3 var(--f-mincho); letter-spacing: .14em; }
.heroine__name small { display: block; margin-top: 4px; font: 500 13px/1.4 var(--f-goth); letter-spacing: .16em; color: var(--ink-soft); }
.heroine__cv { margin-top: 10px; display: inline-block; padding: 2px 12px; border: 1px solid var(--gold); border-radius: 2px; font-size: 12px; letter-spacing: .14em; color: var(--gold); }
.heroine__text { margin-top: 16px; }
.heroine__extra { margin-top: 10px; padding-left: 14px; border-left: 2px solid var(--accent); color: #E58AA5; font-size: 14px; }
.profile { margin: 20px 0 0; display: grid; gap: 0; border-top: 1px solid var(--line); }
.profile div { display: grid; grid-template-columns: 6em 1fr; gap: 12px; padding: 9px 2px; border-bottom: 1px solid var(--line); font-size: 14px; }
.profile dt { color: var(--ink-soft); font-size: 12px; letter-spacing: .14em; padding-top: 2px; }
.profile dd { margin: 0; }
.voices { margin-top: 24px; display: grid; gap: 10px; }
.voices__head { font: 600 12px/1 var(--f-en); letter-spacing: .3em; color: var(--gold); }
.vchip { border-radius: 8px; padding: 10px 14px 10px 10px; align-items: flex-start; text-align: left; letter-spacing: .04em; }
.vchip .vbtn__icon { margin-top: 1px; }
.vchip__label { flex: none; min-width: 5.5em; padding-top: 2px; font-size: 11px; letter-spacing: .14em; color: var(--accent-deep); }
body.is-r18 .vchip__label { color: #E58AA5; }
.vchip:hover .vchip__label { color: inherit; }
.vchip__text { font: 500 14px/1.7 var(--f-mincho); }

/* 2 人目のヒロイン：左右を入れ替え、少し小さめに */
.heroine--sub { margin-top: clamp(56px, 7vw, 96px); grid-template-columns: 6fr 4fr; max-width: 1060px; }
.heroine--sub .heroine__stage { order: 2; }
.heroine--sub .heroine__body { order: 1; }
.heroine--sub .heroine__video { max-width: 380px; }
.heroine--sub .heroine__name { font-size: clamp(28px, 2.8vw, 36px); }

.men { max-width: 1180px; margin: clamp(56px, 7vw, 90px) auto 0; display: grid; grid-template-columns: repeat(var(--cols, 5), minmax(0, 1fr)); gap: 16px; }
.men[style*="--cols:4"] { max-width: 1000px; }
.men[style*="--cols:3"] { max-width: 820px; }
/* 顔を出さない人（主人公）：絵の代わりに文字 */
.man__img--you { display: grid; place-items: center; background: radial-gradient(circle at 50% 45%, var(--bg-3), var(--bg-2) 70%); }
.man__img--you span {
  display: grid; place-items: center; width: 46%; aspect-ratio: 1; border-radius: 50%;
  border: 1px solid var(--gold); color: var(--gold); font: 600 clamp(15px, 1.4vw, 19px)/1.2 var(--f-mincho); letter-spacing: .2em; text-indent: .2em;
  box-shadow: 0 0 0 10px rgba(184, 151, 90, .07);
}
.man { background: var(--card); border: 1px solid var(--line); border-radius: 8px; overflow: hidden; display: flex; flex-direction: column; box-shadow: var(--shadow); }
.man__img { position: relative; aspect-ratio: 1; overflow: hidden; background: linear-gradient(180deg, var(--bg-2), var(--bg-3)); }
.man__img img { position: absolute; left: 50%; top: 2%; width: 118%; max-width: none; transform: translateX(-50%); }
.man__body { padding: 14px 16px 18px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.man__role { font-size: 11px; letter-spacing: .1em; color: var(--ink-soft); }
.man__name { font: 800 20px/1.3 var(--f-mincho); letter-spacing: .1em; }
.man__name small { margin-left: 8px; font: 500 12px/1 var(--f-goth); color: var(--ink-soft); letter-spacing: .08em; }
.man__text { font-size: 13px; line-height: 1.8; }
.man__extra { font-size: 12px; line-height: 1.7; color: #E58AA5; }
.vmini { margin-top: auto; border-radius: 8px; padding: 8px 10px 8px 8px; align-items: flex-start; text-align: left; font: 500 12px/1.6 var(--f-mincho); letter-spacing: .02em; }
.vmini .vbtn__icon { width: 20px; height: 20px; }

/* ---------- 遊び方 ---------- */
.sec--system { background: var(--bg); }
.system { max-width: 1180px; margin: 0 auto; display: grid; grid-template-columns: 7fr 5fr; gap: clamp(20px, 3vw, 40px); align-items: start; }
.system__screen { position: relative; aspect-ratio: 16 / 9; border-radius: 8px; overflow: hidden; background: #140C10; border: 1px solid var(--line); box-shadow: var(--shadow); }
.sys-shot { position: absolute; inset: 0; opacity: 0; transition: opacity .7s ease; }
.sys-shot.is-active { opacity: 1; }
.sys-shot img { width: 100%; height: 100%; object-fit: cover; }
.sys-shot__bg { position: absolute; inset: 0; background-size: cover; background-position: center; }
.sys-shot__video { position: absolute; left: 50%; bottom: 0; height: 96%; transform: translateX(-50%); }
.sys-shot__video[data-cover] { left: 0; width: 100%; height: 100%; transform: none; object-fit: cover; }
.sys-shot__kari { position: absolute; right: 10px; top: 8px; background: var(--bg); border-radius: 3px; }
/* 全年齢ページで伏せる画面（お触りなど）：背景をぼかして、R18 版への案内だけ出す */
.sys-shot img.is-locked { filter: blur(14px) brightness(.8); transform: scale(1.08); }
.sys-shot img.is-contain { object-fit: contain; background: #140C10; }
.sys-shot__lock {
  position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 16px;
  padding: 20px; text-align: center; background: rgba(var(--hero-fade), .35);
}
.sys-shot__lock p { font: 700 clamp(14px, 1.4vw, 17px)/1.8 var(--f-mincho); letter-spacing: .08em; color: var(--ink); }
.system__list { display: grid; gap: 6px; counter-reset: sys; }
.sys { border-bottom: 1px solid var(--line); }
.sys__btn { width: 100%; display: flex; align-items: center; gap: 16px; padding: 12px 4px; border: 0; background: none; cursor: pointer; text-align: left; color: var(--ink); }
.sys__no { flex: none; width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--line); font: 500 13px/1 var(--f-goth); color: var(--ink-soft); transition: .3s; }
.sys__head { display: flex; flex-direction: column; gap: 2px; }
.sys__en { font: 600 11px/1 var(--f-en); letter-spacing: .3em; color: var(--gold); }
.sys__title { font: 700 16px/1.5 var(--f-mincho); letter-spacing: .06em; }
.sys__text { display: none; padding: 0 4px 16px 58px; font-size: 14px; color: var(--ink-soft); }
.sys.is-active .sys__text { display: block; animation: rise .5s both; }
.sys.is-active .sys__no { background: var(--gold); border-color: var(--gold); color: var(--bg); }
.sys--r18 .sys__en { color: #E58AA5; }

/* ---------- 動画 ---------- */
.sec--movie { background: linear-gradient(180deg, var(--bg-2), var(--bg)); }
.movies { max-width: 1000px; margin: 0 auto; display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 22px; align-items: start; }
.movie--wide { grid-column: 1 / -1; }
.movie video { width: 100%; background: #000; border-radius: 6px; box-shadow: var(--shadow); }
.movie figcaption { margin-top: 10px; font: 700 15px/1.5 var(--f-mincho); letter-spacing: .1em; text-align: center; }
.movie figcaption small { margin-left: 10px; font: 400 12px/1 var(--f-goth); color: var(--ink-soft); }

/* ---------- H シーン（R18） ---------- */
.sec--hscene { background: linear-gradient(180deg, #1D0F16, var(--bg)); }
.hscene__lead { white-space: pre-line; text-align: center; font: 700 clamp(17px, 1.7vw, 21px)/1.7 var(--f-mincho); letter-spacing: .1em; margin: -24px auto 40px; max-width: 760px; }
.hscene__lead--more { margin: clamp(56px, 7vw, 88px) auto 32px; }  /* H の欄の 2 段目からの一言（寝取らせ屋の母娘） */
/* 並び＝4 列（狭い画面は 2 列）。最後の段が埋まらない時は真ん中に寄せる（flex） */
.hscene { --hs-cols: 4; --hs-gap: 16px; max-width: 1240px; margin: 0 auto; display: flex; flex-wrap: wrap; justify-content: center; gap: var(--hs-gap); }
.hscene > .hs { flex: 0 0 calc((100% - (var(--hs-cols) - 1) * var(--hs-gap)) / var(--hs-cols)); min-width: 0; }
.hs { background: var(--card); border: 1px solid rgba(201, 164, 92, .22); border-radius: 6px; overflow: hidden; }
.hs__media { aspect-ratio: 4 / 3; background: #000; }
.hs__media video { width: 100%; height: 100%; object-fit: cover; }
.hs__wait { height: 100%; display: grid; place-items: center; font-size: 12px; color: var(--ink-soft); }
.hs figcaption { padding: 12px 14px 14px; display: grid; gap: 4px; }
.hs__who { font: 700 15px/1.3 var(--f-mincho); letter-spacing: .12em; color: var(--gold-hi); }
.hs__text { font-size: 12px; line-height: 1.7; color: var(--ink-soft); }
.hscene__note { margin-top: 18px; text-align: center; font-size: 11px; color: var(--ink-soft); }

/* ---------- 関連作品 ---------- */
.sec--related { background: var(--bg); padding-top: clamp(60px, 7vw, 100px); padding-bottom: clamp(30px, 4vw, 50px); }
.related {
  max-width: 1080px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; text-decoration: none;
  background: var(--card); border: 1px solid var(--line); border-radius: 10px; overflow: hidden; box-shadow: var(--shadow);
  transition: transform .4s;
}
.related:hover { transform: translateY(-3px); }
.related__visual { position: relative; min-height: 300px; overflow: hidden; background: var(--bg-2); }
.related__bg { position: absolute; inset: 0; background-size: cover; background-position: center; }
.related__chara { position: absolute; right: 10%; bottom: -4%; height: 112%; width: auto; max-width: none; }
.related__kv { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.related__body { padding: clamp(24px, 3vw, 40px); display: flex; flex-direction: column; align-items: flex-start; gap: 6px; }
.related__en { font: 600 11px/1 var(--f-en); letter-spacing: .4em; color: var(--gold); }
.related__when { margin-top: 8px; font-size: 13px; letter-spacing: .2em; color: var(--accent-deep); }
body.is-r18 .related__when { color: #E58AA5; }
.related__title { font: 800 clamp(24px, 2.4vw, 30px)/1.4 var(--f-mincho); letter-spacing: .08em; }
.related__sub { font: 600 13px/1.6 var(--f-mincho); color: var(--accent-deep); }
body.is-r18 .related__sub { color: var(--gold-hi); }
.related__text { margin: 8px 0 16px; font-size: 14px; color: var(--ink-soft); }

/* ---------- 購入・作品情報 ---------- */
.sec--buy { background: var(--bg-2); }
.buy { max-width: 1080px; margin: 0 auto; display: grid; grid-template-columns: 4fr 7fr; gap: clamp(20px, 4vw, 56px); align-items: center; }
.buy__chara img { width: 100%; max-width: 400px; margin: 0 auto; -webkit-mask-image: linear-gradient(#000 76%, transparent); mask-image: linear-gradient(#000 76%, transparent); }
.buy__en { font: 500 clamp(36px, 4vw, 52px)/1 var(--f-en); letter-spacing: .16em; background: linear-gradient(180deg, var(--gold-hi), var(--gold) 60%, #9A7A40); -webkit-background-clip: text; background-clip: text; color: transparent; }
.buy__line { margin-top: 18px; font: 700 18px/1.6 var(--f-mincho); letter-spacing: .1em; color: var(--accent-deep); }
body.is-r18 .buy__line { color: #E58AA5; }
.buy__title { margin-top: 10px; font: 800 clamp(28px, 3vw, 38px)/1.3 var(--f-mincho); letter-spacing: .1em; }
.buy__sub { font: 600 14px/1.6 var(--f-mincho); color: var(--accent-deep); }
body.is-r18 .buy__sub { color: var(--gold-hi); }
.buy__meta { margin-top: 8px; font-size: 12px; letter-spacing: .16em; color: var(--ink-soft); }
.buy__btns { margin-top: 22px; display: flex; flex-wrap: wrap; gap: 12px; }
.buy__btns .btn-store { padding: 11px 26px 12px; }
.buy__btns .btn-store span { font-size: 15px; }
.buy__warn { margin-top: 14px; font-size: 11px; color: var(--ink-soft); }
.winfo { max-width: 1080px; margin: clamp(48px, 6vw, 72px) auto 0; padding: clamp(24px, 3vw, 36px); background: var(--card); border: 1px solid var(--line); border-radius: 8px; }
.winfo__head { font: 800 18px/1.4 var(--f-mincho); letter-spacing: .2em; }
.winfo__table { margin: 16px 0 0; border-top: 1px solid var(--line); }
.winfo__table div { display: grid; grid-template-columns: 9em 1fr; gap: 16px; padding: 10px 4px; border-bottom: 1px solid var(--line); font-size: 14px; }
.winfo__table dt { color: var(--ink-soft); font-size: 13px; letter-spacing: .12em; }
.winfo__table dd { margin: 0; }
.winfo__notes { margin-top: 18px; display: grid; gap: 4px; font-size: 12px; line-height: 1.8; color: var(--ink-soft); }
.winfo__notes li::before { content: "※"; }

/* ---------- ページの先頭へ ---------- */
.to-top {
  position: fixed; right: 18px; bottom: 18px; z-index: 90; width: 46px; height: 46px; border-radius: 50%;
  display: grid; place-items: center; text-decoration: none; font-size: 18px;
  background: var(--ink); color: var(--bg); box-shadow: var(--shadow);
  opacity: 0; visibility: hidden; transform: translateY(8px); transition: .35s;
}
body.is-r18 .to-top { background: var(--gold); color: #22130F; }
.to-top.is-show { opacity: .9; visibility: visible; transform: none; }

/* ---------- 少し狭い画面 ---------- */
@media (max-width: 1180px) {
  .men { grid-template-columns: repeat(min(var(--cols, 5), 3), minmax(0, 1fr)); }
  .hscene { --hs-cols: 2; }
}

/* ---------- スマホ ---------- */
@media (max-width: 900px) {
  .is-work .gnav { flex-direction: column; }
  .crumb { display: none; }
  .hero--work .slide__chara { height: 44%; }
  .hero--work .slide__kv { width: min(88vw, 520px); }
  .hero--work .slide__text { bottom: 64px; }
  .hero--work .slide__catch { font-size: 16px; }
  .hero--work .slide__btns { gap: 10px; }
  .wnews { grid-template-columns: 1fr; gap: 6px; }
  .wnews__list li { grid-template-columns: 1fr; gap: 0; }
  .story { min-height: 0; }
  .story__bg::after { background: linear-gradient(180deg, rgba(var(--hero-fade), .55) 0%, rgba(var(--hero-fade), .94) 30%, rgba(var(--hero-fade), .97) 100%); }
  .story__body { margin: 0; padding: 72px 20px; }
  .honne__shots { grid-template-columns: 1fr; }
  .honne__arrow { transform: rotate(90deg); justify-self: center; }
  .pair { padding: 18px 16px 20px; }
  .pair__cols { grid-template-columns: 1fr; gap: 12px; }
  .pair__heart { min-height: 150px; }
  .volume { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .vol { min-height: 130px; padding: 20px 8px; }
  .heroine, .heroine--sub { grid-template-columns: 1fr; }
  .heroine--sub .heroine__stage { order: 0; }
  .heroine--sub .heroine__video { max-width: 280px; }
  .men[style*="--cols:4"], .men[style*="--cols:3"] { max-width: none; }
  .heroine__video { max-width: 340px; }
  .men { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .man__body { padding: 12px 12px 14px; }
  .system { grid-template-columns: 1fr; }
  .hscene { --hs-cols: 2; --hs-gap: 10px; }
  .hs figcaption { padding: 10px; }
  .related { grid-template-columns: 1fr; }
  .related__visual { min-height: 220px; }
  .buy { grid-template-columns: 1fr; text-align: center; }
  .buy__chara img { max-width: 260px; }
  .buy__btns, .buy .chips { justify-content: center; }
  .winfo__table div { grid-template-columns: 1fr; gap: 2px; }
}

/* ==========================================================
   寝取らせ屋（MG017）で足した形：同じ大きさで並べる妻たち・見出しつきの小さなカード・
   静止画の H シーン・発売前の購入欄
   ========================================================== */
.wives { max-width: 1240px; margin: 0 auto; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(14px, 1.8vw, 24px); }
.wife { display: flex; flex-direction: column; background: var(--card); border: 1px solid var(--line); border-radius: 10px; overflow: hidden; box-shadow: var(--shadow); }
.wife__stage { position: relative; aspect-ratio: 3 / 4; overflow: hidden; background: linear-gradient(180deg, var(--bg-2), var(--bg-3)); }
.wife__ring {
  position: absolute; left: 50%; top: 38%; width: 86%; aspect-ratio: 1; transform: translate(-50%, -50%);
  border-radius: 50%; border: 1px solid var(--gold); opacity: .45;
  background: radial-gradient(circle, rgba(var(--hero-fade), 0) 55%, rgba(184, 151, 90, .1));
  box-shadow: 0 0 0 14px rgba(184, 151, 90, .05);
}
.wife__stage img {
  position: relative; width: 100%; height: 100%; object-fit: contain; object-position: bottom; transition: transform .9s;
  -webkit-mask-image: linear-gradient(#000 84%, transparent 99%); mask-image: linear-gradient(#000 84%, transparent 99%);
}
.wife:hover .wife__stage img { transform: scale(1.03); }
.wife__body { padding: 16px 18px 20px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.wife__role { font-size: 11px; letter-spacing: .14em; color: var(--accent-deep); }
body.is-r18 .wife__role { color: #E58AA5; }
.wife__name { font: 800 clamp(22px, 2vw, 26px)/1.3 var(--f-mincho); letter-spacing: .12em; }
.wife__name small { display: block; margin-top: 2px; font: 500 12px/1.4 var(--f-goth); letter-spacing: .12em; color: var(--ink-soft); }
.wife__text { font-size: 13px; line-height: 1.85; }
.wife__extra { font-size: 12px; line-height: 1.75; padding-left: 10px; border-left: 2px solid var(--accent); color: #E58AA5; }
.wife__voices { margin-top: auto; padding-top: 6px; display: grid; gap: 8px; }
.vchip--sm { padding: 8px 10px 8px 8px; }
.vchip--sm .vbtn__icon { width: 20px; height: 20px; }
.vchip--sm .vchip__text { font-size: 12.5px; line-height: 1.65; }

/* 小さなカードの並びの見出し（夫たち・娘たちなど） */
.men__head {
  max-width: 1180px; margin: clamp(56px, 7vw, 90px) auto 0; padding-bottom: 10px; border-bottom: 1px solid var(--line);
  display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 14px;
  font: 700 18px/1.4 var(--f-mincho); letter-spacing: .16em;
}
.men__head small { font: 500 12px/1.4 var(--f-goth); letter-spacing: .1em; color: var(--ink-soft); }
.men__head:has(+ .men[style*="--cols:4"]) { max-width: 1000px; }
.men__head:has(+ .men[style*="--cols:3"]) { max-width: 820px; }
.men--headed { margin-top: 18px; }

/* H シーンの静止画 */
.hs__media img { width: 100%; height: 100%; object-fit: cover; }

/* 発売前の購入欄 */
.buy__soon { flex-basis: 100%; font-size: 14px; line-height: 1.9; color: var(--ink-soft); }

/* 2 人ずつの組（常識改変親子丼の母娘 3 組）：PC は 1 列が 1 組（上に母・下に娘） */
.wives--pairs { max-width: 1080px; grid-template-columns: repeat(3, minmax(0, 1fr)); grid-template-rows: auto auto; grid-auto-flow: column; }
.chara__after { max-width: 760px; margin: 28px auto 0; text-align: center; font: 700 15px/1.9 var(--f-mincho); letter-spacing: .1em; color: var(--ink-soft); word-break: keep-all; overflow-wrap: anywhere; }
/* 小さなカードが 1 枚だけの時（主人公だけなど）：横長のカードにする */
.men[style*="--cols:1"] { max-width: 640px; }
.men[style*="--cols:1"] .man { flex-direction: row; }
.men[style*="--cols:1"] .man__img { flex: 0 0 180px; }
.men[style*="--cols:1"] .man__body { justify-content: center; }
.men__head:has(+ .men[style*="--cols:1"]) { max-width: 640px; }
@media (max-width: 900px) {
  .men[style*="--cols:1"] { grid-template-columns: 1fr; }
  .men[style*="--cols:1"] .man__img { flex-basis: 112px; }
  .man__img--you span { width: 60%; font-size: 14px; letter-spacing: .08em; text-indent: .08em; white-space: nowrap; }  /* スマホの小さなカードでも「手紙だけ」などを 1 行に */
  .men[style*="--cols:1"] .man__img--you span { width: 66%; font-size: 14px; letter-spacing: .12em; text-indent: .12em; white-space: nowrap; }
}

@media (max-width: 1024px) {
  .wives { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 760px; }
  /* スマホ・タブレットは 1 行が 1 組（左に母・右に娘） */
  .wives--pairs { grid-template-rows: none; grid-auto-flow: row; }
}
@media (max-width: 900px) {
  .wives { gap: 12px; }
  .wife__body { padding: 12px 12px 14px; }
  .wife__name { font-size: 20px; }
  .men__head { font-size: 16px; }
  .men__head:has(+ .men[style*="--cols:4"]), .men__head:has(+ .men[style*="--cols:3"]) { max-width: none; }
}

/* ==========================================================
   妻の裏垢 通知オン（MG020）で足した形：スマホの画面の欄（#phone）
   最初の夜（3 つの画面を順に）／妻のスマホと夫のスマホ（アプリごとの違い）／投稿の形
   ========================================================== */
.sec--phone { background: linear-gradient(180deg, var(--bg-2), var(--bg)); overflow: hidden; }
.phone__lead { max-width: 760px; margin: 0 auto; text-align: center; white-space: pre-line; font: 700 clamp(16px, 1.6vw, 19px)/2 var(--f-mincho); letter-spacing: .1em; }
.pshot { display: block; width: 100%; height: auto; filter: drop-shadow(0 18px 26px rgba(60, 30, 40, .26)); }
body.is-r18 .pshot { filter: drop-shadow(0 18px 30px rgba(0, 0, 0, .6)); }

/* 最初の夜 */
.pnight { --pn-gap: clamp(28px, 4.4vw, 64px); max-width: 1060px; margin: clamp(40px, 5vw, 64px) auto 0; }
.pnight__head { text-align: center; font: 800 clamp(20px, 2vw, 26px)/1.4 var(--f-mincho); letter-spacing: .24em; }
.pnight__steps { list-style: none; margin: 28px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--pn-gap); }
.pnight__step { position: relative; display: flex; flex-direction: column; align-items: center; text-align: center; }
.pnight__step .pshot { max-width: 250px; }
.pnight__step + .pnight__step::before {
  content: '\2192'; position: absolute; left: calc(var(--pn-gap) / -2); top: 36%; transform: translate(-50%, -50%);
  font: 500 28px/1 var(--f-en); color: var(--gold);
}
.pnight__no { margin-bottom: 12px; font: 600 12px/1 var(--f-en); letter-spacing: .3em; color: var(--gold); }
.pnight__who { margin-top: 18px; font-size: 11px; letter-spacing: .22em; color: var(--accent-deep); }
body.is-r18 .pnight__who { color: #E58AA5; }
.pnight__text { margin-top: 6px; max-width: 280px; font: 500 14px/1.9 var(--f-mincho); letter-spacing: .04em; }
.pnight__note { margin-top: 30px; text-align: center; font-size: 13px; letter-spacing: .08em; color: var(--ink-soft); }

/* 妻のスマホと夫のスマホ */
.pcomp {
  --pc-side: 240px; max-width: 1240px; margin: clamp(72px, 9vw, 120px) auto 0;
  display: grid; grid-template-columns: minmax(0, var(--pc-side)) minmax(0, 1fr) minmax(0, var(--pc-side)); gap: clamp(20px, 3vw, 44px); align-items: center;
}
.pside { margin: 0; display: flex; flex-direction: column; align-items: center; text-align: center; }
.pside figcaption { display: flex; flex-direction: column; gap: 6px; margin-bottom: 16px; }
.pside__en { font: 600 11px/1 var(--f-en); letter-spacing: .3em; color: var(--gold); }
.pside__title { font: 800 22px/1.3 var(--f-mincho); letter-spacing: .16em; }
.pside--wife .pside__title { color: #B8476F; }
.pside--husband .pside__title { color: #3D5683; }
body.is-r18 .pside--wife .pside__title { color: #F08AB0; }
body.is-r18 .pside--husband .pside__title { color: #9DB4E0; }
.pside .pshot { max-width: 220px; }
.pside__text { margin-top: 16px; font: 500 14px/1.85 var(--f-mincho); }
.papps { background: var(--card); border: 1px solid var(--line); border-radius: 12px; box-shadow: var(--shadow); overflow: hidden; }
.papp {
  display: grid; grid-template-columns: 12.5em minmax(0, 1fr) minmax(0, 1fr); gap: 0 18px; align-items: center;
  padding: 14px 18px; border-top: 1px solid var(--line); font-size: 13px; line-height: 1.75; letter-spacing: .03em;
}
.papp--head { border-top: 0; padding-top: 12px; padding-bottom: 12px; background: rgba(184, 151, 90, .1); font: 700 12px/1.4 var(--f-goth); letter-spacing: .14em; color: var(--ink-soft); }
.papp--head span:nth-child(2) { color: #B8476F; }
.papp--head span:nth-child(3) { color: #3D5683; }
body.is-r18 .papp--head span:nth-child(2) { color: #F08AB0; }
body.is-r18 .papp--head span:nth-child(3) { color: #9DB4E0; }
.papp__name { display: flex; align-items: center; gap: 10px; }
.papp__name b { display: block; font: 700 14px/1.35 var(--f-goth); letter-spacing: .04em; white-space: nowrap; }
.papp__name small { display: block; font-size: 10.5px; line-height: 1.45; color: var(--ink-soft); letter-spacing: .02em; }
.papp__icon {
  flex: none; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 9px; background: var(--app);
  box-shadow: inset 0 -2px 0 rgba(0, 0, 0, .14), 0 5px 12px -6px var(--app);
}
.papp__icon svg { width: 20px; height: 20px; }
.papp__none { opacity: .35; }
.pnowrap { white-space: nowrap; }
/* PC は、文を「、」「。」の所でだけ折り返す（言葉の途中で切らない）。スマホは幅が狭く「。」が行の頭に来るので、ふつうの折り返し */
@media (min-width: 901px) {
  .pnight__text, .pside__text, .ppost__text, .papp__cell { word-break: keep-all; overflow-wrap: anywhere; }
}
.papps__note { padding: 10px 18px 14px; border-top: 1px solid var(--line); font-size: 11px; line-height: 1.7; color: var(--ink-soft); }

/* 投稿の形（全年齢は見本の投稿・R18 は本物の画面） */
.ppost { max-width: 980px; margin: clamp(72px, 9vw, 120px) auto 0; display: grid; grid-template-columns: minmax(0, 360px) minmax(0, 1fr); gap: clamp(28px, 5vw, 72px); align-items: center; }
.ppost__visual { display: flex; justify-content: center; }
.ppost__visual .pshot { max-width: 280px; }
.psample {
  width: 100%; max-width: 360px; padding: 18px 22px 24px; border-radius: 26px; border: 7px solid #26242C;
  background: #141118; color: #F2EEF4; font-family: var(--f-goth); box-shadow: 0 26px 50px -22px rgba(40, 20, 40, .6);
}
.psample__app { display: flex; align-items: center; justify-content: center; gap: 8px; padding-bottom: 14px; border-bottom: 1px solid rgba(255, 255, 255, .08); font-weight: 700; color: #F0609A; letter-spacing: .08em; }
.psample__app .papp__icon { width: 22px; height: 22px; border-radius: 6px; box-shadow: none; }
.psample__app .papp__icon svg { width: 14px; height: 14px; }
.psample__user { margin-top: 16px; display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 12px; align-items: center; }
.psample__avatar { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; background: linear-gradient(135deg, #F6DCCD, #E4B19F); color: #7A4A3A; font-weight: 700; }
.psample__who b { display: block; font-size: 15px; letter-spacing: .04em; }
.psample__who small { display: block; font-size: 12px; color: #9C95A6; }
.psample time { align-self: start; font-size: 11px; color: #9C95A6; white-space: nowrap; }
.psample__text { margin-top: 16px; font-size: 16px; line-height: 1.9; letter-spacing: .02em; }
.psample__text em { font-style: normal; color: #F58AB4; }
.psample__tags { margin-top: 6px; font-size: 14px; color: #F0609A; letter-spacing: .04em; }
.ppost__en { font: 600 11px/1 var(--f-en); letter-spacing: .3em; color: var(--gold); }
.ppost__head { margin-top: 8px; font: 800 clamp(24px, 2.4vw, 30px)/1.4 var(--f-mincho); letter-spacing: .14em; }
.ppost__text { margin-top: 16px; font-size: 15px; line-height: 2; }
.ppost__note { margin-top: 12px; font-size: 12px; color: var(--ink-soft); }

@media (max-width: 1180px) {
  .pcomp { --pc-side: 200px; }
  .papp { grid-template-columns: 10em minmax(0, 1fr) minmax(0, 1fr); gap: 0 12px; padding: 12px 14px; }
}
@media (max-width: 900px) {
  /* 最初の夜：1 行に 1 つ（左にスマホ・右に文） */
  .phone__lead { font-size: 15px; letter-spacing: .04em; }
  .pnight__steps { grid-template-columns: 1fr; gap: 26px; }
  .pnight__step { display: grid; grid-template-columns: 40% minmax(0, 1fr); grid-template-rows: auto auto 1fr; gap: 0 16px; align-items: start; text-align: left; }
  .pnight__step .pshot { grid-row: 1 / span 3; grid-column: 1; max-width: none; }
  .pnight__no { grid-column: 2; margin: 18px 0 0; }
  .pnight__who { grid-column: 2; margin-top: 10px; }
  .pnight__text { grid-column: 2; max-width: none; }
  .pnight__step + .pnight__step::before { display: none; }
  /* 妻と夫のスマホを上に 2 つ並べ、アプリの違いは下に */
  .pcomp { grid-template-columns: 1fr 1fr; gap: 26px 14px; align-items: start; }
  .papps { grid-column: 1 / -1; order: 3; }
  .pside__title { font-size: 18px; }
  .pside .pshot { max-width: 170px; }
  .pside__text { font-size: 13px; }
  .papp { grid-template-columns: 1fr; gap: 8px; padding: 14px; }
  .papp--head { display: none; }
  .papp__cell::before { content: attr(data-who); display: inline-block; margin-right: 8px; padding: 0 8px; border-radius: 999px; font-size: 10.5px; letter-spacing: .08em; color: #fff; }
  .papp__cell--wife::before { background: #B8476F; }
  .papp__cell--husband::before { background: #3D5683; }
  .ppost { grid-template-columns: 1fr; }
  .ppost__body { text-align: center; }
}

/* ===== エルフ母娘は染まりゆくで足した物 ===== */
/* 2 人目からのヒロイン（chara.subs）：2 人に 1 人は立ち絵を左に */
.heroine--sub.heroine--left { grid-template-columns: 4fr 6fr; }
.heroine--sub.heroine--left .heroine__stage { order: 1; }
.heroine--sub.heroine--left .heroine__body { order: 2; }

/* シリーズ（3 部作）の欄 */
.sec--series { background: linear-gradient(180deg, var(--bg), var(--bg-2)); overflow: hidden; }
.series__lead { max-width: 760px; margin: 0 auto; text-align: center; font: 500 15px/2 var(--f-goth); letter-spacing: .08em; color: var(--ink-soft); word-break: keep-all; overflow-wrap: anywhere; }
.series__core { max-width: 820px; margin: 22px auto 0; text-align: center; font: 800 clamp(18px, 2vw, 24px)/1.8 var(--f-mincho); letter-spacing: .12em; word-break: keep-all; overflow-wrap: anywhere; }
.series { list-style: none; max-width: 1120px; margin: clamp(32px, 4vw, 52px) auto 0; padding: 0; display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: clamp(14px, 2vw, 26px); align-items: stretch; counter-reset: none; }
.spart { position: relative; display: flex; flex-direction: column; background: var(--card); border: 1px solid var(--line); border-radius: 10px; box-shadow: var(--shadow); }
/* 部と部のあいだの矢印 */
.spart + .spart::before { content: '\2192'; position: absolute; left: calc(-1 * clamp(14px, 2vw, 26px) / 2); top: 34%; transform: translate(-50%, -50%); z-index: 2; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: var(--bg-3); border: 1px solid var(--gold); color: var(--gold); font: 700 14px/1 var(--f-goth); }
.spart__visual { position: relative; aspect-ratio: 4 / 3; overflow: hidden; border-radius: 9px 9px 0 0; background: linear-gradient(160deg, var(--bg-2), var(--bg-3)); display: grid; place-items: center; }
.spart__visual img { width: 100%; height: 100%; object-fit: cover; display: block; }
.spart__num { font: 500 clamp(64px, 7vw, 96px)/1 var(--f-en); color: var(--gold); opacity: .55; letter-spacing: .02em; }
.spart--soon .spart__visual { flex: 1; aspect-ratio: auto; min-height: 200px; background: radial-gradient(circle at 50% 45%, rgba(184, 151, 90, .16), transparent 62%), linear-gradient(160deg, var(--bg-2), var(--bg-3)); }
.spart__badge { position: absolute; left: 12px; top: 12px; padding: 4px 12px; border-radius: 999px; background: var(--accent-deep); color: #fff; font: 700 12px/1.4 var(--f-goth); letter-spacing: .12em; }
.spart__body { padding: 18px 20px 22px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.spart--soon .spart__body { flex: 0 0 auto; }
.spart__no { font: 700 12px/1.4 var(--f-goth); letter-spacing: .24em; color: var(--gold); }
.spart__word { font: 800 clamp(22px, 2.2vw, 28px)/1.35 var(--f-mincho); letter-spacing: .14em; }
.spart__title { font: 700 15px/1.6 var(--f-mincho); letter-spacing: .08em; color: var(--ink-soft); }
.spart--now .spart__title { color: var(--accent-deep); }
body.is-r18 .spart--now .spart__title { color: var(--gold-hi); }
.spart__text { margin-top: 4px; font: 400 14px/1.9 var(--f-goth); color: var(--ink-soft); word-break: keep-all; overflow-wrap: anywhere; }
.series__note { max-width: 760px; margin: 26px auto 0; text-align: center; font: 400 13px/1.9 var(--f-goth); color: var(--ink-soft); }

@media (max-width: 900px) {
  .heroine--sub.heroine--left { grid-template-columns: 1fr; }
  .series { grid-template-columns: 1fr 1fr; max-width: 640px; }
  .spart--now { grid-column: 1 / -1; }
  .spart--now + .spart::before { display: none; }
  .series__lead { font-size: 14px; }
}
@media (max-width: 520px) {
  .spart__body { padding: 14px 14px 16px; }
  .spart__word { font-size: 19px; letter-spacing: .08em; }
  .spart__num { font-size: 56px; }
}

/* ---------- 監視カメラの画面のように並べる人たち（chara.cams・実写の作品・2026-12-01） ---------- */
.cams { max-width: 1180px; margin: 0 auto; }
.cam-main { max-width: 980px; margin: 0 auto; display: grid; grid-template-columns: minmax(0, 340px) 1fr; gap: clamp(24px, 4vw, 56px); align-items: center; }
.cam-main__img { position: relative; margin: 0; aspect-ratio: 3 / 4; overflow: hidden; border-radius: 6px; border: 1px solid rgba(201, 164, 92, .35); background: #000; box-shadow: var(--shadow); }
.cam-main__img img { width: 100%; height: 100%; object-fit: cover; }
.cam-main__img::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: repeating-linear-gradient(0deg, rgba(0, 0, 0, .12) 0 1px, transparent 1px 3px); }
.cam-main__no { position: absolute; left: 12px; top: 10px; z-index: 1; font: 600 12px/1 Consolas, "Courier New", monospace; letter-spacing: .12em; color: #fff; text-shadow: 0 1px 3px #000; }
.cam-rec { position: absolute; right: 10px; top: 9px; z-index: 1; display: flex; align-items: center; gap: 5px; font: 700 11px/1 Consolas, "Courier New", monospace; letter-spacing: .1em; color: #fff; text-shadow: 0 1px 3px #000; }
.cam-rec::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #FF3B3B; box-shadow: 0 0 6px #FF3B3B; animation: cam-rec 1.6s steps(1) infinite; }
@keyframes cam-rec { 50% { opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .cam-rec::before { animation: none; } }
.cam-main__en { font: 600 12px/1 var(--f-en); letter-spacing: .4em; color: var(--gold-hi); }
.cam-main__place { margin-top: 12px; font: 800 clamp(28px, 3vw, 38px)/1.3 var(--f-mincho); letter-spacing: .1em; }
.cam-main__place small { display: block; margin-top: 6px; font: 700 15px/1.5 var(--f-goth); letter-spacing: .12em; color: #E58AA5; }
.cam-main__text { margin-top: 18px; font-size: 15px; line-height: 2; color: var(--ink-soft); }
.cams__head { margin: clamp(56px, 7vw, 90px) auto 22px; text-align: center; white-space: pre-line; font: 700 clamp(16px, 1.6vw, 19px)/1.6 var(--f-mincho); letter-spacing: .14em; color: var(--gold-hi); }
.cams__grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 12px; }
.cam { background: #0B0609; border: 1px solid rgba(201, 164, 92, .2); border-radius: 4px; overflow: hidden; }
.cam__img { position: relative; margin: 0; aspect-ratio: 299 / 206; background: #000; }
.cam__img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.cam .cam-rec { top: 7px; right: 7px; font-size: 9px; }
.cam .cam-rec::before { width: 6px; height: 6px; }
.cam__place { padding: 9px 10px 0; font: 700 13px/1.4 var(--f-goth); letter-spacing: .04em; }
.cam__role { padding: 2px 10px 11px; font-size: 11px; color: var(--ink-soft); }
.cam--none { border-style: dashed; background: transparent; }
.cam--none .cam__img { height: 100%; aspect-ratio: auto; min-height: 100%; display: grid; place-items: center; background: transparent; }
.cam--none span { font: 600 11px/1 Consolas, "Courier New", monospace; letter-spacing: .3em; color: rgba(243, 233, 228, .3); }
.cams__note { margin-top: 18px; text-align: center; font-size: 12px; color: var(--ink-soft); }
@media (max-width: 900px) {
  .cam-main { grid-template-columns: 1fr; }
  .cam-main__img { width: 100%; max-width: 340px; margin: 0 auto; }
  .cam-main__body { text-align: center; }
  .cams__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 600px) {
  .cams__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .cam-main__text { font-size: 14px; }
}

/* ---------- H の静止画を 16:9 で並べる（hscene.wide）・段ごとの 1 行の数（data-cols） ---------- */
.hscene--wide { --hs-cols: 3; }
/* 横長の絵は切らずにそのままの縦横で（絵の左上の CAM の番号が切れない）。同じ段の絵は同じ大きさ */
.hscene--wide .hs__media { aspect-ratio: auto; }
.hscene--wide .hs__media img { display: block; height: auto; }
.hscene[data-cols="1"] { --hs-cols: 1; max-width: 1000px; }
.hscene[data-cols="2"] { --hs-cols: 2; max-width: 1080px; }
@media (max-width: 900px) {
  .hscene--wide { --hs-cols: 2; }
}
@media (max-width: 600px) {
  .hscene--wide { --hs-cols: 1; }
  .hscene--wide[data-cols="2"] { --hs-cols: 1; }
}

/* 実写の作品：発売情報の絵は写真＝角を丸める */
body.is-real .buy__chara img { border-radius: 8px; }
