/* modal */
.modal-content {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    padding-top: 2%;
    z-index: 100;
}
.modal-content * {
    box-sizing: border-box;
}
.modal-bg {
    position:absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: #000000;
    background-color: rgba(0,0,0,0.7);
}
.modal-wrap {
    position: relative;
    overflow-y: auto;
    width: 100%;
    max-width: 1200px;
    height: 90vh;
    margin-left: auto;
    margin-right: auto;
    text-align:left;
}

.modal-wrap .btn-close {
    position: sticky;
    top: 20px;
    left: calc(100% - 70px);
    width: 55px;
    height: 55px;
}
.modal-wrap .btn-close a {
    display: block;
    width: 100%;
    height: 100%;
    background-repeat: no-repeat;
    background-image: url("../images/modal_btn_close.png");
    background-size: contain;
    text-indent: -9999px;
    cursor:pointer;
    transition: all .3s ease;
}
.modal-wrap .btn-close a:hover {
    opacity: 0.5;
}

.modal-inner {
    width: 100%;
    background-repeat: no-repeat;
    background-position: center top;
    background-image: url("../images/modal_bg_pc.jpg");
    background-size: cover;
    margin-top: -55px;
    padding-top: 55px;
    padding-bottom: 30px;
}
.modal-inner .title {
    display: flex;
    width: 90%;
    max-width: 850px;
    margin-left: auto;
    margin-right: auto;
}
.modal-inner .image {
    width: 90%;
    max-width: 850px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 50px;
}

.modal-inner .bottom-close {
    text-align: center;
}
.modal-inner .bottom-close a {
    font-size: 20px;
    transition: all .3s ease;
    cursor: pointer;
}
.modal-inner .bottom-close a:hover {
    color: #999999;
    text-decoration: none;
}


@media only screen and (max-width: 750px) {

.modal-content {
    padding-top: 0;
}
.modal-wrap {
    height: 100vh;
    height: 100dvh;
}

.modal-wrap .btn-close {
    top: 1.8vw;
    left: 92%;
    width: 6.4vw;
    height: 6.4vw;
}

.modal-inner {
    background-image: url("../images/modal_bg_sp.jpg");
    padding-top: 14vw;
    padding-bottom: 8vw;
}

.modal-inner .image {
    margin-bottom: 8vw;
}

.modal-inner .bottom-close a {
    font-size: 3.8vw;
}


}





