/* モーダルウィンドウ内
-----------------------------------*/
.modal-content .modal-inr {
	width: 100%;
	margin: 0 auto;
}
.modal-content .modal-inr p {
	font-size: 12px;
	margin: 0 0 20px;
}
.modal-content .modal-inr .modal_hed {
}
.modal-content .modal-inr .modal_hed_ttl {
	margin: 10px 25px 20px 0;
}
.modal-content .modal-inr .modal_hed_txt {
	font-size: 16px;
	padding: 10px 0;
	color: #111;
	font-weight: bold;
	border-top: solid 2px #111;
	border-bottom: solid 2px #111;
}
/* ボタン 左上アニメホバー */

#bnrarea02 .modal-inr_btn {
	float: left;
	width: 32%;
	margin: 0 2% 10px 0;
}
#bnrarea02 .modal-inr_btn a {
	display: inline-block;
	width: 100%;
	text-align: center;
	text-decoration: none;
	padding: 8% 0;
	outline: none;
	position: relative;
	z-index: 2;
	background-color: #fed201;
	color: #333;
	overflow: hidden;
	border-radius: 6px;
	font-size: 16px;
	letter-spacing: 0.2ex;
}
#bnrarea02 .modal-inr_btn:nth-child(3n) {
	margin-right: 0;
}
#bnrarea02 .modal-inr_btn a::after {
	position: absolute;
	z-index: -1;
	display: block;
	content: '';
}
#bnrarea02 .modal-inr_btn a, #bnrarea02 .modal-inr_btn a::after {
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
	-webkit-transition: all .3s;
	transition: all .3s;
}
#bnrarea02 .modal-inr_btn a:hover {
	color: #fff;
}
#bnrarea02 .modal-inr_btn a::after {
	z-index: -1;
	top: -100%;
	left: -100%;
	width: 100%;
	height: 100%;
}
#bnrarea02 .modal-inr_btn a:hover::after {
	z-index: -1;
	top: 0;
	left: 0;
	background-color: #666;
}
/* モーダルウィンドウ
-----------------------------------*/
.modal-content {
	width: 50%;
	margin: 0;
	padding: 10px 20px;
	background: #fff;
	border-radius: 5px;
	-webkit-border-radius: 5px;
	-moz-border-radius: 5px;
	position: fixed;
	display: none;
	z-index: 2;
}
#modal-overlay {
	z-index: 1;
	display: none;
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 120%;
	background-color: rgba( 0,0,0, 0.75 );
}
.close {
	width: 30px;
	height: 30px;
	background: url(../img/page/top/ico_close.png) no-repeat center;
	text-indent: 100%;
	text-align: right;
	white-space: nowrap;
	overflow: hidden;
	position: absolute;
	top: -30px;
	right: -30px;
}
.close:hover {
	cursor: pointer;
}
 @media screen and (max-width: 800px) {
.modal-content {
	width: 90%;
	padding: 10px;
	margin: 7% 0 0;
	max-height: 980vh;
}
.modal-content .modal-inr {
	max-height: 80vh;
	overflow: scroll;
}
.close {
	position: absolute;
	top: -35px;
	right: 0;
}
.modal-content .modal-inr .modal_hed_ttl {
	margin: 0 25px 5% 0;
}
.modal-content .modal-inr .modal_hed_txt {
	font-size: 14px;
	padding: 5px 0;
	color: #111;
	font-weight: bold;
	border-top: solid 1px #111;
	border-bottom: solid 1px #111;
	margin-bottom: 5%;
}
#bnrarea02 .modal-inr_btn {
	width: 48%;
}
#bnrarea02 .modal-inr_btn {
	margin: 0 4% 2% 0;
}
#bnrarea02 .modal-inr_btn a {
	padding: 6%;
}
#bnrarea02 .modal-inr_btn:nth-child(3n) {
	margin-right: 4%;
}
#bnrarea02 .modal-inr_btn:nth-child(2n) {
	margin-right: 0;
}
#bnrarea02 .modal-inr_btn a:hover {
	color: initial;
}
#bnrarea02 .modal-inr_btn a::after {
	content: none;
}
}
