@charset "utf-8";

/* ＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝　初期設定　＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝ */

*{
	margin: 0px;
	padding: 0px;
	-webkit-box-sizing: border-box;
	   -moz-box-sizing: border-box;
	        box-sizing: border-box;
	font-family: "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
}

img{
	vertical-align: middle;
}

/* ＝＝＝＝＝＝＝＝＝＝＝＝＝　ページレイアウト　＝＝＝＝＝＝＝＝＝＝＝＝＝ */

body{
	width: 100%;
	-webkit-text-size-adjust: 100%;
}
@media only screen and (min-width:801px) {
	body{
		width: 1030px;
		padding: 0px 15px;
		margin: 0px auto;
	}
}

header{
	width: 100%;
}

#main{
	width: 100%;
	margin: 40px 0px;
	padding: 0px 15px;
}
@media only screen and (min-width:801px) {
	#main{
		width: 1030px;
		float: left;
		margin-left: -15px;
	}
}


footer{
	width: 100%;
	clear: both;
	padding: 15px 20px;
	background: #000;
}

/* ＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝　ヘッダー　＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝ */

#logo{
	display: block;
	float: left;
	width: 180px;
	margin: 15px 0px 3px 10px;
}
@media only screen and (min-width:651px) {
	#logo{
		width: 270px;
	}
}

#header-top-link{
	float: right;
	margin: 10px 10px 5px;
	list-style-type: none;
}

#header-top-link li{
	display: inline-block;
	margin-left: 10px;
}

#header-top-link a{
	display: block;
	text-decoration: none;
}

#header-top-link img{
	height: 30px;
}
@media only screen and (min-width:651px) {
	#header-top-link img{
		height: 18px;
		padding-right: 5px;
	}
}

#header-top-link span{
	display: none;
}
@media only screen and (min-width:651px) {
	#header-top-link span{
		display: inline;
		color: #666;
		font-size: 15px;
	}
}

#header-top:after{
	display: table;
	content: "";
	clear: both;
}

#header-img{
	height: 50px;
	background-image: url("../toppage-photo/toppage-bainer/toppage-image-2013-11-f.jpg");
	background-size: cover;
	background-position: bottom;
}
@media only print,screen and (min-width:651px){
	#header-img{
		height: 160px;
	}
}
@media only print,screen and (min-width:801px) {
	#header-img{
		height: 160px;
	}
}

/* ＝＝＝＝＝＝＝＝＝＝＝＝＝　ナビゲーション　＝＝＝＝＝＝＝＝＝＝＝＝＝＝ */

#sp-menu{
	background: #000;
	color: #FFF;
	font-weight: bold;
	font-size: 16px;
	padding-left: 15px;
	line-height: 45px;
}
@media only screen and (min-width:651px) {
	#sp-menu{
		display: none;
	}
}

#sp-menu img{
	height: 30px;
	padding-bottom: 4px;
	margin-right: 8px;
}

nav ul{
	list-style-type: none;
	display: none;
}
@media only screen and (min-width:651px) {
	nav ul{
		display: block;
	}
}

nav li{
	width: 50%;
	float: left;
	border-bottom: solid 2px #666;
}
nav li:nth-child(odd){
	border-right: solid 2px #666;
}
@media only screen and (min-width:651px) {
	nav li{
		width: 16.66666667%;
		border-right: solid 2px #666;
		border-bottom: none;
	}
	nav li:last-child{
		border-right: none;
	}
}

nav a{
	display: block;
	background: #333;
	color: #FFF;
	font-weight: bold;
	font-size: 13px;
	line-height: 45px;
	padding-left: 15px;
	text-decoration: none;
}
@media only screen and (min-width:651px) {
	nav a{
		line-height: 36px;
		text-align: center;
		padding-left: 0;
	}
}

nav a:hover{
	background: #C30;
}

nav ul:after{
	display: table;
	content: "";
	clear: both;
}

/* ＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝　メイン用　＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝ */

#main section{
	margin-bottom: 60px;
}

h1,h2{
	color: #336;
	line-height: 1.2;
	border-bottom: solid 2px #336;
	margin-bottom: 8px;
	max-height: 999999px;
}
h1{font-size: 20px;}
h2{font-size: 18px;}
@media only screen and (min-width:651px) {
	h1{font-size: 24px;}
	h2{font-size: 20px;}
}

.main-text{
	text-align: justify;
	font-size: 15px;
	line-height: 1.5;
	max-height: 999999px;
}
@media only screen and (min-width:651px) {
	.main-text{
		font-size: 16px;
	}
}

/* ＝＝＝＝＝＝＝＝＝＝＝＝＝＝　サイドバー用　＝＝＝＝＝＝＝＝＝＝＝＝＝＝ */
/* ＝＝＝＝＝＝＝＝＝＝＝＝＝＝　フッター用　＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝ */

footer ul{
	width: 100%;
	margin-bottom: 30px;
	list-style-type: none;
}
@media only screen and (min-width:801px) {
	footer ul{
		width: 300px;
	}
}

footer li{
	width: 50%;
	float: left;
}

footer li a{
	display: block;
	color: #FFF;
	font-size: 13px;
	line-height: 45px;
	padding-left: 10px;
	text-decoration: none;
}
@media only screen and (min-width:801px) {
	footer li a{
		line-height: 24px;
	}
}

footer li a:hover{
	background: #C30;
}

footer ul:after{
	display: table;
	content: "";
	clear: both;
}

#select-layout{
	margin-bottom: 30px;
	text-align: right;
	color: #FFF;
	font-size: 13px;
}

#PC-site,#MO-site{
	padding: 5px 8px;
	border: solid 1px #999;
	display: none;
}

#copyright{
	text-align: right;
	color: #FFF;
	font-size: 12px;
}

@media only screen and (min-width:651px) {
	#copyright br{
		display: none;
	}
}

/* ＝＝＝＝＝＝＝＝＝＝＝＝＝　グリッドシステム　＝＝＝＝＝＝＝＝＝＝＝＝＝ */

.row{
	margin: 10px -15px;
}
.row:after{
	display: table;
	content: "";
	clear: both;
}

.sm-1-div, .sm-2-div, .sm-3-div, .sm-4-div{
	display: block;
	float: left;
	padding: 0px 15px;
}
.sm-1-div{width: 100%;}
.sm-2-div{width:  50%;}
.sm-3-div{width:  33.33333333%;}
.sm-4-div{width:  25%;}
@media only screen and (min-width:651px) {
	.bg-1-div{width: 100%;}
	.bg-2-div{width:  50%;}
	.bg-3-div{width:  33.33333333%;}
	.bg-4-div{width:  25%;}
}


/* ＝＝＝＝＝＝＝＝＝＝＝＝＝＝　汎用クラス　＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝ */

/* 縦方向の間隔調整 */
.height-space{
	height: 0px;
	margin-bottom: 40px;
}

/* 小画面－内余白ゼロ */
@media only screen and (max-width:650px) {
	.sm-nopad{
		padding: 0;
	}
}
