@charset "utf-8";
/* CSS Document */
.main {
  background-color: #fff;
}
.section-top__image {
  background-image: url("images/contact/contact_top.png")
}
.contact_information_block {
  margin: 0 auto;
  padding: 0;
  width: 1040px;
  height: 400px;
}
@media(max-width:1040px) {
  .contact_information_block {
    flex-direction: column-reverse;
    justify-content: flex-end;
    height: auto;
    width: 100vw;
    margin: 0 auto;
  }
}
@media(max-width:485px) {
  .contact_information_block {
    width: 100%;
  }
}
.discription {
  background-color: #eaeaea;
  width: auto;
  margin-right: calc(50% - 50vw);
  padding-right: calc(50vw - 50%);
  padding-top: 50px;
  padding-bottom: 50px;
}
.text {
  width: 935px;
  font-size: 22px;
  text-align: center;
  line-height: 43px;
  padding-bottom: 30px;
  padding-left: 50px;
}
.ad {
  font-size: 20px;
  font-weight: 600;
  text-align: center;
  line-height: 43px;
}
.title {
  font-size: 2.2rem;
  color: #0f0f0f;
  padding: 50px 0 30px;
  text-align: center;
}
@media(max-width:1040px) {
  .discription {
    margin-right: 0;
    padding-right: 0;
    padding-top: 30px;
    padding-bottom: 30px;
    width: 100%;
  }
  .text {
    width: auto;
    font-size: 15px;
    text-align: center;
    padding-left: 30px;
    padding-right: 30px;
  }
  .br-sp {
    display: none;
  }
  .ad {
    font-size: 17px;
  }
	.title {
    font-size: 2.0rem;
    padding: 30px 0 50px;
  }
}
@media(max-width:485px) {
  .discription {
    margin-top: 50px;
  }
  .text {
    text-align: left;
  }
  .br-sp {
    display: none;
  }
  .ad {
    font-size: 1.7rem;
  }
  
}
.form_description {
  margin-bottom: 50px;
}
.form_description table {
  margin: 0 auto;
}

.form_description th {
  text-align: left;
  align-content: center;
  font-size: 1.7rem;
  display: flex;
  justify-content: space-between;
}
.required {
  width: 50px;
  background-color: #ff0000;
  color: #fff;
  font-size: 1.3rem;
  float: right;
  text-align: center;
  margin: 0 30px;
}
.form-text {
  padding-left: 1em;
  margin: 20px;
  width: 450px;
  height: 50px;
  background-color: #eaeaea;
  border-radius: 10px;
  border-style: none;
}
input:focus {
  outline: 1px solid #0f0f0f;
}
textarea:focus {
  outline: 1px solid #0f0f0f;
}
placeholder {
  color: #eaeaea;
}
.text-content {
  padding: 1em 0 1em 1em;
  margin: 20px;
  width: 450px;
  background-color: #eaeaea;
  border-radius: 10px;
  border-style: none;
	vertical-align:middle;
}

@media(max-width:1040px) {
  .required {
    font-size: 1.3rem;
    padding: 0 10px;
    width: 35px;
  }
  .form-text {
    margin: 40px 0;
  }
}
@media(max-width:740px) {
  .form_description table {
    width: 300px;
    margin: 0 auto;
  }
  .form_description th {
    justify-content: normal;
		font-size: 1.5rem;
  }
  .form_description td {
    display: flex;
  }
  .form-text {
    width: 300px;
    margin: 20px 0;
  }
  .box {
    display: flex;
  }
  .text-content {
    width: 300px;
    display: flex;
    margin: 20px 0;
  }
}
@media(max-width:485px) {
  .form_description th {
    font-size: 1.5rem;
  }
}
a {
  color: #0f0f0f;
  font-size: 1.7rem;
}
@media(max-width:485px) {
  .privacy-link {
    font-size: 1.5rem;
  }
}
input[type="submit"] {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
}
span.wpcf7-spinner {
  display: none;
}
input[type="submit"] {
  margin: 0 auto;
  width: 300px;
  height: 60px;
  transition: 0.3s ease-in-out;
  background: #ff0000;
  border-radius: 50px;
  box-shadow: 0.2rem 0.2rem 0px 0.1rem #cccccc;
  border-style: none;
  letter-spacing: 15px;
  position: relative;
  display: flex;
  justify-content: space-around;
  align-items: center;
  font-size: 22px;
  color: #fff;
  margin-top: 30px;
}
input[type="submit"]:hover {
  transform: translate3d(0.2rem, 0.2rem, 0);
  box-shadow: none;
  opacity: 1;
  transition: all 0.2s;
}
input[type="submit"]:after {
  content: "";
  width: 10px;
  height: 10px;
  border-top: 10px solid #fff;
  border-right: 10px solid #fff;
  border-width: 5px;
  transform: rotate(45deg) translateY(-50%);
  position: absolute;
  right: 20px;
  border-radius: 1px;
  transition: 0.3s ease-in-out;
  margin-top: 12px;
  margin-right: 15px;
}
.wpcf7 form .wpcf7-response-output {
  margin: 2em 0.5em 1em;
  padding: 0.2em 1em;
  border: 2px solid #00a0d2;
}
.wpcf7 form.sent .wpcf7-response-output {
  border-color: #fff;
  color: #0014F9;
}