

.movie-overlay {
    z-index:5;
    display:none;
    position:fixed;
    top:0;
    left:0;
    width:100%;
	height:100%;/*for old Safari*/
    height:100vh;
    background-color:rgba(0,0,0,.5)}
.movie-overlay (:target) {height:100%\9} /* IE9,10 */
a.movie-open:hover {cursor:pointer}
.movie-content {
/*width:85%;*/
    position:fixed;
    display:none;
    z-index:6;
    margin:10px;
    background-color:rgba(255,255,255,0.9);}
.movie-content img {width:auto;max-height:70vh}
.movie-content h1 {font-size:120%; margin-bottom:0.5em}
.movie-content p {
width:700px;
text-align:left;
        margin: 0 auto;
    padding: 20px 0 0 0;
    line-height:1.5;}

.movie-content2 {
/*width:85%;*/
    position:fixed;
    display:none;
    z-index:6;
    margin:10px;
    background-color:rgba(255,255,255,0.9);}
.movie-content2 img {width:auto;max-height:70vh}
.movie-content2 h1 {font-size:120%; margin-bottom:0.5em}
.movie-content2 p {
width:700px;
text-align:left;
        margin: 0 auto;
    padding: 20px 0 0 0;
    line-height:1.5;
}


.movie-content3 {
/*width:85%;*/
    position:fixed;
    display:none;
    z-index:6;
    margin:10px;
    background-color:rgba(255,255,255,0.9);}
.movie-content3 img {width:auto;max-height:70vh}
.movie-content3 h1 {font-size:120%; margin-bottom:0.5em}
.movie-content3 p {
width:700px;
text-align:left;
        margin: 0 auto;
    padding: 20px 0 0 0;
    line-height:1.5;
}


a.movie-close {
	position:absolute;
	top:0;
	right:10px;
	color:#b29c33;
	font-size:35px;
	line-height:1;
	font-weight:bold;
	text-decoration:none}
a.movie-close:hover {
	cursor:pointer;
	opacity:.6}
@media screen and (max-height: 640px) {
	.movie-content {
    padding:10px;
    margin-bottom:50px;
    }
	.movie-content h1 {font-size:100%; margin-bottom:3px}
	.movie-content p {font-size:75%;width:70%; margin:auto}
	a.movie-close:hover {opacity:1}
    
    	.movie-content2 {
    padding:10px;
    margin-bottom:50px;
    }
	.movie-content2 h1 {font-size:100%; margin-bottom:3px}
	.movie-content2 p {font-size:60%;width:70%; margin:auto}
    .movie-content3 {
    padding:10px;
    margin-bottom:50px;
    }
    
    	.movie-content3 h1 {font-size:100%; margin-bottom:3px}
	.movie-content3 p {font-size:60%;width:70%; margin:auto}

}
@media screen and (max-width: 640px) {
	.movie-content {
    padding-bottom:50px;
    }
	.movie-content img {max-height:inherit; width:100%; height:auto}
	.movie-content p {font-size:75%; width:100%;}
	a.movie-close:hover {opacity:1}
    
    	.movie-content2 {
    padding-bottom:50px;
    }
	.movie-content2 img {max-height:inherit; width:100%; height:auto}
	.movie-content2 p {font-size:60%; width:100%;}
    
        	.movie-content3 {
    padding-bottom:50px;
    }
	.movie-content3 img {max-height:inherit; width:100%; height:auto}
	.movie-content3 p {font-size:60%; width:100%;}
}



#modal-overlay{
	/*追加分*/
	width:100%;
	height:120%;
	position:fixed;
	top:0;
	left:0;
}

#modal-content{
	width:50%;
	margin:1.5em auto 0;
	padding:0px 20px;
	border:2px solid #aaa;
	background:#fff;
	z-index:9999;
    position:fixed;
}

.modal-p{
	margin-top:1em;
}

.modal-p:first-child{
	margin-top:0;
}

.button-link{
	color:#00f;
	text-decoration:underline;
}
 
.button-link:hover{
	cursor:pointer;
	color:#f00;
}


$("#modal-open").click(
	function(){
		//[id:modal-open]をクリックしたら起こる処理
	}
);


