.p-contact-form {
  padding: 25px 0 50px;
}

.p-contact-form_table table {
  width: 100%;
}

.p-contact-form_table table th, .p-contact-form_table table td {
  font-size: 16px;
  text-align: left;
  vertical-align: top;
}

.p-contact-form_table table tr:not(:last-child) th, .p-contact-form_table table tr:not(:last-child) td {
  padding-bottom: 28px;
}

.p-contact-form_table table th {
  width: 6.7em;
  font-weight: bold;
}

.p-contact-form_table table td {
  width: calc(100% - 6.7em);
}

.p-contact-form_table table td input[type="text"], .p-contact-form_table table td input[type="tel"], .p-contact-form_table table td input[type="email"], .p-contact-form_table table td textarea {
  font-size: 16px;
  padding: 0.5em;
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
  width: 100%;
}

.p-contact-form_table table td input[type="text"], .p-contact-form_table table td input[type="tel"], .p-contact-form_table table td input[type="email"] {
  border: initial;
  border-radius: 0;
  border-bottom: 1px solid #000;
}

.p-contact-form_table table td input[type="submit"] {
  -moz-appearance: none;
       appearance: none;
  -webkit-appearance: none;
  font-size: 18px;
  font-weight: bold;
  text-align: center;
  padding: 1em;
  margin: 0 auto;
  background: #000;
  color: #fff;
  border: 2px solid #000;
  border-radius: 5em;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  width: 100%;
  max-width: 280px;
  -webkit-transition: 0.2s;
  transition: 0.2s;
  cursor: pointer;
}

.p-contact-form_table table td input[type="submit"]:hover {
  background: #fff;
  color: #000;
}

.p-contact-form_table table td textarea {
  height: 15em;
  margin: 25px 0 18px;
}

.p-contact-form_table table td label {
  font-size: 14px;
  font-weight: bold;
  letter-spacing: 0.15em;
  margin-bottom: 45px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
}

.p-contact-form_table table td label input[type="checkbox"] {
  width: 22px;
  height: 22px;
  border-radius: 0;
  margin-right: 15px;
}

@media screen and (min-width: 851px) {
  .p-contact-form {
    padding: 107px 0 70px;
  }
  .p-contact-form .l-container {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
  }
  .p-contact-form_title {
    width: 155px;
  }
  .p-contact-form_table {
    width: 1111px;
    margin-top: 11px;
  }
  .p-contact-form_table table {
    max-width: 800px;
    margin: 0 auto;
  }
  .p-contact-form_table table th, .p-contact-form_table table td {
    font-size: 24px;
  }
  .p-contact-form_table table tr:not(:last-child) th, .p-contact-form_table table tr:not(:last-child) td {
    padding-bottom: 57px;
  }
  .p-contact-form_table table th {
    width: 210px;
    letter-spacing: 0;
  }
  .p-contact-form_table table td {
    width: calc(100% - 210px);
  }
}

@media screen and (max-width: 850px) {
  .p-contact-form_title {
    margin-bottom: 40px;
  }
  .p-contact-form_table table tr {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
        flex-wrap: wrap;
  }
  .p-contact-form_table table tr:last-child th, .p-contact-form_table table tr:last-child td {
    width: 100% !important;
  }
  .p-contact-form_table table td textarea {
    margin: 17px 0 40px;
    height: 14.4em;
  }
  .p-contact-form_table table td label {
    margin-bottom: 25px;
  }
}

.p-contact-policy {
  padding-bottom: 120px;
  font-size: 12px;
  line-height: 2;
}

.p-contact-policy h3:not(:first-child) {
  margin-top: 2em;
}

.p-contact-policy ol {
  counter-reset: num;
}

.p-contact-policy ol li {
  padding-left: 2.5em;
  position: relative;
}

.p-contact-policy ol li:before {
  counter-increment: num;
  content: counter(num);
  position: absolute;
  top: 0;
  left: 1em;
}

@media screen and (min-width: 851px) {
  .p-contact-policy {
    padding-bottom: 95px;
  }
  .p-contact-policy .l-container {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: end;
        -ms-flex-pack: end;
            justify-content: flex-end;
  }
  .p-contact-policy_gapwrap {
    width: 890px;
  }
  .p-contact-policy_gap {
    width: 100%;
    max-width: 590px;
    margin: 0 auto;
  }
}

.wpcf7-list-item {
  margin: 0;
}

.wpcf7-not-valid-tip {
  font-size: 16px;
}
