@charset "utf-8";
/* CSS Document */

/* ---------- main_img ---------- */
#main_img img {
	max-width: 1280px;
	width: 100%;
}

/*----------------- 英字タイトル --------------------*/

.cm_title {
	display: flex;
	align-items: center;
}
.cm_title::before,
.cm_title::after {
	content: "";
	flex-grow: 1;
	height: 1px;
	background: #fff;
	display: block;
}
.cm_title::before {
	margin-right: .8em;
}
.cm_title::after {
	margin-left: .8em;
}

/*------------- news -----------------*/
.news_bt{
	cursor: pointer;
}
#news .cate_box .overflow{
	position: fixed;
	width: 80%;
	min-height: 100%;
	padding: 9% 10% 10%;
	background-color:rgba(89,44,23,0.70);
	top: 0;
	left: 0;
	z-index: 9999;
	display: none;
	opacity: 0;
	pointer-events: auto;
}
#news .cate_box .news_wrap{
	max-width: 800px;
	max-height: 600px;
	margin: 20px auto;
	overflow:auto;
	-webkit-overflow-scrolling: touch;
	padding: 10px 10px 0;
	border: 2px solid #000;
	box-sizing: border-box;
	background-color:#fff;
	color: #fff;
}
#news .cate_box .news_wrap::-webkit-scrollbar{ 
	width: 2px;
}
#news .cate_box .news_wrap::-webkit-scrollbar-thumb{ 
	background: #000
}
#news .cate_box .news_wrap::-webkit-scrollbar-track-piece{
	background: #444;
}
#news .cate_box .news_wrap::-webkit-scrollbar-track-piece:start{
	background: #444;
}
#news .cate_box .news_wrap::-webkit-scrollbar-track-piece:end{
	background: #fff;
}
#news .cate_box .news_wrap figure{
	text-align: center;
}
#news .cate_box .news_wrap p{
	font-size: 14px;
}
#news .cate_box .news_wrap .box_txt{
	margin-bottom: 20px;
	margin-top: 10px;
}
#news .cate_box .close{
	text-align: center;
	position: static;
	cursor: pointer;
}
#news .cate_box .close img{
	width: 40px;
}
#news .cate_box {
	width: 33.333%;
	float: left;
	padding: 0 10px;
	box-sizing: border-box;
}

#news .cate_box .cate_img {
	background-color: #592c17;
	position: relative;
	overflow: hidden;
}
#news .cate_box .cate_img img {
	transition: all 0.3s;
}
#news .cate_box .cate_img .more_txt {
	position: absolute;
	top: 50%;
	left: 50%;
	-ms-transform: translate(-50%,-50%);
	-webkit-transform: translate(-50%,-50%);
	transform: translate(-50%,-50%);
	color: #fff;
	letter-spacing: 2px;
	opacity: 0;
	transition: all 0.3s;
}
#news .cate_box:hover .cate_img img{
	opacity: 0.4;
}
#news .cate_box:hover .cate_img .more_txt{
	opacity: 1;
}

.more_btn {
	position: relative;
}
.more_btn a::before,
.more_btn a::after {
	position: absolute;
	z-index: 2;
	content: "";
	width: 0;
	height: 0;
	border: 3px solid transparent;
}
.more_btn a::before {
	top: -3px;
	left: -3px;
}
.more_btn a::after {
	bottom: -3px;
	right: -3px;
}
.more_btn a:hover::before,
.more_btn a:hover::after {
	width: 100%;
	height: 100%;
	transition: height .3s, width .3s .3s;
}
.more_btn a:hover::before {
	border-bottom-color: #000;
	border-left-color: #000;
	
}
.more_btn a:hover::after {
	border-top-color: #000;
	border-right-color: #000;
}


/*---------------------------- contens --------------------------------*/
#contents h3::before {
	content: "";
	width: 30%;
	height: 2px;
	background-color: #fc6c05;
	position: absolute;
	bottom: -8px;
	left: 50%;
	-ms-transform: translate(-50%,-50%);
	-webkit-transform: translate(-50%,-50%);
	transform: translate(-50%,-50%);
}


/*---------------- greeting -----------------*/
#greeting {
	background-image: url(../img/greeting_bg.jpg);
}
#greeting .box {
	background: rgba(89,44,23,0.5);
}

/*------------- karendar---------------------*/
#calendar iframe {
		height: 600px;
	}

/*------------- gallery ---------------------*/
#gallery figure {
	width: 31.333%;
	float: left;
	margin: 1%;
	box-sizing: border-box;
	position: relative;
	background-color: #592c17;
	overflow: hidden;
}
#gallery figure a i {
	position: absolute;
	top: 15px;
	right: 10px;
	color: #ffffff;
	opacity: 0;
	transition: all 0.3s;
}
#gallery figure a:hover img{
	opacity: 0.4;
}
#gallery figure a:hover i{
	opacity: 1;
}

/* ---------- タブレット ---------- */
@media screen and (max-width: 768px){
	#contents .txt_box {
		margin-top: -20px;
		position: relative;
	}
}


/* ---------- スマートフォン ---------- */
@media screen and (max-width: 667px){
	#news .cate_box  {
		width: 100%;
		float: none;
		padding: 0;
		margin-bottom: 20px;
	}
	#news .cate_box .news_wrap {
		max-height: 400px;
		margin-top:20%;
	}
	#gallery figure {
		width: 48%;
	}
	#gallery figure:nth-child(n+5) {
		display: none;
	}
	#calendar iframe {
		height: 400px;
	}
	
}


/* ----------- IE ------ ---------- */
@media all and (-ms-high-contrast:none) {
	.more_btn a {
		padding: 21px 0 15px;
	}
}