@charset "utf-8";


/* =Reset default browser CSS.
Based on work by Eric Meyer: http://meyerweb.com/eric/tools/css/reset/index.html
-------------------------------------------------------------- */
html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, font, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td {border: 0;font-family: inherit;font-size: 100%;font-style: inherit;font-weight: inherit;margin: 0;outline: 0;padding: 0;vertical-align: baseline;}
:focus {outline: 0;}

ol, ul {list-style: none;}
table {border-collapse: separate;border-spacing: 0;}
caption, th, td {font-weight: normal;text-align: left;}
blockquote:before, blockquote:after,q:before, q:after {content: "";}
blockquote, q {quotes: "" "";}
a img{border: 0;}
figure{margin:0}
article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section {display: block;}
/* -------------------------------------------------------------- */

body{color:#333;/* font:12px verdana,"ヒラギノ丸ゴ ProN W4","Hiragino Maru Gothic ProN","メイリオ","Meiryo","ＭＳ Ｐゴシック","MS PGothic",Sans-Serif; *//* line-height:1.5; */background:#fff;/* -webkit-text-size-adjust: none; */}

html{/* background:#005c98; */}


/* リンク設定
------------------------------------------------------------*/
a{color: #005C98;text-decoration:none;}
a:hover{/* color:#1c1c1c; *//* text-decoration: underline; */}
a:active, a:focus{outline:0;}


/* 全体
------------------------------------------------------------*/
#wrapper{
margin:0 auto;
padding:0 1%;
width:98%;
position:relative;
}
img.sub-img11{
    float: left;
    margin: 0px 20px 16px 0px;
    width: 42%;
}
.inner{
margin:0 auto;
width:100%;
}

h3.fix-bg{
	border-bottom: 1px solid #fff;
    padding: 0px 0px 8px 0px;
}
.gridWrapper .col3 p{/* color:#fff; */text-align: center;}
/*************
/* ヘッダー
*************/
h1{font-size:12px;line-height:1.6;font-weight:normal;/* background:#005c98; */color: #bd4242;}
img.img-cont1{
    float: left;
    width: 44%;
    margin: 12px 20px 20px 0px;
}
#header{
overflow:hidden;
padding:5px 0 15px;
}

* html #header{height:1%;}
#header h1{
    text-align: center;
    font-size: 17px;
    padding: 7px 0px;
}
#header h1 a{color: #b73939;}
#header h1 a:hover{
color:#B8C324 ;
}

/*************
/* ロゴ
*************/
#header .logo{
float:left;
padding:25px 0 0;
}

.logo a{
font-size:20px;
font-weight:bold;
line-height:1;
font-family:"Palatino Linotype", "Book Antiqua", Palatino,"ヒラギノ明朝 Pro W3","Hiragino Mincho Pro","ＭＳ Ｐ明朝","MS PMincho",serif;
}

.logo span{
font-size:12px;
font-weight:normal;
color:#333;
}

.info{
float:right;
padding:20px 0 0;
}

.tel strong{
font-size:20px;
font-weight:bold;
}


/**************************
/* トップナビゲーション
**************************/
ul#topnav{overflow:hidden;/* margin:10px 0; */}

* html ul#topnav{height:1%;}

ul#topnav li{float:left;text-align:center;/* padding: 0px 0px; */}

ul#topnav a{width: 158px;font-size: 14px;display:block;padding: 20px 39px;color:#fff;background: #e07b7b;/* border-top:10px solid #fff; */}

ul#topnav li:first-child a,ul#topnav li:last-child a{width:156px;/* padding: 0px 0; */}

ul#topnav li.active a,ul#topnav a:hover{border-color: #e07b7b;background: #ffaeae;}


/**************************
/* メイン画像（トップページ+サブページ）
**************************/
#mainBanner{margin:20px auto 20px;padding:4px;position:relative;line-height:0;/* background:#005c98; */}

#mainBanner img{
max-width:100%;
height:auto;
}

.slogan{
position:absolute;
max-width:100%;
height:auto;
bottom:10px;
left:10px;
padding:5px 10px;
line-height:1.4;
z-index:100;
background:url(images/tp2.png);
}

.slogan h2{
padding-bottom:5px;
color:#fff;
font-size:20px;
}

.slogan h3{
font-size:14px;
color:#ccc;
}


/**************************
/* グリッド
**************************/
.gridWrapper{
clear:both;
padding:20px 0;
overflow:hidden;
border: none !important;}

* html .gridWrapper{height:1%;}
	
.grid{/* float:left; */}

.colDark,.colLight{
padding-bottom:5px;
color:#fff;
/* background:#1c1c1c; */
}

.colLight{/* background:#005c98; */}

.colDark h3,.colLight h3{
margin:10px 10px 5px;
font-size:14px;
font-weight:bold;
color: #000;}

.colDark a,.colLight a{
/* display:block; */
padding:3px;
border-radius:3px;
color: #1E96E4;
/* background:#005c98; */
}

.colLight a{/* background:#1c1c1c; */}

.colLight a:hover,.colDark a:hover{
color:#1c1c1c;
background:#fff;
}

#sub .grid h3{padding-left:7px;font-size:16px;/* border-left:4px double #1c1c1c; */}

.grid p{padding:5px 10px;color: #222322;line-height: 30px;}

.grid ul{margin:5px 10px;}

.grid li{
padding:5px 0;
list-style:inside;
border-bottom:1px dashed #ebebeb;
}

.gridWrapper img{
max-width: 100%;
height:auto;
}

/* フッター内のグリッド(3カラム) */
#footer .grid{color:#fff;background:transparent;}

#footer .col3 ul{margin: 13px 0 10px 5px;}

#footer .col3 li{
padding:0 6px 0 5px;
margin-bottom:3px;
list-style:none;
border-bottom:0;
color: #8EE250;display:inline-block;
border-right:1px solid #fff;
}


/*************
メイン コンテンツ
*************/
section.content{
margin-bottom:20px;
font-size:14px;
overflow:hidden;
}

* html section.content{height:1%;}

section.content p{margin-bottom:5px;}

h3.heading{
padding:5px 10px;
margin-bottom:10px;
font-size:16px;
color:#fff;
background:#005c98;
border-radius:3px;
}

.alignleft{
float:left;
clear:left;
margin:3px 10px 10px 1px;
}

.alignright{
float:right;
clear:right;
margin:3px 1px 10px 10px;
}

img.frame,#gallery img{
border:4px solid #fff;
box-shadow:0 0 2px rgba(0, 0, 0, 0.5);
-webkit-box-shadow:0 0 2px rgba(0, 0, 0, 0.5);
}

#gallery .gridWrapper{padding:0;}

#gallery img{
margin:5px;
}

section#gallery{overflow:visible;}


/*************
テーブル
*************/
table.table{
border-collapse:collapse;
width:100%;
margin:10px auto;
}

table.table th,table.table td{
padding:5px;
border:1px solid #1c1c1c;
}

table.table tr:first-child th,table.table tr:first-child td{
border-top:#1c1c1c 4px solid
}

table.table th{
font-weight:bold;
letter-spacing:1px;
white-space:nowrap;
color:#fff;
background:#005c98;
}
#menu-mobi{
display:none;
}


/*************
/* フッター
*************/
#footer{clear:both;/* padding:20px 0; */overflow:hidden;/* background:#005c98; */border-top:1px solid #1c1c1c;}

* html #footer{height:1%;}

#footer a{color: #d84a4a;}
#footer a:hover{color:#ccc;}

#footer .copyright{font-size:11px;}


/* PC用 */
@media only screen and (min-width:940px){	

	#wrapper,.inner{
	width:940px;
	padding:0;
	}
	
	#wrapper{padding-bottom:20px;}
	
	#main{
	float:right;
	width:690px;
	}
	
	#subpage #sub{
	float:left;
	width:235px;
	overflow:hidden;
	}
	
	/* グリッド */
	.grid{/* width: 293px; *//* border: 1px solid #ccc; *//* margin: 0px 4px; *//* padding: 5px; */}
	.col2{width: 98%;}
	.col3{width: 100%;border: none;}
	#gallery .grid{width:230px;}
	#subpage #sub .grid{
	width:100%;
	float:none;
	padding-bottom:30px;
	}
	
}


/* モニター幅960px以下 */
@media only screen and (max-width:960px){
#menu-mobi{
display:block;
}
	#topnav{
		display:none;
		padding:10px;
	}
	h1 p.inner{padding:0 2%;width:96%}
	#header .logo{padding-left:10px;}
	#header .info{padding-right:10px;}
	
	ul#topnav{
	clear:both;
	width:100%;
	}

	ul#topnav li{
	width:33%;
	margin:0 0 5px;
	/* border-right:1px solid #1c1c1c; */
	box-sizing:border-box;
	-webkit-box-sizing:border-box;
	-moz-box-sizing:border-box;
	}

	ul#topnav li:nth-child(3n){border-right:0;width:34%;}

	ul#topnav li a{
	width: 100%;
	border-top:0;
	}

	ul#topnav li:first-child a,ul#topnav li:last-child a{width:100%;}
	
	.grid{
	width:50%;
	margin:2px 0;
	}
	
	.col2{
	float:none;
	width:100%;
	margin:0 0 20px;
	}
	
	.grid img{
	float:left;
	margin-right:5px;
	}
	
	#gallery .grid{
	width:31%;
	margin:0 1%;
	padding:0;
	}
	
	#gallery .grid img{
	float:none;
	}
	
	section.content{padding:0 10px;}
	
	section.content img{
  max-width:90%;
	height:auto;
	}
	
	#sub .grid{padding-bottom:20px;}
	
	#footer{padding:0;}
	
	#footer .grid{
	float:none;
	width:100%;
	margin-bottom:5px;
	text-align:center;
	}
}

@media screen and (max-width: 1024px) {
#sub .grid h3 {
    padding-left: 7px;
    font-size: 20px;
    border-left: 4px double #1c1c1c;
    font-weight: bold;
}
.grid p {
    padding: 5px 10px;
    color: #222322;
    font-size: 13px;
    /* line-height: 56px; */
}
	.grid{
	width:100%;
	margin:2px 0;
	}
	
	.col2{
	float:none;
	width:100%;
	margin:0 0 20px;
	}
	
	.grid img{
	/* float:left; */
	/* margin-right: 13px; */
	width: 100%;
	/* margin-top: 18px; */
	}
	
	#gallery .grid{
	width:31%;
	margin:0 1%;
	padding:0;
	}
	
	#gallery .grid img{
	float:none;
	}
	
	section.content{padding:0 10px;}
	
	section.content img{
  max-width:90%;
	height:auto;
	}
	
	#sub .grid{padding-bottom:20px;}
	
	#footer{padding:0;}
	
	#footer .grid{
	float:none;
	width:100%;
	margin-bottom:5px;
	text-align:center;
	}
img.sub-img11{
    float: left;
    margin: 0px 20px 16px 0px;
    width: 42%;
}
.inner{
margin:0 auto;
width:100%;
}

h3.fix-bg{
	border-bottom: 1px solid #fff;
    padding: 0px 0px 8px 0px;
}
.gridWrapper .col3 p{
color:#fff;
}
/*************
/* ヘッダー
*************/
h1{
font-size:12px;
line-height:1.6;
font-weight:normal;
background:#005c98;
color:#fff;
}
img.img-cont1{
    float: left;
    width: 44%;
    margin: 12px 20px 20px 0px;
}
#header{
overflow:hidden;
padding:5px 0 15px;
}

* html #header{height:1%;}
#header h1{
    text-align: center;
    font-size: 17px;
    padding: 7px 0px;
}
#header h1 a{
color:#fff;
}
#header h1 a:hover{
color:#B8C324 ;
}

ul#topnav{
overflow:hidden;
margin: 10px 0px;
background-color: rgba(0, 0, 0, 0.82);position: absolute;z-index: 9;width: 100%;line-height: 38px;}

* html ul#topnav{height:1%;}

ul#topnav li{
/* float:left; */
/* text-align:center; */
padding: 0px 0px;width: 96%;}

ul#topnav a{
width: 100%;
font-size: 16px;
/* display:block; */
padding: 7px 0px;
color:#fff;
background: none;
border-top: navajowhite;
}

ul#topnav li:first-child a,ul#topnav li:last-child a{width: 100%;padding: 7px 0;}

ul#topnav li.active a,ul#topnav a:hover{
/* border-color:#1c1c1c; */
/* background:#1c1c1c; */
/* width: 100%; */background: none;}

#menu-mobi{
display:block;
font-size: 17px;font-weight: 600;}
	#header .logo{padding-top:10px;}
  .info{padding:10px 0 0;}
	
	ul#topnav li{/* width: 100%; */}

	ul#topnav li:nth-child(3n){
	/* border-right:1px solid #1c1c1c; */
	width: 96%;
	}
	
	ul#topnav li:nth-child(2n),ul#topnav li:nth-child(6n){border-right:0;width: 96%;}
	
	#mainBanner{margin-left:1px;}
	#mainBanner h2,#mainBanner h3{font-size:80%;}
.main-waku1 p{
    margin: 0px 3px;
}
img.sub-img{
width:44%;
float: left;margin: 16px 15px 0px 0px;}
}
p {
    line-height: 30px;
}

h2 {
    margin: 15px;
}

.thumbnail img {
    width: 40%;
    float: left;
    margin-right: 20px;
}

article#main_sub img {
    float: left;
    width: 30%;
    margin-right: 10px;
}


.col-lg-4 {
    overflow: hidden;
}

article.grid.colDark {
    overflow: hidden;
}