@charset "utf-8";
/* CSS Document */

@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP&display=swap');

/*** all ***/

*:focus {
  outline:none;
}
html{
  font-size: 16px;
}
body{
  -webkit-text-size-adjust: 100%;
	line-height: 1.5;
  letter-spacing: 0;
}
body, .font_sans-serif{
	font-family: 'Noto Sans JP', "游ゴシック Medium", "游ゴシック体", "Yu Gothic Medium", YuGothic,"ヒラギノ角ゴ ProN", "Hiragino Kaku Gothic ProN", "メイリオ", Meiryo, "ＭＳ Ｐゴシック", "MS PGothic",  sans-serif;
}

h2, h3, h4, h5, h6{
  line-height: 1.5;
}

input[type="submit"], input[type="button"] {
  border-radius: 0;
  -webkit-box-sizing: content-box;
  -webkit-appearance: button;
  appearance: button;
  border: none;
  box-sizing: border-box;
  cursor: pointer;
}
input[type="submit"]::-webkit-search-decoration, input[type="button"]::-webkit-search-decoration {
  display: none;
}
input[type="submit"]::focus, input[type="button"]::focus {
  outline-offset: -2px;
}
textarea{
  overflow: auto
}

/*---------------------------------------------------------------------------*/

#wrap{
  max-width: 562.5px;
  margin: 0 auto;
}

.cta{
  margin-top: -50px;
}

.img3{
  margin-top: -70px;
}

#form_box{
  box-shadow: 5px 5px 0 #222;
  margin-top: -40px;
}

/*** contact ***/

.contact input::placeholder, .contact textarea::placeholder{
  opacity: 0.5
}
.contact input{
  transition: border-color 0.2s;
}
.contact input:focus, .contact textarea:focus{
  border-color: var(--color1);
}
.contact .form_title.required{
  position: relative;
  padding-right: 55px;
}
.contact .form_title.required::before{
  position: absolute;
  content: "必須";
  top: 50%;
  right: 0;
  transform: translateY(-50%);
  padding: 3px 10px;
  background-color: var(--color1);
  color: #fff;
  border-radius: 20px;
  font-size: 12px;
  font-weight: normal;
}
.contact #submit input{
  cursor: pointer;
}

/*** faq ***/

.faq .box_title1{
  min-height: 3em;
  padding-left: 50px;
  background-image: url(../img/icon_q.png);
  background-size: 50px;
  background-repeat: no-repeat;
  background-position: top 20px left -5px;
  cursor: pointer;
}
.faq .box_title1::before{
  position: absolute;
  content: "";
  width: 8px;
  height: 8px;
  top: 26px;
  right: 10px;
  transform: rotate(45deg);
  border-right: solid 2px;
  border-bottom: solid 2px;
  transition: transform 0.2s;
}
.faq .box_title1.active::before{
  transform: rotate(-135deg);
}
.faq .box_txt1{
  min-height: 3em;
  padding-left: 50px;
  background-image: url(../img/icon_a.png);
  background-size: 50px;
  background-repeat: no-repeat;
  background-position: top 24px left -5px;
}


/*ここからタブレット用（780px以下）環境の設定
---------------------------------------------------------------------------*/
/*表示を切り替えるウィンドウサイズの指定*/
@media screen and (max-width: 768px){
}

/*ここからスマホ用（750px以下）環境の設定
---------------------------------------------------------------------------*/
/*表示を切り替えるウィンドウサイズの指定*/
@media screen and (max-width: 667px){
  .cta{
    margin-top: -30px;
  }
  .img3{
    margin-top: -50px;
  }
  #form_box{
    margin-top: -30px;
  }
  .faq .box_title1{
    background-size: 42px;
    padding-left: 45px;
  }
  .faq .box_txt1{
    background-size: 42px;
    padding-left: 45px;
  }
}