:root {
  --green: #99cc99;
  --green-dark: #7da77d;
  --orange: #ffab00;
  --cream: #ecd590;
  --ink: #212121;
  --text: #7a7a7a;
  --link: #0274be;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Noto Sans JP", "Yu Gothic", Meiryo, sans-serif;
  color: var(--ink);
  line-height: 1.7;
  background: #fff;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--link); }
h1, h2, h3, h4 { line-height: 1.4; margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }

/* ---- header ---- */
.site-header {
  background: var(--green);
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: 8px 24px;
  padding: 10px 6.5%;
}
.site-header .logo img { width: 345px; }
.site-header nav ul { display: flex; flex-wrap: wrap; gap: 4px 40px; }
.site-header nav a { color: var(--text); font-weight: 600; font-size: 17px; text-decoration: none; }
.site-header nav a:hover { color: #fff; }

/* ---- buttons / labels ---- */
.btn {
  display: inline-block;
  background: var(--orange); color: #fff;
  font-size: 22px; font-weight: 700; text-decoration: none;
  padding: 6px 26px; border-radius: 30px;
}
.btn::before { content: "▶ "; }
.btn-light {
  display: inline-block;
  background: var(--cream); color: #28211a;
  font-size: 17px; font-weight: 700; text-decoration: none;
  padding: 18px 52px; border-radius: 40px;
}
.sub-link { display: block; margin-top: 40px; font-weight: 700; text-decoration: none; }
.label { font-size: 14px; font-weight: 700; letter-spacing: 4px; margin: 0 0 6px; }
.label::before { content: "[ "; color: var(--orange); }
.label::after { content: " ]"; color: var(--orange); }
.bar::after { content: ""; display: block; width: 72px; border-top: 3px solid var(--orange); margin: 22px auto 28px; }

/* ---- home: hero ---- */
.hero { position: relative; background: var(--green); padding-top: 80px; }
.hero-photo {
  margin-left: 11.3%;
  min-height: 720px;
  background: url("/wp-content/uploads/2020/08/pexels-bongkarn-thanyakij-3740557-scaled.jpg") center / cover;
  display: flex; flex-direction: column; justify-content: flex-end; align-items: center;
  padding: 0 16px 60px; color: #fff; text-align: center;
}
.hero-photo p { font-size: 24px; font-weight: 700; margin: 0 0 20px; }
.hero-photo ul { display: flex; gap: 60px; }
.hero-photo li { color: var(--cream); font-weight: 700; border-bottom: 1px solid rgba(255, 255, 255, .15); }
.hero-copy { position: absolute; left: 1.2%; top: 290px; }
.hero-copy .since { color: var(--text); font-size: 20px; margin: 0; }
.hero-copy .since::after { content: ""; display: block; width: 24px; border-top: 1px solid var(--text); margin: 18px 0 30px; }
.hero h1 { color: #fff; font-size: 84px; line-height: 1.15; text-shadow: 0 2px 14px rgba(0, 0, 0, .2); }

/* ---- home: sections ---- */
.motto { background: var(--green); text-align: center; padding: 60px 16px 90px; }
.motto h2 { color: #fff; font-size: 30px; margin-bottom: 80px; }

.lessons { background: var(--green-dark); text-align: center; padding: 100px 16px 140px; }
.lessons > h2 { color: #fff; font-size: 32px; }
.lessons > p { color: #fff; font-size: 14px; margin: 16px 0 70px; }
.cards {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px;
  max-width: 1100px; margin: 0 auto 40px; text-align: left;
}
.card { background: #f9f9f9; border-radius: 6px; box-shadow: 0 6px 12px rgba(0, 0, 0, .3); padding: 30px 30px 40px; }
.card img { width: 100%; height: 293px; object-fit: contain; }
.card h3 { text-align: center; font-size: 26px; margin: 16px 0 18px; }
.card li { font-size: 14px; margin-bottom: 26px; }

.cta-wrap { background: var(--green); padding: 10px 80px; }
.cta {
  background: linear-gradient(220deg, var(--green) 0%, rgba(21, 93, 87, .55) 100%), var(--green);
  text-align: center; padding: 80px 16px;
}
.cta h2 { color: #fff; font-size: 34px; line-height: 1.75; margin-bottom: 36px; }

/* ---- contact ---- */
.contact { display: grid; grid-template-columns: 1fr 2fr; min-height: 700px; }
.contact iframe { width: 100%; height: 100%; min-height: 400px; border: 0; }
.contact-body { text-align: center; padding: 50px 16px; }
.contact-body h2 { font-size: 44px; color: #28211a; }
.contact-row { display: flex; justify-content: center; gap: 24px; margin-top: 70px; text-align: left; }
.contact-row .label { margin-top: 14px; }
.contact-list li { display: grid; grid-template-columns: 45px auto; gap: 0 13px; margin-bottom: 25px; }
.contact-list .icon {
  grid-row: span 2; width: 45px; height: 45px; background: var(--orange);
  display: grid; place-items: center;
}
.contact-list .icon svg { width: 14px; height: 14px; fill: #fff; }
.contact-list b { font-size: 15px; }
.contact-list span, .contact-list a { font-size: 14px; color: var(--text); text-decoration: none; }

/* ---- footer ---- */
.site-footer { background: #c4c4c4; color: #fff; text-align: center; padding: 30px 16px; font-size: 13px; }
.site-footer ul { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 24px; margin: 10px 0; }
.site-footer a { color: #fff; }

/* ---- about ---- */
.about-intro { background: #f5f7fa; padding: 110px 16px; }
.about-intro .inner {
  display: grid; grid-template-columns: 1.65fr 1fr; gap: 70px; align-items: start;
  max-width: 980px; margin: 0 auto;
}
.about-intro .head { text-align: center; }
.about-intro h1 { font-size: 32px; font-weight: 400; }
.about-intro p { color: var(--text); margin: 0 0 1.5em; }
.about-intro em { font-weight: 700; }

.block { text-align: center; padding: 0 16px 120px; max-width: 1100px; margin: 0 auto; }
.block h2 { font-size: 28px; font-weight: 400; }
.block > p { color: var(--text); font-size: 14px; }
.teachers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; margin-top: 50px; align-items: start; }
.teachers h3 { font-size: 18px; margin: 20px 0 16px; }
.teachers p { color: var(--text); font-size: 13px; margin: 0 0 12px; }
.school { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 40px; }
.school figure { margin: 0; background: #fff; box-shadow: 0 4px 10px rgba(0, 0, 0, .08); }
.school img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.school figcaption { font-size: 13px; padding: 12px 8px; }

/* ---- phones ---- */
@media (max-width: 767px) {
  .site-header { justify-content: center; padding: 10px 16px; }
  .site-header .logo img { width: 240px; }
  .site-header nav ul { justify-content: center; gap: 4px 20px; }
  .site-header nav a { font-size: 14px; }
  .hero { padding-top: 0; }
  .hero-copy { position: static; text-align: center; padding: 30px 16px; }
  .hero-copy .since::after { margin: 14px auto 20px; }
  .hero h1 { font-size: 44px; }
  .hero-photo { margin-left: 0; min-height: 420px; }
  .hero-photo p { font-size: 18px; }
  .hero-photo ul { gap: 24px; }
  .motto h2 { font-size: 22px; margin-bottom: 40px; }
  .btn { font-size: 18px; }
  .lessons { padding: 60px 16px 80px; }
  .lessons > h2, .cta h2 { font-size: 24px; }
  .cards, .teachers { grid-template-columns: 1fr; }
  .card img { height: 160px; }
  .school { grid-template-columns: repeat(2, 1fr); }
  .cta-wrap { padding: 10px 16px; }
  .contact { grid-template-columns: 1fr; }
  .contact iframe { order: 2; }
  .contact-body h2 { font-size: 34px; }
  .contact-row { flex-direction: column; align-items: center; gap: 12px; margin-top: 30px; }
  .about-intro { padding: 60px 16px; }
  .about-intro .inner { grid-template-columns: 1fr; gap: 30px; }
  .about-intro .inner > img { width: 60%; margin: 0 auto; }
}
