@charset "utf-8";

.btn-container {
  position: relative;
}
.btn {
  z-index: 100;
  transition: transform .2s;
}
.btn:active {
  transform: scale(.95);
}

/* header ------------------------- */
header {
  display: flex;
  justify-content: space-between;
  padding: 5.1vw 4.6vw 1.8vw 3.8vw;
}
.header_btn-container {
  display: flex;
  column-gap: 1.2vw;
}
.logo_header {
  width: 37vw;
}
.btn_header {
  width: 26vw;
  margin-top: 9px;
}

/* fv ---------------------------------------- */
.btn_fv {
  display: block;
  position: absolute;
  left: 0;
  right: 0;
  margin: auto;
  top: 15vw;
  width: 88vw;
}

#head1 {
  background: url("images/fv_01.webp") no-repeat top center;
  background-size: contain;
  height: 67.35vw;
}
#head2 {
  background: url("images/fv_02.webp") no-repeat top center;
  background-size: contain;
  height: 69.9vw;
}

/* fixed-btn ----------------------------------- */
.sticky-btn {
  position: fixed;
  left: 50%;
  transform: translateX(-50%);
  width: 88vw;
  bottom: 3vw;
  transition: .3s;
  z-index: 1000;

  display: flex;
  column-gap: .7vw;

  /*デフォルトで非表示にする*/
  opacity: 0;
  visibility: hidden;
}

/*このクラスが付与されると表示する*/
.fixed{
  opacity: 1;
  visibility: visible;
}

/*フッターのスタイルを追加*/
footer {
  position: relative;
}

/*このクラスが付与されると表示する*/
.kieru{
  position: absolute;
  top: -70px;
  bottom: auto;
}

/* アニメーション ----------------------------------*/
.dokundokun {
  animation: dokundokun 2000ms ease infinite;
}

@keyframes dokundokun {
  0% {
    transform: scale(1);
  }

  15% {
    transform: scale(1.04);
  }

  30% {
    transform: scale(1);
  }

  45% {
    transform: scale(1.04);
  }

  70% {
    transform: scale(1);
  }
}

/* popup -------------------------- */
.in-quo {
  position: absolute;
  font-size: 3.7vw;
  line-height: 5vw;
  top: 42%;
  left: 30%;
}

.popup {
  visibility: hidden;
  background-color: rgba(255, 255, 255, .7);
  width: 100vw;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1500;
  transition: all .2s;
}
.popup_container {
  margin: auto 30px;
  padding: 20px;
  background-color: #fff;
  border-radius: 10px;
  box-shadow: 0px 0px 15px rgba(0, 0, 0, .3);
  position: relative;
}
.popup_container h3 {
  font-weight: bold;
}
.popup__close {
  position: absolute;
  top: 10px;
  right: 7px;
  color: black;
  text-decoration: none;
  font-size: 30px;
  line-height: 1px;
}

.popup:target {
  visibility: visible;
}

/* jisseki ----------------------------------- */
.jisseki {
  padding: .18vw 5vw 4.5vw;
}
.ichimatsu {
  background-image: linear-gradient(45deg, #FFFDDF 25%, transparent 25%, transparent 75%, #FFFDDF 75%),
    linear-gradient(45deg, #FFFDDF 25%, transparent 25%, transparent 75%, #FFFDDF 75%);
  /* 市松模様になるようグラデーションで単色を入れる */
  background-position: 0 0, 2px 2px;
  /* 「0 0」と1マス（1色）の大きさ「30px 30px」をそれぞれ指定 */
  background-size: 4px 4px;
  /* 1マス分の倍の大きさを指定「60px 60px」 */
  background-color: #FFFFFB;
  /* もう一つの単色を入れる */
}
.h2_jisseki {
  width: 71vw;
}
.jisseki_item_container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  row-gap: 9vw;
  margin-top: 4.5vw;
  margin-bottom: 3.6vw;
}
.jisseki_item_container li {
  width: 42.5vw;
}
.jisseki_item_container li a {
  display: inline-block;
}
.btn_jisseki {
  width: 85vw;
}

/* faq --------------------------------------- */
.faq {
  background-color: #DDF2EF;
  padding: 0 5vw 0;
  font-weight: 600;
}
.faq_box {
  background-color: #fff;
  border: solid .5vw #0FAA9B;
}
.faq_q:first-child {
  border-top: none;
}
.faq_q {
  padding: 4.6vw 4.7vw 5vw 17vw;
  background-image: url(images/q.png?240930);
  background-size: 10.7vw;
  background-repeat: no-repeat;
  background-position: center left 4.5vw;
  border-top: solid .1vw #0FAA9B;
  border-bottom: solid .1vw #0FAA9B;
}
.faq_a {
  padding: 5vw 8.8vw;
  background-image: url(images/triangle.png?240930);
  background-size: 3.5vw 1.5vw;
  background-repeat: no-repeat;
  background-position: top center;
  display: none;
}
.btn_faq {
  width: 85.3vw;
  padding-top: 5.5vw;
}

/* btn_bottom -------------------------------- */
.btn_bottom01,
.btn_bottom02,
.btn_bottom03 {
  display: block;
  position: absolute;
  left: 0;
  right: 0;
  margin: auto;
}
.btn_bottom01 {
  top: 33.3vw;
  width: 88vw;
}
.btn_bottom02 {
  top: 51vw;
  width: 84.4vw;
}
.btn_bottom03 {
  top: 95vw;
  width: 84.4vw;
}

/* footer ------------------------------------ */
footer {
  color: #353535;
  background: #fff;
  padding: 25px 0 40px;
}
.logo_footer {
  width: 47.4vw;
}


/* pc --------------------------------------------*/
@media screen and (min-width: 600px) {
  /* header ------------------------- */
  header {
    padding: 4.8% 5.2% 1.8% 4%;
  }
  .header_btn-container {
    display: flex;
    column-gap: 5px;
  }
  .logo_header {
    width: 159px;
  }
  .btn_header {
    width: 112px;
    margin-top: 9px;
  }

  /* fv ------------------------------------ */
  .btn_fv {
    top: 60px;
    width: 88%;
  }

    #head1 {
      background: url("images/fv_01.webp") no-repeat top center;
      background-size: contain;
      height: 289.82px;
    }
  
    #head2 {
      background: url("images/fv_02.webp") no-repeat top center;
      background-size: contain;
      height: 300.57px;
    }

  .sticky-btn {
    width: 400px;
  }

  /* popup ------------------------ */
    .in-quo {
      font-size: 14px;
      line-height: 19px;
      top: 43%;
      left: 34%;
    }
  .popup {
    width: 100%;
    height: 100%;
  }

  /* jisseki ----------------------------------- */
  .jisseki {
    padding: 8px 22px 21px;
  }
  .h2_jisseki {
    width: 305px;
  }
  .jisseki_item_container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    row-gap: 42px;
    margin-top: 19px;
    margin-bottom: 18px;
  }
  .jisseki_item_container li {
    width: 182px;
  }
  .btn_jisseki {
    width: 365px;
  }
  /* faq ----------------------------------- */
  .faq {
    padding: 0 22px 0;
  }
  .faq_box {
    border: solid 2px #0FAA9B;
  }
  .faq_q {
    padding: 20px 28px 21px 75px;
    background-size: 46px;
    background-position: center left 22px;
    border-top: solid .43px #0FAA9B;
    border-bottom: solid .43px #0FAA9B;
  }
  .faq_a {
    padding: 29px 38px;
    background-size: 15px 6.5px;
  }
  .btn_faq {
    width: 367px;
    padding-top: 23px;
  }

  /* btn_bottom -------------------------------- */
  .btn_bottom01 {
    top: 139px;
    width: 88%;
  }
  .btn_bottom02 {
    top: 215px;
    width: 84.4%;
  }
  .btn_bottom03 {
    top: 405px;
    width: 84.4%;
  }

  /* footer ------------------------------------ */
  footer {
    color: #353535;
    background: #fff;
    padding: 25px 0 20px;
  }
  .logo_footer {
    width: 203px;
  }
}
