@charset "UTF-8";
.modal__item {
    margin-bottom: 40px;
}

.modal__item .modal {
    overflow: hidden;
    position: relative;
}

.modal__item .modal::before {
    content: '';
    display: block;
    padding-top: 60%;
}

.modal__item .modal img {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    -o-object-fit: cover;
    object-fit: cover;
}

body.active {
    overflow: hidden;
}

.main-modal {
    display: none;
    height: 100vh;
    position: fixed;
    top: 0;
    z-index: 1111111;
    width: 100%;
    left: 0;
}

.modal__bg {
    background: rgba(0, 0, 0, 0.5);
    height: 100vh;
    position: absolute;
    width: 100%;
}

.main-modal .container {
    position: relative;
    left: 50%;
    top: 30%;
    -webkit-transform: translateX(-50%) translateY(-50%);
    transform: translateX(-50%) translateY(-50%);
}

.main-modal .container .btn {
    width: 40px;
    height: 40px;
    position: absolute;
    top: -10px;
    right: -10px;
    cursor: pointer;
}

.main-modal .container .movie {
    position: relative;
    width: 100%;
    padding-top: 25%;
}

.main-modal .container .movie video {
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
}

.modal_btn_close_wrap {
    width: 100%;
    text-align: right;
}

.modal_btn_close {
    position: relative;
    z-index: 2;
    top: 0;
    right: 0;
    display: inline-block;
    width: 35px;
    height: 35px;
    overflow: hidden;
    border: none;
    background: transparent;
}

.modal_btn_close:before {
    content: '';
    position: absolute;
    height: 2px;
    width: 100%;
    top: 50%;
    left: 0;
    margin-top: -1px;
    background: #fff;
    border-radius: 5px;
    margin-top: -6px;
}

.modal_btn_close:after {
    content: '';
    position: absolute;
    height: 2px;
    width: 100%;
    top: 50%;
    left: 0;
    margin-top: -1px;
    background: #fff;
    border-radius: 5px;
    margin-top: -6px;
}

.modal_btn_close:before {
    transform: rotate(45deg);
}

.modal_btn_close:after {
    transform: rotate(-45deg);
}

.modal__bg video {
    max-width: 100%;
}

.wrap-modal-video {
    height: 100%;
    min-width: 1040px;
    width: 100%;
}

.main-modal.js-modal .container {
    width: 1335px;
    padding: 20px;
}

@media screen and (max-width: 768px) {
    .main-modal.js-modal .container {
        width: 100%;
    }
    .wrap-modal-video {
        min-width: 100%;
    }
}