@charset "UTF-8";


/* ---------- .contact ---------- */
.contact {
  padding: 5rem 1.5rem;
}
.contact-title h2 {
  width: 16rem;
  margin: 0 auto;
}
.contact-title h2 + p {
  font-size: 1.6rem;
  text-align: center;
  padding: 1rem 0 2rem;
}

.form-box {
  margin: 2rem auto;
}
.contact-form {
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 400;
  margin: 3rem auto;
}
.contact-form dt {
  width: 100%;
  color: var(--dbr);
  margin-bottom: 1rem;
}
.contact-form dt span {
  font-size: 1.2rem;
  background: var(--br);
  color: #fff;
  padding: 0.1rem 0.5rem 0.2rem;
  margin-left: 1em;
}
.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 p button {
  display: block;
  width: 100%;
  height: 8rem;
  margin: 3rem auto 0;
  background: #fff;
  color: var(--br);
  font-size: 1.8rem;
  text-align: center;
  border: 0.1rem var(--br) solid;
  border-radius: 5rem;
  position: relative;
  transition: .5s;
  cursor: pointer;
}
.contact-form p button::after {
  content: "";
  display: block;
  width: 2.1rem;
  height: 2.1rem;
  background: url(../img/icon-arrow.svg) no-repeat center center;
  position: absolute;
  top: 41%;
  right: 15%;
}
.contact-form p button:hover {
  background: var(--br);
  color: #fff;
}
.contact-form p button:hover::after {
  background-image: url(../img/icon-arrow-wh.svg);
}



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

.thanks-txt {
  max-width: 80rem;
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 400;
  margin: 3rem auto;
}
.case-tel {
  margin: 3rem auto;
}
.case-tel dl {
  font-size: 1.4rem;
  margin: 1rem 0 0 2rem;
}
.case-tel dd {
  padding-left: 3rem;
}

.thanks-txt a {
  display: block;
  max-width: 30rem;
  height: 5rem;
  padding-top: 0.8rem;
  margin: 3rem 0 0 auto;
  background: #fff;
  color: var(--br);
  text-align: center;
  border: 0.1rem var(--br) solid;
  border-radius: 3rem;
  position: relative;
  transition: .5s;
  cursor: pointer;
}
.thanks-txt a::after {
  content: "";
  display: block;
  width: 1.8rem;
  height: 1.8rem;
  background: url(../img/icon-arrow.svg) no-repeat center center;
  position: absolute;
  top: 30%;
  right: 15%;
}
.thanks-txt a:hover {
  background: var(--br);
  color: #fff;
}
.thanks-txt a:hover::after {
  background-image: url(../img/icon-arrow-wh.svg);
}



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

  /* ---------- .contact ---------- */
  .contact {
    padding: 7rem 1.5rem 0;
  }
  .contact-title h2 {
    width: 24rem;
  }
  .contact-title h2 + p {
    font-size: 1.8rem;
    text-align: center;
    padding: 2rem 0 4rem;
  }

  .form-box .lead-txt {
    text-align: center;
  }
  .contact-form {
    margin: 5rem auto;
  }
  .contact-form dl {
    display: flex;
    flex-wrap: wrap;
  }
  .contact-form dt {
    width: 30%;
    padding-top: 4rem;
  }
   .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: 2.1rem;
  }
  .contact-form p button::after {
    width: 2.1rem;
    height: 2.1rem;
    top: 38%;
  }




}



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

  /* ---------- .contact ---------- */
  .contact {
    padding: 0 1.5rem;
  }



}



/*----------------------------------------------------
PC用 1400
----------------------------------------------------*/
@media screen and (min-width:1400px) {
  
  .contact {
    max-width: 120rem;
    width: 90%;
    padding: 0;
    margin: 0 0 0 auto;
  }


}



/*----------------------------------------------------
PC用 1600
----------------------------------------------------*/
@media screen and (min-width:1600px) {
  
  .contact {
    width: 85%;
  }


}





