@charset "UTF-8";
.ttl_main.contact h1 {
  background: linear-gradient(-90deg, rgba(0, 0, 0, .1) 50%, rgba(0, 0, 0, .9)) 50%, url(../img/ttl_contact.jpg) no-repeat center center / cover;
}
.contact h3 {
  font-size: 18px;
  margin: 0;
}
.contact .p {
  margin-bottom: 30px;
}
.contact .p.p02 {
  color: #aaa;
}
.contact .p .required {
  margin: 0 5px 0 0;
}
.contact dl {
  margin: 0;
  margin-bottom: 30px;
}
.contact dl dt {
  font-weight: 500;
  margin-bottom: 10px;
}
.contact dl dd {
  margin: 0;
  font-size: 16px;
}
.contact dl dd .input {
  font-family: "Noto Sans Japanese";
  font-weight: 300;
  width: 96%;
  font-size: 16px;
  padding: 20px 2%;
  outline: none;
  border: solid 1px #ccc;
  background-color: #fff;
  border-radius: 0;
}
.contact dl dd textarea {
  font-family: "Noto Sans Japanese";
  font-weight: 300;
  width: 96%;
  font-size: 16px;
  padding: 20px 2%;
  outline: none;
  border: solid 1px #ccc;
  background-color: #fff;
  border-radius: 0;
  display: block;
  height: 150px;
}
.contact .required {
  color: #aaa;
  font-size: 20px;
  font-weight: 300;
  margin-left: 5px;
}
::placeholder {
  color: #aaa;
}
/*セレクト*/
.contact .select {
  width: 100%;
}
.contact .select select {
  width: 100%;
}
.contact .select select {
  font-family: "Noto Sans Japanese";
  font-weight: 300;
  font-size: 16px;
  padding: 20px 2%;
  outline: none;
  border: solid 1px #ccc;
  background-color: #fff;
  border-radius: 0;
  -moz-appearance: none;
  -webkit-appearance: none;
  appearance: none;
}
.contact .select select::-ms-expand {
  display: none;
}
.contact .select {
  position: relative;
}
.contact .select:after {
  content: "";
  width: 7px;
  height: 7px;
  display: inline-block;
  border-top: 2px solid #000;
  border-right: 2px solid #000;
  position: absolute;
  top: 20%;
  right: 2%;
  -webkit-transform: rotate(135deg);
  transform: rotate(135deg);
  -webkit-transition: 0.4s ease-in-out;
  transition: 0.4s ease-in-out;
  pointer-events: none;
}
.contact .select select:hover {
  cursor: pointer;
}
/*チェックボックス*/
.contact .check_box input[type="checkbox"] {
  display: none;
}
.contact .check_box label {
  padding-left: 30px;
  display: inline-block;
  position: relative;
  cursor: pointer;
}
.contact .check_box label::before {
  border: solid 1px #ccc;
  background-color: #fff;
  border-radius: 0;
  content: '';
  display: block;
  height: 18px;
  left: 0;
  margin-top: -9px;
  position: absolute;
  top: 50%;
  width: 18px;
}
.contact .check_box label::after {
  border-right: 2px solid #000;
  border-bottom: 2px solid #000;
  content: '';
  display: block;
  height: 10px;
  left: 6.5px;
  margin-top: -6.5px;
  opacity: 0;
  position: absolute;
  top: 50%;
  transform: rotate(45deg);
  width: 5px;
}
.contact .check_box input[type=checkbox]:checked + label::after {
  opacity: 1;
}
.contact p.check_box {
  text-align: center;
  margin: 35px auto 40px;
}
.contact p.check_box a {
  color: #000;
}
.contact .btn_box {
  display: flex;
  justify-content: center;
  margin: 40px auto 0;
}
.contact .submit {
  font-family: "Noto Sans Japanese";
  font-weight: 300;
  width: 100%;
  color: #fff;
  background: no-repeat;
  border: none;
  padding: 15px 0 17px;
  text-align: center;
  font-size: 15px;
  cursor: pointer;
  outline: none;
}
.contact .btn {
  width: 40%;
  margin: 0 3%;
  background: linear-gradient(45deg, rgba(52, 52, 52, 1), rgba(149, 149, 149, 1), rgba(52, 52, 52, 1));
  background-position: 1% 50%;
  background-size: 200% auto;
  transition: all .3s;
}
.contact .btn:hover {
  opacity: 1;
  background-position: 99% 50%;
  transition: all .3s;
}
.contact .btn_top a {
  font-family: "Noto Sans Japanese";
  font-weight: 300;
  display: block;
  text-decoration: none;
  color: #fff;
  width: 40%;
  margin: 0 auto;
  background: linear-gradient(45deg, rgba(52, 52, 52, 1), rgba(149, 149, 149, 1), rgba(52, 52, 52, 1));
  background-position: 1% 50%;
  background-size: 200% auto;
  text-align: center;
  padding: 15px 0 17px;
}
.contact .btn_top a:hover {
  opacity: 1;
  background-position: 99% 50%;
}
p.error_messe {
  margin: 5px 0;
  color: #96202f;
}
p.error {
  color: #96202f;
}
@media screen and (max-width:1050px) {
  .contact .p {
    margin-bottom: 20px;
  }
  .contact dl {
    margin-bottom: 20px;
  }
  .contact dl dd .input {
    width: 90%;
    padding: 15px 5%;
  }
  .contact dl dd textarea {
    width: 90%;
    height: 100px;
    padding: 15px 5%;
  }
  .contact .select select {
    padding: 15px 5%;
  }
  .contact .select:after {
    right: 5%;
  }
  .contact p.check_box {
    margin: 25px auto 30px;
  }
  .contact .btn_box {
    margin: 30px auto 0;
  }
  .contact .btn {
    width: 40%;
  }
  .contact .btn_top a {
    width: 40%;
  }
  input[type="reset"] {
    -webkit-appearance: none;
  }
  input[type="submit"] {
    -webkit-appearance: none;
  }
  input[type="button"] {
    -webkit-appearance: none;
  }
}