body {
  font-family: "Hiragino Sans", "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "Noto Sans JP", sans-serif;
  color: #151514;
  font-size: 16px;
  line-height: 1.75;
}

a {
  color: #a59aca;
}

fieldset {
  border: 0;
  margin: 0;
  padding: 0;
}

.container {
  max-width: 100%;
  border: 0;
  padding: 0;
}

.help-block {
  font-size: 0.75em;
}

.form-column {
  padding-bottom: 20px;
  margin-bottom: 20px;
}

input,
button,
textarea,
select {
  margin: 0;
  padding: 0;
  border: none;
  border-radius: 0;
  font-size: 1em;
}

textarea::placeholder,
input::placeholder {
  color:#C9C9C9;
}

.form-column-heading h2 {
  font-size: 20px;
    font-weight: 600;
    color: #414141;
    border-bottom: 2px solid #C9C9C9;
    padding-bottom: 4px;
}

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;
  font-size: 0.75em;
  color: #fff;
  background-color: #c73b3b;
  border-radius: 4px;
}

legend.label {
  padding: 0;
}

.description-block {
  color: #151514;
  margin-top: 0.5em;
}

.button-group {
  margin-top: 40px;
  padding-bottom: 20px;
  text-align: center;
}
.button-group .help-block {
  margin-top: 0.5em;
  font-size: 0.75em;
}

button {
  display: inline-block;
  padding: 0.5em 1em;
  text-align: center;
  cursor: pointer;
  border: 1px solid #6a767d;
  border-radius: 4px;
  margin: 0 0.5em 0 0;
  background-color: #fff;
}

button.button-submit {
  background-color: #316a8b;
  border: 1px solid #316a8b;
  color: #fff;
}
button.button-submit span.fa {
  margin-right: 4px;
}

button.button-confirm {
  font-size: 16px;
  font-weight: 600;
  line-height: 25px;
  width: 294px;
  height: 59px;
  border: 2px solid #671817;
  color: #671817;
  transition: .3s;
  border-radius: 0;
  margin: 0 auto;
}

button.button-confirm:hover {
  cursor: pointer;
  background-color: #671817;
  color: #fff;
}

input[type="text"],
input[type="email"],
input[type="tel"],
input[type="url"],
select,
textarea {
  font-size: 16px;
  font-weight: 600;
  line-height: 26px;
  border-radius: 7px;
  background: #fff;
  border: 2px solid #cecece;
  width: 100%;
  padding: 15px 20px;
  color: #1B191A;
  resize: none;
  outline: none;
  display: inline-block;
  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 {
  width: auto;
  display: block;
}

.message-block-complete {
  border: 2px solid #316a8b;
  padding: 20px;
  text-align: center;
}


.input-group a.datepicker-button {
  height:3.75em;
  border-radius: 7px;
  background-color: #414141;
  color: #cecece;
  padding-top: 1.25em;
  font-size: 16px;
}

.input-group a.datepicker-button:hover {
  cursor: pointer;
  background-color: #414141;
  text-decoration: none;
}

.input-group:has(>label input[type="radio"]){
  display: flex;
}

.input-group:has(>label input[type="radio"]) label:first-child{
  border-radius: 7px 0 0 7px;
}

.input-group:has(>label input[type="radio"]) label:last-child{
  border-radius: 0 7px 7px 0;
  border-right: 2px solid #cecece;
}

.input-group label:has(>input[type="radio"]){
  width: 100%;
  margin-right: 1em;
  height: 3.75em;
  display: flex;
  align-items: center;
  border: 1px solid #ddd;
  margin: 0;
  justify-content: center;
  border: 2px solid #cecece;
  border-right: 0;
}

.input-group label:has(>input[type="radio"]) input {
  display: none;
}

label:has(>input[type="radio"]:checked){
  background-color: #671817;
  color: #fff;
  border: 0;
}

label:has(>input[type="radio"]):hover {
  cursor: pointer;
}

.content-confirmation div[data-column="識別子"] {
  display: none;
} 

@media (max-width: 640px) {
  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: 60%;
    min-width: auto;
  }
  .form-column-heading h2 {
    font-size: 1.25em;
  }
}
