@charset "utf-8";

.js-modal-trigger{
    background-color: transparent;
    transition: background-color 250ms ease 0s;
}
.js-modal-trigger:hover,
.ep-modal-close-btn:hover{
    cursor: pointer;
}
.js-modal-trigger:hover{
    background-color: rgb(255 255 255 / 0.75);
}
.ep-modal-base{
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 99999;
    background-color: rgb(255 255 255 / 0.94);
    visibility: hidden;
}
.ep-modal-base.is-open{
    visibility: visible;
}
.ep-modal-inner{
    flex-basis: min(100% - 14px, 1248px);
    display: flex;
    justify-content: center;
    align-items: center;
    height: 63.333vh;
    height: 63.333svh;
    position: relative;
}
.ep-modal-wrap{
    width: 100%;
    height: 100%;
    text-align: center;
}
.ep-modal-wrap.is-landscape{
    width: auto;
}
.ep-modal-wrap.is-portrait{
    height: auto;
}
.ep-modal-wrap img,
.ep-modal-wrap.is-landscape img{
    width: auto;
    height: 100%;
}
.ep-modal-wrap.is-portrait img{
    width: 100%;
    height: auto;
}

.ep-modal-close-btn{
    display: block;
    width: 20px;
    height: 20px;
    padding: 0;
    position: absolute;
    right: 10px;
    bottom: calc(100% + 20px);
    border: none;
    background-color: transparent;
    box-sizing: border-box;
}
.ep-modal-close-btn::before,
.ep-modal-close-btn::after{
    content: "";
    display: inline-block;
    width: 28px;
    height: 4px;
    position: absolute;
    top: 50%;
    left: 0;
    background-color: #1874A4;
    border-radius: 8px;
}
.ep-modal-close-btn::before{
    transform: rotate(45deg);
}
.ep-modal-close-btn::after{
    transform: rotate(-45deg);
}

@media screen and (max-width: 800px){
}