.header > .container {
  display: flex;
  min-height: 72px;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.page-hero {
  padding: 72px 0 58px;
  background: #f3fafc;
  text-align: center;
}

.page-hero h1 {
  margin: 0 0 18px;
  color: #263238;
  font-size: clamp(2.2rem, 4.5vw, 3.5rem);
  line-height: 1.35;
  letter-spacing: 0;
}

.hero-subcatch {
  max-width: 720px;
  margin: 0 auto;
  color: var(--color-muted);
  font-size: 1.05rem;
  line-height: 1.9;
}

.section {
  padding: 76px 0 90px;
}

.text-center {
  text-align: center;
}

.max-w-720 {
  max-width: 720px;
}

.section .about-body {
  margin-right: auto;
  margin-left: auto;
  line-height: 2;
}

.program-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 30px;
}

.program-item {
  display: flex;
  min-width: 0;
  flex-direction: column;
  overflow: hidden;
  background: #fff;
  border: 1px solid #dfe7e9;
  border-radius: 6px;
  box-shadow: 0 12px 30px rgba(37, 74, 88, 0.08);
}

.program-img-wrapper {
  position: relative;
  display: block;
  height: 260px;
  padding: 0;
  place-items: center;
  overflow: hidden;
  background: #f8fbfc;
  border-bottom: 1px solid #e6edef;
}

.program-img-wrapper img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: contain;
}

.program-content {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 28px;
}

.program-content h3 {
  margin: 0 0 16px;
  color: #263238;
  font-size: 1.45rem;
  line-height: 1.5;
  letter-spacing: 0;
}

.program-content p {
  margin: 0 0 24px;
  color: #555;
  font-size: 0.96rem;
  line-height: 1.9;
}

.program-link {
  align-self: flex-start;
  margin-top: auto;
  color: var(--color-blue);
  font-weight: 800;
  text-decoration: none;
  border-bottom: 2px solid currentColor;
}

.program-link:hover,
.program-link:focus-visible {
  color: var(--color-orange);
}

.footer-related-section {
  margin: 0 0 32px;
}

.footer-related-title {
  margin: 0 0 14px;
  color: var(--color-muted);
  font-size: 0.86rem;
  font-weight: 700;
}

.footer-related {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}

.footer-related-item {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  color: var(--color-muted);
  font-size: 0.78rem;
  text-decoration: none;
}

.footer-related-item img {
  width: auto;
  max-width: 170px;
  max-height: 48px;
  object-fit: contain;
}

.footer-sns {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
}

.sns-circle {
  display: grid;
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  place-items: center;
  color: #333;
  background: #fff;
  border: 1px solid #d9e1e3;
  border-radius: 50%;
  transition: color 0.2s, border-color 0.2s;
}

.sns-circle:hover,
.sns-circle:focus-visible {
  color: var(--color-blue);
  border-color: var(--color-blue);
}

.sns-circle svg {
  width: 20px;
  height: 20px;
}

@media (max-width: 900px) {
  .header > .container {
    min-height: 66px;
  }

  .program-img-wrapper {
    height: 220px;
  }
}

@media (max-width: 680px) {
  .header > .container {
    width: calc(100% - 32px);
  }

  .page-hero {
    padding: 48px 0 40px;
  }

  .page-hero h1 {
    font-size: 2rem;
  }

  .hero-subcatch {
    font-size: 0.95rem;
    text-align: left;
  }

  .hero-subcatch br,
  .program-content p br,
  .section .about-body br {
    display: none;
  }

  .section {
    padding: 54px 0 66px;
  }

  .section .about-body {
    font-size: 0.95rem;
    line-height: 1.9;
    text-align: left;
  }

  .program-list {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .program-img-wrapper {
    height: 210px;
  }

  .program-content {
    padding: 24px 22px 26px;
  }

  .program-content h3 {
    font-size: 1.25rem;
  }

  .footer-related {
    justify-content: center;
  }

  .footer-related-section {
    text-align: center;
  }

  .footer-related-item {
    flex-direction: column;
  }

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