@charset "utf-8";

.staff{
	background: #def6ff;
}
.staff_list{
	width: 1000px;
	margin: 0 auto;
	padding: 50px 0 40px;
	display: -ms-flexbox;
	display: flex;
	-ms-flex-wrap: wrap;
	flex-wrap: wrap;
}
.staff_list .btn_modal{
	width: 230px;
	padding: 20px 20px 10px;
	margin: 0 10px 30px;
	border-radius: 10px;
	border: 1px solid #a8cbd8;
	background: #fff;
}
.staff_list .btn_modal:hover{
	cursor: pointer;
	opacity: 0.6;
	text-decoration: none;
}
.staff_list .btn_modal dl dt{
	margin: 10px 0 0;
	text-align: center;
	font-weight: bold;
}
.staff_list .btn_modal dl .comment{
	display: none;
}
.staff_list li img{
	width: 100%;
}
.staff_list li img.off{
	display:  none;
}

.staff .modal{
	width: 640px;
	height: auto;
	padding: 20px;
	border: 0;
	background: #fff;
	display: none;
	border-radius: 15px;
	margin: 0;
	z-index: 1000;
}
.staff .modal .outline{
	display: -ms-flexbox;
	display: flex;
	-ms-flex-wrap: wrap;
	flex-wrap: wrap;
	align-items: center;
	-ms-align-items: center;
	justify-content: space-between;
	-ms-flex-pack: space-between;
}
.staff .modal img{
	width: 300px;
	display: block;
}
.staff .modal dl{
	width: 280px;
	width: calc(100% - 320px);
}
.staff .modal dl dt{
	font-weight: bold;
}
.modal-close{
	clear: both;
	margin: 5px 0 0;
	text-align: center;
}
.modal-close span{
	text-decoration: underline;
}
.modal-close span:hover{
	cursor: pointer;
	color: #aaa;
	text-decoration: none;
}
#modal-overlay{
	z-index: 900;
	display: none;
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 120%;
	background-color: rgba( 0,0,0, 0.75 );
}

/************************************************************************************
smaller than 768
*************************************************************************************/
@media screen and (max-width: 768px) {
	.staff_list{
		width: 90%;
		margin: 0 auto;
		justify-content: space-around;
		-ms-flex-pack: space-around;
		padding: 30px 0 40px;
	}
	.staff_list .btn_modal{
		width: 30%;
		padding: 20px 20px 10px;
		margin: 0 0 30px;
	}
	.staff_list .btn_modal:hover{
		opacity: 1;
	}

	.staff .modal{
		width: 90%;
		padding: 10px 15px;
	}
	.staff .modal .outline{
		display: block;
	}
	.staff .modal img{
		width: 85%;
		margin: 0 auto;
	}
	.staff .modal dl{
		width: 100%;
	}
	.staff .modal dl dt{
		margin: 5px 0;
		text-align: center;
	}
	.staff .modal dl dd{
		line-height: 1.2;
	}
	.modal-close{
		margin: 0;
	}
}

/************************************************************************************
smaller than 480
*************************************************************************************/
@media screen and (max-width: 480px) {
	.staff_list{
		padding: 30px 0 10px;
		justify-content: space-between;
	}
	.staff_list .btn_modal{
		width: 48%;
		padding: 10px;
	}
}