@charset "UTF-8";
/* ===================================================================
   Aoki Family English — Warm Craft Editorial
   アンカー: 学藝の森CoE（実測） / アクセント: UM English Lab.（マーキー・多色）
   憲法: _notes/design-constitution.md
   iOS安全: blurアニメ・backdrop-filter・mix-blend-mode・3D transform 不使用
   =================================================================== */

/* ============================ TOKENS ============================ */
:root {
  --ink: #001718;
  --ink-soft: #5c5c5c;
  --ink-mute: #5f6d6b;
  --paper: #ffffff;
  --warm: #fbf7f0;
  --cool: #f0f4f9;
  --line: #e6e1d6;

  --leaf: #4a9c25;
  --leaf-deep: #35761a;
  --leaf-press: #2a5d14;
  --leaf-tint: #eaf6e3;
  --sky: #aae7f9;
  --lime: #b5ef23;
  --coral: #ff7777;
  --blue: #4eb4f9;
  --sun: #ffc93c;
  --mint: #9df1df;

  /* 面用パステル・状態色・影（素の16進を残さない） */
  --blob-sun: #ffe9b0;
  --blob-coral: #ffdada;
  --blob-sky: #ddf4fc;
  --blob-mint: #dcf8f1;
  --marquee-ink: #ebe6da;
  --sun-press: #ffbd12;
  --danger: #c62828;
  --danger-tag: #d33f3f;
  --shadow-soft: 0 18px 40px rgba(0, 23, 24, 0.08);
  --kids-tint: #fff6e0;  --kids-ink: #7a5200;
  --mothers-tint: #ffeff1; --mothers-ink: #8f2b2b;
  --fathers-tint: #eaf5fe;

  --kids: #ffc93c;
  --mothers: #ff7777;
  --fathers: #4eb4f9;

  --f-ja: YakuHanJP, "Zen Kaku Gothic New", "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
  --f-en: Archivo, YakuHanJP, "Zen Kaku Gothic New", sans-serif;

  --e-out: cubic-bezier(0.215, 0.61, 0.355, 1);
  --e-inout: cubic-bezier(0.645, 0.045, 0.355, 1);
  --e-strong: cubic-bezier(0.86, 0, 0.07, 1);

  --container: 1240px;
  --gutter: clamp(2rem, 5vw, 4rem);

  /* 不均等リズム（アンカー実測 620/217/170/124/120/68 を踏襲） */
  --sp-xxl: clamp(8rem, 11vw, 13rem);
  --sp-xl: clamp(6.4rem, 8vw, 10rem);
  --sp-l: clamp(5.2rem, 6vw, 7.6rem);
  --sp-m: clamp(4rem, 4.6vw, 5.6rem);
  --sp-s: clamp(2.6rem, 3vw, 3.6rem);

  --r-panel: 24px;
  --r-panel-lg: 48px;
  --r-pill: 100px;
}

/* ============================ BASE ============================ */
*, *::before, *::after { box-sizing: border-box; }
html { font-size: 62.5%; -webkit-text-size-adjust: 100%; scroll-behavior: smooth; overflow-x: clip; }
body {
  margin: 0;
  font-family: var(--f-ja);
  font-size: 1.6rem;
  line-height: 1.75;
  letter-spacing: 0.03em;
  color: var(--ink);
  background: var(--paper);
  overflow-x: clip; /* hidden は sticky を壊すため clip */
  font-feature-settings: "palt" 1;
  line-break: strict;
}
img, svg { max-width: 100%; height: auto; vertical-align: middle; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4, p, dl, dd, figure, blockquote { margin: 0; }
:focus-visible { outline: 3px solid var(--leaf); outline-offset: 3px; border-radius: 4px; }

.p-skip {
  position: absolute; left: 1rem; top: -100px; z-index: 200;
  padding: 1rem 2rem; background: var(--ink); color: #fff; border-radius: var(--r-pill);
  transition: top 0.2s var(--e-out);
}
.p-skip:focus { top: 1rem; }

.l-container { width: min(100% - var(--gutter) * 2, var(--container)); margin-inline: auto; }
.u-en { font-family: var(--f-en); font-weight: 500; letter-spacing: 0.08em; }

/* セクション見出し（3型を使い分け＝反復回避） */
.c-shead { display: flex; align-items: baseline; gap: 1.6rem; }
.c-shead__en {
  font-family: var(--f-en); font-size: 1.3rem; font-weight: 600;
  letter-spacing: 0.16em; text-transform: uppercase; color: var(--leaf-deep);
}
.c-shead__ja { font-size: clamp(2.6rem, 4vw, 4rem); font-weight: 700; line-height: 1.5; letter-spacing: 0.02em; }
.c-shead--stack { flex-direction: column; align-items: flex-start; gap: 0.6rem; }
.c-shead--center { flex-direction: column; align-items: center; text-align: center; gap: 0.6rem; }

/* ロゴ（手描きマーク＋和欧ワードマーク） */
.c-logo { display: inline-flex; align-items: center; gap: 1rem; color: var(--ink); }
.c-logo__mark { width: 3.4rem; height: 3.4rem; flex: none; color: var(--leaf); }
.c-logo__txt { display: grid; line-height: 1.1; }
.c-logo__txt b { font-family: var(--f-en); font-size: 1.7rem; font-weight: 600; letter-spacing: 0.01em; }
.c-logo__txt i { font-family: var(--f-en); font-style: normal; font-size: 1.25rem; font-weight: 500; letter-spacing: 0.22em; color: var(--leaf); }

.c-underline { display: block; width: 100%; max-width: 22rem; height: 1.4rem; margin-top: 0.4rem; }
.c-ico { width: 4.2rem; height: 4.2rem; display: block; }
.c-lead { font-size: 1.7rem; line-height: 2; color: var(--ink-soft); }

/* ============================ BUTTON ============================ */
.c-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.8rem;
  min-height: 5.6rem; padding: 0 3.2rem;
  font-size: 1.6rem; font-weight: 700; letter-spacing: 0.04em;
  color: #fff; background: var(--leaf-deep); border-radius: var(--r-pill);
  white-space: nowrap;
  transition: background-color 0.3s var(--e-inout), transform 0.3s var(--e-inout), color 0.3s var(--e-inout);
}
.c-btn:hover { background: var(--leaf-press); transform: translateY(-2px); }
.c-btn .c-ico { width: 2rem; height: 2rem; }
.c-btn--sm { min-height: 4.4rem; padding: 0 2.2rem; font-size: 1.4rem; }
.c-btn--lg { min-height: 6.4rem; padding: 0 4rem; font-size: 1.7rem; }
.c-btn--full { width: 100%; }
.c-btn--ghost { color: var(--ink); background: transparent; box-shadow: inset 0 0 0 2px var(--ink); }
.c-btn--ghost:hover { color: #fff; background: var(--ink); }
.c-btn--white { color: var(--ink); background: #fff; }
.c-btn--white:hover { background: var(--warm); }

.c-textlink {
  display: inline-flex; align-items: center; gap: 0.8rem;
  font-weight: 700; color: var(--leaf-deep); transition: gap 0.3s var(--e-inout);
}
.c-textlink::after { content: ""; width: 2.4rem; height: 0.2rem; background: currentColor; border-radius: 2px; }
.c-textlink:hover { gap: 1.4rem; }

/* ============================ ELLIPSE PHOTO（アンカーの核） ============================ */
.c-ellipse {
  width: var(--w); max-width: 100%; aspect-ratio: var(--w) / var(--h);
  border-radius: 50%; overflow: hidden; position: relative;
}
.c-ellipse img { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; transition: transform 0.6s var(--e-out); }
.c-ellipse:hover img { transform: scale(1.06); }

/* ブロブ（アンカーの -yellow / -green / -pink） */
.c-blobs { position: absolute; inset: 0; pointer-events: none; z-index: 0; }
.c-blob { position: absolute; left: var(--x); top: var(--y); width: calc(var(--s) * 1px); aspect-ratio: 1.35 / 1; border-radius: 50%; }
.c-blob--sun { background: var(--blob-sun); }
.c-blob--coral { background: var(--blob-coral); }
.c-blob--sky { background: var(--blob-sky); }
.c-blob--leaf { background: var(--leaf-tint); }
.c-blob--mint { background: var(--blob-mint); }

/* マーキー（UM English Lab. の借用＝薄墨で背景装飾化） */
.c-marquee { overflow: hidden; width: 100%; }
.c-marquee__track { display: flex; width: max-content; animation: marquee 34s linear infinite; }
.c-marquee__item {
  font-family: var(--f-en); font-weight: 400; font-size: clamp(5.6rem, 11vw, 14rem);
  line-height: 1.1; letter-spacing: 0.01em; color: var(--marquee-ink); white-space: nowrap; padding-right: 6rem;
}
.c-marquee--leaf .c-marquee__item { color: var(--leaf-tint); }
@keyframes marquee { to { transform: translate3d(-50%, 0, 0); } }

/* 斜め帯・タグ */
.c-diagonal { clip-path: polygon(0 3.2vw, 100% 0, 100% 100%, 0 calc(100% - 3.2vw)); }
.c-tag {
  display: inline-flex; align-items: center; gap: 0.6rem;
  padding: 0.5rem 1.6rem; border-radius: var(--r-pill);
  font-size: 1.3rem; font-weight: 700; letter-spacing: 0.06em; font-family: var(--f-en); color: var(--ink);
}
.c-tag--kids { background: var(--kids); }
.c-tag--mothers { background: var(--mothers); color: var(--ink); }
.c-tag--fathers { background: var(--fathers); color: var(--ink); }

/* ============================ DECORATION LAYER ============================ */
/* 装飾レイヤーの基準（これが無いと absolute が別セクションへ飛ぶ） */
.p-hero, .p-news, .p-about, .p-reason, .p-stats, .p-course, .p-schedule, .p-flow,
.p-teacher, .p-events, .p-price, .p-voice, .p-gallery, .p-method, .p-sns,
.p-faq, .p-access, .p-ways, .p-photoband, .p-phead, .p-notfound { position: relative; overflow: clip; }

/* 手描きモチーフの散布（セクションごとに種類と密度を変える） */
.c-decos, .c-dusts { position: absolute; inset: 0; pointer-events: none; z-index: 0; overflow: hidden; }
.c-deco {
  position: absolute; left: var(--x); top: var(--y);
  width: var(--s); height: var(--s); margin: calc(var(--s) / -2);
  opacity: var(--o, 0.55);
  transform: translate3d(0, var(--par, 0px), 0) rotate(var(--rot, 0deg));
}
.c-deco svg { width: 100%; height: 100%; display: block; }
.c-deco--leaf { color: var(--leaf); }
.c-deco--sun { color: var(--sun); }
.c-deco--coral { color: var(--coral); }
.c-deco--blue { color: var(--blue); }
.c-deco--mint { color: var(--mint); }
.c-deco--ink-mute { color: var(--ink-mute); opacity: calc(var(--o, 0.55) * 0.5); }

/* 小さな楕円写真の散布（もりのこ型の“小装飾画像”） */
.c-dust {
  position: absolute; left: var(--x); top: var(--y);
  width: var(--w); height: var(--h); margin-left: calc(var(--w) / -2); margin-top: calc(var(--h) / -2);
  border-radius: 50%; overflow: hidden; opacity: 0.9;
  transform: translate3d(0, var(--par, 0px), 0);
  box-shadow: 0 10px 26px rgba(0, 23, 24, 0.07);
}
.c-dust img { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; }

/* 中身は装飾より前面へ */
.p-hero__inner, .p-hero__pics, .p-hero__stat,
.p-about__inner, .p-reason .l-container, .p-course .l-container, .p-flow .l-container,
.p-teacher .l-container, .p-price .l-container, .p-voice .l-container, .p-gallery .l-container,
.p-method .l-container, .p-stats .l-container, .p-news .l-container, .p-schedule .l-container,
.p-events .l-container, .p-faq .l-container, .p-access .l-container, .p-ways .l-container,
.p-phead__inner, .p-crumb { position: relative; z-index: 2; }

/* ============================ REVEAL / PARALLAX ============================ */
[data-r] {
  --rv-x: 0px; --rv-y: 32px; --par: 0px;
  opacity: 0;
  transform: translate3d(var(--rv-x), calc(var(--rv-y) + var(--par)), 0);
  transition: opacity 0.9s var(--e-out), transform 0.9s var(--e-out);
}
[data-r].is-in { opacity: 1; --rv-x: 0px; --rv-y: 0px; }
[data-r].is-settled { transition: opacity 0.9s var(--e-out); }
[data-dir="down"] { --rv-y: -26px; }
[data-dir="left"] { --rv-x: -38px; --rv-y: 0px; }
[data-dir="right"] { --rv-x: 38px; --rv-y: 0px; }
[data-dir="dl"] { --rv-x: -30px; --rv-y: -22px; }
[data-dir="dr"] { --rv-x: 30px; --rv-y: -22px; }
[data-depth]:not([data-r]) { transform: translate3d(0, var(--par, 0px), 0); }
[data-stagger] > * { transition-delay: calc(var(--i, 0) * 90ms); }

/* ============================ HEADER ============================ */
.l-header {
  position: fixed; inset: 0 0 auto; z-index: 100;
  transition: transform 0.4s var(--e-out), background-color 0.3s var(--e-inout);
}
.l-header.is-hidden { transform: translateY(-104%); }
.l-header.is-solid { background: rgba(255, 255, 255, 0.94); box-shadow: 0 1px 0 var(--line); }
.l-header__inner { width: min(100% - 3.2rem, 1400px); margin-inline: auto; display: flex; align-items: center; gap: 2.4rem; height: 8.4rem; }
.l-header__logo { flex: none; }
.l-header__nav { display: flex; align-items: center; gap: 2.8rem; margin-left: auto; }
.l-header__links { display: flex; gap: 2.4rem; }
.l-header__link { position: relative; font-size: 1.45rem; font-weight: 500; padding-block: 0.6rem; }
.l-header__link::after {
  content: ""; position: absolute; left: 0; bottom: 0; width: 100%; height: 2px;
  background: var(--leaf); border-radius: 2px; transform: scaleX(0); transform-origin: right;
  transition: transform 0.3s var(--e-inout);
}
.l-header__link:hover::after, .l-header__link[aria-current="page"]::after { transform: scaleX(1); transform-origin: left; }
.l-header__burger { display: none; width: 4.8rem; height: 4.8rem; margin-left: auto; position: relative; }
.l-header__burger span {
  position: absolute; left: 1.2rem; width: 2.4rem; height: 2px; background: var(--ink); border-radius: 2px;
  transition: transform 0.3s var(--e-strong), opacity 0.2s;
}
.l-header__burger span:nth-child(1) { top: 1.7rem; }
.l-header__burger span:nth-child(2) { top: 2.3rem; }
.l-header__burger span:nth-child(3) { top: 2.9rem; }
.l-header__burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(0.6rem) rotate(45deg); }
.l-header__burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.l-header__burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-0.6rem) rotate(-45deg); }

.l-drawer { position: fixed; inset: 0; z-index: 99; background: var(--warm); padding: 11rem var(--gutter) 4rem; overflow-y: auto; }
.l-drawer[hidden] { display: none; }
.l-drawer__links { display: grid; gap: 0.4rem; margin-bottom: 3.2rem; }
.l-drawer__links a { display: block; padding: 1.4rem 0; font-size: 2rem; font-weight: 700; border-bottom: 1px solid var(--line); }
.l-drawer__tel { margin-top: 2.4rem; text-align: center; }
.l-drawer__tel a { font-family: var(--f-en); font-size: 2.4rem; font-weight: 600; }
.l-drawer__tel span { display: block; font-size: 1.3rem; color: var(--ink-soft); }

/* 縦組みの固定サイドCTA（アンカーの縦書きサイドボタンを踏襲） */
.l-sidecta { position: fixed; right: 0; top: 50%; transform: translateY(-50%); z-index: 90; display: grid; gap: 0.8rem; }
.l-sidecta__btn {
  writing-mode: vertical-rl; text-orientation: upright;
  padding: 2.2rem 0.9rem; border-radius: 12px 0 0 12px;
  font-size: 1.35rem; font-weight: 700; letter-spacing: 0.12em; color: #fff; background: var(--leaf-deep);
  transition: padding 0.3s var(--e-inout), background-color 0.3s var(--e-inout);
}
.l-sidecta__btn:hover { padding-right: 1.6rem; background: var(--leaf-press); }
.l-sidecta__btn--ghost { color: var(--ink); background: var(--sun); }
.l-sidecta__btn--ghost:hover { background: var(--sun-press); }

/* ============================ HERO ============================ */
.p-hero { position: relative; padding: 13rem 0 var(--sp-xxl); overflow: clip; }
.p-hero__inner { position: relative; width: min(100% - var(--gutter) * 2, 1180px); margin-inline: auto; text-align: center; z-index: 2; }
.p-hero__kicker {
  display: inline-flex; align-items: center; gap: 0.8rem;
  font-family: var(--f-en); font-size: 1.35rem; font-weight: 600; letter-spacing: 0.14em;
  color: var(--leaf-press); background: var(--leaf-tint); padding: 0.6rem 1.8rem; border-radius: var(--r-pill);
}
.p-hero__title { margin-top: 2.4rem; font-size: clamp(3.6rem, 7.4vw, 7.6rem); font-weight: 700; line-height: 1.42; letter-spacing: 0.02em; }
.p-hero__title .is-leaf { color: var(--leaf); }
.p-hero__title-wrap { display: inline-block; position: relative; }
.p-hero__title-wrap .c-underline { position: absolute; left: 0; bottom: -1rem; max-width: none; }
.p-hero__lead { margin: 2.8rem auto 0; max-width: 46rem; font-size: 1.7rem; line-height: 2; color: var(--ink-soft); }
.p-hero__actions { display: flex; flex-wrap: wrap; gap: 1.4rem; justify-content: center; margin-top: 3.6rem; }
.p-hero__pics { position: absolute; inset: 0; z-index: 1; pointer-events: none; }
.p-hero__pics .c-ellipse { position: absolute; pointer-events: auto; }
.p-hero__pic1 { left: 1%; top: 10%; }
.p-hero__pic2 { left: 7%; top: 55%; }
.p-hero__pic3 { right: 2%; top: 6%; }
.p-hero__pic4 { right: 6%; top: 56%; }
.p-hero__pic5 { left: 5%; top: 79%; }
.p-hero__pic6 { left: 7%; top: 41%; }
.p-hero__pic7 { right: 7%; top: 27%; }
.p-hero__pic8 { left: 26%; top: 1%; }
.p-hero__stat {
  position: absolute; right: 7%; top: 84%; z-index: 3;
  display: grid; gap: 0.2rem; padding: 1.6rem 2.4rem;
  background: #fff; border-radius: var(--r-panel); box-shadow: var(--shadow-soft);
}
.p-hero__stat b { font-family: var(--f-en); font-size: 3.2rem; font-weight: 600; line-height: 1; color: var(--leaf-deep); font-variant-numeric: tabular-nums; }
.p-hero__stat span { font-size: 1.3rem; color: var(--ink-soft); }
.p-hero__scroll {
  position: absolute; left: 50%; bottom: 2rem; transform: translateX(-50%);
  font-family: var(--f-en); font-size: 1.1rem; letter-spacing: 0.2em; color: var(--ink-mute);
}
.p-hero__scroll::after {
  content: ""; display: block; width: 1px; height: 5.6rem; margin: 0.8rem auto 0; background: var(--ink-mute);
  animation: scrolldown 2.6s var(--e-inout) infinite;
}
@keyframes scrolldown {
  0% { transform: scaleY(0); transform-origin: top; }
  45% { transform: scaleY(1); transform-origin: top; }
  55% { transform: scaleY(1); transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}

.p-band { padding: var(--sp-s) 0 0; }

/* ============================ ABOUT ============================ */
.p-about { position: relative; padding: var(--sp-m) 0 var(--sp-l); }
.p-about__inner { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: clamp(3rem, 6vw, 8rem); align-items: center; }
.p-about__pics { position: relative; min-height: 46rem; }
.p-about__pics .c-ellipse { position: absolute; }
.p-about__pic1 { left: 0; top: 0; }
.p-about__pic2 { right: 2%; top: 30%; }
.p-about__pic3 { left: 16%; bottom: 0; }
.p-about__title { font-size: clamp(2.8rem, 4.4vw, 4.4rem); font-weight: 700; line-height: 1.55; letter-spacing: 0.02em; }
.p-about__title em { font-style: normal; color: var(--leaf); }
.p-about__body { margin-top: 2.4rem; display: grid; gap: 1.8rem; color: var(--ink-soft); line-height: 2.05; }
.p-about__more { margin-top: 3.2rem; }

/* ============================ REASON（段違い） ============================ */
.p-reason { padding: var(--sp-l) 0 calc(var(--sp-l) + 5rem); background: var(--warm); position: relative; }
.p-reason__head { max-width: 64rem; }
.p-reason__list { margin-top: var(--sp-m); display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(2rem, 3vw, 4rem); }
.p-reason__item { position: relative; padding: 3.2rem 2.8rem 3.6rem; background: #fff; border-radius: var(--r-panel-lg) var(--r-panel) var(--r-panel-lg) var(--r-panel); }
.p-reason__item:nth-child(2) { margin-top: 4.8rem; border-radius: var(--r-panel) var(--r-panel-lg) var(--r-panel) var(--r-panel-lg); }
.p-reason__item:nth-child(3) { margin-top: 1.6rem; }
.p-reason__no { font-family: var(--f-en); font-size: 1.2rem; font-weight: 600; letter-spacing: 0.16em; color: var(--ink-mute); }
.p-reason__ico { color: var(--leaf-deep); }
.p-reason__row { display: flex; align-items: center; gap: 1.4rem; margin: 1.2rem 0 0; }
.p-reason__t { font-size: 2rem; font-weight: 700; line-height: 1.6; }
.p-reason__d { margin-top: 1rem; font-size: 1.5rem; line-height: 1.95; color: var(--ink-soft); }
.p-reason__item::before { content: ""; position: absolute; right: 2.4rem; top: 2.4rem; width: 1.2rem; height: 1.2rem; border-radius: 50%; }
.p-reason__item:nth-child(1)::before { background: var(--sun); }
.p-reason__item:nth-child(2)::before { background: var(--coral); }
.p-reason__item:nth-child(3)::before { background: var(--blue); }

/* ============================ COURSE ============================ */
.p-course { position: relative; padding: calc(var(--sp-l) + 3vw) 0 calc(var(--sp-l) + 3vw); background: var(--cool); margin-top: var(--sp-s); }
.p-course__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 2rem; flex-wrap: wrap; }
.p-course__list { margin-top: var(--sp-m); display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(2rem, 3vw, 3.6rem); }
.p-course__item { display: grid; gap: 1.4rem; align-content: start; justify-items: start; }
.p-course__item .c-ellipse { justify-self: stretch; }
.p-course__item:nth-child(even) { margin-top: 5.6rem; }
.p-course__item .c-ellipse { width: 100%; aspect-ratio: 1.3 / 1; }
.p-course__t { font-size: 2.2rem; font-weight: 700; }
.p-course__meta { font-size: 1.35rem; color: var(--ink-mute); font-weight: 500; }
.p-course__d { font-size: 1.5rem; line-height: 1.95; color: var(--ink-soft); }
.p-course__foot { margin-top: calc(var(--sp-m) + 4rem); text-align: center; }

/* ============================ FLOW ============================ */
.p-flow { padding: var(--sp-l) 0; position: relative; }
.p-flow__list { margin-top: var(--sp-m); display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 2.4rem; position: relative; }
.p-flow__list::before {
  content: ""; position: absolute; left: 10%; right: 10%; top: 3.2rem; height: 2px;
  background-image: linear-gradient(90deg, var(--ink-mute) 0 8px, transparent 8px 16px);
  background-size: 16px 2px; opacity: 0.45;
}
.p-flow__item { text-align: center; position: relative; }
.p-flow__no {
  width: 6.4rem; height: 6.4rem; margin: 0 auto; border-radius: 50%; display: grid; place-items: center;
  background: #fff; box-shadow: inset 0 0 0 2px var(--ink); font-family: var(--f-en); font-size: 1.9rem; font-weight: 600;
}
.p-flow__item:last-child .p-flow__no { background: var(--leaf-deep); color: #fff; box-shadow: none; }
.p-flow__t { margin-top: 1.6rem; font-size: 1.8rem; font-weight: 700; }
.p-flow__d { margin-top: 0.6rem; font-size: 1.4rem; line-height: 1.9; color: var(--ink-soft); }

/* ============================ TEACHER ============================ */
.p-teacher { padding: var(--sp-l) 0 var(--sp-l); background: var(--warm); }
.p-teacher__list { margin-top: var(--sp-m); display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(2rem, 4vw, 5rem); }
.p-teacher__item { text-align: center; }
.p-teacher__item:nth-child(2) { margin-top: -3.2rem; }
.p-teacher__item:nth-child(3) { margin-top: 2.4rem; }
.p-teacher__item .c-ellipse { margin: 0 auto; width: min(100%, 26rem); aspect-ratio: 1 / 1.12; }
.p-teacher__name { margin-top: 2rem; font-size: 2rem; font-weight: 700; }
.p-teacher__en { font-family: var(--f-en); font-size: 1.3rem; letter-spacing: 0.08em; color: var(--ink-mute); }
.p-teacher__meta { margin-top: 0.8rem; font-size: 1.35rem; color: var(--ink-soft); }
.p-teacher__quote { margin-top: 1.6rem; font-size: 1.5rem; line-height: 1.95; text-align: left; }
.p-teacher__tags { margin-top: 1.6rem; display: flex; flex-wrap: wrap; gap: 0.8rem; }
.p-teacher__tags span { font-size: 1.25rem; padding: 0.4rem 1.2rem; border-radius: var(--r-pill); background: #fff; color: var(--ink-soft); }

/* ============================ PRICE ============================ */
.p-price { padding: var(--sp-l) 0; }
.p-price__list { margin-top: var(--sp-m); display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(2rem, 3vw, 3.2rem); }
.p-price__item { padding: 3.2rem 2.8rem; border-radius: var(--r-panel-lg); background: #fff; box-shadow: inset 0 0 0 2px var(--line); display: grid; align-content: start; gap: 1.2rem; }
.p-price__item--kids { box-shadow: inset 0 0 0 2px var(--kids); }
.p-price__item--mothers { box-shadow: inset 0 0 0 2px var(--mothers); }
.p-price__item--fathers { box-shadow: inset 0 0 0 2px var(--fathers); }
.p-price__ico { color: var(--ink); }
.p-price__t { font-size: 2rem; font-weight: 700; }
.p-price__target { font-size: 1.3rem; color: var(--ink-mute); }
.p-price__fee { font-family: var(--f-en); font-size: 4rem; font-weight: 600; line-height: 1.1; font-variant-numeric: tabular-nums; }
.p-price__fee small { font-family: var(--f-ja); font-size: 1.3rem; font-weight: 500; color: var(--ink-soft); letter-spacing: 0.04em; }
.p-price__feats { display: grid; gap: 0.8rem; margin-top: 0.4rem; }
.p-price__feats li { position: relative; padding-left: 2.4rem; font-size: 1.45rem; line-height: 1.8; }
.p-price__feats li::before {
  content: ""; position: absolute; left: 0; top: 0.7rem; width: 1.4rem; height: 0.8rem;
  border-left: 2px solid var(--leaf); border-bottom: 2px solid var(--leaf); transform: rotate(-45deg);
}
.p-pack {
  margin-top: 4.8rem; padding: clamp(3rem, 5vw, 5.6rem); border-radius: var(--r-panel-lg);
  background: var(--leaf-deep); color: #fff; position: relative; overflow: hidden;
  display: grid; gap: 1.2rem; justify-items: center; text-align: center;
}
.p-pack__t { font-size: clamp(2.4rem, 3.6vw, 3.4rem); font-weight: 700; }
.p-pack__off { font-family: var(--f-en); font-size: clamp(4rem, 8vw, 7rem); font-weight: 600; line-height: 1; }
.p-pack__ex { font-size: 1.6rem; }
.p-price__note { margin-top: 2.4rem; text-align: center; font-size: 1.35rem; color: var(--ink-soft); }

/* ============================ VOICE ============================ */
.p-voice { padding: var(--sp-l) 0 var(--sp-l); background: var(--warm); }
.p-voice__list { margin-top: var(--sp-m); display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(2rem, 3vw, 3.2rem) clamp(2rem, 3vw, 3.2rem); align-items: start; }
.p-voice__item { position: relative; padding: 3rem 2.8rem; background: #fff; border-radius: var(--r-panel) var(--r-panel) var(--r-panel) 6px; }
.p-voice__item:nth-child(3n + 2) { margin-top: 3.2rem; border-radius: var(--r-panel) var(--r-panel) 6px var(--r-panel); }
.p-voice__item::after {
  content: ""; position: absolute; left: 0; bottom: -1.6rem; width: 2.4rem; height: 1.8rem;
  background: #fff; clip-path: polygon(0 0, 100% 0, 0 100%);
}
.p-voice__item:nth-child(3n + 2)::after { left: auto; right: 0; clip-path: polygon(0 0, 100% 0, 100% 100%); }
.p-voice__stars { display: flex; gap: 0.3rem; color: var(--sun); }
.p-voice__stars .c-ico { width: 1.8rem; height: 1.8rem; }
.p-voice__stars .c-ico path { fill: var(--sun); stroke-width: 1.6; }
.p-voice__txt { margin-top: 1.4rem; font-size: 1.5rem; line-height: 2; }
.p-voice__who { margin-top: 1.8rem; font-size: 1.3rem; font-weight: 700; color: var(--ink-soft); }

/* ============================ GALLERY ============================ */
.p-gallery { padding: var(--sp-l) 0; }
.p-gallery__grid { margin-top: var(--sp-m); display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(1.6rem, 2.4vw, 3rem); align-items: center; }
.p-gallery__grid .c-ellipse { width: 100%; }
.p-gallery__grid .c-ellipse:nth-child(4n + 1) { aspect-ratio: 1.3 / 1; }
.p-gallery__grid .c-ellipse:nth-child(4n + 2) { aspect-ratio: 1 / 1.05; margin-top: 3.2rem; }
.p-gallery__grid .c-ellipse:nth-child(4n + 3) { aspect-ratio: 1.5 / 1; }
.p-gallery__grid .c-ellipse:nth-child(4n + 4) { aspect-ratio: 1.15 / 1; margin-top: -2.4rem; }

/* ============================ METHOD ============================ */
.p-method { padding: var(--sp-l) 0; }
.p-method__item { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(3rem, 6vw, 7rem); align-items: center; }
.p-method__item + .p-method__item { margin-top: var(--sp-l); }
.p-method__item:nth-child(even) .p-method__pic { order: 2; }
.p-method__pic .c-ellipse { width: 100%; aspect-ratio: 1.25 / 1; }
.p-method__step { font-family: var(--f-en); font-size: 1.3rem; font-weight: 600; letter-spacing: 0.14em; color: var(--leaf-deep); }
.p-method__t { margin-top: 0.8rem; font-size: clamp(2.2rem, 3.2vw, 3rem); font-weight: 700; line-height: 1.55; }
.p-method__d { margin-top: 1.6rem; font-size: 1.55rem; line-height: 2.05; color: var(--ink-soft); }

/* ============================ STATS ============================ */
.p-stats { padding: var(--sp-l) 0; background: var(--cool); }
.p-stats__list { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 2.4rem; }
.p-stats__item { text-align: center; }
.p-stats__num { font-family: var(--f-en); font-size: clamp(3.6rem, 6vw, 5.6rem); font-weight: 600; line-height: 1; color: var(--leaf-deep); font-variant-numeric: tabular-nums; }
.p-stats__num small { font-size: 0.4em; }
.p-stats__label { margin-top: 0.8rem; font-size: 1.35rem; color: var(--ink-soft); }

/* ============================ FAQ ============================ */
.p-faq { padding: var(--sp-l) 0; }
.p-faq__list { margin-top: var(--sp-m); display: grid; gap: 1.2rem; max-width: 88rem; }
.p-faq__item { background: #fff; border-radius: var(--r-panel); box-shadow: inset 0 0 0 2px var(--line); overflow: hidden; }
.p-faq__q { width: 100%; display: flex; align-items: center; gap: 1.6rem; text-align: left; padding: 2.2rem 2.4rem; font-size: 1.6rem; font-weight: 700; line-height: 1.7; }
.p-faq__q::before { content: "Q"; font-family: var(--f-en); font-size: 1.8rem; color: var(--leaf-deep); }
.p-faq__q::after {
  content: ""; margin-left: auto; flex: none; width: 1.4rem; height: 1.4rem;
  border-right: 2px solid var(--ink); border-bottom: 2px solid var(--ink);
  transform: rotate(45deg) translate(-0.2rem, -0.2rem); transition: transform 0.3s var(--e-inout);
}
.p-faq__item.is-open .p-faq__q::after { transform: rotate(-135deg) translate(-0.3rem, -0.3rem); }
.p-faq__a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 0.4s var(--e-inout); }
.p-faq__item.is-open .p-faq__a { grid-template-rows: 1fr; }
.p-faq__a > div { overflow: hidden; }
.p-faq__a p { padding: 0 2.4rem 2.4rem 5.6rem; font-size: 1.5rem; line-height: 2; color: var(--ink-soft); }

/* ============================ ACCESS ============================ */
.p-access { padding: var(--sp-l) 0; background: var(--warm); }
.p-access__inner { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(3rem, 6vw, 7rem); align-items: center; }
.p-access__table { margin-top: 2.8rem; width: 100%; border-collapse: collapse; font-size: 1.5rem; }
.p-access__table th, .p-access__table td { padding: 1.4rem 0; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.p-access__table th { width: 8.5em; font-weight: 700; color: var(--ink-soft); }
.p-access__pic .c-ellipse { width: 100%; aspect-ratio: 1.15 / 1; }

/* ============================ CONTACT WAYS ============================ */
.p-ways { padding: var(--sp-l) 0 0; }
.p-ways__list { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2rem, 3vw, 3.2rem); }
.p-ways__item { padding: clamp(2.8rem, 4vw, 4rem); border-radius: var(--r-panel-lg); background: #fff; box-shadow: inset 0 0 0 2px var(--line); display: grid; gap: 1.2rem; justify-items: start; }
.p-ways__item .c-ico { color: var(--leaf-deep); }
.p-ways__t { font-size: 2rem; font-weight: 700; }
.p-ways__d { font-size: 1.5rem; line-height: 1.95; color: var(--ink-soft); }
.p-ways__tel { font-family: var(--f-en); font-size: 3.2rem; font-weight: 600; }

/* ============================ PAGE HEAD ============================ */
.p-phead { position: relative; padding: 13rem 0 var(--sp-m); overflow: clip; background: var(--warm); }
.p-phead__inner { position: relative; z-index: 2; width: min(100% - var(--gutter) * 2, var(--container)); margin-inline: auto; }
.p-phead__en { font-family: var(--f-en); font-size: 1.35rem; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; color: var(--leaf-deep); }
.p-phead__ja { margin-top: 0.8rem; font-size: clamp(3.2rem, 5.6vw, 5.6rem); font-weight: 700; line-height: 1.45; letter-spacing: 0.02em; }
.p-phead__lead { margin-top: 1.8rem; max-width: 56rem; font-size: 1.6rem; line-height: 2; color: var(--ink-soft); }
.p-crumb { position: relative; z-index: 2; width: min(100% - var(--gutter) * 2, var(--container)); margin: 3.2rem auto 0; font-size: 1.25rem; color: var(--ink-mute); }
.p-crumb ol { display: flex; flex-wrap: wrap; gap: 0.8rem; }
.p-crumb li + li::before { content: "／"; margin-right: 0.8rem; }

/* ============================ CTA ============================ */
.p-cta { padding: var(--sp-l) 0; }
.p-cta__inner {
  position: relative; overflow: hidden;
  width: min(100% - var(--gutter) * 2, var(--container)); margin-inline: auto;
  padding: clamp(4rem, 8vw, 8.8rem) clamp(2rem, 5vw, 6rem);
  border-radius: var(--r-panel-lg); background: var(--warm); text-align: center;
}
.p-cta__en { position: relative; z-index: 2; font-family: var(--f-en); font-size: 1.4rem; font-weight: 600; letter-spacing: 0.16em; color: var(--leaf-deep); }
.p-cta__ja { position: relative; z-index: 2; margin-top: 1.2rem; font-size: clamp(2.6rem, 4.6vw, 4.4rem); font-weight: 700; line-height: 1.5; }
.p-cta__lead { position: relative; z-index: 2; margin-top: 1.6rem; font-size: 1.6rem; line-height: 2; color: var(--ink-soft); }
.p-cta__actions { position: relative; z-index: 2; margin-top: 3.2rem; display: flex; flex-wrap: wrap; gap: 1.4rem; justify-content: center; }
.p-cta__note { position: relative; z-index: 2; margin-top: 1.6rem; font-size: 1.3rem; color: var(--ink-soft); }

/* ============================ NEWS（斜め帯・お知らせ） ============================ */
.p-news { position: relative; padding: var(--sp-m) 0; background: var(--leaf-tint); overflow: clip; }
.p-news__inner { display: grid; grid-template-columns: minmax(0, 26rem) minmax(0, 1fr); gap: clamp(2rem, 4vw, 4rem); align-items: start; }
.p-news__list { display: grid; gap: 0.8rem; }
.p-news__item {
  display: grid; grid-template-columns: 10rem 12rem minmax(0, 1fr); gap: 1.6rem; align-items: center;
  padding: 1.6rem 2rem; background: #fff; border-radius: var(--r-panel);
  transition: transform 0.3s var(--e-inout), box-shadow 0.3s var(--e-inout);
}
.p-news__item:hover { transform: translateX(6px); box-shadow: var(--shadow-soft); }
.p-news__date { font-family: var(--f-en); font-size: 1.35rem; font-weight: 600; color: var(--ink-mute); font-variant-numeric: tabular-nums; }
.p-news__cat { font-size: 1.2rem; font-weight: 700; text-align: center; padding: 0.4rem 1rem; border-radius: var(--r-pill); background: var(--leaf-tint); color: var(--leaf-deep); }
.p-news__cat--event { background: var(--blob-sun); color: var(--kids-ink); }
.p-news__cat--class { background: var(--blob-coral); color: var(--mothers-ink); }
.p-news__t { font-size: 1.5rem; font-weight: 500; }

/* ============================ SCHEDULE（週間クラス表） ============================ */
.p-schedule { position: relative; padding: var(--sp-l) 0; overflow: clip; }
.p-schedule__wrap { margin-top: var(--sp-m); overflow-x: auto; -webkit-overflow-scrolling: touch; }
.p-schedule__table { width: 100%; min-width: 68rem; border-collapse: separate; border-spacing: 0.6rem; }
.p-schedule__table th, .p-schedule__table td { padding: 1.4rem 1rem; text-align: center; font-size: 1.4rem; border-radius: 14px; }
.p-schedule__table thead th { background: var(--ink); color: #fff; font-weight: 700; letter-spacing: 0.08em; }
.p-schedule__table tbody th { background: var(--warm); font-weight: 700; white-space: nowrap; font-family: var(--f-en); font-variant-numeric: tabular-nums; }
.p-schedule__table td { background: #fff; box-shadow: inset 0 0 0 2px var(--line); color: var(--ink-soft); }
.p-schedule__table td.is-kids { background: var(--kids-tint); box-shadow: inset 0 0 0 2px var(--kids); color: var(--ink); font-weight: 700; }
.p-schedule__table td.is-mothers { background: var(--mothers-tint); box-shadow: inset 0 0 0 2px var(--mothers); color: var(--ink); font-weight: 700; }
.p-schedule__table td.is-fathers { background: var(--fathers-tint); box-shadow: inset 0 0 0 2px var(--fathers); color: var(--ink); font-weight: 700; }
.p-schedule__note { margin-top: 1.6rem; font-size: 1.3rem; color: var(--ink-soft); }
.p-schedule__legend { display: flex; flex-wrap: wrap; gap: 1.2rem; margin-top: 1.6rem; }
.p-schedule__legend span { display: inline-flex; align-items: center; gap: 0.6rem; font-size: 1.3rem; }
.p-schedule__legend i { width: 1.4rem; height: 1.4rem; border-radius: 5px; display: block; }

/* ============================ EVENTS（年間イベント） ============================ */
.p-events { position: relative; padding: var(--sp-l) 0; background: var(--warm); overflow: clip; }
.p-events__list { margin-top: var(--sp-m); display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(1.6rem, 2.4vw, 2.8rem); }
.p-events__item { display: grid; gap: 1.2rem; align-content: start; }
.p-events__item:nth-child(2) { margin-top: 3.2rem; }
.p-events__item:nth-child(4) { margin-top: 2rem; }
.p-events__item .c-ellipse { width: 100%; aspect-ratio: 1 / 1.05; }
.p-events__season { font-family: var(--f-en); font-size: 1.2rem; font-weight: 600; letter-spacing: 0.16em; color: var(--leaf-deep); }
.p-events__t { font-size: 1.8rem; font-weight: 700; }
.p-events__d { font-size: 1.4rem; line-height: 1.9; color: var(--ink-soft); }

/* ============================ PHOTO BAND（写真の横流れ・2段） ============================ */
.p-photoband { padding: var(--sp-m) 0; overflow: clip; }
.p-photoband__row { display: flex; width: max-content; gap: 1.6rem; }
.p-photoband__row + .p-photoband__row { margin-top: 1.6rem; }
.p-photoband__row--a { animation: band-l 46s linear infinite; }
.p-photoband__row--b { animation: band-r 52s linear infinite; }
.p-photoband__row .c-ellipse { width: 22rem; aspect-ratio: 1.32 / 1; flex: none; }
.p-photoband__row .c-ellipse:nth-child(even) { aspect-ratio: 1 / 1.06; width: 17rem; align-self: flex-end; }
@keyframes band-l { to { transform: translate3d(-50%, 0, 0); } }
@keyframes band-r { from { transform: translate3d(-50%, 0, 0); } to { transform: translate3d(0, 0, 0); } }

/* ============================ INSTAGRAM 風グリッド ============================ */
.p-sns { position: relative; padding: var(--sp-l) 0; overflow: clip; }
.p-sns__inner { display: grid; grid-template-columns: minmax(0, 34rem) minmax(0, 1fr); gap: clamp(2rem, 4vw, 4.8rem); align-items: center; }
.p-sns__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; }
.p-sns__cell { position: relative; aspect-ratio: 1; border-radius: 18px; overflow: hidden; }
.p-sns__cell img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s var(--e-out); }
.p-sns__cell:hover img { transform: scale(1.07); }
.p-sns__handle { font-family: var(--f-en); font-size: 1.6rem; font-weight: 600; color: var(--ink-soft); }

/* ============================ FOOTER ============================ */
.l-footer { padding: var(--sp-m) 0 3.2rem; background: var(--ink); color: #fff; }
.l-footer__inner { width: min(100% - var(--gutter) * 2, var(--container)); margin-inline: auto; display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 4rem; }
.l-footer__brand .c-logo { color: #fff; }
.l-footer__brand .c-logo__mark { color: var(--lime); }
.l-footer__brand .c-logo__txt i { color: var(--lime); }
.l-footer__addr { margin-top: 1.8rem; font-size: 1.4rem; line-height: 1.95; color: rgba(255, 255, 255, 0.82); }
.l-footer__tel { margin-top: 1.4rem; }
.l-footer__tel a { font-family: var(--f-en); font-size: 2.4rem; font-weight: 600; }
.l-footer__tel span { display: block; font-size: 1.25rem; color: rgba(255, 255, 255, 0.75); }
.l-footer__nav ul { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.2rem 2rem; }
.l-footer__nav a { font-size: 1.45rem; color: rgba(255, 255, 255, 0.9); transition: color 0.3s var(--e-inout); }
.l-footer__nav a:hover { color: var(--lime); }
.l-footer__copy { margin-top: 4.8rem; text-align: center; font-size: 1.2rem; color: rgba(255, 255, 255, 0.72); }

/* ============================ MODAL / FORM ============================ */
.p-modal { position: fixed; inset: 0; z-index: 200; display: grid; place-items: center; padding: 2rem; }
.p-modal[hidden] { display: none; }
.p-modal__overlay { position: absolute; inset: 0; background: rgba(0, 23, 24, 0.55); }
.p-modal__panel { position: relative; width: min(100%, 62rem); max-height: 88vh; overflow-y: auto; padding: clamp(2.8rem, 5vw, 4.8rem); background: #fff; border-radius: var(--r-panel-lg); }
.p-modal__close { position: absolute; right: 1.6rem; top: 1.6rem; width: 4.4rem; height: 4.4rem; display: grid; place-items: center; border-radius: 50%; }
.p-modal__close svg { width: 2rem; height: 2rem; }
.p-modal__close:hover { background: var(--warm); }
.p-modal__title { font-size: 2.2rem; font-weight: 700; padding-right: 4rem; }
.p-form { margin-top: 2.4rem; display: grid; gap: 1.8rem; }
.p-form__hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.p-form__row { display: grid; gap: 0.7rem; }
.p-form__row label { font-size: 1.4rem; font-weight: 700; display: flex; align-items: center; gap: 0.8rem; }
.p-form__req, .p-form__opt { font-size: 1.1rem; padding: 0.2rem 0.8rem; border-radius: var(--r-pill); font-weight: 700; }
.p-form__req { background: var(--danger-tag); color: #fff; }
.p-form__opt { background: var(--line); color: var(--ink-soft); }
.p-form input, .p-form select, .p-form textarea {
  width: 100%; padding: 1.3rem 1.6rem; font: inherit; font-size: 1.5rem;
  border: 2px solid var(--line); border-radius: 14px; background: #fff; color: var(--ink);
  transition: border-color 0.3s var(--e-inout);
}
.p-form input:focus, .p-form select:focus, .p-form textarea:focus { border-color: var(--leaf); outline: none; }
.p-form__err { display: none; font-size: 1.25rem; color: var(--danger); }
.p-form__row.is-error input, .p-form__row.is-error select { border-color: var(--danger); }
.p-form__row.is-error .p-form__err { display: block; }
.p-confirm { margin-top: 2.4rem; }
.p-confirm__lead { font-size: 1.5rem; font-weight: 700; }
.p-confirm__list { margin-top: 1.6rem; display: grid; gap: 0.4rem; }
.p-confirm__list div { display: grid; grid-template-columns: 9em 1fr; gap: 1rem; padding: 1rem 0; border-bottom: 1px solid var(--line); font-size: 1.45rem; }
.p-confirm__list dt { font-weight: 700; color: var(--ink-soft); }
.p-confirm__list dd { margin: 0; }
.p-confirm__actions { margin-top: 2.4rem; display: flex; gap: 1.2rem; justify-content: flex-end; flex-wrap: wrap; }
.p-done { text-align: center; padding: 2rem 0; }
.p-done__mark { display: grid; place-items: center; width: 8rem; height: 8rem; margin: 0 auto 2rem; border-radius: 50%; background: var(--leaf-tint); color: var(--leaf-deep); }
.p-done__mark .c-ico { width: 4.4rem; height: 4.4rem; }
.p-done__title { font-size: 2rem; font-weight: 700; }
.p-done__lead { margin-top: 1rem; font-size: 1.5rem; line-height: 1.95; color: var(--ink-soft); }
.p-done .c-btn { margin-top: 2.4rem; }
body.is-locked { overflow: hidden; }

/* ページ内フォーム（contact） */
.p-inlineform { padding: var(--sp-l) 0 0; }
.p-inlineform__panel { padding: clamp(2.8rem, 5vw, 5.6rem); background: var(--warm); border-radius: var(--r-panel-lg); }
.p-inlineform__panel .p-form { max-width: 68rem; margin-inline: auto; }
.p-inlineform__panel .p-confirm, .p-inlineform__panel .p-done { max-width: 68rem; margin-inline: auto; }

/* 404 */
.p-notfound { padding: 18rem 0 var(--sp-xl); text-align: center; }
.p-notfound__code { font-family: var(--f-en); font-size: clamp(8rem, 20vw, 20rem); font-weight: 600; line-height: 1; color: var(--leaf-tint); }
.p-notfound__t { margin-top: -2rem; font-size: clamp(2.2rem, 4vw, 3.2rem); font-weight: 700; }
.p-notfound__d { margin-top: 1.6rem; color: var(--ink-soft); }
.p-notfound .c-btn { margin-top: 3.2rem; }

/* 〜899: 中央のボタン行と写真が干渉するため、FVの写真は横並びに切り替える */
@media (max-width: 899px) {
  .p-hero { padding-bottom: var(--sp-l); }
  .p-hero__pics { position: static; margin-top: 3.2rem; display: flex; gap: 1.4rem; justify-content: center; padding-inline: var(--gutter); }
  .p-hero__pics .c-ellipse { position: static; width: auto; flex: 1 1 0; aspect-ratio: 1 / 1.12; }
  .p-hero__pics .c-ellipse:nth-child(n + 5) { display: none; }
  .p-hero__stat { position: static; width: fit-content; margin: 2.8rem auto 0; justify-items: center; box-shadow: none; background: var(--warm); }
  .p-hero__scroll { display: none; }
}

/* 1024〜1279: ボタン行が広がるぶん、左右の写真を画面外側へ逃がす */
@media (max-width: 1279px) {
  .p-hero__pic2 { left: -5%; }
  .p-hero__pic4 { right: -7%; }
  .p-hero__pic5 { left: 0%; }
  .p-hero__pic6 { left: 2%; }
  .p-hero__pic7 { right: 2%; }
}

/* ============================ TABLET ============================ */
@media (max-width: 1023px) {
  .l-header__links, .l-header__cta { display: none; }
  .l-header__burger { display: block; }
  .l-sidecta { display: none; }
  .p-about__inner, .p-method__item, .p-access__inner { grid-template-columns: 1fr; }
  .p-method__item:nth-child(even) .p-method__pic { order: 0; }
  .p-reason__list, .p-course__list, .p-teacher__list, .p-price__list, .p-voice__list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .p-reason__item:nth-child(2), .p-reason__item:nth-child(3),
  .p-course__item:nth-child(even), .p-teacher__item:nth-child(2), .p-teacher__item:nth-child(3) { margin-top: 0; }
  .p-gallery__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .p-stats__list { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 4rem 2rem; }
  .p-news__inner, .p-sns__inner { grid-template-columns: minmax(0, 1fr); }
  .p-events__list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .p-events__item:nth-child(2), .p-events__item:nth-child(4) { margin-top: 0; }
  .c-dust { display: none; }
  .p-hero__pic1, .p-hero__pic2 { left: -4%; }
  .p-hero__pic3, .p-hero__pic4 { right: -8%; }
  .p-hero__pic6, .p-hero__pic7, .p-hero__pic8 { display: none; }
  .p-hero__stat { right: 4%; }
}

/* ============================ SP ============================ */
@media (max-width: 767px) {
  body { font-size: 1.55rem; }
  /* 長いラベルのボタンが狭幅であふれない（nowrap維持のまま内寸を詰める） */
  .c-btn { max-width: 100%; padding: 0 2.4rem; }
  .c-btn--lg { min-height: 5.8rem; padding: 0 2.4rem; font-size: 1.5rem; }
  /* SPは横方向の出現移動を止める（reveal前の要素が横スクロールを生むのを防ぐ） */
  [data-dir="left"], [data-dir="right"], [data-dir="dl"], [data-dir="dr"] { --rv-x: 0px; --rv-y: 26px; }
  .l-header__inner { height: 6.8rem; }
  .c-logo__mark { width: 3rem; height: 3rem; }
  .c-logo__txt b { font-size: 1.5rem; }
  .c-logo__txt i { font-size: 1.1rem; }
  .p-hero { padding: 11rem 0 var(--sp-l); }
  .p-hero__inner { text-align: left; }
  .p-hero__title { font-size: clamp(3rem, 9.2vw, 4.4rem); line-height: 1.5; }
  .p-hero__lead { margin-inline: 0; }
  .p-hero__actions { justify-content: flex-start; }
  .p-hero__pics { position: static; margin-top: 3.6rem; display: flex; gap: 1.4rem; justify-content: flex-start; padding-inline: var(--gutter); }
  .p-hero__pics .c-ellipse { position: static; width: auto; flex: 1 1 0; aspect-ratio: 1 / 1.15; }
  .p-hero__pics .c-ellipse:nth-child(n + 4) { display: none; }
  .p-hero__stat { position: static; margin-top: 2.4rem; justify-items: start; box-shadow: none; background: var(--warm); padding: 1.6rem 2rem; }
  .p-hero__scroll { display: none; }
  .p-about__pics { min-height: 0; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 1.6rem; align-items: center; }
  .p-about__pics .c-ellipse { position: static; width: 100%; }
  .p-about__pic1 { grid-column: span 2; aspect-ratio: 1.5 / 1; }
  .p-reason__list, .p-course__list, .p-teacher__list, .p-price__list, .p-voice__list, .p-ways__list { grid-template-columns: 1fr; }
  .p-voice__item:nth-child(3n + 2) { margin-top: 0; }
  .p-gallery__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .p-gallery__grid .c-ellipse:nth-child(4n + 2), .p-gallery__grid .c-ellipse:nth-child(4n + 4) { margin-top: 0; }
  .p-flow__list { grid-template-columns: 1fr; gap: 2.8rem; }
  .p-flow__list::before { display: none; }
  .p-flow__item { display: grid; grid-template-columns: 6.4rem 1fr; gap: 1.6rem; text-align: left; align-items: center; }
  .p-flow__t { margin-top: 0; }
  .p-flow__d { grid-column: 2; }
  .p-teacher__item { text-align: left; }
  .p-teacher__item .c-ellipse { margin: 0; width: min(100%, 22rem); }
  .p-course__foot { margin-top: var(--sp-m); }
  .p-faq__q { padding: 1.8rem; font-size: 1.5rem; }
  .p-faq__a p { padding: 0 1.8rem 2rem 4.4rem; }
  .p-access__table th { width: 7em; }
  .l-footer__inner { grid-template-columns: 1fr; gap: 3.2rem; }
  .p-phead { padding: 10.4rem 0 var(--sp-s); }
  .p-news__item { grid-template-columns: minmax(0, 1fr); gap: 0.6rem; }
  .p-news__cat { justify-self: start; }
  .p-events__list { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.6rem; }
  .p-sns__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .p-photoband__row .c-ellipse { width: 15rem; }
  .p-photoband__row .c-ellipse:nth-child(even) { width: 12rem; }
  .c-deco { opacity: calc(var(--o, 0.55) * 0.85); }
  .c-marquee__item { font-size: clamp(4.4rem, 15vw, 7rem); padding-right: 3.2rem; }
}

/* 撮影用（?shot=）: マーキー停止・追従UI非表示は main.js が担当 */
.is-shot .c-marquee__track { animation: none; }

/* ============================ PRINT ============================ */
@media print {
  .l-header, .l-sidecta, .p-modal, .p-cta { display: none !important; }
  body { color: #000; }
}
