/*==================================================
  Form CSS
==================================================*/
#contact-form {
  width: 90%;
  margin: 1em auto 2em auto;
  padding: 1em;
  box-sizing: border-box;
}
#contact-form p {
  margin: 0 0 0 0;
}
#contact-form dl {
  display: flex;
  flex-wrap: wrap;
}
#contact-form .autoinput-txt {
  display: inline-block;
  font-size: 75%;
  line-height: 1.2;
  margin-left: 0.5em;
  padding: 0.2em 0.5em;
  box-sizing: border-box;
  border-radius: 5px;
  border: #660000 1px solid;
}
#contact-form .caution {
  display: inline-block;
  font-size: 75%;
  line-height: 1.2;
  margin-left: 0.5em;
  padding: 0.2em 0.5em;
  box-sizing: border-box;
  border-radius: 5px;
  color: #fff;
  background-color: #e6002e;
}
#contact-form h3 {
  text-align: center;
}
#contact-form dl,
#contact-form dt,
#contact-form dd {
  margin: 0.5em 0;
  padding: 0;
}
  #contact-form dt {
    width: 20%;
  }
  #contact-form dd {
    width: 80%;
  }
  #contact-form dd p {
    margin: 0;
    padding: 0;
  }
#contact-form input[type="radio"] {
  width: 30px;
  height: 20px;
  padding: 0.5em;
}
#contact-form input[type="text"],
#contact-form input[type="email"],
#contact-form input[type="tel"] {
  width: 100%;
  line-height: 1.0;
  padding: 0.5em 1em;
  box-sizing: border-box;
  border: #ac7755 1px solid;
  background-color: #fff;
  border-radius: 5px;
  box-shadow: none;
}
  #contact-form .autoinput input[type="text"] {
    border-left: none;
    border-right: none;
    border-top: none;
    border-radius: 0;
    border-bottom: #ac7755 2px solid;
    background-color: transparent;
  }
#contact-form .wpcf7-list-item {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
}
  #contact-form input[type="checkbox"] {
    width: 18px;
    height: 18px;
    margin-right: 10px;
    background-color: #fff;
    border: #660000 1px solid;
    border-radius: 2px;
  }
    #contact-form input[type="checkbox"]:checked::before {
      display: block;
      width: 25px;
      height: 25px;
      font-size: 1.5em;
      line-height: 0.7em;
      content: '\f00c';
      font-style: normal;
      font-family: 'Font Awesome 6 Free';
      font-weight: 900;
      color: #660000;
    }
#contact-form textarea {
  width: 100%;
  line-height: 1.5;
  padding: 0.5em 1em;
  border: #ac7755 1px solid;
  border-radius: 5px;
  box-shadow: none;
}
.wpcf7-list-item {
  margin-bottom: 0.5em;
}
.wpcf7-radio {
  display: flex;
  flex-direction: column;
}
#contact-form input[type="submit"] {
  display: block;
  width: 80%;
  text-align: center;
  margin: 1em auto 0 auto;
  padding: 0.5em 1em;
  box-sizing: border-box;
  box-shadow: none;
  background-color: #660000;
  border: #ac7755 2px solid;
  color: #fff;
}
  #contact-form input[type="submit"]:hover {
    background-color: #fff;
    border: #ac7755 2px solid;
    color: #ac7755;
  }