@charset "UTF-8";

/* モーダル */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    padding: 0px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.3s;
    pointer-events: none;
    opacity: 0;
    z-index: 100;
    background-color: rgba(0,0,0,0.80);
}

/* モーダルがactiveの時 */
.modal.is-active {
    opacity: 1;
    pointer-events: auto;
}

/* モーダル背景のオーバーレイ部分 */
.modal__overlay {
    position: absolute;
    width: 100%;
    height: 100%;
    cursor: pointer;
}

/* モーダルのコンテンツ */
.modal__content{
padding: 0;
margin: 0;
box-sizing: border-box;
}
.modal__content {
    position: relative;
    background-color: #fff;
    width: 100%;
    max-height: 100%;
    padding-top: 20px;
    padding-bottom: 30px;
    padding-right: 40px;
    padding-left: 40px;
    text-align: center;
    display: flex;
    align-content: center;
}
@media (min-width: 768px) {
.modal__content {
    width: 80%;
    max-width: 640px;
    padding-top: 30px;
    padding-bottom: 40px;
    padding-right: 30px;
    padding-left: 30px;
}
}

/* モーダルを閉じるボタン */
.modal__close-btn {
    position: absolute;
    right: 20px;
    top: 20px;
    width: 40px;
    height: 40px;
    cursor: pointer;
    z-index: 10;
}

/* 独自アレンジ */
.swiper {
}
.swiper-wrapper {
}
.swiper-slide {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    align-content: center;
}
.swiper-slide img {
    max-height: 75vh;
    border: 1px solid rgba(0,0,0,0.15);
}
.swiper-button-next ,
.swiper-button-prev {
    position: fixed;
    width: 18px;
}
@media (min-width: 768px) {
.swiper-button-next ,
.swiper-button-prev {
    width: 24px;
}
}
