:root {
  --teal: #1d9fbf;
  --teal-dark: #13718a;
  --teal-pale: #e8f6fa;
  --orange: #e89a2c;
  --orange-dark: #c97d12;
  --ink: #2b2f33;
  --muted: #5d6670;
  --line: #dde3e8;
  --bg: #ffffff;
  --bg-soft: #f5f7f8;
  --radius: 10px;
  --wrap: 1100px;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: "Hiragino Kaku Gothic ProN", "Hiragino Sans", "Noto Sans JP", Meiryo, sans-serif;
  font-size: 16px;
  line-height: 1.85;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--teal-dark); }
h1, h2, h3, h4 { line-height: 1.4; margin: 0 0 .6em; }
p { margin: 0 0 1em; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.section { padding: 64px 0; }
.section--soft { background: var(--bg-soft); }
.section-title { text-align: center; font-size: 1.75rem; margin-bottom: .4em; }
.section-title::after {
  content: ""; display: block; width: 48px; height: 3px;
  background: var(--orange); margin: .5em auto 0; border-radius: 2px;
}
.lead { text-align: center; color: var(--muted); max-width: 760px; margin: 0 auto 2.2em; }

/* header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .97);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.brand img { height: 46px; width: auto; }
.nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 6px; }
.nav a {
  display: block; padding: 8px 14px; border-radius: 6px;
  color: var(--ink); text-decoration: none; font-size: .95rem;
}
.nav a:hover { background: var(--teal-pale); }
.nav a[aria-current="page"] { color: var(--teal-dark); font-weight: bold; }
.nav-toggle {
  display: none; background: none; border: 1px solid var(--line); border-radius: 6px;
  width: 44px; height: 44px; cursor: pointer; padding: 0;
}
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  display: block; width: 20px; height: 2px; background: var(--ink); margin: 0 auto; position: relative;
}
.nav-toggle span::before, .nav-toggle span::after { content: ""; position: absolute; left: 0; }
.nav-toggle span::before { top: -6px; }
.nav-toggle span::after { top: 6px; }

/* hero */
.hero { position: relative; color: #fff; background: var(--teal-dark) center / cover no-repeat; }
.hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(10, 60, 80, .70), rgba(10, 60, 80, .25)); }
.hero .wrap { position: relative; padding-top: 96px; padding-bottom: 96px; }
.hero-kicker { font-size: 1.05rem; letter-spacing: .1em; margin-bottom: .4em; }
.hero h1 { font-size: 2.6rem; margin-bottom: .3em; }
.hero h1 small { display: block; font-size: 1.1rem; font-weight: normal; letter-spacing: .15em; color: #ffd28f; margin-bottom: .4em; }
.hero-copy { font-size: 1.1rem; line-height: 2; margin-bottom: 1.6em; }
.hero-copy strong { font-size: 1.25rem; }

.hero--split { background: var(--bg-soft); color: var(--ink); }
.hero--split::before { display: none; }
.hero--split .wrap { display: grid; grid-template-columns: 1.1fr 1fr; gap: 40px; align-items: center; padding-top: 64px; padding-bottom: 64px; }
.hero--split h1 { font-size: 2.4rem; }
.hero--split h1 small { color: var(--orange-dark); font-size: 1.6rem; letter-spacing: .05em; font-weight: bold; }
.hero--split .hero-copy { color: var(--muted); }
.hero--split img { border-radius: var(--radius); }

.btn {
  display: inline-block; padding: 12px 28px; border-radius: 999px;
  background: var(--orange); color: #fff; text-decoration: none; font-weight: bold;
  border: 0; font-size: 1rem; cursor: pointer; font-family: inherit;
}
.btn:hover { background: var(--orange-dark); }
.btn--ghost { background: transparent; border: 2px solid #fff; }
.btn--ghost:hover { background: rgba(255, 255, 255, .15); }
.btn-row { display: flex; gap: 12px; flex-wrap: wrap; }

/* cards */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 24px; }
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; display: flex; flex-direction: column;
}
.card img { width: 100%; aspect-ratio: 2 / 1; object-fit: cover; }
.card-body { padding: 20px 22px 24px; display: flex; flex-direction: column; flex: 1; }
.card-body h3 { color: var(--teal-dark); font-size: 1.2rem; }
.card-body p { color: var(--muted); font-size: .95rem; }
.card-body .more { margin-top: auto; font-weight: bold; text-decoration: none; }
.card-body .more::after { content: " →"; }

/* features */
.feature { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.feature img { border-radius: var(--radius); }
.points { margin: 1.4em 0 0; }
.points dt { font-weight: bold; color: var(--teal-dark); padding-left: 14px; border-left: 4px solid var(--orange); line-height: 1.4; margin-top: 1em; }
.points dd { margin: .3em 0 0 18px; color: var(--muted); font-size: .95rem; }

/* instructor */
.profile { display: grid; grid-template-columns: 300px 1fr; gap: 40px; align-items: start; }
.profile figure { margin: 0; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.profile figcaption { text-align: center; padding: 14px; }
.profile figcaption strong { display: block; font-size: 1.2rem; }
.profile figcaption span { color: var(--muted); font-size: .85rem; }
.profile h3 { font-size: 1.05rem; color: var(--teal-dark); margin-top: 1.2em; margin-bottom: .3em; }

/* testimonials */
.voices { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; }
.voice { background: #fff; border-radius: var(--radius); padding: 22px; border: 1px solid var(--line); margin: 0; }
.voice blockquote { margin: 0 0 14px; font-size: .93rem; color: var(--muted); }
.voice blockquote::before { content: "“"; display: block; font-size: 2.4rem; line-height: 1; color: var(--teal); }
.voice figcaption { display: flex; align-items: center; gap: 12px; }
.voice figcaption img { width: 44px; height: 44px; border-radius: 50%; }
.voice figcaption small { display: block; color: var(--muted); }

/* pricing */
.notice { text-align: center; margin-bottom: 2em; }
.notice strong { display: block; font-size: 1.3rem; color: var(--orange-dark); }
.notice span { color: var(--muted); font-size: .95rem; }
.plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 24px; }
.plan { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; }
.plan-head { text-align: center; padding: 22px 16px 16px; }
.plan-head h3 { font-size: 1.15rem; margin-bottom: .2em; }
.price { font-size: 2rem; font-weight: bold; color: var(--teal-dark); }
.price small { font-size: .9rem; font-weight: normal; color: var(--muted); }
.plan img { width: 100%; aspect-ratio: 2 / 1; object-fit: cover; }
.plan ul { list-style: none; margin: 0; padding: 18px 22px; flex: 1; }
.plan li { padding: 8px 0 8px 26px; border-bottom: 1px dashed var(--line); font-size: .93rem; position: relative; }
.plan li::before { content: "✓"; position: absolute; left: 2px; color: var(--teal); font-weight: bold; }
.plan .btn { margin: 0 22px 24px; text-align: center; }

/* contact */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; }
.form label { display: block; font-weight: bold; font-size: .95rem; margin-bottom: 18px; }
.form .req { color: #c0392b; font-weight: normal; font-size: .85rem; margin-left: 4px; }
.form input[type="text"], .form input[type="email"], .form textarea {
  display: block; width: 100%; margin-top: 6px; padding: 12px 14px;
  border: 1px solid #c8d0d6; border-radius: 6px; font: inherit; font-weight: normal; background: #fff;
}
.form textarea { min-height: 200px; resize: vertical; }
.form input:focus, .form textarea:focus { outline: 2px solid var(--teal); outline-offset: 1px; border-color: var(--teal); }
.form .hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-note { font-size: .85rem; color: var(--muted); }
.alert { padding: 14px 18px; border-radius: 6px; margin-bottom: 20px; background: #fdecea; color: #8e2a1f; border: 1px solid #f5c6c0; }
.alert[hidden] { display: none; }
.contact-box { background: var(--teal-pale); border-radius: var(--radius); padding: 24px; }
.contact-box h3 { font-size: 1.1rem; }

/* map */
.map { height: 420px; border-radius: var(--radius); border: 1px solid var(--line); z-index: 0; }
.places { columns: 2; margin: 18px 0 0; padding-left: 1.2em; color: var(--muted); font-size: .95rem; }

/* cta band */
.cta { background: var(--teal) url("../img/section-background.jpg") center / cover; color: #fff; text-align: center; padding: 56px 0; position: relative; }
.cta::before { content: ""; position: absolute; inset: 0; background: rgba(19, 113, 138, .82); }
.cta .wrap { position: relative; }
.cta h2 { font-size: 1.5rem; }
.cta .btn-row { justify-content: center; margin-top: 20px; }

/* footer */
.site-footer { background: #23292e; color: #b9c2c9; padding: 48px 0 24px; font-size: .9rem; }
.site-footer a { color: #e4ebf0; }
.footer-grid { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 32px; }
.site-footer h2 { font-size: 1rem; color: #fff; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { padding: 4px 0; }
.footer-logo { height: 52px; width: auto; margin-bottom: 12px; }
.copyright { border-top: 1px solid #3a4248; margin-top: 32px; padding-top: 18px; text-align: center; font-size: .8rem; }

/* responsive */
@media (max-width: 860px) {
  .section { padding: 48px 0; }
  .nav-toggle { display: block; }
  .nav { position: absolute; top: 72px; left: 0; right: 0; background: #fff; border-bottom: 1px solid var(--line); display: none; }
  .nav.is-open { display: block; }
  .nav ul { flex-direction: column; padding: 8px 16px 16px; gap: 0; }
  .nav a { padding: 12px 8px; border-bottom: 1px solid var(--line); border-radius: 0; }
  .hero .wrap { padding-top: 64px; padding-bottom: 64px; }
  .hero h1 { font-size: 2rem; }
  .hero--split .wrap, .feature, .profile, .contact-grid, .footer-grid { grid-template-columns: 1fr; }
  .hero--split h1 { font-size: 1.8rem; }
  .profile figure { max-width: 320px; margin: 0 auto; }
  .places { columns: 1; }
  .map { height: 340px; }
}
@media (max-width: 480px) {
  .wrap { padding: 0 16px; }
  .brand img { height: 38px; }
  .hero h1 { font-size: 1.7rem; }
  .section-title { font-size: 1.45rem; }
  .btn { padding: 12px 22px; }
}
