@charset "utf-8";

/* ------------------------------------------------------------------------------------------------------ ポップアップ */

.popup {
    position: fixed;
    display: flex;
    justify-content: center;
    align-items: center;
    top: 0;
    left: 0;
    z-index: 1000;
    width: 100vw;
    height: 100%;
    padding: 20px 20px 60px;
    background-color: rgba(0, 0, 0, 0.8);
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
    opacity: 0;
    visibility: hidden;
    transition: 0.5s;
    box-sizing: border-box;
}

.popup.js_active  {
    opacity: 1;
    visibility: visible;
}

.popup-cover {
    position: relative;
}

.popup-cover .btnclose {
    display: block;
    position: absolute;
    top: -15px;
    right: -15px;
    z-index: 1000;
    width: 36px;
    height: 36px;
    background-image: url("../images/icon_close.svg");
    border-radius: 18px;
    cursor: pointer;
}

.popup-cover img {
    display: block;
	max-width: 100%;
	height: auto;
    max-height: 100%;
    margin: 0 auto;
	border: none;
	vertical-align: text-bottom;
}


@media screen and (min-width: 641px) {

    .popup-cover {
        max-width: 640px;
        height: auto;
    }

} /* min 641px -- */

@media screen and (min-width: 769px) {

    .popup-cover a,
    .popup-cover .btnclose {
        transition: opacity 0.5s;
    }
    
    .popup-cover a:hover,
    .popup-cover .btnclose:hover {
        filter: alpha(opacity=50);
        -moz-opacity: 0.5;
        opacity: 0.5;
    }


} /* min 769px -- */


.snslink li:nth-last-of-type(1) {
	background-color: #0F1419 !important;
    background-image: url(/images/ico_X.png) !important;
}

.bnr-jishin {
	margin-bottom: 30px;
    text-align: center;
}

.bnr-jishin img {
    max-width: 100%;
    height: auto;
}

