/* スマホ PC 共通 */
/* 基本設定 */
/*Main visual CSS Animation*/
.mainvisual {
    background-image: url(../image/image-beach.jpg);
    background-color: #000;
    background-size: cover;
    background-position: center 70%;
    animation: mainvisual 30s infinite alternate;
    height: 70vh;
    position: relative;
}

.mainvisual-caption {
    color: #fff;
    text-shadow: 2px 3px 3px rgba(0, 0, 0, 0.4);
    font-size: 12px;
    position: absolute;
    bottom: 0;
    right: 20px;
}

@keyframes mainvisual {
    0% {
        background-image: url(../image/image-beach.jpg);
    }

    20% {
        background-image: url(../image/image-bridge.jpg);
    }

    40% {
        background-image: url(../image/image-lake.jpg);
    }

    60% {
        background-image: url(../image/image-river.jpg);
    }

    80% {
        background-image: url(../image/image-sea.jpg);
    }

    100% {
        background-image: url(../image/image-tram.jpg);
    }
}

/*Fancybox*/
.item a {
    display: inline-block;
}

.modal {
    display: none;

}

.modal-wrap {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    height: 100%;

}

.left-content {
    width: 100%;
    height: auto;
}

.right-content {
    width: 100%;
    padding: 0;

    h4 {
        font-size: 22px;
    }

    p {
        margin-bottom: 1em;
    }
}

/*Swiper*/
.swiper {
    width: 100%;
}

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

.swiper-button-next,
.swiper-button-prev {
    color: #fff;
}

.swiper-pagination-bullet {
    background: #ffffff;
    opacity: 0.6;
}

.swiper-pagination-bullet.swiper-pagination-bullet-active {
    background: #1078da;
    opacity: 1;
}

/* PCのみ */
/* レスポンシブ設定 900px以上のデバイス */
@media screen and (min-width: 900px) {

    /* ここから */
    nav.gnav {
        width: 60%;
    }

    nav.gnav ul li {
        margin-left: 50px;
        display: inline-block;
        width: auto;
    }

    /*Fancybox*/
    .modal-wrap {
        display: flex;
        flex-direction: row;
        justify-content: center;
        align-items: flex-start;
        height: 100%;

    }

    .left-content {
        width: 50%;
        height: auto;
    }

    .right-content {
        width: 50%;
        padding: 0 0 0 30px;

        h4 {
            font-size: 22px;
        }

        p {
            margin-bottom: 1em;
        }
    }

    /* ここまで */
}