@charset "UTF-8";

/* top */
.l-post--top {
  margin: 120px 0 0 auto;
}
.l-post__item--top {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
}
.l-post--top .l-post__item-wrap {
  width: 86%;
}
.l-post--top .l-post__ttl {
  padding: 0 45px;
  width: 14%;
  box-sizing: border-box;
  margin: 0;
}
.l-post--top .l-post__item--top a {
  padding: 20px 35px 20px 0;
  line-height: 1.5;
}

@media only screen and (max-width: 768px) {
  .l-post--top {
    margin: 80px 0 0 auto;
  }
  .l-post__item--top {
    padding: 30px 0 30px 25px;
  }
  .l-post--top .l-post__item-wrap {
    width: 100%;
  }
  .l-post--top .l-post__ttl {
    margin: 0 0 10px 0;
    width: 100%;
    padding: 0;
  }
  .l-post--top .l-post__item--top a {
    padding: 20px 45px 20px 0;
  }
  .l-post__item--top a::before {
    right: 15px;
  }
}
@media only screen and (max-width: 767px) {
  .l-post--top {
    margin: 40px 0 0 auto;
  }
  .l-post--top .l-post__item--top a {
    padding: 10px 45px 10px 0;
  }
}

/* contact fotm */
.p-contact__contcol--sel::before,
.p-contact__contcol--post::before {
  z-index: 10;
}

.wpcf7-list-item {
  font-size: 16px;
}

form.wpcf7-form .wpcf7-spinner {
  display: none !important;
}
form.wpcf7-form .wpcf7-not-valid-tip {
  position: absolute;
  left: 0;
}
form.wpcf7-form .p-contact__rec {
  width: 304px;
  margin: 0 auto 30px;
}

form.wpcf7-form .p-basic-block__dlcl {
  margin-bottom: 40px;
}
form.wpcf7-form .p-contact__scbox__dttl {
  font-size: 16px;
}
form.wpcf7-form .p-basic-block__ddcl,
form.wpcf7-form .p-basic-block__pitem {
  font-size: 14px;
}
form.wpcf7-form .p-basic-block__line {
  border-top: 1px solid #000;
  width: 80px;
  margin-bottom: 20px;
}
/* メッセージデザイン */
.wpcf7 form.sent .wpcf7-response-output {
  text-align: center;
  border-color: #0477c2 !important;
  background-color: #0477c2;
  color: #fff;
  border-radius: 60px;
  padding: 5px 20px;
  line-height: 1.5;
}
.wpcf7 form.failed .wpcf7-response-output,
.wpcf7 form.aborted .wpcf7-response-output {
  text-align: center;
  border-color: #dc3232; /* Red */
  background-color: #dc3232;
  color: #fff;
  border-radius: 60px;
  padding: 5px 20px;
  line-height: 1.5;
}
.wpcf7 form.spam .wpcf7-response-output {
  text-align: center;
  border-color: #f56e28; /* Orange */
  background-color: #f56e28;
  color: #fff;
  border-radius: 60px;
  padding: 5px 20px;
  line-height: 1.5;
}
.wpcf7 form.invalid .wpcf7-response-output,
.wpcf7 form.unaccepted .wpcf7-response-output,
.wpcf7 form.payment-required .wpcf7-response-output {
  text-align: center;
  border-color: #ffb900 !important;
  background-color: #ffb900;
  color: #fff;
  border-radius: 60px;
  padding: 5px 20px;
  line-height: 1.5;
}

@media only screen and (max-width: 768px) {
  .p-contact__contcol--hf p {
    display: flex;
    justify-content: space-between;
  }
  .p-contact__contcol--hf p .wpcf7-form-control-wrap {
    width: 48%;
  }
  .p-contact__contcol--hf input[type="text"],
  .p-contact__contcol--hf input[type="tel"],
  .p-contact__contcol--hf input[type="email"],
  .p-contact__contcol--hf textarea,
  .p-contact__contcol--hf select {
    width: 100%;
  }
}
