@charset "utf-8";

/*=================================
	layout
================================ */

/* header */
#header #logoBlock {
	width: 1000px;
	margin: 0 auto;
}
#header #logoBlock {
	padding: 17px 0 10px;
}
#header #logoBlock .logo {
	float: left;
	margin-top: 3px;
}

/* main */
#main > *:first-child {
	margin-top: 0;
}

/* container */
#container {
	width: 1000px;
	margin: 40px auto 0;
}
#container.noNavi > *:first-child {
	margin-top: 0;
}
#content {
	float: left;
	width: 740px;
}
.noNavi #content {
	width: 1000px;
}
#content > *:first-child,
#content > section:first-child > *:first-child,
#content > *.pie_first-child {
	margin-top: 0;
}

/* footer */
#footer {
	margin-top: 50px;
}
#footer #footInner {
	width: 1000px;
	margin: 0 auto;
	padding: 19px 0 13px;
}
#footer .footLogoBlock {
	margin-top: 35px;
}
#footer .footLogoBlock .leftCol {
	float: left;
	width: 300px;
}
#footer .footLogoBlock .leftCol .logo {
	margin-top: 2px;
}
#footer .footLogoBlock .copy {
	display: block;
	padding-top: 10px;
	font-size: 12px;
	font-size: 1.2rem;
	color: #000000;
}
#footer .footLogoBlock .rightCol .footInfoBox {
	float: left;
}
#footer .footLogoBlock .rightCol .footInfoBox > p {
	margin-top: 0;
	font-size: 11px;
	font-size: 1.1rem;
	line-height: 1.8;
}
#footer .footLogoBlock .rightCol {
	float: right;
	width: 620px;
}
#footer .footLogoBlock .rightCol ul {
	float: right;
}
#footer .footLogoBlock .rightCol ul li {
	float: left;
	margin-left: 15px;
}
#footer #pageTopBtn {
	display: none;
	position: fixed;
	bottom: 120px;
	left: 50%;
	margin-left: 500px;
}

@media only screen and (max-width: 1140px) {
	#footer #pageTopBtn {
		right: 20px;
		bottom: 20px;
		left: auto;
		margin-left: 0;
	}
}

@media only screen and (max-width: 767px) {
	
	/* header */
	#header {
		border-bottom: solid 1px #cccccc;
	}
	#header #logoBlock {
		width: 100%;
		padding: 0;
	}
	#header #logoBlock .logo {
		display: table;
		width: 100%;
		margin-top: 0;
	}
	#header #logoBlock .logo > a {
		display: table-cell;
		width: 68%;
		padding: 0 30px 0 15px;
		vertical-align: middle;
	}
	#header #logoBlock .logo > a > img {
		width: 90%;
		height: auto;
		vertical-align: middle;
	}
		
	/* container */
	#container {
		width: 100%;
		margin: 20px 0 0;
		padding: 0;
	}
	#content {
		float: none;
		width: 100%;
		padding: 0 10px;
	}
	.noNavi #content {
		width: 100%;
	}
		
	/* footer */
	#footer {
		margin-top: 30px;
	}
	#footer #footInner {
		width: 100%;
		padding: 10px;
		background: #f7f7f7;
	}
	#footer .footLogoBlock {
		margin-top: 0;
	}
	#footer .footLogoBlock .leftCol {
		float: none;
		width: 100%;
	}
	#footer .footLogoBlock .rightCol {
		float: none;
		width: 100%;
		margin-top: 10px;
	}
	#footer .footLogoBlock .leftCol .copy {
		color: #666666;
	}
	#footer .footLogoBlock .rightCol .footInfoBox {
		width: 55%;
	}
	#footer .footLogoBlock .rightCol .footInfoBox > p {
		font-size: 0.8rem;
	}
	#footer .footLogoBlock .rightCol ul {
		width: 40%;
	}
	#footer .footLogoBlock .rightCol ul li {
		width: 40%;
		margin-left: 5px;
	}
	#footer .footLogoBlock .rightCol ul li:first-child {
		margin-left: 0;
	}
	#footer #pageTopBtn {
		right: 10px;
		bottom: 30px;
		left: auto;
		margin-left: 0;
	}
	
}


/* clearfix */
#header #logoBlock:after,
#container:after,
#footer .footLogoBlock:after,
#footer .footLogoBlock .leftCol:after,
#footer .footLogoBlock .rightCol:after,
#footer .footLogoBlock .rightCol ul:after {
	display: block;
	clear: both;
	height: 0;
	visibility: hidden;
	content: ".";
	font-size: 0;
}