@charset "utf-8";

/* ****************************************************
Title: modal.css
***************************************************** */


/* Table Of Contents
----------------------------------------

# General Elements
# content
# clearfix
# common classes

----------------------------------------*/

.modal-window {
	-webkit-transform: translate(0, 100%);
	-moz-transform: translate(0, 100%);
	-o-transform: translate(0, 100%);
	-ms-transform: translate(0, 100%);
	transform: translate(0, 100%);
	-webkit-transform: translate3d(0, 100%, 0);
	transform: translate3d(0, 100%, 0);
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: 9999;
	opacity: 0;
	line-height: 1.3;
	display: none\9;
}
.modal-window>.ps-container>.ps-scrollbar-y-rail {
	opacity: 0;
}
.modal-window:target {
	-webkit-transform: translate(0, 0);
	-moz-transform: translate(0, 0);
	-o-transform: translate(0, 0);
	-ms-transform: translate(0, 0);
	transform: translate(0, 0);
	opacity: 1;
}
.is-active.modal-window {
	display: block\9;
}
.modal-window:target {
	display: block\9;
}
.modal-inner {
	position: absolute;
	top: 100px;
	left: 50%;
	z-index: 20;
	margin-left: -485px;
	width: 970px;
	padding: 0;
	background: #f1f7fb;
	overflow-y:hidden;
	overflow: visible!important;
	-webkit-box-shadow: 0 0 30px rgba(0, 0, 0, 0.6);
	box-shadow: 0 0 30px rgba(0, 0, 0, 0.6);
}
.modal_inner_left{
  width:303px;
  height: auto;
  margin: 30px;
  float: left;
}
.modal_inner_left ul li {
	position: relative;
	overflow: hidden;
	width: 303px;
}
.modal_inner_left ul li:first-child{
  margin-bottom: 20px;
	height: 250px;
	background-color: #fff;
}
.modal_inner_left ul li:first-child img{
	position: absolute;
	top: -100%;
	right: -100%;
	bottom: -100%;
	left: -100%;
	margin: auto;
	width: 100%;
}
.modal_inner_left ul li:last-child{
  width: 303px;
  height: 68px;
}
.modal_inner_left ul li:last-child a{
  width: 303px;
	background-color: #f18d00;
	border-radius: 7px;
  text-align: center;
	color: #fff;
}

.btnjizen a {
	display: block;
	font-size: 24px;
	line-height: 24px;
	font-weight: bold;
	width: 360px;
	margin-top: 0px;
	text-align: center;
	background: #f7b141 url("../images/common/white_arrow_mini.png") 10px 50% no-repeat;
	color: #fff;
	opacity: 1;
	text-decoration: none;
	padding: 16px 20px;
}
.btnjizen a:hover {
	opacity: 0.8;
}

.modal_inner_right{
  position: relative;
  width: 607px;
  height: 498px;
  float: left;
	padding-right: 30px;
  text-align: left;
	word-break: break-all;
}
.modal_inner_right h2{
  font-size: 18px;
	font-weight: bold;
	margin: 30px 30px -5px 0;
	background: none !important;
	text-align: left;
}
.modal_inner_right span{
  font-size: 16px;
}
.modal_inner_right .modal-2col p {
	float: left;
	width: 273px;
	text-align: center;
}
.modal_inner_right .modal-2col p:nth-child(even) {
	margin-left: 20px;
}

.modal_inner_right p{
	font-size: 16px;
  margin-top: 15px;
  width: 567px;
	line-height: 1.8;
}
.modal_inner_text{
	margin-top: 20px;
	margin-bottom: 20px;
}
/*.modal_inner_text p{
		font-size: 14px;
}*/
.modal_inner_right a{
  position: absolute;
  bottom: 0;
  right: 0;
}
.closed img{
	position: absolute;
	top: -9%;
	right: 0%;
}
.modal-window .modal-close {
display: block;
text-indent: -100px;
overflow: hidden;
z-index: 20;
}
.modal-window .modal-close:after {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: 10;
	background: rgba(0,0,0,0.7);
}
.modal-window {
	-webkit-transition: opacity 0.4s;
	-o-transition: opacity 0.4s;
	transition: opacity 0.4s;
}
.back_fixed {
  overflow: hidden;
}

@media screen and (max-width: 768px) {
	.modal-window {
		z-index: 999999999 !important;
	}
	.modal-window>.ps-container>.ps-scrollbar-y-rail {
		opacity: 1;
	}
	.modal-inner {
		position: absolute;
		top: 10%;
		left: 3%;
		z-index: 999999999;
		margin-left: 0px;
		width: 94%;
		height: 80%;
		max-height: 100%;
		padding: 5%;
		overflow: auto!important;
		background: #f1f7fb;
		-webkit-box-shadow: 0 0 30px rgba(0, 0, 0, 0.6);
		box-shadow: 0 0 30px rgba(0, 0, 0, 0.6);
	}
	.modal_inner_left{
	  width:100%;
	  height: auto;
	  margin: 0px;
	  float: none;
	}
	.modal_inner_left ul li:first-child{
	  width: 100%;
		height: 150px;
	  margin-bottom: 4%;
	}
	.modal_inner_left ul li:first-child img{
	  width: 100%;
	  height: auto;
	}
	.modal_inner_left ul li:last-child{
	  width: 100%;
	  height: 68px;
	}
	.modal_inner_left ul li:last-child a{
	  width: 100%;
		background-color: #f18d00;
		border-radius: 7px;
	  text-align: center;
		color: #fff;
	}
	.btnjizen a{
		padding: 16px 0;
	  font-size: 16px;
	}
	.modal_inner_right{
	  position: relative;
	  width: 100%;
	  height: auto;
		padding-right: 0px;
	  float: none;
	  text-align: left;
	}
	.modal_inner_right h2{
	  font-size: 18px;
		margin-bottom: 0px;
	}
	.modal_inner_right span{
	  font-size: 11px;
	}
	.modal_inner_right .modal-2col p {
		width: 100%;
	}
	.modal_inner_right .modal-2col p.sp-modal-2col {
		width: 48%;
		margin-right: 2%;
	}
	.modal_inner_right .modal-2col p.sp-modal-2col:nth-child(even) {
		margin-left: 2%;
		margin-right: 0;
	}
	.modal_inner_right p{
		/*font-size: 13px;*/
	  margin-top: 15px;
	}
	.modal_inner_text{
		margin-top: 20px;
		margin-bottom: 20px;
	}
	.modal_inner_text p{
			/*font-size: 12px;*/
			line-height: 1.5em;
			word-break: break-all;
	}
	.modal_inner_right a{
	  position: absolute;
	  bottom: 0;
	  right: 0;
	}
	.modal-window .modal-close:after {
		content: '';
		position: absolute;
		top: 0;
		left: 0;
		right: 0;
		bottom: 0;
		z-index: 10;
		background: rgba(0,0,0,0.7) url(../images/top_exhibition/btn_close.png) 96% 3.5% no-repeat;
	}
	.modal_inner_right h2{
		margin: 10px 0 -10px;
	}
}
