@charset "UTF-8"; /* mailform pro用 追加css */
.contact-contents {
  padding: 30px 3%;
}

.contact__form {
  display: block;
}

form#mailformpro {
  width: 100%;
}

.contact__form table {
  width: 100%;
}

.contact__form tbody {
}

.contact__form tr {
}

.entry-contents .contact__form th {
  width: 280px;
  text-align: left;
  font-weight: bold;
  padding: 20px 0 20px 50px;
  font-size: 14px;
  position: relative;
  vertical-align: top;
  border: none;
  border-bottom: 1px solid #ddd;
  vertical-align: middle;
}

.entry-contents .contact-block .must {
  display: inline-block;
  background: #dc1432;
  color: #fff;
  font-size: 10px;
  padding: 7px 7px;
  position: relative;
  left: 0;
  line-height: 1;
  top: 0;
  bottom: 0;
  border-radius: 4px;
  margin: 0 7px 0 0;
}

.contact__form td {
  padding: 20px 0;
  border: none;
  border-bottom: 1px solid #ddd;
  vertical-align: middle;
  list-style: none;
}

.contact__form td ul {
  padding: 0;
  margin: 0;
}

.contact__form td ul li {
  list-style: none;
}

textarea {
  width: 100% !important;
  padding: 10px 10px;
  font-size: 20px;
  border: 1px solid #ddd;
  min-height: 100px !important;
}

.contact__form p {
  text-align: center;
  margin: 40px 0;
}

input[type="text"] {
  width: 100%;
  padding: 10px 10px;
  font-size: 16px;
  border: 1px solid #ddd;
}

.contact__form p a {
  color: #025daf;
  text-decoration: underline;
}

/* iOSでのデフォルトスタイルをリセット */
input[type="submit"],
input[type="button"] {
  border-radius: 0;
  -webkit-box-sizing: content-box;
  -webkit-appearance: button;
  appearance: button;
  border: none;
  box-sizing: border-box;
  cursor: pointer;
}

input[type="submit"]::-webkit-search-decoration,
input[type="button"]::-webkit-search-decoration {
  display: none;
}

input[type="submit"]::focus,
input[type="button"]::focus {
  outline-offset: -2px;
}

.contact__form .btn {
  /* border: 1px solid #000; */
  padding: 20px 40px;
  background: #006fbb;
  color: #fff;
  cursor: pointer;
  font-weight: bold;
  -moz-transition: all 0.2s ease-in-out;
  -o-transition: all 0.2s ease-in-out;
  -webkit-transition: all 0.2s ease-in-out;
  transition: all 0.2s ease-in-out;
  text-shadow: none;
}

.contact__form .btn:hover {
  opacity: 0.6;
}

.contact__form .btn::before {
}

.contact-block {
  /* margin: 40px 0; */
  padding: 0 3%;
}

.contact-block .container {
  max-width: 1000px;
  margin: 0 auto;
  width: 100%;
}

.contact-block p {
  line-height: 1.6;
  font-size: 16px;
}

.contact-block p span {
  display: inline-block;
  position: relative;
  float: none;
  padding: 2px 6px;
}

.has-text-align-center {
  text-align: center;
}

@media screen and (max-width: 768px) {
  .entry-contents .contact__form th {
    width: 100%;
    float: none;
    display: block;
    border: none;
    padding: 10px 10px 10px 10px;
    display: flex;
    align-items: center;
  }

  .entry-contents .contact__form th .must {
    left: 10px;
    left: 0;
    position: relative;
    margin: 0 10px 0 0;
  }

  .contact__form td {
    width: 100%;
    float: none;
    display: block;
  }
}
