@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.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:14px;
font-family:verdana,"ヒラギノ丸ゴ ProN W4","Hiragino Maru Gothic ProN","メイリオ","Meiryo","ＭＳ Ｐゴシック","MS PGothic",Sans-Serif;
line-height:1.5;
-webkit-text-size-adjust: none;
background:#fff;
}

h2 {
font-size: 1.3em;
font-weight: bold; /*装飾*/
}
h2 a{color:#0000cd; text-decoration:none;}
}

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

/* 全体
------------------------------------------------------------*/
#wrapper{
margin:0 auto;
padding:0 1%;
width:98%;
position:relative;
}

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


/*************
/* ヘッダー
*************/
#header{
height:140px;
}
#header h1{
margin:30px 0 5px 0;
font-size:10px;
font-weight:normal;
text-align:center;
}

#header a{
color:#8b4513;
}

#header a:hover{
color:#ff8c00;
}

/*************
/* ロゴ
*************/
.logo{
font-size:14px;
font-weight:bold;
}

.logo p{text-align:center;}

.logo span{
display:block;
color:#c71585;
font-size:20px;
font-weight:normal;
}

.logo win-span{
display:block;
color:#9370db;
font-size:20px;
font-weight:normal;
}

.logo span2{
display:block;
color:#9400d3;
font-size:16px;
font-weight:normal;
}

.logo span3{
display:block;
padding:10px;
text-align:center;
font-size:16px;
font-weight:normal;
}

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

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

.box{
margin:0 5px;
}

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

/**8b0000_old**/
.box h3{padding:10px 0 5px;
font-weight:bold;
color: #006400;
font-size: 16px;
}

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

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

/*************
メイン コンテンツ
*************/
#main{
margin-top:25px;
}

section.content article{
padding-top:20px;
margin-bottom:30px;
overflow:hidden;
}

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

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

h3.heading{
font-weight:normal;
line-height:36px;
border-bottom:1px solid #D6D6D6;
color:#333;
}

p{
margin:0px auto 10px;
}

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

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

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

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

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;
}
table.table td{
border-collapse:collapse;
background-color:#F9F9F9;
text-align:left;
padding:8px;
border:1px solid #D6D6D6;
line-height:20px;
}

/*************
/* コピーライト
*************/

address{
clear:both;
padding:40px 0 70px 0;
text-align:center;
font-style:normal;
font-size:10px;
color:#333;
}

/*************
/* Page Topに戻る
 *************/

p#pageTop {
  position: fixed;
  bottom: 80px;
  right: 40px;
  padding: 10px;
}

p#pageTop a {
  display: block;
  z-index: 999;
  padding: 9px;
  border-radius: 5px;
  -webkit-border-radius: 5px;
  -moz-border-radius: 5px;
  	background: rgba(210,105,30,0.4);  /*背景色。0,0,0は黒色の指定で0.4は色が40%出た状態。*/
  font-size: 14px;
  font-weight: bold;
  text-decoration: none;
  text-align: center;
  color: #fff;
  border: 1px solid #fff;	/*枠線の幅、線種、色*/
}

p#pageTop a:hover {
  background: rgba(210,105,30,1.0);	/*背景色。0,0,0は黒色の指定で0.8は色が80%出た状態。*/
  text-decoration: none;
  opacity: 0.8;
    -ms-filter: "alpha(opacity=80)";
    -moz-opacity: 0.8;
    -khtml-opacity: 0.8;
}
/*************
/* Page BoTom（↓）に行く **************/

#pageBottom {
      display: block;
      position: fixed;
      bottom: 40px; /* ボタンの位置を調整 */
      right: 48px; /* ボタンの位置を調整 */
      padding: 8px 14px;
      background-color: rgba(0,123,255,0.4); /* ボタンの背景色 */
      color: #fff; /* ボタンの文字色 */
      border: none;
      border-radius: 5px;
      cursor: pointer;
      font-size: 14px;
      font-weight: bold;
      border: 1px solid #fff;	/*枠線の幅、線種、色*/
    }
#pageBottom:hover {
      background-color: rgba(0,123,255,1.0); /* マウスホバー時の背景色 */
    }


/* PC用
------------------------------------------------------------*/
@media only screen and (min-width: 960px){
	#header,#wrapper,.inner{
	width:960px;
	padding:0;
	margin:0 auto;
	}
	
	#wrapper{padding-bottom:20px;}
	
  nav#mainNav{
	clear:both;
	overflow:hidden;
	position:relative;
	}
	
	nav#mainNav .inner{
	width:932px;
	padding:0 14px;
	}

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

	nav#mainNav li:last-child{border-right:1px dotted #ebebeb;}

	nav#mainNav ul li a{
	display: block;
	text-align: center;
	_float:left;
	font-size:13px;
	width:154px;
	height:45px;
	padding-top:9px;
	color:#333;
	border-left:1px dotted #ebebeb;
	}

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

	nav#mainNav ul li a span{
	color:#cdcdcd;
	font-size:10px;
	}

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

	a#menu{display:none;}

	nav#mainNav li.active a, nav#mainNav li a:hover{
	color:#909090;
  background:#f9f9f9;
	padding-top:9px;
	}
	
	#mainBanner{margin-left:15px;}
	#subpage #mainBanner{margin:17px auto;}
	
	#main{
	float:right;
	width:657px;
	padding-right:15px;
	}
	
	#sidebar{
	float:left;
	width:245px;
	padding:25px 0 0 15px;
	overflow:hidden;
	}
	
	#sidebar article{
	padding-top:7px;
	margin-bottom:20px;
	overflow:hidden;
	}
	
	/* グリッド全体 */
	.gridWrapper{
	width:960px;
	margin:0 0 0 -10px;
	}
	
	#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;
	}
	
  #footer .logo2{text-align:center;} 
}

@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;
  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;
	color:#333;
	}
	nav#mainNav a.menu 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;
	}

	nav#mainNav ul li a,nav#mainNav ul li.current-menu-item li a{
	color:#333;
	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:#888;}

	nav div.panel{float:none;}
	
	#subpage #mainBanner{max-width:668px;}
	
	#sidebar{padding-bottom:30px;}
	
	#sidebar article{padding:7px 0 15px;}
	
	#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;}
}

/* スマートフォン 横(ランドスケープ) */
@media only screen and (max-width:640px){
	#header{
	height:auto;
	padding-bottom:20px;
	}
	
	#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{
	float:left;
	margin-right:5px;
	}
	
	.box h3{padding-top:0;}

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


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