@charset "utf-8";
@media (min-width: 750px) and (max-width: 1380px) {

    /* 地図データ */
    #map iframe {
        width: 100%;
    }

    /* パンフレット */
    .pamphelet iframe {
        width: 100%;
        height: 90vh;
        border: 0;
    }

    /* メイン写真 */
    main img {
        border-radius: 20px;
        width: 80%;
        display: block;
        margin: 0 auto;
    }

    /* フルページカルーセル */
    .slider {
        position: relative;
        z-index: 10;
        width: auto;
        height: auto;
        text-align: center;
        overflow: hidden;
        display: flex;
        align-items: center;
        justify-content: center;
        margin: auto;
    }

    .slides {
        display: flex;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        scroll-behavior: smooth;
        -webkit-overflow-scrolling: touch;
        margin-bottom: 10px;
        box-sizing: border-box;
        padding-bottom: 20px;
    }

    .slide {
        scroll-snap-align: start;
        flex: 0 0 100%;
        flex-basis: 100%;
        width: 100%;
        min-width: 100%;
        height: auto;
        border-radius: 10px;
        background: #eee;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        box-sizing: border-box;
        margin-right: 0;
        overflow: hidden;
    }

    .slide-content {
        display: flex;
        width: 100%;
        padding: 0;
    }

    .slide-image {
        flex: 1;
        width: 30%;
        height: auto;
        border-radius: 10px;
        object-fit: cover;
    }

    .slide-text {
        flex: 2;
        padding: 20px;
        display: flex;
        flex-direction: column;
        justify-content: center;
    }

    .slide-text h4 {
        margin: 0 0 10px;
        font-size: 1.8rem;
    }

    .slide-text p {
        margin: 0;
        line-height: 1.5;
        font-size: 30%;
    }

    .slides>div {
        scroll-snap-align: start;
        flex-shrink: 0;
        width: auto;
        height: 500px;
        border-radius: 10px;
        background: #eee;
        transform-origin: center center;
        transform: scale(1);
        transition: transform 0.5s;
        position: relative;
        display: flex;
        justify-content: center;
        align-items: center;
        font-size: 70px;
    }

    /* スクロールバーのスタイル */
    .slides::-webkit-scrollbar {
        width: 10px;
    }

    .slides::-webkit-scrollbar-thumb {
        background: #888;
        border-radius: 10px;
    }

    .slides::-webkit-scrollbar-track {
        background: #f1f1f1;
    }
}