.slideshow-container {
    width: 100%;
    position: relative;
}

.slideshow {
    width: 800px;
    height: 550px;
    position: relative;
	margin:50px auto;

}

.slide {
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
    display: none;
}

.slide.active {
    opacity: 1;
    display: block;
    transition: opacity 0.5s ease-in-out;
}


.slide-content {
    bottom: 0;
    left: 0;
    width: 100%;
    padding:40px 0;
}

/* ナビゲーションボタンのスタイル */
.slide-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.5);
    color: white;
    padding: 16px;
    border: none;
    cursor: pointer;
    font-size: 18px;
    transition: background 0.3s;
    z-index: 1;
}

.slide-nav:hover {
    background: rgba(0, 0, 0, 0.8);
}

.prev {
    left: 0;
}

.next {
    right: 0;
}

@media screen and (max-width:980px) { 
    /*　画面サイズが980pxからはここを読み込む　*/
.slideshow {
    width: 80%;
    position: relative;
	margin:0 auto;
}
	
.slideshow-container {
height: auto;
}
.slide-content {
padding: 0;
	top: 0px;
}

}
@media screen and (max-width:500px) { 
.slideshow {
    min-height: 700px;
}
.slide-nav {
    font-size: 10px;
    padding: 10px;
}
}

/* インジケーターのスタイル */
.slide-dots {
    position: absolute;
    bottom: 20px;
    width: 100%;
    display: flex;
    justify-content: center;
    gap: 10px;
    z-index: 1;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.7);
    cursor: pointer;
    transition: background 0.3s;
	border: 1px solid #000;
}

.dot.active {
    background: white;
}