:root {
  --blue: #0871d9;
  --blue-2: #2b91e7;
  --blue-soft: #eaf6ff;
  --orange: #ff7a16;
  --orange-2: #ffae2b;
  --orange-soft: #fff2df;
  --green: #2fb36f;
  --green-soft: #edf9f2;
  --purple: #8a67d6;
  --purple-soft: #f3efff;
  --ink: #1e2f42;
  --muted: #607285;
  --line: #d9e8f6;
  --paper: #ffffff;
  --bg: #f4f8fb;
  --shadow: 0 12px 36px rgba(29, 78, 132, 0.12);
  --font: "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Yu Gothic", "Meiryo", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at top left, rgba(255, 174, 43, 0.12), transparent 30%),
    linear-gradient(180deg, #fbfdff 0%, var(--bg) 100%);
  font-family: var(--font);
  font-weight: 500;
  line-height: 1.8;
}

.demo-banner {
  position: relative;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 7px 16px;
  color: #fff;
  background: #2f2a26;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.5;
  text-align: center;
}

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

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

button,
input,
select,
textarea {
  font: inherit;
}

.site-shell {
  width: min(1280px, calc(100% - 32px));
  margin: 16px auto;
  overflow: hidden;
  background: var(--paper);
  border: 1px solid rgba(14, 113, 217, 0.12);
  border-radius: 18px;
  box-shadow: var(--shadow);
}

.demo-toast {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 10000;
  max-width: min(360px, calc(100vw - 32px));
  padding: 12px 16px;
  color: #fff;
  background: rgba(30, 47, 66, 0.94);
  border: 1px solid rgba(255, 174, 43, 0.42);
  border-radius: 14px;
  box-shadow: 0 16px 42px rgba(29, 78, 132, 0.18);
  font-size: 13px;
  line-height: 1.6;
  opacity: 0;
  pointer-events: none;
  transform: translateY(10px);
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.demo-toast.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  display: flex;
  align-items: center;
  min-height: 76px;
  gap: 22px;
  padding: 12px 28px;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid rgba(8, 113, 217, 0.12);
  backdrop-filter: blur(14px);
}

.brand {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
}

.brand img {
  width: 236px;
  height: auto;
}

.global-nav {
  display: flex;
  justify-content: center;
  flex: 1 1 auto;
  gap: 3px;
}

.global-nav a {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 56px;
  padding: 0 12px;
  color: #182b3e;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.4;
  white-space: nowrap;
  border-radius: 999px;
}

.global-nav a:hover,
.global-nav a.is-active {
  color: var(--blue);
  background: var(--blue-soft);
}

.global-nav a.is-active::after {
  position: absolute;
  right: 16px;
  bottom: -13px;
  left: 16px;
  height: 3px;
  content: "";
  background: var(--blue);
  border-radius: 999px;
}

.header-contact {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: 0 0 auto;
}

.phone-block {
  display: grid;
  color: var(--blue);
  font-weight: 700;
  line-height: 1.2;
  text-align: right;
}

.phone-block small {
  margin-top: 2px;
  color: #50687e;
  font-size: 10px;
  font-weight: 700;
}

.phone-line {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 20px;
}

.phone-line img {
  width: 21px;
}

@media (max-width: 1320px) {
  .site-header {
    gap: 14px;
  }

  .phone-block {
    display: none;
  }

  .brand img {
    width: 218px;
  }

  .global-nav a {
    padding: 0 9px;
    font-size: 12px;
  }
}

.btn,
.icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 999px;
  cursor: pointer;
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.btn img,
.icon-btn img {
  width: 21px;
  height: 21px;
  object-fit: contain;
}

.btn:hover,
.icon-btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  color: #fff;
  background: linear-gradient(180deg, #ff8a20 0%, #ff6f00 100%);
  box-shadow: 0 9px 18px rgba(255, 116, 9, 0.22);
}

.btn-secondary {
  color: var(--blue);
  background: #fff;
  border-color: var(--blue);
}

.btn-green {
  color: var(--green);
  background: #fff;
  border-color: #86d9ad;
}

.mobile-toggle {
  display: none;
  width: 46px;
  height: 46px;
  padding: 0;
  color: var(--blue);
  background: #fff;
  border: 1px solid rgba(8, 113, 217, 0.2);
  border-radius: 10px;
}

.hamburger {
  position: relative;
  display: block;
  width: 24px;
  height: 18px;
}

.hamburger::before,
.hamburger::after,
.hamburger span {
  position: absolute;
  left: 0;
  width: 24px;
  height: 3px;
  content: "";
  background: var(--blue);
  border-radius: 999px;
}

.hamburger::before {
  top: 0;
}

.hamburger span {
  top: 7px;
}

.hamburger::after {
  bottom: 0;
}

.mobile-drawer {
  display: none;
  padding: 14px 20px 20px;
  background: #fff;
  border-bottom: 1px solid var(--line);
}

.mobile-drawer a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 13px 8px;
  color: var(--ink);
  font-weight: 700;
  border-bottom: 1px solid #edf4fb;
}

.mobile-drawer a::after {
  color: var(--blue);
  content: "›";
  font-size: 22px;
}

.mobile-drawer.is-open {
  display: block;
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(420px, 0.92fr) minmax(520px, 1.28fr);
  min-height: 360px;
  overflow: hidden;
  background: linear-gradient(90deg, #fff 0%, #fff 42%, #eef8ff 100%);
}

.hero::after {
  position: absolute;
  inset: 0;
  pointer-events: none;
  content: "";
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.96) 0%, rgba(255, 255, 255, 0.86) 29%, rgba(255, 255, 255, 0) 58%);
}

.hero-text {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 48px 56px;
}

.hero-label {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  gap: 8px;
  margin-bottom: 18px;
  padding: 6px 14px;
  color: var(--blue);
  background: var(--blue-soft);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
}

.hero-label img,
.section-title img {
  width: 28px;
  height: 28px;
}

.hero h1 {
  margin: 0;
  font-size: 34px;
  font-weight: 800;
  line-height: 1.65;
}

.hero h1 .accent {
  color: var(--orange);
}

.hero p {
  max-width: 560px;
  margin: 18px 0 0;
  color: #263d52;
  font-weight: 500;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}

.hero-actions .btn {
  min-width: 220px;
}

.hero-media {
  position: relative;
  z-index: 1;
  min-height: 360px;
}

.hero-media img {
  width: 100%;
  height: 100%;
  min-height: 360px;
  object-fit: cover;
}

.hero--home .hero-media img {
  object-position: center center;
}

.hero--concept .hero-media img,
.hero--feature .hero-media img {
  object-position: center right;
}

.hero--service .hero-media img {
  object-position: center center;
}

.hero--works .hero-media img {
  object-position: center center;
}

.breadcrumbs {
  display: flex;
  gap: 8px;
  align-items: center;
  padding: 20px 48px 0;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

.breadcrumbs a {
  color: var(--blue);
}

.main {
  padding: 0 40px 42px;
}

.section {
  padding: 34px 0;
}

.section.tight {
  padding-top: 18px;
}

.section-title {
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 0 0 18px;
  color: var(--blue);
  font-size: 24px;
  font-weight: 800;
  line-height: 1.45;
}

.section-title.center {
  justify-content: center;
  text-align: center;
}

.lead {
  max-width: 760px;
  margin: 0 auto 26px;
  color: #293f54;
  font-size: 17px;
  font-weight: 600;
  text-align: center;
}

.grid {
  display: grid;
  gap: 16px;
}

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

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

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

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

.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: 0 8px 22px rgba(32, 97, 151, 0.08);
}

.summary-card,
.feature-card,
.reason-card,
.voice-card,
.flow-card,
.teacher-card,
.access-card,
.contact-card,
.faq-panel,
.info-card {
  padding: 22px;
}

.summary-card {
  display: grid;
  grid-template-columns: 78px 1fr;
  align-items: center;
  gap: 14px;
  text-align: left;
}

.summary-card img,
.feature-card > img,
.reason-card > img,
.flow-card > img,
.info-card > img {
  width: 62px;
  height: 62px;
  object-fit: contain;
}

.summary-card h3,
.feature-card h3,
.reason-card h3,
.teacher-card h3,
.voice-card h3,
.info-card h3 {
  margin: 0 0 6px;
  color: var(--blue);
  font-size: 16px;
  font-weight: 800;
}

.summary-card p,
.feature-card p,
.reason-card p,
.flow-card p,
.teacher-card p,
.voice-card p,
.info-card p {
  margin: 0;
  color: #31475d;
  font-size: 13px;
  font-weight: 500;
}

.flow-compare-grid {
  grid-template-columns: minmax(0, 1.12fr) minmax(360px, 0.88fr);
  align-items: start;
}

.learning-flow {
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
}

.flow-card {
  display: grid;
  align-content: start;
  gap: 8px;
  min-height: 100%;
  padding: 16px 12px;
  text-align: center;
}

.flow-card > img {
  width: 46px;
  height: 46px;
  margin: 0 auto 2px;
}

.flow-card h3 {
  margin: 0;
  color: var(--blue);
  font-size: 13px;
  font-weight: 800;
  line-height: 1.45;
}

.flow-card p {
  font-size: 11px;
  line-height: 1.65;
}

.comparison-table table {
  min-width: 0;
  border-collapse: separate;
  border-spacing: 0;
  table-layout: fixed;
}

.comparison-table th,
.comparison-table td {
  padding: 12px 10px;
  font-size: 13px;
  line-height: 1.55;
  overflow-wrap: anywhere;
}

.comparison-table th:nth-child(2),
.comparison-table td:nth-child(2) {
  background: #fff7ec;
  border-right: 2px solid #ffae2b;
  border-left: 2px solid #ffae2b;
  box-shadow: inset 0 0 0 999px rgba(255, 174, 43, 0.04);
  font-weight: 700;
}

.comparison-table th:nth-child(2) {
  color: var(--orange);
  background: linear-gradient(180deg, #fff2df 0%, #fff9f1 100%);
  border-top: 2px solid #ffae2b;
  border-top-left-radius: 10px;
  border-top-right-radius: 10px;
}

.comparison-table tbody tr:last-child td:nth-child(2) {
  border-bottom: 2px solid #ffae2b;
  border-bottom-right-radius: 10px;
  border-bottom-left-radius: 10px;
}

.comparison-table th:nth-child(1),
.comparison-table td:nth-child(1) {
  width: 30%;
}

.feature-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-height: 100%;
}

.feature-card .photo-strip {
  overflow: hidden;
  margin: auto -8px -8px;
  border-radius: 10px;
}

.feature-card .photo-strip img {
  width: 100%;
  height: 128px;
  object-fit: cover;
}

.photo-band {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 18px;
  align-items: stretch;
}

.photo-band .wide-photo {
  min-height: 280px;
  overflow: hidden;
  border-radius: 14px;
}

.masked-photo {
  min-height: 230px;
  overflow: hidden;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: var(--blue-soft);
}

.photo-band .wide-photo img,
.masked-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.photo-caption-grid {
  display: grid;
  gap: 14px;
}

.photo-caption {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
}

.photo-caption img {
  width: 100%;
  height: 150px;
  object-fit: cover;
}

.photo-caption strong {
  display: block;
  padding: 9px 12px 12px;
  color: var(--blue);
  font-weight: 800;
  text-align: center;
}

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

.course-card {
  overflow: hidden;
  border-width: 2px;
}

.course-card.orange {
  border-color: rgba(255, 122, 22, 0.45);
}

.course-card.blue {
  border-color: rgba(8, 113, 217, 0.38);
}

.course-card.green {
  border-color: rgba(47, 179, 111, 0.38);
}

.course-card.purple {
  border-color: rgba(138, 103, 214, 0.38);
}

.course-card figure {
  margin: 0;
}

.course-card img {
  width: 100%;
  height: 140px;
  object-fit: cover;
}

.course-body {
  padding: 16px;
}

.course-body h3 {
  margin: 0 0 2px;
  color: var(--blue);
  font-size: 19px;
  font-weight: 800;
  text-align: center;
}

.course-card.orange h3 {
  color: var(--orange);
}

.course-card.green h3 {
  color: var(--green);
}

.course-card.purple h3 {
  color: var(--purple);
}

.course-body .subtitle {
  margin: 0 0 12px;
  color: #394d60;
  font-size: 12px;
  font-weight: 700;
  text-align: center;
}

.mini-list {
  display: grid;
  gap: 7px;
  margin: 0 0 16px;
  padding: 0;
  list-style: none;
}

.mini-list li {
  display: grid;
  grid-template-columns: 62px 1fr;
  gap: 8px;
  color: #30475e;
  font-size: 12px;
  font-weight: 600;
}

.mini-list span {
  color: var(--orange);
  font-weight: 800;
}

.course-more {
  display: none;
  margin-top: 12px;
  padding-top: 12px;
  color: #30475e;
  font-size: 12px;
  font-weight: 500;
  border-top: 1px dashed #c8dcec;
}

.course-card.is-open .course-more {
  display: block;
}

.course-toggle {
  width: 100%;
  min-height: 38px;
  color: var(--blue);
  background: #fff;
  border: 1px solid currentColor;
  border-radius: 999px;
  cursor: pointer;
  font-weight: 700;
}

.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: linear-gradient(180deg, #fbfdff 0%, #fff 100%);
}

table {
  width: 100%;
  min-width: 680px;
  border-collapse: collapse;
}

th,
td {
  padding: 13px 16px;
  border: 1px solid #e4eef8;
  color: #2c4054;
  font-size: 14px;
  font-weight: 500;
  text-align: center;
}

th {
  color: var(--blue);
  background: #f2f9ff;
  font-weight: 700;
}

tr:nth-child(even) td {
  background: #fbfdff;
}

.price-chip {
  display: inline-flex;
  min-width: 112px;
  justify-content: center;
  padding: 6px 12px;
  color: #fff;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
}

.price-chip.orange {
  background: var(--orange);
}

.price-chip.blue {
  background: var(--blue);
}

.price-chip.green {
  background: var(--green);
}

.price-chip.purple {
  background: var(--purple);
}

.schedule-table td {
  color: #52697d;
  font-size: 18px;
}

.schedule-table .available {
  color: var(--blue);
}

.faq-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 24px;
}

.faq-tabs {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
  margin: 24px 0 28px;
}

.faq-tab {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  color: var(--blue);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
  cursor: pointer;
  font-size: 13px;
  font-weight: 700;
}

.faq-tab img {
  width: 25px;
  height: 25px;
}

.faq-tab.is-active {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(8, 113, 217, 0.08);
}

.faq-list {
  display: grid;
  gap: 10px;
}

.faq-item {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
}

.faq-question {
  display: grid;
  grid-template-columns: 36px 1fr 24px;
  align-items: center;
  width: 100%;
  gap: 10px;
  padding: 17px 18px;
  color: var(--blue);
  background: #fff;
  border: 0;
  cursor: pointer;
  font-weight: 700;
  text-align: left;
}

.faq-question img {
  width: 30px;
  height: 30px;
}

.faq-question .chev {
  color: var(--blue);
  font-size: 21px;
  text-align: right;
}

.faq-answer {
  display: none;
  padding: 0 20px 18px 64px;
  color: #30475e;
  font-size: 14px;
  font-weight: 600;
}

.faq-item.is-open {
  background: #f7fbff;
}

.faq-item.is-open .faq-answer {
  display: block;
}

.faq-item.is-open .chev {
  transform: rotate(180deg);
}

.side-cta {
  position: sticky;
  top: 94px;
  align-self: start;
  padding: 24px;
  text-align: center;
}

.side-cta h3 {
  margin: 0 0 8px;
  color: var(--blue);
  font-size: 18px;
  font-weight: 800;
}

.side-cta p {
  margin: 0 0 18px;
  color: #385168;
  font-size: 14px;
  font-weight: 500;
}

.side-cta .phone-line {
  justify-content: center;
  margin: 4px 0 12px;
  color: var(--orange);
  font-size: 22px;
}

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

.teacher-card {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 14px;
  align-items: start;
}

.teacher-photo {
  overflow: hidden;
  aspect-ratio: 1 / 1;
  border-radius: 10px;
  background: var(--blue-soft);
}

.teacher-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 9px 0;
}

.tag {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 0 10px;
  color: var(--blue);
  background: var(--blue-soft);
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
}

.tag.orange {
  color: var(--orange);
  background: var(--orange-soft);
}

.tag.green {
  color: var(--green);
  background: var(--green-soft);
}

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

.voice-card {
  display: grid;
  grid-template-columns: 54px 1fr;
  gap: 13px;
  align-items: start;
  background: linear-gradient(180deg, #ffffff 0%, #fbfdff 100%);
}

.voice-card img {
  width: 54px;
  height: 54px;
  object-fit: contain;
}

.voice-card blockquote {
  margin: 0;
  color: #30475e;
  font-size: 13px;
  font-weight: 500;
}

.voice-card cite {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  font-size: 12px;
  font-style: normal;
  font-weight: 600;
  text-align: right;
}

.timeline {
  position: relative;
  display: grid;
  gap: 18px;
  padding-left: 30px;
}

.timeline::before {
  position: absolute;
  top: 4px;
  bottom: 4px;
  left: 9px;
  width: 3px;
  content: "";
  background: #b9daf5;
  border-radius: 999px;
}

.timeline-item {
  position: relative;
  display: grid;
  grid-template-columns: 86px 1fr;
  gap: 18px;
}

.timeline-item::before {
  position: absolute;
  top: 8px;
  left: -28px;
  width: 16px;
  height: 16px;
  content: "";
  background: #fff;
  border: 4px solid var(--blue);
  border-radius: 50%;
}

.timeline-year {
  color: var(--blue);
  font-size: 18px;
  font-weight: 800;
}

.timeline h3 {
  margin: 0 0 4px;
  color: var(--blue);
  font-size: 16px;
  font-weight: 800;
}

.timeline p {
  margin: 0;
  color: #31475d;
  font-size: 13px;
  font-weight: 500;
}

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

.gallery-item {
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: 0 8px 22px rgba(32, 97, 151, 0.08);
}

.gallery-item img {
  width: 100%;
  height: 170px;
  object-fit: cover;
}

.gallery-item strong {
  display: block;
  padding: 10px 12px 13px;
  color: var(--blue);
  font-weight: 700;
  text-align: center;
}

.day-flow {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 8px;
  align-items: start;
}

.day-step {
  position: relative;
  padding: 16px 10px;
  text-align: center;
}

.day-step::after {
  position: absolute;
  top: 44px;
  right: -14px;
  width: 22px;
  height: 2px;
  content: "";
  background: #9dd0f5;
}

.day-step:last-child::after {
  content: none;
}

.day-step img {
  width: 58px;
  height: 58px;
  margin: 0 auto 7px;
}

.day-step time {
  display: block;
  color: var(--blue);
  font-weight: 700;
}

.day-step h3 {
  margin: 4px 0 4px;
  color: var(--blue);
  font-size: 14px;
  font-weight: 700;
}

.day-step p {
  margin: 0;
  color: #43586e;
  font-size: 12px;
  font-weight: 500;
}

.contact-layout,
.access-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(320px, 0.65fr);
  gap: 20px;
}

.access-columns {
  display: grid;
  grid-template-columns: 0.95fr 1fr;
  gap: 18px;
}

.access-list {
  display: grid;
  gap: 14px;
}

.access-list h3 {
  margin: 0 0 4px;
  color: var(--blue);
  font-size: 15px;
  font-weight: 800;
}

.access-list p {
  margin: 0;
  color: #31475d;
  font-size: 13px;
  font-weight: 500;
}

.map-frame {
  overflow: hidden;
  height: 270px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--blue-soft);
}

.map-frame iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

.map-placeholder {
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
  background:
    linear-gradient(90deg, rgba(68, 127, 161, .14) 1px, transparent 1px),
    linear-gradient(rgba(68, 127, 161, .14) 1px, transparent 1px),
    var(--blue-soft);
  background-size: 38px 38px;
  color: var(--muted);
  font-weight: 700;
  letter-spacing: .08em;
}

.photo-stack {
  display: grid;
  gap: 13px;
}

.photo-stack img {
  width: 100%;
  height: 178px;
  object-fit: cover;
  border: 1px solid var(--line);
  border-radius: 12px;
}

.contact-card h3 {
  margin: 0 0 8px;
  color: var(--blue);
  font-size: 17px;
  font-weight: 800;
}

.big-phone {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin: 2px 0 6px;
  color: var(--orange);
  font-size: 28px;
  font-weight: 800;
  line-height: 1.2;
}

.big-phone img {
  width: 28px;
}

.contact-actions {
  display: grid;
  gap: 10px;
  margin-top: 18px;
}

.form {
  display: grid;
  gap: 14px;
}

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

.field {
  display: grid;
  gap: 6px;
}

.field label {
  color: var(--blue);
  font-size: 12px;
  font-weight: 700;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 46px;
  padding: 10px 12px;
  color: var(--ink);
  background: #fff;
  border: 1px solid #cfe1f2;
  border-radius: 8px;
  outline: none;
}

.field textarea {
  min-height: 128px;
  resize: vertical;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(8, 113, 217, 0.1);
}

.form-note {
  color: var(--muted);
  font-size: 12px;
  font-weight: 500;
  text-align: center;
}

.lead-left {
  margin-left: 0;
  text-align: left;
}

.steps-illustration {
  width: min(560px, 100%);
  margin: 0 auto 16px;
}

.center-actions {
  justify-content: center;
  margin-top: 8px;
}

.warm-card {
  background: linear-gradient(180deg, #fff7eb 0%, #fff 100%);
}

.form-status {
  display: none;
  padding: 12px 14px;
  color: var(--green);
  background: var(--green-soft);
  border: 1px solid #b8e9cf;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
  text-align: center;
}

.form-status.is-visible {
  display: block;
}

.cta-band {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 14px;
  align-items: center;
  padding: 22px 26px;
  background: linear-gradient(90deg, #fff7eb 0%, #fff 52%, #eff8ff 100%);
  border: 1px solid #ffcf92;
  border-radius: 14px;
}

.cta-band h2 {
  margin: 0;
  color: var(--blue);
  font-size: 21px;
  font-weight: 800;
}

.cta-band p {
  margin: 3px 0 0;
  color: #3f5368;
  font-size: 13px;
  font-weight: 500;
}

.support-strip {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
  padding: 12px;
  background: #fbfdff;
  border: 1px solid var(--line);
  border-radius: 14px;
}

.support-item {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 8px;
  align-items: center;
  padding: 9px;
  color: var(--blue);
  font-size: 12px;
  font-weight: 700;
  border-right: 1px solid #e2effa;
}

.support-item:last-child {
  border-right: 0;
}

.support-item img {
  width: 42px;
  height: 42px;
}

.site-footer {
  display: grid;
  grid-template-columns: 1fr 1.2fr 300px;
  gap: 24px;
  align-items: center;
  padding: 26px 48px 18px;
  background: linear-gradient(180deg, #fffaf2 0%, #fff3df 100%);
  border-top: 1px solid rgba(255, 174, 43, 0.25);
}

.footer-brand img {
  width: 210px;
  margin-bottom: 8px;
}

.footer-brand p,
.footer-copy {
  margin: 0;
  color: #607285;
  font-size: 12px;
  font-weight: 500;
}

.footer-nav {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px 22px;
  align-self: stretch;
  padding-left: 20px;
  border-left: 1px solid rgba(8, 113, 217, 0.14);
}

.footer-nav a {
  color: #374f66;
  font-size: 13px;
  font-weight: 600;
}

.footer-illustration {
  grid-column: 2 / 3;
  justify-self: center;
  width: min(360px, 100%);
  margin-top: -20px;
}

.footer-cta {
  grid-column: 3 / 4;
  grid-row: 1 / 3;
  justify-self: stretch;
  padding: 18px;
  text-align: center;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(32, 97, 151, 0.08);
}

.footer-cta .phone-line {
  justify-content: center;
  color: var(--orange);
  font-size: 24px;
}

.demo-site-note {
  grid-column: 1 / -1;
  margin: 6px 0 0;
  color: #607285;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.7;
  text-align: center;
}

.form-demo-note {
  margin: 0 0 16px;
  padding: 10px 12px;
  border-left: 3px solid var(--blue);
  background: #f2f8ff;
  color: #425f7a;
  font-size: 13px;
  font-weight: 700;
}

.mobile-fixed-cta {
  display: none;
}

.hide-mobile {
  display: block;
}

@media (max-width: 1120px) {
  .site-shell {
    width: min(100% - 20px, 1040px);
    margin: 10px auto;
  }

  .site-header {
    gap: 14px;
    padding: 12px 20px;
  }

  .brand img {
    width: 212px;
  }

  .global-nav a {
    padding: 0 8px;
    font-size: 12px;
  }

  .header-contact {
    display: none;
  }

  .hero {
    grid-template-columns: minmax(360px, 0.9fr) minmax(420px, 1.1fr);
  }

  .hero-text {
    padding: 40px 38px;
  }

  .hero h1 {
    font-size: 30px;
  }

  .main {
    padding: 0 26px 38px;
  }

  .flow-compare-grid {
    grid-template-columns: 1fr;
  }

  .learning-flow {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }

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

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

  .faq-tabs {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

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

  .support-strip {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .support-item {
    border-right: 0;
  }
}

@media (max-width: 820px) {
  body {
    background: #fff;
    padding-bottom: 72px;
  }

  .site-shell {
    width: 100%;
    margin: 0;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    overflow: visible;
  }

  .site-header {
    min-height: 64px;
    padding: 10px 16px;
    z-index: 80;
  }

  .brand img {
    width: 182px;
  }

  .global-nav,
  .header-contact {
    display: none;
  }

  .mobile-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-left: auto;
  }

  .hero {
    display: flex;
    flex-direction: column-reverse;
    min-height: 0;
    background: #fff;
  }

  .hero::after {
    content: none;
  }

  .hero-media {
    min-height: 0;
  }

  .hero-media img {
    height: 230px;
    min-height: 230px;
    object-position: center;
  }

  .hero--home .hero-media img {
    object-position: 55% center;
  }

  .hero--concept .hero-media img,
  .hero--feature .hero-media img {
    object-position: 68% center;
  }

  .hero-text {
    padding: 24px 22px 30px;
  }

  .hero-label {
    margin-bottom: 12px;
    font-size: 12px;
  }

  .hero h1 {
    font-size: 23px;
    line-height: 1.65;
  }

  .hero p {
    margin-top: 12px;
    font-size: 13px;
  }

  .hero-actions {
    gap: 10px;
    margin-top: 18px;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .breadcrumbs {
    padding: 14px 20px 0;
  }

  .main {
    padding: 0 18px 92px;
  }

  .section {
    padding: 26px 0;
  }

  .section-title {
    font-size: 21px;
  }

  .lead {
    margin-bottom: 18px;
    font-size: 15px;
    text-align: left;
  }

  .grid,
  .grid-2,
  .grid-3,
  .grid-4,
  .grid-5,
  .course-grid,
  .teacher-grid,
  .voice-grid,
  .gallery-grid,
  .contact-layout,
  .access-layout,
  .access-columns,
  .faq-layout,
  .photo-band,
  .flow-compare-grid,
  .learning-flow {
    grid-template-columns: 1fr;
  }

  .summary-card {
    grid-template-columns: 58px 1fr;
    padding: 16px;
  }

  .summary-card img,
  .feature-card > img,
  .reason-card > img,
  .flow-card > img,
  .info-card > img {
    width: 50px;
    height: 50px;
  }

  .feature-card,
  .reason-card,
  .voice-card,
  .teacher-card,
  .access-card,
  .contact-card,
  .faq-panel,
  .info-card {
    padding: 16px;
  }

  .flow-card {
    grid-template-columns: 50px 1fr;
    align-items: center;
    text-align: left;
    padding: 14px 16px;
  }

  .flow-card > img {
    width: 44px;
    height: 44px;
    margin: 0;
  }

  .flow-card p {
    grid-column: 2;
  }

  .photo-band .wide-photo {
    min-height: 210px;
  }

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

  .photo-caption img,
  .gallery-item img {
    height: 130px;
  }

  .course-card img {
    height: 158px;
  }

  .faq-tabs {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }

  .faq-tab {
    min-height: 44px;
    font-size: 12px;
  }

  .faq-question {
    grid-template-columns: 30px 1fr 20px;
    padding: 14px;
    font-size: 14px;
  }

  .faq-answer {
    padding: 0 14px 15px 54px;
    font-size: 13px;
  }

  .side-cta {
    position: static;
  }

  .teacher-card {
    grid-template-columns: 92px 1fr;
  }

  .day-flow {
    grid-template-columns: 1fr;
  }

  .day-step {
    display: grid;
    grid-template-columns: 66px 68px 1fr;
    gap: 9px;
    align-items: center;
    text-align: left;
  }

  .day-step::after {
    top: auto;
    right: auto;
    bottom: -8px;
    left: 32px;
    width: 2px;
    height: 18px;
  }

  .day-step img {
    margin: 0;
  }

  .form-grid {
    grid-template-columns: 1fr;
  }

  .cta-band {
    grid-template-columns: 1fr;
    padding: 18px;
    text-align: center;
  }

  .support-strip {
    grid-template-columns: 1fr;
  }

  .site-footer {
    grid-template-columns: 1fr;
    gap: 18px;
    padding: 24px 22px 96px;
    text-align: center;
  }

  .footer-brand img {
    margin: 0 auto 8px;
  }

  .footer-nav {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    padding: 16px 0 0;
    border-top: 1px solid rgba(8, 113, 217, 0.14);
    border-left: 0;
  }

  .footer-illustration,
  .footer-cta {
    grid-column: auto;
    grid-row: auto;
  }

  .footer-illustration {
    margin: 0 auto;
  }

  .footer-cta {
    display: none;
  }

  .hide-mobile {
    display: none;
  }

  .mobile-fixed-cta {
    position: fixed;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 60;
    display: grid;
    grid-template-columns: 1fr 1.25fr;
    gap: 8px;
    padding: 10px 14px;
    background: rgba(255, 255, 255, 0.96);
    border-top: 1px solid var(--line);
    box-shadow: 0 -8px 22px rgba(20, 76, 130, 0.12);
    backdrop-filter: blur(14px);
  }

  .demo-toast {
    right: 14px;
    bottom: 78px;
    left: 14px;
    max-width: none;
  }

  .mobile-fixed-cta .btn {
    min-height: 44px;
    padding: 0 12px;
    font-size: 12px;
  }
}

@media (max-width: 430px) {
  .brand img {
    width: 166px;
  }

  .hero-media img {
    height: 214px;
    min-height: 214px;
  }

  .hero h1 {
    font-size: 21px;
  }

  .btn {
    min-height: 42px;
    padding: 0 16px;
    font-size: 13px;
  }

  .photo-caption-grid {
    grid-template-columns: 1fr;
  }

  .big-phone {
    font-size: 22px;
  }

  .footer-nav {
    gap: 8px;
  }
}
