@charset "utf-8";
/* CSS Document */

/* //reset *************************************************************/

* {
  box-sizing: border-box;
}
body {
  line-height: 1;
  margin: 0;
  font-family: arial, sans-serif;
  font-family: "m-plus-1p", sans-serif;
  font-size: 1.6rem;
  background-color: #fff;
}

body::before {
  background-image: url(../img/background.png);
  background-repeat: no-repeat;
  background-position: top center;
  background-size: 750px auto;
  content: "";
  display: none;
  position: fixed;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  z-index: -1;
}
h1,
h2,
h3,
h4,
h5,
h6,
p {
  margin: 0;
  font-size: 100%;
  font-weight: normal;
  line-height: 1.3;
  display: block;
}
article,
footer,
header {
  display: block;
}
ul,
li {
  list-style: none;
  padding: 0;
  margin: 0;
}
dl,
dt,
dd {
  padding: 0;
  margin: 0;
}
table,
tr,
td {
  border: 0;
  padding: 0;
  margin: 0;
}
a {
  display: block;
  color: #ff6699;
  text-decoration: none;
}

div {
  margin: 0;
  padding: 0;
}
img,
video {
  max-width: 100%;
  width: auto;
  height: auto;
  margin: 0 auto;
  vertical-align: bottom;
}
video {
  max-width: 100%;
  /* 白線消す*/
  filter: drop-shadow(0px 0px rgba(0, 0, 0, 0));
  outline: none;
  border: none;
}
#wrapper {
  overflow: hidden;
}


/******************************/
/*ヘッダー*/
/******************************/
.header {
  position: relative;
}
.logo{
  position: absolute;
  width: 10.4%;
  top: 1%;
  left: 2%;
  z-index: 1111;
}

.header-text {
  width: 65%;
}

/******************************/
/*section1*/
/******************************/
.header{
  position: relative;
}
.btn{
  position: absolute;
  bottom: 5%;
  margin: 0 auto;
  right: 0;
  left: 0;
  width: 80%;
   opacity: 0.8;
}

/******************************/
/*section2*/
/******************************/
.section2{
  text-align: center;
}
.sec2_main img{
  margin-left: 3%;
  margin-top: 3%;
  width: 90%;
}
.center{
  text-align: center;
}

/******************************/
/*section3*/
/******************************/
.section3{
  text-align: center;
}
.title{
  margin-top: 4%;
  margin-bottom: 7%;
}
.step{
  margin-left: 3%;
  margin-bottom: 5%;
  margin-top: 4%;
}

/******************************/
/*section4*/
/******************************/
.section4{
  text-align: center;
}

/******************************/
/*section5*/
/******************************/
.section5{
  text-align: center;
}
.sec5_main{
  margin-left: 3%;
  margin-top: 10%;
}
/******************************/
/*section6*/
/******************************/
.section6{
  text-align: center;
  margin-bottom: 6%;
}
.sec6_q{
  width: 86.6%;
  padding-bottom: 5%;
  margin:  0 auto;
}

/******************************/
/*section7*/
/******************************/
.section7{
  position: relative;
}
.btn2{
  position: absolute;
  bottom: 4%;
  margin: 0 auto;
  right: 0;
  left: 0;
  width: 80%;
  opacity: 0.8;
}


/******************************/
/*btn*/
/******************************/


/******************************/
/*footer*/
/******************************/
footer {
  background-color: #fff;
  width: 100%;
  height: auto;
  margin: 0 auto;
  text-align: center;
}
footer p {
  color: #000;
  display: inline-block;
  padding: 2.25%;
  font-size: 1rem;
}
.fadein {
  opacity: 0;
  transform: translate(0, 50px);
  transition: all 300ms;
}
.fadein.scrollin {
  opacity: 1;
  transform: translate(0, 0);
}
.sec2_txt2 {
  width: 57.86%;
  margin: 0 auto;
}
.footer_contens {
  width: 95.73333%;
  margin: 0 auto;
  padding: 8% 0;
  background: url(../img/shucyusen.webp) no-repeat top center;
  background-size: cover;
}


/******************************/
/*ボタンアニメーション*/
/******************************/
.dokidoki{
  animation-name:dokidoki;	/* アニメーション名の指定 */
  animation-delay:0s;		/* アニメーションの開始時間指定 */
  animation-duration: 1s;	/* アニメーション動作時間の指定 */
  animation-timing-function: ease-in-out;
  /* アニメーションの動き（徐々に早く徐々に遅く）*/
  animation-iteration-count: infinite; /* アニメーションをループさせる */
  }
  @keyframes dokidoki {
  0% {
  transform: scale(1);
  }
  40% {
  transform: scale(1);
  }
  50% {
  transform: scale(1.1);
  }
  60% {
  transform: scale(1);
  }
  100% {
  transform: scale(1);
  }
  }


/*---------
ブルブル
-------------*/
.buruburu {
  animation: hurueru .1s  infinite;
}
@keyframes hurueru {
  0% {transform: translate(0px, 0px) rotateZ(0deg)}
  25% {transform: translate(2px, 2px) rotateZ(1deg)}
  50% {transform: translate(0px, 2px) rotateZ(0deg)}
  75% {transform: translate(2px, 0px) rotateZ(-1deg)}
  100% {transform: translate(0px, 0px) rotateZ(0deg)}
}

@keyframes hurueru2 {
  0% {transform: translate(0px, 0px) rotateZ(0deg)}
  25% {transform: translate(1px, 30px) rotateZ(1deg)}
  50% {transform: translate(1px, 30px) rotateZ(0deg)}
  75% {transform: translate(1px, 30px) rotateZ(-1deg)}
  100% {transform: translate(1px, 0px) rotateZ(0deg)}
}


@media screen and (min-width: 751px) {
  body {
    font-size: 24px;
  }
  #wrapper {
    width: 750px;
    margin: auto;
  }
  body::before {
    display: block;
    background-size: auto;
  }

}
@media screen and (max-width: 750px) {
  body {
    font-size: 14px;
  }
  #wrapper {
    width: 100%;
  }
  body::before {
    display: block;
    background-size: 100% auto;
  }
    footer p{
    font-size: 3vw;
  }
}
