@charset "UTF-8";

/* ==== root ========================== */
:root {
  --color-black: #555555;
  --color-white: #ffffff;
  --color-primary: #FF7F00;
  --color-bg: #F2F2F2;

  --noto-sans: "Noto Sans JP", serif;
  --shippori-m: "Shippori Mincho B1", serif;
  --montserrat: "Montserrat", sans-serif;

}


/*================================================
 * #subVisual
 ================================================*/
#subVisual::before {
  background-image: url(../../images/contact/sub_vis.jpg);
  background-position: center top;
}

@media screen and (max-width:767px) {}


/*================================================
 * intro
 ================================================*/
#intro::before {
  position: absolute;
  content: "";
  width: 0vw;
  height: 29rem;
  background: var(--color-white);
  right: 0;
  top: 6rem;
  z-index: -1;
  max-width: 1380px;
  transition: all .5s ease .8s;
}
#intro.started::before {
  width: 65vw;
}

#intro p {
  width: 55rem;
  margin: 0 auto;
  line-height: 2;
  position: relative;
}

#intro p::before {
  position: absolute;
  content: "";
  width: 0.1rem;
  height: 28rem;
  background: var(--color-black);
  left: -4rem;
  bottom: 0;
  z-index: -1;
}

@media screen and (max-width:767px) {
  #intro::before {
    width: 86vw;
    height: 25rem;
  }

  #intro p {
    width: 34.5rem;
  }

  #intro p::before {
    height: 20rem;
    left: 0rem;
    bottom: 21rem;
  }
}



/*================================================
 *  contact
 ================================================*/


#contact .wrap {
  width: 60rem;
}

#contact .wrap h2 {
  text-align: center;
  font-weight: 900;
  letter-spacing: 0.1em;
  font-size: 2.5rem;
  position: relative;
  padding: 7rem 0;
}

#contact .wrap h2:nth-of-type(2) {
  margin-top: 7rem;
  position: relative;
}

#contact .wrap h2:nth-of-type(2)::after {
  position: absolute;
  content: "";
  width: 51rem;
  height: 0.1rem;
  background: var(--color-black);
  left: 50%;
  transform: translateX(-50%);
  top: 0;
}

#contact .wrap h2::before {
  position: absolute;
  content: "";
  width: 0.1rem;
  height: 5rem;
  background: var(--color-black);
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
}

#contact .wrap .tel_link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: -webkit-fit-content;
  width: -moz-fit-content;
  width: fit-content;
  margin: 2rem auto 0.5rem;
  font-weight: 900;
  gap: 1rem;
  letter-spacing: 0.1em;
  font-size: 3.1rem;
}

#contact .wrap .tel_link img {
  width: 2.7rem;
}

.form_wrap {
  font-size: 1.5rem;
  font-weight: 500;
  margin-top: 3rem;
}

.form_wrap dt {
  font-weight: 500;
  padding-left: 1rem;
}

.form_wrap dt span {
  width: 2rem;
  height: 2rem;
  background: #EF5353;
  border-radius: 1000px;
  display: inline-block;
  margin-left: 1rem;
}

.form_wrap dd {
  margin-top: 0.5rem;
  margin-bottom: 2rem;
}

.form_wrap dd input,
.form_wrap dd textarea {
  display: block;
  background: var(--color-white);
  width: 100%;
  height: 5rem;
  padding: 0.5rem 1rem;
  font-size: 1em;
  font-family: var(--noto-sans);
  color: var(--color-black);
  font-weight: 400;
}

.form_wrap dd textarea {
  height: 25rem;
}

.policycheck {
  text-align: center;
  margin: 3rem 0;
}

.policycheck label {
  cursor: pointer;
}

.policycheck a {
  text-decoration: underline;
  font-size: 1.5rem;
  font-weight: 500;
  display: inline-block;
}

.policycheck input {
  width: 1.5rem;
  height: 1.5rem;
  display: inline-block;
  margin-right: 1rem;
}


input.submitbutton {
  width: 17rem;
  height: 4rem;
  background: var(--color-black);
  border-radius: 1000px;
  display: grid;
  place-content: center;
  color: var(--color-white);
  font-size: 1.4rem;
  font-weight: 600;
  text-align: center;
  margin: 0 auto;
}

.wpcf7 form.invalid .wpcf7-response-output,
.wpcf7 form.unaccepted .wpcf7-response-output,
.wpcf7 form.payment-required .wpcf7-response-output {
  text-align: center;
}

@media screen and (max-width:767px) {
  #contact .wrap {
    width: 34.5rem;
  }

  #contact .wrap h2:nth-of-type(2)::after {
    width: 32rem;
  }
}



/*================================================
 * thanks
 ================================================*/
#thanks {
  padding-top: 17rem;
}

#thanks .wrap {
  width: 82rem;
}

#thanks h2 {
  text-align: center;
  font-family: var(--shippori-m);
  font-size: 2.9rem;
  margin-bottom: 3rem;
}

#thanks p {
  text-align: center;
  line-height: 2;
}
#thanks ul {
  display: grid;
  gap: 4.5rem;
  grid-template-columns: repeat(2, 1fr);
  margin: 5rem 0;
}


#thanks ul li a .thumb {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
}

#thanks ul li a img {
  border-radius: 1rem;
  overflow: hidden;
  object-fit: cover;
  aspect-ratio: 502 / 252;
}

#thanks ul li a h3 {
  position: absolute;
  top: 50%;
  left: 2rem;
  transform: translateY(-50%);
  font-size: 1.5rem;
  line-height: 1.3;
  font-weight: 600;
}


#thanks ul li a h3 span {
  font-size: 4.7rem;
  display: block;
  font-family: var(--montserrat);
  font-weight: 600;
}

#thanks ul li a h3.wt {
  color: var(--color-white);
}
#thanks .btnArea a {
  margin: 0 auto;
}


@media screen and (max-width:767px) {
  #thanks .wrap {
    width: 34.5rem;
  }

  #thanks p {
    text-align: left;
  }

  #thanks ul {
    gap: 1.5rem;
    grid-template-columns: repeat(1, 1fr);
    margin: 5rem 0;
  }
}