@charset "utf-8";


/*全体の設定
---------------------------------------------------------------------------*/
body {
	margin: 0px;
	padding: 0px;
	font: 14px/2 "メイリオ", Meiryo, "ＭＳ Ｐゴシック", Osaka, "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro";	/*文字サイズ、行間、フォントファミリー*/
	color: #FFF;	/*全体の文字色*/
	background: #f9f9f9;	/*全体の背景色（古いブラウザだとここの色のみが出ます）*/
	background: radial-gradient(circle 400px at 30% 50px,#0a4dbb,#f9f9f9);	/*ロゴ背後の光を含めた背景色*/
	border-top: 4px solid #ffde00;	/*HPの最上部に入っている線の幅と線種と色*/
}
h1,h2,h3,h4,h5,p,ul,ol,li,dl,dt,dd,form,figure{
	margin: 0px;
	padding: 0px;
}
ul{
	list-style-type: none;
}
img {
	border: none;
	vertical-align: bottom;
}
input,textarea,select {
	font-size: 1em;
}
form {
	margin: 0px;
}
table {
	border-collapse:collapse;
	font-size: 100%;
	border-spacing: 0;
}

/*リンク（全般）設定
---------------------------------------------------------------------------*/
a {
	color: #FFF;	/*リンクテキストの色*/
}
a:hover {
	color: #ffde00;			/*マウスオン時の文字色（全体）*/
	text-decoration: none;	/*マウスオン時に下線を消す設定。残したいならこの１行削除。*/
}

/*コンテナー（HPを囲むブロック）
---------------------------------------------------------------------------*/
#container {
	width: 1000px;	/*コンテナー幅*/
	margin: 0px auto;
}

/*ヘッダー（サイト名ロゴが入ったブロック）
---------------------------------------------------------------------------*/
/*ヘッダーブロック*/
header {
	padding: 40px;	/*ヘッダー内の余白*/
	overflow: hidden;
}
/*ロゴ画像*/
header #logo {
	float: left;	/*ロゴを左寄せ*/
}

/*コンテンツ（main,subを囲むブロック）
---------------------------------------------------------------------------*/
#contents {
	clear: left;
	overflow: hidden;
	padding: 15px 15px 0px;	/*上、左右、下への余白*/
	background: #FFF;	/*背景色*/
	color: #333;		/*文字色*/
}
/*コンテンツ内のリンクテキストの色*/
#contents a {
	color: #333;
}
/*コンテンツ内のリンクテキストのマウスオン時の色*/
#contents a:hover {
	color: #2e5699;
}

/*トップページのスライドショー
---------------------------------------------------------------------------*/
#mainimg {
	clear: left;
	width: 100%;
	height: auto;
	position: relative;
	margin-bottom: 20px;
}
#main_image {
	z-Index:2;
	height: auto;
	width: 100%;
	position: relative;
}

/*メインコンテンツ
---------------------------------------------------------------------------*/
#main {
	float: left;	/*右側に回り込み*/
	width: 650px;	/*メインコンテンツ幅*/
	padding-bottom: 30px;
}
/*mainコンテンツのh2タグの設定*/
#main h1,#main h2 {
	clear: both;
	font-size: 100%;
	color: #FFF;		/*文字色*/
	background: #083887;	/*背景色（古いブラウザだとここの色のみが出ます）*/
	background: -webkit-gradient(linear, left top, left bottom, from(#2e5699), to(#083887));	/*グラデーション*/
	background: -webkit-linear-gradient(#2e5699, #083887);	/*同上*/
	background: linear-gradient(#2e5699, #083887);			/*同上*/
	padding: 5px 15px;	/*左から上下、左右への余白*/
	border-bottom: 4px solid #ffde00;	/*下線の幅、線種、色*/
}
/*mainコンテンツのh3タグの設定*/
#main h3 {
	clear: both;
	font-size: 100%;
	background: #FFF;	/*背景色（古いブラウザだとここの色のみが出ます）*/
	background: -webkit-gradient(linear, left top, left bottom, from(#FFF), to(#dcdcdc));	/*グラデーション*/
	background: -webkit-linear-gradient(#FFF, #dcdcdc);	/*同上*/
	background: linear-gradient(#FFF, #dcdcdc);			/*同上*/
	padding: 4px 15px;	/*上下、左右への余白*/
	border: 1px solid #ccc;	/*枠線の幅、線種、色*/
}
/*mainコンテンツの段落タグ設定*/
#main p {
	padding: 0.5em 15px 1em;	/*左から、上、左右、下への余白*/
}

/*サブコンテンツ
---------------------------------------------------------------------------*/
#sub {
	float: right;	/*左側に回り込み*/
	width: 300px;	/*サブコンテンツ幅*/
	padding-bottom: 30px;
}
/*subコンテンツ内のh2タグ設定*/
#sub h2 {
	font-size: 100%;
	padding: 5px 10px;		/*左から、上下、左右への余白*/
	background: #555;	/*背景色*/
	color: #FFF;			/*文字色*/
}

/*サブコンテンツ内のメニュー
---------------------------------------------------------------------------*/
/*メニュー全体の設定*/
#sub ul.submenu {
	margin-bottom: 15px;	/*メニューブロックの下にあけるスペース*/
}
#sub .box1 ul.submenu {
	margin-bottom: 0;
}
/*メニュー１個ごとの設定*/
#sub ul.submenu li a {
	border-bottom: 1px solid #ccc;	/*下側の線の幅、線種、色*/
	text-decoration: none;
	display: block;
	padding: 2px 10px 2px 30px;	/*上下、左右への余白*/
	/*-webkit-transition: 0.1s;*/	/*マウスオン時の移り変わるまでの時間設定。0.5秒。*/
	/*transition: 0.1s;*/			/*同上*/
	background: url(../images/list.png);
	background-repeat: no-repeat;
	background-position: 5px 10px;
	background-color: #FFF;	/*背景色*/
}
/*マウスオン時*/
#sub ul.submenu li a:hover {
	background-position: 7px 10px;
	background-color: #ffde00;	/*背景色*/
}

/*サブコンテンツ内のbox1
---------------------------------------------------------------------------*/
#sub .box1 {
	border: 1px solid #ccc;	/*枠線の幅、線種、色*/
	padding: 10px;			/*ボックス内の余白*/
	margin-bottom: 15px;	/*ボックスの下に空けるスペース*/
	background: #e2e2e2 url(../images/bg.png);	/*背景色と背景画像の読み込み*/
}

/*フッター設定
---------------------------------------------------------------------------*/
footer {
	clear: both;
	text-align: center;
	padding-top: 15px;
	padding-bottom: 15px;
	background: #010c1c;	/*背景色（古いブラウザだとここの色のみが出ます）*/
	background: -webkit-gradient(linear, left top, left bottom, from(#010c1c), to(#073683));	/*グラデーション*/
	background: -webkit-linear-gradient(#010c1c, #073683);	/*同上*/
	background: linear-gradient(#010c1c, #073683);			/*同上*/
}
footer a {
	text-decoration: none;
}

/*PAGE TOP設定
---------------------------------------------------------------------------*/
#pagetop {
	clear: both;
}
#pagetop a {
	color: #FFF;		/*文字色*/
	font-size: 10px;	/*文字サイズ*/
	background: #333;	/*背景色*/
	text-decoration: none;
	text-align: center;
	width: 12em;	/*ボックス幅*/
	display: block;
	float: right;
	letter-spacing: 0.1em;	/*文字間隔を少し広めにとる設定。*/
}
/*マウスオン時*/
#pagetop a:hover {
	background-color: #666;	/*背景色*/
	color: #FFF;			/*文字色*/
}

/*その他
---------------------------------------------------------------------------*/
.look {
	background: #dcdcdc;
}
.mb15,
.mb1em {
	margin-bottom: 15px;
}
.clear {
	clear: both;
}
ul.disc {
	padding: 0em 25px 1em;
	list-style: disc;
}
.color1 {
	color: #2e5699;
}
.pr {
	font-size: 10px;
}
.btn {
	font-size: 13px;
}
.wl {
	width: 96%;
}
.ws {
	width: 50%;
}
.c {
	text-align: center;
}
.r {
	text-align: right;
}
figcaption {
	font-size: 11px;
}
.sortbox {
	text-align: right;
	margin-bottom: 15px;
	border-top: 1px solid #999;
	border-bottom: 1px solid #999;
	padding: 10px;
	background: #FFF;
}
.big1 {
	font-size: 130%;
}
img {
	max-width: 100%;
	height: auto;
}

/*広告設定*
---------------------------------------------------------------------------*/
.ad1 {
	text-align: center;
	padding-bottom: 8px;
}
.ad2 {
	text-align: center;
	padding-top: 8px;
	padding-bottom: 20px;
}
.ad3 {
	overflow: hidden;
	padding-left: 15px;
	padding-top: 25px;
}
.ad_mL {
	width: auto;
	float: left;
	padding-right: 15px;
}
.ad_mR {
	width: auto;
	float: left;
}
.ad4 {
	text-align: center;
	padding-top: 8px;
}
.ad_s1 {
	padding-top: 15px;
}
.ad_s2 {
	padding-top: 5px;
}


/*ここからタブレット用（481px～800px）環境の設定
---------------------------------------------------------------------------*/
/*表示を切り替えるウィンドウサイズの指定*/
@media (min-width:481px) and (max-width:800px){

/*コンテナー（HPを囲むブロック）
---------------------------------------------------------------------------*/
#container {
	width: auto;
	margin: 0px 15px;
}

#contents {
	padding: 15px 10px 0px;
}

/*ヘッダー（サイト名ロゴが入ったブロック）
---------------------------------------------------------------------------*/
/*ヘッダーブロック*/
header {
	text-align: center;
}
/*ロゴ画像*/
header #logo {
	float: none;
}

/*main,subコンテンツ
---------------------------------------------------------------------------*/
#main, #sub {
	float: none;
	width: auto;
}

/*広告設定*
---------------------------------------------------------------------------*/
	.ad3 {
		width: 615px;
		margin: 0 auto;
		padding-left: 0px;
	}
	.ad_mL {
		width: auto;
		padding-bottom: 15px;
		text-align: center;
	}
	.ad_mR {
		width: auto;
		padding-bottom: 10px;
		text-align: center;
	}
	.ad_s1,.ad_s2 {
		text-align: center;
	}

}




/*広告調整用（645px以下）環境の設定
---------------------------------------------------------------------------*/
/*表示を切り替えるウィンドウサイズの指定*/
@media (min-width:481px) and (max-width:645px){
	.ad3 {
		width: auto;
		padding-top: 15px;
		padding-left: 0px;
	}
	.ad_mL {
		width: auto;
		float: none;
		padding-right: 0px;
		padding-bottom: 15px;
		text-align: center;
	}
	.ad_mR {
		width: auto;
		float: none;
		padding-bottom: 10px;
		text-align: center;
	}


}



/*ここからスマートフォン用（480px以下）環境の設定
---------------------------------------------------------------------------*/
/*表示を切り替えるウィンドウサイズの指定*/
@media (max-width : 480px){

/*全体の設定
---------------------------------------------------------------------------*/
body {
	font-size: 14.5px;
}

/*コンテナー（HPを囲むブロック）
---------------------------------------------------------------------------*/
#container {
	width: auto;
	margin: 0px 15px;
}
#contents {
	padding: 15px 10px 0px;
}

/*ヘッダー（サイト名ロゴが入ったブロック）
---------------------------------------------------------------------------*/
/*ヘッダーブロック*/
header {
	text-align: center;
	padding: 20px;
}
/*ロゴ画像*/
header #logo {
	float: none;
}

/*main,subコンテンツ
---------------------------------------------------------------------------*/
#main, #sub {
	float: none;
	width: auto;
}

/*mainコンテンツ
---------------------------------------------------------------------------*/
/*mainコンテンツの段落タグ設定*/
#main p {
	padding: 0.5em 5px 1em;	/*左から、上、左右、下への余白*/
}

/*サブコンテンツ内のメニュー
---------------------------------------------------------------------------*/
/*メニュー１個ごとの設定*/
#sub ul.submenu li a {
	padding: 9px 10px 9px 25px;
	line-height: 1.5;
}

/*広告設定*
---------------------------------------------------------------------------*/
	.ad_mL {
		width: auto;
		float: none;
		padding-right: 0px;
		padding-bottom: 15px;
		text-align: center;
	}
	.ad_mR {
		width: auto;
		float: none;
		padding-bottom: 10px;
		text-align: center;
	}
	.ad_s1,.ad_s2 {
		text-align: center;
	}
	.ad3 {
		width: auto;
		padding-top: 15px;
		padding-left: 0px;
	}

}



@media (max-width : 340px){

	#container {
		margin: 0px 4px;
	}
	#contents {
		padding: 15px 0px 0px;
	}
	#logo img,.ad1,.ad2,#main img,#main h2,#main p,.ad4,#sub h2,#sub ul,.ad_s2,#pagetop {
		margin-right: 10px;
		margin-left: 10px;
	}
	.ad3,.ad_s1, {
		overflow: inherit;
	}


}
