@charset "utf-8";
/* ------------------------------
 モーダル（PC）
------------------------------ */
body.modal-enable {
	overflow: scroll;
	position: fixed;
}
.modal-close {
	display: block;
	position: fixed;
	top: 30px;
	right: 45px;
	z-index: 11000;
	width: 45px;
	height: 45px;
	background: url(../img/modal_close.svg) no-repeat 0 0 / 30px 30px;
	line-height: 45px;
	text-align: center;
	text-decoration: none;
	cursor: pointer;
}
.modal-close span {
	visibility: hidden;
}
.modal-overlay {
	display: none;
	overflow-x: hidden;
	overflow-y: scroll;
	position: fixed;
	top: 0;
	left: 0;
	z-index: 11000;
	width: 100%;
	height: 100%; /*for old Safari*/
	height: 100vh;
	padding-bottom: 150px !important;
	background-color: rgba(0,0,0,.7);
	-webkit-overflow-scrolling: touch;
}
.modal-container {
	position: relative;
	left: 0;
	right: 0;
	max-width: 100%;
	height: 100%;
	margin: auto;
	margin-bottom: 50px !important;
	text-align: left;
}
.modal-open:hover {
    cursor: pointer;
}
.modal-close:hover {
	cursor: pointer;
}
.pop-content {
	overflow: visible;
    position: relative !important;
	margin-bottom: 40px !important;
	background-color: #fff;
}
/* ------------------------------
 モーダル（SP）
------------------------------ */
@media screen and (max-width: 900px) {
	.pop-content {
		width: 100% !important;
	}
}
@media screen and (max-width: 767px) {
	body.modal-enable {
		overflow: hidden;
	}
	.modal-content {
		width: 90% !important;
		margin: 0 !important;
		padding: 20px;
	}
	.modal-close {
		position: absolute;
		top: 15px;
		right: 15px;
		width: 30px;
		height: 30px;
		background: url(../img/modal_close.svg) no-repeat 0 0 / 30px 30px;
		line-height: 30px;
	}
	.pop-content {
		width: 100%;
		margin-bottom: 120px !important;
	}
}
