:root {
  color-scheme: light;
  --ink: #1f2933;
  --muted: #65717e;
  --line: #dbe3ea;
  --paper: #ffffff;
  --soft: #f5f8fa;
  --rose: #e9788f;
  --rose-dark: #b83f5d;
  --teal: #147b80;
  --navy: #22324a;
  --gold: #b4872f;
  --shadow: 0 18px 45px rgba(31, 41, 51, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "Hiragino Sans", "Yu Gothic", "YuGothic", "Meiryo", sans-serif;
  line-height: 1.75;
  background: var(--paper);
}

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

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 16px clamp(18px, 4vw, 56px);
  border-bottom: 1px solid rgba(219, 227, 234, 0.82);
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(14px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  min-width: 245px;
}

.brand-mark {
  position: relative;
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 8px;
  border: 1px solid #cfd9e2;
  background: #fff;
  box-shadow: 0 8px 22px rgba(31, 41, 51, 0.08);
}

.brand-mark::before,
.brand-mark span {
  position: absolute;
  border-radius: 50%;
  content: "";
}

.brand-mark::before {
  width: 24px;
  height: 24px;
  background: var(--navy);
}

.brand-mark span {
  width: 22px;
  height: 22px;
  right: 8px;
  top: 9px;
  background: #fff;
}

.brand-mark::after {
  position: absolute;
  right: 7px;
  bottom: 7px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--rose);
  content: "";
}

.brand strong,
.brand small {
  display: block;
  line-height: 1.35;
}

.brand strong {
  font-size: 15px;
}

.brand small {
  color: var(--muted);
  font-size: 12px;
}

.nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px 24px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}

.nav a {
  text-decoration: none;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(340px, 0.98fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
  min-height: calc(100vh - 75px);
  padding: clamp(46px, 8vw, 92px) clamp(20px, 5vw, 72px) 54px;
  background:
    linear-gradient(110deg, rgba(255, 255, 255, 0.96) 0%, rgba(255, 255, 255, 0.84) 58%, rgba(245, 248, 250, 0.7) 100%),
    url("./assets/online-learning.jpg") center / cover;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--rose-dark);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 820px;
  margin-bottom: 22px;
  font-size: clamp(34px, 5vw, 64px);
  line-height: 1.18;
}

h2 {
  margin-bottom: 14px;
  font-size: clamp(28px, 3.3vw, 42px);
  line-height: 1.22;
}

h3 {
  margin-bottom: 10px;
  font-size: 21px;
  line-height: 1.35;
}

.lead {
  max-width: 720px;
  color: #3d4b59;
  font-size: clamp(16px, 2vw, 19px);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 18px;
  border-radius: 8px;
  font-weight: 800;
  text-decoration: none;
}

.button.primary {
  color: #fff;
  background: var(--rose-dark);
}

.button.secondary {
  color: var(--navy);
  border: 1px solid var(--line);
  background: #fff;
}

.hero-visual {
  position: relative;
  min-height: 430px;
  overflow: hidden;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

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

.hero-panel {
  position: absolute;
  right: 18px;
  bottom: 18px;
  width: min(260px, calc(100% - 36px));
  padding: 16px;
  border-left: 4px solid var(--gold);
  background: rgba(255, 255, 255, 0.93);
}

.hero-panel strong,
.hero-panel span {
  display: block;
}

.hero-panel span {
  color: var(--muted);
}

.trust-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--navy);
  color: #fff;
}

.trust-strip div {
  min-height: 122px;
  padding: 25px clamp(18px, 3vw, 34px);
  border-right: 1px solid rgba(255, 255, 255, 0.16);
}

.trust-strip strong {
  display: block;
  font-size: clamp(24px, 3vw, 34px);
  line-height: 1.2;
}

.trust-strip span {
  color: rgba(255, 255, 255, 0.78);
  font-size: 14px;
}

.section {
  padding: clamp(62px, 8vw, 108px) clamp(20px, 5vw, 72px);
}

.section-head {
  max-width: 790px;
  margin-bottom: 34px;
}

.section-head p:not(.eyebrow) {
  color: var(--muted);
  font-size: 17px;
}

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

.service-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.service-card img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.service-card div {
  padding: 22px;
}

.tag {
  display: inline-flex;
  margin-bottom: 10px;
  padding: 4px 8px;
  border-radius: 999px;
  color: var(--teal);
  font-size: 12px;
  font-weight: 800;
  background: #e8f4f4;
}

.service-card p,
.proof-copy p {
  color: var(--muted);
}

.proof {
  background: var(--soft);
}

.proof-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(280px, 0.65fr);
  gap: clamp(28px, 5vw, 64px);
  align-items: start;
}

.proof-copy {
  padding-top: 12px;
}

.check-list {
  display: grid;
  gap: 12px;
  margin: 26px 0 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 28px;
}

.check-list li::before {
  position: absolute;
  left: 0;
  top: 0.32em;
  width: 17px;
  height: 17px;
  border-radius: 50%;
  background: var(--teal);
  content: "";
}

.site-preview {
  margin: 0;
}

.site-preview img {
  width: min(100%, 520px);
  aspect-ratio: 4 / 3;
  object-fit: cover;
  object-position: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.site-preview figcaption {
  margin-top: 12px;
  color: var(--muted);
  font-size: 13px;
}

.company {
  background: #f8fafb;
}

.company-table {
  display: grid;
  overflow: hidden;
  max-width: 980px;
  margin: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.company-table div {
  display: grid;
  grid-template-columns: 190px minmax(0, 1fr);
  border-bottom: 1px solid var(--line);
}

.company-table div:last-child {
  border-bottom: 0;
}

.company-table dt,
.company-table dd {
  margin: 0;
  padding: 17px 20px;
}

.company-table dt {
  color: var(--navy);
  font-weight: 800;
  background: #eef3f7;
}

.company-table dd {
  color: #344252;
  overflow-wrap: anywhere;
}

.footer {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 0.7fr);
  gap: 26px;
  align-items: start;
  padding: clamp(42px, 6vw, 70px) clamp(20px, 5vw, 72px);
  color: #fff;
  background: var(--navy);
}

.footer p {
  max-width: 690px;
  color: rgba(255, 255, 255, 0.76);
}

.footer .eyebrow {
  color: #f5a4b4;
}

.footer-contact {
  display: grid;
  gap: 12px;
  justify-items: start;
}

.phone {
  font-size: clamp(24px, 3vw, 35px);
  font-weight: 900;
  text-decoration: none;
}

.footer-button {
  border: 0;
  color: #fff;
  background: var(--teal);
  cursor: pointer;
}

.contact-form {
  display: grid;
  grid-column: 2;
  gap: 14px;
  padding: 22px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.07);
}

.contact-form label {
  display: grid;
  gap: 7px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 13px;
  font-weight: 800;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 6px;
  padding: 11px 12px;
  color: #fff;
  font: inherit;
  background: rgba(255, 255, 255, 0.1);
}

.contact-form textarea {
  resize: vertical;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: 2px solid rgba(233, 120, 143, 0.75);
  outline-offset: 2px;
}

.footer small {
  grid-column: 1 / -1;
  color: rgba(255, 255, 255, 0.55);
}

@media (max-width: 940px) {
  .site-header,
  .hero,
  .proof-layout,
  .footer {
    grid-template-columns: 1fr;
  }

  .site-header {
    display: grid;
  }

  .nav {
    justify-content: flex-start;
  }

  .hero {
    min-height: auto;
  }

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

  .contact-form {
    grid-column: 1;
  }
}

@media (max-width: 620px) {
  .site-header {
    position: static;
  }

  .brand {
    min-width: 0;
  }

  .nav {
    gap: 8px 14px;
    font-size: 13px;
  }

  .hero {
    padding-top: 40px;
  }

  .hero-visual,
  .hero-visual img {
    min-height: 300px;
  }

  .trust-strip,
  .service-grid {
    grid-template-columns: 1fr;
  }

  .trust-strip div {
    min-height: 104px;
  }

  .company-table div {
    grid-template-columns: 1fr;
  }

  .company-table dt,
  .company-table dd {
    padding: 13px 16px;
  }

  .button {
    width: 100%;
  }
}
