.slideshow {
  position: relative;
  width: 100vw;
  height: 100vh;
  overflow: hidden;
}
.slide-box{
  padding: 0.5em 1em;
  margin: 2em 0;
  color: rgba(0, 0, 0, 0.8);
  background-color: rgba(221,221,221,0.4);/*背景色*/
  box-shadow: 0 3px 4px rgba(0, 0, 0, 0.4);/*影*/
  position: absolute;
  z-index: 4;
  margin-left: 50%;
  margin-top: 25%;
  width:200px;
  height:150px;
  transform: translateX(0%);
  transform: translateX(-50%);
}
.slide-box img{
  width:40%;
  height:50%;
}
.slide-box-img{
  text-align: center;
}
.slide-box p{
  text-align: center;
  font-size:35px;
  font-family: 'M PLUS Rounded 1c', sans-serif;
}

.slideshow-image {
  position: absolute;
  width: 100%;
  height: 100%;
  background: no-repeat 50% 50%;
  background-size: cover;
  animation-name: kenburns;
  animation-timing-function: linear;
  animation-iteration-count: infinite;
  animation-duration: 24s;/*16s*/
  opacity: 1;
  transform: scale(1.2);
}
.slideshow-image:nth-child(1) {
  animation-name: kenburns-1;
  z-index: 3;
}
.slideshow-image:nth-child(2) {
  animation-name: kenburns-2;
  z-index: 2;
}
.slideshow-image:nth-child(3) {
  animation-name: kenburns-3;
  z-index: 1;
}
.slideshow-image:nth-child(4) {
  animation-name: kenburns-4;
  z-index: 0;
}

.sli-title img{
  width:100px;
  height:auto;
  position:relative;
}
@media screen and (max-width:480px){
.slideshow {
  width: 100vw;
  height: 35vh;
}

.slideshow-image {
  width: 100%;
  height: 100%;
}
.sli-title img{
  width:70%;
  height:auto;
}
.slide-box{
  width:100px;
  height:70px;
}
.slide-box p{
  font-size :15px;
}
}
@media (481px <= width <= 920px){
  .sli-title img{
    width:70%;
    height:auto;
  }
  .slide-box{
    width:150px;
    height:100px;
  }
  .slideshow {
    width: 100vw;
    height: 50vh;
  }
  .slide-box p{
    font-size:15px;
  }
}
@keyframes kenburns-1 {
  0% {
    opacity: 1;
    transform: scale(1.2);
  }
  1.5625% {
    opacity: 1;
  }
  23.4375% {
    opacity: 1;
  }
  26.5625% {
    opacity: 0;
    transform: scale(1);
  }
  100% {
    opacity: 0;
    transform: scale(1.2);
  }
  98.4375% {
    opacity: 0;
    transform: scale(1.2117647059);
  }
  100% {
    opacity: 1;
  }
}
@keyframes kenburns-2 {
  23.4375% {
    opacity: 1;
    transform: scale(1.2);
  }
  26.5625% {
    opacity: 1;
  }
  48.4375% {
    opacity: 1;
  }
  51.5625% {
    opacity: 0;
    transform: scale(1);
  }
  100% {
    opacity: 0;
    transform: scale(1.2);
  }
}
@keyframes kenburns-3 {
  48.4375% {
    opacity: 1;
    transform: scale(1.2);
  }
  51.5625% {
    opacity: 1;
  }
  73.4375% {
    opacity: 1;
  }
  76.5625% {
    opacity: 0;
    transform: scale(1);
  }
  100% {
    opacity: 0;
    transform: scale(1.2);
  }
}
@keyframes kenburns-4 {
  73.4375% {
    opacity: 1;
    transform: scale(1.2);
  }
  76.5625% {
    opacity: 1;
  }
  98.4375% {
    opacity: 1;
  }
  100% {
    opacity: 0;
    transform: scale(1);
  }
}
h1 {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate3d(-50%, -50%, 0);
  z-index: 4;/*99*/
  text-align: center;
  /*font-family: Raleway, sans-serif;*/
  font-family: 'M PLUS Rounded 1c', sans-serif;
  font-weight: 300;
  text-transform: uppercase;
  background-color: rgba(255, 255, 255, 0.75);
  box-shadow: 0 1em 2em -1em rgba(0, 0, 0, 0.5);
  padding: 1em 2em;
  line-height: 1.5;
}