@charset "utf-8";
/* CSS Document */
#modal{
	display: none;
	position: fixed;
	z-index: 1;
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
	overflow: auto;
	background: rgba(0, 0, 0, 0.4);
}
.modal-content{
	width: 90%;
	padding: 0;
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translateY(-50%) translateX(-50%);
}
.close-button{
	position: absolute;
	right: 0;
	top: -20px;
	cursor: pointer;
}
.close-button img{
	width: 20px;
	height: auto;
}
.modal-text{
	margin-top: 4px;
	padding: 16px;
	text-align: left;
	background: #fff;
}
.modal-text .modal-contents{
	padding: 10px 0;
	border-top: 1px dashed #333;
}
.modal-text .modal-contents:last-of-type{
	border-bottom: 1px dashed #333;
}
.modal-text .modal-contents p{
	margin-top: 6px;
	line-height: 1.2em;
}
.modal-head{
	font-size: 16px;
	text-align: center;
	margin-bottom: 10px;
}
.checkbox{
	text-align: end;
	margin: 10px 0 0 auto;
}

@media screen and (min-width: 768px){
	.modal-content{
		width: 40em;
	}
	.modal-text{
		margin: auto;
		padding: 24px;
	}
	.modal-head{
		font-size: 22px;
	}
	.close-button{
		top: -26px;
	}
}