@charset "utf-8";
/*
Theme Name: template
Theme URI: http://theme.o2gp.com/
Description: template
Version: 1.0
Author: o2 Group
Author URI: http://theme.o2gp.com/

	o2 Group v1.0
	 http://theme.o2gp.com/

	This theme was designed and built by o2 Group,
	whose blog you will find at http://theme.o2gp.com/

	The CSS, XHTML and design is released under GPL:
	http://www.opensource.org/licenses/gpl-license.php
*/

/* =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/1.5 "メイリオ","Meiryo",arial,"ヒラギノ角ゴ Pro W3","Hiragino Kaku Gothic Pro",Osaka,"ＭＳ Ｐゴシック","MS PGothic",Sans-Serif;
color:#333;
-webkit-text-size-adjust: none;
background: rgba(0, 0, 0, 0) url("/wp-content/themes/viz/img/haikei.png") repeat scroll 0 0;
}


/* リンク設定
------------------------------------------------------------*/
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:#0d74ab;
}


/**** 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: #f1ead7;
background: -moz-linear-gradient(top, #f1ead7 0%, #b9ae73 100%);
background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#f1ead7), color-stop(100%,#b9ae73));
background: -webkit-linear-gradient(top, #f1ead7 0%,#b9ae73 100%);
background: -o-linear-gradient(top, #f1ead7 0%,#b9ae73 100%);
background: linear-gradient(to bottom, #f1ead7 0%,#b9ae73 100%);
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#f1ead7', endColorstr='#b9ae73',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: #f1ead7;
background: -moz-linear-gradient(top, #b9ae73 0%, #f1ead7 100%);
background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#b9ae73), color-stop(100%,#f1ead7));
background: -webkit-linear-gradient(top, #b9ae73 0%,#f1ead7 100%);
background: -o-linear-gradient(top, #b9ae73 0%,#f1ead7 100%);
background: linear-gradient(to bottom, #b9ae73 0%,#f1ead7 100%);
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#b9ae73', endColorstr='#f1ead7',GradientType=0 );
cursor:pointer;
}

*:first-child+html input[type="submit"]{padding:3px;}


/* レイアウト
------------------------------------------------------------*/
#wrapper, .inner{
margin:0 auto;
width:880px;
}

#header {
    margin: 0 auto;
    overflow: hidden;
    width: 950px;
}


#maincontent {
    background: #fff none repeat scroll 0 0;
    border: 15px solid #f1ead7;
    margin: 20px auto 0;
    padding: 20px;
    width: 880px;
    max-width: 100%;

}


#content {
    float: left;
    padding: 20px 0 50px;
    width: 600px;
}


#sidebar {
    float: right;
    padding: 20px 0 50px;
    width: 250px;
}

#footer{
    border-top: 1px solid #ccc;
    clear: both;
    padding: 15px 0 0;

} 


/* ヘッダー
*****************************************************/

/* サイト説明文
----------------------------------*/
#header h1{
clear:both;
float:left;
padding:15px 0px 9px;
color: #515151;
font-size:160%;
font-weight:bold;
}


/* ロゴ (サイトタイトル)
----------------------------------*/
#header h2{
clear:both;
float:left;
padding:15px 0px 9px;
color: #515151;
font-size:160%;
font-weight:bold;
}

h2#creive {
    position: relative;
    padding-left: 35px;
    border-bottom: 3px solid #8EC31E;
    color: #f333;
    font-size: 25px;
    line-height; 29px;
}

h2#creive:before {
    position: absolute;
    top: 11px;
    left: 0;
    width: 16px;
    height: 16px;
    border: 2px solid #8EC31E;
    content: "";
}

h2#creive:after {
    position: absolute;
    top: 3px;
    left: 9px;
    width: 13px;
    height: 13px;
    border: 2px solid #8EC31E;
    content: "";
}

/* コンタクト
----------------------------------*/
.contact{
float:right;
padding:10px 0 0;
text-align:right;
}

.contact .tel{
margin-bottom:-5px;
font-size:220%;
font-weight:bold;
font-family:Arial, Helvetica, sans-serif;
}

.contact .tel span{font-size:80%;}


/* トップページ　メイン画像
----------------------------------*/
#mainImg{
clear:both;
margin-top:0px;
line-height:0;
text-align:center;
z-index:0;
}

.post{
margin:0 0 20px 0;
padding:20px 0;

background: #fff;
}

.toppage h4{
margin:0 0 10px;
font-size:16px;
font-weight:normal;
color:#333;
}

.toppage{padding:10px 0;}


/* 記事ループ
*****************************************************/
.list{
padding:10px 0;
border-bottom:2px dotted #f1ead7;
}

.list:last-child{border:0;}

.post .list p{padding:0;}

.list span{padding-left:10px;}


/* タイポグラフィ
*****************************************************/
#content a{color:#118ed1;}
#content a:hover{color:#0d74ab;}

h2.title{
clear:both;
margin:0;
padding:7px 10px 7px 10px;
font-size:18px;
color:#fff;
border-bottom:0;
background:#4a4a4a url(img/midashi.png) repeat-x 0 100%;
}

h2.title span{

}


.dateLabel{
text-align:right;
font-weight:bold;
color:#858585;
}

.post p{line-height: 150%;
margin: 1em 0;}

.post ul{margin: 0 0 10px 10px;}

.post ul 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:150%;
color: #000;
border-bottom:3px solid #000;
}

.post h2 {
    border-left: 10px solid #ccc;
    color: #333;
    
    font-size: 130%;
    font-weight: bold;
    margin: 10px 0;
    padding: 0 10px;
}

.jyukou {
    background-color: #f1ead7 !important;
    border-left: medium none !important;
    border-radius: 3px;
    color: #fff;
    font-size: 18px;
    font-weight: bold;
    margin: 12px 0 !important;
    padding: 10px !important;
    position: relative;
    box-shadow: 0px 2px 2px #b9ae73;
display: inline-block;
}
.jyukou::before {
    -moz-border-bottom-colors: none;
    -moz-border-left-colors: none;
    -moz-border-right-colors: none;
    -moz-border-top-colors: none;
    border-color: transparent transparent transparent #f1ead7;
    border-image: none;
    border-style: solid;
    border-width: 13px 0 13px 13px;
    content: "";
    display: block;
    height: 0;
    left: 25px;
    position: absolute;
    top: 40px;
    transform: rotate(-270deg);
    width: 0;
}

.top {
    border-bottom: medium none !important;
    margin: 0 !important;
}

    .post h3{
    	position:relative;
    	padding-left:30px;
    	border-bottom:2px solid #ccc;
    	font-weight: bold;
    	font-size: 18px;
    	margin: 10px 0;
    
    }
     
    .post h3:before{
    	content:''; 
    	border-radius:30px;
    	-webkit-border-radius:30px;
    	-moz-border-radius:30px; 
    	height:12px; 
    	width:12px; 
    	display:block; 
    	position:absolute; 
    	top:0px; 
    	left:7px; 
    	background-color:#b9ae73;
    	box-shadow: 0 0 2px 2px rgba(255,255,255,0.2) inset;
    	filter:alpha(opacity=50);
    	-moz-opacity:0.50;
    	-khtml-opacity: 0.50;
    	opacity:0.50;
    	z-index: 1;
    }
     
    .post h3:after{
    	content:''; 
    	border-radius:30px;
    	-webkit-border-radius:30px;
    	-moz-border-radius:30px; 
    	height:15px; 
    	width:15px; 
    	display:block; 
    	position:absolute; 
    	top:7px; 
    	left:2px; 
    	background-color:#dfd499;
    	box-shadow: 0 0 2px 2px rgba(255,255,255,0.2) inset
    }


.post h4{
clear:both;
margin:10px 0 0;
padding:7px 10px 7px 10px;
font-size:18px;
color:#fff;
border:1px solid #dcdcdc;
border-bottom:0;
background:#4a4a4a url(img/midashi4.png) repeat-x 0 100%;
}




.box1{
    background-image: linear-gradient(to top, #d2b16a 0%, #eaddc6 50%);
    margin: 0 0 20px;
    padding: 20px 20px 10px;

}

.box2 {
    border-bottom: 5px solid #b9ac79;
    border-left: 5px solid #b9ac79;
    border-right: 5px solid #b9ac79;
    margin: 0 0 20px;
    padding: 20px 20px 10px;
}

.box3 {
    background: #f5f5f5 none repeat scroll 0 0;
    border-color: #ccc;
    border-style: solid;
    border-width: 1px 1px 1px 20px;
    font-size: 16px;
    margin: 0 0 20px;
    padding: 20px;
}


.box4 {
    border-bottom: 2px dotted #f1ead7;
    margin: 0 0 30px;
    padding: 10px 0;
}

.kousibox {
    border-bottom: 1px dotted #ccc;
    border-top: 1px dotted #ccc;
    margin-top: 20px;
    padding: 5px 10px 0 5px;
}
.kousibox2 {
    border-left: 1px solid #ccc;
    box-shadow: -6px 0 6px -5px #ccc;
    padding: 0 0 0 20px;
}

.topbox {
    border-bottom: 2px dotted #f1ead7;
    margin: 0 0 10px;
    padding: 10px 0;
overflow: hidden;
}

.topbox img {
border: 1px solid #ccc;
margin: 0 20px 10px 0;
padding: 3px;
float: left;

}


.prof {
    border: 5px solid #f1ead7;
    border-radius: 50%;
    -moz-border-image: border-radius: 50%;
    -webkit-border-image: border-radius: 50%;
    height: 160px;
    width: 160px;
margin: 0 auto;
}
.prof img {
    border-radius: 50%;
    -moz-border-image: border-radius: 50%;
    -webkit-border-image: border-radius: 50%;
}

dl {
    line-height: 1.8em;
    overflow: hidden;
}
dl dd, dl dt {
    padding: 0 20px 0 50px;
    text-indent: -2.6em;
}
dl dt {
    margin: 20px 20px 0 0;
}
dl dd::first-letter, dl dt::first-letter {
    font-weight: bold;
    margin-right: 10px;
    padding: 5px;
}
dl dd {
    border-bottom: 2px dotted #f1ead7;
    margin: 20px 0 -1px;
    padding-bottom: 15px;
}
dl dt::first-letter {
    color: #b9ae73;
border: 1px solid;
box-shadow: 2px 2px 2px #b9ae73;
}
dl dd::first-letter {
    color: #ccc;
border: 1px solid;
box-shadow: 2px 2px 2px #b9ae73;
}

.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:#f5f5f5;
}

.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;}

#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:0 0 20px 0;
padding:10px 0px;

background: #fff;
}

section.widget ul ul{
border:0;
margin:0;
padding:0 0 0 10px;
}

p.banner{padding-bottom:15px;}

p.banner img{
max-width:250px;
height:auto;
}

p.banner img:hover{
cursor:pointer;
opacity:.8;
}

section.widget h3{
clear:both;
margin:0;
padding:7px 10px 7px 10px;
font-size:18px;
border:1px solid #dcdcdc;
border-bottom:0;
color:#fff;
background:#4a4a4a url(img/sidebar-midashi.png) repeat-x 0 100%;
}

section.widget h3 span{
p
}


section.widget li a{
display:block;
padding:7px 0 7px 12px;
background:url(images/arrow.gif) no-repeat 0 12px;
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{color:#118ed1;font-weight:bold;}


/* お知らせ　
-------------*/
.newsTitle{
clear:both;
margin:0;
padding:7px 10px 7px 10px;
font-size:18px;
border:1px solid #dcdcdc;
border-bottom:0;
color:#fff;
background:#4a4a4a url(images/headingBg.png) repeat-x 0 100%;
}

.newsTitle h3{
float:left;
font-weight:normal;
}

.newsTitle h3 span{
padding-left:20px;
background:url(images/headingBgSpan.png) no-repeat 0 3px;
}

.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 18px "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:#0d74ab;}



/* フッター
*****************************************************/
#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;

text-align:center;

}


/* 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: 1025px){
  nav#mainNav{
    background: #000 none repeat scroll 0 0;
    clear: both;
    margin: 0 auto;
    position: relative;
    width: 950px;
    z-index: 200;

	
	}
	
	nav#mainNav .inner{
	
width: 950px;
	}

	nav#mainNav ul li{
	display: table-cell;
width: 950px;

	position: relative;
	
	}
	
	nav#mainNav ul li a{
    background: rgba(0, 0, 0, 0) url("img/menu-bar.png") repeat-x scroll 0 0;
    color: #fff;
    display: block;
    font-size: 15px;
    height: 45px;
    line-height: 53px;
    padding: 10px 5px 0;
    text-align: center;

	}
	
	nav#mainNav ul li a span,nav#mainNav ul li a strong{
	display:block;
	font-size:11px;


	line-height:1.4;
	}
	
	nav#mainNav ul li a span{
	font-size:70%;
	
	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{
  padding:10px 5px 0;
  }
  
  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:40px;
  line-height:40px;
  width:160px;
	background:none;
  }
	
  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.current-menu-item li a, nav#mainNav ul li.current-menu-parent li a{padding:0 0 0 10px;}
	
	nav#mainNav ul li li.current-menu-item a,nav#mainNav ul li li a:hover{padding:0 0 0 10px;background:#000;border-top:1px solid #333;}

}

/* メインメニュー iPadサイズ以下から
------------------------------------------------------------*/
@media only screen and (max-width:1024px){
  nav#mainNav{width:100%;}

	nav#mainNav{
	clear:both;
	width:950px;
	margin:0 auto 10px;


	}

	
	nav#mainNav a.menu{
	width:100%;
	display:block;
	height:37px;
	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:block !important;
	width:98%;
	position: relative;
	right: 0;
	top:0;
	z-index: 1;
	}

		nav#mainNav ul {
-moz-column-count: 2;
-webkit-column-count: 2;
-o-column-count: 2;
-ms-column-count: 2;

-moz-column-gap: 1px;
-webkit-column-gap: 1px;
-o-column-gap: 1px;
-ms-column-gap: 1px;
    margin: 0 auto;
    text-align: center;
    width: 100%;
}

	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{
    background: #f1ead7 none repeat scroll 0 0;
    border-top: 1px solid #000;
    color: #666;
    display: block;
    padding: 10px;
    text-align: left;
height: 15px;

	}
	


 	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:#a28a5d;
	}

	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:#474747 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:#000 url(images/sub1.png) no-repeat 20px -62px;}
	
	nav#mainNav ul li li:last-child a{background:#474747 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:#000 url(images/subLast.png) no-repeat 20px -65px;}

	
	nav div.panel{float:none;}
	
	#mainImg{margin-bottom:20px;}
	
	h2.title span,section.widget h3 span,.newsTitle h3 span{background-position: 0 50%;}
}


/* 959px以下から 1カラム表示
------------------------------------------------------------*/
@media only screen and (max-width: 959px){
  #wrapper, .inner{width:100%;}


#header h1 img {
    float: none;
    padding: 0;
    margin: 0 auto;
max-width: 100%;
}

#header h1 {
    float: none;
    max-width: 100%;
    text-align: center;
}

.prof {
    margin: 0 auto;
}
	#header{width:96%;padding:0 2%;}
	
	.contact {
    float: none;
    padding: 0 0 20px;
    text-align: center;
    max-width: 100%;
display: none;
}

	.contact img {
    max-width: 100%;
}


  nav#mainNav{width:95%;}

	nav#mainNav ul {
-moz-column-count: 2;
-webkit-column-count: 2;
-o-column-count: 2;
-ms-column-count: 2;

-moz-column-gap: 1px;
-webkit-column-gap: 1px;
-o-column-gap: 1px;
-ms-column-gap: 1px;
    margin: 0 auto;
    text-align: center;
    width: 100%;
}
	nav#mainNav ul ul{padding:0;}

	nav div.panel{float:none;}
	
	#maincontent {
    background: #fff none repeat scroll 0 0;
    border: 5px solid #f1ead7;
    margin: 10px auto 0;
    padding: 5px;
    width: auto;
    max-width: 100%;
}

#mainImg img{width:95%;
max-width:95%;
}

#mainImg {height:auto;
    margin-bottom: none;
    clear: both;
    line-height: 0;
    margin-top: 15px;
margin-bottom: 0px;
    text-align: center;
    z-index: 0;

}


	#content, #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;}
	
}


/* 幅644px以下から ヘッダー等微調節
------------------------------------------------------------*/
@media only screen and (max-width: 644px){
	nav#mainNav{width:98%;}
	#header{text-align:center;background-image:none;}
	#header h2,.contact{float:none;}
	.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;}

.topbox img {
    display: block;
    float: none;
    margin: 15px auto;
    width: 85%;
}

}