@charset "utf-8";

/* =Reset default browser CSS.
Based on work by Eric Meyer: https://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:85%/1.5 "メイリオ","Meiryo",arial,"ヒラギノ角ゴ Pro W3","Hiragino Kaku Gothic Pro",Osaka,"ＭＳ Ｐゴシック","MS PGothic",Sans-Serif;
color:#252525;
-webkit-text-size-adjust: none;
background:#e4dccc;
}


/* リンク設定
------------------------------------------------------------*/
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;}



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

#header{
overflow:hidden;
}

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

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

#footer{
clear:both;
padding-top:20px;
background:#ddd4c3;
} 


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

/* サイト説明文 + 住所
----------------------------------*/
#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:10px 0;
color: #515151;
font-size:160%;
font-weight:bold;
}

/* TEL
----------------------------------*/
#header div.tel{
padding-top:10px;
float:right;
}

/* トップページ　メイン画像
----------------------------------*/
#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;
}


/* タイポグラフィ
*****************************************************/
h2.title{
clear:both;
margin:30px 0 0;
padding:10px 15px;
font-size:120%;
border:1px solid #dadada;
border-bottom:0;
background:#fff url(images/border.png) repeat-x 0 100%;
font-weight:bold;
}
h2.toppage{margin-top:0;}


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{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: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:bold;
color:#3f1c16;
border-bottom:1px solid #515151;
}

.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 #3f1c16 solid;
border-collapse: collapse;
border-spacing: 0;
margin:10px 0 20px;
}

.post table th{
padding:7px 10px 7px 5px;
border: #3f1c16 solid;
border-width: 0 0 1px 1px;
font-weight:bold;
color:#fff;
background:#3f1c16;
text-align: right;
vertical-align: middle;
}

.post table td{
padding:7px 5px;
border: 1px #3f1c16 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{
padding:5px;
margin:0 0 5px 15px;
display:inline;
}

img.alignleft{margin: 0 15px 5px 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;
padding: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:0 0 0 10px;
background:url(images/arrow.png) no-repeat 0 50%;
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% "メイリオ","Meiryo",arial,"ヒラギノ角ゴ Pro W3","Hiragino Kaku Gothic Pro",Osaka,"ＭＳ Ｐゴシック","MS PGothic",Sans-Serif;
}

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

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



/* フッター
*****************************************************/
#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:50px;
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:#b7b0a3;
}

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

.prev{float:left}

.next{float:right;}

#pageLinks{
clear:both;
color:#4c261f;
text-align:center;
}


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

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

/* 最新記事リンク */
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;}


/* メインメニュー　PC用
------------------------------------------------------------*/

	nav div.panel{
  display:block !important;
  float:left;
  }
  
  a#menu{display:none;}
  
	nav#mainNav{
	clear:both;
	position:relative;
	z-index:200;
	background:#3f1c16;
	}

	nav#mainNav ul li{
	float: left;
	position: relative;
	border-right:1px solid #5d3730;
	}
	
	nav#mainNav ul li:first-child{border-left:1px solid #5d3730;}

	nav#mainNav ul li a{
	display: block;
	text-align: center;
	_float:left;
	color:#fff;
	height:40px;
	line-height:40px;
	padding:15px 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:#97665e;
	}

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

	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:#4c261f;
	border:0;
	border-bottom:1px solid #5d3730;
	}

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

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



/* NASystemsカスタム
------------------------------------------------------------*/

/* clearfix */
.clearfix:after {
	content: ".";
	display: block;
	visibility: hidden;
	height: 0.1px;
	font-size: 0.1em;
	line-height: 0;
	clear: both;
}
/* Hides from IE-mac \*/
* html .clearfix {
	height: 1%;
}
.clearfix {
	display: block;
}

.ls03 {letter-spacing:0.3em !important;}

div.photobox ul {
	margin:20px 0 0;
	padding:0;
}
div.photobox ul li {
	text-align: center;
	display: block;
	float: left;
	width: 305px;
	margin: 0px 0 20px 25px;
	padding: 0px;
	list-style: none;
}

div.staffbox, div.groupbox {
	padding: 20px;
	border-bottom: 1px dashed #CCC;
}
div.greetingbox {
	padding: 20px 20px 0px;
}
.post h4{
margin:10px 0;
font-size:120%;
font-weight:bold;
color:#3f1c16;
}

.over { overflow:hidden; }
p.right { text-align:right; }
.center { text-align:center;}

/*************
メールフォーム（バリデーション）
*************/

input {
	position:relative;
	z-index:2;
}
.error input, .error textarea, .error label {
	background:#FFCCCC;
}
* html .error label {
	background:none;
}
*+html .error label {
	background:none;
}
span.error {
	font-size: 12px;
	color: #FF0000;
}
.banners {
	margin-bottom:10px;
}