.apply-page {
  min-height: 100vh;
  background: #f4f5f6;
}

.apply-back {
  padding: 10px 0;
  border-bottom: 1px solid #111214;
  font-size: 13px;
  font-weight: 750;
}

.apply-layout {
  display: grid;
  grid-template-columns: minmax(320px, 0.78fr) minmax(520px, 1.22fr);
  min-height: calc(100vh - var(--header-height));
}

.apply-intro {
  position: sticky;
  top: var(--header-height);
  align-self: start;
  min-height: calc(100vh - var(--header-height));
  padding: clamp(58px, 7vw, 110px) clamp(28px, 5vw, 78px);
  color: #fff;
  background: #111214;
}

.apply-kicker {
  margin: 0 0 28px;
  color: #e33b31;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.apply-intro h1 {
  margin: 0;
  font-family: "Noto Serif SC", "Songti SC", SimSun, serif;
  font-size: clamp(48px, 5vw, 82px);
  line-height: 1.08;
}

.apply-intro h1 em {
  color: #e33b31;
  font-style: normal;
}

.apply-intro > p:not(.apply-kicker) {
  max-width: 560px;
  margin: 30px 0 42px;
  color: #c6c9cd;
  line-height: 1.8;
}

.apply-intro dl {
  margin: 0;
  border-top: 1px solid #3c4045;
}

.apply-intro dl div {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 15px 0;
  border-bottom: 1px solid #3c4045;
}

.apply-intro dt {
  color: #92979d;
  font-size: 12px;
}

.apply-intro dd {
  margin: 0;
  font-size: 13px;
  font-weight: 750;
  text-align: right;
}

.apply-notice {
  margin-top: 38px;
  padding: 18px;
  border-left: 3px solid #cf2119;
  color: #bfc3c8;
  background: #1d2024;
  font-size: 12px;
  line-height: 1.7;
}

.apply-form-section {
  padding: clamp(48px, 6vw, 96px) clamp(24px, 6vw, 94px);
  background: #fff;
}

.application-form {
  max-width: 820px;
  margin: 0 auto;
}

.application-form fieldset {
  margin: 0 0 58px;
  padding: 0;
  border: 0;
}

.application-form legend {
  width: 100%;
  margin-bottom: 28px;
  padding-bottom: 14px;
  border-bottom: 1px solid #111214;
  font-size: 22px;
  font-weight: 800;
}

.application-form legend span {
  margin-right: 18px;
  color: #cf2119;
  font-size: 12px;
}

.field-grid {
  display: grid;
  gap: 20px;
}

.field-grid.two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.application-form label > span:first-child,
.wide-field > span:first-child {
  display: block;
  margin-bottom: 8px;
  font-size: 13px;
  font-weight: 750;
}

.application-form input[type="text"],
.application-form input[type="tel"],
.application-form input[type="url"],
.application-form textarea,
.application-form select {
  width: 100%;
  min-height: 48px;
  padding: 11px 13px;
  border: 1px solid #c8cbd0;
  border-radius: 4px;
  color: #111214;
  background: #fff;
}

.application-form textarea {
  resize: vertical;
  line-height: 1.65;
}

.wide-field {
  display: block;
  margin-top: 22px;
}

.field-help {
  margin: 24px 0 12px;
  color: #555b63;
  font-size: 13px;
  font-weight: 750;
}

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

.choice-grid label {
  display: flex;
  gap: 12px;
  min-height: 96px;
  padding: 18px;
  border: 1px solid #c8cbd0;
  border-radius: 4px;
}

.choice-grid input {
  margin-top: 4px;
}

.choice-grid strong,
.choice-grid small {
  display: block;
}

.choice-grid small {
  margin-top: 8px;
  color: #626870;
  line-height: 1.5;
}

.choice-grid label:has(input:checked) {
  border-color: #cf2119;
  box-shadow: inset 4px 0 0 #cf2119;
}

.check-list {
  display: grid;
  gap: 12px;
}

.check-list label,
.consent {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 14px;
  border: 1px solid #d8dadd;
  border-radius: 4px;
}

.check-list input,
.consent input {
  margin-top: 3px;
}

.consent {
  margin-top: 26px;
  color: #555b63;
  font-size: 13px;
  line-height: 1.65;
}

.application-submit,
.result-actions button {
  min-height: 54px;
  padding: 0 26px;
  border: 1px solid #cf2119;
  border-radius: 4px;
  color: #fff;
  background: #cf2119;
  font-weight: 800;
  cursor: pointer;
}

.form-status,
.copy-status {
  min-height: 22px;
  color: #cf2119;
  font-size: 13px;
}

.application-result {
  max-width: 820px;
  margin: 0 auto;
}

.application-result h2 {
  margin: 0 0 18px;
  font-size: clamp(36px, 4vw, 58px);
}

.application-result > p:not(.apply-kicker) {
  color: #626870;
  line-height: 1.7;
}

.application-result textarea {
  width: 100%;
  margin: 28px 0 18px;
  padding: 18px;
  border: 1px solid #c8cbd0;
  border-radius: 4px;
  background: #f4f5f6;
  line-height: 1.7;
  resize: vertical;
}

.result-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.result-actions button.secondary {
  border-color: #111214;
  color: #111214;
  background: #fff;
}

@media (max-width: 900px) {
  .apply-layout {
    grid-template-columns: 1fr;
  }

  .apply-intro {
    position: static;
    min-height: auto;
  }
}

@media (max-width: 560px) {
  .course-brand strong {
    font-size: 14px;
  }

  .apply-back {
    font-size: 12px;
  }

  .apply-form-section {
    padding-right: 16px;
    padding-left: 16px;
  }

  .field-grid.two,
  .choice-grid {
    grid-template-columns: 1fr;
  }
}
