/* ES Telop Station 製品ページ
   ・エディステLP と同じ配色（濃紺＋シアン）にして、ブランドの一員に見えるようにする
   ・主役はスクリーンショット。装飾は足さない
   ・ダークのみ。メールと違い、ここは自前の配色で通す */

:root {
  --bg: #0a0e17;
  --bg-alt: #111827;
  --card: rgba(17, 24, 39, 0.72);
  --line: rgba(0, 212, 255, 0.18);
  --line-soft: rgba(255, 255, 255, 0.08);
  --text: #e6ecf5;
  --text-soft: #a8b4c6;
  --muted: #6b7a90;
  --accent: #00d4ff;
  --accent-deep: #0891b2;
  --pop: #ff5b8a; /* 製品ロゴのピンクに合わせたアクセント */
  --max: 1080px;
  --r: 14px;
  --font: "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Yu Gothic UI", "Yu Gothic",
    Meiryo, "Segoe UI", system-ui, sans-serif;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 17.5px;
  line-height: 1.95;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }

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

/* ============================ ヘッダ */
.head {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(10, 14, 23, 0.82);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line-soft);
}
.head .inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 0;
}
.head .home {
  font-size: 16px;
  color: var(--text-soft);
  text-decoration: none;
  letter-spacing: 0.04em;
}
.head .home:hover { color: var(--accent); }
.head .name { font-size: 16px; font-weight: 700; letter-spacing: 0.06em; }

/* ============================ ボタン */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
  transition: background 0.2s, border-color 0.2s, transform 0.2s;
}
.btn.primary { background: var(--accent-deep); color: #fff; }
.btn.primary:hover { background: #0aa2c4; transform: translateY(-1px); }
.btn.ghost { border: 1px solid var(--line); color: var(--text); }
.btn.ghost:hover { border-color: var(--accent); color: var(--accent); }
.btn.small { padding: 10px 19px; font-size: 15px; }

/* ============================ ヒーロー */
.hero {
  padding: clamp(48px, 8vw, 90px) 0 clamp(40px, 6vw, 64px);
  background:
    radial-gradient(900px 420px at 50% -10%, rgba(0, 212, 255, 0.13), transparent 70%),
    radial-gradient(700px 400px at 85% 10%, rgba(255, 91, 138, 0.09), transparent 70%);
  text-align: center;
}
.eyebrow {
  font-size: 14px;
  letter-spacing: 0.22em;
  color: var(--accent);
  margin: 0 0 18px;
}
.hero h1 {
  margin: 0 0 22px;
  font-size: clamp(30px, 5.6vw, 52px);
  line-height: 1.45;
  letter-spacing: -0.01em;
}
.hero h1 .mark {
  background: linear-gradient(transparent 66%, rgba(0, 212, 255, 0.28) 66%);
}
.hero .lede {
  margin: 0 auto 34px;
  max-width: 700px;
  color: var(--text-soft);
  font-size: clamp(18px, 2.3vw, 21px);
}
.hero .cta { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.hero .shot { margin-top: clamp(34px, 5vw, 52px); }

.shot {
  border: 1px solid var(--line);
  border-radius: var(--r);
  overflow: hidden;
  background: var(--bg-alt);
  box-shadow: 0 22px 60px rgba(0, 0, 0, 0.5);
}
.shot figcaption {
  padding: 13px 18px;
  font-size: 17px;
  color: var(--muted);
  border-top: 1px solid var(--line-soft);
  background: rgba(0, 0, 0, 0.24);
}

/* ============================ セクション */
.sec { padding: clamp(52px, 8vw, 86px) 0; }
.sec--alt { background: rgba(17, 24, 39, 0.42); border-block: 1px solid var(--line-soft); }

.sec-title {
  margin: 0 0 14px;
  font-size: clamp(23px, 3.7vw, 33px);
  line-height: 1.5;
  text-align: center;
}
.sec-lede {
  margin: 0 auto clamp(32px, 5vw, 46px);
  max-width: 720px;
  text-align: center;
  color: var(--text-soft);
  font-size: 18px;
}

/* ============================ 悩み */
.pains { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px; }
.pain {
  padding: 24px 24px 26px;
  border: 1px solid var(--line-soft);
  border-radius: var(--r);
  background: var(--card);
}
.pain .q { font-size: 18px; color: var(--pop); font-weight: 700; margin: 0 0 8px; }
.pain p { margin: 0; font-size: 17px; color: var(--text-soft); line-height: 1.9; }

/* ============================ 特長ブロック */
.feat { display: grid; gap: clamp(28px, 4vw, 44px); }
.feat + .feat { margin-top: clamp(52px, 7vw, 78px); }
.feat h3 {
  margin: 0 0 12px;
  font-size: clamp(21px, 2.9vw, 27px);
  line-height: 1.55;
}
/* ★番号は「読ませる文字」ではなく飾り。中抜きにして見出しの背後へ置く
   （ES スクリプトのLPと同じ考え方。数字の大きさはこのページの見出しに合わせてある） */
.feat-head {
  position: relative;
  margin: 0 0 clamp(26px, 3.6vw, 40px);
}
.feat-head .fnum {
  position: absolute;
  left: clamp(-6px, -0.6vw, -2px);
  top: 50%;
  transform: translateY(-64%);
  z-index: 0;
  font-size: clamp(58px, 7vw, 100px);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.05em;
  color: transparent;
  -webkit-text-stroke: 1.5px rgba(0, 212, 255, 0.34);
  pointer-events: none;
  user-select: none;
}
.feat-head h3 {
  position: relative;
  z-index: 1;
  margin: 0;
  padding-left: clamp(30px, 3.8vw, 52px);
}
/* ヒーローの見出しと同じハイライト */
.feat-head h3 .mark {
  padding: 0 2px;
  background: linear-gradient(transparent 66%, rgba(0, 212, 255, 0.28) 66%);
}
.feat p { margin: 0 0 18px; color: var(--text-soft); font-size: 18px; }

.tags { display: flex; flex-wrap: wrap; gap: 7px; margin: 0; padding: 0; list-style: none; }
.tags li {
  padding: 5px 11px;
  border-radius: 6px;
  background: rgba(0, 212, 255, 0.08);
  border: 1px solid var(--line);
  font-size: 16px;
  color: var(--text-soft);
}

/* ============================ 機能一覧 */
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 14px; }
.cell {
  padding: 20px 22px;
  border: 1px solid var(--line-soft);
  border-radius: 12px;
  background: var(--card);
}
.cell h3 { margin: 0 0 8px; font-size: 19.5px; }
.cell p { margin: 0; font-size: 18px; color: var(--text-soft); line-height: 1.85; }

/* ============================ 動作環境・表 */
.tbl { width: 100%; border-collapse: collapse; font-size: 18px; }
.tbl th, .tbl td {
  padding: 14px 4px;
  border-bottom: 1px solid var(--line-soft);
  text-align: left;
  vertical-align: top;
}
.tbl th { width: 32%; color: var(--text-soft); font-weight: 600; white-space: nowrap; }

/* ============================ 価格 */
.price {
  max-width: 460px;
  margin: 0 auto;
  padding: 32px 30px;
  border: 1px solid var(--line);
  border-radius: var(--r);
  background: var(--card);
  text-align: center;
}
.price .amount { font-size: clamp(30px, 5vw, 40px); font-weight: 700; letter-spacing: -0.01em; }
.price .amount small { font-size: 15px; font-weight: 600; color: var(--text-soft); margin-left: 4px; }
.price .note { margin: 10px 0 22px; font-size: 17px; color: var(--text-soft); }

/* ★未確定の値を目立たせる（決まったら .todo ごと消す） */
.todo {
  display: inline-block;
  padding: 1px 8px;
  border-radius: 5px;
  background: rgba(255, 91, 138, 0.16);
  border: 1px dashed rgba(255, 91, 138, 0.6);
  color: #ff8fb0;
  font-size: 0.82em;
  font-weight: 700;
}

/* ============================ FAQ */
.faq { border-top: 1px solid var(--line-soft); }
.faq details { border-bottom: 1px solid var(--line-soft); }
.faq summary {
  padding: 21px 36px 21px 2px;
  font-size: 18px;
  font-weight: 600;
  cursor: pointer;
  position: relative;
  list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "＋";
  position: absolute;
  right: 4px;
  color: var(--accent);
  font-weight: 400;
}
.faq details[open] summary::after { content: "－"; }
.faq .a { padding: 0 0 22px; margin: 0; color: var(--text-soft); font-size: 18px; }

/* ============================ 締め */
.close { text-align: center; }
.close .cta { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-top: 26px; }

/* ============================ フッタ */
.foot {
  padding: 30px 0 36px;
  border-top: 1px solid var(--line-soft);
  text-align: center;
  font-size: 15.5px;
  color: var(--muted);
  line-height: 2;
}
.foot a { color: inherit; text-decoration: underline; text-underline-offset: 0.2em; }
.foot a:hover { color: var(--accent); }
.foot .sep { opacity: 0.45; margin: 0 7px; }

@media (max-width: 640px) {
  .head .name { display: none; }
  .price { padding: 26px 20px; }
}

/* ============================ 作例ギャラリー（ヒーロー直下）
   ★素材は透過PNGで、文字が画面の一部にしか無いものが多い。
     小さく並べると空白だらけに見えるので、1枚を大きく取り、
     16:9 の枠に contain で収めて高さを揃える。 */
.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 14px;
}
.gallery figure {
  margin: 0;
  aspect-ratio: 16 / 9;
  border-radius: 10px;
  border: 1px solid var(--line-soft);
  background: #05070c;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.gallery img { width: 100%; height: 100%; object-fit: contain; }
/* ============================ Before / After */
.vs { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; align-items: start; }
.vs figure { margin: 0; }
.vs img { width: 100%; border-radius: 10px; border: 1px solid var(--line-soft); }
.vs .cap {
  display: flex; align-items: center; gap: 9px;
  margin: 0 0 10px; font-size: 16.5px; font-weight: 700;
}
.vs .badge {
  padding: 3px 11px; border-radius: 999px;
  font-size: 12.5px; font-weight: 700; letter-spacing: 0.04em;
}
.vs .badge.before { background: rgba(255, 255, 255, 0.09); color: var(--text-soft); }
.vs .badge.after { background: rgba(0, 212, 255, 0.16); color: var(--accent); }
.vs .memo { margin: 10px 0 0; font-size: 16px; color: var(--text-soft); line-height: 1.85; }

/* ============================ 「複数」バッジ */
.multi {
  display: inline-block; margin-left: 4px;
  padding: 1px 7px; border-radius: 4px;
  background: rgba(0, 212, 255, 0.2); color: var(--accent);
  font-size: 13.5px; font-weight: 700; letter-spacing: 0.03em;
  vertical-align: 1px;
}
.tags-note { margin: 12px 0 0; font-size: 15px; color: var(--muted); }

@media (max-width: 720px) {
  .vs { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); }
}

/* ============================ 購入ボタン（STORES / BOOTH） */
.shops { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.shops .shop { min-width: 132px; letter-spacing: 0.04em; }
/* ★販売ページが未開設のあいだは押せないことを見た目で示す。
   開設したら aria-disabled を外すだけで通常のボタンに戻る */
.shops .shop[aria-disabled="true"] {
  opacity: 0.55;
  cursor: not-allowed;
  pointer-events: none;
}
.shops-note { margin: 14px 0 0; font-size: 14.5px; }

/* ==========================================================================
   動き（motion.js と対になっている）
   ★JS が動かないときは何も起きない＝ページはそのまま読める
   ★「視差効果を減らす」設定の人には動かさない
   ========================================================================== */

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
/* スクロールで飛んだとき、固定ヘッダーの下に隠れないようにする */
[id] { scroll-margin-top: 84px; }

/* ---- 出現 ---- */
.js .reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.55s cubic-bezier(0.22, 0.7, 0.3, 1),
    transform 0.55s cubic-bezier(0.22, 0.7, 0.3, 1);
  will-change: opacity, transform;
}
.js .reveal.is-in { opacity: 1; transform: none; }
.no-motion .reveal { opacity: 1 !important; transform: none !important; transition: none; }

/* ---- ヘッダー ---- */
.head { transition: box-shadow 0.25s, background 0.25s; }
.head.is-scrolled {
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.45);
  background: rgba(10, 14, 23, 0.94);
}

/* ---- 作例のホバー ---- */
.gallery figure { transition: transform 0.25s, border-color 0.25s; }
.gallery figure:hover { transform: translateY(-3px); border-color: var(--line); }
.no-motion .gallery figure:hover { transform: none; }

/* ==================================== 比較スライダー */
.cmp { max-width: 900px; margin: 0 auto; }
.cmp-stage {
  position: relative;
  border-radius: var(--r);
  overflow: hidden;
  border: 1px solid var(--line);
  background: #000;
  cursor: ew-resize;
  user-select: none;
  touch-action: pan-y;
  line-height: 0;
}
.cmp-stage img { width: 100%; display: block; pointer-events: none; }
/* 土台がテロステ。その上に Premiere を重ね、幅を変えて左から見せる */
.cmp-clip {
  position: absolute;
  inset: 0;
  width: 50%;
  overflow: hidden;
}
.cmp-clip img { width: auto; height: 100%; max-width: none; }
.cmp-stage:not(.is-dragging) .cmp-clip,
.cmp-stage:not(.is-dragging) .cmp-handle { transition: width 0.08s linear, left 0.08s linear; }
.cmp-stage.is-hinting .cmp-clip,
.cmp-stage.is-hinting .cmp-handle { transition: none; }

.cmp-handle {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 3px;
  margin-left: -1.5px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 0 14px rgba(0, 0, 0, 0.6);
  cursor: ew-resize;
}
.cmp-handle:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.cmp-grip {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 42px;
  height: 42px;
  margin: -21px 0 0 -21px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.55);
  display: grid;
  place-items: center;
}
.cmp-grip::before {
  content: "◀ ▶";
  font-size: 11px;
  letter-spacing: -1px;
  color: #0a0e17;
  line-height: 1;
}

.cmp-tag {
  position: absolute;
  top: 14px;
  padding: 5px 12px;
  border-radius: 999px;
  font-size: 13.5px;
  font-weight: 700;
  line-height: 1.6;
  backdrop-filter: blur(6px);
  pointer-events: none;
}
.cmp-tag-l { left: 14px; background: rgba(0, 0, 0, 0.55); color: #e6ecf5; }
.cmp-tag-r { right: 14px; background: rgba(0, 212, 255, 0.24); color: #d6f6ff; }

.cmp-memos {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin-top: 18px;
}
.cmp-memo { margin: 0; font-size: 16px; color: var(--text-soft); line-height: 1.85; }

@media (max-width: 720px) {
  .cmp-memos { grid-template-columns: 1fr; gap: 10px; }
  .cmp-grip { width: 36px; height: 36px; margin: -18px 0 0 -18px; }
}

/* ==================================== 作例を大きく見る */
.lb {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: grid;
  place-items: center;
  padding: 4vmin;
  background: rgba(4, 6, 11, 0.92);
  backdrop-filter: blur(4px);
}
.lb[hidden] { display: none; }
.lb-img {
  max-width: 100%;
  max-height: 92vh;
  border-radius: 10px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.7);
}
.lb-close {
  position: absolute;
  top: 16px;
  right: 20px;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line-soft);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
}
.lb-close:hover { background: rgba(255, 255, 255, 0.16); }

/* ==========================================================================
   制作の流れ（スクロール連動）
   ・.bld-track に高さを持たせ、中の .bld-stage を sticky で貼り付ける
   ・スクロール量に応じて motion.js が .is-on を差し替える
   ・JS が動かないときは 1枚目だけが見える＝ただの静止画として成立する
   ========================================================================== */
.bld-track { position: relative; height: 460vh; }
.bld-stage {
  position: sticky;
  top: 0;
  height: 100vh;
  display: flex;
  align-items: center;
}
.bld-inner {
  display: grid;
  grid-template-columns: 1fr 260px;
  gap: clamp(20px, 3vw, 40px);
  align-items: center;
  width: 100%;
}

/* ---- 画面（10枚を重ねて、1枚だけ表示する） ---- */
.bld-frame {
  position: relative;
  aspect-ratio: 1200 / 741;
  border-radius: var(--r);
  overflow: hidden;
  border: 1px solid var(--line);
  background: #05070c;
  box-shadow: 0 22px 60px rgba(0, 0, 0, 0.55);
}
.bld-shot {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.22s linear;
}
.bld-shot.is-on { opacity: 1; }

/* ---- 右の手順 ---- */
.bld-steps { list-style: none; margin: 0 0 22px; padding: 0; }
.bld-step {
  display: flex;
  align-items: baseline;
  gap: 10px;
  padding: 5px 0;
  font-size: 16px;
  color: var(--muted);
  transition: color 0.2s;
}
.bld-no {
  font-size: 14px;
  letter-spacing: 0.06em;
  color: rgba(255, 255, 255, 0.28);
  transition: color 0.2s;
}
.bld-step.is-on { color: var(--text); font-weight: 700; }
.bld-step.is-on .bld-no { color: var(--accent); }
.bld-step.is-done { color: var(--text-soft); }

.bld-notes { position: relative; min-height: 92px; }
.bld-note {
  position: absolute;
  inset: 0;
  margin: 0;
  font-size: 17px;
  line-height: 1.85;
  color: var(--text-soft);
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.25s, transform 0.25s;
  pointer-events: none;
}
.bld-note.is-on { opacity: 1; transform: none; }
.bld-note strong { color: var(--text); font-size: 17px; }

.bld-bar {
  height: 3px;
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.1);
  overflow: hidden;
  margin-top: 18px;
}
.bld-bar-fill {
  display: block;
  height: 100%;
  width: 0;
  background: var(--accent);
  transition: width 0.15s linear;
}

/* 出現アニメの対象から外す（sticky と喧嘩するため） */
.bld-track .reveal { opacity: 1 !important; transform: none !important; }

@media (max-width: 860px) {
  .bld-track { height: 420vh; }
  .bld-inner { grid-template-columns: 1fr; gap: 18px; }
  .bld-stage { align-items: flex-start; padding-top: 84px; height: 100vh; }
  .bld-steps { display: none; } /* 縦に長くなるので、スマホでは説明文だけ */
  .bld-notes { min-height: 76px; }
}

/* 動きを減らす設定のときは、貼り付けをやめて完成形だけ出す */
.no-motion .bld-track { height: auto; }
.no-motion .bld-stage { position: static; height: auto; }
.no-motion .bld-shot { opacity: 0; }
.no-motion .bld-shot:last-child { opacity: 1; position: relative; }
.no-motion .bld-note { position: relative; opacity: 1; transform: none; }
.no-motion .bld-notes { min-height: 0; display: grid; gap: 8px; }
.no-motion .bld-step { color: var(--text-soft); }

/* ==========================================================================
   制作の流れ：寸法の最終決定
   ★ここより後ろに .bld の寸法を書かないこと。継ぎ足すと順番で壊れる
   ★画像の大きさは「画面の高さ」と「使える幅から逆算した高さ」の小さい方。
     高さだけで決めると、幅が足りないときに潰れて画像が歪む
   ========================================================================== */
.bld-track .container { max-width: min(1800px, 94vw); }

/* ---- 横長の画面：画像の右に手順 ---- */
@media (min-width: 861px) {
  .bld-inner {
    grid-template-columns: minmax(0, 1fr) 290px;
    gap: clamp(20px, 3vw, 40px);
  }
  .bld-frame {
    height: min(66vh, calc((min(1800px, 94vw) - 380px) / 1.619));
    width: auto;
    max-width: 100%;
    margin-inline: auto;
  }
}

/* ---- 縦に長い画面（4K・縦置きモニタ）----
   横並びのままだと画像を大きくできず、上下がスカスカになる。
   手順を下へ回して、画像に幅を全部渡す */
@media (min-width: 861px) and (max-aspect-ratio: 3 / 2) {
  .bld-inner { grid-template-columns: 1fr; gap: 14px; }
  .bld-frame { height: min(54vh, calc((min(1800px, 94vw) - 44px) / 1.619)); }
  .bld-side { text-align: center; }
  .bld-steps {
    columns: 2;
    column-gap: 34px;
    max-width: 660px;
    margin: 0 auto 12px;
  }
  .bld-notes { min-height: 60px; }
  .bld-bar { max-width: 660px; margin-inline: auto; }
}

/* ---- 狭い画面：幅で決める ---- */
@media (max-width: 860px) {
  .bld-inner { grid-template-columns: 1fr; gap: 16px; }
  .bld-frame { height: auto; width: 100%; }
  .bld-steps { display: none; }
}

/* ---- レイアウトの土台（寸法とは別）----
   見出しも貼り付きの中に入れて縦に積む。外に出すと大きな空白ができる */
.bld { padding: 0; }
.bld-track { height: 280vh; }
.bld-stage {
  flex-direction: column;
  justify-content: center;
  gap: clamp(16px, 2.4vw, 26px);
}
.bld-head { text-align: center; }
.bld-head .sec-title { margin-bottom: 8px; }
.bld-head .sec-lede { margin-bottom: 0; }
@media (max-width: 860px) {
  .bld-track { height: 260vh; }
}

/* 縦積みで、かつ画面の高さが足りないとき（1024×768 など）は手順を省く。
   出したままだと中身が画面に収まらない */
@media (min-width: 861px) and (max-aspect-ratio: 3 / 2) and (max-height: 900px) {
  .bld-steps { display: none; }
}

/* 制作の流れの前後だけ、余白を詰める（貼り付き領域の余りと二重になるため） */
.hero:has(+ .bld) { padding-bottom: clamp(14px, 2.4vw, 28px); }
.bld + .sec { padding-top: clamp(28px, 4vw, 50px); }


/* ============================ ジャンル別スタイル一覧（2026-09-14） */
.genres {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 14px;
  margin-top: 26px;
}
.genre {
  margin: 0;
  border-radius: 10px;
  border: 1px solid var(--line-soft);
  background: #05070c;
  overflow: hidden;
  transition: transform 0.25s, border-color 0.25s;
}
.genre:hover { transform: translateY(-3px); border-color: var(--line); }
.no-motion .genre:hover { transform: none; }
.genre img { display: block; width: 100%; height: auto; cursor: zoom-in; }
.genre figcaption {
  display: flex;
  align-items: baseline;
  gap: 10px;
  padding: 12px 15px 14px;
  font-size: 17px;
  font-weight: 700;
}
.genre figcaption span {
  font-size: 15px;
  font-weight: 500;
  color: var(--muted);
  letter-spacing: 0.03em;
}
.genres-note {
  margin: 14px 0 0;
  font-size: 14.5px;
  line-height: 1.8;
  color: var(--muted);
  text-align: center;
}

/* ---- 拡大表示の前後送り（2026-09-14） */
.lb-img { max-height: 86vh; }
.lb-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  border: 1px solid var(--line-soft);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  font-size: 17px;
  line-height: 1;
  cursor: pointer;
}
.lb-nav:hover { background: rgba(255, 255, 255, 0.18); }
.lb-nav[hidden] { display: none; }
.lb-prev { left: 16px; }
.lb-next { right: 16px; }
.lb-cap {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 14px;
  margin: 0;
  text-align: center;
  font-size: 16px;
  font-weight: 700;
  color: #cfd8e6;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.85);
  pointer-events: none;
}
@media (max-width: 700px) {
  .lb-nav { width: 44px; height: 44px; font-size: 15px; }
  .lb-prev { left: 6px; }
  .lb-next { right: 6px; }
  .lb-cap { bottom: 6px; font-size: 13px; }
  .lb-img { max-height: 80vh; }
}

/* ---- 途中に置く導線（2026-09-14）
   18画面ぶんの長さに対して、CTAが最上部と最下部にしか無かったので中間に足した */
.cta--mid {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: clamp(30px, 4.4vw, 48px);
}
.close-note {
  margin: 14px auto 0;
  max-width: 620px;
  font-size: 16.5px;
  line-height: 1.9;
  color: var(--muted);
  text-align: center;
}

/* ---- 締めに戻した価格（2026-09-14） */
.close .price { margin: 26px auto 0; }
.price-sale {
  display: inline-block;
  margin: 0 0 12px;
  padding: 5px 14px;
  border-radius: 999px;
  background: rgba(255, 91, 138, 0.16);
  border: 1px solid rgba(255, 91, 138, 0.55);
  color: #ff9dbb;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.02em;
}
.price .amount { margin: 0; }
.price .amount del {
  margin-right: 10px;
  font-size: 0.62em;
  font-weight: 600;
  color: var(--muted);
  text-decoration-thickness: 2px;
}
