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

/* コンテンツふわっと表示 */
.scr-target {
    opacity: 0;
    transform: translate3d(0, 30px, 0);
}
.scr-target.is-active {
    opacity: 1;
    transform: translate3d(0, 0, 0);
    transition: 1s;
}

/*----- ふわっとズームなアニメーションスライド -----*/
.main_imgBox {
    height: 100vh;
    overflow: hidden;
    position: relative;
	width: calc(100%);
    margin: 0 auto;
	z-index: -10;
}
@media screen and (min-width:600px) and (max-width:959px) {
	  /*.mainvisual .wrap,.main_imgBox {
		height: 720px;
	}*/
}
@media screen and (max-width:599px) { 
	  /*.mainvisual .wrap,.main_imgBox {
		height: 480px;
	}*/	
}
  .main_img {
    opacity: 0.6;
	  background: #000;
    width: 100%;
    height: 100%;
    background-position: top center;
    background-repeat: no-repeat;
    background-size: cover;
    position: absolute;
    left: 0;
    top: 0;
	z-index: -10;
    -webkit-animation: main_img_anime 24s 0s infinite;
    animation: main_img_anime 24s 0s infinite; 
} 

    .main_img:nth-of-type(2) {
      -webkit-animation-delay: 6s;
      animation-delay: 6s; }

    .main_img:nth-of-type(3) {
      -webkit-animation-delay: 12s;
      animation-delay: 12s; }

   .main_img:nth-of-type(4) {
      -webkit-animation-delay: 18s;
      animation-delay: 18s; }

/*    .main_img:nth-of-type(5) {
      -webkit-animation-delay: 24s;
      animation-delay: 24s; }

     .main_img:nth-of-type(6) {
      -webkit-animation-delay: 30s;
      animation-delay: 30s; }*/

  .main_imgM {
    opacity: 1;
    width:100%;
    height:100%;
    object-fit: cover;
    position: absolute;
    left: 0;
    top: 0;
	z-index: -10;
    -webkit-animation: main_img_anime 24s 0s infinite;
    animation: main_img_anime 24s 0s infinite; } /*imgの数によって秒を変更*/

    .main_imgM:nth-of-type(2) {
      -webkit-animation-delay: 6s;
      animation-delay: 6s; }

    .main_imgM:nth-of-type(3) {
      -webkit-animation-delay: 12s;
      animation-delay: 12s; }

    .main_imgM:nth-of-type(4) {
      -webkit-animation-delay: 18s;
      animation-delay: 18s; }

 /*   .main_imgM:nth-of-type(5) {
      -webkit-animation-delay: 24s;
      animation-delay: 24s; }

    .main_imgM:nth-of-type(6) {
      -webkit-animation-delay: 30s;
      animation-delay: 30s; }*/

 /*imgの数によって%を変更*/
@keyframes main_img_anime {
    0% {
        opacity: 0;
    }
    13% {
        opacity: 1;
    }
    27% {
        opacity: 1;
    }
    45% {
        opacity: 0;
         transform: scale(1.2);
                    z-index:9;
    }
    100% { opacity: 0 }
	
	/*0% {
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    20% {
        opacity: 1;
    }
    40% {
        opacity: 0;
         transform: scale(1.2);
                    z-index:9;
    }
    100% { opacity: 0 }*/
	
}
@-webkit-keyframes main_img_anime {
    0% {
        opacity: 0;
    }
    13% {
        opacity: 1;
    }
    27% {
        opacity: 1;
    }
    45% {
        opacity: 0;
         -webkit-transform: scale(1.2);
            z-index:9;
    }
    /*100% { opacity: 0 }
	
	0% {
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    20% {
        opacity: 1;
    }
    40% {
        opacity: 0;
         -webkit-transform: scale(1.2);
            z-index:9;
    }
    100% { opacity: 0 }*/
}


