:root {
  --ink: #263f49;
  --muted: #657a80;
  --cream: #fffaf0;
  --paper: #fffdf8;
  --sky: #a9d8e6;
  --deep-sky: #478aa3;
  --coral: #e77c61;
  --gold: #e6b863;
  --leaf: #789b78;
  --line: rgba(38, 63, 73, 0.14);
  --serif: "Yu Mincho", "Hiragino Mincho ProN", "HGS明朝E", serif;
  --sans: "Yu Gothic", "Hiragino Kaku Gothic ProN", "Noto Sans JP", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--sans);
}
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }

.top-message {
  display: flex;
  min-height: 34px;
  align-items: center;
  justify-content: center;
  background: var(--ink);
  color: #fff9ec;
  font-size: 12px;
  letter-spacing: 0.12em;
}

.site-header {
  position: relative;
  z-index: 20;
  display: flex;
  min-height: 86px;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  padding: 14px max(5vw, 28px);
  border-bottom: 1px solid rgba(38, 63, 73, 0.08);
  background: rgba(255, 253, 248, 0.94);
}
.brand { display: inline-flex; align-items: center; gap: 13px; }
.brand-mark {
  display: grid;
  width: 43px;
  height: 43px;
  place-items: center;
  border-radius: 50%;
  background: var(--coral);
  color: white;
  font-size: 23px;
  transform: rotate(-8deg);
}
.brand strong {
  display: block;
  font-family: var(--serif);
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 0.08em;
}
.brand small {
  display: block;
  margin-top: 3px;
  color: var(--muted);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.25em;
}
.site-header nav { display: flex; align-items: center; gap: 28px; }
.site-header nav a { font-size: 13px; font-weight: 700; letter-spacing: 0.04em; }
.site-header nav a:hover { color: var(--coral); }
.site-header .nav-store {
  padding: 12px 18px;
  border: 1px solid rgba(71, 138, 163, 0.34);
  border-radius: 999px;
  color: var(--deep-sky);
}

.hero {
  position: relative;
  display: grid;
  min-height: 650px;
  grid-template-columns: minmax(0, 1.08fr) minmax(360px, 0.92fr);
  align-items: center;
  gap: 64px;
  overflow: hidden;
  padding: 66px max(7vw, 42px) 112px;
  background:
    linear-gradient(118deg, rgba(255,250,240,0.96) 0%, rgba(255,250,240,0.74) 50%, rgba(213,237,241,0.7) 100%),
    repeating-linear-gradient(0deg, rgba(58,98,110,.02) 0 1px, transparent 1px 5px);
}
.hero-copy, .hero-art { position: relative; z-index: 2; }
.eyebrow {
  margin: 0 0 16px;
  color: var(--deep-sky);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.24em;
}
.hero h1 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(50px, 5.8vw, 83px);
  font-weight: 600;
  line-height: 1.35;
  letter-spacing: 0.04em;
}
.hero h1 em { color: var(--coral); font-style: normal; }
.hero-lead {
  max-width: 690px;
  margin: 28px 0 0;
  color: #50696f;
  font-family: var(--serif);
  font-size: 18px;
  line-height: 2;
}
.hero-actions { display: flex; align-items: center; gap: 25px; margin-top: 34px; }
.primary-button, .secondary-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  min-height: 54px;
  padding: 0 26px;
  border-radius: 999px;
  font-weight: 800;
  letter-spacing: 0.04em;
}
.primary-button { background: var(--coral); color: white; box-shadow: 0 12px 28px rgba(188, 91, 67, 0.22); }
.primary-button:hover { background: #d96b52; transform: translateY(-1px); }
.text-button { border-bottom: 1px solid var(--ink); padding: 7px 2px; font-size: 14px; font-weight: 700; }
.hero-promise {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-top: 27px;
  color: var(--muted);
  font-size: 12px;
}
.hero-promise span { color: var(--gold); }
.hero-art { min-height: 515px; }
.hero-art-card {
  position: absolute;
  top: 0;
  left: 50%;
  width: min(355px, 78%);
  overflow: hidden;
  border: 12px solid rgba(255,255,255,.92);
  border-radius: 10px 10px 120px 10px;
  box-shadow: 0 28px 70px rgba(53, 92, 103, 0.24);
  transform: translateX(-50%) rotate(2.4deg);
}
.hero-art-card img { display: block; width: 100%; height: auto; }
.floating-note {
  position: absolute;
  color: var(--deep-sky);
  font-family: var(--serif);
  font-size: 40px;
  opacity: .62;
}
.note-one { top: 18px; left: 1%; transform: rotate(-16deg); }
.note-two { right: 0; bottom: 100px; transform: rotate(13deg); }
.floating-label {
  position: absolute;
  right: 1%;
  bottom: 44px;
  padding: 12px 19px;
  border-radius: 999px;
  background: white;
  color: var(--deep-sky);
  font-family: var(--serif);
  font-size: 14px;
  font-weight: 700;
  box-shadow: 0 9px 25px rgba(61,102,114,.16);
}
.hero-wash { position: absolute; border-radius: 50%; filter: blur(2px); opacity: .36; }
.hero-wash-one { width: 520px; height: 300px; right: -130px; top: -90px; background: #8fc8d7; transform: rotate(-12deg); }
.hero-wash-two { width: 400px; height: 230px; left: 30%; bottom: -120px; background: #f4bd84; }

.search-dock {
  position: relative;
  z-index: 5;
  width: min(1120px, calc(100% - 40px));
  margin: -54px auto 0;
  padding: 26px 30px 22px;
  border: 1px solid rgba(38,63,73,.1);
  border-radius: 22px;
  background: rgba(255,255,255,.96);
  box-shadow: 0 20px 60px rgba(52, 86, 96, .14);
}
.search-box label { display: block; margin-bottom: 10px; font-size: 12px; font-weight: 800; letter-spacing: .07em; }
.search-control { display: grid; grid-template-columns: auto 1fr auto; align-items: center; border: 1px solid rgba(38,63,73,.18); border-radius: 13px; overflow: hidden; }
.search-control > span:not(.song-count) { padding-left: 17px; color: var(--deep-sky); font-size: 26px; transform: rotate(-18deg); }
.search-control input { width: 100%; min-height: 52px; border: 0; outline: 0; padding: 0 14px; background: transparent; color: var(--ink); }
/* 件数は「押せる何か」ではなく、いま何曲が該当しているかの表示。
   濃い色のボタンに見えると押したくなるのに何も起きない（2026-08-11修正） */
.search-control .song-count { display: grid; align-self: stretch; min-width: 93px; padding: 0 14px; place-items: center;
  background: #eef4f6; color: var(--deep-sky); font-size: 13px; font-weight: 800; white-space: nowrap; }
.quick-filters { display: flex; align-items: center; flex-wrap: wrap; gap: 9px; margin-top: 17px; }
.quick-filters > span { margin-right: 4px; color: var(--muted); font-size: 12px; font-weight: 800; }
.quick-filters button { padding: 7px 13px; border: 0; border-radius: 999px; background: #f3f2eb; color: #566c72; font-size: 12px; font-weight: 700; cursor: pointer; }
.quick-filters button:hover, .quick-filters button.active { background: #e8f2f3; color: var(--deep-sky); box-shadow: inset 0 0 0 1px rgba(71,138,163,.2); }

.songs-section { padding: 105px max(7vw, 42px) 120px; background: var(--paper); }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 32px; max-width: 1240px; margin: 0 auto 40px; }
.section-heading h2, .teacher-copy h2, .coming-next h2 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(32px, 3.5vw, 48px);
  font-weight: 600;
  line-height: 1.55;
}
.all-link { padding: 0 0 6px; border: 0; border-bottom: 1px solid var(--ink); background: transparent; color: var(--ink); font-size: 13px; font-weight: 800; cursor: pointer; }
.all-link span { margin-left: 12px; }
.song-grid { display: grid; max-width: 1240px; margin: 0 auto; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.song-card { overflow: hidden; border: 1px solid rgba(38,63,73,.1); border-radius: 20px; background: white; box-shadow: 0 14px 38px rgba(46,71,78,.08); }
/* 絵と同じ 3:2 の枠にする＝カードの幅が変わっても絵の左右が切れない
   （固定の min-height だと、狭い画面でカードが縦長になり横長の絵が両端から削られる・2026-08-11） */
.song-visual { position: relative; display: grid; aspect-ratio: 3 / 2; min-height: 150px; place-items: center; overflow: hidden; }
/* サムネも曲ページへのリンクに（2026-08-11・div→a）。押せる場所だと分かるよう、絵に軽くズームを添える */
.song-visual .song-art { transition: transform .35s ease; }
.song-visual:hover .song-art { transform: scale(1.04); }
/* aspect-ratio が無い古い端末（iOS14以前など）では min-height だけが効いて帯状になり、
   絵の上下が3割ほど切れる。そこだけ昔ながらの padding-top で 3:2 を作る（2026-08-11 実測して追加） */
@supports not (aspect-ratio: 3 / 2) {
  .song-visual { min-height: 0; padding-top: 66.67%; }
}
.song-visual::before, .song-visual::after { content: ""; position: absolute; border-radius: 50%; background: rgba(255,255,255,.24); }
.song-visual::before { width: 210px; height: 210px; left: -70px; top: -120px; }
.song-visual::after { width: 150px; height: 150px; right: -40px; bottom: -95px; }
.song-card.apricot .song-visual { background: linear-gradient(140deg, #f3c6a3, #e78b6b); }
.song-card.sky .song-visual { background: linear-gradient(140deg, #a8dce8, #65a8be); }
.song-card.leaf .song-visual { background: linear-gradient(140deg, #b5cfad, #779c76); }
.song-card.rainbow .song-visual { background: linear-gradient(140deg, #f4b7a8 0%, #f1d08a 35%, #a8d7d3 68%, #9cbadf 100%); }
.song-card.violet .song-visual { background: linear-gradient(140deg, #c9b8de, #8e76ae); }
.song-card.night .song-visual { background: linear-gradient(140deg, #6e89a9, #354e70); }
.song-note { color: rgba(255,255,255,.9); font-family: var(--serif); font-size: 70px; transform: rotate(-8deg); text-shadow: 0 8px 24px rgba(43,70,77,.13); }
.song-scene { position: absolute; top: 14px; left: 14px; padding: 6px 10px; border-radius: 999px; background: rgba(255,255,255,.86); font-size: 11px; font-weight: 800; }
.song-body { padding: 24px 24px 27px; }
.song-grade { margin: 0 0 8px; color: var(--deep-sky); font-size: 11px; font-weight: 800; letter-spacing: .06em; }
.song-body h3 { margin: 0; font-family: var(--serif); font-size: 25px; font-weight: 700; }
.song-body > p:not(.song-grade) { min-height: 55px; margin: 13px 0 19px; color: var(--muted); font-family: var(--serif); font-size: 14px; line-height: 1.8; }
.song-body a { display: inline-flex; align-items: center; gap: 14px; color: var(--coral); font-size: 12px; font-weight: 800; }
.empty-result { grid-column: 1 / -1; display: grid; gap: 8px; place-items: center; min-height: 220px; border: 1px dashed rgba(38,63,73,.22); border-radius: 20px; color: var(--muted); text-align: center; }
.empty-result strong { color: var(--ink); font-family: var(--serif); font-size: 20px; }
.empty-result span { font-size: 13px; }

/* ---------- 作曲家と会う（/au） ---------- */
.au-hero { max-width: 560px; margin: 0 auto 40px; text-align: center; }
.au-hero img {
  width: min(420px, 88%);
  height: auto;
  border-radius: 20px;
  box-shadow: 0 18px 50px rgba(52, 86, 96, .18);
  transform: rotate(-1.2deg);
}
.au-hero-cap { margin: 16px 0 0; color: var(--muted); font-family: var(--serif); font-size: 13px; }
.au-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 18px; max-width: 1000px; margin: 0 auto 56px; }
.au-card {
  display: grid;
  gap: 10px;
  align-content: start;
  padding: 26px 26px 22px;
  border: 1px solid rgba(38,63,73,.12);
  border-radius: 20px;
  background: white;
  box-shadow: 0 12px 34px rgba(46,71,78,.08);
  transition: transform .15s ease, box-shadow .15s ease;
}
.au-card:hover { transform: translateY(-3px); box-shadow: 0 18px 44px rgba(46,71,78,.14); }
.au-tag { justify-self: start; padding: 5px 12px; border-radius: 999px; background: #e8f2f3; color: var(--deep-sky); font-size: 11px; font-weight: 800; }
.au-card strong { font-family: var(--serif); font-size: 20px; line-height: 1.5; }
.au-card p { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.9; }
.au-link { color: var(--coral); font-size: 12px; font-weight: 800; }
.au-circle { max-width: 720px; margin: 0 auto; padding: 34px 34px 30px; border-radius: 22px; background: #f5ead6; text-align: center; }
.au-circle h2 { margin: 0 0 14px; font-family: var(--serif); font-size: 24px; font-weight: 700; }
.au-circle p { margin: 0 0 22px; color: #6a5b42; font-family: var(--serif); font-size: 14px; line-height: 2; }
.au-actions { display: flex; justify-content: center; align-items: center; gap: 24px; flex-wrap: wrap; }

/* ---------- 名物先生の日本地図（/sensei） ---------- */
.sensei-map-wrap {
  position: relative;
  max-width: 760px;
  margin: 0 auto 26px;
  padding: 28px 18px 10px;
  border-radius: 26px;
  overflow: hidden;
  background:
    radial-gradient(90% 70% at 50% 108%, rgba(244,189,132,.4), transparent 62%),
    linear-gradient(180deg, #2a3b5e 0%, #45577e 55%, #7d7fa8 100%);
}
.sensei-sky { position: absolute; inset: 0; pointer-events: none; }
.sensei-spark {
  position: absolute;
  color: #ffe9b8;
  text-shadow: 0 0 10px rgba(255,226,150,.9);
  animation: senseiTwinkle 3.4s ease-in-out infinite;
}
@keyframes senseiTwinkle {
  0%, 100% { opacity: 0; transform: scale(.4) rotate(-8deg); }
  50% { opacity: .95; transform: scale(1) rotate(8deg); }
}
.sensei-map { position: relative; width: 100%; height: auto; display: block; }
.sensei-pref {
  fill: #e9edf6;
  stroke: #fffdf8;
  stroke-width: 1.6;
  stroke-linejoin: round;
  cursor: pointer;
  transition: fill .3s, filter .2s;
  filter: drop-shadow(0 2px 3px rgba(10,20,40,.35));
}
.sensei-pref:hover { fill: var(--gold); }
.sensei-pref.lit {
  fill: #f0a97c;
  filter: drop-shadow(0 3px 7px rgba(255,150,90,.55));
  animation: senseiGlow 3.6s ease-in-out infinite;
}
@keyframes senseiGlow {
  0%, 100% { fill: #f0a97c; }
  50% { fill: #ffc48f; }
}
.sensei-pref.sel { stroke: var(--gold); stroke-width: 3; }
.sensei-legend { position: relative; margin: 12px 0 8px; color: #e8e4d8; font-size: 12px; text-align: center; }
.sensei-legend i { display: inline-block; width: 13px; height: 13px; border-radius: 4px; border: 2px solid #fffdf8; background: #e9edf6; vertical-align: -2px; margin-right: 5px; }
.sensei-legend i.lit { background: linear-gradient(135deg, #f0a97c, #ffc48f); }

.sensei-panel { max-width: 760px; margin: 0 auto 60px; }
.teacher-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 16px; }
.teacher-card {
  padding: 24px 24px 20px;
  border: 1px solid rgba(38,63,73,.12);
  border-radius: 18px;
  background: white;
  box-shadow: 0 10px 30px rgba(46,71,78,.07);
}
.teacher-card.preparing { border-style: dashed; background: #fdfbf4; }
.teacher-pref { margin: 0 0 6px; color: var(--deep-sky); font-size: 11px; font-weight: 800; letter-spacing: .1em; }
.teacher-card h3 { margin: 0 0 8px; font-family: var(--serif); font-size: 20px; }
.teacher-categories { margin: 0 0 10px; display: flex; flex-wrap: wrap; gap: 6px; }
.tatsujin-badge { padding: 4px 12px; border-radius: 999px; background: linear-gradient(135deg, #e77c61, #e6b863); color: white; font-size: 11px; font-weight: 800; }
.teacher-title { margin: 0 0 8px; font-size: 13px; color: var(--ink); line-height: 1.8; }
.teacher-songs { margin: 0 0 8px; color: var(--coral); font-size: 12px; font-weight: 700; }
.teacher-message { margin: 0 0 8px; color: #526b70; font-family: var(--serif); font-size: 13px; line-height: 1.9; }
.teacher-preparing-note { margin: 0; color: var(--muted); font-size: 12px; line-height: 1.9; }

.sensei-list { max-width: 860px; margin: 0 auto 60px; }
.sensei-list h2, .sensei-friends h2 { margin: 0 0 8px; font-family: var(--serif); font-size: 26px; font-weight: 700; }
.sensei-friends { max-width: 860px; margin: 0 auto; }
.friends-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 14px; margin-top: 18px; }
.friend-card {
  display: grid;
  gap: 8px;
  align-content: start;
  padding: 20px 22px;
  border: 1px solid rgba(38,63,73,.12);
  border-radius: 16px;
  background: white;
  transition: transform .15s ease, box-shadow .15s ease;
}
.friend-card:hover { transform: translateY(-3px); box-shadow: 0 14px 34px rgba(46,71,78,.12); }
.friend-card strong { font-family: var(--serif); font-size: 16px; }
.friend-card p { margin: 0; color: var(--muted); font-size: 12px; line-height: 1.8; }
.friend-card.phoenix { background: linear-gradient(150deg, #fff7ec, #ffe9d6); }
.friend-card.night { background: linear-gradient(150deg, #eceafb, #dcdcf2); }

/* ---------- 作品集の棚 ---------- */
.shelf-section { padding: 95px max(7vw, 42px) 105px; background: #f3efe4; }
.shelf-grid { display: grid; max-width: 1240px; margin: 0 auto; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 18px; }
.shelf-card {
  display: grid;
  gap: 10px;
  align-content: start;
  padding: 24px 24px 20px;
  border: 1px solid rgba(38,63,73,.12);
  border-radius: 18px;
  background: white;
  box-shadow: 0 10px 30px rgba(46,71,78,.06);
  transition: transform .15s ease, box-shadow .15s ease;
}
.shelf-card:hover { transform: translateY(-3px); box-shadow: 0 16px 40px rgba(46,71,78,.12); }
.shelf-card.built { border-color: rgba(231,124,97,.5); background: #fffaf3; }
.shelf-no { color: var(--deep-sky); font-size: 11px; font-weight: 800; letter-spacing: .12em; }
.shelf-card.built .shelf-no { color: var(--coral); }
.shelf-card strong { font-family: var(--serif); font-size: 19px; line-height: 1.5; }
.shelf-card p { margin: 0; color: var(--muted); font-size: 12px; line-height: 1.9; }
.shelf-link { margin-top: 4px; display: inline-flex; align-items: center; gap: 10px; color: var(--coral); font-size: 12px; font-weight: 800; }

.teacher-preview {
  display: grid;
  grid-template-columns: minmax(300px, .8fr) minmax(0, 1.2fr);
  align-items: center;
  gap: clamp(54px, 7vw, 110px);
  padding: 110px max(9vw, 54px);
  background: #e7f0ee;
}
.teacher-photo { position: relative; max-width: 430px; justify-self: end; }
.teacher-photo-frame { overflow: hidden; border-radius: 50% 50% 20px 20px; background: white; box-shadow: 0 20px 55px rgba(48,80,83,.16); }
.teacher-photo-frame img { display: block; width: 100%; height: 440px; object-fit: cover; object-position: center 18%; }
.teacher-badge { position: absolute; right: -32px; bottom: 25px; padding: 12px 17px; border-radius: 8px; background: var(--coral); color: white; font-family: var(--serif); font-weight: 700; transform: rotate(-3deg); }
.teacher-copy { max-width: 690px; }
.teacher-copy > p:not(.eyebrow) { margin: 24px 0; color: #526b70; font-family: var(--serif); font-size: 16px; line-height: 2; }
.teacher-quote { display: grid; gap: 7px; margin: 30px 0; padding: 20px 23px; border-left: 3px solid var(--gold); background: rgba(255,255,255,.62); }
.teacher-quote span { color: var(--muted); font-size: 11px; font-weight: 800; }
.teacher-quote strong { font-family: var(--serif); font-size: 18px; line-height: 1.6; }
.teacher-list { display: flex; flex-wrap: wrap; gap: 8px; margin: -10px 0 27px; }
.teacher-list span { padding: 7px 12px; border: 1px solid rgba(38,63,73,.14); border-radius: 999px; background: rgba(255,255,255,.48); color: var(--muted); font-size: 11px; font-weight: 800; }
.secondary-button { border: 1px solid rgba(38,63,73,.32); background: transparent; font-size: 13px; }
.secondary-button:hover { background: white; }

.song-page-preview { padding: 110px max(7vw, 42px); background: #fffdf8; }
.section-heading.compact { align-items: center; margin-bottom: 36px; }
.section-note { max-width: 310px; margin: 0; color: var(--muted); font-family: var(--serif); font-size: 14px; line-height: 1.8; }
.room-grid { display: grid; max-width: 1240px; margin: 0 auto; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.room-grid article { position: relative; padding: 31px 24px 34px; border-right: 1px solid var(--line); }
.room-grid article:last-child { border-right: 0; }
.room-no { display: block; margin-bottom: 21px; color: var(--coral); font-family: var(--serif); font-size: 13px; font-weight: 700; }
.room-grid strong { display: block; font-family: var(--serif); font-size: 28px; }
.room-grid p { margin: 13px 0 0; color: var(--muted); font-family: var(--serif); font-size: 14px; line-height: 1.8; }

.story-section { display: grid; grid-template-columns: minmax(320px, .86fr) minmax(0, 1.14fr); align-items: center; gap: clamp(50px, 8vw, 120px); padding: 115px max(9vw, 54px); background: #203c52; color: #f9f5e9; }
.story-image { justify-self: end; width: min(420px, 100%); max-height: 610px; overflow: hidden; border: 9px solid rgba(255,255,255,.9); border-radius: 8px 8px 90px 8px; box-shadow: 0 24px 65px rgba(0,0,0,.25); transform: rotate(-1.5deg); }
.story-image img { display: block; width: 100%; height: auto; transform: translateY(-1%); }
.story-copy { max-width: 650px; }
.story-copy .eyebrow { color: #8fcada; }
.story-copy h2 { margin: 0; font-family: var(--serif); font-size: clamp(34px, 4vw, 52px); font-weight: 600; line-height: 1.55; }
.story-copy p:not(.eyebrow) { margin: 26px 0 34px; color: #d7e2e3; font-family: var(--serif); font-size: 16px; line-height: 2.1; }
.story-copy .secondary-button { border-color: rgba(255,255,255,.4); color: white; }
.story-copy .secondary-button:hover { background: rgba(255,255,255,.1); }

.materials-section { display: grid; grid-template-columns: minmax(0, 1fr) minmax(300px, .7fr); align-items: center; gap: 38px 80px; padding: 95px max(9vw, 54px); background: #f5ead6; }
.materials-section h2 { margin: 0; font-family: var(--serif); font-size: clamp(32px, 4vw, 50px); font-weight: 600; line-height: 1.5; }
.materials-section p:not(.eyebrow) { max-width: 700px; margin: 22px 0 0; color: var(--muted); font-family: var(--serif); font-size: 16px; line-height: 2; }
.school-points { display: grid; grid-template-columns: 1fr 1fr; gap: 11px; }
.school-points span { display: grid; min-height: 70px; place-items: center; border: 1px solid rgba(38,63,73,.13); border-radius: 12px; background: rgba(255,255,255,.54); color: #50676c; font-size: 12px; font-weight: 800; text-align: center; }
.materials-section .primary-button { grid-column: 2; justify-self: start; }

.coming-next {
  display: grid;
  grid-template-columns: 150px 1fr auto;
  align-items: center;
  gap: 38px;
  padding: 65px max(8vw, 48px);
  background: #fff4df;
}
.tabiwan { width: 150px; height: 150px; object-fit: contain; }
.coming-next h2 { font-size: clamp(27px, 3vw, 40px); }
.coming-next p:not(.eyebrow) { margin: 12px 0 0; color: var(--muted); font-size: 14px; }

.site-footer { display: grid; grid-template-columns: auto 1fr; align-items: center; gap: 34px 70px; padding: 58px max(7vw, 42px); background: var(--ink); color: #fff9ec; }
.footer-brand { display: flex; align-items: center; gap: 14px; }
.footer-brand strong { display: block; font-family: var(--serif); font-size: 19px; letter-spacing: .05em; }
.footer-brand small { display: block; margin-top: 5px; color: #afc3c7; font-size: 10px; letter-spacing: .07em; }
.footer-links { display: flex; justify-content: end; flex-wrap: wrap; gap: 20px 30px; color: #d8e3e4; font-size: 12px; font-weight: 700; }
.site-footer > p { grid-column: 1 / -1; margin: 4px 0 0; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.12); color: #9eb4b8; font-family: var(--serif); font-size: 13px; text-align: center; }

/* ---------- サブページ（実践を届ける・職員室・実践一覧・編集部） ---------- */
.subpage { min-height: 100vh; display: flex; flex-direction: column; background: var(--cream); }
.subpage-hero {
  padding: 72px max(7vw, 42px) 46px;
  background:
    linear-gradient(118deg, rgba(255,250,240,0.96) 0%, rgba(255,250,240,0.8) 55%, rgba(213,237,241,0.62) 100%),
    repeating-linear-gradient(0deg, rgba(58,98,110,.02) 0 1px, transparent 1px 5px);
}
.subpage-hero h1 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(36px, 4.6vw, 58px);
  font-weight: 600;
  letter-spacing: 0.04em;
}
.subpage-lead {
  max-width: 720px;
  margin: 20px 0 0;
  color: #50696f;
  font-family: var(--serif);
  font-size: 16px;
  line-height: 2;
}
.subpage-body { flex: 1; padding: 52px max(7vw, 42px) 110px; background: var(--paper); }
.teacher-actions { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }

.form-card {
  display: grid;
  gap: 22px;
  width: min(760px, 100%);
  padding: 34px 34px 30px;
  border: 1px solid rgba(38,63,73,.1);
  border-radius: 22px;
  background: white;
  box-shadow: 0 20px 60px rgba(52, 86, 96, .1);
}
.field { display: grid; gap: 9px; }
.field label { font-size: 12px; font-weight: 800; letter-spacing: .06em; color: var(--ink); }
.field input, .field textarea, .field select {
  width: 100%;
  min-height: 48px;
  padding: 10px 14px;
  border: 1px solid rgba(38,63,73,.18);
  border-radius: 12px;
  background: var(--paper);
  color: var(--ink);
  font: inherit;
}
.field textarea { line-height: 1.9; resize: vertical; }
.field input:focus, .field textarea:focus, .field select:focus {
  outline: 2px solid rgba(71,138,163,.4);
  outline-offset: 1px;
}
.field-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 16px; }
.form-actions { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.form-actions .primary-button { border: 0; cursor: pointer; }
.form-actions .primary-button:disabled { opacity: .6; cursor: wait; }
.form-note { color: var(--muted); font-size: 12px; }
.form-error { margin: 0; color: #b6503a; font-size: 13px; font-weight: 700; }
.form-sent { margin: 0; color: var(--leaf); font-size: 13px; font-weight: 700; }
.form-success { text-align: left; }
.form-success strong { font-family: var(--serif); font-size: 24px; }
.form-success p { margin: 0; color: var(--muted); font-family: var(--serif); line-height: 2; }
.form-success .secondary-button { justify-self: start; }
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }

.character-guide {
  display: grid;
  grid-template-columns: minmax(108px, 150px) minmax(0, 1fr);
  align-items: center;
  gap: 20px;
  width: min(760px, 100%);
  margin: 0 auto 28px;
  padding: 12px 24px 12px 10px;
  border: 1px solid rgba(38,63,73,.1);
  border-radius: 22px;
  background: linear-gradient(120deg, #fffdf8 0%, #f2f7f4 100%);
  box-shadow: 0 10px 28px rgba(46,71,78,.06);
}
.character-guide-wide { width: min(1240px, 100%); }
.character-guide img { justify-self: center; width: 100%; height: auto; max-height: 210px; object-fit: contain; }
.character-guide div { display: grid; gap: 7px; }
.character-guide span { color: var(--deep-sky); font-size: 11px; font-weight: 800; letter-spacing: .08em; }
.character-guide strong { font-family: var(--serif); font-size: 20px; line-height: 1.55; }
.character-guide p { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.9; }

.board-layout { display: grid; grid-template-columns: minmax(300px, .9fr) minmax(0, 1.1fr); gap: 40px; align-items: start; max-width: 1240px; margin: 0 auto; }
.board-form { position: sticky; top: 24px; }
.board-form h2 { margin: 0; font-family: var(--serif); font-size: 24px; font-weight: 700; }
.board-list { display: grid; gap: 16px; }
.board-post {
  padding: 22px 24px;
  border: 1px solid rgba(38,63,73,.1);
  border-radius: 18px;
  background: white;
  box-shadow: 0 10px 30px rgba(46,71,78,.06);
}
.board-post header { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; margin-bottom: 10px; }
.board-post header strong { font-family: var(--serif); font-size: 17px; }
.board-region { padding: 3px 10px; border-radius: 999px; background: #e8f2f3; color: var(--deep-sky); font-size: 11px; font-weight: 800; }
.board-post time { margin-left: auto; color: var(--muted); font-size: 11px; }
.board-post > p { margin: 0; color: #435c63; font-size: 14px; line-height: 1.9; white-space: pre-wrap; }
.board-empty {
  display: grid;
  gap: 10px;
  justify-items: start;
  padding: 34px;
  border: 1px dashed rgba(38,63,73,.22);
  border-radius: 18px;
  color: var(--muted);
  font-size: 13px;
}
.board-empty strong { color: var(--ink); font-family: var(--serif); font-size: 18px; }

.practice-list { display: grid; gap: 22px; max-width: 860px; margin: 0 auto; }
.practice-card {
  padding: 30px 32px;
  border: 1px solid rgba(38,63,73,.1);
  border-radius: 20px;
  background: white;
  box-shadow: 0 14px 38px rgba(46,71,78,.08);
}
.practice-song { margin: 0 0 8px; color: var(--deep-sky); font-size: 12px; font-weight: 800; letter-spacing: .06em; }
.practice-card h2 { margin: 0; font-family: var(--serif); font-size: 24px; font-weight: 700; line-height: 1.5; }
.practice-meta { margin: 10px 0 16px; color: var(--muted); font-size: 12px; font-weight: 700; }
.practice-content { margin: 0; color: #435c63; font-size: 14px; line-height: 2; white-space: pre-wrap; }

.henshubu-gate { width: min(420px, 100%); }
.henshubu-section { max-width: 860px; margin: 0 auto 46px; }
.henshubu-section h2 { font-family: var(--serif); font-size: 24px; font-weight: 700; margin: 0 0 18px; }
.admin-item {
  margin-bottom: 16px;
  padding: 22px 24px;
  border: 1px solid rgba(38,63,73,.12);
  border-radius: 18px;
  background: white;
  box-shadow: 0 10px 30px rgba(46,71,78,.06);
}
.admin-item header { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 8px; }
.admin-item header strong { font-family: var(--serif); font-size: 17px; }
.admin-item.compact { padding: 14px 20px; }
.admin-item.compact header { margin-bottom: 8px; }
.admin-meta { margin: 0 0 10px; color: var(--muted); font-size: 12px; font-weight: 700; }
.admin-meta-inline { color: var(--muted); font-size: 12px; }
.admin-content { margin: 0 0 14px; color: #435c63; font-size: 14px; line-height: 1.9; white-space: pre-wrap; }
.admin-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.approve-btn, .reject-btn {
  padding: 9px 18px;
  border: 0;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
  cursor: pointer;
}
.approve-btn { background: var(--leaf); color: white; }
.approve-btn:hover { background: #67885f; }
.reject-btn { background: #f3f2eb; color: #566c72; }
.reject-btn:hover { background: #e9e6da; }
.status-chip { padding: 4px 11px; border-radius: 999px; font-size: 11px; font-weight: 800; }
.status-chip.pending { background: #fdeeda; color: #a5713a; }
.status-chip.approved { background: #e4efe2; color: #4d7048; }
.status-chip.rejected { background: #f0e6e2; color: #9a5a48; }
.henshubu-section.handled { opacity: .92; }

/* ---------- 曲ページ（4つの部屋・章ごとの回廊カラー） ---------- */
.song-page .subpage-hero {
  background:
    linear-gradient(118deg, rgba(255,250,240,0.95) 0%, rgba(255,250,240,0.72) 50%, var(--song-wash, #d5edf1) 130%),
    repeating-linear-gradient(0deg, rgba(58,98,110,.02) 0 1px, transparent 1px 5px);
}
.song-page .subpage-hero .eyebrow { color: var(--song-deep, var(--deep-sky)); }
.song-hero-meta { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-top: 22px; }
.song-credit { font-family: var(--serif); font-size: 14px; color: var(--ink); }
.song-bookpage { padding: 6px 13px; border: 1px solid rgba(38,63,73,.18); border-radius: 999px; background: rgba(255,255,255,.7); color: var(--muted); font-size: 11px; font-weight: 800; }
.song-title-tag { padding: 6px 13px; border-radius: 999px; background: var(--song-accent, var(--coral)); color: white; font-size: 11px; font-weight: 800; }

.room-nav { display: flex; gap: 10px; flex-wrap: wrap; max-width: 900px; margin: 0 auto 40px; }
.room-nav a {
  padding: 10px 18px;
  border: 1px solid rgba(38,63,73,.16);
  border-radius: 999px;
  background: white;
  font-size: 13px;
  font-weight: 800;
}
.room-nav a:hover { border-color: var(--song-accent, var(--coral)); color: var(--song-deep, var(--coral)); }

.song-room { max-width: 900px; margin: 0 auto 58px; padding: 34px 36px 38px; border: 1px solid rgba(38,63,73,.1); border-radius: 24px; background: white; box-shadow: 0 16px 44px rgba(46,71,78,.07); scroll-margin-top: 20px; }
.song-room h2 { display: flex; align-items: baseline; gap: 14px; margin: 0 0 6px; font-family: var(--serif); font-size: 30px; font-weight: 700; }
.room-num { color: var(--song-accent, var(--coral)); font-size: 15px; font-weight: 700; }
.room-lead { margin: 0 0 24px; color: var(--muted); font-family: var(--serif); font-size: 14px; }

.video-frame { position: relative; width: 100%; aspect-ratio: 16 / 9; overflow: hidden; border-radius: 16px; background: #10222b; }
.video-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video-credit { margin: 12px 0 0; color: var(--muted); font-size: 12px; }

.kartei { display: grid; grid-template-columns: 1fr 1fr; gap: 0 28px; margin: 0; }
.kartei-row { display: grid; grid-template-columns: 92px 1fr; gap: 12px; padding: 12px 2px; border-bottom: 1px solid rgba(38,63,73,.09); }
.kartei-row dt { color: var(--song-deep, var(--deep-sky)); font-size: 12px; font-weight: 800; }
.kartei-row dd { margin: 0; font-size: 13px; line-height: 1.7; }
.room-note { margin: 20px 0 0; color: var(--muted); font-size: 13px; }
.room-note a { color: var(--song-deep, var(--deep-sky)); font-weight: 800; border-bottom: 1px solid currentColor; }

.teach-block { margin-top: 34px; }
.teach-block:first-of-type { margin-top: 0; }
.teach-block h3 { margin: 0 0 16px; padding-left: 12px; border-left: 3px solid var(--song-accent, var(--gold)); font-family: var(--serif); font-size: 20px; font-weight: 700; }
.highlight-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 14px; }
.highlight-grid article { padding: 18px 20px; border-radius: 14px; background: #faf7ef; }
.highlight-grid strong { display: block; margin-bottom: 8px; font-family: var(--serif); font-size: 15px; }
.highlight-grid p { margin: 0; color: #526b70; font-size: 13px; line-height: 1.9; }

.lyric-points { display: grid; gap: 12px; }
.lyric-points article { display: grid; gap: 6px; padding: 16px 20px; border-left: 3px solid var(--song-accent, var(--gold)); border-radius: 0 14px 14px 0; background: #fbf9f3; }
.lyric-points blockquote { margin: 0; font-family: var(--serif); font-size: 16px; font-weight: 700; color: var(--ink); }
.lyric-points p { margin: 0; color: #526b70; font-size: 13px; line-height: 1.9; }

.tips-list { display: grid; gap: 12px; }
.tips-list article { padding: 16px 20px; border: 1px solid rgba(38,63,73,.1); border-radius: 14px; }
.tips-list strong { display: block; margin-bottom: 6px; font-size: 14px; }
.tip-issue { margin: 0 0 6px; color: #96604a; font-size: 12px; }
.tip-body { margin: 0; color: #435c63; font-size: 13px; line-height: 1.9; }

.question-list, .guidance-list { margin: 0; padding: 0; list-style: none; display: grid; gap: 8px; }
.question-list li { padding: 12px 16px; border-radius: 12px; background: #f2f6f4; font-family: var(--serif); font-size: 14px; line-height: 1.8; }
.question-list li::before { content: "❓ "; }
.guidance-list li { padding: 10px 14px; border-radius: 10px; background: #f5f2ea; font-size: 13px; line-height: 1.8; }
.daizai { margin: 18px 0 0; padding: 14px 18px; border-radius: 12px; background: var(--song-wash, #e8f2f3); font-size: 13px; }
.daizai strong { font-family: var(--serif); font-size: 15px; }

.print-list { margin: 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.print-list a { display: block; padding: 14px 18px; border: 1px dashed rgba(38,63,73,.28); border-radius: 12px; font-size: 13px; font-weight: 700; }
.print-list a:hover { border-color: var(--song-accent, var(--coral)); color: var(--song-deep, var(--coral)); }

.tsunagu-room { display: grid; gap: 16px; }
.tsunagu-room .practice-card { box-shadow: none; border-radius: 14px; padding: 20px 22px; }
.tsunagu-room .practice-card h3 { margin: 0; font-family: var(--serif); font-size: 18px; }
.tsunagu-actions { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; margin-top: 6px; }

.song-pager { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 20px; max-width: 900px; margin: 0 auto; }
.song-pager a { display: grid; gap: 4px; }
.song-pager span { color: var(--muted); font-size: 11px; font-weight: 800; }
.song-pager strong { font-family: var(--serif); font-size: 15px; }
.pager-next { text-align: right; }
.pager-index { justify-items: center; padding: 10px 18px; border: 1px solid rgba(38,63,73,.16); border-radius: 999px; font-size: 12px; font-weight: 800; }



/* カードの場面イラスト（行事ごと・2026-08-10）。色帯は下地として残し、絵をかぶせる */
.song-art {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
}
/* 行事のピルが絵の上でも読めるように、左上だけそっと白く沈める */
.song-visual:has(.song-art)::before {
  content: ""; position: absolute; inset: 0; border-radius: 0;
  width: 100%; height: 100%; left: 0; top: 0;
  background: linear-gradient(160deg, rgba(255,255,255,.55) 0%, rgba(255,255,255,0) 42%);
}
.song-visual:has(.song-art)::after { content: none; }
.song-visual .song-scene { z-index: 2; }

/* ── キャラクターの飾り（4コマ・アニメの世界観。絵本の表紙から差し替え 2026-08-09） ── */
.hero-chars { display: flex; align-items: flex-end; justify-content: center; }

/* 表紙は旅ワンくん1匹（知らない人が並ぶより、案内役の動物ひとりの方が入口としてやさしい・2026-08-09本人判断） */
.hero-tabiwan {
  position: relative;
  z-index: 2;
  width: min(300px, 72%);
  height: auto;
  filter: drop-shadow(0 16px 30px rgba(53, 92, 103, .22));
  animation: char-float 6s ease-in-out infinite;
}
@keyframes char-float {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-10px); }
}
@media (prefers-reduced-motion: reduce) {
  .hero-tabiwan { animation: none; }
}
.note-three { top: 120px; right: 4%; transform: rotate(9deg); font-size: 32px; opacity: .5; }

/* セクションの隅に立つ案内役 */
.guide-char {
  display: block;
  height: auto;
  margin: -6px auto 10px;
  filter: drop-shadow(0 10px 20px rgba(53, 92, 103, .16));
}
.guide-konasshi { width: 132px; }
/* 「先生が主役」の枠に寄り添うこなっしー */
.teacher-photo { position: relative; }
/* 先生は透過の立ち姿で置く（額縁を使わない） */
.teacher-standing { display: flex; align-items: flex-end; justify-content: center; }
.teacher-figure {
  width: min(240px, 68%); height: auto;
  filter: drop-shadow(0 14px 26px rgba(53,92,103,.20));
}
@media (max-width: 640px) { .teacher-figure { width: 190px; } }
.teacher-konasshi {
  position: absolute; right: -34px; bottom: -10px;
  width: 118px; height: auto; z-index: 3;
  filter: drop-shadow(0 10px 18px rgba(53,92,103,.18));
}
@media (max-width: 640px) {
  /* 先生は透過の立ち姿で置く（額縁を使わない） */
.teacher-standing { display: flex; align-items: flex-end; justify-content: center; }
.teacher-figure {
  width: min(240px, 68%); height: auto;
  filter: drop-shadow(0 14px 26px rgba(53,92,103,.20));
}
@media (max-width: 640px) { .teacher-figure { width: 190px; } }
.teacher-konasshi { width: 84px; right: -10px; bottom: -6px; }
}
.guide-taishi   { width: 108px; }
@media (min-width: 981px) {
  .song-page-preview, .shelf-section { position: relative; }
  .guide-char { position: absolute; margin: 0; }
  .guide-taishi   { width: 120px; right: 4%; top: 30px; }
}
.tabiwan { width: 132px; height: auto; object-fit: contain; }

/* JSの絞り込み（hidden）は、下のレスポンシブ指定より必ず優先させる。
   これが無いと 980px 以下で display 指定に負けて全曲出たままになる（2026-08-08 出荷前点検で検出） */
[hidden] { display: none !important; }

@media (max-width: 980px) {
  .board-layout { grid-template-columns: 1fr; }
  .board-form { position: static; }
}

@media (max-width: 640px) {
  .song-room { padding: 24px 18px; }
  .kartei { grid-template-columns: 1fr; }
  .song-pager { grid-template-columns: 1fr; }
  .pager-next { text-align: left; }
}

@media (max-width: 640px) {
  .subpage-hero { padding: 52px 22px 36px; }
  .subpage-body { padding: 40px 18px 80px; }
  .form-card { padding: 24px 18px; }
  .character-guide { grid-template-columns: 92px minmax(0, 1fr); gap: 14px; padding: 10px 14px 10px 6px; }
  .character-guide img { max-height: 150px; }
  .character-guide strong { font-size: 17px; }
}

@media (max-width: 980px) {
  /* スマホでもメニューは消さない。折返さず横に流して全項目に触れるようにする */
  .site-header { flex-wrap: wrap; gap: 10px; }
  .site-header nav { width: 100%; overflow-x: auto; -webkit-overflow-scrolling: touch;
                     display: flex; gap: 14px; padding-bottom: 2px; }
  .site-header nav a { white-space: nowrap; font-size: 13px; }
  .hero { grid-template-columns: 1fr; gap: 45px; padding-top: 56px; }
  .hero-copy { text-align: center; }
  .hero-lead { margin-inline: auto; }
  .hero-actions, .hero-promise { justify-content: center; }
  .hero-art { min-height: 330px; }
  .hero-tabiwan { width: 250px; }
  .song-grid { grid-template-columns: 1fr; max-width: 660px; }
  .song-card { display: grid; grid-template-columns: 200px 1fr; }
  .song-body > p:not(.song-grade) { min-height: 0; }
  .teacher-preview { grid-template-columns: 1fr; }
  .teacher-photo { justify-self: center; }
  .teacher-copy { text-align: center; margin-inline: auto; }
  .teacher-quote { text-align: left; }
  .teacher-list { justify-content: center; }
  .room-grid { grid-template-columns: 1fr 1fr; }
  .room-grid article:nth-child(2) { border-right: 0; }
  .room-grid article:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .story-section { grid-template-columns: 1fr; }
  .story-image { justify-self: center; max-height: 560px; }
  .story-copy { margin-inline: auto; text-align: center; }
  .materials-section { grid-template-columns: 1fr; text-align: center; }
  .school-points { width: min(520px, 100%); margin-inline: auto; }
  .materials-section .primary-button { grid-column: 1; justify-self: center; }
  .coming-next { grid-template-columns: 110px 1fr; }
  .coming-next .primary-button { grid-column: 2; justify-self: start; }
  .tabiwan { width: 104px; }
}

@media (max-width: 640px) {
  .top-message { padding: 8px 16px; text-align: center; line-height: 1.5; }
  .site-header { min-height: 72px; padding: 11px 18px; }
  .brand-mark { width: 38px; height: 38px; }
  .brand strong { font-size: 16px; }
  .site-header nav a { font-size: 12.5px; }
  .hero { min-height: auto; padding: 52px 22px 94px; }
  .hero h1 { font-size: clamp(42px, 13vw, 64px); }
  .hero-lead { font-size: 16px; }
  .desktop-break { display: none; }
  .hero-actions { flex-direction: column; gap: 12px; }
  .hero-art { min-height: 250px; }
  .hero-tabiwan { width: 205px; }
  .floating-label { right: 7%; bottom: 28px; }
  .search-dock { width: calc(100% - 24px); padding: 20px 16px; }
  .search-control { grid-template-columns: auto 1fr; }
  .search-control .song-count { grid-column: 1 / -1; min-height: 38px; }
  .section-heading { align-items: start; flex-direction: column; }
  .songs-section { padding: 90px 18px 80px; }
  .song-card { display: block; }
  .teacher-preview { padding: 80px 22px; }
  .teacher-photo-frame img { height: 360px; }
  .teacher-badge { right: -6px; }
  .song-page-preview { padding: 80px 18px; }
  .room-grid { grid-template-columns: 1fr; }
  .room-grid article { border-right: 0; border-bottom: 1px solid var(--line); }
  .room-grid article:nth-child(2) { border-right: 0; }
  .room-grid article:last-child { border-bottom: 0; }
  .story-section { padding: 80px 22px; }
  .story-image { width: min(340px, 96%); max-height: 500px; }
  .materials-section { padding: 75px 22px; }
  .school-points { grid-template-columns: 1fr 1fr; }
  .coming-next { grid-template-columns: 1fr; justify-items: center; padding: 55px 22px; text-align: center; }
  .coming-next .primary-button { grid-column: 1; justify-self: center; }
  .site-footer { grid-template-columns: 1fr; justify-items: center; padding: 50px 22px; text-align: center; }
  .footer-links { justify-content: center; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}

/* ── 曲ページのイラスト（2026-08-11 追加。カードと同じ1曲1枚の絵をページ本体にも） ── */
.song-hero-art {
  max-width: 620px;
  margin: 30px 0 0;
  overflow: hidden;
  border-radius: 18px;
  box-shadow: 0 16px 40px rgba(46, 71, 78, 0.14);
}
.song-hero-art img { display: block; width: 100%; height: auto; }
@media (max-width: 980px) {
  .song-hero-art { margin-top: 24px; border-radius: 14px; }
}

/* ── 達人の地図：指で押せる目印と県名ボタン（2026-08-11 追加） ──
   灯っている県は地図上では13〜25pxしかなく、スマホでは事実上押せなかった。 */
.sensei-mark {
  fill: var(--coral);
  fill-opacity: .28;
  stroke: var(--coral);
  stroke-width: 2;
  cursor: pointer;
}
.sensei-mark:hover, .sensei-mark.sel { fill-opacity: .55; }
.sensei-picker {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}
.sensei-picker > span { color: var(--muted); font-size: 12px; font-weight: 800; }
.sensei-pick {
  min-height: 44px;
  padding: 0 20px;
  border: 1px solid rgba(71, 138, 163, 0.3);
  border-radius: 999px;
  background: white;
  color: var(--deep-sky);
  font-size: 14px;
  font-weight: 800;
  cursor: pointer;
}
.sensei-pick:hover, .sensei-pick.sel { background: var(--deep-sky); border-color: var(--deep-sky); color: white; }
