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

:root{
  --red:    #D42B2B;
  --green:  #1E8A3C;
  --blue:   #1A4FA0;
  --yellow: #D9A400;

  --bg-main: #F1EFED;
  --bg-alt:  #DFD6CB;

  --text:   #1a1a1a;
  --muted:  #5a5a5a;
  --border: rgba(0,0,0,0.10);

  --font-en: 'Quicksand', sans-serif;
  --font-jp: 'Noto Sans JP', sans-serif;
  --font-script: 'Sacramento', cursive;
}

html{ scroll-behavior: smooth; }

body{
  font-family: var(--font-en);
  background: var(--bg-main);
  color: var(--text);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

.c-red{ color: var(--red); }
.c-green{ color: var(--green); }
.c-blue{ color: var(--blue); }
.c-yellow{ color: var(--yellow); }
.dot{ color: var(--muted); }

.nav{
  background: var(--bg-alt);
  border-bottom: 1px solid var(--border);
}
.nav-inner{
  max-width: 1100px;
  margin: 0 auto;
  padding: 14px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.logo{
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}
.logo-img{ height: 42px; width: auto; display: block; }
.logo-url{
  font-size: 16px;
  font-weight: 500;
  color: var(--text);
}
.nav-links{ display: flex; gap: 8px; }
.nav-links a{
  font-size: 14px;
  font-weight: 500;
  color: var(--text);
  text-decoration: none;
  padding: 8px 14px;
  border-radius: 6px;
  transition: background 0.15s;
}
.nav-links a:hover{ background: rgba(0,0,0,0.06); }

.nav-toggle{
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 36px; height: 36px;
  background: none; border: none;
  cursor: pointer; padding: 6px; border-radius: 6px;
}
.nav-toggle span{
  display: block; height: 1.5px;
  background: var(--text); border-radius: 2px;
  transition: transform 0.2s, opacity 0.2s;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1){ transform: translateY(6.5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2){ opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3){ transform: translateY(-6.5px) rotate(-45deg); }

.hero{
  max-width: 1000px;
  margin: 0 auto;
  padding: 64px 24px 48px;
  text-align: center;
}
.hero-jp{
  font-family: var(--font-jp);
  font-size: clamp(36px, 6vw, 60px);
  font-weight: 700;
  color: var(--text);
  margin-bottom: 18px;
  letter-spacing: 0.02em;
}
.hero-en{
  font-size: clamp(20px, 3.2vw, 32px);
  font-weight: 500;
  letter-spacing: 0.08em;
  color: var(--text);
  margin-bottom: 36px;
}
.hero-tagline{
  font-size: clamp(18px, 2.6vw, 26px);
  font-weight: 600;
  letter-spacing: 0.04em;
  margin-bottom: 44px;
}

.pill-row{
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 16px;
}
.pill{
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--text);
  text-decoration: none;
  border: 1.5px solid rgba(0,0,0,0.25);
  border-radius: 8px;
  padding: 12px 28px;
  transition: background 0.15s, border-color 0.15s;
}
.pill:hover{
  background: rgba(0,0,0,0.04);
  border-color: rgba(0,0,0,0.4);
}

.banner-section{
  background: var(--bg-main);
  text-align: center;
  padding-bottom: 36px;
}
.banner-img-wrap{
  width: 100%;
  max-height: 360px;
  overflow: hidden;
}
.banner-img{
  width: 100%;
  height: 360px;
  object-fit: cover;
  display: block;
}
.script-title{
  font-family: var(--font-script);
  font-size: clamp(40px, 6vw, 64px);
  color: #7A2020;
  margin: 28px 0 24px;
}
.divider{
  border: none;
  border-top: 1px dashed var(--border);
  max-width: 1000px;
  margin: 20px auto;
}
.lesson-types{
  font-size: 17px;
  color: var(--text);
  font-weight: 500;
  padding: 8px 24px;
}

.split-section{
  background: var(--bg-alt);
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 40px;
  max-width: 1100px;
  margin: 0 auto;
  padding: 48px 24px;
}
.split-section.alt{ flex-direction: row-reverse; }
.split-img-wrap{
  flex: 1 1 380px;
  border-radius: 4px;
  overflow: hidden;
}
.split-img{
  width: 100%;
  height: 340px;
  object-fit: cover;
  display: block;
}
.split-text{
  flex: 1 1 320px;
  padding: 0 16px;
}
.split-en, .split-en-lg{
  font-size: 19px;
  font-weight: 500;
  letter-spacing: 0.03em;
  color: var(--text);
  margin-bottom: 8px;
  line-height: 1.5;
}
.split-en-lg{ font-size: 24px; margin-bottom: 24px; }
.split-jp, .split-jp-lg{
  font-family: var(--font-jp);
  font-size: 18px;
  color: var(--text);
  margin-top: 16px;
  line-height: 1.8;
}
.split-jp-lg{ font-size: 22px; }

.section{
  max-width: 1000px;
  margin: 0 auto;
  padding: 56px 24px;
  text-align: center;
}
.section-title{
  font-size: clamp(24px, 3.4vw, 34px);
  font-weight: 500;
  color: var(--text);
  margin-bottom: 8px;
}

.lesson-row{
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 56px;
  margin: 32px 0;
}
.lesson-item{ min-width: 160px; }
.lesson-name{
  font-size: 18px;
  font-weight: 500;
  margin-bottom: 14px;
}
.lesson-detail{
  font-size: 18px;
  color: var(--text);
}

.note{
  font-size: 14px;
  color: var(--muted);
  line-height: 1.9;
  margin-top: 20px;
}

.hours-line{
  font-size: 19px;
  margin-bottom: 8px;
}

.contact-email{
  font-size: 22px;
  margin-top: 16px;
}
.contact-email a{
  color: var(--text);
  text-decoration: underline;
}
.contact-email a:hover{ color: var(--blue); }

.map-address{
  font-size: 16px;
  color: var(--muted);
  margin: 16px 0 24px;
  line-height: 1.7;
}
.map-wrap{
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid var(--border);
}
.map-wrap iframe{ display: block; }

.footer{
  background: var(--bg-alt);
  text-align: center;
  padding: 28px 24px;
}
.footer p{
  font-size: 13px;
  color: var(--muted);
}

@media (max-width: 720px){
  .nav-toggle{ display: flex; }
  .nav-links{
    display: none;
    position: absolute;
    top: 70px; left: 0; right: 0;
    background: var(--bg-alt);
    border-bottom: 1px solid var(--border);
    flex-direction: column;
    padding: 10px 20px 16px;
  }
  .nav-links.open{ display: flex; }
  .nav-links a{ padding: 10px 14px; }
  .logo-url{ font-size: 13px; }

  .hero{ padding: 44px 20px 36px; }
  .pill-row{ gap: 10px; }
  .pill{ padding: 10px 20px; font-size: 13px; }

  .banner-img, .banner-img-wrap{ height: 220px; }
  .split-section, .split-section.alt{ flex-direction: column; padding: 36px 20px; }
  .split-img{ height: 220px; }

  .lesson-row{ gap: 32px; }
  .section{ padding: 40px 20px; }
}

@media (prefers-reduced-motion: reduce){
  *, *::before, *::after{ transition: none !important; animation: none !important; }
  html{ scroll-behavior: auto; }
}