.slideshow-container {
  width: 100%;
  height: 60vh;
  position: relative;
  overflow: hidden;
  align-items: center;

}

.slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  animation: fade 50s infinite;
}

.slide:nth-child(1) {
  animation-delay: 0s;
}

.slide:nth-child(2) {
  animation-delay: 8s;
}

.slide:nth-child(3) {
  animation-delay: 16s;
}

.slide:nth-child(4) {
  animation-delay: 24s;
}

.slide:nth-child(5) {
  animation-delay: 32s;
}

.slide:nth-child(6) {
  animation-delay: 40s;
}

@keyframes fade {
  0% {
    opacity: 0;
  }
  20% {
    opacity: 1;
  }
  33% {
    opacity: 1;
  }
  53% {
    opacity: 0;
  }
  100% {
    opacity: 0;
  }
}

.slide-content {
/*  position: absolute;*/
  position: relative;
  bottom: 0;
/*  left: 0;*/
	align-items: center;
  width: 100%;
  width: 400px; 
/*  padding: 40px;*/
  padding: 10px;
  background: linear-gradient(transparent, rgba(0, 1, 0, 0.7));
  color: white;
  text-align: center;
  animation: fade 50s infinite;

}

/*----------------------------------------
文字のフェードイン・アウト ここから
-----------------------------------------*/
.slidecontent-fade-container {
  width: 100%;
  height: 60vh;
  position: relative;
  overflow: hidden;
  align-items: center;

}

.slidecontent-fade {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  animation: fade 50s infinite;
}
.slidecontent:nth-child(1) {
  animation-delay: 0s;
}

.slidecontent:nth-child(2) {
  animation-delay: 8s;
}

.slidecontent:nth-child(3) {
  animation-delay: 16s;
}

.slidecontent:nth-child(4) {
  animation-delay: 24s;
}

.slidecontent:nth-child(5) {
  animation-delay: 32s;
}

.slidecontent:nth-child(6) {
  animation-delay: 40s;
}
@keyframes fade {
  0% {
    opacity: 0;
  }
  20% {
    opacity: 1;
  }
  33% {
    opacity: 1;
  }
  53% {
    opacity: 0;
  }
  100% {
    opacity: 0;
  }
}



/*----------------------------------------
文字のフェードイン・アウト ここから
-----------------------------------------*/



/* スライドアニメーションの設定 */
@keyframes horizontal-animation {
	from {
		transform: translateX(0);
	}
	to {
		transform: translateX(-100%);
	}
}
/* スライダーを表示する親コンテナ */
.slider-container2 {
	display: flex;
	position: relative;
	width: 400px;
	overflow: hidden;    
}
/* スライダー本体 */
.slider-wrapper2 {
	display: flex;
	animation: horizontal-animation 20s linear infinite;
}
/* スライドコンテンツ */
.slide2 {
	width: 400px;
	margin-right: 0px;
}
.slide2 img {
	width: 100%;
	height: auto;
	vertical-align: bottom;
}
/* ホバー時の一時停止用 ※任意 */
@media (hover: hover) {
	.slider-container:hover .slider-wrapper {
		animation-play-state: paused;
	}
}

