/*
  色は「なっちゃん手帳講座」の丸いアイコンが手本：
  生成りの光 ／ ピンク ／ ラベンダー ／ 赤紫 ／ 金
  画像は Codex の画像生成で作成：FV img/cover.jpg（丸いアイコンを参考にした人物・手帳・文字入り）と、背景 img/page.jpg。
*/
:root {
  --plum: #54104f;
  --magenta: #8f2a7d;
  --text: #4c2149;
  --muted: #7c5676;
  --gold: #8f621b;
  --gold-line: #d8ac5f;
  --card: rgba(255, 255, 255, .72);
}

* { box-sizing: border-box; }
body {
  margin: 0;
  font-family: "Zen Maru Gothic", "Hiragino Maru Gothic ProN", "Hiragino Sans", sans-serif;
  font-weight: 500;
  color: var(--text);
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
}
/* ページ全体のキラキラ背景（スマホでも固定されるように、別の層にする） */
body::before { content: ""; position: fixed; inset: 0; z-index: -1; background: #fbe8f1 url("img/page.jpg") center / cover no-repeat; }
a { color: var(--magenta); }
a:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
/* 大きい見出しだけ硬めの明朝。それ以外の小さい文字は丸ゴシック */
.heading, .rec h3 { font-family: "Noto Serif JP", "Hiragino Mincho ProN", "Yu Mincho", serif; }
.wrap { width: min(760px, 100% - 28px); margin-inline: auto; }

/* FV：囲まず、画面の横幅いっぱいに。画像は切らずに全体を見せる */
.fv { position: relative; isolation: isolate; margin: 0; overflow: hidden; -webkit-mask-image: linear-gradient(#000 93%, transparent); mask-image: linear-gradient(#000 93%, transparent); }
/* 横長の画面で左右があくときは、同じ画像のぼかしで埋める */
.fv::before { content: ""; position: absolute; inset: -40px; z-index: -1; background: url("img/cover.jpg") center / cover; filter: blur(28px); }
.fv img { display: block; width: 100%; max-width: min(1536px, 150vh); height: auto; margin-inline: auto; }
@media (min-aspect-ratio: 3 / 2) {
  .fv img { -webkit-mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent); mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent); }
}
.cover-sub { display: flex; align-items: center; justify-content: center; gap: 10px; margin: 10px 0 0; font-size: .95rem; font-weight: 700; letter-spacing: .1em; color: var(--gold); }
.cover-sub::before, .cover-sub::after { content: ""; width: 26px; height: 1px; background: var(--gold-line); }

/* 見出し */
.heading { display: flex; align-items: center; gap: 14px; margin: 28px 0 24px; font-size: 1.14rem; font-weight: 600; white-space: nowrap; color: var(--plum); }
.heading::before, .heading::after { content: ""; flex: 1; height: 1px; background: linear-gradient(90deg, transparent, var(--gold-line)); }
.heading::after { transform: scaleX(-1); }
.heading span { display: flex; align-items: center; gap: 12px; letter-spacing: .18em; }
.heading span::before, .heading span::after { content: "✦"; font-size: .8rem; letter-spacing: 0; color: var(--gold-line); }

/* 録画 */
.rec { margin-bottom: 24px; padding: 18px; background: var(--card); border: 1px solid rgba(216, 172, 95, .55); border-radius: 18px; box-shadow: 0 14px 32px rgba(143, 76, 150, .13); }
.rec-head { margin-bottom: 12px; }
.rec-date { display: flex; align-items: baseline; flex-wrap: wrap; gap: 8px; margin: 0; font-size: .82rem; line-height: 1.4; color: var(--gold); }
.rec-date .rec-day { font-size: 1rem; font-weight: 700; letter-spacing: .04em; }
.rec h3 { margin: 4px 0 0; font-size: 1.28rem; font-weight: 800; line-height: 1.6; letter-spacing: .05em; color: var(--plum); }
.player { position: relative; aspect-ratio: 16 / 9; overflow: hidden; border-radius: 12px; background: linear-gradient(135deg, #d8c7f1 0%, #efccE2 48%, #fbdde0 76%, #fdeee4 100%); }
.player iframe { display: block; width: 100%; height: 100%; border: 0; }
.player-empty { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; height: 100%; margin: 0; font-size: .92rem; font-weight: 700; letter-spacing: .08em; color: var(--plum); }
.player-empty::before { content: "✦"; font-size: 1.5rem; line-height: 1; color: #fff; text-shadow: 0 0 10px #d8ac5f, 0 0 3px #d8ac5f; }
.rec-link { margin: 8px 0 0; text-align: right; font-size: .84rem; font-weight: 700; }

footer { padding: 18px 18px 40px; text-align: center; font-size: .76rem; color: var(--muted); }
footer p { margin: 0; }

@media (max-width: 600px) {
  .heading { margin: 22px 0 18px; font-size: 1.04rem; }
  .heading span { gap: 8px; letter-spacing: .12em; }
  .rec { margin-bottom: 18px; padding: 14px; }
  .rec h3 { font-size: 1.14rem; }
}
