/* ==========================================================================
   おとのは音楽教室  /  Global Stylesheet
   Ivory × Deep Blue × Yamabuki — 上品で温かい音楽教室サイト
   ========================================================================== */

:root {
  /* Colors */
  --c-ivory:         #faf6ee;
  --c-ivory-deep:    #f3ecdf;
  --c-blue:          #1d3557;
  --c-blue-dark:     #142844;
  --c-blue-soft:     #2c4a76;
  --c-yamabuki:      #e8a317;
  --c-yamabuki-dark: #c98b0b;
  --c-yamabuki-soft: rgba(232, 163, 23, 0.12);
  --c-bg:            #fffdf9;
  --c-text:          #2b2b27;
  --c-text-soft:     #57554e;
  --c-text-mute:     #8a8779;
  --c-border:        #e7e0d2;
  --c-white:         #ffffff;

  /* Shape & shadow */
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --shadow-sm: 0 1px 3px rgba(29, 53, 87, 0.07);
  --shadow-md: 0 6px 22px rgba(29, 53, 87, 0.10);
  --shadow-lg: 0 16px 48px rgba(29, 53, 87, 0.14);

  /* Layout */
  --container: 1140px;
  --gap: 26px;
  --header-h: 78px;

  /* Type */
  --font-serif: "Shippori Mincho", "Hiragino Mincho ProN", "Yu Mincho", serif;
  --font-sans: "Noto Sans JP", "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Yu Gothic", "Meiryo", sans-serif;
}

/* Reset ------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.9;
  color: var(--c-text);
  background: var(--c-bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img, svg { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; transition: color .2s; }
a:hover { color: var(--c-yamabuki-dark); }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
h1, h2, h3, h4 {
  font-family: var(--font-serif);
  font-weight: 600;
  line-height: 1.5;
  margin: 0;
  letter-spacing: .04em;
  color: var(--c-blue);
}
p { margin: 0 0 1em; }
table { border-collapse: collapse; width: 100%; }

::selection { background: var(--c-yamabuki); color: #fff; }

/* Layout helpers ---------------------------------------------------------- */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}
.section { padding: 100px 0; }
.section-sm { padding: 64px 0; }
.section-ivory { background: var(--c-ivory); }
.section-dark { background: var(--c-blue); color: #fff; }
.section-dark h2, .section-dark h3 { color: #fff; }
.text-center { text-align: center; }

.section-head { text-align: center; margin-bottom: 60px; }
.section-head .en {
  display: inline-block;
  font-family: var(--font-serif);
  font-size: 13px;
  letter-spacing: .35em;
  text-transform: uppercase;
  color: var(--c-yamabuki-dark);
  font-weight: 600;
  margin-bottom: 14px;
}
.section-head h2 {
  font-size: clamp(26px, 3.4vw, 38px);
  position: relative;
  display: inline-block;
  padding-bottom: 18px;
}
.section-head h2::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 48px;
  height: 2px;
  background: var(--c-yamabuki);
}
.section-dark .section-head h2::after { background: var(--c-yamabuki); }
.section-head p {
  margin-top: 20px;
  color: var(--c-text-soft);
  max-width: 660px;
  margin-left: auto;
  margin-right: auto;
}
.section-dark .section-head p { color: rgba(255,255,255,.82); }

/* Fade-up animation -------------------------------------------------------- */
.fade-up {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity .7s ease, transform .7s ease;
}
.fade-up.is-visible {
  opacity: 1;
  transform: translateY(0);
}
@media (prefers-reduced-motion: reduce) {
  .fade-up { opacity: 1; transform: none; transition: none; }
}

/* Buttons ------------------------------------------------------------------ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 30px;
  font-weight: 700;
  font-size: 15px;
  letter-spacing: .05em;
  border-radius: 999px;
  transition: transform .15s, box-shadow .2s, background .2s, color .2s;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary {
  background: var(--c-yamabuki);
  color: #fff;
  box-shadow: var(--shadow-md);
}
.btn-primary:hover { background: var(--c-yamabuki-dark); color: #fff; box-shadow: var(--shadow-lg); }
.btn-secondary {
  background: transparent;
  color: var(--c-blue);
  border: 2px solid var(--c-blue);
}
.btn-secondary:hover { background: var(--c-blue); color: #fff; }
.section-dark .btn-secondary { color: #fff; border-color: rgba(255,255,255,.7); }
.section-dark .btn-secondary:hover { background: #fff; color: var(--c-blue); }
.btn-lg { padding: 18px 44px; font-size: 16px; }
.btn .arrow { transition: transform .2s; }
.btn:hover .arrow { transform: translateX(4px); }

/* Header ------------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 253, 249, 0.95);
  backdrop-filter: saturate(1.4) blur(10px);
  -webkit-backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid var(--c-border);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-h);
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--c-blue);
}
.brand:hover { color: var(--c-blue); }
.brand-mark {
  width: 46px; height: 46px;
  flex: none;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--c-blue);
  color: var(--c-yamabuki);
  box-shadow: var(--shadow-sm);
}
.brand-mark svg { width: 24px; height: 24px; }
.brand-text { line-height: 1.25; }
.brand-text .name {
  display: block;
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 19px;
  letter-spacing: .06em;
  color: var(--c-blue);
}
.brand-text .sub {
  display: block;
  font-size: 10px;
  color: var(--c-text-mute);
  letter-spacing: .28em;
  text-transform: uppercase;
}

.nav {
  display: flex;
  align-items: center;
  gap: 2px;
}
.nav a {
  padding: 8px 13px;
  font-size: 14px;
  font-weight: 600;
  color: var(--c-text);
  border-radius: var(--radius-sm);
}
.nav a:hover, .nav a.active {
  color: var(--c-yamabuki-dark);
  background: var(--c-yamabuki-soft);
}
.nav .btn {
  margin-left: 10px;
  padding: 11px 22px;
  font-size: 14px;
}
.nav .btn:hover { color: #fff; }

.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 9px 14px;
  border: 1px solid var(--c-border);
  border-radius: 10px;
  background: #fff;
}
.nav-toggle::after {
  content: "メニュー";
  font-size: 12px;
  font-weight: 700;
  color: var(--c-blue);
  letter-spacing: .05em;
  line-height: 1;
  white-space: nowrap;
}
.nav-toggle.is-open::after { content: "閉じる"; }
.nav-toggle span {
  position: relative;
  display: block;
  margin: 7px 0;
  width: 22px; height: 2px;
  background: var(--c-blue);
  transition: .2s;
}
.nav-toggle span::before,
.nav-toggle span::after {
  content: "";
  position: absolute; left: 0;
  width: 22px; height: 2px;
  background: var(--c-blue);
  transition: .2s;
}
.nav-toggle span::before { top: -7px; }
.nav-toggle span::after  { top:  7px; }
.nav-toggle.is-open span { background: transparent; }
.nav-toggle.is-open span::before { top: 0; transform: rotate(45deg); }
.nav-toggle.is-open span::after  { top: 0; transform: rotate(-45deg); }

/* Hero (top page) ----------------------------------------------------------- */
.hero {
  position: relative;
  overflow: hidden;
  background: var(--c-ivory);
  padding: 110px 0 96px;
}
.hero::before {
  content: "";
  position: absolute;
  top: -180px; right: -180px;
  width: 520px; height: 520px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--c-yamabuki-soft) 0%, transparent 68%);
  pointer-events: none;
}
.hero::after {
  content: "";
  position: absolute;
  bottom: -220px; left: -160px;
  width: 480px; height: 480px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(29, 53, 87, 0.07) 0%, transparent 68%);
  pointer-events: none;
}
.hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 60px;
  align-items: center;
}
.hero .eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 7px 18px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .18em;
  color: var(--c-blue);
  background: #fff;
  border: 1px solid var(--c-border);
  border-radius: 999px;
  box-shadow: var(--shadow-sm);
  margin-bottom: 26px;
}
.hero .eyebrow svg { width: 14px; height: 14px; color: var(--c-yamabuki); }
.hero h1 {
  font-size: clamp(30px, 4.6vw, 52px);
  line-height: 1.45;
  margin-bottom: 26px;
}
.hero h1 em {
  font-style: normal;
  color: var(--c-blue);
  background: linear-gradient(transparent 64%, rgba(232, 163, 23, .32) 64%);
  padding: 0 2px;
}
.hero p {
  font-size: 16px;
  color: var(--c-text-soft);
  margin-bottom: 38px;
  max-width: 520px;
}
.hero-ctas {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}
.hero-visual {
  position: relative;
}
.hero-visual .photo {
  position: relative;
  aspect-ratio: 4 / 5;
  border-radius: 120px 120px var(--radius-lg) var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.hero-visual .photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-visual .badge {
  position: absolute;
  bottom: -22px;
  left: -24px;
  display: flex;
  align-items: center;
  gap: 14px;
  background: #fff;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  padding: 16px 24px;
}
.hero-visual .badge .icon {
  width: 46px; height: 46px;
  flex: none;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--c-yamabuki-soft);
  color: var(--c-yamabuki-dark);
}
.hero-visual .badge .icon svg { width: 22px; height: 22px; }
.hero-visual .badge strong {
  display: block;
  font-family: var(--font-serif);
  font-size: 16px;
  color: var(--c-blue);
  line-height: 1.4;
}
.hero-visual .badge span.note {
  display: block;
  font-size: 12px;
  color: var(--c-text-mute);
}

/* Page hero (lower pages) --------------------------------------------------- */
.page-hero {
  position: relative;
  background: var(--c-blue);
  color: #fff;
  padding: 84px 0 76px;
  overflow: hidden;
}
.page-hero::before {
  content: "";
  position: absolute;
  top: -140px; right: -100px;
  width: 420px; height: 420px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(232,163,23,.22) 0%, transparent 65%);
  pointer-events: none;
}
.page-hero .en {
  display: block;
  font-family: var(--font-serif);
  font-size: 13px;
  letter-spacing: .35em;
  text-transform: uppercase;
  color: var(--c-yamabuki);
  margin-bottom: 12px;
}
.page-hero h1 {
  color: #fff;
  font-size: clamp(28px, 3.8vw, 42px);
}
.page-hero p {
  margin: 18px 0 0;
  color: rgba(255,255,255,.82);
  max-width: 640px;
}
.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 26px;
  font-size: 12px;
  color: rgba(255,255,255,.6);
}
.breadcrumb a { color: rgba(255,255,255,.85); }
.breadcrumb a:hover { color: var(--c-yamabuki); }
.breadcrumb .sep { color: rgba(255,255,255,.4); }

/* Feature cards -------------------------------------------------------------- */
.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--gap);
}
.card {
  background: #fff;
  padding: 40px 30px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--c-border);
  transition: transform .25s, box-shadow .25s, border-color .25s;
}
.card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: transparent;
}
.card .icon {
  width: 60px; height: 60px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--c-yamabuki-soft);
  color: var(--c-yamabuki-dark);
  margin-bottom: 22px;
}
.card .icon svg { width: 27px; height: 27px; }
.card h3 {
  font-size: 19px;
  margin-bottom: 12px;
}
.card p {
  font-size: 14px;
  color: var(--c-text-soft);
  margin: 0;
  line-height: 1.9;
}
.card .num {
  font-family: var(--font-serif);
  font-size: 13px;
  letter-spacing: .25em;
  color: var(--c-yamabuki-dark);
  display: block;
  margin-bottom: 10px;
}

/* Course preview (top page) --------------------------------------------------- */
.course-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--gap);
}
.course-card {
  position: relative;
  background: #fff;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--c-border);
  transition: transform .25s, box-shadow .25s;
  display: flex;
  flex-direction: column;
}
.course-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}
.course-card .thumb {
  aspect-ratio: 16 / 10;
  overflow: hidden;
}
.course-card .thumb img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .5s ease;
}
.course-card:hover .thumb img { transform: scale(1.05); }
.course-card .body {
  padding: 26px 26px 28px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.course-card .tag {
  align-self: flex-start;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .12em;
  color: var(--c-yamabuki-dark);
  background: var(--c-yamabuki-soft);
  border-radius: 999px;
  padding: 4px 14px;
  margin-bottom: 14px;
}
.course-card h3 { font-size: 20px; margin-bottom: 10px; }
.course-card p {
  font-size: 14px;
  color: var(--c-text-soft);
  margin-bottom: 18px;
  flex: 1;
}
.course-card .price {
  font-size: 13px;
  color: var(--c-text-mute);
}
.course-card .price strong {
  font-family: var(--font-serif);
  font-size: 20px;
  color: var(--c-blue);
  margin-right: 4px;
}
.course-card .more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 14px;
  font-size: 14px;
  font-weight: 700;
  color: var(--c-yamabuki-dark);
}
.course-card .more .arrow { transition: transform .2s; }
.course-card:hover .more .arrow { transform: translateX(4px); }

/* Price tables (course page) --------------------------------------------------- */
.course-detail {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 48px;
  align-items: start;
  margin-bottom: 96px;
}
.course-detail:last-child { margin-bottom: 0; }
.course-detail.reverse .course-photo { order: 2; }
.course-photo {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  position: sticky;
  top: calc(var(--header-h) + 24px);
}
.course-photo img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.course-info .tag {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .14em;
  color: var(--c-yamabuki-dark);
  background: var(--c-yamabuki-soft);
  border-radius: 999px;
  padding: 5px 16px;
  margin-bottom: 14px;
}
.course-info h3 {
  font-size: clamp(22px, 2.6vw, 28px);
  margin-bottom: 14px;
}
.course-info > p {
  font-size: 15px;
  color: var(--c-text-soft);
  margin-bottom: 26px;
}
.price-table {
  background: #fff;
  border: 1px solid var(--c-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.price-table table { width: 100%; }
.price-table th, .price-table td {
  padding: 15px 18px;
  font-size: 14px;
  text-align: left;
  border-bottom: 1px solid var(--c-border);
}
.price-table tr:last-child th,
.price-table tr:last-child td { border-bottom: 0; }
.price-table thead th {
  background: var(--c-blue);
  color: #fff;
  font-weight: 600;
  font-size: 13px;
  letter-spacing: .08em;
}
.price-table tbody th {
  width: 38%;
  background: var(--c-ivory);
  color: var(--c-blue);
  font-weight: 700;
  vertical-align: top;
}
.price-table td .yen {
  font-family: var(--font-serif);
  font-size: 17px;
  font-weight: 700;
  color: var(--c-blue);
}
.price-table td small {
  display: block;
  color: var(--c-text-mute);
  font-size: 12px;
}
.course-note {
  margin-top: 14px;
  font-size: 12px;
  color: var(--c-text-mute);
}

/* Teacher page ------------------------------------------------------------------ */
.teacher {
  display: grid;
  grid-template-columns: 380px 1fr;
  gap: 48px;
  align-items: start;
  margin-bottom: 96px;
}
.teacher:last-child { margin-bottom: 0; }
.teacher.reverse .teacher-photo { order: 2; }
.teacher-photo {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}
.teacher-photo img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.teacher-body .role {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .14em;
  color: var(--c-yamabuki-dark);
  background: var(--c-yamabuki-soft);
  border-radius: 999px;
  padding: 5px 16px;
  margin-bottom: 14px;
}
.teacher-body h3 {
  font-size: clamp(24px, 2.8vw, 30px);
  margin-bottom: 4px;
}
.teacher-body .kana {
  font-size: 12px;
  letter-spacing: .25em;
  color: var(--c-text-mute);
  margin-bottom: 22px;
}
.teacher-body h4 {
  font-size: 15px;
  letter-spacing: .12em;
  color: var(--c-blue);
  border-left: 3px solid var(--c-yamabuki);
  padding-left: 12px;
  margin: 26px 0 12px;
}
.teacher-body ul {
  margin: 0;
  padding-left: 20px;
  font-size: 14px;
  color: var(--c-text-soft);
}
.teacher-body ul li { margin-bottom: 6px; }
.teacher-message {
  background: var(--c-ivory);
  border-radius: var(--radius-md);
  padding: 24px 26px;
  font-size: 14px;
  color: var(--c-text-soft);
  position: relative;
}
.teacher-message::before {
  content: "“";
  position: absolute;
  top: -6px;
  left: 16px;
  font-family: var(--font-serif);
  font-size: 56px;
  line-height: 1;
  color: var(--c-yamabuki);
}
.teacher-message p { margin: 0; padding-top: 10px; }

/* Voice page ---------------------------------------------------------------------- */
.voice-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--gap);
}
.voice-card {
  background: #fff;
  border: 1px solid var(--c-border);
  border-radius: var(--radius-lg);
  padding: 34px 30px 30px;
  position: relative;
  transition: transform .25s, box-shadow .25s;
}
.voice-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.voice-card::before {
  content: "“";
  position: absolute;
  top: 12px;
  left: 24px;
  font-family: var(--font-serif);
  font-size: 64px;
  line-height: 1;
  color: var(--c-yamabuki-soft);
}
.voice-card .stars {
  display: flex;
  gap: 3px;
  color: var(--c-yamabuki);
  margin-bottom: 16px;
}
.voice-card .stars svg { width: 16px; height: 16px; }
.voice-card h3 { font-size: 17px; margin-bottom: 12px; }
.voice-card p {
  font-size: 14px;
  color: var(--c-text-soft);
  margin-bottom: 18px;
}
.voice-card .who {
  display: flex;
  align-items: center;
  gap: 12px;
  border-top: 1px dashed var(--c-border);
  padding-top: 16px;
}
.voice-card .who .avatar {
  width: 42px; height: 42px;
  flex: none;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--c-blue);
  color: var(--c-yamabuki);
}
.voice-card .who .avatar svg { width: 20px; height: 20px; }
.voice-card .who strong {
  display: block;
  font-size: 14px;
  color: var(--c-blue);
  line-height: 1.4;
}
.voice-card .who span {
  display: block;
  font-size: 12px;
  color: var(--c-text-mute);
}

/* Gallery (recital) ------------------------------------------------------------------ */
.gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--gap);
}
.gallery figure {
  margin: 0;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  background: #fff;
  border: 1px solid var(--c-border);
}
.gallery img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transition: transform .5s ease;
}
.gallery figure:hover img { transform: scale(1.05); }
.gallery figcaption {
  padding: 14px 18px;
  font-size: 13px;
  color: var(--c-text-soft);
}

/* Trial page (flow + form) ------------------------------------------------------------- */
.flow {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--gap);
  counter-reset: flow;
}
.flow-step {
  position: relative;
  background: #fff;
  border: 1px solid var(--c-border);
  border-radius: var(--radius-lg);
  padding: 36px 24px 30px;
  text-align: center;
}
.flow-step::before {
  counter-increment: flow;
  content: "0" counter(flow);
  position: absolute;
  top: -16px;
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--font-serif);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .1em;
  color: #fff;
  background: var(--c-yamabuki);
  border-radius: 999px;
  padding: 4px 16px;
  box-shadow: var(--shadow-sm);
}
.flow-step .icon {
  width: 58px; height: 58px;
  margin: 0 auto 18px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--c-yamabuki-soft);
  color: var(--c-yamabuki-dark);
}
.flow-step .icon svg { width: 26px; height: 26px; }
.flow-step h3 { font-size: 16px; margin-bottom: 10px; }
.flow-step p { font-size: 13px; color: var(--c-text-soft); margin: 0; }

.form-wrap {
  max-width: 720px;
  margin: 0 auto;
  background: #fff;
  border: 1px solid var(--c-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  padding: 48px;
}
.form-row { margin-bottom: 26px; }
.form-row label {
  display: block;
  font-size: 14px;
  font-weight: 700;
  color: var(--c-blue);
  margin-bottom: 8px;
}
.form-row label .req {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  color: #fff;
  background: #c0392b;
  border-radius: 4px;
  padding: 1px 8px;
  margin-left: 8px;
  vertical-align: 2px;
}
.form-row label .opt {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  color: var(--c-text-mute);
  background: var(--c-ivory-deep);
  border-radius: 4px;
  padding: 1px 8px;
  margin-left: 8px;
  vertical-align: 2px;
}
.form-row input[type="text"],
.form-row input[type="email"],
.form-row input[type="tel"],
.form-row select,
.form-row textarea {
  width: 100%;
  font-family: inherit;
  font-size: 15px;
  color: var(--c-text);
  background: var(--c-bg);
  border: 1px solid var(--c-border);
  border-radius: var(--radius-sm);
  padding: 13px 16px;
  transition: border-color .2s, box-shadow .2s;
}
.form-row input:focus,
.form-row select:focus,
.form-row textarea:focus {
  outline: none;
  border-color: var(--c-yamabuki);
  box-shadow: 0 0 0 3px var(--c-yamabuki-soft);
}
.form-row textarea { min-height: 130px; resize: vertical; }
.form-row .radio-group {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.form-row .radio-group label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  font-size: 14px;
  color: var(--c-text);
  background: var(--c-bg);
  border: 1px solid var(--c-border);
  border-radius: 999px;
  padding: 9px 18px;
  margin: 0;
  cursor: pointer;
  transition: border-color .2s, background .2s;
}
.form-row .radio-group label:has(input:checked) {
  border-color: var(--c-yamabuki);
  background: var(--c-yamabuki-soft);
  color: var(--c-yamabuki-dark);
}
.form-row .radio-group input { accent-color: var(--c-yamabuki); }
.form-agree {
  text-align: center;
  font-size: 13px;
  color: var(--c-text-soft);
  margin-bottom: 24px;
}
.form-agree input { accent-color: var(--c-yamabuki); margin-right: 6px; }
.form-submit { text-align: center; }
.form-submit .btn { min-width: 280px; }
#form-status {
  display: block;
  margin-top: 16px;
  font-size: 14px;
  font-weight: 700;
}
.form-demo-note {
  margin-top: 18px;
  text-align: center;
  font-size: 12px;
  color: var(--c-text-mute);
}

/* Access page ----------------------------------------------------------------------- */
.access-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}
.info-table {
  background: #fff;
  border: 1px solid var(--c-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.info-table th, .info-table td {
  padding: 16px 20px;
  font-size: 14px;
  text-align: left;
  border-bottom: 1px solid var(--c-border);
  vertical-align: top;
}
.info-table tr:last-child th,
.info-table tr:last-child td { border-bottom: 0; }
.info-table th {
  width: 32%;
  background: var(--c-ivory);
  color: var(--c-blue);
  font-weight: 700;
  white-space: nowrap;
}
.map-frame {
  position: relative;
  aspect-ratio: 4 / 3;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background:
    linear-gradient(rgba(29,53,87,.55), rgba(29,53,87,.55)),
    repeating-linear-gradient(0deg, #dfe8f2 0 2px, #eef3f9 2px 56px),
    repeating-linear-gradient(90deg, #dfe8f2 0 2px, #eef3f9 2px 56px);
  border: 1px solid var(--c-border);
  display: grid;
  place-items: center;
  text-align: center;
  color: #fff;
  box-shadow: var(--shadow-md);
}
.map-frame .pin {
  width: 56px; height: 56px;
  margin: 0 auto 14px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--c-yamabuki);
  color: #fff;
  box-shadow: var(--shadow-lg);
}
.map-frame .pin svg { width: 26px; height: 26px; }
.map-frame strong {
  display: block;
  font-family: var(--font-serif);
  font-size: 18px;
  letter-spacing: .06em;
}
.map-frame span {
  display: block;
  font-size: 12px;
  color: rgba(255,255,255,.8);
  margin-top: 6px;
}
.access-points { margin-top: 36px; }
.access-points h3 {
  font-size: 17px;
  border-left: 3px solid var(--c-yamabuki);
  padding-left: 12px;
  margin-bottom: 16px;
}
.access-points ul {
  margin: 0 0 28px;
  padding: 0;
  list-style: none;
}
.access-points li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: 14px;
  color: var(--c-text-soft);
  padding: 10px 0;
  border-bottom: 1px dashed var(--c-border);
}
.access-points li svg {
  width: 18px; height: 18px;
  flex: none;
  margin-top: 5px;
  color: var(--c-yamabuki-dark);
}

/* CTA band ---------------------------------------------------------------------------- */
.cta-band {
  position: relative;
  background: var(--c-blue);
  color: #fff;
  overflow: hidden;
}
.cta-band::before {
  content: "";
  position: absolute;
  top: -160px; left: -120px;
  width: 440px; height: 440px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(232,163,23,.2) 0%, transparent 65%);
  pointer-events: none;
}
.cta-band .container {
  position: relative;
  padding-top: 88px;
  padding-bottom: 88px;
  text-align: center;
}
.cta-band .en {
  display: block;
  font-family: var(--font-serif);
  font-size: 13px;
  letter-spacing: .35em;
  text-transform: uppercase;
  color: var(--c-yamabuki);
  margin-bottom: 14px;
}
.cta-band h2 {
  color: #fff;
  font-size: clamp(24px, 3.2vw, 36px);
  margin-bottom: 18px;
}
.cta-band p {
  color: rgba(255,255,255,.82);
  max-width: 600px;
  margin: 0 auto 36px;
}
.cta-band .actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}
.cta-band .tel {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-serif);
  font-size: 26px;
  font-weight: 700;
  letter-spacing: .04em;
  color: #fff;
}
.cta-band .tel svg { width: 22px; height: 22px; color: var(--c-yamabuki); }
.cta-band .tel-note {
  display: block;
  font-size: 12px;
  color: rgba(255,255,255,.65);
  margin-top: 4px;
}

/* Footer ------------------------------------------------------------------------------ */
.site-footer {
  background: var(--c-blue-dark);
  color: rgba(255,255,255,.85);
  padding: 72px 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 56px;
}
.site-footer .brand { color: #fff; margin-bottom: 18px; }
.site-footer .brand-text .name { color: #fff; }
.site-footer .brand-text .sub { color: rgba(255,255,255,.55); }
.site-footer .brand-mark { background: var(--c-yamabuki); color: var(--c-blue-dark); }
.footer-brand p {
  font-size: 13px;
  color: rgba(255,255,255,.7);
  line-height: 2;
  margin: 0;
}
.site-footer h4 {
  font-size: 14px;
  letter-spacing: .12em;
  color: var(--c-yamabuki);
  margin-bottom: 18px;
}
.site-footer ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.site-footer ul li { margin-bottom: 10px; }
.site-footer ul a {
  font-size: 13px;
  color: rgba(255,255,255,.78);
}
.site-footer ul a:hover { color: var(--c-yamabuki); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  border-top: 1px solid rgba(255,255,255,.12);
  padding: 22px 0;
  font-size: 12px;
  color: rgba(255,255,255,.55);
}
.footer-bottom .demo-note { color: rgba(255,255,255,.45); }

/* Responsive --------------------------------------------------------------------------- */
@media (max-width: 1024px) {
  .section { padding: 80px 0; }
  .hero-inner { gap: 40px; }
  .teacher { grid-template-columns: 320px 1fr; gap: 36px; }
  .course-detail { gap: 36px; }
  .flow { grid-template-columns: repeat(2, 1fr); row-gap: 40px; }
}

@media (max-width: 860px) {
  :root { --header-h: 66px; }

  .nav-toggle { display: inline-flex; }
  .nav {
    position: fixed;
    top: var(--header-h);
    left: 0; right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--c-bg);
    border-bottom: 1px solid var(--c-border);
    box-shadow: var(--shadow-lg);
    padding: 12px 20px 22px;
    transform: translateY(-12px);
    opacity: 0;
    visibility: hidden;
    transition: transform .25s ease, opacity .25s ease, visibility .25s;
    max-height: calc(100vh - var(--header-h));
    overflow-y: auto;
  }
  .nav.is-open {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }
  .nav a {
    padding: 14px 8px;
    font-size: 15px;
    border-bottom: 1px solid var(--c-border);
    border-radius: 0;
  }
  .nav a:hover, .nav a.active { background: transparent; }
  .nav .btn {
    margin: 16px 0 0;
    border-bottom: 0;
    border-radius: 999px;
    justify-content: center;
  }

  .hero { padding: 64px 0 72px; }
  .hero-inner { grid-template-columns: 1fr; gap: 48px; }
  .hero p { max-width: none; }
  .hero-visual .photo { aspect-ratio: 16 / 11; border-radius: var(--radius-lg); }
  .hero-visual .badge { left: 12px; bottom: -20px; padding: 14px 18px; }

  .page-hero { padding: 56px 0 50px; }

  .cards, .course-grid { grid-template-columns: 1fr; }
  .voice-grid { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: 1fr; }

  .course-detail,
  .course-detail.reverse { grid-template-columns: 1fr; gap: 26px; margin-bottom: 72px; }
  .course-detail.reverse .course-photo { order: 0; }
  .course-photo { position: static; }

  .teacher,
  .teacher.reverse { grid-template-columns: 1fr; gap: 26px; margin-bottom: 72px; }
  .teacher.reverse .teacher-photo { order: 0; }
  .teacher-photo { max-width: 420px; }

  .access-grid { grid-template-columns: 1fr; gap: 32px; }

  .form-wrap { padding: 32px 22px; }

  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 520px) {
  .brand { gap: 9px; }
  .brand-mark { width: 38px; height: 38px; }
  .brand-mark svg { width: 20px; height: 20px; }
  .brand-text .name { font-size: 16px; white-space: nowrap; }
  .brand-text .sub { letter-spacing: .14em; white-space: nowrap; }
  .nav-toggle { padding: 8px 10px; }
  .section { padding: 64px 0; }
  .section-head { margin-bottom: 40px; }
  .btn-lg { padding: 16px 22px; font-size: 15px; }
  .hero-ctas .btn { width: 100%; }
  .hero h1 { font-size: clamp(26px, 8.6vw, 36px); }
  .flow { grid-template-columns: 1fr; row-gap: 36px; }
  .cta-band .actions { flex-direction: column; align-items: center; }
  .form-submit .btn { min-width: 0; width: 100%; }
}

@media (max-width: 374px) {
  .container { padding: 0 18px; }
  .nav-toggle::after,
  .nav-toggle.is-open::after { content: none; }
  .brand-text .sub { display: none; }
}
