@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-family: "メイリオ", "ＭＳ Ｐゴシック", Osaka, "ヒラギノ角ゴ Pro W3";
	font-size: 100% 2.0;
	font-style: inherit;
	font-weight: inherit;
color:#000;
background:#fff;
-webkit-text-size-adjust: none;
}

html{background:#ffffff;}


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

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


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


/* フォーム
------------------------------------------------------------*/
input[type="text"], 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;
background:#fcfcfc;
}

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

input[type="submit"],input[type="reset"],input[type="button"]{
padding:3px 10px;
background: #922530;
background: -moz-linear-gradient(top, #922530 0%, #63000e 100%);
background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#922530), color-stop(100%,#63000e));
background: -webkit-linear-gradient(top, #922530 0%,#63000e 100%);
background: -o-linear-gradient(top, #922530 0%,#63000e 100%);
background: -ms-linear-gradient(top, #922530 0%,#63000e 100%);
background: linear-gradient(to bottom, #922530 0%,#63000e 100%);
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#922530', endColorstr='#63000e',GradientType=0 );
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: #922530;
background: -moz-linear-gradient(top, #63000e 0%, #922530 100%);
background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#63000e), color-stop(100%,#922530));
background: -webkit-linear-gradient(top, #63000e 0%,#922530 100%);
background: -o-linear-gradient(top, #63000e 0%,#922530 100%);
background: -ms-linear-gradient(top, #63000e 0%,#922530 100%);
background: linear-gradient(to bottom, #63000e 0%,#922530 100%);
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#63000e', endColorstr='#922530',GradientType=0 );
cursor:pointer;
}

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


/* レイアウト
------------------------------------------------------------*/
#wrapper, .inner{
margin:0 auto;
width:1040px;
background:#fff;
font: 15px  "メイリオ", "ＭＳ Ｐゴシック", Osaka, "ヒラギノ角ゴ Pro W3";;
font-weight: normal;
line-height: 22px;
}

#header{
width:1040px;
overflow:hidden;
margin:0 auto;
background:#000000;
color: #fff;
}

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

#sidebar{
float:right;
width:270px;
padding:30px 0;
}

#footer{
clear:both;
padding-top:20px;
border-top:0px solid #e2e2e2;
margin:0 auto;
width: 85%;
}

.fixed {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 10000;
}

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




/* サイト説明文 + 住所
----------------------------------*/
#header h1{
float:left;
padding:3px 0px;
color: #fff;
font-size:90%;
font-weight:normal;
margin-left:20px;
}

#header p{
float:left;
margin-top:20px;
}


/* ロゴ (サイトタイトル)
----------------------------------*/
#header h2{
clear:both;
float:left;
padding:3px 0px;
color: #fff;
font-size:90%;
font-weight:normal;
margin-left:20px;
}

/* サブナビゲーション
----------------------------------*/
#header ul{
padding-top:20px;
float:right;
margin-right:10px;
}

#header ul li{
display:inline;
margin-left:10px;
}

#header ul li a{
padding-left:0px;
}



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

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

.postWrap{

}

.post{
padding:10px;
border:0px solid #eee;
box-shadow:0 0 0px rgba(0,0,0,0.0);
margin:0 auto;
width: 85%;
}


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


/* タイポグラフィ
*****************************************************/
h2.title{
clear:both;
margin:30px 20px 0px 20px;
padding:20px;
font-size:130%;
text-align:center;
}

h2.first{margin-top:0;}

h2.title span{
padding-right:10px;
padding-left:10px;
}

.title{
font-size:110%;
color: #df5ea8;
}

.dateLabel{
margin:0 0 10px;
text-align:right;
font:italic 1em "Palatino Linotype", "Book Antiqua", Palatino, serif;
}

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

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

.post ul li{
margin:5px 0 0 15px;
list-style:disc;
}

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

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

.post h1, .post h2, .post h3, .post h4{clear:both;}

.post h1{
margin:20px 0;
padding:5px 10px;
font-size:150%;
color: #fff;
border-radius:4px;
background:#63000e;
box-shadow:0 0 3px rgba(0,0,0,0.2); 
}

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

.post h3{
margin:10px 0;
font-size:120%;
font-weight:normal;
color:#ffffff;
}

.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-collapse: collapse;
border-spacing: 0;
margin:10px 0 20px;
}

.post table th{
padding:7px 10px 7px 5px;
border: #63000e solid;
border-width: 0 0 1px 1px;
font-weight:bold;
color:#fff;
}

.post table td{
padding:7px 5px;
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{
padding:4px;
margin:0 0px 2px 27px;
display:inline;
}

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

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



/* フッター　ウィジェット
*****************************************************/
.

Wrap{
padding:3px;
margin:0 auto;
width: 85%;
}

section.widget, .widgetInfo,#calendar_wrap{
padding: 10px 7px;
border:0px solid #eee;
}

#banners img{
max-width:270px;
height:auto;
margin-bottom:10px;
}

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

section.widget h3{
clear:both;
margin:0 0 10px;
padding:5px 0;
font-size:110%;
font-weight:normal;
color: #df5ea8;
border-bottom:1px solid #df5ea8;
}

section.widget a{
display:block;
padding:3px 0 3px 13px;
background:url(images/arrow.png) no-repeat 0 50%;
}

section.widget ul.sub-menu{margin-left:10px;}

section.widget a:hover{background-position: 3px 50%;}

#searchform input[type="text"]{
line-height:1.7;
height:24px;
width:100px;
vertical-align:bottom;
}


/* カレンダー */
#calendar_wrap table{margin:0 auto;width:90%;}
#calendar_wrap table caption{padding:10px 0;text-align:center;font-weight:bold;}
#calendar_wrap table th, #calendar_wrap table td{padding:3px;text-align:center;}
#calendar_wrap table th:nth-child(6),#calendar_wrap table td:nth-child(6){color:#0034af;}
#calendar_wrap table th:nth-child(7),#calendar_wrap table td:nth-child(7){color:#950000;}
#calendar_wrap table td#prev{text-align:left;}
#calendar_wrap table td#next{text-align:right;}
#calendar_wrap a{font-weight:bold;background:none;padding:0;text-decoration:underline;}
#calendar_wrap table td#prev a, #calendar_wrap table td#next a{text-decoration:none;}


/* お知らせ　
-------------*/
.newsTitle{
clear:both;
margin:0 0 10px;
padding:5px 0;
font-size:100%;
color: #333;
border-bottom:1px solid #ccc;
}

.newsTitle h3{
float:left;
font-weight:normal;
color: #ba9c36;
}

.newsTitle p{
float:right;
padding:0 0 0 10px;
font-size:.8em;
background:url(images/arrow.png) no-repeat 0 50%;
}

.news p{
clear:both;
padding-bottom:2px;
border-bottom: 1px solid #ccc;
}

.news p:last-child{border:0;}

.news p a{
display:block;
padding:5px 0;
color:#333;
font-style:italic;
font:italic 110% "Palatino Linotype", "Book Antiqua", Palatino, serif;
}

.news a span{
color:#63000e;
font:normal 90% Arial, 'ヒラギノ角ゴ Pro W3','Hiragino Kaku Gothic Pro','ＭＳ Ｐゴシック',sans-serif;
}

.news span{padding-left:10px;}

.news a:hover span{color:#922530;}



/* フッター
*****************************************************/
#footerWrapper{
margin:0 auto;
width: 100%;
}

#footer aside{
float:left;
width:270px;
margin-right:30px;
}

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


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


/* トップページ 最新記事3件
------------------------------------------------------------*/
.thumbWrap{
margin:0 auto;
width: 85%;
}

.thumbWrap li{
float:left;
width:270px;
margin:0 30px 0 0;
padding:2px 0 40px;
background:none;
}

.thumbWrap li.last{
float:left;
width:270px;
margin:0 0px 0 0;
padding:2px 0 40px;
background:none;
}

/* 最新記事リンク */
ul.thumb h3{
margin-top:10px;
padding:1px;
font-weight:normal;
font-size:100%;
text-align:center;
border:1px solid #799733;
box-shadow:0 0 3px rgba(0,0,0,0.3); 
color:#fff;}
}

ul.thumb h3 span{color:#fff;
display:block;
padding:5px 3px;

}

ul.thumb h3 a{color:#fff;}

ul.thumb h3:hover span{background-position:0 50%}





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

a#menu{display:none;}	
	
nav#mainNav{
clear:both;
position:relative;
z-index:200;
background:url(images/mainnavBg.png) repeat-x;
margin:0 auto;
width:100%;
}

nav#mainNav ul li{
float: left;
position: relative;
height:30px;
padding:10px 30px 10px;
}


nav#mainNav ul li a{
display: block;
text-align: center;
_float:left;
padding:5px 15px;
color:#ffffff;
}

nav#mainNav ul li a span,nav#mainNav ul li a strong{
display:block;
font-size:90%;
}

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

nav#mainNav ul li.current-menu-item a, nav#mainNav ul li a:hover, nav#mainNav ul li.current-menu-parent a{
padding:4px 14px;
border:1px solid #eee;
border-radius: 3px; 	
text-shadow: 0 1px 0px #fff;		
background:#fff;
box-shadow:0 1px 0 0 rgba(255,255,255,0.8);
color:#cc0000;
}

nav#mainNav ul ul{
display: none;
width:160px;
padding:5px 0;
background:#cc0000;
border:1px solid #eee;
border-top:0;
border-radius:0 0 3px 3px;
box-shadow:0 1px 0 0 rgba(255,255,255,0.8);
}

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

nav#mainNav ul ul li{
padding:5px 10px;
margin:0;
float: none;
}

nav#mainNav ul ul li a,nav#mainNav ul li.current-menu-parent li a{
float:none;
padding:10px 6px;
font-size:95%;
background:none;
border:0;
box-shadow:none;
}


nav#mainNav ul li.current-menu-parent li.current-menu-item a,current_page_parentnav#mainNav ul li li.current-menu-item a,nav#mainNav ul li li a:hover{
padding:9px 5px;
border-radius:3px;	
border: 1px solid #eee;
border-radius: 3px; 	
text-shadow: 0 1px 0px #fff;		
background:#fff;
box-shadow:0 1px 0 0 rgba(255,255,255,0.8);
}

}





#gallery-container {
  font-size: 20px;
  margin: 0 auto 50px;auto;
  position: relative;
  text-align: center;
  overflow: hidden;
  padding-top: 1em
width: 85%;
margin:0 auto 50px auto;
width: 85%;
}

#gallery-container:full-screen {
  max-width: 100% !important;
  width: 100%;
  height: 100% !important;
  background-color: #111
}

#gallery-container:-webkit-full-screen {
  max-width: 100% !important;
  width: 100%;
  height: 100% !important;
  background-color: #111
}

#gallery-container:-moz-full-screen {
  max-width: 100% !important;
  width: 100%;
  height: 100% !important;
  background-color: #111
}

.controls {
  text-align: center;
  font-size: 1em;
  opacity: 0;
  pointer-events: none;
  -webkit-transition: opacity .3s ease;
  transition: opacity .3s ease;
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0
}

.control,
.grid,
.fs-toggle {
  width: .66em;
  height: .66em;
  text-align: center;
  line-height: .5em;
  cursor: pointer;
  display: inline-block;
  margin-right: 10px
}

.showControls {
  opacity: 1;
  pointer-events: auto;
  -webkit-transition: opacity .6s 1s ease;
  transition: opacity .6s 1s ease
}

.hideControls {
  opacity: 0;
  pointer-events: none
}

.icon-grid,
.icon-arrow-left,
.icon-arrow-right,
.icon-fullscreen-exit,
.icon-fullscreen {
  display:inline-block;
  width: 20px;
  height: 20px;
  background-image: url(images/controls-dark.png);
  background-repeat: no-repeat
}

.icon-grid {
  background-position: 0 0
}

.icon-arrow-left {
  background-position: -40px 0
}

.icon-arrow-right {
  background-position: -80px 0
}

.icon-fullscreen-exit {
  background-position: -120px 0
}

.icon-fullscreen {
  background-position: -160px 0
}
.fs-toggle {
  display: none;
}


.item {
  display: inline-block;
  cursor: pointer;
  width: 30%;
  height: auto;
  margin-right: .5%
}

.item img,
.item--big img {
  width: 100%;
  display:block;
}

.items--big {
  position: absolute;
  top: 0;
  left: 0
  right:0;
  width: 100%;
  height: 100%;
  pointer-events: none
}

.item--big {
  position: absolute;
  width: 90%;
  height: auto;
  left: 5%;
  right: 5%;
  top: 3em;
  opacity: 0;
  -webkit-transform: scale(.8);
  transform: scale(.8)
}
.item--big .img-caption{
  position:absolute;
  width:100%;
  bottom:0;
  left:0;
  right:0;
  background-color: rgba(0,0,0,0.6);
  color:white;
  padding:10px;
  font-size:.8em;
  text-align:center;
}
.fadeInScaleUp {
  -webkit-animation: fadeInScaleUp .5s ease-out .6s forwards;
  animation: fadeInScaleUp .5s ease-out .6s forwards;
  z-index: 3
}

.fadeOut {
  -webkit-animation: fadeOut .4s ease-out forwards;
  animation: fadeOut .4s ease-out forwards;
  z-index: 1
}

@keyframes fadeOut {
  from {
    opacity: 1;
    -webkit-transform: scale(1);
    transform: scale(1)
  }

  to {
    opacity: 0;
    -webkit-transform: scale(1);
    transform: scale(1)
  }
}

@-webkit-keyframes fadeOut {
  from {
    opacity: 1;
    -webkit-transform: scale(1);
    transform: scale(1)
  }

  to {
    opacity: 0;
    -webkit-transform: scale(1);
    transform: scale(1)
  }
}

@keyframes fadeInScaleUp {
  from {
    opacity: 0;
    -webkit-transform: scale(.8);
    transform: scale(.8)
  }

  to {
    opacity: 1;
    -webkit-transform: scale(1);
    transform: scale(1)
  }
}

@-webkit-keyframes fadeInScaleUp {
  from {
    opacity: 0;
    -webkit-transform: scale(.8);
    transform: scale(.8)
  }

  to {
    opacity: 1;
    -webkit-transform: scale(1);
    transform: scale(1)
  }
}

.scaleDownFadeOut {
  -webkit-animation: scaleDownFadeOut .4s ease-in forwards;
  animation: scaleDownFadeOut .4s ease-in forwards;
  pointer-events: none
}

@keyframes scaleDownFadeOut {
  0% {
    opacity: 1;
    -webkit-transform: scale(1);
    transform: scale(1)
  }

  99% {
    opacity: 0;
    -webkit-transform: scale(.5);
    transform: scale(.5)
  }

  100% {
    opacity: 0;
    -webkit-transform: scale(1);
    transform: scale(1)
  }
}

@-webkit-keyframes scaleDownFadeOut {
  0% {
    opacity: 1;
    -webkit-transform: scale(1);
    transform: scale(1)
  }

  99% {
    opacity: 0;
    -webkit-transform: scale(.5);
    transform: scale(.5)
  }

  100% {
    opacity: 0;
    -webkit-transform: scale(1);
    transform: scale(1)
  }
}

.scaleUpFadeIn {
  opacity: 0;
  -webkit-transform: scale(1);
  transform: scale(1);
  -webkit-animation: scaleUpFadeIn ease-in-out .4s forwards;
  animation: scaleUpFadeIn ease-in-out .4s forwards;
  -webkit-animation-duration: .4s;
  animation-duration: .4s
}

@keyframes scaleUpFadeIn {
  0% {
    opacity: 0;
    -webkit-transform: scale(1);
    transform: scale(1)
  }

  1% {
    opacity: 0;
    -webkit-transform: scale(.5);
    transform: scale(.5)
  }

  100% {
    opacity: 1;
    -webkit-transform: scale(1);
    transform: scale(1)
  }
}

@-webkit-keyframes scaleUpFadeIn {
  0% {
    opacity: 0;
    -webkit-transform: scale(1);
    transform: scale(1)
  }

  1% {
    opacity: 0;
    -webkit-transform: scale(.5);
    transform: scale(.5)
  }

  100% {
    opacity: 1;
    -webkit-transform: scale(1);
    transform: scale(1)
  }
}

.showLastSecond {
  opacity: 0;
  -webkit-transform: scale(1);
  transform: scale(1);
  -webkit-animation: showLastSecond ease-in-out .4s forwards;
  animation: showLastSecond ease-in-out .4s forwards;
  -webkit-animation-duration: .4s;
  animation-duration: .4s
}

@keyframes showLastSecond {
  0% {
    opacity: 0;
    -webkit-transform: scale(1);
    transform: scale(1)
  }

  1% {
    opacity: 0;
    -webkit-transform: scale(.5);
    transform: scale(.5)
  }

  99% {
    opacity: 0;
    -webkit-transform: scale(1);
    transform: scale(1)
  }

  100% {
    opacity: 1;
    -webkit-transform: scale(1);
    transform: scale(1)
  }
}

@-webkit-keyframes showLastSecond {
  0% {
    opacity: 0;
    -webkit-transform: scale(1);
    transform: scale(1)
  }

  1% {
    opacity: 0;
    -webkit-transform: scale(.5);
    transform: scale(.5)
  }

  99% {
    opacity: 0;
    -webkit-transform: scale(1);
    transform: scale(1)
  }

  100% {
    opacity: 1;
    -webkit-transform: scale(1);
    transform: scale(1)
  }
}

@media screen and (max-width: 30em) {
  .item--big {
    width: 90%;
    right: 5%;
    left: 5%
  }
}



#scrollUp {
	bottom: 20px;
	right: 20px;
	background: #555;
	color: #fff;
	font-size: 12px;
	font-family: sans-serif;
	text-decoration: none;
	opacity: .9;
	padding: 10px 20px;
	-webkit-border-radius: 16px;
	-moz-border-radius: 16px;
	border-radius: 16px;
	-webkit-transition: background 200ms linear;
	-moz-transition: background 200ms linear;
	transition: background 200ms linear;
}
	#scrollUp:hover {
		background: #000;
	}

/* メインメニュー iPadサイズ以下から
------------------------------------------------------------*/
@media only screen and (max-width:1024px){
nav#mainNav{
clear:both;
width:100%;
margin:0 auto 0px;
padding:0;
border-bottom:0px solid #eee;
background:url(images/mainnavBg.png) repeat-x;
}

nav#mainNav a.menu{
width:100%;
display:block;
height:40px;
line-height:40px;
font-weight: bold;
text-align:left;
background: url(images/menuOpen.png) no-repeat 10px 8px;
}

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

nav#mainNav a.menuOpen{
background:url(images/menuOpen.png) no-repeat 10px -34px;
}

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{margin:0 0 20px;padding:0;}

nav#mainNav ul li{
float: none;
clear:both;
width:100%;
height:auto;
line-height:1.2;
background:url(images/mainnavBg.png);
}

nav#mainNav ul li a,nav#mainNav ul li.current-menu-item li a{
display: block;
padding:15px 10px;
text-align:left;
}

 nav#mainNav ul li a span{display:none;
}
 
nav#mainNav ul li.current-menu-item a,nav#mainNav ul li a:hover,nav#mainNav ul li.current-menu-item a,nav#mainNav ul li a:active, nav#mainNav ul li li.current-menu-item a, nav#mainNav ul li.current-menu-item li a:hover, nav#mainNav ul li.current-menu-item li a:active{
color:#fff;
text-shadow: 0 1px 0px #000;		
background:#63000e;
}

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

nav#mainNav ul li li a, nav#mainNav ul li.current-menu-item li a, nav#mainNav ul li li.current-menu-item a{
padding-left:30px;
font-size:90%;
}



nav div.panel{float:none;}

#mainImg{margin-bottom:20px;}
}


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


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

nav div.panel{float:none;}

#mainImg{background-size:100% auto;}
#mainImg img{width:94%;height:auto;}

#content, #sidebar{
clear:both;
width:95%;
float:none;
margin:0 auto;
padding:10px 0;
}

#banners{width:100%;margin:0 auto;text-align:center;}
#banners p{display:inline;margin:0 1% 0 0;}
#banners p img{width:32%;height:auto;}

.thumbWrap{width:100%;margin:0 auto;text-align:center;}
.thumbWrap ul.thumb li{width:30%; float:left;margin:0 1% 0 2%;}
.thumbWrap img{width:100%;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 h2,#header ul{float:none;}
#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%;}
}