@charset "UTF-8";

* { box-sizing: border-box; margin: 0; padding: 0; }

body {
/*    font-family: sans-serif;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    background-color: #f0f0f0;
    padding: 20px;*/
}

/* スライドショーの枠組み */
.slider_container {
    width: 100%;
    max-width: 800px;
    height: auto;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
    position: relative;
    background-color: #000;
    margin: 2em auto;
}

/* 画像を横並びにするラッパー */
.slider_wrapper {
    display: flex;
    width: 100%;
    height: 100%;
    transition: transform 0.5s ease-in-out;
}

.slide {
    min-width: 100%;
    height: 100%;
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ボタン */
.prev, .next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    padding: 10px 15px;
    cursor: pointer;
    font-size: 18px;
    border-radius: 50%;
    user-select: none;
    z-index: 5;
}

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

/* 丸い点のコンテナ */
.indicators {
    position: absolute;
    bottom: 20px;       /* 下からの距離 */
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;          /* 点と点の間隔 */
    z-index: 5;
}

/* 丸い点自体のデザイン */
.dot {
    width: 12px;
    height: 12px;
    background-color: rgba(255, 255, 255, 0.5); /* 半透明の白 */
    border-radius: 50%; /* 丸くする */
    cursor: pointer;
    transition: background-color 0.3s;
}

/* 選択中の点のデザイン */
.dot.active {
    background-color: #fff; /* 真っ白 */
    transform: scale(1.2);  /* 少し大きくする */
}