* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  font-family:
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Noto Sans JP",
    sans-serif;
  color: #20302b;
  background: #f8f4e6;
  line-height: 1.75;
}
.hero {
  padding: 42px 18px 36px;
  text-align: center;
  background:
    radial-gradient(
      circle at 20% 10%,
      rgba(56, 180, 139, 0.25),
      transparent 30%
    ),
    linear-gradient(180deg, #e7fff5 0%, #f8f4e6 100%);
}
.badge {
  display: inline-block;
  padding: 6px 14px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid #38b48b;
  color: #007d37;
  font-weight: 800;
  font-size: 14px;
}
.eyebrow {
  margin: 18px 0 6px;
  color: #007d37;
  font-weight: 900;
  letter-spacing: 0.08em;
}
.sub-title {
  margin: 0;
  color: #007d37;
  font-weight: 900;
  font-size: clamp(22px, 5.2vw, 38px);
  letter-spacing: 0.02em;
}
h1 {
  margin: 8px 0 14px;
  color: #0b51b7;
  font-size: clamp(44px, 12vw, 82px);
  line-height: 1.12;
  font-weight: 950;
  letter-spacing: 0.02em;
  text-shadow:
    0 4px 0 #fff,
    0 8px 20px rgba(0, 0, 0, 0.12);
}
.lead {
  max-width: 720px;
  margin: 0 auto 20px;
  font-size: 17px;
  font-weight: 800;
}
.hero-points {
  display: flex;
  gap: 8px;
  justify-content: center;
  flex-wrap: wrap;
  margin: 18px auto 22px;
}
.hero-points span {
  background: #fff;
  border-radius: 999px;
  padding: 8px 12px;
  font-weight: 900;
  font-size: 14px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.06);
}
.cta-box {
  max-width: 760px;
  margin: 0 auto;
  padding: 16px;
  background: rgba(255, 255, 255, 0.88);
  border-radius: 24px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}
.cta-title {
  margin: 0 0 12px;
  font-weight: 900;
}
.quick-links,
.school-nav {
  display: grid;
  gap: 10px;
  grid-template-columns: 1fr;
}
.quick-links a,
.school-nav a,
.main-btn,
.reserve-btn {
  display: inline-block;
  padding: 14px 16px;
  border-radius: 999px;
  text-decoration: none;
  text-align: center;
  font-weight: 900;
}
.quick-links a,
.school-nav a {
  background: #007d37;
  color: white;
}
.main-btn {
  width: min(100%, 380px);
  background: #ff6f59;
  color: white;
  box-shadow: 0 8px 20px rgba(255, 111, 89, 0.25);
}
.reserve-btn {
  width: 100%;
  margin-top: 8px;
  background: #007d37;
  color: white;
}
.section {
  padding: 38px 18px;
  max-width: 1100px;
  margin: 0 auto;
}
.section h2 {
  text-align: center;
  font-size: 28px;
  line-height: 1.35;
  margin: 0 0 22px;
}
.intro {
  text-align: center;
}
.intro p {
  max-width: 760px;
  margin: 0 auto 12px;
  font-weight: 600;
}
.cards,
.course-grid,
.price-grid,
.benefit-list,
.school-list {
  display: grid;
  gap: 16px;
}
.card,
.course,
.price-card,
.benefit-list article,
.school,
details,
.box-note {
  background: white;
  border-radius: 22px;
  padding: 18px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
}
.card {
  font-weight: 800;
  text-align: center;
}
.accent {
  background: white;
  border-radius: 30px;
}
.course h3,
.price-card h3,
.benefit-list h3,
.school h3 {
  margin: 0 0 10px;
  font-size: 22px;
}
.check-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.check-list li {
  padding: 8px 0 8px 32px;
  position: relative;
  font-weight: 800;
}
.check-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: #38b48b;
  font-weight: 900;
}
.note {
  color: #5c665f;
  font-size: 14px;
  margin: 12px 0 0;
}
.center,
.center-action {
  text-align: center;
}
.center-action {
  margin-top: 22px;
}
.price-card {
  text-align: center;
  position: relative;
  overflow: hidden;
}
.price {
  margin: 8px 0;
  color: #007d37;
  font-size: 42px;
  font-weight: 950;
  line-height: 1;
}
.price span {
  display: inline;
  margin-left: 6px;
  font-size: 18px;
}
.recommended {
  border: 3px solid #ff6f59;
}
.ribbon {
  position: absolute;
  top: 15px;
  right: -38px;

  width: 140px;

  background: #ff6f59;
  color: white;

  text-align: center;
  font-weight: 800;
  font-size: 13px;

  padding: 8px 0;

  transform: rotate(45deg);
}
/* .ribbon {
  position: absolute;
  top: 14px;
  right: -34px;
  transform: rotate(35deg);
  background: #ff6f59;
  color: white;
  font-weight: 900;
  padding: 5px 36px;
  font-size: 13px;
} */

.flow-list {
  list-style: none;
  margin: 0 auto;
  padding: 0;
  display: grid;
  gap: 34px;
  max-width: 920px;
}

.flow-list li {
  position: relative;
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 16px;
  align-items: center;
  background: #fff;
  /* border: 2px solid #e0e0e0; */
  border-radius: 22px;
  padding: 22px 28px;
  box-shadow: none;
  border-radius: 22px;
  box-shadow: 0 8px 24px rgba(0,0,0,.06);
}

.flow-list li:not(:last-child)::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -25px;
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border-left: 14px solid transparent;
  border-right: 14px solid transparent;
  border-top: 14px solid #cfcfcf;
}

.flow-list span {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: #38b48b;
  color: #fff;
  font-weight: 900;
  font-size: 18px;
}

.flow-list p {
  margin: 0;
  font-weight: 800;
  line-height: 1.7;
}

.school-nav {
  margin: 18px auto 24px;
  max-width: 820px;
}
.school {
  padding: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  scroll-margin-top: 16px;
}
.school-photo {
  display: block;
  width: 100%;
  aspect-ratio: 16/10;
  object-fit: cover;
  background: #eef6f1;
}
.school-body {
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}
.address,
.tel {
  margin: 0;
  font-weight: 800;
}
.tel a {
  color: #007d37;
  text-decoration: none;
}
.map-wrap {
  position: relative;
  width: 100%;
  height: 220px;
  border-radius: 16px;
  overflow: hidden;
  background: #eef6f1;
  margin-top: 8px;
}
.map-wrap iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
.map-link {
  display: inline-block;
  color: #007d37;
  font-weight: 900;
  text-align: center;
  text-decoration: none;
  margin: 2px 0 6px;
}
details {
  margin-bottom: 12px;
}
summary {
  font-weight: 900;
  cursor: pointer;
}
details p {
  margin: 14px 0 0;
}
.final-cta {
  text-align: center;
  background: #e7fff5;
  border-radius: 30px;
}
footer {
  padding: 28px 20px;
  text-align: center;
  background: #20302b;
  color: white;
  font-size: 14px;
}
footer a {
  display: inline-block;
  margin-top: 8px;
  color: #fff;
}
@media (min-width: 720px) {
  .quick-links,
  .school-nav {
    grid-template-columns: repeat(3, 1fr);
  }
  .cards {
    grid-template-columns: repeat(3, 1fr);
  }
  .course-grid,
  .price-grid,
  .benefit-list {
    grid-template-columns: repeat(2, 1fr);
  }
  .school-list {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media (max-width: 719px) {
  .map-wrap {
    height: 240px;
  }
  .flow-list {
    gap: 30px;
  }

  .flow-list li {
    grid-template-columns: 44px 1fr;
    padding: 18px 16px;
  }

  .flow-list span {
    width: 40px;
    height: 40px;
    font-size: 16px;
  }
}
