@charset "utf-8";
/*
Theme Name: 高齢協
	The CSS, XHTML and design is released under GPL:
	http://www.opensource.org/licenses/gpl-license.php

*/

-------------------------------------------------------------- */
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-size: 100%;
    font-style: 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: 100%/1.7;
    font-family: "メイリオ", Meiryo, "Hiragino Sans W3", "Hiragino Kaku Gothic ProN", "ヒラギノ角ゴ ProN W3", "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;
    -webkit-text-size-adjust: none;
    background: #fff;
    margin-top: 0px;
    margin-right: 0px;
    margin-bottom: 0px;
    margin-left: 0px;
    padding-top: 0px;
    padding-right: 0px;
    padding-bottom: 0px;
    padding-left: 0px;
}



}
.both_clear{
    clear: both;
    display: block;
}
#rinen{
    font-family: "游明朝", YuMincho, "Hiragino Mincho ProN W3", "ヒラギノ明朝 ProN W3", "Hiragino Mincho ProN", "HG明朝E", "ＭＳ Ｐ明朝", "ＭＳ 明朝", serif;
    font-size: 140%;
    line-height: 200%;
    text-shadow: 1px 1px 1px rgba(0,0,0,0.3);
}
#rinen ul{
    margin-top: 0px;
    margin-right: 0px;
    margin-bottom: 0px;
    margin-left: 0px;
    padding-top: 0px;
    padding-right: 0px;
    padding-bottom: 0px;
    padding-left: 0px;
}
#rinen li{
border-bottom: 1px dotted rgba(219,219,219,1.00);
line-height: 130%; 

padding-top: 20px;
padding-right: 0px;
padding-bottom: 10px;
padding-left: 0px;
}
.kakokiji a{
    font-size: 14px;
    float: right;
    border-radius: 3px;
    border: 1px solid rgba(196,196,196,1.00);
    margin-top: 10px;
    padding-top: 0px;
    padding-right: 5px;
    padding-bottom: 0px;
    padding-left: 5px;
}
.kakokiji a:hover{
    
background-color: #FFC362;
}
#oshirasenew a{
    display: block;
    padding-top: 15px;
    padding-right: 15px;
    padding-bottom: 5px;
    padding-left: 20px;
    border-bottom: 1px dotted rgba(219,219,219,1.00);
    margin-top: 5px;
    background-image: url(images/arrowSub.png);
    background-repeat: no-repeat;
    background-position: 0% 65%;
}
#oshirasenew a:hover{
    background-color: rgba(216,240,205,0.50);
    border-radius: 3px;    
}

/* リンク設定
------------------------------------------------------------*/
a{
margin:0;
padding:0;
text-decoration:none;
outline:0;
vertical-align:baseline;
background:transparent;
font-size:100%;
color:rgba(37,95,17,1.00);
transition: all 0.2s 0.2s ease;
}

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


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





    /* トップページ 最新記事6件
------------------------------------------------------------*/
.katsudotitle{
    display: block;
    font-size: 14px;
    padding-top: 10px;
    padding-right: 10px;
    padding-bottom: 10px;
    padding-left: 10px;
    margin-top: -7px;
    margin-bottom: 10px;
    border-top: 2px solid #D0DCBA;
    border-bottom: 2px solid #D0DCBA;
}
.excerpt{
    font-size: 14px;
    line-height: 170%;
    text-align: left;
}
.btntop a{
    text-align: center;
    display: block;
    border-width: 1px;
    border-style: solid;
    margin-top: 10px;
    margin-right: 0px;
    margin-bottom: 10px;
    margin-left: 0px;
    background-color: rgba(37,95,17,1.00);
    color: rgba(255,255,255,1.00);
}
.btntop a:hover{
background-color:#00A20D;
}
.hiduke{
    font-size: small;
    color: #464646;
}
.archive_list a{
    border-bottom: 1px dotted rgba(203,203,203,1.00);
    display: block;
    padding-top: 15px;
    padding-right: 10px;
    padding-bottom: 10px;
    padding-left: 10px;
    background-image: url(images/bullet2.png);
    background-repeat: no-repeat;
    background-position: 0% 0%;
}
.archive_list a:hover{
    color: #6B007A;
    background-color: #FCEFFF;
    border-radius: 3px;
       
}

/*
スライダー枠
*/
#footerslider{
    margin-top: 0px;
    background-color: #EFEFEF;
    padding-bottom: 5px;
    padding-top: 15px;

}
/*
footerバナー枠
*/
.linehr {
    background-color: #fff;
    border-top: 2px dotted #D8D8D8;
    margin-bottom: 50px;    
}

#footerbn{
    margin-top: 0px;
    padding-bottom: 15px;
    padding-top: 10px;
    text-align: center;
     display: flex;
    justify-content: space-between;
}
.box {
	display: flex;
	justify-content: space-between;
	flex-wrap: wrap;
}
#slider11{
    padding-top: 0px;
    padding-bottom: 0px;
    border-bottom: 3px solid #512a62;
    background-image: url(images/image_back.jpg);    
}
/* フォーム
------------------------------------------------------------*/
#kifukin{
    text-align: center;
    margin-bottom: 20px;    
}
#toiawase{
    text-align: center;
    margin-top: 50px;
    border-top: 1px dotted #D4D4D4;
    border-bottom: 1px dotted #D4D4D4;
    padding-top: 30px;
    padding-bottom: 30px;
}
.ftitle{
    display: block;
    padding-top: 5px;
    padding-right: 5px;
    padding-bottom: 5px;
    padding-left: 5px;
    border-radius: 5px 5px 0px 0px;
    margin-top: 20px;
    font-size: 14px;
    border-bottom: 1px solid rgba(176,200,176,1.00);
}
input[type="text"], input[type="email"], input[type="url"],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;
}

select{

    padding-top: 10px;
    padding-right: 10px;
    padding-bottom: 10px;
    padding-left: 10px;    
}

input[type="submit"],input[type="reset"],input[type="button"]{
    padding: 15px 20px;
    color: rgba(255,255,255,1.00);
    border-radius: 10px;
    background-color: rgba(106,135,93,1.00);
}

input[type="submit"]:hover,input[type="reset"]:hover,input[type="button"]:hover{
    cursor: pointer;
    color: rgba(255,186,87,1.00);
    background-color: rgba(106,135,93,1.00);
}



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

}

#header{
overflow:hidden;
background: #fff;
        background-image: url(images/image_heder_back.png);
}

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

}

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

#footer{
clear:both;
padding-top:20px;
border-top:1px solid #e2e2e2;
background: #fff;
}


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

#menuline{
    border-bottom: 3px solid #359337;
}
/* サイト説明文 + 住所
----------------------------------*/
#header h1,#header p{
float:left;
padding:3px 0;
font-size:80%;
font-weight:normal;
}

#header p{
float:right;
}


/* ロゴ (サイトタイトル)
----------------------------------*/
#header h2{
    clear: both;
    font-family: "游明朝", YuMincho, "Hiragino Mincho ProN W3", "ヒラギノ明朝 ProN W3", "Hiragino Mincho ProN", "HG明朝E", "ＭＳ Ｐ明朝", "ＭＳ 明朝", serif;
    padding-top: 0px;
    padding-right: 0;
    padding-left: 0;
    padding-bottom: 0px;
    color: #515151;
    font-size: 160%;
    font-weight: bold;
}

/* サブナビゲーション
----------------------------------*/
#header ul{
font-size:85%;
padding-top:40px;
float:right;
}

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

#header ul li a{
color: #252525;
padding-left:15px;
background:url(images/arrowSub.png) no-repeat 0 50%;
}

#header ul li a:hover{color: #888;}


/* トップページ　メイン画像
----------------------------------*/
#mainImg{
clear:both;
margin-top:20px;
line-height:0;
text-align:center;
z-index: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:20px;
border:1px solid #f1f1f1;
background: #fff;
}

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


/* タイポグラフィ
*****************************************************/
.breadcrumbs{
    display: block;
    padding-top: 5px;
    padding-right: 10px;
    padding-bottom: 5px;
    padding-left: 10px;
    margin-top: 20px;
    font-size: 12px;
    border-radius: 15px;
    margin-left: 10px;
    margin-right: 10px;
    background-image: url(images/image_heder_back.png);
    border: 1px solid #99B498;
}
h2.title{
    clear: both;
    margin-top: 20px;
    margin-right: 0;
    margin-left: 0;
    margin-bottom: 15px;
    padding: 5px 0;
    font-size: 220%;
    font-family: "游明朝", YuMincho, "Hiragino Mincho ProN W3", "ヒラギノ明朝 ProN W3", "Hiragino Mincho ProN", "HG明朝E", "ＭＳ Ｐ明朝", "ＭＳ 明朝", serif;
    color: #005110;
    border-bottom: 2px dotted rgba(177,209,177,1.00);
}

h2.first{margin-top:0;}

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

.post p{
    padding-bottom: 15px;
    line-height: 170%;
}

.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;
    border-bottom: 1px dotted #C4C4C4;
    margin-top: 10px;
    margin-right: 10px;
    margin-bottom: 10px;
    margin-left: 10px;
    padding-top: 10px;
    padding-right: 10px;
    padding-bottom: 10px;
    padding-left: 10px;
}

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

.post h1{
    margin: 20px 0;
    padding: 10px 15px;
    font-size: 180%;
    color: #A77C00;
    border-radius: 4px;
    box-shadow: 0 0 3px rgba(0,0,0,0.2);
    font-family: "游明朝", YuMincho, "Hiragino Mincho ProN W3", "ヒラギノ明朝 ProN W3", "Hiragino Mincho ProN", "HG明朝E", "ＭＳ Ｐ明朝", "ＭＳ 明朝", serif;
    background-image: url(images/h1back.png);
    text-shadow: 0px 0px;
    font-weight: bold;
    border: 1px solid #D2E3CC;
}

.post h2{
    margin-top: 20px;
    margin-right: 0;
    margin-left: 0;
    margin-bottom: 20px;
    padding-top: 35px;
    padding-right: 10px;
    padding-left: 15px;
    padding-bottom: 0px;
    font-size: 150%;
    font-weight: bold;
    color: #0A6000;
    border-left: 3px solid #C4E1BF;
    font-family: "游明朝", YuMincho, "Hiragino Mincho ProN W3", "ヒラギノ明朝 ProN W3", "Hiragino Mincho ProN", "HG明朝E", "ＭＳ Ｐ明朝", "ＭＳ 明朝", serif;
}

.post h3{
    margin-top: 20px;
    margin-right: 10;
    margin-left: 10;
    margin-bottom: 10px;
    font-size: 130%;
    font-weight: bold;
    color: #3A5B39;
    border-bottom: 1px solid #ACC7A7;
    font-family: "游明朝", YuMincho, "Hiragino Mincho ProN W3", "ヒラギノ明朝 ProN W3", "Hiragino Mincho ProN", "HG明朝E", "ＭＳ Ｐ明朝", "ＭＳ 明朝", serif;
}

.post h4{
    margin: 10px 0;
    font-size: 120%;
    font-weight: bold;
    color: #313131;
    border-bottom: 1px dotted #D1D1D1;
    font-family: "游明朝", YuMincho, "Hiragino Mincho ProN W3", "ヒラギノ明朝 ProN W3", "Hiragino Mincho ProN", "HG明朝E", "ＭＳ Ｐ明朝", "ＭＳ 明朝", serif;
}

.post h5{
    margin: 10px 0;
    font-size: 110%;
    font-weight: bold;
    color: #313131;
}

.post h6{
    margin: 10px 0;
    font-size: 95%;
    font-weight: normal;
    color: #151515;
    border: 3px solid #E0B3FF;
    border-radius: 4px;
    padding-top: 10px;
    padding-right: 10px;
    padding-bottom: 10px;
    padding-left: 10px;
}

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

.post table th{
padding:7px 10px 7px 5px;
border: #ddd solid;
border-width: 0 0 1px 1px;
font-weight:bold;
background:#f7f7f7;
}

.post table td{
padding:7px 5px;
border: 1px #ddd solid;
border-width: 0 0 1px 1px;
background:#fff;
}

.post ul{
    margin-top: 10px;
    margin-bottom: 10px;
    padding-left: 0px;
}
.post ul li{
    list-style-position: outside;
    list-style-image: url(images/arrowSub.png);
    margin-top: 5px;
    margin-bottom: 5px;
}

.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 0 2px 7px;
display:inline;
}

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

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



/* フッター　ウィジェット
*****************************************************/
.widgetWrap{
margin: 0 0 20px;
padding: 3px;
border:1px solid #fff;
background:#f4f4f4;
box-shadow:0 0 3px rgba(0,0,0,0.5); 
}

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

#banners img{
max-width:300px;
height:auto;
margin-bottom:10px;
box-shadow:0 0 3px rgba(0,0,0,0.5); 
}

#banners a:hover img{box-shadow:0 0 4px rgba(255,255,255,0.7);}

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

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 20px;
padding:5px 0;
font-size:100%;
color: #333;
border-bottom:1px solid #ccc;
}

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

.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:rgb(81, 42, 98);
font:normal 90% Arial, 'ヒラギノ角ゴ Pro W3','Hiragino Kaku Gothic Pro','ＭＳ Ｐゴシック',sans-serif;
}

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

.news a:hover span{color:#6B007A;}



/* フッター
*****************************************************/
#footerWrapper{
width:990px;

}

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

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


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

#menuwaku{
    border-bottom: 3px solid #512a62;
}
#b-waku{
    margin-right: 30px;    
}
.page_item {
    display: block;
    padding-top: 15px;
    padding-right: 10px;
    padding-bottom: 15px;
    padding-left: 10px;
    text-align: center;
    border: 1px solid #DCDCDC;
    border-radius: 5px;
}

.page_item:hover{
    background-color: #E6FAEA;    
}
.page_item a{
    display: block; 
}

/* 校舎の変遷 */
.kousya{
    font-size: 13px;    
}
#top6line{
    padding-top: 30px;
    padding-bottom: 30px;
}
.topbr{
    border: 0;
    height: 1px;
    background: #DBEBDA;
    background-image: -webkit-linear-gradient(left, #DBEBDA, #649458, #DBEBDA);
    background-image:    -moz-linear-gradient(left, #DBEBDA, #649458, #DBEBDA);
    background-image:     -ms-linear-gradient(left, #DBEBDA, #649458, #DBEBDA);
    background-image:      -o-linear-gradient(left, #DBEBDA, #649458, #DBEBDA);
    }


/* メインメニュー　PC用
------------------------------------------------------------*/
@media only screen and (min-width: 1025px){

 #bn_inside{
    width: 1025px;
    margin-left: auto;
    margin-right: auto;
    text-align: left;
    padding-left: 15px;    
    }
#bn_inside img{
    margin-left: 8px;
    margin-right: 8px;
    }   



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

nav#mainNav{
clear:both;
position:relative;
z-index:200;
background:rgb(81, 42, 98);
}

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

nav#mainNav ul li:first-child{border-left:1px solid #877032;}

nav#mainNav ul li a{
display: block;
text-align: center;
_float:left;
color:#fff;
height:35px;
line-height:35px;
padding:10px 40px 5px;
}

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

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

nav#mainNav ul li.current-menu-item, nav#mainNav ul li:hover, nav#mainNav ul li.current-menu-parent{
background:#6B007A;
}

nav#mainNav ul ul{width:160px;}

nav#mainNav ul li ul{display: none;}

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

nav#mainNav ul li li{
padding:0 0 0 10px;
margin:0;
float: none;
height:40px;
line-height:40px;
width:160px;
border:0;
background:#513d06;
border-bottom:1px solid #877032;
}

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

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

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

nav#mainNav ul li li:hover{background:#473505;}

nav#mainNav ul li:hover ul li:last-child{
border:0;
}
    /* トップページ 最新記事6件
------------------------------------------------------------*/
.flexbox {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}
.item {
    width: 31%;
    margin-top: 15px;
    margin-bottom: 15px;
  }
.item img{
    width: 100%;
    height: auto;
  }
#backimage{
    background-image: url(images/back.png);
    background-repeat: no-repeat;
    background-position: 100% 100%;

}

    
}


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

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

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

nav#mainNav a.menuOpen{
background:rgb(81, 42, 98) url(images/menuOpen.png) no-repeat 5px -35px;
}

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

nav#mainNav ul li a,nav#mainNav ul li.current-menu-item li a{
display: block;
padding:15px;
text-align:left;
color:#333;
border-bottom:1px dotted rgb(81, 42, 98);
}

nav#mainNav ul li a span{display:none;}
 
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;
background:rgb(81, 42, 98);
}

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

#header ul li a,#header ul li a:hover{background-position:0 50%;}
        /* トップページ 最新記事6件
------------------------------------------------------------*/
.flexbox {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}
.item {
    width: 31%;
        margin-top: 15px;
    margin-bottom: 15px;
  }
.item img{
    width: 100%;
    height: auto;
  }
    /* トップバナー
------------------------------------------------------------*/

#topbn a{
width: 55%;
height: auto;
}
    #header h2{
    padding: 0px 0px 0;
    text-align: center;
}
}


/* 959px以下から 1カラム表示
------------------------------------------------------------*/
@media only screen and (max-width: 959px){

h2.title{
    font-size: 200%;

}
.post h1{
    font-size: 150%;
}

.post h2{
    font-size: 130%;
}

.post h3{

    font-size: 120%;
}

.post h4{
    font-size: 110%;
}

.post h5{
    font-size: 100%;

}

.post h6{
    font-size: 95%;
}

#wrapper, #header, .inner{width:100%;}
#header h1, #header p{padding:5px 10px;}
#header h2{
    padding: 0px 0px 0;
    text-align: center;
}
#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 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:31%;height:auto;}



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

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

#calendar_wrap table{margin:0 auto;width:300px;}
.thumbWrap li{
    width: 250px;
    margin-top: 20px;
    margin-right: 0px;
    margin-left: 0;
    margin-bottom: 0;
    padding: 2px 0 40px;
}
    .thumbWrap li img{
    width: 100%;
        height: auto;

}
        /* トップページ 最新記事6件
------------------------------------------------------------*/
.flexbox {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}
.item {
    width: 31%;
        margin-top: 15px;
    margin-bottom: 15px;
  }
.item img{
    width: 100%;
    height: auto;
  }
    /* トップバナー
------------------------------------------------------------*/

#topbn a{
width: 60%;
height: auto;
}

}


/* 幅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;}
.flexbox {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}
.item {
    width: 48%;
        margin-top: 15px;
    margin-bottom: 15px;
  }
.item img{
    width: 100%;
    height: auto;
  }
img.alignleft{
	margin-top: 10;
	margin-right: auto;
	margin-bottom: 10;
	margin-left: auto;
	text-align: center;
	display: block;
		padding-top: 10px;
	padding-bottom: 10px;
}
img.alignright{
	margin-top: 10;
	margin-right: auto;
	margin-bottom: 10;
	margin-left: auto;
	text-align: center;
	display: block;
	padding-top: 10px;
	padding-bottom: 10px;
}
.alignright{
	float: none;
}
.alignleft{
	float: none;
}
    
    /* トップバナー
------------------------------------------------------------*/

#topbn a{
width: 70%;
height: auto;
}
}




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



}
