@charset "UTF-8";

.entry-content .form_wrap.bg_color_sub2 h2 {
  font-size: 0;
  background-image: url(/wp-content/uploads/sites/914/2023/03/contact_top-1.png);
  background-size: 282px;
  background-repeat: no-repeat;
  background-position: center;
  margin-bottom: 40px;
  height: 84px;
}

.wpcf7 .wpcf7-form .wpcf7-text, .wpcf7 .wpcf7-form .wpcf7-number {
  background-color: #fff !important;
}

.form_wrap:not(.detail_form_block) p {
  color: #808080;
}

.form_wrap:not(.detail_form_block) p.black {
  color: #333333;
  padding-top: 40px;
  text-align: justify;
  font-feature-settings: "palt" 1;
  letter-spacing: 0.1em;
}

.es_form_2col_wrap p.es-form-item:not(.note) {
  letter-spacing: 0;
}

.es_form_2col_wrap p.es-form-item:not(.note)>label {
  color: #333333;
  line-height: 1.3;
}

::placeholder {
  letter-spacing: 0.2em;
  color: #999999;
  text-align: justify;
  font-feature-settings: "palt" 1;
}

.wpcf7 .mail_address .wpcf7-form-control-wrap {
  margin-bottom: 15px;
}

.es_form_2col_wrap p.es-form-item:not(.note) {
  padding: 40px 0;
  margin-bottom: 0;
  text-align: justify;
  font-feature-settings: "palt" 1;
  letter-spacing: 0.1em;
}

.es_form_2col_wrap p.es-form-item.mail_address:not(.note) {
  align-items: flex-start;
}

.es_form_2col_wrap p.es-form-item.mail_address:not(.note)>label {
  padding-top: 40px;
}

.mail_address .es-form-control .message {
  font-size: 14px;
}

.moving_right {
  display: flex;
  justify-content: space-between;
}

.moving_right .moving_box {
  width: calc(100% / 3 - 20px);
}

.wpcf7 .wpcf7-form span.required {
  vertical-align: middle;
}

.es_form_2col_wrap p.es-form-item.houjin_name:not(.note) {
  display: block;

}

.es_form_2col_wrap p.es-form-item.houjin_name:not(.note)>label, .es_form_2col_wrap p.es-form-item.houjin_name:not(.note)>span {
  width: 100%;
}

.es_form_2col_wrap p.es-form-item.houjin_name:not(.note)>label {
  margin-bottom: 15px;
}

.wpcf7 .wpcf7-form .wpcf7-textarea {
  padding: 10px;
}

.es_form_2col_wrap p.es-form-item:not(.note)>label.area_line {
  display: flex;
  align-items: center;
}

.wpcf7 .wpcf7-form .wpcf7-select:focus {
    line-height: inherit;
}

@media (max-width: 480px) {
  .es_form_2col_wrap p.es-form-item:not(.note)>label.area_line {
    display: block;
  }

  .entry-content .form_wrap.bg_color_sub2 h2 {
    background-size: 250px;
    margin-bottom: 30px;
  }

  .moving_right {
    display: block;
  }

  .moving_right .moving_box {
    width: 100%;
  }

  .es_form_2col_wrap p.es-form-item:not(.note) {
    padding: 20px 0;
  }

  .wpcf7 .name .wpcf7-form-control-wrap:first-child,.wpcf7 .moving .wpcf7-form-control-wrap{
    margin-bottom: 15px;
  }

  .wpcf7 .moving .moving_box:last-child .wpcf7-form-control-wrap{
    margin-bottom: 0;
  }

  ::placeholder {
    letter-spacing: 0.1em;
    font-size: 14px;
  }

  .es_form_2col_wrap p.es-form-item.mail_address:not(.note)>label {
    padding-top: 0px;
  }

  .form_wrap:not(.detail_form_block) p.black{
    padding-top: 20px;
    margin-bottom: 0;
  }

  .wpcf7 .wpcf7-form .wpcf7-submit {
    margin-top: 20px;
}

.form_wrap:not(.detail_form_block) {
    margin-left: 0px;
    margin-right: 0px;
}

}

@media (max-width: 390px) {
  .entry-content .form_wrap.bg_color_sub2 h2 {
    background-size: 220px;
    margin-bottom: 30px;
    height: 65px;
  }
}

@media (max-width: 360px) {
  .entry-content .form_wrap.bg_color_sub2 h2 {
    background-size: 190px;
    margin-bottom: 30px;
    height: 60px;
  }

  ::placeholder {
    font-size: 13px;
  }

}

@media (max-width: 340px) {
  .wpcf7 .wpcf7-form .wpcf7-submit {
    width: 100%;
  }
}
