/* Music B.B. Japan — site styles */
:root {
  --bg: #000;
  --panel: #0b0b0d;
  --text: #fff;
  --muted: #b9b9c2;
  --cyan: #29a9e1;
  --yellow: #ffd21f;
  --pink: #e63684;
  --pink-dark: #990044;
  --red: #e60012;
  --paper: #fff;
  --ink: #1b1b22;
  --link-dark: #1f4e9a;
  --w: 820px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 56px; }
body {
  margin: 0;
  background: var(--bg) url("../img/bg_dot.png");
  color: var(--text);
  font-family: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Yu Gothic", Meiryo, sans-serif;
  line-height: 1.6;
  -webkit-text-size-adjust: 100%;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }

/* ---------- nav ---------- */
.gnav {
  position: sticky; top: 0; z-index: 10;
  max-width: var(--w); margin: 0 auto;
}
.gnav ul {
  display: grid; grid-template-columns: repeat(7, 1fr);
  list-style: none; margin: 0; padding: 0;
}
.gnav a {
  display: flex; align-items: center; justify-content: center;
  height: 44px; padding: 0 2px;
  background: linear-gradient(#f8f100, #ffae00);
  border-right: 1px solid rgba(0,0,0,.25);
  color: #fff; font-weight: 700; font-size: 14px; text-decoration: none;
  text-shadow: 0 1px 2px rgba(0,0,0,.45); white-space: nowrap;
}
.gnav a small { font-size: .7em; }
.gnav a:hover, .gnav a.is-current { background: linear-gradient(var(--pink), var(--pink-dark)); }
.gnav .yt a { background: var(--red); border-right: 0; }

/* ---------- layout ---------- */
.wrap { max-width: var(--w); margin: 0 auto; background: var(--panel); }

.hero .logo { margin: 0; position: relative; z-index: 1; }
.notice {
  margin: 0; padding: 10px 16px;
  background: var(--yellow); color: #000; font-weight: 700; text-align: center;
}
.navigator { position: relative; margin-top: -8%; }  /* ロゴとの隙間を詰める（ロゴの下の余白に重ねる） */
.navigator-text {
  position: absolute; left: 2.4%; top: 16%; width: 46%;
  text-shadow: 0 2px 6px rgba(0,0,0,.6);
}
.navigator-text p { margin: 0; line-height: 1.25; }
/* 名前などはシートを読み込んでから表示（古い名前が一瞬出ないように） */
.navigator-text { opacity: 0; transition: opacity .3s; }
.navigator-text.is-ready { opacity: 1; }
.nv-show { font-size: clamp(13px, 2.6vw, 21px); font-weight: 700; }
.nv-role { font-size: clamp(16px, 3.6vw, 30px); font-weight: 900; }
.nv-name { font-size: clamp(30px, 7.4vw, 60px); font-weight: 900; letter-spacing: .02em; padding-left: 14%; white-space: nowrap; }
.nv-sns { font-size: clamp(11px, 1.8vw, 14px); padding-left: 22%; margin-top: 4px !important; white-space: nowrap; }
.nv-sns a { color: #fff; }
.about { padding: 18px 16px; border-bottom: 1px solid #222; text-align: center; }
.about p { margin: 0; color: #e6e6ec; font-size: clamp(14px, 2.4vw, 16px); font-weight: 700; line-height: 1.8; }
.about p .ph { display: inline-block; }
@media (max-width: 480px) { .about p { font-size: min(14px, 3.7vw); } }
.about .about-en { color: var(--yellow); font-size: clamp(13px, 2.2vw, 15px); font-weight: 900; letter-spacing: .06em; margin-bottom: 4px; }

/* ---------- episodes ---------- */
.episode { padding: 0 0 28px; }
.sec-label {
  margin: 0; padding: 22px 20px 8px;
  font-size: 15px; font-weight: 700; color: var(--muted); letter-spacing: .05em;
}
.sec-label span {
  display: inline-block; margin-right: 10px; padding: 2px 10px;
  background: var(--pink); color: #fff; font-size: 12px; letter-spacing: .1em;
}
.ep-main-img { width: 100%; }
.ep-body { min-height: 60px; }
.ep-inner { padding: 4px 20px 0; }
.ep-no {
  margin: 4px 0 8px; color: var(--yellow);
  font-size: clamp(22px, 4.4vw, 30px); font-weight: 900; line-height: 1.3;
}
.corner { margin: 0 0 18px; }
.corner h3 {
  margin: 0; color: var(--cyan);
  font-size: clamp(19px, 3.6vw, 24px); font-weight: 900; line-height: 1.25;
}
.corner .desc { margin: 0 0 4px; color: var(--cyan); font-size: 11px; opacity: .9; }
.corner ul { list-style: none; margin: 0; padding: 0; }
.corner li { font-size: clamp(16px, 3vw, 18px); font-weight: 700; line-height: 1.55; }
.corner li a { text-decoration: none; border-bottom: 1px solid rgba(255,255,255,.35); }
.corner li a:hover { color: var(--yellow); border-color: var(--yellow); }
.corner .note { display: block; margin: 2px 0 0; font-size: 14px; font-weight: 700; }

.corner.is-showcase h3 { font-size: clamp(24px, 5vw, 34px); }
.showcase {
  display: grid; grid-template-columns: 1fr 1fr; gap: 10px;
  margin: 6px 0 8px;
}
.showcase img { width: 100%; }
.video { position: relative; aspect-ratio: 16 / 9; background: #000; }
.video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video-label { font-size: 12px; margin: 0 0 4px; }

.empty { padding: 8px 20px 0; color: var(--muted); }
.loading { padding: 8px 20px; color: var(--muted); }
.error { margin: 8px 20px; padding: 10px 14px; border: 1px solid #a33; color: #f99; font-size: 14px; }

/* ---------- X band ---------- */
.sns-band { padding: 18px 20px; background: #111; border-top: 1px solid #222; border-bottom: 1px solid #222; }
.btn-x {
  display: block; padding: 14px 16px; border-radius: 6px;
  background: #fff; color: #000; text-align: center; font-weight: 700; text-decoration: none;
}
.btn-x:hover { background: var(--yellow); }

/* ---------- network ---------- */
.network { background: var(--paper); color: var(--ink); }
.net-title { margin: 0; border-top: 6px solid #999; padding: 6px 0 0; }
.net-title img { width: 260px; }
.net-inner { padding: 16px 20px 28px; }
.net-note { margin: 0 0 14px; font-size: 12px; color: #555; }
.area-filter { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 18px; }
.area-filter button {
  font: inherit; font-size: 13px; font-weight: 700;
  padding: 6px 12px; border-radius: 999px; cursor: pointer;
  border: 1px solid #c8cbe0; background: #f3f4fa; color: var(--ink);
}
.area-filter button[aria-pressed="true"] { background: #23236b; border-color: #23236b; color: #fff; }
.day { margin: 0 0 18px; }
.day h3 {
  margin: 0 0 6px; padding: 4px 10px; font-size: 16px;
  background: #23236b; color: #fff; display: flex; justify-content: space-between; align-items: center;
}
.day h3 .today { font-size: 11px; background: var(--yellow); color: #000; padding: 1px 8px; border-radius: 999px; }
.day ul { list-style: none; margin: 0; padding: 0; }
.day li {
  display: grid; grid-template-columns: 1fr auto; gap: 2px 12px;
  padding: 8px 4px; border-bottom: 1px solid #e3e4ee;
}
.day li a { color: var(--link-dark); font-weight: 700; }
.day .area { grid-column: 1; font-size: 12px; color: #666; }
.day .time { grid-column: 2; grid-row: 1 / span 2; align-self: center; font-weight: 700; font-variant-numeric: tabular-nums; }
.day.is-empty { display: none; }

/* ---------- mail ---------- */
.mail { background: var(--paper); color: var(--ink); border-top: 6px solid #adadad; }
.mail-title { margin: 0; padding: 16px 20px; font-size: clamp(18px, 3.6vw, 24px); font-weight: 900; color: #555; border-bottom: 6px solid #adadad; }
.mail-body { padding: 20px; }
.mail-body iframe { width: 100%; min-height: 900px; border: 0; }
.btn-form {
  display: inline-block; padding: 12px 22px; border-radius: 6px;
  background: var(--pink); color: #fff; font-weight: 700; text-decoration: none;
}

/* ---------- privacy / footer ---------- */
.privacy { background: #adadad; color: #111; }
.privacy summary { padding: 12px 20px; text-align: center; cursor: pointer; font-weight: 700; color: #fff; }
.privacy-body { background: #fff; padding: 16px 20px; font-size: 13px; }
.privacy-body h3 { font-size: 14px; margin: 12px 0 4px; }
.privacy-body ul { padding-left: 1.2em; }
.privacy-body .sign { text-align: right; }
.footer {
  max-width: var(--w); margin: 0 auto; padding: 10px; text-align: center; font-size: 12px;
  background: linear-gradient(#6a5cff, #3a2ea8); color: #fff;
}

/* ---------- main image + PICK UP INTERVIEW overlay ---------- */
.ep-hero { position: relative; }
.hero-pick {
  position: absolute; top: 0; bottom: 0; width: 50%;
  display: flex; flex-direction: column; justify-content: center;
  padding: 0 4%;
}
.is-right .hero-pick { right: 0; text-align: right; background: linear-gradient(to left, rgba(0,0,0,.72) 30%, rgba(0,0,0,0)); }
.is-left .hero-pick { left: 0; text-align: left; background: linear-gradient(to right, rgba(0,0,0,.72) 30%, rgba(0,0,0,0)); }
.hero-pick .corner { margin: 0; text-shadow: 0 2px 8px rgba(0,0,0,.7); }
.hero-pick .corner h3 { font-size: clamp(18px, 3.8vw, 32px); }
.hero-pick .corner .desc { font-size: clamp(10px, 1.6vw, 13px); color: #fff; opacity: 1; }
.hero-pick .corner li { font-size: clamp(18px, 4.4vw, 38px); font-weight: 900; line-height: 1.3; }
@media (max-width: 480px) {
  /* スマホでも画像に重ねる（説明文は省いて、文字を小さく） */
  .hero-pick { width: 56%; padding: 0 3.5%; }
  .hero-pick .corner h3 { font-size: 13px; letter-spacing: 0; }
  .hero-pick .corner .desc { display: none; }
  .hero-pick .corner li { font-size: 19px; line-height: 1.25; }
  .hero-pick .corner li a { border-bottom-width: 1px; }
}

/* ---------- 来週の予告 ---------- */
.teaser {
  margin: 4px 20px 0; padding: 16px 18px 14px;
  border: 2px dashed rgba(255,255,255,.28); border-radius: 8px;
  background: rgba(255,255,255,.03);
}
.teaser-head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; margin-bottom: 10px; }
.teaser-no { color: var(--yellow); font-size: 20px; font-weight: 900; }
.teaser-date { color: #ddd; font-size: 14px; font-weight: 700; }
.teaser-count {
  margin-left: auto; padding: 2px 10px; border-radius: 999px;
  background: var(--pink); color: #fff; font-size: 12px; font-weight: 700;
}
.teaser-count b { font-size: 16px; margin: 0 2px; }
.teaser-body.has-img { display: grid; grid-template-columns: 38% 1fr; gap: 18px; align-items: start; }
.teaser-img { position: relative; border-radius: 6px; overflow: hidden; }
.teaser-img img { width: 100%; aspect-ratio: 410 / 300; object-fit: cover; filter: saturate(.85) brightness(.9); }
.teaser-img.is-left img { object-position: left center; }
.teaser-img.is-right img { object-position: right center; }
.teaser-img.is-center img { object-position: center; }
.teaser-img span {
  position: absolute; left: 8px; top: 8px; padding: 1px 8px;
  background: var(--pink); color: #fff; font-size: 11px; font-weight: 900; letter-spacing: .12em;
}
.teaser-body.has-img .teaser-list > div { grid-template-columns: 1fr; gap: 0; padding: 5px 0; }
.teaser-body.has-img .teaser-list dt { font-size: 12px; }
.teaser-list { margin: 0; }
.teaser-list > div {
  display: grid; grid-template-columns: 13em 1fr; gap: 12px;
  padding: 6px 0; border-bottom: 1px dotted rgba(255,255,255,.18); font-size: 14px;
}
.teaser-list dt { color: var(--cyan); font-weight: 700; }
.teaser-list dd { margin: 0; color: #eee; }
.teaser-list > .teaser-more { border-bottom: 0; }
.teaser-more dd { color: var(--muted); font-style: italic; }
.teaser-foot { margin: 12px 0 0; text-align: center; color: var(--muted); font-size: 13px; font-weight: 700; }
@media (max-width: 480px) {
  .teaser { margin: 4px 16px 0; padding: 14px; }
  .teaser-list > div { grid-template-columns: 1fr; gap: 0; }
  .teaser-body.has-img { grid-template-columns: 1fr; gap: 10px; }
  .teaser-list dt { font-size: 12px; }
  .teaser-count { margin-left: 0; }
}

/* ---------- small screens ---------- */
@media (max-width: 640px) {
  .gnav ul { grid-template-columns: repeat(4, 1fr); }
  .gnav a { height: 38px; font-size: 12px; border-bottom: 1px solid rgba(0,0,0,.2); }
  .gnav li:nth-child(n+5) a { height: 34px; }
  .gnav li.yt { grid-column: span 2; }
  html { scroll-padding-top: 80px; }
  .showcase { grid-template-columns: 1fr; }
  .ep-inner, .net-inner, .mail-body { padding-left: 16px; padding-right: 16px; }
}
