@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:80%/1.5 "Lucida Sans Unicode", "Lucida Grande", Arial, "ヒラギノ角ゴ Pro W3","Hiragino Kaku Gothic Pro","ＭＳ Ｐゴシック",sans-serif;
color:#252525;
-webkit-text-size-adjust:100%;
background:url(images/bg.png);
}


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

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


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


/* フォーム
------------------------------------------------------------*/
input[type="text"], input[type="email"],textarea{
vertical-align:middle;
max-width:90%;
line-height:30px;
height:30px;
padding:1px 5px;
border:1px solid #d4d4d7;
border-radius:3px;
-webkit-border-radius:3px;
-moz-border-radius:3px;
font-size:100%;
color:#555;
}

textarea{
height:auto;
line-height:1.5;
}

input[type="submit"],input[type="reset"],input[type="button"]{
padding:3px 10px;
background:#575748;
border:0;
border-radius:3px;
-webkit-border-radius:3px;
-moz-border-radius:3px;
line-height:1.5;
font-size:100%;
color:#fff;
}

input[type="submit"]:hover,input[type="reset"]:hover,input[type="button"]:hover{
background:#353526;
cursor:pointer;
}

*:first-child+html input[type="submit"]{padding:3px;}


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

#header{
overflow:hidden;
}

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

#footer{
clear:both;
padding-top:20px;
border-top:1px solid #e2e2e2;
background:url(images/footerBg.png);
}


/* ヘッダー
*****************************************************/
#header .bg{background:#000;}


/* h1
----------------------------------*/
#header h1{
float:left;
padding:15px 0;
font-size:190%;
font-weight:normal;
}
#header h1 a{
color: #fff;
	
}
/* トップページ　メイン画像
----------------------------------*/
#mainImg{
clear:both;
margin-top:20px;
line-height:0;
text-align:center;
z-index:0;
background:url(images/shadow.png) no-repeat 50% 0;
}

#mainImg a:hover img{opacity:.9;}

.postWrap{
margin:0 0 20px 0;
padding:3px;
border:1px solid #e2e2e2;
background:url(images/tp.png);
}

.post{
padding:10px;
border:1px solid #f1f1f1;
background: #fff;
}

article.archive span{padding-left:10px;}


/* タイポグラフィ
*****************************************************/
h2.title{
clear:both;
padding:5px 0;
font-size:150%;
background:url(images/border.png) repeat-x 0 100%;
}

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

.post h1, .post h2, .post h3, .post h4{clear:both;}
.post h2{
margin:10px 0;
padding:3px 5px;
font-size:130%;
font-weight:normal;
color:#3f0000;
border-left:5px solid #3f0000;
}



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

img.alignright, img.alignleft{
padding:4px;
margin:0 0 2px 7px;
display:inline;
}

img.alignleft{margin: 0 7px 2px 0;}

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






/* フッター
*****************************************************/
#footerWrapper{
width:990px;
margin-right:-30px;
}
#footer .bg{
background:#000;
}

#footer p{
clear:both;
padding:5px;
text-align:center;
font-size:90%;
zoom:1;
color:#fff;
}


/* page navigation
------------------------------------------------------------*/
.pagenav{
clear:both;
width: 100%;
height: 30px;
margin: 5px 0 20px;
}

.prev{float:left}

.next{float:right;}

#pageLinks{
clear:both;
text-align:center;
}



/* メインメニュー　PC用
------------------------------------------------------------*/
@media only screen and (min-width: 1025px){
nav div.panel{
display:block !important;
float:left;
}

a#menu{display:none;}	
	
#mainNav{
clear:both;
position:relative;
z-index:200;
background:#575748;
}

#mainNav li{
float: left;
position: relative;
border-right:1px solid #fff;
}

#mainNav li:first-child{border-left:1px solid #fff;}

#mainNav li a{
display: block;
text-align: center;
_float:left;
color:#fff;
padding:20px 50px;
}

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

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

#mainNav li.current-menu-item, #mainNav li:hover, #mainNav li.current-menu-parent{
background:#353526;
}

#mainNav ul ul{width:160px;}

#mainNav li ul{display: none;}

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

#mainNav li li{
padding:0 0 0 10px;
margin:0;
float: none;
height:40px;
line-height:40px;
width:160px;
border:0;
background:#353526;
border-bottom:1px solid #fff;
}

#mainNav li li:first-child{border-left:0;}

#mainNav li li a{
width:100%;
height:40px;
padding:0 0 0 ;
line-height:40px;
font-size:95%;
text-align:left;
}

#mainNav li li.current-menu-item a{font-weight:bold;}

#mainNav li li:hover{background:#575748;}

#mainNav li:hover ul li:last-child{border:0;}
}


/* メインメニュー iPadサイズ以下から
------------------------------------------------------------*/
@media only screen and (max-width:1024px){
#mainNav .inner{width:100%;}
	
#mainNav{
clear:both;
width:100%;
margin:0 auto;
padding:0;
border-top:1px solid #eadad9;
border-bottom:1px solid #eadad9;
}

#mainNav a.menu{
width:100%;
display:block;
height:35px;
line-height:35px;
font-weight: bold;
text-align:left;
color:#fff;
background:#353526 url(images/menuOpen.png) no-repeat 5px 7px;
}

#mainNav a#menu span{padding-left:35px;}

#mainNav a.menuOpen{
background:#353526 url(images/menuOpen.png) no-repeat 5px -35px;
}

#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 0 20px;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;
text-align:left;
color:#333;
border-bottom:1px dotted #353526;
}

#mainNav li a span{display:none;}
 
#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{
color:#fff;
background-color:#353526;
}

#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:30px;
font-size:90%;
background:url(images/sub1.png) no-repeat 15px 17px;
}

#mainNav li li.current-menu-item a,#mainNav li li a:hover,#mainNav li.current-menu-item li a:hover{background:#131304 url(images/sub1.png) no-repeat 15px -62px}

#mainNav li li:last-child a{background:url(images/subLast.png) no-repeat 15px 19px;}  

#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:#353526 url(images/subLast.png) no-repeat 15px -65px;}

nav div.panel{float:none;}

#header ul li a,#header ul li a:hover{background-position:0 50%;}
}


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

#header h1, #header p{padding:5px 10px;}
#header h2{padding:20px 10px 0;}
#header ul{padding:20px 10px 10px;}


#mainNav ul, .thumbWrap{margin:0 auto;}
#mainNav ul ul{padding:0;}

#mainImg img{width:94%;height:auto;}

#footerWrapper{width:95%;margin:0 auto;}

#footer aside{float:none;width:100%;}

#calendar_wrap table{margin:0 auto;width:300px;}

}


/* 幅644px以下から ヘッダー等微調節
------------------------------------------------------------*/
@media only screen and (max-width: 644px){
#header{text-align:center;}
#header h1,#header h2,#header ul,#header p{float:none;}
#header h2{padding:10px 0 0;}
#header ul{padding-top:0;}
#headerInfo{width:250px;margin:0 auto;}
#footer ul{text-align:left;padding:15px;}
#footer ul ul{padding:0;}
}

/* 幅330px以下から ヘッダー等微調節
------------------------------------------------------------*/
@media only screen and (max-width: 330px){
#calendar_wrap table{width:100%;}
#banners p img{width:31%;height:auto;}
}