body {
  padding: 50px 0;
  background-color: #0b5082;
}

@media (min-width: 750px) {
  body {
    padding: 100px 0;
  }
}

#contact {
  max-width: 1000px;
  padding: 20px 20px 50px;
  margin: 0 auto;
  background-color: #fff;
}

@media (min-width: 750px) {
  #contact {
    padding: 50px;
  }
}

.logo {
  max-width: 300px;
  margin: 0 auto 1.5em;
}

@media (min-width: 750px) {
  .logo {
    margin-bottom: 3em;
  }
}

.form_ttl {
  margin-bottom: .5em;
  font-size: 1.5em;
  font-weight: bold;
  text-align: center;
}

@media (min-width: 750px) {
  .form_ttl {
    font-size: 1.8em;
  }
}

.explanation {
  margin-bottom: 1.5em;
  text-align: center;
}

@media (min-width: 750px) {
  .explanation {
    font-size: 1.2em;
  }
}

.form_list {
  width: 100%;
  margin: 0 auto;
}

@media (min-width: 750px) {
  .form_list {
    width: 80%;
  }
}

.form_list li:not(:last-child) {
  margin-bottom: 1em;
}

.form_list li .label {
  display: flex;
  align-items: flex-start;
  margin-right: 1em;
  font-weight: bold;
}

.form_list li .label .required_txt {
  padding: 0 .3em;
  margin-top: .05em;
  margin-left: auto;
  font-size: .9em;
  color: #fff;
  background-color: #f00;
  white-space: nowrap;
}

@media (min-width: 750px) {
  .form_list li .label .required_txt {
    margin-left: 1em;
  }
}

.form_list li .input_wrap {
  margin-top: .3em;
}

.form_list li .input_wrap input[type="text"],
.form_list li .input_wrap input[type="tel"],
.form_list li .input_wrap input[type="email"] {
  padding: 0;
  border: none;
  border-radius: 0;
  outline: none;
  background: none;
  width: 100%;
  padding: .3em .5em;
  border: 2px solid #ccc;
  font-size: 18px;
}

.form_list li .input_wrap textarea {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  resize: none;
  padding: 0;
  border: 0;
  outline: none;
  background: transparent;
  width: 100%;
  padding: .3em .5em;
  border: 2px solid #ccc;
  font-size: 18px;
  min-height: 8em;
}

.form_list li .annotation {
  font-size: .9em;
  color: #0b5082;
}

button,
input[type="submit"] {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  padding: 0;
  border: none;
  outline: none;
  background: transparent;
  position: relative;
  height: 3em;
  max-width: 340px;
  width: 100%;
  display: block;
  border: 2px solid #0b5082;
  border-radius: 5px;
  margin: 2em auto 0;
  line-height: 3em;
  font-size: 18px;
  font-weight: bold;
  text-align: center;
  color: #FFFFFF;
  background-color: #0b5082;
  cursor: pointer;
  transition: all 0.3s;
}

button:hover,
input[type="submit"]:hover {
  opacity: .8;
}

button.back_btn,
input[type="submit"].back_btn {
  color: #0b5082;
  background-color: #fff;
}

button:disabled,
input[type="submit"]:disabled {
  background-color: #aaa;
  border-color: #aaa;
  pointer-events: none;
}

.caution {
  width: 100%;
  padding-left: 1em;
  margin: 1em auto 0;
  text-indent: -1em;
  font-size: 13px;
}

@media (min-width: 750px) {
  .caution {
    width: 80%;
    font-size: 16px;
  }
}

.caution a {
  color: #0b5082;
  text-decoration: underline;
  transition: .3s;
}

.caution a:hover {
  opacity: .8;
}

.consent {
  width: 100%;
  margin: 1em auto 0;
  text-indent: -1em;
  text-align: center;
  font-size: 13px;
}

@media (min-width: 750px) {
  .consent {
    width: 80%;
    font-size: 16px;
  }
}

.consent .consent_check input {
  width: 1.4em;
  height: 1.4em;
  margin-right: .5em;
}

.errM,
.confirmM {
  margin-bottom: 1em;
  text-align: center;
  color: #f00;
}

.errorText {
  color: #f00;
}

.thanks_text {
  text-align: center;
}

.thanks_text .thanks_ttl {
  color: #f00;
  font-size: 1.5em;
  margin-bottom: .5em;
}
