/* ==========================================================
   鶴川はるな坂ピアノ教室 — スタイルシート
   （白背景・淡いピンクの、明るく清潔感のあるデザイン）
   色を変えたいときは、下の「:root」の色コードを変更してください。
   ========================================================== */

:root {
  --paper: #ffffff;         /* ページの背景色（白） */
  --paper-deep: #ffffff;    /* 帯セクションの背景も白（ページ全体を白で統一） */
  --footer-pink: #fdf4f7;   /* ★ピンクを残すのはフッターだけ（ごく淡いピンク） */
  --ink: #2b2a30;           /* 文字色（クールな墨色） */
  --ink-soft: #7a767f;      /* 薄めの文字色 */
  --green: #c34f6f;         /* メインの色（ローズピンク）※旧・深緑 */
  --green-deep: #7c2f4a;    /* 濃いピンク（フッターなど）※旧・濃い緑 */
  --brass: #e29ab0;         /* アクセントの淡いピンク ※旧・真鍮色 */
  --line: #f0e2e8;          /* 罫線（淡いピンクグレー） */
  /* メニューなどの「案内」用のゴシック体。本文の明朝体と区別するために使います */
  --ui-font: "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Yu Gothic Medium",
             "Yu Gothic", Meiryo, sans-serif;

  /* ---------- 書体（フォント）の設定 ----------
     サイト全体の書体は、この3つを変えるだけで一気に切り替わります。
     --font-body    … 本文
     --font-display … 見出し・教室名・大きな数字など
     --font-latin   … 「ABOUT」「SHOKO MAEDAKO」のような小さな英字の飾り
     ※書体を見くらべるためのページ → /font-preview/ */
  --font-body: "Noto Serif JP", "Hiragino Mincho ProN", "Yu Mincho", serif;
  --font-display: "Shippori Mincho", "Noto Serif JP", serif;
  --font-latin: Georgia, "Times New Roman", serif;

  /* スクロールの深さ（0〜1）。script.js が動かします。
     上の帯の影の濃さに使います（下にいくほど、帯が浮いて見えます）。 */
  --wash: 0;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 80px; }

body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--paper);
  line-height: 2.05;
  font-size: 15.5px;
  overflow-wrap: anywhere;
  /* 飾りの文字（うっすら浮かぶ漢字や数字）が画面の外にはみ出しても、
     横スクロールが出ないようにします。clip なので上の sticky は効いたままです。 */
  overflow-x: clip;
  -webkit-text-size-adjust: 100%;
  -webkit-tap-highlight-color: rgba(195, 79, 111, .12);
}

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.7;
  letter-spacing: .08em;
}

::selection { background: var(--green); color: var(--paper); }

img { max-width: 100%; display: block; }
a { color: var(--green); }

/* ==========================================================
   上の帯（パソコンでは画面の上に貼りついて表示）
   1段目＝教室の名前、2段目＝メニュー。どちらも中央ぞろえです。
   ========================================================== */
.topbar {
  position: sticky; top: 0; z-index: 40;
  border-bottom: 1px solid var(--line);
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 11px 34px;
  /* すりガラスのような帯。うしろの中身がうっすら透けて見えます */
  background: rgba(255, 255, 255, .78);
  -webkit-backdrop-filter: blur(12px) saturate(140%);
          backdrop-filter: blur(12px) saturate(140%);
}
/* すりガラスに対応していないブラウザでは、ふつうの白にします */
@supports not ((backdrop-filter: blur(2px)) or (-webkit-backdrop-filter: blur(2px))) {
  .topbar { background: var(--paper); }
}

/* 下にスクロールすると、影だけがすこしずつ濃くなって、
   帯がページの上に「浮いている」ように見えます。 */
.topbar::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  box-shadow: 0 6px 20px rgba(124, 47, 74, .08);
  opacity: var(--wash, 0);
}
/* 帯の中身は、重ねた影より手前に置きます */
.top-brand, .top-nav { position: relative; z-index: 1; }

/* 教室の名前（名刺の表と同じ組み合わせ） */
.top-brand {
  flex: none; text-decoration: none; color: var(--ink);
  display: grid; grid-template-columns: auto auto;
  align-items: center; gap: 1px 12px;
}
/* バラの印は絵（SVG）なので、まるい写真わくは付けずにそのまま置きます */
.top-brand .rose-mark { grid-row: 1 / 3; width: 40px; height: 40px; }
.top-name {
  font-family: var(--font-display); font-weight: 600;
  font-size: 1.05rem; letter-spacing: .1em; line-height: 1.3;
  color: var(--green-deep); white-space: nowrap;
}
.top-en {
  font-size: .5rem; letter-spacing: .2em; white-space: nowrap;
  color: var(--brass); font-family: var(--font-latin);
}

/* ---------- メニュー（右がわ・横1列） ----------
   本文は明朝体なので、メニューだけゴシック体にして
   「読みもの」ではなく「案内」だと分かるようにしています。 */
.top-nav { display: flex; align-items: center; gap: 2px; }
.top-nav a, .nav-trigger {
  font-family: var(--ui-font);
  font-size: .76rem; font-weight: 500; letter-spacing: .13em;
  white-space: nowrap; color: var(--ink); text-decoration: none;
}
.top-nav > a, .nav-trigger {
  position: relative; display: flex; align-items: center; gap: 5px;
  padding: 10px 14px; background: none; border: 0; cursor: pointer;
  transition: color .2s;
}
.top-nav > a:hover, .nav-trigger:hover { color: var(--green); }
.top-nav a .ext { color: var(--brass); font-size: .85em; }

/* いま見ているところには、下に短い線を引きます */
.top-nav > a[aria-current="page"], .nav-trigger[data-current] { color: var(--green); }
.top-nav > a[aria-current="page"]::after, .nav-trigger[data-current]::after {
  content: ""; position: absolute; left: 14px; right: 14px; bottom: 3px;
  height: 1px; background: var(--brass);
}

/* 「▾」の印。ひらくと上を向きます */
.caret {
  width: 7px; height: 7px; margin-top: -3px; flex: none;
  border-right: 1px solid currentColor; border-bottom: 1px solid currentColor;
  transform: rotate(45deg); transition: transform .2s;
}
.nav-trigger[aria-expanded="true"] .caret { transform: rotate(-135deg); margin-top: 2px; }

/* ---------- まとめメニュー（ひらくと下に出ます） ---------- */
.nav-group { position: relative; }
.nav-menu {
  position: absolute; top: 100%; left: 50%; min-width: 178px;
  background: var(--paper); border: 1px solid var(--line);
  box-shadow: 0 14px 30px rgba(124, 47, 74, .1);
  padding: 5px 0;
  opacity: 0; visibility: hidden;
  transform: translateX(-50%) translateY(-6px);
  transition: opacity .18s ease, transform .18s ease, visibility .18s;
}
.nav-trigger[aria-expanded="true"] + .nav-menu {
  opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0);
}
.nav-menu a {
  display: block; padding: 11px 18px; color: var(--ink);
  transition: background .18s, color .18s;
}
.nav-menu a:hover { background: var(--footer-pink); color: var(--green); }
.nav-menu a[aria-current="page"] { color: var(--green); }

/* 体験レッスンのボタン（枠線を消す上の指定に負けないよう、細かく指定します） */
.top-nav > a.top-cta {
  margin-left: 10px; padding: 9px 17px;
  border: 1px solid var(--green); color: var(--green);
  transition: background .25s, color .25s;
}
.top-nav > a.top-cta:hover { background: var(--green); color: var(--paper); }
.top-nav > a.top-cta::after { content: none; }

/* せまめのパソコン画面では、少しだけ詰めます */
@media (min-width: 901px) and (max-width: 1100px) {
  .topbar { padding: 11px 20px; }
  .top-nav > a, .nav-trigger { padding: 10px 9px; }
  .top-en { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  .topbar, .nav-menu, .caret { transition: none; }
}

/* ---------- スマホ用ヘッダー ----------
   見た目の指定はここに、「出す／隠す」だけを下の @media に書いています。
   （サンクスページは .bare-bar として、パソコンでもこのヘッダーを使います） */
.mobile-head { display: none; }
.mobile-bar {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 8px max(14px, env(safe-area-inset-right)) 8px max(14px, env(safe-area-inset-left));
}
.mobile-bar .brand { display: flex; align-items: center; gap: 10px; min-width: 0; text-decoration: none; color: var(--ink); }
.mobile-bar .brand .rose-mark { flex: none; width: 36px; height: 36px; }
.mobile-bar .brand span {
  font-family: var(--font-display); font-weight: 600;
  font-size: .95rem; letter-spacing: .06em; line-height: 1.4;
  color: var(--green-deep);
  /* 「ピ｜アノ」のように語の途中で折り返さないようにします */
  overflow-wrap: normal; word-break: keep-all;
}
.bare-bar { background: var(--paper); border-bottom: 1px solid var(--line); }

.menu-toggle {
  flex: none; display: flex; align-items: center; gap: 8px;
  min-height: 44px; padding: 0 15px; cursor: pointer;
  background: none; border: 1px solid var(--line); color: var(--ink);
  font-family: inherit; font-size: .85rem; letter-spacing: .1em;
}
/* ボタンの中のハンバーガー印。開くと横線1本になります */
.menu-toggle::after {
  content: ""; width: 15px; height: 9px;
  border-top: 1px solid currentColor; border-bottom: 1px solid currentColor;
  transition: border-color .2s, height .2s;
}
.menu-toggle[aria-expanded="true"] { border-color: var(--green); color: var(--green); }
.menu-toggle[aria-expanded="true"]::after { height: 0; border-bottom-color: transparent; }

.mobile-nav { display: none; }

/* ---------- メイン領域 ---------- */
.wrap { max-width: 920px; margin: 0 auto; padding: 0 44px; }

@media (max-width: 900px) {
  .topbar { display: none; }
  .wrap { padding: 0 22px; }

  /* ヘッダーとメニューをひとまとめにして、上に貼りつけます
     （高さを決め打ちしないので、文字を大きくしてもずれません） */
  .mobile-head {
    display: block; position: sticky; top: 0; z-index: 50;
    border-bottom: 1px solid var(--line);
    /* パソコンの帯とそろえて、すりガラスにします */
    background: rgba(255, 255, 255, .82);
    -webkit-backdrop-filter: blur(12px) saturate(140%);
            backdrop-filter: blur(12px) saturate(140%);
  }
  @supports not ((backdrop-filter: blur(2px)) or (-webkit-backdrop-filter: blur(2px))) {
    .mobile-head { background: var(--paper); }
  }
  /* メニューはヘッダーの下に「かぶせて」出します。
     （position: absolute なので、開いてもページ本体は下に動きません） */
  .mobile-nav.open {
    display: block; position: absolute; top: 100%; left: 0; right: 0;
    background: var(--paper);
    border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
    box-shadow: 0 12px 24px rgba(0, 0, 0, .08);
    max-height: calc(100dvh - 60px); overflow-y: auto; overscroll-behavior: contain;
  }
  .mobile-nav a {
    display: block; text-decoration: none; color: var(--ink);
    font-size: .95rem; letter-spacing: .14em; text-align: center;
    padding: 14px 13px; border-top: 1px solid var(--line);
  }
  .mobile-nav a:first-child { border-top: none; }
  .mobile-nav a.cta { color: var(--green); font-weight: 600; }
  .mobile-nav a[aria-current="page"] { color: var(--green); background: var(--footer-pink); }
}

/* ==========================================================
   トップページ
   ========================================================== */

/* ---------- メインビジュアル（縦書きの見出し） ---------- */
.hero {
  position: relative; overflow: hidden;
  border-bottom: 1px solid var(--line);
  background: var(--paper);
}

/* 縦書きタイトルの後ろの、淡い月のような円 */
.hero h1 { position: relative; z-index: 0; }
.hero h1::before {
  content: ""; position: absolute; z-index: -1;
  width: 250px; height: 250px; border-radius: 50%;
  top: -36px; right: -78px;
  background: radial-gradient(circle at 36% 30%, #fdf7fa, #fbf2f6);
}

/* 左下にうっすら見える五線譜と、ゆらゆら漂う音符 */
.hero-deco { position: absolute; inset: 0; pointer-events: none; }
.hero-deco::before {
  content: ""; position: absolute; left: 0; bottom: 44px;
  width: 38%; height: 57px;
  background: repeating-linear-gradient(to bottom, rgba(200,120,150,.34) 0 1px, transparent 1px 14px);
  -webkit-mask-image: linear-gradient(to right, #000 25%, transparent);
          mask-image: linear-gradient(to right, #000 25%, transparent);
}
.hero-deco .note { position: absolute; color: var(--brass); opacity: .55; font-size: 1.3rem; animation: drift 6s ease-in-out infinite alternate; }
.hero-deco .n1 { left: 4%; bottom: 92px; }
.hero-deco .n2 { left: 13%; bottom: 56px; font-size: 1rem; animation-duration: 8s; animation-delay: .8s; }
.hero-deco .n3 { left: 24%; bottom: 100px; font-size: 1.55rem; animation-duration: 7s; animation-delay: 1.6s; }
@keyframes drift { from { transform: translateY(0); } to { transform: translateY(-13px); } }
.hero-inner {
  max-width: 1060px; margin: 0 auto; padding: 92px 44px;
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 470px);
  gap: 56px; align-items: stretch;
}
/* minmax(0, 1fr) と min-width: 0 で、画面がせまいときに左の列が縮みます
   （これがないと、写真が画面の右にはみ出します） */
.hero-left { display: flex; gap: 40px; align-items: flex-start; min-width: 0; }
.hero h1 {
  writing-mode: vertical-rl; font-size: clamp(1.7rem, 3vw, 2.3rem);
  letter-spacing: .3em; color: var(--ink); min-height: 320px;
  font-weight: 600;
  /* 縦書きは <br> のところだけで改行させます。折り返しを許すと、
     画面がせまいときに行が増えて横に広がり、写真を右に押し出してしまいます。 */
  white-space: nowrap;
}
.hero h1 em { font-style: normal; color: var(--green); }
/* 見出しの3行目（場所）。ほかの2行よりずっと小さく、そえるように置きます。
   縦書きでは <br> ごとに左へ列が増えるので、細い1列として並びます。 */
.hero h1 .h1-sub {
  font-size: .42em; letter-spacing: .2em; color: var(--ink-soft);
  font-weight: 400; font-family: var(--font-body);
}
/* 見出しの後ろの淡い丸が本文の上にかぶらないよう、本文を前面に置きます */
.hero-text { position: relative; z-index: 1; max-width: 380px; padding-top: 8px; }
.hero-text .lead { font-size: .95rem; }
.hero-text .place {
  margin-top: 22px; font-size: .82rem; color: var(--ink-soft);
  border-top: 1px solid var(--line); padding-top: 14px; letter-spacing: .06em;
}
.hero-cta { margin-top: 26px; display: flex; gap: 14px; flex-wrap: wrap; }

/* ヒーロー写真：街並みの写真に合わせた 4:3 のワイド表示
   （幅は grid の列にまかせているので、せまい画面でも右にはみ出しません） */
.hero-photo { position: relative; z-index: 0; width: 100%; align-self: start; }
.hero-photo img {
  width: 100%; height: auto;
  aspect-ratio: 4 / 3; object-fit: cover; object-position: 40% 50%;
}
.hero-photo::after {
  content: ""; position: absolute; inset: 12px -12px -12px 12px;
  border: 1px solid var(--brass); z-index: -1;
}

/* 幅のせまいノートパソコン・タブレット横向き：
   サイドバーがある分、本文・縦書きの見出し・写真を横に3つ並べると入りきりません。
   この幅では写真を下に回して、上下2段にします。 */
@media (min-width: 901px) and (max-width: 1220px) {
  .hero-inner { grid-template-columns: minmax(0, 1fr); padding: 64px 32px 72px; gap: 40px; }
  .hero-left { gap: 30px; }
  .hero-photo { width: 100%; max-width: 620px; }
  .hero-photo img { aspect-ratio: 16 / 9; }
}

@media (max-width: 900px) {
  .hero-inner { grid-template-columns: minmax(0, 1fr); padding: 44px 22px 52px; gap: 36px; }
  .hero h1 { writing-mode: horizontal-tb; min-height: 0; letter-spacing: .14em; white-space: normal; }
  .hero h1 .h1-sub { display: inline-block; margin-top: 12px; font-size: .5em; letter-spacing: .1em; }
  .hero h1::before { width: 150px; height: 150px; top: -46px; right: 4px; }
  .hero-deco { display: none; }
  .hero-left { flex-direction: column; gap: 20px; }
  .hero-left h1 { order: -1; }
  .hero-photo { width: 100%; }
  .hero-photo img { height: 250px; aspect-ratio: auto; }
  .hero-photo::after { display: none; }
  .hero-cta .btn { flex: 1 1 auto; min-width: 44%; }
  section.block { padding: 78px 0 82px; }
  .stitle .num { font-size: 3.4rem; top: -30px; left: 0; }
  .kanji-mark { font-size: 5.5rem; top: -16px; }
  .page-hero .kanji { font-size: 7rem; }
  .keys-divider { max-width: 300px; margin-top: 70px; }
}

/* ---------- 小さめのスマホ（iPhone SE など） ---------- */
@media (max-width: 430px) {
  .wrap { padding: 0 18px; }
  .mobile-bar .brand span { font-size: .85rem; }
  .menu-toggle { padding: 0 12px; font-size: .8rem; }
  .hero-inner { padding: 32px 18px 42px; gap: 28px; }
  .hero h1 { font-size: 1.5rem; letter-spacing: .08em; }
  .hero-photo img { height: 210px; }
  .hero-cta { gap: 10px; }
  .hero-cta .btn { flex: 1 1 100%; padding: 14px 18px; }
  section.block { padding: 58px 0 62px; }
  .block .body { margin-top: 38px; }
  .page-hero { padding: 52px 18px 44px; }
  .stitle { gap: 10px; }
  .stitle .en { font-size: .56rem; letter-spacing: .2em; }
  .voice { padding: 24px 24px; }
  .cta-band { padding: 60px 18px; }
  .keys-divider { max-width: 220px; margin-top: 52px; }
}

/* ---------- ボタン ---------- */
.btn {
  display: inline-block; text-decoration: none; text-align: center;
  font-size: .88rem; letter-spacing: .16em; padding: 13px 30px;
  transition: background .25s, color .25s;
}
.btn-primary { background: var(--green); color: var(--paper); border: 1px solid var(--green); }
.btn-primary:hover { background: var(--green-deep); border-color: var(--green-deep); }
.btn-ghost { border: 1px solid var(--ink); color: var(--ink); }
.btn-ghost:hover { background: var(--ink); color: var(--paper); }

/* ---------- お知らせ ---------- */
.news { border-bottom: 1px solid var(--line); background: var(--paper-deep); }
.news-inner { max-width: 920px; margin: 0 auto; padding: 34px 44px; display: grid; grid-template-columns: 130px 1fr; gap: 20px; }
.news h2 { font-size: .95rem; letter-spacing: .3em; color: var(--green); }
.news ul { list-style: none; }
.news li { font-size: .89rem; padding: 4px 0; }
.news li::before { content: "―"; color: var(--brass); margin-right: 10px; }
@media (max-width: 900px) { .news-inner { grid-template-columns: 1fr; gap: 6px; padding: 22px; } }

/* ---------- セクション共通 ---------- */
section.block { padding: 112px 0 116px; }
section.block .wrap { position: relative; }

/* 色つきの帯のセクション（class="alt" をつけると背景が変わります）
   ※ 線が多くなりすぎるので、上下の区切り線は引きません */
section.block.alt {
  background: var(--paper-deep);
}

.stitle {
  position: relative; z-index: 0;
  display: flex; align-items: baseline; gap: 18px;
  border-bottom: 1px solid var(--line); padding-bottom: 16px;
  font-size: clamp(1.25rem, 2.6vw, 1.5rem); color: var(--ink);
}
/* 大きな飾り数字（01, 02 …） */
.stitle .num {
  position: absolute; top: -46px; left: -8px; z-index: -1;
  font-family: var(--font-latin); font-size: 4.8rem; line-height: 1;
  letter-spacing: 0; font-weight: 400;
  color: rgba(195, 79, 111, .14);
  -webkit-text-fill-color: transparent;
  -webkit-text-stroke: 1px rgba(195, 79, 111, .34);
}
/* 見出しの罫線の左端に、短い真鍮色のアクセント */
.stitle::after {
  content: ""; position: absolute; left: 0; bottom: -1px;
  width: 64px; height: 1px; background: var(--brass);
}
.stitle .en { margin-left: auto; font-family: var(--font-latin); font-size: .62rem; letter-spacing: .3em; color: var(--ink-soft); }
.block .body { margin-top: 54px; }

/* セクションの背景にうっすら浮かぶ漢字 */
/* right を負の値にすると、画面の右に 6px はみ出して横スクロールの原因になります */
.kanji-mark {
  position: absolute; top: -30px; right: 0; z-index: -1;
  font-family: var(--font-display); font-size: 9rem; line-height: 1;
  color: rgba(195, 79, 111, .06);
  pointer-events: none; user-select: none;
}

/* 写真につける、少しずらした真鍮色の額縁 */
.framed { position: relative; z-index: 0; }
.framed::after {
  content: ""; position: absolute; inset: 12px -12px -12px 12px;
  border: 1px solid var(--brass); z-index: -1;
}

/* ---------- 教室について ---------- */
.about-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 48px; align-items: center; }
.about-grid .framed img { width: 100%; height: 330px; object-fit: cover; }
.about-points { list-style: none; margin: 20px 0; border-top: 1px solid var(--line); }
.about-points li { border-bottom: 1px solid var(--line); padding: 10px 4px; letter-spacing: .1em; }
.about-points li::before { content: "—"; color: var(--brass); margin-right: 12px; }
@media (max-width: 900px) { .about-grid { grid-template-columns: 1fr; gap: 26px; } .about-grid .framed img { height: 230px; } }

/* ---------- レッスン内容 ---------- */
.lesson-cols { display: grid; grid-template-columns: 1fr 1px 1fr; gap: 44px; }
.lesson-cols .divider { background: var(--line); }
.lesson-col h3 {
  font-size: 1.08rem; color: var(--green); letter-spacing: .16em;
  padding-bottom: 12px; margin-bottom: 16px; border-bottom: 1px solid var(--brass);
  display: inline-block;
}
.lesson-col p { font-size: .93rem; }
.lesson-col .note { font-size: .8rem; color: var(--ink-soft); margin-top: 12px; }
@media (max-width: 900px) { .lesson-cols { grid-template-columns: 1fr; gap: 34px; } .lesson-cols .divider { display: none; } }

/* ---------- 生徒さんの声（鉤括弧の飾り付き） ---------- */
.voices { display: grid; gap: 34px; }
.voice {
  position: relative; background: var(--paper-deep);
  padding: 30px 38px; font-size: .92rem;
}
.voice::before, .voice::after {
  font-family: var(--font-display); font-size: 2.4rem; line-height: 1;
  color: var(--brass); position: absolute;
}
.voice::before { content: "「"; top: -14px; left: -6px; }
.voice::after { content: "」"; bottom: -14px; right: -6px; }
.voice .who { margin-top: 10px; font-size: .8rem; color: var(--ink-soft); text-align: right; letter-spacing: .1em; }

/* ---------- 料金 ---------- */
.days-row {
  display: flex; align-items: baseline; gap: 24px;
  border: 1px solid var(--line); background: var(--paper-deep);
  padding: 18px 26px; flex-wrap: wrap;
}
.days-row .label { font-size: .82rem; letter-spacing: .3em; color: var(--green); }
.days-row .days { font-family: var(--font-display); font-size: 1.3rem; letter-spacing: .34em; }
.days-row .hint { font-size: .8rem; color: var(--ink-soft); margin-left: auto; }

/* レッスン日の下の、体験レッスンの案内（料金表と同じ見た目にそろえる） */
.trial-highlight {
  margin-top: 36px; display: flex; align-items: baseline; gap: 6px 24px; flex-wrap: wrap;
  padding: 13px 4px;
  border-top: 1px solid var(--ink); border-bottom: 1px solid var(--line);
  font-size: .93rem;
}
.trial-highlight .t-name { letter-spacing: .04em; }
.trial-highlight .t-name small { color: var(--ink-soft); font-size: .78rem; letter-spacing: .04em; }
.trial-highlight .t-price {
  margin-left: auto; white-space: nowrap;
  font-family: var(--font-display); font-size: 1.02rem; letter-spacing: .04em;
}
.trial-highlight .t-note { flex-basis: 100%; font-size: .8rem; color: var(--ink-soft); margin-top: 8px; }
@media (max-width: 900px) {
  .trial-highlight { gap: 6px 18px; }
}

.price-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 44px; margin-top: 36px; }
.price-col h3 { font-size: 1rem; letter-spacing: .14em; color: var(--ink); }
.price-col h3 small { display: block; font-size: .72rem; color: var(--brass); letter-spacing: .1em; font-weight: 400; margin-top: 2px; }
.price-col table { width: 100%; border-collapse: collapse; margin-top: 14px; font-size: .93rem; }
.price-col td { padding: 13px 4px; border-bottom: 1px solid var(--line); }
.price-col tr:first-child td { border-top: 1px solid var(--ink); }
.price-col td:last-child {
  text-align: right; white-space: nowrap;
  font-family: var(--font-display); font-size: 1.02rem; letter-spacing: .04em;
}
.price-col .note { font-size: .8rem; color: var(--ink-soft); margin-top: 12px; }
@media (max-width: 900px) { .price-cols { grid-template-columns: 1fr; gap: 36px; } .days-row .hint { margin-left: 0; } }

/* ---------- 講師紹介（トップページ） ---------- */
.teacher-teaser { display: grid; grid-template-columns: 240px 1fr; gap: 44px; align-items: center; }
.teacher-teaser .framed img { width: 100%; height: 280px; object-fit: cover; }
.teacher-teaser h3 { font-size: 1.2rem; letter-spacing: .14em; }
.teacher-teaser .en { font-family: var(--font-latin); font-size: .72rem; letter-spacing: .3em; color: var(--brass); }
.teacher-teaser p { font-size: .93rem; }
@media (max-width: 900px) { .teacher-teaser { grid-template-columns: 1fr; gap: 22px; } .teacher-teaser .framed { max-width: 300px; } }

/* ---------- アクセス ---------- */
.access-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 44px; align-items: start; }
.access-list { border-top: 1px solid var(--ink); }
.access-list > div { display: grid; grid-template-columns: 92px 1fr; gap: 16px; padding: 15px 4px; border-bottom: 1px solid var(--line); font-size: .93rem; }
.access-list dt { color: var(--green); letter-spacing: .2em; font-weight: 600; }
.access-list dd { margin: 0; }
.area-note { margin-top: 20px; font-size: .84rem; color: var(--ink-soft); }
.map-frame { border: 1px solid var(--line); padding: 8px; background: #fff; }
.map-frame iframe { width: 100%; height: 330px; border: 0; display: block; }
@media (max-width: 900px) {
  .access-grid { grid-template-columns: 1fr; }
  .access-list > div { grid-template-columns: 76px 1fr; gap: 12px; }
  .map-frame iframe { height: 260px; }
}

/* ---------- 鍵盤の飾り罫（緑の帯の手前） ---------- */
.keys-divider {
  height: 30px; max-width: 430px; margin: 96px auto 0; opacity: .5;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='154' height='30'%3E%3Cg stroke='%238b8672' fill='none'%3E%3Cpath d='M0 .5h154M0 29.5h154M.5 0v30M22 0v30M44 0v30M66 0v30M88 0v30M110 0v30M132 0v30M153.5 0v30'/%3E%3C/g%3E%3Cg fill='%2355524a'%3E%3Crect x='17' width='10' height='18'/%3E%3Crect x='39' width='10' height='18'/%3E%3Crect x='83' width='10' height='18'/%3E%3Crect x='105' width='10' height='18'/%3E%3Crect x='127' width='10' height='18'/%3E%3C/g%3E%3C/svg%3E") repeat-x center / auto 100%;
}

/* ---------- 申し込みへの誘導 ---------- */
.cta-band { position: relative; overflow: hidden; margin-top: 48px; background: var(--paper); color: var(--ink); text-align: center; padding: 80px 22px; }
.cta-band::before, .cta-band::after { display: none; }
.cta-band h2 { font-size: clamp(1.2rem, 2.6vw, 1.5rem); letter-spacing: .22em; }
.cta-band p { margin-top: 14px; font-size: .9rem; color: var(--ink-soft); }
.cta-band .btn { margin-top: 28px; border: 1px solid var(--ink); color: var(--ink); }
.cta-band .btn:hover { background: var(--ink); color: var(--paper); }

/* ==========================================================
   下層ページ（プロフィール・お問い合わせ）
   ========================================================== */
.page-hero { position: relative; overflow: hidden; border-bottom: 1px solid var(--line); padding: 78px 22px 62px; text-align: center; }
.page-hero .kanji {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -54%);
  font-family: var(--font-display); font-size: 10rem; line-height: 1;
  color: rgba(195, 79, 111, .055); pointer-events: none; user-select: none;
}
.page-hero h1 { font-size: clamp(1.35rem, 3vw, 1.7rem); letter-spacing: .3em; }
.page-hero .en { display: block; margin-top: 10px; font-family: var(--font-latin); font-size: .62rem; letter-spacing: .4em; color: var(--brass); }
.page-hero p { margin-top: 14px; color: var(--ink-soft); font-size: .84rem; }

/* ---------- プロフィール ---------- */
.profile-grid { display: grid; grid-template-columns: 320px 1fr; gap: 56px; align-items: start; padding: 82px 0; }
.profile-photo { position: relative; z-index: 0; }
/* height: auto を書かないと、img の height 属性（実寸）がそのまま高さになります */
.profile-photo img { width: 100%; height: auto; }
.profile-photo::after { content: ""; position: absolute; inset: 12px -12px -12px 12px; border: 1px solid var(--brass); z-index: -1; }
.profile-name { font-size: 1.4rem; letter-spacing: .12em; }
.profile-name .en { display: block; font-family: var(--font-latin); font-size: .72rem; letter-spacing: .32em; color: var(--brass); margin-top: 6px; font-weight: 400; }
.profile-body p { margin-top: 18px; font-size: .95rem; }
.profile-tags { margin-top: 26px; display: flex; flex-wrap: wrap; gap: 8px 10px; }
.profile-tags span { border: 1px solid var(--line); color: var(--ink-soft); font-size: .78rem; padding: 4px 14px; letter-spacing: .08em; }
@media (max-width: 900px) { .profile-grid { grid-template-columns: 1fr; padding: 58px 0; } .profile-photo { max-width: 300px; } }

/* ---------- お問い合わせ ---------- */
.contact-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; padding: 82px 0; align-items: start; }
.contact-form { border: 1px solid var(--line); background: var(--paper-deep); padding: 36px 34px; }
.contact-form label { display: block; font-size: .88rem; letter-spacing: .1em; font-weight: 600; margin-top: 22px; }
.contact-form label:first-of-type { margin-top: 0; }
.contact-form .req { color: var(--brass); font-size: .72rem; margin-left: 8px; }
.contact-form input, .contact-form select, .contact-form textarea {
  width: 100%; margin-top: 8px; padding: 11px 13px; font-size: .98rem;
  border: 1px solid var(--line); background: var(--paper);
  font-family: inherit; color: var(--ink);
}
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus {
  outline: 1px solid var(--green); border-color: var(--green);
}
.contact-form button {
  margin-top: 30px; width: 100%; cursor: pointer; font-family: inherit; font-size: .95rem;
}
.contact-aside h3 {
  font-size: 1rem; letter-spacing: .2em; color: var(--green);
  border-bottom: 1px solid var(--brass); display: inline-block;
  padding-bottom: 8px; margin: 30px 0 12px;
}
.contact-aside h3:first-child { margin-top: 0; }
.contact-aside p, .contact-aside li { font-size: .9rem; }
.contact-aside ol { padding-left: 1.5em; margin-top: 6px; }
.mail-box {
  border: 1px solid var(--line); background: var(--paper-deep);
  padding: 14px 18px; margin-top: 12px; text-align: center;
  font-size: 1rem; letter-spacing: .06em;
}
.mail-box a { color: var(--green); text-decoration: none; }
@media (max-width: 900px) {
  .contact-grid { grid-template-columns: 1fr; padding: 58px 0; }
  .contact-form { padding: 26px 20px; }
  /* iPhone は 16px 未満の入力欄に触れると画面を拡大してしまうので、16px にそろえます */
  .contact-form input, .contact-form select, .contact-form textarea { font-size: 16px; padding: 12px 13px; }
  .contact-form button { min-height: 48px; }
}

/* サンクスページ */
.thanks { text-align: center; padding: 100px 22px; }
.thanks h1 { letter-spacing: .2em; }
.thanks p { margin-top: 18px; font-size: .95rem; }
.thanks .btn { margin-top: 32px; }

/* 404ページ（お探しのページが見つからなかったとき） */
.notfound { text-align: center; padding: 88px 22px 100px; max-width: 640px; margin: 0 auto; }
.notfound .nf-code {
  font-family: var(--font-latin);
  font-size: 4rem; line-height: 1;
  color: var(--brass); letter-spacing: .12em; margin: 0 0 18px;
}
.notfound h1 { letter-spacing: .16em; font-size: 1.3rem; }
.notfound .nf-lead { margin-top: 18px; font-size: .95rem; color: var(--ink-soft); line-height: 2; }
.notfound .nf-links {
  list-style: none; padding: 0;
  margin: 40px auto 0; text-align: left;
  border-top: 1px solid var(--line);
}
.notfound .nf-links li { border-bottom: 1px solid var(--line); }
.notfound .nf-links a {
  display: block; padding: 15px 4px 5px;
  font-family: var(--font-display); font-size: 1rem;
  color: var(--green-deep); text-decoration: none;
}
.notfound .nf-links a:hover { color: var(--green); }
.notfound .nf-links span {
  display: block; padding: 0 4px 15px;
  font-size: .8rem; color: var(--ink-soft);
}
.notfound .btn { margin-top: 38px; }

@media (max-width: 700px) {
  .notfound { padding: 62px 20px 76px; }
  .notfound .nf-code { font-size: 3rem; }
  .notfound h1 { font-size: 1.12rem; }
}

/* ==========================================================
   アニメーション
   （動きを止めたいときは、この一角をまるごと削除してもOK）
   ========================================================== */
@keyframes fadeUp { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }

/* ページを開いたときの、メインビジュアルのふわっとした表示 */
.hero-text { animation: fadeUp .9s .1s ease both; }
.hero h1 { animation: fadeIn 1.3s .5s ease both; }
.hero-photo img { animation: fadeIn 1.1s .25s ease both; }
.hero-photo::after { animation: fadeIn 1s .9s ease both; }
.page-hero h1, .page-hero .en, .page-hero p { animation: fadeUp .8s .1s ease both; }
.page-hero p { animation-delay: .3s; }

/* スクロールに合わせて各セクションがふわっと現れる（script.js が制御） */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .9s ease, transform .9s ease; }
.reveal.in { opacity: 1; transform: translateY(0); }

/* スマホのメニューを開いたとき */
.mobile-nav.open a { animation: fadeUp .3s ease both; }

/* 「視差効果を減らす」設定の方には動きを止める */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero-text, .hero h1, .hero-photo img, .hero-photo::after,
  .page-hero h1, .page-hero .en, .page-hero p, .mobile-nav.open a,
  .hero-deco .note { animation: none; }
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ==========================================================
   演奏会ページ
   ========================================================== */
/* padding の一括指定にすると .wrap の左右の余白が消えてしまうので、上下だけ指定します */
.concerts { padding-top: 72px; padding-bottom: 92px; }
.concert-section + .concert-section { margin-top: 88px; }
.concert-list { margin-top: 44px; }

.concert {
  display: grid; grid-template-columns: 190px 1fr; gap: 40px;
  padding: 38px 2px; border-bottom: 1px solid var(--line);
}
.concert:first-child { border-top: 1px solid var(--line); }

.concert .flyer { background: #fff; border: 1px solid var(--line); padding: 6px; margin-bottom: 16px; }
.concert .flyer img { width: 100%; height: auto; display: block; }

.concert .when .date {
  font-family: var(--font-display); font-size: 1.06rem;
  color: var(--green); letter-spacing: .04em; line-height: 1.6;
}
.concert .when .time { margin-top: 8px; font-size: .78rem; color: var(--ink-soft); letter-spacing: .05em; }

.concert h3 { font-size: 1.16rem; letter-spacing: .07em; line-height: 1.7; }
.concert .venue { margin-top: 9px; font-size: .9rem; color: var(--ink-soft); }
.concert .venue .area { margin-left: 12px; padding-left: 12px; border-left: 1px solid var(--line); }
.concert .with { margin-top: 12px; font-size: .9rem; }
.concert .with::before { content: "♪"; color: var(--brass); margin-right: 9px; }

.concert .program { margin-top: 16px; }
.concert .program .plabel {
  display: inline-block; font-size: .7rem; letter-spacing: .22em; color: var(--green);
  border-bottom: 1px solid var(--brass); padding-bottom: 4px; margin-bottom: 10px;
}
.concert .program ul { list-style: none; }
.concert .program li { position: relative; padding: 3px 0 3px 18px; font-size: .88rem; }
.concert .program li::before { content: "—"; position: absolute; left: 0; color: var(--brass); }

.concert .more { margin-top: 16px; }
.concert .more a { text-decoration: none; color: var(--green); font-size: .88rem; letter-spacing: .05em; }
.concert .more a:hover { text-decoration: underline; }
.concert .more .ext { color: var(--brass); font-size: .85em; }

/* これまでの演奏会は少し控えめに */
.concert-list.past .concert .when .date { color: var(--ink-soft); }
.concert-list.past .concert h3 { font-size: 1.05rem; }

@media (max-width: 900px) {
  .concerts { padding-top: 40px; padding-bottom: 56px; }
  .concert { grid-template-columns: 1fr; gap: 14px; padding: 26px 0; }
  .concert .flyer { max-width: 220px; margin-bottom: 4px; }
  .concert .when-text { display: flex; align-items: baseline; gap: 14px; }
  .concert .when-text .time { margin-top: 0; }
}

/* ==========================================================
   レッスンの様子ページ
   ========================================================== */
.lessons { padding-top: 72px; padding-bottom: 92px; }
.lessons-intro {
  max-width: 620px; margin: 0 auto; text-align: center;
  font-size: .95rem; line-height: 2.2;
}

.gallery { margin-top: 66px; display: grid; grid-template-columns: 1fr 1fr; gap: 62px 48px; }

.shot .frame { position: relative; z-index: 0; background: #fff; border: 1px solid var(--line); padding: 8px; }
/* 真鍮色の細い枠を少しずらして重ねる（写真を一枚ずつ額装したような見え方） */
.shot .frame::after { content: ""; position: absolute; inset: 12px -12px -12px 12px; border: 1px solid var(--brass); z-index: -1; }
.shot:nth-child(even) .frame::after { inset: 12px 12px -12px -12px; }
.shot img { width: 100%; height: 250px; object-fit: cover; }

.shot figcaption { margin-top: 26px; }
.shot .cap-title { font-family: var(--font-display); font-size: 1.04rem; letter-spacing: .12em; }
.shot .cap-title::before { content: "♪"; color: var(--brass); margin-right: 10px; font-size: .9em; }
.shot .cap-text { margin-top: 10px; font-size: .87rem; color: var(--ink-soft); }

/* 1枚目は横いっぱいに大きく */
.shot.wide { grid-column: 1 / -1; }
.shot.wide img { height: 400px; }
.shot.wide figcaption { max-width: 620px; }

.lessons-outro {
  margin-top: 78px; padding-top: 40px; border-top: 1px solid var(--line);
  text-align: center; font-size: .93rem; color: var(--ink-soft); line-height: 2.2;
}

@media (max-width: 900px) {
  .lessons { padding-top: 44px; padding-bottom: 60px; }
  .gallery { grid-template-columns: 1fr; gap: 46px; margin-top: 44px; }
  .shot img, .shot.wide img { height: 220px; }
  .shot figcaption { margin-top: 20px; }
  .lessons-outro { margin-top: 52px; }
}

/* ==========================================================
   フッター
   ========================================================== */
.site-footer { background: var(--footer-pink); border-top: 1px solid var(--line); color: #6f6670; padding: 52px 22px 30px; }
.footer-inner { max-width: 920px; margin: 0 auto; text-align: center; }
.fbrand { font-family: var(--font-display); font-size: 1.1rem; letter-spacing: .24em; color: var(--ink); }
.fbrand small { display: block; font-family: var(--font-latin); font-size: .58rem; letter-spacing: .32em; opacity: .7; margin-top: 6px; }
.footer-nav { margin-top: 22px; display: flex; justify-content: center; gap: 6px 22px; flex-wrap: wrap; font-size: .82rem; letter-spacing: .08em; }
.footer-nav a { color: #6f6670; text-decoration: none; opacity: .85; }
.footer-nav a:hover { opacity: 1; color: var(--green); text-decoration: underline; }
.footer-seo { margin-top: 24px; font-size: .74rem; opacity: .65; line-height: 2; }
.copyright { margin-top: 18px; font-size: .72rem; opacity: .55; letter-spacing: .1em; }

@media (max-width: 900px) {
  .site-footer { padding: 40px 18px calc(24px + env(safe-area-inset-bottom)); }
  /* 指で押しやすいように、リンクの間隔を広げます */
  .footer-nav { gap: 2px 18px; }
  .footer-nav a { display: inline-block; padding: 7px 0; }
  .footer-seo { text-align: left; }
}
