.detail-hero {
  padding: 30px clamp(24px, 8vw, 130px) 80px;
  background: linear-gradient(110deg, #fff, var(--pale));
}
.breadcrumbs {
  display: flex;
  gap: 14px;
  font-size: 12px;
  color: #536671;
  margin-bottom: 55px;
}
.breadcrumbs a {
  text-decoration: underline;
}
.detail-hero h1 {
  font: 600 clamp(40px, 5vw, 68px)/1.5 var(--serif);
  margin: 10px 0 24px;
  color: var(--navy);
}
.detail-tagline {
  font: 500 clamp(23px, 2.6vw, 34px)/1.8 var(--serif);
  margin: 0 0 20px;
}
.detail-lead {
  max-width: 710px;
  color: #536671;
}
.format-tags {
  display: flex;
  gap: 10px;
  margin: 26px 0;
}
.format-tags span {
  border: 1px solid #b9cfd9;
  padding: 4px 20px;
  font-size: 13px;
  background: #fff;
}
.page-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 18px 36px;
  padding: 25px 24px;
  border-bottom: 1px solid var(--line);
  font-size: 14px;
  color: var(--blue);
}
.page-nav a:hover,
.harmony-page .text-link:hover {
  text-decoration: underline;
}
.detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 50px;
  margin-top: 40px;
}
.detail-grid article {
  padding: 24px 0;
  border-top: 1px solid var(--line);
}
.harmony-page h3 {
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 600;
  margin: 0 0 12px;
}
.detail-grid p,
.study-row p,
.teacher-note p:not(.eyebrow),
.start-steps p {
  color: #536671;
  margin: 0;
}
.study-section {
  background: #f5f8f9;
}
.study-row {
  display: grid;
  grid-template-columns: 70px 1fr;
  gap: 20px;
  border-bottom: 1px solid var(--line);
  padding: 35px 0;
  max-width: 1000px;
}
.study-row:first-of-type {
  margin-top: 30px;
}
.study-number {
  font: 400 30px var(--serif);
  color: var(--blue);
}
.teacher-note {
  background: white;
  border-left: 3px solid var(--blue);
  padding: 30px;
  margin-top: 40px;
}
.teacher-note .text-link {
  display: inline-block;
  margin: 18px 28px 0 0;
  font-size: 14px;
}
.detail-prices {
  width: 100%;
  border-collapse: collapse;
  background: white;
}
.price-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}
.detail-prices caption {
  text-align: left;
  font-weight: 600;
  margin-bottom: 16px;
}
.detail-prices th,
.detail-prices td {
  text-align: left;
  padding: 20px 24px;
  border-bottom: 1px solid var(--line);
}
.detail-prices thead {
  background: var(--navy);
  color: white;
}
.detail-prices small {
  display: block;
  font-weight: 400;
}
.price-note {
  color: #536671;
  font-size: 14px;
  max-width: 850px;
  margin: 24px 0;
}
.start-steps {
  list-style: none;
  counter-reset: steps;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 36px;
  padding: 0;
  margin: 45px 0 0;
}
.start-steps li {
  counter-increment: steps;
  border-top: 1px solid var(--line);
  padding-top: 25px;
}
.start-steps li:before {
  content: "0" counter(steps);
  display: block;
  color: var(--blue);
  font: 28px var(--serif);
  margin-bottom: 20px;
}
.harmony-page a:focus-visible,
.harmony-page button:focus-visible {
  outline: 3px solid #477c94;
  outline-offset: 5px;
}
.feedback-image {
  margin: 26px 0 0;
}
.feedback-image img {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid var(--line);
  background: #fff;
}
.feedback-image figcaption {
  margin-top: 10px;
  color: #667983;
  font-size: 13px;
}
.contact-section {
  background: #f5f8f9;
}
.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr);
  gap: clamp(40px, 7vw, 100px);
  align-items: start;
}
.contact-guide h2 {
  font: 600 clamp(28px, 3vw, 40px)/1.55 var(--serif);
  color: var(--navy);
  margin: 8px 0 20px;
}
.contact-guide > p,
.contact-guide li,
.contact-note p,
.form-help,
.form-caution {
  color: #536671;
}
.contact-guide ul {
  margin: 26px 0 0;
  padding-left: 1.25em;
}
.contact-guide li + li {
  margin-top: 10px;
}
.contact-note {
  margin-top: 36px;
  padding: 24px;
  background: #fff;
  border-left: 3px solid var(--blue);
}
.contact-note p {
  margin: 8px 0 0;
  font-size: 14px;
}
.contact-form {
  background: #fff;
  padding: clamp(26px, 4vw, 48px);
  box-shadow: 0 14px 40px rgba(22, 50, 65, .07);
}
.form-field + .form-field {
  margin-top: 28px;
}
.form-field label {
  display: block;
  color: var(--navy);
  font-weight: 600;
  margin-bottom: 10px;
}
.form-field label span {
  display: inline-block;
  margin-left: 8px;
  padding: 2px 8px;
  background: #e8f0f3;
  color: var(--blue);
  font-size: 11px;
  font-weight: 600;
  vertical-align: 2px;
}
.form-field input,
.form-field textarea {
  width: 100%;
  box-sizing: border-box;
  border: 1px solid #afc2cb;
  border-radius: 0;
  background: #fbfcfc;
  color: var(--navy);
  font: inherit;
  font-size: 16px;
  padding: 14px 16px;
}
.form-field textarea {
  min-height: 230px;
  resize: vertical;
}
.form-field input:focus,
.form-field textarea:focus {
  outline: 3px solid rgba(71, 124, 148, .22);
  border-color: #477c94;
}
.form-help,
.form-caution {
  font-size: 13px;
  margin: 9px 0 0;
}
.form-caution {
  margin-top: 28px;
}
.form-submit {
  border: 0;
  cursor: pointer;
  margin-top: 14px;
}
.form-submit:disabled {
  cursor: wait;
  opacity: .72;
}
.thank-main {
  min-height: 70vh;
  display: grid;
  place-items: center;
  padding: clamp(55px, 9vw, 120px) 24px;
  background: linear-gradient(135deg, #f5f8f9, #e8f1f4);
}
.thank-card {
  width: min(720px, 100%);
  box-sizing: border-box;
  padding: clamp(36px, 7vw, 72px);
  background: #fff;
  box-shadow: 0 18px 55px rgba(22, 50, 65, .09);
  text-align: center;
}
.thank-mark {
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  margin: 20px auto 24px;
  border: 1px solid #8fb2c0;
  border-radius: 50%;
  color: var(--blue);
  font-size: 26px;
}
.thank-card h1 {
  margin: 0 0 20px;
  color: var(--navy);
  font: 600 clamp(30px, 4vw, 48px)/1.5 var(--serif);
}
.thank-card > p:not(.eyebrow) {
  color: #536671;
}
.thank-lead {
  font-size: 18px;
  font-weight: 600;
}
.thank-card .contact-note {
  text-align: left;
  margin: 32px 0;
}
.location-summary {
  display: grid;
  grid-template-columns: minmax(280px, .8fr) minmax(0, 1.2fr);
  gap: clamp(35px, 7vw, 100px);
  align-items: center;
  margin-top: 36px;
}
.location-name {
  padding: clamp(30px, 5vw, 54px);
  background: var(--navy);
  color: #fff;
}
.location-name span {
  display: block;
  margin-bottom: 8px;
  color: #bcd1da;
  font-size: 14px;
}
.location-name strong {
  display: block;
  font: 600 clamp(28px, 4vw, 44px)/1.5 var(--serif);
}
.location-name p {
  margin: 12px 0 0;
  color: #dce8ec;
}
.location-detail p {
  color: #536671;
}
.location-detail p + p {
  margin-top: 18px;
}
.route-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  margin-top: 40px;
}
.route-grid article {
  background: #fff;
  padding: clamp(28px, 4vw, 46px);
  scroll-margin-top: 90px;
}
.route-number {
  float: right;
  color: #b8cbd3;
  font: 400 34px var(--serif);
}
.route-grid h3 {
  clear: both;
  margin-top: 22px;
}
.route-grid article > strong {
  display: block;
  margin: 14px 0;
  color: var(--blue);
  font: 600 22px var(--serif);
}
.route-grid article > p:last-child {
  color: #536671;
}
.map-guidance {
  display: flex;
  justify-content: space-between;
  gap: 40px;
  align-items: center;
  padding: clamp(28px, 5vw, 50px);
  margin-top: 36px;
  border: 1px solid var(--line);
}
.map-guidance h3 {
  margin-bottom: 12px;
}
.map-guidance p {
  max-width: 690px;
  margin: 0;
  color: #536671;
}
.map-guidance .button {
  flex: 0 0 auto;
}
@media (max-width: 700px) {
  .detail-hero {
    padding-bottom: 55px;
  }
  .breadcrumbs {
    margin-bottom: 35px;
  }
  .detail-grid,
  .start-steps {
    grid-template-columns: 1fr;
  }
  .page-nav {
    justify-content: flex-start;
    gap: 12px 24px;
  }
  .study-row {
    grid-template-columns: 40px 1fr;
    gap: 10px;
  }
  .harmony-page h3 {
    font-size: 20px;
  }
  .detail-prices th,
  .detail-prices td {
    padding: 15px 10px;
    font-size: 13px;
  }
  .detail-prices thead th {
    width: 33.333%;
  }
  .detail-prices small {
    font-size: 11px;
  }
  .fee-page #correspondence-fees .detail-prices {
    min-width: 620px;
  }
  .teacher-note {
    padding: 24px;
  }
  .contact-layout {
    grid-template-columns: 1fr;
  }
  .contact-form {
    padding: 24px 20px;
  }
  .location-summary,
  .route-grid {
    grid-template-columns: 1fr;
  }
  .map-guidance {
    display: block;
  }
  .map-guidance .button {
    margin-top: 24px;
  }
  .harmony-page .section {
    scroll-margin-top: 72px;
  }
}
