/* ============================================================
   西村バイオリン教室 ペライチ
   素のHTML/CSS/JS（ビルド不要）
   ============================================================ */

/* ---------- デザイントークン ---------- */
:root {
  /* ベース */
  --c-base:        #FBF6EE;
  --c-base-2:      #F4EADB;
  --c-surface:     #FFFFFF;

  /* アクセント（暖色） */
  --c-accent:      #E08A6B;          /* 装飾・背景のみ。本文/小文字テキストには使わない（白背景でコントラスト不足） */
  --c-accent-dk:   #A8542F;          /* テキスト/ボタン/リンク用。白文字で約5.3:1、白背景で約5.3:1（WCAG AA） */
  --c-accent-hov:  #8E4526;          /* ボタンhover用。白文字とのコントラストを維持したまま濃くする */
  --c-accent-sf:   #F3C9B8;

  /* サブアクセント */
  --c-green:       #8FAE8B;          /* 装飾用（♪マーク等）。本文テキストには使わない */
  --c-green-dk:    #4F6B4B;          /* テキスト用に濃色化。緑系淡色背景で約4.7:1（WCAG AA） */
  --c-green-sf:    #DDE7D8;

  /* 文字 */
  --c-text:        #4A3526;
  --c-text-soft:   #6B4F3A;
  --c-text-mute:   #74614A;          /* 注記の小文字も4.5:1以上を確保するため濃色化 */
  --c-text-onAcc:  #FFFFFF;

  /* 罫線・影 */
  --c-line:        #E4D7C5;
  --shadow-soft:   0 6px 20px rgba(107, 79, 58, 0.10);
  --shadow-card:   0 10px 30px rgba(107, 79, 58, 0.12);
  --shadow-cta:    0 8px 18px rgba(224, 138, 107, 0.35);

  /* フォント */
  --font-heading: "Zen Maru Gothic", "M PLUS Rounded 1c", sans-serif;
  --font-body:    "M PLUS Rounded 1c", "Zen Maru Gothic", sans-serif;
  --font-en:      "Quicksand", "Zen Maru Gothic", sans-serif;

  /* スペーシング */
  --sp-1: 4px;  --sp-2: 8px;  --sp-3: 12px; --sp-4: 16px;
  --sp-5: 24px; --sp-6: 32px; --sp-7: 48px; --sp-8: 64px; --sp-9: 96px;

  /* レイアウト */
  --container: 1080px;
  --container-narrow: 760px;
  --gutter: clamp(16px, 5vw, 40px);

  /* 角丸 */
  --r-sm: 12px; --r-md: 20px; --r-lg: 28px; --r-xl: 40px; --r-pill: 999px;

  --header-h: 64px;
}

/* ---------- リセット ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-weight: 400;
  color: var(--c-text);
  background: var(--c-base);
  line-height: 1.9;
  letter-spacing: 0.04em;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; }
a { color: var(--c-accent-dk); text-decoration: none; }
a:hover { color: var(--c-accent-dk); text-decoration: underline; }  /* hoverでも淡色に戻さずコントラスト維持。下線で可視フィードバック */
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3 { font-family: var(--font-heading); line-height: 1.5; letter-spacing: 0.02em; margin: 0; }
p { margin: 0; }
button { font-family: inherit; cursor: pointer; }

:focus-visible { outline: 3px solid var(--c-accent-dk); outline-offset: 2px; border-radius: 4px; }  /* フォーカスリングを濃色・太めにし可視性(3:1)を確保 */

/* ---------- レイアウト ---------- */
.container {
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
  position: relative;
}
.container-narrow { max-width: var(--container-narrow); }

.section {
  padding-block: var(--sp-9);
  position: relative;
  overflow: hidden;
}
.section-alt { background: var(--c-base-2); }
@media (max-width: 640px) { .section { padding-block: var(--sp-8); } }

section[id] { scroll-margin-top: 80px; }

/* ---------- 共通あしらい ---------- */
.eyebrow {
  font-family: var(--font-en);
  font-size: clamp(12px, 2vw, 14px);
  font-weight: 600;
  letter-spacing: 0.12em;
  color: var(--c-accent-dk);        /* 小さなラベルテキストもAA(4.5:1)を満たすよう濃色に */
  text-transform: uppercase;
  margin-bottom: var(--sp-2);
  display: flex;
  align-items: center;
  gap: var(--sp-2);
}
.note-mark { color: var(--c-green); font-size: 1.1em; }

.section-head { text-align: center; max-width: 760px; margin: 0 auto var(--sp-7); }
.section-head .eyebrow { justify-content: center; }
.section h2 { font-size: clamp(24px, 4.5vw, 36px); font-weight: 700; color: var(--c-text); margin-bottom: var(--sp-4); }
.section-lead { font-size: clamp(15px, 2.4vw, 18px); font-weight: 500; color: var(--c-text-soft); line-height: 1.9; }

.accent-underline {
  color: var(--c-accent-dk);
  background-image: linear-gradient(transparent 60%, var(--c-accent-sf) 60%);
  background-repeat: no-repeat;
  background-position: left center;
  background-size: 0% 100%;
  padding: 0 .1em;
  animation: accent-underline-draw .95s ease-out .3s forwards;
}

@keyframes accent-underline-draw {
  to { background-size: 100% 100%; }
}

/* 動きを控えたいユーザーには下線を最初から100%表示(アニメーション無効) */
@media (prefers-reduced-motion: reduce) {
  .accent-underline {
    animation: none;
    background-size: 100% 100%;
  }
}

/* 波線ディバイダ */
.wave-divider { line-height: 0; }
.wave-divider svg { display: block; width: 100%; height: 24px; }

/* ぼかし円（ぬくもり演出） */
.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(48px);
  opacity: .5;
  pointer-events: none;
  z-index: 0;
}
.blob-a { width: 280px; height: 280px; background: var(--c-accent-sf); top: -60px; right: -40px; }
.blob-b { width: 220px; height: 220px; background: var(--c-green-sf); bottom: 0; left: -60px; }
.blob-green { width: 360px; height: 360px; background: var(--c-green-sf); top: 10%; left: -120px; }

/* リボンタグ */
.ribbon {
  display: inline-block;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 13px;
  line-height: 1;
  padding: 8px 16px;
  border-radius: var(--r-pill);
  color: var(--c-text-onAcc);
  white-space: nowrap;
}
.ribbon-accent { background: var(--c-accent-dk); }
.ribbon-green  { background: var(--c-green-dk); }

/* ---------- 写真共通処理 ---------- */
.photo {
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-card);
  overflow: hidden;
  position: relative;
  background: var(--c-surface);
  margin: 0;
}
.photo img {
  display: block; width: 100%; height: auto;
  filter: saturate(1.05) contrast(0.96) brightness(1.03) sepia(0.06);
}
.photo::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(160deg, rgba(224,138,107,.10), rgba(143,174,139,.06));
  mix-blend-mode: multiply; pointer-events: none;
}
.photo-tilt { transform: rotate(-1.5deg); border-radius: var(--r-xl); }

/* ---------- ボタン ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-2);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: clamp(15px, 2.4vw, 17px);
  line-height: 1;
  min-height: 48px;
  padding: 14px 28px;
  border: none;
  border-radius: var(--r-pill);
  transition: transform .2s ease, background-color .2s ease, box-shadow .2s ease;
  text-align: center;
}
.btn-primary { background: var(--c-accent-dk); color: var(--c-text-onAcc); box-shadow: var(--shadow-cta); }
.btn-primary:hover { background: var(--c-accent-hov); color: var(--c-text-onAcc); transform: translateY(-2px); }
.btn-lg { min-height: 56px; padding: 18px 36px; font-size: clamp(16px, 2.6vw, 18px); }
.btn-block { width: 100%; }

.section-cta { text-align: center; margin-top: var(--sp-7); position: relative; z-index: 1; }
.section-cta-left { text-align: left; }

/* ---------- ヘッダー ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(251, 246, 238, .92);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--c-line);
}
.header-inner {
  display: flex; align-items: center; gap: var(--sp-5);
  min-height: var(--header-h);
  padding-block: var(--sp-2);
}
.brand {
  display: flex; align-items: center; gap: var(--sp-2);
  font-family: var(--font-heading); font-weight: 700;
  font-size: clamp(16px, 2.4vw, 19px); color: var(--c-text);
  flex-shrink: 0;
}
.brand:hover { color: var(--c-text); }

.gnav { margin-left: auto; }
.gnav ul { display: flex; gap: var(--sp-5); }
.gnav a { font-size: 14px; font-weight: 500; color: var(--c-text-soft); }
.gnav a:hover { color: var(--c-accent-dk); }

.btn-mini-cta {
  flex-shrink: 0;
  background: var(--c-accent-dk); color: var(--c-text-onAcc);
  font-family: var(--font-heading); font-weight: 700; font-size: 14px;
  padding: 9px 18px; border-radius: var(--r-pill);
}
.btn-mini-cta:hover { background: var(--c-accent-hov); color: var(--c-text-onAcc); }

/* ヘッダーの Instagram 導線（控えめな丸アイコン｜あくまで補助） */
.header-ig {
  flex-shrink: 0;
  display: inline-flex; align-items: center; justify-content: center;
  width: 40px; height: 40px; border-radius: 50%;
  color: var(--c-accent-dk);
  border: 1.5px solid var(--c-accent-sf);
  transition: background .2s ease, color .2s ease, border-color .2s ease;
}
.header-ig:hover { background: var(--c-accent-dk); color: var(--c-text-onAcc); border-color: var(--c-accent-dk); text-decoration: none; }

.hamburger { display: none; }
.mobile-menu { display: none; }

/* ---------- S1 ヒーロー ---------- */
.hero { padding-block: clamp(48px, 8vw, 88px); }
.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(24px, 5vw, 56px);
  align-items: center;
  z-index: 1;
}
.hero-text { z-index: 1; }
.hero h1 {
  font-size: clamp(28px, 6vw, 48px);
  font-weight: 900; line-height: 1.4; color: var(--c-text);
  margin-bottom: var(--sp-5);
}
.hero-lead { font-size: clamp(15px, 2.4vw, 18px); font-weight: 500; color: var(--c-text-soft); margin-bottom: var(--sp-4); }
.hero-sub { font-size: clamp(14px, 2.2vw, 16px); color: var(--c-text); margin-bottom: var(--sp-6); }
.hero-cta .microcopy { margin-top: var(--sp-3); font-size: 13px; color: var(--c-text-soft); }

.hero-media { position: relative; justify-self: center; max-width: 340px; }
.hero-photo { max-width: 320px; }
.hero-photo::before {
  content: ""; position: absolute; inset: 0;
  background: var(--c-accent-sf); border-radius: var(--r-xl);
  transform: rotate(2.5deg) translate(10px, 10px); z-index: -1;
}
.hero-ribbon-1 { position: absolute; top: -12px; left: -12px; transform: rotate(-6deg); box-shadow: var(--shadow-soft); z-index: 2; }
.hero-ribbon-2 { position: absolute; bottom: 20px; right: -16px; transform: rotate(4deg); box-shadow: var(--shadow-soft); z-index: 2; }

/* ---------- S2 特徴 ---------- */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-5);
}
@media (max-width: 900px) { .feature-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .feature-grid { grid-template-columns: 1fr; } }
.feature-card {
  display: flex;
  flex-direction: column;
  background: var(--c-surface);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-soft);
  padding: var(--sp-6) var(--sp-5);
  transition: transform .2s ease, box-shadow .2s ease;
}
.feature-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-card); }
.feature-ico { display: block; margin-bottom: var(--sp-3); }
.feature-card h3 { font-size: clamp(18px, 3vw, 20px); font-weight: 700; color: var(--c-text); margin-bottom: var(--sp-3); }
.feature-card p { font-size: 15px; color: var(--c-text); line-height: 1.8; }

.features-extra { display: flex; justify-content: center; margin-top: var(--sp-7); }
.features-photo { max-width: 420px; width: 100%; }

/* ---------- S3 講師 ---------- */
.teacher-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: clamp(28px, 5vw, 56px);
  align-items: start;
  z-index: 1;
}
.teacher-media { position: relative; justify-self: center; max-width: 340px; }
.teacher-ribbon { position: absolute; bottom: -14px; left: 50%; transform: translateX(-50%) rotate(-2deg); box-shadow: var(--shadow-soft); }
.teacher-body p { margin-bottom: var(--sp-4); font-size: 15px; }
.title-band {
  display: inline-block;
  background: var(--c-green-sf);
  color: var(--c-text);
  font-weight: 500;
  font-size: 14px;
  line-height: 1.8;
  padding: var(--sp-3) var(--sp-5);
  border-radius: var(--r-md);
  margin-bottom: var(--sp-5) !important;
}

.career { margin: var(--sp-5) 0; border: 1px solid var(--c-line); border-radius: var(--r-md); background: var(--c-surface); overflow: hidden; }
.career summary {
  cursor: pointer; padding: var(--sp-3) var(--sp-5);
  font-family: var(--font-heading); font-weight: 700; color: var(--c-text-soft); font-size: 15px;
}
.career-list { padding: 0 var(--sp-5) var(--sp-4); }
.career-list li { position: relative; padding-left: 18px; font-size: 14px; line-height: 1.9; }
.career-list li::before { content: "♪"; position: absolute; left: 0; color: var(--c-accent); }

.message {
  margin: var(--sp-6) 0 0;
  background: var(--c-base-2);
  border-left: 5px solid var(--c-accent);
  border-radius: var(--r-lg);
  padding: var(--sp-6);
  position: relative;
}
.message .quote-mark { position: absolute; top: var(--sp-3); right: var(--sp-4); }
.message p { font-size: 15px; line-height: 1.9; margin-bottom: var(--sp-3); }
.message p:last-child { margin-bottom: 0; }
.message .hl { color: var(--c-accent-dk); font-weight: 700; }

/* ---------- S4 レッスン ---------- */
.step-flow {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-5);
  margin-bottom: var(--sp-7);
}
.step-card {
  background: var(--c-surface);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-soft);
  padding: var(--sp-6) var(--sp-4);
  text-align: center;
  position: relative;
}
.step-card:not(:last-child)::after {
  content: ""; position: absolute; top: 50%; right: calc(-1 * var(--sp-5) / 2 - 6px);
  width: 14px; height: 14px;
  border-top: 3px dotted var(--c-accent); border-right: 3px dotted var(--c-accent);
  transform: translateY(-50%) rotate(45deg);
}
.step-no { display: block; font-family: var(--font-en); font-weight: 700; font-size: clamp(28px, 5vw, 40px); color: var(--c-accent-dk); line-height: 1; }
.step-card h3 { font-size: clamp(18px, 3vw, 22px); font-weight: 700; color: var(--c-text); margin: var(--sp-2) 0; }
.step-book { font-size: 14px; color: var(--c-text-soft); }

.lesson-detail { display: grid; grid-template-columns: 1.6fr 0.9fr; gap: var(--sp-6); align-items: start; }
.overview-cards { display: grid; gap: var(--sp-4); }
.overview-card { background: var(--c-surface); border-radius: var(--r-md); box-shadow: var(--shadow-soft); padding: var(--sp-5); }
.overview-card h3 { font-size: 17px; font-weight: 700; color: var(--c-accent-dk); margin-bottom: var(--sp-2); }
.overview-card p { font-size: 15px; }
.lesson-book-photo { max-width: 240px; justify-self: center; align-self: center; }

.lesson-instrument { margin-top: var(--sp-5); font-size: 15px; }
.note-inline { color: var(--c-text-mute); font-size: 13px; }

/* 注記 */
.note { font-size: 13px; line-height: 1.7; color: var(--c-text-mute); margin-top: var(--sp-4); }
.hl { color: var(--c-accent-dk); font-weight: 700; }

/* ---------- S5 料金 ---------- */
.price-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-5);
}
.price-card {
  background: var(--c-surface);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-card);
  padding: var(--sp-6) var(--sp-5);
  text-align: center;
}
.price-card .ribbon { margin-bottom: var(--sp-4); }
.price-num { font-family: var(--font-en); line-height: 1; margin-bottom: var(--sp-3); }
.price-num strong { font-size: clamp(32px, 6vw, 44px); font-weight: 700; color: var(--c-accent-dk); }
.price-num .yen { font-family: var(--font-body); font-size: 16px; color: var(--c-text); margin-left: 2px; }
.price-detail { font-size: 15px; color: var(--c-text); }
.price-book { font-size: 13px; color: var(--c-text-soft); margin-top: var(--sp-2); }

.price-aside { text-align: center; font-size: 14px; color: var(--c-text-soft); margin-top: var(--sp-5); }

.travel-card {
  background: var(--c-green-sf);
  border-radius: var(--r-lg);
  padding: var(--sp-6);
  margin-top: var(--sp-6);
}
.travel-card h3 { display: flex; align-items: center; gap: var(--sp-2); font-size: 18px; font-weight: 700; color: var(--c-text); margin-bottom: var(--sp-3); }
.travel-card p { font-size: 15px; margin-bottom: var(--sp-2); }
.travel-card ul { display: grid; gap: var(--sp-1); }
.travel-card li { position: relative; padding-left: 18px; font-size: 15px; }
.travel-card li::before { content: "•"; position: absolute; left: 4px; color: var(--c-green-dk); }

.price-note-box {
  background: var(--c-base-2);
  border-radius: var(--r-md);
  padding: var(--sp-5);
  margin-top: var(--sp-6);
}
.price-note-box p { font-size: 14px; }
.price-note-box strong { color: var(--c-text); }

/* ---------- S6 発表会 ---------- */
.concert {
  background:
    radial-gradient(ellipse 60% 50% at 50% 30%, rgba(255,255,255,.6), transparent 70%),
    var(--c-base-2);
}
.concert-inner { text-align: center; max-width: 760px; }
.concert-inner .eyebrow { justify-content: center; }
.concert-card {
  position: relative;
  background: var(--c-surface);
  border-radius: var(--r-xl);
  box-shadow: var(--shadow-card);
  padding: var(--sp-8) var(--sp-6);
  margin: var(--sp-7) auto;
  max-width: 520px;
}
.concert-deco { position: absolute; font-size: 28px; color: var(--c-accent-sf); }
.concert-deco.deco-1 { top: 18px; left: 24px; color: var(--c-accent); }
.concert-deco.deco-2 { top: 24px; right: 30px; color: var(--c-green); }
.concert-deco.deco-3 { bottom: 18px; right: 26px; color: var(--c-accent-sf); font-size: 34px; }
/* 投稿プレビューの導入キャプション（h3。階層は h2 配下） */
.concert-ig-caption { display: flex; align-items: center; justify-content: center; gap: var(--sp-2); font-size: 16px; color: var(--c-accent-dk); font-weight: 700; margin-top: var(--sp-7); }
.concert-ig-caption .note-mark { color: var(--c-accent); }
.concert-ig-text { font-size: 15px; color: var(--c-text); line-height: 1.9; margin-bottom: var(--sp-5); }
.concert-ig-btn { margin-top: var(--sp-2); }
.concert-msg { font-size: 15px; color: var(--c-text); margin-top: var(--sp-7); }
/* Instagram公式埋め込みのラッパ（配置・余白のみ。内部はInstagram側のスタイルに任せる） */
.concert-ig-embed { margin: var(--sp-4) auto 0; max-width: 400px; }
.concert-ig-iframe { display: block; width: 100%; height: 540px; border: 1px solid var(--c-line); border-radius: var(--r-md); background: var(--c-surface); }
.concert-ig-fallback { margin-top: var(--sp-2); font-size: 13px; text-align: center; }
.concert-ig-fallback a { color: var(--c-accent-dk); text-decoration: underline; }

/* ---------- S7 アクセス ---------- */
.access-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--sp-6);
}
.access-card {
  background: var(--c-surface);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-card);
  overflow: hidden;
  display: flex; flex-direction: column;
}
.access-card .photo { border-radius: 0; box-shadow: none; }
.access-card .photo img { width: 100%; max-height: 240px; object-fit: cover; }
.access-body { padding: var(--sp-5); }
.access-body h3 { font-size: clamp(18px, 3vw, 22px); font-weight: 700; color: var(--c-text); margin-bottom: var(--sp-3); }
.access-row { display: flex; align-items: center; gap: var(--sp-2); font-size: 15px; margin-bottom: var(--sp-2); }
.access-row svg { flex-shrink: 0; }
.access-map { margin-top: var(--sp-4); border-radius: var(--r-md); overflow: hidden; border: 1px solid var(--c-line); background: var(--c-base-2); }
.access-map iframe { display: block; width: 100%; aspect-ratio: 16 / 10; border: 0; }
.access-map-link { margin-top: var(--sp-3); font-size: 14px; }
.access-map-link a { color: var(--c-accent-dk); font-weight: 700; text-decoration: underline; }
.access-map-link a:hover { color: var(--c-accent-hov); }

/* ---------- FAQ（よくある質問） ---------- */
.faq-list { max-width: var(--container-narrow); margin: 0 auto; }
.faq-item {
  background: var(--c-surface);
  border: 1px solid var(--c-line);
  border-radius: var(--r-md);
  margin-bottom: var(--sp-3);
  overflow: hidden;
}
.faq-item + .faq-item { margin-top: 0; }
.faq-item summary {
  list-style: none;            /* 既定マーカーを消し、独自の +/− を使う */
  cursor: pointer;
  display: flex;
  align-items: flex-start;
  gap: var(--sp-3);
  padding: var(--sp-4) var(--sp-5);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: clamp(15px, 2.4vw, 17px);
  line-height: 1.7;
  color: var(--c-text);
}
.faq-item summary::-webkit-details-marker { display: none; }
/* 行頭に「Q」のあしらい */
.faq-item summary::before {
  content: "Q";
  flex: 0 0 auto;
  width: 28px; height: 28px;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: var(--r-pill);
  background: var(--c-accent-sf);
  color: var(--c-accent-dk);
  font-family: var(--font-en);
  font-weight: 700;
  font-size: 15px;
  line-height: 1;
}
/* 右端の開閉インジケータ（＋／−） */
.faq-item summary::after {
  content: "";
  flex: 0 0 auto;
  width: 14px; height: 14px;
  margin-left: auto;
  align-self: center;
  background:
    linear-gradient(var(--c-accent-dk), var(--c-accent-dk)) center / 14px 2px no-repeat,
    linear-gradient(var(--c-accent-dk), var(--c-accent-dk)) center / 2px 14px no-repeat;
  transition: transform .25s ease;
}
.faq-item[open] summary::after { transform: rotate(45deg); }  /* ＋ → ×（−に見える回転） */
.faq-item summary:hover { color: var(--c-accent-dk); }
.faq-item summary:focus-visible { outline: 3px solid var(--c-accent-dk); outline-offset: -3px; border-radius: var(--r-md); }
.faq-a {
  padding: 0 var(--sp-5) var(--sp-4);
}
.faq-a p {
  margin: 0;
  font-size: 15px;
  line-height: 1.9;
  color: var(--c-text);
  /* 質問の Q バッジ幅ぶん本文を字下げして見やすく */
  padding-left: calc(28px + var(--sp-3));
}
@media (max-width: 480px) {
  .faq-item summary { padding: var(--sp-4); }
  .faq-a { padding: 0 var(--sp-4) var(--sp-4); }
  .faq-a p { padding-left: 0; }
}

/* ---------- S8 フォーム ---------- */
.trial { background: var(--c-accent-sf); }
.trial .eyebrow { color: var(--c-accent-hov); }  /* 淡いサーモン背景でもAA(4.5:1)を満たす濃色に */

/* 体験レッスンの確認事項カード */
.trial-notes {
  position: relative;
  z-index: 1;
  background: rgba(255,255,255,.78);
  border: 1.5px solid var(--c-surface);
  border-radius: var(--r-xl);
  box-shadow: var(--shadow-soft);
  padding: clamp(20px, 4vw, 36px);
  margin-bottom: var(--sp-6);
}
.trial-notes-title {
  display: flex; align-items: center; gap: var(--sp-2);
  font-size: clamp(17px, 3vw, 20px); font-weight: 700; color: var(--c-text);
  margin-bottom: var(--sp-5);
}
.trial-notes-list { display: grid; gap: var(--sp-4); }
.trial-notes-list li {
  position: relative;
  padding-left: var(--sp-5);
}
.trial-notes-list li::before {
  content: ""; position: absolute; left: 4px; top: 9px;
  width: 9px; height: 9px; border-radius: 50%;
  background: var(--c-accent-dk);
}
.trial-notes-list h4 {
  font-family: var(--font-heading); font-weight: 700;
  font-size: 15px; color: var(--c-accent-dk); margin: 0 0 var(--sp-1);
}
.trial-notes-list p { font-size: 14px; line-height: 1.85; color: var(--c-text); }

.assurance {
  display: flex; flex-wrap: wrap; justify-content: center; gap: var(--sp-4);
  margin-bottom: var(--sp-6);
}
.assurance li {
  display: flex; align-items: center; gap: var(--sp-2);
  background: rgba(255,255,255,.7);
  border-radius: var(--r-pill);
  padding: 8px 18px;
  font-size: 14px; font-weight: 500; color: var(--c-text);
}

.form-card {
  background: var(--c-surface);
  border-radius: var(--r-xl);
  box-shadow: var(--shadow-card);
  padding: clamp(24px, 5vw, 48px);
}
.field { margin-bottom: var(--sp-5); border: none; padding: 0; }
.field label, .field legend {
  display: block; font-family: var(--font-heading); font-weight: 700;
  font-size: 15px; color: var(--c-text); margin-bottom: var(--sp-2); padding: 0;
}
.req { display: inline-block; background: var(--c-accent-dk); color: #fff; font-size: 11px; font-weight: 700; padding: 2px 8px; border-radius: var(--r-pill); margin-left: var(--sp-2); vertical-align: middle; }
.opt { display: inline-block; background: var(--c-green-sf); color: var(--c-green-dk); font-size: 11px; font-weight: 700; padding: 2px 8px; border-radius: var(--r-pill); margin-left: var(--sp-2); vertical-align: middle; }

.field input[type="text"],
.field input[type="email"],
.field input[type="tel"],
.field textarea {
  width: 100%;
  min-height: 48px;
  padding: 12px 16px;
  font-family: var(--font-body); font-size: 16px; color: var(--c-text);
  background: var(--c-base);
  border: 1.5px solid var(--c-line);
  border-radius: var(--r-md);
  transition: border-color .2s ease, box-shadow .2s ease;
}
.field textarea { min-height: auto; resize: vertical; line-height: 1.7; }
.field input[type="text"]:focus,
.field input[type="email"]:focus,
.field input[type="tel"]:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--c-accent);
  box-shadow: 0 0 0 3px rgba(224,138,107,.2);
}
.field input.invalid, .field textarea.invalid,
.field select.invalid { border-color: var(--c-accent-dk); }

/* 案内文 */
.form-intro {
  font-size: 15px; color: var(--c-text-soft); line-height: 1.9;
  margin: 0 0 var(--sp-6); padding-bottom: var(--sp-5);
  border-bottom: 1.5px dashed var(--c-line);
}

/* 補足ヒント */
.field-hint { font-size: 13px; color: var(--c-text-mute); margin: calc(var(--sp-1) * -1) 0 var(--sp-3); line-height: 1.8; }

/* お名前グリッド（姓/名/セイ/メイ） */
.name-grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--sp-3) var(--sp-4); }
.name-cell label {
  display: block; font-family: var(--font-body); font-weight: 500;
  font-size: 13px; color: var(--c-text-soft); margin-bottom: var(--sp-1);
}

/* select（生年月日など） */
.field select {
  width: 100%;
  min-height: 48px;
  padding: 12px 40px 12px 16px;
  font-family: var(--font-body); font-size: 16px; color: var(--c-text);
  background-color: var(--c-base);
  border: 1.5px solid var(--c-line);
  border-radius: var(--r-md);
  appearance: none; -webkit-appearance: none; -moz-appearance: none;
  cursor: pointer;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.field select:focus {
  outline: none;
  border-color: var(--c-accent);
  box-shadow: 0 0 0 3px rgba(224,138,107,.2);
}
.select-wrap { position: relative; flex: 1; }
.select-wrap::after {
  content: ""; position: absolute; right: 16px; top: 50%;
  width: 9px; height: 9px; margin-top: -6px;
  border-right: 2px solid var(--c-accent-dk);
  border-bottom: 2px solid var(--c-accent-dk);
  transform: rotate(45deg); pointer-events: none;
}
.dob-row { display: flex; gap: var(--sp-3); }

.radio-row { display: flex; flex-wrap: wrap; gap: var(--sp-4); }
.radio-row.radio-col { flex-direction: column; gap: var(--sp-3); }
.radio { display: inline-flex; align-items: center; gap: var(--sp-2); font-family: var(--font-body); font-weight: 400; font-size: 15px; cursor: pointer; margin: 0; }
.radio input { width: 20px; height: 20px; accent-color: var(--c-accent-dk); flex-shrink: 0; }

/* バイオリンレンタル確認・同意（分岐表示） */
.rental-terms {
  background: var(--c-base-2);
  border: 1.5px solid var(--c-accent-sf);
  border-radius: var(--r-md);
  padding: var(--sp-5);
}
.terms-box { margin-bottom: var(--sp-4); }
.terms-box p { font-size: 14px; line-height: 1.9; color: var(--c-text); margin: 0 0 var(--sp-3); }
.terms-box p:last-child { margin-bottom: 0; }
.terms-box .terms-note { font-size: 13px; color: var(--c-text-soft); }
.checkbox {
  display: flex; align-items: flex-start; gap: var(--sp-3);
  font-family: var(--font-body); font-weight: 500; font-size: 15px;
  color: var(--c-text); cursor: pointer; line-height: 1.7;
}
.checkbox input {
  width: 22px; height: 22px; margin-top: 1px; flex-shrink: 0;
  accent-color: var(--c-accent-dk); cursor: pointer;
}
.checkbox .req { margin-left: 0; }

/* スクリーンリーダー専用 */
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* ハニーポット（人には見せない。画面外へ退避） */
.hp-field {
  position: absolute; left: -9999px; top: auto;
  width: 1px; height: 1px; overflow: hidden;
}

.field-error { color: var(--c-accent-dk); font-size: 13px; margin-top: var(--sp-2); font-weight: 500; }

.form-reassure { text-align: center; font-size: 14px; font-weight: 700; color: var(--c-green-dk); margin-bottom: var(--sp-4); }
.form-consent { text-align: center; font-size: 12px; color: var(--c-text-mute); margin-top: var(--sp-3); }
.form-consent a { color: var(--c-accent-dk); text-decoration: underline; }

.form-status { text-align: center; font-size: 14px; margin-top: var(--sp-3); color: var(--c-accent-dk); font-weight: 500; }

.thanks { text-align: center; padding: var(--sp-6) 0; }
.thanks svg { margin-bottom: var(--sp-3); }
.thanks h3 { font-size: clamp(20px, 4vw, 26px); color: var(--c-text); margin-bottom: var(--sp-3); }
.thanks p { font-size: 15px; color: var(--c-text-soft); }

/* Instagramボタン（発表会セクションの主導線で使用） */
.btn-ig {
  display: inline-flex; align-items: center; gap: var(--sp-2);
  padding: 12px 26px; border-radius: var(--r-pill);
  background: linear-gradient(120deg, #C45A5A 0%, #C9622E 55%, #D99846 100%);
  color: #fff; font-family: var(--font-heading); font-weight: 700; font-size: 16px;
  box-shadow: var(--shadow-cta);
  transition: transform .2s ease, filter .2s ease;
}
.btn-ig:hover { color: #fff; filter: brightness(1.06); transform: translateY(-2px); text-decoration: none; }
.btn-ig svg { flex-shrink: 0; }

/* Instagram 補助導線（体験申込セクション｜控えめなテキストリンク） */
.ig-follow-note {
  text-align: center;
  margin-top: var(--sp-6);
  font-size: 14px;
  color: var(--c-text-soft);
  line-height: 1.8;
}
.ig-inline-link {
  display: inline-flex; align-items: center; gap: 4px;
  color: var(--c-accent-dk); font-weight: 700;
  text-decoration: underline;
  vertical-align: baseline;
}
.ig-inline-link svg { flex-shrink: 0; vertical-align: text-bottom; }
.ig-inline-link:hover { color: var(--c-accent-hov); }

/* ---------- フッター ---------- */
.site-footer { background: var(--c-text-soft); color: var(--c-base); padding-block: var(--sp-7) var(--sp-5); }
.footer-inner { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: var(--sp-6); align-items: start; }
.footer-name { font-family: var(--font-heading); font-weight: 700; font-size: 18px; margin-bottom: var(--sp-3); }
.footer-addr { font-size: 13px; line-height: 1.8; opacity: .9; }
.footer-nav ul { display: grid; gap: var(--sp-2); }
.footer-nav a { display: inline-block; padding-block: var(--sp-2); color: var(--c-base); font-size: 14px; }
.footer-nav a:hover { color: var(--c-accent-sf); }
.footer-sns { font-size: 14px; }
.footer-ig-btn {
  display: inline-flex; align-items: center; gap: var(--sp-2);
  padding: 9px 16px; border-radius: var(--r-pill);
  border: 1.5px solid var(--c-accent-sf);
  color: var(--c-accent-sf); font-weight: 700; font-size: 14px;
  transition: background .2s ease, color .2s ease;
}
.footer-ig-btn span { font-family: var(--font-en); }
.footer-ig-btn svg { flex-shrink: 0; }
.footer-ig-btn:hover { background: var(--c-accent-sf); color: var(--c-text-soft); text-decoration: none; }
.footer-note { text-align: center; font-size: 12px; opacity: .7; margin-top: var(--sp-6); padding-inline: var(--gutter); }
.footer-note a { color: var(--c-accent-sf); text-decoration: underline; }
.footer-legal { text-align: center; font-size: 12px; margin-top: var(--sp-2); }
.footer-legal a { color: var(--c-accent-sf); text-decoration: underline; }
.copyright { text-align: center; font-size: 13px; margin-top: var(--sp-3); }

/* ---------- 追従CTA（モバイル） ---------- */
.sticky-cta {
  display: none;
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 90;
  padding: var(--sp-3) var(--sp-4);
  padding-bottom: calc(var(--sp-3) + env(safe-area-inset-bottom, 0px));
  background: rgba(251, 246, 238, .95);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  border-top: 1px solid var(--c-line);
}
.sticky-cta.is-hidden { transform: translateY(120%); }
.sticky-cta { transition: transform .3s ease; }

/* ============================================================
   レスポンシブ
   ============================================================ */
@media (max-width: 900px) {
  .lesson-detail { grid-template-columns: 1fr; }
  .lesson-book-photo { max-width: 200px; }
  .footer-inner {
    grid-template-columns: 1fr 1fr;
    grid-template-areas: "brand brand" "nav sns";
  }
  .footer-brand { grid-area: brand; }
  .footer-nav { grid-area: nav; }
  .footer-sns { grid-area: sns; }
}

@media (max-width: 768px) {
  .gnav { display: none; }
  .hamburger {
    display: flex; flex-direction: column; justify-content: center; gap: 5px;
    width: 44px; height: 44px; margin-left: auto;
    background: var(--c-surface); border: 1px solid var(--c-line);
    border-radius: var(--r-sm); padding: 10px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, .08);
  }
  .hamburger span { display: block; width: 100%; height: 3px; background: var(--c-text); border-radius: 2px; transition: transform .25s ease, opacity .25s ease; }
  .hamburger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
  .hamburger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .hamburger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

  .header-ig { display: none; }
  .header-inner { gap: var(--sp-3); }
  .btn-mini-cta { margin-left: auto; }

  .mobile-menu { display: block; border-top: 1px solid var(--c-line); background: var(--c-base); }
  .mobile-menu[hidden] { display: none; }
  .mobile-menu ul { padding: var(--sp-3) var(--gutter) var(--sp-5); }
  .mobile-menu li { border-bottom: 1px solid var(--c-line); }
  .mobile-menu a { display: block; padding: var(--sp-4) 0; font-size: 16px; font-weight: 500; color: var(--c-text); }
  .mobile-menu .mm-cta { color: var(--c-accent-dk); font-weight: 700; }
  .mobile-menu .mm-ig { display: flex; align-items: center; gap: var(--sp-2); color: var(--c-accent-dk); font-weight: 700; }
  .mobile-menu .mm-ig svg { flex-shrink: 0; }

  .hero-grid { grid-template-columns: 1fr; text-align: center; }
  .hero-text .eyebrow { justify-content: center; }
  .hero-cta { display: flex; flex-direction: column; align-items: center; }
  .hero-cta .btn { width: 100%; max-width: 360px; }
  .hero-media { order: -1; max-width: 85%; }
  .hero-ribbon-2 { right: 0; }
  .hero-ribbon-1 { left: 0; }

  .teacher-grid { grid-template-columns: 1fr; }
  .teacher-media { margin-bottom: var(--sp-6); }
  .section-cta-left { text-align: center; }

  .step-flow { grid-template-columns: 1fr; }
  .step-card:not(:last-child)::after {
    top: auto; bottom: calc(-1 * var(--sp-5) / 2 - 6px); right: 50%;
    transform: translateX(50%) rotate(135deg);
  }

  .price-grid { grid-template-columns: 1fr; }

  .sticky-cta { display: block; }
}

@media (max-width: 480px) {
  /* フッターをコンパクトに：縦の間延びを防ぐ */
  .site-footer { padding-block: var(--sp-6) var(--sp-4); }
  .footer-inner {
    grid-template-columns: 1fr;
    grid-template-areas: "brand" "nav" "sns";
    gap: var(--sp-4);
    justify-items: center;
    text-align: center;
  }
  .footer-name { margin-bottom: var(--sp-2); }
  /* ナビは横並び・中央寄せ・折り返し */
  .footer-nav ul {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: var(--sp-1) var(--sp-4);
  }
  .footer-nav a { padding: var(--sp-2) var(--sp-1); }
  .footer-note { margin-top: var(--sp-4); }
  .copyright { margin-top: var(--sp-2); }

  .assurance { flex-direction: column; align-items: stretch; }
  .assurance li { justify-content: center; }
  .name-grid { grid-template-columns: 1fr; }
  .dob-row { flex-wrap: wrap; }
  .dob-row .select-wrap { flex: 1 1 28%; }
}

/* ---------- モーション低減 ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
  .photo-tilt { transform: none; }
}
