@charset "Shift_JIS";

#modal-outer {
	width:100%;
	height:120%;
	position:fixed;
	top:0;
	left:0;
	visibility:hidden;
	opacity:0;
	background:none;
	transition:.5s;
}
#modal-outer.is-open {
	background:rgb(255 255 255 / 80%);
	visibility:visible;
	opacity:1;
	z-index:999999;
}
#modal {
        width:25%;
        height:75%;
    position: fixed;
    top: 800px;
    left: 39%;
    display: flex;
    /* margin-left: -426px; */
    opacity: 0;
    transition: .5s;
    transition-delay: .5s;
}
#modal a {
    display: block;
    width: 400px;
    height: 400px;
}
#modal a img {
    width: 100%;
    height: auto;
}
#modal #modal-info {
    width: 452px;
    height: 400px;
    box-sizing: border-box;
    padding: 30px 20px;
    position: relative;
}
#modal #modal-info h3 {
    font-size: 16px;
    line-height: 1.5em;
    margin: 0 0 15px 0;
}
#modal #modal-info a {
    display: block;
    width: 240px;
    height: 32px;
    line-height: 32px;
    text-align: center;
    margin: 20px auto;
    background: #C82527;
    color: #fff;
    position: absolute;
    bottom: 30px;
    left: 50%;
    margin-left: -120px;
}
#modal-outer.is-open #modal {
	position: fixed;
    top: 15%;
    /* margin-top: -200px; */
    background: #fff;
    opacity: 1;
}
#cross {
	display: block;
    position: absolute;
    top: -40px;
    right: -40px;
    /* width: 50px; */
    /* height: 50px; */
    cursor: pointer;
    z-index: 9999;
    color: #FFF;
}
#cross:before {
	content: '';
    display: block;
    width: 40px;
    height: 5px;
    background: rgb(0 0 0 / 0.8);
    position: absolute;
    top: 9px;
    left: -4px;
    transform: rotate(45deg);
    -webkit-transform: rotate(45deg);
    -moz-transform: rotate(45deg);
    -o-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    border-radius: .5px;
}
#cross:after {
	content: '';
    display: block;
    width: 40px;
    height: 5px;
    background: rgb(0 0 0 / 0.8);
    position: absolute;
    top: 9px;
    left: -4px;
    transform: rotate(-45deg);
    -webkit-transform: rotate(-45deg);
    -moz-transform: rotate(-45deg);
    -o-transform: rotate(-45deg);
    -ms-transform: rotate(-45deg);
    border-radius: .5px;
}

@media screen and (max-width: 1024px) {
#modal {
        width:50%;
        height:50%;
}
}
@media screen and (max-width: 767px) {
	video {
		width: 100%;
	}
    #modal-outer {
        width:100%;
        height:100%;
        position:fixed;
        top:0;
        left:0;
        visibility:hidden;
        opacity:0;
        background:none;
        transition:.5s;
    }
    #modal-outer.is-open {
        background:rgb(255 255 255 / 80%);
        visibility:visible;
        opacity:1;
        z-index:99999;
    }
    #modal {
        width:90%;
        height:70%;
        position:fixed;
        display: block;
        top:15%;
        left:5%;
        margin-left:0;
        opacity:0;
        transition:.5s;
        transition-delay:.5s;
    }
    #modal a {
        width: 100%;
        height: auto;
    }
    #modal a img {
        width: 100%;
        height: auto;
    }
#modal #modal-info a {
    display: block;
    width: 80%;
    height: 28px;
    line-height: 28px;
    text-align: center;
    margin: 20px auto;
    background: #C82527;
    color: #fff;
    position: static;
    margin-left: auto;
    margin: 10px auto 0 auto;
}
    #modal-outer.is-open #modal {
        position:fixed;
        top:130px;
        margin-top:0;
        background:#fff;
        opacity:1;
    }
    #modal #modal-info {
    width: 100%;
    height: auto;
    box-sizing: border-box;
    padding: 10px 15px;
    position: relative;
}
#modal #modal-info h3 {
    font-size: 12px;
    line-height: 1.5em;
    margin: 0 0 10px 0;
}
    #modal #modal-info p {
    font-size: 9px;
}
    #cross {
        display:block;
        position:absolute;
        top:-40px;
        right:30px;
        /*width:50px;
        height:50px;*/
        cursor:pointer;
    }
    #cross:before {
        content:'';
        display:block;
        width:30px;
        height:5px;
        background: rgb(0 0 0 / 0.8);
        position:absolute;
        top:9px;
        left:-4px;
        transform:rotate(45deg);
        -webkit-transform:rotate(45deg);
        -moz-transform:rotate(45deg);
        -o-transform:rotate(45deg);
        -ms-transform:rotate(45deg);
        border-radius:.5px;
    }
    #cross:after {
        content:'';
        display:block;
        width:30px;
        height:5px;
        background: rgb(0 0 0 / 0.8);
        position:absolute;
        top:9px;
        left:-4px;
        transform:rotate(-45deg);
        -webkit-transform:rotate(-45deg);
        -moz-transform:rotate(-45deg);
        -o-transform:rotate(-45deg);
        -ms-transform:rotate(-45deg);
        border-radius:.5px;
    }
}