.cheer-fes-reservation-form {
  max-width: 900px;
  margin: 32px auto 0;
  padding: 28px;
  color: #172b4d;
  background: #fff;
  border-radius: 16px;
  box-sizing: border-box;
}

.cheer-fes-reservation-content h3 {
  margin: 0 0 12px;
  color: #123c88;
  font-size: 24px;
  font-weight: 700;
}

.cheer-fes-reservation-lead,
.cheer-fes-reservation-student,
.cheer-fes-privacy-note {
  margin: 0 0 20px;
  line-height: 1.7;
}

.cheer-fes-reservation-fieldset {
  margin: 0;
  padding: 0;
  border: 0;
}

.cheer-fes-reservation-fieldset legend {
  margin-bottom: 12px;
  font-size: 18px;
  font-weight: 700;
}

.cheer-fes-question {
  margin: 0 0 20px;
}

.cheer-fes-question-title {
  margin: 0 0 8px;
  line-height: 1.6;
  font-weight: 600;
}

.cheer-fes-question-title.is-required::after {
  content: '必須';
  display: inline-block;
  margin-left: 8px;
  padding: 1px 6px;
  color: #fff;
  background: #d83500;
  border-radius: 3px;
  font-size: 11px;
  vertical-align: 2px;
}

.cheer-fes-input {
  display: block;
  width: 100%;
  padding: 10px 12px;
  border: 1px solid #aab5c4;
  border-radius: 6px;
  box-sizing: border-box;
  font: inherit;
}

.cheer-fes-input-note {
  margin: 4px 0 0;
  color: #68778b;
  font-size: 12px;
}

.cheer-fes-choice-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 18px;
}

.cheer-fes-choice {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 12px;
  border: 1px solid #aab5c4;
  border-radius: 6px;
  background: #fff;
  line-height: 1.5;
  cursor: pointer;
}

.cheer-fes-choice input[type="checkbox"],
.cheer-fes-choice input[type="radio"] {
  display: inline-block !important;
  position: static !important;
  width: 18px !important;
  height: 18px !important;
  margin: 0;
  opacity: 1 !important;
  visibility: visible !important;
  appearance: auto !important;
  accent-color: #123c88;
  flex: 0 0 18px;
}

.cheer-fes-choice input[type="checkbox"]:checked + span,
.cheer-fes-choice input[type="radio"]:checked + span {
  color: #123c88;
  font-weight: 700;
}

.cheer-fes-choice:has(input:checked) {
  border-color: #123c88;
  background: #eef4ff;
}

.cheer-fes-privacy-note a {
  color: #126bc5;
  text-decoration: underline;
}

.cheer-fes-reservation-actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.cheer-fes-reservation-submit,
.cheer-fes-reservation-back {
  min-height: 48px;
  padding: 10px 24px;
  border: 0;
  border-radius: 24px;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.cheer-fes-reservation-submit {
  color: #022a81;
  background: #fbff74;
}

.cheer-fes-reservation-back {
  color: #123c88;
  background: #e8eef8;
}

.cheer-fes-reservation-errors,
.cheer-fes-reservation-unavailable {
  margin-bottom: 20px;
  padding: 12px 16px;
  color: #8f1d00;
  background: #fff0eb;
  border-radius: 8px;
}

.cheer-fes-reservation-errors ul {
  margin: 0;
  padding-left: 20px;
}

.cheer-fes-confirmation-list {
  margin: 0;
}

.cheer-fes-confirmation-item {
  margin-bottom: 16px;
}

.cheer-fes-confirmation-item dt {
  margin-bottom: 4px;
  font-weight: 700;
}

.cheer-fes-confirmation-item dd {
  margin: 0;
  white-space: pre-wrap;
}

@media (max-width: 767px) {
  .cheer-fes-reservation-form {
    margin-top: 24px;
    padding: 20px 16px;
    border-radius: 12px;
  }

  .cheer-fes-reservation-content h3 {
    font-size: 20px;
  }

  .cheer-fes-reservation-submit,
  .cheer-fes-reservation-back {
    width: 100%;
  }
}
