@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 "メイリオ","Meiryo",arial,"ヒラギノ角ゴ Pro W3","Hiragino Kaku Gothic Pro",Osaka,"ＭＳ Ｐゴシック","MS PGothic",Sans-Serif;
color:#333;
background: #fff; //ecf1f7;
-webkit-text-size-adjust: none;

}

strong{font-weight: bold;}

/* リンク設定
------------------------------------------------------------*/
a{
margin:0;
padding:0;
outline:0;
text-decoration:none;
vertical-align:baseline;
background:transparent;
font-size:100%;
color:#4f4d4d;
}

a:hover, a:active{
outline: none;
color:#4f4d4d;
text-decoration:none;
}

/**** 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:1.2em;
padding:1px 5px;
border:1px solid #d4d4d7;
font-size:100%;
color:#000;

}

textarea{
height:auto;
line-height:1.5;
}

input[type="submit"],input[type="reset"],input[type="button"]{
padding:3px 6px;
border:1px soild #333;
font-size:95%;
}




/* レイアウト
------------------------------------------------------------*/
#wrapper, #shukuhaku,.inner{
margin:0 auto;
width:980px;
}

#header{
overflow:hidden;
}

#header div.inner{border-top:4px solid #E60000;}

#shukuhaku{text-align:center;}

#shukuhaku p{
margin-top:7px;
margin-left:10%;
border:3px double #E60000;
width:80%;
text-align:center;
}
#shukuhaku a{
letter-spacing: 0.2em;
font-weight:bold;
font-size:140%;
color:#E60000;
}

#headerInfo{
float:right;
text-align:right;
padding-top:12px;
padding-bottom:4px;
font-size:90%;
color:#000;
letter-spacing: 0.2em;
line-height:1.5em;
}

#content{
float:left;
width:764px;
padding:15px 0 50px 0 ;
}

#content_left{
float:left;
width:367px;
padding:0px 10px 0 0;
}

#content_right{
float:left;
width:367px;
padding:0px 10px 0 10px;
}

#content a,#content_left a,#content_right a{
text-decoration:underline;
color:#333399;
}

#content a:hover, #content a:active,#content_left a:hover, #content_left a:active,#content_right a:hover, #content_right a:active{
text-decoration:none;
color:#663399;
}

#sidebar{
float:right;
width:213px;
padding:15px 0px 50px 0px;
}

#footer{
clear:both;
} 


/* ヘッダー
*****************************************************/

/* サイト説明文
----------------------------------*/
#header h1{
padding:5px 0;
font-size:90%;
font-weight:normal;
}


/* ロゴ (サイトタイトル)
----------------------------------*/
#header h2{
clear:both;
float:left;
padding:0px;
}


/* トップページ　メイン画像
----------------------------------*/
#mainImg{
clear:both;
line-height:0;
text-align:center;
z-index:0;
margin-top: 10px;
}

.post,.kotei{
margin:0 0 20px 0;
padding:15px 10px 10px 20px;
}

.info{
margin:0 0 20px 0;
padding:15px 10px 10px 0px;
}


/* 記事ループ
*****************************************************/
.list{
padding:10px 0;
border-bottom:1px dashed #dcdcdc;
}

.list:last-child{border:0;}

.post .list p,.kotei .list p{padding:0;}

.list span{padding-left:10px;}


/* タイポグラフィ
*****************************************************/
h2.title{
clear:both;
margin:0px;
padding:7px 10px 7px 10px;
font-size:100%;
font-weight:bold;
color:#000;
background-color:#E0DEDA;
border-left:5px solid #E60000;
letter-spacing: 0.2em;
}

h2.kokai{
margin:0px;
padding:7px 10px 2px 10px;
font-size:140%;
font-weight:bold;
color:#E60000;
letter-spacing: 0.2em;
}

.dateLabel{
text-align:right;
font-weight:bold;
color:#858585;
}

.post p,.kotei p{padding-bottom:10px;}

.post ul,.kotei ul{margin: 0 0 10px 10px;}

.post ul li,.kotei ul li{
margin-bottom:5px;
padding-left:15px;
background:url(images/bullet.png) no-repeat 0 8px;
}

.info ul{margin: 0 0 10px 5px;}
.info ul li{
margin-bottom:15px;
padding-left:15px;
background:url(images/mark.png) no-repeat 0 5px;
}

.post ol,.kotei ol{margin: 0 0 10px 30px;}

.post ol li,.kotei ol li{list-style:decimal;}

.post h1,.kotei h1{
margin:20px 0;
padding:5px 0;
font-size:150%;
color: #000;
border-bottom:3px solid #000;
}

.post blockquote ,.kotei blockquote {
clear:both;
padding:10px 0 10px 15px;
margin:10px 0 25px 30px;
border-left:5px solid #ccc;
}
 
.post blockquote p,.kotei blockquote {padding:5px 0;}

.post table,.kotei table{
border: 1px #ccc solid;
border-collapse: collapse;
border-spacing: 0;
margin:10px 0 20px;
}

.post table th,.kotei table th{
padding:10px;
border: #ccc solid;
border-width: 0 0 1px 1px;
background:#efede7;
}

.post table td,.kotei table td{
padding:10px;
border: 1px #ccc solid;
border-width: 0 0 1px 1px;
}

.post dt,.kotei dt{font-weight:bold;}

.post dd,.kotei dd{padding-bottom:10px;}

.post img,.kotei img{max-width:100%;height:auto;}


.post h2{
margin:10px 0;
padding-bottom:2px;
font-size:130%;
font-weight:normal;
color: #333;
letter-spacing: 0.2em;
background: url(images/heading.png) no-repeat;
}

.post h3{
margin:10px 0;
font-size:120%;
font-weight:normal;
padding-left: 15px;
color:#2e2c2c;
letter-spacing: 0.1em;
}

.post h4{
margin:10px 0;
font-size:110%;
font-weight:bold;
color:#2e2c2c;
}

.kotei h3{
clear:both;
margin:7px 0px;
padding:8px 10px 8px 10px;
font-size:100%;
font-weight:bold;
color:#000;
background:#E0DEDA url(images/h3.gif) no-repeat 0 6px;
letter-spacing: 0.2em;
}

.kotei h3.org{
margin:7px 0px;
padding:8px 10px 8px 10px;
font-size:100%;
font-weight:bold;
color:#000;
background:#F7C5AB;
border: 1px #ccc solid;
letter-spacing: 0.2em;
}

.kotei h4{
clear:both;
margin:10px 0 5px 0;
padding-left:8px;
font-size:110%;
font-weight:bold;
background: url(images/h4.gif) no-repeat 0 6px;
}

.kotei h4.bk{
margin:10px 0 5px 0;
padding-left:3px;
font-size:110%;
font-weight:bold;
background: #ffffff;
color:#000;
}

.kotei span.org{
padding:0px 5px;
font-size:100%;
background:#F7C5AB;
border: 1px #ccc solid;
letter-spacing: 0.2em;
}
/* 各ページ用 */
.kotei h4.toiawase{
margin:5px 0 5px 0;
padding-left:8px;
font-size:100%;
font-weight:bold;
background: url(images/h3.gif) no-repeat 0 0px;
}

.kotei li.shikaku{
list-style: none;
list-style-image: url("images/h4.gif");
list-style-position:inside;
background:url(images/bullet.png) no-repeat -20px -20px;
}

.kotei div.toiawase{
padding:4px 8px;
border:1px solid #E0DEDA;
}

.kotei table.aboutus {
border:0px;
border-collapse: separate;
border-spacing:10px 8px;
}

.kotei table.aboutus th{
padding:3px;
border-bottom:1px #000000 solid;
border-left:0px;
background:#ffffff;
font-weight:bold;
}

.kotei table.aboutus td.col1{
padding:3px 3px 3px 10px;
background:#FDECDB url(images/h3.gif) repeat-y;
border-left: 0px;
border-bottom:1px #ffffff solid;
}

.kotei table.aboutus td.col2{
padding:3px;
border-left:1px #ffffff solid;
border-bottom:1px #ffffff solid;
background:#FAD9BE;
text-align:center;
}


img.aligncenter {
display: block;
margin:5px auto;
}

img.alignright, img.alignleft{
margin: 5px 5px 5px 5px ;
display:inline;
}

img.alignleft{margin:5px 5px 5px 5px;}

.alignright{float:right;}
.alignleft{float:left;}

#gallery-1 img{
border:1px solid #eaeaea !important;
padding:5px;
}

#gallery-1 img:hover{background:#fffaef;}


/* サイドバー　ウィジェット
*****************************************************/
section.widget ul, .widget_search, .textwidget{
margin:0 0 20px 0;
padding:0px 10px 10px 12px;
}

#calendar_wrap{
margin:0 0 5px 10px;
padding:0px 5px 3px 5px;
}

section.widget ul ul{
border:0;
margin:0;
padding:0 0 0 0px;
}

p.banner{padding-bottom:15px;}

p.banner img{
max-width:213px;
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%;
border:1px solid #eeeeee;
border-bottom:0;
color:#000;
background:url(images/heading2.png) repeat-x 0 100%;
}

section.widget li a{
display:block;
padding:0px 0 0px 0px;
}

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 {background:#d9d9d9;padding-bottom:0px;padding-top:5px;}
#calendar_wrap table{margin:0 auto;width:100%;border:1px solid #979695;}
#calendar_wrap table caption{padding:5px 0;text-align:center;font-weight:bold;}
#calendar_wrap table th, #calendar_wrap table td{padding:3px;text-align:center;background:#ffffff;border-bottom:1px solid #d9d9d9;}
#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;background:#e8e8ba;}
#calendar_wrap a.bnr{background:#d9d9d9;}
#calendar_wrap img {border:1px solid #979695;padding:0px;}
#calendar_wrap p {padding-top:3px;}

.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:#6f6f6f;}

/* フッター
*****************************************************/

#footer {
background-color:#D9D9D9;
}

#copyright{
padding:10px 0 17px;
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;
}

/* メインメニュー　PC用(1025pxから920pxに変更)
------------------------------------------------------------*/
@media only screen and (min-width: 920px){
  nav#mainNav{
	clear:both;
	position:relative;
	z-index:200;
	width:100%;
	}

	nav#mainNav .inner{
	padding-left:1px;
	border-left:1px solid #E60000;
	border-top:1px solid #E60000;
	border-bottom:1px solid #E60000;
	border-right:1px solid #E60000;
	}

	nav#mainNav ul li{
	float: left;
	position: relative;
	border-right:1px solid #E60000;
	}

	nav#mainNav ul li a{
	display: block;
	text-align: center;
	_float:left;
	color:#E60000;
	height:1.3em;
	font-size:110%;
	font-weight:bold;
	margin-right:1px;
	padding:10px 25px 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:90%;
	color:#E60000;
	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:#E60000;
	}


	nav div.panel{
  display:block !important;
  float:left;
  }
  
  a#menu{display:none;}

}

/* メインメニュー iPadサイズ以下から(1024pxを919pxに変更)　グローバルナビ変更
------------------------------------------------------------*/
@media only screen and (max-width:919px){
	nav#mainNav{
	clear:both;
	width:880px;
	margin:20px auto 10px;
	background:#fbfaf9 url(images/mainnavBg.png) repeat-x 0 -5px;
	border:1px solid #E60000;
	border-radius:6px;
	}
	
	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 #E60000;
	background:#ffffff;
	}

 	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{
	}
	
	nav#mainNav ul li.current-menu-item li a{color:#E60000}
	
	nav div.panel{float:none;}
	
	#mainImg{margin-bottom:20px;}
}


/* 959px以下から 1カラム表示
------------------------------------------------------------*/
@media only screen and (max-width: 900px){
  #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;}
}

/* オリジナル追加
------------------------------------------------------------*/
p.contact{}

span.maru{color:#E60000;}
hr{clear:both;border: 0;border-bottom: 1px dashed #ccc;}

.box{clear:both;}
.box_img{padding:0px 20px 15px 0px;}

.kotei h4.red{margin:5px;background: #ffffff;}
.kotei h5.list{border-left:5px solid #E60000;font-weight:bold;padding:3px 10px;}
.kotei h5.list2{border-left:5px solid #1D2380;font-weight:bold;padding:3px 10px;}
.kotei h5.vm{border-left:5px solid #1D2380;font-weight:bold;padding:3px 10px;}
.kotei a.red,.kotei a.red:hover,.kotei a.red:active{color:#E60000;}

.kotei .top{border:1px solid #ccc; padding:3px 20px}

span.wpcf7-list-item {
display: block;
}