@charset "utf-8";


/*slide.cssの読み込み*/
@import url(slide.css);


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

/*全体の設定
---------------------------------------------------------------------------*/
body {
	margin: 0px;
	padding: 0px;
	color: #333;	/*全体の文字色*/
	font-family:"ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "メイリオ", Meiryo, Osaka, "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;	/*フォント種類*/
	font-size: 21px;	/*文字サイズ*/
	line-height: 1.8em;		/*行間*/
	background: #fff;	/*背景色*/
	-webkit-text-size-adjust: none;
}
h1,h2,h3,h4,h5,p,ul,ol,li,dl,dt,dd,form,figure,form,select,input,textarea {margin: 0px;padding: 0px;font-size: 100%;}
ul {list-style-type: none;}
img {border: none;max-width: 100%;height: auto;vertical-align: middle;}
table {border-collapse:collapse;font-size: 100%;border-spacing: 0;}
iframe {width: 100%;}
video,audio {max-width: 100%;}

/*リンク（全般）設定
---------------------------------------------------------------------------*/
a {
	color: #333;		/*リンクテキストの色*/
	transition: 0.5s;	/*マウスオン時の移り変わるまでの時間設定。0.5秒。*/
}
a:hover {
	color: #1769AC;			/*マウスオン時の文字色*/
	text-decoration: none;	/*マウスオン時に下線を消す設定。残したいならこの１行削除。*/
}

a:hover img{
	opacity:0.8;
	filter:alpha(opacity=70);
	-ms-filter: "alpha( opacity=70 )";
}

/*サイトの最大幅の設定
---------------------------------------------------------------------------*/
#container,#menubar,footer .inner {
	max-width: 1400px;	/*サイトの最大幅。これ以上大きくならない。*/
	margin: 0 auto;
}

/*containerの設定（footer以外の、ホームページを囲むブロック）
下の「1450px以下の設定」にあるbody.is-fixed #menubarのmarginの数字と合わせておく。
---------------------------------------------------------------------------*/
#container {
	padding: 0 50px;	/*上下、左右へのブロック内余白*/
}

/*ヘッダー（ロゴが入った最上段のブロック）
---------------------------------------------------------------------------*/
/*ヘッダーブロック*/
header {
	position: relative;
	margin: 0 auto;
	height: 110px;	/*ヘッダーの高さ*/
	background: url(../images/hd_bk.jpg) no-repeat 0% top/48%;	/*背景画像の読み込み。左からｎ%、上下中央に配置。幅500px。*/
}
/*ロゴ画像*/
header #logo {
	width: 218px;		/*ロゴ画像の幅*/
	position:  relative;
	margin:0 auto;
	top: 6px;	/*ヘッダーブロックの下からの配置指定*/
}
/*フラッグ*/
header #flag {
	width: 170px;
	position: absolute;
	left: 2%;		/*ヘッダーブロックの左からの配置指定*/
	top: 30px;	/*ヘッダーブロックの下からの配置指定*/
}
/*TELブロック*/
header address {
	font-style: normal;
	position: absolute;
	right: 2%;		/*ヘッダーブロックの右からの配置指定*/
	bottom: 26px;	/*ヘッダーブロックの下からの配置指定*/
	text-align: center;	/*内容をセンタリング*/
	font-size: 80%;		/*文字サイズ*/
	line-height: 1.0;	/*行間を少し狭く*/
	text-shadow: 1px 1px 3px #fff, -1px -1px 3px #fff;
}
header address p {}	
/*TELブロックの電話番号部分*/
header address .tel {
	color: #BD2F2F;		/*文字色*/
	font-size: 180%;	/*文字サイズ*/
	font-weight:bold;
	background: url(../images/icon_tel.png) no-repeat left center / 26px;	/*電話アイコンの読み込み。左(left)に、上下中央(center)に配置。画像幅26px。*/
	padding-left: 35px;	/*電話アイコン部分の余白をここで作る*/
}

header address .tel a {
	color: #BD2F2F;		/*リンクテキストの色*/
	text-decoration: none;	/*マウスオン時に下線を消す設定。残したいならこの１行削除。*/
}
header address .tel a:hover {
	color: #D77B7B;			/*マウスオン時の文字色*/
}


/*文字サイズ変更ボタン（※文字サイズを「大」にした時の設定はchange.cssで行う）
---------------------------------------------------------------------------*/
/*ボタンブロック全体*/
#fsize {
	position: absolute;
	right: 2%;		/*ヘッダーブロックに対して右からの配置指定*/
	top: 0px;		/*ヘッダーブロックに対して上からの配置指定*/
	width: 250px;	/*ブロック幅*/
	background: #fff;	/*背景色*/
	box-shadow: 0px 0px 4px rgba(0,0,0,0.0);	/*影の設定。右へ、下へ、ぼかし幅。rgbaは色設定で0,0,0は黒。0.2は20%色がついた状態の事。*/
	border-radius: 0px 0px 5px 5px;	/*角丸のサイズ。左上、右上、右下、左下への順。*/
	line-height: 40px;	/*高さ*/
	padding: 3px 0px;	/*上下、左右へのボックス内の余白*/
}
/*「文字サイズ」のテキスト*/
#fsize p {
	float: left; color:#999;
	font-size: 15px;	/*文字サイズ*/
	padding: 0 20px;	/*上下、左右への余白*/
}
/*文字サイズボタン１個あたり*/
#fsize ul li {
	float: left;	/*左に回り込み*/
}
#fsize ul a {
	overflow: hidden;display: block;text-decoration: none;text-align: center;
	color: #fff;	/*文字色*/
}
/*「小」ボタン設定*/
#fsize ul li#small a::before {
	display: block;
	content: "ENGLISH";		/*「小」の文字を出力*/
	font-size: 16px;	/*文字サイズ*/
	background: #95C4D2;	/*背景色*/
	width: 90px;		/*幅*/
	line-height: 26px;	/*高さ*/
	margin-top: 3px;
	margin-right: 10px;
}


/*マウスオン時の「大」ボタン設定*/
#fsize ul li#large a:hover::before {
	background: #779eec;	/*背景色*/
}

/*メインメニュー
---------------------------------------------------------------------------*/
/*メニューブロックの設定*/
#menubar {
	position: relative;
	margin: 0 auto 20px;	/*上、左右、下へのマージン。20pxを変更する際は、「body.is-fixed header」の数値も変更する。*/
	height: 54px;			/*メニューの高さ。下の「#menubar li a」の「height」と「padding-top」の数字を合計した数字に合わせる。*/
}
/*メニュー１個あたりの設定*/
#menubar li {
	float: left;	/*左に回り込み*/
	width: 16.66%;	/*メニュー幅（100÷6個=16.66%）　もし４個にするなら100÷4=25%になる。*/
	line-height: 1.8;	/*行間を少しだけ狭く*/
}
#menubar li a {
	font-size:16px;
	text-decoration: none;display: block;
	text-align: center;
	height: 50px;		/*高さ*/
	padding-top: 4px;	/*上に追加する余白*/
	color: #fff;		/*文字色*/
	border-left: 1px solid #fff;	/*メニューの左側の線の幅、線種、色（古いブラウザ用）*/
	border-left: 1px solid rgba(255,255,255,0.4);	/*左の線の幅、線種、255,255,255は白の事で0.4は40%色がついた状態の事。*/
	background: #0D4D7B;	/*背景色*/
}
/*最初のメニューへの追加設定*/
#menubar li:first-child a {
	border-left: none;
	border-radius: 10px 0px 0px 10px;	/*角丸の指定。左上、右上、右下、左下への順番。*/
}
/*最後のメニューへの追加設定*/
#menubar li:last-child a {
	border-radius: 0px 10px 10px 0px;	/*角丸の指定。左上、右上、右下、左下への順番。*/
}
/*飾り文字*/
#menubar li span {
	display: block;
	font-size: 10px;		/*文字サイズ*/
	font-weight: normal;	/*文字を太字でなく標準に戻す設定*/
	letter-spacing: 0.2em;	/*文字間隔を少しあける設定*/
	opacity: 0.5;			/*透明度50％*/
}
/*マウスオン時と、現在表示中(current)のメニューの設定*/
#menubar li a:hover, #menubar li.current a {
	background:#0C67AB;	/*背景色*/
	
}
/*スマホ用メニューを表示させない*/
#menubar-s {display: none;}
/*３本バーアイコンを表示させない*/
#menubar_hdr {display: none;}

/*ドロップダウンメニュー用
---------------------------------------------------------------------------*/
/*メニューブロック*/
#menubar ul.ddmenu {
	position:absolute;visibility: hidden;z-index: 10;
	width: 16.66%;		/*幅。上の「#menubar li」と合わせる。*/
	border-top: 1px solid #80BBD5;	/*上の線の幅、線種、色*/
}
/*メニュー１個あたりの設定*/
#menubar ul.ddmenu li {
	float: none;
	width: 100%;
	line-height: 1.5;
}
#menubar ul.ddmenu li a {
	width: 100%;height: auto;font-weight: normal;border-radius: 0 !important;
	border: none;	/*線を一旦リセット*/
	border-bottom: 1px solid #80BBD5;	/*下の線の幅、線種、色*/
	background: #0C67AB;	/*背景色（古いブラウザ用）*/
	color: #fff;		/*文字色*/
	padding: 10px 0;	/*上下、左右への余白*/
}
/*マウスオン時*/
#menubar ul.ddmenu li a:hover {
	background: #45A0D1;	/*背景色*/
}

/*fixmenu。メインメニューが画面上部に到達した際の設定
---------------------------------------------------------------------------*/
/*fixmenuブロック*/
body.is-fixed .nav-fix-pos {
	width: 100%;z-index: 100;position: fixed;top: 0;left: 0;
}
/*headerブロック*/
body.is-fixed header {
	margin-bottom: 95px;	/*メインメニューのheight(75)とmargin-bottom(20)を足した数字にする*/
}
/*最初のメニューへの追加設定*/
body.is-fixed #menubar li:first-child a {
	border-left: none;
	border-radius: 0px 0px 0px 10px;
}
/*最後のメニューへの追加設定*/
body.is-fixed #menubar li:last-child a {
	border-radius: 0px 0px 10px 0px;
}

/*サブページ　メイン画像
---------------------------------------------------------------------------*/

/*画像ブロック*/
#sub_mainimg {
	clear: both;
	position: relative;
	width: 100%;
}
#sub_mainimg img {
	border-radius: 10px;
}


/*コンテンツ（mainとsubブロックを囲むボックス）
---------------------------------------------------------------------------*/
#contents {
	clear: both;
	padding: 60px 0;
}

/*メインコンテンツ
---------------------------------------------------------------------------*/
/*メインコンテンツブロック*/
#main {
	float: right;	/*右に回り込み*/
	width: 75%;		/*ボックス幅*/
	padding-bottom: 40px;
}
/*１カラム時のメインコンテンツ*/
.c1 #main {
	float: none;
	width: auto;
}
/*mainコンテンツのh2タグ設定*/
#main h2 {
	clear: both;
	margin-bottom: 30px ;
	padding: 7px 20px;	/*上下、左右への余白*/
	font-size: 120%;	/*文字サイズ*/
	color: #fff;		/*文字色*/
	background:linear-gradient(  #3497C7, #4EA4D8 );	/*背景色*/
	border-radius: 10px;	/*角丸のサイズ。この行を削除すれば角が尖った長方形になります。*/
	
}
/*h2タグの１文字目への追加設定*/
#main h2::first-letter {
	border-left: 5px solid #B3DBEA;	/*左の線の幅、線種、色*/
	padding-left: 15px;				/*線とテキストとの余白*/
}
/*mainコンテンツのh3タグ設定*/
#main h3 {
	clear: both;
	color:#1A6882;
	background:linear-gradient(  #f0f0f0,#FAFAFA);
	margin:40px 16px 30px 16px;
	padding: 2px 20px;	/*上下、左右への余白*/
	font-size: 110%;	/*文字サイズ*/
	border: 1px solid #ccc;	/*枠線の幅、線種、色*/
	border-radius: 10px;	/*角丸のサイズ。この行を削除すれば角が尖った長方形になります。*/
}
@media screen and (max-width:480px){
#main h3 {margin:0 0px 20px;}	

}


/*h3タグの１文字目への追加設定*/
#main h3::first-letter {
	border-left: 3px solid #A32C2C;	/*見出し先頭マーク*/
	padding-left: 15px;				/*線とテキストとの余白*/
}

#pro_sec h3 {
	clear: both;
	color:white;
	background:linear-gradient( #333,#666);
	margin:0 16px 20px;
	padding: 2px 20px;	/*上下、左右への余白*/
	font-size: 110%;	/*文字サイズ*/
	border: 1px solid #ccc;	/*枠線の幅、線種、色*/
	border-radius: 10px;	/*角丸のサイズ。この行を削除すれば角が尖った長方形になります。*/
}
@media screen and (max-width:480px){
#pro_sec h3 {margin:0 0px 20px;}	

}
/*h3タグの１文字目への追加設定*/
#pro_sec h3::first-letter {
	border-left: 3px solid #5F8592;	/*見出し先頭マーク*/
	padding-left: 15px;				/*線とテキストとの余白*/
}



/*mainコンテンツの段落タグ設定*/
#main p {
	padding: 0px 20px 20px;	/*上、左右、下への余白*/
}
/*他。微調整。*/
#main p + p {
	margin-top: -5px;
}
#main h2 + p,
#main h3 + p {
	margin-top: -10px;
}
#main section + section {
	padding-top: 30px;
}


.large_center {text-align:center; font-size:1.2em}
.large_center span {display: inline-block;}
@media screen and (max-width:900px){
.large_center {text-align:left; font-size:1.2em}
}
/*サブコンテンツ
---------------------------------------------------------------------------*/
#sub {
	float: left;	/*左に回り込み*/
	width: 22%;		/*ブロックの幅*/
	padding-bottom: 40px;
}
/*１カラム字のサブコンテンツ*/
.c1 #sub {display: none;}
/*h2見出しタグ設定*/
#sub h2 {
	margin-bottom: 10px;
	font-size: 110%;	/*文字サイズ*/
}
/*subコンテンツのh2タグの１文字目への設定*/
#sub h2::first-letter {
	border-left: 3px solid #3480AD;	/*左側のアクセント用ラインの幅、線種、色*/
	padding-left: 10px;
}
/*段落タグ（p）設定*/
#sub p {
	line-height: 1.6;	/*行間を少し狭く*/
}

/*サイドのリンクボタン*/
#sub a img { margin-bottom:32px}

@media screen and (max-width:900px){
#sub p {   text-align:center; }

#sub a img { width:80%; max-width:360px ; margin:6% auto;  ;display:inline-block; }
}



/*サブコンテンツ内のメニュー
---------------------------------------------------------------------------*/
/*メニュー全体の設定*/
#sub .submenu {
	margin-bottom: 20px;	/*メニューブロックの下に空けるスペース*/
	border-top: solid 1px #e4e4e4;	/*上の線の線種、幅、色*/
}
/*メニュー１個ごとの設定*/
#sub .submenu li {
	border-bottom: solid 1px #e4e4e4;	/*下の線の線種、幅、色*/
}
#sub .submenu li a {
	font-size:0.9em;
	text-decoration: none;display: block;
	padding: 10px 10px 10px 30px;	/*上、右、下、左へのメニュー内の余白*/
	background: #fff url(../images/arrow2.png) no-repeat 10px center / 10px;	/*矢印アイコンの読み込み。左から10px、上下中央に配置。幅10px。*/
}
/*サブコンテンツ内のbox1
---------------------------------------------------------------------------*/
#sub .box1 {
	padding: 15px;			/*ボックス内の余白*/
	margin-bottom: 20px;	/*ボックスの下に空けるスペース*/
	background: #f5f5f5;	/*背景色*/
	border: solid 1px #dbdbdb;	/*線の線種、幅、色*/
	box-shadow: 0px 0px 1px 1px #fff inset;	/*ボックスの影。右へ、下へ、ぼかし幅、距離。#fffは白のことでinsetは内側へ向けての影の指定。*/
	border-radius: 10px;	/*角丸のサイズ*/
}
/*box1内のメニューの設定*/
#sub .box1 .submenu {
	margin-bottom: 0px;
}
#sub .box1 .submenu li a {
	padding: 5px 10px;	/*上下、左右へのメニュー内の余白*/
	background: #fff;	/*背景色*/
}

/*フッター設定
---------------------------------------------------------------------------*/
/*footerボックス*/
footer {
	clear: both;overflow: hidden;
	border-top: 5px solid #3480AD;	/*上の線の幅、線種、色*/
	background: #444;	/*背景色*/
	color: #fff;		/*文字色*/
	padding-top: 20px;	/*上に空けるボックス内の余白*/
}
/*footer内のinner*/
footer .inner {
	padding: 0 50px;	/*上下、左右へのブロック内余白*/
}
/*リンクテキスト、マウスオン時の文字色*/
footer a, footer a:hover {
	color: #fff;
}
footer .logo{ width:140px}


/*フッター内のh2タグ*/
footer h2 {
	font-size: 110%;	/*文字サイズ*/
	font-weight:300;
	text-align: center;	/*内容をセンタリング*/
	letter-spacing: 0.1em;	/*文字間隔を少し広く*/
}
/*フッター内のaddress（電話番号ブロック）タグ*/
footer address {
	font-style: normal;
	background: #333;		/*背景色*/
	border-radius: 10px;	/*角丸の指定*/
	text-align: center;		/*内容をセンタリング*/
	line-height: 1.5;		/*行間*/
	padding: 5px;			/*ボックス内の余白*/
}
/*フッター内のaddress（電話番号の行）タグ*/
footer address .tel {
	font-size: 40px;	/*文字サイズ*/
	background: url(../images/icon_tel.png) no-repeat left center / 30px;	/*電話番号アイコンの読み込み*/
	padding-left: 45px;	/*電話番号アイコンの幅をここで調整する*/
}

/*フッターメニュー
---------------------------------------------------------------------------*/
/*ボックス全体*/
#footermenu {
	clear: both;overflow: hidden;
	font-size: 80%;	/*文字サイズを少し小さく*/
	margin-left: -1%;
	padding: 20px 0;
}
/*１列分の設定*/
#footermenu ul {
	float: left;	/*左に回り込み*/
	width: 24%;		/*今回は４列作ったので、下のmarginを含めて25%になるよう指定。５列にするならこの行は19%にする。*/
	margin-left: 1%;
}
/*メニュー１個あたりの設定*/
#footermenu ul li {
	padding: 0 10px;	/*上下、左右への余白*/
}
/*見出し*/
#footermenu li.title {
	font-weight: bold;	/*太字にする*/
	background: rgba(0,0,0,0.3);	/*背景色*/
	border-radius: 2px;	/*角丸のサイズ*/
}
/*リンクテキスト*/
#footermenu a {
	text-decoration: none;
	opacity: 0.6;	/*透明度。70%色がでた状態の事。*/
}
/*マウスオン時*/
#footermenu a:hover {
	opacity: 1;	/*透明度。100%色がでた状態の事。*/
}

/*コピーライト
---------------------------------------------------------------------------*/
#copyright {
	clear: both;
	text-align: center;
	background: #333;	/*背景色*/
	color: #fff;		/*文字色*/
	padding: 20px;		/*ボックス内の余白*/
}
#copyright a {text-decoration: none;color: #fff;}
#copyright .pr {display: block;}



