/* ============================================
   萩眼科 スライダーカスタムスタイル
   Swiper 12対応版（swiper-container → swiper に変更済み）
   ============================================ */

.swiper {
    width: 100%;
    height: 100%;
    margin-left: auto;
    margin-right: auto;
    display: block;
}
.swiper img {
    height: auto;
    width: 100%;
}
.swiper-slide {
    text-align: center;
    font-size: 18px;
    background: #fff;
    display: -webkit-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    -webkit-justify-content: center;
    justify-content: center;
    -webkit-box-align: center;
    -ms-flex-align: center;
    -webkit-align-items: center;
    align-items: center;
}

.swiper-bg01, .swiper-bg02, .swiper-bg03, .swiper-bg04, .swiper-bg05 {
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    background-image: url(../img/slide/2400/01.jpg);
}
.swiper-bg02 {
    background-image: url(../img/slide/2400/02.jpg);
}
.swiper-bg03 {
    background-image: url(../img/slide/2400/03.jpg);
    background-position: top center;
}

@media screen and (max-width: 1024px) {
    .swiper-bg01 {
        background-image: url(../img/slide/1024/01.jpg);
    }
    .swiper-bg02 {
        background-image: url(../img/slide/1024/02.jpg);
    }
    .swiper-bg03 {
        background-image: url(../img/slide/1024/03.jpg);
    }
}

@media screen and (max-width: 499px) {
    .swiper-bg01 {
        background-image: url(../img/slide/499/01.jpg);
    }
    .swiper-bg02 {
        background-image: url(../img/slide/499/02.jpg);
    }
    .swiper-bg03 {
        background-image: url(../img/slide/499/03.jpg);
    }
}
