@charset "utf-8";

/* ワークショップ画像一覧■モーダルウィンドウでポップアップ */
.modal > label {
	cursor: pointer;
	display: inline-block;
	text-align: center;
}
.modal-overlay {
	background: rgba(0,0,0,0.6);
	position: fixed;
	top: 0;
	bottom: 0;
	left: 0;
	right: 0;
	text-align:center;
}
.modal-wrap {
	position: relative;
	padding: 50px 0 0;
	margin: 0 auto;
}
.modal-wrap label {
	color: #fff;
	cursor: pointer;
	display: inline-block;
}
.modal-wrap label img {
	box-shadow: 0 0 10px #bbb;
	border-radius: 50%;
	margin: 1%;
}
input {
	position: absolute;
	z-index: -9999;
	visibility: hidden;
}
.modal-overlay {
	opacity:0;
	-webkit-transform: scale(0.5);
	-moz-transform: scale(0.5);
	-ms-transform: scale(0.5);
	-o-transform: scale(0.5);
	transform: scale(0.5);
	-webkit-transition: all 0.75s cubic-bezier(0.65, -0.55, 0.265, 1.55);
	-moz-transition: all 0.75s cubic-bezier(0.65, -0.55, 0.265, 1.55);
	-ms-transition: all 0.75s cubic-bezier(0.65, -0.55, 0.265, 1.55);
	-o-transition: all 0.75s cubic-bezier(0.65, -0.55, 0.265, 1.55);
	transition: all 0.75s cubic-bezier(0.65, -0.55, 0.265, 1.55);
	z-index: -999;
}
input:checked ~ .modal-overlay {
	opacity: 1;
	-webkit-transform: scale(1);
	-moz-transform: scale(1);
	-ms-transform: scale(1);
	-0-transform: scale(1);
	transform: scale(1);
	z-index: 999;
}