@charset "utf-8";


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, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed, 
figure, figcaption, footer, header, hgroup, 
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
	margin: 0;
	padding: 0;
	border: 0;
	font-size: 100%;
	font: inherit;
	vertical-align: baseline;
}

/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
	display: block;
}

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

ol, ul {
	list-style: none;
}

blockquote, q {
	quotes: none;
}

blockquote:before, blockquote:after,
q:before, q:after {
	content: '';
	content: none;
}

table {
	border-collapse: collapse;
	border-spacing: 0;
}


#wrapper{
	margin:0 auto;
	padding:0 1%;
	width:98%;
	position:relative;
	}
	
	.inner{
	margin:0 auto;
	width:100%;
	}


/*************
/* ヘッダー
*************/
#header{
	padding:25px 0 15px;
	overflow:hidden;
	}
	
	* html #header{height:1%;}
	
	#header h1{
	font-size:11px;
	font-weight:normal;
	}
	
	
	/*************
	/* ロゴ
	*************/
	#header .logo{
	float:left;
	padding:10px 0 0;
	}
	
	.logo a{
	font-size:20px;
	font-weight:bold;
	line-height:1;
	color:#333;
	}
	
	.logo span{
	font-size:11px;
	font-weight:normal;
	}
	
	
	/**************************
	/* トップナビゲーション
	**************************/
	ul#topnav{
	float:right;
	overflow:hidden;
	}
	
	* html ul#topnav{height:1%;}
	
	ul#topnav li{
	float:left;
	margin:0 5px;
	text-align:center;
	}
	
	ul#topnav a{
	font-size:12px;
	display:block;
	padding:10px 10px;
	color:#333;
	}
	
	ul#topnav span{
	color:#cdcdcd;
	font-size:10px;
	}
	
	ul#topnav li.active a,ul#topnav a:hover{
	background:#e4e4e4;
	border-radius:5px;
	}

	/**************************
/* グリッド
**************************/
.gridWrapper{
	padding-bottom:20px;
	overflow: hidden;
	}
	
	* html .gridWrapper{height:1%;}
		
	.grid{
	float:left;
	border-radius:5px;
	background:#fff;
	}
	
	.grid h3{
	padding:15px 5px;
	text-align:center;
	border-radius:5px 5px 0 0;
	background:#e4e4e4;
	}
	
	.grid p{
	padding:5px 10px;
	}
	
	.gridWrapper img{
	max-width:100%;
	height:auto;
	}
	
	/* フッター内のグリッド(3カラム) */
	#footer .grid{
	background:transparent;
	}
	
	#footer .grid p{padding:0;}
	


/*************
/* フッター
*************/
#footer{
	clear:both;
	padding:20px 0 40px;
	overflow:hidden;
	}
	
	* html #footer{height:1%;}
	
	.tel strong{
	font-size:20px;
	font-weight:bold;
	}
	
	#footer a{color:#333;}
	#footer a:hover{color:#888;}
	
	#footer .copyright{font-size:11px;}


#footer .gridWrapper p{
	text-align: center;
}


/**************************
/* メイン画像（トップページ+サブページ）
**************************/
#mainBanner{
	margin:15px auto 20px auto;
	padding:0;
	width:100%;
	position:relative;
	line-height:0;
	}
	
	#mainBanner img{
	max-width:100%;
	height:auto;
	border-radius:3px;
	}

/* リンク設定
------------------------------------------------------------*/
a{color:#337db6;text-decoration:none;}
a:hover{color:#246292;}
a:active, a:focus{outline:0;}



/* PC用 */
@media only screen and (min-width:960px){	
	#wrapper,.inner{
	width:940px;
	padding:0;
	}
	
	#wrapper{padding-bottom:20px;}
	
	/* グリッド全体 */
	.gridWrapper{
	width:960px;
	margin:0 0 0 -20px;
	}
	
	/* グリッド共通 ベース:トップページ4カラム */
	.grid{
	float:left;
	width:220px;
	margin-left:20px;
	}
	
	/* サブコンテンツ + フッター グリッド(3カラム) */
	#sub .grid, #footer .grid{
	width:300px;
	}
	
	/* ギャラリー グリッド(4カラム) */
	#gallery{
	width:920px;
	}
	
  #gallery .grid{
	width:210px;
	}	
}


/* モニター幅940px以下 */
@media only screen and (max-width:940px){
	#header h1{padding:0 0 5px 10px;}
	#header .logo{padding-left:10px;}
	
	.grid{
	float:left;
	width:48%;
	margin:10px 2% 0 0;
	}
	
	.grid img{
	float:left;
	margin-right:5px;
	}
	
	#gallery{padding-left:1px;}
	
	#gallery .grid{
	width:23%;
	margin:0 2% 0 0;
	padding:0;
	}
	
	#gallery .grid img{
	float:none;
	margin:0;
	}
	
	#sub .grid{
	width:32%;
	margin:10px 1%;
	}
	
	#sub .grid:first-child{
	margin-left:0;
	}
	
	#sub .grid:last-child{
	margin-right:0;
	}
	
	#footer .grid{
	float:none;
	width:100%;
	text-align:center;
	}
	
	#footer .grid:last-child{padding-top:20px;}
}


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

	#header h1{text-align:center;}
	
	#header .logo{
	float:none;
	text-align:center;
	padding:10px 5px 20px;
	}

	ul#topnav{
	clear:both;
	width:100%;
	}

	ul#topnav li{
	width:33%;
	margin:0;
	border-top:1px solid #e4e4e4;
	border-right:1px dashed #e4e4e4;
	 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.active a,ul#topnav a:hover{border-radius:0;}
	
	#sub ul.list{padding:10px 10px 11px;}
	
	#sub ul.list li{
	padding-bottom:10px;
	margin-bottom:8px;
	}
}


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

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


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

	ul#topnav li:nth-child(3n){
	border-right:1px dashed #e4e4e4;
	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%;}
	
	#sub .grid{
	float:none;
	width:98%;
	}
	
	#sub .grid h3{padding:10px 5px;}
	
	#sub ul.list{padding:10px;}
	
	#sub ul.list li{
	padding-bottom:3px;
	margin-bottom:3px;
	}
	
	#sub ul.list li img{margin:0 5px 0 0;}
}
	



