﻿@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 print,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 print,screen and (min-width:801px) {
	#main{
		width: 1030px;
		float: left;
		margin-left: -15px;
	}
}

aside{
	width: 300px;
	margin: 40px auto;
}
#sidebar-2{
	display: none;
}
@media only print,screen and (min-width:651px) {
	aside{
		width: 620px;
	}
	#sidebar-1{
		width: 300px;
		float: left;
	}
	#sidebar-2{
		width: 300px;
		float: right;
		display: block;
	}
}
@media only print,screen and (min-width:801px) {
	aside{
		width: 300px;
		float: right;
	}
}

aside:after{
	display: table;
	content: "";
	clear: both;
}

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

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

#logo{
	display: block;
	float: left;
	width: 180px;
	margin: 15px 0px 3px 10px;
}
@media only print,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 print,screen and (min-width:651px) {
	#header-top-link img{
		height: 18px;
		padding-right: 5px;
	}
}

#header-top-link span{
	display: none;
}
@media only print,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 print,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 print,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 print,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 print,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 print,screen and (min-width:651px) {
	h1{font-size: 24px;}
	h2{font-size: 20px;}
}

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

/* ＝＝＝＝＝＝＝＝＝＝＝＝＝＝　サイドバー用　＝＝＝＝＝＝＝＝＝＝＝＝＝＝ */

.banner{
	margin-bottom: 15px;
	text-align: center;
	font-size: 14px;
	padding-top: 15px;
}

aside p{
	font-size: 12px;
	line-height: 1.3;
	margin-bottom: 10px;
}

/* ＝＝＝＝＝＝＝＝＝＝＝＝＝＝　フッター用　＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝ */

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

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

@media only print,screen and (min-width:801px) {
footer li{
	width: 25%;
	float: left;
}
}


footer li a{
	display: block;
	color: #FFF;
	font-size: 13px;
	line-height: 45px;
	padding-left: 10px;
	text-decoration: none;
}
@media only print,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 print,screen and (min-width:651px) {
	#copyright br{
		display: none;
	}
}

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

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

.sm-1-div, .sm-2-div, .sm-3-div, .sm-4-div, .sm-26-div, .sm-12-div, .sm-20-div, .sm-40-div, .sm-10-div{
	display: block;
	float: left;
	padding: 0px 5px;
}
.sm-1-div{width: 100%;}
.sm-2-div{width:  42%;}
.sm-3-div{width:  33.33333333%;}
.sm-4-div{width:  25%;}
.sm-26-div{width: 26%;}
.sm-12-div{width: 16%;}
.sm-20-div{width: 20%;}
.sm-40-div{width: 40%;}
.sm-10-div{width: 10%;}
@media only print,screen and (min-width:651px) {
	.bg-1-div{width: 100%;}
	.bg-2-div{width:  42%;}
	.bg-3-div{width:  33.33333333%;}
	.bg-4-div{width:  25%;}
	.bg-26-div{width: 26%;}
	.bg-12-div{width: 16%;}
	.bg-20-div{width: 20%;}
    .bg-40-div{width: 40%;}
    .bg-10-div{width: 10%;}
.bg-10-div, .bg-20-div, .bg-40-div{
	display: block;
	float: left;
	padding: 0px 3px;
	}

}


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

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

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