@charset "utf-8";


/* =Reset default browser CSS.
Based on work by Eric Meyer: http://meyerweb.com/eric/tools/css/reset/index.html
-------------------------------------------------------------- */

html, body, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, 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,  caption, tbody, tfoot, thead, tr, td , {
	border: 0;font-family: inherit;font-size: 100%;font-style: inherit;font-weight: inherit;margin: 0;outline : 0px none;padding: 0;vertical-align: baseline;
}

ol, ul {
	list-style: none;
}

blockquote:before, blockquote:after,q:before, q:after {
	content: "";
}
blockquote, q {
	quotes: "" "";
}
a img{
	border: 0;
}
figure{
	margin:0;
}

td{
	font-size:16px;
}

tr{
	font-size:16px;
}

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

article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section {
	display: block;
}


/* -------------------------------------------------------------- */


-------------------------------------*/

body{
	color:#333;
font:16px verdana,"ヒラギノ丸ゴ ProN W4","Hiragino Maru Gothic ProN","メイリオ","Meiryo","ＭＳ Ｐゴシック","MS PGothic",Sans-Serif;
}


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

/* リンク設定
------------------------------------------------------------*/


a {
    text-decoration:none; 
}

/* 全体
------------------------------------------------------------*/
#wrapper{
	margin : 8px;

width : 96%;
position:relative;
}

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


/*************
/* ヘッダー
*************/
h1{
	font-size:16px;
line-height:1.6;
font-weight:normal;
}

#header{
	overflow:hidden;
padding : 5px 0px 10px;
}

* html #header{
	height:1%;
}


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

.logo a{
	font-size:16px;
font-weight:bold;
line-height:1;
color:#333;
text-decoration:none;
}

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

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

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


/**************************
/* トップナビゲーション
**************************/
ul#topnav{
	overflow:hidden;
margin:20px 0;
border-left:1px solid #ddd;
}

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

ul#topnav li{
	float:left;
text-align:center;
}

ul#topnav a{
	color: white;
	width: 155px;
	font-size: 17px;
	font-weight: bold;
	display: block;
	padding-top: 5px;
	padding-right: 0px;
	padding-bottom: 5px;
	padding-left: 0px;
	border-right-width: 1px;
	border-right-style: solid;
	border-right-color: white;
	text-decoration: none;
	background-color: orange;
}

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

ul#topnav li.active a,ul#topnav a:hover{
	border-color: white white rgb(221, 221, 221) rgb(221, 221, 221);
	background-color: rgb(234, 152, 0);
	background-image: none;
	background-repeat: repeat;
	background-attachment: scroll;
	background-position: 0% 0%;
}


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

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

.slogan{
	position:absolute;
max-width:100%;
height:auto;
bottom:10px;
left:10px;
padding:10px 15px;
line-height:1.4;
z-index:100;
background-repeat : repeat;background-attachment : scroll;background-position : 0% 0%;
}

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

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


/**************************
/* グリッド
**************************/

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

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

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


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

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

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

h3.heading{
	padding-left:7px;
margin-bottom:17px;
font-size:14px;
border-left:4px solid #eee;
}

.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;
}


/*************
テーブル
*************/



/*************
/* フッター
*************/
#footer{
	clear:both;
padding:10px 0 40px 0;
overflow:hidden;
font-size:11px;
}

* html #footer{
	height:1%;
}

#footer .copyright{
	margin-top:40px;
font-size:10px;
}


/* PC用 */
@media only screen and (min-width:940px){	
	#wrapper,.inner{
	width:940px;
	padding:0;
	}
	
	#wrapper{padding-bottom:20px;}
	
	#main{
	float:right;
	width:690px;
	margin-top:20px;
	}
	
	#subpage #sub{
	float:left;
	width:235px;
	overflow:hidden;
	margin-top:20px;
	}
	
	/* グリッド */
	.grid{width:235px;}
	.col2{width:470px;}
	.col3{width:705px;}
	#gallery .grid{width:230px;}
	#subpage #sub .grid{
	width:100%;
	float:none;
	padding-bottom:30px;
	}
	
}


/* モニター幅960px以下 */
@media only screen and (max-width:960px){
	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;
	}
}


/* iPad 縦 */
@media only screen and (max-width:768px){
  #header{padding-bottom:0;}	
	#mainBanner{padding:3px;}
}


/* スマートフォン 横(ランドスケープ) */
@media only screen and (max-width:640px){
	.grid{width:100%;}
	
	.grid img{
	float:none;
	margin:20px auto 10px;
	}
	
	.grid p{text-align:left;}
	
	img.frame,#gallery img{border-width:2px;}

  .alignleft,.alignright{
	float:none;
	display:block;
	margin:0 auto 10px;
	}
	
	#footer .grid p{text-align:center;}
}


/* スマートフォン 縦(ポートレート) */
@media only screen and (max-width:480px){
	#header .logo{padding-top:10px;}
  .info{padding:10px 0 0;}
	
	ul#topnav li{width:50%;}

	ul#topnav li:nth-child(3n){
	border-right:1px solid #1c1c1c;
	width:50%;
	}
	
	ul#topnav li:nth-child(2n),ul#topnav li:nth-child(6n){border-right:0;}
	
	#mainBanner{margin-left:1px;}
	#mainBanner h2,#mainBanner h3{font-size:80%;}
}