@charset "utf-8";


/*PC・タブレット・スマホ共通設定
---------------------------------------------------------------------------*/

/*全体の設定
---------------------------------------------------------------------------*/
body {
	margin: 0px;
	padding: 0px;
	color: #FFF;	/*全体の文字色*/
	font-family:Meiryo, "メイリオ", "ＭＳ Ｐゴシック", "Hiragino Kaku Gothic Pro", "ヒラギノ角ゴ Pro W3", verdana, arial, "lucida grande", sans-serif;	/*フォント指定*/
	font-size: 14px;	/*文字サイズ*/
	line-height: 2;	/*背景色*/
	-webkit-text-size-adjust: none;
	background-color: #FFF;
}
h1,h2,h3,h4,h5,p,ul,ol,li,dl,dt,dd,form,figure,form{margin:0px;padding:0px;}
a {
	text-decoration: none;
}
.contentsmenu li a {
	color: #000;
	text-decoration: none;
	padding-bottom: 9px;
}
.contentsmenu li a:hover {
	color: #000;
	text-decoration: none;
	background-image: url(../images/point.png);
	background-repeat: no-repeat;
	background-position: center bottom;
}
#top header #inner #tel a {
	color: #FFF;
	text-decoration: none;
	margin-left: 20px;
	font-size: 0.9em;
}
ul{list-style-type:none;}
img{border:none;max-width:100%;height:auto;}
table{border-collapse:collapse;font-size:100%;border-spacing:0;}
#wrapper {
	background-color: #333;
	margin: 0px;
	padding: 0px;
}

/*ヘッダー（サイトロゴが入った最上段のブロック）
---------------------------------------------------------------------------*/
/*ヘッダーブロック*/
header {
	width: 100%;	/*上部の線の幅、線種、色*/
	background: #fff;			/*同上*/
	background-color: #333;
	margin: 0px;
	padding: 0px;
}
/*サイト幅にしたheader内のブロック*/
header #inner {
	/*	width:1200px;   */
	height: 40px;
	position: relative;
	z-index: 100;
	background-color: #333;
	margin-top: 0;
	margin-right: auto;
	margin-bottom: 0;
	margin-left: auto;
	width: 1200px;
}
/*ロゴ画像*/
header #logo {
	position: absolute;
	left: 12px;	/*header #innerに対して上から20pxの場所に配置*/
	height: 36px;
	width: 106px;
}
/*電話番号パーツ*/
header #tel {
	font-family:Verdana, Geneva, sans-serif;	/*フォント種類*/
	position: absolute;
	right:10px;	/*header #innerに対して右から10pxの場所に配置*/
	top:10px;	/*電話アイコンの読み込み*/
	padding-left: 25px;/*	letter-spacing: 0.1em;	/*文字間隔を少し広くとる設定。通常がいいならこの行削除。*/
	text-align: right;
}
#top header #inner ul {
	float: right;
	padding-right: 10px;
}
#top header #inner ul li {
	padding-left: 20px;
	float: left;
}
#top header #inner ul li a {
	color: #FFF;
	text-decoration: none;
}

/*「お問い合わせはこちらから」ボタン
---------------------------------------------------------------------------*/
#contact {
	position: absolute;
	right: 10px;	/*header #innerに対して右から10pxの場所に配置*/
	top: 0px;	/*header #innerに対して上から0pxの場所に配置*/
	font-size: 18px;	/*文字サイズ*/
}
#contact a {
	text-decoration: none;
	display: inline-block;
	background: #ffb017;	/*背景色（古いブラウザ用）*/
	background: -webkit-gradient(linear, left top, left bottom, from(#ffb017), to(#ff8a17));	/*グラデーション*/
	background: -webkit-linear-gradient(#ffb017, #ff8a17);	/*同上*/
	background: linear-gradient(#ffb017, #ff8a17);			/*同上*/
	color: #FFF;	/*文字色*/
	padding: 4px 20px 8px;	/*上、左右、下へのボックス内の余白*/
	border-radius: 0px 0px 8px 8px;	/*角丸のサイズ。左上、右上、右下、左下。*/
	box-shadow: 0px 4px 8px rgba(0,0,0,0.2);	/*右へ、下へ、ぼかし幅の順の影の設定。rgba以降は色の設定。「0,0,0」はrgbでの色で、黒。「0.2」が透明度で20%の意味。*/
	text-shadow: #a65b1e 0px -1px;	/*色、右へ、下へ、テキストの影の設定。下にマイナス設定をしているので上に影が入る事になる。*/
}
/*マウスオン時*/
#contact a:hover {
	padding: 8px 20px 12px;	/*上、左右、下へのボックス内の余白*/
}

/*メインメニュー
---------------------------------------------------------------------------*/
#menubar {
	position: absolute;
	left: 13px;		/*「#menu-mainimg」に対して左から0pxの場所に配置。*/
	bottom: -8px;	/*「#menu-mainimg」に対して下から0pxの場所に配置。*/
	width: 100%;
}
#menubar ul {
	width: 980px;	/*幅。「header #inner」と「#contents」と数字を揃える。*/
	margin: 0 auto;
}
/*メニュー１個あたりの設定*/
#menubar li {
	float: left;	/*左に回り込み*/
	border-left: 1px solid #fff;	/*左の線の幅、線種、色*/
	border-top: 1px solid #fff;		/*左の線の幅、線種、色*/
	border-right: 1px solid #fff;	/*左の線の幅、線種、色*/
	width: 22%;	/*メニュー幅*/
	margin-left: 2%;	/*メニュー同士の余白*/
	font-size: 16px;	/*文字サイズ*/
	line-height: 1.6;	/*行間*/
}
#menubar li a {
	display: block;
	text-decoration: none;
	background: #fff;	/*背景色（古いブラウザ用）*/
	background: rgba(255,255,255,0.6);	/*背景色。rgbaでの設定で左３つの数字が色指定。最後の小数点が透明度。*/
	padding: 8px 0px 8px 10px;	/*上、右、下、左への余白*/
}
#menubar li a::first-letter {
	border-left: 3px solid #a40000;	/*左側のアクセント用ラインの幅、線種、色*/
	padding-left: 10px;	/*アクセントラインと文字の間にとる余白*/
	padding-bottom: 18px;
}
/*英語表記*/
#menubar li span {
	display: block;
	font-size: 10px;	/*文字サイズ*/
	padding-left: 15px;	/*アクセントラインと文字の間にとる余白*/
	letter-spacing: 0.2em;	/*文字間隔を少し広くとる設定。通常がいいならこの行削除。*/
}
/*マウスオン時、現在表示中のメニュー設定*/
#menubar a:hover,
#menubar li.current a {
	background: #fff;	/*背景色*/
}
/*スマホ用メニューを表示させない*/
#menubar-s {
	display: none;
}

/*３本バーアイコンを表示させない*/
#menubar_hdr {
	display: none;
}

/*スマホで表示しない*/
.contentsmain-s {
	display:none;
}

/*コンテンツ（左右ブロックを囲むボックス）
---------------------------------------------------------------------------*/
#contents {
	clear: both;
	width: 1200px;
	color: #333;
	margin-top: 0;
	margin-right: auto;
	margin-bottom: 0;
	margin-left: auto;
	padding-bottom: 20px;
}
#top .border {
	border-top-width: 1px;
	border-top-style: solid;
	border-top-color: #eee;
	padding-top: 10px;
	padding-bottom: 10px;
}

/*メインコンテンツ
---------------------------------------------------------------------------*/
#main {
	float: left;	/*左側に回り込み*/
	width: 700px;	/*幅*/
}
/*mainコンテンツのh2タグの設定*/
#main h2 {
	clear: both;
	margin-bottom: 15px;
	font-size: 140%;
	background: #fff;	/*背景色（古いブラウザ用）*/
	background: -webkit-gradient(linear, left top, left bottom, from(#fff), to(#eee));	/*グラデーション*/
	background: -webkit-linear-gradient(#fff, #eee);	/*同上*/
	background: linear-gradient(#fff, #eee);			/*同上*/
	padding: 5px 15px 3px 15px;	/*上下、左右への余白*/
	border-radius: 4px 4px 0px 0px;	/*角丸のサイズ*/
	border-left: solid 1px #b5b5b5;		/*左側への線の線種、幅、色*/
	border-top: solid 1px #b5b5b5;		/*上側への線の線種、幅、色*/
	border-right: solid 1px #b5b5b5;	/*右側への線の線種、幅、色*/
	border-bottom: solid 5px #a40000;	/*下側への線の線種、幅、色*/
}
/*mainコンテンツのh3タグの設定*/
#main h3 {
	clear: both;
	margin-bottom: 15px;
	font-size: 110%;
	background: #FFF;	/*背景色*/
	padding: 4px 15px;	/*上下、左右への余白*/
	border: 1px solid #e4e4e4;	/*枠線の幅、線種、色*/
	border-radius: 4px;	/*角丸のサイズ*/
}
/*mainコンテンツのh3タグの１文字目への設定*/
#main h3::first-letter {
	border-left: 3px solid #a40000;	/*左側のアクセント用ラインの幅、線種、色*/
	padding-left: 10px;	/*アクセントラインと文字の間にとる余白*/
}
#main h4 {
	padding-left: 10px;
	margin-left: 10px;
	border-left-width: 5px;
	border-left-style: solid;
	margin-right: 10px;
	border-left-color: #CCC;
}
/*mainコンテンツの段落タグ設定*/
#main p {
	padding: 7px 15px 14px;	/*上、左右、下への余白*/
}
#main p + p {
	padding-top: 0px;
}
#main h2 + p,
#main h3 + p {
	padding-top: 0px;
	margin-top: -5px;
}


/*各ボックスの設定*/
#main section.list,
#main section.list2 {
	background: #fff;	/*背景色*/
	border: 1px solid #e4e4e4;	/*枠線の幅、線種、色*/
	margin-bottom: 15px;	/*ボックスの下に空ける余白*/
	position: relative;
	overflow: hidden;
}
#main section.list2 {
	padding: 15px;
}
#main section.list a {
	padding: 15px;
	text-decoration: none;
	display: block;
	overflow: hidden;
}
/*マウスオン時のボックス*/
#main section.list a:hover {
	background:#FCFDCA;
}






/*フッター設定
---------------------------------------------------------------------------*/
footer {
	clear: both;	/*背景色*/
	color: #666;	/*文字色*/
	font-size: 85%;
	background-color: #FFF;
}
footer a {
	color: #333;
}
footer a:hover {
	color: #333;
}
.topics {
	list-style-position: outside;
	list-style-type: square;
	padding-left: 20px;
	margin-left: 10px;
	margin-bottom: 10px;
}
.topics_h4 {
	list-style-position: outside;
	list-style-type: circle;
	padding-left: 20px;
	margin-left: 20px;
	margin-bottom: 10px;
}
footer .pr {
	display: block;
	font-size: 80%;
}

/*フッターメニュー
---------------------------------------------------------------------------*/
/*ボックス全体*/
#footermenu {
	width: 1100px;	/*幅*/
	margin: 0 auto;
	overflow: hidden;
	padding: 20px 0px;
}
#footermenu ul li a:hover {
	text-decoration: underline;
}
/*１行分の設定*/
#footermenu ul {
	float: left;	/*左に回り込み*/
	width: 18%;		/*幅。今回は５列作ったのでここの幅18%と下のpaddingの2%でトータル20%になるよう設定。列に応じて調整して下さい。*/
	padding-right: 2%;
}

/*コピーライト
---------------------------------------------------------------------------*/
#copyright {
	clear: both;
	text-align: center;	/*背景色*/
	color: #666;
	background-color: #FFF;
	border-top-width: 1px;
	border-top-style: solid;
	border-top-color: #CCC;
	padding-top: 10px;
	letter-spacing: 0.1em;
	padding-bottom: 10px;
}

#copyright a {
	text-decoration: none;
	color: #666;
}
/*トップページ内「更新情報・お知らせ」ブロック
---------------------------------------------------------------------------*/
/*ブロック全体の設定*/
#new dl{
	padding-left: 15px;
	margin-bottom: 15px;	/*ボックスの高さ*/
}
/*日付設定*/
#new dt {
	float: left;
	width: 5em;
}
/*記事設定*/
#new dd {
}

/*テーブル
---------------------------------------------------------------------------*/
/*ta1設定*/
.ta1 {
	width: 100%;
	margin-bottom: 15px;
	background: #fff;	/*背景色*/
}
.ta1, .ta1 td, .ta1 th {
	border: 1px solid #999;	/*テーブルの枠線の幅、線種、色*/
	padding: 10px;	/*ボックス内の余白*/
	word-break: break-all;
}
/*テーブル１行目に入った見出し部分*/
.ta1 th.tamidashi {
	width: auto;
	text-align: left;	/*左よせ*/
	background: #cce6f6;	/*背景色*/
}
/*左側ボックス*/
.ta1 th {
	width: 140px;	/*幅*/
	text-align: center;	/*センタリング*/
	background: #f0f0f0;	/*背景色*/
}

/*PAGE TOP設定
---------------------------------------------------------------------------*/
#pagetop {
	clear: both;
	padding-top: 40px;
}
#pagetop a {
	color: #FFF;		/*文字色*/
	font-size: 20px;	/*文字サイズ*/
	padding: 0px 30px;	/*上下、左右へのボックス内余白*/
	background: #333;	/*背景色*/
	text-decoration: none;
	text-align: center;
	display: block;
	float: right;
	border-radius: 4px 4px 0px 0px;	/*角丸のサイズ。左上、右上、右下、左下。*/
}
/*マウスオン時*/
#pagetop a:hover {
	background-color: #999;	/*背景色*/
	color: #FFF;			/*文字色*/
}

/*NEWアイコン
---------------------------------------------------------------------------*/
.newicon {
	background: #F00;	/*背景色*/
	color: #FFF;		/*文字色*/
	font-size: 10px;	/*文字サイズ*/
	border-radius: 2px;	/*角丸のサイズ*/
	padding: 0px 5px;
	margin: 0px 5px;
}

/*その他
---------------------------------------------------------------------------*/
.look {background: #dcdcdc;}
.mb15,.mb1em {margin-bottom: 15px;}
.clear {clear: both;}
ul.disc {padding: 0em 25px 1em;list-style: disc;}
.color1 {color: #a2000d;}
.pr {font-size: 10px;}
.wl {width: 96%;}
.ws {width: 50%;}
.c {text-align: center;}
.r {text-align: right;}
.l {text-align: left;}


/*画面幅1200px以下の設定
---------------------------------------------------------------------------*/
@media screen and (max-width:1200px){

header #inner {
	width:auto;
}

#contents {
	width: auto;
	margin: 2%;
}


#footermenu {
	width: auto;
	margin: 2%;
}

}

/*画面幅800px以下の設定
---------------------------------------------------------------------------*/
@media screen and (max-width:800px){

/*ヘッダー（サイトロゴが入った最上段のブロック）
---------------------------------------------------------------------------*/
/*サイト幅にしたheader内のブロック*/
header #inner {
	width: auto;
}

/*メインメニュー
---------------------------------------------------------------------------*/
#menubar ul {
	width: auto;
	padding-bottom: 11px;
	overflow: hidden;
}
/*メニュー１個あたりの設定*/
#menubar li {
	width: 50%;
	margin: 0;
	border-bottom: 1px solid #dcdcdc;
	box-sizing: border-box;
	-moz-box-sizing: border-box;
	-webkit-box-sizing: border-box;
}
#menubar li:nth-child(odd) {
	border-right: none;
}
/*３本バーアイコンを表示させない*/
#menubar_hdr {
	display: none;
}

/*コンテンツ
---------------------------------------------------------------------------*/
#contents {
	width: auto;
	margin: 2%;
}

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

/*フッターメニュー
---------------------------------------------------------------------------*/
/*ボックス全体*/
#footermenu {
	width: 90%;
}

/*その他
---------------------------------------------------------------------------*/
body.s-n #sub {
	display: none;
}

}



/*画面幅650px以下の設定
---------------------------------------------------------------------------*/
@media screen and (max-width:650px){

/*ヘッダー（サイトロゴが入った最上段のブロック）
---------------------------------------------------------------------------*/
/*ロゴ画像*/
header #logo {
	width: 50%;
}
/*電話番号パーツ*/
#top header #inner #tel a {
	margin-left: 10px;
}

header #tel {
	/*background: none;
	line-height: 1.2;
	text-align: right;
	color: #FFF;
	display: block;*/
}

/*「お問い合わせはこちらから」ボタン
---------------------------------------------------------------------------*/
#contact {
	font-size: 14px;
}
#contact span {
	display: none;
}

}



/*画面幅480px以下の設定
---------------------------------------------------------------------------*/
@media screen and (max-width:480px){

/*ヘッダー（サイトロゴが入った最上段のブロック）
---------------------------------------------------------------------------*/
/*ロゴ画像*/
header #logo {
	width: 60%;
}
/*サイト幅にしたheader内のブロック*/
header #inner {
	height: 40px;
}
/*ロゴ画像*/
header #logo {
	position: absolute;
	left: 10px;
}
header #tel {
	display: none;
}

.contentsmain-s {
	display:block;
}

.contentsmain {
	display:none;
}

/*「お問い合わせはこちらから」ボタン
---------------------------------------------------------------------------*/
#contact {
	position: absolute;
	left: 10px;
	top: 100px;
}
#contact a {
	display: block;
	text-align: center;
	border-radius: 8px;
}

/*メインメニュー
---------------------------------------------------------------------------*/
#menubar-s {
	border-radius: 8px;
	border: 1px solid #b5b5b5;
	margin: 0px 10px 20px;
	background: #fff;
}
#menubar-s li {
	border-top: 1px solid #b5b5b5;
	background: url(../images/arrow1.png) no-repeat 95% center/19px;
}
#menubar-s li:first-child {
	border-top: none;
}
#menubar-s li a {
	display: block;
	text-decoration: none;
	padding: 8px;
}
/*英語表記*/
#menubar-s li span {
	display: none;
}
/*スマホ用メニューを非表示から表示に切り替える*/
#menubar-s {
	display: block;
}
/*PC用メニューを非表示にする*/
#menubar {
	display: none;
}

/*３本バーアイコン設定
---------------------------------------------------------------------------*/
/*３本バーブロック*/
#menubar_hdr {
	display: block;
	position: absolute;
	top: 0px;		/*上から10pxの場所に配置*/
	right: 10px;	/*右から10pxの場所に配置*/
	width: 30px;	/*幅*/
	border: 1px solid #000;	/*枠線の幅、線種、色*/
	border-top: none;
	border-radius: 0px 0px 4px 4px;	/*角丸のサイズ*/
	padding: 12px 10px 5px;	/*上、左右、下へのボックス内余白*/
	background: #fff;	/*背景色*/
	z-index: 200;
}
/*３本のバー（1本あたり）*/
#menubar_hdr span {
	display: block;
	border-top: 2px solid #000;	/*枠線の幅、線種、色*/
	border-radius: 2px;	/*角丸のサイズ*/
	margin-bottom: 7px;	/*バー同士の余白*/
}

/*コンテンツ
---------------------------------------------------------------------------*/
#contents {
	width: auto;
	margin: 2%;
}


/*ボックス内の段落タグ設定*/
#main section.list p,
#main section.list2 p {
	margin-left: 0;
}
/*ボックス内の写真設定*/
#main section.list figure img,
#main section.list2 figure img {
	float: none;
	width: 100% !important;
	box-sizing: border-box;
	-moz-box-sizing: border-box;
	-webkit-box-sizing: border-box;
}
/*ボックス内のh4タグ設定*/
#main section.list h4,
#main section.list2 h4 {
	margin-left: 0;
}

/*各ブロック内のテーブル
---------------------------------------------------------------------------*/
#main section.list table,
#main section.list2 table {
	margin-left: 0;
	width: 100%;
}

/*フッターメニュー
---------------------------------------------------------------------------*/
/*ボックス全体*/
#footermenu {
	display: none;
}

/*トップページ内「更新情報・お知らせ」ブロック
---------------------------------------------------------------------------*/
section#new h2.open {
	background: url(../images/btn_minus.png) no-repeat right center/34px 34px, -webkit-gradient(linear, left top, left bottom, from(#fff), to(#e5e5e5));	/*グラデーション*/
	background: url(../images/btn_minus.png) no-repeat right center/34px 34px, -webkit-linear-gradient(#fff, #e5e5e5);	/*同上*/
	background: url(../images/btn_minus.png) no-repeat right center/34px 34px, linear-gradient(#fff, #e5e5e5);			/*同上*/
}
section#new h2.close {
	background: url(../images/btn_plus.png) no-repeat right center/34px 34px, -webkit-gradient(linear, left top, left bottom, from(#fff), to(#e5e5e5));	/*グラデーション*/
	background: url(../images/btn_plus.png) no-repeat right center/34px 34px, -webkit-linear-gradient(#fff, #e5e5e5);	/*同上*/
	background: url(../images/btn_plus.png) no-repeat right center/34px 34px, linear-gradient(#fff, #e5e5e5);
}

/*テーブル
---------------------------------------------------------------------------*/
/*テーブル内の左側*/
.ta1 th {
	width: 100px;
	padding: 5px;
}
/*テーブル内の右側*/
.ta1 td {
	width: auto;
	padding: 5px;
}

/*その他
---------------------------------------------------------------------------*/
.ws,.wl {
	width: 90%;
}

}
#contents #main p img {
	margin-bottom: 5px;
}
.doc_right {
	text-align: right;
}
#contents #main  p img {
	float: right;
	margin-bottom: 5px;
	margin-left: 10px;
	padding-left: 10px;
}
#sam_photo {
	padding-bottom: 20px;
	padding-left: 10px;
	padding-top: 10px;
}
#sam_photo img{
	float: left;
	margin: 3px;
	border: 1px solid #CCC;
	padding: 1px;
}
.box2 {
	background-color: #eee;
	padding: 5px;
	margin-top: 10px;
	margin-right: 10px;
	margin-bottom: 10px;
	margin-left: 20px;
	border: 1px solid #CCC;
}

a img:hover{
	opacity:0.9;
	filter: alpha(opacity=90);
	-ms-filter: "alpha( opacity=90 )";
}
#contents ul  {
	border-bottom-width: 1px;
	border-bottom-style: solid;
	border-bottom-color: #CCC;
	margin-bottom: 20px;
	padding-bottom: 35px;
}

#contents .contentsmenu li {
	float: left;
	padding-right: 30px;
	font-size: 1.1em;
	padding-bottom: 5px;
	padding-left: 30px;
}
.point {
	background-image: url(../images/point.png);
	background-repeat: no-repeat;
	background-position: center bottom;
}
.contentsmain {
	clear: both;
	padding-bottom: 10px;
}

.contentsmain-s {
	clear: both;
	padding-bottom: 10px;
}
#tel a:hover {
	background-color: #F00;
}
.fontwaku {
	color: #FFF;
	background-color: #333;
	margin-right: 1px;
	padding-top: 1px;
	padding-right: 6px;
	padding-bottom: 1px;
	padding-left: 6px;
}
