@charset "UTF-8";
/* ==========================================================
   池上ことねピアノ教室 ／ 共通スタイル
   レイアウト方針：白鍵のような余白と、黒鍵のような引き締め色。
   写真は左右どちらかに寄せた非対称レイアウト。
   ----------------------------------------------------------
   色やフォントを変える場合は、下の :root の値だけ変更してください。
   ========================================================== */

:root {
  /* --- Color --- */
  --ink:    #17334f;   /* 黒鍵：文字・濃い背景 */
  --paper:  #ffffff;   /* 白鍵：ページ背景 */
  --white:  #ffffff;
  --felt:   #23679e;   /* ブルー：メインカラー */
  --felt-d: #174e7c;
  --brass:  #4387b5;   /* 明るいブルー：アクセント */
  --mist:   #edf5fb;   /* 淡い面 */
  --line:   #d7e4ef;   /* 罫線 */
  --muted:  #546b80;   /* 補足テキスト */

  /* --- Type --- */
  --f-display: "Shippori Mincho B1", "Hiragino Mincho ProN", "Yu Mincho", serif;
  --f-body:    "Zen Kaku Gothic New", "Hiragino Sans", "Yu Gothic", sans-serif;
  --f-latin:   "Cormorant Garamond", "Times New Roman", serif;

  /* --- Size --- */
  --wrap: 1120px;
  --gutter: clamp(16px, 4vw, 40px);
  --radius: 4px;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--f-body);
  font-size: 16px;
  line-height: 1.9;
  letter-spacing: .04em;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--felt); }
a:hover { color: var(--felt-d); }
h1, h2, h3, h4 { font-family: var(--f-display); font-weight: 600; line-height: 1.5; margin: 0; text-wrap: balance; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
:focus-visible { outline: 2px solid var(--brass); outline-offset: 3px; }

.container { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: clamp(40px, 5vw, 68px); }
.section--mist { background: var(--mist); }
.section--white { background: var(--white); }
.stack > * + * { margin-top: 1.2em; }
.muted { color: var(--muted); }
.sp-only { display: none; }

/* Lucide アイコン共通 */
[data-lucide], .icon { width: 1.25em; height: 1.25em; stroke-width: 1.6; flex-shrink: 0; }

/* ---------- 見出し（英字＋和文＋五線） ---------- */
.sec-head { margin-bottom: clamp(24px, 3vw, 36px); }
.sec-head--center { text-align: center; }
.sec-head__en {
  display: block;
  font-family: var(--f-latin);
  font-style: italic;
  font-size: clamp(1.1rem, 2vw, 1.35rem);
  color: var(--brass);
  letter-spacing: .08em;
}
.sec-head__ja { font-size: clamp(1.6rem, 3.4vw, 2.25rem); letter-spacing: .08em; }
.sec-head__lead { margin-top: 20px; max-width: 38em; color: var(--muted); }
.sec-head--center .sec-head__lead { margin-inline: auto; }
.staff {
  display: block; width: 72px; height: 13px; margin-top: 18px;
  background: repeating-linear-gradient(to bottom, var(--brass) 0 1px, transparent 1px 3px);
  opacity: .6;
}
.sec-head--center .staff { margin-inline: auto; }

/* ---------- ボタン ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 14px 30px; border-radius: 999px;
  font-weight: 700; font-size: .95rem; letter-spacing: .08em; text-decoration: none;
  border: 1px solid var(--felt); background: var(--felt); color: var(--white);
  transition: background .25s, color .25s, transform .25s;
}
.btn:hover { background: var(--felt-d); color: var(--white); transform: translateY(-2px); }
.btn--ghost { background: transparent; color: var(--felt); }
.btn--ghost:hover { background: var(--felt); color: var(--white); }
.btn--light { background: var(--white); color: var(--felt); border-color: var(--white); }
.btn--light:hover { background: var(--paper); color: var(--felt-d); }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; text-decoration: none; }
.link-arrow [data-lucide] { transition: transform .25s; }
.link-arrow:hover [data-lucide] { transform: translateX(4px); }

/* ---------- ヘッダー ---------- */
.header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .96);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s;
}
.header.is-scrolled { border-color: var(--line); }
.header__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 76px; }
.logo { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); }
.logo img { width: 40px; height: 40px; }
.logo__text { display: flex; flex-direction: column; line-height: 1.3; }
.logo__name { font-family: var(--f-display); font-weight: 600; font-size: 1.1rem; letter-spacing: .1em; }
.logo__sub { font-family: var(--f-latin); font-style: italic; font-size: .82rem; color: var(--muted); letter-spacing: .06em; }

.nav { display: flex; align-items: center; gap: 16px; }
.nav__list { display: flex; gap: 16px; }
.nav__list a {
  position: relative; text-decoration: none; color: var(--ink);
  font-size: .92rem; font-weight: 500; padding-block: 6px;
}
.nav__list a::after {
  content: ""; position: absolute; left: 0; bottom: 0; width: 100%; height: 1px;
  background: var(--brass); transform: scaleX(0); transform-origin: left; transition: transform .3s;
}
.nav__list a:hover::after, .nav__list a[aria-current="page"]::after { transform: scaleX(1); }
.nav__cta { padding: 10px 22px; font-size: .88rem; }

.menu-btn {
  display: none; width: 44px; height: 44px; border: 0; background: none; cursor: pointer;
  color: var(--ink); align-items: center; justify-content: center;
}

/* ---------- トップ：ヒーロー ---------- */
.hero { position: relative; padding-block: clamp(24px, 3vw, 40px) clamp(40px, 5vw, 64px); overflow: hidden; }
.hero__grid { display: grid; grid-template-columns: 1fr 1.25fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero__text { position: relative; min-width: 0; }
.hero__en {
  font-family: var(--f-latin); font-style: italic; color: var(--brass);
  font-size: clamp(1.1rem, 2vw, 1.4rem); letter-spacing: .06em;
}
.hero__title {
  margin-top: 12px;
  font-size: clamp(1.8rem, 3.1vw, 2.55rem);
  line-height: 1.55; letter-spacing: .04em;
}
.hero__title em { font-style: normal; color: var(--felt); }
.hero__lead { margin-top: 24px; color: var(--muted); max-width: 26em; }
.hero__actions { margin-top: 36px; display: flex; flex-wrap: wrap; gap: 14px; }
.hero__meta { margin-top: 36px; display: flex; flex-wrap: wrap; gap: 10px 24px; font-size: .88rem; color: var(--muted); }
.hero__meta li { display: flex; align-items: center; gap: 8px; }
.hero__meta [data-lucide] { color: var(--felt); }

.hero__visual { position: relative; min-width: 0; }
.hero__photo { position: relative; aspect-ratio: 4 / 5; max-width: 100%; border-radius: 240px 240px var(--radius) var(--radius); overflow: hidden; background: var(--mist); }
.hero__photo img { width: 100%; height: 100%; object-fit: cover; }
.hero__sub {
  position: absolute; left: -12%; bottom: 8%; width: 42%;
  aspect-ratio: 1; border-radius: 50%; overflow: hidden;
  border: 6px solid var(--paper); background: var(--mist);
}
.hero__sub img { width: 100%; height: 100%; object-fit: cover; }
.hero__vertical {
  position: absolute; top: 4%; right: -8px;
  writing-mode: vertical-rl;
  font-family: var(--f-display); font-size: .95rem; letter-spacing: .5em;
  color: var(--white); background: var(--felt); padding: 22px 10px;
}

/* ---------- 下層ページヒーロー ---------- */
.page-hero { position: relative; color: var(--white); background: var(--ink); overflow: hidden; }
.page-hero__bg { position: absolute; inset: 0; }
.page-hero__bg img { width: 100%; height: 100%; object-fit: cover; opacity: .45; }
.page-hero__inner { position: relative; min-height: 220px; display: flex; flex-direction: column; justify-content: center; padding-block: 30px; }
.page-hero__en { font-family: var(--f-latin); font-style: italic; font-size: clamp(1.2rem, 2.4vw, 1.6rem); color: #c5e5ff; }
.page-hero__title { font-size: clamp(1.9rem, 4.4vw, 2.9rem); letter-spacing: .12em; }
.breadcrumb { margin-top: 20px; display: flex; flex-wrap: wrap; gap: 8px; font-size: .82rem; opacity: .85; }
.breadcrumb a { color: inherit; }
.breadcrumb li + li::before { content: "／"; margin-right: 8px; }

/* ---------- 鍵盤ライン（区切り） ---------- */
.keys { height: 40px; background: url("../image/keys.svg") repeat-x left top / 140px 40px; border-block: 1px solid var(--line); }
.keys--thin { height: 22px; background-size: 77px 22px; }

/* ---------- 特徴（アイコンカード） ---------- */
.features { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.feature { background: var(--white); padding: 28px 22px; border-radius: var(--radius); min-width: 0; }
.feature__icon {
  width: 60px; height: 60px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--mist); color: var(--felt); margin-bottom: 20px;
}
.feature__icon [data-lucide] { width: 28px; height: 28px; }
.feature__title { font-size: 1.15rem; margin-bottom: 10px; }
.feature__text { font-size: .92rem; color: var(--muted); }

/* ---------- 写真＋テキスト ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 88px); align-items: center; }
.split--reverse .split__media { order: 2; }
.split__media { position: relative; min-width: 0; }
.split__media img { width: 100%; aspect-ratio: 5 / 4; object-fit: cover; border-radius: var(--radius); background: var(--mist); }
.split__media::before {
  content: ""; position: absolute; inset: 24px -24px -24px 24px; z-index: -1;
  border: 1px solid var(--brass); border-radius: var(--radius);
}
.split--reverse .split__media::before { inset: 24px 24px -24px -24px; }
.split__body { min-width: 0; }
.split__body h3 { font-size: clamp(1.4rem, 2.6vw, 1.8rem); margin-bottom: 20px; }
.split__sign { margin-top: 24px; font-family: var(--f-display); font-size: 1.05rem; }
.split__sign small { display: block; font-family: var(--f-body); font-size: .8rem; color: var(--muted); }

/* ---------- コースカード ---------- */
.courses { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.course { background: var(--white); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; min-width: 0; }
.course__img { aspect-ratio: 3 / 2; background: var(--mist); }
.course__img img { width: 100%; height: 100%; object-fit: cover; }
.course__body { padding: 28px; display: flex; flex-direction: column; gap: 12px; flex: 1; }
.course__tag { display: inline-flex; align-items: center; gap: 6px; font-size: .8rem; color: var(--felt); font-weight: 700; }
.course__title { font-size: 1.3rem; }
.course__text { font-size: .92rem; color: var(--muted); flex: 1; }
.course__price { border-top: 1px solid var(--line); padding-top: 14px; font-size: .9rem; display: flex; justify-content: space-between; align-items: baseline; }
.course__price strong { font-family: var(--f-display); font-size: 1.3rem; font-variant-numeric: tabular-nums; }

/* ---------- 生徒さんの声 ---------- */
.voices { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.voice { background: var(--white); padding: 32px 28px; border-radius: var(--radius); position: relative; min-width: 0; }
.voice__quote { color: var(--brass); width: 28px; height: 28px; margin-bottom: 12px; }
.voice__text { font-size: .94rem; }
.voice__who { margin-top: 20px; display: flex; align-items: center; gap: 12px; font-size: .85rem; color: var(--muted); }
.voice__avatar { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--mist); color: var(--felt); }

/* ---------- お知らせ ---------- */
.news { border-top: 1px solid var(--line); }
.news li { border-bottom: 1px solid var(--line); }
.news a { display: grid; grid-template-columns: 110px 96px 1fr 24px; gap: 16px; align-items: center; padding: 20px 4px; text-decoration: none; color: var(--ink); }
.news a:hover { background: var(--white); }
.news time { font-variant-numeric: tabular-nums; color: var(--muted); font-size: .9rem; }
.news__cat { font-size: .75rem; text-align: center; border: 1px solid var(--felt); color: var(--felt); border-radius: 999px; padding: 2px 8px; }
.news__title { min-width: 0; }

/* ---------- CTA 帯 ---------- */
.cta { background: var(--felt); color: var(--white); position: relative; overflow: hidden; }
.cta::after {
  content: ""; position: absolute; right: -40px; bottom: -10px; width: 520px; height: 70px;
  background: url("../image/staff.svg") no-repeat center / contain; opacity: .5;
  filter: brightness(2.4) saturate(0);
}
.cta__inner { position: relative; z-index: 1; display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap; padding-block: clamp(36px, 5vw, 56px); }
.cta__en { font-family: var(--f-latin); font-style: italic; color: #c5e5ff; font-size: 1.2rem; }
.cta__title { font-size: clamp(1.5rem, 3vw, 2.1rem); }
.cta__text { margin-top: 10px; opacity: .88; }
.cta__actions { display: flex; flex-direction: column; gap: 12px; align-items: flex-start; }
.cta__tel { display: flex; align-items: center; gap: 10px; font-family: var(--f-display); font-size: 1.6rem; color: var(--white); text-decoration: none; font-variant-numeric: tabular-nums; }
.cta__tel small { font-family: var(--f-body); font-size: .78rem; opacity: .8; }

/* ---------- 流れ（手順） ---------- */
.flow { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: step; }
.flow__item { position: relative; background: var(--white); padding: 32px 24px; border-radius: var(--radius); min-width: 0; }
.flow__item::before {
  counter-increment: step; content: "Step " counter(step);
  display: block; font-family: var(--f-latin); font-style: italic; color: var(--brass); font-size: 1.1rem;
}
.flow__icon { color: var(--felt); width: 36px; height: 36px; margin: 12px 0; }
.flow__title { font-size: 1.1rem; margin-bottom: 8px; }
.flow__text { font-size: .9rem; color: var(--muted); }

/* ---------- 設備リスト ---------- */
.facility { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.facility li { display: flex; gap: 14px; align-items: flex-start; background: var(--white); padding: 20px; border-radius: var(--radius); min-width: 0; }
.facility [data-lucide] { color: var(--felt); width: 26px; height: 26px; margin-top: 3px; }
.facility strong { display: block; font-size: .98rem; }
.facility span { font-size: .85rem; color: var(--muted); }

/* ---------- 年間行事 ---------- */
.events { display: grid; grid-template-columns: repeat(6, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.events li { background: var(--white); padding: 20px 16px; min-width: 0; }
.events__month { font-family: var(--f-display); font-size: 1.4rem; color: var(--felt); font-variant-numeric: tabular-nums; }
.events__month small { font-size: .8rem; margin-left: 2px; }
.events li p { font-size: .88rem; margin-top: 6px; }

/* ---------- FAQ ---------- */
.faq { max-width: 820px; margin-inline: auto; display: grid; gap: 12px; }
.faq details { background: var(--white); border-radius: var(--radius); }
.faq summary {
  list-style: none; cursor: pointer; padding: 22px 56px 22px 24px; position: relative;
  font-weight: 700; display: flex; gap: 14px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::before { content: "Q."; font-family: var(--f-latin); font-style: italic; color: var(--brass); font-size: 1.2rem; line-height: 1.5; }
.faq summary::after {
  content: ""; position: absolute; right: 24px; top: 50%; width: 10px; height: 10px;
  border-right: 1.5px solid var(--felt); border-bottom: 1.5px solid var(--felt);
  transform: translateY(-70%) rotate(45deg); transition: transform .3s;
}
.faq details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.faq__a { padding: 0 24px 24px 56px; color: var(--muted); font-size: .94rem; }

/* ---------- 表（料金・時間割） ---------- */
.table-wrap { overflow-x: auto; }
.table { width: 100%; border-collapse: collapse; background: var(--white); font-variant-numeric: tabular-nums; min-width: 560px; }
.table th, .table td { padding: 18px 20px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.table thead th { background: var(--ink); color: var(--white); font-weight: 500; font-size: .9rem; }
.table tbody th { font-weight: 700; white-space: nowrap; }
.table td.num { text-align: right; font-family: var(--f-display); font-size: 1.1rem; white-space: nowrap; }
.table .note { display: block; font-size: .8rem; color: var(--muted); font-family: var(--f-body); }
.table-note { margin-top: 16px; font-size: .85rem; color: var(--muted); }

.schedule td, .schedule th { text-align: center; }
.schedule tbody th { text-align: left; }
.slot { display: inline-flex; align-items: center; gap: 4px; font-size: .85rem; }
.slot--open { color: var(--felt); font-weight: 700; }
.slot--few { color: var(--brass); font-weight: 700; }
.slot--full { color: var(--muted); }
.legend { margin-top: 16px; display: flex; flex-wrap: wrap; gap: 20px; font-size: .85rem; }

/* 料金サマリー */
.fees { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 32px; }
.fee { background: var(--white); border-radius: var(--radius); padding: 24px; display: flex; gap: 16px; align-items: center; min-width: 0; }
.fee [data-lucide] { color: var(--felt); width: 30px; height: 30px; }
.fee__label { font-size: .85rem; color: var(--muted); }
.fee__value { font-family: var(--f-display); font-size: 1.3rem; font-variant-numeric: tabular-nums; }

/* ---------- 講師：プロフィール ---------- */
.profile { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(32px, 6vw, 80px); align-items: start; }
.profile__photo { position: relative; min-width: 0; }
.profile__photo img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; border-radius: 200px 200px var(--radius) var(--radius); background: var(--mist); }
.profile__name { font-size: clamp(1.8rem, 3.4vw, 2.4rem); letter-spacing: .14em; }
.profile__kana { font-family: var(--f-latin); font-style: italic; color: var(--brass); font-size: 1.1rem; }
.profile__role { margin-top: 8px; color: var(--muted); font-size: .9rem; }
.profile__body { min-width: 0; }
.profile__tags { margin-top: 20px; display: flex; flex-wrap: wrap; gap: 8px; }
.profile__tags li { display: inline-flex; align-items: center; gap: 6px; font-size: .82rem; background: var(--mist); color: var(--felt-d); padding: 4px 14px; border-radius: 999px; }
.profile__tags [data-lucide] { width: 14px; height: 14px; }

.timeline { position: relative; border-left: 1px solid var(--line); margin-left: 8px; }
.timeline li { position: relative; padding: 0 0 28px 32px; }
.timeline li::before {
  content: ""; position: absolute; left: -6px; top: 10px; width: 11px; height: 11px;
  border-radius: 50%; background: var(--paper); border: 2px solid var(--felt);
}
.timeline__year { font-family: var(--f-display); color: var(--felt); font-variant-numeric: tabular-nums; }
.timeline__text { font-size: .94rem; }

.policy { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.policy li { border-top: 2px solid var(--felt); padding-top: 24px; min-width: 0; }
.policy [data-lucide] { color: var(--brass); width: 30px; height: 30px; margin-bottom: 12px; }
.policy h3 { font-size: 1.2rem; margin-bottom: 10px; }
.policy p { font-size: .92rem; color: var(--muted); }

.message { background: var(--white); padding: clamp(32px, 6vw, 64px); border-radius: var(--radius); position: relative; }
.message::before {
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 22px;
  background: url("../image/keys.svg") repeat-x left top / 77px 22px; border-radius: var(--radius) var(--radius) 0 0;
}
.message p + p { margin-top: 1.2em; }
.message__sign { margin-top: 32px; text-align: right; font-family: var(--f-display); font-size: 1.1rem; }

/* ---------- フォーム ---------- */
.form { background: var(--white); padding: clamp(24px, 5vw, 56px); border-radius: var(--radius); display: grid; gap: 28px; }
.form__row { display: grid; grid-template-columns: 220px 1fr; gap: 16px; align-items: start; }
.form__label { font-weight: 700; padding-top: 12px; display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.req, .opt { font-size: .7rem; padding: 2px 8px; border-radius: 2px; font-weight: 700; }
.req { background: var(--felt); color: var(--white); }
.opt { background: var(--mist); color: var(--muted); }
.form input[type="text"], .form input[type="email"], .form input[type="tel"], .form select, .form textarea {
  width: 100%; padding: 14px 16px; font: inherit; color: var(--ink);
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
}
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: var(--felt); background: var(--white); }
.form textarea { min-height: 160px; resize: vertical; }
.choices { display: flex; flex-wrap: wrap; gap: 10px 24px; padding-top: 10px; }
.choices label { display: inline-flex; align-items: center; gap: 8px; cursor: pointer; }
.choices input { accent-color: var(--felt); width: 18px; height: 18px; }
.form__submit { text-align: center; }
.form__privacy { font-size: .85rem; color: var(--muted); text-align: center; }
.form__done { display: none; text-align: center; padding: 24px; background: var(--mist); border-radius: var(--radius); color: var(--felt-d); font-weight: 700; }
.form__done.is-show { display: block; }

/* ---------- アクセス ---------- */
.access { display: grid; grid-template-columns: 1fr 1.2fr; gap: clamp(28px, 5vw, 64px); align-items: start; }
.access__info { display: grid; gap: 20px; min-width: 0; }
.access__info dl { display: grid; grid-template-columns: 110px 1fr; gap: 14px 16px; margin: 0; }
.access__info dt { display: flex; align-items: center; gap: 8px; font-weight: 700; color: var(--felt); font-size: .92rem; }
.access__info dd { margin: 0; font-size: .95rem; }
.access__map { aspect-ratio: 4 / 3; max-width: 100%; background: var(--mist); border-radius: var(--radius); overflow: hidden; }
.access__map iframe { width: 100%; height: 100%; border: 0; display: block; }

.contact-cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.contact-card { background: var(--white); border-radius: var(--radius); padding: 28px; display: flex; gap: 18px; align-items: center; min-width: 0; }
.contact-card__icon { width: 56px; height: 56px; border-radius: 50%; background: var(--felt); color: var(--white); display: grid; place-items: center; }
.contact-card__label { font-size: .85rem; color: var(--muted); }
.contact-card__value { font-family: var(--f-display); font-size: 1.4rem; font-variant-numeric: tabular-nums; word-break: break-all; }
.contact-card__sub { font-size: .8rem; color: var(--muted); }

/* ---------- ギャラリー ---------- */
.gallery { display: grid; grid-template-columns: 2fr 1fr 1fr; grid-template-rows: repeat(2, 200px); gap: 12px; }
.gallery figure { margin: 0; overflow: hidden; border-radius: var(--radius); background: var(--mist); position: relative; }
.gallery figure:first-child { grid-row: span 2; }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.gallery figure:hover img { transform: scale(1.04); }
.gallery figcaption { position: absolute; left: 12px; bottom: 10px; font-size: .78rem; color: var(--white); background: rgba(29, 33, 41, .6); padding: 2px 10px; border-radius: 2px; }

/* ---------- フッター ---------- */
.footer { background: var(--ink); color: #c9cfcc; font-size: .88rem; }
.footer__inner { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; padding-block: 40px 28px; }
.footer .logo { color: var(--white); }
.footer .logo__sub { color: #9aa39f; }
.footer__addr { margin-top: 20px; line-height: 2; }
.footer__head { color: var(--white); font-family: var(--f-latin); font-style: italic; font-size: 1.1rem; margin-bottom: 12px; }
.footer__nav li + li { margin-top: 6px; }
.footer__nav a { color: #c9cfcc; text-decoration: none; }
.footer__nav a:hover { color: var(--white); }
.footer__sns { display: flex; gap: 12px; margin-top: 16px; }
.footer__sns a { width: 40px; height: 40px; border: 1px solid #4a525e; border-radius: 50%; display: grid; place-items: center; color: #c9cfcc; }
.footer__sns a:hover { border-color: var(--brass); color: var(--brass); }
.footer__copy { border-top: 1px solid #353b45; padding-block: 20px; text-align: center; font-size: .78rem; color: #8b938f; }

/* スマホ下部の固定ボタン */
.fixed-cta { display: none; }

/* ---------- スクロール表示（控えめ） ---------- */
.js .reveal { transform: translateY(16px); transition: transform .8s ease, opacity .8s ease; opacity: .01; }
.js .reveal.is-in { transform: none; opacity: 1; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { transform: none; opacity: 1; transition: none; }
  * { transition: none !important; }
}

/* ==========================================================
   レスポンシブ
   ========================================================== */
@media (max-width: 1024px) {
  .features { grid-template-columns: repeat(2, 1fr); }
  .flow { grid-template-columns: repeat(2, 1fr); }
  .events { grid-template-columns: repeat(3, 1fr); }
  .facility { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 1100px) {
  .menu-btn { display: inline-flex; }
  .nav {
    position: fixed; inset: 76px 0 0 0; background: var(--paper);
    flex-direction: column; align-items: stretch; gap: 0; padding: 24px var(--gutter);
    visibility: hidden; opacity: 0; pointer-events: none; height: calc(100dvh - 76px); transition: opacity .2s, visibility .2s; overflow-y: auto;
  }
  .nav.is-open { visibility: visible; opacity: 1; pointer-events: auto; }
  .nav__list { flex-direction: column; gap: 0; }
  .nav__list a { display: block; padding: 18px 4px; border-bottom: 1px solid var(--line); font-size: 1rem; }
  .nav__list a::after { display: none; }
  .nav__cta { margin-top: 24px; padding: 16px; }
  body.menu-open { overflow: hidden; }

}

@media (max-width: 900px) {
  .hero__grid, .split, .profile, .access { grid-template-columns: 1fr; }
  .split--reverse .split__media { order: 0; }
  .hero__visual { width: 88%; margin-left: auto; }
  .hero__sub { left: -10%; }
  .courses, .voices, .policy { grid-template-columns: 1fr; max-width: 560px; margin-inline: auto; }
  .fees { grid-template-columns: 1fr; }
  .footer__inner { grid-template-columns: 1fr 1fr; }
  .footer__inner > :first-child { grid-column: 1 / -1; }
  .profile__photo { max-width: 420px; }
}

@media (max-width: 640px) {
  body { font-size: 15px; }
  .sp-only { display: inline; }
  .header__inner { height: 64px; }
  .nav { inset: 64px 0 0 0; height: calc(100dvh - 64px); }
  .logo img { width: 34px; height: 34px; }
  .logo__name { font-size: 1rem; }
  .features, .flow, .facility, .contact-cards { grid-template-columns: 1fr; }
  .events { grid-template-columns: repeat(2, 1fr); }
  .news a { grid-template-columns: auto auto; grid-template-areas: "date cat" "title title"; gap: 6px 12px; justify-content: start; }
  .news time { grid-area: date; }
  .news__cat { grid-area: cat; }
  .news__title { grid-area: title; }
  .news a > [data-lucide] { display: none; }
  .form__row { grid-template-columns: 1fr; gap: 6px; }
  .form__label { padding-top: 0; }
  .access__info dl { grid-template-columns: 1fr; gap: 4px; }
  .access__info dd { margin-bottom: 12px; }
  .gallery { grid-template-columns: 1fr 1fr; grid-template-rows: 220px 140px 140px; }
  .gallery figure:first-child { grid-column: 1 / -1; grid-row: auto; }
  .footer__inner { grid-template-columns: 1fr; }
  .hero__vertical { font-size: .8rem; padding: 16px 8px; }
  .split__media::before { inset: 14px -10px -14px 10px; }
  .split--reverse .split__media::before { inset: 14px 10px -14px -10px; }
  .faq__a { padding-left: 24px; }

  .fixed-cta {
    display: grid; grid-template-columns: 1fr 1fr; position: fixed; left: 0; right: 0; bottom: 0; z-index: 40;
    padding-bottom: env(safe-area-inset-bottom, 0px); background: var(--felt);
  }
  .fixed-cta a { display: flex; align-items: center; justify-content: center; gap: 8px; padding: 14px; color: var(--white); text-decoration: none; font-weight: 700; font-size: .9rem; }
  .fixed-cta a + a { background: var(--brass); }
  .footer { padding-bottom: 52px; }
}

/* 幅・改行・余白の共通調整 */
html { scroll-padding-top: 90px; }
body { overflow-wrap: anywhere; line-break: strict; }
main, section, .container, .nav, .table-wrap, .form__row > *, .contact-card > *, .access > * { min-width: 0; }
.header { backdrop-filter: none; }
.header__inner { gap: 16px; }
.logo, .menu-btn, .contact-card__icon { flex-shrink: 0; }
.nav__list a, .nav__cta, .logo__name { white-space: nowrap; }
.btn { max-width: 100%; letter-spacing: .03em; }
.hero__title .phrase { display: block; white-space: nowrap; }
.phrase { display: inline-block; }
h1, h2, h3 { overflow-wrap: normal; }
p { text-wrap: pretty; }
.hero__photo { max-height: 570px; }
.hero__actions, .hero__meta { margin-top: 24px; }
.course-list { display: grid; gap: clamp(36px, 5vw, 64px); }
.course__icon { height: 112px; display: grid; place-items: center; background: var(--mist); color: var(--felt); }
.course__icon svg { width: 48px; height: 48px; }
.course, .feature, .voice, .contact-card { border: 1px solid var(--line); }
.cta__inner > div { min-width: 0; }
.cta__tel { flex-wrap: wrap; gap: 6px 10px; }
.cta__tel small { flex-basis: 100%; }
.form { padding: clamp(20px, 4vw, 40px); gap: 22px; }
.form__row { grid-template-columns: minmax(150px, 200px) minmax(0, 1fr); }
.form input, .form select, .form textarea { min-width: 0; }
.choices input { flex-shrink: 0; }
.contact-card__value { word-break: normal; font-size: clamp(1.05rem, 2vw, 1.4rem); }
.gallery { grid-template-columns: 1.5fr 1fr; grid-template-rows: repeat(2, 190px); }
.menu-btn { position: relative; }
.menu-btn span, .menu-btn::before, .menu-btn::after { content: ''; position: absolute; width: 23px; height: 2px; background: currentColor; transition: transform .2s; }
.menu-btn::before { transform: translateY(-7px); }
.menu-btn::after { transform: translateY(7px); }
.menu-btn[aria-expanded="true"] span { opacity: 0; }
.menu-btn[aria-expanded="true"]::before { transform: rotate(45deg); }
.menu-btn[aria-expanded="true"]::after { transform: rotate(-45deg); }
@media (min-width: 901px) and (max-width: 1100px) {
  .hero__grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .hero__title { font-size: clamp(1.8rem, 3.2vw, 2.2rem); }
}
@media (max-width: 900px) {
  .hero__visual { width: min(88%, 480px); margin-inline: auto; }
  .hero__photo { aspect-ratio: 5 / 4; border-radius: 140px 140px 4px 4px; }
  .hero__photo img { object-position: center 42%; }
  .hero__title { font-size: clamp(1.8rem, 5vw, 2.6rem); }
  .contact-cards { grid-template-columns: 1fr; }
  .form__row { grid-template-columns: 1fr; gap: 6px; }
  .split { gap: 30px; }
}
@media (max-width: 640px) {
  .logo { gap: 8px; }
  .logo__name { font-size: clamp(.8rem, 3.6vw, 1rem); letter-spacing: .03em; }
  .logo__sub { font-size: .72rem; }
  .sec-head__ja { font-size: clamp(1.2rem, 5.2vw, 1.6rem); letter-spacing: .03em; }
  .page-hero__inner { min-height: 175px; padding-block: 24px; }
  .page-hero__title { font-size: clamp(1.2rem, 5.3vw, 1.9rem); letter-spacing: .02em; }
  .cta__title { font-size: clamp(1.3rem, 5.2vw, 1.65rem); }
  .cta__inner { gap: 24px; }
  .hero__actions { gap: 10px; }
  .hero__actions .btn { padding: 12px 18px; font-size: .88rem; }
  .contact-card { padding: 20px 16px; gap: 12px; }
  .contact-card__icon { width: 42px; height: 42px; }
  .gallery { grid-template-columns: 1fr 1fr; grid-template-rows: 230px 150px; }
  .gallery figure:first-child { grid-column: 1 / -1; }
  .feature, .flow__item, .voice { padding: 24px; }
  .footer { padding-bottom: calc(56px + env(safe-area-inset-bottom, 0px)); }
}

@media (min-width: 1025px) { .feature__title { font-size: 1.04rem; letter-spacing: .02em; } }

/* 講師写真の人物位置に合わせたトリミング */
.profile__photo img { object-position: 35% center; }
