:root {
  --navy: #061b49;
  --navy-2: #0b2d68;
  --blue-soft: #edf6ff;
  --blue-line: #b7d3ef;
  --gold: #c68622;
  --gold-dark: #9c6415;
  --ink: #172034;
  --muted: #657083;
  --paper: #fffdf8;
  --white: #ffffff;
  --shadow: 0 22px 60px rgba(6, 27, 73, 0.15);
  --radius-lg: 28px;
  --radius-md: 18px;
  --radius-sm: 12px;
  --container: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 8% 10%, rgba(198, 134, 34, 0.08), transparent 28rem),
    radial-gradient(circle at 90% 2%, rgba(17, 65, 145, 0.09), transparent 28rem),
    linear-gradient(180deg, #fffdf8 0%, #f8fbff 45%, #ffffff 100%);
  font-family: "Noto Sans JP", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.7;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }

.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 100;
  padding: 0.6rem 1rem;
  color: var(--white);
  background: var(--navy);
  border-radius: 999px;
  transform: translateY(-150%);
  transition: transform 0.2s ease;
}
.skip-link:focus { transform: translateY(0); }
.container { width: min(calc(100% - 2rem), var(--container)); margin-inline: auto; }
.section { padding: 5.5rem 0; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 253, 248, 0.92);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(6, 27, 73, 0.08);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  min-height: 84px;
}
.brand {
  display: inline-flex;
  align-items: center;
  color: var(--navy);
  white-space: nowrap;
}
.brand-logo {
  display: block;
  width: auto;
  height: clamp(42px, 5vw, 58px);
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.site-nav { display: flex; align-items: center; gap: 1.25rem; color: var(--navy); font-weight: 800; font-size: 0.95rem; }
.site-nav a { position: relative; padding: 0.25rem 0; }
.site-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -0.2rem;
  height: 2px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.2s ease;
}
.site-nav a:hover::after, .site-nav a:focus-visible::after { transform: scaleX(1); }
.lang-link { color: var(--gold-dark); }
.header-cta, .button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  border-radius: 999px;
  font-weight: 900;
  line-height: 1.2;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}
.header-cta { padding: 0.7rem 1rem; color: var(--white); background: var(--navy); box-shadow: 0 10px 25px rgba(6, 27, 73, 0.18); }
.button { padding: 0.95rem 1.4rem; }
.button:hover, .header-cta:hover, .button:focus-visible, .header-cta:focus-visible { transform: translateY(-2px); }
.button-primary { color: var(--white); background: linear-gradient(135deg, var(--gold), var(--gold-dark)); box-shadow: 0 14px 30px rgba(198, 134, 34, 0.28); }
.button-secondary { color: var(--navy); background: rgba(255, 255, 255, 0.82); border-color: rgba(6, 27, 73, 0.16); }
.nav-toggle { display: none; width: 44px; height: 44px; border: 1px solid rgba(6, 27, 73, 0.15); border-radius: 999px; background: var(--white); }
.nav-toggle span { display: block; width: 18px; height: 2px; margin: 4px auto; background: var(--navy); border-radius: 2px; }

.hero { position: relative; overflow: hidden; padding-top: 4rem; }
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(6, 27, 73, 0.05) 1px, transparent 1px),
    linear-gradient(180deg, rgba(6, 27, 73, 0.04) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: linear-gradient(180deg, rgba(0,0,0,0.4), transparent 70%);
}
.hero-grid { position: relative; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(360px, 0.95fr); align-items: center; gap: 3rem; }
.flag-row { display: inline-flex; align-items: center; gap: 1rem; margin-bottom: 1rem; color: var(--gold-dark); font-family: "Cormorant Garamond", Georgia, serif; font-size: 1.05rem; font-weight: 700; letter-spacing: 0.08em; }
.flag-row img { width: 170px; height: auto; border-radius: 4px; }
.teacher-label { display: inline-flex; padding: 0.38rem 0.95rem; margin: 0 0 1.15rem; color: var(--white); background: var(--navy); border-radius: 999px; font-size: 0.92rem; font-weight: 900; letter-spacing: 0.05em; }
h1, h2, h3, p { margin-top: 0; }
h1, h2 { color: var(--navy); font-family: "Noto Serif JP", "Yu Mincho", "Hiragino Mincho ProN", Georgia, serif; font-weight: 900; letter-spacing: 0.04em; }
h1 { margin-bottom: 0.75rem; font-size: clamp(3rem, 7vw, 5.85rem); line-height: 1.12; }
.english-hero h1 { font-family: "Cormorant Garamond", Georgia, serif; font-size: clamp(3.4rem, 8vw, 6.3rem); letter-spacing: 0.02em; }
.script-line { display: flex; align-items: center; gap: 1rem; margin-bottom: 1.25rem; color: var(--gold-dark); font-family: "Cormorant Garamond", Georgia, serif; font-size: clamp(1.5rem, 3vw, 2.1rem); font-style: italic; letter-spacing: 0.05em; }
.script-line span { width: 84px; height: 1px; background: linear-gradient(90deg, transparent, var(--gold), transparent); }
.hero-lead { display: inline-block; margin-bottom: 1.6rem; padding: 0.65rem 1.25rem; color: var(--white); background: linear-gradient(90deg, var(--navy), var(--navy-2)); clip-path: polygon(0 0, 96% 0, 100% 50%, 96% 100%, 0 100%); font-weight: 900; letter-spacing: 0.06em; }
.english-lead { max-width: 660px; color: var(--muted); font-size: 1.12rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.9rem; margin-bottom: 1.5rem; }
.mini-trust { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0.75rem; max-width: 630px; }
.mini-trust div { padding: 1rem; background: rgba(255, 255, 255, 0.78); border: 1px solid rgba(198, 134, 34, 0.22); border-radius: var(--radius-sm); box-shadow: 0 8px 22px rgba(6, 27, 73, 0.06); }
.mini-trust strong, .mini-trust span { display: block; }
.mini-trust strong { color: var(--navy); font-size: 1.05rem; }
.mini-trust span { color: var(--muted); font-size: 0.9rem; }
.hero-visual { position: relative; }
.photo-card, .photo-stack img, .audience-photo img { overflow: hidden; border: 8px solid rgba(255, 255, 255, 0.92); box-shadow: var(--shadow); }
.photo-main { border-radius: 42% 58% 30% 70% / 42% 33% 67% 58%; }
.photo-main img, .photo-stack img, .audience-photo img { width: 100%; height: 100%; object-fit: cover; }
.photo-main img { aspect-ratio: 1.22 / 1; }
.photo-stack { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0.9rem; margin-top: -2rem; padding-inline: 2rem; }
.photo-stack img { border-radius: 22px; aspect-ratio: 1.25 / 1; }

.two-column, .audience-grid, .contact-grid { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 3rem; align-items: center; }
.eyebrow { margin-bottom: 0.65rem; color: var(--gold-dark); font-family: "Cormorant Garamond", Georgia, serif; font-size: 1rem; font-weight: 800; letter-spacing: 0.16em; text-transform: uppercase; }
.section-heading h2, .test-panel h2, .contact-copy h2 { margin-bottom: 1rem; font-size: clamp(2rem, 4vw, 3.35rem); line-height: 1.25; }
.section-heading p, .test-panel p, .contact-copy p { color: var(--muted); font-size: 1.05rem; }
.centered { max-width: 760px; margin-inline: auto; text-align: center; }
.support-illustration { margin-top: 1.5rem; width: min(100%, 440px); filter: drop-shadow(0 12px 25px rgba(6, 27, 73, 0.1)); }
.point-card { padding: 1.5rem; background: rgba(255, 255, 255, 0.86); border: 1px solid rgba(198, 134, 34, 0.38); border-radius: var(--radius-lg); box-shadow: var(--shadow); }
.check-list { display: grid; gap: 1rem; margin: 0; padding: 0; list-style: none; }
.check-list li { display: grid; grid-template-columns: 42px minmax(0, 1fr); gap: 1rem; align-items: start; padding-bottom: 1rem; border-bottom: 1px dashed rgba(198, 134, 34, 0.45); }
.check-list li:last-child { padding-bottom: 0; border-bottom: 0; }
.check-list span { display: grid; place-items: center; width: 38px; height: 38px; color: var(--white); background: var(--gold); border-radius: 50%; font-weight: 900; }
.check-list strong { color: var(--navy); font-size: 1.05rem; }
.check-list p { margin: 0.25rem 0 0; color: var(--muted); }
.lessons-section { background: linear-gradient(180deg, rgba(237, 246, 255, 0.7), rgba(255, 255, 255, 0.8)); }
.lesson-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; margin-top: 2rem; }
.lesson-card { position: relative; overflow: hidden; padding: 1.4rem; background: rgba(255, 255, 255, 0.9); border: 1px solid var(--blue-line); border-radius: var(--radius-md); box-shadow: 0 16px 38px rgba(6, 27, 73, 0.08); }
.lesson-card::after { content: ""; position: absolute; inset: auto -10% -28% auto; width: 140px; height: 140px; background: rgba(198, 134, 34, 0.09); border-radius: 50%; }
.lesson-icon { display: grid; place-items: center; width: 52px; height: 52px; margin-bottom: 1rem; color: var(--white); background: var(--navy); border-radius: 50%; font-size: 1.4rem; }
.lesson-card h3, .flow-step h3 { color: var(--navy); line-height: 1.4; }
.lesson-card p, .flow-step p { margin-bottom: 0; color: var(--muted); }
.test-panel { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1fr); gap: 2rem; align-items: center; padding: 2rem; color: var(--white); background: linear-gradient(135deg, rgba(6, 27, 73, 0.95), rgba(11, 45, 104, 0.95)); border-radius: var(--radius-lg); box-shadow: var(--shadow); }
.test-panel h2, .test-panel p { color: var(--white); }
.test-panel .eyebrow { color: #efc16f; }
.test-tags { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 0.65rem; }
.test-tags span, .audience-list span { display: inline-flex; align-items: center; justify-content: center; min-height: 42px; padding: 0.45rem 0.85rem; color: var(--navy); background: var(--white); border: 1px solid rgba(198, 134, 34, 0.35); border-radius: 999px; font-weight: 900; }
.audience-grid { grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); }
.audience-photo { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.audience-photo img { border-radius: 28px; aspect-ratio: 1 / 1.08; }
.audience-photo img:nth-child(2) { margin-top: 2.5rem; }
.audience-list { display: flex; flex-wrap: wrap; gap: 0.65rem; margin-top: 1.5rem; }
.flow-section { background: linear-gradient(180deg, rgba(255, 255, 255, 0.85), rgba(237, 246, 255, 0.78)); }
.flow-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; margin-top: 2rem; }
.flow-step { padding: 1.35rem; background: var(--white); border: 1px solid rgba(6, 27, 73, 0.12); border-radius: var(--radius-md); box-shadow: 0 15px 36px rgba(6, 27, 73, 0.08); }
.flow-step span { display: inline-block; margin-bottom: 0.75rem; color: var(--gold-dark); font-family: "Cormorant Garamond", Georgia, serif; font-size: 1.8rem; font-weight: 800; }
.contact-section { position: relative; overflow: hidden; color: var(--white); background: linear-gradient(180deg, rgba(6, 27, 73, 0.96), rgba(3, 15, 45, 0.98)); }
.skyline { position: absolute; left: 50%; bottom: 0.5rem; width: min(90vw, 1100px); opacity: 0.22; transform: translateX(-50%); pointer-events: none; }
.contact-grid { position: relative; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); }
.contact-copy h2, .contact-copy p, .contact-copy .eyebrow { color: var(--white); }
.contact-copy .eyebrow { color: #efc16f; }
.contact-info { display: grid; gap: 0.9rem; margin-top: 1.75rem; }
.contact-info p { display: grid; grid-template-columns: 88px minmax(0, 1fr); gap: 1rem; align-items: center; margin: 0; padding: 0.8rem 0; border-bottom: 1px dashed rgba(255, 255, 255, 0.28); color: var(--white); }
.contact-info span { color: #efc16f; font-family: "Cormorant Garamond", Georgia, serif; font-weight: 800; }
.contact-info a { word-break: break-word; }
.contact-form, .contact-card { display: grid; gap: 1rem; padding: 1.25rem; color: var(--ink); background: rgba(255, 255, 255, 0.96); border: 1px solid rgba(198, 134, 34, 0.35); border-radius: var(--radius-lg); box-shadow: var(--shadow); }
.contact-card .contact-info p { color: var(--ink); border-bottom-color: rgba(6, 27, 73, 0.16); }
.contact-card .contact-info { margin-top: 0; }
.qr-card {
  margin-top: 1.1rem;
  padding: 1rem;
  background: rgba(237, 246, 255, 0.52);
  border: 1px solid rgba(198, 134, 34, 0.35);
  border-radius: 22px;
}
.qr-title {
  margin: 0 0 0.75rem;
  color: var(--navy);
  font-family: "Noto Serif JP", "Yu Mincho", serif;
  font-size: 1.25rem;
  font-weight: 800;
}
.qr-placeholder {
  display: grid;
  place-items: center;
  width: min(100%, 220px);
  aspect-ratio: 1 / 1;
  margin: 0 auto;
  padding: 1rem;
  color: var(--navy);
  text-align: center;
  background: repeating-linear-gradient(45deg, rgba(255,255,255,0.8), rgba(255,255,255,0.8) 12px, rgba(237,246,255,0.95) 12px, rgba(237,246,255,0.95) 24px);
  border: 2px dashed rgba(6, 27, 73, 0.35);
  border-radius: 20px;
  font-weight: 800;
}
.qr-note {
  margin: 0.75rem 0 0;
  color: var(--muted);
  font-size: 0.92rem;
  text-align: center;
}
.line-qr-link {
  display: block;
  width: min(100%, 220px);
  margin: 0 auto;
  padding: 0.55rem;
  background: #ffffff;
  border: 1px solid rgba(6, 27, 73, 0.14);
  border-radius: 22px;
  box-shadow: 0 12px 28px rgba(6, 27, 73, 0.08);
}
.line-qr-image {
  width: 100%;
  height: auto;
  border-radius: 14px;
}
.line-add-button {
  display: flex;
  justify-content: center;
  margin-top: 0.85rem;
}
.line-add-button img {
  width: auto;
  height: 36px;
}
.footer-brand { display: flex; align-items: center; }
.footer-logo { display: block; width: auto; height: 52px; }
.form-row { display: grid; gap: 1rem; }
.form-row.two { grid-template-columns: repeat(2, 1fr); }
label { display: grid; gap: 0.4rem; color: var(--navy); font-weight: 900; }
input, select, textarea { width: 100%; padding: 0.85rem 0.9rem; color: var(--ink); background: #fbfdff; border: 1px solid rgba(6, 27, 73, 0.16); border-radius: var(--radius-sm); outline: none; transition: border-color 0.2s ease, box-shadow 0.2s ease; }
input:focus, select:focus, textarea:focus { border-color: var(--gold); box-shadow: 0 0 0 4px rgba(198, 134, 34, 0.16); }
textarea { resize: vertical; }
.form-note { margin: 0; color: var(--muted); font-size: 0.9rem; }
.site-footer { color: var(--white); background: #020b24; border-top: 1px solid rgba(255, 255, 255, 0.12); }
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1.25rem 0; }
.footer-inner strong { display: block; color: #efc16f; font-family: "Cormorant Garamond", Georgia, serif; font-size: 1.25rem; }
.footer-inner span, .footer-inner p { margin: 0; color: rgba(255, 255, 255, 0.78); }
.reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: 0.001ms !important; animation-duration: 0.001ms !important; }
  .reveal { opacity: 1; transform: none; }
}
@media (max-width: 1050px) {
  .header-cta { display: none; }
  .lesson-grid, .flow-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hero-grid, .two-column, .audience-grid, .contact-grid, .test-panel { grid-template-columns: 1fr; }
  .test-tags { justify-content: flex-start; }
  .hero-visual { max-width: 680px; margin-inline: auto; }
}
@media (max-width: 820px) {
  .header-inner { min-height: 72px; }
  .nav-toggle { display: inline-block; }
  .site-nav { position: absolute; left: 1rem; right: 1rem; top: calc(100% + 0.75rem); display: none; flex-direction: column; align-items: stretch; gap: 0; padding: 0.65rem; background: rgba(255, 255, 255, 0.98); border: 1px solid rgba(6, 27, 73, 0.1); border-radius: 18px; box-shadow: var(--shadow); }
  .site-nav.open { display: flex; }
  .site-nav a { padding: 0.8rem 0.85rem; border-radius: 12px; }
  .site-nav a:hover, .site-nav a:focus-visible { background: var(--blue-soft); }
  .site-nav a::after { display: none; }
  .brand-logo { height: 44px; }
  .section { padding: 4rem 0; }
  .flag-row { align-items: flex-start; flex-direction: column; gap: 0.5rem; }
  .hero-lead { clip-path: none; border-radius: 14px; }
  .mini-trust { grid-template-columns: 1fr; }
  .photo-stack, .audience-photo, .form-row.two { grid-template-columns: 1fr; padding-inline: 0; }
  .audience-photo img:nth-child(2) { margin-top: 0; }
}
@media (max-width: 560px) {
  .container { width: min(calc(100% - 1.2rem), var(--container)); }
  .lesson-grid, .flow-grid { grid-template-columns: 1fr; }
  h1 { font-size: clamp(2.55rem, 15vw, 4rem); }
  .english-hero h1 { font-size: clamp(3rem, 17vw, 4.7rem); }
  .script-line span { width: 44px; }
  .photo-card, .photo-stack img, .audience-photo img { border-width: 5px; }
  .test-panel, .contact-form, .contact-card, .point-card { padding: 1.1rem; }
  .footer-inner { align-items: flex-start; flex-direction: column; }
  .footer-logo { height: 44px; }
}

.honeypot-field {
  display: none !important;
}
.thanks-page {
  min-height: 100vh;
  background: radial-gradient(circle at 15% 10%, rgba(198, 134, 34, 0.12), transparent 24rem), linear-gradient(180deg, #fffdf8 0%, #edf6ff 100%);
}
.thanks-section {
  min-height: 100vh;
  display: grid;
  place-items: center;
}
.thanks-card {
  max-width: 760px;
  padding: clamp(1.5rem, 4vw, 3rem);
  text-align: center;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(198, 134, 34, 0.32);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}
.thanks-logo {
  width: min(100%, 460px);
  height: auto;
  margin: 0 auto 1.5rem;
}
.thanks-card h1 {
  font-size: clamp(2rem, 5vw, 3.4rem);
}
.thanks-card p {
  color: var(--muted);
}
.thanks-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.8rem;
  margin-top: 1.5rem;
}
