.swiper-container {
    position: relative;
    margin: 0 0 0 auto; /* 右寄せ */
    width: calc(100% - calc(260 / 1920 * 100%)); /* 幅をそのまま保持 */
    overflow: hidden; /* はみ出しを隠す */
}

.swiper-wrapper {
    display: flex;
    transition: transform 0.3s ease-in-out; /* アニメーションをスムーズに */
}

.swiper-slide {
    flex: 0 0 auto;
    display: flex;
    justify-content: center;
    align-items: center;
    box-sizing: border-box; /* パディングやマージンが幅に影響しないように */
    position: relative;
}

.swiper-slide a {
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.swip_img {
    width: 100%; /* スライド内の画像を最大化 */
    height: auto;
    object-fit: cover; /* 画像が歪まないよう調整 */
    border-radius: 20px; /* 必要に応じて角を丸める */
    margin-top: 150px;
}

.swiper-slide .name1 {
    color: #fff;
    font-size: 1.1em;
    line-height: 1.8em;
    font-weight: 500;
    position: absolute;
    left: 20px;
    bottom: 70px;
}

.swiper-slide .name2 {
    color: #fff;
    font-size: 2.5em;
    line-height: 1;
    font-weight: 500;
    position: absolute;
    left: 20px;
    bottom: 30px;
}

/* プログレスバー */
.swiper-pagination-custom {
    position: relative;
    bottom: 0px;
    left: 49.5%;
    transform: translateX(-49.5%);
    width: 32%; /* プログレスバーの長さを画像1枚分に設定 */
    height: 2px;
    margin: 25px 0 0;
    background: rgba(0, 0, 0, 0.2);
    overflow: hidden;
}

.swiper-pagination-custom-fill {
    height: 100%;
    background: var(--color-gold);
    transition: width 0.3s;
    width: 0%; /* 初期値は0 */
}



@media (max-width: 820px) {
   .swiper-container {
        margin: -50px auto 0;
    }
	
   .swiper-pagination-custom {
        left: 0; /* 左寄せ */
        transform: none; /* トランスフォームをリセット */
        width: 50%; /* プログレスバーの幅を2スライド分に調整 */
        margin: 25px 0 0; /* 上マージンはそのまま */
    }
}


@media (max-width: 640px) {
    .swiper-pagination-custom {
        width: 100%; /* プログレスバーの幅を1スライド分に調整 */
    }
}
