@charset "utf-8";
/* CSS Document */
@import url('https://fonts.googleapis.com/css?family=Lato:100,100i,300,300i,400,400i,700,700i,900,900i');
@import url('https://fonts.googleapis.com/css?family=Roboto:100,100i,300,300i,400,400i,500,500i,700,700i,900,900i');
@import url('https://fonts.googleapis.com/css2?family=Kosugi+Maru&display=swap');
@import url('https://fonts.googleapis.com/earlyaccess/notosansjapanese.css');
@import url('https://fonts.googleapis.com/css2?family=M+PLUS+Rounded+1c:wght@100;300;400;500;700;800;900&display=swap');
@font-face {
  font-family: "Yu Gothic";
  src: local("Yu Gothic Medium");
  font-weight: 400;
}
.font-roboto {
  font-family: 'Roboto', sans-serif;
  font-weight: bold;
}
.font-lato {
  font-family: 'Lato', sans-serif;
}
.font-mplus {
  font-family: 'M PLUS Rounded 1c', sans-serif;
}
.font-noto {
  font-family: 'Noto Sans Japanese';
}
.font-kosugi {
  font-family: 'Kosugi Maru', sans-serif;
}
html, body {
  height: 100%;
}
*, *::after, *::before {
  box-sizing: border-box;
}
* {
  margin: 0;
  padding: 0;
  font-size: inherit;
  line-height: inherit;
}
body {
  color: #000000;
  background: #FFFFFF;
  background: url("../images/bg.jpg") repeat center center;
  background-size:300px auto;
  font-family: "Noto Sans Japanese", "游ゴシック", YuGothic, "ヒラギノ角ゴ ProN W3", "Lucida Grande", "Hiragino Kaku Gothic ProN", "メイリオ", Meiryo, Verdana, "ＭＳ Ｐゴシック", sans-serif;
  overflow-x: hidden;
  font-size: 1.4em;
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
  font-smoothing: antialiased;
  -webkit-text-size-adjust: 100%;
  word-wrap: break-word;
}

@media only screen and (min-width:1700px) {
  body{
    background-size:25% auto;
  }

}

@media only screen and (max-width:480px) {
  body{
    background: url("../images/bg_sp.jpg") repeat center center;
    background-size:48% auto;
  }

}

p {
  line-height: 1.8;
  letter-spacing: 0.05rem;
  text-align: center;
}
main {
  display: block;
}
li {
  list-style-type: none;
}
a {
  text-decoration: none;
  color: #000;
}
.br-pc {
  display: block;
}
.br-sp {
  display: none;
}
sup, sub {
  font-size: 1.2rem;
}


@media only screen and (max-width: 1024px) {
  body {
    font-size: 1.4rem;
  }
  .inner {
    width: 80%;
  }
}
@media only screen and (max-width:750px) {
  .inner {
    width: 90%;
  }
  body {
    font-size: 1.35rem;
  }
  .br-pc {
    display: none;
  }
  .br-sp {
    display: block;
  }
}

.wrapmain{
  overflow:hidden;
}


/*-------------------
header
-------------------*/
header {
  width: 100%;
  overflow: hidden;
  background-image:url("../images/bg_head_01.png"),url("../images/bg_head_02.png");
  background-repeat: no-repeat;
  background-position: left 20px, right 40px;
  background-size: 20% auto,18% auto;
  position: relative;
  z-index:1;
}

header img{
  max-width:100%;
  height: auto;
}


header .mainimg {
  margin: 0 auto;
  padding:0;
  text-align: center;
  width: 50%;
  max-width: 800px;
  position: relative;
}

header .mainimg .bg01{
  position:absolute;
  top: 0;
  right: 75%;
  left: -18%;
  padding-top:40%;
}

header .mainimg .bg02{
  position:absolute;
  top: 0;
  right: -5%;
  left: 65%;
  padding-top:2%;
  
}



header .mainimg .bg03{
  position:absolute;
  top:0;
  right: -20%;
  left: 82%;
  padding-top: 55%;

}


header .headlogo{
  position: absolute;
  top:0;
  left: -5%;
  right: 70%;
  padding-top:1%;
  z-index:5;
}

header .headlogo a{
  -moz-transition: all 0.3s ease-in-out;
  -o-transition: all 0.3s ease-in-out;
  -webkit-transition: all 0.3s ease-in-out;
  -ms-transition: all 0.3s ease-in-out;
  transition: all 0.3s ease-in-out;
  opacity:1;
  display:block;
}

header .headlogo a:hover{
  opacity:.7;
}

header .follow{
  position: absolute;
  top:0;
  left: 65%;
  right: 15%;
  padding-top:51%;
  animation-fill-mode: backwards;
  -webkit-animation-fill-mode: backwards;
  -webkit-animation: .3s ease-out 1s backwards fadeInTop, topbounce 1s linear 1s ;
    animation: .3s ease-out 1s backwards fadeInTop, topbounce 1s linear 1s ;
    z-index:5;
}


header .follow a{
  display:block;
}

header .follow a:hover{
  -webkit-animation-fill-mode: backwards;
  -webkit-animation: topbounce .5s linear .1s ;
    animation: topbounce .5s linear .1s ;
}




header .mainimg h1 {
  padding-top:3em;
  animation: fadeIn 2s;
  animation-delay: .5s;
  animation-fill-mode: backwards;
  -webkit-animation: fadeIn 2s;
  -webkit-animation-delay: .5s;
  -webkit-animation-fill-mode: backwards;
  margin: auto;
  text-align: center;
}
header .mainimg h1 img {
  max-width: 100%;
  height: auto;
}

header .mainimg .maincp{

  animation: fadeInBottom 1s;
  animation-delay: 1.2s;
  animation-fill-mode: backwards;
  -webkit-animation: fadeInBottom 1s;
  -webkit-animation-delay: 1.2s;
  -webkit-animation-fill-mode: backwards;
}

header .mainimg .cpbt{
  padding: 2em 0;
}

header .mainimg .cpbt a{
  -moz-transition: all 0.3s ease-in-out;
  -o-transition: all 0.3s ease-in-out;
  -webkit-transition: all 0.3s ease-in-out;
  -ms-transition: all 0.3s ease-in-out;
  transition: all 0.3s ease-in-out;
  opacity:1;
  transform: scale(1,1);
  display:block;
  backface-visibility: hidden;
}

header .mainimg .cpbt a:hover{
  opacity:.8;
  transform:scale(1.1,1.1);
}


@media only screen and (min-width:1701px) {
  header .mainimg {
    width: 100%;
  }
}


@media only screen and (max-width:1613px) {

  header {
    width: 100%;
    overflow: hidden;
    background-image:url("../images/bg_head_01.png"),url("../images/bg_head_02.png");
    background-repeat: no-repeat;
    background-position: left 20px, right 40px;
    background-size: 23% auto,20% auto;
    position: relative;
    z-index:1;
  }
  header .mainimg .bg01 img,header .mainimg .bg02 img,header .mainimg .bg03 img {

  }
  header .follow{
    padding-top:55%;
  }
}

@media only screen and (max-width:1250px) {

  header {
    background-position: -25% 20px, 125% 40px;
    background-size: 30% auto,28% auto;
  }
  header .mainimg {
    width: 100%;
  }
  header .follow{

    padding-top:53%;
  }
}
@media only screen and (max-width:1100px) {
  header {
      background-image: none;
    }
}

@media only screen and (max-width:800px) {
  
  
  header .mainimg {
    width: 90%;
  }

  header .mainimg .bg01{
    position:absolute;
    top: 0;
    right: 80%;
    left: -23%;
    padding-top:35%;
  }

  header .mainimg .bg02{
    position:absolute;
    top: -5%;
    right: -5%;
    left: 65%;
    padding-top:0;
  }

  header .mainimg .bg03{
    position:absolute;
    top:0;
    right: -25%;
    left: 87%;
    padding-top: 50%;

  }

  header .headlogo{
    position: absolute;
    top:0;
    left: -5%;
    right: 70%;
    padding-top:1%;
  }

  header .follow{
    position: absolute;
    top:0;
    left: 67%;
    right: 13%;
    padding-top:50%;
  }
  header .mainimg h1 {
    padding-top:5%;
  }

  
}

@media only screen and (max-width:480px) {
  
  header .mainimg .cpbt{
    padding: 5% 0 8% 0;
    width: 70%;
    margin: 0 auto;
  }
}



/*-------------------
animation
-------------------*/
@-webkit-keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
@-webkit-keyframes fadeOutLeft {
  from {
    opacity: 1;
  }
  to {
    opacity: 0;
    -webkit-transform: translate3d(-100%, 0, 0);
    transform: translate3d(-100%, 0, 0);
  }
}
@keyframes fadeOutLeft {
  from {
    opacity: 1;
  }
  to {
    opacity: 0;
    -webkit-transform: translate3d(-100%, 0, 0);
    transform: translate3d(-100%, 0, 0);
  }
}
@-webkit-keyframes fadeOutRight {
  from {
    opacity: 1;
  }
  to {
    opacity: 0;
    -webkit-transform: translate3d(100%, 0, 0);
    transform: translate3d(100%, 0, 0);
  }
}
@keyframes fadeOutRight {
  from {
    opacity: 1;
  }
  to {
    opacity: 0;
    -webkit-transform: translate3d(100%, 0, 0);
    transform: translate3d(100%, 0, 0);
  }
}
@-webkit-keyframes fadeInTop {
  from {
    opacity: 0;
    -webkit-transform: translate3d(0, -10%, 0);
    transform: translate3d(0, -10%, 0);
  }
  to {
    opacity: 1;
    -webkit-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0);
  }
}
@keyframes fadeInTop {
  from {
    opacity: 0;
    -webkit-transform: translate3d(0, -10%, 0);
    transform: translate3d(0, -10%, 0);
  }
  to {
    opacity: 1;
    -webkit-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0);
  }
}
@-webkit-keyframes fadeInLeft {
  from {
    opacity: 0;
    -webkit-transform: translate3d(50%, 0, 0);
    transform: translate3d(50%, 0, 0);
  }
  to {
    opacity: 1;
    -webkit-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0);
  }
}
@keyframes fadeInLeft {
  from {
    opacity: 0;
    -webkit-transform: translate3d(50%, 0, 0);
    transform: translate3d(50%, 0, 0);
  }
  to {
    opacity: 1;
    -webkit-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0);
  }
}
@-webkit-keyframes fadeInBottom {
  from {
    opacity: 0;
    -webkit-transform: translate3d(0, 10%, 0);
    transform: translate3d(0, 10%, 0);
  }
  to {
    opacity: 1;
    -webkit-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0);
  }
}
@keyframes fadeInBottom {
  from {
    opacity: 0;
    -webkit-transform: translate3d(0, 10%, 0);
    transform: translate3d(0, 10%, 0);
  }
  to {
    opacity: 1;
    -webkit-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0);
  }
}



/*product
--------------*/
#product {
  width: 100%;
  text-align: center;
}

#product img{
  max-width:100%;
  height: auto;
}

#product .bg{
  position:relative;
}

#product .mainw{
  background:#FFFFFF;
  width:80%;
  max-width:800px;
  margin:1em auto 0 auto;
  padding:1em;
  position:relative;
}

#product .mainw .pr-head-img{
  position:absolute;
  top:0;
  left:-9%;
  right: 68%;
  padding-top:4%;
}

#product .mainw .bg01{
  position:absolute;
  top:-4%;
  left:70%;
  right:-8%;
  z-index:3;
}

#product .mainw .bg02{
  position:absolute;
  top:0;
  left:75%;
  right:-15%;
  z-index:3;
  padding-top:30%;
}

#product .mainw .bg03{
  position:absolute;
  top:0;
  left:-20%;
  right:80%;
  z-index:3;
  padding-top:60%;
}



#product .mainw .bg06{
  position:absolute;
  top:55%;
  left:85%;
  right:-30%;
  z-index:3;
}


#product .bg .bg03-2{
  position:absolute;
  top:12%;
  left:10%;
  right:80%;
  z-index:3;
}

#product .bg .bg06-2{
  position:absolute;
  top:70%;
  left:75%;
  right:10%;
  z-index:3;
}

#product .bg .bg04{
  position:absolute;
  top:28%;
  left:75%;
  right:2%;
  z-index:3;
}

#product .bg .bg05{
  position:absolute;
  top:40%;
  left:2%;
  right:75%;
  z-index:3;
}

#product .bg .bg07{
  position:absolute;
  bottom:10%;
  left:5%;
  right:60%;
  z-index:3;
}

#product .bg .bg08{
  position:absolute;
  bottom:2%;
  left:80%;
  right:0;
  z-index:3;
}

#product .mainw h2{
  padding:2em 0 0 0;
}


#product .mainw h3{
  padding:2em 0 0 0;
}

#product .mainw .line-list{

}

#product .mainw .line-list li{
  display:flex;
  justify-content: center;
  align-items: center;
  padding-bottom:1em;
}



#product .mainw h4{
  padding:1em 0;
}

#product .mainw .pr-point{
  display:flex;
  justify-content: space-between;
  align-items: center;
}

#product .mainw .pr-point li{
  padding:0 1%;
}

#product .mainw .pr-point li img{
  vertical-align:bottom;
}

#product .mainw .pr-button{
  display:flex;
  justify-content: space-evenly;
  align-items: center;
  padding:2em 0;
}

#product .mainw .pr-button li{
  padding:0 1%;
}

#product .mainw .pr-button a{
  -moz-transition: all 0.3s ease-in-out;
  -o-transition: all 0.3s ease-in-out;
  -webkit-transition: all 0.3s ease-in-out;
  -ms-transition: all 0.3s ease-in-out;
  transition: all 0.3s ease-in-out;
  opacity:1;
  transform: scale(1,1);
  display:block;
  backface-visibility: hidden;
}

#product .mainw .pr-button a:hover{
  opacity:.8;
  transform:scale(1.1,1.1);
}

@media only screen and (min-width:1500px) {
  #product img{
    max-width:150%;
    height: auto;
  }
}

@media only screen and (max-width:1600px) {
  #product .bg .bg04{
    left: auto;
  }

  #product .bg .bg05{
    right: auto;
  }

  #product .bg .bg07{
    right:auto;
  }

  #product .bg .bg08{
    left: auto;
  }

  #product .bg .bg03-2{
    right:auto;
  }

  #product .bg .bg06-2{
    left:auto;
  }
}

@media only screen and (max-width:1300px) {
  #product .bg .bg04{
    left:85%;
    right:-10%;
    z-index:3;
  }

  #product .bg .bg05{
    left:-10%;
    right:85%;
    z-index:3;
  }

  #product .bg .bg07{
    left:-15%;
    right:70%;
    z-index:3;
  }

  #product .bg .bg08{
    left:85%;
    right:-10%;
    z-index:3;
  }

  #product .bg .bg03-2{
    position:absolute;
    top:15%;
    left:-5%;
    right:85%;
    z-index:3;
  }

  #product .bg .bg06-2{
    position:absolute;
    top:70%;
    left:85%;
    right:0;
    z-index:3;
  }
}

@media only screen and (max-width:1000px) {
  #product .bg .bg04{
    display: none;
  }

  #product .bg .bg05{
    display: none;
  }

  #product .bg .bg07{
    display: none;
  }

  #product .bg .bg08{
   display: none;
  }

  #product .bg .bg03-2{
    display: none;
  }

  #product .bg .bg06-2{
    display: none;
  }
}

@media only screen and (max-width:850px) {
  #product .mainw{
    margin:3% auto 0 auto;

  }
  #product .mainw .pr-head-img{
    position:absolute;
    top:0;
    left:-15%;
    right: 70%;
    padding-top:4%;
  }



  #product .mainw .bg02{
    position:absolute;
    top:0;
    left:80%;
    right:-20%;
    z-index:3;
    padding-top:30%;
  }

  #product .mainw .bg06{
    position:absolute;
    top:55%;
    left:95%;
    right:-40%;
    z-index:3;
  }

  #product .mainw h2{
    padding:3% 0 0 0;
  }


  #product .mainw h3{
    padding:3% 0 0 0;
  }

  #product .mainw h4{
    padding:3% 0;
  }
}

@media only screen and (max-width:600px) {

  #product .mainw .bg01{
    position:absolute;
    top:-2%;
    left:70%;
    right:-8%;
    z-index:3;
  }
  #product .mainw .line-list li{
    display:block;
    padding-bottom:1em;
  }

  #product .mainw .pr-point{
    display:block;

  }
  #product .mainw .pr-point li{
    padding:2% 0;
  }

  #product .mainw .pr-button{
    display:block;
    padding:3% 0;
  }

  #product .mainw .pr-button li{
    padding:2% 0;
  }


}


/*cp
--------------*/
#cp {
  width: 100%;
  text-align: center;
  margin-top:5em;
}

#cp img{
  max-width:100%;
  height: auto;
}

#cp .bg{
  position:relative;
}

#cp .mainw{
  background:#FFFFFF;
  width:80%;
  max-width:800px;
  margin:1em auto 0 auto;
  padding:1em;
  position:relative;

}

#cp .mainw .pr-head-img{
  position:absolute;
  top:5%;
  right:9%;
  left: 70%;
}

#cp .mainw .bg01{
  position:absolute;
  top:-4%;
  left:-5%;
  right:60%;
  z-index:3;
}

#cp .mainw .bg03{
  position:absolute;
  top:0;
  left:90%;
  right:-40%;
  z-index:3;
  padding-top:90%;
}

#cp .bg .bg03-2{
  position:absolute;
  top:20%;
  left:80%;
  right:10%;
  z-index:3;
}


#cp .bg .bg02{
  position:absolute;
  top:15%;
  left:15%;
  right:70%;
  z-index:3;
}

#cp .bg .bg04{
  position:absolute;
 bottom:20%;
  left:10%;
  right:70%;
  z-index:3;
}

#cp .bg .bg05{
  position:absolute;
  bottom:0;
  left:73%;
  right:12%;
  z-index:3;
}


#cp .mainw h2{
  padding:1em 0 0 0;
}


#cp .mainw h3{
  padding:0;
}

#cp .mainw .line-list{
  display:flex;
  justify-content: space-evenly;
  padding-bottom:1em;
  max-width:600px;
  margin: 0 auto;
}

#cp .mainw .line-list li{
  position: relative;
  width:50%;
}


#cp .mainw .line-list li p{
  font-size: 0.6rem;
  letter-spacing: -1px;
  font-weight:500;
  line-height:1.2;
}

#cp .mainw .line-list li p a{
  padding:0.3em 0.3em 0.3em 0;
  display: inline-block;
  -moz-transition: all 0.3s ease-in-out;
  -o-transition: all 0.3s ease-in-out;
  -webkit-transition: all 0.3s ease-in-out;
  -ms-transition: all 0.3s ease-in-out;
  transition: all 0.3s ease-in-out;
}

#cp .mainw .line-list li p a:hover{
  background:#9AC717;
  color:#FFFFFF;
}

#cp .mainw .line-list li:first-child:after {
    content: '';
    position: absolute;
    right: -8%;
    top: 30%;
    display: block;
    background: url("../images/cp_present_or.png") no-repeat center top;
    background-size: 55px auto;
    width: 55px;
    height: 50px;
    margin: 0 auto;
}


#cp .mainw h4{
  padding:1em 0;
}

#cp .mainw .howto{

}

#cp .mainw .howto:after,#cp .mainw .howto:before{
  content: "";
  display: block;
  clear: both;
}

#cp .mainw .howto li.thf{
  width:50%;
  margin: 0 auto;
  float: left;
  position: relative;
  padding-bottom:1em;
}


#cp .mainw .howto li.thf.rev{
  width:50%;
  margin: 0 auto;
float: right;
padding-bottom:1em;

}

#cp .mainw .howto li.bhf{
  width:58%;
  margin: 0 auto;
  float: left;
  position: relative;
}


#cp .mainw .howto li.bhf.rev{
  width:40%;
  margin: 0 auto;
  float: right;
  padding-top:8%;

}

#cp .mainw .howto > li:nth-child(odd):after {
    content: '';
    position: absolute;
    right: -3%;
    top: 30%;
    display: block;
    background: url("../images/cp_howto_step_arrow.png") no-repeat center top;
    background-size: 13px auto;
    width: 15px;
    height: 50px;
    margin: 0 auto;
    z-index:20;
}

#cp .mainw .howto > li:nth-child(3):after {
    right: -8%;
}



#cp .mainw .howto li.thf dl{
  display:flex;
  align-items: center;
  justify-content: center;
}

#cp .mainw .howto li.thf.rev dl{
  flex-direction:row-reverse;
}

#cp .mainw .howto li.bhf dl{
  display: grid;
  grid-template-columns: 20% 80%; 
  grid-template-rows: 20% auto auto auto;
  gap: 0px 0px; 
  grid-template-areas: 
    ". htimg"
    "step htimg"
    ". htimg"
    ". htcm"; 
}


#cp .mainw .howto li.bhf.rev dl{
  display: grid; 
  grid-template-columns:15% 55% 20% 10%; 
  grid-template-rows: 8% auto auto auto; 
  gap: 0px 0px; 
  grid-template-areas: 
    ". htimg . ."
    ". htimg step step"
    ". htimg . ."
    "htcm htcm htcm ."; 
}



#cp .mainw .howto li.bhf dt{
  grid-area:step;
}

#cp .mainw .howto li.bhf.rev dt{
  grid-area:step;
  text-align:left;

}

#cp .mainw .howto li.bhf dd.htimg{
  grid-area:htimg;
}

#cp .mainw .howto li.bhf dd.htimg .htmovie{
  width:100%;
  display:flex;
  justify-content: space-between;
}

#cp .mainw .howto li.bhf dd.htimg .htmovie li{
  width:49%;
}


#cp .mainw .howto li.bhf dd.htimg .htmovie li video{
  width:99%;
  height:auto;
  vertical-align:bottom;
  position:relative;
}

#cp .mainw .howto li.bhf dd.htimg .htmovie li video source{
  position:relative;
  width:100%;
  height:0;
  overflow:hidden;
  padding-top:133.3333%;
}


#cp .mainw .howto li.bhf.rev dd.htimg{
  grid-area:htimg;
  text-align: right;
}

#cp .mainw .howto li.bhf dd.htcm{
  grid-area:htcm;
  padding-top:1em;
}

#cp .mainw .howto li.bhf.rev dd.htcm{
  grid-area:htcm;
  padding-top:1em;
}

#cp .mainw .howto li.thf dt{
  order: 1;
}

#cp .mainw .howto li.thf dd.htimg{
  order:3;
}

#cp .mainw .howto li.thf dd.htcm{
  display: none;
}


#cp .mainw .howto li img{
  vertical-align:bottom;
}


#cp .mainw .htbm-cm{
  padding-top:2em;
}

#cp .mainw .htbm-cm img{
  width:100%;
  height:auto;
}


#cp .mainw .pr-button{
  padding:1em 0;
}

#cp .mainw .pr-button a{
  -moz-transition: all 0.3s ease-in-out;
  -o-transition: all 0.3s ease-in-out;
  -webkit-transition: all 0.3s ease-in-out;
  -ms-transition: all 0.3s ease-in-out;
  transition: all 0.3s ease-in-out;
  opacity:1;
  transform: scale(1,1);
  display:block;
  backface-visibility: hidden;
}

#cp .mainw .pr-button a:hover{
  opacity:.8;
  transform:scale(1.1,1.1);
}





@media only screen and (max-width:1665px) {
  #cp .bg .bg02{
    right:auto;
    left:0;
  }

  #cp .bg .bg04{
    right:auto;
    left: 0;
  }

  #cp .bg .bg05{
    left:auto;
    right: 0;
  }

  #cp .bg .bg03-2{
    left:auto;
    right:0;
  }

}

@media only screen and (min-width:1015px) {
  #cp .mainw .howto li.bhf.rev{
    padding-top:10%;

  }
}

@media only screen and (min-width:970px) {
  #cp .mainw .howto li.bhf.rev{

  }

}

@media only screen and (max-width:1300px) {
  #cp .bg .bg02{
    left:-5%;
  }

  #cp .bg .bg04{
    left: -10%;
  }

  #cp .bg .bg05{
    right: -10%;
  }

  #cp .bg .bg03-2{
    right:-5%;
  }

}

@media only screen and (max-width:1000px) {
  #cp .bg .bg02{
    display: none;
  }

  #cp .bg .bg04{
    display: none;
  }

  #cp .bg .bg05{
    display: none;
  }

  #cp .bg .bg03-2{
    display: none;
  }

}

@media only screen and (max-width:860px) {
  #cp .mainw .howto li.thf{
    width:48%;
  }


  #cp .mainw .howto li.thf.rev{
    width:48%;

  }
  #cp .mainw .howto > li:nth-child(odd):after {
    right: -7%;
  }

  #cp .mainw .howto > li:nth-child(3):after {
      right: -5%;
  }

  #cp .mainw .howto li.bhf{
    width:59%;
    margin: 0 auto;
    float: left;
    position: relative;
  }


  #cp .mainw .howto li.bhf.rev{
    width:40%;
    margin: 0 auto;
   float: right;
    padding-top:3%;

  }

}

@media only screen and (max-width:800px) {
  #cp {
    margin-top:15%;
  }
  #cp .mainw{
    margin:3% auto 0 auto;
  }
  #cp .mainw .pr-head-img{
    position:absolute;
    top:4%;
    right:4%;
    left: 75%;
  }

  #cp .mainw .bg01{
    position:absolute;
    top:-2%;
    left:-5%%;
    right:60%;
    z-index:3;
  }

  #cp .mainw .bg03{
    padding-top:75%;
  }

  #cp .mainw h2{
    padding:3% 0 0 0;
  }

  #cp .mainw .line-list{
    display:block;
    padding-bottom:5%;
    max-width:100%;
  }
  #cp .mainw .line-list li{
    width:100%;
    position: relative;
    padding-bottom:5% 0;
  }
  #cp .mainw .line-list li:first-child:after {
      content: '';
      position: static;
      margin-top:5%;
  }


  #cp .mainw .howto li.thf, #cp .mainw .howto li.thf.rev{
    width:80%;
    margin: 0 auto;
    float: none;
    position: relative;
    padding-bottom:3%;
  }


  #cp .mainw .howto li.bhf{
    width:90%;
    margin: 0 auto;
    float: none;
    position: relative;
    padding-bottom:3%;
  }


  #cp .mainw .howto li.bhf.rev{
    width:60%;
    margin: 0 auto;
    float: none;
    padding-top:0;

  }

  #cp .mainw .howto > li:nth-child(odd):after, #cp .mainw .howto > li:nth-child(even):after {
    content: '';
      position: static;
      display: block;
      background: url("../images/cp_howto_step_arrow.png") no-repeat center center;
      background-size: 13px auto;
      width: 100%;
      height: 40px;
      margin: 0 auto;
      z-index:5;
      transform:rotate(90deg);
  }

  #cp .mainw .howto > li:nth-child(3):after {
      right: auto;
  }

  #cp .mainw .howto > li:last-child:after {
      content: none;
  }

  #cp .mainw .howto li.thf dl{
    display:flex;
    align-items: center;
    justify-content: center;
  }

  #cp .mainw .howto li.thf.rev dl{
    flex-direction:row;
  }

  #cp .mainw .howto li.bhf dl{
    display: grid;
    grid-template-columns: 20% 80%; 
    grid-template-rows: 20% auto auto auto;
    gap: 0px 0px; 
    grid-template-areas: 
      ". htimg"
      "step htimg"
      ". htimg"
      "htcm htcm"; 
  }

  #cp .mainw .howto li.bhf.rev dl{
    display: grid; 
    grid-template-columns:10% 20% 55% 15%; 
    grid-template-rows: 8% auto auto auto; 
    gap: 0px 0px; 
    grid-template-areas: 
      ". . htimg ."
      "step step htimg ."
      ". . htimg ."
      "htcm htcm htcm htcm"; 
  }

  #cp .mainw .howto li.bhf.rev dt{
    grid-area:step;
    text-align:right;
  }

  #cp .mainw .howto li.bhf.rev dd.htimg{
    grid-area:htimg;
    text-align: center;
  }

}

@media only screen and (max-width:640px) {
  #cp .mainw .howto li.thf, #cp .mainw .howto li.thf.rev{
    width:90%;
    margin: 0 auto;
    float: none;
    position: relative;
    padding-bottom:3%;
  }


  #cp .mainw .howto li.bhf{
    width:100%;
    margin: 0 auto;
    float: none;
    position: relative;
    padding-bottom:3%;
  }


  #cp .mainw .howto li.bhf.rev{
    width:100%;
    margin: 0 auto;
    float: none;
    padding-top:0;

  }

  #cp .mainw .howto li dl{
    width:100%;
  }
  #cp .mainw .howto li.thf dl{
    display:block;
  }

  #cp .mainw .howto li.thf.rev dl{
    display:block;
  }

   #cp .mainw .howto li.thf dt img{
    max-width:75px;
    height:auto;
  }

  #cp .mainw .howto li.thf dd.htcm{
    display: block;
  }

  #cp .mainw .howto li.bhf dl{
    display: block;
  }

  #cp .mainw .howto li.bhf dd.htcm{
    max-width: 250px;
    height:auto;
    margin: 0 auto;
  }

  #cp .mainw .howto li.bhf.rev dl{
    display: block; 
  }

   #cp .mainw .howto li.bhf.rev dt{
    text-align:center;
  }
  #cp .mainw .howto li dl dt{
    padding-bottom:2%;
  }

  #cp .mainw .htbm-cm{
    padding-top:5%;
  }

  #cp .mainw .htbm-cm img{
    max-width: 300px;
    height:auto;
  }



}


@media only screen and (max-width:600px) {
  #cp .mainw .line-list li p{
    font-size: 1.8vw;
  }
}


@media only screen and (max-width:480px) {
  #cp .mainw .pr-head-img{
    position:absolute;
    top:0;
    right:-5%;
    left: 80%;
    padding-top:30%;
  }

  #cp .mainw .bg01{
    position:absolute;
    top:-1%;
    left:-5%%;
    right:65%;
    z-index:3;
  }

  #cp .mainw .bg03{
    position:absolute;
    top:0;
    left:90%;
    right:-30%;
    z-index:3;
    padding-top:180%;
  }

  #cp .mainw .howto li.bhf dd.htimg .htmovie{
    width:100%;
    display:block;
  }

  #cp .mainw .howto li.bhf dd.htimg .htmovie li{
    width:100%;
    padding:3% 0;
  }


  #cp .mainw .howto li.bhf dd.htimg .htmovie li video{
    width:100%;
    height:auto;
    vertical-align:bottom;
  }
  
}

/*kiyaku
--------------*/
#kiyaku {
  text-align: center;
  padding: 0;
  position: relative;
  width:80%;
  max-width:800px;
  margin: 0 auto 3em auto;
}

#kiyaku img{
  max-width:100%;
  height: auto;
}

#kiyaku h2 {
  background: #006241;
  padding: 0.5em 0;
  cursor:pointer;
  -moz-transition: all 0.3s ease-in-out;
  -o-transition: all 0.3s ease-in-out;
  -webkit-transition: all 0.3s ease-in-out;
  -ms-transition: all 0.3s ease-in-out;
  transition: all 0.3s ease-in-out;
  display:block;
}


#kiyaku h2:hover{
  background:#ff0066;
}

#kiyaku h2.op{
  background:#ff0066;
}

#kiyaku h2 img{
  vertical-align: middle;
}

#kiyaku #kiyaku-wp {
  background: #FFFFFF;
}

#kiyaku #kiyaku-wp .kiyaku-title {
  font-weight: 800;
  padding: 1em;
  font-size:1.2rem;
  letter-spacing:-1;
}

#kiyaku .kiyaku_wp {
  text-align: left;
  padding: 0 2em 2em 2em;
  box-sizing: border-box;
  font-size: 0.7em;
}
#kiyaku .kiyaku_wp dt.ky_tl {
  font-size: 110%;
  font-weight: bold;
  padding-top: 1em;
}

#kiyaku .kiyaku_wp dt.kyt_tl {
  font-size: 110%;
  padding-top: 1em;
}
#kiyaku .kiyaku_wp dd.ky_mn {
  border-top: 2px solid #000;
  padding: 0.5em 0;
}
#kiyaku .kiyaku_wp dd.ky_mn dl.ky_eac {}
#kiyaku .kiyaku_wp dd.ky_mn dl.ky_eac dt {
  font-weight: bold;
}
#kiyaku .kiyaku_wp dd.ky_mn dl.ky_eac dd {
  padding-bottom: 1em;
}
#kiyaku .kiyaku_wp dd.ky_mn dl.ky_eac dd:last-child {
  padding-bottom: 0;
}
#kiyaku .kiyaku_wp dd.ky_mn dl.ky_eac dd .tx_nl {
  margin: 0.5em 0;
}
#kiyaku .kiyaku_wp dd.ky_mn dl.ky_eac dd .tx_nl.tl {
  display: inline-block;
  background: #000;
  color: #fff;
  padding: 0 1em;
}
#kiyaku .kiyaku_wp dd.ky_mn dl.ky_eac dd .tx_sl {
  padding-left: 1em;
  font-size: 90%;
  line-height: 1.4;
}
#kiyaku .kiyaku_wp ul {}
#kiyaku .kiyaku_wp ul li, #kiyaku .kiyaku_wp ol li {
  text-indent: -1em;
  padding-left: 1em;
}
#kiyaku .kiyaku_wp dd .ky_atten {
  font-size: 90%;
}
#kiyaku .kiyaku_wp a {
  color: #1272e9;
  text-decoration: underline;
  display:inline;
}
#kiyaku .kiyaku_wp dd p {
  text-align: left;
}
@media only screen and (max-width:768px) {
  #kiyaku {
    font-size: 80%;
  }
}



@media only screen and (max-width:480px) {
  
  #kiyaku .kiyaku_wp {
    font-size: 0.7em;
  }

  #kiyaku #kiyaku-wp .kiyaku-title{
    font-size: 3.5vw;
  }
}


/*-----------------
footer
-----------------*/

footer {
  padding: 4em 0;
  text-align: center;
  position: relative;
  background: #FFFFFF;
}

footer .ft-totop-bt a{
  -moz-transition: all 0.3s ease-in-out;
  -o-transition: all 0.3s ease-in-out;
  -webkit-transition: all 0.3s ease-in-out;
  -ms-transition: all 0.3s ease-in-out;
  transition: all 0.3s ease-in-out;
  opacity:1;
}

footer .ft-totop-bt a:hover{
  opacity:.7;
}


footer .sns-list{
  max-width:300px;
  margin: 20px auto;
  display:flex;
  justify-content: space-evenly;
}

footer .sns-list a{
  -moz-transition: all 0.3s ease-in-out;
  -o-transition: all 0.3s ease-in-out;
  -webkit-transition: all 0.3s ease-in-out;
  -ms-transition: all 0.3s ease-in-out;
  transition: all 0.3s ease-in-out;
  opacity:1;
}

footer .sns-list a:hover{
  opacity:.7;
}



footer .ft-logo img{
  max-width:100%;
  height: auto;
  margin:0 auto;
}

footer .copyright {
  font-size: 0.7rem;
  letter-spacing: 0;
  font-weight:800;
  font-family: 'Lato', sans-serif;
}


/* back to top */
#go-top {
  position: fixed;
  bottom: 18%;
  right: 10%;
  z-index: 4;
  width: 100%;
  text-align: center;
  display: none;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}
#go-top .totop {
  display: block;
  position: absolute;
  bottom: 0;
  right: 0;
  width: 80px;
  padding: 0;
}

#go-top .totop img{
    width:100%;
    height:auto;
}
#go-top .totop a {
  display: block;
  -moz-transition: all 0.2s ease-in-out;
  -o-transition: all 0.2s ease-in-out;
  -webkit-transition: all 0.2s ease-in-out;
  -ms-transition: all 0.2s ease-in-out;
  transition: all 0.2s ease-in-out;
  opacity:.8;
  transform: scale(1,1);
}
#go-top .totop a:hover {
  opacity: 1;
  transform: scale(1.1,1.1);
}


@media only screen and (max-width:1200px) {
  
  footer {
    padding: 5% 0;
  }
  #go-top {
    right: 2%;
  }
  #go-top img{
    max-width:100%;
  }

  #go-top .totop {
    width: 70px;
  }

}

@media only screen and (max-width:600px) {
  #go-top .totop {
    width: 60px;
  }
  #go-top {
    bottom: 24%;
  }

  footer .sns-list{
    margin: 3% auto;
  }
}

@media only screen and (max-width:480px) {
  footer .ft-logo img{
    max-width:60%;
    height: auto;
  }
}






/*------------
animetion
------------*/
.fadein {
  opacity: 0;
  transform: translate(0, 50px);
  -webkit-transform: translate(0, 50px);
  -moz-transform: translate(0, 50px);
  transition: all 1000ms;
}
.fadein.scrollin {
  opacity: 1;
  transform: translate(0, 0);
  -webkit-transform: translate(0, 0);
  -moz-transform: translate(0, 0);
}

.fadeinp {
  opacity: 0;
  transform: scale(1.1);
  -webkit-transform: scale(1.21);
  -moz-transform: scale(1.1);
  transition: all 1000ms;
}
.fadeinp.scrollin {
  opacity: 1;
  transform: scale(1);
  -webkit-transform: scale(1);
  -moz-transform: scale(1);
}

.ringo{
  opacity: 0;
}


.ringo.scrollin{
  opacity:1;
  animation: ringo ease-in-out 1.5s;
  animation-iteration-count: 1;
  transform-origin: 50% 50%;
  -webkit-animation: ringo ease-in-out 1.5s;
  -webkit-animation-iteration-count: 1;
  -webkit-transform-origin: 50% 50%;
  -moz-animation: ringo ease-in-out 1.5s;
  -moz-animation-iteration-count: 1;
  -moz-transform-origin: 50% 50%;
  -o-animation: ringo ease-in-out 1.5s;
  -o-animation-iteration-count: 1;
  -o-transform-origin: 50% 50%;
  -ms-animation: ringo ease-in-out 1.5s;
  -ms-animation-iteration-count: 1;
  -ms-transform-origin: 50% 50%;
}

.ringo2 {
  -webkit-animation: .3s ease-in-out 2s backwards fadeIn, ringo 1.5s ease-in-out 2s backwards;
  animation:.3s ease-in-out 2s backwards fadeIn, ringo 1.5s ease-in-out 2s backwards;
}

@keyframes ringo{
  0% {
    transform:  translate(102px,-111px)  rotate(560deg) ;
  }
  78% {
    transform:  translate(0px,0px)  rotate(-10deg) ;
  }
  89% {
    transform:  translate(0px,0px)  rotate(5deg) ;
  }
  100% {
    transform:  translate(0px,0px)  rotate(0deg) ;
  }
}

@-moz-keyframes ringo{
  0% {
    -moz-transform:  translate(102px,-111px)  rotate(560deg) ;
  }
  78% {
    -moz-transform:  translate(0px,0px)  rotate(-10deg) ;
  }
  89% {
    -moz-transform:  translate(0px,0px)  rotate(5deg) ;
  }
  100% {
    -moz-transform:  translate(0px,0px)  rotate(0deg) ;
  }
}

@-webkit-keyframes ringo {
  0% {
    -webkit-transform:  translate(102px,-111px)  rotate(560deg) ;
  }
  78% {
    -webkit-transform:  translate(0px,0px)  rotate(-10deg) ;
  }
  89% {
    -webkit-transform:  translate(0px,0px)  rotate(5deg) ;
  }
  100% {
    -webkit-transform:  translate(0px,0px)  rotate(0deg) ;
  }
}

@-o-keyframes ringo {
  0% {
    -o-transform:  translate(102px,-111px)  rotate(560deg) ;
  }
  78% {
    -o-transform:  translate(0px,0px)  rotate(-10deg) ;
  }
  89% {
    -o-transform:  translate(0px,0px)  rotate(5deg) ;
  }
  100% {
    -o-transform:  translate(0px,0px)  rotate(0deg) ;
  }
}

@-ms-keyframes ringo {
  0% {
    -ms-transform:  translate(102px,-111px)  rotate(560deg) ;
  }
  78% {
    -ms-transform:  translate(0px,0px)  rotate(-10deg) ;
  }
  89% {
    -ms-transform:  translate(0px,0px)  rotate(5deg) ;
  }
  100% {
    -ms-transform:  translate(0px,0px)  rotate(0deg) ;
  }
}






@-webkit-keyframes topbounce {
    0% {
        -webkit-transform: scale(1.0, 1.0) translate(0%, 0%);
    }
    15% {
        -webkit-transform: scale(0.9, 0.9) translate(0%, 5%);
    }
    30% {
        -webkit-transform: scale(1.3, 0.8) translate(0%, 10%);
    }
    50% {
        -webkit-transform: scale(0.8, 1.3) translate(0%, -10%);
    }
    70% {
        -webkit-transform: scale(1.1, 0.9) translate(0%, 5%);
    }
    100% {
        -webkit-transform: scale(1.0, 1.0) translate(0%, 0%);
    }
}
@keyframes topbounce {
    0% {
        transform: scale(1.0, 1.0) translate(0%, 0%);
    }
    15% {
        transform: scale(0.9, 0.9) translate(0%, 5%);
    }
    30% {
        transform: scale(1.3, 0.8) translate(0%, 10%);
    }
    50% {
        transform: scale(0.8, 1.3) translate(0%, -10%);
    }
    70% {
        transform: scale(1.1, 0.9) translate(0%, 5%);
    }
    100% {
        transform: scale(1.0, 1.0) translate(0%, 0%);
    }
}



