@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, 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 {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;}
article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section {display: block;}

body{
font: 16px/1.9 "メイリオ","Meiryo",arial,"ヒラギノ角ゴ Pro W3","Hiragino Kaku Gothic Pro",Osaka,"ＭＳ Ｐゴシック","MS PGothic",Sans-Serif;
color:#333;
-webkit-text-size-adjust:100%;
background:#fff;
}


/* リンク設定
------------------------------------------------------------*/
a{
margin:0;
padding:0;
text-decoration:none;
outline:0;
vertical-align:baseline;
background:transparent;
font-size:100%;
color:#ff6600;
}

a:hover, a:active{
-webkit-transition:opacity 1s;-moz-transition:opacity 1s;-o-transition:opacity 1s;
outline: none;
color:#ff3300;
}


/**** Clearfix ****/
nav .panel:after, #mainNav:after, .newsTitle:after, .bg:after,.post:after, ul.post li:after,#mainNav .inner:after{content:""; display: table;clear: both;}
nav .panel,#mainNav,.newsTitle,.bg, .post, ul.post li,#mainNav .inner{zoom: 1;}




/* レイアウト
------------------------------------------------------------*/
#wrapper, .inner{
margin:0 auto;
width:960px;
}

#header{
overflow:hidden;
background-color: #2d2d2d;
}

#content{
width:100%;
padding:30px 0;
}


#footer{
clear:both;
padding:30px 0 0 0;
background-color: #222;
} 


/* ヘッダー
*****************************************************/



/* ロゴ (サイトタイトル)
----------------------------------*/
#header h1{
clear:both;
float:left;
padding:20px 5px 15px;
}


/* コンタクト
----------------------------------*/
.contact{
float:right;
padding:20px 0 0;
text-align:right;
color:#eee;
font-size:14px;
}

.contact .tel{
margin-bottom:5px;
font-size:20px;
font-family:Arial, Helvetica, sans-serif;
font-weight: bold;
line-height: 1.5;
}



/* トップページ　メイン画像
----------------------------------*/
#mainImg{
clear:both;
line-height:0;
text-align:center;
z-index:0;
margin-top: 20px;
}


.post{
margin:0 0 50px 0;
padding:5px;
}

.toppage h4{
margin:0 0 10px;
font-size:16px;
font-weight:normal;
color:#333;
}

.toppage{padding:10px 10px 20px 20px;}




/* タイポグラフィ
*****************************************************/


.dateLabel{
text-align:right;
font-weight:bold;
color:#858585;
}

.post p{padding-bottom:15px;}

.post ul{margin:0 0 10px 10px;}

.post ul li{
margin-bottom:5px;
padding-left:15px;
background:url(images/bullet.png) no-repeat 0 8px;
}

.post ol{margin: 0 0 10px 30px;}

.post ol li{list-style:decimal;}

.post h1 {
 color: #ff3300;
  padding: 0.5em 0;
  border-top: solid 3px #ff3300;
  border-bottom: solid 3px #ff3300;
text-align: center;
font-size:130%;
font-weight: bold;
margin-bottom: 30px;
letter-spacing: 0.2em;
}

.post h2{
margin:10px 0;
padding-bottom:2px;
font-size:130%;
font-weight:normal;
color: #333;
border-bottom:2px solid #ff3300;
}

.post h3{
margin:25px 0 25px 0;
padding-bottom:10px;
font-size:120%;
font-weight:normal;
border-bottom:1px solid #dddddd;
}

.post h3.gry {
  padding: .5em .75em;
  background-color: #f6f6f6;
  border-radius: 6px;
  color:#ff3300;
}

.post h3.orn {
  padding: .5em .75em;
  background-color: #ff6600;
  border-radius: 6px;
  color:#fff;
letter-spacing: 0.5em;
}

.post blockquote {
clear:both;
padding:10px 0 10px 15px;
margin:10px 0 25px 30px;
border-left:5px solid #ccc;
}
 
.post blockquote p{padding:5px 0;}

.post table{
border: 1px #ccc solid;
border-collapse: collapse;
border-spacing: 0;
margin:10px 0 20px;
}

.post table th{
padding:10px;
border: #ccc solid;
border-width: 0 0 1px 1px;
background:#efede7;
}

.post table td{
padding:10px;
border: 1px #ccc solid;
border-width: 0 0 1px 1px;
background:#fff;
}

.post dt{font-weight:bold;}

.post dd{padding-bottom:10px;}

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

img.aligncenter {
display: block;
margin:5px auto;
}

img.alignright, img.alignleft{
margin: 10px 10px 15px 15px;
display:inline;
}

img.alignleft{margin:10px 15px 15px 10px;}

.alignright{float:right;}
.alignleft{float:left;}



/* フッター
*****************************************************/
#footer ul{
padding:15px 0 30px;
text-align:center;
}

#footer li{
display:inline-block;
padding: 5px 16px;
border-left:1px dotted #d5d5d5;
}
*:first-child+html #footer li{display:inline;}

#footer li:first-child{border:0;}

#footer li a{
text-decoration:none;
color:#eee;
font-size: 14px;
}

#footer li a:hover{color:#ff3300;}

#footer ul ul{display:none;}

#copyright{
clear:both;
padding:15px 0 15px;
text-align:center;
color:#eee;
font-size:14px;
background-color: #ff3300;
}




/* メインメニュー　PC用
------------------------------------------------------------*/
@media only screen and (min-width: 1025px){
#mainNav{
clear:both;
position:relative;
z-index:200;
width:100%;
margin:0 auto;
background:#2d2d2d;
border-bottom:2px #ff6600 solid;
}

#mainNav .inner{
padding-left:1px;
border-left:1px dotted #8f8f8f;
}

#mainNav li{
float: left;
position: relative;
border-right:1px dotted #8f8f8f;
}

#mainNav li a{
display: block;
text-align: center;
_float:left;
color:#fff;
height:35px;
line-height:45px;
font-size:110%;
letter-spacing: 0.2em;
margin-right:1px;
padding:7px 35px 2px;
}

#mainNav li a span,#mainNav li a strong{
display:block;
font-size:80%;
line-height:1.4;
}

#mainNav li a span{
font-size:70%;
font-weight:normal;
}

#mainNav li.current-menu-item a, #mainNav li a:hover, #mainNav li.current-menu-parent a,#mainNav ul li a:hover span, #mainNav li.current-menu-item a span{
color:#000;
background:#dfdfdf;
}

#mainNav ul ul{
width:160px;
border-top:0;
}

#mainNav li ul{display:none;}

#mainNav li:hover ul{
display:block;
position:absolute;
top:45px;
left:-1px;
z-index:500;
}

#mainNav li li{
margin:0;
float:none;
height:35px;
line-height:35px;
width:160px;
background:#efefef;
border-bottom:1px dotted #fff;
}

#mainNav li li a, #mainNav li.current-menu-parent li a,#mainNav li.current-menu-item li a{
width:100%;
height:40px;
padding:0 0 0 10px;
line-height:40px;
font-size:95%;
text-align:left;
color:#000;
}

#mainNav li li.current-menu-item a,#mainNav li li a:hover{background:#ccc;}

nav div.panel{
display:block !important;
float:left;
}
  
a#menu{display:none;}
}


/* メインメニュー iPadサイズ以下から
------------------------------------------------------------*/
@media only screen and (max-width:1024px){
	#mainNav{
	clear:both;
	width:100%;
	margin:0 auto ;
	background:#222;
	}
	
	#mainNav a.menu{
	width:100%;
	display:block;
	height:37px;
	line-height:37px;
	font-weight: bold;
	text-align:left;
	color:#fff;
  background: url(images/open.png) no-repeat 5px 8px;
	}
	
	#mainNav a#menu span{padding-left:35px;}
	
	#mainNav a.menuOpen{
	background: url(images/open.png) no-repeat 5px -34px;
	}
	
	#mainNav a#menu:hover{cursor:pointer;}
	
	nav .panel{
	display: none;
	width:100%;
	position: relative;
	right: 0;
	top:0;
	z-index: 1;
	}

	#mainNav ul{margin:0;padding:0;}

	#mainNav li{
	float: none;
	clear:both;
	width:100%;
	height:auto;
	line-height:1.2;
	}

	#mainNav li a,#mainNav li.current-menu-item li a{
	display: block;
	padding:15px 10px;
	text-align:left;
	color:#fff;
	border-bottom:1px dashed #e5e5e5;
	}
	
	#mainNav li:last-child a{border:0;}
	#mainNav li li:last-child a{border:0;}
	#mainNav li li:last-child a{border-bottom:1px dashed #e5e5e5;}

 	#mainNav li a span{display:none;}
 
	#mainNav li.current-menu-item a,#mainNav li a:hover,#mainNav li.current-menu-item a,#mainNav li a:active, #mainNav li li.current-menu-item a, #mainNav li.current-menu-item li a:hover, #mainNav li.current-menu-item li a:active,#mainNav li.current-menu-item li a{
	color:#000;
	background:#ccc;
	}

	#mainNav li li{
	float:left;
	border:0;
	}

	#mainNav li li a, #mainNav li.current-menu-item li a, #mainNav li li.current-menu-item a{
  padding-left:40px;
	background:url(images/sub1.png) no-repeat 20px -62px;
	}

	#mainNav li li.current-menu-item a,#mainNav li li a:hover, #mainNav li.current-menu-item li a:hover{
		background:#ccc url(images/sub1.png) no-repeat 20px -62px;}
	
	#mainNav li li:last-child a{background:url(images/subLast.png) no-repeat 20px -65px;}
	#mainNav li li:last-child.current-menu-item a,#mainNav li li:last-child a:hover,#mainNav li.current-menu-item li:last-child a:hover{background:#ccc url(images/subLast.png) no-repeat 20px -65px;}
	
	nav div.panel{float:none;}
}


/* 959px以下から 1カラム表示
------------------------------------------------------------*/
@media only screen and (max-width: 959px){
  #wrapper, .inner{width:100%;}

	#header{width:96%;padding: 2%;}
	
	.contact{padding:10px 0 10px;}

	#mainNav ul{margin:0 auto;}
	#mainNav ul ul{padding:0;}

	nav div.panel{float:none;}
	
	#mainImg img{width:98%;height:auto;}

	#content, #sidebar{
	clear:both;
	width:95%;
	float:none;
	margin:0 auto;
	padding:10px 0;
	}
	
	.banner{width:100%;margin:0 auto;text-align:center;}
  p.banner img{width:100%;height:auto;}
	
	.widget_search{text-align:center;}
	
	#footer li{margin-bottom:10px;}
	
}


/* 幅644px以下から ヘッダー等微調節
------------------------------------------------------------*/
@media only screen and (max-width: 644px){
	#header h1{padding:0;}
	#header h1 img{max-width:90%;}
  .contact{padding:0;}
	#header{text-align:center;}
	#header h1,.contact{float:none;}
	.contact{padding:0 0 20px;}
	.contact p{text-align:center;}
	#headerInfo{width:250px;margin:0 auto;}
	img.alignright, img.alignleft{display: block;	margin:5px auto;}
	.alignright,.alignleft{float:none;}
}