@charset "UTF-8";

body{
font-family: "ヒラギノ角ゴ ProN W3","Hiragino Kaku Gothic ProN","ヒラギノ角ゴ Pro W3","Hiragino Kaku Gothic Pro","ヒラギノ丸ゴ ProN W4","Hiragino Maru Gothic ProN","ヒラギノ丸ゴ Pro W4","Hiragino Maru Gothic Pro","メイリオ",Meiryo,"ＭＳ Ｐゴシック","MS PGothic",Sans-Serif;
}
/* モーダル 背景エリア */
#modal-bg {
	display:none; 
	width:100%;
	height:100%;
	background-color: rgba(0,0,0,0.5);
	position:fixed;
	top:0;
	left:0;
	z-index: 1;
	overflow: scroll;
}

/*モーダル内容*/
#modal-main {
	width: 640px;
	padding: 18px 20px;
	background-color: #fff;
	margin: 0 auto;
	opacity: 0;
	transition: opacity 1.2s, margin .8s;
}

/*モーダルヘッダー*/
#modal-main .modal_header {
	margin-top: -20px;
	padding-bottom: 18px;
	border-bottom: 1px solid #ccc;
}

#modal-main .modal_header img {
	margin-left: 20px;
	width: 20%;
}

/*閉じるボタン*/
#modal-main .modal_close {
	display: block;
	position: relative;
	cursor: pointer;
	height: 34px;
	width: 34px;
	margin-left: auto;
	text-indent: 100%;
	white-space:nowrap;
	overflow:hidden;
	text-decoration: none;
}

#modal-main .modal_close::before ,#modal-main .modal_close::after {
	content: "";
	display:block;
	position: absolute;
	top: 0;
	right: 15px;
	height: 34px;
	width: 1px;
	background-color: #333;
}

#modal-main .modal_close::before {
	transform: rotate(-45deg);
}

#modal-main .modal_close::after {
	transform: rotate(45deg);
}

/*モーダルコンテンツ*/
#modal-main .modal_content .modal_content_title {
	font-size: 20px;
	text-align: center;
	font-weight: bold;
	margin: 12px auto;
}

#modal-main .modal_content_detail {
	text-align: center;
	font-size: 14px;
	width: 480px;
	margin: 20px auto;
}

#modal-main .modal_content_detail em {
	font-weight: bold;
}

#modal-main .modal_content--before {
	text-align: left;
	margin: 10px auto 0;
}

#modal-main .modal_content--before dd {
	margin:0;
}

#modal-main .modal_content--arrow {
	margin: 0 0 12px 0;
}

#modal-main .modal_content--arrow img{
	width: 100px;
}

#modal-main .modal_content--after {
	text-align: left;
	margin: 0 auto 16px;
}

#modal-main .modal_content--after dd {
	margin-top:10px;
}

/*モーダルフッター*/
#modal-main .modal_footer {
	text-align: center;
	padding: 16px 0 23px;
}

/*モーダルボタン*/
#modal-main .modal--button {
	width: 330px;
	text-align: center;
	padding: 14px;
	border-radius: 5px;
	color: #fff;
	font-size: 18px;
	text-decoration: none;
	display: inline-block;
	background-image: linear-gradient(180deg,#0067cc 0,#04407a 100%);
	box-shadow: 0 1px #062440;
	cursor: pointer;
}

#modal-main .modal--button:hover {
	opacity: .7;
}

@media screen and (max-width:768px) {
	#modal-main{
		width: 96%;
		padding: 4% 2%;
		box-sizing: border-box;
	}

	/*モーダルヘッダー*/
	#modal-main .modal_header {
		padding-bottom: 4%;
		margin-top: -24px;
	}

	#modal-main .modal_header img {
		width: 30%;
	}

	/*モーダルコンテンツ*/
	#modal-main .modal_content .modal_content_title {
		font-size: 15px;
		margin-bottom: 4%;
	}

	#modal-main .modal_content_detail {
		width: 100%;
	}

	/*モーダルボタン*/
	#modal-main .modal--button {
		width: 80%;
	}

	/*モーダルフッター*/
	#modal-main .modal_footer {
		padding: 2% 0 4%;
	}
	.modal_content br{
		display: none;
	}

}
