@charset "utf-8";

    .main {
        max-width: 960px;
        margin: 0 auto;
        padding: 0px;
        text-align: left;
    }

    h1 {
        text-align: center;
        font-family: "Yuji Syuku", serif;
        margin: 0;
    }

    .how-to-come {
        margin: 30px 0 10px 0;
        font-size: 1.1em;
        border-bottom: 1px solid #ccc;
        display: block;
    }

    .minute-to-come {
        font-size: 1.1em;
        font-weight: 600;
        text-align: left;
        padding: 0;
        margin: 8px 0;
    }

    .map-container {
        max-width: 600px;
        margin: 40px auto 0 auto;
        padding: 0 15px;
        box-sizing: border-box;
    }

    .map-container iframe {
        width: 100%;
        height: 450px;
        display: block;
    }


/* --- Swiperコンテナの設定 --- */
.mySwiper {
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
    overflow: hidden;
    position: relative;
    padding-bottom: 50px;
    box-sizing: border-box;
}

/* --- スライド画像 --- */
.swiper-slide img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.swiper-slide {
    display: flex;
    justify-content: center;
    align-items: center;
}

/* 矢印ボタンのデザインと配置 */
/* .swiper-button-next と .swiper-button-prev 両方に適用 */
.mySwiper .swiper-button-next,
.mySwiper .swiper-button-prev {
    color: #8b0000 !important;
    background: rgba(255, 255, 255, 0.8);
    width: 44px !important;
    height: 44px !important;
    border-radius: 50%;
    top: 50%;
    margin-top: -22px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
}

/* 楕円になるのを防ぐため、擬似要素の幅をリセット */
.mySwiper .swiper-button-next:after,
.mySwiper .swiper-button-prev:after {
    font-size: 20px;
    font-weight: bold;
    width: auto;
    height: auto;
}

/* 右矢印の位置微調整 */
.mySwiper .swiper-button-next {
    right: 10px;
}
/* 左矢印の位置微調整 */
.mySwiper .swiper-button-prev {
    left: 10px;
}

/* --- スマホ向けの調整 --- */
@media screen and (max-width: 768px) {
    .mySwiper {
        width: 95%;
    }

    .swiper-button-next,
    .swiper-button-prev {
        width: 35px;
        height: 35px;
    }

    .swiper-button-next:after,
    .swiper-button-prev:after {
        font-size: 16px;
    }
}