@charset "Shift-Jis";

/*-------------------------------------------------------------- */
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.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.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-size:small;
	font-size:medium
	font-family:verdana,"ヒラギノ丸ゴ ProN W4","Hiragino Maru Gothic ProN","メイリオ","Meiryo","ＭＳ Ｐゴシック","MS PGothic",Sans-Serif;
	line-height:1.5;
	background:#f1f1f1;
	_background:#ffffff;
	background-image:url(images/background.png);
	background-repeat: repeat-x;
	-webkit-text-size-adjust: none;
}


/* リンク設定 */
_a{color:#00a0e9;text-decoration:none;}
a{color:#0E6EB8;text-decoration:none;}
_a:hover{color:#006699;}
a:hover{color:#29A7E1;}
a:active, a:focus {outline:0;}


/* 全体 */

#wrapper{
	margin:0 auto;
	_padding:0 1%;
	padding:0;
	_width:98%;
	position:relative;
	background:#ffffff;
	background-image:url(images/background2.png);
	background-repeat: repeat-x;
}

.inner{
	margin:0 auto;
	width:100%;
}


/* ヘッダー */

#header{
	height:110px;
	background:#f1f1f1;
	_background-image:url(images/background.png);
	_background-repeat: repeat-x;
}

#header h1{
	padding:5px 0 10px 10px;
	font-size:12px;
	font-weight:normal;
	text-align:left;
}

/* ロゴ */

.logo{
	float:left;
}

.logo p{
	float:left;
}

.logo img{
	width:auto;
	float:left;
	padding:0 5px 0 10px;
}

.logo span{display:block;}

/* 電話番号 */

.info{
	float:right;
	padding-right:20px;
	text-align:right;
}

.info .open{font-size:1.1em;}


/* ロゴ+電話番号 */

.logo,.info .tel{
	_color:#00a0e9;
	color:#0E6EB8;
	_color:#ff0000;
	font-size:24px;
	font-weight:bold;
}
.logo{
	font-size:28px;
}
#header .logo{
	line-height:30px;
}

.logo span,.info span{
	color:#333;
	font-size:.6em;
	font-weight:normal;
}


/* メイン画像（トップページ+サブページ）*/

#mainBanner{
	margin:17px auto;
	padding:0;
	width:100%;
	position:relative;
	line-height:0;
}

#mainBanner img{
	max-width:100%;
	height:auto;
	_border:4px solid #ebebeb;
}

.slogan{
	position:absolute;
	max-width:100%;
	height:auto;
	bottom:10px;
	left:10px;
	padding:5px 10px;
	line-height:1.4;
	color:#fff;
	background-color: rgba(0,0,0,0.4);
}

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


/* グリッド */
.gridWrapper{
	padding-bottom:20px;
	overflow: hidden;
}

* html .gridWrapper{height:1%;}
	
.grid{
	float:left;
	border-radius:5px;
	background:#fff;
}

.box{
	margin:0 5px;
	padding:10px;
	border:1px solid #ebebeb;
}

.box img{
	max-width:100%;
	height:auto;
	border:4px solid #ebebeb;
 	width:260px;
	height:113px; 
}

.box h3{
	padding:10px 0 5px;
	font-weight:bold;
}

.box h3, .box p{text-align:left;}

	.box p.readmore{
	padding:10px 5px 5px;
	text-align:right;
}



/* メイン コンテンツ */
section.content article{
	padding:20px;
	_margin-bottom:20px;
	border:1px solid #ebebeb;
	overflow:hidden;
}

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

section.content p{
	_margin-bottom:5px;
	margin:0px 20px 20px;
	text-align:left;
}

h3.heading{
	font-weight:normal;
	padding:0 10px;
	line-height:36px;
	color:#fff;
	_background:url(images/bgh3.png) repeat-x 0 0;
	background:url(images/gnav.png) repeat-x 0 0;
	margin-top:20px;
}

section.content img{
	max-width:90%;
	height:auto;
}

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

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

#gallery .grid img,.border{border:4px solid #ebebeb;}



/* テーブル */
table.table{
	border-collapse:collapse;
	margin:5px auto 15px auto;
}

table.table td{
	border-collapse:collapse;
	background-color:#F9F9F9;
	text-align:left;
	padding:8px;
	border:1px solid #D6D6D6;
	line-height:20px;
}

table.table th{
	background-color:#F5F5F5;
	text-align:right;
	padding:8px;
	white-space:nowrap;
	color: #151515;
	border-top:1px solid #D4D4D4;
	border-right:4px solid #D4D4D4;
	border-bottom:1px solid #D4D4D4;
	border-left:1px solid #D4D4D4;
	_font-size:13px;
	font-weight:normal;
	letter-spacing:1px;
	background-repeat:repeat-x;
	background-position:top;
}


/* サイドバー
#sidebar {display:none;} 

#sidebar ul{padding-top:10px;}

#sidebar li{
	margin-bottom:10px;
	padding-bottom:10px;
	list-style:none;
	border-bottom:1px dashed #ebebeb;
}

#sidebar li:last-child{
	border:0;
	margin-bottom:0px;
}

#sidebar li a{display:block;}

ul.list li{
	clear:both;
	margin-bottom:5px;
	padding:5px 0;
	overflow:hidden;
}

ul.list li{height:1%;}

ul.list li img{
	float:left;
	margin-right:10px;
}

ul.list li{
	font-size:12px;
	line-height:1.35;
}

*/

/* フッター */
#footer{
	clear:both;
	overflow:hidden;
	padding:10px 10px 20px 10px;
	background:#e8e8e8;
}

* html #footer{height:1%;}

#footer .grid{
	padding:10px 0 5px;
	margin:0;
	background:transparent;
}

#footer #info .logo, #footer #info .info{float:none;}

#footer #info .info{
	clear:both;
	padding:10px 0 0 15px;
	text-align:left;
}

#footer .logo{font-size:18px;}

#footer .info .tel,#footer .info .tel span,#footer #info .open{font-size:14px;}

ul.footnav{
	float:right;
	_width:620px;
	width:500px;
	padding:10px 0;
}

ul.footnav li{
	float:left;
	margin-bottom:10px;
	padding:0 7px 0 8px;
	border-right:1px solid #b6b6b6;
}
ul.footnav li.last{
	border-right:0px solid #b6b6b6;
}

#footer a{color:#333;}

#footer a:hover{color:#888;}

address{
	clear:both;
	padding:5px;
	text-align:center;
	font-style:normal;
	font-size:12px;
	color:#fff;
	background:#333;
}


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

	nav#mainNav{
		padding:0 14px;
		margin: 0 auto;
		clear:both;
		overflow:hidden;
		position:relative;
		_background:url(images/topnavBg.png);
		width:960px;
	}


	nav#mainNav ul li{
		float: left;
		position: relative;
	}


	nav#mainNav li.last{_border-right:1px solid #ebebeb;}
	nav#mainNav ul li a{
		display: block;
		text-align: center;
		_float:left;
		font-size:17px;
		width:190px;
		height:45px;
		height:50px;
		padding-top:10px;
		color:#000;
		_font-weight:bold;
		background:url(images/mainNav.png);
		border-left:1px solid #ebebeb;
	}
	nav#mainNav a.first{border-left:none;}

	nav#mainNav ul li a span,nav#mainNav ul li a strong{
		display:block;
	}

	nav#mainNav ul li a span{
		_color:#008899;
		color:#F0E68C;
		font-size:14px;
	}

	nav div.panel{
		display:block !important;
		float:left;
	}

	a#menu{display:none;}

	nav#mainNav li.active a, nav#mainNav li a:hover{
		color:#fff;
		background-position:0 -60px;
		padding-top:10px;
	}
	
	#mainBanner{_margin-left:15px;}
	#subpage #mainBanner{_margin:15px auto;}

	#wrapper,.inner{
		_width:960px;
		width:100%;
		padding:0 auto;
		text-align:center;
	}
	
	#wrapper{padding-bottom:20px;}
	#wrapper{background-image:url(images/background2.png);}
		
	
	#main{
		_float:right;
		_width:717px;
		width:960px;
		_padding-right:15px;
		margin:0 auto;
	}
	
	#sidebar{
		float:left;
		width:195px;
		padding:15px 0 0 15px;
		overflow:hidden;
	}
	
	#sidebar article{
		padding:7px;
		margin-bottom:20px;
		border:1px solid #ebebeb;
		overflow:hidden;
	}
	
	/* グリッド全体 */
	.gridWrapper{
		width:100%;
		width:960px;
		_margin:0 0 0 -10px;
		margin:0 auto -10px;
		text-align:center;
	}
	
	#gallery article{padding:10px 0 10px 10px;}
	
	/* グリッド */
	.grid{
		float:left;
		width:300px;
		margin-left:20px;
	}
	
	#subpage .grid{width:auto;}
	
  #gallery .grid{
		width:auto;
		margin:10px 0 2px 10px;
	}

}


@media only screen and (max-width:959px){
	*{
    -webkit-box-sizing: border-box;
       -moz-box-sizing: border-box;
         -o-box-sizing: border-box;
        -ms-box-sizing: border-box;
            box-sizing: border-box;
	}
	
	nav#mainNav{
		clear:both;
		width:100%;
		margin:0 auto;
		padding:0;
		background: -webkit-gradient(linear, left top, left bottom, color-stop(1, #f5f5f5), color-stop(0.5, #f0f0f0), color-stop(0.00, #f7f7f7));
		background: -webkit-linear-gradient(top, #f7f7f7 0%, #f0f0f0 50%, #f5f5f5 100%);
		background: -moz-linear-gradient(top, #f7f7f7 0%, #f0f0f0 50%, #f5f5f5 100%);
		background: -o-linear-gradient(top, #f7f7f7 0%, #f0f0f0 50%, #f5f5f5 100%);
		background: -ms-linear-gradient(top, #f7f7f7 0%, #f0f0f0 50%, #f5f5f5 100%);
		background: linear-gradient(top, #f7f7f7 0%, #f0f0f0 50%, #f5f5f5 100%);
		border:1px solid #e4e4e4;
	}

	nav#mainNav a.menu{
		width:100%;
		display:block;
		height:40px;
		line-height:40px;
		font-weight: bold;
		text-align:left;
	}

	nav#mainNav a#menu span{padding-left:10px;}
	nav#mainNav > a span:before{content: "→ ";}
	nav#mainNav a.menuOpen span:before{content: "↓ ";}

	nav#mainNav a#menu:hover{cursor:pointer;}

	nav .panel{
		display: none;
		width:100%;
		position: relative;
		right: 0;
		top:0;
		z-index: 1;
	}

	nav#mainNav ul li{
		float: none;
		clear:both;
		width:100%;
		height:auto;
		line-height:1.2;
		background:url(images/bg.png);
	}

	nav#mainNav ul li a,nav#mainNav ul li.current-menu-item li a{
		display: block;
		padding:15px 10px;
		text-align:left;
		border-bottom:1px dashed #ccc;
	}
	
	nav#mainNav ul li a span{padding-left:10px;}
	
	nav#mainNav ul li:first-child a{
		border-top:1px solid #e4e4e4;
	}
	
	nav#mainNav ul li:last-child a{border:0;}
	
	nav#mainNav ul li.active a{	color:#006699;}

	nav div.panel{float:none;}
	
	#subpage #mainBanner{max-width:720px;}
	
	#sidebar article{padding:7px 8px;}
	
	#footer .grid,#footer ul.footnav{
		float:none;
		width:100%;
		text-align:center;
	}

	ul.footnav li{float:none;display:inline-block;}
	
	.grid{
		width:32%;
		margin:10px 0 0 1%;
	}
	
	#gallery .grid{
		float:left;
		width:31%;
		margin:0 0 0 1%;
	}
	
	#footer .grid img, #footer .info{float:none;}
	#footer .grid p{display:block;}
	#footer #info .info{float:none;text-align:center;}
	
	#footer .logo,#footer .info{
	width:100%;
	float:none;
	}
	
	#footer .logo p{float:none;display:block;}
	#footer .logo img{float:none;padding:0;}

	#wrapper{background-image:none;}

}


/* スマートフォン 横(ランドスケープ) */
@media only screen and (max-width:640px){
	#header{
		height:auto;
		padding-bottom:20px;
		background-image:none;
	}
	
	#header h1,.logo,.info{text-align:center;}
	
	.logo,.info{
		clear:both;
		width:100%;
		float:none;
	}
	
	.logo p{float:none;display:block;}
	.logo img{float:none;padding:0;}
	
	.box img{
		max-width:180px;
		float:left;
		margin-right:5px;
	}
	
	.box h3{padding-top:0;}

  .alignleft,.alignright{
		float:none;
		display:block;
		margin:0 auto 10px;
	}
	
	#gallery .grid{float:left;}

	#wrapper{background-image:none;}
}


/* スマートフォン 縦(ポートレート) */
@media only screen and (max-width:480px){
	.grid{width:100%;}
	.box img{max-width:100px;}
	#mainBanner h2,#mainBanner p{font-size:80%;}
