@charset "utf-8";

/*===========================================================

eyecatch

============================================================= */

#eyecatch {
	background:url(../img/eyecatch.jpg) center center no-repeat;
	background-size:cover;
	width:100%;
	height:40vh;
	position:relative;
}

#page_title {
	width:290px;
	padding:0.8em 0;
	text-align:center;
	background:rgba(147,206,143,0.85);
	position:absolute;
	bottom:0;
	left:50%;
	margin-left:-145px;
}

#page_title * {
	color:#fff;
}

#page_title .en {
	font-size:1.2rem;
	letter-spacing:2px;
}

#page_title h1 {
	font-weight:bold;
	font-size:2rem;
}

@media screen and (max-width:440px){
	#page_title .en {
		font-size:1rem;
	}
	#page_title h1 {
		font-size:1.8rem;
	}
}

/*===========================================================

lead

============================================================= */
#content .lead {
	width:94%;
	max-width:1200px;
	margin:0 auto;
	padding:8% 0;
	text-align:center;
	line-height:2;
}

@media screen and (max-width:640px){
	#content .lead {
		font-size:1.4rem;
	}
}

@media screen and (max-width:500px){
	#content .lead br {
		display:none;
	}
}

/*===========================================================

photo

============================================================= */
#photo {
	background:#F0EBE1;
	padding:8% 0;
}

#photo ul {
	width:94%;
	max-width:1200px;
	margin:0 auto;
	display: -webkit-flex;
	display: -moz-flex;
	display: -ms-flex;
	display: flex;
	-webkit-flex-wrap:wrap;
	-moz-flex-wrap:wrap;
	-ms-flex-wrap:wrap;
	flex-wrap:wrap;
	margin-top:-10px;
}

#photo ul li {
	width:calc( (100% - 20px) / 3 );
	margin-right:10px;
	margin-top:10px;
}

#photo ul li:nth-child(3n) {
	margin-right:0;
}

#photo ul li a {
	position:relative;
	display:block;
}

#photo ul li a:after {
	display:block;
	content:'';
	width:30px;
	height:30px;
	background:url(../img/open_ic.jpg) no-repeat;
	position:absolute;
	top:0;
	right:0;
}

html {
	margin-right:0 !important;
	overflow-y:scroll !important;
}

.mfp-image-holder .mfp-close {
	position:absolute;
	width:40px;
	height:40px;
	top:40px;
	right:0;
	background:url(../img/close_ic.jpg) no-repeat;
	text-indent:-9999px;
	overflow:hidden;
	text-align:left;
	opacity:1;
}

.mfp-image-holder .mfp-close:hovre {
	opacity:0.8;
}

/*====== Zoom effect ======*/

.mfp-zoom-in .mfp-with-anim {
  opacity: 0;
  transition: all 0.2s ease-in-out;
  transform: scale(0.8);
}
.mfp-zoom-in.mfp-bg {
  opacity: 0;
  transition: all 0.3s ease-out;
}
.mfp-zoom-in.mfp-ready .mfp-with-anim {
  opacity: 1;
  transform: scale(1);
}
.mfp-zoom-in.mfp-ready.mfp-bg {
  opacity: 0.8;
}
.mfp-zoom-in.mfp-removing .mfp-with-anim {
  transform: scale(0.8);
  opacity: 0;
}
.mfp-zoom-in.mfp-removing.mfp-bg {
  opacity: 0;
}


@media screen and (max-width:640px){
	#photo ul li {
		width:calc( (100% - 10px) / 2 );
	}
	#photo ul li:nth-child(3n) {
		margin-right:10px;
	}
	#photo ul li:nth-child(2n) {
		margin-right:0;
	}
}