@charset "UTF-8";
/* CSS Document */


/*=========================
スライダー　02
=========================*/
.box{
    position: relative;
    width: 100%;
    height: 100%;
    padding: 76% 0 0;
}
.slider_css {
  margin: 0 auto;
  position: relative;
  overflow: hidden;
	
	
   position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}
.slider_css ul {
  margin: 0;
  padding: 0;
  list-style: none;
   position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}
.slider_css ul li {
  background-size: cover;
  width: 100%;
  position: absolute;
  top: 0;
  left: 0;
  animation-iteration-count: infinite;
  animation-duration: 32s;
}
.slider_css ul li:nth-child(1) {
  background-image: url(../img/slide_1.png);
  animation-name: slider-zoomin;
  animation-delay: -3s;
}
.slider_css ul li:nth-child(2) {
  background-image: url(../img/slide_2.png);
  animation-name: slider-zoomout;
  opacity: 0;
  animation-delay: 5s;
}
.slider_css ul li:nth-child(3) {
  background-image: url(../img/slide_4.png);
  animation-name: slider-zoomin;
  opacity: 0;
  animation-delay: 13s;
}
.slider_css ul li:nth-child(4) {
  background-image: url(../img/slide_3.png);
  animation-name: slider-zoomout;
  opacity: 0;
  animation-delay: 21s;
}/*
.slider_css ul li:nth-child(5) {
  background-image: url(../img/slide_5.png);
  animation-name: slider-zoomin;
  opacity: 0;
  animation-delay: 29s;
}*/
.slider_css ul li img {
  width: 130%;
}/*
@media only screen and (max-width: 768px) {*/
  .slider_css ul li {
    background-size: contain;
    background-repeat: no-repeat;
		background-position:center;
		height:100%;
  }

@keyframes slider-zoomin {
  0% {
    opacity: 0;
    transform: scale(1);
  }
  12.5% {
    opacity: 1;
  }
  20% {
    opacity: 1;
  }
  27.5% {
    opacity: 0;
  }
  100% {
    opacity: 0;
    transform: scale(1.3);
  }
}
@keyframes slider-zoomout {
  0% {
    opacity: 0;
    transform: scale(1.3);
  }
  12.5% {
    opacity: 1;
  }
  20% {
    opacity: 1;
  }
  27.5% {
    opacity: 0;
  }
  100% {
    opacity: 0;
    transform: scale(1);
  }
}
View SCSS Code 1×0.5×0.25× Rerun
Resources