/*
|---------------------------------------------------------------
| DESIGN HISTORY PC/SP
|---------------------------------------------------------------
*/
@media screen and (min-width: 567.2px) {
  .d-none--pc {
    display: none !important;
  }
}

@media screen and (max-width: 567px) {
  .d-none--sp {
    display: none !important;
  }
}

.thanksfair__cta__inner {
  text-align: center;
  margin-top: 16px;
}

.thanksfair__cta__attention {
  display: inline-block;
  background-color: #e60012;
  color: #fff;
  padding: 1em 2em;
  line-height: 1.6;
}

.thanksfair__cta__link__desc {
  font-size: clamp(14px, 0.462vw, 16px);
}

.thanksfair__cta__link {
  text-decoration: underline;
  text-underline-offset: 0.3em;
}

/*
|---------------------------------------------------------------
| HERO
|---------------------------------------------------------------
*/
.thanksfair__hero {
  text-align: center;
  margin-bottom: 48px;
}

/*
|---------------------------------------------------------------
| FORM
|---------------------------------------------------------------
*/

.thanksfair_container {
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}
.thanksfair_form__heading__title {
  text-align: center;
  font-size: 24px;
}

.thanksfair_form__body {
  margin: 0 auto;
  padding: 0 16px 64px;
}

.thanksfair_form__lead {
  margin: 0 0 16px;
  font-size: 14px;
  color: #e60012;
}

.thanksfair_form__field {
  margin-bottom: 24px;
  border: 1px solid #3e3a39;
  background-color: #fff;
}

.thanksfair_form__field__head {
  padding: 8px 14px;
  background-color: #3e3a39;
  color: #fff;
}

.thanksfair_form__field__title {
  margin: 0;
  font-size: 18px;
  line-height: 1.4;
}

.thanksfair_form__field__note {
  margin: 0;
  font-size: 11px;
  line-height: 1.5;
  color: #e60012;
}

.thanksfair_form__field__body {
  padding: 14px;
}

.thanksfair_form__input,
.thanksfair_form__select {
  box-sizing: border-box;
  width: 100%;
  height: 40px;
  padding: 6px 10px;
  border: 1px solid #999;
  border-radius: 6px;
  background-color: #fff;
  font-size: 16px;
  color: #333;
}

.thanksfair_form__input:focus,
.thanksfair_form__select:focus {
  outline: none;
  border-color: #3e3a39;
  box-shadow: 0 0 0 2px rgba(62, 58, 57, 0.2);
}

.thanksfair_form__select {
  max-width: 240px;
}

.thanksfair_form__name {
  display: flex;
  gap: 16px;
}

.thanksfair_form__name__item {
  display: flex;
  flex: 1;
  align-items: center;
  gap: 8px;
}

.thanksfair_form__name__label {
  flex-shrink: 0;
}

.thanksfair_form__zip {
  display: flex;
  align-items: center;
  gap: 4px;
}

.thanksfair_form__zip__mark {
  margin-right: 6px;
  font-size: 18px;
}

.thanksfair_form__zip__input {
  width: 60px;
  text-align: center;
}

.thanksfair_form__row + .thanksfair_form__row {
  margin-top: 12px;
}

.thanksfair_form__sublabel {
  margin: 0 0 4px;
  font-size: 14px;
}

.thanksfair_form__choices {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
}

.thanksfair_form__choice {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
}

.thanksfair_form__desc {
  margin: 0 0 10px;
  font-size: 13px;
  line-height: 1.6;
}

.thanksfair_form__file {
  max-width: 100%;
  font-size: 14px;
}

.thanksfair_form__terms {
  max-height: 240px;
  overflow-y: auto;
  margin-bottom: 12px;
  padding: 12px 14px;
  border: 1px solid #999;
  border-radius: 6px;
  font-size: 13px;
  line-height: 1.6;
}

.thanksfair_form__terms__title {
  margin: 0 0 8px;
  font-weight: bold;
}

.thanksfair_form__terms__list {
  margin: 0;
  padding-left: 1.5em;
  list-style: decimal;
}

.thanksfair_form__terms__list li + li {
  margin-top: 6px;
}

.thanksfair_form__submit {
  text-align: center;
}

.thanksfair_form__submit__button {
  min-width: 240px;
  padding: 14px 32px;
  border: none;
  border-radius: 6px;
  background-color: #3e3a39;
  color: #fff;
  font-size: 16px;
  cursor: pointer;
  -webkit-appearance: none;
  appearance: none;
}

.thanksfair_form__submit__button:hover {
  opacity: 0.8;
}

@media screen and (max-width: 567px) {
  .thanksfair_form__field__title {
    font-size: 16px;
  }

  .thanksfair_form__select {
    max-width: none;
  }
}