/***************************************** 採用ブランディングパック *****************************************/
.page .heading-title {
  padding-bottom: 0;
  position: relative;
  z-index: 1;
}
.page-contact {
  background-color: #a1d8e6;
  padding-bottom: 3rem;
}
.page-contact h3 {
  max-width: 350px;
  width: auto;
  margin: -2rem auto 0;
}
.page-contact .contact-block {
  background-color: #fffced;
  margin-top: -2rem;
  padding: 3rem 2rem;
  box-sizing: border-box;
}
.page-contact .contact-block p {
  line-height: 160%;
  text-align: justify;
}
.page-contact .wpcf7 form {
  padding-top: 2rem;
}
.page-contact .wpcf7 .con {
  padding-bottom: 2rem;
}
.page-contact .wpcf7 p.ttl {
  font-weight: bold;
  margin-bottom: 0.3rem;
}
.page-contact .wpcf7 p.ttl span.required {
  color: #fff;
  background-color: #d33216;
  font-size: 12px;
  padding: 0.2rem;
}
.page-contact .wpcf7 input.wpcf7-text,
.page-contact .wpcf7 textarea {
  width: 100%;
  border-color: #abdae5;
  box-sizing: border-box;
}
.page-contact .wpcf7 .mark {
  display: flex;
  justify-content: space-between;
  padding: 2rem;
  margin-bottom: 1rem;
  background-color: #fff;
}
.page-contact .wpcf7 .mark p:first-child {
  flex-basis: 90px;
}
.page-contact .wpcf7 .mark p:last-child {
  flex-basis: calc(100% - 120px);
}
.page-contact .wpcf7 .mark a {
  display: block;
  width: fit-content;
  margin-left: auto;
}
.page-contact .wpcf7 .mark a:hover {
  color: #d33216;
}
.page-contact .wpcf7 .wpcf7-checkbox,
.page-contact .wpcf7 .wpcf7-checkbox .wpcf7-list-item {
  display: flex;
  align-items: center;
}
.page-contact .wpcf7 .wpcf7-checkbox .wpcf7-list-item {
  margin-right: 1rem;
}
.page-contact .wpcf7 .wpcf7-checkbox .wpcf7-list-item input {
  margin-top: 0;
  margin-bottom: 0;
}
.page-contact .wpcf7 p.wpcf7c-elm-step2 {
  text-align: center !important;
  padding: 1rem 0 3rem;
  font-weight: bold;
}
.page-contact .wpcf7 p.submit {
  text-align: center !important;
}
.page-contact .wpcf7 input[type="submit"],
.page-contact .wpcf7 input[type="button"] {
  font-size: 18px;
  font-weight: bold;
  background-color: #171c61;
  color: #fff;
  background-image: unset;
  padding: 1rem 2rem;
  -webkit-transition: all 0.3s ease;
  -moz-transition: all 0.3s ease;
  -o-transition: all 0.3s ease;
  transition: all 0.3s ease;
}
.page-contact .wpcf7 input[type="submit"]:hover,
.page-contact .wpcf7 input[type="button"]:hover {
  background-image: unset;
  opacity: 0.7;
  filter: alpha(opacity=70);
  -ms-filter: "alpha(opacity=70)";
}
.screen-reader-response ul,
.wpcf7-response-output {
  display: none;
}
.screen-reader-response p,
span.wpcf7-not-valid-tip {
  color: #d33216;
  font-size: 14px;
  font-weight: bold;
}
@media screen and (max-width: 767px) {
  .page-contact {
    padding-bottom: 0;
  }
  .page-contact h3 {
    max-width: 200px;
    margin-top: 2rem;
  }
  .page-contact .contact-block {
    width: 100%;
    margin-top: -1rem;
  }
  .page-contact .wpcf7 .mark {
    display: block;
    padding-left: 1rem;
    padding-right: 1rem;
  }
  .page-contact .wpcf7 .mark p:first-child {
    width: 30%;
    margin: 0 auto 1rem;
  }
}
