@charset "utf-8";

/**
* Project
**/

.p-contact {
  padding: 13.6rem 4rem 10rem;
}

@media only screen and (max-width: 767px) {
    .p-contact {
      padding: 5.375rem 1.25rem 0;
    }
}

.p-contact__inner {
  position: relative;
  max-width: 920px;
  width: 100%;
  margin: 0 auto;
}

.p-contact__txt {
  font-size: 1.4rem;
}

@media only screen and (max-width: 767px) {
    .p-contact__txt {
      font-size: 0.875rem;
      line-height: 2;
    } 
}

.p-contact__form {
  margin-top: 5.4rem;
}

@media only screen and (max-width: 767px) {
    .p-contact__form {
      margin-top: 1.875rem;
    } 
}

.p-contact__form form {
  display: flex;
  flex-wrap: wrap;
  column-gap: 4rem;
  row-gap: 3rem;
}

@media only screen and (max-width: 767px) {
    .p-contact__form form {
      row-gap: 1rem;
    }
}

.p-contact__form input[type="text"],
.p-contact__form input[type="email"],
.p-contact__form input[type="tel"],
.p-contact__form textarea {
  background-color: #fff;
  font-size: 1.4rem;
  border-radius: 2px;
  width: 100%;
  height: 100%;
  padding: 1.2rem 1.5rem;
}

@media only screen and (max-width: 767px) {
    .p-contact__form input[type="text"],
    .p-contact__form input[type="email"],
    .p-contact__form input[type="tel"],
    .p-contact__form textarea {
      font-size: 0.875rem;
      padding: 0.875rem 0.9375rem;
    } 
}

.p-contact__form input[type="text"]::placeholder,
.p-contact__form input[type="email"]::placeholder,
.p-contact__form input[type="tel"]::placeholder,
.p-contact__form textarea::placeholder {
  color: #999999;
  font-family: var(--font_family--en);
}

.p-contact__form input[type="checkbox"] {
  position: relative;
  width: 16px;
  height: 16px;
  background-color: #fff;
  border: 1px solid #999999;
  cursor: pointer;
  border-radius: 2px;
}

.p-contact__form input[type="checkbox"]:checked::before {
  content: '';
  width: 4px;
  height: 8px;
  border-right: 2px solid #000;
  border-bottom: 2px solid #000;
  position: absolute;
  top: 2px;
  left: 5px;
  transform: rotate(50deg);
}

.p-contact__name,
.p-contact__company,
.p-contact__email,
.p-contact__phone {
  width: 100%;
  max-width: 440px;
}

.p-contact__message {
  width: 100%;
  height: 160px;
}

.p-contact__consent {
  width: 100%;
  display: flex;
  align-items: center;
}

@media only screen and (max-width: 767px) {
    .p-contact__consent {
      justify-content: center;
      padding-top: 0.875rem;
    }
}

.p-contact__consent label {
  font-size: 1.4rem;
  padding-left: 1rem;
  cursor: pointer;
}

@media only screen and (max-width: 767px) {
    .p-contact__consent label {
      font-size: 0.875rem;
      padding-left: 0.625rem;
    }
}

.p-contact__consent label a {
  text-decoration: underline;
}

.p-contact__consent label a:hover {
  color: #767676;
}

.p-contact__submit {
  width: 100%;
  padding-top: 3rem;
}

@media only screen and (max-width: 767px) {
    .p-contact__submit {
      padding-top: 0.875rem;
      text-align: center;
    } 
}

.p-contact__submit input[type="submit"] {
  display: inline-block;
  max-width: 240px;
  width: 100%;
  padding: 1.2rem 2rem;
  font-size: 1.4rem;
  border: 1px solid var(--color_main);
  border-radius: 40px;
  text-align: center;
  transition-timing-function: cubic-bezier(.19,1,.22,1);
  transition-duration: .75s;
  font-family: var(--font_family--en);
  cursor: pointer;
  opacity: 0.3;
}

.p-contact__submit input[type="submit"].is-inactive {
  opacity: 0.3;
  pointer-events: none;
}

.p-contact__submit input[type="submit"].is-active {
  opacity: 1;
  pointer-events: auto;
}

@media only screen and (max-width: 767px) {
  .p-contact__submit input[type="submit"] {
      max-width: 200px;
      padding: 0.8rem 2rem;
      font-size: 0.875rem;
      border: 1px solid var(--color_main);
    }
}

.p-contact__submit input[type="submit"]:hover {
  color:  var(--color_bg);
  background: var(--color_main);
}

@media screen and (max-width: 960px) {
  .c-pageTtl__inner {
    border-bottom: 1px solid var(--color_border) !important;
  }
}

.wpcf7-spinner {
  display: none;
}

.wpcf7 form .wpcf7-response-output {
  border: 0;
}

.wpcf7 form.sent .wpcf7-response-output {
  /*display: none;*/
  border: 0;
  color: #4a4a44;
  text-align: left;
}

.screen-reader-response {
  margin-bottom: 20px;
}