@charset "utf-8";
/* ------------------------------
 モーダル用CSS
------------------------------ */
.modal-enable {
	position: fixed;
	overflow: auto;
}
.modal-overlay {
    display: none;
	width: 100%;
	height: 100%;
	min-height: 100vh;
	background-color: rgba(0, 0, 0, 0.9);
	overflow-x: hidden;
	overflow-y: auto;
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	margin: auto;
	z-index: 9999;
}
.modal-container {
	position: relative;
	display: flex;
	justify-content: center;
	align-items: center;
	max-width: 100%;
	height: fit-content;
	min-height: 100vh;
	top: 0;
	left: 0;
	padding: 60px 0;
}
/* ポップアップ */
.pop-content {
	display: none;
}
.cms_image.pop-content .cms_caption_b {
	background-color: #fff;
	padding: 30px 35px 35px;
	margin-top: 0;
}
.cms_image.pop-content .cms_caption_b .subHead {
	text-align: center;
}
/* 閉じるボタン */
.modal-btn_box {
	position: fixed;
	top: 30px;
	right: 2%;
}
.modal-close {
	position: relative;
	display: block;
	width: 68px;
	height: 68px;
	background-color: transparent;
	cursor: pointer;
}
.modal-close::before,
.modal-close::after {
	content: "";
	width: 68px;
	height: 2px;
	background-color: #fff;
	transform: rotate(45deg);
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	margin: auto;
}
.modal-close::after {
	transform: rotate(-45deg);
}
.modal-close span {
	display: none;
}
@media print, screen and (min-width: 768px) {
	.cms_image.pop-content {
		width: 800px;
		border-radius: 15px;
		overflow: hidden;
		margin-left: auto;
		margin-right: auto;
	}
}
/* ------------------------------
 モーダル（SP）
------------------------------ */
@media screen and (max-width: 767px) {
	/* ポップアップ */
	.cms_image.pop-content .cms_caption_b {
		padding: 20px 8% 25px;
	}
	/* 閉じるボタン */
	.modal-btn_box {
		top: 0;
		right: 0;
	}
	.modal-close {
		width: 60px;
		height: 60px;
	}
	.modal-close::before,
	.modal-close::after {
		width: 40px;
	}
}