.section {
  padding: 112px 0;
}

.section--white {
  background: #ffffff;
}

.section--soft {
  background: var(--brand-pale);
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--brand-dark);
  font-size: var(--font-size-label);
  font-weight: 700;
  letter-spacing: 0.22em;
}

.section-heading {
  margin-bottom: 54px;
}

.section-heading--center {
  max-width: 800px;
  margin-right: auto;
  margin-bottom: 54px;
  margin-left: auto;
  text-align: center;
}

.section-heading--split {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 48px;
}

.section-heading--split > div {
  flex: 0 0 auto;
}

.section-heading--split > p {
  max-width: 590px;
  margin: 0 0 8px;
}

.section-heading h2, .office-hero h2, .blog-intro h2, .faq-intro h2 {
  margin: 0 0 18px;
  font-size: var(--font-size-section-heading);
  font-weight: 600;
  line-height: 1.45;
  letter-spacing: 0.075em;
}

.section-heading p, .office-hero p, .blog-intro p, .faq-intro p {
  margin: 0;
  color: var(--ink-soft);
}

.hero {
  position: relative;
  overflow: hidden;
  background: #ffffff;
}

.hero::after {
  content: "";
  position: absolute;
  z-index: 0;
  top: 0;
  right: 0;
  bottom: 0;
  width: 54%;
  background-image: url("../assets/images/hero-collage.jpg");
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;
}

.hero__inner {
  min-height: 675px;
  position: relative;
  z-index: 2;
  display: flex;
  align-items: stretch;
}

.hero__copy {
  width: 52%;
  min-width: 0;
  padding-top: 98px;
  padding-right: 72px;
  padding-bottom: 82px;
  padding-left: max(24px, calc((100vw - var(--container)) / 2));
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: #ffffff;
}

.hero h1 {
  margin: 0 0 30px;
  font-size: var(--font-size-hero-heading);
  font-weight: 500;
  line-height: 1.42;
  letter-spacing: 0.09em;
}

.hero__lead {
  margin: 0 0 28px;
  font-size: var(--font-size-body-medium);
  font-weight: 600;
  line-height: 2.05;
}

.hero__actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.hero__note {
  margin: 14px 0 0;
  color: var(--ink-soft);
  font-size: var(--font-size-label);
}

.hero__scroll {
  position: absolute;
  z-index: 2;
  right: 13px;
  bottom: 18px;
  padding-top: 52px;
  color: var(--ink);
  font-size: var(--font-size-micro);
  font-weight: 700;
  letter-spacing: 0.16em;
  writing-mode: vertical-rl;
}

.hero__scroll::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  width: 1px;
  height: 42px;
  background: var(--brand);
}

.feature-list {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 60px;
}

.feature-item {
  flex: 1 1 0;
  text-align: center;
}

.feature-item__icon {
  display: block;
  width: 85%;
  margin: 0 auto 20px;
}

.feature-item h3 {
  margin: 30px 0 15px 0;
  font-size: var(--font-size-card-title);
  font-weight: 600;
  line-height: 1.65;
}

.feature-item p {
  max-width: 300px;
  margin: 0 auto;
  color: var(--ink-soft);
  font-size: var(--font-size-body-small);
}

.course-list {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
}

.course-list--large {
  gap: 22px;
}

.course-list--compact {
  margin-top: 22px;
  gap: 22px;
}

.course-card {
  min-width: 0;
  position: relative;
  overflow: hidden;
  border: 1px solid var(--border);
  background: #ffffff;
  box-shadow: 0 10px 28px rgba(72, 45, 27, 0.055);
  transition:
    transform 0.24s ease,
    box-shadow 0.24s ease;
}

a.course-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow);
}

.course-card--large {
  width: calc((100% - 44px) / 3);
}

.course-card--compact {
  width: calc((100% - 44px) / 3);
  display: flex;
  align-items: stretch;
}

.course-card img {
  width: 100%;
  object-fit: cover;
}

.course-card--large img {
  aspect-ratio: 16 / 7.1;
}

.course-card--compact img {
  width: 42%;
  min-height: 180px;
  object-fit: cover;
}

.course-card__body {
  min-width: 0;
  position: relative;
  padding: 22px 24px 28px;
}

.course-card--compact .course-card__body {
  width: 58%;
  padding: 20px 42px 20px 20px;
}

.course-card__index {
  margin: 0 0 4px !important;
  color: var(--brand-dark) !important;
  font-size: var(--font-size-caption) !important;
  font-weight: 700;
  letter-spacing: 0.16em;
}

.course-card h3 {
  margin: 0 0 12px;
  font-size: var(--font-size-body-large);
  font-weight: 700;
  line-height: 1.55;
}

.course-card p {
  margin: 0 0 17px;
  color: var(--ink-soft);
  font-size: var(--font-size-small);
  line-height: 1.8;
}

.course-card dl {
  margin: 0;
  padding-top: 14px;
  border-top: 1px solid var(--border);
  font-size: var(--font-size-label);
}

.course-card dt {
  color: var(--brand-dark);
  font-weight: 700;
}

.course-card dd {
  margin: 4px 34px 0 0;
  line-height: 1.75;
}

.circle-arrow {
  position: absolute;
  right: 18px;
  bottom: 18px;
  width: 28px;
  height: 28px;
  border: 1px solid var(--brand);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--brand-dark);
  font-size: var(--font-size-body-small);
}

.course-note {
  max-width: 840px;
  margin: 28px auto 0;
  color: var(--ink-soft);
  font-size: var(--font-size-body-small);
  text-align: center;
}

.section--flow {
  background: #ffffff;
}

.step-list {
  margin: 0;
  padding: 0;
  display: flex;
  align-items: stretch;
  justify-content: center;
  list-style: none;
}

.step-list li {
  min-width: 0;
  flex: 1 1 0;
  min-height: 215px;
  position: relative;
  padding: 44px 20px 24px;
  border: 1px solid var(--border);
  background: #ffffff;
  text-align: center;
}

.step-list li + li {
  margin-left: 26px;
}

.step-list li + li::before {
  content: "→";
  position: absolute;
  top: 50%;
  left: -20px;
  color: var(--brand);
  font-size: var(--font-size-subtitle);
  transform: translateY(-50%);
}

.step-list__number {
  position: absolute;
  top: -18px;
  left: 50%;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  background: var(--brand);
  font-size: var(--font-size-caption);
  font-weight: 700;
  transform: translateX(-50%);
}

.step-list small {
  color: var(--brand-dark);
  font-size: var(--font-size-tiny);
  font-weight: 700;
  letter-spacing: 0.14em;
}

.step-list h3 {
  margin: 8px 0 11px;
  font-size: var(--font-size-body-medium);
}

.step-list p {
  margin: 0;
  color: var(--ink-soft);
  font-size: var(--font-size-label);
  line-height: 1.75;
}

.flow-detail {
  margin-top: 78px;
  padding: 48px;
  display: flex;
  align-items: flex-start;
  gap: 48px;
  background: var(--brand-pale);
  border-top: 3px solid var(--brand);
}

.flow-detail__intro {
  width: 29%;
  flex: 0 0 auto;
}

.flow-detail__intro h3 {
  margin: 0 0 14px;
  font-size: var(--font-size-heading-sm);
  line-height: 1.55;
}

.flow-detail__intro p:last-child {
  margin: 0;
  color: var(--ink-soft);
  font-size: var(--font-size-body-small);
}

.career-list {
  width: 71%;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 18px 0;
  list-style: none;
}

.career-list li {
  width: 33.333%;
  position: relative;
  padding: 0 22px 0 42px;
}

.career-list li span {
  position: absolute;
  top: 2px;
  left: 0;
  width: 28px;
  height: 28px;
  border: 1px solid var(--brand);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--brand-dark);
  background: #ffffff;
  font-size: var(--font-size-tiny);
  font-weight: 700;
}

.career-list h4 {
  margin: 0 0 4px;
  font-size: var(--font-size-body-small);
}

.career-list p {
  margin: 0;
  color: var(--ink-soft);
  font-size: var(--font-size-caption);
  line-height: 1.65;
}

.story-list {
  display: flex;
  align-items: stretch;
  gap: 22px;
}

.story-card {
  width: calc((100% - 44px) / 3);
  overflow: hidden;
  border: 1px solid var(--border);
  background: #ffffff;
}

.story-card > img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.story-card__body {
  padding: 24px;
}

.story-card__tag {
  margin: 0 0 10px;
  color: var(--brand-dark);
  font-size: var(--font-size-caption);
  font-weight: 700;
}

.story-card h3 {
  margin: 0 0 18px;
  font-size: var(--font-size-body-large);
  line-height: 1.7;
}

.story-card dl {
  margin: 0;
  font-size: var(--font-size-label);
}

.story-card dt {
  margin-top: 12px;
  color: var(--brand-dark);
  font-weight: 700;
}

.story-card dd {
  margin: 3px 0 0;
  color: var(--ink-soft);
  line-height: 1.75;
}

.office-hero {
  display: flex;
  align-items: center;
  gap: 64px;
}

.office-hero__image {
  width: 55%;
  flex: 0 0 auto;
}

.office-hero__image img {
  width: 100%;
  aspect-ratio: 16 / 7;
  object-fit: cover;
}

.office-hero__text {
  flex: 1 1 auto;
}

.office-list {
  margin-top: 28px;
  display: flex;
  align-items: stretch;
  gap: 16px;
}

.office-card {
  width: calc((100% - 32px) / 3);
  padding: 13px;
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: 14px;
  background: #ffffff;
  transition:
    border-color 0.2s ease,
    transform 0.2s ease;
}

.office-card:hover {
  border-color: var(--brand);
  transform: translateY(-3px);
}

.office-card img {
  width: 34%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

.office-card div {
  min-width: 0;
  flex: 1 1 auto;
}

.office-card h3 {
  margin: 0 0 8px;
  font-size: var(--font-size-body-small);
  line-height: 1.55;
}

.office-card p {
  margin: 0 0 7px;
  color: var(--ink-soft);
  font-size: var(--font-size-caption);
}

.office-card span {
  color: var(--brand-dark);
  font-size: var(--font-size-caption);
  font-weight: 700;
}

.section--blog {
  background: var(--surface-alt);
}

.blog-layout {
  display: flex;
  align-items: flex-start;
  gap: 48px;
}

.blog-intro {
  width: 25%;
  flex: 0 0 auto;
}

.blog-intro h2 {
  font-size: var(--font-size-heading-lg);
}

.blog-list {
  width: 75%;
  display: flex;
  align-items: stretch;
  gap: 16px;
}

.blog-card {
  width: calc((100% - 32px) / 3);
  overflow: hidden;
  border: 1px solid var(--border);
  background: #ffffff;
}

.blog-card img {
  width: 100%;
  height: 160px;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.blog-card div {
  padding: 18px;
}

.blog-card p {
  margin: 0 0 8px;
  color: var(--ink-soft);
  font-size: var(--font-size-tiny);
}

.blog-card p span {
  margin-left: 8px;
  color: var(--brand-dark);
}

.blog-card h3 {
  margin: 0;
  font-size: var(--font-size-body-small);
  line-height: 1.7;
}

.faq-layout {
  display: flex;
  align-items: flex-start;
  gap: 72px;
}

.faq-intro {
  width: 29%;
  flex: 0 0 auto;
  position: sticky;
  top: 24px;
}

.mobile-cta {
  display: none;
}

@media (max-width: 1180px) {
  .hero::after {
    width: 52%;
  }
  .hero__copy {
    width: 52%;
    padding-right: 44px;
  }
  .course-card--large, .course-card--compact {
    width: calc((100% - 22px) / 2);
  }
  .story-list {
    flex-wrap: wrap;
  }
  .story-card {
    width: calc((100% - 22px) / 2);
  }
  .step-list {
    flex-wrap: wrap;
    gap: 42px 24px;
  }
  .step-list li {
    flex: 0 0 calc((100% - 48px) / 3);
  }
  .step-list li + li {
    margin-left: 0;
  }
  .step-list li + li::before {
    display: none;
  }
  .career-list li {
    width: 50%;
  }
}

@media (max-width: 900px) {
  .hero::after {
    width: 48%;
  }
  .hero__inner {
    min-height: 610px;
  }
  .hero__copy {
    width: 56%;
    padding: 64px 36px 54px 24px;
  }
  .feature-list {
    gap: 60px;
  }
  .flow-detail, .office-hero, .blog-layout, .faq-layout {
    flex-direction: column;
  }
  .flow-detail__intro, .career-list, .office-hero__image, .blog-intro, .blog-list, .faq-intro {
    width: 100%;
  }
  .faq-intro {
    position: static;
  }
  .office-list, .blog-list {
    flex-wrap: wrap;
  }
  .office-card, .blog-card {
    width: calc((100% - 16px) / 2);
  }
}

@media (max-width: 640px) {
  .has-mobile-cta {
    padding-bottom: 66px;
  }
  .section {
    padding: 76px 0;
  }
  .hero {
    min-height: 650px;
  }
  .hero::after {
    width: 100%;
    background-position: center center;
  }
  .hero::before {
    content: "";
    position: absolute;
    z-index: 1;
    inset: 0;
    background: #ffffff;
    opacity: 0.5;
    pointer-events: none;
  }
  .hero__inner {
    min-height: 650px;
    position: relative;
    z-index: 2;
  }
  .hero__copy {
    width: 100%;
    padding: 76px 24px 70px;
    background: transparent;
  }
  .hero h1 {
    font-size: var(--font-size-hero-mobile);
    line-height: 1.45;
  }
  .hero__lead br {
    display: none;
  }
  .hero__actions {
    width: 100%;
    flex-direction: column;
    align-items: stretch;
  }
  .hero__actions .button {
    width: 100%;
  }
  .hero__scroll {
    display: none;
  }
  .section-heading h2, .office-hero h2, .blog-intro h2, .faq-intro h2 {
    font-size: var(--font-size-heading-mobile);
  }
  .section-heading p br {
    display: none;
  }
  .section-heading--split {
    flex-direction: column;
    align-items: flex-start;
    gap: 15px;
  }
  .feature-list {
    flex-direction: column;
  }
  .feature-item {
    width: 100%;
  }
  .course-list--large, .course-list--compact {
    gap: 16px;
  }
  .course-card--large, .course-card--compact {
    width: 100%;
  }
  .course-card--compact img {
    width: 39%;
    min-height: 160px;
  }
  .course-card--compact .course-card__body {
    width: 61%;
  }
  .step-list {
    flex-direction: column;
    gap: 36px;
  }
  .step-list li {
    width: 100%;
    flex-basis: auto;
    min-height: 0;
    padding: 38px 24px 24px;
    text-align: left;
  }
  .flow-detail {
    padding: 30px 22px;
    gap: 28px;
  }
  .career-list {
    flex-direction: column;
    gap: 20px;
  }
  .career-list li {
    width: 100%;
  }
  .story-list, .office-list, .blog-list {
    flex-direction: column;
  }
  .story-card, .office-card, .blog-card {
    width: 100%;
  }
  .school-partner-list {
    flex-direction: column;
  }
  .school-partner-list .story-card {
    width: 100%;
  }
  #features .story-card {
    width: 100%;
  }
  .office-hero {
    gap: 34px;
  }
  .office-hero__image img {
    aspect-ratio: 4 / 3;
  }
  .mobile-cta {
    position: fixed;
    z-index: 1000;
    right: 0;
    bottom: 0;
    left: 0;
    height: 66px;
    display: flex;
    box-shadow: 0 -5px 20px rgba(0, 0, 0, 0.16);
  }
  .mobile-cta a {
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: var(--font-size-small);
    font-weight: 700;
  }
  .mobile-cta__line {
    width: 40%;
    background: var(--line-green);
  }
  .mobile-cta__form {
    width: 40%;
    background: var(--brand);
  }
  .mobile-cta__tel {
    width: 20%;
    background: var(--navy);
  }
}

.feature-highlight-list {
  display: flex;
  flex-direction: column;
  gap: 64px;
}

.feature-highlight__title {
  margin: 0 0 24px;
  font-size: var(--font-size-heading-xs);
  font-weight: 600;
  line-height: 1.5;
}

.school-partner-list {
  margin-top: 32px;
  display: flex;
  gap: 20px;
}

.school-partner-list .story-card {
  width: calc((100% - 20px) / 2);
}

@media (max-width: 1080px) {
  .feature-highlight-list {
    gap: 48px;
  }
}
