html{
  margin: 0;
}

body{
  margin: 0;
  font-size: 18px;
}

main{
  max-width: 750px;
  margin: 0 auto;
}

.section12{
  padding-bottom: calc(194px - 50px + 100px);
}

.wrapper{
  width: 100%;
  position: relative;
}

.wrapper::before{
  content: "";
  display: block;
  padding-top: calc(1250/750*100%);
}

.wrapper img{
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
}

.cta_section{
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  z-index: 5;
  width: 100%;
  max-width: 750px;
}

.cta_wrapper{
  width: 100%;
  font-size: 0;
}

.cta_wrapper img{
  width: 100%;
  fill: drop-shadow(0px 0px 10px rgba(0,0,0,.16));
}

.midashi_img_wrapper{
  width: 100%;
  position: relative;
}

.midashi_img_wrapper::before{
  content: "";
  display: block;
  padding-top: calc(215/750*100%);
}

.midashi_img_wrapper img{
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
}

.video_wrapper{
  width: 75%;
  margin: 50px auto 50px;
}

.video_wrapper video{
  width: 100%;
}

.page_section{
  padding: 150px 0;
}

/* .fadeUp {
  animation-name: fadeUpAnime;
  animation-duration: 1s;
  animation-delay: 0.5s;
  animation-fill-mode:forwards;
  opacity: 0;
}

@keyframes fadeUpAnime {
  from {
    opacity: 0;
    transform: translateY(100px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fadeUpTrigger{
  opacity: 0;
} */


.first_section{
  position: relative;
}

.first_section_cta_wrapper{
  display: block;
  width: 100%;
  height: 11%;
  position: absolute;
  bottom: 0;
  left: 0;
}


@media(max-width: 750px){

  main{
    max-width: 100%;
  }

  .section12{
    padding-bottom: calc(100vw*194/750 - 20px + 50px);
  }

  .cta_section{
    max-width: 100%;
  }

  .page_section{
    padding: 100px 0;
  }

}



/* contact css */

.contact_section{
  background-image: url(/wp-content/uploads/2023/09/contact_bg.png);
  background-size: cover;
}

.midashi_wrapper{
  text-align: center;
}

.midashi{
  margin: 0;
  font-size: 30px;
}

.midashi_txt{
  margin: 20px 0 0;
}

.contacnt_head_wrapper img,
.contacnt_head_tel_wrapper img,
.contacnt_head_form_wrapper img{
  width: 100%;
}

.contacnt_head_tel_wrapper{
  position: relative;
}

.contacnt_head_tel_wrapper a{
  display: block;
  width: 100%;
  padding-top: calc(97/750*100%);
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1;
}

.contact_wrapper{
  margin-top: 50px;
  margin-right: 10%;
  margin-left: 10%;
}

.contact_item{
  margin-bottom: 20px;
}

.contact_item:last-child{
  margin-bottom: 0;
}

.contact_item_label{
  margin: 0 0 5px;
  font-size: 23px;
  display: flex;
  align-items: center;
}

.must_symbol{
  background: #EB848A;
  color: #fff;
}

.contact_item_val input{
  width: 100%;
  height: 50px;
}

.contact_item_val input,
.contact_item_val textarea{
  border-radius: 5px;
  border: none;
  background: #fff;
  padding: 0px 10px;
  box-sizing: border-box;
  font-size: 18px;
  -webkit-appearance: none;
}

.contact_item_val textarea{
  width: 100%;
  height: 200px;
  padding: 10px; 
}

.contact_item p,
.contact_item_submit_wrapper p{
  margin: 0;
}

.contact_item_submit_wrapper{
  margin-top: 50px;
  text-align: center;
}

.contact_item_submit_wrapper input{
  width: 100%;
  height: 60px;
  background: #F5463B;
  box-sizing: border-box;
  border-radius: 50px;
  border: none;
  color: #fff;
  font-size: 21px;
}

.must_symbol,
.any_symbol{
  font-size: 13px;
  padding: 1px 3px;
  border-radius: 3px;
  display: inline-block;
  box-sizing: border-box;
  margin-left: 8px;
}

.any_symbol{
  background: #f1f1f1;
  color: #666;
}

.contact_item_warning{
  margin-top: 50px;
}

.contact_item_warning p{
  margin: 0;
}

.contact_item_submit_wrapper .wpcf7-spinner{
  display: none;
}


@media(max-width: 1000px) and (orientation: portrait){

  .contact_section{
    max-width: 100%;
    margin: 0 auto;
  }

}


@media(max-width: 670px){

  .contact_item_submit_wrapper input{
    width: 100%;
  }

  .contact_wrapper{
    margin-right: 5%;
    margin-left: 5%;
    margin-top: 30px;
  }

  .contact_item_label{
    font-size: 18px;
  }

  .contact_item_warning{
    font-size: 13px;
  }

  .contact_item_submit_wrapper{
    margin-top: 30px;
  }

  .contact_item_submit_wrapper input{
    font-size: 18px;
    height: 55px;
  }

}

/* contact css */