@charset "UTF-8";

:root {
  --ff-base: Avenir, "Open Sans", "Helvetica Neue", Helvetica, Arial, Verdana, Roboto, "游ゴシック", "Yu Gothic", "游ゴシック体", "YuGothic", "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "Meiryo UI", "メイリオ", Meiryo, "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;
}
.contact {
  color: #010101;
  font-size: 1.5rem;
  line-height: 1.5em;
}
.contact h1,.contact h2,.contact h3,.contact h4,.contact h5,.contact h6,.contact p,.contact a,.contact span {
  font-family: var(--ff-base);
}
.contact p {
  font-size: 1.5rem;
  line-height: 1.5em;
}
.contact p b {
  display: block;
}
.contact a {
  vertical-align: baseline;
}
.contact span,
.contact small {
  vertical-align: baseline;
}
.contact article {
  margin: auto;
  padding: 20px;
  max-width: 950px;
}
.contact .title {
  text-align: center;
  background-color: #1258CE;
  padding: 20px;
  margin: 20px 0 0;
}
.contact .title h2 {
  font-size: 2rem;
  color: #fff;
}
.contact .table_box {
  background: #E9F0EE;
  padding: 3% 5%;
  margin-top: 0;
}
.contact .table_box dl {
  font-family: var(--ff-base);
}
.contact .table_box dl + * {
  margin-top: 13px;
}
.contact .table_box dl:last-child br {
  display:none;
}
.contact .table_box dt {
  display: inline-block;
  font-weight: bold;
  width: 24%;
  font-size: 1.4rem;
  padding: 0% 2% 0 0;
  vertical-align: middle;
}
.contact .table_box dd {
  display: inline-block;
  width: 74%;
  padding: 0;
  vertical-align: middle;
}
.contact .table_box dd.oneBox {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: baseline;
}
.contact .table_box dd span {
  /* display: table-cell; */
}
.contact .table_box dd span.w20 {
  width: 40%;
  padding-right: 10px;
}
.contact .table_box input[type="text"], 
.contact .table_box input[type="email"],
.contact .table_box input[type="tel"] {
  font-family: var(--ff-base);
  display: block;
  font-size: 1.4rem;
  font-weight: normal;
  border-color: #f4f4f5;
  border-radius: 0%;
  width: 100%;
  height: 2em;
  padding: 5px;
  box-sizing: border-box;
  border: none;
}
.contact input::placeholder { 
  color: #ddd;
}
.contact .table_box dd span.mwform-checkbox-field {
  display: block;
  margin: 0;
}
.contact .table_box .mwform-checkbox-field input, 
.contact .table_box .mwform-radio-field input {
  margin-right: 2px;
}
.contact .pp_box {
  margin: 2% 0;
}
.contact .pp_box p {
  text-align: center;
  font-size: 1.5rem;
  margin-bottom: 1%;
}
.contact .pp_box p a {
  color: #1258CE;
  text-decoration: underline;
  vertical-align: baseline;
}
.contact .btnBox {
  margin: 4% 0 6%;
  text-align: center;
}
.contact .btnBox input[type="submit"].submitBtn,
.contact .btnBox button[type="submit"].submitBtn {
  width: 278px;
  line-height: 62px;
  color: #fff;
  letter-spacing: 0.2em;
  text-align: center;
  border-radius: 40px;
  background: #1258CE;
  opacity: 1;
  margin: 0 2%;
  font-size: 1.8rem;
  cursor: pointer;
  transition: all 0.3s ease-in;
  border: none;
}
.contact .btnBox input[type="submit"].submitBtn:hover,
.contact .btnBox button[type="submit"].submitBtn:hover {
  opacity: 0.7;
}
.contact .line_box {
  border: 1px solid #1258CE;
  max-width: 540px;
  margin: 3% auto 6%;
  padding: 20px;
}
.contact .line_box h3 {
  font-size: 2.4rem;
  color: #1258CE;
  font-weight: bold;
  line-height: 1.2em;
  margin-bottom: 5px;
}
.contact .line_box h3 + p {
  margin-bottom: 5px;
}
.contact .line_box p.tel {
  font-size: 2.6rem;
  line-height: 1.1em;
  text-align: left;
}
.contact .line_box span.tel-link {
  font-size: 3rem;
  margin: 0 0 0 10px;
  font-weight: 500;
}
.contact .line_box p.tel small {
  font-weight: 500;
}
.contact .showSP {
  display: none;
}
.formStyle01 textarea {
  border-color: #f4f4f5;
  border-radius: 0%;
  width: 100%;
  max-height: 300px;
  padding: 5px;
  box-sizing: border-box;
  resize: vertical;
}
.contact .end_box {
  padding: 20px 0;
}
.mw_wp_form .error {
  margin: 0.5em 0 0;
  font-weight: bold;
}


@media screen and (max-width: 768px) {
  .contact .table_box dd span.w20 {
    width: 100%;
    padding-right: 0;
  }
  .contact .table_box dd span.w20 input {
    margin-bottom: 5px;
  }

}

@media screen and (max-width: 640px) {
  .contact .table_box {
    padding: 5%;
  }
  .contact .table_box dl + * {
    margin-top: 20px;
  }
  .contact .table_box dt {
    display: block;
    width: auto;
    font-size: 1.8rem;
    padding: 0;
    margin-bottom: 10px;
  }
  .contact .table_box dd {
    display: block;
    width: auto;
  }
  .contact .table_box dl.check_box br {
    display: none;
  }
  .contact .line_box {
    max-width: none;
    margin: 0;
  }
  .contact .line_box p.tel {
    font-size: 2.2rem;
  }
  .contact .fs16{
		font-size: 27px !important;
  }
  .contact input::placeholder { 
    font-size: 1.8rem;
  }
  
}