@charset "utf-8";


/*--------------------------------------------------------------
memo: 大枠設定用ファイル (PC、タブレット、スマホ用の記述もこちら)
--------------------------------------------------------*/

.tablenav{
	text-align: center;
}

.page-numbers{
	padding: 10px;
}

#today{
	font-weight: bold;
	color: #da0000;
}


/* 汎用設定
------------------------------------------*/

/* お問い合わせ */
.sp{
	display:none;
}

/* 余白初期化 */
.end {
	margin: 0;
	padding: 0;
}

/* ページ上部へ戻るナビ */
#nav-4 {
	position: absolute;
	right: 0;
}

#page-top {
	position: fixed;
	bottom: 20px;
	right: 10px;
	font-size: 77%;
	z-index: 1;
}

#page-top a {
	display: block;
}

.github {
	margin-bottom: 2em;
	padding-bottom: 1em;
	border-bottom: 1px dashed rgba(0,0,0,.2);
	text-align: center;
}

.box {
	margin: 10px 0;
	padding: 10px 10px 5px 10px;
	background: #fff;
	border:1px solid #e7ddc3;

	border-radius: 3px;
	line-height: 1.4;
	font-size: 12px;

	*zoom: 1;
}

.box .thumb{
	text-align: center;
	padding: 10px 0;
}

.box .btn{
	text-align: right;
	padding: 10px 0 0 0;
}

figure + .box {
	margin-top: -1em;
}

/* お問い合わせボタン背景 */
.headInq .btn{
	/* IE 6,7 */
	filter: progid:DXImageTransform.Microsoft.gradient(GradientType=0,startColorstr='#d72900', endColorstr='#ad2100');
	/* IE 8,9 */
	-ms-filter: progid:DXImageTransform.Microsoft.gradient(GradientType=0,startColorstr='#d72900', endColorstr='#ad2100');
	/* IE 10 */
	background: #d72900 -ms-linear-gradient(top, #d72900, #ad2100);

	background: -webkit-gradient(linear, left top, left bottom, from(#d72900),to(#ad2100));
	background: -moz-linear-gradient(top,#d72900,#ad2100);	
	border: 1px solid #af2100;
	border-radius: 3px;

	margin: -23px 0 0 0;

	behavior: url("../js/PIE.htc");
}

/* お問い合わせボタン */
.headInq .btn a{
	display: block;
	overflow: hidden;
	white-space: nowrap;
	text-overflow: ellipsis;

	padding: 13px 10px 7px 10px;
}

/* 大枠設定
------------------------------------------*/

#sub {
	margin: 0 auto;
	width: 100%;
	max-width: 1000px;
	z-index: 0;
}

/* ヘッダ
------------------------------------------*/

#masthead {
	margin: 0 auto;
	height: 76px;
}

#masthead .unit{
	float: left;
	position: relative;
	width: 284px;
	height: 43px;

	padding: 8px 0 0 0;
}


#masthead .unit h1,
#masthead .unit .txt {
	position: absolute;
	width: 230px;
	left: 66px;
	font-size: 11px;
	color: #412300;
	top: 16px;
}

#masthead .unit h2,
#masthead .unit .logo{
	padding: 10px 0;
}

#masthead .unit .logo img{
	max-width:inherit;
}

#masthead .headInq{
	float: right!important;

	position: relative;
	background: url(../images/bg_head_inq.png) no-repeat 0 0;
	width: 458px;
	height: 56px;
	margin: 10px 0 10px 10px;
}

/* お問い合わせボタン背景 */
.headInq .btn{
	/* IE 6,7 */
	filter: progid:DXImageTransform.Microsoft.gradient(GradientType=0,startColorstr='#d72900', endColorstr='#ad2100');
	/* IE 8,9 */
	-ms-filter: progid:DXImageTransform.Microsoft.gradient(GradientType=0,startColorstr='#d72900', endColorstr='#ad2100');

	background: -webkit-gradient(linear, left top, left bottom, from(#d72900),to(#ad2100));
	background: -moz-linear-gradient(top,#d72900,#ad2100);	
	border: 1px solid #af2100;
	border-radius: 3px;

	behavior: url("../js/PIE.htc");
}

/* お問い合わせボタン */
.headInq .btn a{
	display: block;
	overflow: hidden;
	white-space: nowrap;
	text-overflow: ellipsis;

	padding: 13px 10px 7px 10px;
}

*:first-child+html #masthead .headInq .btn a{
	padding: 13px 10px 13px 10px;
}


#masthead .headInq p{
	position: absolute;
	right: 6px;
	top: 29px;
}

/* メインエリア
------------------------------------------*/

#mainArea{
	float: left;
	width: 710px;
	margin: 0 0 10px 10px;
	line-height: 1.8;
}

#mainArea p{
	margin: 0 0 20px 0;
}

#mainArea .date{
	background: #f2f2f2;
	padding: 5px;
	margin: 0 0 10px 0;
	border-radius: 2px;
}

#mainArea .data{
	padding: 5px;
	margin: 0 0 10px 0;
	text-align: right;
	color: #b35000;
}


/* サイドナビ
------------------------------------------*/

#sideNav{
	float: right;
	width: 210px;
	padding: 10px;
	margin: 0 10px 10px 10px;
	background: #f2f2f2;
}

#sideNav .categoryBox{
	background: #fff;
	border:1px solid #e7ddc3;
	border-radius: 3px;

	padding: 0 10px 10px 10px;
}

#sideNav .categoryBox li{
	list-style: none;
	border-bottom: 1px dotted #ccc;
	background:url(../images/icon_arrow.gif) no-repeat right 14px;
}

#sideNav .categoryBox li a{
	display:block;

	padding: 10px 0;
	color: #403018;

	overflow: hidden;
	white-space: nowrap;
	text-overflow: ellipsis;
}

#sideNav .categoryBox li.bnr{
	border: none;
	padding: 10px 0 0 0;
	background: none;
	text-align: center;
}

#sideNav .sideInq{
	position: relative;

	background: url(../images/bg_side_inq.gif) 0 0;
	width: 187px;
	height: 260px;

	margin: 10px 0;
	padding: 10px;

	border: 1px solid #f1930e;
	border-radius: 3px;
}

#sideNav .sideInq img{
	max-width: inherit;
}

#sideNav .sideInq .tel{
	width: 190px;
}

*:first-child+html #sideNav .sideInq .tel{
	margin: 0 0 0 -18px;
}

#sideNav .sideInq h2{
	border-bottom: 4px dotted #ffd393;
	margin: 0 0 10px 0;
}

#sideNav .sideInq p{
	text-align: center;
}

#sideNav .sideInq li{
	list-style: none;
	text-align: center;
	padding: 0 0 5px 0;
}

#sideNav .sideInq .ceo{
	position: absolute;
	bottom: -7px;
	left: 0;
}

#sideNav .ecBox{
	background: #fff;
	border:1px solid #e7ddc3;
	border-radius: 3px;

	padding: 10px;
	margin: 10px 0 0 0;
}

#sideNav .ecBox li{
	list-style: none;
	font-size: 12px;
	text-align: center;
}


/* コンテンツ部分
------------------------------------------*/


/* フッタ
------------------------------------------*/

#footer {
	width: 100%;
	height: 200px;

	background:url(../images/foot_line.png) repeat-x 0 0;

	margin: 40px 0 0 0;
	padding: 20px 0 0 0;

	clear: both;
}

#footer .inner{
	width: 1000px;
	margin: 0 auto;
}

#footer aside{
	float: left;
	text-align: left;
	width: 25%;
}

#footer li{
	list-style: none;

}

#footer h3 a{
	color: #333;
}

#footer .copyright{
	width: 100%;
	padding: 20px 0 0 0;
	text-align: center;
}

#wp-calendar{
	width: 100%;
	background: #fff;
	border-radius: 5px;
}

#wp-calendar caption{
	background: #fff;
	padding: 10px 0;
	font-weight: bold;
	border-radius: 5px;
}

#wp-calendar td{
	text-align: center;
}

#wp-calendar #prev,
#wp-calendar #next{
	padding: 10px 0;
}


@media only screen and (max-width: 800px) {

/* タブレット向け
================================================*/

#sub {
	width: 100%;
}

#mainArea{
	float: none;
	padding: 0;
	margin: 0;
	width: 100%;
}

#footer {
	width: 100%;
	height: 165px;

	background:url(../images/foot_line.png) repeat-x 0 0;

	margin: 40px 0 0 0;
	padding: 20px 0 0 0;

	clear: both;
}

#sideNav{
	width: 100%;
	margin: 0;
	padding: 0;
}

#sideNav .sideInq{
	width: auto;
	margin: 0 10px;
	padding: 0;
}

#sideNav .sideInq .tel{
	margin: 0 auto;
}

#footer .inner{
	width:inherit;
}



	/* お問い合わせ画像のスイッチ */
	.normal{
		display: none;
	}

	.sp{
		display: inherit;
	}

	.ceo{
		display:none;
	}

}

@media only screen and (min-width: 481px) and (max-width: 767px) {

/* 中間設定
================================================*/
#footer aside{
	width:50%;
}

}

@media only screen and (max-width: 480px) {

/* スマホ向け
================================================*/

#footer aside{
	width:auto;
}



	/* お問い合わせ画像のスイッチ */
	.normal{
		display: none;
	}

	.sp{
		display: inherit;
	}

	.sp2{
		display: none;
	}


}