/* Colourful English School — Be..English inspired design system */
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@400;500;700;900&family=Open+Sans:wght@400;600;700&display=swap');

:root {
  --primary: #2ea3f2;
  --primary-dark: #1a8cd8;
  --accent-red: #e02b20;
  --accent-green: #8ec31f;
  --accent-pink: #e61773;
  --text: #666666;
  --text-dark: #333333;
  --text-black: #000000;
  --bg: #ffffff;
  --bg-light: #f7f9fc;
  --bg-warm: #fff9f0;
  --border: #e5e5e5;
  --shadow: 0 1px 0 rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 8px 30px rgba(0, 0, 0, 0.12);
  --container: 1080px;
  --header-h: 72px;
  --font-ja: 'Noto Sans JP', 'Hiragino Kaku Gothic ProN', 'Yu Gothic', Meiryo, sans-serif;
  --font-en: 'Open Sans', Arial, sans-serif;
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-ja);
  font-size: 14px;
  font-weight: 500;
  color: var(--text);
  background: var(--bg);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--primary); text-decoration: none; transition: color 0.3s var(--ease), opacity 0.3s var(--ease); }
a:hover { color: #82c0c7; }
ul { list-style: none; }

.container {
  width: min(100% - 40px, var(--container));
  margin-inline: auto;
}

/* ========== HEADER ========== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: #fff;
  box-shadow: var(--shadow);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-h);
  gap: 16px;
}

.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
  color: var(--text-dark);
}
.logo-text:hover { color: var(--primary); }
.logo-text__main {
  font-family: var(--font-en);
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}
.logo-text__sub {
  font-family: var(--font-en);
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--primary);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

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

.main-nav > li { position: relative; }

.main-nav > li > a {
  display: block;
  padding: 10px 14px;
  font-size: 13px;
  font-weight: 700;
  color: var(--text-dark);
  letter-spacing: 0.02em;
}

.main-nav > li > a:hover,
.main-nav > li.active > a { color: var(--primary); }

.main-nav .sub-menu {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 220px;
  background: #fff;
  padding: 16px 0;
  border-top: 3px solid var(--primary);
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: all 0.25s var(--ease);
}

.main-nav li:hover .sub-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.sub-menu a {
  display: block;
  padding: 8px 20px;
  font-size: 13px;
  color: var(--text);
}

.header-cta {
  display: flex;
  gap: 8px;
  flex-shrink: 0;
}

.btn-header {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 18px;
  font-size: 13px;
  font-weight: 700;
  border-radius: 3px;
  border: 2px solid var(--primary);
  color: var(--primary);
  background: transparent;
  cursor: pointer;
  transition: all 0.3s var(--ease);
  white-space: nowrap;
}

.btn-header:hover {
  background: var(--primary);
  color: #fff;
}

.btn-header--line {
  border-color: #06c755;
  color: #06c755;
}

.btn-header--line:hover {
  background: #06c755;
  color: #fff;
}

.btn-header--apply {
  background: var(--primary);
  color: #fff;
}

.btn-header--apply:hover {
  background: var(--primary-dark);
  border-color: var(--primary-dark);
  color: #fff;
}

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text-dark);
  transition: 0.3s;
}

/* ========== HERO ========== */
.hero {
  position: relative;
  min-height: 85vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: calc(var(--header-h) + 60px) 20px 80px;
  overflow: hidden;
  color: #fff;
}

.hero__video-wrap {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero__video-wrap video,
.hero__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.hero__content {
  position: relative;
  z-index: 1;
  max-width: 800px;
}

.hero h1 {
  font-size: clamp(1.5rem, 4vw, 2.4rem);
  font-weight: 900;
  line-height: 1.4;
  margin-bottom: 16px;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.2);
}

.hero__catch {
  font-size: clamp(1.2rem, 3vw, 1.8rem);
  font-weight: 900;
  line-height: 1.5;
  margin-bottom: 12px;
}

.hero__note {
  font-size: 14px;
  opacity: 0.95;
  margin-top: 8px;
}

.hero__decor {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 32px;
  flex-wrap: wrap;
}

.hero__decor img {
  width: 80px;
  height: 80px;
  object-fit: contain;
  animation: float 3s ease-in-out infinite;
}

.hero__decor img:nth-child(2) { animation-delay: 0.5s; }
.hero__decor img:nth-child(3) { animation-delay: 1s; }

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

/* ========== SECTIONS ========== */
.section { padding: 80px 0; }
.section--gray { background: var(--bg-light); }
.section--warm { background: var(--bg-warm); }

.sectionTitle {
  text-align: center;
  font-weight: 900;
  margin-bottom: 24px;
}

.sectionTitle--en {
  display: block;
  letter-spacing: 0.04em;
  color: var(--accent-green);
  font-size: 14px;
  font-family: var(--font-en);
  text-transform: uppercase;
}

.sectionTitle--ja {
  display: block;
  letter-spacing: 0.04em;
  font-size: clamp(1.5rem, 3vw, 2rem);
  color: var(--text-black);
  margin-top: 10px;
}

.sectionText {
  text-align: center;
  letter-spacing: 0.04em;
  line-height: 1.8;
  font-size: 16px;
  font-weight: 700;
  color: var(--text-black);
  max-width: 720px;
  margin: 0 auto 40px;
}

/* ========== GOALS / FEATURES ========== */
.goals-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.goals-list li {
  position: relative;
  padding: 12px 0 12px 28px;
  font-size: 15px;
  font-weight: 700;
  color: var(--text-dark);
  border-bottom: 1px dashed var(--border);
}

.goals-list li::before {
  content: '';
  position: absolute;
  left: 4px;
  top: 1.15em;
  width: 8px;
  height: 8px;
  background: var(--accent-green);
  border-radius: 50%;
}

.highlight-red { color: var(--accent-red); font-weight: 900; }

.feature-banner {
  text-align: center;
  padding: 48px 0;
}

.feature-banner h3 {
  font-size: 1.25rem;
  font-weight: 900;
  margin-bottom: 24px;
  color: var(--text-black);
}

.feature-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.feature-split h4 {
  font-size: 1.1rem;
  font-weight: 900;
  color: var(--text-black);
  margin-bottom: 16px;
}

/* ========== CARDS ========== */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 28px;
}

.lesson-card {
  background: transparent;
  overflow: hidden;
  transition: opacity 0.3s var(--ease);
}

.lesson-card:hover { opacity: 0.92; }

.lesson-card__img {
  aspect-ratio: 16/10;
  overflow: hidden;
  position: relative;
}

.lesson-card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s var(--ease);
}

.lesson-card:hover .lesson-card__img img { transform: scale(1.05); }

.lesson-card__badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: var(--accent-pink);
  color: #fff;
  font-size: 11px;
  font-weight: 900;
  padding: 4px 10px;
  border-radius: 3px;
}

.lesson-card__body { padding: 24px; }

.lesson-card__color {
  display: inline-block;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  margin-right: 8px;
  vertical-align: middle;
}

.lesson-card__color--pink { background: #ff6b9d; }
.lesson-card__color--yellow { background: #ffc107; }
.lesson-card__color--blue { background: #2ea3f2; }
.lesson-card__color--purple { background: #9b51e0; }

.lesson-card h3 {
  font-size: 1.15rem;
  font-weight: 900;
  color: var(--text-black);
  margin-bottom: 8px;
}

.lesson-card__meta {
  font-size: 13px;
  color: var(--primary);
  font-weight: 700;
  margin-bottom: 12px;
}

.lesson-card p {
  font-size: 13px;
  line-height: 1.8;
  margin-bottom: 16px;
}

/* ========== ABOUT BOXES ========== */
.about-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 28px;
  margin-top: 40px;
}

.about-box {
  text-align: left;
  padding: 28px 0;
  background: transparent;
  border-bottom: 1px solid var(--border);
}

.about-box__label {
  font-family: var(--font-en);
  font-size: 2rem;
  font-weight: 700;
  color: var(--accent-green);
  line-height: 1;
  margin-bottom: 12px;
}

.about-box h4 {
  font-size: 1rem;
  font-weight: 900;
  color: var(--text-black);
  margin-bottom: 12px;
}

.about-box p { font-size: 13px; }

/* ========== SWIPER / GALLERY ========== */
.gallery-slider {
  overflow: hidden;
  padding: 20px 0 40px;
}

.gallery-track {
  display: flex;
  gap: 12px;
  transition: transform 0.5s var(--ease);
}

.gallery-item {
  flex: 0 0 calc(100% / 3.5 - 12px);
  position: relative;
  aspect-ratio: 16/10;
  overflow: hidden;
  cursor: pointer;
}

.gallery-item::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.2);
  z-index: 1;
  transition: background 0.3s;
}

.gallery-item:hover::before { background: rgba(0, 0, 0, 0.35); }

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gallery-item__label {
  position: absolute;
  bottom: 12px;
  left: 12px;
  z-index: 2;
  color: #fff;
  font-size: 13px;
  font-weight: 800;
}

.slider-nav {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-top: 20px;
}

.slider-btn {
  width: 50px;
  height: 50px;
  border: none;
  border-radius: 50%;
  background: var(--accent-green);
  color: #fff;
  font-size: 20px;
  cursor: pointer;
  transition: opacity 0.3s, transform 0.3s;
}

.slider-btn:hover { opacity: 0.85; transform: scale(1.05); }

/* ========== BUTTONS ========== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 16px 32px;
  font-size: 15px;
  font-weight: 900;
  border-radius: 3px;
  border: none;
  cursor: pointer;
  transition: all 0.3s var(--ease);
  letter-spacing: 0.04em;
}

.btn-primary {
  background: var(--primary);
  color: #fff;
  border: 2px solid var(--primary);
}

.btn-primary:hover {
  background: var(--primary-dark);
  border-color: var(--primary-dark);
  color: #fff;
  transform: translateY(-2px);
}

.btn-green {
  background: var(--accent-green);
  color: #fff;
  outline: 2px solid #fff;
  outline-offset: -6px;
  max-width: 480px;
  width: 100%;
  margin-inline: auto;
  padding: 22px 24px;
}

.btn-green:hover {
  opacity: 0.9;
  color: #fff;
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  color: var(--primary);
  border: 2px solid var(--primary);
}

.btn-outline:hover {
  background: var(--primary);
  color: #fff;
}

.btn-center { display: flex; justify-content: center; margin-top: 32px; }

.cta-bar {
  background: linear-gradient(135deg, var(--primary) 0%, #1a7fc4 100%);
  padding: 56px 20px;
  text-align: center;
  color: #fff;
}

.cta-bar h3 {
  font-size: 1.4rem;
  font-weight: 900;
  margin-bottom: 12px;
}

.cta-bar p { margin-bottom: 24px; opacity: 0.95; }

.cta-bar .btn { background: #fff; color: var(--primary); border-color: #fff; }
.cta-bar .btn:hover { background: var(--accent-green); color: #fff; border-color: var(--accent-green); }

/* ========== FLOW ========== */
.flow-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 40px;
}

.flow-step {
  text-align: center;
  padding: 28px 16px;
  background: transparent;
  border-top: 3px solid var(--primary);
  position: relative;
}

.flow-step__num {
  font-family: var(--font-en);
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--primary);
  line-height: 1;
  margin-bottom: 12px;
}

.flow-step h4 {
  font-size: 0.95rem;
  font-weight: 900;
  color: var(--text-black);
  margin-bottom: 8px;
}

.flow-step p { font-size: 12px; }

/* ========== STAFF ========== */
.staff-card {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 40px;
  padding: 48px 0;
  border-bottom: 1px solid var(--border);
  align-items: start;
}

.staff-card:last-child { border-bottom: none; }

.staff-card__photo {
  overflow: hidden;
}

.staff-card__photo img {
  width: 100%;
  aspect-ratio: 3/4;
  object-fit: cover;
}

.staff-card__flag {
  width: 32px;
  height: auto;
  display: inline-block;
  vertical-align: middle;
  margin-left: 8px;
}

.staff-card h2 {
  font-size: 1.5rem;
  font-weight: 900;
  color: var(--text-black);
  margin-bottom: 16px;
}

.staff-card__bio {
  font-size: 14px;
  line-height: 1.9;
  margin-bottom: 16px;
}

.staff-card__bio--en {
  font-family: var(--font-en);
  color: var(--text);
  font-size: 13px;
  padding: 16px 0 16px 20px;
  border-left: 3px solid var(--primary);
}

/* ========== ACCESS ========== */
.access-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}

.access-block {
  background: transparent;
  padding: 0 0 40px;
  border-bottom: 1px solid var(--border);
}

.access-block h3 {
  font-size: 1.2rem;
  font-weight: 900;
  color: var(--primary);
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 3px solid var(--accent-green);
}

.access-block address {
  font-style: normal;
  line-height: 1.9;
  margin-bottom: 16px;
}

.access-block .map {
  margin-top: 16px;
  overflow: hidden;
  aspect-ratio: 16/9;
  background: var(--bg-light);
}

.access-block .map iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

/* ========== SECTION VISUAL ========== */
.section-visual {
  max-width: 880px;
  margin: 0 auto 32px;
  overflow: hidden;
}

.section-visual img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

/* ========== PAGE HERO ========== */
.page-hero {
  padding: calc(var(--header-h) + 48px) 20px 48px;
  text-align: center;
  background: var(--bg-light);
}

.page-hero--image {
  position: relative;
  min-height: 52vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: calc(var(--header-h) + 48px) 20px 64px;
  background-color: var(--bg-light);
  overflow: hidden;
}

.page-hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.page-hero__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(135deg, rgba(46, 163, 242, 0.72) 0%, rgba(0, 0, 0, 0.45) 100%);
}

.page-hero__inner {
  position: relative;
  z-index: 2;
  color: #fff;
}

.page-hero--image h1,
.page-hero--image p {
  color: #fff;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.25);
}

.page-hero h1 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 900;
}

.page-hero:not(.page-hero--image) h1 {
  color: var(--text-black);
}

.page-hero p {
  margin-top: 12px;
  font-weight: 700;
}

.page-hero:not(.page-hero--image) p {
  color: var(--text);
}

.menu-link-card {
  display: block;
  padding: 32px 0;
  border-bottom: 1px solid var(--border);
  text-decoration: none;
  color: inherit;
  transition: color 0.3s;
}

.menu-link-card:hover { color: var(--primary); }

.menu-link-card h3 {
  font-size: 1.1rem;
  font-weight: 900;
  color: var(--text-black);
  margin-bottom: 8px;
}

.menu-link-card:hover h3 { color: var(--primary); }

.menu-links { max-width: 640px; margin-inline: auto; }

/* ========== ENROLLMENT CARDS ========== */
.enroll-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  margin-top: 40px;
}

.enroll-card {
  position: relative;
  overflow: hidden;
  min-height: 320px;
  display: flex;
  align-items: flex-end;
  color: #fff;
  text-decoration: none;
  transition: transform 0.35s var(--ease);
}

.enroll-card:hover {
  transform: scale(1.02);
  color: #fff;
}

.enroll-card__bg {
  position: absolute;
  inset: 0;
}

.enroll-card__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.enroll-card__bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0.2) 100%);
}

.enroll-card__content {
  position: relative;
  z-index: 1;
  padding: 32px;
  width: 100%;
}

.enroll-card__badge {
  display: inline-block;
  background: var(--accent-pink);
  padding: 6px 14px;
  font-size: 13px;
  font-weight: 900;
  border-radius: 3px;
  margin-bottom: 12px;
}

.enroll-card h3 {
  font-size: 1.3rem;
  font-weight: 900;
  margin-bottom: 8px;
}

/* ========== FOOTER ========== */
.site-footer {
  background: #2c2c2c;
  color: #ccc;
  padding: 56px 0 24px;
}

.footer-locations {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-loc h4 {
  color: #fff;
  font-size: 14px;
  font-weight: 900;
  margin-bottom: 12px;
}

.footer-loc p { font-size: 13px; line-height: 1.8; }

.footer-loc img { max-height: 48px; margin-bottom: 12px; }

.footer-bottom {
  text-align: center;
  padding-top: 24px;
  border-top: 1px solid #444;
  font-size: 12px;
}

.footer-tel {
  font-size: 1.5rem;
  font-weight: 900;
  color: var(--primary);
  margin: 16px 0;
}

.footer-tel a { color: var(--primary); }
.footer-tel a:hover { color: #82c0c7; }

.lesnavi-badge {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 24px;
  justify-content: center;
}

.lesnavi-badge img { height: 42px; }

/* ========== FLOATING CTA ========== */
.floating-cta {
  position: fixed;
  right: 16px;
  bottom: 24px;
  z-index: 999;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.floating-cta a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  color: #fff;
  font-size: 11px;
  font-weight: 900;
  text-align: center;
  line-height: 1.2;
  box-shadow: 0 4px 16px rgba(0,0,0,0.2);
  transition: transform 0.3s;
}

.floating-cta a:hover { transform: scale(1.08); color: #fff; }
.floating-cta .tel { background: var(--primary); }
.floating-cta .line { background: #06c755; }

/* ========== TRIAL BOOKING ========== */
.booking-section { background: var(--bg-light); }

.booking-note {
  text-align: center;
  margin-bottom: 40px;
}

.booking-note small {
  display: block;
  margin-top: 8px;
  color: var(--text);
  font-size: 12px;
}

.booking-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
}

.booking-calendar-wrap {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.booking-calendar {
  background: #fff;
  border-radius: 12px;
  padding: 24px;
  box-shadow: var(--shadow-lg);
}

.booking-calendar__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}

.booking-calendar__month {
  font-size: 1.1rem;
  font-weight: 900;
  color: var(--text-black);
}

.booking-calendar__nav {
  width: 40px;
  height: 40px;
  border: 1px solid var(--border);
  border-radius: 50%;
  background: #fff;
  font-size: 1.4rem;
  line-height: 1;
  color: var(--primary);
  cursor: pointer;
  transition: background 0.2s var(--ease), border-color 0.2s var(--ease);
}

.booking-calendar__nav:hover {
  background: var(--bg-light);
  border-color: var(--primary);
}

.booking-calendar__weekdays {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 4px;
  margin-bottom: 8px;
  text-align: center;
  font-size: 11px;
  font-weight: 700;
  color: var(--text);
}

.booking-calendar__weekdays span:first-child { color: var(--accent-red); }
.booking-calendar__weekdays span:last-child { color: var(--primary); }

.booking-calendar__grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 4px;
}

.cal-cell--empty { visibility: hidden; }

.cal-day {
  aspect-ratio: 1;
  border: none;
  border-radius: 8px;
  background: transparent;
  font-family: var(--font-ja);
  font-size: 13px;
  font-weight: 700;
  color: var(--text-dark);
  cursor: pointer;
  transition: background 0.2s var(--ease), color 0.2s var(--ease);
}

.cal-day--disabled {
  color: #ccc;
  cursor: not-allowed;
}

.cal-day--available:hover {
  background: rgba(46, 163, 242, 0.15);
  color: var(--primary);
}

.cal-day--available {
  background: rgba(142, 195, 31, 0.12);
  color: var(--text-black);
}

.cal-day.is-selected {
  background: var(--primary);
  color: #fff;
}

.booking-calendar__legend {
  display: flex;
  flex-wrap: wrap;
  gap: 16px 24px;
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
  font-size: 12px;
  color: var(--text);
}

.booking-calendar__legend li {
  display: flex;
  align-items: center;
  gap: 8px;
}

.legend-dot {
  width: 12px;
  height: 12px;
  border-radius: 4px;
}

.legend-dot--available { background: rgba(142, 195, 31, 0.5); }
.legend-dot--selected { background: var(--primary); }
.legend-dot--unavailable { background: #e5e5e5; }

.booking-times {
  background: #fff;
  border-radius: 12px;
  padding: 24px;
  box-shadow: var(--shadow-lg);
}

.booking-times__title {
  font-size: 1rem;
  font-weight: 900;
  color: var(--text-black);
  margin-bottom: 16px;
}

.booking-times__slots {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.booking-times__slot {
  padding: 10px 20px;
  border: 2px solid var(--border);
  border-radius: 8px;
  background: #fff;
  font-family: var(--font-ja);
  font-size: 14px;
  font-weight: 700;
  color: var(--text-dark);
  cursor: pointer;
  transition: border-color 0.2s var(--ease), background 0.2s var(--ease), color 0.2s var(--ease);
}

.booking-times__slot:hover {
  border-color: var(--primary);
  color: var(--primary);
}

.booking-times__slot.is-selected {
  border-color: var(--primary);
  background: var(--primary);
  color: #fff;
}

.booking-form {
  background: #fff;
  border-radius: 12px;
  padding: 28px;
  box-shadow: var(--shadow-lg);
}

.booking-form__title {
  font-size: 1.1rem;
  font-weight: 900;
  color: var(--text-black);
  margin-bottom: 12px;
}

.booking-form__selected {
  padding: 12px 16px;
  margin-bottom: 24px;
  background: var(--bg-light);
  border-radius: 8px;
  font-size: 13px;
  font-weight: 700;
  color: var(--text);
  border-left: 4px solid var(--border);
}

.booking-form__selected.is-set {
  border-left-color: var(--primary);
  color: var(--primary-dark);
  background: rgba(46, 163, 242, 0.08);
}

.booking-field {
  display: block;
  margin-bottom: 18px;
}

.booking-field span {
  display: block;
  font-size: 13px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 6px;
}

.booking-field em {
  font-style: normal;
  font-size: 11px;
  color: var(--accent-red);
  margin-left: 4px;
}

.booking-field input,
.booking-field select,
.booking-field textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: 8px;
  font-family: var(--font-ja);
  font-size: 14px;
  color: var(--text-dark);
  transition: border-color 0.2s var(--ease);
}

.booking-field input:focus,
.booking-field select:focus,
.booking-field textarea:focus {
  outline: none;
  border-color: var(--primary);
}

.booking-form__submit {
  width: 100%;
  margin-top: 8px;
  padding: 14px;
}

.booking-form__alt {
  margin-top: 20px;
  text-align: center;
  font-size: 12px;
  color: var(--text);
}

/* ========== ANIMATIONS ========== */
.fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

.fade-up.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ========== MENU MOBILE ========== */
@media (max-width: 980px) {
  .menu-toggle { display: flex; }

  .main-nav {
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    bottom: 0;
    background: #fff;
    flex-direction: column;
    align-items: stretch;
    padding: 24px;
    gap: 0;
    transform: translateX(100%);
    transition: transform 0.35s var(--ease);
    overflow-y: auto;
  }

  .main-nav.is-open { transform: translateX(0); }

  .main-nav .sub-menu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    border: none;
    padding: 0 0 0 16px;
    display: none;
  }

  .main-nav li.has-sub.open .sub-menu { display: block; }

  .header-cta { display: none; }

  .goals-grid,
  .feature-split,
  .about-grid,
  .flow-steps,
  .access-grid,
  .enroll-cards,
  .footer-locations { grid-template-columns: 1fr; }

  .staff-card { grid-template-columns: 1fr; }

  .gallery-item { flex: 0 0 calc(100% / 1.5 - 12px); }

  .hero { min-height: 70vh; }
}

@media (max-width: 767px) {
  .section { padding: 48px 0; }
  .sectionTitle--ja { font-size: 1.35rem; }
  .flow-steps { grid-template-columns: 1fr 1fr; }

  .booking-layout { grid-template-columns: 1fr; }
}
