/********************************************************************************/
/*  モーダルウィンドウ用CSS  */
/********************************************************************************/
/*---↓Modal------------------------------------------------*/
.modal-overlay {
    z-index:2; 
    display:none; 
    position:fixed;
    top:0;
    left:0;
    width:100%;
    height:100vh;
    background-color:rgba(102,102,153,.5)}
a.modal-open:hover {cursor:pointer} 
.modal-content {
    position:fixed;
    display:none; 
    z-index:3; 
    margin:20px;
    padding:25px;
    border-radius:10px;
    border:1px solid #fff;
    background:#fff;
	text-shadow:none;}
.modal-content img {width:auto;max-height:75vh}
.modal-content h1 {font-size:120%; margin-bottom:0.5em}
.modal-content p {max-width:565px; text-align:left}
a.modal-close { 
    position:absolute;
    top:20px;
    right:20px;
    color:#666;
    font-size:50px;
    line-height:1;
    font-weight:bold;
    text-decoration:none}
a.modal-close:hover {cursor:pointer} 
/*---↑Modal------------------------------------------------*/

/* ------------------------------------ */
/*   for Tablet design                  */
/* ------------------------------------ */
@media all and (max-width: 768px) {

}

/* ------------------------------------ */
/*   for Mobile design                  */
/* ------------------------------------ */
@media all and (max-width: 768px) {
.modal-content h3 {
	margin-top:-10px;
	margin-bottom:0;
}
.modal-content h3 img {
	width:70%;
}

.modal-content {
    position:fixed;
    display:none; 
    z-index:3; 
    margin:5px;
    padding:15px;
    border-radius:10px;
    border:1px solid #fff;
    background:#fff;
	text-shadow:none;
	width:90%;}
.modal-content img {width:auto;max-height:85vh}
.modal-content h1 {font-size:100%; margin-bottom:0.5em}
.modal-content p {max-width:85%; text-align:left}

a.modal-close { top:7px;}
}
