:root {
  --ink: #24352f;
  --muted: #66776f;
  --leaf: #245948;
  --leaf-soft: #dce9dc;
  --coral: #d96c5f;
  --gold: #c99a43;
  --sand: #fff8ef;
  --cream: #fffdf8;
  --line: rgba(36, 53, 47, 0.16);
  --shadow: 0 22px 70px rgba(36, 53, 47, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--cream);
  font-family: "Noto Sans JP", system-ui, sans-serif;
  line-height: 1.8;
}

a {
  color: inherit;
  text-decoration: none;
}

.site-header {
  position: fixed;
  z-index: 20;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 16px clamp(18px, 4vw, 48px);
  background: rgba(255, 253, 248, 0.9);
  border-bottom: 1px solid rgba(36, 53, 47, 0.1);
  backdrop-filter: blur(14px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 225px;
}

.brand-logo {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  object-fit: contain;
  background: #fff;
  border: 1px solid rgba(36, 89, 72, 0.18);
}

.brand-ja,
.brand-en {
  display: block;
  line-height: 1.25;
}

.brand-ja {
  font-weight: 700;
  font-size: 14px;
}

.brand-en {
  margin-top: 3px;
  color: var(--muted);
  font-family: "Marcellus", serif;
  font-size: 11px;
  letter-spacing: 0;
}

.nav {
  display: flex;
  align-items: center;
  gap: 20px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}

.nav a {
  white-space: nowrap;
}

.nav-cta {
  padding: 9px 16px;
  border-radius: 999px;
  color: #fff;
  background: var(--leaf);
}

.hero {
  position: relative;
  min-height: 92vh;
  display: grid;
  align-items: center;
  overflow: hidden;
  padding: 140px clamp(22px, 6vw, 84px) 72px;
  isolation: isolate;
}

.hero-slider,
.hero-slide,
.hero-overlay {
  position: absolute;
  inset: 0;
}

.hero-slider {
  z-index: -2;
}

.hero-slide {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transform: scale(1.035);
  transition: opacity 1.4s ease, transform 6s ease;
}

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

.hero-overlay {
  z-index: -1;
  background: linear-gradient(90deg, rgba(255, 253, 248, 0.92) 0%, rgba(255, 253, 248, 0.68) 42%, rgba(255, 253, 248, 0.2) 100%);
}

.hero-content {
  max-width: 690px;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--coral);
  font-family: "Marcellus", serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}

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

h1,
h2,
h3 {
  line-height: 1.35;
}

h1 {
  margin-bottom: 22px;
  font-size: clamp(38px, 7vw, 76px);
  font-weight: 700;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(28px, 4vw, 46px);
}

h3 {
  font-size: 22px;
}

.hero-title {
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: clamp(30px, 4.6vw, 56px);
}

.hero-title-sub {
  color: var(--leaf);
  font-size: clamp(16px, 1.9vw, 22px);
  line-height: 1.5;
}

.hero-title-sep {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.hero-title-main {
  line-height: 1.3;
}

.hero-title-main span {
  display: inline-block;
}

.hero-title-brand {
  color: var(--coral);
  font-size: clamp(15px, 1.7vw, 20px);
  line-height: 1.5;
}

.hero-lead,
.large-text {
  color: #40544c;
  font-size: clamp(16px, 2vw, 20px);
}

.hero-lead {
  max-width: 600px;
  margin-bottom: 28px;
}

.hero-actions,
.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.hero-dots {
  display: flex;
  gap: 9px;
  margin-top: 26px;
}

.hero-dots span {
  display: block;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: rgba(36, 89, 72, 0.24);
  transition: width 0.3s ease, background 0.3s ease;
}

.hero-dots span.is-active {
  width: 28px;
  border-radius: 999px;
  background: var(--leaf);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 22px;
  border-radius: 999px;
  font-weight: 700;
}

.button.primary {
  color: #fff;
  background: var(--leaf);
  box-shadow: var(--shadow);
}

.button.secondary {
  color: var(--leaf);
  background: rgba(255, 255, 255, 0.75);
  border: 1px solid rgba(36, 89, 72, 0.22);
}

.section {
  padding: 88px clamp(22px, 6vw, 84px);
}

.section-heading {
  max-width: 740px;
}

.section-heading.centered {
  margin: 0 auto 40px;
  text-align: center;
}

.intro {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: start;
}

.intro-text {
  color: #40544c;
  font-size: 17px;
}

.soft-band {
  background: linear-gradient(180deg, #f4fbf4, #fffaf1);
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.feature {
  min-height: 260px;
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.72);
}

.feature-icon {
  display: inline-block;
  margin-bottom: 24px;
  color: var(--gold);
  font-family: "Marcellus", serif;
  font-size: 38px;
}

.voice-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 18px;
}

.voice-row p {
  min-height: 96px;
  margin: 0;
  padding: 20px;
  border-left: 4px solid var(--coral);
  background: #fff;
  color: #40544c;
}

.teacher {
  display: block;
}

.teacher-intro {
  display: grid;
  grid-template-columns: minmax(280px, 0.66fr) minmax(0, 1fr);
  gap: clamp(28px, 6vw, 76px);
  align-items: start;
}

.teacher-media {
  display: grid;
  gap: 14px;
}

.teacher-photo {
  margin: 0;
  overflow: hidden;
  border-radius: 8px;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  background: #fff;
}

.teacher-photo img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 420px;
  object-fit: cover;
  object-position: center top;
}

.teacher-video-wrap {
  width: min(100%, 430px);
  margin: 42px auto 0;
}

.teacher-video {
  display: block;
  width: 100%;
  aspect-ratio: 9 / 16;
  object-fit: contain;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #1d352d;
  box-shadow: var(--shadow);
}

.profile-list {
  display: grid;
  gap: 14px;
  margin: 30px 0 0;
}

.profile-list div {
  display: grid;
  grid-template-columns: 92px 1fr;
  gap: 12px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
}

.profile-list dt {
  color: var(--coral);
  font-weight: 700;
}

.profile-list dd {
  margin: 0;
}

.price-layout {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

.price-group {
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.price-group h3 {
  margin-bottom: 20px;
}

.class-card {
  padding: 18px 0;
  border-top: 1px solid var(--line);
}

.class-card p {
  margin-bottom: 4px;
}

.class-name {
  color: var(--leaf);
  font-weight: 700;
}

.class-card strong {
  color: var(--coral);
  font-size: 18px;
}

.note-box {
  margin-top: 18px;
  padding: 18px;
  border-radius: 8px;
  background: var(--sand);
}

.note-box p {
  margin: 0;
}

.visual-band {
  background: var(--leaf);
  color: #fff;
}

.visual-band .eyebrow,
.visual-band .section-heading {
  color: #fff;
}

.gallery {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.gallery figure {
  position: relative;
  min-height: 180px;
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
}

.gallery img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.gallery figcaption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 38px 18px 16px;
  background: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.58));
  color: #fff;
  font-weight: 700;
}

.faq {
  max-width: 980px;
  margin: 0 auto;
}

details {
  border-top: 1px solid var(--line);
  background: #fffdf8;
}

details:last-child {
  border-bottom: 1px solid var(--line);
}

summary {
  cursor: pointer;
  padding: 22px 4px;
  font-weight: 700;
}

details p {
  margin: -8px 0 22px;
  color: #40544c;
}

.access {
  background: #fffaf1;
}

.access-layout {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

.access-card {
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.access-card h3 {
  margin-bottom: 8px;
}

.access-place {
  margin-bottom: 4px;
  color: var(--leaf);
  font-weight: 700;
}

.access-photos {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin: 18px 0 4px;
}

.access-photos img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: #f4f4f0;
}

.map-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.pamphlet-figure {
  max-width: 560px;
  margin: 0 auto;
}

.pamphlet-figure img {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 12px 32px rgba(36, 89, 72, 0.12);
}

.pamphlet-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 24px;
}

.copy-link {
  color: var(--leaf);
  border: 1px solid rgba(36, 89, 72, 0.22);
  background: #fff;
  cursor: pointer;
}

.contact {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 30px;
  align-items: center;
  background: linear-gradient(135deg, #fff8ef, #eef7f0);
}

.contact-form {
  grid-column: 1 / -1;
  padding: clamp(22px, 4vw, 40px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow);
}

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

.form-heading h3 {
  margin-bottom: 4px;
}

.form-heading p {
  color: var(--muted);
  font-size: 14px;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px 22px;
  margin-top: 22px;
}

.form-field {
  display: grid;
  gap: 6px;
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
  font-weight: 700;
  font-size: 15px;
}

.form-field legend {
  margin-bottom: 6px;
  padding: 0;
}

.form-wide {
  grid-column: 1 / -1;
}

.required {
  display: inline-block;
  margin-left: 8px;
  padding: 0 7px;
  border-radius: 4px;
  color: #fff;
  background: var(--coral);
  font-size: 11px;
  font-weight: 700;
  line-height: 1.7;
  vertical-align: middle;
}

.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  min-height: 48px;
  padding: 10px 14px;
  border: 1px solid rgba(36, 53, 47, 0.24);
  border-radius: 8px;
  color: var(--ink);
  background: var(--cream);
  font: inherit;
  font-weight: 400;
}

.form-field textarea {
  resize: vertical;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: 2px solid rgba(36, 89, 72, 0.4);
  outline-offset: 1px;
  border-color: var(--leaf);
}

.form-choices {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  font-weight: 400;
}

.form-choices label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  line-height: 1.5;
  cursor: pointer;
}

.form-field .form-choices input {
  flex: 0 0 auto;
  width: 18px;
  height: 18px;
  min-height: 0;
  margin: 0;
  padding: 0;
  border: 0;
  background: none;
  accent-color: var(--leaf);
}

.form-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 20px;
  margin-top: 24px;
}

.form-footer .button {
  min-width: 180px;
  border: 0;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.form-footer .button:disabled {
  opacity: 0.6;
  cursor: wait;
}

.form-status {
  margin: 0;
  color: var(--muted);
}

.form-status.is-success {
  color: var(--leaf);
  font-weight: 700;
}

.form-status.is-error {
  color: #b2453a;
  font-weight: 700;
}

.footer {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 28px clamp(22px, 6vw, 84px);
  color: #fff;
  background: #1d352d;
  font-family: "Marcellus", "Noto Sans JP", serif;
}

.footer p {
  margin: 0;
}

.option-page {
  background: #fffaf1;
}

.option-hero {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  padding: 56px clamp(22px, 6vw, 84px) 28px;
}

.option-hero h1 {
  margin-bottom: 12px;
  font-size: clamp(34px, 5vw, 58px);
}

.option-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.option-button {
  min-width: 74px;
  min-height: 42px;
  padding: 9px 18px;
  border: 1px solid rgba(36, 89, 72, 0.28);
  border-radius: 999px;
  color: var(--leaf);
  background: #fff;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.option-button.is-active {
  color: #fff;
  background: var(--leaf);
}

.preview-stage {
  position: relative;
  min-height: 58vw;
  max-height: 760px;
  overflow: hidden;
  isolation: isolate;
}

.preview-stage img {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.preview-stage::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(90deg, rgba(255, 253, 248, 0.9), rgba(255, 253, 248, 0.48), transparent);
}

.preview-copy {
  max-width: 620px;
  padding: clamp(34px, 7vw, 84px);
}

.preview-copy h2 {
  font-size: clamp(34px, 6vw, 72px);
}

.option-gallery {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  padding: 28px clamp(22px, 6vw, 84px) 72px;
}

.option-gallery article {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.option-gallery img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.option-gallery h2,
.option-gallery p {
  margin-left: 18px;
  margin-right: 18px;
}

.option-gallery h2 {
  margin-top: 18px;
  margin-bottom: 8px;
  font-size: 22px;
}

.option-gallery p {
  margin-bottom: 22px;
  color: var(--muted);
}

@media (max-width: 900px) {
  .site-header {
    position: static;
    align-items: flex-start;
    flex-direction: column;
  }

  .nav {
    width: 100%;
    overflow-x: auto;
    padding-bottom: 4px;
  }

  .hero {
    min-height: 780px;
    padding-top: 86px;
  }

  .hero-overlay {
    background: linear-gradient(180deg, rgba(255, 253, 248, 0.9), rgba(255, 253, 248, 0.64) 58%, rgba(255, 253, 248, 0.14));
  }

  .intro,
  .teacher-intro,
  .price-layout,
  .access-layout,
  .contact {
    grid-template-columns: 1fr;
  }

  .feature-grid,
  .voice-row {
    grid-template-columns: 1fr;
  }

  .gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 560px) {
  .brand {
    min-width: 0;
  }

  .nav {
    gap: 14px;
    font-size: 13px;
  }

  .hero {
    min-height: 720px;
  }

  h1 {
    font-size: 38px;
  }

  .hero-title {
    font-size: 30px;
  }

  .section {
    padding-top: 64px;
    padding-bottom: 64px;
  }

  .hero-actions,
  .contact-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .price-group {
    padding: 22px;
  }

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

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

  .form-choices {
    flex-direction: column;
    gap: 0;
  }

  .form-choices label {
    align-items: flex-start;
    padding: 10px 0;
    border-bottom: 1px solid var(--line);
  }

  .form-choices label:last-child {
    border-bottom: 0;
  }

  .form-field .form-choices input {
    margin-top: 3px;
  }

  .access-photos.two {
    grid-template-columns: 1fr;
  }

  .footer {
    flex-direction: column;
  }

  .option-hero {
    align-items: flex-start;
    flex-direction: column;
  }

  .option-gallery {
    grid-template-columns: 1fr;
  }
}

/* Thanks page */
.thanks-page {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  background: var(--sand);
}

.thanks-main {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 140px clamp(22px, 6vw, 84px) 80px;
}

.thanks-card {
  width: 100%;
  max-width: 640px;
  padding: clamp(36px, 6vw, 56px) clamp(24px, 5vw, 48px);
  text-align: center;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 28px;
  box-shadow: var(--shadow);
}

.thanks-logo {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: contain;
  background: #fff;
  border: 1px solid rgba(36, 89, 72, 0.18);
}

.thanks-eyebrow {
  margin: 18px 0 4px;
  color: var(--coral);
  font-family: "Marcellus", serif;
  font-size: 15px;
}

.thanks-card h1 {
  margin: 0 0 18px;
  color: var(--leaf);
  font-size: clamp(22px, 4vw, 30px);
  line-height: 1.5;
}

.thanks-card p {
  margin: 0 0 12px;
}

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

.thanks-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 28px;
}
