@charset "utf-8";
#MODAL_OVERLAY{
	z-index: 99999;
	display: none;
	position: fixed;
	top: 0px;
	left: 0px;
	width: 100%;
	height: 100%;
	background-color: rgba(0, 0, 0, 0.75);
}
#MW_IMAGE{
	height : 100%;
}
#MW_BUTTON_CLOSE{
	position: absolute;
	top: 10px;
	right: 10px;
	color: #fff;
	font-size: 25px;
	text-align: center;
	line-height: 50px;
	display: inline-block;
	width: 50px;
	border-radius: 50%;
	background: #EB4824;
	cursor: pointer;
	z-index: 9999;
}
.button_slide{
	width : 50px;
	height : 50px;
	border-radius: 50%;
	display: block;
	background: rgba(0,0,0,0.5) url(../img/arrow_wh.png);
	background-repeat : no-repeat;
	background-position : center;
	cursor: pointer;
	opacity: 0.5;
}
.button_slide:hover{
	width : 60px;
	height : 60px;
	opacity: 1;
}
.button_slide.left{
	transform: rotate(180deg);
}
#MW_IMAGE_COUNT:not(:empty){
	position : absolute;
	top : 10px;
	background: rgba(0,0,0,0.5);
	color : #fff;
	display: block;
	width : 70px;
	margin: auto;
	left: 0;
	right : 0;
	text-align: center;
	padding : 5px;
	z-index: 100;
}
#MW_BUTTON_BACK,
#MW_BUTTON_NEXT{
	position : absolute;
	top : calc((100% - 150px) / 2);
	z-index: 100;
	transition: 0.2s;
	-webkit-transform: translate(-50%, -50%);
	-ms-transform: translate(-50%, -50%);
	transform: translate(-50%, -50%);
}
#MW_BUTTON_BACK{
	left : 50px;
	-webkit-transform: translate(-50%, -50%) rotate(180deg);
	-ms-transform: translate(-50%, -50%) rotate(180deg);
	transform: translate(-50%, -50%) rotate(180deg);
}
#MW_BUTTON_NEXT{
	right : 50px;
	-webkit-transform: translate(50%, -50%);
	-ms-transform: translate(50%, -50%);
	transform: translate(50%, -50%);
}
#MODAL_COMMENT:not(:empty){
	color : #fff;
	position : absolute;
	bottom : 0;
	left : 50%;
	-webkit-transform: translate(-50%, 0%);
	-ms-transform: translate(-50%, 0%);
	transform: translate(-50%, 0%);
	background : rgba(0,0,0,0.5);
	text-align: center;
	padding : 20px 10px;
	width : 100%;
}
#MODAL_MAIN_PHOTO_WRAPPER{
	height : calc(100% - 150px);
	position : relative;
	margin-bottom : 20px;
}

#MODAL_MAIN_PHOTO_WRAPPER img{
	max-height: 100%;
	position : absolute;
	top: 50%;
	left: 50%;
	-webkit-transform: translate(-50%, -50%);
	-ms-transform: translate(-50%, -50%);
	transform: translate(-50%, -50%);
}
#MODAL_IMAGE_THUMBNAIL{
	height : 115px;
	overflow : hidden;
	overflow-x: auto;
	-webkit-overflow-scrolling: touch;
	width : 100%;
}
#STAFF_DETAILS_IMAGE #MODAL_THUMBNAIL_CAROUSEL{
    display: flex;
    align-items: center;
    justify-content: center;
}
#MODAL_THUMBNAIL_CAROUSEL{
	margin: auto;
	max-width : none;
	font-size: 0;
	white-space: nowrap;
	transform: translate(0,0) !important;
}
#MODAL_THUMBNAIL_CAROUSEL li{
	display: inline-block;
	position : relative;
	width : 100px;
	height : 100px;
	overflow: hidden;
	transition : .2s;
	cursor: pointer;
	margin : 0px 2px;
}
#MODAL_THUMBNAIL_CAROUSEL li:hover{
	opacity: .5;
}
#MODAL_THUMBNAIL_CAROUSEL li img{
	position: absolute;
	top: 50%;
	left: 50%;
	-webkit-transform: translate(-50%, -50%);
	-ms-transform: translate(-50%, -50%);
	transform: translate(-50%, -50%);
}
#MW_KUKAKU{
	background : #fff;
	width : calc(100% - 100px);
	max-width : 1200px;
	height : calc(100vh - 100px);
	position : absolute;
	top : 50%;
	left : 50%;
	-webkit-transform: translate(-50%, -50%);
	-ms-transform: translate(-50%, -50%);
	transform: translate(-50%, -50%);
	padding : 50px;
	overflow-y: auto;
}
#MODAL_MAIN_IMG_WRAPPER{
	height : 50vh;
	text-align : center;
}

#MODAL_MAIN_IMG_WRAPPER img{
	max-height : 100%;
}
#MW_KUKAKU .button_wrapper{
	margin : 20px 0;
}
#MODAL_IMAGE_THUMBNAIL .image_container {
    display: inline-block;
}
#MW_KUKAKU #MODAL_COMMENT:not(:empty){
	position : static;
	transform: none;
	padding: 10px;
    background: 0;
    color: #444444;
}

/* スタッフ画像 */
#IMAGE_SLIDER_STAFF {
	position: relative;
	width: 100%;
}

#IMAGE_SLIDER_STAFF .slide_button {
	top: 30px;
}

#IMAGE_SLIDER_STAFF .slide_button.disactive {
	opacity: 0.5;
}

#THUMBNAIL_FRAME_STAFF {
	width: calc(100% - 100px);
	overflow: hidden;
}

#THUMBNAIL_CAROUSEL_STAFF {
	white-space: nowrap;
	font-size: 0;
}

#THUMBNAIL_CAROUSEL_STAFF li {
	width: 100px;
	margin: 5px;
	display: inline-block;
}
.img_thumbnail_staff {
	cursor: pointer;
}
#STAFF_MAIN_IMAGE
{
	width: 100%;
    position: relative;
    border: 1px solid #CBCBCB;
}
#STAFF_MAIN_IMAGE::before {
	content: "";
	display: block;
	padding-bottom: calc(100% / 3 * 2);
}
#STAFF_MAIN_IMAGE::after {
	content: "";
	display: block;
	position : absolute;
	bottom : 10px;
	right : 10px;
	height : 40px;
	width : 40px;
	background-image : url(../img/icon_zoom_up_wh.png);
	background-repeat: no-repeat;
	background-position : center;
	background-size : 25px;
	background-color :rgba(0,0,0,0.3);
	border-radius: 50%;
	pointer-events: none;
}
#STAFF_MAIN_IMAGE img {
	position: absolute;
	top: 50%;
	left: 50%;
	-ms-transform: translate(-50%, -50%);
	transform: translate(-50%, -50%);
	max-width: 100%;
	max-height: 100%;
}



@supports ( object-fit: cover ) {
	#MODAL_THUMBNAIL_CAROUSEL span img{
		width: 100%;
		height: 100%;
		object-fit: cover;
		position: absolute;
		top : 50%;
		left: 50%;
		-webkit-transform: translate(-50%, -50%);
		-ms-transform: translate(-50%, -50%);
		transform: translate(-50%, -50%);
	}
}
@media screen and (max-width: 950px){
	#MODAL_IMAGE_THUMBNAIL{
		display: none;
	}
	#STAFF_DETAILS_IMAGE #MODAL_IMAGE_THUMBNAIL,
	#MW_KUKAKU #MODAL_IMAGE_THUMBNAIL{
		display: block;
	}
	#MODAL_MAIN_PHOTO_WRAPPER{
		height : 100%;
	}
	#STAFF_DETAILS_IMAGE #MODAL_MAIN_PHOTO_WRAPPER
	{
		height: calc(100% - 150px);
	}
	#MW_BUTTON_BACK,
	#MW_BUTTON_NEXT{
		top : 50%;
	}
	#MW_KUKAKU{
		width : 100%;
		height : 100Vh;
		padding : 30px;
	}
	#MW_KUKAKU .outline_data_table dl{
		width: calc(50% - 10px);
		padding : 5px 0;
	}

}

@media screen and (max-width: 550px){
	#MW_KUKAKU .outline_data_table dl{
		width: 100%;
	}
	#STAFF_DETAILS_IMAGE #MODAL_THUMBNAIL_CAROUSEL
	{
		display : block;
	}
}