:root {
  --bg: #fffaf3;
  --paper: #ffffff;
  --ink: #2f2a24;
  --muted: #6d6258;
  --line: #eadfd1;
  --sage: #55766b;
  --sage-dark: #33574d;
  --mint: #e6f0eb;
  --coral: #d97862;
  --coral-dark: #b95744;
  --butter: #f5dfab;
  --warm: #f8efe3;
  --shadow: 0 18px 42px rgba(67, 52, 39, 0.12);
  --font: "Hiragino Kaku Gothic ProN", "Yu Gothic", "Noto Sans JP", system-ui, sans-serif;
  --serif: "Shippori Mincho B1", "Yu Mincho", "Hiragino Mincho ProN", serif;
  --en: "Sorts Mill Goudy", Georgia, serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--bg);
  font-family: var(--font);
  line-height: 1.75;
}

body.nav-open {
  overflow: hidden;
}

.music-bg {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
  background:
    radial-gradient(circle at 12% 14%, rgba(217, 120, 98, 0.1), transparent 26%),
    radial-gradient(circle at 86% 24%, rgba(85, 118, 107, 0.12), transparent 22%),
    radial-gradient(circle at 70% 88%, rgba(245, 223, 171, 0.22), transparent 30%);
}

main {
  position: relative;
  z-index: 1;
}

.music-bg span {
  position: absolute;
  display: block;
  color: rgba(217, 120, 98, 0.18);
  font-family: var(--serif);
  font-size: clamp(44px, 9vw, 112px);
  line-height: 1;
  animation: float-note 16s ease-in-out infinite;
}

.music-bg span:nth-child(1) {
  left: 6%;
  top: 12%;
}

.music-bg span:nth-child(2) {
  right: 8%;
  top: 20%;
  color: rgba(85, 118, 107, 0.14);
  animation-delay: -4s;
}

.music-bg span:nth-child(3) {
  left: 70%;
  top: 46%;
  animation-delay: -9s;
}

.music-bg span:nth-child(4) {
  left: 10%;
  top: 68%;
  color: rgba(85, 118, 107, 0.13);
  animation-delay: -12s;
}

.music-bg span:nth-child(5) {
  right: 18%;
  top: 78%;
  animation-delay: -7s;
}

.music-bg span:nth-child(6) {
  left: 44%;
  top: 6%;
  color: rgba(245, 188, 142, 0.2);
  animation-delay: -15s;
}

@keyframes float-note {
  0%,
  100% {
    transform: translate3d(0, 0, 0) rotate(-8deg);
  }
  50% {
    transform: translate3d(16px, -24px, 0) rotate(9deg);
  }
}

.reveal {
  opacity: 0;
  transform: translateY(28px);
  clip-path: inset(0 0 18% 0 round 2px);
  transition:
    opacity 720ms ease,
    transform 720ms cubic-bezier(0.22, 1, 0.36, 1),
    clip-path 720ms cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
  clip-path: inset(0 0 0 0 round 2px);
}

.delay-1 {
  transition-delay: 140ms;
}

.reveal-stagger .reveal:nth-child(2) {
  transition-delay: 90ms;
}

.reveal-stagger .reveal:nth-child(3) {
  transition-delay: 180ms;
}

.reveal-stagger .reveal:nth-child(4) {
  transition-delay: 270ms;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 12px 18px;
  background: rgba(255, 250, 243, 0.92);
  border-bottom: 1px solid rgba(234, 223, 209, 0.86);
  backdrop-filter: blur(14px);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}

.brand,
.header-cta,
.button {
  text-decoration: none;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-width: 0;
  font-weight: 700;
  color: var(--sage-dark);
}

.brand-mark {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  color: #fff;
  background: var(--sage);
  font-size: 13px;
  letter-spacing: 0.06em;
}

.brand-text {
  display: grid;
  gap: 1px;
  line-height: 1.1;
}

.brand-ja {
  font-size: 15px;
}

.brand-en {
  color: var(--muted);
  font-family: var(--en);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.08em;
}

.desktop-nav {
  display: none;
}

.header-cta {
  flex: 0 0 auto;
  border-radius: 999px;
  padding: 10px 14px;
  background: var(--coral);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  box-shadow: 0 8px 18px rgba(217, 120, 98, 0.22);
}

.header-cta span {
  display: none;
}

.menu-toggle {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: #fff;
  color: var(--sage-dark);
}

.menu-toggle span:not(.sr-only) {
  display: block;
  width: 18px;
  height: 1px;
  background: currentColor;
  transition:
    transform 180ms ease,
    opacity 180ms ease;
}

.menu-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(6px) rotate(35deg);
}

.menu-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.menu-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-6px) rotate(-35deg);
}

.mobile-menu {
  position: fixed;
  inset: 67px 0 0;
  z-index: 9;
  visibility: hidden;
  opacity: 0;
  transform: translateY(-10px);
  background: rgba(255, 250, 243, 0.97);
  transition:
    opacity 180ms ease,
    transform 180ms ease,
    visibility 180ms ease;
}

body.nav-open .mobile-menu {
  visibility: visible;
  opacity: 1;
  transform: translateY(0);
}

.mobile-menu-inner {
  display: grid;
  gap: 0;
  width: min(100%, 520px);
  margin-inline: auto;
  padding: 26px 22px 38px;
}

.mobile-menu a {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 18px;
  border-bottom: 1px solid var(--line);
  padding: 17px 0;
  text-decoration: none;
  font-family: var(--serif);
  font-size: 22px;
}

.mobile-menu a span {
  color: var(--sage);
  font-family: var(--en);
  font-size: 16px;
  letter-spacing: 0.04em;
  text-transform: lowercase;
}

.mobile-menu .mobile-menu-cta {
  justify-content: center;
  margin-top: 22px;
  border: 0;
  border-radius: 999px;
  padding: 15px 22px;
  background: var(--coral);
  color: #fff;
  font-family: var(--font);
  font-size: 16px;
  font-weight: 800;
}

.floating-trial {
  position: fixed;
  right: 14px;
  bottom: 16px;
  z-index: 8;
  display: grid;
  place-items: center;
  width: 86px;
  height: 86px;
  border-radius: 50%;
  background: var(--coral);
  color: #fff;
  text-align: center;
  text-decoration: none;
  font-size: 13px;
  font-weight: 800;
  line-height: 1.25;
  box-shadow: 0 18px 36px rgba(217, 120, 98, 0.28);
  transition:
    opacity 180ms ease,
    transform 180ms ease;
}

.floating-trial.is-hidden {
  opacity: 0;
  transform: translateY(14px) scale(0.96);
  pointer-events: none;
}

.floating-trial::before,
.floating-trial::after {
  content: "";
  position: absolute;
  inset: -7px;
  z-index: -1;
  border: 1px solid rgba(217, 120, 98, 0.38);
  border-radius: 50%;
  animation: pulse-ring 2.8s ease-out infinite;
}

.floating-trial::after {
  animation-delay: 1.4s;
}

.floating-trial span {
  display: block;
  font-family: var(--en);
  font-size: 15px;
  font-weight: 400;
  letter-spacing: 0.04em;
}

@keyframes pulse-ring {
  0% {
    opacity: 0.85;
    transform: scale(0.88);
  }
  100% {
    opacity: 0;
    transform: scale(1.22);
  }
}

.section {
  padding: 64px 20px;
}

.note-section {
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

.note-section::before,
.note-section::after {
  position: absolute;
  z-index: -1;
  color: rgba(217, 120, 98, 0.09);
  font-family: var(--serif);
  line-height: 1;
  pointer-events: none;
}

.note-section::before {
  content: "♪";
  right: 5%;
  top: 34px;
  font-size: clamp(54px, 11vw, 140px);
  transform: rotate(14deg);
}

.note-section::after {
  content: "♬";
  left: 4%;
  bottom: 22px;
  color: rgba(85, 118, 107, 0.08);
  font-size: clamp(48px, 9vw, 112px);
  transform: rotate(-10deg);
}

.hero {
  display: grid;
  gap: 28px;
  padding-top: 34px;
  background:
    linear-gradient(180deg, rgba(230, 240, 235, 0.9), rgba(255, 250, 243, 0)),
    var(--bg);
}

.hero-copy,
.section-heading,
.split,
.benefit-grid,
.reason-list,
.teacher-profile,
.voice-grid,
.price-table-wrap,
.condition-grid,
.faq-list,
.final-card,
.trial-flow {
  width: min(100%, 1120px);
  margin-inline: auto;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--sage);
  font-family: var(--en);
  font-size: 15px;
  font-weight: 400;
  letter-spacing: 0.08em;
  text-transform: lowercase;
}

h1,
h2,
h3,
h4,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 18px;
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(31px, 8.2vw, 58px);
  line-height: 1.22;
  letter-spacing: 0;
}

h1 span {
  color: var(--coral-dark);
}

h2 {
  margin-bottom: 14px;
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(26px, 6.5vw, 42px);
  line-height: 1.35;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-family: var(--serif);
  font-weight: 600;
  font-size: 20px;
  line-height: 1.45;
}

h4 {
  margin-bottom: 8px;
  font-size: 17px;
}

.lead {
  color: var(--muted);
  font-size: 17px;
}

.hero-badges,
.condition-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 22px 0;
}

.hero-badges span,
.condition-grid span,
.credentials span {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 8px 12px;
  background: rgba(255, 255, 255, 0.78);
  color: var(--sage-dark);
  font-size: 13px;
  font-weight: 700;
}

.cta-row,
.center-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.center-cta {
  justify-content: center;
  margin-top: 30px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  border-radius: 999px;
  padding: 14px 22px;
  font-weight: 800;
  line-height: 1.25;
  transition:
    transform 160ms ease,
    box-shadow 160ms ease,
    background 160ms ease;
}

.button::after,
.header-cta::after {
  content: "›";
  display: inline-grid;
  place-items: center;
  width: 24px;
  height: 24px;
  margin-left: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  font-size: 20px;
  line-height: 1;
  transition: transform 160ms ease;
}

.button.secondary::after {
  background: var(--mint);
}

.button:hover {
  transform: translateY(-1px);
}

.button:hover::after,
.header-cta:hover::after {
  transform: translateX(2px);
}

.button.primary {
  background: var(--coral);
  color: #fff;
  box-shadow: 0 14px 26px rgba(217, 120, 98, 0.28);
}

.button.primary:hover {
  background: var(--coral-dark);
}

.button.secondary {
  border: 1px solid var(--sage);
  color: var(--sage-dark);
  background: #fff;
}

.button.large {
  width: 100%;
  max-width: 420px;
  min-height: 58px;
  font-size: 18px;
}

.note {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 13px;
}

.note.strong {
  color: var(--coral-dark);
  font-weight: 700;
}

.image-frame {
  position: relative;
  overflow: hidden;
  margin: 0;
  border: 10px solid #fff;
  border-radius: 2px;
  background: var(--warm);
  box-shadow: var(--shadow);
}

.image-frame img {
  width: 100%;
  height: 100%;
  min-height: 260px;
  object-fit: cover;
  transform: translate3d(0, var(--parallax-y, 0px), 0) scale(1.04);
  transition:
    transform 900ms cubic-bezier(0.22, 1, 0.36, 1),
    filter 900ms ease;
  will-change: transform;
}

.image-frame:hover img,
.gallery-grid figure:hover img {
  filter: saturate(1.05);
}

.hero-image {
  width: min(100%, 1120px);
  margin-inline: auto;
}

.hero-image figcaption {
  position: absolute;
  right: 16px;
  bottom: 14px;
  border-radius: 999px;
  padding: 8px 12px;
  background: rgba(255, 255, 255, 0.82);
  color: var(--sage-dark);
  font-family: var(--en);
  font-size: 14px;
  letter-spacing: 0.04em;
}

.news-strip {
  padding: 0 20px 34px;
  background: var(--bg);
}

.news-strip a {
  display: grid;
  gap: 6px;
  width: min(100%, 1120px);
  margin-inline: auto;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 16px 0;
  text-decoration: none;
}

.news-strip a::after {
  content: "";
  width: 64px;
  height: 3px;
  border-radius: 999px;
  background:
    linear-gradient(90deg, var(--coral), var(--butter), var(--coral));
  background-size: 200% auto;
  animation: bgslide 2.4s linear infinite;
}

@keyframes bgslide {
  from {
    background-position-x: 0;
  }
  to {
    background-position-x: -200%;
  }
}

.news-label {
  color: var(--sage);
  font-family: var(--en);
  font-size: 15px;
  letter-spacing: 0.08em;
}

.news-strip strong {
  font-family: var(--serif);
  font-size: 19px;
  font-weight: 600;
}

.news-strip span:last-child {
  color: var(--muted);
  font-size: 14px;
}

.section-heading {
  margin-bottom: 28px;
}

.section-heading p:not(.eyebrow) {
  max-width: 760px;
  color: var(--muted);
}

.split {
  display: grid;
  gap: 24px;
}

.empathy {
  background: #fff;
}

.check-panel,
.confirm-box,
.trial-flow,
.teacher-profile,
.voice-grid article,
.final-card,
.reservation-box {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
}

.check-panel {
  padding: 22px;
}

.check-list,
.feature-list {
  display: grid;
  gap: 12px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.check-list li,
.feature-list li {
  position: relative;
  padding-left: 28px;
  color: var(--muted);
}

.check-list li::before,
.feature-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.72em;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--butter);
  box-shadow: inset 0 0 0 3px var(--coral);
}

.message {
  margin: 22px 0 0;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  color: var(--ink);
  font-weight: 700;
}

.future {
  background: var(--mint);
}

.benefit-grid,
.reason-list,
.voice-grid,
.flow-grid {
  display: grid;
  gap: 14px;
}

.benefit-grid article,
.reason-list article,
.flow-grid article {
  border: 1px solid rgba(85, 118, 107, 0.18);
  border-radius: 8px;
  padding: 20px;
  background: rgba(255, 255, 255, 0.78);
}

.benefit-grid article,
.reason-list article {
  position: relative;
  padding-top: 28px;
}

.benefit-grid article::before,
.reason-list article::before {
  content: "";
  position: absolute;
  inset: 0 auto auto 0;
  width: 48px;
  height: 3px;
  background: var(--coral);
}

.benefit-grid span,
.flow-grid span {
  display: inline-grid;
  place-items: center;
  width: 36px;
  height: 36px;
  margin-bottom: 12px;
  border-radius: 50%;
  background: var(--sage);
  color: #fff;
  font-size: 13px;
  font-weight: 800;
}

.flow-grid article {
  position: relative;
}

.flow-grid article:not(:last-child)::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -14px;
  width: 1px;
  height: 14px;
  background: var(--line);
}

.benefit-grid p,
.reason-list p,
.flow-grid p,
.voice-grid p,
.teacher-profile p,
.confirm-box p,
.faq-list p,
.final-card p {
  color: var(--muted);
}

.service {
  background: var(--bg);
}

.confirm-box {
  position: relative;
  margin-top: 20px;
  padding: 42px 18px 18px;
  background: #fff8ed;
}

.confirm-box::before {
  content: "point";
  position: absolute;
  left: 18px;
  top: 14px;
  color: var(--coral-dark);
  font-family: var(--en);
  font-size: 15px;
  letter-spacing: 0.08em;
}

.confirm-box h3 {
  color: var(--coral-dark);
}

.trial-flow {
  position: relative;
  margin-top: 26px;
  padding: 22px;
}

.lesson-cards {
  display: grid;
  gap: 14px;
  width: min(100%, 1120px);
  margin: 28px auto 0;
}

.lesson-cards article {
  border: 1px solid var(--line);
  border-radius: 2px;
  padding: 22px;
  background: #fff;
  box-shadow: 0 12px 26px rgba(67, 52, 39, 0.08);
}

.reasons {
  background: #fff;
}

.teacher-profile {
  display: grid;
  gap: 18px;
  margin-top: 22px;
  padding: 22px;
  background: #fbf7ef;
}

.credentials {
  display: flex;
  flex-wrap: wrap;
  align-content: start;
  gap: 8px;
}

.voices {
  background: var(--warm);
}

.gallery {
  background: #fff;
}

.gallery-grid {
  display: grid;
  gap: 14px;
  width: min(100%, 1120px);
  margin-inline: auto;
}

.gallery-grid figure {
  overflow: hidden;
  margin: 0;
  border: 1px solid var(--line);
  border-radius: 2px;
  background: #fff;
}

.gallery-grid img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transform: translate3d(0, var(--parallax-y, 0px), 0) scale(1.06);
  transition:
    transform 900ms cubic-bezier(0.22, 1, 0.36, 1),
    filter 900ms ease;
}

.gallery-grid figcaption {
  padding: 12px 14px 14px;
  color: var(--sage-dark);
  font-size: 14px;
  font-weight: 800;
}

.voice-grid article {
  padding: 20px;
}

.voice-grid .quote {
  color: var(--ink);
  font-size: 18px;
  font-weight: 800;
}

.voice-grid span {
  display: block;
  margin-top: 14px;
  color: var(--sage);
  font-size: 13px;
  font-weight: 800;
}

.voice-grid .placeholder {
  background: rgba(255, 255, 255, 0.68);
}

.price {
  background: #fff;
}

.price-table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 12px 28px rgba(67, 52, 39, 0.08);
}

.price-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 320px;
}

.price-table th,
.price-table td {
  padding: 16px;
  border-bottom: 1px solid var(--line);
  text-align: left;
}

.price-table th {
  background: var(--sage-dark);
  color: #fff;
  font-size: 14px;
}

.price-table td:last-child,
.price-table th:last-child {
  text-align: right;
  font-weight: 800;
}

.price-table tr:last-child td {
  border-bottom: 0;
}

.condition-grid {
  margin-top: 20px;
}

.faq {
  background: var(--bg);
}

.faq-list {
  display: grid;
  gap: 10px;
}

.faq-list details {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  transition:
    border-color 180ms ease,
    box-shadow 180ms ease;
}

.faq-list details[open] {
  border-color: rgba(217, 120, 98, 0.34);
  box-shadow: 0 12px 26px rgba(67, 52, 39, 0.08);
}

.faq-list summary {
  cursor: pointer;
  padding: 18px;
  color: var(--ink);
  font-weight: 800;
}

.faq-list summary::marker {
  color: var(--coral);
}

.faq-list p {
  margin: 0;
  padding: 0 18px 18px;
}

.final-cta {
  padding-bottom: 84px;
  background:
    linear-gradient(rgba(51, 87, 77, 0.82), rgba(51, 87, 77, 0.82)),
    url("./assets/kie/hero-lesson.png") center / cover;
}

.final-card {
  padding: 28px 22px;
  background: rgba(255, 255, 255, 0.93);
  box-shadow: var(--shadow);
}

.final-card h2 {
  color: var(--sage-dark);
}

.reservation-box {
  margin: 24px 0 18px;
  padding: 18px;
  background: #fff8ed;
}

.reservation-box ul {
  display: grid;
  gap: 8px;
  margin: 0;
  padding-left: 1.2em;
  color: var(--muted);
}

.reservation-form {
  display: grid;
  gap: 14px;
  margin-top: 18px;
}

.reservation-form label {
  display: grid;
  gap: 6px;
  color: var(--sage-dark);
  font-size: 14px;
  font-weight: 800;
}

.reservation-form input,
.reservation-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 13px 14px;
  background: #fff;
  color: var(--ink);
  font: inherit;
  line-height: 1.5;
}

.reservation-form input:focus,
.reservation-form textarea:focus {
  outline: 3px solid rgba(217, 120, 98, 0.22);
  border-color: var(--coral);
}

.reservation-form .button {
  border: 0;
  cursor: pointer;
}

@media (min-width: 720px) {
  .site-header {
    padding: 14px 32px;
  }

  .header-cta {
    padding-inline: 20px;
    font-size: 14px;
  }

  .header-cta span {
    display: inline;
    margin-right: 8px;
    font-family: var(--en);
    font-weight: 400;
  }

  .menu-toggle,
  .mobile-menu {
    display: none;
  }

  .desktop-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-left: auto;
  }

  .desktop-nav a {
    display: grid;
    gap: 1px;
    text-align: center;
    text-decoration: none;
    color: var(--ink);
    font-size: 13px;
    font-weight: 700;
  }

  .desktop-nav a span {
    color: var(--sage);
    font-family: var(--en);
    font-size: 14px;
    font-weight: 400;
    letter-spacing: 0.04em;
  }

  .section {
    padding: 88px 32px;
  }

  .hero {
    grid-template-columns: minmax(0, 0.95fr) minmax(320px, 1.05fr);
    align-items: center;
    min-height: calc(100vh - 72px);
    padding-top: 58px;
    padding-inline: max(32px, calc((100vw - 1120px) / 2));
  }

  .floating-trial {
    right: 28px;
    bottom: 28px;
    width: 104px;
    height: 104px;
    font-size: 14px;
  }

  .hero-copy,
  .hero-image {
    width: auto;
    margin-inline: 0;
  }

  .hero-image img {
    min-height: 560px;
  }

  .split {
    grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
    align-items: center;
  }

  .flow-grid article:not(:last-child)::after {
    left: auto;
    right: -14px;
    top: 50%;
    bottom: auto;
    width: 14px;
    height: 1px;
  }

  .split.reverse {
    grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
  }

  .split.reverse figure {
    order: 2;
  }

  .benefit-grid,
  .reason-list,
  .voice-grid,
  .flow-grid,
  .lesson-cards,
  .gallery-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .teacher-profile {
    grid-template-columns: minmax(0, 1.2fr) minmax(260px, 0.8fr);
  }

  .button.large {
    width: auto;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
    clip-path: none;
  }

  .image-frame img,
  .gallery-grid img {
    transform: none;
  }
}

@media (min-width: 980px) {
  .benefit-grid,
  .reason-list {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .voice-grid,
  .flow-grid,
  .lesson-cards,
  .gallery-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .final-card {
    padding: 42px;
  }
}

/* Music Bloom tone simulation
   内容はそのままに、明朝体・淡色背景・数字あしらい・余白のある上品な見え方へ寄せるための上書きです。 */
:root {
  --bg: #fbfaf6;
  --paper: #ffffff;
  --ink: #3d3932;
  --muted: #777067;
  --line: #e5e0d8;
  --sage: #8b968c;
  --sage-dark: #4f5d53;
  --mint: #eef4ee;
  --coral: #b88b78;
  --coral-dark: #856151;
  --butter: #f0e2bf;
  --warm: #f3f0e8;
  --shadow: 0 26px 56px rgba(58, 52, 44, 0.08);
  --font: var(--serif);
}

html {
  background: var(--bg);
}

body {
  color: var(--ink);
  background:
    radial-gradient(42vw 42vw at -8% 16%, rgba(236, 223, 204, 0.38), transparent 62%),
    radial-gradient(34vw 34vw at 96% 4%, rgba(225, 232, 226, 0.64), transparent 68%),
    var(--bg);
  font-family: var(--serif);
  font-feature-settings: "palt";
  letter-spacing: 0.02em;
}

.music-bg {
  background:
    radial-gradient(18vw 15vw at 9% 72%, rgba(235, 226, 214, 0.54), transparent 66%),
    radial-gradient(20vw 18vw at 87% 30%, rgba(225, 232, 226, 0.72), transparent 68%),
    radial-gradient(16vw 14vw at 73% 15%, rgba(236, 205, 196, 0.44), transparent 70%),
    radial-gradient(18vw 16vw at 36% 18%, rgba(205, 224, 209, 0.48), transparent 68%),
    radial-gradient(16vw 14vw at 24% 92%, rgba(240, 226, 191, 0.36), transparent 70%);
}

.music-bg::before,
.music-bg::after {
  content: "";
  position: absolute;
  border-radius: 999px;
  filter: blur(0.2px);
  opacity: 0.62;
  animation: organic-float 18s ease-in-out infinite;
}

.music-bg::before {
  width: 170px;
  height: 126px;
  left: 63%;
  top: 9%;
  background: rgba(236, 220, 216, 0.68);
  border-radius: 54% 46% 61% 39%;
}

.music-bg::after {
  width: 138px;
  height: 104px;
  right: 8%;
  bottom: 17%;
  background: rgba(225, 232, 226, 0.7);
  border-radius: 42% 58% 48% 52%;
  animation-delay: -8s;
}

.music-bg span {
  color: rgba(130, 125, 116, 0.07);
  font-size: clamp(58px, 12vw, 150px);
  animation-duration: 22s;
}

@keyframes organic-float {
  0%,
  100% {
    transform: translate3d(0, 0, 0) rotate(0deg);
  }

  50% {
    transform: translate3d(16px, -18px, 0) rotate(8deg);
  }
}

.site-header {
  padding: 16px 18px;
  background: rgba(251, 250, 246, 0.86);
  border-bottom: 0;
  backdrop-filter: blur(18px);
}

.brand {
  align-items: baseline;
  gap: 12px;
  color: var(--ink);
}

.brand-mark {
  width: auto;
  height: auto;
  border-radius: 0;
  background: transparent;
  color: var(--ink);
  font-family: var(--en);
  font-size: 21px;
  font-weight: 400;
  letter-spacing: 0.01em;
}

.brand-ja {
  color: var(--muted);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.08em;
}

.brand-en {
  display: none;
}

.desktop-nav a {
  color: var(--ink);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.04em;
}

.desktop-nav a span {
  color: var(--muted);
  font-size: 12px;
}

.header-cta {
  border-radius: 0;
  padding: 9px 14px;
  background: #2f2b26;
  box-shadow: none;
  color: #fff;
  font-family: var(--serif);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.06em;
}

.menu-toggle {
  border: 0;
  background: transparent;
}

.mobile-menu,
body.nav-open .mobile-menu {
  background: rgba(251, 250, 246, 0.98);
}

.mobile-menu a {
  border-color: var(--line);
  font-weight: 500;
}

.mobile-menu .mobile-menu-cta {
  border-radius: 0;
  background: #2f2b26;
  font-family: var(--serif);
  font-weight: 500;
}

.floating-trial {
  width: 78px;
  height: 78px;
  background: #2f2b26;
  box-shadow: 0 18px 36px rgba(47, 43, 38, 0.16);
  font-size: 12px;
  font-weight: 500;
}

.floating-trial::before,
.floating-trial::after {
  border-color: rgba(47, 43, 38, 0.28);
}

.section {
  padding: 76px 22px;
}

.hero {
  position: relative;
  min-height: calc(100svh - 76px);
  padding-top: 46px;
  background: transparent;
}

.hero::before,
.hero::after {
  content: "";
  position: absolute;
  z-index: -1;
  pointer-events: none;
}

.hero::before {
  width: clamp(170px, 30vw, 390px);
  height: clamp(120px, 22vw, 280px);
  right: -4%;
  top: 10%;
  border-radius: 48% 52% 44% 56%;
  background: rgba(233, 232, 228, 0.76);
}

.hero::after {
  width: clamp(140px, 22vw, 280px);
  height: clamp(110px, 17vw, 220px);
  left: 48%;
  top: 34%;
  border-radius: 60% 40% 52% 48%;
  background: rgba(211, 229, 214, 0.76);
}

.hero .eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  color: var(--muted);
  font-family: var(--serif);
  font-size: 12px;
  letter-spacing: 0.1em;
}

.hero .eyebrow::before {
  content: "";
  width: 42px;
  height: 1px;
  background: var(--line);
}

h1 {
  margin-bottom: 22px;
  font-size: clamp(29px, 6vw, 42px);
  font-weight: 500;
  line-height: 1.38;
  letter-spacing: 0.06em;
  text-wrap: balance;
}

h1 span {
  color: var(--ink);
}

.line {
  display: inline;
}

h2 {
  font-size: clamp(30px, 6.6vw, 46px);
  font-weight: 500;
  line-height: 1.48;
  letter-spacing: 0.045em;
}

h3 {
  font-weight: 500;
  letter-spacing: 0.035em;
}

.lead,
.hero-subcopy,
.section-heading p:not(.eyebrow),
.check-list li,
.feature-list li,
.benefit-grid p,
.reason-list p,
.flow-grid p,
.voice-grid p,
.teacher-profile p,
.confirm-box p,
.faq-list p,
.final-card p {
  color: var(--muted);
  font-size: 14px;
  line-height: 2.05;
}

.hero-badges {
  gap: 10px 12px;
  margin: 24px 0 30px;
}

.hero-subcopy {
  max-width: 520px;
  margin: 0 0 24px;
  color: var(--muted);
  font-size: 13px;
  line-height: 2;
}

.hero-subcopy strong,
.hero-subcopy span {
  display: block;
}

.hero-subcopy strong {
  margin-bottom: 6px;
  color: var(--ink);
  font-size: 17px;
  font-weight: 500;
  letter-spacing: 0.05em;
}

.hero-badges span,
.condition-grid span,
.credentials span {
  border-radius: 0;
  border-color: var(--line);
  padding: 7px 10px;
  background: rgba(255, 255, 255, 0.64);
  color: var(--muted);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.05em;
}

.button {
  min-height: 48px;
  border-radius: 0;
  padding: 13px 20px;
  font-family: var(--serif);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.07em;
}

.button.primary {
  background: #2f2b26;
  box-shadow: 0 16px 30px rgba(47, 43, 38, 0.16);
}

.button.primary:hover {
  background: #4a443d;
}

.button.secondary {
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.74);
  color: var(--ink);
}

.button::after,
.header-cta::after {
  width: 25px;
  height: 25px;
  border: 1px solid rgba(255, 255, 255, 0.45);
  background: transparent;
  font-family: var(--en);
  font-size: 20px;
}

.button.secondary::after {
  border-color: var(--line);
  background: transparent;
}

.note {
  color: var(--muted);
  font-size: 11px;
  letter-spacing: 0.04em;
}

.image-frame {
  border: 14px solid #fff;
  border-radius: 0;
  background: #fff;
  box-shadow: var(--shadow);
}

.hero-image {
  overflow: visible;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.hero-image img {
  overflow: hidden;
  border: 14px solid #fff;
  border-radius: 46% 54% 44% 56%;
  box-shadow: var(--shadow);
}

.hero-image figcaption {
  right: 10px;
  bottom: -16px;
  border: 1px solid var(--line);
  border-radius: 0;
  padding: 9px 14px;
  background: #fff;
  color: var(--muted);
  font-size: 13px;
}

.news-strip {
  background: transparent;
}

.news-strip a {
  grid-template-columns: auto 1fr;
  align-items: baseline;
  gap: 8px 18px;
  border-color: var(--line);
}

.news-strip strong {
  writing-mode: horizontal-tb;
  white-space: normal;
  font-weight: 500;
}

.news-strip span:last-child {
  grid-column: 2;
}

.news-strip a::after {
  width: 42px;
  height: 1px;
  background: var(--line);
  animation: none;
}

.section-heading {
  position: relative;
  margin-bottom: 34px;
  padding-top: 20px;
}

.section:not(.hero):not(.final-cta) > .section-heading {
  counter-increment: sectionNo;
}

main {
  counter-reset: sectionNo;
}

.section:not(.hero):not(.final-cta) > .section-heading::before {
  content: counter(sectionNo, decimal-leading-zero);
  display: block;
  margin-bottom: 8px;
  color: rgba(61, 57, 50, 0.32);
  font-family: var(--en);
  font-size: clamp(38px, 10vw, 68px);
  line-height: 0.9;
}

.section-heading .eyebrow {
  margin-bottom: 5px;
  color: var(--muted);
  font-size: 14px;
}

.section-heading h2 {
  max-width: 780px;
}

.empathy,
.future,
.service,
.reasons,
.voices,
.gallery,
.price,
.faq {
  background: transparent;
}

.future,
.voices {
  background:
    radial-gradient(34vw 24vw at 0% 40%, rgba(225, 232, 226, 0.56), transparent 68%),
    radial-gradient(30vw 24vw at 100% 82%, rgba(236, 220, 216, 0.48), transparent 70%);
}

.check-panel,
.confirm-box,
.trial-flow,
.teacher-profile,
.voice-grid article,
.final-card,
.reservation-box,
.lesson-cards article,
.benefit-grid article,
.reason-list article,
.flow-grid article,
.price-table-wrap,
.faq-list details {
  border: 1px solid var(--line);
  border-radius: 0;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: none;
}

.check-panel,
.trial-flow,
.teacher-profile,
.voice-grid article,
.lesson-cards article,
.benefit-grid article,
.reason-list article,
.flow-grid article {
  padding: 24px;
}

.check-list li,
.feature-list li {
  padding-left: 32px;
}

.check-list li::before,
.feature-list li::before {
  top: 0.95em;
  width: 18px;
  height: 1px;
  border-radius: 0;
  background: var(--coral);
  box-shadow: none;
}

.message {
  font-weight: 500;
  line-height: 2;
}

.benefit-grid article,
.reason-list article {
  padding-top: 24px;
}

.benefit-grid article::before,
.reason-list article::before {
  display: none;
}

.benefit-grid span,
.flow-grid span {
  display: block;
  width: auto;
  height: auto;
  margin-bottom: 16px;
  border-radius: 0;
  background: transparent;
  color: rgba(61, 57, 50, 0.44);
  font-family: var(--en);
  font-size: 30px;
  font-weight: 400;
  line-height: 1;
}

.lesson-cards .eyebrow {
  color: rgba(61, 57, 50, 0.46);
}

.confirm-box {
  padding: 46px 22px 22px;
  background: rgba(243, 240, 232, 0.72);
}

.confirm-box::before {
  color: rgba(61, 57, 50, 0.46);
}

.confirm-box h3 {
  color: var(--ink);
}

.gallery-grid figure {
  border-radius: 0;
  border-color: var(--line);
  background: #fff;
}

.gallery-grid figcaption {
  color: var(--ink);
  font-family: var(--serif);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.04em;
}

.price-table-wrap {
  background: rgba(255, 255, 255, 0.84);
}

.price-table th {
  background: var(--warm);
  color: var(--ink);
  font-weight: 500;
  letter-spacing: 0.08em;
}

.price-table td {
  color: var(--muted);
}

.price-table td:last-child {
  color: var(--ink);
  font-family: var(--en);
  font-size: 22px;
  font-weight: 400;
}

.faq-list details[open] {
  border-color: #cfc7bc;
  box-shadow: 0 16px 32px rgba(58, 52, 44, 0.06);
}

.faq-list summary {
  font-weight: 500;
  letter-spacing: 0.03em;
}

.final-cta {
  background:
    linear-gradient(rgba(251, 250, 246, 0.86), rgba(251, 250, 246, 0.88)),
    url("./assets/kie/hero-lesson.png") center / cover;
}

.final-card {
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(8px);
}

.final-card h2 {
  color: var(--ink);
}

.reservation-box {
  background: rgba(243, 240, 232, 0.78);
}

.reservation-form label {
  color: var(--ink);
  font-weight: 500;
}

.reservation-form input,
.reservation-form textarea {
  border-radius: 0;
  background: rgba(255, 255, 255, 0.8);
}

.reservation-form input:focus,
.reservation-form textarea:focus {
  border-color: #bfb6aa;
  outline: 3px solid rgba(184, 139, 120, 0.16);
}

@media (min-width: 720px) {
  .site-header {
    padding: 18px 36px;
  }

  .section {
    padding: 102px 36px;
  }

  .hero {
    grid-template-columns: minmax(360px, 0.88fr) minmax(360px, 1.12fr);
    gap: 52px;
    min-height: min(780px, calc(100vh - 78px));
    padding-top: 70px;
  }

  .hero-copy {
    padding-left: 6px;
  }

  .hero-image {
    align-self: start;
    margin-top: 12px;
  }

  .hero-image img {
    min-height: 420px;
  }

  .section-heading {
    display: grid;
    grid-template-columns: 116px 1fr;
    column-gap: 26px;
    align-items: start;
  }

  .section-heading::before {
    grid-row: 1 / span 3;
  }

  .section-heading .eyebrow,
  .section-heading h2,
  .section-heading p {
    grid-column: 2;
  }

  .split {
    gap: 46px;
  }

  .check-panel,
  .trial-flow,
  .teacher-profile,
  .voice-grid article,
  .lesson-cards article,
  .benefit-grid article,
  .reason-list article,
  .flow-grid article {
    padding: 30px;
  }
}

@media (min-width: 980px) {
  .hero-image img {
    min-height: 480px;
  }

  .benefit-grid,
  .reason-list {
    gap: 18px;
  }

  .final-card {
    max-width: 980px;
  }
}

@media (max-width: 719px) {
  .hero {
    min-height: auto;
    padding-bottom: 52px;
  }

  .hero .cta-row .button {
    width: 100%;
  }

  .floating-trial {
    display: none;
  }
}

/* Full-photo first view simulation */
.hero {
  display: flex !important;
  align-items: flex-end;
  min-height: 100svh !important;
  padding: 112px 22px 48px !important;
  background: #f8f6ef;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  width: auto;
  height: auto;
  border-radius: 0;
  background:
    linear-gradient(90deg, rgba(251, 250, 246, 0.95) 0%, rgba(251, 250, 246, 0.82) 42%, rgba(251, 250, 246, 0.26) 100%),
    linear-gradient(0deg, rgba(251, 250, 246, 0.88) 0%, rgba(251, 250, 246, 0.28) 38%, rgba(251, 250, 246, 0.1) 100%);
  pointer-events: none;
}

.hero::after {
  content: "";
  position: absolute;
  right: -14vw;
  bottom: -12vw;
  z-index: 1;
  width: clamp(240px, 48vw, 600px);
  height: clamp(180px, 34vw, 420px);
  border-radius: 56% 44% 48% 52%;
  background: rgba(225, 232, 226, 0.42);
  pointer-events: none;
}

.hero-copy {
  position: relative;
  z-index: 2;
  width: min(100%, 620px);
  margin: 0;
  text-shadow: 0 1px 18px rgba(251, 250, 246, 0.72);
}

.hero-slideshow {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  width: 100%;
  height: 100%;
  margin: 0;
}

.hero-slideshow img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  min-height: 0;
  object-fit: cover;
  object-position: 62% center;
  opacity: 0;
  transform: scale(1.04);
  animation: none;
  transition:
    opacity 1200ms ease,
    transform 4800ms ease;
}

.hero-slideshow img.is-active {
  opacity: 1;
  transform: scale(1);
}

@media (max-width: 719px) {
  h1 .line,
  h2 .line,
  h3 .line,
  h4 .line,
  .quote .line {
    display: block;
  }

  h1 {
    font-size: clamp(27px, 7.1vw, 30px);
    line-height: 1.34;
    letter-spacing: 0.035em;
  }

  h2 {
    font-size: clamp(25px, 6.4vw, 30px);
    line-height: 1.5;
    letter-spacing: 0.035em;
  }

  h3 {
    line-height: 1.55;
  }

  .section-heading.reveal {
    opacity: 1;
    transform: none;
    clip-path: none;
  }

  .button {
    gap: 2px;
    text-align: center;
  }

  .button::after,
  .header-cta::after {
    flex: 0 0 auto;
  }

  .hero {
    min-height: 100svh !important;
    padding: 98px 22px 38px !important;
  }

  .hero::before {
    background:
      linear-gradient(180deg, rgba(251, 250, 246, 0.58) 0%, rgba(251, 250, 246, 0.36) 32%, rgba(251, 250, 246, 0.74) 78%, rgba(251, 250, 246, 0.9) 100%),
      linear-gradient(90deg, rgba(251, 250, 246, 0.78) 0%, rgba(251, 250, 246, 0.3) 58%, rgba(251, 250, 246, 0.08) 100%);
  }

  .hero-slideshow img {
    object-position: 66% center;
  }

  .hero-copy {
    width: 100%;
  }

  .hero-subcopy {
    max-width: 330px;
    margin-bottom: 22px;
    font-size: 12px;
    line-height: 1.95;
  }

  .hero-subcopy strong {
    font-size: 15px;
  }

  .hero-badges {
    margin-bottom: 22px;
  }

  .news-strip a {
    display: grid;
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .news-strip strong,
  .news-strip span:last-child {
    grid-column: 1;
  }
}

@media (min-width: 720px) {
  .hero {
    padding-inline: max(42px, calc((100vw - 1120px) / 2)) !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-slideshow img {
    animation: none !important;
    opacity: 0;
    transform: none;
  }

  .hero-slideshow img:first-child,
  .hero-slideshow img.is-active {
    opacity: 1;
  }
}
