* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  background: #000 url(../images/background.jpg) center top / cover fixed no-repeat;
  color: #fff;
  font-family: "Noto Sans JP", YuGothic, "Yu Gothic", "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
  font-size: 17px;
  line-height: 1.9;
}
img { display: block; width: 100%; height: auto; }

.page { width: 100%; max-width: 680px; margin: 0 auto; background: #0f0f0f; }

/* セクション */
.sec { padding: 34px 20px 38px; }
.sec + .sec { border-top: 1px solid #333; }
.sec p { margin-top: 1em; }
.sec .pic { margin-top: 22px; border: 2px solid #911a09; }

/* 見出し（帯をやめて、落ち着いた明朝の金文字に） */
.title {
  padding: 6px 0;
  color: #c6b582;
  font-family: "Noto Serif JP", serif;
  font-size: 30px;
  font-weight: 700;
  letter-spacing: .1em;
  line-height: 1.5;
  text-align: center;
}

/* 赤枠 */
.box { margin-top: 22px; padding: 20px 18px; border: 2px solid #ea384d; background: #61000a; }
.box p:first-child { margin-top: 0; }
.box-label { color: #c6b582; font-family: "Noto Serif JP", serif; font-weight: 700; letter-spacing: .1em; }

.say { margin-top: 1em; color: #c6b582; font-family: "Noto Serif JP", serif; font-size: 20px; font-weight: 700; line-height: 1.6; }

/* 全3話 */
.ep { margin-top: 22px; border: 2px solid #911a09; }
.ep-head { display: flex; justify-content: space-between; padding: 6px 14px; background: #911a09; font-weight: 700; }
.ep-name { padding: 12px 14px 0; color: #c6b582; font-family: "Noto Serif JP", serif; font-size: 30px; font-weight: 700; letter-spacing: .1em; line-height: 1.3; }
.ep-text { padding: 6px 14px 4px; margin-top: 0 !important; }
.ep-soon { padding: 0 14px 12px; color: #888; font-size: 14px; }

/* 登録 */
.cta { background: #000; text-align: center; }
.cta-copy { color: #c6b582; font-family: "Noto Serif JP", serif; font-size: 25px; font-weight: 700; line-height: 1.45; }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 18px; border: 2px solid #ea384d; text-align: center; }
.steps div { padding: 10px 4px; }
.steps div + div { border-left: 1px solid #911a09; }
.steps b { display: block; color: #c6b582; font-family: "Vollkorn SC", serif; font-size: 16px; line-height: 1.5; }
.steps span { display: block; margin-top: 4px; font-size: 15px; line-height: 1.5; }
form { margin-top: 18px; }
input[type="email"] {
  display: block; width: 100%; padding: 16px 14px;
  border: 3px solid #ffd700; border-radius: 0; background: #fffce3;
  color: #000; font-size: 18px; font-family: inherit;
}
.btn {
  display: block; width: 100%; margin-top: 12px; padding: 18px 8px;
  border: 0; border-bottom: 5px solid #61000a; border-radius: 4px;
  background: #d71920; color: #fff;
  font-family: inherit; font-size: 22px; font-weight: 900; line-height: 1.3; cursor: pointer;
}
.micro { margin-top: 12px !important; color: #bbb; font-size: 13px; line-height: 1.7; }

/* 動画 */
.player { position: relative; width: 100%; aspect-ratio: 16 / 9; background: #000; }
.player iframe, .player-target { position: absolute; inset: 0; width: 100%; height: 100%; }
.custom-overlay {
  position: absolute; inset: 0; z-index: 2; cursor: pointer;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px;
  background: rgba(0, 0, 0, .25);
}
.custom-overlay.is-hidden { display: none; }
.center-play { width: 76px; height: 54px; border: 0; border-radius: 8px; background: #d71920; cursor: pointer; position: relative; }
.center-play::after {
  content: ""; position: absolute; left: 30px; top: 15px;
  border-style: solid; border-width: 12px 0 12px 20px; border-color: transparent transparent transparent #fff;
}
.ov-cap { padding: 2px 10px; background: rgba(0, 0, 0, .75); font-size: 14px; font-weight: 700; }

/* フッター */
footer { padding: 26px 20px 34px; background: #000; color: #888; font-size: 13px; line-height: 1.8; }
footer p + p { margin-top: 6px; }
.links { margin: 10px 0; }
.links a { display: inline-block; margin-right: 14px; color: #bbb; }

@media (max-width: 480px) {
  body { font-size: 16px; }
  .title { font-size: 24px; }
  .cta-copy { font-size: 22px; }
  .btn { font-size: 19px; }
  .steps b { font-size: 13px; }
  .steps span { font-size: 12px; }
}

/* 透過画像の黒文字が背景に沈まないように */
#preorder > img { background: #fff; }

/* 画像を小さく */
.pic-wide { aspect-ratio: 16 / 7; overflow: hidden; }
.pic-wide img { width: 100%; height: 100%; object-fit: cover; object-position: center 35%; }
.cast-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 22px; }
.cast-grid .pic { margin-top: 0; }
@media (max-width: 480px) {
  .cast-grid { grid-template-columns: 1fr; }
}

/* 金文字（キングダム公式の文字に寄せる）。1行ごとに同じ光り方になるよう、行の高さでグラデーションを繰り返す */
.title, .ep-name, .cta-copy, .say, .box-label, .steps b {
  background-image: linear-gradient(180deg, #fff6c4 0%, #efd27a 28%, #c79a3f 50%, #8f6a24 56%, #e6c766 74%, #fff0b0 88%, #b98c35 100%);
  background-size: 100% var(--lh);
  background-repeat: repeat-y;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
  font-family: "Noto Serif JP", serif;
  font-weight: 900;
  line-height: var(--lh);
  filter: drop-shadow(0 1px 1px rgba(0, 0, 0, .9));
}
.title { --lh: 1.5em; padding: 0; margin: 6px 0; }
.ep-name { --lh: 1.3em; margin: 12px 14px 0; padding: 0; }
.cta-copy { --lh: 1.45em; }
.say { --lh: 1.6em; }
.box-label { --lh: 1.9em; }
.steps b { --lh: 1.5em; font-family: "Vollkorn SC", "Noto Serif JP", serif; font-weight: 600; }

/* エピソードの画像（2026-11-06 本人指示「各エピソードには画像を付けたい」） */
.ep-pic { aspect-ratio: 16 / 9; overflow: hidden; border-bottom: 2px solid #911a09; }
.ep-pic img { display: block; width: 100%; height: 100%; object-fit: cover; }

/* 動画は募集型と同じ yt-player.js（2026-11-06）。予告編の四角い見た目に合わせて角は丸めない */
.yt-slot .lpv-video-shell { border-radius: 0; }

/* CTAボタンのぶるぶる。募集型LPの bururi と同じ動き（2026-11-06 本人指示「CTAをぶるぶるさせたい。これは予告編LP全部」） */
.btn { animation: bururi 1s infinite; }
@keyframes bururi {
  50% { transform: scale(1, 1); }
  52% { transform: scale(.98, .95); }
  54% { transform: scale(1, 1); }
  56% { transform: scale(.98, .95); }
  58% { transform: scale(1, 1); }
  60% { transform: scale(.98, .95); }
}
@media (prefers-reduced-motion: reduce) { .btn { animation: none; } }
