@charset "UTF-8";

/* ここからデモページ用のコード */
body {
	width: 100% ;
	padding: 0 ;
}
/* ここまでデモページ用のコード */

.modal-content {
	margin:20px 0 0 0;
	padding: 30px ;
	border: 2px solid #aaa ;
	background: #fff ;
	position: fixed ;
	display: none ;
	z-index: 15 ;
}
.modal-content h1
{
	font-size: 110%;
	text-align:center;
	margin: 6px 0;
	}
.modalSwitch a{
	background-size: 15px 15px;
	background-position : 0% 50%;
	padding-left: 20px;
	text-decoration: none;
}
#modal-overlay {
	z-index: 10 ;
	display: none ;
	position: fixed ;
	top: 0 ;
	left: 0 ;
	width: 100% ;
	height: 120% ;
	background-color: rgba( 0,0,0, 0.5 ) ;
}

.button-link {
	color: #00f ;
	text-decoration: none ;
}
 
.button-link:hover {
	cursor: pointer ;
	color: #f00 ;
}
.upperCloseBtn{
	display: inline-block;
	font-size: 280%;
	font-weight: bold;
	color: #777777;
	border: 1px solid #777777;
	border-radius: 3px;
	padding: 10px 0;
	background-color:rgba(255,255,255,0.6);
	position: relative;
	left: 885px;
	top:-20px;
}
.upperCloseBtn:hover{
	cursor: pointer;
}

@media (max-width: 768px) {
/*	body {
		height: 5000px ;
	}
	 ここまでデモページ用のコード */

	.modal-content {
		width: 85% ;
		margin: 30px 0 0 0 ;
		padding: 10px 5px ;
		border: 2px solid #aaa ;
		background: #fff ;
		position: fixed ;
		display: none ;
		max-height: 75vh;
		overflow-y: auto;
	}
	.modal-content h1
	{
		font-size: 110%;
		text-align:center;
		margin: 15px 0;
	}
	.modalImg img
	{
		width: 24vw;
		}


	#modal-overlay {
		z-index: 1 ;
		display: none ;
		position: fixed ;
		top: 0 ;
		left: 0 ;
		width: 100% ;
		height: 120% ;
		background-color: rgba( 0,0,0, 0.5 ) ;
	}
	
	.upperCloseBtn{
		display: flex;
		position: fixed;
		left: 82%;
		top:auto;
		font-size: 240%;
		font-weight: bold;
		color: #777777;
		border: 1px solid #777777;
		border-radius: 3px;
		line-height: 0.8;
		background-color:rgba(255,255,255,0.6);
		padding: 0;
		float: none;
	}

}
/*モーダルアイコン*/
.modalTitle{
	background:url(../images/btn/modal.gif) no-repeat;
	background-size: 20px;
	padding-left: 25px;
}
/*閉じるボタン*/
.filter{
	width: inherit;
	height: auto;
}

