:root {
  --pink: #f36f93;
  --pink-deep: #e94f7c;
  --pink-soft: #ffe3eb;
  --blue: #77bee7;
  --blue-soft: #e7f5fd;
  --green: #88c978;
  --green-soft: #edf8e7;
  --yellow: #f8c94f;
  --yellow-soft: #fff4d4;
  --cream: #fff8ec;
  --cream-deep: #fff0d5;
  --paper: #fffefa;
  --brown: #674939;
  --brown-soft: #9b7a68;
  --shadow: 0 18px 42px rgba(111, 71, 48, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--brown);
  background:
    radial-gradient(circle at 9% 18%, rgba(119, 190, 231, 0.18) 0 90px, transparent 91px),
    radial-gradient(circle at 96% 38%, rgba(136, 201, 120, 0.14) 0 120px, transparent 121px),
    linear-gradient(180deg, #fffefa 0%, var(--cream) 38%, #fffefa 100%);
  font-family: "Hiragino Maru Gothic ProN", "Yu Gothic", "Meiryo", sans-serif;
  line-height: 1.8;
}

img {
  display: block;
  max-width: 100%;
}

section {
  scroll-margin-top: 104px;
}

.section-wave {
  --wave-bg: #fff;
  position: relative;
  z-index: 4;
  width: 100%;
  height: 64px;
  margin-top: -64px;
  margin-bottom: -1px;
  pointer-events: none;
  background: var(--wave-bg);
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 360 64' preserveAspectRatio='none'%3E%3Cpath d='M0 28 C45 2 75 2 120 28 C165 54 195 54 240 28 C285 2 315 2 360 28 V64 H0Z' fill='black'/%3E%3C/svg%3E");
  -webkit-mask-position: top left;
  -webkit-mask-repeat: repeat-x;
  -webkit-mask-size: 360px 64px;
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 360 64' preserveAspectRatio='none'%3E%3Cpath d='M0 28 C45 2 75 2 120 28 C165 54 195 54 240 28 C285 2 315 2 360 28 V64 H0Z' fill='black'/%3E%3C/svg%3E");
  mask-position: top left;
  mask-repeat: repeat-x;
  mask-size: 360px 64px;
}

.wave-white {
  --wave-bg: #fff;
}

.wave-lesson {
  --wave-bg: var(--cream);
}

.wave-teacher {
  --wave-bg: linear-gradient(90deg, rgba(255, 227, 235, 0.62), rgba(255, 255, 255, 0.28) 42%, rgba(231, 245, 253, 0.62));
}

.wave-info {
  --wave-bg: #fff8ec;
}

.wave-contact {
  --wave-bg: linear-gradient(135deg, #fffefa, #fff3df);
}

.wave-footer {
  --wave-bg: #765343;
}

a {
  color: inherit;
  text-decoration: none;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 28px;
  min-height: 82px;
  padding: 14px 52px;
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid rgba(243, 111, 147, 0.15);
  box-shadow: 0 10px 28px rgba(103, 73, 57, 0.06);
  backdrop-filter: blur(14px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 260px;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  color: #fff;
  font-size: 2rem;
  font-weight: 900;
  background: linear-gradient(135deg, #ff8da8, var(--pink-deep));
  border-radius: 50% 48% 54% 46%;
  box-shadow: 0 8px 18px rgba(233, 79, 124, 0.24);
}

.brand-copy {
  display: grid;
  line-height: 1.35;
}

.brand-title {
  color: var(--pink-deep);
  font-size: 1.35rem;
  font-weight: 900;
}

.brand-sub {
  color: var(--brown-soft);
  font-size: 0.78rem;
  font-weight: 700;
}

.site-nav {
  display: flex;
  justify-content: center;
  gap: 26px;
  font-size: 0.88rem;
  font-weight: 800;
}

.site-nav a {
  position: relative;
  padding: 8px 0;
}

.site-nav a::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 3px;
  background: var(--pink);
  border-radius: 999px;
  content: "";
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 180ms ease;
}

.site-nav a:hover::after,
.site-nav a:focus-visible::after {
  transform: scaleX(1);
}

.header-cta,
.button,
.contact-form button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 48px;
  padding: 0 24px;
  color: #fff;
  font-weight: 900;
  background: linear-gradient(135deg, #ff83a1, var(--pink-deep));
  border: 0;
  border-radius: 999px;
  box-shadow: 0 10px 22px rgba(233, 79, 124, 0.24);
  cursor: pointer;
}

.header-cta {
  white-space: nowrap;
}

.hero {
  position: relative;
  overflow: hidden;
  padding: 78px 32px 92px;
  background:
    radial-gradient(circle at 13% 60%, rgba(255, 227, 235, 0.92) 0 76px, transparent 77px),
    radial-gradient(circle at 88% 12%, rgba(231, 245, 253, 0.95) 0 130px, transparent 131px),
    linear-gradient(90deg, #fff9ed 0%, #fffefa 56%, #fff4e2 100%);
}

.hero::before {
  position: absolute;
  right: -70px;
  bottom: -72px;
  width: 270px;
  height: 188px;
  background:
    radial-gradient(circle at 35% 55%, #9bd38d 0 38px, transparent 39px),
    radial-gradient(circle at 60% 32%, #b9e4ae 0 50px, transparent 51px),
    radial-gradient(circle at 68% 70%, #86c978 0 58px, transparent 59px);
  opacity: 0.42;
  content: "";
}

.hero::after {
  position: absolute;
  right: -5%;
  bottom: -26px;
  left: -5%;
  height: 82px;
  background:
    radial-gradient(56px 40px at 4% 10px, #fff 98%, transparent 100%),
    radial-gradient(78px 48px at 15% 18px, #fff 98%, transparent 100%),
    radial-gradient(72px 44px at 28% 8px, #fff 98%, transparent 100%),
    radial-gradient(86px 56px at 42% 20px, #fff 98%, transparent 100%),
    radial-gradient(64px 40px at 55% 8px, #fff 98%, transparent 100%),
    radial-gradient(94px 58px at 69% 18px, #fff 98%, transparent 100%),
    radial-gradient(74px 42px at 84% 8px, #fff 98%, transparent 100%),
    radial-gradient(90px 52px at 96% 18px, #fff 98%, transparent 100%),
    linear-gradient(#fff, #fff);
  content: "";
}

.hero-inner,
.section-inner {
  position: relative;
  z-index: 1;
  width: min(1120px, 100%);
  margin: 0 auto;
}

.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.03fr) minmax(340px, 0.97fr);
  gap: 58px;
  align-items: center;
}

.eyebrow,
.section-label {
  margin: 0 0 12px;
  color: var(--pink-deep);
  font-size: 0.86rem;
  font-weight: 900;
}

.hero h1 {
  margin: 0;
  color: var(--brown);
  font-size: 3rem;
  line-height: 1.35;
}

.hero h1 span {
  display: block;
}

.hero h1 em {
  color: var(--pink-deep);
  font-style: normal;
}

.hero-lead {
  max-width: 660px;
  margin: 22px 0 30px;
  font-weight: 700;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.button {
  min-width: 188px;
  font-size: 0.96rem;
}

.button.secondary {
  color: var(--pink-deep);
  background: rgba(255, 255, 255, 0.78);
  border: 2px solid rgba(243, 111, 147, 0.62);
  box-shadow: none;
}

.hero-visual {
  position: relative;
  min-height: 460px;
}

.photo-bubble {
  position: absolute;
  inset: 12px 4px 34px 26px;
  overflow: hidden;
  background: #fff;
  border: 12px solid rgba(255, 255, 255, 0.84);
  border-radius: 44% 56% 45% 55% / 46% 42% 58% 54%;
  box-shadow: var(--shadow);
}

.photo-bubble img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 28% center;
}

.photo-bubble::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(255, 248, 236, 0.22), rgba(255, 255, 255, 0));
  content: "";
}

.trial-badge {
  position: absolute;
  top: 18px;
  right: -8px;
  display: grid;
  place-items: center;
  width: 142px;
  height: 142px;
  text-align: center;
  background:
    linear-gradient(#fffefa, #fffefa) padding-box,
    repeating-linear-gradient(45deg, #ff9db5 0 12px, #ffe0e8 12px 24px, #f8c94f 24px 36px, #ffeebd 36px 48px) border-box;
  border: 8px solid transparent;
  border-radius: 50%;
  box-shadow: 0 16px 34px rgba(103, 73, 57, 0.12);
  transform: rotate(4deg);
}

.trial-badge span {
  display: block;
  color: var(--pink-deep);
  font-size: 0.86rem;
  font-weight: 900;
}

.trial-badge strong {
  display: block;
  margin-top: -20px;
  color: var(--brown);
  font-size: 1.05rem;
  line-height: 1.45;
}

.career-card {
  position: absolute;
  bottom: 2px;
  left: 0;
  display: flex;
  align-items: center;
  gap: 12px;
  width: min(280px, 70%);
  padding: 16px 18px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(248, 201, 79, 0.55);
  border-radius: 24px;
  box-shadow: var(--shadow);
}

.career-card p {
  margin: 0;
  font-weight: 800;
}

.career-card strong {
  color: var(--pink-deep);
  font-size: 1.45rem;
}

.mini-icon {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  color: #fff;
  background: var(--yellow);
  border-radius: 50%;
  flex: 0 0 auto;
}

.float-note,
.spark {
  position: absolute;
  z-index: 0;
  pointer-events: none;
}

.float-note {
  font-size: 2.25rem;
  font-weight: 900;
  opacity: 0.82;
}

.note-1 {
  top: 128px;
  left: 7%;
  color: var(--blue);
  transform: rotate(-12deg);
}

.note-2 {
  top: 110px;
  right: 29%;
  color: var(--pink);
  transform: rotate(10deg);
}

.note-3 {
  right: 6%;
  bottom: 142px;
  color: var(--yellow);
  transform: rotate(-8deg);
}

.spark {
  width: 14px;
  height: 14px;
  background: var(--yellow);
  clip-path: polygon(50% 0, 63% 33%, 100% 37%, 70% 58%, 80% 94%, 50% 74%, 20% 94%, 30% 58%, 0 37%, 37% 33%);
}

.spark-1 {
  top: 154px;
  left: 42%;
}

.spark-2 {
  right: 12%;
  bottom: 232px;
  background: var(--pink);
}

.reason-section {
  padding: 34px 32px 78px;
  background: #fff;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 30px;
}

.section-heading.center {
  margin-right: auto;
  margin-left: auto;
  text-align: center;
}

.section-heading h2,
.teacher-copy h2,
.contact-copy h2 {
  margin: 0;
  color: var(--brown);
  font-size: 2.15rem;
  line-height: 1.45;
}

.reason-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.reason-card,
.lesson-card,
.info-card,
.access-card,
.contact-form,
.promise-box {
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(103, 73, 57, 0.08);
  box-shadow: var(--shadow);
}

.reason-card {
  min-height: 196px;
  padding: 30px 26px;
  border-radius: 26px;
}

.reason-card h3,
.lesson-card h3,
.access-card h3 {
  margin: 14px 0 8px;
  font-size: 1.2rem;
}

.reason-card p,
.lesson-card p,
.access-card p,
.teacher-lead,
.contact-copy p {
  margin: 0;
  color: #715747;
  font-weight: 700;
}

.reason-icon {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  color: #fff;
  font-size: 1.7rem;
  font-weight: 900;
  border-radius: 50%;
}

.reason-pink .reason-icon {
  background: var(--pink);
}

.reason-blue .reason-icon {
  background: var(--blue);
}

.reason-yellow .reason-icon {
  background: var(--yellow);
}

.reason-pink {
  background: linear-gradient(180deg, #fff, #fff5f8);
}

.reason-blue {
  background: linear-gradient(180deg, #fff, #f2fbff);
}

.reason-yellow {
  background: linear-gradient(180deg, #fff, #fff8df);
}

.lesson-section {
  position: relative;
  overflow: hidden;
  padding: 70px 32px 86px;
  background:
    radial-gradient(circle at 2% 92%, rgba(119, 190, 231, 0.24) 0 120px, transparent 121px),
    radial-gradient(circle at 97% 82%, rgba(136, 201, 120, 0.22) 0 118px, transparent 119px),
    linear-gradient(180deg, var(--cream) 0%, #fffaf0 100%);
}

.lesson-section::before,
.lesson-section::after {
  position: absolute;
  bottom: 0;
  width: 190px;
  height: 146px;
  background:
    radial-gradient(circle at 28% 70%, #88c978 0 38px, transparent 39px),
    radial-gradient(circle at 52% 48%, #b4df9e 0 54px, transparent 55px),
    radial-gradient(circle at 74% 76%, #7dbd72 0 42px, transparent 43px);
  opacity: 0.5;
  content: "";
}

.lesson-section::before {
  left: -48px;
}

.lesson-section::after {
  right: -46px;
  transform: scaleX(-1);
}

.lesson-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
}

.lesson-card {
  overflow: hidden;
  padding: 12px 12px 24px;
  border-radius: 28px;
}

.lesson-image {
  position: relative;
  overflow: hidden;
  height: 156px;
  border-radius: 20px;
}

.lesson-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.lesson-card h3,
.lesson-card p {
  padding: 0 10px;
}

.lesson-card h3 {
  text-align: center;
}

.age-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  display: grid;
  place-items: center;
  width: 62px;
  height: 62px;
  color: #fff;
  font-weight: 900;
  background: var(--pink);
  border-radius: 50%;
  box-shadow: 0 10px 18px rgba(103, 73, 57, 0.16);
}

.card-pink {
  border-color: rgba(243, 111, 147, 0.35);
  background: linear-gradient(180deg, #fff, #fff5f8);
}

.card-blue {
  border-color: rgba(119, 190, 231, 0.38);
  background: linear-gradient(180deg, #fff, #f1fbff);
}

.card-blue .age-badge {
  background: var(--blue);
}

.card-yellow {
  border-color: rgba(248, 201, 79, 0.48);
  background: linear-gradient(180deg, #fff, #fff8df);
}

.card-yellow .age-badge {
  background: var(--yellow);
}

.card-green {
  border-color: rgba(136, 201, 120, 0.42);
  background: linear-gradient(180deg, #fff, #f2faed);
}

.card-green .age-badge {
  background: var(--green);
}

.teacher-section {
  padding: 88px 32px;
  background:
    linear-gradient(90deg, rgba(255, 227, 235, 0.5), rgba(255, 255, 255, 0.2) 42%, rgba(231, 245, 253, 0.52)),
    #fff;
}

.teacher-layout {
  display: grid;
  grid-template-columns: minmax(320px, 0.9fr) minmax(0, 1.1fr);
  gap: 58px;
  align-items: center;
}

.teacher-photos {
  position: relative;
  min-height: 430px;
}

.teacher-main-photo,
.teacher-sub-photo {
  position: absolute;
  object-fit: cover;
  box-shadow: var(--shadow);
}

.teacher-main-photo {
  inset: 0 auto auto 0;
  width: 86%;
  height: 360px;
  border: 12px solid #fff;
  border-radius: 38px;
}

.teacher-sub-photo {
  right: 0;
  bottom: 0;
  width: 48%;
  height: 190px;
  border: 10px solid #fff;
  border-radius: 30px;
}

.teacher-copy {
  position: relative;
}

.teacher-lead {
  margin-top: 18px;
  font-size: 1.02rem;
}

.promise-box {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 16px;
  align-items: start;
  margin-top: 26px;
  padding: 24px;
  border-color: rgba(243, 111, 147, 0.18);
  border-radius: 26px;
}

.promise-box p {
  margin: 0;
  font-weight: 800;
}

.promise-icon {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  color: #fff;
  font-size: 1.5rem;
  background: var(--pink);
  border-radius: 50%;
}

.info-section {
  padding: 76px 32px 88px;
  background: linear-gradient(180deg, #fff8ec, #fffefa);
}

.info-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(320px, 0.8fr);
  gap: 24px;
  align-items: stretch;
}

.info-card,
.access-card {
  border-radius: 28px;
}

.info-card {
  padding: 14px;
}

.info-list {
  display: grid;
  gap: 8px;
  margin: 0;
}

.info-list div {
  display: grid;
  grid-template-columns: 154px 1fr;
  gap: 14px;
  align-items: center;
  padding: 15px 18px;
  background: #fffaf2;
  border-radius: 18px;
}

.info-list dt {
  color: var(--pink-deep);
  font-weight: 900;
}

.info-list dd {
  margin: 0;
  font-weight: 800;
}

.access-card {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 28px;
  background: linear-gradient(180deg, #fff, #f4fbef);
}

.map-illustration {
  position: relative;
  height: 190px;
  overflow: hidden;
  margin-bottom: 22px;
  background:
    radial-gradient(circle at 18% 22%, rgba(119, 190, 231, 0.26) 0 44px, transparent 45px),
    radial-gradient(circle at 80% 74%, rgba(248, 201, 79, 0.28) 0 52px, transparent 53px),
    #fffefa;
  border: 2px dashed rgba(136, 201, 120, 0.45);
  border-radius: 24px;
}

.map-line {
  position: absolute;
  height: 8px;
  background: rgba(119, 190, 231, 0.5);
  border-radius: 999px;
}

.line-a {
  top: 74px;
  left: 22px;
  width: 86%;
  transform: rotate(16deg);
}

.line-b {
  top: 122px;
  left: 46px;
  width: 72%;
  background: rgba(243, 111, 147, 0.32);
  transform: rotate(-18deg);
}

.map-dot {
  position: absolute;
  width: 16px;
  height: 16px;
  background: var(--yellow);
  border-radius: 50%;
}

.dot-a {
  top: 58px;
  left: 26%;
}

.dot-b {
  right: 19%;
  bottom: 50px;
  background: var(--green);
}

.map-pin {
  position: absolute;
  top: 58px;
  left: 50%;
  display: grid;
  place-items: center;
  width: 62px;
  height: 62px;
  color: #fff;
  font-size: 1.7rem;
  background: var(--pink);
  border: 6px solid #fff;
  border-radius: 50% 50% 50% 0;
  box-shadow: 0 12px 24px rgba(233, 79, 124, 0.22);
  transform: translateX(-50%) rotate(-45deg);
}

.map-pin::first-letter {
  transform: rotate(45deg);
}

.contact-section {
  position: relative;
  overflow: hidden;
  padding: 84px 32px;
  background:
    radial-gradient(circle at 12% 88%, rgba(255, 227, 235, 0.82) 0 110px, transparent 111px),
    radial-gradient(circle at 91% 16%, rgba(231, 245, 253, 0.9) 0 126px, transparent 127px),
    linear-gradient(135deg, #fffefa, #fff3df);
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(360px, 1.1fr);
  gap: 34px;
  align-items: start;
}

.contact-copy {
  padding-top: 22px;
}

.contact-copy p {
  margin-top: 18px;
}

.contact-note {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 26px;
  padding: 14px 18px;
  color: var(--pink-deep);
  font-weight: 900;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(243, 111, 147, 0.2);
  border-radius: 999px;
}

.contact-form {
  display: grid;
  gap: 18px;
  padding: 28px;
  border-radius: 28px;
}

.contact-form label {
  display: grid;
  gap: 8px;
  color: var(--brown);
  font-size: 0.92rem;
  font-weight: 900;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  min-height: 50px;
  padding: 12px 14px;
  color: var(--brown);
  font: inherit;
  font-weight: 700;
  background: #fffaf2;
  border: 1px solid rgba(103, 73, 57, 0.14);
  border-radius: 16px;
  outline: 0;
  transition: border 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.contact-form textarea {
  resize: vertical;
}

.contact-form input:focus,
.contact-form textarea:focus {
  background: #fff;
  border-color: rgba(243, 111, 147, 0.72);
  box-shadow: 0 0 0 4px rgba(243, 111, 147, 0.13);
}

.contact-form button {
  width: fit-content;
  min-width: 210px;
  margin-top: 2px;
  font: inherit;
}

.site-footer {
  padding: 28px 32px 34px;
  color: #fff;
  text-align: center;
  background: #00bfff;
}

.site-footer p,
.site-footer small {
  margin: 0;
}

.site-footer small {
  display: block;
  margin-top: 6px;
}

@media (max-width: 1040px) {
  .site-header {
    grid-template-columns: 1fr auto;
    gap: 14px;
    padding: 14px 24px;
  }

  .site-nav {
    grid-column: 1 / -1;
    order: 3;
    justify-content: flex-start;
    overflow-x: auto;
    padding-bottom: 2px;
  }

  .hero-inner,
  .teacher-layout,
  .info-layout,
  .contact-layout {
    grid-template-columns: 1fr;
  }

  .hero-visual {
    min-height: 410px;
  }

  .lesson-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .site-header {
    position: static;
    display: flex;
    flex-wrap: wrap;
    padding: 12px 18px;
  }

  .brand {
    min-width: 0;
  }

  .brand-title {
    font-size: 1rem;
  }

  .brand-sub,
  .site-nav {
    font-size: 0.74rem;
  }

  .site-nav {
    gap: 16px;
    width: 100%;
  }

  .header-cta {
    min-height: 42px;
    padding: 0 16px;
    font-size: 0.82rem;
  }

  .hero,
  .reason-section,
  .lesson-section,
  .teacher-section,
  .info-section,
  .contact-section {
    padding-right: 18px;
    padding-left: 18px;
  }

  .hero {
    padding-top: 48px;
  }

  .hero h1 {
    font-size: 2.14rem;
  }

  .hero-lead {
    font-size: 0.95rem;
  }

  .hero-actions,
  .button {
    width: 100%;
  }

  .hero-visual {
    min-height: 345px;
  }

  .photo-bubble {
    inset: 0 0 44px;
    border-width: 8px;
  }

  .trial-badge {
    top: -8px;
    right: -8px;
    width: 118px;
    height: 118px;
    border-width: 6px;
  }

  .trial-badge strong {
    font-size: 0.9rem;
  }

  .career-card {
    width: min(260px, 86%);
    border-radius: 20px;
  }

  .section-heading h2,
  .teacher-copy h2,
  .contact-copy h2 {
    font-size: 1.68rem;
  }

  .reason-grid,
  .lesson-grid {
    grid-template-columns: 1fr;
  }

  .teacher-photos {
    min-height: 360px;
  }

  .teacher-main-photo {
    height: 300px;
  }

  .teacher-sub-photo {
    height: 148px;
  }

  .info-list div {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .contact-form {
    padding: 22px;
  }

  .contact-form button {
    width: 100%;
  }
}

@media (max-width: 430px) {
  .brand-mark {
    width: 42px;
    height: 42px;
    font-size: 1.65rem;
  }

  .hero h1 {
    font-size: 1.88rem;
  }

  .lesson-image {
    height: 142px;
  }

  .contact-note {
    align-items: flex-start;
    border-radius: 18px;
  }
}
