@charset "utf-8";
/* CSS Document */
.contact_lead {
  line-height: 2;
}

.contact_tel {
  color: #039;
  margin-bottom: 2.5rem;
  line-height: 2;
}

.contact_tel span {
  font-weight: 500;
  font-size: 1.5rem;
}

.contact_table {
  width: 100%;
  text-align: left;
  margin-bottom: 0.8rem;
}

.contact_table tr th,
.contact_table tr td {
  padding: 0.7rem 1rem;
  border-bottom: 1px solid #ddd;
  vertical-align: top;
  box-sizing: border-box;
}

.contact_table tr th {
  white-space: nowrap;
  min-width: 26%;
}

.required {
  font-size: 0.875rem;
  color: #fff;
  background: #039;
  display: inline-block;
  padding: 0 0.5rem;
  border-radius: 3px;
  line-height: 1.4;
  vertical-align: middle;
  margin-left: 0.8rem;
}

.contact_table tr td {
  width: 74%;
}

.contact_table tr td input[type="text"],
.contact_table tr td input[type="email"],
.contact_table tr td input[type="tel"],
.contact_table tr td textarea {
  box-sizing: border-box;
  width: 100%;
  background: #f2f4f8;
  padding: 0.5rem;
  border: 1px solid #ddd;
  font-family: "Noto Sans JP", "游ゴシック体", "Yu Gothic", YuGothic,
    "ヒラギノ角ゴ Pro", "Hiragino Kaku Gothic Pro", "メイリオ", "Meiryo",
    sans-serif;
  font-size: 1rem;
}

.contact_table tr .input_short input[type="text"] {
  width: 30%;
}

.contact_table tr td textarea {
  height: 14em;
}

.input_note {
  display: inline-block;
  margin-left: 0.5rem;
}

.agree {
  text-align: center;
  margin-bottom: 3rem;
}

.agree a {
  color: #039;
  text-decoration: underline;
}

.submit_btn {
  min-width: 440px;
  border: none;
  margin: 0 auto 6rem;
  cursor: pointer;
  font-size: 1rem;
}

.err_msg_area {
  padding: 0.6rem 1rem;
  color: #d00;
  border: 2px solid #d00;
  margin-bottom: 2rem;
}

.err_msg {
  color: #d00;
  font-size: 0.875rem;
}

.thanks,
.err {
  padding-bottom: 10rem;
}

@media screen and (max-width: 736px) {
  .contact_lead {
    font-size: 0.875rem;
  }

  .contact_tel {
    font-size: 0.875rem;
    margin-bottom: 1rem;
  }

  .contact_tel span {
    font-size: 1.25rem;
  }

  .contact_table {
    width: 100%;
    box-sizing: border-box;
  }

  .contact_table tr th,
  .contact_table tr td {
    display: block;
    padding: 0.5rem;
    font-size: 0.875rem;
    width: 100%;
  }

  .contact_table tr th {
    width: 100%;
    box-sizing: border-box;
    padding-bottom: 0;
    border-bottom: 0;
  }

  .required {
    font-size: 0.75rem;
  }

  .contact_table tr td {
    width: 100%;
    box-sizing: border-box;
  }

  .contact_table tr td input[type="text"],
  .contact_table tr td textarea {
    font-size: 0.875rem;
  }

  .contact_table tr .input_short input[type="text"] {
    width: 50%;
  }

  .contact_table tr td textarea {
    height: 10em;
  }

  .agree {
    margin-bottom: 2rem;
  }

  .submit_btn {
    min-width: 100%;
    margin: 0 auto 3rem;
  }

  .err_msg_area {
    padding: 0.6rem;
    margin-bottom: 1rem;
    font-size: 0.875rem;
  }
}

/* ===============================================
# contact form 7
=============================================== */
/* .wpcf7-not-valid-tip {
  display: none;
} */
