@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 ;
	text-align:center;
}
.modal-content h1
{
	font-size: 110%;
	text-align:center;
	margin: 6px 0;
	}
.modalSwitch a{
	/*background: url("../images/form/form_modal_icon_15.png") no-repeat ;*/
	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 ;
}


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

	.modal-content {
		width: 80% ;
		margin: 0 ;
		padding: 10px 5px ;
		border: 2px solid #aaa ;
		background: #fff ;
		position: fixed ;
		display: none ;
		z-index: 2 ;
		text-align:center;
	}
	.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 ) ;
	}
}
