@charset "utf-8";
/*
Theme Name: hirasawa_shogai
Theme URI: http://www.nagaoka-shogai.com/
Author: K-net
Author URI: http://www.tsubame-k.net/
*/

/* =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: 15px/1.7 "メイリオ","Meiryo",arial,"ヒラギノ角ゴ Pro W3","Hiragino Kaku Gothic Pro",Osaka,"ＭＳ Ｐゴシック","MS PGothic",Sans-Serif;
color:#333;
-webkit-text-size-adjust: none;
background:#fff;
}
.grecaptcha-badge{visibility: hidden;}

#lpbg{background:#fff url(images/lpbg0.png) repeat-x center top;}
.none{display:none;}

/* リンク設定
------------------------------------------------------------*/
a{
margin:0;
padding:0;
text-decoration:underline;
outline:0;
vertical-align:baseline;
background:transparent;
font-size:100%;
color:#E13800;
}

a:hover, a:active{
text-decoration:none;
outline: none;
color:#6f6f6f;
}

a img {
	-webkit-transition: 0.3s ease-in-out;
	   -moz-transition: 0.3s ease-in-out;
	     -o-transition: 0.3s ease-in-out;
	        transition: 0.3s ease-in-out;
}
a:hover img {
	opacity: 0.6;
	filter: alpha(opacity=60);
}

/**** 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;}

.brc{
clear:both;
}

.mtop15{
margin-top:15px;
}

.mtop30{
margin-top:30px;
}

.mr15{
margin-right:15px;
}

.ml15{
margin-left:15px;
}

.hdn{display:none;}

/* フォーム
------------------------------------------------------------*/
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: #878787;
background: -moz-linear-gradient(top, #878787 0%, #6f6f6f 100%);
background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#878787), color-stop(100%,#6f6f6f));
background: -webkit-linear-gradient(top, #878787 0%,#6f6f6f 100%);
background: -o-linear-gradient(top, #878787 0%,#6f6f6f 100%);
background: linear-gradient(to bottom, #878787 0%,#6f6f6f 100%);
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#878787', endColorstr='#6f6f6f',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: #878787;
background: -moz-linear-gradient(top, #6f6f6f 0%, #878787 100%);
background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#6f6f6f), color-stop(100%,#878787));
background: -webkit-linear-gradient(top, #6f6f6f 0%,#878787 100%);
background: -o-linear-gradient(top, #6f6f6f 0%,#878787 100%);
background: linear-gradient(to bottom, #6f6f6f 0%,#878787 100%);
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#6f6f6f', endColorstr='#878787',GradientType=0 );
cursor:pointer;
}

*:first-child+html input[type="submit"]{padding:3px;}

span.wpcf7-list-item {
display: block;
}

/* レイアウト
------------------------------------------------------------*/
#wrapper, .inner{
margin:0 auto;
width:960px;
background:#fff;
}

#header{
overflow:hidden;
background:#fff url(images/sitebg.png) repeat-x top;
}

#header2{
height:110px;
}

#header2 .inner{
background:#fff;
overflow:auto;
}

#content{
float:right;
width:700px;
padding:22px 0 50px;
font-size:17px;
}

#content2{
width:960px;
padding:22px 0 50px;
font-size:17px;
}

#sidebar{
float:left;
width:233px;
padding:22px 0 50px;
}

#footer{
clear:both;
background:#1F598B url(images/footerbg.png) no-repeat right top;
} 


/* ヘッダー
*****************************************************/

/* サイト説明文
----------------------------------*/
#header h1{
padding:5px 0;
font-size:80%;
font-weight:normal;
}

#header2 h1{
padding:5px 10px;
font-size:80%;
font-weight:normal;
}

.tpimg{
margin:15px auto 0;
}


/* ロゴ (サイトタイトル)
----------------------------------*/
#header h2{
clear:both;
float:left;
padding:15px 5px 0;
color: #515151;
font-size:160%;
font-weight:bold;
}

#header2 h2{
clear:both;
float:left;
padding:15px 10px 0;
}

.fukidashi{
margin:0 0 0 280px;
position:absolute;
z-index:1000;
float:left;
}


/* コンタクト
----------------------------------*/
.contact{
float:right;
text-align:right;
color:#000;
font-size:90%;
}

.contact .tel{
margin-bottom:-3px;
font-size:180%;
font-family:Arial, Helvetica, sans-serif;
}

#header .contact{
float:right;
margin-top:-10px;
}

#header2 .contact{
float:right;
margin-top:-10px;
margin-right:10px;
}


/* トップページ　メイン画像
----------------------------------*/
#mainImg{
clear:both;
margin-top:25px;
line-height:0;
text-align:center;
z-index:0;
}

.anicom{
text-align:center;
position:absolute;
margin:-320px -590px 0 300px;
z-index:1;
}

.post{
margin:0 0 20px 0;
padding:20px 10px 20px 20px;
background: #fff;
}

.toppage h4{
margin:0 0 10px;
font-size:16px;
font-weight:normal;
color:#333;
}

.toppage{padding:10px 10px 0px 20px;}

.topbana{
margin:0 auto;
text-align:center;
}

.topbana img{
margin:15px 10px 0 0;
float:left;
}


/* 記事ループ
*****************************************************/
.list{
padding:10px 0;
border-bottom:1px dashed #dcdcdc;
}

.list:last-child{border:0;}

.post .list p{padding:0;}

.list span{padding-left:10px;}


/* タイポグラフィ
*****************************************************/
h2.title{
clear:both;
margin:0;
padding:7px 10px 7px 10px;
font-size:130%;
color:#333;
border-left:4px solid #168FD1;
border-right:0;
border-bottom:0;
border-top:0;
background:url(images/hicom.png) no-repeat right;
}

.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:5px;
}

.post ol{margin: 0 0 10px 30px;}

.post ol li{list-style:decimal;}

.post hr{
border-bottom:1px dashed #666;
border-top:0px;
border-right:0px;
border-left:0px;
}

.post h1{
margin:20px 0;
padding:5px 0;
font-size:150%;
color: #000;
border-bottom:3px solid #000;
}

.post h2{
clear:both;
margin:10px 0;
padding-bottom:2px;
font-size:130%;
font-weight:normal;
color: #333;
border-bottom:2px solid #515151;
}

.post h3{
clear:both;
margin:15px 0 10px;
padding:3px 10px 3px 10px;
font-size:100%;
font-weight:normal;
color:#fff;
background:#168fd1 url(images/navibg.png);
border-left:4px solid #ff9900;
}

.post h3 a{color:#fff;}
.post h3 a:hover{color:#ccc;}

.post h3.qa-faq-title a{color:#ff6633;}
.post h3.qa-faq-title a:hover{color:#993300;}

.post h4{
margin:0 0 10px;
font-size:16px;
font-weight:bold;
color:#333;
padding-top:5px;
padding-left:5px;
background:#ff9966;
}

.sgl h3{
clear:both;
margin:15px 0 10px;
padding:3px 10px 3px 10px;
font-size:100%;
font-weight:normal;
color:#333;
background:#fff;
border-left:4px solid #168fd1;
}

.post h3 a{text-decoration:none;}

.post .topnews{
clear:both;
margin:15px 0 10px;
padding:3px 10px 3px 10px;
font-size:100%;
font-weight:normal;
color:#333;
background:none;
border-left:4px solid #ff9900;
}

ul.newslist li{
border-bottom:dotted 1px #ccc;
}

.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:#e0e8e9;
}

.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;}
.alcenter{text-align:center; margin:0 auto;}

.txtalright{
text-align:right;
}

.txtalleft{
text-align:left;
}

.f_b{
font-weight:bold;
}

.f_bb{
font-weight:bold;
font-size:110%;
}

.f_bbb{
font-weight:bold;
font-size:160%;
}

.f_br{
font-weight:bold;
color:#bb0000;
}

.f_bl{
font-weight:bold;
color:#168DCE;
}

.f_bg{
font-weight:bold;
color:#00bb00;
}

.f_s{
font-size:90%;
color:#666;
}

.f_sr{
font-size:90%;
color:#bb0000;
}

.f_bgg{
background:#e8f4fd;
padding:3px;
font-weight:bold;
}

.f_gg{
background:#e8f5fd;
padding:3px;
font-size:80%;
margin-right:10px;
}

.f_sbg{
font-size:130%;
font-weight:bold;
}

.f_sbg2{
margin:-25px 0 -10px;
text-align:right;
font-size:240%;
font-weight:bold;
letter-spacing: 0.05em;}

.stf_tx{
text-align:center;
font-size:140%;}

#gallery-1 img{
border:1px solid #eaeaea !important;
padding:5px;
background:#fff;
}

#gallery-1 img:hover{background:#fffaef;}

.btn_b{
clear:both;
padding-top:10px;
}

/* LP用
*****************************************************/
.lp_top{
z-index:0;
}

.lp_3pco{
margin:-300px 0 100px 0;
z-index:500;
}

.lp_3p{
margin-left:10px;
}

.lp_ctr{
clear:both;
text-align:center;
z-index:0;
margin:0 auto;
}

.lp_ph{
width:220px;
height:176px;
}

.post .lph3{
clear:both;
margin:15px 0 10px;
padding:3px 10px 3px 10px;
font-size:150%;
font-weight:bold;
color:#fff;
background:#168fd1 url(images/navibg.png);
border-left:4px solid #ff9900;
}

/* 固定ページ用
*****************************************************/
.tbl100{
width:100%;
}

.td20{
width:20%;
}

.th_10 th{
width:10%;
}

.th_15 th{
width:15%;
}

.th_20 th{
width:20%;
}

.th_25 th{
width:25%;
}

.th_30 th{
width:30%;
}

.tbl100s{
width:100%;
}

.tbl100s th{
font-size:90%;
padding:7px;
}

.tbl100s td{
font-size:90%;
padding:7px;
}

.semimg img{width:320px;height:auto;}

.check li {
list-style:url(images/check.png);
margin-left: 15px;
font-weight: bold;
font-size: 110%;
}

.check2 li {
list-style:url(images/check.png);
margin:10px 10px 10px 15px;
font-weight: normal;
font-size: 100%;
}

.post .qa-faq-title{
clear:both;
margin:15px 0 10px;
padding:3px 10px 3px 10px;
font-size:110%;
font-weight:normal;
color:#666;
border-left:4px solid #ff9900;
background:#fff9e9;
}

span.sansyo a {
padding:3px;
margin:5px;
text-align:right;
font-size:110%;
font-weight:bold;
color:#168fd1;
background:#e0e8e9;
}

span.sansyo a:hover{
color:#66cccc;
} 

.dotbox{
border:2px dashed #168fd1;
width:94%;
margin:10px 0;
padding:2%;
background:#fcfce4;
overflow:auto;
}

.disabbana{
margin:0 auto 20px;
}

.disabbana img{
margin:0 10px 15px 0;
float:left;
}


/* サイドバー　ウィジェット
*****************************************************/
section.widget ul, .widget_search, #calendar_wrap, .textwidget{
margin:0 3px 20px 0;
padding:10px 10px 10px 17px;
background: #E8F5FD;
}

section.widget ul ul{
border:0;
margin:0;
padding:0 0 0 10px;
}

p.banner{padding-bottom:15px;}

p.banner img{
max-width:233px;
height:auto;
}

p.banner img:hover{
cursor:pointer;
opacity:.8;
}

section.widget h3{
clear:both;
margin:0;
padding:7px 10px 7px 10px;
font-size:110%;
background:url(images/side_h3.png) no-repeat;
color:#fff;
}

section.widget li a{
text-decoration:none;
display:block;
padding:7px 0 7px 12px;
background:url(images/arrow.gif) no-repeat 0 15px;
border-bottom:1px dashed #dcdcdc;
}

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{font-weight:bold;}


/* お知らせ　
-------------*/
.newsTitle{
clear:both;
}

.newsTitle h3{
clear:both;
margin:0;
padding:7px 10px 7px 10px;
font-size:110%;
background:url(images/side_h3.png) no-repeat;
color:#fff;
}

.newsTitle p{
float:right;
padding:0 0 0 10px;
font-size:80%;
background:url(images/arrowWhite.gif) no-repeat 0 5px;
}

.news p{
clear:both;
padding-bottom:2px;
border-bottom:1px dashed #dcdcdc;
background: #E8F5FD;
}

.news p:last-child{border:0;}

.news p a{
text-decoration:none;
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 a:hover span{color:#6f6f6f;}

.snews{
margin:0 3px 20px 0;
padding:10px;
background: #E8F5FD;}

/* フッター
*****************************************************/
#footer {
padding-top:30px;
color:#fff;
font-size:90%;
}

#footer a{
text-decoration:none;
color:#ff9933;
}

#footer a:hover{
color:#fff;
}

#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:#fff;
}

#footer li a:hover{color:#999;}

#footer ul ul{display:none;}

#copyright{
clear:both;
padding:10px 0 15px;
text-align:center;
color:#ccc;
font-size:13px;
}


/* 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:14px;
font-weight:normal;
color:#333;
border:0;
}


/* メインメニュー　PC用
------------------------------------------------------------*/
@media only screen and (min-width: 981px){
  nav#mainNav{
	clear:both;
	position:relative;
	z-index:200;
	width:100%;
	background:url(images/navibg.png);
	}
	
	nav#mainNav .inner{
	padding-left:1px;
	background:url(images/mainNavSep.png) no-repeat 0 5px;
	}

	nav#mainNav ul li{
	float: left;
	position: relative;
	background:url(images/mainNavSep.png) no-repeat 100% 9px;
	}
	
	nav#mainNav ul li a{
	text-decoration:none;
	display: block;
	text-align: center;
	_float:left;
	color:#fff;
	height:40px;
	line-height:45px;
	font-size:100%;
	font-weight:normal;
	margin-right:1px;
	padding:10px 23px 5px;
	}
	
	nav#mainNav ul li a span,nav#mainNav ul li a strong{
	text-decoration:none;
	display:block;
	font-size:90%;
	line-height:1.4;
	}
	
	nav#mainNav ul li a span{
	font-size:70%;
	color:#ccc;
	font-weight:normal;
	font-family:"Times New Roman", Times, serif;
	}

	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 span, nav#mainNav ul li a:hover, nav#mainNav ul li.current-menu-parent a{
  color:#DAEDF8;
  }
  
  nav#mainNav ul ul{
	width:170px;
	border:1px solid #e0e0e0;
	border-top:0;
	}
  
  nav#mainNav ul li ul{display: none;}
  
  nav#mainNav ul li:hover ul{
  display: block;
  position: absolute;
  top:42px;
  left:-1px;
  z-index:500;
  }
	
  nav#mainNav ul li li{
	margin:0;
  float: none;
  height:40px;
  line-height:40px;
  width:170px;
	background:url(images/navibg.png);
	border-bottom:1px dotted #e0e0e0;
  }
	
	nav#mainNav ul li li:last-child{border:0;}
	
  nav#mainNav ul li li a{
  width:100%;
  height:40px;
	padding:0 0 0 10px;
  line-height:40px;
  font-size:95%;
  text-align:left;
  }
	
	nav#mainNav ul li li.current-menu-item a,nav#mainNav ul li li a:hover{color:#DAEDF8}

}

/* メインメニュー iPadサイズ以下から
------------------------------------------------------------*/
@media only screen and (max-width:980px){
	nav#mainNav{
	clear:both;
	width:960px;
	margin:0 auto 10px;
	border:1px solid #d5d5d5;
	}
	
	nav#mainNav a.menu{
	text-decoration:none;
	color:#FFF;
	width:100%;
	display:block;
	height:37px;
	line-height:37px;
	font-weight: bold;
	text-align:left;
	background:url(images/navibg.png);
	}
	
	nav#mainNav a#menu span{padding-left:15px;color:fff;}
	
	nav#mainNav a.menuOpen{
	background:url(images/navibg.png);
	}
	
	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:first-child{border-top:1px solid #d5d5d5;}
	nav#mainNav ul li li:first-child{border-top:0;}

	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 #ccc;
	background:#fff;
	text-decoration:none;
	}
	
	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 #ccc;}

 	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{
	background:#f6f6f6;
	}

	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:#fff 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:#f6f6f6 url(images/sub1.png) no-repeat 20px -62px;}
	
	nav#mainNav ul li li:last-child a{background:#fff 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:#f6f6f6 url(images/subLast.png) no-repeat 20px -65px;}
	
	nav div.panel{float:none;}
	
	#header2{height:auto;}
	#header h2{float:none;text-align:center;margin:0;}
	#header2 h2{float:none;text-align:center;margin:0;}
	#header .contact{float:none;text-align:center;margin-top:-30px;}
	#header2 .contact{float:none;text-align:center;margin-top:-30px;}
	#mainImg{margin-bottom:20px;}
	.anicom{
	visibility:hidden;
	margin:0px;
	}
	.tpimg img{width:98%;height:auto;margin:0 auto;}

	#wrapper div.topbana{text-align:center;margin:0 auto;}
	#wrapper div.topbana img {width:23%;}

	.post div.disabbana{text-align:center;margin:0 auto;}
	.post div.disabbana img {width:31%;}

.lp_3pco{margin-top:-150px;margin-bottom:5px;}
.lp_3p{width:30%;height:auto;margin-left:5px;}
	.sideimg {
    width: 100%;
    max-width: 31%;
    margin: 0 auto;
}
}

/* 1200px以下から 1カラム表示
------------------------------------------------------------*/
@media only screen and (max-width: 1850px){.fukidashi{display:none;}}

/* 959px以下から 1カラム表示
------------------------------------------------------------*/
@media only screen and (max-width: 959px){
  #wrapper, .inner{width:100%;}
	
	.contact{padding:10px 0 10px;}
	#header2 .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:98%;height:auto;}

	#content, #content2, #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;}
	section.widget_search{text-align:center;}
	#calendar_wrap table{width:260px;}
	
	#footer li{margin-bottom:10px;}
	
	#wrapper div.topbana{text-align:center;margin:0 auto;}
	#wrapper div.topbana img {width:47%;}

	.post div.disabbana{text-align:center;margin:0 auto;}
	.post div.disabbana img {width:31%;}
	.lp_ph{
	max-width:500px;
	max-height:400px;
	height:auto;
	width:auto;}
	.hira {margin:10px auto;width:100%;max-width:31%;}
}

/* 幅644px以下から ヘッダー等微調節
------------------------------------------------------------*/
@media only screen and (max-width: 644px){
	nav#mainNav{width:98%;}
	#header{text-align:center;background-image:none;}
	#header2{text-align:center;background-image:none;}
	#header h2 img{float:none; width:98%;}
	#header2 h2 img{float:none; width:98%;}
	.contact img{float:none; width:98%;}
	.contact{padding:0 0 20px;}
	.contact p{text-align:center;}
	#header2 .contact{padding:0;}
	#header2 .contact p{text-align:center; margin-top:20px;}
	#headerInfo{width:250px;margin:0 auto;}
	img.alignright, img.alignleft{display: block;	margin:5px auto;}
	.alignright,.alignleft{float:none;}
	.post div.disabbana{text-align:center;margin:auto;}
	.post div.disabbana img {width:47%;}
	.lp_3pco{margin-top:-100px;margin-bottom:5px;}
	.ml15 img{width:80%;height:auto;}
	#sidebar {clear: both;width: 55%;float: none;margin: 0 auto;padding: 10px 0;}
	.sideimg {
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
}
	.hira {
    margin: 10px auto;
    width: 100%;
    max-width: 100%;
}
}