@charset "utf-8";

/* ------------------------------
 モーダル（PC）
------------------------------ */
body.modal-enable {
/*	position: fixed;
	overflow: scroll;*/
}
/* .modal-content {
	position: relative !important;
	display: none;
	width: 720px !important;
	padding: 40px;
	background: #fff;
	overflow: visible;
} */
.modal-close {
	display: block;
	position: fixed;
	z-index: 12000;
	top: 20px;
	right: 20px;
	width: 30px;
	height: 30px;
	line-height: 30px;
	background: url(../img/modal_close.svg) no-repeat 0 0 / 30px 30px;
	text-decoration: none;
}
.modal-close span {
	visibility: hidden;
}
.modal-overlay {
	display: none;
	position: fixed;
	top: 0;
	left: 0;
	width: 100vw;
	height: 100vh;
	z-index: 11000;
	-webkit-overflow-scrolling: touch;
}
.modal-container {
	position: absolute;
	text-align: left;
	max-width: 100%;
}
.modal-container.modal-container-over_height {
	padding: 60px 0;
}
.modal-open:hover {
    cursor: pointer;
}
.modal-close:hover {
	cursor: pointer;
}
@media print, screen and (min-width: 768px) {
	.modal-overlay {
		background-color: rgba(0,0,0,0.7);
	}
}
/* ------------------------------
 モーダル（SP）
------------------------------ */
@media screen and (max-width: 767px) {
	/* .modal-content {
		width: 90% !important;
		padding: 20px;
		margin: 0 !important;
	} */
	.modal-close {
		top: 0;
		right: 0;
		width: 60px;
		height: 60px;
		line-height: 60px;
		background: url(../img/modal_close_sp.svg) no-repeat center center / 30px 30px;
	}
	.modal-container.modal-container-over_height {
		padding: 0;
	}
}
