.programApplyPage {
  --pa-navy: #112a4d;
  --pa-blue: #1769bd;
  --pa-teal: #009fa8;
  --pa-green: #0aa17c;
  --pa-orange: #f26c18;
  --pa-border: #dce7ef;
  --pa-muted: #647485;
  background: #f7fbfd;
  color: var(--pa-navy);
  font-family: "Noto Sans JP", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.programApplyContainer {
  width: min(100% - 40px, 1180px);
  margin: 0 auto;
}

.programApplyHero {
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(247, 252, 255, .98) 0%, rgba(247, 252, 255, .9) 44%, rgba(214, 239, 251, .72) 100%),
    linear-gradient(180deg, #e8f7ff 0%, #ffffff 100%);
}

.programApplyHero__inner {
  position: relative;
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr) minmax(280px, 440px);
  align-items: center;
  gap: 28px;
  width: min(100% - 40px, 1180px);
  min-height: 340px;
  margin: 0 auto;
  padding: 42px 0 36px;
}

.programApplyHero__art {
  position: relative;
  min-height: 190px;
}

.programApplyHero__icon {
  position: absolute;
  left: 20px;
  top: 20px;
  display: grid;
  place-items: center;
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background: #fff;
  color: var(--pa-teal);
  font-size: 34px;
  box-shadow: 0 14px 32px rgba(13, 72, 118, .12);
}

.programApplyHero__case {
  position: absolute;
  left: 0;
  bottom: 8px;
  display: grid;
  place-items: center;
  width: 112px;
  height: 138px;
  border-radius: 22px 22px 18px 18px;
  background: linear-gradient(160deg, #32c5c8, #0f9ca8);
  color: rgba(255, 255, 255, .86);
  font-size: 42px;
  box-shadow: 0 18px 34px rgba(13, 72, 118, .18);
}

.programApplyHero__case::before {
  content: "";
  position: absolute;
  left: 32px;
  top: -22px;
  width: 44px;
  height: 30px;
  border: 5px solid #177c91;
  border-bottom: 0;
  border-radius: 16px 16px 0 0;
}

.programApplyHero__case::after {
  content: "";
  position: absolute;
  inset: 46px 18px auto;
  height: 5px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .4);
  box-shadow: 0 24px 0 rgba(255, 255, 255, .3);
}

.programApplyHero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 14px;
  color: var(--pa-teal);
  font-size: 14px;
  font-weight: 900;
}

.programApplyHero__eyebrow::before {
  content: "";
  width: 28px;
  height: 2px;
  border-radius: 999px;
  background: var(--pa-teal);
}

.programApplyHero h1 {
  margin: 0;
  color: var(--pa-navy);
  font-size: 52px;
  font-weight: 950;
  letter-spacing: 0;
  line-height: 1.18;
}

.programApplyHero h1 span {
  color: var(--pa-teal);
}

.programApplyHero__copy > p:last-child {
  max-width: 620px;
  margin: 18px 0 0;
  color: #253a58;
  font-size: 17px;
  font-weight: 800;
  line-height: 1.9;
}

.programApplyHero__visual {
  align-self: end;
  margin: 0;
}

.programApplyHero__visual img {
  display: block;
  width: 100%;
  max-height: 300px;
  object-fit: contain;
}

.programApplySection {
  padding: 34px 0 0;
}

.programApplySectionHead {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
  border-bottom: 3px solid #64d5db;
}

.programApplySectionHead span {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: #e7fbfd;
  color: var(--pa-teal);
  font-weight: 900;
}

.programApplySectionHead h2 {
  margin: 0;
  padding: 0 0 12px;
  color: var(--pa-navy);
  font-size: 26px;
  font-weight: 950;
}

.programApplySchedule__grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
}

.programApplyDateCard {
  min-height: 214px;
  padding: 18px 14px;
  border: 1px solid var(--pa-border);
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 12px 24px rgba(15, 75, 118, .08);
}

.programApplyDateCard h3 {
  margin: 0 0 14px;
  color: var(--pa-blue);
  font-size: 24px;
  font-weight: 950;
  text-align: center;
}

.programApplyDateCard--green h3,
.programApplyDateCard--green .programApplyVenueName > span {
  color: var(--pa-green);
}

.programApplyDateCard--orange h3,
.programApplyDateCard--orange .programApplyVenueName > span {
  color: var(--pa-orange);
}

.programApplyVenue + .programApplyVenue {
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid #edf2f6;
}

.programApplyVenueName {
  display: grid;
  grid-template-columns: auto auto minmax(0, 1fr);
  align-items: center;
  gap: 7px;
  margin: 0 0 12px;
  color: #27364a;
  font-size: 12px;
  font-weight: 850;
  line-height: 1.5;
}

.programApplyVenueName > span {
  color: var(--pa-teal);
  font-size: 12px;
}

.programApplyVenueName strong {
  color: #617086;
  font-size: 11px;
  font-weight: 950;
}

.programApplyVenueName em {
  color: #16253a;
  font-style: normal;
  font-weight: 950;
}

.programApplySessions {
  display: grid;
  gap: 9px;
}

.programApplySession {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 10px;
  align-items: center;
  min-height: 30px;
}

.programApplySession strong {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  min-height: 27px;
  padding: 0 8px;
  border-radius: 4px;
  background: var(--pa-blue);
  color: #fff;
  font-size: 12px;
  font-weight: 900;
  white-space: nowrap;
}

.programApplySession strong small {
  font-size: 10px;
  font-weight: 900;
  opacity: .86;
}

.programApplyDateCard--green .programApplySession strong {
  background: var(--pa-green);
}

.programApplyDateCard--orange .programApplySession strong {
  background: var(--pa-orange);
}

.programApplySessionTitle {
  color: #16253a;
  font-size: 12px;
  font-weight: 900;
  line-height: 1.45;
}

.programApplySession.is-cancelled {
  min-height: 38px;
  padding: 5px 7px;
  border: 1px dashed #bac3ca;
  border-radius: 6px;
  background: repeating-linear-gradient(-45deg, #f2f4f6 0 6px, #e8ecef 6px 12px);
  opacity: .76;
}

.programApplySession.is-cancelled strong {
  background: #d7dce1;
  color: #6a737d;
  text-decoration: line-through;
}

.programApplySession.is-cancelled .programApplySessionTitle {
  color: #6a737d;
}

.programApplySchedule__note {
  margin: 16px 0 0;
  color: var(--pa-muted);
  font-size: 13px;
  font-weight: 750;
}

.programApplyFormSection {
  padding-top: 28px;
}

.programApplyFormCard {
  overflow: hidden;
  border: 1px solid var(--pa-border);
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 18px 46px rgba(15, 75, 118, .1);
}

.programApplyFormCard__head {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 24px 28px 18px;
  border-bottom: 1px solid #edf2f6;
}

.programApplyFormCard__head span {
  color: var(--pa-teal);
  font-size: 26px;
}

.programApplyFormCard__head h2 {
  margin: 0;
  color: var(--pa-navy);
  font-size: 25px;
  font-weight: 950;
}

.programApplyFormCard__body {
  padding: 0 28px 30px;
}

.programApplyFormCard__missing {
  margin: 0;
  padding: 24px 0;
  color: var(--pa-muted);
  font-weight: 800;
}

.programApplyCf7 {
  display: grid;
}

.programApplyCf7 p {
  margin: 0;
}

.programApplyCf7 br {
  display: none;
}

.programApplyRow {
  padding: 16px 0;
  border-bottom: 1px solid #edf2f6;
}

.programApplyField {
  display: grid;
  grid-template-columns: 210px minmax(0, 1fr);
  align-items: start;
  gap: 22px;
}

.programApplyLabel {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  min-height: 42px;
  color: #172a44;
  font-size: 14px;
  font-weight: 900;
}

.programApplyLabel em,
.programApplyLabel small {
  display: inline-flex;
  align-items: center;
  min-height: 20px;
  padding: 0 7px;
  border-radius: 4px;
  background: #ff4f5e;
  color: #fff;
  font-size: 11px;
  font-style: normal;
  font-weight: 900;
}

.programApplyLabel small {
  background: #edf1f4;
  color: #8a95a1;
}

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

.programApplyInline > p,
.programApplyField > p {
  display: contents;
}

.programApplyCf7 .wpcf7-form-control-wrap {
  display: block;
  width: 100%;
}

.programApplyInput,
.programApplySelect,
.programApplyTextarea {
  width: 100%;
  min-height: 42px;
  border: 1px solid #dbe4ea;
  border-radius: 6px;
  background: #fff;
  color: #172a44;
  font-size: 14px;
  font-weight: 750;
}

.programApplyInput,
.programApplyTextarea {
  padding: 10px 14px;
}

.programApplySelect {
  max-width: 260px;
  padding: 0 14px;
}

.programApplyTextarea {
  min-height: 96px;
  resize: vertical;
}

.programApplyInput::placeholder,
.programApplyTextarea::placeholder {
  color: #a1acb7;
}

.programApplyRow--events .programApplyField,
.programApplyRow--privacy .programApplyField {
  align-items: start;
}

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

.programApplyEventOptions .wpcf7-list-item {
  margin: 0;
}

.programApplyEventOptions label {
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr);
  gap: 11px;
  align-items: start;
  min-height: 108px;
  padding: 14px;
  border: 1px solid #d7e6ef;
  border-radius: 10px;
  background: linear-gradient(180deg, #ffffff 0%, #f8fcff 100%);
  color: #172a44;
  font-size: 13px;
  font-weight: 850;
  line-height: 1.45;
  cursor: pointer;
  box-shadow: 0 8px 18px rgba(15, 75, 118, .06);
  transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}

.programApplyEventOptions label:hover,
.programApplyEventOptions label:has(input[type="checkbox"]:focus-visible) {
  border-color: #77d5dc;
  box-shadow: 0 12px 24px rgba(15, 75, 118, .1);
}

.programApplyEventOptions label:has(input[type="checkbox"]:checked) {
  border-color: var(--pa-teal);
  background: #f0feff;
  box-shadow: inset 0 0 0 1px rgba(0, 159, 168, .3), 0 12px 24px rgba(0, 159, 168, .12);
}

.programApplyPrivacy label {
  display: grid;
  grid-template-columns: 20px minmax(0, 1fr);
  gap: 8px;
  align-items: start;
  color: #172a44;
  font-size: 12px;
  font-weight: 850;
  line-height: 1.45;
}

.programApplyEventOptions .wpcf7-list-item-label {
  min-width: 0;
}

.programApplyChoiceText {
  display: grid;
  gap: 7px;
}

.programApplyChoiceMeta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.programApplyChoiceDate,
.programApplyChoiceTime {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 0 8px;
  border-radius: 5px;
  font-size: 13px;
  font-weight: 950;
}

.programApplyChoiceDate {
  background: #e9f4ff;
  color: var(--pa-blue);
}

.programApplyChoiceTime {
  background: #e9fbfc;
  color: var(--pa-teal);
}

.programApplyChoiceTitle {
  display: block;
  color: var(--pa-navy);
  font-size: 15px;
  font-weight: 950;
  line-height: 1.35;
}

.programApplyChoiceVenue {
  display: block;
  color: #516173;
  font-size: 12px;
  font-weight: 850;
  line-height: 1.45;
}

.programApplyChoiceVenue::before {
  content: "会場：";
  color: #7b8998;
  font-weight: 950;
}

.programApplyEventOptions input[type="checkbox"],
.programApplyPrivacy input[type="checkbox"] {
  width: 18px;
  height: 18px;
  margin: 1px 0 0;
  accent-color: var(--pa-teal);
}

.programApplyPrivacy {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px 22px;
  min-height: 42px;
}

.programApplyPrivacy .wpcf7-acceptance {
  display: block;
}

.programApplyPrivacy .wpcf7-list-item {
  margin: 0;
}

.programApplyPrivacy a {
  color: var(--pa-blue);
  font-size: 13px;
  font-weight: 900;
}

.programApplySubmitWrap {
  display: flex;
  justify-content: center;
  padding-top: 24px;
}

.programApplySubmitWrap p {
  margin: 0;
}

.programApplySubmit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: min(100%, 760px);
  min-height: 62px;
  border: 0;
  border-radius: 999px;
  background: linear-gradient(135deg, #09b7bd, #02a88f);
  color: #fff;
  font-size: 22px;
  font-weight: 950;
  letter-spacing: 0;
  cursor: pointer;
  box-shadow: 0 14px 28px rgba(0, 168, 151, .24);
}

.programApplyCf7 .wpcf7-not-valid-tip,
.programApplyCf7 .wpcf7-response-output {
  font-size: 12px;
  font-weight: 800;
}

.programApplyCf7 .wpcf7-spinner {
  align-self: center;
}

.programApplyAssurance {
  padding: 26px 0 48px;
}

.programApplyAssurance__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  padding: 18px 20px;
  border-radius: 16px;
  background: #eefaff;
}

.programApplyAssurance article {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr);
  gap: 16px;
  align-items: center;
}

.programApplyAssurance article > span {
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: linear-gradient(135deg, #0ca8ad, #087f9a);
  color: #fff;
  font-size: 28px;
  font-weight: 950;
}

.programApplyAssurance h3 {
  margin: 0 0 6px;
  color: var(--pa-teal);
  font-size: 18px;
  font-weight: 950;
}

.programApplyAssurance p {
  margin: 0;
  color: #20364d;
  font-size: 13px;
  font-weight: 750;
  line-height: 1.65;
}

@media (max-width: 1080px) {
  .programApplyHero__inner {
    grid-template-columns: 110px minmax(0, 1fr) 320px;
  }

  .programApplyHero h1 {
    font-size: 42px;
  }

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

  .programApplyEventOptions .wpcf7-checkbox {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .programApplyContainer,
  .programApplyHero__inner {
    width: min(100% - 28px, 1180px);
  }

  .programApplyHero__inner {
    grid-template-columns: 1fr;
    gap: 18px;
    min-height: 0;
    padding: 30px 0 24px;
  }

  .programApplyHero__art {
    display: none;
  }

  .programApplyHero__visual {
    order: -1;
    justify-self: center;
    width: min(100%, 310px);
  }

  .programApplyHero__visual img {
    max-height: 190px;
  }

  .programApplyHero h1 {
    font-size: 34px;
  }

  .programApplyHero__copy > p:last-child {
    font-size: 14px;
    line-height: 1.75;
  }

  .programApplySectionHead h2 {
    font-size: 22px;
  }

  .programApplySchedule__grid,
  .programApplyAssurance__grid {
    grid-template-columns: 1fr;
  }

  .programApplyDateCard {
    min-height: 0;
  }

  .programApplyFormCard__head,
  .programApplyFormCard__body {
    padding-left: 16px;
    padding-right: 16px;
  }

  .programApplyField {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .programApplyLabel {
    min-height: 0;
  }

  .programApplyInline,
  .programApplyEventOptions .wpcf7-checkbox {
    grid-template-columns: 1fr;
  }

  .programApplySelect {
    max-width: none;
  }

  .programApplySubmit {
    min-height: 58px;
    font-size: 18px;
  }

  .programApplyAssurance__grid {
    padding: 16px;
  }
}
