@charset "UTF-8";

/* ---------------
.contact SP
---------------- */

.contact-title {
  background: #28292b;
  text-align: center;
  line-height: 1;
  padding: 15rem 0 5rem;
}
.contact-title h2 {
  color: #f1f1f1;
  font-size: 2.4rem;
}
.contact-title h2 + p {
  color: #c9c9c9;
  font-size: 1.4rem;
  margin-top: 2rem;
}

.form-box {
  background: #f1f1f1;
  color: #28292b;
  line-height: 1;
  padding: 5rem 0 10rem;
}
.form-box p.lead-txt {
  font-size: 1.6rem;
  text-align: center;
  margin-bottom: 5rem;
}

.contact-form {
  max-width: 60rem;
  margin: 0 auto;
}
.contact-form dt {
  width: 100%;
  margin-bottom: 1.5rem;
}
.contact-form dt span {
  background: #2d3814;
  color: #fff;
  font-size: 1.2rem;
  padding: 0.3rem 0.6rem;
  margin-left: 1rem;
}
.contact-form dd {
  width: 100%;
}
.contact-form dd input,
.contact-form dd textarea {
  width: 100%;
  height: 5rem;
  background: #fff;
  font-family: "Noto Sans JP", sans-serif;
  padding: 3rem 2.5rem;
  border: 0.1rem #aaa solid;
  border-radius: 0.5rem;
  margin-bottom: 2rem;
}
.contact-form dd textarea {
  height: 15rem;
}
.contact-form dd input::placeholder,
.contact-form dd textarea::placeholder {
  color: #999;
}

.contact-form p button {
  display: block;
  width: 100%;
  height: 8rem;
  margin: 3rem auto 0;
  background: #fff;
  font-size: 1.8rem;
  text-align: center;
  border: 0.1rem #aaa solid;
  border-radius: 5rem;
  position: relative;
  transition: .5s;
}
.contact-form p button::before {
  content: "";
  display: block;
  width: 1.8rem;
  height: 0.2rem;
  background: #28292b;
  position: absolute;
  top: 50%;
  right: 15%;
  transform: translateY(-50%);
}
.contact-form p button::after {
  content: "";
  display: block;
  width: 1.3rem;
  height: 1.3rem;
  border-top: 0.2rem #28292b solid;
  border-right: 0.2rem #28292b solid;
  position: absolute;
  top: 41%;
  right: 15%;
  transform: rotate(45deg);
}
.contact-form p button:hover {
  background: #28292b;
  border-color: #28292b;
  color: #fff;
}
.contact-form p button:hover::before {
  background: #fff;
}
.contact-form p button:hover::after {
  border-color: #fff;
}



/* ----- thanksページ ----- */

.form-box.thanks p {
  max-width: 50rem;
  font-size: 1.6rem;
  line-height: 1.5;
  margin: 0 auto 1rem;
}
.form-box.thanks p a {
  color: #28292b;
}
.form-box.thanks p.lead-txt {
  margin-bottom: 5rem;
}
.form-box.thanks p.back {
  font-size: 1.6rem;
  text-align: center;
  margin-top: 8rem;
}
.form-box.thanks p.back a {
  display: inline-block;
  background: #fff;
  padding: 1.5rem 5rem 1.5rem 8rem;
  border: 0.1rem #aaa solid;
  border-radius: 5rem;
  position: relative;
  opacity: 1;
  transition: .5s;
}
.form-box.thanks p.back a::before {
  content: "";
  display: block;
  width: 1.2rem;
  height: 0.2rem;
  background: #28292b;
  position: absolute;
  top: 50%;
  left: 20%;
  transform: translateY(-50%);
}
.form-box.thanks p.back a::after {
  content: "";
  display: block;
  width: 0.8rem;
  height: 0.8rem;
  border-top: 0.2rem #28292b solid;
  border-left: 0.2rem #28292b solid;
  position: absolute;
  top: 40%;
  left: 20%;
  transform: rotate(-45deg);
}
.form-box.thanks p.back a:hover {
  background: #28292b;
  border-color: #28292b;
  color: #fff;
}
.form-box.thanks p.back a:hover::before {
  background: #fff;
}
.form-box.thanks p.back a:hover::after {
  border-color: #fff;
}



/*----------------------------------------------------
タブレット用 750- 
----------------------------------------------------*/
@media screen and (min-width:750px) {

  /* ---------------------------
  .contact TB/PC
  -------------------------------*/

  .contact-title {
    padding: 18rem 0 7rem;
  }
  .contact-title h2 {
    font-size: 5.2rem;
  }
  .contact-title h2 + p {
    font-size: 1.8rem;
    margin-top: 2.8rem;
  }

  .form-box {
    padding: 10rem 0;
  }
  .form-box p.lead-txt {
    font-size: 1.8rem;
    margin-bottom: 7rem;
  }

  .contact-form {
    max-width: none;
  }
  .contact-form dl {
    display: flex;
    flex-wrap: wrap;
  }
  .contact-form dt {
    width: 30%;
    padding-top: 4rem;
  }
  .contact-form dt span {
    padding: 0.6rem;
  }
  .contact-form dd {
    width: 70%;
  }
  .contact-form dd input,
  .contact-form dd textarea {
    height: 10rem;
    padding: 4.1rem 4.7rem;
  }
  .contact-form dd textarea {
    height: 20rem;
  }

  .contact-form p button {
    width: 60rem;
    height: 10rem;
    margin: 5.5rem auto 0;
    font-size: 2rem;
  }
  .contact-form p button::before {
    width: 2.1rem;
    right: 13rem;
  }
  .contact-form p button::after {
    width: 1.7rem;
    height: 1.7rem;
    right: 13.1rem;
  }



  /* ----- thanksページ ----- */
  .form-box.thanks p.lead-txt {
    margin-bottom: 7rem;
  }

  


}



/*----------------------------------------------------
PC / タブレット用 1000- 
----------------------------------------------------*/
@media screen and (min-width:1000px) {

  .form-box {
    padding: 15rem 0;
  }
  .form-box p.lead-txt {
    font-size: 2rem;
    margin-bottom: 10rem;
  }

  .contact-title {
    padding: 28.5rem 0 7rem;
  }

  .contact-form dt {
      font-size: 1.8rem;
    }
  .contact-form dt span {
    margin-left: 1.5rem;
  }
  .contact-form dd input,
  .contact-form dd textarea {
    font-size: 1.8rem;
  }



  /* ----- thanksページ ----- */

  .form-box.thanks p.lead-txt {
    font-size: 2.1rem;
  }
  .form-box.thanks p {
    font-size: 1.8rem;
  }


}

