#modal-win {
	width: 100%;
	position: absolute;
}
#modal-win-inner {
	/*box-shadow: 0 0 5px rgba(0, 0, 0, .25);*/
	margin: 0 auto;
	position: relative;
	z-index: 101;
}
#modal-bg {
	width: 100%;
	height: 100%;
	background-color: #000000;
	position: fixed;
	top: 0;
	left: 0;
	z-index: 100;
	cursor: pointer;
}

.mfp-hide {display: none;}

/* pop up */
.wrap_popup {display: none;}
#modal-win .wrap_popup .wrap {
    color: #fff;
    display: -webkit-flex;
    display: -moz-flex;
    display: -ms-flex;
    display: -o-flex;
    display: flex;
    justify-content: center;
    -ms-align-items: center;
    align-items: center;
    -webkit-flex-direction: column;
    -moz-flex-direction: column;
    -ms-flex-direction: column;
    -o-flex-direction: column;
    flex-direction: column;
    position: relative;
}
.wrap_popup {margin: auto;}
.wrap_popup a {color: #fff;}

.wrap_popup .popup_fig img {
    width: 100%;
    height: auto;
    margin: auto;
    display: block;
}
.wrap_popup .wrap {
    max-width: 980px;
    margin: auto;
}
.wrap_popup.long .wrap {
    max-width: 780px;
}
.wrap_popup .pop_cap {margin-bottom: 15px;}
.popup-dismiss {
    position: absolute;
    top: -32px;
    right: 0;
}
.popup-dismiss .btn_close {
    text-indent: -99999px;
    display: inline-block;
    position: relative;
    width: 30px;
    height: 30px;
    cursor: pointer;
}
.popup-dismiss .btn_close::before,
.popup-dismiss .btn_close::after {
    content: '';
    display: block;
    width: 38px;
    height: 1px;
    background-color: #fff;
    position: absolute;
    top: 14px;
    left: -4px;
    cursor: pointer;
}
.popup-dismiss .btn_close::before {
    transform: rotate(45deg);
}
.popup-dismiss .btn_close::after {
    transform: rotate(-45deg);
}

.btn-move .btn_next,
.btn-move .btn_prev {
    font-size: 0;
    text-indent: -9999px;
    display: block;
    width: 25px;
    height: 25px;
    border-top: 1px solid #fff;
    border-right: 1px solid #fff;
}
.btn-move .btn_next {transform: rotate(45deg);}
.btn-move .btn_prev {transform: rotate(-135deg);}
.btn-move {
    position: absolute;
    top: 45%;
}
.btn-move.btn_r {right: -28px;}
.btn-move.btn_l {left: -28px;}

.pop_link {
    color: #fff;
    display: inline-block;
}
.pop_link::before {
    content: '';
    display: inline-block;
    width:  0.65em;
    height: 0.65em;
    border-top: 1px solid #fff;
    border-right: 1px solid #fff;
    transform: rotate(45deg);
    margin-right: 0.5em;
}


@media screen and (min-width:641px) {
    .wrap_popup .pop_cap {font-size: 1.3rem;}
    .wrap_popup .wrap {width: 65vw;}
    .wrap_popup.long .wrap {width: 60vw;}
    .pop_link {font-size: 1.3rem;}
}
@media screen and (min-width:980px) {
    .wrap_popup .wrap {width: 50vw;}
    .wrap_popup.long .wrap {width: 40vw;}
    .pop_link {font-size: 1.4rem;}
}
@media screen and (min-width:1280px) {
    .wrap_popup .wrap {width: 40vw;}
    .wrap_popup.long .wrap {width: 30vw;}
    .pop_link {font-size: 1.5rem;}
}

@media screen and (max-width:640px) {
    .wrap_popup .pop_cap {font-size: 1.6vw;}
    .wrap_popup .wrap {width: 40vw;}
    .wrap_popup.long .wrap {width: 30vw;}
    .popup-dismiss .btn_close {
        width: 24px;
        height: 24px;
    }
    .popup-dismiss .btn_close::before,
    .popup-dismiss .btn_close::after {width: 30px;}
    .btn-move .btn_next,
    .btn-move .btn_prev {
        width: 20px;
        height: 20px;
    }
    .btn-move.btn_r {right: -22px;}
    .btn-move.btn_l {left: -22px;}
    .pop_link {font-size: 1.8vw;}
}
@media screen and (max-width:480px) {
    .wrap_popup .pop_cap {font-size: 3.4vw;}
    .wrap_popup .wrap,
    .wrap_popup.long .wrap {width:calc(100% - 64px);}
    .pop_link {font-size: 4vw;}
}