@charset "utf-8";
/*
Theme Name: E-shinka
Theme URI: http://www.e-shinka.com/
Description: tm521
Version: 1.0
Author: K-net
Author http://www.tsubame-k.net/
*/

/* =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, 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: 13px/1.5 "メイリオ","Meiryo",arial,"ヒラギノ角ゴ Pro W3","Hiragino Kaku Gothic Pro",Osaka,"ＭＳ Ｐゴシック","MS PGothic",Sans-Serif;
color:#333;
-webkit-text-size-adjust: none;
background:#fbf9f4;
}

hr{
border:1px dashed #cccccc;
border-bottom:0px;
border-right:0px;
border-left:0px;
margin-bottom:-10px;
}
.pc_none{display:none;}
.de_none {display: none;}

/* リンク設定
------------------------------------------------------------*/
a{
margin:0;
padding:0;
text-decoration:none;
outline:0;
vertical-align:baseline;
background:transparent;
font-size:100%;
color:#179b3d;
}

a:hover, a:active{
outline: none;
color:#59be05;
}


/**** 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: #878787;
background: -moz-linear-gradient(top, #878787 0%, #6f6f6f 100%);
background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#878787), color-stop(100%,#6f6f6f));
background: -webkit-linear-gradient(top, #878787 0%,#6f6f6f 100%);
background: -o-linear-gradient(top, #878787 0%,#6f6f6f 100%);
background: linear-gradient(to bottom, #878787 0%,#6f6f6f 100%);
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#878787', endColorstr='#6f6f6f',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: #878787;
background: -moz-linear-gradient(top, #6f6f6f 0%, #878787 100%);
background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#6f6f6f), color-stop(100%,#878787));
background: -webkit-linear-gradient(top, #6f6f6f 0%,#878787 100%);
background: -o-linear-gradient(top, #6f6f6f 0%,#878787 100%);
background: linear-gradient(to bottom, #6f6f6f 0%,#878787 100%);
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#6f6f6f', endColorstr='#878787',GradientType=0 );
cursor:pointer;
}

*:first-child+html input[type="submit"]{padding:3px;}


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

#header{
overflow:hidden;
background:#4a342c;
}

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

#content2{
margin:0 auto;
width:950px;
padding:22px 0 30px;
}

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

#footer{
clear:both;
} 


/* ヘッダー
*****************************************************/

/* サイト説明文
----------------------------------*/
#header h1{
padding:5px 0;
font-size:80%;
font-weight:normal;
color:#ffffff;
letter-spacing:0.2em;
}


/* ロゴ (サイトタイトル)
----------------------------------*/
#header h2{
clear:both;
float:left;
padding:0 5px 5px;
color: #515151;
font-size:160%;
font-weight:bold;
}


/* コンタクト
----------------------------------*/
.contact{
float:right;
padding:10px 0 0;
text-align:right;
color:#000;
font-size:90%;
}

.contact .tel{
margin-bottom:-3px;
font-size:180%;
font-family:Arial, Helvetica, sans-serif;
}


/* メインメニュー
------------------------------------------------------------*/
nav#mainNav{
clear:both;
position:relative;
z-index:200;
width:100%;
background:#4a342c;
}

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

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

nav#mainNav ul li a{
display: block;
text-align: center;
_float:left;
color:#fff;
font-size:100%;
margin-right:1px;
padding:15px 38px 10px;
}

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:60%;
color:#ffcccc;
font-weight:normal;
}

nav#mainNav ul li.current-menu-item a, nav#mainNav ul li a:hover, nav#mainNav ul li.current-menu-parent a{
color:#fffcf7;
background:url(images/navibar.png) repeat-x;
}

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

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

nav#mainNav ul li:hover ul{
display: block;
position: absolute;
top:45px;
left:-1px;
z-index:500;
border:0;
}

nav#mainNav ul li li{
margin:0;
float: none;
height:44px;
line-height:40px;
width:160px;
background:#4a342c;
border:0px;
}

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


/* トップページ　メイン画像
----------------------------------*/
#mainImg{
width:440px;
height:340px;
clear:both;
line-height:0;
text-align:center;
border:5px solid #cccccc;
position: relative;
}

#mimg_txt{
position: absolute;
width:420px;
height:15px;
margin:-40px 0 0 5px;
padding:10px;
color:#ffffff;
background: #333333;
opacity: 0.7;
filter: alpha(opacity=70);/*IE7*/
}

#sitehead{
margin:20px auto 0;
width:950px;
}

.snet{
float:right;
margin:-350px 3px 0 0;
}

.snet_k{
float:right;
}

.gr_left{
width:218px;
height:204px;
background:#ffffff;
border:1px solid #cccccc;
float:left;
padding:8px;
margin-top:5px;
}

.gr_left a{
color:#179b3d;
}

.gr_left a:hover{
color:#59be05;
}

.gr_right{
width:218px;
height:204px;
background:#ffffff;
border:1px solid #cccccc;
float:right;
padding:8px;
margin-top:5px;
}

.gr_right a{
color:#179b3d;
}

.gr_right a:hover{
color:#59be05;
}

.post{
margin:0 0 20px 0;
padding:20px 10px 20px 20px;
border:1px solid #d5d5d5;
border-top:0px;
background: #fff;
}

.toppage h4{
margin:0 0 10px;
font-size:16px;
font-weight:normal;
color:#333;
}

.toppage{padding:10px 10px 20px 20px;}


/* 記事ループ
*****************************************************/
.list{
padding:10px 0;
border-bottom:1px dashed #dcdcdc;
}

.list:last-child{border:0;}

.post .list p{padding:0;}

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


/* タイポグラフィ
*****************************************************/
h2.title{
clear:both;
margin:0;
padding:7px 10px 7px 20px;
font-size:110%;
color:#4a342c;
border:1px solid #cccccc;
background:#fff url(images/h2bg.png) no-repeat 0 5px;
}

h2.title2{
clear:both;
margin:0;
padding:7px 10px 7px 20px;
font-size:110%;
color:#4a342c;
border:1px solid #cccccc;
background:#fff url(images/h2bg_2.png) no-repeat 0 5px;
}

.dateLabel{
text-align:right;
font-weight:bold;
color:#858585;
}

.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:150%;
color: #000;
border-bottom:3px solid #000;
}

.post h2{
margin:10px 0;
padding-bottom:2px;
font-size:110%;
font-weight:normal;
color: #4a342c;
border-bottom:2px solid #d6416e;
border:right 3px solid #d6416e;
}

.h3pt a{
font-weight:bold;
}

.ptrt a{
font-weight:bold;
float:right;
}

h3{
border-bottom:2px solid #d6416e;
}

.post h3{
margin:10px 0;
font-size:100%;
font-weight:normal;
color:#2e2c2c;
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 #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:#efede7;
}

.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;}

.f_b{
font-weight:bold;
font-size:110%;
}

.f_br{
font-weight:bold;
color:#bb1300;
}

.f_bl{
font-weight:bold;
color:#18344e;
}

.f_bg{
font-weight:bold;
color:#179b3d;
}

.f_bb{
font-size:110%;
}

.midashi{
font-size:120%;
background:#ffcccc;
color:#4a342c;
padding:1px;
line-height:2.0em;
}

/* サイドバー　ウィジェット
*****************************************************/
section.widget ul, .widget_search, #calendar_wrap, .textwidget{
margin:0 0 20px 0;
padding:10px 10px 10px 17px;
border:1px solid #d5d5d5;
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:233px;
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 #d5d5d5;
border-bottom:0;
color:#000;
background:#fff url(images/headingBg.png) repeat-x 0 100%;
}

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{font-weight:bold;}


/* お知らせ　
-------------*/
.newsTitle{
width:191px;
clear:both;
margin:0;
padding:7px 10px 7px 30px;
font-size:110%;
color:#4a342c;
border:1px solid #cccccc;
background:#fff url(images/sideh3.png) no-repeat 0 5px;
}

.newsTitle h3{
float:left;
font-weight:normal;
}

.newsTitle p{
float:right;
padding:0 0 0 10px;
font-size:80%;
background:url(images/arrow.gif) no-repeat 0 5px;
}

.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;}



/* フッター
*****************************************************/
/* フッター共通 */

.box{
width: 220px;
float:right;
margin: 20px 10px 10px 0;
}

.box li{
list-style:none;
border-bottom:#cccccc dashed 1px;
margin:5px 0;
padding:1px 8px;
}

.box li a{
color:#179b3d;
}

.box li a:hover{
color:#59be05;
}

.box_img{
padding: 0px 0px 10px 0px;
}

.last{margin-right:0;}

#footer{
font-size: 12px;
clear:both;
padding: 0 0 10px;
border-top:dotted 1px #cccccc;
width:950px;
margin:0 auto;
}

#footer .inner{
overflow: hidden;
}

* html #footer .inner{height:1%;}

#footer #logo{
float:left;
padding: 10px 0 5px;
width: 260px;
font-size:90%;
}

#footer #logo img{
margin-bottom:10px;
}

#copyright{
clear:both;
padding:10px;
text-align:center;
font-size:75%;
zoom:1;
color:#fff;
background:#d6416e;
letter-spacing:0.2em;
}


/* 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件
------------------------------------------------------------*/

#topnews{
width:280px;
height:590px;
float:left;
margin-right:20px;
}

#topfbv{
padding-left:20px;
}

.top_sidebana{
float:right;
width:233px;
padding:22px 0 30px;
}

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 5px;
}

ul.post h3{
margin:0 0 10px 10px;
font-size:14px;
font-weight:normal;
color:#333;
border:0;
}

/* カスタムフィールド用
------------------------------------------------------------*/
.tbl_bg{
font-weight:bold;
background:#ffcccc;
padding:5px;
font-size:110%;
}

.cft_fl{
width:200px;
font-weight:bold;
color:#d6416e;
}

.boxin{
margin-left:10px;
}

.cft_gr{
width:100px;
}

.top_lt{
width:125px;
font-weight:bold;
color:#d6416e;
float:left;
line-height:160%;
padding-left:10px;
}

.top_rt{
width:70px;
float:right;
line-height:160%;
}

.cft_rec_l{
font-weight:bold;
}

.cft_rec_r{
vertical-align:top;
width:500px;
}

.cft_top{
float:right;
background:#d2eaaa;
margin-top:7px;
padding:3px;
}

.cft_top a:hover{
background:#ffcc66;
}


/* 固定ページ用
------------------------------------------------------------*/
.qa_q{
color:#333;
padding:8px 10px 7px 38px;
background: url(images/h3_q.png) no-repeat 10px 8px;
font-weight:bold;
font-size:115%;
}

.qa_a{
color:#333;
font-size:105%;
margin:10px 0 0;
padding:8px 10px 7px 38px;
background: url(images/h3_a.png) no-repeat 10px 8px;
}

.qa_a a{
font-weight:bold;
}

.header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 10px;
  background: #4a342c;
}

.logo {
  font-size: 24px;
}

/*------------------------------

  ここから下がハンバーガーメニュー
  に関するCSS

------------------------------*/
  
/* チェックボックスは非表示に */
.drawer-hidden {
  display: none;
}

/* ハンバーガーアイコンの設置スペース */
.drawer-open {
  display: flex;
  height: 60px;
  width: 60px;
  justify-content: center;
  align-items: center;
  position: relative;
  z-index: 100;/* 重なり順を一番上に */
  cursor: pointer;
}

/* ハンバーガーメニューのアイコン */
.drawer-open span,
.drawer-open span:before,
.drawer-open span:after {
  content: '';
  display: block;
  height: 3px;
  width: 30px;
  border-radius: 3px;
  background: #fff;
  transition: 0.5s;
  position: absolute;
}

.drawer-open div{color:#fff;padding-bottom:40px;}

/* 三本線のうち一番上の棒の位置調整 */
.drawer-open span:before {
  bottom: 8px;
}

/* 三本線のうち一番下の棒の位置調整 */
.drawer-open span:after {
  top: 8px;
}

/* アイコンがクリックされたら真ん中の線を透明にする */
#drawer-check:checked ~ .drawer-open span {
  background: rgba(255, 255, 255, 0);
}

/* アイコンがクリックされたらアイコンが×印になように上下の線を回転 */
#drawer-check:checked ~ .drawer-open span::before {
  bottom: 0;
  transform: rotate(45deg);
}

#drawer-check:checked ~ .drawer-open span::after {
  top: 0;
  transform: rotate(-45deg);
}
  
/* メニューのデザイン*/
.drawer-content {
  width: 100%;
  height: 100%;
  position: fixed;
  top: 0;
  left: 100%;/* メニューを画面の外に飛ばす */
  z-index: 99;
  background: #333;
  transition: .5s;
}

/* アイコンがクリックされたらメニューを表示 */
#drawer-check:checked ~ .drawer-content {
  left: 30%;/* メニューを画面に入れる */
}

.drawer-list{position:absolute;top:6%;}

@media only screen and (max-width: 959px){
	.pc_none{display:inline;}
	.sp_none{display:none!important;}
	.contact {display:none;}
	#header .inner h2{display:none;}
	nav#mainNav ul li {float: none;position: relative;border-right: none;font-size: 18px;}
	.snet {float: none;margin:0;}
	.snet .gr_left,.snet .gr_right{float:none;}
	#topnews{float:none;width: 100%;}
	#topfb iframe{margin-top: 30px;}
	#sidebar{float:none;margin:0 auto;width: 470px;}
	#sidebar img{text-align: center;}
	#sidebar .eigyou{display:block;margin:10px auto;}
	#footer .box{display:none;}
	#footer,#wrapper,#sitehead{width:100%;}
	#mimg_txt {left: 0;right: 0;width: 420px;margin: -40px auto;}
	#mainImg {margin:0 auto;}
	#footer .inner{width:100%;}
	.outline_inner{width:100%;max-width:63%;margin:0 auto;}
	.snet img{margin:0 auto;text-align:center;display: block;}
	#footer #logo {float:none;margin:0 auto;}
	.top_lt {width: 96%;font-size: 14px;}
	.gr_left{width: 96.5%;height: 135px;}
	.gr_right {width: 96.5%;height: 220px;}
	.gr_right .top_lt {width: 75%;font-size: 14px;}
	.flo_none{display:block!important;float:none;}
	#content{width:100%;}
	.over_h{overflow:hidden;display:block;}
	.w_100{width:100%;}
	.cft_fl {width: 30%;}
	.d_in{display:inline!important;}
	.newsTitle {width: 91%;}
	.midashi {font-size: 102%;}
	img.m_10a{margin:10px!important;float:none!important;}
}

@media only screen and (max-width: 644px){
	.post{padding:20px 10px 20px 10px;}
	nav#mainNav ul li {font-size: 15px;}
	.outline_inner {max-width: 90%;}
	#content,.snet a img,#topnews {width:100%;}
	#sidebar {width:100%;}
	#topfb iframe{width:100%!important;max-width:385px;}
	.gr_left {height:128px;width: 95%;}
	.gr_right {width: 95%;}
	.gr_right .top_lt {width: 60%;}
	#mainImg {width:97.5%;}
	#mainImg img{width:100%;}
	#mimg_txt{width:93%;font-size: 95%;}
	#sidebar img {text-align: center;margin: 10px auto;display: block;}
	.newsTitle {width: 89%;}
	#header h1 {width: 410px;overflow-wrap: break-word;padding: 5px;}
	.de_none {display: inline;}
	#footer{padding-bottom:20px}
	#footerfix {background: rgba(0,0,0,.5);color: #FFF;width: 100%;min-height: 62px;position: fixed;z-index: 1000;bottom: 0;}
	ul.ftfix_sp {width: 100%;box-sizing: border-box;display: flex;}
	ul.ftfix_sp li {float: left;width: 50%;height: 52px;color: #fff;border-right: 1px solid #fff;padding-top: 10px!important;text-align: center;vertical-align: middle;display: inline-block;}
	ul.ftfix_sp li a {color: #fff;}
	ul.ftfix_sp li.li_last {border-right: 0!important;}
	img.alignright, img.alignleft {margin: 10px 10px 15px 0px;}
	#sidebar img {width:300px;}
}
@media only screen and (max-width: 375px){
	#mainImg {width: 97%;}
	#mimg_txt {width: 92%;font-size: 94%;}
	.newsTitle {width: 87.5%;}
	#header h1 {width: 375px;}
	#sidebar img {width:300px;}
}