@charset "UTF-8";

/*------------------------------------------------------------------------
	ポップアップ
------------------------------------------------------------------------*/
.js_popup_body {
    visibility: hidden;
    opacity: 0;
    transition: 0.3s;
    position: fixed;
    inset: 0;
    z-index: 1000;
}

.js_popup_body.is_active {
    visibility: visible;
    opacity: 1;
}

.js_popup_overlay {
    position: absolute;
    inset: 0;
    z-index: 0;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.8);
    -webkit-backdrop-filter: blur(4px);
    backdrop-filter: blur(4px);
    cursor: pointer;
}

.js_popup_close {
    width: 30px;
    height: 30px;
    position: absolute;
    top: 20px;
    right: 20px;
    z-index: 2;
    padding: 0;
    border: none;
    background: transparent;
    cursor: pointer;
}

.js_popup_close::before,
.js_popup_close::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 1px;
    background-color: #1A1A1A;
}

.js_popup_close::before {
    transform: translate(-50%, -50%) rotate(45deg);
}

.js_popup_close::after {
    transform: translate(-50%, -50%) rotate(-45deg);
}

.js_popup_display {
    position: relative;
    z-index: 1;
    width: 100%;
    height: 100%;
    cursor: pointer;
}

.js_popup_display:not(.is_scroll) {
    display: grid;
    place-content: center;
}

.js_popup_display.is_scroll {
    overflow-y: auto;
    scrollbar-gutter: stable;
}

.js_popup_contents {
    position: relative;
    z-index: 1;
    padding: 70px 10px;
    max-width: 100%;
    color: #fff;
    margin-inline: auto;
    cursor: auto;

    @media screen and (max-width: 768px) {
        padding: 60px 5.3333333333vw;
    }
}

.js_popup_contents video {
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
}

.js_popup_contents iframe {
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
}

@media screen and (min-width: 769px) {
    .js_popup_contents {
        max-width: 1010px;
    }
}
