@charset "UTF-8";
/* CSS Document */

main {
  padding-top: 60px;
}
h2.entry-title {
  text-align: center;
  background-color: #edeef3;
  padding: 43px 0;
  margin-bottom: 40px;
}
h2.entry-title > a {
  color: #1020bb;
  font-size: 28px;
}
.required {
  text-align: center;
  color: #ea1817;
  margin-bottom: 30px;
}
.required span {
  background-color: #ea1817;
  color: #fff;
  margin: 0 5px;
  font-size: 10px;
  padding: 3.5px 4px;
  vertical-align: text-bottom;
}
main article.entry {
  padding: 0;
}
main .entry-content {
  max-width: 980px;
  margin: 0 auto;
}
.contact_form {
  margin-bottom: 30px;
}
form.wpcf7-form {
  position: relative;

}
/* .wpcf7-form-control-wrap {
  width: 100%;
  display: inline-grid;
} */
form.wpcf7-form select.wpcf7-form-control,
form.wpcf7-form input[type="text"],
form.wpcf7-form input[type="tel"],
form.wpcf7-form input[type="email"] {
  height: 40px;
  color: #999;
  border: 1px solid #999;
  border-radius: 3px;
  width: 100%;
  text-indent: 10px;
}
form.wpcf7-form {
  margin-bottom: 80px;
}
form.wpcf7-form .left_side {
  position: absolute;
  margin-top: 7px;
  font-size: 15px;
  font-weight: bold;
}
form.wpcf7-form .right_side {
  width: 78%;
  margin-left: 22%;
}
form.wpcf7-form select.wpcf7-form-control[name="menu-genre"],
form.wpcf7-form .right_side input[name="text-name"],
form.wpcf7-form .right_side input[name="text-hospital"] {
  width: 80%;
}
form.wpcf7-form input[size="3"] {
  width: 60px;
  margin-right: 10px;
}
form.wpcf7-form input[size="4"] {
  width: 80px;
  margin-left: 10px;
}
form.wpcf7-form label {
  display: block;
}
textarea {
  border: 1px solid #999;
  width: 100%;
}
span.wpcf7-form-control-wrap.acceptance {
  background-color: #dfe9f5;
  height: 80px;
  line-height: 80px;
  text-align: center;
  display: inline-block;
  width: 100%;
  margin-bottom: 60px;
}
span.wpcf7-list-item-label {
  font-size: 17px;
  font-weight: bold;
}
span.wpcf7-list-item-label a {
  text-decoration: underline;
  padding: 0 2px;
}

input#acceptance {
  display: none;
}
.wpcf7-list-item-label {
  padding-left: 30px;
  position: relative;
  margin-right: 20px;
}
.wpcf7-list-item-label::before {
  content: "";
  display: block;
  position: absolute;
  top: 2px;
  left: 0;
  width: 15px;
  height: 15px;
  border: 1px solid #999;
  border-radius: 4px;
  background-color: #fff;
}
input#acceptance:checked + .wpcf7-list-item-label {
  color: #000;
}
input#acceptance:checked + .wpcf7-list-item-label::after {
  content: "";
  display: block;
  position: absolute;
  top: -2px;
  left: 5px;
  width: 7px;
  height: 14px;
  transform: rotate(40deg);
  border-bottom: 3px solid #000;
  border-right: 3px solid #000;
}

input#submit {
  width: 240px;
  height: 60px;
  line-height: 60px;
  font-size: 24px;
  color: #fff;
  background-color: #1b29be;
  text-align: center;
  border: none;
}
.submit_button {
  text-align: center;
}
span.req {
  color: red;
  font-size: 10px;
  vertical-align: top;
}
form.wpcf7-form .submit_button .ajax-loader {
  display: none;
}



@media(max-width: 767px){
  form.wpcf7-form {
    margin: 0 10px;
    width: auto;
  }
  .contact_form {
    margin-bottom: 20px;
  }
  h2.entry-title {
    padding: 15px 0;
    margin-bottom: 30px;
  }
  h2.entry-title > a {
    font-size: 24px;
  }
  form.wpcf7-form .left_side {
    font-size: 12px;
    width: 100%;
    float: none;
    position: static;
  }
  form.wpcf7-form .right_side {
    width: 100%;
    margin-left: 0;
  }
  form.wpcf7-form select.wpcf7-form-control[name="menu-genre"],
  form.wpcf7-form .right_side input[name="text-name"],
  form.wpcf7-form .right_side input[name="text-hospital"] {
    width: 100%;
    margin: 0 auto;
  }
  span.wpcf7-form-control-wrap.acceptance {
    height: 60px;
    line-height: 60px;
    margin-bottom: 40px;
  }
  span.wpcf7-list-item-label {
    margin: 0;
    font-size: 12px;
  }
  input#submit {
    font-size: 14px;
    border-radius: none;
    -webkit-appearance: none;
    user-select: none;
    white-space: none;
    background-color: #1b29be;
    -webkit-rtl-ordering: none;
  }
  .submit_button {
    margin-bottom: 40px;
  }
  .wpcf7-list-item-label::before {
    top: 0;
  }
}