.modal-overlay {
    z-index:1001; /*デモではheader,footerをz-index:1にしたので それより上げています*/
    display:none; /*jsでフェードインされるまでdisplay:none*/
    position:fixed;
    top:0;
    left:0;
    width:100%;
    height:100vh; /*100vhでビューポートの高さいっぱいになります*/
    background-color:rgba(0,0,0,.7)} /*これは好きな色・透明度で*/
a.modal-open:hover {cursor:pointer} /*カーソルをポインタに*/
.modal-content {
    position:fixed;
    display:none; /*jsでフェードインされるまでdisplay:none*/
    z-index:1002; /*オーバーレイより上に*/
    margin:10px;
    padding:10px;
    border-radius:10px;
    background:#fff}
.modal-content img {width:auto;max-height:75vh}
.modal-content p {max-width:640px; text-align:left}
a.modal-close { /*クローズボタンは何でも好きなスタイルでOK*/
    position:absolute;
    top:2px;
    right:10px;
    color:#0A192E;
    font-size:24px;
    line-height:1;
    font-weight:bold;
    text-decoration:none}
a.modal-close:hover {cursor:pointer} /*カーソルをポインタに*/


/* ウインドウ内 */

.wrap {
	width:640px;
	background:#0A192E;
	margin:20px auto;
	padding:10px;
	position:relative;
}

.wrap h2 {
	position:absolute;
	right:15px;
	bottom:15px;
}
	
.wrap p {
	height:427px;
	margin-bottom:10px;
}
.wrap ul {
	display:block;
	overflow:hidden;
	margin-top:10px;
	margin-right:-10px;
	clear:both;
	margin-top:3px;
}
.wrap li {
	display:block;
	float:left;
	background:#fff;
	argin-right:10px;
	margin-right:3px;
}
.wrap li img {
	cursor:pointer;
	width:85px;
	height:57px;
}