@charset "utf-8";
/* CSS Document */

/*********************************************************************
*
* 更新日: 2026/3/23
*
*********************************************************************/

html,body{margin:0; padding:0; height:100%; position:relative;}

#glayLayer *{
	box-sizing: border-box;
}
#glayLayer{
	display:none;
	justify-content: center;
	align-items: center;
	position:fixed;
	left:0;
	top:0;
	height:100%;
	width:100%;
	background:rgba(0,0,0,0.6);
	z-index: 101;
	opacity: 0;
	transition: opacity 0.3s;
}
#glayLayer.is-appear{
	opacity: 1;
}

#overLayer{
	flex: 0 0 auto;
	width: calc(100% - 60px);
	height: calc(100% - 60px);
	max-width: 1120px;
	max-height: 555px;
	display:none;
	position: relative;
	background:#FFFFFF;
	padding:0px 80px 0px;
	text-align:left;
	box-shadow: 4px 4px 16px rgba(0, 0, 0, 0.5);
	opacity: 0;
	transition: opacity 0.3s;
}
#overLayer.is-appear{
	opacity: 1
}

#overLayer .ajax_content{
	opacity: 0;
	transition: opacity 0.2s;
	
	width: 100%;
	height: 100%;
}
#overLayer .ajax_content.is-appear{
	opacity: 1;
}

#main_frame{
	width: 100%;
	height: 100%;
	border: none;
	display: block;
}

#page_mv_next,#page_mv_prev{
	opacity: 0.6;
	transition: opacity 0.3s;
}
#page_mv_next:hover,#page_mv_prev:hover{
	opacity: 1;
}

#btn_close{
	position: absolute;
	right: 13px;
	top: 13px;
	cursor: pointer;
	display: inline-block;
	background-color: #fff;
	width: 40px;
	height: 40px;
}

#btn_close span::before,
#btn_close span::after {
	display: block;
	content: "";
	position: absolute;
	top: 50%;
	left: 50%;
	width: 100%;
	height: 3%;
	margin: -2% 0 0 -50%;
	/*margin: -7% 0 0 -43%;*/
	background: #666;
	opacity: 0.6;
	transition: opacity 0.3s;
}
#btn_close span::before {
	transform: rotate(-45deg);
}
#btn_close span::after {
	transform: rotate(45deg);
}
#btn_close:hover span::before,
#btn_close:hover span::after{
	opacity: 1;
}
/*#btn_close:hover span::before,
#btn_close:hover span::after{
	opacity: 0.6;
}*/

#page_mv_next{
	position:absolute;
	right:20px;
	top:50%;
	margin-top:-20px;
	display: none;
}
#page_mv_prev{
	position:absolute;
	left:20px;
	top:50%;
	margin-top:-20px;
	display: none;
}
#page_mv_next.is-appear, #page_mv_prev.is-appear{
	display: block;
}

#loading{
	position:absolute;
	left:50%;
	top:50%;
	margin-top:-16px;
	margin-left:-16px;
	display:none;
}

#now_pos{
	position:absolute;
	width: 80px;
	padding: 4px 0;
	line-height:1;
	text-align:center;
	left:0px;
	top:17px;
	background:#2c4066;
	color:#f4f4f4;
	font-size: 12px;
	font-size: 0.75rem;
}


@media print{
	html,body{height:auto !important; position:static;}
	
	#body.no_print{
		display:none !important;
		overflow: hidden !important;
	}
	
	#btn_close,
	#page_mv_next,
	#page_mv_prev,
	#now_pos{
		display:none !important;
	}

	
	#overLayer{
		max-height: inherit;
		box-shadow: none;
		width: 100% !important;
		padding: 0;
	}
	
	#glayLayer{
		background-color: #fff;
	}
	.pic_slide .pic_thumb ul li p.current{
		border-color:#e6e6e6;
	}

}

@media screen and (max-width:620px) {
	
	#overLayer{
		width: calc(100% - 20px);
		height: 90%;
		max-width: inherit;
		max-height: inherit;
		padding: 0;
		border-radius: 4px;
		overflow: hidden;
	}
	
	#page_mv_next.is-appear, #page_mv_prev.is-appear, #now_pos{
		display: none;
	}
	
	#btn_close{
		right: 5px;
        top: 0px;
        width: 40px;
        height: 40px;
        padding: 10px;
        opacity: 0.8;
        border-radius: 0 0 0 3px;
	}
	#btn_close span::before,
	#btn_close span::after {
		width: 80%;
		height: 6%;
		margin: -3% 0 0 -40%;
	}
	
}