@charset "UTF-8";

body{
	color: #333;
	line-height: 1.25;
}

#content *, 
#content *:before, 
#content *:after {
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	-o-box-sizing: border-box;
	-ms-box-sizing: border-box;
	box-sizing: border-box;
}

.main_img{
	/* margin-top: 75px; */
	max-height: 400px;
	width: 100%;
	position: relative;
	overflow: hidden;
}

.main_img:before{
	content: "";
	display: block;
	padding-top: 31.25%;
}

.main_img_sns{
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	background-color: #00a9e0;
}

.main_img_sns .sns_wrap{
	position: relative;	
	z-index: 20;
}


.main_img_sns li.ogn_hatebu{
/* 	border: #fff 1px solid; */
}



.main_img > img{
	position: absolute;
	width: 100%;
	height: auto;
	margin: auto;
/* 	min-width: 100%; */
	min-height: 100%;
	top: 0;
	bottom: 0;
	left: 0;
	right: 0;
}

#main_img_ttl{
}

#main_ttl{
	position: absolute;
	width: 100%;
	left: 0;
	right: 0;
	bottom: 11px;
	padding: 0;
	z-index: 10;
}

#main_ttl > div{
	padding: 0;
}

.content{
	width: calc (100% - 40px);
	max-width: 1040px;
	margin: 0 auto;
	padding: 20px;
	color: #333;
}

.content a{
	text-decoration: none;
	color: #333;
}

.about a,
.remodal p a{
	text-decoration: none;
	color: #00a9e0;
	position: relative;
	padding-left: 0.5em;
/* 	font-weight: bold; */
	display: block;
}

.remodal p a{
	margin-top: 0.5em;
}

.about a:before,
.remodal p a:before{
	content: '';
	position: absolute;
	bottom: 0.3em;
	left: 0;
	z-index: 0;
	width: 0;
	height: 0;
	border-style: solid;
	border-width: 0.3em 0 0.3em 0.36em;
	border-color: transparent transparent transparent #00a9e0;
	
}

.content a:hover,
.remodal a:hover{
	opacity: 0.8;
}

#lnavi{
	text-align: center;
	margin-bottom: 20px;
}

.banner_img{
	width: 100%;
	position: relative;
	margin-bottom: 20px;
	overflow: hidden;
}

.banner_img:before{
	content: "";
	display: block;
	padding-top: 25%;
}

.banner_img > img,
.gallery li img.sumnail{
	position: absolute;
	width: 100%;
	height: auto;top: 50%;
	left: 50%;
	transform: translateY(-50%) translateX(-50%);
}

.gallery li img.sumnail:hover{
	width: 120%;
	transition: 0.5s;
}

.gallery{
	margin-bottom: 20px;
}

.arts{
	width: 101%;
	overflow: hidden;
	margin-right: -1%;
	/* display: none; */
}

.about a:hover,
.gallery li:hover,
a.art_navi{
	cursor: pointer;
}

.gallery li{
	width: 19%;
/* 	background: #333; */
	position: relative;
	float: left;
	margin: 0 1% 1% 0;
	overflow: hidden;
}

.gallery li:before{
	content: "";
	display: block;
	padding-top: 100%;
}

.gallery li p{
	text-align: justify;
}

.about{
	position: absolute;
	right: 15px;
	bottom: 15px;
	/* z-index: 10; */
	color: #fff;
	border: #fff solid 1px;
	background: rgba(0,0,0,0.3)
}

.about a{
	color: #fff;
	font-weight: bold;
	padding: 0.4em 0.6em 0.4em 1.2em;
}

.about a:before{
	bottom: 0.65em;
	left: 0.4em;
	border-color: transparent transparent transparent #fff;
}

.sns{
	/* background-color: #d9d9d6; */
	width: 100%;
	height: 30px;
	margin-top: 75px;
}

.sns_wrap{
	width: calc(100% - 40px);
	max-width: 1240px;
	overflow: hidden;
	margin: 0 auto;
	/* padding: 5px 0; */
	height: 20px;
}

.sns_button{
	float: right;
/* 	height: 100%; */
	overflow: hidden;
	height: fit-content;
	display: flex;
	justify-content: center;
	align-items: center;
	gap: 0.5em;
}

.sns_button li{
	display: block;
	width: fit-content;
	height: 20px;
	padding: 3px 5px;
	font-size: 11px;
	line-height: 14px;
	-webkit-border-radius: 3px;/* Safari,Google Chrome用 */
	-moz-border-radius: 3px;/* Firefox用 */
	border-radius: 3px;
	behavior: url(border-radius.htc); /* IE */
}

.sns_button li.fb-like{
	padding: 0;
}

.sns_button li.fb-share-button{
	background-color: #305097;
}

.sns_button li.fb-share-button dd span{
	display: none;
}

.sns_button li.ogn_tweet{
	background-color: #1b95e0;
}

.sns_button li.ogn_google_plus{
	background-color: #db4a39;
}

.sns_button li.ogn_hatebu{
	background-color: #00a4de;
}

.sns_button li dt,
.sns_button li dd{
	display: inline-block;
}

a.sns_link{
	text-decoration: none;
	color: #fff;
}

a.sns_link img{
	height: 14px;
	width: 14px;
	vertical-align: top;
}

a.sns_link:hover{
	opacity: 0.8;
}

.sns_button{
	color: #fff;	
}



/***** Phone用 **********************************/
@media screen and (max-width:740px){
	
	.main_img{
		margin-top: 75px;
	}
	
	#main_ttl{
		left: 20px;
		bottom: 30px;	
	}

	div.sns{
		display: none;	
	}

	#content + div.sns{
		display: inherit;
	}
	
	.sns_button{
		float: none;
		margin: 0 auto;
		display: inline-block;
	}

	.sns_wrap{
		text-align: center;
		width: 100%;
		height: auto;
		margin-bottom: -5px;
	/* 	padding: 5px 0 0; */
	}
	
	/*
		.sns_button li.fb-like{
			display: none;
		}
	*/
	.sns_button li{
		margin-bottom: 5px;
	}
	
	.sns li{
		margin-bottom: 5px;
	}

}

@media screen and (max-width:740px) and (orientation: portrait){
	
	.main_img{
		margin-top: 109px;
	}
	
	.main_img:before{
		display: none;
/* 		padding-top: 62.5%; */
	}
	.main_img > img{
		position: inherit;
	}
	
	.main_img_sns{
		position: inherit;
	}
	
	#main_ttl{
		bottom: 45px;	
	}
		
	#main_ttl img{
		width: 60%;
		height: auto;
	}
	
	.banner_img{
		margin-bottom: 2%;
	}
	
	.banner_img > img{
		top:0;
		left: 0;
		transform: inherit;
		width: auto;
		height: 100%;
	}
	
	.banner_img:before{
		padding-top: 50%;
	}
	
	.arts{
	width: 102%;
	margin-right: -2%;
	}
	
	.gallery li{
		width: 48%;
		margin: 0 2% 2% 0;
	}
	
	#lnavi a{
		display: block;
		margin-bottom: 10px;
	}
}
