@charset "UTF-8";
/* CSS Document */

.PopUp {
	position: fixed;
	display: flex;
	width: 100%;
	height: 100%;
	background: rgba(235, 235, 235, .9);
	z-index: 10000;
	justify-content: center; 
	align-items: flex-start;
	overflow-y: auto;
	padding: 20px 0;
}

.PopUp .Inside {
	display: flex;
	position: relative;
	flex-direction: column;
	background: #FFF;
	padding: 40px;
	box-shadow: 2px 2px 6px rgba(128, 128, 128, 0.5);
	border-radius: 10px;
	min-width: 400px;
	min-height: 250px;
	max-width: 700px;
	margin: auto;
}

.PopUp .Inside.Center {
	justify-content: center;
	align-items: center;
}

.PopUp .Inside p {
	position: relative;
	display: block;
}

.PopUp .Inside .Link {
	position: relative;
	font-size: 1.8em;
	font-weight: 600;
	display: block;
}

.PopUp .CloseArea {
	position: absolute;
	top:0;
	left:0;
	right:0;
	bottom:0;
	z-index: -1;
}

.PopUp .CloseButton {
	position: absolute;
	display: block;
	top:10px;
	right:10px;
	width: 26px;
	height: 26px;
	cursor: pointer;
}

.PopUp .CloseButton::before {
	content: '';
	position: absolute;
	width: 33px;
	height: 1px;
	top:13px;
	left:-4px;
	background: #808080;
	transform: rotate(45deg);
}

.PopUp .CloseButton::after {
	content: '';
	position: absolute;
	width: 33px;
	height: 1px;
	top:13px;
	left:-4px;
	background: #808080;
	transform: rotate(-45deg);
}
