/* header */

header {
	width: 100%;
	margin: 0 auto;
	padding: 10px 0 18px 0;
}
header:after {
	content: "";
	display: block;
	clear: both;
}
#h_logo a {
	display: block;
	text-align: center;
	width: 94px;
	height: 40px;
	margin: 0 auto 6px auto;
	background: url(../img/logo_shoya.png) no-repeat left top ;
	background-size: 100% auto;
	overflow: hidden;
	text-indent: 100%;
	white-space: nowrap;
}
#h_logo a h1 {
	margin: 0;
}
#h_logo_tx {
	font-family: 'EB Garamond', serif;
	color: #3a0a1e;
	font-size: 10px;
	line-height: 11px;
	letter-spacing: 2px;
}


/* contents */

#contents {	
	width: 92%;
	margin: 0 auto;
	padding: 20px 0 0 0;
	text-align: left;
}
#contents:after {
	content: "";
	display: block;
	clear: both;
}


/* contents collection */

#contents_coll {	
	width: 100%;
	margin: 0 auto;
	padding: 20px 4% 0 4%;
	text-align: left;
	-moz-box-sizing: border-box;
	-webkit-box-sizing: border-box;
	box-sizing: border-box;
}
#contents_coll:after {
	content: "";
	display: block;
	clear: both;
}


/* footer */

footer {
    position: absolute;
    width: 100%;
    height: auto;
    bottom: 0;
	margin: 0 auto;
}
#ft_cont {
	width: 100%;
	margin: 0 auto;
}
#pagetop {
	width: 100%;
	border-bottom: solid 1px #c7bfc2;	
}
#pagetop a {
	float: right;
	display: block;
	background: url(../img/pagetop.png) no-repeat 3px;
	background-size: auto 15px;
	font-family: 'EB Garamond', serif;
	font-size: 12px;
	line-height: 13px;
	letter-spacing: 1px;
	color: #3a0a1e;
	margin: 12px;
	padding: 3px 0 3px 26px;
	text-align: right;
}
#pagetop:after {
	content: "";
	display: block;
	clear: both
}
#copyright {
	font-family: 'EB Garamond', serif;
	font-size: 12px;
	line-height: 12px;
	letter-spacing: 1px;
	margin: 0 auto 0 auto;
	padding: 14px 0 15px 0;
	white-space: nowrap;
}
body {
    margin: 0 0 170px; /* bottom = footer height */
}





	/*### 375px 以下 ###*/
	@media only screen and (max-width: 375px) {

	/* header */

	#h_logo a {
		width: 80px;
		height: 34px;
		margin: 0 auto 4px auto;
	}
	#h_logo_tx {
		font-size: 10px;
		line-height: 10px;
		letter-spacing: 2px;
	}


	/* footer */

	#copyright {
		font-size: 11px;
		line-height: 11px;
	}
	body {
		margin: 0 0 165px; /* bottom = footer height */
	}

	}





	/*### 768px 以上 ###*/

	@media only screen and (min-width: 768px) {

	/* header */

	header {
		padding: 22px 0 28px 0;
	}
	#h_logo a {
		width: 127px;
		height: 54px;
		margin: 0 auto 8px auto;
	}
	#h_logo_tx {
		font-size: 12px;
		line-height: 12px;
		letter-spacing: 4px;
	}


	/* footer */

	#pagetop a {
		margin: 30px 4% 20px 0;
		font-size: 13px;
		line-height: 13px;
	}
	#copyright {
		font-size: 13px;
		line-height: 13px;
		float: right;
		margin: 59px 4% 40px 10px;
		padding: 0;
		width: 26%;
		text-align: right;
	}
	body {
		margin: 0 0 184px; /* bottom = footer height */
	}


	}





	/*### 1000px 以上 ###*/

	@media only screen and (min-width: 1000px) {

	/* header */

	header {
		width: 1000px;
		padding: 22px 0 30px 0;
	}
	#h_logo a {
		width: 141px;
		height: 60px;
	}


	/* contents */

	#contents {	
		width: 960px;
	}


		
	/* contents collection */

	#contents_coll {	
		width: 1000px;
		padding: 20px 20px 5px 20px;
	}


	/* footer */

	#ft_cont {
		width: 1000px;
	}
	#pagetop a {
		margin: 30px 20px 20px 0;
		font-size: 16px;
		line-height: 16px;
	}
	#copyright {
		margin: 37px 20px 60px 10px;
		width: 26%;
		line-height: 15px;
	}
	body {
		margin: 0 0 190px; /* bottom = footer height */
	}

	}
