.movie-overlay {
    z-index:2;
    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 {
    position:fixed;
    display:none;
    z-index:3;
    margin:10px;
    padding-top:60px;
    padding-left:70px;
    padding-right:70px;
    padding-bottom:50px;
    background-color:rgba(255,255,255,0.8);}
.movie-content img {width:auto;max-height:70vh}
.movie-content h1 {font-size:120%; margin-bottom:0.5em}
.movie-content p {max-width:800px; text-align:left}
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}
	.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}
}
@media screen and (max-width: 640px) {
	.movie-content {padding:10px}
	.movie-content img {max-height:inherit; width:100%; height:auto}
	.movie-content p {font-size:75%; width:100%;}
	a.movie-close:hover {opacity:1}
}



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

#modal-content{
	width:50%;
	margin:1.5em auto 0;
	padding:10px 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]をクリックしたら起こる処理
	}
);