@charset "utf-8";

/* =Reset default browser CSS.
Based on work by Eric Meyer: http://meyerweb.com/eric/tools/css/reset/index.html
-------------------------------------------------------------- */
html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, font, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td {border: 0;font-family: inherit;font-size: 100%;font-style: inherit;font-weight: inherit;margin: 0;outline: 0;padding: 0;vertical-align: baseline;}
:focus {outline: 0;}

ol, ul {list-style: none;}
table {border-collapse: separate;border-spacing: 0;}
caption, th, td {font-weight: normal;text-align: left;}
blockquote:before, blockquote:after,q:before, q:after {content: "";}
blockquote, q {quotes: "" "";}
a img {border: 0;}
article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section {display: block;}

body{
font:80%/1.5 "meirio", "Lucida Grande", Arial, "メイリオ","ヒラギノ角ゴ Pro W3","Hiragino Kaku Gothic Pro","ＭＳ Ｐゴシック",sans-serif;
color:#252525;
-webkit-text-size-adjust: none;
background:url(images/bg.png);
}
.23{
	width:23%;
}
.11{
	width:11%;
}
.gmap{
	width:200px;
	height:200px;
	frameborder:0;
	scrolling:no;
	marginheight:0;
	marginwidth:0 ;
}

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

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


/**** Clearfix ****/
nav .panel:after, nav#mainNav:after, .newsTitle:after, .bg:after,.post:after{content:""; display: table;clear: both;}
nav .panel,nav#mainNav,.newsTitle,.bg, .post{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: #2a588b;
background: -moz-linear-gradient(top, #2a588b 0%, #214a78 100%);
background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#2a588b), color-stop(100%,#214a78));
background: -webkit-linear-gradient(top, #2a588b 0%,#214a78 100%);
background: -o-linear-gradient(top, #2a588b 0%,#214a78 100%);
background: -ms-linear-gradient(top, #2a588b 0%,#214a78 100%);
background: linear-gradient(to bottom, #2a588b 0%,#214a78 100%);
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#2a588b', endColorstr='#214a78',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: #2a588b;
background: -moz-linear-gradient(top, #214a78 0%, #2a588b 100%);
background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#214a78), color-stop(100%,#2a588b));
background: -webkit-linear-gradient(top, #214a78 0%,#2a588b 100%);
background: -o-linear-gradient(top, #214a78 0%,#2a588b 100%);
background: -ms-linear-gradient(top, #214a78 0%,#2a588b 100%);
background: linear-gradient(to bottom, #214a78 0%,#2a588b 100%);
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#214a78', endColorstr='#2a588b',GradientType=0 );
}

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


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

#header{
overflow:hidden;
background:#fff;
}

#content{
float:left;
width:710px;
padding:30px 0;
}

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

#footer{
clear:both;
padding-top:20px;
background:#199ad6;
} 
#footer a{
	color:#fff;
}

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


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

#header p{
float:right;
}


/* ロゴ (サイトタイトル)
----------------------------------*/
#header h2{
clear:both;
float:left;
padding:30px 0;
color: #515151;
font-size:160%;
font-weight:bold;
}

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

#header ul li{
display:inline;
margin-left:10px;
font-size:90%;
}

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

#header ul li a:hover{background-position:3px 50%;}



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

.post{
margin:0 0 20px 0;
padding:10px;
border:1px solid #dadada;
background: #fff;
}

/* --- 新着情報エリア --- */
div.update {
	border:1px #c0c0c0 solid;
	

}
/* --- 新着リスト --- */
div.update dl {
width: 100%; /* 新着リストの幅 */
margin: 0px;
border-top: 1px #c0c0c0 dotted; /* 新着リストの上境界線 */
height:250px;
overflow-y:auto;
}

/* --- 日付エリア --- */
div.update dt {
width: 6.7em; /* 日付エリアの幅 */
float: left;
padding: 20px 0 20px 20px; /* 日付エリアのパディング（上右下左） */
line-height: 120%;
}

/* --- 本文エリア --- */
div.update dd {
margin: 0;
padding: 20px 3px 20px 6.6em; /* 本文エリアのパディング（上右下左） */
border-bottom: 1px #c0c0c0 dotted; /* 本文エリア下境界線 */
line-height: 120%;
}

/* --- clearfix --- */
.clearFix:after {
content: ".";
display: block;
height: 0;
clear: both;
visibility: hidden;
}
.clearFix {
min-height: 1px;
}
/* ========PAGETOP CUSTOMIZE========= */

#page-top {
	position: fixed;
	bottom: 20px;
	right: 20px;
	font-size: 77%;
}
#page-top a {
	background: #666;
	text-decoration: none;
	color: #fff;
	width: 100px;
	padding: 30px 0;
	text-align: center;
	display: block;
	border-radius: 5px;
	-webkit-border-radius: 5px;
	-moz-border-radius: 5px;
}
#page-top a:hover {
	text-decoration: none;
	background: #999;
}
/* タイポグラフィ
*****************************************************/
h2.title{
clear:both;
margin:30px 0 0;
padding:7px 10px;
font-size:100%;
border:1px solid #dadada;
border-bottom:0;
background:#fff url(images/border.png) repeat-x 0 100%;
}

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

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

.post ul.standard li{
margin-bottom:5px;
padding-left:15px;
background:url(images/bullet.png) no-repeat 0 8px;

}

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

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

.post h1{
margin:20px 0;
padding:5px 0;
font-size:100%;
color: #252525;
border-bottom:3px solid #ccc;
}

.post h2{
margin:10px 0;
padding-bottom:2px;
font-size:130%;
font-weight:normal;
color: #333;
border-bottom:2px solid #515151;
}

.post h3{
margin:10px 0;
font-size:120%;
font-weight:normal;
color:#214a78;
border-bottom:1px solid #515151;
background-image:url(images/common/h3-back.png);
background-repeat:no-repeat;
padding-left:30px;
}

.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.pattern_1{
border: 1px #214a78 solid;
border-collapse: collapse;
border-spacing: 0;
margin:10px 0 20px;
width:100%;
}

.post table.pattern_1 th{
padding:7px 10px 7px 5px;
border: #214a78 solid;
border-width: 0 0 1px 1px;
font-weight:bold;
color:#fff;
background:#214a78;
text-align:center;
}

.post table.pattern_1 td{
padding:3px 5px;
border: 1px #214a78 solid;
border-width: 0 0 1px 1px;
background:#fff;
text-align:center;

}
.post table.pattern_1 td span{
	font-size:28px;
}
/*テーブル*/
.post table.pattern_2{
border: 1px #214a78 solid;
border-collapse: collapse;
border-spacing: 0;
margin:10px 0 20px;
}

.post table.pattern_2 th{
padding:7px 10px 7px 5px;
border: #214a78 solid;
border-width: 0 0 1px 1px;
font-weight:bold;
color:#fff;
background:#214a78;
text-align:center;
}

.post table.pattern_2 td{
padding:7px 5px;
border: 1px #214a78 solid;
border-width: 0 0 1px 1px;
background:#fff;
text-align:left;
}

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



/* サイドバー　ウィジェット
*****************************************************/
section.widget, .widgetInfo{
margin: 0 0 20px;
padding: 10px 7px;
border:1px solid #dadada;
background: #fff;
}

#banners img{
max-width:225px;
height:auto;
padding-bottom:10px;
}

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

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

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

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


/* お知らせ　
-------------*/
.newsTitle{
clear:both;
margin:0 0 20px;
padding:5px 0;
font-size:100%;
color: #333;
border-bottom:1px dotted #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 dotted #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:#515151;
font:normal 90% Arial, 'ヒラギノ角ゴ Pro W3','Hiragino Kaku Gothic Pro','ＭＳ Ｐゴシック',sans-serif;
}

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

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

/* ボックスシャドウ ----------------------------------------- */

.Shadow {
	background: #fff;
	padding: 20px 12px 12px;
	position:relative;
	margin-bottom: 10px;
}


.Shadow.LocalNav {
	padding: 50px 0 3px;	
}

/* サイド　--------------------------------------------------- */

.SideBox { border: 3px solid #61c4e4;}

#SideCL p img { margin-bottom: 10px;}

#SideCL ul {
	margin: 5px 0 10px;
	padding: 0 0 8px 0;
	border-bottom: 1px dashed #000;
}

#SideCL ul li {
	font-size: 1.3em;
	color: #5d4520;	
}

#SideCL ul li img { margin-right: 5px;}

#SideCL dl dt {
	margin-bottom: 15px;	
}

#SideCL dl {
	position: relative;
	width:87%;
}

#SideCL a {
	display:block;
	position:absolute;
	top: 2px;
	right:4px;
}
#ht {
	height: 90px;
}


/*#SideLink---------*/

#SideLink ul {
	margin: 5px 0 5px;
/*padding: 0 0 5px 0;*/
}

#SideLink ul li {
	font-size: 1em;
	background:url(../../img/sidebar/SideLinkBG.gif) 0 4px no-repeat;
	padding-left:10px;
	margin-bottom:5px;
	color: #5d4520;	
}

#SideLink ul li a {
	color:#5d4520;
}





#SideBannar li {
	margin-bottom: 5px;	
}

/*診療メニュー*/

.side_box {
	
	width: 100%;
	margin-bottom: 5px;
	padding-top: 0px;
	padding-bottom: 0px;
	
	border-radius: 5px;
	-webkit-border-radius: 5px;
	-moz-border-radius: 5px;
	-o-border-radius: 5px;


	box-shadow: 0px 0px 5px #999;
	-moz-box-shadow: 0px 0px 5px #999;
	-webkit-box-shadow: 0px 0px 5px #999;
}

.side_box .side_inbox {
	
	width: 100%;
	
	background-repeat: repeat-x;
	background-position: bottom;
	background-color: #ebebeb;
	padding-bottom:20px;	
	border-top-color: #FFFFFF;
	border-right-color: #FFFFFF;
	border-left-color: #FFFFFF;
}
.side_inbox ul{
	margin:0px;
	padding:0px;
	width:100%;
}


.side_inbox li {
	line-height:0;
	list-style:none;
	margin:0px;
	padding:0px 0 0 0px;
	background: url(../common/19.png) left no-repeat;
	
}
.side_inbox li a {
	display: block;
	font-size: 12px;
	line-height: 16px;
	color: #505050;
	text-decoration: none;
	padding-top: 13px;
	padding-right: 5px;
	padding-left: 25px;
	border-bottom-width: 1px;
	border-bottom-style: solid;
	border-bottom-color: #4f3220;
	background-repeat: no-repeat;
	border-bottom-width: 1px;
	border-bottom-style: dotted;
	border-top-color: #4f3220;
	height: 28px;
	margin: 0px 0px 0 0px;
	
}

.side_inbox li a:hover {
	color: #fff;
	background:#61c4e4;
}

.kensin {
	margin-left:13px;
}

/*診療メニューここまで*/

/**フォント設定**/
.moji_red{
	color:#F00;
}


/*パンクズリスト*/
#icatch-pankuzu {
   margin:0 auto;
   clear:both;
}

ol.topicPath {
	margin: 5px 0px 0px 0px;
	padding:10px 0px 0px 0px;
	list-style-type: none;
	font-size: 80%;
}
/* --- リスト項目 --- */
ol.topicPath li {
	display: inline;
}
/* --- リンク --- */
ol.topicPath li a {
	padding-right: 12px; /* リンクエリアの右パディング */
	color:#003399;
	background: url(../images/common/topic_path2.gif) no-repeat right; /* 区切りの記号 */
}


/* フッター
*****************************************************/
#footer ul{
padding-bottom:30px;
font-size:85%;
}

#footer ul li{
display:inline-block;
vertical-align:text-top;
text-align:left;
padding:5px 0;
margin-right:60px;
background:url(images/arrow.png) no-repeat 0 12px;
}

#footer ul li	a{
display:block;
padding:0 0 0 12px;
overflow:hidden;
}

#footer ul li	a:hover{text-decoration:underline;}

#footer ul li li{
display:block;
padding:0;
margin:0 0 0 10px;
background-position:0 5px;
}


*:first-child+html #footer ul li{display:inline;}
*:first-child+html #footer ul ul,*:first-child+html #footer ul li li a,*:first-child+html #footer ul li li{display:none;}

#copyright{
clear:both;
padding:10px;
text-align:center;
font-size:75%;
zoom:1;
color:#fff;
background:#199ad6;
}


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

.prev{float:left}

.next{float:right;}

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


/* トップページ 最新記事3件
------------------------------------------------------------*/
.thumbWrap{
width:735px;
margin:20px -25px 20px 0;
font-size:12px;
}

.thumbWrap li{
float:left;
width: 220px;
margin:0 25px 0 0;
padding:2px 0 40px;
background:none;
height:220px;
}

/* 最新記事リンク */
ul.thumb h3{
margin-top:10px;
padding:1px;
font-weight:normal;
font-size:100%;
text-align:center;
background:#fff;
border:1px solid #dadada;
}

ul.thumb h3 span{
display:block;
padding:2px 3px;
background:#fff;
}

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

ul.thumb h3:hover span{background:#f3f3f3;}

/*院内紹介の写真*/
/* --- リストエリア --- */
ul.thumbnail {
	width: 100%; /* リストエリアの幅 */
	padding: 0px; /* リストエリアのパディング（上、左右、下） */
	list-style-type: none;
	margin:0px;

}
/* --- リスト項目 --- */
ul.thumbnail li:first{
	float: left;
	padding:0px;
	list-style:none;
	margin-right:20px;
}

/* --- リスト項目 --- */
ul.thumbnail li{
	float: right;
	padding:0px;
	list-style:none;
	margin-right:20px;
}

/* --- 項目内容 --- */
ul.thumbnail dl {
	margin: 0 auto; /* 内容のセンタリング */
	font-size: 80%;
	padding:0px;
}

/* --- 写真エリア --- */
ul.thumbnail dt {
/* height: 102px; */ /* 写真エリアの高さ（dt要素の高さを指定する場合） */
	margin-bottom: 10px; /* 写真エリアの下マージン */
	padding:0px;
}
ul.thumbnail dt img {
border: 1px #cccccc solid; /* 写真の境界線 */
}

/* --- キャプションエリア --- */
ul.thumbnail dd {
margin: 0 0 3px; /* キャプションエリアのマージン（上、左右、下） */
font-size:12px;
line-height: 120%;
}

/* --- clearfix --- */
.clearFix:after {
content: ".";
display: block;
height: 0;
clear: both;
visibility: hidden;
}
.clearFix {
min-height: 1px;
}
/*アクセスマップの写真エリア*/
/*院内紹介の写真*/
/* --- リストエリア --- */
ul.thumbnail_ac {
	width: 100%; /* リストエリアの幅 */
	padding: 0px; /* リストエリアのパディング（上、左右、下） */
	list-style-type: none;
	margin:0px;

}
#access {
	width:650px;
}
#access #f_left {
		width:250px;
		float::left;
}

#access #f_right {
		width:250px;
		float:left;
		margin-left:10px;
}

/* --- リスト項目 --- */
ul.thumbnail_ac li:first{
	float: left;
	padding:0px;
	list-style:none;
	margin-right:20px;
}

/* --- リスト項目 --- */
ul.thumbnail_ac li{
	float: left;
	padding:0px;
	list-style:none;
	margin-right:20px;
}

/* --- 項目内容 --- */
ul.thumbnail_ac dl {
	margin: 0 auto; /* 内容のセンタリング */
	font-size: 80%;
	padding:0px;
}

/* --- 写真エリア --- */
ul.thumbnail_ac dt {
/* height: 102px; */ /* 写真エリアの高さ（dt要素の高さを指定する場合） */
	margin-bottom: 10px; /* 写真エリアの下マージン */
	padding:0px;
}
ul.thumbnail_ac dt img {
border: 1px #808080 solid; /* 写真の境界線 */
}

/* --- キャプションエリア --- */
ul.thumbnail_ac dd {
margin: 0 0 3px; /* キャプションエリアのマージン（上、左右、下） */
font-size:12px;
line-height: 120%;
}

/* --- clearfix --- */
.clearFix:after {
content: ".";
display: block;
height: 0;
clear: both;
visibility: hidden;
}
.clearFix {
min-height: 1px;
}

/* メインメニュー　PC用
------------------------------------------------------------*/
@media only screen and (min-width: 641px){
/* コンタクトインフォメーション
----------------------------------*/
#header .contactInfo{
float:right;
text-align:left;
width:330px;
}

.contactInfo div.time{background-image: url(images/banners/time.png);
background-position:0 18px;padding-top:40px}

.contactInfo div.tel{margin-top:20px;}

#header .contactInfo div.tel a{color:#fff;}
#sidebar .contactInfo div.tel a{color:#333;}

.contactInfo div.address{background-image:url(images/address.png);}

nav#mainNav{
clear:both;
position:relative;
z-index:200;
background:#199ad6;
}

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

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

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

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:#116890;
}

nav#mainNav ul li.current-menu-item a, nav#mainNav ul li a:hover, nav#mainNav ul li a:active, nav#mainNav ul li.current-menu-parent a{
background:#178cc2;
}

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

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

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

nav#mainNav ul li li{
padding:0 0 0 10px;
margin:0;
float: none;
height:40px;
line-height:40px;
width:160px;
background:#178cc2;
border:0;
border-bottom:1px solid #68bbe2;
}

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

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

}

nav#mainNav ul li li a span{padding:0 10px;}

nav#mainNav ul li li a:hover,nav#mainNav ul li li.current-menu-item a{color:#dbf4ff;}

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

nav div.panel{
display:block !important;
float:left;
}
  
a#menu{display:none;}


}

/* メインメニュー iPadサイズ以下から
------------------------------------------------------------*/
@media only screen and (max-width:640px){
	#header .contactInfo{
float:right;
text-align:left;
width:300px;
}

.thumbWrap li p{
	font-size:70%;
}

.contactInfo div.time{background-image: url(images/banners/time.png);
background-position:0 18px; font-size:70%;}

.contactInfo div.tel{background-image: url(images/banners/tel01-16.png);
background-repeat:no-repeat; padding-left:25px; margin-top:20px; font-size:70%;}

#header .contactInfo div.tel a{color:#fff;}
#sidebar .contactInfo div.tel a{color:#333;}

.contactInfo div.address{ font-size:70%;background-image:url(images/address.png);}
	
	
	#header h2 img{
		max-width:90%;
	}
	nav#mainNav{
	clear:both;
	width:98%;
	margin:10px auto;
	border:1px solid #d5d5d5;
	}
	
	nav#mainNav a.menu{
	width:100%;
	display:block;
	height:37px;
	line-height:37px;
	font-weight: bold;
	text-align:left;
  background:#fff url(images/menuOpen.png) no-repeat 5px 8px;
	}
	
	nav#mainNav a#menu span{padding-left:35px;}
	
	nav#mainNav a.menuOpen{
	background:#fff 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: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;
	}
	
	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;}
	
	#mainImg{margin-bottom:20px;}
}


/* 959px以下から 1カラム表示
------------------------------------------------------------*/
@media only screen and (max-width: 640px){
  	
	
	#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 img{width:98%;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 10px;}
  #banners p img{width:100%;height:auto;}
	
	section.widget_search{text-align:center;}

	#footer{margin:0;border:0;text-align:center;}
	
	#footer ul{	text-align:center;	}
	#footer ul li{margin-right:20px;}
	
	.thumbWrap{
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	-ms-box-sizing: border-box;
	box-sizing: border-box;
	width:100%;
	margin:0 auto;
	padding-top:20px;
	overflow:auto;
  border:1px solid #dadada;
	}
	.thumbWrap ul.thumb li{width:220px;margin:0 1% 0 2%;}
  .thumbWrap img{width:220px;height:auto;}
  
 ul.thumbnail li:first {
	
	padding:0px;
	list-style:none;
	margin-right:20px;
	
}
ul.thumbnail li{
	
	padding:0px;
	list-style:none;
	margin-right:20px;
}
}


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

@media only screen and (max-width: 320px){
/* コンタクトインフォメーション
----------------------------------*/
#header .contactInfo-address{
text-align:left;
}

#header .contactInfo div.tel{background-image: url(images/banners/tel01-16.png);
background-repeat:no-repeat; padding-left:25px; margin-top:20px;}{
}

.contactInfo div.time{background-image: url(images/banners/time.png);
background-position:0 18px;}


#header .contactInfo div.tel a{color:#fff;}
#sidebar .contactInfo div.tel a{color:#333;}

.contactInfo div.address{background-image:url(images/address.png);}
.thumbWrap{
width:100%;
margin:20px -25px 20px 0;
font-size:14px;
}
}
