body {
  color: #333;
  font-size: 16px;
  line-height: 1.75;
}

a {
  color: #a59aca;
}

.container {
  max-width: 100%;
  padding: 2px;
  border: 0;
}

.help-block {
  display: none;
  font-size: 0.75em;
}

.form-column {
  padding-bottom: 0;
  margin-bottom: 32px;
  border: none;
}

input,
button,
textarea,
select {
  margin: 0;
  padding: 0;
  border: none;
  border-radius: 0;
  font-size: 1em;
}

.form-column-heading h2 {
  font-size: 1.5em;
  margin: 0;
  font-weight: bold;
}

.label {
  display: flex;
  align-items: center;
  margin-bottom: 16px;
}

label h3 {
  font-size: 1em;
  display: inline-block;
  margin: 0 0 0.5em;
  font-weight: bold;
}

label .badge-optional {
  visibility: visible;
  display: inline-block;
  width: auto;
  padding: 2px 8px;
  margin-left: 8px;
  color: #828282;
  line-height: 1.75;
  background: #EBF0F3;
  border-radius: 8px;
}

label .badge-required {
  display: inline-block;
  width: auto;
  padding: 2px 8px;
  margin-left: 8px;
  color: #063E81;
  line-height: 1.75;
  background: #DCF3FF;
  border-radius: 8px;
}

.description-block {
  color: #151514;
  margin-top: 8px;
}

.description-block a {
  color: #002896;
}

.button-group {
  display: flex;
  justify-content: center;
  flex-direction: column-reverse;
  max-width: 560px;
  width: 100%;
  padding: 1px;
  margin-inline: auto;
  margin-top: 1em;
  column-gap: 40px;
  row-gap: 32px;
}

.button-group .help-block {
  margin-top: 0.5em;
  font-size: 0.75em;
}

.button {
  display: inline-block;
  max-width: 400px;
  width: 100%;
  padding: 16px;
  margin-inline: auto;
  font-size: 18px;
  font-weight: 700;
  border-radius: 8px;
  cursor: pointer;
  border: 1px solid currentColor !important;
}

.button.button-submit,
.button.button-confirm {
  color: #FFF !important;
  background-color: #002896 !important;
}

.button.button-back {
  color: #002896 !important;
}

.button[disabled] {
  color: #FFF !important;
  background-color: #d9d9d9 !important;
  border-color: #d9d9d9 !important;
  opacity: 1;
}

.button.button-submit span.fa {
  display: none;
}

input[type="text"],
input[type="email"],
input[type="tel"],
input[type="url"],
textarea {
  width: 100%;
  max-width: 100%;
  line-height: 1.75;
  padding: 8px;
  border: 1px solid #686868;
  border-radius: 8px;
  transition: all 0.3s;
}

textarea {
  width: 100%;
  height: 10em;
}

input[type="file"] {
  display: block;
  line-height: 1.75;
}

input[type="password"] {
  height: 1.75em;
  width: 100%;
  border: 1px solid #6a767d;
  transition: all 0.3s;
}

input[readonly],
textarea[readonly] {
  border-color: transparent;
  padding-left: 0;
  padding-right: 0;
}

.form-column-date .input-group select {
  width: auto;
  display: inline-block;
}

.form-column-calendar input {
  width: auto;
}

.form-column-zip-code-jp .input-group input {
  width: auto;
  min-width: auto;
  display: inline-block;
}

.form-column-zip-code-autofill.form-column {
  border-bottom: 0;
  margin-bottom: 0;
}

.form-column-checkbox label,
.form-column-radio label {
  margin-right: 1em;
}

select {
  display: block;
  width: 250px;
  padding: 8px;
  border: 1px solid #D1D1D1;
  border-radius: 8px;
}

.message-block-complete {
  border: 2px solid #316a8b;
  padding: 20px;
  text-align: center;
}

fieldset {
  margin: 0;
  padding: 0;
  border: none;
}

legend.label {
  padding: 0;
}

legend .badge-required {
  padding: 2px 8px;
  margin-left: 8px;
  font-size: 1em;
  color: #063E81;
  line-height: 1.75;
  background: #DCF3FF;
  border-radius: 8px;
}

.message-block-error {
  padding: 16px;
  margin-bottom: 32px;
  color: #DF0101;
  background-color: #FFF0F0;
  border: none;
}

.message-block-error span {
  display: block;
  margin-bottom: 16px;
}

.message-block-error a {
  color: #DF0101;
}

.message-block-error strong {
  font-weight: 400;
}

@media (min-width: 641px) {
  .button-group {
    flex-direction: row;
    row-gap: 16px;
  }
  .button {
    margin-inline: initial;
  }
}

@media (max-width: 640px) {
  input[type="text"],
  input[type="email"],
  input[type="tel"],
  input[type="url"],
  textarea {
    width: 100%;
    min-width: 100%;
  }
  .form-column-calendar input {
    width: auto;
    min-width: auto;
  }
  .form-column-heading h2 {
    font-size: 1.25em;
  }
}

@media (max-width: 400px) {
  .button-group {
    row-gap: 16px;
  }
}