.carousel-container {
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
    overflow: hidden;
    position: relative;
}
.carousel-track {
    display: flex;
    transition: transform 0.3s ease-out;
}
.image-container {
    flex: 0 0 100%; /* ひとつの画像を表示する　伸び縮みなしでベーシックは100％ */
    width: 100%;
}
.image-container img {
    width: 100%;
    height: 400px;
    object-fit: cover;
}
.carousel-button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: deeppink;
    color: white;
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    cursor: pointer;
    z-index: 10;
}
#prev {
    left: 1%;
}
#next {
    right: 1%;
}
#dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 15px;
}
.dot {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background-color: white;
    border: 2px solid black;
    cursor: pointer;
}

.dot.active {
    background-color: crimson;
    border: 2px solid black;
}
#play-pause {
    position: absolute;
    bottom: 10px;
    right: 10px;
    background: rgba(0, 0, 0, .5);
    color: white;
    width: 30px;
    height: 30px;
    text-align: center;
    align-self: center;
    cursor: pointer;
    z-index: 10;
}