@charset "utf-8";

/* http://meyerweb.com/eric/tools/css/reset/ 
   v2.0 | 20110126
   License: none (public domain)
*/

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


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


/*
 * ヘッダ部
 */
div#header-fixed {
	position: fixed;
	top: 0px;
	left: 0px;
	width: 100%;
	height: 380px;
	overflow: hidden;
}

div#header-bk {
	background-color: #fff;
	padding: 10px 0 10px;
	height: 370px;
	width: 100%;
}

div#header {
	border: 5px solid #fff;
	height: 100%;
	width: 940px;
	margin: auto;
}


div#header-div {
	display: table;
	width: 100%;
}

div#header-div-left {
	display: table-cell;
	vertical-align: middle;
	width: 350px;
}

div#header-div-center {
	display: table-cell;
	font-size: 14pt;
	font-weight: bold;
	color: #393;
	text-align: center;
	vertical-align: middle;
}

div#header-div-right {
	display: table-cell;
	width: 200px;
	text-align: right;
	vertical-align: middle;
}

ul#navigation {
	overflow: hidden;
	display: table;
	width: 100%
}

ul#navigation li {
	display: table-cell;
	width: 130px;
	height: 30px;
//	background-color: #060;
	background-image: url(./img/navi_button01.png);
	text-align: center;
	vertical-align: middle;
	border: 2px solid #ffffff;
}

ul#navigation a {
	color: #fff;
	font-size: 10pt;
	text-decoration: none;
}

ul#navigation li a:hover {
	font-weight: bold;
	color: #ff0;
}

div#top-image {
//	border: 1px solid #000;
    width: 100%;
    height: 280px;
    margin: 5px 0px 5px 0px;
    text-align: middle;
    overflow: hidden;
    position: relative;
}

div#top-image img {
    top: 0;
    left: 0;
    position: absolute;
}




/*
 * メイン部
 */
div#main-area {
//	padding: 385px 0 115px 0;
	padding: 385px 0 20px 0;
//	border: 1px solid #0f0;
}

div#main {
	width: 940px;
	margin: auto;
	//overflow: auto;
}

ul#top-page-contents {
	display: table;
	width: 100%;
//	height: 300px;
	height: 100%
}

li#top-page-contents-left {
	display: table-cell;
	//width: 40%;
	height: 100%;
	text-align: center;
	vertical-align: middle;
	border: 3px solid #fff;
}

li#top-page-contents-left iframe{
	overflow: hidden;
	width: 100%;
	height: 100%;
}

li#top-page-contents-middle {
	display: table-cell;
	width: 400px;
	height: 100%;
	text-align: center;
	vertical-align: top;
	border: 3px solid #fff;
}

li#top-page-contents-right {
	display: table-cell;
	width: 140px;
	height: 100%;
	text-align: center;
	vertical-align: top;
	border: 3px solid #fff;
}

#topics {
	width: 99%;
	height: 100%;
	text-align: center;
	vertical-align: top;
}

#topics-header {
//	line-height:1;
	background-color: #393;
	color: #fff;
	text-align: center;
	vertical-align: middle;
	width: 100%;
	height: 20px;
	margin-bottom: 3px;
	border: 1px solid #393;
}

#topics-body {
	border: 1px solid #666;
	width: 100%;
	height: 290px;
	margin-bottom: 3px;
//	padding: 3px 3px 3px 3px;
}

#topics-footer {
//	border: 1px solid #000;
	width: 100%;
	height: 30px;
	font-size: 7pt;
}



/*
 * フッタ部
 */
div#footer-fixed {
	position: fixed;
	bottom: 0px;
	left: 0px;
	width: 100%;
	height: 110px;
//	border: 1px solid #00f;
	overflow: hidden;
}

div#footer-bk {
	padding: 10px 0 10px;
	height: 100px;
	width: 100%;
	background-color: #fff;
}

div#footer {
	border: 5px solid #fff;
	height: 100%;
	width: 940px;
	margin: auto;
}


div#footer-area {
	border-top: 1px dotted #060;
	padding-top: 5px;
	margin-top: 20px;
}

ul#footer-link {
	display: table;
	width: 100%;
	margin-top: 10px;
}

ul#footer-link li {
	display: table-cell;
	text-align: center;
	vertical-align: middle;
}

ul#footer-link li.navi a {
	color: #666666;
	font-size: 9pt;
	text-decoration: none;
}

ul#footer-link li.navi a:hover {
	color: #000;
	font-weight: bold;
}




/* PC用 */
@media only screen and (min-width:960px){
	#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: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 #739938;
	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){
	#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 #739938;
	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%;}
}