/* -------------------- 上部ナビ（線＋丸） -------------------- */
.slider-nav {
    display: flex;
    justify-content: left;
    padding: 10px 0 18px;
    /* スライダーとの間隔 */
}

.hero-slider .swiper-pagination.swiper-pagination-bullets {
    position: relative;
    width: min(640px, 86vw);
    /* 線の長さ */
    height: 18px;
    /* クリック領域を少し厚めに */
    display: flex;
    justify-content: space-between;
    /* bulletを等間隔に並べる */
    align-items: center;
    margin: 0;
}

/* 背景の細い線 */
.hero-slider .swiper-pagination.swiper-pagination-bullets::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    height: 1px;
    background: #fff;
    border-radius: 999px;
}

/* bullet（クリック用）。見た目は非表示だがクリック可能にする */
.hero-slider .swiper-pagination-bullet {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: transparent;
    opacity: 0;
    /* 非表示（ポインタは効く） */
    margin: 0;
    /* 余白で位置がズレないように */
}

/* 黄色い丸インジケーター（実際に見えるのはこれ1個だけ） */
.nav-indicator {
    position: absolute;
    top: 50%;
    left: 0;
    width: 10px;
    height: 10px;
    background: #f6c024;
    border-radius: 50%;
    transform: translateX(0) translateY(-50%);
    transition: transform .35s ease;
    /* スムーズに「動く」 */
    pointer-events: none;
    /* クリックは下のbulletへ */
}

/* -------------------- スライド見せ方（中央大きめ＋左右チラ見せ＆正方形） -------------------- */
.mySwiper {
    width: 100%;
}

.mySwiper .swiper-slide {
    max-width: 400px;
    padding: 1rem 0;
}

.mySwiper img {
    width: 100%;
    aspect-ratio: 1 / 1;
    /* 正方形 */
    object-fit: cover;
    display: block;
}

@media (max-width: 768px) {
    .mySwiper .swiper-slide {
        max-width: none;
    }

    .slider-nav {
        justify-content: center;
        padding: 8px 0 14px;
    }
}