  /**** Base styles ****/

/**
  =Foundation
---------------------------------------------------------- */


/***
  =Layout
---------------------------------------------------------- */


/**
  =Object
---------------------------------------------------------- */

/*component*/


/*  Project
---------------------------------------------------------- */

/*lightbox*/

.p-lightbox_layer *{
	box-sizing: border-box;
}

.p-lightbox_layer{
	display: none;
	opacity: 0;
	/*display: flex;*/
	
	background-color: rgba(0,0,0,0.7);
	transition: opacity 0.3s;
	position: fixed;
	top:0px; left: 0px;
	width: 100%;
	height: 100%;
	z-index: 999;
	justify-content: center;
	align-items: center;
}
.p-lightbox_layer.is-open{
	opacity: 1;
}
.p-lightbox_layer.research{
	background-color: rgba(49,78,110,0.7);
}
.p-lightbox_layer.diagnosis{
	background-color: rgba(41,84,69,0.7);
}
.p-lightbox_layer.others{
	background-color: rgba(46,77,42,0.7);
}


.p-lb_content{
	flex: 0 0 auto;
	width: 960px; /*------lightbox width-----------------*/
	position: relative;
	background-color: #fff;
	border-radius: 6px;
	overflow: hidden;
	box-sizing: border-box;
	box-shadow: 1px 2px 18px -2px rgba(0,0,0,0.8);
	padding: 0;
	height: calc(100% - 120px);
	text-align: left;
	-webkit-overflow-scrolling:touch;
}
.p-lightbox_closeBtn{
	position: absolute;
	top:40px; left: 50%;
	margin-left: 440px;
	width: 44px; height:44px;
	background: #0B54A6 url(../images/lbox/close_btn.svg) no-repeat 50% 50%;
	border-radius: 50%;
	border: #e0e0e0 2px solid;
	box-shadow: 1px 2px 18px -2px rgba(0,0,0,0.6);
	cursor: pointer;
	transition: background-color 0.2s;
}
.p-lightbox_closeBtn:hover{
	background-color: #073d77;
}

.p-iframe_wrap{
	width: 100%;
	height: 100%;
	overflow: auto;
	-webkit-overflow-scrolling: touch;
}
#main_frame{
	width: 100%;
	height: 100%;
	border: none;
	display: block;
}

/*forPrint*/
#lbox_print{
	width: 960px;
	height: 0px;
	overflow: hidden;
	display: none;
}

/* Utility
--------------------------------------------*/


@media print{
	
	#body.no_print{
		display: none;
	}
	.p-lightbox_layer{
		visibility: hidden;
	}
	#lbox_print.print{
		height: auto;
		overflow: visible;
		display: block;
	}
	
}
