@charset "utf-8";
/* ------------------------------
 モーダル
------------------------------ */
body.modal-enable {
	position: fixed;
	overflow: scroll;
}
.modal-close {
	display: block;
	position: fixed;
	top: 55px;
	right: 80px;
	width: 60px;
	height: 60px;
	cursor: pointer;
	text-align: center;
	text-decoration: none;
	z-index: 11000;
	background: url(../img/modal_close.svg) no-repeat 0 0 / 60px 60px;
}
.modal-close span {
	visibility: hidden;
}
.modal-overlay {
	display: none;
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;/*for old Safari*/
	height: 100vh;
	background-color: rgba(0,0,0,0.85);
	z-index: 11000;
	overflow-y: scroll;
	overflow-x: hidden;
	-webkit-overflow-scrolling: touch;
}
.modal-container {
	position: relative;
	text-align: left;
	max-width: 100%;
	left: 0;
	right: 0;
	margin: auto;
	height: 100%;
	min-height: 100% !important;
}
.modal-open:hover {
    cursor: pointer;
}
.modal-close:hover {
	cursor: pointer;
}
.pop-content {
	color: #fff;
	flex-flow: row wrap;
	position: relative !important;
	display: flex !important;
	justify-content: center;
	align-items: center;
	top: 0 !important;
	height: 100%;
	overflow-y: scroll;
}
.pop-content > div{
	width: 1140px;
}
/* ----------------------
 スマホ用コード
---------------------- */
@media screen and (max-width: 900px) {
	.pop-content {
		width: 90% !important;
		padding-top: 40px;
		padding-bottom: 100px;
	}
	.pop-content .w1-2{
		width: 100%;
	}
	.pop-content .w1-2{
		margin-bottom: 25px !important;
	}
}
@media screen and (max-width: 767px) {
	body.modal-enable {
		overflow: hidden;
	}
	.modal-content {
		width: 90% !important;
		padding: 20px;
		margin: 0 !important;
	}
	.modal-close {
		position: absolute;
		top: 20px;
		right: 20px;
		width: 45px;
		height: 45px;
		line-height: 30px;
		background: url(../img/modal_close.svg) no-repeat 0 0 / 45px 45px;
	}
}
