@charset "utf-8";

@media only screen and (min-width:769px){
	/*---	基本レイアウト ---
	---------------------------------------------*/
	html { font-size: 62.5%; } /* 10px */
	
	body {
		color: #666666;
		font-size: 1.2rem;
		font-family: "メイリオ", "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", Meiryo, Osaka, "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;
		line-height: 1.5;
		-webkit-text-size-adjust: none;
		word-wrap: break-word;
		overflow-wrap: break-word;
		background-color: #0059b3;
		min-width: 1080px;
	}
	/* wrapのサイズ*/
	#wrap{
		width: 100%;
	}
	/* wrap内の各要素のサイズ*/
	a{
		text-decoration: none;
		color: #000;
	}
	img {
		/* 画像をリンクにした際にbottomにできる隙間を埋める */
		vertical-align: bottom;
	}
	.sp_br{
		display: none;
	}
	/*---	header ---
	---------------------------------------------*/
	#h_wrap{
		background-color: #ffffff;
	}
	#top-head{
		display: none;
	}
	/* h1 */
	#h1_box{
		background-color: #0059b3;
		height: 24px;
	}
	#h1_box h1{
		width: 980px;
		margin: 0 auto;
		color: #ffffff;
		font-size: 1.2rem;
		line-height: 24px;
		padding: 0 10px;
	}
	/* ロゴ画像等 */
	#h_table{
		width: 980px;
		height: 100px;
		margin: 0 auto;
		display: table;
		table-layout: fixed;
		text-align: center;
	}
	#h_table .h_table_l{
		display: table-cell;
		text-align: left;
		vertical-align: middle;
		-webkit-box-sizing: border-box;
		-moz-box-sizing: border-box;
		box-sizing: border-box;
	}
	#h_table .h_table_l a{
		padding-left: 10px;
	}
	#h_table .h_table_r{
		display: table-cell;
		text-align: right;
		vertical-align: middle;
		-webkit-box-sizing: border-box;
		-moz-box-sizing: border-box;
		box-sizing: border-box;
		padding: 0 40px 0 0;
	}
	#h_table .h_table_r span{
		display: block;
		font-size: 1.4rem;
		font-weight: bold;
		color: #4d4d4d;
		padding: 0 20px 0 0;
	}
	#h_table .h_table_r a{
		display: inline-block;
		padding: 10px 0;
	}
	/* PC表示のナビゲーションメニュー */
	#top_div{
		width: 100%;
		height: 40px;
		background-color: #ffffff;
	}
	#top_div ul{
		width: 979px;
		margin: 0 auto;
		display: table;
		table-layout: fixed;
	}
	#top_div ul li{
		display: table-cell;
		text-align: center;
		vertical-align: middle;
		padding-left: 1px;
		background-image: url(../images/nav_line.png);
		background-position: left center;
		background-repeat: no-repeat;
	}
	#top_div ul li:last-child{
		padding-left: 1px;
		padding-right: 1px;
		background-image: url(../images/nav_line.png), url(../images/nav_line.png);
		background-position: left center, right center;
		background-repeat: no-repeat, no-repeat;
	}
	#top_div ul li a:hover{
		opacity: 0.7;
	}

	/* ----- スライドショー ----- */
	#slide{
		background-color: #0059b3;
		text-align: center;
	}
	#slide figure{
		width: 100%;
		margin: 0 auto;
	}
	
	/* ----- main_wrap ----- */
	#main_wrap{
		width: 980px;
		margin: 0 auto;
	}
	#main_wrap #main{
		width: 660px;
		margin: 60px 0 0 30px;
		float: right;
	}
	#main_wrap #sub{
		width: 260px;
		margin: 60px 30px 60px 0;
		float: left;
	}
	
	/* ----- サブメニュー ----- */
	#sub{
		text-align: center;
	}
	#sub #sub_contact{
		width: 100%;
		padding: 0 0 20px;
	}
	#sub #sub_contact img:hover{
		opacity: 0.8;
	}
	#sub #sub_about{
		width: 100%;
		background-color: #ffffff;
		border: 1px solid #d9a573;
		-webkit-box-sizing: border-box;
		-moz-box-sizing: border-box;
		box-sizing: border-box;
	}
	#sub #sub_about h3{
		display: inline-block;
		width: 230px;
		color: #ffffff;
		background-color: #0059b3;
		border-radius: 5px;
		font-size: 1.6rem;
		font-weight: bold;
		padding: 5px 0;
		margin: 20px auto 20px;
		text-indent: 2px;
		letter-spacing: 2px;
	}
	#sub #sub_about figure{
		display: inline-block;
		margin: 0 auto 20px;
		border: 1px solid #0059b3;
	}
	#sub #sub_about p{
		color: #333333;
		font-size: 1.2rem;
		text-align: left;
		line-height: 180%;
		padding: 0 20px;
		margin: 0 auto 20px;
	}
	#sub .banner{
		padding: 20px 0;
	}
	#sub .banner figure{
		margin: 0 0 10px 0;
	}
	#sub .banner figure img:hover{
		opacity: 0.8;
	}
	
	/* ----- ページスクロール ----- */
	#scroll {
		position: fixed;
		bottom: 30px;
		right: 20px;
		z-index: 1000;
	}
	#scroll a {
		display: inline-block;
		z-index: 999;
		padding: 5px 15px 10px 15px;
		color: #ffffff;
		background-color: rgba(0,89,179,0.6);
		border-radius: 5px;
		text-align: center;
	}
	#scroll a i{
		font-size: 4.0rem;
		vertical-align: middle;
	}
	
	/*---	footer ---
	---------------------------------------------*/
	footer{
		clear: both;
		text-align: center;
		background-color: #ffffff;
	}
	footer #f_wrap ul{
		display:-webkit-box; 
		display:-moz-box; 
		display:-ms-box; 
		display:-webkit-flexbox; 
		display:-moz-flexbox; 
		display:-ms-flexbox; 
		display:-webkit-flex; 
		display:-moz-flex; 
		display:-ms-flex; 
		display:flex; 
		-webkit-box-lines:multiple; 
		-moz-box-lines:multiple; 
		-webkit-flex-wrap:nowrap; 
		-moz-flex-wrap:nowrap; 
		-ms-flex-wrap:nowrap; 
		-moz-box-align: center;
		-webkit-box-align: center;
		-moz-box-pack: center;
		-webkit-box-pack: center;
		justify-content: center;
		flex-wrap:nowrap; 
		flex-direction: row;
		text-align: center;
		padding: 10px 0 10px 0;
		background-color: #f1f1f1;
	}
	footer #f_wrap ul li{
		font-size: 12px;	
		padding: 3px 10px;
		border-left:1px dotted #0059b3;
	}
	footer #f_wrap ul li:first-child{
		border: none;
	}
	footer #f_wrap ul li a{
		color: #0059b3;
	}
	#f_box{
		margin: 2% auto 2% auto;
		width: 98%;
		text-align: center;
	}
	#f_box p{
		color: #333333;
		font-size: 13px;
		line-height: 200%;
	}
	#add{
		color: #ffffff;
		background-color: #0059b3;
		font-size: 12px;
		text-align: center;
		padding: 2px 0;
	}
	#add a{
		color: #fff;
	}
}

@media only screen and (max-width : 768px ){
	/*---	基本レイアウト ---
	---------------------------------------------*/
	html { font-size: 62.5%; } /* 10px */
	
	body {
		color: #666666;
		font-size: 1.2rem;
		font-family: "メイリオ", "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", Meiryo, Osaka, "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;
		line-height: 1.5;
		-webkit-text-size-adjust: none;
		word-wrap: break-word;
		overflow-wrap: break-word;
		background-color: #0059b3;
	}
	/* wrapのサイズ*/
	#wrap{
		width: 100%;
	}
	/* wrap内の各要素のサイズ*/
	h1, #h_box_table{
		max-width: 768px;
		height: auto;
		margin: 0 auto;
	}
	a{
		text-decoration: none;
		color: #000;
	}
	img {
		/* 画像をリンクにした際にbottomにできる隙間を埋める */
		vertical-align: bottom;
	}
	.pc_br{
		display: none;
	}
	/*---	header ---
	---------------------------------------------*/
	#h_table{
		padding: 55px 0 0 0;
		width: 100%;
		margin: 0 auto;
	}
	#h1_box{
		display: none;
	}
	.h_table_l{
		display: none;
	}
	.h_table_r{
		background-color: #ffffff;
		text-align: center;
		padding: 20px 0;
	}
	.h_table_r span{
		display: block;
		font-size: 1.4rem;
		font-weight: bold;
		color: #4d4d4d;
	}
	.h_table_r a{
		display: inline-block;
		padding: 10px 0;
	}
	
	/* PC用ナビゲーションメニュー */
	#top_div{
		display: none;
	}

	/* ----- スライドショー ----- */
	#slide{
		width: 100%;
		text-align: center;
	}
	#slide figure img{
		width: 100%;
		margin: 0 auto;
	}
		
	/* ----- main_wrap ----- */
	#main_wrap{
		width: 100%;
		margin: 0 auto;
	}
	#main_wrap #main{
		width: 100%;
		margin: 20px auto 40px auto;
	}
	#main_wrap #sub{
		max-width: 640px;
		margin: 0 auto 40px auto;
	}
	
	/* ----- サブメニュー ----- */
	#sub{
		text-align: center;
	}
	#sub #sub_contact{
		width: 100%;
		padding: 0 0 40px;
	}
	#sub #sub_contact img:hover{
		opacity: 0.8;
	}
	#sub #sub_about{
		width: 90%;
		margin: 0 auto;
		text-align: center;
		background-color: #ffffff;
		border: 1px solid #d9a573;
		-webkit-box-sizing: border-box;
		-moz-box-sizing: border-box;
		box-sizing: border-box;
	}
	#sub #sub_about h3{
		display: inline-block;
		width: 230px;
		color: #ffffff;
		background-color: #0059b3;
		border-radius: 5px;
		font-size: 1.6rem;
		font-weight: bold;
		padding: 5px 0;
		margin: 20px auto 20px;
		text-indent: 1px;
		letter-spacing: 1px;
	}
	#sub #sub_about figure{
		margin: 0 auto 20px;
	}
	#sub #sub_about p{
		display: inline-block;
		color: #333333;
		font-size: 1.2rem;
		text-align: left;
		line-height: 180%;
		padding: 0 20px;
		margin: 0 auto 20px;
	}
	#sub .banner{
		padding: 20px 0;
	}
	#sub .banner figure{
		display: inline-block;
		margin: 0 10px 10px;
	}
	/* ----- ページスクロール ----- */
	#scroll {
		position: fixed;
		bottom: 30px;
		right: 10px;
		z-index: 1000;
	}
	#scroll a {
		display: inline-block;
		z-index: 999;
		padding: 5px 15px 10px 15px;
		color: #ffffff;
		background-color: rgba(0,89,179,0.6);
		border-radius: 5px;
		text-align: center;
	}
	#scroll a i{
		font-size: 2.0rem;
		vertical-align: middle;
	}
	
	/*---	footer ---
	---------------------------------------------*/
	footer{
		text-align: center;
		background-color: #ffffff;
	}
	footer #f_wrap ul{
		display: none;
	}
	#f_box{
		padding: 20px 0;
		margin: 0 auto;
		width: 98%;
		text-align: center;
	}
	#f_box p{
		color: #333333;
		font-size: 13px;
		line-height: 200%;
	}
	#add{
		color: #fff;
		background-color: #0059b3;
		font-size: 1.2rem;
		text-align: center;
		padding: 2px 0 3px 0;
	}
	#add a{
		color: #fff;
	}
}

@media only screen and (max-width : 420px ){

}

/*---	その他の設定 ---
---------------------------------------------*/
.clearfix:after{
	content:".";
	visibility:hidden;
	display:block;
	height:0;
	clear:both;
}
.hide {
	text-indent: 100%;
	white-space: nowrap;
	overflow: hidden;
}
.clearboth{
	clear: both;
}
.span_br{
	display: inline-block;
}
.linkStyle{
	color: #666666;
}