@charset "UTF-8";
/*モーダル共通カスタム*/
.modal-bg {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 9999;
    display: none;
    width: 100%;
    height: 120%;
    background-color: rgba(0, 0, 0, 0.7);
}

.modal-box {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 99999;
    display: none;
    width: 100%;
    height: 100%;
    overflow-y: scroll;
}

.modal-box .modal-detail {  
	position: relative;
	max-width: 800px;
    width: 90%;
    margin: 50px auto 15px;
    background-color: #ffffff;
}

.modal-box .modal-detail .modal-close {
    position: absolute;
    width: 50px;
    height: 50px;
    top: -25px;
    right: -25px;
    z-index: 5;
    transition: all 0.5s;
    cursor: pointer;
}

.modal-box .modal-detail .modal-close::before {
	position: absolute;
	width: 100%;
	height: 100%;
	content: "";
	background-image: url(../img/modal_close.svg);
	background-size: contain;
	background-position: center;
	background-repeat: no-repeat;
}

.modal-box .modal-detail .modal-close:hover {
	opacity: 0.6;
}




@media screen and (max-width: 1024px) {
	
	
}


@media screen and (max-width: 768px) {
	

.modal-box .modal-detail {
    margin: 30px auto;
}

.modal-box .modal-detail .modal-close {
    top: 10px;
    right: 10px;
}

	
}


@media screen and (max-width: 600px) {


.modal-box .modal-detail {
    margin: 15px auto;
}


.modal-box .modal-detail .modal-close {
    width: 40px;
    height: 40px;
}

}


