:root {
  --green-900: #1f4a36;
  --green-800: #255c42;
  --green-700: #2f6e4f;
  --green-600: #3f8a63;
  --green-400: #7fbf8f;
  --green-200: #cfe8d4;
  --green-100: #e8f4ea;
  --cream: #faf7ef;
  --paper: #fffdf8;
  --ink: #233227;
  --ink-soft: #566457;
  --gold: #c8a24a;
  --radius: 18px;
  --shadow: 0 18px 40px rgba(31, 74, 54, 0.12);
  --shadow-sm: 0 6px 18px rgba(31, 74, 54, 0.1);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "Zen Kaku Gothic New", "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif;
  background: var(--cream);
  color: var(--ink);
  line-height: 1.8;
}

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

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

.wrap {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(250, 247, 239, 0.92);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--green-200);
}

.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 14px;
  padding-bottom: 14px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--green-900);
}

.brand .logo-mark {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--green-700), var(--green-400));
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
}

.brand .logo-mark i { width: 20px; height: 20px; }

.brand-text .en {
  display: block;
  letter-spacing: 0.06em;
  font-size: 1rem;
}

.brand-text .ja {
  display: block;
  font-size: 0.68rem;
  color: var(--ink-soft);
  font-weight: 500;
  letter-spacing: 0.08em;
}

.main-nav { display: flex; gap: 6px; align-items: center; }

.main-nav a {
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--green-900);
  transition: background 0.2s;
}

.main-nav a:hover,
.main-nav a.active { background: var(--green-200); }

.main-nav .cta-btn {
  background: var(--green-700);
  color: #fff;
  margin-left: 8px;
}

.main-nav .cta-btn:hover { background: var(--green-800); }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--green-900);
  cursor: pointer;
}

@media (max-width: 860px) {
  .main-nav {
    position: fixed;
    inset: 64px 16px auto 16px;
    background: var(--paper);
    flex-direction: column;
    align-items: stretch;
    padding: 10px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    display: none;
  }
  .main-nav.open { display: flex; }
  .main-nav a { padding: 12px 16px; }
  .main-nav .cta-btn { margin-left: 0; text-align: center; }
  .nav-toggle { display: block; }
}

/* Hero */
.hero {
  position: relative;
  min-height: 86vh;
  display: flex;
  align-items: flex-end;
  color: #fff;
  background-size: cover;
  background-position: center;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(20, 40, 28, 0.25) 0%, rgba(16, 32, 23, 0.78) 100%);
}

.hero .wrap { position: relative; z-index: 2; padding-bottom: 64px; }

.hero .eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.4);
  padding: 6px 16px;
  border-radius: 999px;
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  margin-bottom: 20px;
}

.hero h1 {
  font-size: clamp(2.1rem, 5vw, 3.4rem);
  line-height: 1.35;
  margin: 0 0 16px;
  font-weight: 800;
}

.hero h1 span { color: var(--green-200); }

.hero p.lead {
  max-width: 540px;
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.92);
  margin-bottom: 28px;
}

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

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 26px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.95rem;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.15s, box-shadow 0.15s;
}

.btn:hover { transform: translateY(-2px); }

.btn-primary { background: var(--gold); color: #27210b; }
.btn-primary:hover { box-shadow: 0 10px 24px rgba(200, 162, 74, 0.45); }

.btn-outline { border-color: rgba(255, 255, 255, 0.7); color: #fff; }
.btn-outline:hover { background: rgba(255, 255, 255, 0.12); }

.btn-solid { background: var(--green-700); color: #fff; }
.btn-solid:hover { box-shadow: 0 10px 24px rgba(47, 110, 79, 0.4); }

.hero-stats {
  display: flex;
  gap: 28px;
  margin-top: 40px;
  flex-wrap: wrap;
}

.hero-stats div { min-width: 120px; }

.hero-stats .num {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--green-200);
}

.hero-stats .label {
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.8);
}

/* Section generic */
section { padding: 88px 0; }
section.tight { padding: 56px 0; }

.section-head { text-align: center; max-width: 620px; margin: 0 auto 48px; }

.section-head .tag {
  display: inline-block;
  color: var(--green-700);
  background: var(--green-100);
  border-radius: 999px;
  padding: 5px 16px;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  margin-bottom: 14px;
}

.section-head h2 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  margin: 0 0 12px;
  color: var(--green-900);
  font-weight: 800;
}

.section-head p { color: var(--ink-soft); margin: 0; }

.bg-alt { background: var(--green-100); }

/* Page header (sub pages) */
.page-hero {
  position: relative;
  min-height: 42vh;
  display: flex;
  align-items: center;
  color: #fff;
  background-size: cover;
  background-position: center;
}

.page-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(20, 40, 28, 0.55) 0%, rgba(16, 32, 23, 0.8) 100%);
}

.page-hero .wrap { position: relative; z-index: 2; }

.page-hero .crumb {
  font-size: 0.82rem;
  color: var(--green-200);
  margin-bottom: 10px;
  letter-spacing: 0.06em;
}

.page-hero h1 {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  margin: 0 0 10px;
  font-weight: 800;
}

.page-hero p { color: rgba(255, 255, 255, 0.9); max-width: 520px; margin: 0; }

/* Cards grid */
.grid { display: grid; gap: 28px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

@media (max-width: 920px) {
  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
}

.card {
  background: var(--paper);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s, box-shadow 0.2s;
}

.card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }

.card img { width: 100%; height: 190px; object-fit: cover; }

.card .card-body { padding: 22px; }

.card .card-body h3 {
  margin: 0 0 8px;
  color: var(--green-900);
  font-size: 1.08rem;
  display: flex;
  align-items: center;
  gap: 8px;
}

.card .card-body h3 i { width: 18px; height: 18px; color: var(--green-700); }

.card .card-body p { margin: 0; color: var(--ink-soft); font-size: 0.92rem; }

/* Icon feature list */
.feature-row {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 18px 0;
  border-bottom: 1px dashed var(--green-200);
}

.feature-row:last-child { border-bottom: none; }

.feature-row .icon-box {
  width: 44px;
  height: 44px;
  flex: none;
  border-radius: 12px;
  background: var(--green-100);
  color: var(--green-700);
  display: flex;
  align-items: center;
  justify-content: center;
}

.feature-row .icon-box i { width: 22px; height: 22px; }

.feature-row h4 { margin: 0 0 4px; color: var(--green-900); font-size: 1.02rem; }
.feature-row p { margin: 0; color: var(--ink-soft); font-size: 0.92rem; }

/* Pricing tables */
.price-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--paper);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.price-table caption {
  text-align: left;
  font-weight: 700;
  color: var(--green-900);
  padding: 18px 22px 8px;
  font-size: 1.05rem;
  background: var(--paper);
}

.price-table th, .price-table td {
  padding: 14px 22px;
  text-align: left;
  border-top: 1px solid var(--green-100);
  font-size: 0.95rem;
}

.price-table thead th {
  background: var(--green-700);
  color: #fff;
  font-weight: 600;
  border-top: none;
}

.price-table tbody tr:nth-child(even) { background: var(--green-100); }

.price-table td.price { font-weight: 800; color: var(--green-800); white-space: nowrap; }
.price-table td.note { color: var(--ink-soft); font-size: 0.85rem; }

.price-note {
  margin-top: 14px;
  font-size: 0.84rem;
  color: var(--ink-soft);
  display: flex;
  gap: 8px;
  align-items: flex-start;
}
.price-note i { width: 16px; height: 16px; flex: none; margin-top: 2px; color: var(--green-700); }

/* Hours table */
.hours-table {
  width: 100%;
  border-collapse: collapse;
}
.hours-table th, .hours-table td {
  padding: 10px 14px;
  border-bottom: 1px solid var(--green-100);
  font-size: 0.92rem;
}
.hours-table th { color: var(--green-900); text-align: left; width: 40%; }

.panel {
  background: var(--paper);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  padding: 28px;
}

/* Testimonials */
.testi {
  background: var(--paper);
  border-radius: var(--radius);
  padding: 26px;
  box-shadow: var(--shadow-sm);
  height: 100%;
}
.testi .stars { color: var(--gold); display: flex; gap: 2px; margin-bottom: 10px; }
.testi .stars i { width: 16px; height: 16px; }
.testi p.quote { color: var(--ink); font-size: 0.95rem; margin: 0 0 14px; }
.testi .who { display: flex; align-items: center; gap: 10px; font-size: 0.85rem; color: var(--ink-soft); }
.testi .who .dot {
  width: 34px; height: 34px; border-radius: 50%;
  background: var(--green-200); color: var(--green-800);
  display: flex; align-items: center; justify-content: center; font-weight: 700;
}

/* Instructor profile */
.profile-card {
  display: flex;
  gap: 26px;
  background: var(--paper);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  padding: 24px;
  align-items: center;
}
.profile-card img {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid var(--green-200);
}
.profile-card .stats {
  display: flex;
  gap: 18px;
  margin-top: 12px;
  flex-wrap: wrap;
}
.profile-card .stats div { font-size: 0.82rem; color: var(--ink-soft); }
.profile-card .stats strong { display: block; font-size: 1.2rem; color: var(--green-800); }

@media (max-width: 640px) {
  .profile-card { flex-direction: column; text-align: center; }
  .profile-card .stats { justify-content: center; }
}

/* CTA band */
.cta-band {
  position: relative;
  color: #fff;
  background-size: cover;
  background-position: center;
  border-radius: var(--radius);
  overflow: hidden;
  padding: 60px 40px;
  text-align: center;
}
.cta-band::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(120deg, rgba(31,74,54,0.92), rgba(63,138,99,0.78));
}
.cta-band .inner { position: relative; z-index: 2; }
.cta-band h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); margin: 0 0 14px; }
.cta-band p { max-width: 480px; margin: 0 auto 26px; color: rgba(255,255,255,0.92); }
.cta-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
@media (max-width: 860px) { .steps { grid-template-columns: repeat(2, 1fr); } }
.step {
  background: var(--paper);
  border-radius: var(--radius);
  padding: 22px;
  box-shadow: var(--shadow-sm);
  position: relative;
}
.step .step-num {
  width: 34px; height: 34px; border-radius: 50%;
  background: var(--green-700); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-weight: 800; margin-bottom: 14px;
}
.step h4 { margin: 0 0 6px; color: var(--green-900); font-size: 1rem; }
.step p { margin: 0; color: var(--ink-soft); font-size: 0.86rem; }

/* Facility detail layout */
.facility-detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
  margin-bottom: 70px;
}
.facility-detail.reverse { direction: rtl; }
.facility-detail.reverse > * { direction: ltr; }
.facility-detail img {
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  height: 340px;
  object-fit: cover;
  width: 100%;
}
.facility-detail .tag-mini {
  display: inline-block;
  color: var(--green-700);
  font-weight: 700;
  font-size: 0.8rem;
  background: var(--green-100);
  padding: 4px 12px;
  border-radius: 999px;
  margin-bottom: 12px;
}
.facility-detail h3 { color: var(--green-900); font-size: 1.4rem; margin: 0 0 12px; }
.facility-detail ul { padding-left: 20px; color: var(--ink-soft); margin: 14px 0 0; }
.facility-detail ul li { margin-bottom: 6px; }

@media (max-width: 760px) {
  .facility-detail, .facility-detail.reverse { grid-template-columns: 1fr; direction: ltr; }
  .facility-detail img { height: 240px; }
}

/* Map */
.map-frame {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: none;
  width: 100%;
  height: 380px;
}

/* Form */
.contact-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 40px;
}
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } }

.form-group { margin-bottom: 20px; }
.form-group label {
  display: block;
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--green-900);
  margin-bottom: 8px;
}
.form-group .req {
  color: #fff; background: #c0562f; font-size: 0.68rem; padding: 2px 8px;
  border-radius: 999px; margin-left: 8px; font-weight: 700;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 13px 16px;
  border-radius: 12px;
  border: 1.5px solid var(--green-200);
  background: var(--paper);
  font-size: 0.95rem;
  font-family: inherit;
  color: var(--ink);
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--green-600);
}
.radio-row { display: flex; gap: 18px; flex-wrap: wrap; }
.radio-row label { display: flex; align-items: center; gap: 6px; font-weight: 500; color: var(--ink); white-space: nowrap; flex: none; }

.form-note {
  background: var(--green-100);
  border-radius: 14px;
  padding: 16px 18px;
  font-size: 0.84rem;
  color: var(--green-900);
  display: flex;
  gap: 10px;
  margin-top: 18px;
}
.form-note i { width: 18px; height: 18px; flex: none; margin-top: 2px; }

#formSuccess {
  display: none;
  background: var(--green-700);
  color: #fff;
  padding: 18px 20px;
  border-radius: 14px;
  margin-bottom: 20px;
  align-items: center;
  gap: 10px;
}
#formSuccess.show { display: flex; }

/* Footer */
footer.site-footer {
  background: var(--green-900);
  color: rgba(255,255,255,0.86);
  padding: 60px 0 24px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr 0.8fr 1fr;
  gap: 32px;
  margin-bottom: 40px;
}
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }

.footer-grid h5 {
  color: #fff; font-size: 0.92rem; margin: 0 0 14px; letter-spacing: 0.04em;
}
.footer-grid ul { list-style: none; padding: 0; margin: 0; }
.footer-grid li { margin-bottom: 9px; font-size: 0.86rem; }
.footer-grid a:hover { color: var(--green-200); }

.footer-brand { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.footer-brand .logo-mark {
  width: 36px; height: 36px; border-radius: 50%;
  background: linear-gradient(135deg, var(--green-600), var(--green-400));
  display: flex; align-items: center; justify-content: center; color: #fff;
}
.footer-brand .logo-mark i { width: 18px; height: 18px; }
.footer-brand strong { color: #fff; font-size: 1rem; }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.14);
  padding-top: 20px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 0.78rem;
  color: rgba(255,255,255,0.6);
}

.demo-badge {
  position: fixed;
  left: 16px;
  bottom: 16px;
  z-index: 999;
  background: var(--green-900);
  color: #fff;
  padding: 10px 16px;
  border-radius: 999px;
  font-size: 0.74rem;
  box-shadow: var(--shadow);
  display: flex;
  align-items: center;
  gap: 8px;
  opacity: 0.92;
}
.demo-badge i { width: 14px; height: 14px; }

.social-icons { display: flex; gap: 10px; margin-top: 16px; }
.social-icons a {
  width: 36px; height: 36px; border-radius: 50%;
  background: rgba(255,255,255,0.1);
  display: flex; align-items: center; justify-content: center;
}
.social-icons a i { width: 16px; height: 16px; }
.social-icons a:hover { background: var(--green-600); }
