@charset "UTF-8";
/* すべてのWebページに適用される */
/* ページ上部への移動 */
  #page_top{
  width: 50px;
  height: 560px;
  position: fixed;
  right: 0;
  bottom: 0;
}


html{
	font-family: sans-serif;
}

html *{
	box-sizing: border-box;
}

body{
	margin: 0 0 0 0;
	background-color: #eeece9;
}

.wrapper{
	margin: 0 auto 0 auto;
	max-width: 960px;
}

h2{
	color: #3f5170;
	font-size: 22px;
	border-bottom:3px dotted #3f5170;
	margin-top: 20px;
	margin-right: 0px; 
	margin-bottom: 20px;
	margin-left: 0px;
	padding-top: 5px;
	padding-right: 5px;
	padding-bottom: 5px;
	padding-left: 5px;
}
p {
	line-height:1.6;
}

a:link{
	color: #d25833;
}

a:visited{
	color: #d25833;
}

a:hover {
	color: #e3937a;
}

a:active {
	color: #ff6a3b;
}

img{
	max-width: 100%;
	height: auto;
}

/* すべてのページに適用 - ヘッダー - */
.logo{
	margin: 50px 0 40px 0;
	line-height: 0;
	text-align: center;
}

.nav li{
	display: inline;
	list-style-type:none;
	padding-right: 30px;
}

.nav ul{
	margin: 0 0 0 0;
	padding: 20px 10px 15px 20px;
	background-image:  url(../images/menu-bg.png);
	background-repeat: repeat-x;
}
.nav a:link{
	color: #3c454d;
	text-decoration: none;
}

.nav a:visited{
	color: #3c454d;
	text-decoration: none;
}
.nav a:hover{
	color: #7b8dac;
	text-decoration: none;
}
.nav a:active{
	color: #5a9bc0;
	text-decoration: none;
}

/* すべてのページに適用 - フッター - */
.footer{
		background-image: url(../images/footer-bg.png);
		background-repeat: no-repeat;
		margin-top: 30px;
		padding: 80px 15px 20px 15px;
		font-size: 12px;
		color: #3f5170;
}

/* スマートフォン向けCSS */
@media (max-width: 767px)
{

	/* 全体　ナビゲーション */
	.wrapper{
	 margin: 0 8px;
	}

	.logo{
	 margin: 30px 0;
	}

	.logo img{
	 width: 200px;
	}
	
	.nav{
	 background-color: #dfddda;
	}
	
	.nav li{
	 display: block;
	}
}