/* =========================================================
   LAMB School of Music — style.css
   色やフォントは :root の変数を変えると全体に反映されます
   ========================================================= */

:root {
  /* カラー（やわらか・ナチュラル） */
  --c-bg:        #f7f3ec;   /* 背景：生成り */
  --c-surface:   #fffdf8;   /* カード */
  --c-surface-2: #eef1e8;   /* 薄いセージ */
  --c-ink:       #2f3a33;   /* 文字：深い緑がかったグレー */
  --c-ink-soft:  #5d685f;   /* 補足文字 */
  --c-line:      #e3dccd;   /* 罫線 */
  --c-sage:      #7f9a83;   /* メインカラー */
  --c-sage-dark: #4f6b55;   /* ボタン・リンク */
  --c-clay:      #c4876a;   /* アクセント：テラコッタ */
  --c-clay-soft: #f3e3d8;

  /* フォント */
  --f-en:   "Cormorant Garamond", "Georgia", serif;
  --f-head: "Zen Maru Gothic", "Hiragino Maru Gothic ProN", "Hiragino Sans", "BIZ UDPGothic", Meiryo, sans-serif;
  --f-body: "Helvetica Neue", Arial, "Hiragino Sans", "Hiragino Kaku Gothic ProN", "BIZ UDPGothic", Meiryo, "Noto Sans JP", sans-serif;

  --radius:    18px;
  --radius-sm: 10px;
  --shadow:    0 1px 2px rgba(47, 58, 51, .04), 0 8px 24px rgba(47, 58, 51, .06);
  --container: 1120px;
}

/* ---------- リセット・基本 ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--c-bg);
  color: var(--c-ink);
  font-family: var(--f-body);
  font-size: 16px;
  line-height: 1.8;
  letter-spacing: .02em;
}
:lang(ja) {
  line-break: strict;
  overflow-wrap: anywhere;
  font-feature-settings: "palt" 1;
}
@supports (text-autospace: normal) { :lang(ja) { text-autospace: normal; } }
@supports (text-spacing-trim: normal) { :lang(ja) { text-spacing-trim: normal; } }
@supports (word-break: auto-phrase) {
  h1, h2, h3, .lead { word-break: auto-phrase; text-wrap: balance; }
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--c-sage-dark); text-underline-offset: .2em; }
a:hover { color: var(--c-clay); }
em { font-style: normal; text-emphasis: filled sesame; text-emphasis-position: over right; }
h1, h2, h3 { font-family: var(--f-head); font-weight: 700; line-height: 1.5; margin: 0; letter-spacing: .04em; }
p { margin: 0 0 1em; }
:focus-visible { outline: 3px solid var(--c-clay); outline-offset: 3px; border-radius: 4px; }

.container { width: min(100% - 32px, var(--container)); margin-inline: auto; }
.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap;
}
.skip-link { position: absolute; left: -9999px; top: 8px; background: var(--c-ink); color: #fff; padding: 8px 16px; z-index: 100; border-radius: 8px; }
.skip-link:focus { left: 8px; }

/* ---------- ボタン ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  min-height: 48px; padding: 12px 28px;
  border-radius: 999px; border: 1.5px solid transparent;
  font-family: var(--f-head); font-weight: 700; font-size: 15px; letter-spacing: .06em;
  text-decoration: none; cursor: pointer;
  transition: background-color .2s, color .2s, border-color .2s, transform .2s;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--c-sage-dark); color: #fff; }
.btn-primary:hover { background: var(--c-ink); color: #fff; }
.btn-accent { background: var(--c-clay); color: #fff; }
.btn-accent:hover { background: #a86c50; color: #fff; }
.btn-ghost { background: transparent; color: var(--c-sage-dark); border-color: var(--c-sage); }
.btn-ghost:hover { background: var(--c-surface-2); color: var(--c-ink); }
.btn-block { width: 100%; }

/* ---------- ヘッダー ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(247, 243, 236, .9);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--c-line);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.logo { display: flex; align-items: center; gap: 10px; color: var(--c-ink); text-decoration: none; }
.logo:hover { color: var(--c-ink); }
.logo-mark { width: 40px; height: 40px; flex-shrink: 0; }
.logo-text { display: flex; flex-direction: column; line-height: 1; }
.logo-main { font-family: var(--f-en); font-size: 26px; font-weight: 600; letter-spacing: .14em; }
.logo-sub  { font-family: var(--f-en); font-size: 13px; font-style: italic; color: var(--c-ink-soft); margin-top: 3px; letter-spacing: .06em; }

.global-nav ul { list-style: none; display: flex; align-items: center; gap: 8px; margin: 0; padding: 0; }
.global-nav a {
  display: block; padding: 8px 14px; border-radius: 999px;
  color: var(--c-ink); text-decoration: none; font-family: var(--f-head); font-weight: 500; font-size: 15px;
}
.global-nav a:hover { background: var(--c-surface-2); color: var(--c-ink); }
.global-nav a[aria-current="page"] { color: var(--c-sage-dark); font-weight: 700; }
.global-nav .nav-cta { background: var(--c-clay); color: #fff; padding-inline: 20px; }
.global-nav .nav-cta:hover { background: #a86c50; color: #fff; }

.nav-toggle { display: none; }

@media (max-width: 800px) {
  .nav-toggle {
    display: grid; place-items: center; width: 48px; height: 48px;
    border: 0; background: transparent; cursor: pointer; border-radius: 50%;
  }
  .nav-toggle-bar, .nav-toggle-bar::before, .nav-toggle-bar::after {
    content: ""; display: block; width: 22px; height: 2px; background: var(--c-ink); border-radius: 2px;
    transition: transform .25s, opacity .25s; position: relative;
  }
  .nav-toggle-bar::before { position: absolute; top: -7px; }
  .nav-toggle-bar::after  { position: absolute; top: 7px; }
  .nav-toggle[aria-expanded="true"] .nav-toggle-bar { background: transparent; }
  .nav-toggle[aria-expanded="true"] .nav-toggle-bar::before { transform: translateY(7px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] .nav-toggle-bar::after  { transform: translateY(-7px) rotate(-45deg); }

  .global-nav {
    position: absolute; inset: 72px 0 auto 0;
    background: var(--c-bg); border-bottom: 1px solid var(--c-line);
    display: none; padding: 12px 16px 24px;
  }
  .global-nav.is-open { display: block; }
  .global-nav ul { flex-direction: column; align-items: stretch; gap: 4px; }
  .global-nav a { padding: 14px 16px; font-size: 16px; }
  .global-nav .nav-cta { text-align: center; margin-top: 8px; }
}

/* ---------- セクション共通 ---------- */
.section { padding: 96px 0; }
.section-alt { background: var(--c-surface); }
.section-sage { background: var(--c-surface-2); }
.section-head { text-align: center; margin-bottom: 48px; }
.eyebrow {
  display: block; font-family: var(--f-en); font-style: italic; font-weight: 500;
  font-size: 20px; color: var(--c-clay); letter-spacing: .08em; margin-bottom: 4px;
}
.section-title { font-size: clamp(24px, 3.2vw, 32px); }
.section-lead { color: var(--c-ink-soft); max-width: 40em; margin: 16px auto 0; }
@media (max-width: 600px) { .section { padding: 64px 0; } .section-head { margin-bottom: 32px; } }

/* ---------- ページ見出し（下層ページ） ---------- */
.page-hero { padding: 72px 0 56px; text-align: center; border-bottom: 1px solid var(--c-line); }
.page-hero h1 { font-size: clamp(26px, 4vw, 36px); }
.page-hero p { color: var(--c-ink-soft); margin: 12px auto 0; max-width: 36em; }

/* ---------- トップ：ヒーロー ---------- */
.hero { position: relative; overflow: hidden; padding: 104px 0 112px; }
.hero::before, .hero::after {
  content: ""; position: absolute; border-radius: 50%; z-index: 0; pointer-events: none;
}
.hero::before { width: 520px; height: 520px; right: -120px; top: -140px; background: radial-gradient(circle, #e2eadf 0%, transparent 70%); }
.hero::after  { width: 420px; height: 420px; left: -160px; bottom: -180px; background: radial-gradient(circle, var(--c-clay-soft) 0%, transparent 70%); }
.hero-inner { position: relative; z-index: 1; display: grid; grid-template-columns: 1.2fr .8fr; gap: 48px; align-items: center; }
.hero-tagline { font-family: var(--f-en); font-style: italic; font-size: clamp(20px, 2.4vw, 26px); color: var(--c-clay); margin-bottom: 12px; }
.hero-title { font-size: clamp(28px, 4.2vw, 44px); line-height: 1.45; margin-bottom: 24px; }
.hero-title .accent { color: var(--c-sage-dark); }
.phrase { display: inline-block; }
.hero-text { color: var(--c-ink-soft); max-width: 30em; margin-bottom: 32px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }

.hero-visual { display: grid; place-items: center; }
.balance-art { width: min(100%, 360px); aspect-ratio: 1; }
.balance-art .ring { fill: none; stroke-width: 1.5; }
.balance-art .ring-a { stroke: var(--c-sage); }
.balance-art .ring-b { stroke: var(--c-clay); }
.balance-art .ring-c { stroke: var(--c-ink-soft); stroke-dasharray: 2 6; }
.balance-art .word { font-family: var(--f-en); font-style: italic; font-size: 17px; fill: var(--c-ink); }
@media (prefers-reduced-motion: no-preference) {
  .balance-art .spin { transform-origin: 180px 180px; animation: spin 60s linear infinite; }
}
@keyframes spin { to { transform: rotate(360deg); } }

@media (max-width: 800px) {
  .hero { padding: 64px 0 72px; }
  .hero-inner { grid-template-columns: 1fr; gap: 32px; }
  .hero-visual { order: -1; }
  .balance-art { width: 220px; }
}

/* ---------- 教室の特徴 ---------- */
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.feature {
  background: var(--c-surface); border: 1px solid var(--c-line); border-radius: var(--radius);
  padding: 32px 28px;
}
.section-alt .feature { background: var(--c-bg); }
.feature-num { font-variant-numeric: lining-nums; font-family: var(--f-en); font-size: 40px; line-height: 1; color: var(--c-sage); display: block; margin-bottom: 16px; }
.feature h3 { font-size: 19px; margin-bottom: 12px; }
.feature p { color: var(--c-ink-soft); margin: 0; font-size: 15px; }
@media (max-width: 900px) { .features { grid-template-columns: 1fr; } }

/* ---------- 拠点表示・ストーリー ---------- */
.hero-base, .story-base {
  display: inline-flex; align-items: center; gap: 8px; margin: 0 0 16px;
  font-family: var(--f-head); font-weight: 700; font-size: 14px; color: var(--c-sage-dark);
  background: var(--c-surface); border: 1px solid var(--c-line); border-radius: 999px; padding: 6px 16px;
}
.story-base { margin-top: 8px; font-weight: 500; }
.pin { width: 10px; height: 10px; border-radius: 50% 50% 50% 0; background: var(--c-clay); transform: rotate(-45deg); flex-shrink: 0; }
.story { display: grid; grid-template-columns: .8fr 1.2fr; gap: 56px; align-items: center; }
.story-map svg { width: 100%; max-width: 360px; margin-inline: auto; display: block; }
.story-map .route { fill: none; stroke: var(--c-sage); stroke-width: 2; stroke-dasharray: 4 6; }
.story-map .dot-from { fill: var(--c-surface); stroke: var(--c-ink-soft); stroke-width: 2; }
.story-map .dot-to { fill: var(--c-clay); }
.story-map text { font-family: var(--f-en); font-size: 13px; letter-spacing: .16em; fill: var(--c-ink-soft); }
.story-photo { margin: 0; }
.story-photo img { width: 100%; max-width: 380px; margin-inline: auto; border-radius: var(--radius); aspect-ratio: 4 / 5; object-fit: cover; box-shadow: var(--shadow); }
.story-photo figcaption { text-align: center; margin-top: 12px; font-family: var(--f-head); font-weight: 700; font-size: 15px; }
.story-photo figcaption span { display: block; font-weight: 500; font-size: 12px; color: var(--c-ink-soft); letter-spacing: .1em; }
.teacher-kana { display: block; font-size: 13px; font-weight: 500; color: var(--c-ink-soft); letter-spacing: .12em; margin-top: 2px; }
.story-body h2 { font-size: clamp(22px, 3vw, 28px); margin-bottom: 20px; }
.story-body p { color: var(--c-ink-soft); }
@media (max-width: 800px) {
  .story { grid-template-columns: 1fr; gap: 24px; }
  .story-map svg { max-width: 240px; }
  .story-photo img { max-width: 260px; }
  .hero-base { font-size: 13px; }
}

/* ---------- 教室の名前の由来 ---------- */
.about { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.about-quote {
  font-family: var(--f-en); font-style: italic; font-size: clamp(28px, 4vw, 40px); line-height: 1.3;
  color: var(--c-sage-dark); margin: 0; padding-left: 24px; border-left: 3px solid var(--c-clay);
}
.about-body h2 { font-size: clamp(22px, 3vw, 28px); margin-bottom: 20px; }
.about-body p { color: var(--c-ink-soft); }
.balance-list { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 12px; }
.balance-list li { display: flex; gap: 14px; align-items: baseline; }
.balance-list b { font-family: var(--f-en); font-size: 22px; font-weight: 600; color: var(--c-clay); min-width: 4.2em; }
@media (max-width: 800px) { .about { grid-template-columns: 1fr; gap: 32px; } }

/* ---------- 概要（表） ---------- */
.overview {
  max-width: 760px; margin-inline: auto;
  background: var(--c-surface); border: 1px solid var(--c-line); border-radius: var(--radius);
  overflow: hidden;
}
.overview dl { margin: 0; }
.overview div { display: grid; grid-template-columns: 180px 1fr; border-bottom: 1px solid var(--c-line); }
.overview div:last-child { border-bottom: 0; }
.overview dt { background: var(--c-surface-2); padding: 18px 24px; font-family: var(--f-head); font-weight: 700; }
.overview dd { margin: 0; padding: 18px 24px; }
.overview small { color: var(--c-ink-soft); }
@media (max-width: 600px) {
  .overview div { grid-template-columns: 1fr; }
  .overview dt { padding: 12px 20px; }
  .overview dd { padding: 14px 20px 18px; }
}

/* ---------- レッスンパッケージ ---------- */
.filter { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-bottom: 40px; }
.filter button {
  min-height: 44px; padding: 8px 20px; border-radius: 999px; cursor: pointer;
  border: 1.5px solid var(--c-line); background: var(--c-surface); color: var(--c-ink);
  font-family: var(--f-head); font-weight: 500; font-size: 15px;
}
.filter button:hover { border-color: var(--c-sage); }
.filter button[aria-pressed="true"] { background: var(--c-sage-dark); border-color: var(--c-sage-dark); color: #fff; }

.packages { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 24px; }
.package-card {
  display: flex; flex-direction: column;
  background: var(--c-surface); border: 1px solid var(--c-line); border-radius: var(--radius);
  padding: 28px; box-shadow: var(--shadow);
  transition: transform .2s, box-shadow .2s;
}
.package-card:hover { transform: translateY(-3px); box-shadow: 0 2px 4px rgba(47,58,51,.05), 0 16px 32px rgba(47,58,51,.09); }
.package-card[hidden] { display: none; }
.package-card.is-coming { background: repeating-linear-gradient(135deg, var(--c-surface) 0 12px, #faf7f0 12px 24px); }
.package-head { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-bottom: 16px; }
.package-title { width: 100%; font-size: 21px; margin-top: 6px; }
.tag {
  display: inline-block; padding: 2px 12px; border-radius: 999px;
  font-size: 13px; font-weight: 700; font-family: var(--f-head); letter-spacing: .06em;
}
.tag-dtm    { background: #e2eadf; color: #3f5c45; }
.tag-bass   { background: var(--c-clay-soft); color: #8a4f35; }
.tag-guitar { background: #e7e4f0; color: #4d4668; }
.tag-mentor { background: #efe7cf; color: #6b5a24; }
.badge { font-size: 12px; padding: 2px 10px; border-radius: 999px; background: var(--c-ink); color: #fff; font-weight: 700; }

.package-meta {
  display: grid; grid-template-columns: 1fr 1fr; gap: 1px; margin: 0 0 20px;
  background: var(--c-line); border: 1px solid var(--c-line); border-radius: var(--radius-sm); overflow: hidden;
}
.package-meta div { background: var(--c-bg); padding: 10px 14px; }
.package-meta dt { font-size: 12px; color: var(--c-ink-soft); }
.package-meta dd { margin: 0; font-weight: 700; font-size: 15px; }
.package-meta small { font-weight: 400; color: var(--c-ink-soft); }
.level { color: var(--c-clay); letter-spacing: .1em; font-size: 12px; }
.package-meta .meta-wide { grid-column: 1 / -1; }

.package-body { flex: 1; }
.package-row { font-size: 15px; margin-bottom: 12px; }
.row-label {
  display: block; font-size: 12px; font-weight: 700; color: var(--c-sage-dark);
  font-family: var(--f-head); letter-spacing: .08em; margin-bottom: 2px;
}
.package-goal { background: var(--c-surface-2); border-radius: var(--radius-sm); padding: 12px 14px; }
.package-lead { margin: 0 0 6px; }
.package-content { margin: 0; padding-left: 1.2em; }
.package-content li { margin-bottom: 2px; }
.package-content li::marker { color: var(--c-sage-dark); }
/* 詳細（詳しく見る で開閉） */
.package-details { margin-top: 4px; }
.package-details summary {
  list-style: none; cursor: pointer; display: inline-flex; align-items: center; gap: 6px;
  font-size: 14px; font-weight: 700; color: var(--c-sage-dark); font-family: var(--f-head);
  padding: 6px 0; border-radius: var(--radius-sm);
}
.package-details summary::-webkit-details-marker { display: none; }
.package-details summary::after {
  content: ""; width: 7px; height: 7px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor;
  margin-top: -4px; transform: rotate(45deg); transition: transform .2s, margin .2s;
}
.package-details[open] summary::after { margin-top: 4px; transform: rotate(-135deg); }
.package-details summary:hover { text-decoration: underline; }
.package-details summary:focus-visible { outline: 2px solid var(--c-sage); outline-offset: 2px; }
.package-details .close-label, .package-details[open] .open-label { display: none; }
.package-details[open] .close-label { display: inline; }
.package-details-inner { padding-top: 12px; margin-top: 6px; border-top: 1px solid var(--c-line); }
.package-details-inner .package-row:last-child { margin-bottom: 0; }

.package-foot { display: flex; flex-direction: column; gap: 14px; margin-top: 16px; padding-top: 20px; border-top: 1px dashed var(--c-line); }
.package-price { margin: 0; font-family: var(--f-head); font-size: 26px; font-weight: 700; }
.package-price small { font-size: 13px; font-weight: 500; color: var(--c-ink-soft); margin-left: 4px; }
.price-ex { display: block; font-size: 13px; font-weight: 500; color: var(--c-ink-soft); margin-top: 2px; }
.package-pricing { display: grid; gap: 4px; }
.price-per { font-size: 14px; font-weight: 700; color: var(--c-ink-soft); margin-right: 6px; }
.package-total { margin: 0; font-size: 14px; color: var(--c-ink-soft); }
.package-total strong { color: var(--c-ink); }
.package-total span { margin-left: 6px; font-size: 12px; }
.package-pace { margin: 4px 0 0; font-size: 13px; color: var(--c-sage-dark); background: var(--c-surface-2); border-radius: 999px; padding: 4px 12px; justify-self: start; }
.tag-trial  { background: var(--c-clay); color: #fff; }
.price-tbd { font-size: 18px; color: var(--c-ink-soft); }
.package-foot .btn { width: 100%; }

.note-box {
  margin-top: 40px; padding: 20px 24px; border-radius: var(--radius);
  background: var(--c-clay-soft); color: #6e4432; font-size: 15px;
}
.note-box p:last-child { margin: 0; }
.center { text-align: center; }
.mt-40 { margin-top: 40px; }

/* ---------- ご利用の流れ ---------- */
.flow { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; counter-reset: step; }
.flow li {
  position: relative; background: var(--c-surface); border: 1px solid var(--c-line); border-radius: var(--radius);
  padding: 28px 20px 24px; text-align: center; counter-increment: step;
}
.flow li::before {
  content: counter(step); display: grid; place-items: center; width: 40px; height: 40px; margin: 0 auto 12px;
  border-radius: 50%; background: var(--c-sage-dark); color: #fff; font-family: var(--f-head); font-size: 17px; font-weight: 700;
}
.flow h3 { font-size: 16px; margin-bottom: 8px; }
.flow p { font-size: 14px; color: var(--c-ink-soft); margin: 0; }
@media (max-width: 900px) {
  .flow { grid-template-columns: 1fr; }
  .flow li { text-align: left; display: grid; grid-template-columns: 40px 1fr; column-gap: 16px; padding: 20px; }
  .flow li::before { margin: 0; grid-row: span 2; }
}

/* ---------- 講師 ---------- */
.teachers { display: grid; gap: 32px; }
.teacher {
  display: grid; grid-template-columns: 220px 1fr; gap: 40px;
  background: var(--c-surface); border: 1px solid var(--c-line); border-radius: var(--radius);
  padding: 40px;
}
.teacher-photo {
  width: 220px; aspect-ratio: 1; border-radius: 50%; object-fit: cover;
  background: var(--c-surface-2); display: grid; place-items: center;
  font-family: var(--f-en); font-size: 64px; color: var(--c-sage-dark);
}
.teacher-role { color: var(--c-clay); font-family: var(--f-head); font-weight: 700; font-size: 14px; margin-bottom: 4px; }
.teacher h2, .teacher h3 { font-size: 26px; }
.teacher-en { font-family: var(--f-en); font-style: italic; color: var(--c-ink-soft); font-size: 18px; margin: 0 0 16px; }
.teacher-base { display: flex; align-items: center; gap: 8px; font-size: 14px; color: var(--c-ink-soft); margin: -8px 0 16px; }
.subjects { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; padding: 0; margin: 0 0 20px; }
.subjects li { font-size: 13px; padding: 2px 12px; border-radius: 999px; border: 1px solid var(--c-sage); color: var(--c-sage-dark); }
.teacher-bio { color: var(--c-ink-soft); }
.works { margin: 20px 0; padding: 16px 20px; background: var(--c-bg); border-radius: var(--radius-sm); }
.works h4 { margin: 0 0 8px; font-family: var(--f-head); font-size: 14px; color: var(--c-sage-dark); }
.works ul { margin: 0; padding-left: 1.2em; font-size: 14px; }
.teacher-message {
  margin: 0; padding: 16px 20px; border-left: 3px solid var(--c-clay);
  background: var(--c-clay-soft); border-radius: 0 var(--radius-sm) var(--radius-sm) 0; font-size: 15px;
}
.teacher-summary { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 24px; }
.teacher-mini {
  display: flex; gap: 20px; align-items: center; text-decoration: none; color: inherit;
  background: var(--c-bg); border: 1px solid var(--c-line); border-radius: var(--radius); padding: 24px;
}
.teacher-mini:hover { color: inherit; border-color: var(--c-sage); }
.teacher-mini .teacher-photo { width: 84px; font-size: 30px; flex-shrink: 0; }
.teacher-mini h3 { font-size: 19px; }
.teacher-mini p { margin: 0; font-size: 14px; color: var(--c-ink-soft); }
@media (max-width: 800px) {
  .teacher { grid-template-columns: 1fr; gap: 24px; padding: 28px 20px; text-align: left; }
  .teacher-photo { width: 140px; font-size: 44px; }
}

/* ---------- ポートフォリオ（外部リンク） ---------- */
.ext-link { gap: .4em; flex-wrap: wrap; }
.ext-host { font-family: var(--f-en); font-style: italic; font-weight: 500; font-size: .95em; opacity: .75; }
.ext-icon { width: 14px; height: 14px; flex-shrink: 0; }
.text-link { display: inline-flex; align-items: center; color: var(--c-sage-dark); font-weight: 700; font-size: 14px; }
.feature-link { margin: 16px 0 0 !important; }
.portfolio-cta { margin: 0 0 20px; }
.portfolio-banner {
  margin-top: 32px; padding: 24px 28px; border-radius: var(--radius);
  background: var(--c-surface); border: 1px dashed var(--c-sage);
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px;
}
.portfolio-banner p { margin: 0; flex: 1 1 320px; }

/* ---------- note 連載 ---------- */
.note-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 24px; }
.note-card {
  display: flex; flex-direction: column; overflow: hidden; text-decoration: none; color: inherit;
  background: var(--c-surface); border: 1px solid var(--c-line); border-radius: var(--radius); box-shadow: var(--shadow);
  transition: transform .2s, box-shadow .2s;
}
.note-card:hover { color: inherit; transform: translateY(-3px); box-shadow: 0 2px 4px rgba(47,58,51,.05), 0 16px 32px rgba(47,58,51,.09); }
.note-card img { width: 100%; aspect-ratio: 1280 / 630; object-fit: cover; }
.note-card-body { padding: 22px 24px 24px; display: flex; flex-direction: column; flex: 1; }
.note-label { font-size: 12px; font-weight: 700; color: var(--c-clay); letter-spacing: .06em; margin-bottom: 6px; }
.note-card h3 { font-size: 19px; margin-bottom: 8px; }
.note-card p { font-size: 14px; color: var(--c-ink-soft); margin: 0 0 16px; flex: 1; }
.note-more { display: inline-flex; align-items: center; gap: 6px; font-family: var(--f-head); font-weight: 700; font-size: 14px; color: var(--c-sage-dark); }

/* ---------- CTA ---------- */
.cta {
  text-align: center; background: var(--c-sage-dark); color: #fff; border-radius: 28px;
  padding: 64px 24px; position: relative; overflow: hidden;
}
.cta::after {
  content: ""; position: absolute; width: 360px; height: 360px; right: -100px; bottom: -180px;
  border-radius: 50%; border: 1.5px solid rgba(255,255,255,.2);
}
.cta h2 { font-size: clamp(22px, 3vw, 30px); margin-bottom: 12px; }
.cta p { opacity: .9; margin-bottom: 28px; }
.cta .eyebrow { color: var(--c-clay-soft); }

/* ---------- フォーム ---------- */
.form-wrap { max-width: 720px; margin-inline: auto; }
.steps { list-style: none; display: flex; justify-content: center; gap: 8px; padding: 0; margin: 0 0 40px; }
.steps li {
  flex: 1; max-width: 160px; text-align: center; padding: 10px; border-radius: 999px;
  background: var(--c-surface); border: 1px solid var(--c-line); font-family: var(--f-head); font-size: 14px; color: var(--c-ink-soft);
}
.steps li[aria-current="step"] { background: var(--c-sage-dark); border-color: var(--c-sage-dark); color: #fff; font-weight: 700; }

.form-card { background: var(--c-surface); border: 1px solid var(--c-line); border-radius: var(--radius); padding: 40px; }
@media (max-width: 600px) { .form-card { padding: 28px 20px; } }
.field { margin-bottom: 28px; border: 0; padding: 0; min-width: 0; }
.field-label, .field legend { display: flex; align-items: center; gap: 8px; font-family: var(--f-head); font-weight: 700; font-size: 15px; margin-bottom: 8px; padding: 0; }
.req, .opt { font-size: 12px; padding: 1px 8px; border-radius: 4px; font-weight: 700; }
.req { background: var(--c-clay); color: #fff; }
.opt { background: var(--c-surface-2); color: var(--c-ink-soft); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.field-row label { font-size: 13px; color: var(--c-ink-soft); display: block; margin-bottom: 4px; }
.help { font-size: 13px; color: var(--c-ink-soft); margin: 6px 0 0; }

input[type="text"], input[type="email"], input[type="tel"], input[type="url"], select, textarea {
  width: 100%; font: inherit; font-size: 16px; color: var(--c-ink);
  padding: 12px 14px; min-height: 48px;
  background: #fff; border: 1.5px solid var(--c-line); border-radius: var(--radius-sm);
  transition: border-color .2s, box-shadow .2s;
}
textarea { min-height: 160px; resize: vertical; line-height: 1.7; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--c-sage); box-shadow: 0 0 0 4px rgba(127,154,131,.2); }
.has-error input, .has-error select, .has-error textarea { border-color: #b4543a; }
.error-text { color: #a0442c; font-size: 14px; margin: 6px 0 0; font-weight: 500; }
.error-summary { background: #fbeae4; border: 1px solid #e6b7a6; color: #7c3420; border-radius: var(--radius-sm); padding: 16px 20px; margin-bottom: 28px; }
.error-summary p { margin: 0; }

.choices { display: flex; flex-wrap: wrap; gap: 8px; }
.choice { position: relative; }
.choice input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.choice span {
  display: inline-block; padding: 10px 18px; min-height: 44px; border-radius: 999px; cursor: pointer;
  border: 1.5px solid var(--c-line); background: #fff; font-size: 15px;
}
.choice input:checked + span { background: var(--c-surface-2); border-color: var(--c-sage-dark); color: var(--c-sage-dark); font-weight: 700; }
.choice input:focus-visible + span { outline: 3px solid var(--c-clay); outline-offset: 2px; }

.agree { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; cursor: pointer; }
.agree input { width: 20px; height: 20px; margin-top: 4px; accent-color: var(--c-sage-dark); flex-shrink: 0; }
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-actions { display: flex; flex-wrap: wrap-reverse; gap: 12px; justify-content: center; margin-top: 12px; }
.form-actions .btn { min-width: 200px; }

.form-section-title { font-size: 18px; color: var(--c-sage-dark); margin: 48px 0 8px; padding-bottom: 10px; border-bottom: 1.5px solid var(--c-line); }
.form-section-title:first-of-type { margin-top: 8px; }
.form-section-lead { font-size: 14px; color: var(--c-ink-soft); margin: 0 0 20px; }
.confirm-list { margin: 0 0 32px; }
.confirm-list div { display: grid; grid-template-columns: 180px 1fr; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--c-line); }
.confirm-list dt { font-family: var(--f-head); font-weight: 700; font-size: 14px; color: var(--c-sage-dark); }
.confirm-list dd { margin: 0; white-space: pre-wrap; }
@media (max-width: 600px) { .confirm-list div { grid-template-columns: 1fr; gap: 4px; } }

.complete { text-align: center; }
.complete-icon { width: 72px; height: 72px; margin: 0 auto 20px; color: var(--c-sage-dark); }
.complete h2 { font-size: 24px; margin-bottom: 16px; }

/* ---------- 法務ページ ---------- */
.legal-table { width: 100%; border-collapse: collapse; background: var(--c-surface); border-radius: var(--radius); overflow: hidden; font-feature-settings: normal; }
.legal-table th, .legal-table td { text-align: left; vertical-align: top; padding: 16px 20px; border-bottom: 1px solid var(--c-line); }
.legal-table th { width: 30%; background: var(--c-surface-2); font-family: var(--f-head); font-size: 15px; }
@media (max-width: 600px) {
  .legal-table th, .legal-table td { display: block; width: 100%; }
  .legal-table th { border-bottom: 0; padding-bottom: 8px; }
}
.prose { max-width: 760px; margin-inline: auto; }
.prose h2 { font-size: 20px; margin: 40px 0 12px; padding-bottom: 8px; border-bottom: 1px solid var(--c-line); }
.prose ul, .prose ol { padding-left: 1.4em; }
.todo { background: #fff4c8; padding: 0 4px; border-radius: 3px; }

/* ---------- フッター ---------- */
.site-footer { margin-top: 96px; background: var(--c-ink); color: #dfe5dc; padding: 64px 0 24px; }
.site-footer a { color: #dfe5dc; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.footer-inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 40px; }
.footer-logo { display: flex; align-items: center; gap: 12px; font-family: var(--f-en); font-size: 26px; letter-spacing: .1em; margin: 0; color: #fff; }
.footer-mark { width: 40px; height: 40px; flex-shrink: 0; }
.footer-tagline { font-family: var(--f-en); font-style: italic; margin: 4px 0 12px; color: #b9c6b7; }
.footer-note { font-size: 14px; margin: 0; }
.footer-nav { display: flex; gap: 48px; flex-wrap: wrap; }
.footer-nav ul { list-style: none; padding: 0; margin: 0; display: grid; align-content: start; gap: 10px; font-size: 14px; }
.copyright { text-align: center; margin: 48px 0 0; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.1); color: #9fab9d; }

/* ---------- スクロールで表示 ---------- */
@media (prefers-reduced-motion: no-preference) {
  .js .reveal { opacity: 0; transform: translateY(16px); transition: opacity .7s ease, transform .7s ease; }
  .js .reveal.is-visible { opacity: 1; transform: none; }
}
