/* =========================================================
   舞遊人 BUYU-JIN  —  style.css
   色を変えたいときは :root の変数を書き換えてください
   ========================================================= */
:root {
  /* テーマ：グレー × レモンイエロー */
  --bg: #232528;        /* いちばん暗いグレー（背景） */
  --bg-2: #2d3034;      /* カードのグレー */
  --bg-3: #393d42;      /* 少し明るいグレー */
  --ink: #f3f3f0;       /* 文字（白に近いグレー） */
  --ink-dim: #b3b6ba;   /* 薄い文字 */
  --line: rgba(255, 255, 255, 0.13);
  --lemon: #fff15a;     /* レモンイエロー（メインの差し色） */
  --lemon-deep: #e8d62a;
  --sky: #7fd4f8;       /* 水色（2つ目の差し色） */
  --sky-deep: #46b7ea;
  --silver: #d7dade;    /* 明るいグレー */
  --on-lemon: #232528;  /* レモン・水色・明るいグレーの上に乗せる文字 */
  --pink: var(--lemon);   /* 以前ピンクだった所もレモンに */
  --yellow: var(--lemon);
  --cyan: var(--sky);
  --line-green: #06c755;
  --radius: 18px;
  --gutter: clamp(16px, 5vw, 64px);
  --font-en: "Anton", "Impact", sans-serif;
  --font-ja: "Zen Kaku Gothic New", "Hiragino Sans", "Yu Gothic", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; overflow-x: clip; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-ja);
  font-size: 16px;
  line-height: 1.85;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }

/* ---------- 背景動画（全ページ共通・常に後ろで流れる） ---------- */
.bg-video {
  position: fixed; top: 0; left: 0; width: 100%; height: 100lvh;
  z-index: -1; overflow: hidden; pointer-events: none; background: var(--bg);
}
.bg-video video, .bg-video .bg-anim {
  position: absolute; inset: 0;
  width: 100%; height: 100%; max-width: none; object-fit: cover; display: block;
  opacity: var(--bg-video-opacity, .3);
}
/* 省電力モードなどで動画が止められたときは、動画を消して止まった写真だけにする（再生ボタンを出さない） */
.bg-video.is-fallback video { display: none; }
.bg-video video::-webkit-media-controls,
.bg-video video::-webkit-media-controls-panel,
.bg-video video::-webkit-media-controls-overlay-play-button,
.bg-video video::-webkit-media-controls-start-playback-button {
  display: none !important; -webkit-appearance: none; opacity: 0 !important;
}
a { color: inherit; }
h1, h2, h3, h4 { margin: 0; line-height: 1.3; }
p { margin: 0; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: .5em; padding: 14px 26px; border-radius: 999px;
  font-weight: 700; font-size: 15px; text-decoration: none;
  border: 1.5px solid transparent; transition: transform .2s, background .2s, color .2s, border-color .2s;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--lemon); color: var(--on-lemon); }
.btn-primary:hover { background: #fff787; }
.btn-ghost { border-color: var(--line); color: var(--ink); }
.btn-ghost:hover { border-color: var(--ink); }
.btn-ghost.light { border-color: rgba(12,12,14,.25); color: var(--bg); }
.btn-ghost.light:hover { border-color: var(--bg); }
.btn-line { background: var(--line-green); color: #fff; }

/* ---------- Header ---------- */
.header {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px var(--gutter);
  transition: background .3s, backdrop-filter .3s, padding .3s;
}
.header.is-scrolled {
  background: rgba(35,37,40,.82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.logo { display: flex; align-items: baseline; gap: 10px; text-decoration: none; }
.logo-mark { font-weight: 900; font-size: 22px; letter-spacing: .04em; }
.logo-en { font-family: var(--font-en); font-size: 14px; letter-spacing: .12em; color: var(--pink); }
/* ロゴの2つ目の U に斜線（/）を入れる */
.slash-u { position: relative; display: inline-block; }
.slash-u::after {
  content: ""; position: absolute; left: 50%; top: 52%;
  width: 1.05em; height: max(.085em, 1.6px); background: currentColor;
  transform: translate(-50%, -50%) rotate(-52deg);
}
.nav { display: flex; align-items: center; gap: 26px; }
.nav a {
  font-family: var(--font-en); font-size: 14px; letter-spacing: .1em;
  text-decoration: none; color: var(--ink-dim); transition: color .2s;
}
.nav a:hover { color: var(--ink); }
.nav .nav-cta {
  font-family: var(--font-ja); font-weight: 700; letter-spacing: 0;
  background: var(--ink); color: var(--bg); padding: 9px 18px; border-radius: 999px;
}
.nav .nav-cta:hover { background: var(--yellow); color: var(--bg); }
.menu-btn { display: none; }

/* ---------- Hero ---------- */
.hero {
  position: relative; min-height: 100svh;
  display: flex; flex-direction: column; justify-content: center;
  overflow: hidden; padding-top: 80px;
}
.hero-bg { position: absolute; inset: 0; pointer-events: none; }
.blob { position: absolute; border-radius: 50%; filter: blur(90px); opacity: .55; }
.blob-pink { width: 46vw; height: 46vw; background: var(--lemon); top: -10vw; right: -8vw; opacity: .13; animation: float 12s ease-in-out infinite; }
.blob-yellow { width: 30vw; height: 30vw; background: var(--sky); bottom: 0; left: -10vw; opacity: .16; animation: float 14s ease-in-out infinite reverse; }
@keyframes float { 50% { transform: translate(-4vw, 4vw) scale(1.08); } }
/* 筆文字ロゴ（images/buyujin-kanji.png：白文字・透明背景）をうっすら表示 */
/* 外側：位置・ふわっと浮く動き・ピンクの光 */
.hero-kanji {
  position: absolute; right: 4vw; top: 50%;
  height: min(86vh, 920px); aspect-ratio: 652 / 976;
  transform: translateY(-46%) rotate(-3deg);
  /* 少しぼかして背景になじませる（--kanji-blur で強さを調整） */
  filter: blur(var(--kanji-blur, 0.9px)) drop-shadow(0 0 14px rgba(220, 228, 238, .12));
  animation: kanji-glow 9s ease-in-out infinite;
  pointer-events: none;
}
/* 朝の光のように、ゆっくり明るくなったり落ち着いたりする（文字は動かさない） */
@keyframes kanji-glow {
  50% { filter: blur(var(--kanji-blur, 0.9px)) drop-shadow(0 0 18px rgba(220, 228, 238, .26)); }
}
/* 内側：筆文字の形でくり抜いたグラデーション（白→薄ピンク→薄黄→黄） */
/* 液体クローム風の筆文字（images/buyujin-kanji-chrome.png）
   筆文字の形から立体の丸みと金属の映り込みを計算して作った画像 */
.kanji-layer {
  position: absolute; inset: 0;
  background: url("images/buyujin-kanji-chrome.png") center / contain no-repeat;
  opacity: .62;
}
/* 反射の動き（文字の形でくり抜いた光の層を、クロームの上に重ねて動かす） */
.kanji-fx {
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  -webkit-mask: url("images/buyujin-kanji-chrome.png") center / contain no-repeat;
          mask: url("images/buyujin-kanji-chrome.png") center / contain no-repeat;
  background-repeat: no-repeat;
}
/* ① 映り込みがゆっくり流れる：明るい帯と暗い帯が斜めに少しずつ移動 */
.kanji-flow {
  background-image: repeating-linear-gradient(160deg,
    rgba(255,255,255,0) 0%, rgba(255,255,255,.8) 6%, rgba(255,255,255,0) 12%,
    rgba(0,0,0,0) 18%, rgba(0,0,0,.7) 22%, rgba(0,0,0,0) 27%);
  background-size: 100% 220%;
  mix-blend-mode: soft-light;
  opacity: var(--flow-opacity, .8);
  animation: kanji-flow 9s linear infinite;
}
@keyframes kanji-flow {
  from { background-position: 0 0%; }
  to   { background-position: 0 100%; }
}
/* ② キラッと光が走る：数秒おきに、左上から右下へ光の筋が通る */
.kanji-shine {
  background-image: linear-gradient(115deg,
    rgba(255,255,255,0) 45%, rgba(255,255,255,1) 50%, rgba(255,255,255,0) 55%);
  background-size: 300% 300%; background-position: 100% 100%;
  mix-blend-mode: screen;
  opacity: var(--shine-opacity, .75);
  animation: kanji-shine 9s ease-in-out 1.2s infinite;
}
/* 光の筋が約5秒かけてゆっくり通り、そのあと4秒ほど休む */
@keyframes kanji-shine {
  0%   { background-position: 100% 100%; }
  55%  { background-position: 0% 0%; }
  100% { background-position: 0% 0%; }
}
/* 木漏れ日：窓から差し込む朝の光が、葉っぱの影の間から文字の上にゆらゆら落ちるイメージ
   やわらかい光のまだらを2枚重ね、それぞれ違う速さでゆっくり漂わせる          */
.hero-kanji::before,
.hero-kanji::after {
  content: ""; position: absolute; inset: 0;
  -webkit-mask: url("images/buyujin-kanji-chrome.png") center / contain no-repeat;
          mask: url("images/buyujin-kanji-chrome.png") center / contain no-repeat;
  background-repeat: no-repeat;
  background-size: 150% 150%;
  mix-blend-mode: screen;
  pointer-events: none;
  z-index: 2;
}
.hero-kanji::before {
  background-image:
    radial-gradient(ellipse 11% 8%  at 22% 16%, rgba(255, 247, 222, .95), transparent 70%),
    radial-gradient(ellipse 7%  6%  at 41% 30%, rgba(255, 241, 200, .85), transparent 70%),
    radial-gradient(ellipse 13% 9%  at 63% 22%, rgba(255, 250, 232, .8),  transparent 72%),
    radial-gradient(ellipse 8%  7%  at 30% 52%, rgba(255, 238, 196, .8),  transparent 70%),
    radial-gradient(ellipse 12% 8%  at 58% 61%, rgba(255, 248, 226, .9),  transparent 72%),
    radial-gradient(ellipse 9%  6%  at 38% 80%, rgba(255, 240, 204, .8),  transparent 70%),
    radial-gradient(ellipse 10% 8%  at 70% 88%, rgba(255, 246, 220, .75), transparent 72%);
  --o: var(--sun-opacity, .85);
  opacity: var(--o);
  animation: komorebi-a 16s ease-in-out infinite alternate, komorebi-flicker 7s ease-in-out infinite;
}
.hero-kanji::after {
  background-image:
    radial-gradient(ellipse 6% 5% at 30% 24%, rgba(255, 252, 238, .9), transparent 70%),
    radial-gradient(ellipse 9% 6% at 52% 40%, rgba(255, 244, 210, .8), transparent 70%),
    radial-gradient(ellipse 5% 4% at 70% 47%, rgba(255, 252, 238, .9), transparent 70%),
    radial-gradient(ellipse 8% 6% at 26% 68%, rgba(255, 244, 214, .8), transparent 70%),
    radial-gradient(ellipse 6% 5% at 52% 76%, rgba(255, 252, 238, .85), transparent 70%);
  --o: var(--sun-opacity-2, .7);
  opacity: var(--o);
  animation: komorebi-b 11s ease-in-out infinite alternate, komorebi-flicker 5s ease-in-out 1.3s infinite;
}
@keyframes komorebi-a {
  from { background-position: 0% 0%; }
  to   { background-position: 60% 45%; }
}
@keyframes komorebi-b {
  from { background-position: 70% 30%; }
  to   { background-position: 15% 70%; }
}
/* 風で葉が揺れて、光がちらちらする */
@keyframes komorebi-flicker {
  0%, 100% { opacity: var(--o); }
  30%      { opacity: calc(var(--o) * .6); }
  55%      { opacity: calc(var(--o) * 1.2); }
  80%      { opacity: calc(var(--o) * .85); }
}
.hero-inner { position: relative; padding: 0 var(--gutter); max-width: 1400px; }
.hero-tag {
  font-family: var(--font-en); letter-spacing: .22em; font-size: 13px; color: var(--sky);
  margin-bottom: 22px;
}
.hero-title {
  font-family: var(--font-en); font-weight: 400;
  font-size: clamp(72px, min(11vw, 15vh), 170px); line-height: .9; letter-spacing: .01em;
  text-transform: uppercase;
}
.hero-title .line { display: block; animation: rise 1.6s cubic-bezier(.2,.8,.2,1) both; }
.hero-title .line:nth-child(2) { animation-delay: .21s; }
.hero-title .line:nth-child(3) { animation-delay: .42s; }
.hero-title .outline { color: transparent; -webkit-text-stroke: 2px var(--ink); }
.hero-title .accent { color: var(--pink); }
@keyframes rise { from { opacity: 0; transform: translateY(60px); } }
.hero-lead { margin-top: 30px; font-size: clamp(15px, 1.6vw, 18px); color: var(--ink-dim); max-width: 34em; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }

.marquee {
  position: relative; margin-top: auto; padding: 16px 0;
  background: var(--yellow); color: var(--bg); transform: rotate(-2deg) translateY(10px);
  width: 110%; margin-left: -5%; overflow: hidden;
}
.hero .marquee { margin-top: 64px; }
.marquee-track { display: flex; width: max-content; animation: marquee 28s linear infinite; }
.marquee span { font-family: var(--font-en); font-size: clamp(22px, 3vw, 34px); letter-spacing: .06em; white-space: nowrap; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Stats ---------- */
.stats {
  display: grid; grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  margin-top: 60px;
}
.stat { padding: 40px var(--gutter); border-right: 1px solid var(--line); }
.stat:last-child { border-right: 0; }
.stat strong { display: block; font-family: var(--font-en); font-weight: 400; font-size: clamp(48px, 5.5vw, 76px); line-height: 1; }
.stat strong small { font-family: var(--font-ja); font-size: .32em; font-weight: 700; margin-left: 4px; }
.stat span { display: block; margin-top: 10px; color: var(--ink-dim); font-size: 14px; line-height: 1.6; }

/* ---------- Section common ---------- */
.section { padding: clamp(80px, 12vw, 150px) var(--gutter); max-width: 1400px; margin: 0 auto; }
.section-head { margin-bottom: 52px; }
.eyebrow { font-family: var(--font-en); letter-spacing: .2em; font-size: 13px; color: var(--sky); margin-bottom: 14px; }
.section-head h2 { font-size: clamp(30px, 4.6vw, 56px); font-weight: 900; letter-spacing: -.01em; }
.section-sub { margin-top: 12px; color: var(--ink-dim); }

/* ---------- About ---------- */
.about-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(32px, 6vw, 90px); }
.about-text p { font-size: 17px; color: #d9d6cf; }
.about-text p + p { margin-top: 1.2em; }
.about-points { display: grid; gap: 14px; }
.point {
  background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px 28px; position: relative;
}
.point-num {
  position: absolute; top: 18px; right: 24px;
  font-family: var(--font-en); font-size: 42px; line-height: 1; color: var(--bg-3);
}
.point h3 { font-size: 19px; font-weight: 900; margin-bottom: 8px; }
.point p { color: var(--ink-dim); font-size: 15px; }

/* ---------- Classes ---------- */
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 30px; }
.filter {
  font: inherit; font-family: var(--font-en); letter-spacing: .08em; font-size: 14px;
  padding: 9px 18px; border-radius: 999px; cursor: pointer;
  background: transparent; color: var(--ink-dim); border: 1.5px solid var(--line);
  transition: all .2s;
}
.filter:hover { color: var(--ink); border-color: var(--ink-dim); }
.filter.is-active { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.class-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 16px; }
.class-card {
  position: relative; overflow: hidden;
  background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px; display: flex; flex-direction: column; gap: 12px;
  transition: transform .3s, border-color .3s;
  animation: pop .45s cubic-bezier(.2,.8,.2,1) both;
}
@keyframes pop { from { opacity: 0; transform: translateY(16px); } }
.class-card:hover { transform: translateY(-4px); border-color: var(--c, var(--pink)); }
.class-card::before {
  content: ""; position: absolute; inset: 0 auto 0 0; width: 4px; background: var(--c, var(--pink));
}
.class-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.genre {
  font-family: var(--font-en); font-size: 12px; letter-spacing: .12em;
  color: var(--bg); background: var(--c, var(--pink)); padding: 3px 10px; border-radius: 6px;
}
.level { font-size: 12px; color: var(--ink-dim); }
.class-card h3 { font-size: 21px; font-weight: 900; }
.class-card .desc { color: var(--ink-dim); font-size: 14.5px; line-height: 1.7; flex: 1; }
.class-meta { display: grid; gap: 4px; font-size: 13.5px; border-top: 1px solid var(--line); padding-top: 12px; }
.class-meta div { display: flex; gap: 10px; }
.class-meta dt { color: var(--ink-dim); min-width: 3.5em; }
.class-meta dd { margin: 0; font-weight: 700; }
.price {
  margin-top: 40px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px;
  border: 1.5px dashed var(--line); border-radius: var(--radius); padding: 28px 32px;
}
.price .eyebrow { margin-bottom: 4px; }
.price-main { font-size: 18px; font-weight: 700; }
.price-main strong { font-family: var(--font-en); font-weight: 400; font-size: 40px; color: var(--yellow); margin-left: 8px; letter-spacing: .02em; }
.price-main span { color: var(--ink-dim); font-size: 14px; margin-left: 4px; }

/* ---------- Schedule ---------- */
.week { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; }
.day { background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.day-head {
  display: flex; align-items: baseline; justify-content: space-between;
  padding: 16px 18px; border-bottom: 1px solid var(--line);
}
.day-head strong { font-family: var(--font-en); font-weight: 400; font-size: 26px; letter-spacing: .04em; }
.day-head span { font-size: 13px; color: var(--ink-dim); }
/* 今日の曜日：最初の黄緑っぽい黄色 */
.day.is-today { border-color: #e6ff3d; }
.day.is-today .day-head { background: #e6ff3d; color: #0c0c0e; }
.day.is-today .day-head span { color: var(--bg); }
.slots { list-style: none; margin: 0; padding: 10px; display: grid; gap: 8px; }
.slot {
  padding: 12px 14px; border-radius: 12px; background: var(--bg-3);
  border-left: 3px solid var(--c, var(--pink)); cursor: pointer; transition: background .2s;
}
.slot:hover { background: #45494f; }
.slot time { font-family: var(--font-en); font-size: 17px; letter-spacing: .04em; color: var(--c, var(--pink)); }
.slot b { display: block; font-size: 14.5px; line-height: 1.45; margin-top: 2px; }
.slot small { display: block; color: var(--ink-dim); font-size: 12px; margin-top: 2px; }

/* ---------- Instructors ---------- */
.inst-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.inst {
  background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 22px 22px 26px; display: flex; flex-direction: column; gap: 10px;
}
.inst-photo {
  aspect-ratio: 4 / 3; border-radius: 12px; margin-bottom: 8px; position: relative; overflow: hidden;
  background:
    radial-gradient(circle at 80% 20%, rgba(255,241,90,.42), transparent 55%),
    radial-gradient(circle at 10% 90%, rgba(215,218,222,.3), transparent 50%),
    var(--bg-3);
  background-size: cover; background-position: center;
}
.inst:nth-child(3n+2) .inst-photo { background: radial-gradient(circle at 20% 20%, rgba(127,212,248,.42), transparent 55%), radial-gradient(circle at 90% 90%, rgba(255,241,90,.3), transparent 50%), var(--bg-3); }
.inst:nth-child(3n) .inst-photo { background: radial-gradient(circle at 70% 80%, rgba(255,241,90,.36), transparent 55%), radial-gradient(circle at 10% 10%, rgba(127,212,248,.32), transparent 50%), var(--bg-3); }
.inst-photo::after {
  content: attr(data-initial); position: absolute; left: 16px; bottom: 6px;
  font-family: var(--font-en); font-size: 64px; line-height: 1; color: rgba(245,242,234,.9);
}
/* 写真を入れたら .inst-photo に style="background-image:url(images/xxx.jpg)" を追加し、class="inst-photo has-photo" に */
.inst-photo.has-photo::after { content: none; }
/* 写真は枠いっぱいに表示。縦長写真は顔の位置に合わせて focus-top / focus-mid / focus-low で上下を調整 */
.inst-photo img, .alum-photo img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: center 50%; display: block;
}
.inst-photo img.focus-top, .alum-photo img.focus-top { object-position: center 22%; }
.inst-photo img.focus-mid, .alum-photo img.focus-mid { object-position: center 42%; }
.inst-photo img.focus-low, .alum-photo img.focus-low { object-position: center 68%; }
/* 写真全体を見せる（切らずに縮めて入れ、左右の余白は同じ写真をぼかして埋める）: LISA・chie */
.inst-photo.fit-whole img { object-fit: contain; }
.inst-photo.fit-whole img.photo-bg {
  object-fit: cover; filter: blur(16px) brightness(.55); transform: scale(1.2);
}
.inst-role { font-size: 12px; color: var(--sky); font-weight: 700; letter-spacing: .08em; }
.inst h3 { font-family: var(--font-en); font-weight: 400; font-size: 32px; letter-spacing: .03em; }
.inst h3 span { font-family: var(--font-ja); font-size: 14px; font-weight: 500; color: var(--ink-dim); margin-left: 8px; letter-spacing: 0; }
.inst p { color: var(--ink-dim); font-size: 14.5px; line-height: 1.75; }
.tags { list-style: none; padding: 0; margin: 6px 0 0; display: flex; flex-wrap: wrap; gap: 6px; }
.tags li { font-size: 12px; padding: 3px 10px; border: 1px solid var(--line); border-radius: 999px; color: var(--ink); }

/* ---------- Results ---------- */
.results-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.result {
  background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px;
}
.result.big {
  grid-column: span 4; background: linear-gradient(135deg, var(--lemon), var(--lemon-deep)); border: 0;
  padding: clamp(26px, 4vw, 44px); color: var(--on-lemon);
}
.result-event { font-weight: 900; font-size: 16px; margin-bottom: 14px; }
.result.big .result-event { font-size: clamp(18px, 2.4vw, 26px); }
.result-row { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; padding: 6px 0; border-bottom: 1px solid rgba(255,255,255,.08); }
.result-row:last-child { border-bottom: 0; }
.result-row span { font-size: 14px; color: var(--ink-dim); }
.result.big .result-row { border-bottom-color: rgba(35,37,40,.14); }
.result.big .result-row span { color: rgba(35,37,40,.78); font-size: 15px; }
.result-row strong { font-family: var(--font-ja); font-weight: 900; font-size: 18px; color: var(--yellow); white-space: nowrap; }
.result.big .result-row strong { font-size: clamp(22px, 3vw, 34px); color: var(--on-lemon); }
.result-row em { font-style: normal; font-size: 13px; color: var(--ink-dim); }
.result.big .result-row em { color: rgba(35,37,40,.7); }
.results-note { margin-top: 24px; color: var(--ink-dim); }

/* 角松敏生さん長野公演でのダンスコラボ（全国大会カードと同じくらい大きく） */
.collab {
  margin-top: 16px; border-radius: var(--radius); padding: clamp(26px, 4vw, 44px);
  background: linear-gradient(135deg, #c4ecfd, var(--sky) 55%, var(--sky-deep)); color: var(--on-lemon);
}
.collab-tag { font-family: var(--font-en); letter-spacing: .2em; font-size: 13px; opacity: .65; margin-bottom: 10px; }
.collab-title { font-size: clamp(24px, 3.6vw, 40px); font-weight: 900; line-height: 1.35; letter-spacing: -.01em; }
.collab-title .em {
  font-size: 1.25em; color: var(--on-lemon);
  background: linear-gradient(transparent 58%, var(--lemon) 58%); padding: 0 .08em;
}
/* 「長野公演で」「２回のダンスコラボ」の途中で改行しない */
.collab-title .nw { white-space: nowrap; }
.collab-list { list-style: none; margin: 24px 0 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.collab-list li {
  display: flex; flex-direction: column; gap: 14px; padding: 12px 12px 18px; border-radius: 14px;
  background: var(--bg); color: var(--ink);
}
/* 写真：どちらの年も同じ高さ（4:3）。2023年は2枚を横に並べる */
.collab-photos { display: grid; gap: 8px; aspect-ratio: 4 / 3; }
.collab-photos.two { grid-template-columns: 1fr 1fr; }
.collab-photos img { width: 100%; height: 100%; object-fit: cover; border-radius: 10px; display: block; background: var(--bg-2); }
.p-2019 { object-position: 50% 60%; }
.p-2023-stage { object-position: 62% 58%; }
.p-2023-group { object-position: 50% 48%; }
.collab-text { display: flex; align-items: center; gap: 18px; padding: 0 8px; }
.collab-year { font-family: var(--font-en); font-size: clamp(36px, 4vw, 48px); line-height: 1; color: var(--yellow); flex-shrink: 0; }
.collab-name { font-family: var(--font-en); font-size: clamp(15px, 1.6vw, 19px); letter-spacing: .03em; line-height: 1.4; }
.collab-name .ja-num { font-family: var(--font-ja); font-weight: 900; }
.sp-only { display: none; }

/* 全国大会 グループヒップホップの入賞の歩み（年・順位・チーム名） */
.history-title {
  margin: 26px 0 12px; padding-top: 22px; border-top: 1px solid rgba(35,37,40,.2);
  font-weight: 900; font-size: 15px; letter-spacing: .04em; color: var(--on-lemon);
}
.history {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px;
}
.history li {
  display: grid; grid-template-columns: auto 1fr; grid-template-rows: auto auto; column-gap: 14px; align-items: center;
  padding: 14px 16px; border-radius: 14px; background: var(--bg);
  border: 1px solid rgba(35,37,40,.2);
}
.h-year {
  grid-row: span 2; font-family: var(--font-en); font-size: clamp(34px, 3.6vw, 44px); line-height: 1;
  letter-spacing: .02em; color: #fff;
}
.h-rank {
  justify-self: start; font-weight: 900; font-size: 13px; letter-spacing: .06em;
  padding: 3px 10px; border-radius: 999px; background: #fff; color: var(--bg);
}
.h-team { font-weight: 700; font-size: 14px; color: rgba(255,255,255,.92); margin-top: 4px; line-height: 1.35; }
/* 優勝：白っぽいカード＋レモンの「優勝」ラベル（レモンの大カードの上で目立つように） */
.history .h-gold { background: #fbfbf7; border-color: #fbfbf7; }
.history .h-gold .h-year, .history .h-gold .h-team { color: var(--on-lemon); }
.history .h-gold .h-rank { background: var(--bg); color: var(--lemon); }
.history .h-silver .h-rank { background: var(--silver); color: var(--bg); }
.history .h-bronze .h-rank { background: #e0a46a; color: var(--bg); }

.alumni { margin-top: 90px; }
.alumni-head { margin-bottom: 26px; }
.alumni-head h3 { font-size: clamp(22px, 3vw, 32px); font-weight: 900; }
.alumni-head p { color: var(--ink-dim); margin-top: 6px; }
/* OB・OG は全員を一覧表示（横スクロールなし）
   PC: 4列 ／ ナツキ＝横2マス、Kapo＝縦2マス でちょうど埋まる配置 */
.alumni-track {
  display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-flow: row dense; gap: 16px;
}
.alum {
  background: var(--bg-2); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 24px;
}
.alum-2nd { grid-row: span 2; }
/* 出演アーティストなどの小見出しと一覧 */
.alum .alum-sub { margin-top: 12px; font-size: 12px; font-weight: 900; letter-spacing: .06em; }
.alum .alum-artists { font-size: 13px; line-height: 1.7; }
/* OB・OG の写真 */
.alum-photo {
  position: relative; overflow: hidden; aspect-ratio: 4 / 5;
  border-radius: 12px; margin-bottom: 16px; background: var(--bg-3);
}
/* 写真がない人は名前の文字を表示（講師欄と同じ見た目） */
.alum-noimg {
  background:
    radial-gradient(circle at 80% 20%, rgba(255,241,90,.42), transparent 55%),
    radial-gradient(circle at 15% 85%, rgba(127,212,248,.32), transparent 50%),
    var(--bg-3);
}
.alum-noimg::after {
  content: attr(data-initial); position: absolute; left: 14px; bottom: 6px;
  font-family: var(--font-en); font-size: 52px; line-height: 1; color: rgba(245,242,234,.9);
}
/* ナツキ（横長カード）は写真を右側に */
.alum-1st { padding-right: 240px !important; min-height: 300px; }
.alum-1st > .alum-1st-photo {
  position: absolute; top: 20px; right: 20px; bottom: 20px; width: 200px;
  aspect-ratio: auto; margin: 0; z-index: 1;
}
/* OB・OG：ナツキ（いちばん目立つ）／Kapo（2番目に目立つ） */
.alum-1st {
  grid-column: span 2; align-self: stretch; position: relative; overflow: hidden; border: 0; color: var(--on-lemon);
  display: flex; flex-direction: column; justify-content: center; align-items: flex-start;
  padding: 30px 32px 32px;
  background: linear-gradient(120deg, #fff15a, #e8d62a 40%, #fff8a6 70%, #fff15a);
  background-size: 260% 260%;
  animation: shine 9s ease-in-out infinite;
  box-shadow: 0 18px 50px rgba(255, 241, 90, .22);
}
@keyframes shine { 50% { background-position: 100% 50%; } }
.alum-1st > * { position: relative; }
.alum-1st-bg {
  position: absolute !important; right: -10px; bottom: -18px;
  font-family: var(--font-en); font-size: 120px; line-height: 1; letter-spacing: .02em;
  color: transparent; -webkit-text-stroke: 1.5px rgba(35,37,40,.16);
  pointer-events: none; white-space: nowrap;
}
/* 名前の文字サイズはほかのOB・OGと同じ（色だけ黄色で目立たせる） */
.alum.alum-1st h4 .alum-1st-name {
  font-size: inherit; font-weight: inherit; margin: 0 !important;
  color: var(--on-lemon) !important;
}
.alum.alum-1st h4 span:not(.alum-1st-name) { color: var(--on-lemon); }
.alum.alum-1st .alum-1st-catch {
  display: inline-block; font-weight: 900; font-size: 15px; color: var(--lemon);
  background: var(--bg); padding: 6px 12px; border-radius: 8px; margin-bottom: 12px;
}
.alum.alum-1st p, .alum.alum-1st h4 span { color: rgba(35,37,40,.82); }
.alum-1st .alum-badge { background: var(--bg); color: var(--lemon); }
/* Kapo：水色（2番目に目立つ） */
.alum-2nd { background: linear-gradient(160deg, #b9e8fc, var(--sky)); border: 0; color: var(--on-lemon); }
.alum.alum-2nd p, .alum.alum-2nd h4 span { color: #24414f; }
.alum.alum-2nd .monthly p { color: var(--ink); }
.alum.alum-1st .alum-badge { color: var(--lemon); }
.alum.alum-2nd .alum-badge { color: var(--lemon); }
.alum-2nd .alum-badge { background: var(--bg); color: var(--lemon); }
.monthly {
  margin-top: 16px; padding: 14px 16px; border-radius: 12px;
  background: var(--bg); color: var(--ink);
}
.alum-2nd .monthly p { color: var(--ink); }
.monthly-tag { font-family: var(--font-en); letter-spacing: .14em; font-size: 12px; color: var(--yellow) !important; margin-bottom: 6px; }
.monthly-text { font-size: 13.5px; line-height: 1.7; }
.monthly-text strong { color: var(--pink); }
.monthly-link { display: inline-block; margin-top: 10px; font-size: 13px; font-weight: 700; color: var(--yellow); }
.alum-badge {
  display: inline-block; font-family: var(--font-en); font-size: 11.5px; letter-spacing: .1em;
  background: var(--bg-3); color: var(--yellow); padding: 4px 10px; border-radius: 6px; margin-bottom: 14px;
}
.alum h4 { font-size: 22px; font-weight: 900; margin-bottom: 10px; }
.alum h4 span { font-size: 13px; font-weight: 500; color: var(--ink-dim); margin-left: 6px; }
.alum p { font-size: 14px; color: var(--ink-dim); line-height: 1.75; }

/* ---------- News ---------- */
.news-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 20px; }
.news-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.news-item a {
  display: grid; grid-template-columns: 120px 90px 1fr 112px auto; align-items: center; gap: 20px;
  padding: 22px 8px; border-bottom: 1px solid var(--line); text-decoration: none;
  transition: background .2s, padding .2s;
}
.news-item a:hover { background: var(--bg-2); padding-left: 18px; }
.news-date { font-family: var(--font-en); letter-spacing: .06em; color: var(--ink-dim); }
.news-cat {
  justify-self: start; font-family: var(--font-en); font-size: 11.5px; letter-spacing: .1em;
  padding: 3px 10px; border-radius: 6px; background: var(--bg-3); color: var(--c, var(--yellow));
}
.news-title { font-weight: 700; font-size: 16px; line-height: 1.5; }
.news-excerpt { display: block; font-weight: 400; font-size: 13.5px; color: var(--ink-dim); margin-top: 4px; }
.news-thumb { display: block; width: 112px; aspect-ratio: 4 / 3; border-radius: 10px; overflow: hidden; background: var(--bg-2); }
.news-thumb:empty { background: transparent; }
.news-thumb img { width: 100%; height: 100%; object-fit: cover; }
.article-photo { margin: 28px 0; }
.article-photo a { display: block; }
.article-photo img {
  display: block; margin: 0 auto; width: auto; height: auto;
  max-width: 100%; max-height: 78vh; border-radius: 14px; background: var(--bg-2);
}
.news-arrow { font-size: 20px; color: var(--ink-dim); transition: transform .2s, color .2s; }
.news-item a:hover .news-arrow { transform: translateX(4px); color: var(--sky); }

.news-actions { display: flex; flex-wrap: wrap; gap: 10px; }

/* ---------- News page (news.html) ---------- */
.news-page { padding-top: clamp(120px, 16vw, 180px); min-height: 70vh; }
.page-title { font-size: clamp(34px, 5vw, 60px); font-weight: 900; }
.year-filter { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 26px; }
.more-wrap { display: flex; justify-content: center; margin-top: 36px; }
.article { max-width: 760px; margin: 0 auto; }
.back-link { display: inline-block; color: var(--ink-dim); text-decoration: none; font-size: 14px; margin-bottom: 36px; }
.back-link:hover { color: var(--ink); }
.article-meta { display: flex; align-items: center; gap: 14px; margin-bottom: 16px; }
.article-title { font-size: clamp(26px, 4vw, 42px); font-weight: 900; line-height: 1.35; padding-bottom: 28px; border-bottom: 1px solid var(--line); }
.article-body { padding: 32px 0 20px; }
.article-body p { font-size: 16.5px; line-height: 2; color: #dcd9d2; }
.article-body p + p { margin-top: 1.3em; }
.article-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 40px; padding-top: 28px; border-top: 1px solid var(--line); }
.article-nav a {
  display: block; padding: 18px 20px; border: 1px solid var(--line); border-radius: var(--radius);
  text-decoration: none; font-weight: 700; font-size: 14.5px; line-height: 1.5; transition: border-color .2s;
}
.article-nav a:hover { border-color: var(--sky); }
.article-nav small { display: block; font-weight: 500; font-size: 12px; color: var(--ink-dim); margin-bottom: 4px; }
.article-nav .art-next { text-align: right; }

/* ---------- Access ---------- */
.access-grid { display: grid; grid-template-columns: 1fr 1.4fr; gap: 24px; }
.access-info { display: flex; flex-direction: column; gap: 18px; align-items: flex-start; }
.access-info h3 { font-size: 20px; font-weight: 900; }
.addr { color: var(--ink-dim); }
.hours { margin: 0; display: grid; gap: 6px; width: 100%; max-width: 320px; }
.hours div { display: flex; justify-content: space-between; border-bottom: 1px solid var(--line); padding-bottom: 6px; }
.hours dt { font-weight: 700; }
.hours dd { margin: 0; font-family: var(--font-en); letter-spacing: .05em; }
.map { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); min-height: 360px; }
.map iframe { width: 100%; height: 100%; min-height: 360px; border: 0; filter: grayscale(.9) invert(.92) contrast(.9); }
/* スタジオの写真：PCは4枚横並び、タブレット・スマホは2枚ずつ */
.studio-photos { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 24px; }
.studio-photo { margin: 0; }
.studio-photo img {
  width: 100%; aspect-ratio: 4 / 3; object-fit: cover; display: block;
  border-radius: 14px; background: var(--bg-2); border: 1px solid var(--line);
}
.studio-photo figcaption { margin-top: 8px; font-size: 13px; color: var(--ink-dim); }
@media (max-width: 860px) { .studio-photos { grid-template-columns: repeat(2, 1fr); } }

/* ---------- Contact ---------- */
.contact { background: var(--yellow); color: var(--bg); padding: clamp(80px, 12vw, 140px) var(--gutter); }
.contact-inner { max-width: 900px; margin: 0 auto; text-align: center; }
.contact .eyebrow { color: var(--bg); opacity: .6; }
.contact h2 { font-size: clamp(32px, 5.6vw, 68px); font-weight: 900; letter-spacing: -.02em; margin-bottom: 20px; }
.contact-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin: 34px 0 20px; }
.contact-actions .btn-line { padding: 16px 32px; font-size: 16px; }
.contact-note { font-size: 14px; opacity: .7; }

/* ---------- Footer ---------- */
.footer { padding: 60px var(--gutter) 40px; display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px; }
.footer-logo { font-family: var(--font-en); font-size: clamp(56px, 12vw, 160px); line-height: .85; color: var(--bg-3); }
.footer p { color: var(--ink-dim); font-size: 13px; }

/* ---------- Floating CTA (mobile) ---------- */
.float-cta {
  position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 40;
  display: none; text-align: center; padding: 15px; border-radius: 999px;
  background: var(--lemon); color: var(--on-lemon); font-weight: 700; text-decoration: none;
  box-shadow: 0 10px 30px rgba(0,0,0,.35);
  transform: translateY(120%); transition: transform .35s;
}
.float-cta.is-visible { transform: none; }
body.menu-open .float-cta { transform: translateY(120%); }
body.menu-open .header { backdrop-filter: none; -webkit-backdrop-filter: none; }

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 1.4s, transform 1.4s cubic-bezier(.2,.8,.2,1); }
.reveal.from-top { transform: translateY(-28px); }
.reveal.is-in { opacity: 1; transform: none; }

/* 写真は横からすっと入ってくる（画面の左側の写真は左から、右側の写真は右から） */
.slide-in {
  opacity: 0; transform: translateX(-70px);
  transition: opacity 2.4s, transform 2.4s cubic-bezier(.2,.8,.2,1);
}
.slide-in.from-right { transform: translateX(70px); }
.slide-in.is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal, .slide-in { opacity: 1; transform: none; }
}

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 1100px) {
  .week { grid-template-columns: repeat(3, 1fr); }
  .inst-grid { grid-template-columns: repeat(2, 1fr); }
  .results-grid { grid-template-columns: repeat(2, 1fr); }
  .result.big { grid-column: span 2; }
  .history { grid-template-columns: repeat(2, 1fr); }
  .alumni-track { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 860px) {
  .menu-btn {
    display: grid; place-content: center; gap: 7px; width: 46px; height: 46px; z-index: 60;
    background: var(--ink); border: 0; border-radius: 50%; cursor: pointer;
  }
  .menu-btn span { display: block; width: 18px; height: 2px; background: var(--bg); transition: transform .3s; }
  .menu-btn[aria-expanded="true"] span:first-child { transform: translateY(4.5px) rotate(45deg); }
  .menu-btn[aria-expanded="true"] span:last-child { transform: translateY(-4.5px) rotate(-45deg); }
  .nav {
    position: fixed; top: 0; left: 0; right: 0; height: 100vh; height: 100dvh;
    flex-direction: column; justify-content: center; gap: 22px;
    background: var(--bg); opacity: 0; pointer-events: none; transition: opacity .3s;
  }
  .nav.is-open { opacity: 1; pointer-events: auto; }
  .nav a { font-size: 30px; color: var(--ink); }
  .nav .nav-cta { font-size: 17px; padding: 14px 28px; margin-top: 10px; }

  .stats { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(2) { border-right: 0; }
  .stat:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .about-grid, .access-grid { grid-template-columns: 1fr; }
  .float-cta { display: block; }
  .footer { padding-bottom: 100px; }
}

@media (max-width: 640px) {
  body { font-size: 15px; }
  .hero-title .outline { -webkit-text-stroke-width: 1.5px; }
  .hero-kanji { right: -14vw; height: 72vh; }
  .hero-kanji > .kanji-layer { opacity: .28; }
  .hero-kanji { --flow-opacity: .3; --shine-opacity: .3; --kanji-blur: 0.7px; }
  .hero-kanji { --sun-opacity: .45; --sun-opacity-2: .38; }
  .hero-actions .btn { width: 100%; }
  .stat { padding: 28px 16px; }
  .week { grid-template-columns: 1fr; }
  .inst-grid { grid-template-columns: 1fr; }
  .results-grid { grid-template-columns: 1fr; }
  .result.big { grid-column: auto; }
  .history { grid-template-columns: 1fr; }
  .collab-list { grid-template-columns: 1fr; }
  .collab-text { flex-direction: column; align-items: flex-start; gap: 8px; }
  .sp-only { display: inline; }
  .class-grid { grid-template-columns: 1fr; }
  .price { padding: 22px; }
  .price .btn { width: 100%; }
  .contact-actions .btn { width: 100%; }
  .about-text p { font-size: 15.5px; }
  .alumni-track { grid-template-columns: 1fr; }
  .alum-1st { grid-column: auto; padding: 24px 22px 26px !important; min-height: 0; }
  .alum-1st > .alum-1st-photo { position: relative; top: auto; right: auto; bottom: auto; width: 100%; aspect-ratio: 4 / 5; margin-bottom: 16px; }
  .alum-2nd { grid-row: auto; }
  .alum-1st-bg { font-size: 84px; }
  .news-item a { grid-template-columns: auto 1fr 76px; gap: 6px 12px; padding: 18px 4px; }
  .news-title { grid-column: 1 / 3; font-size: 15px; }
  .news-thumb { grid-column: 3; grid-row: 1 / 3; width: 76px; align-self: start; }
  .news-arrow { display: none; }
  .news-head .btn, .news-actions { width: 100%; }
  .article-nav { grid-template-columns: 1fr; }
  .article-nav .art-next { text-align: left; }
  .article-body p { font-size: 15.5px; }
}
