@charset "UTF-8";

/* --- PC表示 --- */

.modal-content {
	font-size: 100%;
	width: 50%;
	margin: 0;
	padding: 10px 20px;
	border: 2px solid #aaa;
	background: #fff;
	position: fixed;
	top:0;
	display: none;
	z-index: 20;
}
.modal-content ol {
	margin-left: 30px;
}
#modal-overlay {
	z-index: 15;
	display: none ;
	position: fixed ;
	top: 0 ;
	left: 0 ;
	width: 100% ;
	height: 120% ;
	background-color: rgba( 0,0,0, 0.75 ) ;
}

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

.modal-content p {
	margin: 15px;
}

.modal-content img.modalimg {
	width: 50%;
}

#gallery img.modalimg {
	margin-left: 10px;
	border: none;
	width: 400px;
}

/* --- スマホ表示 --- */
@media screen and (max-width : 480px){
.modal-content {
	font-size: xx-small;
	width: 80% ;
	margin: 0 ;
	padding: 10px 20px ;
	border: 2px solid #aaa ;
	background: #fff ;
	position: fixed ;
	display: none ;
	z-index: 20 ;
}
#main .modal-content h3 {
	margin-bottom: 10px;
} 
#main .modal-content p {
	margin: 5px;
} 
#main .modal-content ol {
	margin-left: 30px;
} 
#modal-overlay {
	z-index: 15 ;
	display: none ;
	position: fixed ;
	top: 0 ;
	left: 0 ;
	width: 100% ;
	height: 120% ;
	background-color: rgba( 0,0,0, 0.75 ) ;
}

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