@charset "UTF-8";
/* CSS Document */
  .main_logo {
    z-index:11;
    position: absolute;
    top:-10%;
    left:10%;
    width:auto;
    height:40vh;
}

 .main_imgBox {
    height: 90vh;
    overflow: hidden;
    position: relative; }

.slide01{background-image: url(../img/slide_img01.jpg);}
.slide02{background-image: url(../img/slide_img02.jpg);}
.slide03{background-image: url(../img/slide_img03.jpg);}

.slide04{background-image: url(../img/slide_img01_new.webp);}
.slide05{background-image: url(../img/slide_img02_new.webp);}
.slide06{background-image: url(../img/slide_img03_new.webp);}
  .main_img {
    z-index:10;
    opacity: 0;
    width: 100%;
    height: 90vh;
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    position: absolute;
    left: 0;
    top: 0;
    -webkit-animation: anime 18s 0s infinite;
    animation: anime 18s 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_imgM {
    opacity: 0;
    width:100%;
    height:100%;
    object-fit: cover;
    position: absolute;
    left: 0;
    top: 0;
    -webkit-animation: anime 18s 0s infinite;
    animation: anime 18s 0s infinite; }

    .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; }




@keyframes anime {
    0% {
        opacity: 0;
    }
    16% {
        opacity: 1;
    }
    34% {
        opacity: 1;
    }
    50% {
        opacity: 0;
         transform: scale(1.2);
                    z-index:9;
    }
    100% { opacity: 0 }
}

@-webkit-keyframes anime {
    0% {
        opacity: 0;
    }
    16% {
        opacity: 1;
    }
    34% {
        opacity: 1;
    }
    50% {
        opacity: 0;
         -webkit-transform: scale(1.2);
            z-index:9;
    }
    100% { opacity: 0 }
}





/* スマホ版 w560以下に適応するcss *************************************************************** */
/* スマホ版 w560以下に適応するcss *************************************************************** */
/* スマホ版 w560以下に適応するcss *************************************************************** */
/* スマホ版 w560以下に適応するcss *************************************************************** */
/* スマホ版 w560以下に適応するcss *************************************************************** */
/* スマホ版 w560以下に適応するcss *************************************************************** */

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

  .main_logo {
    top:20%;
    left:5%;
    width:70%;
    height:auto;
}
	
 .main_imgBox {
    height: 60vh;
    overflow: hidden;
    position: relative; 
    z-index:-999;}

.slide01{background-image: url(../img/slide_img01_sp.jpg);}
.slide02{background-image: url(../img/slide_img02_sp.jpg);}
.slide03{background-image: url(../img/slide_img03_sp.jpg);}	

	
  .main_img {
    z-index:10;
    opacity: 0;
    width: 100%;
    height: 60vh;
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    position: absolute;
    left: 0;
    top: 0;
    -webkit-animation: anime 18s 0s infinite;
    animation: anime 18s 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; }



	
	
}

