
body {
  color: #151514;
  font-size: 16px;
  line-height: 1.75;
}

.container {
  border: none;
}

a {
  color: #a59aca;
}

.container-fluid {
  max-width: 100%;
  border: 0;
}

.form-text {
  font-size: 0.75em;
}

.form-column {
  padding-bottom: 20px;
  margin-bottom: 20px;
  border-bottom: 1px solid #cccccc;
}

input,
button,
textarea,
select {
  margin: 0;
  padding: 0;
  border: none;
  border-radius: 4px;
  font-size: 1em;
}

input::placeholder {
  color: #bbbbbb;
}

.form-column-heading h2 {
  font-size: 1.5em;
  margin: 0;
  font-weight: bold;
}

label h3 {
  font-size: 1em;
  display: inline-block;
  margin: 0 0 0.5em;
  font-weight: bold;
}

label .badge-optional {
  display: none;
}

label .badge-required {
  width: auto;
  display: inline-block;
  margin-left: 0.25em;
  padding: 4px 8px;
  line-height: 1;
  /*  background-color: #c73b3b;*/
  background-color: #05195B;
  font-size: 10px;
  font-weight: 400;
  color: #fff;
  border-radius: 3px;
}

legend .badge-required {
  /*  background-color: #c73b3b;*/
  background-color: #05195B;
  border-radius: 3px;
  font-size: 10px;
  font-weight: 400;
  color: #fff;
  font-style: normal;
}

.description-block {
  color: #151514;
  margin-top: 0.5em;
}

.button-group {
  margin-top: 1em;
  text-align: center;
}

.button-group .form-text {
  margin-top: 0.5em;
  font-size: 0.75em;
}

button {
  display: inline-block;
  text-align: center;
  cursor: pointer;
}
button.button-confirm,
button.button-submit {
  background-color: #05195B;
  color: #ffffff;
  padding: 20px 60px;
  border-radius: 6px;
  border: 0;
}
button.button-confirm{
  margin-inline: auto;
}

button.button-back {
  background-color: #d8d8d8;
  padding: 20px 80px;
  border-radius: 6px;
  border: 0;
}
button.button-back:hover,
button.button-confirm:hover,
button.button-submit:hover {
  opacity: 0.8;
}

button.button-submit span.fa {
  margin-right: 4px;
}

.button[disabled] {
  background-color: #dedbdb;
}

input[type=text],
input[type=email],
input[type=tel],
input[type=url],
textarea {
  /* height: 1.75em; */
  height: 40px;
  width: 60%;
  min-width: 500px;
  max-width: 100%;
  line-height: 1.75em;
  transition: all 0.3s;
  border: 1px solid #bbb;
  padding: 10px 16px;
}

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 {
  width: auto;
  height: 40px;
  display: block;
  padding: 10px;
  border: 1px solid #bbbbbb;
  border-radius: 4px;
}

.subtxt {
  color: #ff4500;
  font-size: 80%;
}

.policytxt {
  width: 100%;
  height: 180px;
  border: 1px solid #cccccc;
  overflow-y: scroll;
  overflow-x: hidden;
  padding: 10px;
  font-size: 14px;
  word-break: break-word;
}

.message-block-complete {
  border: 2px solid #316a8b;
  padding: 20px;
  text-align: center;
}

fieldset {
  border: none;
  padding: 0;
}

legend.label {
  padding: 0;
}

.button-group {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: center;
}
.help-block {
  width: 100%;
}

@media (max-width: 640px) {
  body {font-size: 14px;}

  input[type=text],
  input[type=email],
  input[type=tel],
  input[type=url],
  textarea {
    width: 100%;
    min-width: 100%;
  }
  select {
    width: 100%;
  }
  .form-column-calendar input {
    width: auto;
    min-width: auto;
  }
  .form-column-heading h2 {
    font-size: 1.25em;
  }
  .policytxt {
    -webkit-overflow-scrolling: touch;
  }
  /* .description-block {
    width: 9%;
  } */

  /* .button-group {
  grid-template-columns: repeat(1, 1fr);
  grid-template-rows: repeat(3, 1fr);
  }
  .help-block {
  grid-column:inherit;
  } */
}