/* ============================================================
   ゲームの滝壺 公式サイト 共通スタイル
   配色: 淡い空色 × 滝の青 / アクセントにいちご赤(極小)
   ============================================================ */
:root {
  --bg: #EAF6FE;
  --surface: #FFFFFF;
  --ink: #10395C;
  --sub: #35597A;
  --faint: #7C9CB6;
  --primary: #1E7ED6;
  --primary-deep: #0E5AA8;
  --sky-1: #BFE5FB;
  --sky-2: #7CC4F2;
  --sky-3: #3D97E0;
  --cyan: #29B9D6;
  --berry: #E4484F;
  --accent: #EE5A3A;       /* 暖色アクセント(いちご・カニ系)。CTAと強調に1色だけ使う */
  --accent-deep: #D8462A;  /* リンク文字用に少し濃く */
  --band-soft: #F4FAFF;    /* セクション帯: ほぼ白 */
  --band-blue: #CDE6FB;    /* セクション帯: 水色 */
  --line: #D5E8F5;
  --radius: 16px;
  --shadow: 0 4px 20px rgba(30, 126, 214, .10);
  --shadow-hover: 0 8px 28px rgba(30, 126, 214, .18);
  --font-display: "Zen Maru Gothic", "Hiragino Maru Gothic ProN", sans-serif;
  --font-body: "Noto Sans JP", "Hiragino Kaku Gothic ProN", sans-serif;
  --font-num: "Outfit", "Noto Sans JP", sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body { overflow-x: hidden; max-width: 100%; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

body {
  font-family: var(--font-body);
  /* 水深グラデーション: ページを下るほど夜の水底へ沈んでいく。
     本文はカード・帯(不透明)の上に載るため可読性は保たれる */
  background: linear-gradient(180deg,
    var(--bg) 0%, #E2F1FD 40%, #C9E3F8 62%,
    #9CC5E8 74%, #5E92C2 84%, #2B6191 92%, #123C63 97%, #092743 100%);
  color: var(--ink);
  line-height: 1.8;
  font-size: 15px;
  -webkit-font-smoothing: antialiased;
}

/* 全ページ共通: 画面全体を泡がゆっくり上っていく(コンテンツの背後) */
.ambient-bubbles {
  position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background-image:
    radial-gradient(circle 6px at 10% 88%, rgba(255,255,255,.34) 97%, transparent),
    radial-gradient(circle 3px at 26% 52%, rgba(255,255,255,.30) 97%, transparent),
    radial-gradient(circle 8px at 89% 72%, rgba(255,255,255,.22) 97%, transparent),
    radial-gradient(circle 4px at 64% 28%, rgba(255,255,255,.28) 97%, transparent),
    radial-gradient(circle 5px at 44% 8%, rgba(255,255,255,.20) 97%, transparent),
    radial-gradient(circle 10px at 78% 42%, rgba(174,222,255,.20) 97%, transparent),
    radial-gradient(circle 4px at 6% 30%, rgba(174,222,255,.26) 97%, transparent),
    radial-gradient(circle 7px at 52% 66%, rgba(174,222,255,.18) 97%, transparent);
  background-size:
    auto 860px, auto 860px, auto 860px, auto 860px, auto 860px,
    auto 1500px, auto 1500px, auto 1500px;
  animation: ambient-rise 30s linear infinite;
}
@keyframes ambient-rise {
  to {
    background-position:
      0 -860px, 0 -860px, 0 -860px, 0 -860px, 0 -860px,
      0 -1500px, 0 -1500px, 0 -1500px;
  }
}

a { color: var(--accent-deep); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; display: block; }
:focus-visible { outline: 3px solid var(--cyan); outline-offset: 2px; border-radius: 4px; }

.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0);
  white-space: nowrap; border: 0;
}

.container { max-width: 960px; margin: 0 auto; padding: 0 18px; }

/* ---------- ヘッダー ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .82);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  max-width: 960px; margin: 0 auto; padding: 10px 18px;
  display: flex; align-items: center; gap: 14px;
}
.brand { display: flex; align-items: center; flex-shrink: 0; }
.brand:hover { text-decoration: none; }
.brand .brand-logo { height: 42px; width: auto; }
.nav {
  display: flex; gap: 2px; overflow-x: auto; -webkit-overflow-scrolling: touch;
  scrollbar-width: none; margin-left: auto;
}
.nav::-webkit-scrollbar { display: none; }
.nav a {
  font-size: 13px; font-weight: 500; color: var(--sub);
  padding: 7px 11px; border-radius: 999px; white-space: nowrap;
}
.nav a:hover { background: var(--bg); color: var(--primary); text-decoration: none; }
.nav a[aria-current="page"] { background: var(--primary); color: #fff; }
.nav a.nav-ext { display: inline-flex; align-items: center; gap: 5px; }
.nav a.nav-ext svg { width: 13px; height: 13px; }

/* ハンバーガーボタン(スマホ幅のみ表示) */
.nav-toggle {
  display: none; position: relative; margin-left: auto;
  width: 44px; height: 44px; border: none; border-radius: 12px;
  background: var(--bg); cursor: pointer; flex-shrink: 0;
}
.nav-toggle span {
  position: absolute; left: 12px; right: 12px; height: 2.5px;
  border-radius: 2px; background: var(--primary-deep);
  transition: transform .25s, opacity .2s, top .25s;
}
.nav-toggle span:nth-child(1) { top: 14px; }
.nav-toggle span:nth-child(2) { top: 21px; }
.nav-toggle span:nth-child(3) { top: 28px; }
.nav-toggle.open span:nth-child(1) { top: 21px; transform: rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { top: 21px; transform: rotate(-45deg); }

@media (max-width: 860px) {
  .nav-toggle { display: block; }
  .nav {
    /* ドロップダウンパネルに変形 */
    position: absolute; left: 10px; right: 10px; top: calc(100% + 6px);
    flex-direction: column; gap: 2px; margin-left: 0; padding: 10px;
    background: var(--surface); border-radius: 18px;
    box-shadow: 0 14px 40px rgba(14, 90, 168, .25);
    border: 1px solid var(--line);
    display: none;
  }
  .nav.open { display: flex; }
  .nav a { font-size: 14px; padding: 11px 16px; border-radius: 12px; }
  .header-inner { position: relative; }
}

/* ---------- ヒーロー ---------- */
.hero {
  background: linear-gradient(165deg, var(--sky-1) 0%, var(--sky-2) 55%, var(--sky-3) 100%);
  padding: 52px 0 96px; position: relative; overflow: hidden;
}
.hero::before { /* 湧き上がる泡 */
  content: ""; position: absolute; inset: 0; pointer-events: none; z-index: 0;
  background:
    radial-gradient(circle 5px at 12% 78%, rgba(255,255,255,.55) 98%, transparent),
    radial-gradient(circle 8px at 20% 60%, rgba(255,255,255,.35) 98%, transparent),
    radial-gradient(circle 4px at 84% 70%, rgba(255,255,255,.5) 98%, transparent),
    radial-gradient(circle 7px at 90% 46%, rgba(255,255,255,.3) 98%, transparent),
    radial-gradient(circle 6px at 48% 30%, rgba(255,255,255,.3) 98%, transparent),
    radial-gradient(circle 5px at 70% 84%, rgba(255,255,255,.4) 98%, transparent);
  background-size: 100% 520px;
  animation: bubbles-rise 12s linear infinite;
}
.hero::after { /* 流れ落ちる滝 */
  content: ""; position: absolute; inset: 0; pointer-events: none; z-index: 0;
  background-image:
    repeating-linear-gradient(180deg, rgba(255,255,255,.16) 0 16px, rgba(255,255,255,0) 16px 54px),
    repeating-linear-gradient(180deg, rgba(255,255,255,.09) 0 28px, rgba(255,255,255,0) 28px 82px);
  background-size: 100% 54px, 100% 82px;
  animation: waterfall 2.4s linear infinite;
  -webkit-mask-image: repeating-linear-gradient(90deg, #000 0 48px, rgba(0,0,0,.22) 48px 94px);
  mask-image: repeating-linear-gradient(90deg, #000 0 48px, rgba(0,0,0,.22) 48px 94px);
  opacity: .55;
}
@keyframes waterfall { to { background-position: 0 54px, 0 82px; } }
@keyframes bubbles-rise { to { background-position: 0 -520px; } }

.hero-inner {
  max-width: 960px; margin: 0 auto; padding: 0 24px;
  display: flex; align-items: center; justify-content: center; gap: 44px;
  position: relative; z-index: 1;
}
/* ---------- アートワーク再現ステージ ----------
   ロゴが落下 → キャラ3人がロゴ下から飛び出して定位置へ → ふわふわ待機。
   マウス追従(site.js)は .stage-layer に、常時アニメは内側のimgに掛けて分離する */
.hero-stage {
  position: relative; width: min(380px, 40vw); aspect-ratio: 1 / 1;
  flex-shrink: 0; z-index: 2;
}
.stage-layer {
  position: absolute; will-change: transform;
  transition: transform .3s cubic-bezier(.2, .8, .3, 1);
}
.stage-layer img { width: 100%; height: auto; display: block; }
/* 左右反転(向きを合わせる)。アニメ用transformと競合しないよう最内側のimgに掛ける */
.flip-x { transform: scaleX(-1); }
/* === キャラの角度調整はここ。rotate()の数値を変えるだけ。
   左右反転(scaleX(-1))中のキャラは + の値で画面上の左回り(反時計)に見える === */
.layer-hyuuma img { transform: scaleX(-1) rotate(40deg); }
/* === 位置・サイズの微調整はこの4行だけいじればOK(left/top=定位置, width=大きさ) === */
.layer-logo    { left: 2%;  top: 3%;  width: 96%; z-index: 2; }
.layer-tawashi { left: 3%;  top: 4%;  width: 23%; z-index: 3; }
.layer-ichigoo { left: 75%; top: 22%; width: 23%; z-index: 3; }
.layer-hyuuma  { left: 9%;  top: 64%; width: 23%; z-index: 3; }

.stage-logo {
  filter: drop-shadow(0 18px 30px rgba(14, 90, 168, .45));
  animation: logo-drop .75s cubic-bezier(.25, .9, .35, 1.15) both;
}
@keyframes logo-drop {
  from { transform: translateY(-130%); opacity: 0; }
  45%  { opacity: 1; }
  70%  { transform: translateY(0) scale(1, .96); }
  85%  { transform: translateY(-3%); }
  to   { transform: translateY(0); }
}
.stage-char { display: block; filter: drop-shadow(0 6px 14px rgba(14, 90, 168, .4)); }
/* --fx/--fy: ロゴ下部中央から各定位置への飛び出し始点(逆ベクトル) */
.char-a { --fx: 150px; --fy: 260px; animation: char-pop .7s cubic-bezier(.3, 1.5, .5, 1) .8s  both, char-float-a 4.6s ease-in-out 1.6s infinite; }
.char-b { --fx: -140px; --fy: 210px; animation: char-pop .7s cubic-bezier(.3, 1.5, .5, 1) .95s both, char-float-b 5.4s ease-in-out 1.9s infinite; }
.char-c { --fx: 140px; --fy: 70px;  animation: char-pop .7s cubic-bezier(.3, 1.5, .5, 1) 1.1s both, char-float-a 5s   ease-in-out 2.2s infinite; }
@keyframes char-pop {
  from { transform: translate(var(--fx), var(--fy)) scale(.15) rotate(-25deg); opacity: 0; }
  25%  { opacity: 1; }
  to   { transform: translate(0, 0) scale(1) rotate(0); opacity: 1; }
}
@keyframes char-float-a {
  0%, 100% { transform: translateY(0) rotate(0); }
  50% { transform: translateY(-9px) rotate(2.5deg); }
}
@keyframes char-float-b {
  0%, 100% { transform: translateY(0) rotate(0); }
  50% { transform: translateY(-12px) rotate(-3deg); }
}

/* アートワーク下部の水しぶき(CSS再現) */
.stage-splash {
  position: absolute; left: -5%; right: -5%; bottom: -5%; height: 26%;
  z-index: 4; pointer-events: none;
  animation: splash-in .5s ease-out .66s both;
}
@keyframes splash-in {
  from { opacity: 0; transform: translateY(16px) scale(.7); }
  to   { opacity: 1; transform: none; }
}
.stage-splash .foam {
  position: absolute; bottom: 6%; border-radius: 50%;
  background: #fff; opacity: .95; filter: blur(1.5px);
}
/* === 泡の位置・大きさはこの4行(left=左位置, width=横幅, height=高さ)で微調整 === */
.foam.f1 { left: 25%; width: 22%; height: 24px; animation: foam-bob 3.2s ease-in-out infinite; }
.foam.f2 { left: 37%; width: 27%; height: 32px; bottom: 0; animation: foam-bob 2.7s ease-in-out -.9s infinite; }
.foam.f3 { left: 55%; width: 22%; height: 25px; animation: foam-bob 3.6s ease-in-out -1.8s infinite; }
.foam.f4 { left: 43%; width: 15%; height: 17px; bottom: 26%; opacity: .8; animation: foam-bob 3s ease-in-out -.5s infinite; }
@keyframes foam-bob {
  0%, 100% { transform: scale(1) translateY(0); }
  50% { transform: scale(1.07, .93) translateY(-4px); }
}
.stage-splash .drop {
  position: absolute; bottom: 30%; width: 9px; height: 9px;
  border-radius: 50%; background: #fff; opacity: 0;
  animation: drop-fly 1.9s ease-out infinite;
}
.drop.d1 { left: 12%; animation-delay: .2s; }
.drop.d2 { left: 34%; width: 6px; height: 6px; animation-delay: 1.1s; }
.drop.d3 { left: 55%; animation-delay: .6s; }
.drop.d4 { left: 76%; width: 7px; height: 7px; animation-delay: 1.5s; }
.drop.d5 { left: 91%; width: 5px; height: 5px; animation-delay: .9s; }
@keyframes drop-fly {
  0%   { transform: translateY(0); opacity: 0; }
  15%  { opacity: .95; }
  60%  { opacity: .6; }
  100% { transform: translateY(-48px); opacity: 0; }
}
.hero-text { text-align: left; max-width: 500px; }
.hero .catch {
  font-family: var(--font-display); font-weight: 900;
  font-size: 27px; line-height: 1.6; color: #fff;
  text-shadow: 0 2px 14px rgba(14, 90, 168, .5);
  letter-spacing: .02em;
}
.hero-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.hero-chips .chip {
  background: rgba(255, 255, 255, .88); color: var(--primary-deep);
  font-family: var(--font-num); font-weight: 700; font-size: 12px;
  padding: 4px 14px; border-radius: 999px;
  box-shadow: 0 2px 8px rgba(14, 90, 168, .18);
}
.cta-primary {
  display: inline-flex; align-items: center; gap: 9px;
  background: linear-gradient(135deg, var(--accent), #FF8A54);
  color: #fff; font-family: var(--font-display); font-weight: 700;
  font-size: 16px; padding: 14px 32px; border-radius: 999px;
  margin-top: 20px;
  box-shadow: 0 12px 26px -8px rgba(238, 90, 58, .6);
  transition: transform .15s, box-shadow .15s;
}
.cta-primary:hover {
  transform: translateY(-2px); text-decoration: none; color: #fff;
  box-shadow: 0 16px 30px -8px rgba(238, 90, 58, .65);
}
.cta-primary svg { width: 18px; height: 18px; }
.cta-note {
  display: block; font-size: 12px; color: #EAF6FF; margin-top: 10px;
  text-shadow: 0 1px 6px rgba(14, 90, 168, .4);
}
.services-label {
  display: block; font-family: var(--font-num); font-weight: 700;
  font-size: 11px; letter-spacing: .18em; color: #D8EEFF;
  margin-top: 20px; text-shadow: 0 1px 6px rgba(14, 90, 168, .35);
}
.wave {
  /* preserveAspectRatio="none" なので高さを固定しないと幅で縮み、
     固定の margin-top と食い違って隙間ができる。高さを固定して常に一致させる。 */
  display: block; width: 108%; height: 72px; margin-left: -4%; margin-top: -70px;
  position: relative;
  animation: wave-sway 7s ease-in-out infinite alternate;
}
@keyframes wave-sway {
  from { transform: translateX(-1.6%); }
  to { transform: translateX(1.6%); }
}

/* ---------- 漂う住民たち ---------- */
.float-img { position: absolute; pointer-events: none; z-index: 0; height: auto; }
.float-maguro {
  width: 120px; left: 2%; bottom: 12%;
  animation: swim 9s ease-in-out infinite;
}
@keyframes swim {
  0%, 100% { transform: translateY(0) rotate(-5deg); }
  50% { transform: translateY(-20px) rotate(5deg); }
}
.float-kani {
  width: 92px; right: 3%; bottom: 4%;
  animation: crab-walk 6s ease-in-out infinite;
}
@keyframes crab-walk {
  0%, 100% { transform: translateX(0) translateY(0); }
  25% { transform: translateX(-14px) translateY(-5px); }
  75% { transform: translateX(14px) translateY(-3px); }
}

/* ---------- サービスボタン ---------- */
.services {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 9px;
  margin-top: 20px; padding: 0 16px; position: relative; z-index: 1;
}
.service-btn {
  display: inline-flex; align-items: center; gap: 7px;
  background: rgba(255, 255, 255, .95); color: var(--ink);
  font-size: 13px; font-weight: 700; padding: 10px 16px;
  border-radius: 999px; box-shadow: 0 3px 12px rgba(14, 90, 168, .2);
  transition: transform .15s, box-shadow .15s;
}
.service-btn:hover { transform: translateY(-2px); box-shadow: var(--shadow-hover); text-decoration: none; }
.service-btn svg { width: 17px; height: 17px; }
.hero .services { justify-content: flex-start; padding: 0; margin-top: 9px; gap: 7px; }
/* ヒーロー内の配信ボタンは補助リンク扱い(主役CTAより明確に小さく) */
.hero .service-btn { font-size: 12px; padding: 7px 13px; box-shadow: 0 2px 8px rgba(14, 90, 168, .16); }
.hero .service-btn svg { width: 14px; height: 14px; }

/* サービスごとのイメージカラー(文字+アイコン) */
.svc-spotify { color: #14A64A; }
.svc-apple   { color: #9933CC; }
.svc-amazon  { color: #0DA8C7; }
.svc-listen  { color: #F4801F; }
.svc-youtube { color: #E62117; }

/* Spotify埋め込みプレイヤー(クリック時にiframeへ差し替え) */
.player-box { margin: 16px 0 4px; }
.player-load {
  display: flex; width: 100%; align-items: center; justify-content: center;
  gap: 10px; flex-wrap: wrap;
  padding: 16px 20px; border: none; border-radius: var(--radius);
  background: linear-gradient(135deg, #14A64A, #1DB954);
  color: #fff; font-family: var(--font-display); font-weight: 700; font-size: 15px;
  cursor: pointer; box-shadow: 0 8px 22px -6px rgba(20, 166, 74, .55);
  transition: transform .15s, box-shadow .15s;
}
.player-load:hover { transform: translateY(-2px); box-shadow: 0 12px 26px -6px rgba(20, 166, 74, .6); }
.player-load svg { width: 20px; height: 20px; }
.player-note { font-family: var(--font-body); font-weight: 400; font-size: 11px; opacity: .85; }
.player-frame {
  display: block; width: 100%; height: 161px; border: 0;
  border-radius: var(--radius); box-shadow: var(--shadow);
}
/* このAnchor系埋め込みは横幅が広いとき(約802px以上)だけ全コントロール
   (シークバー含む)が横一列に収まる。狭い画面では内部が最低300pxを取り
   余白が出るため、scrolling=no(site.js)と低い高さでミニカード部分だけを
   クリップ表示し、スクロールバーと余白を隠す。 */
@media (max-width: 802px) {
  .player-frame { height: 100px; }
}

/* X投稿ボタン(Xブランドの黒) / おたよりボタン(暖色) */
.service-btn.x-post { background: #101419; color: #fff; }
.service-btn.x-post svg { color: #fff; }
.service-btn.otayori {
  background: linear-gradient(135deg, var(--accent), #FF8A54); color: #fff;
}
/* ボタンを横並び・中央寄せ。狭い画面ではボタン単位で折り返す(語中改行しない) */
.x-actions, .ep-actions {
  display: flex; flex-wrap: wrap; gap: 10px; justify-content: center;
}
.ep-actions { margin-top: 4px; }
.ep-actions .service-btn { font-size: 14px; padding: 12px 20px; }

/* ---------- セクション ---------- */
.section { padding: 38px 0 18px; }
.section-title {
  font-family: var(--font-display); font-weight: 900; font-size: 21px;
  display: flex; align-items: center; gap: 11px; margin-bottom: 18px;
}
.section-title::before {
  content: ""; width: 11px; height: 34px; border-radius: 6px;
  background: linear-gradient(180deg, var(--cyan), var(--primary));
  flex-shrink: 0;
}
.st-text { display: flex; flex-direction: column; gap: 2px; line-height: 1.3; }
.section-title .en, .page-title .en {
  display: block; font-family: var(--font-num); font-weight: 700;
  font-size: 11px; letter-spacing: .24em; line-height: 1;
  color: var(--accent); text-transform: uppercase;
}
.page-title .en { font-size: 12px; margin-bottom: 7px; }
/* セクションごとにマーカーの色を変えてリズムを出す */
.section:nth-of-type(5n+2) .section-title::before { background: linear-gradient(180deg, #FFB56B, #F4801F); }
.section:nth-of-type(5n+3) .section-title::before { background: linear-gradient(180deg, #FF8FA3, var(--berry)); }
.section:nth-of-type(5n+4) .section-title::before { background: linear-gradient(180deg, #6BDB9E, #17A45E); }
.section:nth-of-type(5n)   .section-title::before { background: linear-gradient(180deg, #C79BF2, #8E44AD); }
.section-more {
  margin-left: auto; font-size: 13px; font-weight: 500; align-self: flex-end;
}

/* トップページ: 画面幅いっぱいの帯で白↔水色のリズムをつける */
:root {
  --wave-1: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 34' preserveAspectRatio='none'%3E%3Cpath d='M0 34 H1440 V17 Q720 -8 0 17 Z' fill='%23000'/%3E%3C/svg%3E");
  --wave-2: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 34' preserveAspectRatio='none'%3E%3Cpath d='M0 34 H1440 V18 Q1260 1 1080 18 T720 18 T360 18 T0 18 Z' fill='%23000'/%3E%3C/svg%3E");
  --wave-3: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 34' preserveAspectRatio='none'%3E%3Cpath d='M0 34 H1440 V22 C1040 29 780 18 520 9 C350 1 160 17 0 6 Z' fill='%23000'/%3E%3C/svg%3E");
  --wave-4: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 34' preserveAspectRatio='none'%3E%3Cpath d='M0 34 H1440 V19 C1220 -4 1030 29 760 13 C520 1 320 30 0 8 Z' fill='%23000'/%3E%3C/svg%3E");
}
.band {
  position: relative;
  margin-left: calc(50% - 50vw); margin-right: calc(50% - 50vw);
  padding-left: calc(50vw - 50%); padding-right: calc(50vw - 50%);
  padding-top: 46px; padding-bottom: 38px;
  margin-top: 40px; margin-bottom: 0;  /* 帯の間に「水」が見える隙間を作る */
}
.band-soft { background: var(--band-soft); }
.band-blue { background: var(--band-blue); }
/* 帯の上端を波形にして、区切りをまっすぐな横線ではなく波打たせる */
.band::before {
  content: ""; position: absolute; left: 0; right: 0;
  top: -31px; height: 33px; pointer-events: none;
  -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat;
  -webkit-mask-size: 100% 100%; mask-size: 100% 100%;
}
.band-soft::before { background-color: var(--band-soft); }
.band-blue::before { background-color: var(--band-blue); }
/* セクションごとに波の形を変えて単調さを避ける */
.band:nth-of-type(4n+2)::before { -webkit-mask-image: var(--wave-1); mask-image: var(--wave-1); }
.band:nth-of-type(4n+3)::before { -webkit-mask-image: var(--wave-2); mask-image: var(--wave-2); }
.band:nth-of-type(4n)::before   { -webkit-mask-image: var(--wave-3); mask-image: var(--wave-3); }
.band:nth-of-type(4n+1)::before { -webkit-mask-image: var(--wave-4); mask-image: var(--wave-4); }

/* ヒーロー直下のNEWSティッカー */
.news-bar {
  display: flex; align-items: center; gap: 13px;
  background: var(--surface); border-radius: 999px;
  box-shadow: var(--shadow); padding: 9px 12px 9px 9px;
  margin-top: 10px; font-size: 13px; position: relative; z-index: 3;
}
.nb-label {
  font-family: var(--font-num); font-weight: 700; font-size: 11px;
  letter-spacing: .16em; color: #fff; flex-shrink: 0;
  background: linear-gradient(135deg, var(--accent), #FF8A54);
  border-radius: 999px; padding: 4px 14px;
}
.nb-item {
  display: flex; align-items: baseline; gap: 10px; min-width: 0;
  color: var(--ink); font-weight: 500;
  overflow: hidden; white-space: nowrap; text-overflow: ellipsis;
}
.nb-date { font-family: var(--font-num); font-size: 12px; color: var(--faint); flex-shrink: 0; }
.nb-more { margin-left: auto; flex-shrink: 0; font-size: 12px; font-weight: 500; }

/* ---------- カード汎用 ---------- */
.card {
  background: var(--surface); border-radius: var(--radius);
  box-shadow: var(--shadow); padding: 18px 20px;
}
a.card { color: inherit; display: block; transition: transform .15s, box-shadow .15s; }
a.card:hover { transform: translateY(-2px); box-shadow: var(--shadow-hover); text-decoration: none; }

/* ---------- エピソードカード(アートワーク大表示) ---------- */
.ep-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px;
}
.ep-card {
  display: flex; flex-direction: column;
  background: var(--surface); border-radius: var(--radius);
  box-shadow: var(--shadow); overflow: hidden; color: inherit;
  transition: transform .15s, box-shadow .15s;
}
a.ep-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-hover); text-decoration: none; }
.ep-card-img {
  width: 100%; height: auto; aspect-ratio: 1 / 1; object-fit: cover; display: block;
  background: var(--line);
}
span.ep-card-num {
  font-family: var(--font-num); font-weight: 700; font-size: 34px;
  background: linear-gradient(150deg, var(--sky-2), var(--primary));
  color: #fff; display: flex; align-items: center; justify-content: center;
}
.ep-card-body {
  display: flex; flex-direction: column; gap: 7px;
  padding: 13px 15px 15px; flex: 1;
}
.ep-hash {
  font-family: var(--font-num); font-weight: 700; color: var(--primary-deep);
}
.ep-title { font-weight: 700; font-size: 14px; line-height: 1.55; }
.ep-meta {
  display: flex; align-items: center; flex-wrap: wrap; gap: 8px;
  font-family: var(--font-num); font-size: 12px; color: var(--faint);
  margin-top: auto;
}
.ep-card-desc { font-size: 13px; color: var(--sub); line-height: 1.7; }
.ep-feat-label {
  align-self: flex-start;
  font-size: 11px; font-weight: 700; color: #fff;
  background: linear-gradient(135deg, var(--accent), #FF8A54);
  padding: 3px 12px; border-radius: 999px;
}
/* 最新回: 横型の大カード */
.ep-card.featured { flex-direction: row; align-items: stretch; }
.ep-card.featured .ep-card-img { width: min(340px, 40%); flex-shrink: 0; }
.ep-card.featured .ep-card-body { padding: 20px 22px; gap: 10px; justify-content: center; }
.ep-card.featured .ep-title { font-size: 18px; }
.ep-card.featured .ep-meta { margin-top: 0; }
.tag {
  font-family: var(--font-body); font-size: 11px; font-weight: 500;
  background: #E3F2FD; color: var(--primary-deep);
  padding: 2px 10px; border-radius: 999px;
}

/* ---------- 検索・フィルタ ---------- */
.searchbox { position: relative; }
.searchbox input {
  width: 100%; height: 48px; border-radius: 999px;
  border: 2px solid var(--line); background: var(--surface);
  padding: 0 46px 0 46px; font-size: 15px; font-family: var(--font-body);
  color: var(--ink); box-shadow: var(--shadow);
}
.searchbox input:focus { border-color: var(--primary); outline: none; }
/* ブラウザ標準の検索クリアボタンは非表示にし、自前の×に統一(Firefox対策) */
.searchbox input::-webkit-search-cancel-button { -webkit-appearance: none; appearance: none; }
.searchbox > svg {
  position: absolute; left: 17px; top: 50%; transform: translateY(-50%);
  width: 18px; height: 18px; color: var(--faint); pointer-events: none;
}
.search-clear {
  position: absolute; right: 8px; top: 50%; transform: translateY(-50%);
  width: 32px; height: 32px; border: none; border-radius: 50%;
  background: var(--bg); color: var(--sub); cursor: pointer;
  display: flex; align-items: center; justify-content: center;
}
.search-clear:hover { background: var(--line); color: var(--ink); }
.search-clear svg { width: 15px; height: 15px; }
.search-note {
  font-size: 12px; color: var(--sub); margin: 9px 4px 0; line-height: 1.7;
}
.search-note strong { color: var(--primary-deep); }
.list-toolbar {
  display: flex; align-items: center; justify-content: space-between;
  gap: 12px; flex-wrap: wrap; margin-bottom: 12px;
}
.sort-field {
  font-size: 12px; color: var(--faint); font-weight: 500;
  display: inline-flex; align-items: center; gap: 6px;
}
.sort-field select {
  font-family: var(--font-body); font-size: 13px; font-weight: 500;
  color: var(--sub); background: var(--surface);
  border: 1.5px solid var(--line); border-radius: 999px;
  padding: 5px 12px; cursor: pointer;
}
.sort-field select:focus { border-color: var(--primary); outline: none; }
/* ---------- ふさわしいゲーム診断 ---------- */
.shindan-banner {
  display: flex; align-items: center; gap: 18px;
  background: linear-gradient(135deg, var(--accent), #FF8A54 60%, #FFB56B);
  border-radius: 22px; padding: 22px 26px; color: #fff;
  box-shadow: 0 12px 30px -8px rgba(238, 90, 58, .55);
  position: relative; overflow: hidden;
  transition: transform .15s, box-shadow .15s;
}
.shindan-banner:hover {
  transform: translateY(-3px); text-decoration: none; color: #fff;
  box-shadow: 0 16px 36px -8px rgba(238, 90, 58, .6);
}
.shindan-banner::before { /* キラキラ泡 */
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(circle 5px at 88% 26%, rgba(255,255,255,.5) 97%, transparent),
    radial-gradient(circle 8px at 94% 62%, rgba(255,255,255,.3) 97%, transparent),
    radial-gradient(circle 4px at 74% 78%, rgba(255,255,255,.4) 97%, transparent);
}
.sb-chara {
  width: 74px; height: 74px; flex-shrink: 0;
  image-rendering: pixelated;
  animation: rock-bob 3s ease-in-out infinite;
}
.sb-body { flex: 1; min-width: 0; }
.sb-en {
  display: block; font-family: var(--font-num); font-weight: 700;
  font-size: 10px; letter-spacing: .22em; opacity: .85;
}
.sb-title {
  display: block; font-family: var(--font-display); font-weight: 900;
  font-size: 21px; line-height: 1.45; margin-top: 3px;
}
.sb-desc { display: block; font-size: 12px; opacity: .92; margin-top: 5px; line-height: 1.7; }
.sb-cta {
  flex-shrink: 0; background: #fff; color: var(--accent-deep);
  font-family: var(--font-display); font-weight: 900; font-size: 15px;
  padding: 12px 22px; border-radius: 999px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, .18);
}
@media (max-width: 640px) {
  /* スマホ: 横並びのままコンパクトに。改行で背が高くなるのを防ぐ */
  .shindan-banner { gap: 12px; padding: 15px 16px; border-radius: 18px; }
  .sb-chara { width: 50px; height: 50px; }
  .sb-en { font-size: 9px; letter-spacing: .14em; }
  .sb-title { font-size: 16px; line-height: 1.35; margin-top: 2px; }
  .sb-desc { display: none; }            /* 説明はスマホでは省略(タップ先で読める) */
  .sb-cta { font-size: 13px; padding: 9px 15px; align-self: center; }
}

.shindan-stage {
  max-width: 620px; margin: 18px auto 0;
  background: var(--surface); border-radius: 26px;
  box-shadow: var(--shadow-hover); padding: clamp(24px, 5vw, 40px);
}
.sh-screen { animation: sh-rise .5s cubic-bezier(.22, 1, .36, 1); }
@keyframes sh-rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; } }
.sh-lede { text-align: center; font-size: 14px; color: var(--sub); line-height: 2; }
.sh-lede strong { color: var(--primary-deep); font-family: var(--font-num); }
.sh-lede-sub {
  text-align: center; font-size: 12px; color: var(--faint);
  line-height: 1.9; margin-top: 10px;
}
.sh-intro-share { margin-top: 14px; text-align: center; }
.sh-intro-share a {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 13px; font-weight: 700; color: var(--sub);
  background: var(--band-soft); border: 1.5px solid var(--line);
  padding: 8px 18px; border-radius: 999px;
}
.sh-intro-share a:hover { color: #101419; border-color: var(--faint); text-decoration: none; }
.sh-fusa-link {
  margin-top: 14px; text-align: center; font-size: 11px; color: var(--faint);
}
.sh-fusa-link a { color: var(--faint); text-decoration: underline; }
.sh-fusa-link a:hover { color: var(--accent-deep); }
.sh-name-label {
  display: block; margin: 22px 0 6px; font-size: 12px; font-weight: 700; color: var(--sub);
}
.sh-name {
  width: 100%; height: 50px; border-radius: 14px;
  border: 2px solid var(--line); background: var(--band-soft);
  padding: 0 16px; font-size: 16px; font-family: var(--font-body); color: var(--ink);
}
.sh-name:focus { border-color: var(--primary); outline: none; }
.sh-primary {
  appearance: none; border: none; cursor: pointer; width: 100%;
  margin-top: 20px; padding: 16px 24px; border-radius: 16px;
  font-family: var(--font-display); font-weight: 900; font-size: 17px; color: #fff;
  background: linear-gradient(135deg, var(--accent), #FF8A54);
  box-shadow: 0 7px 0 var(--accent-deep);
  transition: transform .12s, box-shadow .12s;
}
.sh-primary:hover { transform: translateY(2px); box-shadow: 0 5px 0 var(--accent-deep); }
.sh-primary:active { transform: translateY(7px); box-shadow: 0 0 0 var(--accent-deep); }
.sh-note { margin-top: 14px; text-align: center; font-size: 11.5px; color: var(--faint); line-height: 1.8; }

.sh-meter { display: flex; align-items: center; gap: 12px; margin-bottom: 20px; }
.sh-count { font-family: var(--font-num); font-weight: 700; font-size: 13px; color: var(--primary); }
.sh-track { flex: 1; height: 9px; border-radius: 999px; background: var(--band-blue); overflow: hidden; }
.sh-fill {
  display: block; height: 100%; border-radius: 999px; width: 0;
  background: linear-gradient(90deg, var(--primary), var(--accent) 130%);
  transition: width .45s cubic-bezier(.22, 1, .36, 1);
}
.sh-qtext {
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(19px, 4.4vw, 23px); line-height: 1.6; margin-bottom: 20px;
  /* 常に2行分の高さを確保し、質問の行数が違っても選択肢の位置がズレないように */
  min-height: 3.2em; display: flex; align-items: center;
}
.sh-choices { display: flex; flex-direction: column; gap: 11px; }
.sh-choice {
  appearance: none; cursor: pointer; text-align: left;
  font-family: var(--font-body); font-weight: 700; font-size: 15px; color: var(--ink);
  background: var(--band-soft); border: 2px solid transparent;
  padding: 15px 16px; border-radius: 15px;
  display: flex; align-items: center; gap: 13px; line-height: 1.5;
  transition: transform .1s, border-color .12s, background .12s;
}
.sh-bullet {
  flex: none; width: 26px; height: 26px; border-radius: 50%;
  background: #fff; border: 2px solid var(--line);
  display: grid; place-items: center;
  font-family: var(--font-num); font-weight: 700; font-size: 13px; color: var(--primary);
  transition: all .12s;
}
.sh-choice:hover { border-color: var(--primary); background: #fff; transform: translateX(3px); }
.sh-choice:hover .sh-bullet { background: var(--primary); color: #fff; border-color: var(--primary); }

.sh-result { text-align: center; animation: sh-drop .6s cubic-bezier(.34, 1.56, .4, 1); }
@keyframes sh-drop { from { opacity: 0; transform: translateY(-26px) scale(.96); } to { opacity: 1; } }
.sh-r-eyebrow {
  font-family: var(--font-num); font-weight: 700; font-size: 12px;
  letter-spacing: .24em; color: var(--accent);
}
.sh-r-type { margin-top: 10px; font-size: 15px; color: var(--sub); }
.sh-r-type strong { font-family: var(--font-display); font-size: 19px; color: var(--accent-deep); }
.sh-r-typedesc { margin-top: 4px; font-size: 12.5px; color: var(--faint); }
.sh-r-card {
  margin-top: 16px; padding: 24px 20px;
  background: linear-gradient(160deg, #F3F8FF, #E3F0FE);
  border: 2px solid var(--band-blue); border-radius: 20px;
  position: relative; overflow: hidden;
}
/* レア(2〜3回登場): 紫のご褒美カード */
.sh-r-card.r1 {
  background: linear-gradient(160deg, #F7F0FF, #EBDDFC);
  border-color: #C9A9F0;
}
/* 超レア(1回だけ登場): 金のきらめきカード */
.sh-r-card.r2 {
  background: linear-gradient(160deg, #FFF8DD, #FFE9A8);
  border-color: #F0BE45;
  box-shadow: 0 6px 24px rgba(240, 190, 69, .45);
}
.sh-r-card.r2::after { /* 流れるきらめき */
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(115deg, transparent 32%, rgba(255,255,255,.8) 50%, transparent 68%);
  transform: translateX(-100%);
  animation: sh-shine 2.8s ease-in-out infinite;
}
@keyframes sh-shine { 55%, 100% { transform: translateX(100%); } }
.sh-r-label { font-size: 12.5px; font-weight: 700; color: var(--sub); }
.sh-r-title {
  font-family: var(--font-display); font-weight: 900;
  font-size: clamp(23px, 5.4vw, 31px); line-height: 1.45;
  color: var(--primary-deep); margin-top: 8px; overflow-wrap: anywhere;
}
.sh-rare {
  display: inline-block; margin-top: 12px; font-size: 12px; font-weight: 700;
  padding: 5px 14px; border-radius: 999px;
}
.sh-rare.r2 { background: linear-gradient(135deg, #FFD75E, #FFB03A); color: #6b3c00; }
.sh-rare.r1 { background: #E8DAFB; color: #6B2FB3; }
.sh-r-count { margin-top: 12px; font-size: 13px; color: var(--sub); }
.sh-r-count strong { font-family: var(--font-num); color: var(--primary-deep); }

.sh-ep-block { margin-top: 20px; text-align: left; }
.sh-ep-label { font-size: 12.5px; font-weight: 700; color: var(--sub); margin-bottom: 8px; }
.sh-ep-card {
  display: flex; align-items: center; gap: 13px;
  background: var(--band-soft); border: 1.5px solid var(--line);
  border-radius: 16px; padding: 11px 14px; color: inherit;
  transition: transform .12s, box-shadow .12s;
}
.sh-ep-card:hover { transform: translateY(-2px); box-shadow: var(--shadow); text-decoration: none; }
.sh-ep-img {
  width: 62px; height: 62px; border-radius: 13px; object-fit: cover; flex-shrink: 0;
}
.sh-ep-num {
  display: grid; place-items: center; background: linear-gradient(150deg, var(--sky-2), var(--primary));
  color: #fff; font-family: var(--font-num); font-weight: 700;
}
.sh-ep-hash { font-family: var(--font-num); font-weight: 700; font-size: 12px; color: var(--primary-deep); display: block; }
.sh-ep-title { font-size: 13px; font-weight: 700; line-height: 1.55; }

.sh-canvas-wrap { margin-top: 20px; text-align: center; }
.sh-canvas-wrap canvas {
  /* 縦長プレビュー。スマホの画面に収まるよう幅を抑える */
  width: 100%; max-width: 540px; height: auto;
  border-radius: 18px; box-shadow: var(--shadow-hover);
}
.sh-canvas-caption {
  font-size: 11.5px; color: var(--faint); margin-top: 8px; text-align: center;
}
.sh-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }
.sh-btn {
  appearance: none; border: none; cursor: pointer; flex: 1 1 160px;
  font-family: var(--font-display); font-weight: 900; font-size: 14px;
  padding: 14px 16px; border-radius: 14px; text-align: center;
  transition: transform .12s, box-shadow .12s;
}
.sh-btn.save { background: var(--band-blue); color: var(--primary-deep); box-shadow: 0 5px 0 #A9CFEE; }
.sh-btn.copy { background: var(--band-blue); color: var(--primary-deep); box-shadow: 0 5px 0 #A9CFEE; }
.sh-btn.share { background: #101419; color: #fff; box-shadow: 0 5px 0 #000; }
.sh-btn:hover { transform: translateY(2px); box-shadow: 0 3px 0 rgba(0,0,0,.25); text-decoration: none; }
/* もう一度診断する: 主要ボタンより控えめだが、押す場所は明確な小ボタン */
.sh-btn.retry {
  flex: none; display: block; width: auto; margin: 14px auto 0;
  padding: 10px 22px; font-size: 13px; border-radius: 999px;
  background: var(--surface); color: var(--sub);
  border: 1.5px solid var(--line); box-shadow: 0 3px 0 var(--line);
}
.sh-btn.retry:hover {
  color: var(--accent-deep); border-color: var(--accent);
  box-shadow: 0 3px 0 #F3C0B2; transform: translateY(1px);
}

/* 検索該当なしのヘルプボックス */
.empty-box {
  background: var(--surface); border-radius: var(--radius);
  box-shadow: var(--shadow); padding: 26px 24px; text-align: center;
}
.empty-box .empty-title { font-weight: 700; font-size: 15px; margin-bottom: 12px; }
.empty-box .empty-hint {
  list-style: none; text-align: left; max-width: 560px; margin: 0 auto;
  font-size: 13px; color: var(--sub); line-height: 2;
}
.empty-box .empty-hint li::before { content: "・"; color: var(--primary); }

/* 検索で登場ゲームに一致した回の「話題に出た」表示 */
.ep-match {
  display: block; margin-top: 7px; font-size: 11px; color: var(--sub);
  line-height: 1.5;
}
.ep-match .mg {
  display: inline-block; font-weight: 700; color: var(--accent-deep);
  background: #FFF0EB; border-radius: 6px; padding: 1px 7px; margin: 0 2px;
}
.filter-row {
  display: flex; flex-wrap: wrap; gap: 8px; margin: 14px 0 20px; align-items: center;
}
.filter-label { font-size: 12px; color: var(--faint); font-weight: 500; }
.filter-btn {
  cursor: pointer; font-family: var(--font-body); font-size: 13px; font-weight: 500;
  padding: 6px 15px; border-radius: 999px;
  border: 1.5px solid var(--line); background: var(--surface); color: var(--sub);
  transition: all .12s;
}
.filter-btn:hover { border-color: var(--primary); color: var(--primary); }
.filter-btn.on {
  background: var(--primary); border-color: var(--primary); color: #fff;
}
.result-count { font-family: var(--font-num); font-size: 13px; color: var(--faint); margin: 0; }

/* ---------- グリッド ---------- */
.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
@media (max-width: 560px) {
  .grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* ---------- パーソナリティ ---------- */
.member-card { text-align: center; padding: 20px 14px; position: relative; }
.member-card .member-rock {
  position: absolute; top: -30px; right: 10px;
  width: 56px; height: 56px; margin: 0;
  border: none; border-radius: 0; background: none;
  image-rendering: pixelated;
  animation: rock-bob 3.2s ease-in-out infinite;
}
.grid-3 > .member-card:nth-child(2) .member-rock { animation-delay: -1.1s; }
.grid-3 > .member-card:nth-child(3) .member-rock { animation-delay: -2.2s; }
@keyframes rock-bob {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-9px); }
}
.member-card img {
  width: 84px; height: 84px; border-radius: 50%; margin: 0 auto 10px;
  background: var(--bg); border: 3px solid var(--sky-1);
}
.member-card .name { font-family: var(--font-display); font-weight: 700; font-size: 15px; }
.member-card .bio { font-size: 12px; color: var(--sub); line-height: 1.7; margin-top: 6px; text-align: left; }
.member-card .x-link {
  display: inline-flex; align-items: center; gap: 4px;
  font-family: var(--font-num); font-size: 12px; margin-top: 8px;
}

/* ---------- 名物企画カード ---------- */
.series-card {
  display: flex; flex-direction: column; overflow: hidden;
  background: linear-gradient(150deg, #F2FAFF, #E1F1FC);
  border: 1.5px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow); color: inherit;
  transition: transform .15s, box-shadow .15s;
}
a.series-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-hover); text-decoration: none; }
/* アートワークをぼかし背景+全体表示(contain)の2重構成で見せ、
   企画名は画像上に白文字で重ねる(下部の暗グラデで可読性を確保) */
.series-card-art {
  position: relative; display: block; aspect-ratio: 2 / 1;
  overflow: hidden; background: var(--line);
}
.sc-bg {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; filter: blur(16px) saturate(1.15) brightness(.85);
  transform: scale(1.2);
}
.sc-main {
  position: relative; z-index: 1; width: 100%; height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 4px 14px rgba(8, 30, 54, .35));
}
.sc-shade {
  position: absolute; inset: 0; z-index: 2; pointer-events: none;
  background: linear-gradient(180deg, rgba(8, 30, 54, 0) 40%, rgba(8, 30, 54, .84) 100%);
}
.sc-title {
  position: absolute; left: 16px; right: 16px; bottom: 9px; z-index: 3;
  display: flex; align-items: baseline; gap: 10px;
  color: #fff; font-family: var(--font-display); font-weight: 900;
  font-size: 21px; line-height: 1.4;
  text-shadow: 0 2px 10px rgba(0, 0, 0, .5);
}
.sc-count {
  font-family: var(--font-num); font-weight: 700; font-size: 12px;
  color: #CFE6F8; flex-shrink: 0;
}
.series-card-body { display: block; padding: 12px 18px 15px; }
.series-card-body .s-desc { margin-top: 0; }
.series-hero {
  background: linear-gradient(150deg, #F2FAFF, #E1F1FC);
  border: 1.5px solid var(--line);
}
.s-name {
  font-family: var(--font-display); font-weight: 900; font-size: 16px;
  color: var(--primary-deep); display: flex; align-items: center; gap: 8px;
}
.s-count { font-family: var(--font-num); font-size: 12px; color: var(--faint); margin-top: 4px; display: block; }
.s-desc { font-size: 12px; color: var(--sub); line-height: 1.7; margin-top: 8px; display: block; }

/* ---------- ニュース ---------- */
.news-list { border-top: 1px solid var(--line); }
.news-item {
  display: flex; gap: 16px; padding: 13px 4px; border-bottom: 1px solid var(--line);
  color: inherit; align-items: baseline;
}
a.news-item:hover { background: rgba(255,255,255,.6); text-decoration: none; }
.news-date { font-family: var(--font-num); font-size: 12px; color: var(--faint); flex-shrink: 0; }
.news-title { font-size: 14px; font-weight: 500; }

/* ---------- 詳細ページ共通 ---------- */
.page-head { padding: 30px 0 6px; }
.page-title { font-family: var(--font-display); font-weight: 900; font-size: 25px; line-height: 1.5; }
.back-link {
  display: inline-flex; align-items: center; gap: 5px;
  font-size: 13px; font-weight: 500; margin-bottom: 14px;
}
.detail-hero {
  display: flex; gap: 16px; align-items: flex-start; margin-bottom: 18px;
}
.detail-num {
  font-family: var(--font-num); font-weight: 700; font-size: 17px;
  background: linear-gradient(150deg, var(--sky-2), var(--primary));
  color: #fff; width: 68px; height: 68px; border-radius: 18px;
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
  box-shadow: var(--shadow);
}
.detail-art {
  width: 220px; height: 220px; border-radius: 22px; object-fit: cover;
  flex-shrink: 0; box-shadow: var(--shadow-hover); background: var(--line);
}
.detail-meta { font-family: var(--font-num); font-size: 13px; color: var(--faint); margin-top: 7px; }
.date-note { font-size: 11px; color: var(--faint); }
.listen-row { display: flex; flex-wrap: wrap; gap: 8px; margin: 16px 0; }
.listen-row .service-btn { background: var(--surface); border: 1.5px solid var(--line); box-shadow: none; }
.listen-row .service-btn:hover { border-color: var(--primary); }
/* 概要欄: RSSの改行(空行含む)をそのまま表示 */
.ep-desc {
  font-size: 14px; color: var(--sub); margin: 16px 0;
  white-space: pre-line;
}
.game-tags { display: flex; flex-wrap: wrap; gap: 7px; }
.game-tags .tag { font-size: 12px; padding: 5px 14px; }
/* 水深で背景が暗くなっても読めるよう、チャプターはカードに載せる */
.chapter-list {
  background: var(--surface); border-radius: var(--radius);
  box-shadow: var(--shadow); padding: 8px 20px;
}
.chapter-list li {
  list-style: none; display: flex; gap: 14px;
  padding: 10px 4px; border-bottom: 1px solid var(--line); font-size: 14px;
}
.chapter-list li:last-child { border-bottom: none; }
.chapter-time { font-family: var(--font-num); color: var(--primary); font-variant-numeric: tabular-nums; }
.prevnext { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 26px 0; }
.prevnext .card { padding: 13px 15px; font-size: 12px; }
/* ページ下部(水中)に直接載るテキストは、深度に関係なく読める半透明の濃紺ピルに */
.deep-note {
  text-align: center; font-size: 13px; color: #D6EAF8;
  background: rgba(10, 39, 67, .55);
  border-radius: 999px; padding: 8px 24px;
  width: fit-content; margin: 0 auto;
  -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px);
}
.deep-note a { color: #FFC9B4; }
.prevnext .pn-label { color: var(--faint); font-size: 11px; font-family: var(--font-num); }
.prevnext .pn-title { font-weight: 700; margin-top: 2px; line-height: 1.5; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.prevnext .next { text-align: right; }

/* ---------- プライバシーポリシー ---------- */
.pp-card { margin-top: 14px; font-size: 14px; color: var(--sub); line-height: 1.95; }
.pp-card .pp-h {
  font-family: var(--font-display); font-weight: 700; font-size: 16px;
  color: var(--ink); margin: 22px 0 8px;
}
.pp-card .pp-h:first-child { margin-top: 0; }
.pp-card p { margin-bottom: 12px; }
.pp-card .pp-date {
  margin-top: 22px; padding-top: 14px; border-top: 1px solid var(--line);
  font-family: var(--font-num); font-size: 13px; color: var(--faint);
}

/* ---------- 説明系ボックス ---------- */
.info-box {
  background: var(--surface); border-radius: var(--radius);
  border: 1.5px dashed var(--sky-2); padding: 18px 20px;
  font-size: 13px; color: var(--sub);
}
.info-box strong { color: var(--ink); }

/* ---------- おたよりフォーム ---------- */
.form-embed {
  border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow);
  background: var(--surface);
}
.form-embed iframe { width: 100%; height: 1100px; border: 0; display: block; }

/* ---------- フッター ---------- */
.site-footer {
  margin-top: 120px;  /* フッター手前に深い水域を見せる */
  /* 水底に溶け込む夜の深海色 */
  background: linear-gradient(180deg, #16406B, #081D36);
  color: #EAF6FE; padding: 40px 0 26px;
}
.footer-inner { max-width: 760px; margin: 0 auto; padding: 0 18px; }
.footer-brand { display: flex; align-items: center; margin-bottom: 8px; }
.footer-brand .footer-logo { height: 58px; width: auto; }
.footer-en {
  font-family: var(--font-num); font-weight: 700; font-size: 10px;
  letter-spacing: .26em; opacity: .6; margin: -4px 0 10px;
}
.footer-desc { font-size: 12px; opacity: .9; }
.footer-nav { display: flex; flex-wrap: wrap; gap: 4px 18px; margin: 18px 0; }
.footer-nav a { color: #fff; font-size: 13px; font-weight: 500; }
.footer-note { font-size: 11px; opacity: .75; border-top: 1px solid rgba(255,255,255,.25); padding-top: 14px; margin-top: 6px; }
.footer-note a { color: #fff; }

/* ---------- ダチョウ(トップへ戻る) ---------- */
.datyou-top {
  position: fixed; right: 14px; bottom: -84px; z-index: 70;
  width: 56px; padding: 0; border: none; background: none; cursor: pointer;
  transition: bottom .45s cubic-bezier(.34, 1.6, .64, 1);
}
.datyou-top img {
  width: 100%; height: auto; display: block;
  filter: drop-shadow(0 3px 8px rgba(14, 90, 168, .35));
}
.datyou-top.show { bottom: -6px; }
.datyou-top.show:hover { bottom: 2px; }

@media (max-width: 900px) {
  .ep-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
}
@media (max-width: 760px) {
  .hero-inner { flex-direction: column; gap: 26px; }
  .hero-stage { width: min(280px, 74vw); }
  .hero-text { text-align: center; max-width: none; }
  .hero .catch { font-size: 18px; }
  .hero-chips { justify-content: center; }
  .hero .services { justify-content: center; }
  .float-maguro { width: 76px; top: 6%; }
  .float-kani { width: 58px; }
  .news-bar { border-radius: 18px; flex-wrap: wrap; }
  .nb-item { white-space: normal; }
}
@media (max-width: 640px) {
  .ep-card.featured { flex-direction: column; }
  .ep-card.featured .ep-card-img { width: 100%; }
  .detail-hero { flex-direction: column; }
  .detail-art { width: min(300px, 100%); height: auto; aspect-ratio: 1 / 1; }
}
@media (max-width: 480px) {
  body { font-size: 14px; }
  .hero { padding: 34px 0 78px; }
  .hero-stage { width: min(240px, 70vw); }
  .brand .brand-logo { height: 34px; }
  .band { padding-top: 30px; padding-bottom: 24px; }
  .member-card .member-rock { width: 46px; height: 46px; top: -24px; }
  .grid-2 { grid-template-columns: 1fr; }
  .prevnext { grid-template-columns: 1fr; }
  .detail-num { width: 56px; height: 56px; font-size: 15px; border-radius: 15px; }
  .ep-card-body { padding: 10px 12px 12px; }
  .ep-title { font-size: 13px; }
  .page-title { font-size: 21px; }
}
