@charset "utf-8";
/*
Theme Name: sen
Theme URI: http://senryaku.jp/
Description: sen
Version: 1.0
Author: senryaku
Author URI: http://senryaku.jp/

	The CSS, XHTML and design is released under GPL:
	http://www.opensource.org/licenses/gpl-license.phph4
*/

/* =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: 14px "メイリオ","Meiryo",arial,"ヒラギノ角ゴ Pro W3","Hiragino Kaku Gothic Pro",Osaka,"ＭＳ Ｐゴシック","MS PGothic",Sans-Serif;
color:#333;
-webkit-text-size-adjust: none;
background:#FFFDEE;
}

html{background:url(images/bg.png);}


/* リンク設定
------------------------------------------------------------*/
a{
margin:0;
padding:0;
text-decoration:none;
outline:0;
vertical-align:baseline;
background:transparent;
font-size:100%;
color:#313131;
}

a:hover, a:active{
outline: none;
color:#0044CC;
}

/**** Clearfix ****/
nav .panel:after, nav#mainNav:after, .newsTitle:after, .bg:after,.post:after, ul.post li:after,nav#mainNav .inner:after{content:""; display: table;clear: both;}
nav .panel,nav#mainNav,.newsTitle,.bg, .post, ul.post li,nav#mainNav .inner{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: #a5c254;
background: -moz-linear-gradient(top, #a5c254 0%, #87a438 100%);
background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#a5c254), color-stop(100%,#87a438));
background: -webkit-linear-gradient(top, #a5c254 0%,#87a438 100%);
background: -o-linear-gradient(top, #a5c254 0%,#87a438 100%);
background: linear-gradient(to bottom, #a5c254 0%,#87a438 100%);
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#a5c254', endColorstr='#87a438',GradientType=0 );
border:0;
border-radius:3px;
-webkit-border-radius:3px;
-moz-border-radius:3px;
line-height:1.5;
font-size:120%;
color:#fff;
}

input[type="submit"]:hover,input[type="reset"]:hover,input[type="button"]:hover{
background: #87a438;
background: -moz-linear-gradient(top, #87a438 0%, #a5c254 100%);
background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#87a438), color-stop(100%,#a5c254));
background: -webkit-linear-gradient(top, #87a438 0%,#a5c254 100%);
background: -o-linear-gradient(top, #87a438 0%,#a5c254 100%);
background: linear-gradient(to bottom, #87a438 0%,#a5c254 100%);
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#87a438', endColorstr='#a5c254',GradientType=0 );
cursor:pointer;
}
*:first-child+html input[type="submit"]{padding:3px;}


/* レイアウト
------------------------------------------------------------*/
#wrapper, .inner{
margin:0 auto;
width:880px;
}

#header{
overflow:hidden;
}

#content{
float:right;
width:627px;
padding:12px 0 50px;
}

#sidebar{
float:left;
width:245px;
padding:12px 0 50px;
}

#footer{
clear:both;
} 

table {
  width: auto;
  border-spacing: 0;
  font-size:14px;
}
table th {
  color: #000;
  padding: 8px 15px;
  background: #258;
  background:-moz-linear-gradient(rgba(34,85,136,0.7), rgba(34,85,136,0.9) 50%);
  background:-webkit-gradient(linear, 100% 0%, 100% 50%, from(rgba(34,85,136,0.7)), to(rgba(34,85,136,0.9)));
  font-weight: bold;
  border-left:1px solid #258;
  border-top:1px solid #258;
  border-bottom:1px solid #258;
  line-height: 120%;
  text-align: center;
  text-shadow:0 -1px 0 rgba(34,85,136,0.9);
  box-shadow: 0px 1px 1px rgba(255,255,255,0.3) inset;
}
table th:first-child {
  border-radius: 5px 0 0 0;	
}
table th:last-child {
  border-radius:0 5px 0 0;
  border-right:1px solid #258;
  box-shadow: 2px 2px 1px rgba(0,0,0,0.1),0px 1px 1px rgba(255,255,255,0.3) inset;
}
table tr td {
  padding: 8px 15px;
  border-bottom: 1px solid #84b2e0;
  border-left: 1px solid #84b2e0;
  text-align: center;
}
table tr td:last-child {
  border-right: 1px solid #84b2e0;
  box-shadow: 2px 2px 1px rgba(0,0,0,0.1);
}
table tr {
  background: #fff;
}
table tr:nth-child(2n+1) {
  background: #f1f6fc;
}
table tr:last-child td {
  box-shadow: 2px 2px 1px rgba(0,0,0,0.1);
}
table tr:last-child td:first-child {
  border-radius: 0 0 0 5px;
}
table tr:last-child td:last-child {
  border-radius: 0 0 5px 0;
}
table tr:hover {
  background: #bbd4ee;
  cursor:pointer;
}
/* ヘッダー
*****************************************************/

/* サイト説明文
----------------------------------*/
#header h1{padding:0px 0;
font-size:150%;
font-weight:normal;
text-shadow: 2px 2px 1px #8d8d8d;
}


/* ロゴ (サイトタイトル)
----------------------------------*/
#header #topb{
clear:both;
float:left;
padding:0px 8px 9px 3px;

}
#header img{
max-width:100%;height:auto;}
#header img:hover{
cursor:pointer;
opacity:.4;
}
/*ここからタイトル画像右側のリンク*/
#header #toi {
	float: right;
	margin: 0px;
	padding:0px;
max-width:100%;height:auto;
}

#header #toi a{
	display: block;
	width: 330px;
	height: 80px;
background-image: url(images/logo5.jpg);
	color: #121212;
	text-decoration: none;
	margin: 0px;
	padding: 0px;
}
#header #toi span{
	display: none;
	}
#header #toi:hover{
cursor:pointer;
opacity:.6;}
/*ここまでタイトル画像右側のリンク*/

/* トップページ　メイン画像
----------------------------------*/
#mainImg{
clear:both;
margin:10px;
line-height:0;
text-align:center;
z-index:0;
}

#mainImg a:hover{opacity:.8;}


.post{
margin:1px 0 20px 0;
padding:20px 30px 20px 30px;
border:1px solid #dcdcdc;
background: #fff;
}
.toppage h4{
margin:0 0 10px;
font-size:16px;
font-weight:normal;
color:#333;
}
.toppage h3{font-size:120%;}
.toppage{padding:10px 10px 20px 20px;}


/* 記事ループ
*****************************************************/
.list{
padding:10px 0;
border-bottom:1px dashed #dcdcdc;
}

.list:last-child{border:0;}

.post .list p{padding:0;}

.list span{padding-left:10px;}


/* タイポグラフィ
*****************************************************/
#content a{color:#0044CC;
	text-decoration:underline;}
#content a:hover{color: #3aa941;}

/*ここからパンくずリスト*/
div.breadcrumb {
	font-size: 90%;
	margin: -15px 5px 5px 10px;
	padding: 0px;
}
/*ここまでパンくずリスト*/
#new-comments li
{

	background:url(images/comment.png) no-repeat;
  background-color: transparent;
    background-attachment: scroll;
  background-position: 0% 0%;
  background-clip: border-box;
  background-origin: padding-box;
  background-size: auto auto;
  padding-top: 0px;
  padding-right: 1px;
  padding-bottom: 0px;
  padding-left: 18px;

}
#new-comments li ul li{

	background:url(images/post.gif) no-repeat;
}
h2.title{
margin:0;
padding:20px 10px 20px 17px;
font-size:26px;
font-weight: bold;
line-height: 48px;
color:#00;
border-bottom:1px solid #3c94ec;
background:#fff 
}

.dateLabel{
text-align:right;

color:#858585;
}

.post p{padding-bottom:20px;
	font-size:115%;
line-height: 25px;
}
.post p.f1 {
	background-color: #F7F8ED;/*背景色*/
	padding: 7px;
	border: 1px solid #767A4B;/*ボーダーの色*/
}
.post p.f2 {
	font-size: 120%;
}
.post p.f3 {
	padding: 7px;
	border: 2px dotted #ffad33;/*ボーダーの色*/
	background-color: #d4e7ff;/*背景色*/
}
.post p.f4 {
	padding: 7px;
	border: 1px dotted #767A4B;/*ボーダーの色*/
}

.bg_gray {
	background-color: #d3d3d3;/*グレイ*/
	color: #000000;
}
.red {
	color:#FF0000;/*赤*/
}
.blue {
	color: #FFFFFF;/*白*/
	background-color: #16a7ec
}
#buwake {
 margin: 5px;
 background-color: #f9fff4;
 border : 2px dotted #3366ff;
  }
.kgreen {
 margin: 5px;
 background-color: #ccffcc;
 border : 1px solid #3366ff;
 padding: 15px;
  }
.korange {
 margin: 5px;
 background-color: #ffcc99;
 border : 1px solid #3366ff;
  }
b {
	font-size: 100%;
	margin: 5px 0px;
	border-bottom: 5px solid #32833A;/*下のボーダーの色*/;
	padding: 15px 15px 0px 10px;
}
strong{
	font-weight:bold;
}
em{font-size: 90%;
color:#A9A9A9;
	
}
.post ul{margin: 0 0 10px 15px;}

.post ul li{
margin-bottom:20px;
padding-left:15px;
background:url(images/bullet.png) no-repeat 0 8px;
font-size: 14px;
}

.post ol{margin: 0 0 10px 15px;}
.post ol li{list-style:decimal;}
.post ol li a{list-style:decimal;font-size:16px;}

.post h2{
margin:10px 0;
padding-bottom:2px;
font-size:140%;
font-weight:700;
color: #333;
border-bottom:2px solid #515151;


}

.post h3{
margin:10px 0;
font-size:120%；
font-weight:normal;
color:#336600;
border-bottom:4px solid #38d83e;
}
.post h3.h3_2{
margin:10px 0;
font-size:120%；
font-weight:normal;
color:#336600;
border-bottom:2px solid #38d83e;
}
.post h3.h3_4{
	border-left: 10px solid #228225;
	padding-left: 10px;
	margin: 10px 10px 10px 0px;
	padding: 3px;
	border-bottom: medium solid #38d83e;
	font-size:120%;
}
h3.h3_5{
margin: 20px 20px;
font-size: 36px;
font-weight: 600;
text-align: center;
letter-spacing: 3px;
color: #FFF;
text-shadow: 0px 1px 4px #000;
}
/*ここまでh3の見出し*/
h4{
	font-weight: bolder; 
	border-bottom: medium solid #38d83e;
	font-size:110%;
	margin-bottom: 10px;
}
h5{
	border-bottom: medium solid #38d83e;
	font-size:100%;
	margin-bottom: 10px;
}
/*ここから定義型リスト*/
.post dl {
	margin: 20px 0px;
	font-size:110%;
}
.post dl dt {
	font-weight: bold;
	text-decoration: underline;
}
.post dl dd {
	margin: 0px 20px 10px 25px;
}
.post dl.dl_1 dt {
	color: #FFFFFF;/*文字の色*/
	text-decoration: none;
	background-color: #607B4A;/*背景色*/
	padding: 3px 20px 0px 12px;
}
.post dl.dl_2 dt {
	text-decoration: none;
	padding: 3px 20px 0px 12px;
	border-bottom: 1px dotted #333333;
}
/*ここまで定義型リスト*/
.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;
}
.post img.link{
display: block;
margin:5px auto;
}
.post img.link:hover{
cursor:pointer;
opacity:.8;
}

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;}

#gallery-1 img{
border:1px solid #eaeaea !important;
padding:5px;
background:#fff;
}

#gallery-1 img:hover{background:#fffaef;}



/* サイドバー　ウィジェット
*****************************************************/
section.widget ul, .widget_search, #calendar_wrap, .textwidget{
margin:1px 0 20px 0;
padding:10px 3px 10px 7px;
border:1px solid #dcdcdc;
background: #fff;
}

section.widget ul ul{
border:0;
margin:0;
padding:0 0 0 14px;
}
p.side{
font-size:120%;
font-weight:bold;
text-align:center;
}
p.side img{
max-width:233px;
height:auto;
}
p.link{
border-bottom:1px dashed #000;
color:#3ad541;
	text-decoration:underline;
text-align:center;
}
p.banner{padding-bottom:5px;}

p.banner img{
max-width:233px;
height:auto;
margin-left:5px;
}

p.banner img:hover{
cursor:pointer;
opacity:.6;
}

section.widget h3{
clear:both;
font-family: "Arial"; 
margin:0;
padding:7px 5px 7px 16px;
font-size:110%;
font-weight: 900; 
color:#fff;
border-bottom:1px solid #3c94ec;
background:#3c94ec url(images/headingBg.png) repeat-x;
}

section.widget li a{
display:block;
padding:7px 7px 7px 7px;
background:url(images/arrow.gif) no-repeat 0 12px;
border-bottom:1px dashed #000;
}
section.widget ul ul li a{
display:block;
padding:7px 0px 7px 7px;
background:url(images/arrow2.gif) no-repeat 0 12px;
border-bottom:1px dashed #000;
}
section.widget li:last-child a{border:0;}

#searchform input[type="text"]{
line-height:1.7;
height:24px;
width:90px;
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{color:#84a038;font-weight:bold;}


/* お知らせ　
-------------*/
.newsTitle{
clear:both;
margin:0;
padding:7px 10px 7px 17px;
font-size:110%;
color:#fff;
border-bottom:1px solid #a2bd34;
background:#839e39 url(images/headingBg.png) repeat-x;
}

.newsTitle h3{
float:left;
font-weight:normal;
}

.newsTitle p{
float:right;
padding:0 0 0 10px;
font-size:80%;
background:url(images/arrow.gif) no-repeat 0 5px;
}

.newsTitle p a{color:#fff;}

.news p{
clear:both;
padding-bottom:2px;
border-bottom:1px dashed #dcdcdc;
}

.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:#515151;
font:normal 90% Arial, 'ヒラギノ角ゴ Pro W3','Hiragino Kaku Gothic Pro','ＭＳ Ｐゴシック',sans-serif;
}

.news span{padding-left:10px;}

.news a:hover span{color:#84a038;}



/* フッター
*****************************************************/
#footer ul{
padding:15px 0 25px;
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:#000;
}

#footer li a:hover{color:#999;}

#footer ul ul{display:none;}

#copyright{
clear:both;
padding:10px 0 37px;
text-align:center;
color:#000;
font-size:10px;
}


/* page navigation
------------------------------------------------------------*/
.pagenav{
clear:both;
width: 100%;
height: 30px;
margin: 5px 0 20px;
}

.prev{float:left}

.next{float:right;}

#pageLinks{
clear:both;
color:#4f4d4d;
text-align:center;
}


/* トップページ 最新記事4件
------------------------------------------------------------*/
ul.post{
padding:0;
}

ul.post li{
margin:0 10px;
padding:20px 0 15px;
border-bottom:1px dashed #dcdcdc;
}

ul.post li:last-child{border:0;}

ul.post img{
float:left;
margin:0 15px 5px 10px;
}

ul.post h3{
margin:0 0 10px 10px;
font-size:120%;
font-weight:normal;
color:#333;
border:0;
}
/* ＷＰソーシャル
------------------------------------------------------------*/
.wp_social_bookmarking_light{
    border: 0 !important;
    padding: 0 !important;
    margin: 0 !important;
}
.wp_social_bookmarking_light div{
    float: left !important;
    border: 0 !important;
    padding: 0 !important;
    margin: 0 5px 0px 0 !important;
    height: 23px !important;
    text-indent: 0 !important;
}
.wp_social_bookmarking_light img{
    border: 0 !important;
    padding: 0;
    margin: 0;
    vertical-align: top !important;
}
.wp_social_bookmarking_light_clear{
    clear: both !important;
}
.wsbl_twitter{
    width: 100px;
}
/* メインメニュー　PC用
------------------------------------------------------------*/
@media only screen and (min-width: 971px){
  nav#mainNav{
	clear:both;
	position:relative;
	z-index:200;
	width:880px;
	padding:0 0px;
	margin:0 auto;
	background:url(images/mainNav.png) repeat-x 0 0;
	}

	nav#mainNav ul li{
	float: left;
	position: relative;
	background:url(images/mainNavSep.png) no-repeat 100% 6px;
	}
	
	nav#mainNav ul li a{
	display: block;
	text-align: center;
	_float:left;
	color:#fff;
	height:35px;
	line-height:45px;
	font-size:110%;
	font-weight:bold;
	margin-right:10px;
	padding:10px 20px 0;
	background:url(images/mainnavBg.png) repeat-x 0 0;
	}
	
	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%;
	color:#fff;
	font-weight:normal;
	}

	nav div.panel{
  display:block !important;
  float:left;
  }
  
  a#menu{display:none;}
  
  nav#mainNav ul li.current-menu-item a, nav#mainNav ul li a:hover, nav#mainNav ul li.current-menu-parent a{
  background:url(images/mainnavBg.png) repeat-x 0 100%;
  }
  
  nav#mainNav ul ul{width:160px;}
  
  nav#mainNav ul li ul{display:none;}
  
  nav#mainNav ul li:hover ul{
  display: block;
  position: absolute;
  top:42px;
  left:0;
  z-index:500;
  }
	
  nav#mainNav ul li li{
	margin:0;
  float: none;
  height:35px;
  line-height:35px;
  width:160px;
	background:none;
  }
	
  nav#mainNav ul li li a, nav#mainNav ul li.current-menu-parent li a,nav#mainNav ul li.current-menu-item li a{
  width:100%;
  height:35px;
	padding:0 0 0 10px;
  line-height:35px;
  font-size:95%;
  text-align:left;
	background:url(images/mainnavBg.png) repeat-x 0 -6px;
  }
	
	nav#mainNav ul li li.current-menu-item a,nav#mainNav ul li li a:hover{background:#87a438;}
}

.ss{display: none ;		/* 非表示にする */}	
/* メインメニュー iPadサイズ以下から
------------------------------------------------------------*/
@media only screen and (max-width:970px){
	nav#mainNav{
	clear:both;
	width:880px;
	margin:0 auto 10px;
	background:#fbfaf9 url(images/mainnavBg.png) repeat-x 0 -5px;
	border:1px solid #e8e5e0;
	}
	
	nav#mainNav a.menu{
	width:100%;
	display:block;
	height:44px;
	line-height:37px;
	font-weight: bold;
	text-align:left;
	color:#fff;
  background: url(images/menuOpen.png) no-repeat 5px 8px;
	}
	
	nav#mainNav a#menu span{padding-left:35px;}
	
	nav#mainNav a.menuOpen{
	background: url(images/menuOpen.png) no-repeat 5px -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;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 10px;
	text-align:left;
	border-bottom:1px dashed #fff;
	color:#fff;
	background:#87a438;
	}
	
	nav#mainNav ul li:last-child a{border:0;}
	nav#mainNav ul li li:last-child a{border:0;}
	nav#mainNav ul li li:last-child a{border-bottom:1px dashed #fff;}

 	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;
	background:#a5c254;
	}

	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:40px;
	background:#87a438 url(images/sub1.png) no-repeat 20px 18px;}

	nav#mainNav ul li li.current-menu-item a,nav#mainNav ul li li a:hover, nav#mainNav ul li.current-menu-item li a:hover{
		background:#a5c254 url(images/sub1.png) no-repeat 20px 18px;}
	
	nav#mainNav ul li li:last-child a{background:#87a438 url(images/subLast.png) no-repeat 20px 20px;}
	nav#mainNav ul li li:last-child.current-menu-item a,nav#mainNav ul li li:last-child a:hover,nav#mainNav ul li.current-menu-item li:last-child a:hover{background:#a5c254 url(images/subLast.png) no-repeat 20px 20px;}
	
	nav div.panel{float:none;}
	
	#mainImg{margin-bottom:20px;}
}


/* 959px以下から 1カラム表示
------------------------------------------------------------*/
@media only screen and (max-width: 959px){
  #wrapper, .inner{width:100%;}

	#header{width:100%;}
#header #toi{width:99%;height:auto;
text-align:center;
background:white;
border: inset 2px #038dc8;
background-image:none;
margin: 0px 0px 20px 0px;
	padding: 0px;}
#header #toi span{display: block;
float:none;}
#header #toi a{	
width:96%;
height:auto;
text-align:center;
background-image:none;
	text-decoration: underline;
	margin: 0px;
	padding: 0px;
}

	.contact{padding:10px 0 10px;}

  nav#mainNav{width:95%;}

	nav#mainNav ul{margin:0 auto;}
	nav#mainNav ul ul{padding:0;}

	nav div.panel{float:none;}
	
	#mainImg img{width:100%;height:auto;margin:0px 0px;}

#toptoi #toi, #header #topb {width:98%;height:auto;text-align:center;}
	#content, #sidebar{clear:both;width:100%;float:none;margin:0 auto;padding:10px 0px;}
		.side{width:100%;margin:0 auto;text-align:center;}
  p.side img{width:100%;height:auto;}
section.widget ul, .widget_search, #calendar_wrap, .textwidget{
margin:1px 0 20px 0;
padding:10px 15px 20px 10px;
border:1px solid #dcdcdc;
background: #fff;
font-size:14px;
}
	.banner{width:100%;margin:0 auto;text-align:center;}
  p.banner img{width:100%;height:auto;}
	section.widget_search{text-align:center;}
	#calendar_wrap table{width:260px;}
	#footer li{margin-bottom:10px;}
}
/* 幅644px以下から ヘッダー等微調節
------------------------------------------------------------*/
@media only screen and (max-width: 644px){
#mainImg{display: none ;		/* 非表示にする */}	
.ss{display: block ;		/* 表示にする */
width:100%;height:auto;}
#toptoi{display: none ;		/* 非表示にする */}
.post{padding:20px 10px 20px 10px;}
	nav#mainNav{width:98%;}
	#header{text-align:center;background-image:none;}
#topb img{width:98%;height:auto;margin:0px 0px;}
	#header #topb,.contact{float:none;margin:auto;padding:10px 0px;}
	.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;}
}
