.contact.page {
  position: relative;
  padding: 20rem 2.4rem;
}
@media only screen and (max-width: 860px) {
  .contact.page {
    padding: 16rem 2rem 8rem;
  }
}
.contact.page .mv h1 {
  font-size: 3.5rem;
  line-height: 1;
}
.contact.page .mv .text {
  margin-top: 1.6rem;
  margin-left: auto;
  width: 55%;
}
.contact.page .mv .text .ja {
  margin-bottom: 4.8rem;
}
@media only screen and (max-width: 860px) {
  .contact.page .mv h1 {
    font-size: 3rem;
  }
  .contact.page .mv .text {
    margin-top: 8rem;
    width: 100%;
  }
  .contact.page .mv .text .ja {
    margin-bottom: 3.5rem;
  }
}
.contact.page .form {
  margin-top: 8rem;
  padding-top: 8rem;
  border-top: 1px solid rgba(0, 0, 0, 0.4);
}
.contact.page .form .text {
  width: 20%;
}
.contact.page .form .text .wrap {
  margin-bottom: 4.8rem;
}
.contact.page .form .text .wrap span {
  display: block;
  font-size: 1.2rem;
}
.contact.page .form .text .wrap a {
  display: inline-block;
  margin-top: 1.2rem;
}
.contact.page .form .cf7 {
  width: 55%;
}
.contact.page .form .cf7 .caution {
  position: relative;
  display: block;
  padding-left: 0.8rem;
  padding-bottom: 3.5rem;
  font-size: 1.3rem;
  border-bottom: 1px solid rgba(0, 0, 0, 0.2);
}
.contact.page .form .cf7 .caution:after {
  content: "*";
  position: absolute;
  top: 0;
  left: 0;
  color: #DA4848;
}
.contact.page .form .cf7 .item {
  padding: 3.5rem 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.2);
}
.contact.page .form .cf7 .item .heading {
  display: inline-block;
}
.contact.page .form .cf7 .item .heading.required {
  position: relative;
}
.contact.page .form .cf7 .item .heading.required:after {
  content: "*";
  position: absolute;
  top: 0;
  right: -1rem;
  color: #DA4848;
}
.contact.page .form .cf7 .item p {
  display: flex;
  justify-content: space-between;
}
.contact.page .form .cf7 .item .wpcf7-form-control-wrap {
  display: block;
  width: 70%;
}
.contact.page .form .cf7 .item input, .contact.page .form .cf7 .item textarea {
  width: calc(100% - 1.6rem);
  background: none !important;
  background-color: transparent !important;
  box-shadow: none !important;
  outline: none !important;
}
.contact.page .form .cf7 .item input:-webkit-autofill,
.contact.page .form .cf7 .item textarea:-webkit-autofill {
  box-shadow: 0 0 0px 1000px #efefef inset !important;
  -webkit-text-fill-color: #000000 !important;
}
.contact.page .form .cf7 .item select {
  width: 100%;
}
.contact.page .form .cf7 .privacy {
  margin-top: 4.8rem;
}
.contact.page .form .cf7 .privacy input[type=checkbox] {
  display: none;
}
.contact.page .form .cf7 .privacy .wpcf7-list-item {
  position: relative;
  margin: 0;
}
.contact.page .form .cf7 .privacy .wpcf7-list-item:before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  display: block;
  margin: auto;
  width: 20px;
  height: 20px;
  border: 1px solid rgba(0, 0, 0, 0.2);
  border-radius: 1px;
  z-index: 0;
}
.contact.page .form .cf7 .privacy .wpcf7-list-item-label {
  position: relative;
  display: block;
  margin: auto;
  padding-left: 35px;
  z-index: 1;
}
.contact.page .form .cf7 .privacy .wpcf7-list-item-label:before, .contact.page .form .cf7 .privacy .wpcf7-list-item-label:after {
  content: "";
  position: absolute;
  display: block;
  margin: auto;
  height: 1px;
  background-color: rgb(1, 1, 1);
  border-radius: 2px;
  opacity: 0;
}
.contact.page .form .cf7 .privacy .wpcf7-list-item-label:before {
  top: 7px;
  left: 2px;
  bottom: 0;
  width: 8px;
  transform: rotate(50deg);
}
.contact.page .form .cf7 .privacy .wpcf7-list-item-label:after {
  top: 1px;
  left: 5px;
  bottom: 0;
  width: 16px;
  transform: rotate(-50deg);
}
.contact.page .form .cf7 .privacy input[type=checkbox]:checked + .wpcf7-list-item-label:before,
.contact.page .form .cf7 .privacy input[type=checkbox]:checked + .wpcf7-list-item-label:after {
  opacity: 1;
}
.contact.page .form .cf7 .wpcf7-not-valid-tip {
  display: block;
  display: none;
  width: 100%;
  font-size: 1.2rem;
  color: #DA4848;
}
.contact.page .form .cf7 .submit {
  position: relative;
  display: block;
  margin-top: 6rem;
  opacity: 0.6;
  pointer-events: none;
}
.contact.page .form .cf7 .submit .wpcf7-spinner {
  display: none;
}
.contact.page .form .cf7 .submit input,
.contact.page .form .cf7 .submit button {
  display: block;
  padding: 2rem 0;
  width: 42%;
  color: #ffffff;
  text-align: center;
  background-color: rgba(0, 0, 0, 0.8);
  border-radius: 0.3rem;
}
.contact.page .form .cf7 .submit.active {
  opacity: 1;
  pointer-events: auto;
}
.contact.page .form .cf7 .success {
  display: none;
  margin-top: 2.4rem;
}
.contact.page .form .cf7 .success.show {
  display: block;
}
.contact.page .form .cf7 .attention {
  display: block;
  margin-top: 2.4rem;
  font-size: 1.2rem;
  color: rgba(0, 0, 0, 0.6);
}
.contact.page .form .cf7 .attention a {
  font-size: 1.2rem;
  color: rgba(0, 0, 0, 0.6);
  text-decoration: underline;
}
.contact.page .form .cf7 .wpcf7-response-output {
  display: none;
}
@media only screen and (max-width: 860px) {
  .contact.page .form {
    margin-top: 4.8rem;
    padding-top: 4.8rem;
  }
  .contact.page .form .text {
    display: none;
    margin-top: 8rem;
    padding-top: 4.8rem;
    width: 100%;
    border-top: 1px solid rgba(0, 0, 0, 0.4);
    order: 1;
  }
  .contact.page .form .text .wrap {
    margin-bottom: 3.5rem;
  }
  .contact.page .form .text .wrap span {
    font-size: 1.2rem;
  }
  .contact.page .form .text .wrap a {
    margin-top: 0.4rem;
    margin-right: auto;
  }
  .contact.page .form .cf7 {
    width: 100%;
  }
  .contact.page .form .cf7 .caution {
    margin-bottom: 2rem;
    font-size: 1.2rem;
  }
  .contact.page .form .cf7 .item {
    padding: 2.4rem 0;
  }
  .contact.page .form .cf7 .item .heading {
    margin-bottom: 2rem;
  }
  .contact.page .form .cf7 .item p {
    display: block;
  }
  .contact.page .form .cf7 .item .wpcf7-form-control-wrap {
    width: 100%;
  }
  .contact.page .form .cf7 .item input, .contact.page .form .cf7 .item textarea {
    width: 100%;
  }
  .contact.page .form .cf7 .privacy .wpcf7-list-item:before {
    width: 16px;
    height: 16px;
  }
  .contact.page .form .cf7 .privacy .wpcf7-list-item-label {
    padding-left: 25px;
    font-size: 1.2rem;
  }
  .contact.page .form .cf7 .privacy .wpcf7-list-item-label:before {
    top: 6px;
    width: 6px;
  }
  .contact.page .form .cf7 .privacy .wpcf7-list-item-label:after {
    top: 0;
    width: 12px;
  }
  .contact.page .form .cf7 .privacy .wpcf7-not-valid-tip {
    font-size: 1rem;
  }
  .contact.page .form .cf7 .submit {
    margin-top: 6rem;
  }
  .contact.page .form .cf7 .submit input,
  .contact.page .form .cf7 .submit button {
    padding: 2rem 0;
    width: 100%;
  }
  .contact.page .form .cf7 .attention {
    font-size: 1.1rem;
  }
  .contact.page .form .cf7 .attention a {
    font-size: 1.1rem;
  }
  .contact.page .form .cf7 .wpcf7-response-output {
    display: none;
  }
}