@charset "utf-8";
/*
基本スタイルフッター
*/

/* ボタン */
.button {
	margin: 30px 0 !important;
	text-align: center;
}

.button a {
	padding: 10px 40px 10px 20px;
	color: #000;
	background: #c7e9ff url('./images/arrow4.png') no-repeat calc(100% - 13px) 50%;
	border-radius: 18px;
}

.button a:hover {
	background-color: #e3f3fe;
}

.button2 {
	padding-right: 20px;
	text-align: right;
	background: url('./images/arrow4.png') no-repeat 100% 50%;
}

/* Clearfix */
#footer:after {
	content: "";
	display: table;
	clear: both;
}

#footer {
	zoom: 1;
}

footer {
	clear: both;
	padding: 20px 0;
	border-top: 1px solid #203050;
	background: #c4dded;
}

/* フッター */
#footerWrapper {
	width: 990px;
	margin-right: -30px;
}

#footerWrapper::after {
	display: block;
	content: " ";
	clear: both;
}

#footer-logo {
	float: left;
}

footer ul {
	width: 230px;
	float: left;
	margin: 10px 0;
}

footer li {
	margin: 0 5px 5px;
}

footer li a {
	padding: 7px 0 7px 23px;
	color: #000;
	text-decoration: underline;
	background: url('./images/arrow2.png') no-repeat 0 50%;
}

footer li a:hover {
	color: #666;
	text-decoration: none;
}

#copyright {
	clear: both;
	padding: 20px 0 30px;
	text-align: center;
	font-size: 90%;
	zoom: 1;
	color: #fff;
	background: #005d98;
}

/* page navigation */
.pagenav {
	clear: both;
	width: 100%;
	height: 30px;
	margin: 5px 0 20px;
}

.prev {
	float: left
}

.next {
	float: right;
}

#pageLinks {
	clear: both;
	text-align: center;
}

@media only screen and (max-width:1024px) {
	#footer-logo {
		float: none;
		text-align: center;
	}

	#footerWrapper {
		width: 690px;
		margin: 0 0 0 calc(50% - 320px);
	}
}

@media only screen and (max-width: 754px) {
	#footerWrapper {
		width: 100%;
		margin: 0;
	}

	footer ul {
		float: none;
		margin: 10px 0 10px calc(50% - 120px);
	}
}

/* 幅644px以下から ヘッダー等微調節 */
@media only screen and (max-width: 644px) {
	footer ul {
		text-align: left;
		padding: 15px;
	}
}

/* ページのトップへ */
#page-top {
	width: 50px;
	position: fixed;
	bottom: 20px;
	right: 50px;
}

#page-top a {
	display: block;
	width: 50px;
	padding: 15px 0 10px;
	font-size: 14px;
	color: #fff;
	text-align: center;
	text-decoration: none;
	background-color: rgba(153,153,153,0.6);
	border-radius: 25px;
}

#page-top a:hover {
	background-color: rgba(153,153,153,0.9);
}

@media screen and (max-width: 640px) {
	#page-top {
		width: 45px;
		right: 25px;
	}

	#page-top a {
		width: 37px;
		height: 43px;
		font-size: 0;
		border-radius: 5px;
	}
}
