@charset "UTF-8";

.cb-registration-page {
  min-width: var(--min-render-width, 400px);
  color: #231815;
  background: #fff;
}

.cb-registration {
  padding: 100px 0 60px;
}

.cb-registration__inner {
  width: min(880px, calc(100% - 48px));
  margin-inline: auto;
}

.cb-registration__header {
  width: min(720px, 100%);
  margin: 0 auto 54px;
  text-align: center;
}

.cb-registration__eyebrow {
  margin: 0 0 12px;
  color: #ff7460;
  font-family: "Outfit", sans-serif;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.14em;
}

.cb-registration__title {
  margin: 0;
  font-family: "Zen Kaku Gothic New", "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif;
  font-size: 40px;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: 0;
}

.cb-registration__lead {
  margin: 22px 0 0;
  font-size: 16px;
  line-height: 1.8;
}

.cb-reg-form,
.cb-registration__success {
  width: min(720px, 100%);
  margin-inline: auto;
  padding: 54px 60px 60px;
  border: 1px solid #1f1f1f;
  border-radius: 4px;
  background: #fff;
}

.cb-reg-form__field {
  padding: 0;
  margin: 0 0 38px;
  border: 0;
}

.cb-reg-form__label {
  display: block;
  margin: 0 0 12px;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.5;
}

.cb-reg-form__label span {
  margin-left: 8px;
  color: #747474;
  font-size: 12px;
  font-weight: 500;
}

.cb-reg-form__input {
  display: block;
  width: 100%;
  min-height: 54px;
  padding: 11px 15px;
  border: 1px solid #9b9b9b;
  border-radius: 2px;
  color: #231815;
  background: #fff;
  font: inherit;
  letter-spacing: 0.02em;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.cb-reg-form__input:focus {
  border-color: #00415a;
  box-shadow: 0 0 0 3px rgba(0, 65, 90, 0.15);
  outline: 0;
}

.cb-reg-form__input.is-error {
  border-color: #c1272d;
}

.cb-reg-form__choices {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 8px;
}

.cb-reg-choice {
  position: relative;
  display: block;
  min-width: 0;
  cursor: pointer;
}

.cb-reg-choice input {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  opacity: 0;
}

.cb-reg-choice span {
  display: grid;
  min-height: 52px;
  place-items: center;
  padding: 8px 5px;
  border: 1px solid #9b9b9b;
  border-radius: 2px;
  background: #fff;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.3;
  text-align: center;
  transition: color 0.2s ease, border-color 0.2s ease, background-color 0.2s ease;
}

.cb-reg-choice input:checked + span {
  color: #fff;
  border-color: #00415a;
  background: #00415a;
}

.cb-reg-choice input:focus-visible + span {
  outline: 3px solid rgba(0, 65, 90, 0.22);
  outline-offset: 2px;
}

.cb-reg-form__error,
.cb-reg-form__error-summary {
  color: #b3261e;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.5;
}

.cb-reg-form__error {
  margin: 8px 0 0;
}

.cb-reg-form__error-summary {
  margin: 0 0 32px;
  padding: 12px 15px;
  border-left: 4px solid #b3261e;
  background: #fff2f0;
}

.cb-reg-form__privacy {
  margin: 0 0 24px;
  color: #666;
  font-size: 12px;
  line-height: 1.7;
}

.cb-reg-form__submit {
  display: flex;
  width: 100%;
  min-height: 58px;
  align-items: center;
  justify-content: center;
  padding: 12px 24px;
  border: 1px solid #000;
  border-radius: 2px;
  color: #fff;
  background: #000;
  font: inherit;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  transition: color 0.2s ease, background-color 0.2s ease;
}

.cb-reg-form__submit:hover,
.cb-reg-form__submit:focus-visible {
  color: #000;
  background: #fff;
}

.cb-reg-form__honeypot {
  position: absolute !important;
  left: -10000px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}

.cb-registration__success {
  position: relative;
  padding-block: 64px;
  text-align: center;
}

.cb-registration__success::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 6px;
  background: #ff7460;
}

.cb-registration__success-title {
  margin: 0 0 18px;
  font-size: 27px;
  font-weight: 700;
}

.cb-registration__success p {
  line-height: 1.8;
}

.cb-registration__success a {
  display: inline-block;
  margin-top: 32px;
  border-bottom: 1px solid currentColor;
  font-weight: 700;
}

@media (max-width: 767px) {
  .cb-registration {
    padding: 72px 0 30px;
  }

  .cb-registration__inner {
    width: calc(100% - 36px);
  }

  .cb-registration__header {
    margin-bottom: 36px;
  }

  .cb-registration__title {
    font-size: 28px;
  }

  .cb-registration__lead {
    font-size: 14px;
  }

  .cb-reg-form,
  .cb-registration__success {
    padding: 38px 24px 42px;
  }

  .cb-reg-form__field {
    margin-bottom: 30px;
  }

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

  .cb-reg-choice:last-child {
    grid-column: 1 / -1;
  }
}

@media (prefers-reduced-motion: reduce) {
  .cb-reg-form__input,
  .cb-reg-choice span,
  .cb-reg-form__submit {
    transition: none;
  }
}
