/* =====================================================
   基本設定(白基調・特大見出しのエディトリアルテーマ)
   セクションごとに帯色(--band)と見出しの雰囲気を変えている
   ===================================================== */
:root {
  --bg: #ffffff;
  --bg-soft: #f4f4f6;
  --warm: #fff7ec;
  --card: #ffffff;
  --ink: #17171c;
  --dim: #6b6b74;
  --line: #e7e7ec;
  --accent: #ff6a3d;
  --accent-dark: #e5552b;
  --accent-soft: #ffeee6;
  --yellow: #ffd23f;
  --dark: #17171c;
  --dark-card: #1f1f27;
  --dark-line: rgba(255, 255, 255, 0.12);
  --dark-dim: #a3a3ad;
  --shadow: 0 8px 26px rgba(23, 23, 28, 0.08);
  --shadow-hover: 0 14px 34px rgba(23, 23, 28, 0.14);
  --font-display: "Poppins", "Zen Kaku Gothic New", sans-serif;
  --font-body: "Zen Kaku Gothic New", sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 84px; }

body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: var(--fs-body, 15.5px);
  font-weight: var(--fw-body, 400);
  line-height: 1.85;
  overflow-x: hidden;
}

::selection { background: var(--yellow); }

a { color: inherit; text-decoration: none; }
ul { list-style: none; }
img { max-width: 100%; display: block; }

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

/* ===== ナビ ===== */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 15px 28px;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}

.nav-brand {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 18px;
  letter-spacing: 0.05em;
}

.nav-links {
  display: flex;
  gap: 26px;
  align-items: center;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
}

.nav-links a { color: var(--dim); transition: color 0.2s; text-transform: uppercase; }
.nav-links a:hover { color: var(--ink); }

.nav-links .nav-cta {
  color: #fff;
  background: var(--accent);
  padding: 8px 20px;
  border-radius: 999px;
  text-transform: none;
  letter-spacing: 0.02em;
  transition: background 0.2s, transform 0.15s;
}
.nav-links .nav-cta:hover { color: #fff; background: var(--accent-dark); transform: translateY(-1px); }

.nav-toggle { display: none; background: none; border: none; cursor: pointer; }
.nav-toggle span {
  display: block;
  width: 22px; height: 2px;
  border-radius: 2px;
  background: var(--ink);
  margin: 5px 0;
}

/* ===== ヒーロー ===== */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding: 130px 6vw 80px;
  background:
    radial-gradient(ellipse 55% 45% at 85% 15%, rgba(255, 106, 61, 0.07), transparent 65%),
    radial-gradient(ellipse 45% 40% at 5% 95%, rgba(255, 210, 63, 0.10), transparent 65%);
}

.hero-inner {
  width: 100%;
  max-width: 1080px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 56px;
  align-items: center;
}

.hero-tagline {
  display: inline-block;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 12.5px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
  border-bottom: 2px solid var(--accent);
  padding-bottom: 6px;
  margin-bottom: 30px;
}

.hero-catch-wrap {
  font-size: clamp(40px, 6.4vw, 76px);
  font-weight: 900;
  line-height: 1.35;
  letter-spacing: 0.01em;
  margin-bottom: 26px;
}
.hero-catch {
  background: linear-gradient(transparent 70%, var(--yellow) 70%);
  padding: 0 2px;
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
  white-space: pre-line; /* 編集画面で入れた改行をそのまま表示する */
}

.hero-sub { color: var(--dim); max-width: 500px; margin-bottom: 38px; }

.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }

.hero-cta-note {
  font-size: 12.5px;
  color: var(--dim);
  margin-top: 14px;
}

/* 写真(大きさは編集画面で調整可能) */
.hero-visual {
  position: relative;
  width: var(--hero-photo-w, 100%);
  justify-self: center;
}

.hero-photo {
  aspect-ratio: 4 / 5;
  border-radius: 8px;
  overflow: hidden;
  background: var(--bg-soft);
  box-shadow: 0 24px 60px rgba(23, 23, 28, 0.20);
}
.hero-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 60%;
}
.hero-photo.placeholder { display: grid; place-items: center; font-size: 70px; }
.hero-photo.placeholder img { display: none; }

.hero-badge {
  position: absolute;
  top: -14px;
  right: -10px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.1em;
  color: #fff;
  background: var(--ink);
  border-radius: 999px;
  padding: 8px 20px;
  box-shadow: var(--shadow);
  transform: rotate(3deg);
}

/* ===== ボタン ===== */
.btn {
  display: inline-block;
  font-family: inherit;
  font-weight: 700;
  font-size: 15px;
  padding: 13px 32px;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  transition: transform 0.15s, box-shadow 0.2s, background 0.2s;
}
.btn:hover { transform: translateY(-2px); }

.btn-primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 8px 22px rgba(255, 106, 61, 0.35);
}
.btn-primary:hover { background: var(--accent-dark); }

.btn-ghost {
  background: #fff;
  color: var(--ink);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.btn-lg { padding: 17px 48px; font-size: 17px; }

/* ===== マーキー ===== */
.marquee {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
  background: var(--bg);
}
.marquee-track {
  display: flex;
  white-space: nowrap;
  animation: marquee 24s linear infinite;
}
.marquee-track span {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 26px;
  letter-spacing: 0.14em;
  padding: 10px 0;
  color: transparent;
  -webkit-text-stroke: 1px rgba(23, 23, 28, 0.30);
}
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* =====================================================
   セクション共通
   ===================================================== */
.section {
  position: relative;
  max-width: 1080px;
  margin: 0 auto;
  padding: var(--sp-section, 72px) 6vw; /* 上下余白は編集画面で調整可能 */
}

/* 帯色(セクションごとに背景の色を変える) */
.section::before {
  content: "";
  position: absolute;
  top: 0; bottom: 0;
  left: 50%;
  width: 100vw;
  transform: translateX(-50%);
  z-index: -1;
  background: var(--band, transparent);
}

/* セクションの背景画像(1枚で固定・2枚以上で自動スライド) */
.section-bg {
  position: absolute;
  top: 0; bottom: 0;
  left: 50%;
  width: 100vw;
  transform: translateX(-50%);
  overflow: hidden;
  z-index: 0;
  pointer-events: none;
}
.section-bg-track {
  display: flex;
  height: 100%;
  transition: transform 1.4s ease-in-out;
}
.section-bg-img {
  flex: 0 0 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
}
/* 文字が読みやすいように背景の上に薄いベールをかける(濃さは編集画面で調整可能) */
.section-bg-veil {
  position: absolute;
  inset: 0;
  background: rgb(255 255 255 / var(--veil-alpha, 0.72));
}
#live .section-bg-veil,
.section-contact .section-bg-veil {
  background: rgb(23 23 28 / var(--veil-alpha, 0.72));
}
.has-bg > *:not(.section-bg) { position: relative; z-index: 1; }

/* --- 特大見出し(大きさ・太さ・色・余白は編集画面で調整可能) --- */
.section-head { margin-bottom: var(--sp-head, 34px); }

.section-num {
  display: inline-block;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 14px;
  color: var(--accent);
  letter-spacing: 0.14em;
  margin-bottom: 6px;
}

.section-title {
  font-family: var(--title-font, var(--font-display));
  font-weight: var(--title-weight, 700);
  font-size: calc(clamp(52px, 9vw, 104px) * var(--title-scale, 1));
  line-height: 0.98;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  color: var(--title-color, var(--ink));
  opacity: var(--title-opacity, 1);
}
.section-title small {
  display: block;
  font-family: var(--font-body);
  font-size: var(--label-size, 14px);
  font-weight: 700;
  letter-spacing: 0.16em;
  color: var(--dim);
  margin-top: 14px;
  text-transform: none;
}
.section-title small::before {
  content: "/ ";
  color: var(--accent);
}

.section-lead { color: var(--dim); max-width: 640px; margin-bottom: 42px; }

/* =====================================================
   セクションごとの帯色・見出しバリエーション
   ===================================================== */

/* 02 LESSON: 薄グレーの帯・見出し中央寄せ */
#lesson { --band: var(--bg-soft); }
#lesson .section-head, #lesson .section-lead { text-align: center; margin-left: auto; margin-right: auto; }

/* 03 SCORE: 生成りの帯 */
#score { --band: var(--warm); }

/* 04 LIVE: 黒の帯(白文字のダークセクション) */
#live { --band: var(--dark); color: #fff; }
#live .section-title { color: var(--title-color-dark, #fff); }
#live .section-title small { color: var(--dark-dim); }
#live .section-lead { color: var(--dark-dim); }

/* 自由セクション: 薄グレーの帯 */
.custom-section { --band: var(--bg-soft); }

/* 06 CONTACT: 黒の帯(白文字) */
.section-contact { --band: var(--dark); color: #fff; }
.section-contact .section-title { color: var(--title-color-dark, #fff); }
.section-contact .section-title small { color: var(--dark-dim); }
.section-contact .section-lead { color: var(--dark-dim); }

/* ===== プロフィール ===== */
.profile-grid {
  display: grid;
  grid-template-columns: var(--profile-photo-w, 300px) 1fr;
  gap: 46px;
  align-items: start;
  margin-bottom: 46px;
}

.profile-photo {
  aspect-ratio: 4 / 5;
  border-radius: 8px;
  overflow: hidden;
  background: var(--bg-soft);
  box-shadow: var(--shadow);
  position: relative;
}
.profile-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 75%;
}
.profile-photo.placeholder::after {
  content: "🥁";
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font-size: 64px;
}
.profile-photo.placeholder img { display: none; }

.profile-name {
  font-size: 28px;
  font-weight: 900;
  margin-bottom: 18px;
  display: flex;
  align-items: baseline;
  gap: 14px;
  flex-wrap: wrap;
}
.profile-name-en {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.14em;
  color: var(--accent);
}

.profile-bio { color: var(--dim); white-space: pre-line; }

.stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 16px;
}

.stat {
  background: var(--bg-soft);
  border-radius: 12px;
  padding: 26px 18px;
  text-align: center;
  transition: transform 0.2s;
}
.stat:hover { transform: translateY(-4px); }

.stat-value {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--stat-value-size, 28px);
  color: var(--accent);
  letter-spacing: 0.01em;
}
.stat-label { font-size: 13px; font-weight: 700; color: var(--dim); margin-top: 5px; }

/* ===== レッスン ===== */
.plans {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
}

.plan {
  background: var(--card);
  border-radius: 14px;
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  box-shadow: var(--shadow);
  transition: transform 0.2s, box-shadow 0.2s;
}
.plan:hover { transform: translateY(-4px); box-shadow: var(--shadow-hover); }

.plan-name { font-size: 18px; font-weight: 900; }

.plan-price {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 32px;
  color: var(--accent);
}

.plan-duration {
  align-self: flex-start;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--accent);
  background: var(--accent-soft);
  border-radius: 999px;
  padding: 3px 14px;
}

.plan-desc { font-size: 14px; color: var(--dim); }

/* 税込などの注記 */
.tax-note {
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 700;
  color: var(--dim);
  margin-left: 6px;
  -webkit-text-stroke: 0;
}

.lesson-note { font-size: 13.5px; font-weight: 500; color: var(--dim); margin-top: 24px; text-align: center; }

.lesson-cta { text-align: center; margin-top: 40px; }

/* ===== ドラム譜 ===== */
.scores-wrap { position: relative; }

.scores {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
}

.score-card {
  background: var(--card);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform 0.2s, box-shadow 0.2s;
  display: flex;
  flex-direction: column;
}
.score-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-hover); }

.score-thumb {
  height: var(--score-thumb-h, 172px);
  border-bottom: 1px solid var(--line);
  background: linear-gradient(135deg, #fff3e6, #ffe8d9);
  background-size: cover;
  background-position: center;
  display: grid;
  place-items: center;
  font-size: 34px;
}

.score-body { padding: 20px 20px 24px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.score-level {
  align-self: flex-start;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--accent);
  background: var(--accent-soft);
  border-radius: 999px;
  padding: 2px 12px;
}
.score-title { font-size: 17px; font-weight: 900; }
.score-artist { font-size: 13px; color: var(--dim); }
.score-foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: auto;
  padding-top: 14px;
}
.score-price {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 21px;
  color: var(--accent);
}
.score-buy {
  font-size: 13px;
  font-weight: 700;
  color: #fff;
  background: var(--accent);
  border: none;
  border-radius: 999px;
  padding: 7px 18px;
  transition: background 0.2s, transform 0.15s;
}
a.score-buy:hover { background: var(--accent-dark); transform: translateY(-1px); }
span.score-buy { background: #ececef; color: var(--dim); }

/* Coming Soon(準備中)表示:枠なしの大きな縁取りタイポグラフィ */
.coming-soon {
  width: 100%;
  flex: 1 1 100%;
  grid-column: 1 / -1;
  padding: 40px 0 24px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
}

.coming-soon-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 0.22em;
  color: var(--accent);
  border: 1px solid rgba(255, 106, 61, 0.45);
  border-radius: 999px;
  padding: 7px 18px;
}
.coming-soon-badge .dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--accent);
  animation: cs-blink 1.6s ease-in-out infinite;
}
@keyframes cs-blink {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.3; transform: scale(0.75); }
}

.coming-soon-title {
  font-family: var(--font-display);
  font-weight: var(--cs-weight, 700);
  font-size: calc(clamp(36px, 6vw, 72px) * var(--cs-scale, 1));
  line-height: 1;
  letter-spacing: 0.05em;
  color: var(--cs-color, var(--ink));
  opacity: 0.9;
}
.coming-soon-text { color: var(--dim); font-size: 14.5px; white-space: pre-line; }

#live .coming-soon-title, .section-contact .coming-soon-title { color: var(--cs-color, #fff); }
#live .coming-soon-text, .section-contact .coming-soon-text { color: var(--dark-dim); }

/* 横スクロール用の矢印ボタン(PCのみ表示) */
.scroll-btn {
  display: none;
  position: absolute;
  top: 40%;
  z-index: 5;
  width: 46px; height: 46px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--ink);
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
  box-shadow: var(--shadow);
  transition: transform 0.15s, box-shadow 0.2s, opacity 0.2s;
}
.scroll-btn:hover { transform: scale(1.08); box-shadow: var(--shadow-hover); }
.scroll-btn:disabled { opacity: 0.3; cursor: default; transform: none; }
.scroll-prev { left: -22px; }
.scroll-next { right: -22px; }

/* ===== ライブ(ダークセクション) ===== */
.lives { display: flex; flex-direction: column; gap: 16px; }

.live-row {
  display: grid;
  grid-template-columns: 100px 1fr auto;
  gap: 24px;
  align-items: center;
  background: var(--dark-card);
  border: 1px solid var(--dark-line);
  border-radius: 14px;
  padding: 24px 28px;
  transition: transform 0.2s, border-color 0.2s;
}
/* フライヤーがあるライブは4カラム(日付/フライヤー/内容/ボタン) */
.live-row.has-flyer { grid-template-columns: 100px var(--flyer-w, 92px) 1fr auto; }

.live-flyer {
  width: var(--flyer-w, 92px);
  aspect-ratio: 3 / 4;
  border: 1px solid var(--dark-line);
  border-radius: 10px;
  background-size: cover;
  background-position: center;
  background-color: #2a2a33;
  cursor: zoom-in;
  padding: 0;
  transition: transform 0.2s, border-color 0.2s;
}
.live-flyer:hover { transform: scale(1.05); border-color: var(--accent); }

.live-actions {
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: stretch;
  text-align: center;
}
.live-row:hover { transform: translateY(-3px); border-color: rgba(255, 106, 61, 0.6); }

.live-date {
  font-family: var(--font-display);
  font-weight: 700;
  text-align: center;
  line-height: 1.15;
  color: #fff;
}
.live-date .d { font-size: 32px; }
.live-date .m { font-size: 14px; font-weight: 700; letter-spacing: 0.06em; color: var(--accent); display: block; }
.live-date .y { font-size: 11px; color: var(--dark-dim); display: block; margin-top: 2px; }

.live-title { font-size: 18px; font-weight: 900; margin-bottom: 4px; color: #fff; }
.live-meta { font-size: 13px; color: var(--dark-dim); }
.live-note { font-size: 13px; color: var(--dark-dim); margin-top: 4px; }

.live-link {
  font-size: 13px;
  font-weight: 700;
  color: var(--accent);
  border: 1px solid var(--accent);
  border-radius: 999px;
  padding: 8px 20px;
  white-space: nowrap;
  transition: background 0.2s, color 0.2s;
}
.live-link:hover { background: var(--accent); color: #fff; }

/* 予約ボタン(オレンジで目立たせる) */
.live-reserve {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}
.live-reserve:hover { background: var(--accent-dark); border-color: var(--accent-dark); }

.live-past { opacity: 0.45; }
.live-empty { color: var(--dark-dim); }

/* ===== 実績(控えめな箇条書き) ===== */
.ach-list {
  display: block;
  max-width: 760px;
}
.ach-list li {
  padding: 11px 0 11px 22px;
  border-bottom: 1px dashed var(--line);
  position: relative;
  font-size: 14.5px;
  font-weight: 500;
  color: var(--dim);
}
.ach-list li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 20px;
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--accent);
}

/* ===== コンタクト(ダークセクション) ===== */
.contact-box { text-align: center; }

.contact-actions {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 28px;
}

.contact-mail-note {
  font-size: 13.5px;
  color: var(--dark-dim);
}
.contact-mail {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 16px;
  letter-spacing: 0.02em;
  color: #fff;
  background: none;
  border: none;
  border-bottom: 2px solid var(--yellow);
  padding: 0 2px 2px;
  cursor: pointer;
  transition: opacity 0.2s;
}
.contact-mail:hover { opacity: 0.75; }

.contact-sns {
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 34px;
}
.contact-sns a {
  font-size: 13px;
  font-weight: 700;
  color: var(--dark-dim);
  border: 1px solid var(--dark-line);
  border-radius: 999px;
  padding: 9px 22px;
  transition: color 0.2s, border-color 0.2s, transform 0.15s;
}
.contact-sns a:hover { color: #fff; border-color: var(--accent); transform: translateY(-1px); }

/* フライヤーの拡大表示 */
.flyer-overlay {
  position: fixed;
  inset: 0;
  background: rgba(10, 10, 14, 0.88);
  display: none;
  place-items: center;
  padding: 4vh 4vw;
  z-index: 300;
  cursor: zoom-out;
}
.flyer-overlay.show { display: grid; }
.flyer-overlay img {
  max-width: 100%;
  max-height: 92vh;
  border-radius: 10px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

/* コピー完了などのお知らせ(トースト) */
.site-toast {
  position: fixed;
  left: 50%;
  bottom: 30px;
  transform: translate(-50%, 80px);
  background: var(--ink);
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  padding: 13px 26px;
  border-radius: 999px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
  opacity: 0;
  transition: 0.3s;
  pointer-events: none;
  z-index: 200;
}
.site-toast.show { opacity: 1; transform: translate(-50%, 0); }

/* ===== フッター ===== */
.footer {
  background: var(--dark);
  color: var(--dark-dim);
  border-top: 1px solid var(--dark-line);
  padding: 44px 6vw 56px;
  text-align: center;
}
.footer-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 20px;
  letter-spacing: 0.08em;
  margin-bottom: 8px;
  color: #fff;
}
.footer-copy { font-size: 12px; opacity: 0.7; }

/* ===== 改行の反映 =====
   編集画面で入力した改行を、文章系の項目すべてでそのまま表示する */
.hero-tagline, .hero-sub, .hero-cta-note,
.section-lead, .section-title small,
.btn, .nav-links .nav-cta,
.plan-name, .plan-duration, .plan-desc, .lesson-note,
.score-title, .score-artist, .score-level,
.live-title, .live-meta, .live-note, .live-empty,
.ach-list li, .stat-value, .stat-label,
.contact-mail-note, .contact-sns a {
  white-space: pre-line;
}

/* ===== スクロール表示アニメーション ===== */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.shown { opacity: 1; transform: none; }

/* =====================================================
   レスポンシブ
   - PC(1025px〜): ドラム譜は横スクロールのカルーセル
   - タブレット(641〜1024px): 2カラム中心
   - スマホ(〜640px): 1カラム
   ===================================================== */

@media (min-width: 1025px) {
  .scores {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x proximity;
    gap: 20px;
    padding: 4px 4px 22px;
    scrollbar-width: thin;
    scrollbar-color: var(--accent) transparent;
  }
  .scores::-webkit-scrollbar { height: 8px; }
  .scores::-webkit-scrollbar-track { background: rgba(23, 23, 28, 0.06); border-radius: 999px; }
  .scores::-webkit-scrollbar-thumb { background: var(--accent); border-radius: 999px; }

  .score-card {
    flex: 0 0 280px;
    scroll-snap-align: start;
  }

  .scroll-btn { display: block; }
}

@media (max-width: 1024px) {
  .scores { grid-template-columns: repeat(2, 1fr); }
  .plans { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
}

@media (max-width: 820px) {
  .hero { padding-top: 120px; }
  .hero-inner { grid-template-columns: 1fr; gap: 52px; }
  .hero-visual { width: 100%; max-width: 330px; margin: 0 auto; }
  .hero-badge { right: -6px; }
}

@media (max-width: 760px) {
  .nav-toggle { display: block; }
  .nav-links {
    position: fixed;
    top: 58px; left: 0; right: 0;
    flex-direction: column;
    background: var(--bg);
    padding: 26px 0 30px;
    gap: 20px;
    border-bottom: 1px solid var(--line);
    transform: translateY(-140%);
    transition: transform 0.3s;
  }
  .nav-links.open { transform: none; }

  .profile-grid { grid-template-columns: 1fr; gap: 32px; }
  .profile-photo { max-width: min(var(--profile-photo-w, 300px), 85vw); }

  .live-row, .live-row.has-flyer { grid-template-columns: 1fr; gap: 12px; padding: 22px; }
  .live-date { display: flex; gap: 10px; align-items: baseline; text-align: left; }
  .live-flyer { width: calc(var(--flyer-w, 92px) * 1.35); }
  .live-link { justify-self: start; }
  .live-actions { flex-direction: row; flex-wrap: wrap; justify-self: start; }

  /* スマホでは中央寄せの注意書きを左寄せにして読みやすく */
  .lesson-note { text-align: left; }

}

@media (max-width: 640px) {
  .scores { grid-template-columns: 1fr; }
  .contact-actions { flex-direction: column; align-items: center; }
}
