:root {
  --ink: #18202f;
  --muted: #667085;
  --line: #d9dee8;
  --paper: #ffffff;
  --soft: #f6f8fb;
  --brand: #1c3b7f;
  --brand-dark: #142c61;
  --brand-deep: #0b1835;
  --link: #105389;
  --gold: #b88a3d;
  --blue: #105389;
  --green: #4f7f74;
  --teal: #2f758a;
  --shadow: 0 16px 38px rgba(24, 32, 47, .1);
}

.hero {
  color: #fff;
  background: radial-gradient(120% 140% at 85% 0%, rgba(56, 96, 178, .55), rgba(56, 96, 178, 0) 60%), linear-gradient(120deg, var(--brand-deep), var(--brand) 72%, var(--brand-dark));
}

.hero-inner {
  width: min(1160px, calc(100% - 40px));
  min-height: 420px;
  margin: 0 auto;
  padding: 58px 0 88px;
  display: grid;
  align-content: center;
}

.crumb {
  color: rgba(255, 255, 255, .76);
  font-size: 14px;
  margin-bottom: 22px;
}

h1 {
  margin: 0;
  font-size: clamp(36px, 5vw, 64px);
  line-height: 1.08;
  letter-spacing: 0;
}

.hero p {
  max-width: 680px;
  margin: 18px 0 0;
  color: rgba(255, 255, 255, .9);
  font-size: 19px;
}

.btn {
  min-height: 44px;
  padding: 0 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, .48);
  text-decoration: none;
  font-weight: 900;
  background: #fff;
  color: var(--brand);
}

.btn.secondary {
  background: transparent;
  color: #fff;
}

main {
  width: min(1160px, calc(100% - 40px));
  margin: -46px auto 76px;
}

.card, .section, .cta, .subnav {
  background: var(--paper);
  border: 1px solid var(--line);
}

.subnav {
  padding: 12px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  box-shadow: var(--shadow);
}

.subnav a {
  min-height: 38px;
  padding: 0 13px;
  display: inline-flex;
  align-items: center;
  border: 1px solid #dfe6ef;
  color: var(--brand-dark);
  text-decoration: none;
  font-size: 13px;
  font-weight: 900;
  transition: border-color 160ms ease, transform 160ms ease, box-shadow 160ms ease;
}

.subnav a:not([aria-current="page"]):hover, .subnav a:not([aria-current="page"]):focus-visible {
  transform: translateY(-2px);
  border-color: rgba(28, 59, 127, .45);
  box-shadow: 0 14px 30px rgba(24, 32, 47, .08);
  outline: none;
}

.subnav a[aria-current="page"] {
  border-color: var(--brand);
  background: var(--brand);
  color: #fff;
}

.notice {
  margin-top: 16px;
  box-shadow: var(--shadow);
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 20px;
  padding: 24px;
  background: #fbf4e8;
  border: 1px solid #ead8b9;
}

.notice h2 {
  margin: 0;
  font-size: 25px;
  letter-spacing: 0;
}

.notice p {
  margin: 6px 0 0;
  color: #765018;
}

.notice .btn {
  border-color: var(--brand);
  background: var(--brand);
  color: #fff;
  white-space: nowrap;
}

.section {
  margin-top: 28px;
  padding: 26px;
}

.section-head h2 {
  margin: 0;
  font-size: 26px;
  line-height: 1.25;
  letter-spacing: 0;
}

.section-head p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
}

.audience-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.quota strong {
  display: block;
  color: var(--link);
  font-size: 44px;
  line-height: 1;
}

.quota h3 {
  margin: 12px 0 6px;
  font-size: 21px;
  letter-spacing: 0;
}

.quota p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.subjects b {
  color: var(--brand);
  font-weight: 900;
}

.card {
  padding: 22px;
  min-height: 220px;
  position: relative;
  overflow: hidden;
}

.card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 5px;
  background: var(--blue);
}

.card.transfer::before {
  background: var(--brand);
}

.card.other::before {
  background: var(--green);
}

.card h3 {
  margin: 0;
  font-size: 22px;
  letter-spacing: 0;
}

.card p {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 15px;
}

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

.why {
  padding: 18px;
  border: 1px solid #e7ebf2;
  background: #fbfcfe;
  min-height: 174px;
}

.why .number {
  color: var(--link);
  font-size: 14px;
  font-weight: 900;
}

.why strong {
  display: block;
  margin-top: 8px;
  font-size: 18px;
  line-height: 1.35;
}

.why p {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 14px;
}

.learning {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

.step {
  border: 1px solid var(--line);
  background: #fbfcfe;
  padding: 18px;
  min-height: 138px;
}

.step strong {
  display: block;
  margin-top: 6px;
  font-size: 19px;
}

.step span {
  display: block;
  margin-top: 7px;
  color: var(--muted);
  font-size: 14px;
}

.cta {
  margin-top: 28px;
  padding: 28px;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 20px;
  background: #fbf4e8;
  border-color: #ead8b9;
}

.cta h2 {
  margin: 0;
  font-size: 25px;
  letter-spacing: 0;
}

.cta p {
  margin: 6px 0 0;
  color: #765018;
}

.cta .btn {
  border-color: var(--gold);
  background: var(--gold);
  color: #fff;
  white-space: nowrap;
}

.note {
  margin-top: 18px;
  color: var(--muted);
  font-size: 14px;
}

@media (max-width: 920px) {
  .why-grid, .learning {
    grid-template-columns: repeat(2, 1fr);
  }

  .audience-grid, .quota-grid, .notice, .cta {
    grid-template-columns: 1fr;
  }

}

@media (max-width: 620px) {
  .topbar-inner, .hero-inner, main {
    width: min(100% - 28px, 1160px);
  }

  .hero-inner {
    min-height: 360px;
    padding: 42px 0 76px;
  }

  .hero p {
    font-size: 16px;
  }

  .why-grid, .learning {
    grid-template-columns: 1fr;
  }

  .section, .cta {
    padding: 18px;
  }

  .section-head p {
    margin-top: 6px;
  }

}
