:root {
  --ink: #153456;
  --ink-soft: #526c86;
  --blue: #1d8ff2;
  --blue-deep: #0a62c8;
  --sky: #eaf8ff;
  --sky2: #f7fcff;
  --cyan: #43cfff;
  --green: #27c878;
  --white: #fff;
  --line: rgba(34, 128, 205, .16);
  --shadow: 0 22px 58px rgba(25, 117, 190, .14);
  --radius-xl: 34px;
  --radius-lg: 24px;
  --radius-md: 16px;
  --container: 1120px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: linear-gradient(180deg, #f5fbff 0%, #fff 45%, #edf8ff 100%);
  font-family: -apple-system, BlinkMacSystemFont, "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Yu Gothic", "Noto Sans JP", Meiryo, sans-serif;
  letter-spacing: .03em;
  line-height: 1.8;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; }

.container {
  width: min(var(--container), calc(100% - 40px));
  margin: 0 auto;
}
.narrow { width: min(880px, calc(100% - 40px)); }
.center { text-align: center; }
.sp-only { display: none; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, .82);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(29, 143, 242, .14);
}
.header-inner {
  width: min(1180px, calc(100% - 32px));
  min-height: 72px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 24px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 900;
  white-space: nowrap;
}
.brand-mark {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 14px;
  color: #fff;
  font-size: 12px;
  background: linear-gradient(135deg, var(--blue-deep), var(--blue), var(--cyan));
  box-shadow: 0 12px 26px rgba(29, 143, 242, .25);
}
.brand-text { font-size: 15px; }
.nav {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 22px;
  color: var(--ink-soft);
  font-size: 14px;
  font-weight: 800;
}
.nav a:hover { color: var(--blue-deep); }
.header-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 18px;
  border-radius: 999px;
  color: #fff;
  background: linear-gradient(135deg, #13b86c, #4bd784);
  font-weight: 900;
  box-shadow: 0 12px 28px rgba(40, 199, 111, .24);
}

.hero {
  position: relative;
  min-height: 760px;
  overflow: hidden;
  display: flex;
  align-items: center;
  background: #effaff;
}
.hero-image {
  position: absolute;
  inset: 0;
  background-image: url("assets/hero-anime-english.png");
  background-size: cover;
  background-position: center right;
  transform: scale(1.01);
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(255,255,255,.98) 0%, rgba(255,255,255,.94) 26%, rgba(255,255,255,.56) 51%, rgba(255,255,255,.06) 75%),
    linear-gradient(180deg, rgba(236,248,255,.45) 0%, rgba(255,255,255,.15) 50%, rgba(245,251,255,.86) 100%);
}
.hero-content {
  position: relative;
  z-index: 1;
  padding: 98px 0 90px;
}
.eyebrow,
.section-kicker {
  margin: 0 0 14px;
  color: var(--blue-deep);
  font-weight: 900;
  font-size: 13px;
  letter-spacing: .16em;
  text-transform: uppercase;
}
.hero h1 {
  margin: 0;
  color: #0d3159;
  font-size: clamp(48px, 7vw, 86px);
  line-height: 1.07;
  letter-spacing: .02em;
}
.hero h1 span {
  color: transparent;
  background: linear-gradient(90deg, var(--blue-deep), var(--blue), var(--cyan));
  -webkit-background-clip: text;
  background-clip: text;
}
.lead {
  max-width: 670px;
  margin: 26px 0 0;
  color: #123f6d;
  font-size: clamp(21px, 2.4vw, 32px);
  line-height: 1.45;
  font-weight: 900;
}
.hero-text {
  max-width: 610px;
  margin: 18px 0 0;
  color: var(--ink-soft);
  font-weight: 700;
}
.hero-badges {
  margin: 30px 0 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  max-width: 620px;
}
.hero-badges span {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0 15px;
  border-radius: 999px;
  color: #155b98;
  background: rgba(255,255,255,.86);
  border: 1px solid rgba(29,143,242,.2);
  box-shadow: 0 10px 24px rgba(29,143,242,.08);
  font-size: 13px;
  font-weight: 900;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin: 34px 0 0;
}
.center-actions { justify-content: center; }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 56px;
  padding: 0 28px;
  border-radius: 17px;
  font-weight: 900;
  letter-spacing: .04em;
  transition: transform .2s ease, box-shadow .2s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn.primary {
  color: #fff;
  background: linear-gradient(135deg, var(--blue-deep), var(--blue), #2ecbff);
  box-shadow: 0 18px 40px rgba(29,143,242,.28);
}
.btn.secondary {
  color: var(--blue-deep);
  background: rgba(255,255,255,.9);
  border: 1px solid rgba(29,143,242,.24);
  box-shadow: 0 18px 40px rgba(65,145,214,.12);
}
.micro-note {
  margin: 18px 0 0;
  color: var(--ink-soft);
  font-size: 13px;
}

.section { padding: 88px 0; }
.section-heading {
  max-width: 820px;
  margin: 0 auto 38px;
  text-align: center;
}
h2 {
  margin: 0;
  color: #123a64;
  font-size: clamp(29px, 4vw, 44px);
  line-height: 1.35;
  letter-spacing: .04em;
}
.section-heading p:not(.section-kicker),
.concept p,
.seo-grid p,
.price-copy p,
.note-box p,
.final-cta p,
.junior3-box p {
  color: var(--ink-soft);
  font-weight: 600;
}
.concept {
  background: linear-gradient(180deg, #f7fcff, #fff);
}
.concept p { font-size: 17px; }

.card-grid.four,
.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.mini-card,
.feature-card,
.grade-card,
.price-card,
.note-box,
.junior3-box,
.faq details {
  background: rgba(255,255,255,.86);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}
.mini-card {
  min-height: 176px;
  padding: 26px 22px;
  border-radius: 24px;
  text-align: center;
}
.icon {
  width: 58px;
  height: 58px;
  margin: 0 auto 18px;
  display: grid;
  place-items: center;
  border-radius: 18px;
  color: var(--blue-deep);
  background: linear-gradient(135deg, #effaff, #fff);
  border: 1px solid rgba(29,143,242,.16);
  font-size: 22px;
  font-weight: 900;
}
.mini-card h3 {
  margin: 0;
  color: #173d66;
  font-size: 16px;
  line-height: 1.65;
}
.support-text {
  max-width: 840px;
  margin: 30px auto 0;
  color: #496b88;
  font-weight: 700;
}

.lesson {
  background:
    radial-gradient(circle at top left, rgba(67,207,255,.16), transparent 34%),
    linear-gradient(180deg, #fff, #f2fbff);
}
.feature-card {
  position: relative;
  overflow: hidden;
  min-height: 250px;
  padding: 32px 26px;
  border-radius: 28px;
}
.feature-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 6px;
  background: linear-gradient(90deg, var(--blue), var(--cyan));
}
.feature-no {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 54px;
  height: 34px;
  border-radius: 999px;
  color: #fff;
  background: linear-gradient(135deg, var(--blue-deep), var(--blue));
  font-weight: 900;
  font-size: 13px;
}
.feature-card h3 {
  margin: 20px 0 12px;
  color: #123b66;
  font-size: 21px;
}
.feature-card p,
.grade-card p,
.flow-list p { color: var(--ink-soft); font-weight: 600; }

.grade-section { background: #fff; }
.two-column {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
}
.grade-card {
  padding: 34px;
  border-radius: 30px;
}
.grade-card.accent {
  background: linear-gradient(135deg, #f4fbff, #e3f6ff);
}
.grade-label {
  display: inline-flex;
  margin: 0 0 14px;
  padding: 7px 13px;
  border-radius: 999px;
  color: var(--blue-deep);
  background: rgba(29,143,242,.1);
  font-size: 13px;
  font-weight: 900;
}
.grade-card h3 { margin: 0 0 14px; font-size: 24px; line-height: 1.45; }

.process {
  background: linear-gradient(180deg, #f5fbff, #fff);
}
.flow-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  counter-reset: flow;
}
.flow-list li {
  position: relative;
  padding: 28px 24px;
  border-radius: 24px;
  background: linear-gradient(180deg, #fff, #f7fcff);
  border: 1px solid var(--line);
  box-shadow: 0 16px 44px rgba(25,117,190,.09);
}
.flow-list span {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  margin-bottom: 16px;
  border-radius: 15px;
  color: #fff;
  background: linear-gradient(135deg, var(--blue-deep), var(--blue));
  font-weight: 900;
}
.flow-list strong { display: block; color: #123b66; font-size: 17px; }
.flow-list p { margin: 9px 0 0; }

.design-note {
  padding-top: 0;
}
.note-box {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  align-items: center;
  gap: 38px;
  padding: 44px;
  border-radius: 34px;
  background: linear-gradient(135deg, rgba(255,255,255,.94), rgba(226,247,255,.78));
}
.note-box p { margin: 0; }

.price-section {
  background: linear-gradient(135deg, #e8f8ff, #fff);
}
.price-card {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 36px;
  padding: 46px;
  border-radius: 38px;
}
.price-main {
  min-width: 280px;
  padding: 28px 24px;
  border-radius: 26px;
  text-align: center;
  color: #fff;
  background: linear-gradient(135deg, var(--blue-deep), var(--blue), #30caff);
  box-shadow: 0 24px 54px rgba(29,143,242,.28);
}
.price-main span,
.price-main em { display: block; font-style: normal; font-weight: 900; }
.price-main strong { display: block; font-size: 58px; line-height: 1; letter-spacing: .02em; }
.price-details {
  margin: 0;
}
.price-details div {
  display: grid;
  grid-template-columns: 92px 1fr;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}
.price-details dt { color: var(--blue-deep); font-weight: 900; }
.price-details dd { margin: 0; color: var(--ink-soft); font-weight: 800; }

.junior3 { background: #fff; }
.junior3-box {
  position: relative;
  padding: 42px;
  border-radius: 34px;
  background: linear-gradient(135deg, #fff, #f1fbff);
}
.badge {
  display: inline-flex;
  margin-bottom: 14px;
  padding: 8px 14px;
  border-radius: 999px;
  color: var(--blue-deep);
  background: rgba(29,143,242,.1);
  font-weight: 900;
}
.junior3-box h2 { font-size: clamp(24px, 3.2vw, 36px); }

.seo-section {
  background: linear-gradient(180deg, #f6fcff, #fff);
}
.seo-grid { align-items: start; }

.faq { background: #fff; }
.faq-list { display: grid; gap: 12px; }
.faq details {
  border-radius: 20px;
  overflow: hidden;
}
.faq summary {
  cursor: pointer;
  padding: 20px 24px;
  color: #143d67;
  font-weight: 900;
}
.faq details p {
  margin: 0;
  padding: 0 24px 22px;
  color: var(--ink-soft);
  font-weight: 600;
}

.final-cta {
  position: relative;
  overflow: hidden;
  padding: 96px 0;
  background:
    radial-gradient(circle at 15% 20%, rgba(67,207,255,.20), transparent 34%),
    linear-gradient(135deg, #effaff, #fff 48%, #e3f7ff);
}
.final-cta h2 {
  font-size: clamp(34px, 5.5vw, 64px);
}
.site-footer {
  padding: 24px 0;
  color: #66809a;
  background: #fff;
  border-top: 1px solid var(--line);
  font-size: 13px;
}
.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: center;
}
.footer-inner p { margin: 0; }
.footer-inner a { color: var(--blue-deep); font-weight: 900; }

@media (max-width: 980px) {
  .nav { display: none; }
  .hero { min-height: auto; align-items: flex-start; }
  .hero-image {
    position: relative;
    display: block;
    height: 54vw;
    min-height: 300px;
    background-position: center right;
  }
  .hero-overlay {
    background: linear-gradient(180deg, rgba(255,255,255,.34), rgba(255,255,255,1) 62%);
  }
  .hero-content { padding: 42px 0 70px; }
  .card-grid.four,
  .feature-grid,
  .flow-list { grid-template-columns: repeat(2, 1fr); }
  .price-card,
  .note-box { grid-template-columns: 1fr; }
  .price-main { min-width: 0; }
}

@media (max-width: 640px) {
  .container,
  .narrow { width: min(100% - 28px, var(--container)); }
  .header-inner { width: min(100% - 24px, 1180px); min-height: 64px; }
  .brand-mark { width: 36px; height: 36px; border-radius: 12px; }
  .brand-text { font-size: 13px; }
  .header-cta { padding: 0 13px; font-size: 13px; }
  .hero-image { height: 62vw; min-height: 250px; background-position: 61% center; }
  .hero-content { padding-top: 26px; }
  .hero h1 { font-size: 43px; }
  .lead { font-size: 20px; }
  .hero-actions,
  .center-actions { flex-direction: column; }
  .btn { width: 100%; min-height: 54px; }
  .section { padding: 68px 0; }
  .sp-only { display: inline; }
  .card-grid.four,
  .feature-grid,
  .two-column,
  .flow-list { grid-template-columns: 1fr; }
  .mini-card { min-height: auto; }
  .feature-card { min-height: auto; }
  .grade-card,
  .price-card,
  .note-box,
  .junior3-box { padding: 26px; border-radius: 26px; }
  .price-main strong { font-size: 48px; }
  .price-details div { grid-template-columns: 76px 1fr; }
  .footer-inner { flex-direction: column; text-align: center; }
}
