/* BALMUDA Good Morning Radio のページの作りに倣う（2026-10-30、依頼）
   空の大きな見出し、白地に広い余白、01・02・03 の番号、暗い帯の案内。写真は使わず、空は CSS で描く
   色は ATOMO feed だけブルスコブルー（Base/Claude/commons/cco標準UI.md）にする */
:root {
  --ink: #333333;
  --mute: #7a7a7a;
  --hair: rgba(0, 0, 0, 0.1);
  --page: #ffffff;
  --band: #f9f9f9;
  --cell: #ffffff;
  --cell-hover: #f3f6f8;
  --dark: #202020;
  --dark-2: #3a3a3a;
  --on-dark: #ffffff;
  --self: #026881;
  --self-ink: #ffffff;
  --sky-top: #5f88b8;
  --sky-mid: #8fb0d4;
  --sky-low: #b9c4d8;
  --sky-glow: #e9c9bd;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --ink: #e6e6e6; --mute: #a0a0a0; --hair: rgba(255, 255, 255, 0.12); --page: #151515; --band: #1c1c1c;
    --cell: #202020; --cell-hover: #2a2d30; --dark: #0c0c0c; --dark-2: #2a2a2a;
    --self: #3aa3bd; --self-ink: #071012;
    --sky-top: #1c2c45; --sky-mid: #2c4366; --sky-low: #4b5878; --sky-glow: #7a6878;
  }
}
:root[data-theme="dark"] {
  --ink: #e6e6e6; --mute: #a0a0a0; --hair: rgba(255, 255, 255, 0.12); --page: #151515; --band: #1c1c1c;
  --cell: #202020; --cell-hover: #2a2d30; --dark: #0c0c0c; --dark-2: #2a2a2a;
  --self: #3aa3bd; --self-ink: #071012;
  --sky-top: #1c2c45; --sky-mid: #2c4366; --sky-low: #4b5878; --sky-glow: #7a6878;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--page);
  color: var(--ink);
  font: 500 16px/2 "Montserrat", "YuGothic", "Yu Gothic", "Hiragino Sans", "Noto Sans JP", sans-serif;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
h2 { font-size: clamp(22px, 3.4vw, 32px); font-weight: 500; line-height: 1.7; margin: 0 0 24px; letter-spacing: 0.02em; }
h2 small { font-size: 13px; color: var(--mute); margin-left: 12px; font-weight: 500; }
section { padding: 96px 16px; max-width: 1200px; margin: 0 auto; }

/* 上の帯。言語と地域の切り替え */
.topbar {
  position: sticky; top: 0; z-index: 10; display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 10px 16px; background: rgba(32, 32, 32, 0.92); color: var(--on-dark); backdrop-filter: blur(8px);
}
.logo { font-family: "Montserrat", sans-serif; font-weight: 600; font-size: 15px; letter-spacing: 0.04em; text-decoration: none; white-space: nowrap; }
.switches { display: flex; gap: 12px; flex-wrap: wrap; justify-content: flex-end; }
.seg { display: inline-flex; border: 1px solid rgba(255, 255, 255, 0.35); }
.seg button {
  font: inherit; font-size: 12px; line-height: 1.6; padding: 3px 12px; background: none; color: inherit; border: 0; cursor: pointer; opacity: 0.7;
}
.seg button[aria-pressed="true"] { background: var(--on-dark); color: var(--dark); opacity: 1; }

/* 空 */
.hero {
  min-height: 62svh; display: grid; place-items: center; text-align: center; color: #fff; padding: 16px;
  background:
    radial-gradient(120% 60% at 50% 105%, var(--sky-glow) 0%, transparent 60%),
    radial-gradient(60% 30% at 20% 30%, rgba(255, 255, 255, 0.35) 0%, transparent 70%),
    radial-gradient(50% 25% at 80% 45%, rgba(255, 255, 255, 0.28) 0%, transparent 70%),
    linear-gradient(180deg, var(--sky-top) 0%, var(--sky-mid) 55%, var(--sky-low) 100%);
}
.hero h1 {
  margin: 0; font-family: "Montserrat", sans-serif; font-weight: 500; letter-spacing: 0.02em;
  font-size: clamp(56px, 12vw, 132px); line-height: 1.02; text-shadow: 0 2px 24px rgba(20, 40, 70, 0.35);
}
.hero .presented { margin: 18px 0 0; font-family: "Montserrat", sans-serif; font-size: clamp(15px, 2vw, 20px); font-weight: 500;
  letter-spacing: 0.04em; text-shadow: 0 1px 10px rgba(20, 40, 70, 0.45); }
.presented a, .cta .fine a { color: inherit; text-decoration: none; }
.presented a:hover, .cta .fine a:hover { text-decoration: underline; text-underline-offset: 3px; }
.hero .sub { text-shadow: 0 1px 10px rgba(20, 40, 70, 0.45); margin: 24px 0 36px; font-size: clamp(16px, 2.2vw, 22px); letter-spacing: 0.06em; }
.ghost {
  display: inline-block; padding: 8px 36px; border: 1px solid currentColor; background: none; color: inherit;
  font: inherit; font-size: 14px; line-height: 1.8; letter-spacing: 0.08em; text-decoration: none; cursor: pointer;
}
.hero .ghost { background: rgba(20, 40, 70, 0.28); }
.ghost:hover { background: rgba(255, 255, 255, 0.15); }
.ghost.dark { color: var(--ink); border-color: var(--hair); }
.ghost.dark:hover { background: var(--band); }

/* はじめに */
.intro { text-align: center; max-width: 820px; }
.intro .lead { font-size: clamp(16px, 2vw, 20px); line-height: 2.1; letter-spacing: -0.01em; margin: 0 0 32px; text-align: left; }
.intro .date { color: var(--mute); font-size: 14px; line-height: 1.9; margin: 0; font-variant-numeric: tabular-nums; }

/* 01・02・03 */
.points { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 48px; padding-top: 0; }
.point .no { font-family: "Montserrat", sans-serif; font-size: 23px; margin: 0; letter-spacing: 0.04em; }
.point h3 { font-size: 22px; font-weight: 500; line-height: 1.6; margin: 4px 0 12px; }
.point p { margin: 0; font-size: 15px; line-height: 2; }

/* 番組表。Rinse FM・NTS の番組表に倣い、箱と色の帯を使わず、細い線と余白で区切る（2026-10-30、指摘）
   段の名前は、テレビ欄の時刻のように左に置く。ホットの順は大きく細い数字で出す */
.listing { max-width: none; padding-inline: clamp(16px, 6vw, 96px); }
.sec-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 16px; margin-bottom: 40px; }
.sec-head h2 { margin: 0; }
.sec-tools { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.make { display: inline-block; padding: 8px 24px; border: 1px solid var(--self); color: var(--self); text-decoration: none;
  font-size: 13px; line-height: 1.8; letter-spacing: 0.06em; transition: background 0.3s, color 0.3s; }
.make:hover { background: var(--self); color: var(--self-ink); }
.tabs { display: none; }
/* 段（画面の幅に入る列数ごと）を縦に積む。横には動かさない */
.guide { display: grid; row-gap: 72px; }
.grid {
  display: grid; column-gap: 32px;
  grid-template-columns: 80px repeat(var(--cols, 11), minmax(200px, 1fr));
}
.corner { border-bottom: 1px solid var(--ink); }
.ch { padding: 0 0 14px; border-bottom: 1px solid var(--ink); display: grid; gap: 2px; }
.ch b { font-family: "Montserrat", sans-serif; font-weight: 300; font-size: 36px; line-height: 1.1; color: var(--mute); opacity: 0.55; }
.ch span { font-size: 13px; font-weight: 600; letter-spacing: 0.12em; line-height: 1.6; }
.slot { padding: 28px 0; border-top: 1px solid var(--hair);
  display: grid; align-content: start; gap: 4px; }
.slot small { font-size: 10px; font-weight: 600; letter-spacing: 0.08em; white-space: nowrap; color: var(--mute); line-height: 1.6; }
.slot b { font-family: "Montserrat", sans-serif; font-weight: 300; font-size: 40px; line-height: 1; }
.cell { padding: 28px 0; border-top: 1px solid var(--hair); display: grid; gap: 20px; align-content: start; min-width: 0; }
/* ピックアップとホットのあいだは、線を濃くして余白を足す */
.slot.split, .cell.split { border-top-color: var(--ink); margin-top: 32px; }
.band-more { grid-column: 1 / -1; justify-self: center; margin-top: 24px; font: inherit; font-size: 13px; line-height: 1.8;
  letter-spacing: 0.1em; color: var(--ink); background: none; border: 1px solid var(--hair); padding: 8px 40px; cursor: pointer;
  transition: border-color 0.3s; }
.band-more:hover { border-color: var(--ink); }
/* 指した1本は名前に下線を引くだけにする。周りを薄くすると読みにくかった（2026-10-30、指摘） */

/* カード（1本のフィード）。箱にせず、字と余白だけで組む */
.card {
  display: grid; grid-template-columns: 40px 1fr; column-gap: 12px; align-items: start;
  position: relative; color: var(--ink); min-width: 0; line-height: 1.6; transition: opacity 0.3s;
}
/* カード全体を覆うフィードへのリンク */
.card .hit { position: absolute; inset: -8px; z-index: 1; }
.card .hit:focus-visible { outline: 2px solid var(--self); outline-offset: 2px; }
.card .av { width: 40px; height: 40px; border-radius: 50%; grid-row: span 2; object-fit: cover; }
.card .av.blank { display: block; background: var(--band); }
.card .name { font-size: 15px; font-weight: 600; overflow-wrap: anywhere;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.card:hover .name { text-decoration: underline; text-underline-offset: 3px; }
.card .desc { margin-top: 4px; font-size: 12.5px; line-height: 1.8; color: var(--mute); overflow-wrap: anywhere; font-weight: 400;
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.card .meta { grid-column: 2; display: flex; flex-wrap: wrap; gap: 0 10px; align-items: baseline; margin-top: 8px;
  font-size: 11px; color: var(--mute); font-weight: 400; }
.card .svc { font-family: "Montserrat", sans-serif; font-size: 10px; font-weight: 600;
  letter-spacing: 0.1em; text-transform: uppercase; }
.card .svc.atomo { color: var(--self); }
.card .by { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 100%; }

/* 新番組 */
.strip .row { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(220px, 260px); column-gap: 32px;
  overflow-x: auto; border-top: 1px solid var(--ink); padding: 28px 0 8px; }

/* さがす */
.finder { padding-top: 0; }
#search { display: flex; flex-wrap: wrap; gap: 0; margin-bottom: 32px; border-bottom: 1px solid var(--ink); }
#search input, #search select, #search button {
  font: inherit; font-size: 14px; line-height: 1.6; padding: 12px 12px 12px 0; border: 0;
  background: none; color: var(--ink); border-radius: 0;
}
#search input { flex: 1 1 220px; min-width: 0; outline-offset: 2px; }
#search select { flex: 0 1 auto; max-width: 100%; color: var(--mute); }
#search button { padding: 12px 0 12px 16px; letter-spacing: 0.1em; cursor: pointer; font-weight: 600; }
.results { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 32px; }
.more { margin-top: 32px; }
.status { margin: 0 0 16px; font-size: 13px; color: var(--mute); }
.status:empty { display: none; }

/* 作る人へ */
.cta { background: var(--dark); color: var(--on-dark); text-align: center; padding: 120px 16px; }
.cta h2 { font-size: clamp(26px, 4vw, 38px); }
.cta p { margin: 0 auto 36px; max-width: 640px; font-size: 17px; }
.solid {
  display: inline-block; padding: 10px 40px; background: var(--on-dark); color: var(--dark);
  text-decoration: none; font-size: 15px; font-weight: 600; letter-spacing: 0.04em; border-radius: 6px;
}
.solid:hover { opacity: 0.85; }
.cta .fine + .fine { margin-top: 8px; }
.cta .fine { margin: 48px auto 0; font-size: 12px; opacity: 0.6; }

@media (max-width: 600px) {
  section { padding: 64px 16px; }
  /* 狭いときは、上のチャンネルの切り替えで1本ずつ見せる（2026-10-30、UX検査） */
  .tabs { display: flex; gap: 20px; overflow-x: auto; margin: 0 -16px 24px; padding: 0 16px; scrollbar-width: none;
    border-bottom: 1px solid var(--hair); }
  .tabs button { flex: none; font: inherit; font-size: 13px; line-height: 1.6; padding: 8px 0; border: 0;
    border-bottom: 2px solid transparent; background: none; color: var(--mute); cursor: pointer; }
  .tabs button[aria-selected="true"] { color: var(--ink); border-bottom-color: var(--ink); }
  .grid { grid-template-columns: 44px 1fr; column-gap: 16px; min-width: 0; }
  .ch b { font-size: 28px; }
  .slot b { font-size: 30px; }
  .grid [data-g]:not(.on) { display: none; }
  .intro h2 br, .cta h2 br { display: none; }
}

/* 動きを減らす設定の人には、なめらかな送りと薄くなる動きを止める */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
