﻿@charset "utf-8";

/*==================
ベースのCSSの設定
====================*/

/*ベースの要素の設定をリセット*/

body,div,dl,dt,dd,ul,ol,li,h1,h2,h3,h4,h5,h6,p,article,aside,details,figcaption,figure,footer,header,hgroup,menu,navigation,section {
	margin: 0;
	padding: 0;
	border: 0;
	outline: 0;
	font-size: 100%;
	vertical-align: baseline;
	background: transparent;
}

/*HTML5の新要素をdisplay:blocにする*/

article,aside,details,figcaption,figure,footer,header,hgroup,menu,navigation,section {
	display: block;
}

/*画像の枠線をクリアして位置の初期値の設定*/

img {
	border: 0;
	vertical-align: top;
}

/*サイト全体の基本情報の設定*/

body {
	font-family: 'ヒラギノ角ゴ Pro W3','Hiragino Kaku Gothic Pro','メイリオ',Meiryo,'ＭＳ Ｐゴシック',sans-serif;
	line-height: 1.4;
	color: #333;
	background: #fff;
}

/*リンク時の枠の点線をなしにする*/

a {
	outline: none;
}

/*リンクの装飾の設定*/

a:link,a:visited,a:active {
	color: #3f98c4;
	text-decoration: underline;
}

a:hover {
	color: #3f98c4;
	text-decoration: none;
}

/*リスト要素の初期値をリセット*/

ul,ol {
	list-style: none;
}

/*clearfixの設定*/

.clearfix:after {
	visibility: hidden;
	height: 0;
	display: block;
	font-size: 0;
	content: " ";
	clear: both;
}

* html .clearfix {
	zoom: 1;
}

*:first-child+html .clearfix {
	zoom: 1;
}

/*=====================
ヘッダーエリアの設定
=======================*/
/*幅100%にヘッダーの帯を表示させる装飾*/

#header {
	background: #fff;
	width: 100%;
	border-bottom: 1px solid #f3f2f2;
	font-size: 1.1em;
}

/*ヘッダーのコンテンツ領域を940pxにしてセンター寄せに*/

#header_top {
	width: 940px;
	margin: 0 auto;
	position: relative;
}

/*ロゴの上の余白を設定*/

h1 {
	line-height: 50px;
	margin: 0px 1px 1px 0px;
	color: #ffffff;
	font-size: 100%;
	text-align: center;
	text-decoration: none;
	letter-spacing: 2px;
	-moz-border-radius: 4px;
	-webkit-border-radius: 4px;
	border-radius: 4px;
/*IE 7 AND 8 DO NOT SUPPORT BORDER RADIUS*/
	-moz-box-shadow: 0px 0px 1px #000000;
	-webkit-box-shadow: 0px 0px 1px #000000;
	box-shadow: 0px 0px 1px #000000;
/*IE 7 AND 8 DO NOT SUPPORT BLUR PROPERTY OF SHADOWS*/
	filter: progid:DXImageTransform.Microsoft.gradient(startColorstr = '#1c31ff', endColorstr = '#82b1ff');
/*INNER ELEMENTS MUST NOT BREAK THIS ELEMENTS BOUNDARIES*/
/*Element must have a height (not auto)*/
/*All filters must be placed together*/
	-ms-filter: "progid:DXImageTransform.Microsoft.gradient(startColorstr = '#1c31ff', endColorstr = '#82b1ff')";
/*Element must have a height (not auto)*/
/*All filters must be placed together*/
	background-image: -moz-linear-gradient(top, #1c31ff, #82b1ff);
	background-image: -ms-linear-gradient(top, #1c31ff, #82b1ff);
	background-image: -o-linear-gradient(top, #1c31ff, #82b1ff);
	background-image: -webkit-gradient(linear, center top, center bottom, from(#1c31ff), to(#82b1ff));
	background-image: -webkit-linear-gradient(top, #1c31ff, #82b1ff);
	background-image: linear-gradient(top, #1c31ff, #82b1ff);
	-moz-background-clip: padding;
	-webkit-background-clip: padding-box;
	background-clip: padding-box;
/*Use "background-clip: padding-box" when using rounded corners to avoid the gradient bleeding through the corners*/
/*--IE9 WILL PLACE THE FILTER ON TOP OF THE ROUNDED CORNERS--*/
}

h2 {
	line-height: 40px;
	margin: 0px 1px 1px 0px;
	color: #1B1464;
	font-size: 100%;
	text-align: center;
	text-decoration: none;
	letter-spacing: 2px;
	filter: progid:DXImageTransform.Microsoft.gradient(startColorstr = '#cffff2', endColorstr = '#0dfcff');
/*INNER ELEMENTS MUST NOT BREAK THIS ELEMENTS BOUNDARIES*/
/*Element must have a height (not auto)*/
/*All filters must be placed together*/
	-ms-filter: "progid:DXImageTransform.Microsoft.gradient(startColorstr = '#cffff2', endColorstr = '#0dfcff')";
/*Element must have a height (not auto)*/
/*All filters must be placed together*/
	background-image: -moz-linear-gradient(top, #cffff2, #0dfcff);
	background-image: -ms-linear-gradient(top, #cffff2, #0dfcff);
	background-image: -o-linear-gradient(top, #cffff2, #0dfcff);
	background-image: -webkit-gradient(linear, center top, center bottom, from(#cffff2), to(#0dfcff));
	background-image: -webkit-linear-gradient(top, #cffff2, #0dfcff);
	background-image: linear-gradient(top, #cffff2, #0dfcff);
/*--IE9 DOES NOT SUPPORT CSS3 GRADIENT BACKGROUNDS--*/
}

/*sitemapの設定を右に設定*/

ul#map {
	text-align: right;
	position: absolute;
	top: 10px;
	right: 10px;
}

/*サブナビゲーションを横並びに設定*/

ul#map li {
	float: left;
	padding: 0 10px 0 0;
}

/*サイトマップのアイコンの設定*/

ul#map a.sitemap {
	display: block;
	background: url(../img/sitemap.gif) no-repeat 0 0px;
	padding: 0 0 0 50px;
	min-height: 10px;
}

/*=====================
グローバルナビゲーション・グラフィックの設定
=======================*/

/*ナビゲーションの背景を100%にして背景画像を設定*/

#navi {
	margin-top: 3px;
	width: 100%;
	min-height: 47px;
	background: url(../img/navi.gif) repeat-x;
}

/*ナビゲーションのコンテンツを幅940pxにしてセンター寄せに設定*/

#navi ul {
	width: 940px;
	margin: 0 auto;
	overflow: hidden;
}

/*ナビゲーションを横並びにして背景画像を設定*/



/*ナビゲーションのリンクボタンの装飾の設定*/

#navi li a {
	color: #fff;
	display: block;
	width: 225px;
	height: 47px;
	line-height: 47px;
	padding: 0 5px;
	text-align: center;
	text-decoration: none;

/*アニメーションの設定*/
	-moz-transition: 0.25s linear;
	-webkit-transition: 0.25s linear;
	-o-transition: 0.25s linear;
	transition: 0.25s linear;
	behavior: url(PIE.htc);
}

#navi li a:hover {
	background: #ffffff;
	color: #FF0000;
}

#navi li {
	float: left;
	background: url(../img/line_border.gif) no-repeat left center;
	height: 47px;
}

/*サイドバーの設定*/

#side img {
	margin-left: auto;
	margin-bottom: 10px;
	margin-right: auto;
}

#side p {
	font-weight: bold;
	margin: 0px 1px 1px 0px;
	color: #ffffff;
	line-height: 40px;
	text-align: center;
	display: block;
	background-color: #feffc9;
	border: 1px solid #999999;
	-moz-border-radius: 4px;
	-webkit-border-radius: 4px;
	border-radius: 4px;
/*IE 7 AND 8 DO NOT SUPPORT BORDER RADIUS*/
	-moz-box-shadow: 0px 0px 1px #000000;
	-webkit-box-shadow: 0px 0px 1px #000000;
	box-shadow: 0px 0px 1px #000000;
/*IE 7 AND 8 DO NOT SUPPORT BLUR PROPERTY OF SHADOWS*/
	filter: progid:DXImageTransform.Microsoft.gradient(startColorstr = '#1c31ff', endColorstr = '#82b1ff');
/*INNER ELEMENTS MUST NOT BREAK THIS ELEMENTS BOUNDARIES*/
/*Element must have a height (not auto)*/
/*All filters must be placed together*/
	-ms-filter: "progid:DXImageTransform.Microsoft.gradient(startColorstr = '#1c31ff', endColorstr = '#82b1ff')";
/*Element must have a height (not auto)*/
/*All filters must be placed together*/
	background-image: -moz-linear-gradient(top, #1c31ff, #82b1ff);
	background-image: -ms-linear-gradient(top, #1c31ff, #82b1ff);
	background-image: -o-linear-gradient(top, #1c31ff, #82b1ff);
	background-image: -webkit-gradient(linear, center top, center bottom, from(#1c31ff), to(#82b1ff));
	background-image: -webkit-linear-gradient(top, #1c31ff, #82b1ff);
	background-image: linear-gradient(top, #1c31ff, #82b1ff);
	-moz-background-clip: padding;
	-webkit-background-clip: padding-box;
	background-clip: padding-box;
/*Use "background-clip: padding-box" when using rounded corners to avoid the gradient bleeding through the corners*/
/*--IE9 WILL PLACE THE FILTER ON TOP OF THE ROUNDED CORNERS--*/
}

#side li a:hover {
	color: #FF0000;
	position: relative;
	background-color: #feffc9;
	border: 1px solid #FF0000;
	-moz-border-radius: 6px;
	-webkit-border-radius: 6px;
	border-radius: 6px;
	-moz-border-radius: 1px;
	-webkit-border-radius: 1px;
	border-radius: 1px;
/*IE 7 AND 8 DO NOT SUPPORT BORDER RADIUS*/
	-moz-box-shadow: 0px 0px 2px #000000;
	-webkit-box-shadow: 0px 0px 2px #000000;
	box-shadow: 0px 0px 2px #000000;
/*IE 7 AND 8 DO NOT SUPPORT BLUR PROPERTY OF SHADOWS*/
	filter: progid:DXImageTransform.Microsoft.gradient(startColorstr = '#c2ffe3', endColorstr = '#7394ff');
/*INNER ELEMENTS MUST NOT BREAK THIS ELEMENTS BOUNDARIES*/
/*Element must have a height (not auto)*/
/*All filters must be placed together*/
	-ms-filter: "progid:DXImageTransform.Microsoft.gradient(startColorstr = '#c2ffe3', endColorstr = '#7394ff')";
/*Element must have a height (not auto)*/
/*All filters must be placed together*/
	background-image: -moz-linear-gradient(top, #c2ffe3, #7394ff);
	background-image: -ms-linear-gradient(top, #c2ffe3, #7394ff);
	background-image: -o-linear-gradient(top, #c2ffe3, #7394ff);
	background-image: -webkit-gradient(linear, center top, center bottom, from(#c2ffe3), to(#7394ff));
	background-image: -webkit-linear-gradient(top, #c2ffe3, #7394ff);
	background-image: linear-gradient(top, #c2ffe3, #7394ff);
	-moz-background-clip: padding;
	-webkit-background-clip: padding-box;
	background-clip: padding-box;
/*Use "background-clip: padding-box" when using rounded corners to avoid the gradient bleeding through the corners*/
/*--IE9 WILL PLACE THE FILTER ON TOP OF THE ROUNDED CORNERS--*/
	opacity: 0.51;
	-ms-filter: progid:DXImageTransform.Microsoft.Alpha(Opacity = 51);
/*-ms-filter must come before filter*/
	filter: alpha(opacity = 51);
/*INNER ELEMENTS MUST NOT BREAK THIS ELEMENTS BOUNDARIES*/
/*All filters must be placed together*/
}

#side li {
	color: #4D4D4D;
	margin: 0px 1px 3px 3px;
	text-align: center;
	line-height: 40px;
}

#side li a {
	font-weight: bold;
	color: #1B1464;
	display: block;
	text-decoration: none;
	background-color: #feffc9;
	border: 1px solid #999999;
	-moz-border-radius: 1px;
	-webkit-border-radius: 1px;
	border-radius: 1px;
/*IE 7 AND 8 DO NOT SUPPORT BORDER RADIUS*/
	-moz-box-shadow: 0px 0px 2px #000000;
	-webkit-box-shadow: 0px 0px 2px #000000;
	box-shadow: 0px 0px 2px #000000;
/*IE 7 AND 8 DO NOT SUPPORT BLUR PROPERTY OF SHADOWS*/
	filter: progid:DXImageTransform.Microsoft.gradient(startColorstr = '#b3d3ff', endColorstr = '#ebfffb');
/*INNER ELEMENTS MUST NOT BREAK THIS ELEMENTS BOUNDARIES*/
/*Element must have a height (not auto)*/
/*All filters must be placed together*/
	-ms-filter: "progid:DXImageTransform.Microsoft.gradient(startColorstr = '#b3d3ff', endColorstr = '#ebfffb')";
/*Element must have a height (not auto)*/
/*All filters must be placed together*/
	background-image: -moz-linear-gradient(top, #b3d3ff, #ebfffb);
	background-image: -ms-linear-gradient(top, #b3d3ff, #ebfffb);
	background-image: -o-linear-gradient(top, #b3d3ff, #ebfffb);
	background-image: -webkit-gradient(linear, center top, center bottom, from(#b3d3ff), to(#ebfffb));
	background-image: -webkit-linear-gradient(top, #b3d3ff, #ebfffb);
	background-image: linear-gradient(top, #b3d3ff, #ebfffb);
	-moz-background-clip: padding;
	-webkit-background-clip: padding-box;
	background-clip: padding-box;
/*Use "background-clip: padding-box" when using rounded corners to avoid the gradient bleeding through the corners*/
/*--IE9 WILL PLACE THE FILTER ON TOP OF THE ROUNDED CORNERS--*/
}

#side img {
	margin-left: 5px;
}

/*=====================
/*メイングラフィックの設定*/

#header p img {
	display: block;
	width: 940px;
	margin: 0 auto;
}

/*=================
コンテンツエリア設定
===================*/
/*コンテンツ領域を100%にして背景画像を設定*/

#contents {
	width: 100%;
	background: url(../new_images/back_main.gif) repeat left top;
	padding-bottom: 80px;
}

/*コンテンツ内のエリアを940pxにしてセンター寄せに設定*/

#contents_inner {
	width: 940px;
	margin: 0 auto;
}

/*メインコンテンツの幅を690pxにして左側に設定*/

#contents_right {
	width: 685px;
	float: right;
	margin-right: 30px;
}

#contents_right img {
	margin: 5px 5px 5px 5px;
}

/*サイドエリアの幅を220pxにして右側に設定*/

#side {
	width: 220px;
	float: left;
}

/*=============
フッターエリア
===============*/

#footer {
	width: 100%;
	min-height: 130px;
	font-size: 1.1em;
	position: relative;
}

/*コピーライトの設定*/

#footer p small {
	display: block;
	width: 940px;
	text-align: center;
	margin: 0 auto;
	padding-top: 15px;
	text-decoration: none;
}

/*コンテンツ内のp要素の文字のサイズを設定*/



/*=================
コンテンツ領域の枠の設定
===================*/
/*コンテンツ領域内の枠の設定（CSS3のボックスシャドウをPIEファイル使用）*/

.mado,#come {
	position: relative;
	margin-top: 20px;
	background: #fff;
/*ボックスシャドウ*/
	-webkit-box-shadow: #ccc 0px 2px 3px;
	-moz-box-shadow: #ccc 0px 2px 3px;
	-o-box-shadow: #ccc 0px 2px 3px;
	-ms-box-shadow: #ccc 0px 2px 3px;
	box-shadow: #ccc 0px 2px 3px;
	background: #FFFFFF;
	behavior: url(PIE.htc);
	border: 1px solid #eaeaea;
}

/*領域の余白の設定*/

.mado {
	padding: 5px 8px 5px 5px;
}

/*画像を右寄せに設定*/

.mado p img {
	display: block;
	margin-left: 8px;
}

/*文章の余白の設定*/

.mado p {
	margin: 5px 10px 15px 5px;
}

/*=============
サイドエリアの設定
===============*/
/*アクセス領域の余白の設定*/

#come {
	margin-bottom: 35px;
	font-size: 1.1em;
}

/*アクセスの見出しの設定*/

#come h2 {
	background: #35ba8a;
	padding: 12px 0 8px 8px;
}

/*アクセス情報項目の設定*/

#come ul {
	padding: 5px 7px 5px 5px;
	font-size: 0.9em;
}

#come li {
	margin-bottom: 3px;
}

#come p {
	text-align: center;
	margin-bottom: 5px;
}

/*=============
ページの先頭へ戻る
===============*/
/*ページ先頭へ戻るの位置の設定*/

p#top {
	position: absolute;
	top: -140px;
	right: 0;
}

/*=====================
テーブルの設定
=======================*/

caption {
	background-color: #1D5C79;
	color: #fff;
	padding: 3px;
}

table {
	border-collapse: collapse;
	border-spacing: 0;
	width: 100%;
	margin-bottom: 30px;
	border: 1px solid #DDD;
}

th,td {
	text-align: left;
	border: 1px solid #1D5C79;
	padding: 3px;
	font-weight: normal;
}

input.button {
	text-align: center;
	font-size: 90%;
	height: 50px;
	width: 300px;
	margin: 10px auto 0;
}

.Btn-gray {
	color: #333;
	border: 1px solid #AAA;
	cursor: pointer;
	background: #EEE;
	padding: 3px 12px;
}

.Btn-gray:hover {
	color: #666;
	background: #FFF;
}

/*メディアクエリの指定（※widthが640px以下の場合に{}内のCSSを適用する）*/

@media screen and (max-width: 640px) {

/*=====================
ヘッダーエリアの設定
=======================*/
/*ヘッダーのコンテンツ領域を100%に設定*/
	
	#header_top {
		width: 100%;
		margin: 0 auto;
		position: relative;
	}

/*ヘッダーのコンテンツ領域のフロート解除(rssとsitemapの領域確保)*/
	
	#header_top:after {
		visibility: hidden;
		height: 0;
		display: block;
		font-size: 0;
		content: " ";
		clear: both;
	}

/*rss・sitemapを右に設定*/
	
	ul#map {
		float: right;
		position: static;
		margin: 0 0 20px 60px;
	}

/*=====================
グローバルナビゲーションの設定
=======================*/
/*ナビゲーションの帯の背景画像を表示しない*/
	
	#navi {
		font-size: 80%;
		background: none;
	}

/*ナビゲーションの領域を100%に設定*/
	
	#navi ul {
		width: 100%;
	}

/*ナビゲーションの背景画像とサイズの設定*/
	
	#navi ul li {
		width: 100%;
		background: url(../img/navi.gif) repeat-x;
	}

/*ナビゲーションのリンクボタンの装飾の設定*/
	
	#navi li a,hover {
		display: block;
		width: 100%;
		text-align: center;
	}

/*メイングラフィックの設定*/
	
	#header p img {
		display: block;
		width: 940px;
		margin: 0 auto;
	}

/*==================
画像サイズの設定
====================*/
/*画像のサイズを100%にする*/
	
	img {
		max-width: 100%;
		height: auto;
		width: auto;
　/*IE8のみ適用*/
	}

/*=================
コンテンツエリア設定
===================*/
/*コンテンツ領域の背景設定*/
	


/*コンテンツ領域のサイズと余白の設定*/
	
	#contents_inner {
		width: 100%;
		padding-top: 1px;
	}

/*メインコンテンツをフロートさせない*/
	
	#contents_right {
		width: 100%;
		float: none;
	}

/*サイドエリアをフロートさせない*/
	
	#side {
		width: 100%;
		float: none;
	}

/*madoとRecommendMenuの余白設定*/
	
	.mado,#recommend {
		margin: 15px 10px;
	}

/*メニューの枠のサイズを100%に設定*/
	
	#recommend .box {
		width: 100%;
	}

/*アクセス領域の余白の設定*/
	
	#come {
		width: 90%;
		margin: 20px auto;
	}

/*アクセス情報項目の設定*/
	
	#come ul {
		padding-bottom: 0;
	}
	
	#come p {
		padding-bottom: 10px;
	}

/*バナーを中央に設定*/
	
	#bnr {
		text-align: center;
	}

/*=============
ページの先頭へ戻る
===============*/
/*ページ先頭へ戻るの位置の設定*/
	
	p#top {
		position: absolute;
		top: 10px;
		right: 0;
	}
	
	table {
		max-width: 100%;
		width: 100%;
		font-size: 50%;
	}
	
	td,tr {
		padding: 0;
	}
	
	input.mini {
		max-width: 70px;
		width: 70px;
		padding: 0;
	}
	
	#footer p small {
		width: 200px;
		font-size: 10px;
	}
	
	h1 {
		font-size: 80%;
	}
}