@charset "utf-8";

body {
	max-width: 800px;
	margin: 0px;
	padding: 0px;
	margin-right: auto;
	margin-left : auto;

	-webkit-text-size-adjust: none;
	color: #666;	/*全体の文字色*/
	font-family: "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "メイリオ", Meiryo, Osaka, "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;	/*フォント種類*/
	font-size: large;	/*文字サイズ*/
	line-height: 2;	/*背景色*/
	background-color: #FFFBF0;
}
 #container h2 {
	background-color: #2ABFAA;
	padding: 10px;
	height: auto;
	width: auto;
	color: #FFF;
	text-transform: capitalize;
	letter-spacing: 0.2em;
	border-radius: 5px;
	font-size: large;
	line-height: 1.5em;
}
#container h3 {
	border-top-width: medium;
	border-right-width: medium;
	border-bottom-width: medium;
	border-left-width: medium;
	border-right-style: none;
	border-bottom-style: double;
	border-left-style: double;
	border-top-color: #2ABFAA;
	border-right-color: #2ABFAA;
	border-bottom-color: #2ABFAA;
	border-left-color: #2ABFAA;
	margin-left: auto;
	padding-left: 10px;
	font-size: large;
	line-height: 1.5em;
}
#container p {
	padding-left: 10px;
	font-size: medium;
	line-height: 1.5em;
}
/* メインメニュー　PC用
------------------------------------------------------------*/
@media only screen and (min-width: 1025px){
  nav#mainNav{
	clear:both;
	position:relative;
	z-index:200;
	width:100%;
	}

	nav#mainNav .inner{
	padding-left:1px;
	border-left:1px dotted #93d0e5;
	}

	nav#mainNav ul li{
	float: left;
	position: relative;
	border-right:1px dotted #93d0e5;
	}

	nav#mainNav ul li a{
	display: block;
	text-align: center;
	_float:left;
	color:#252525;
	height:34px;
	line-height:45px;
	font-size:110%;
	margin-right:1px;
	padding:10px 40px 5px;
	}

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

	nav#mainNav ul li a span{
	font-size:70%;
	color:#93d0e5;
	font-weight:normal;
	}

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

	nav#mainNav ul ul{
	width:160px;
	border-top:0;
	}

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

	nav#mainNav ul li:hover ul{
	display: block;
	position: absolute;
	top:49px;
	left:-1px;
	z-index:500;
	border-bottom:2px solid #93d0e5;
	}

	nav#mainNav ul li li{
	margin:0;
	float: none;
	height:40px;
	line-height:40px;
	width:160px;
	background:#eaf8ff;
	border:none;
	border-bottom:1px dotted #93d0e5;
	}

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

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

}


/* メインメニュー iPadサイズ以下から
------------------------------------------------------------*/
@media only screen and (max-width:1024px){
	nav#mainNav{
	clear: both;
	width: 880px;
	margin: 0 auto 10px;
	border: 1px solid #e8e5e0;
	border-radius: 6px;
	background-color: #A6CAF0;
	}
	
	nav#mainNav a.menu{
	width:100%;
	display:block;
	height:37px;
	line-height:37px;
	font-weight: bold;
	text-align:left;
  background: url(images/menuOpen.png) no-repeat 5px 8px;
	}
	
	nav#mainNav a#menu span{padding-left:35px;}
	
	nav#mainNav a.menuOpen{
	border-radius:6px 6px 0 0;
	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 #e5e5e5;
	background:#f3f3f3;
	}
	
	nav#mainNav ul li:last-child a{border:0;border-radius:0 0 6px 6px;}
	nav#mainNav ul li li:last-child a{border:0;border-radius:0;}
	nav#mainNav ul li li:last-child a{border-bottom:1px dashed #e5e5e5;}

 	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:#fff;
	}
	
	nav#mainNav ul li.current-menu-item li a{color:#777}

	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:#f3f3f3 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:#fff url(images/sub1.png) no-repeat 20px -62px;}
	
	nav#mainNav ul li li:last-child a{background:#f3f3f3 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:#fff url(images/subLast.png) no-repeat 20px -65px;}
	
	nav div.panel{float:none;}
	
	#mainImg{
	margin-bottom: 5px;
}
}


/* 959px以下から 1カラム表示
------------------------------------------------------------*/
@media only screen and (max-width:959px){
  #wrapper, .inner{width:100%;}

	#header{width:96%;padding:0 2%;}
	
	.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, #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;}
	
	#footer li{margin-bottom:10px;}
	
}


/* 幅644px以下から ヘッダー等微調節
------------------------------------------------------------*/
@media only screen and (max-width: 644px){
	body{background-position:0 -25px;}
	#header h1{color:#333;}
	#header h2 img{max-width:90%;}
	nav#mainNav{width:98%;}
	#header{text-align:center;}
	#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;}
}
#wrapper #content section h3 {
	font-size: medium;
	font-style: normal;
	color: #007FAA;
	font-family: inherit;
	border-top-style: none;
	border-right-style: none;
	border-bottom-style: solid;
	border-left-style: double;
	border-top-width: 2px;
	border-right-width: 2px;
	border-bottom-width: 2px;
	border-left-width: 2px;
	border-top-color: #A6CAF0;
	border-right-color: #A6CAF0;
	border-bottom-color: #A6CAF0;
	border-left-color: #A6CAF0;
	padding: 7px;
}
/*画像の配置*/
p .migi {
  float: right;
  margin-left: 2em;
  margin-bottom: 1em;
}

p .hidari {
  float: left;
  margin-left: 0em;
  margin-bottom: 1em;
}
p .chuo {
	float: none;
	margin-left: 0em;
	margin-bottom: 1em;
	text-align: center;
}
img {
width:100%;
max-width: 100%;
height: auto;
}
#container table tr td p {
	line-height: 1.5em;
	padding-left: 10px;
}
.matomari {
	line-height: 1.2em;
}
