* {
  box-sizing: border-box;
}

body {
  font-family: Arial, sans-serif;
  margin: 0;
}
.slideshow{
  position: relative;
}
.slideshow-container {
  position: relative;
  width: 100%;
  overflow: hidden;
  margin: auto;
  height: 430px;
}
@media screen and (max-width: 480px) {
  .slideshow-container {
      height: 226px;
  }
}

.slide {
  position: absolute;
  width: 100%;
  transition: transform 1s ease;
  opacity: 0; /* 蛻晄悄迥ｶ諷九�髱櫁｡ｨ遉ｺ */
}

img {
  width: 100%;
  vertical-align: middle;
}

@keyframes slideInRight {
  from {
      transform: translateX(100%);
      opacity: 1;
  }
  to {
      transform: translateX(0);
      opacity: 1;
  }
}

@keyframes slideOutLeft {
  from {
      transform: translateX(0);
      opacity: 1;
  }
  to {
      transform: translateX(-100%);
      opacity: 1;
  }
}

@keyframes slideInLeft {
  from {
      transform: translateX(-100%);
      opacity: 1;
  }
  to {
      transform: translateX(0);
      opacity: 1;
  }
}

@keyframes slideOutRight {
  from {
      transform: translateX(0);
      opacity: 1;
  }
  to {
      transform: translateX(100%);
      opacity: 1;
  }
}
  .prev, .next {
    cursor: pointer;
    position: absolute;
    top: 50%;
    width: auto;
    padding: 16px;
    margin-top: -22px;
    color: white;
    font-weight: bold;
    font-size: 18px;
    transition: 0.6s ease;
    border-radius: 0 3px 3px 0;
    user-select: none;
    background-color: rgba(0,0,0,0.5);
  }

  .prev {
    left: 0;
    border-radius: 3px 0 0 3px;
  }

  .next {
    right: 0;
    border-radius: 0 3px 3px 0;
  }

  .prev:hover, .next:hover {
    background-color: rgba(0,0,0,0.8);
  }

@media screen and (max-width: 480px) {
  .prev, .next {display: none;}
}