/*
 Theme Name: bkan-sbengodan Base Theme
 Description: 全国B型肝炎訴訟静岡県弁護団ベーステーマ
 Author: 全国B型肝炎訴訟静岡県弁護団
 Author URI: https://www.bkan-sbengodan.net/
*/

/* ===================================================================
 Reset
=================================================================== */
*, *:before, *:after { -moz-box-sizing: border-box; -webkit-box-sizing: border-box; box-sizing: border-box; }
html, body, h1, h2, h3, h4, h5, h6, ul, ol, dl, li, dt, dd, p, div, span, img, a, table, tr, th, td {
 margin: 0; padding: 0; border: 0; font-weight: normal; font-size: 100%; vertical-align:baseline; -webkit-box-sizing: border-box; -moz-box-sizing: border-box; box-sizing: border-box; }
article, header, footer, aside, figure, figcaption, nav, section { display:block; }
html { scroll-behavior:smooth; }
body { -ms-text-size-adjust: 100%; -webkit-text-size-adjust: 100%; }
table { border-collapse: collapse; border-spacing: 0;}

/* ===================================================================
 Layout
=================================================================== */
html { -webkit-box-sizing:border-box; -moz-box-sizing:border-box; box-sizing:border-box; }
*, :before, :after { -webkit-box-sizing:inherit; -moz-box-sizing:inherit; box-sizing:inherit; }

@font-face { font-family: "Yu Gothic M"; src: local("Yu Gothic Medium");}
@font-face { font-family: "Yu Gothic M"; src: local("Yu Gothic Bold"); font-weight: bold;}

body { background:#FEF4D9; padding:0; margin:0 auto; font-family: "游ゴシック Medium", "Yu Gothic Medium", "游ゴシック体", YuGothic, sans-serif; color: #000; font-size:100%; line-height:1.5; letter-spacing: 0.07em; border-top:6px solid #FFEAC5; }
h1, h2, h3, h4, h5, h6 { line-height: 1.2;}

@media screen and (max-width:959px){
    body { border-top:none;}
}

/* Chrome でのみフォントを太めに表示する */
@media screen and (-webkit-min-device-pixel-ratio: 0) {
  html { text-shadow: transparent 0 0 0, rgba(0, 0, 0, .7) 0 0 0 !important; }
}

@media only screen and (min-width: 960px) { 
    a.tel {text-decoration: none;}
    .tel { pointer-events:none; }
}

/* ===================================================================
 main
=================================================================== */
.site-content-contain { clear: both; margin: 0 auto; padding: 0;}
.site-content-contain:after { content:" "; display:block; clear:both;}

.site-content { clear: both; width: 94%; max-width:1260px; margin-left:auto; margin-right:auto; margin-bottom: 100px;}
.site-content:after { content:" "; display:block; clear:both;}

@media screen and (max-width:959px){
    .site-content {margin-bottom: 50px;}
}

/* NEWSセクション 上下余白 */
#top-news {
    margin-top: 40px;
    margin-bottom: 40px;
}

/*--------------------------------------------------------------
 サイドバーあり
--------------------------------------------------------------*/
#primary { width:100%;}
.has-sidebar #primary { width: calc(100% - 315px); float: right;}
.has-sidebar #secondary { width: 252px; float: left;}

#page-home #secondary { padding-top: 30px;}

@media only screen and (max-width: 959px) { 
    .has-sidebar #primary { width: 100%; float: none;}
	.has-sidebar #secondary { clear: both; width: 100%; float: none; }
}

/*--------------------------------------------------------------
 Alignments
--------------------------------------------------------------*/

p { margin:0 0 0.75em; padding:0;}
img { max-width:100%; height: auto; margin:0; padding:0; -ms-interpolation-mode: bicubic; border: 0; vertical-align: middle; }

ul,ol { list-style-type:none;}

.clear { clear: both;}
.clear:after { content:" "; display:block; clear:both;}
.imgL { float: left;}
.imgR { float: right;}

a,
a:visited { text-decoration: none; color: #000;}
a:focus { }
a:hover,
a:active { opacity:0.8; filter: alpha(opacity=80); -webkit-transition: 0.3s; transition: 0.3s; }

p a,
p a:visited { text-decoration: underline; }

hr { background-color: #bbb; border: 0; height: 1px; margin-bottom: 1.5em;}
video { height: auto; max-width: 100%; }

embed,
iframe,
object { margin-bottom: 1.5em; max-width: 100%;}

/*--------------------------------------------------------------
 Accessibility
--------------------------------------------------------------*/
.screen-reader-text { clip:rect(1px,1px,1px,1px); height:1px; overflow:hidden; position:absolute!important; width:1px; word-wrap:normal!important; top:1px; }
.screen-reader-text:focus { background-color:#f1f1f1; -webkit-border-radius:3px; border-radius:3px; -webkit-box-shadow:0 0 2px 2px rgba(0,0,0,0.6); box-shadow:0 0 2px 2px rgba(0,0,0,0.6); clip:auto!important; color:#21759b; display:block; font-size:14px; font-size:.875rem; font-weight:700; height:auto; left:5px; line-height:normal; padding:15px 23px 14px; text-decoration:none; top:5px; width:auto; z-index:100000; }

/* ===================================================================
 Header
=================================================================== */
.site-head { width: 100%; background:#FFF; text-align: center; height: 74px;}
.site-head #head-area { max-width: 1260px; margin: 0 auto; padding-left: 5px;}
.site-head #head-area h1.logo { float: left; width: 35%; z-index: 9999;}
.site-head #head-area #head { float: right; width: calc(100% - 37%); margin: 0 auto;}

#fontsize { width: 95px; float: right; padding-top: 5px; }
#fontsize span { font-size: 14px; font-weight: bold;}
#fontsize ul { display: -webkit-flex; display: flex; -webkit-flex-wrap: wrap; flex-wrap: wrap; -webkit-box-pack: justify; justify-content: space-between; align-items: flex-start;}
#fontsize ul li button { display: block; font-size: 15px; font-weight: normal; width: 45px; font-family: inherit; appearance: none; border: 0; border-radius: 5px; padding: 2px; cursor: pointer; }
#fontsize ul li.font-n button { background: #FAF1A7;}
#fontsize ul li.font-l button { background: #F7D645;}
#fontsize ul li.font-n button:hover,
#fontsize ul li.font-l button:hover { background: #FAAF26;}
#fontsize ul li.font-n button:focus,
#fontsize ul li.font-l button:focus { outline: none; box-shadow: 0 0 0 1px #FD8806;}

@media screen and (max-width:1400px){
    .site-head { padding-right: 100px;}
}

@media screen and (min-width:960px){
    .site-head #head-area h1.logo img.sp { display: none;} 
}

@media screen and (max-width:959px){
    .site-head { height: 66px; position: fixed; border-top: 6px solid #FFEAC5; z-index: 10; top:0;}
    .site-head #head-area h1.logo { width: 230px;}
    .site-head #head-area h1.logo img.pc { display: none;} 
    .site-head #head-area #head { float: right; width: calc(100% - 240px); margin: 0 auto;}
    #fontsize { position: absolute; top:0; right: 60px; width: 78px; float: none; z-index: 9999;}
    #fontsize span { font-size: 13px; font-weight: bold;}
    #fontsize ul li button { display: block; font-size: 15px; font-weight: normal; width: 37px; }
}

@media screen and (max-width:480px){
    .site-head #head-area h1.logo { width: 170px; padding-top: 8px; }
}

/*--------------------------------------------------------------
 Navigation
--------------------------------------------------------------*/
@media screen and (min-width:1251px){
    #head-nav ul li {}
}
    
@media screen and (min-width:960px), print {
    #head-nav { float: left; width: calc(100% - 120px); margin:0 auto; padding:0; }
    #head-nav:after { content:" "; display:block; clear:both;}
    #head-nav ul { width: 100%; margin:30px auto 0 auto; display: -webkit-flex; display: flex; -webkit-flex-wrap: wrap; flex-wrap: wrap; -webkit-box-pack: justify; justify-content: space-between; justify-content: center; align-items: center;}
    #head-nav ul li { position: relative; line-height: 1.2; margin:0 auto; text-align: center;}
    #head-nav ul li:before { position: absolute; top:-0.1em; left:-7%; content: ":"; color: #FF8300; }
    #head-nav ul li:first-child:before { content: inherit;}
    #head-nav ul li a { position: relative; color: #000; padding: 2px 0.5em;}
    #head-nav ul li a:hover { opacity:1; filter: alpha(opacity=100); }
    #head-nav ul li a::after { position: absolute; left: 0; bottom: 0; display: block; content: ""; width: 0%; height: 2px; background: #FF8300; transition: all 0.2s cubic-bezier(0.455, 0.03, 0.515, 0.955);}
    #head-nav ul li a:hover::after { width: 100%;}
}

@media screen and (max-width:959px){
    #head-nav { width: 100%; margin:0 auto; padding:0; }
    #head-nav ul { width: 100%; margin:0 auto; list-style-type:none; }
    #head-nav ul li {}
    #head-nav ul li a { display:block; margin:0 auto; padding:15px 2px; border-bottom: 1px solid #A6CCD9; color: #fff; text-decoration: none; text-align: center;}
    #head-nav ul li a:hover { color: #fff; opacity:1; filter: alpha(opacity=100); background-color:rgba(57,166,0,1); }
}

#head .head-bt { width: 95px; float: right; padding-top: 10px; }
#head .head-bt a.mail { position: relative; width:95px; padding:27px 5px 6px 5px; margin: 0; text-align: center; font-size: 15px; font-weight: bold; background: #39A600; color: #fff; border-radius: 10px; display: block; vertical-align: middle;}
#head .head-bt a.mail:before { position:absolute; top:2px; left:0; right:0; font-family: "Font Awesome 5 Free"; content: "\f0e0"; font-weight: 300; font-size: 19px; }
#head .head-bt a.mail:hover { opacity:0.8; filter: alpha(opacity=80);}

@media screen and (max-width:959px){
    #head .head-bt { width: 66px; position: absolute; top: -4px; right:66px;}
    #head .head-bt a.mail { position: relative; width:66px; padding:27px 2px 3px 2px; font-size: 12px; border-radius: 6px; }
}

/* Header SP
=================================================================== */
@media screen and (min-width:960px){
    .site-head .hidden_box input,
    .site-head .hidden_box label { display: none;}
}

@media screen and (max-width:959px){
    .site-head .hidden_box { width: 100%; position: absolute; top:60px; right: 0; margin: 0; padding: 0; z-index: 1000;}
    .site-head .hidden_box label { padding: 0; width:40px; height: 40px; position: absolute; top:-49px; right: 10px; font-weight: bold; cursor :pointer; transition: .8s; background: url("assets/images/menu_open.png") no-repeat 0 0; background-size: 40px 40px;}
    .site-head .hidden_box label span { width: 40px; height: 40px;}
    .site-head .hidden_box label:before {}
    .site-head .hidden_box label:hover { background: url("assets/images/menu_hover.png") no-repeat 0 0; background-size: 40px 40px;}
    .site-head .hidden_box input:checked ~ label { background: url("assets/images/menu_close.png") no-repeat 0 0; background-size: 40px 40px;}
    .site-head .hidden_box input { display: none;}
    .site-head .hidden_box .hidden_show { width: 100%; height: 0; padding:0; background-color:rgba(86,176,26,0.95); overflow: hidden; opacity: 0; transition: 0.8s; margin-top: 0px;}
    .site-head .hidden_box input:checked ~ .hidden_show { padding: 0; height: auto; opacity: 1;}
} 

/* パンくずリスト
=================================================================== */
.pankuzu-area { width:100%; padding-bottom: 30px;}
.pankuzu { width:94%; max-width:1260px; margin:8px auto 0 auto; padding:0 5px; font-size: 11px; }
.pankuzu a { color: #000; text-decoration: underline;}
.pankuzu-area:after,
.pankuzu:after { content:" "; display:block; clear:both;}

/* ===================================================================
 ARCHIVE・ POST
=================================================================== */

.archive .entry-none {font-size: 138%; text-align: center; padding: 60px 0;}
.archive .category-title { position: relative; display: inline-block; margin-bottom: 35px; padding: 18px 10px 22px 10px; width: 100%; text-align: center; font-size: 163%; background: #FFF; border: solid 2px #B78D4A; box-sizing: border-box;}
.archive .category-title:before { content: ""; position: absolute; bottom: -24px; left: 50%; margin-left: -15px; border: 12px solid transparent; border-top: 12px solid #FFF; z-index: 2;}
.archive .category-title:after { content: ""; position: absolute; bottom: -29px; left: 50%; margin-left: -17px; border: 14px solid transparent; border-top: 14px solid #B78D4A; z-index: 1;}
.archive .category-title span { padding-right: 3px; padding-bottom: 5px; font-size: 115%; font-weight: bold; background: url("assets/images/ico_dot.png") repeat-x left bottom;}

.single-post .post,
.archive .post,
.search .post{ width:100%; margin-bottom: 30px; padding:30px 7%; background: #fff; text-align: center; text-align: left; border-bottom: 3px solid #D6BE98;}

.post .entry-header { padding: 20px 0;}
.search .entry-header { padding: 10px 0;}
.post .entry-header h2.entry-title { padding-bottom: 10px; font-size: 157%; font-weight: bold; background: url("assets/images/line_dot.png") no-repeat left bottom; }
.post .entry-header h2.entry-title a { text-decoration: underline; font-weight: bold; }
.post .entry-header h2.entry-title a:hover { opacity:0.6; filter: alpha(opacity=60);}

@media screen and (max-width: 760px) {
    .post .entry-header h2.entry-title { padding-bottom: 10px; font-size: 125%;}
}

.entry-meta { color:#777; font-size:88%; letter-spacing: 0.05em; text-align: right;}
.entry-meta a { color:#777; }
.entry-date { }
.posted-on {}
.byline { display:inline; }

.post .entry-content {padding: 10px 0;}

.post .entry-content a { text-decoration: underline;}
.post .entry-content h1 { font-size: 163%; margin:15px auto 15px auto; border-bottom: 1px solid #D6BE98;}
.post .entry-content h2 { font-size: 150%; margin:15px auto 15px auto; border-bottom: 1px solid #D6BE98;}
.post .entry-content h3 { font-size: 138%; font-weight: bold; margin:15px auto 15px auto; border-bottom: 1px solid #D6BE98;}
.post .entry-content h4 { font-size: 125%; font-weight: bold; margin:15px auto 15px auto; border-bottom: 1px solid #CCC;}
.post .entry-content h5 { font-size: 113%; font-weight: bold; margin:15px auto 15px auto; border-bottom: 1px solid #CCC;}
.post .entry-content h6 { font-size: 100%; font-weight: bold; margin:15px auto 15px auto; border-bottom: 1px solid #CCC;}
.post .entry-content img { margin-top: 5px; margin-bottom: 5px;}

.post figure { margin:0 auto 15px auto;}
.post .alignleft { float:left; margin-right:15px; margin-bottom:15px;}
.post .alignright { float:right; margin-left:15px; margin-bottom:15px;}
.post .aligncenter { clear:both; display:block; margin-left:auto; margin-right:auto; text-align: center;}

@media screen and (max-width: 959px) {
	.post .alignleft,
    .post .alignright { float: none; margin-right: auto; margin-left: auto;}
}

/* キャプション */
.wp-caption-text { font-size:82%; margin: 0; padding: 0; line-height: 1; word-break: break-all;}
/* 続きを読む */
.entry-content .more-link { display: inline;}

.post-thumbnail { margin-bottom: 1em;}
.post-thumbnail a img { -webkit-backface-visibility: hidden; -webkit-transition: opacity 0.2s; transition: opacity 0.2s;}
.post-thumbnail a:hover img,
.post-thumbnail a:focus img { opacity: 0.7;}

.entry-footer { width: 100%; border-top:1px solid #eee; margin-top:20px; padding:20px 0 0 0; }
.entry-footer .cat-links,
.entry-footer .tags-links { display: block; font-size:69%; letter-spacing: 0.05em; color:#777;}
.entry-footer .cat-links:before,
.entry-footer .tags-links:before { margin-right: 5px; font-family: "Font Awesome 5 Free"; font-weight: 900; color:#AAA;}
.entry-footer .cat-links:before { content: "\f07b";}
.entry-footer .tags-links:before { content: "\f02b";}
.entry-footer .cat-links a,
.entry-footer .tags-links a { color:#777; }

/*--------------------------------------------------------------
 Tables
--------------------------------------------------------------*/
.post table { width:100% }
.post table th, .post table td  { padding: 10px; text-align: left; border: 1px solid #CCC; }
.post table th { background: #EEE;  }
.post table td { }

@media only screen and (max-width: 760px) { 
	.post table { margin: 0 -10px; }
	.post table tr { display:block; margin-bottom: 10px;}
	.post table th { display:block; width: 100%; }
	.post table td { display: list-item; width: 95%; margin-left: 5%; border:none; }
}

/*--------------------------------------------------------------
 List
--------------------------------------------------------------*/
.post ul { list-style-type: disc; margin: 0 0 0 1.5em; padding: 0; }
.post ul li > ul { margin-bottom: 0; margin-left: 1.5em; }

.post ol { list-style-type: decimal; margin: 0 0 0 1.5em; padding: 0; }
.post ol li > ol { margin-bottom: 0; margin-left: 1.5em; }

/*--------------------------------------------------------------
 Dl List
--------------------------------------------------------------*/
.post dl { clear:both; width: 100%; text-align: left; border-bottom:1px solid #AAA; }
.post dt { padding: 10px 0 10px 10px; clear: left; float: left; width: 10em; border-top:1px solid #AAA; color:#777; }
.post dd { padding: 10px 0 10px 10px; margin-left: 10em; border-top:1px solid #AAA; }
.post dl:after, .post dt:after, .post dd:after { content:" "; display:block; clear:both;}

@media only screen and (max-width: 760px) {
	.post dt { clear: both; float: none; width: 100%; padding-bottom: 5px; }
	.post dd { margin-left:0; border-top:none; }
}

/* ===================================================================
PAGES
=================================================================== */
.page-header { padding-bottom:2em; }
.page .entry-header .edit-link { font-size:14px; }
.page-links { clear:both; margin:0 0 1.5em; }


/* ===================================================================
404-page / SEARCH-page
=================================================================== */
.search-no-results .site-main section,
.error404 .site-main section { width: 100%; margin: 60px auto; text-align: center;}
.search-no-results .site-main section h3,
.error404 .site-main section h3 { font-size: 163%; text-align: center; line-height: 1.2; font-weight: bold; margin-bottom: 1.5em;}
.search-no-results .site-main section p, 
.error404 .site-main section p { font-size: 113%; margin-bottom: 2em; text-align: center; line-height: 1.75;}

.search-form,
.search-form { margin-bottom:3em; width: 100%; max-width: 600px; margin: 0 auto 50px auto; }
.search-form input,
.search-form textarea { width: 100%; }

.site-main a.btn-top { position: relative; display: inline-block; width: 270px; padding: 18px 20px 17px 30px; font-size: 125%; line-height: 1; background-color: #FF8300; border: 2px solid #FF8300; border-radius: 10px; color: #fff; text-align: center; text-decoration: none; transition: all .3s;}
.site-main a.btn-top:before { position: absolute; top: 13px; left:20px; font-family: "Font Awesome 5 Free"; content: "\f3e5"; font-size: 28px; font-weight: 900; padding-right: 5px; color: #fff;}
.site-main a.btn-top:hover { background-color: #fff; color: #FF8300;}
.site-main a.btn-top:hover:before {color: #FF8300;}

/* ===================================================================
 Pagination
=================================================================== */
.nav-subtitle { display:none;}
.nav-links .nav-title { position: relative; }
.nav-title-icon-wrapper { position: absolute; text-align: center; width: 2em; }

/* Page pagination
---------------------------------------------------------------------- */
.pagination { border-top:1px solid #D6BE98; font-size:14px; padding:1.5em 0; margin-top: 2em; text-align:center; }
.navigation.pagination { clear: both; width:100%;}
.navigation.pagination a { text-decoration: underline; }
.page-numbers{ display: inline-block; padding: 0 0.75em; line-height: 1;}
.page-numbers.current { color: #B78C4A; display: inline-block; font-size:113%; font-weight:bold; }
.page-numbers.current .screen-reader-text { font-size: 93.8%; width: 1px; height: 1px; clip: rect(1px, 1px, 1px, 1px); overflow: hidden; position: absolute !important; }

.prev.page-numbers,
.next.page-numbers { padding: 0; line-height: 1; display: inline-block; }

.prev.page-numbers { float: left; position: relative; padding-left: 13px; padding-right: 13px;}
.prev.page-numbers::before { position:absolute; content:''; width:6px; height:6px; border-top:solid 1px #555; border-right:solid 1px #555;
-webkit-transform:rotate(-135deg); transform:rotate(-135deg); top:50%; left:0; margin-top:-3px;}

.next.page-numbers { float: right; position: relative; padding-left: 13px; padding-right: 13px;}
.next.page-numbers::before { position:absolute; content:''; width:6px; height:6px; border-top:solid 1px #555; border-right:solid 1px #555;
-webkit-transform:rotate(45deg); transform:rotate(45deg); top:50%; right:0; margin-top:-3px;}

/* Posts pagination
---------------------------------------------------------------------- */
.post-navigation { clear:both; width:100%; max-width:1000px; padding:1em 0; line-height:1.2; font-size:14px; }
.post-navigation:after { content:" "; display:block; clear:both;}
.post-navigation .nav-links { margin: 0 auto; padding: 0; width: 100%;}
.post-navigation a[rel="next"] { float: right; text-align: right;}
.post-navigation a {text-decoration: underline;}
.post-navigation .nav-list{ clear:both; text-align:center; }
.post-navigation .nav-list a { font-size:100%; padding:0 20px; text-decoration:none;}

.post-navigation .nav-previous { float:left; text-align:left; width:50%; position: relative; padding-left: 13px; }
.post-navigation .nav-previous::before { position:absolute; content:''; width:6px; height:6px; border-top:solid 1px #555; border-right:solid 1px #555;
-webkit-transform:rotate(-135deg); transform:rotate(-135deg); top:48%; left:0; margin-top:-3px;}

.post-navigation .nav-next { float:right; text-align:right; width:48%; position: relative; padding-right: 13px; }
.post-navigation .nav-next::before { position:absolute; content:''; width:6px; height:6px; border-top:solid 1px #555; border-right:solid 1px #555;
-webkit-transform:rotate(45deg); transform:rotate(45deg); top:50%; right:0; margin-top:-3px;}

/* ===================================================================
 FOOTER
=================================================================== */
#site-foot { clear: both; width: 100%; text-align: center; background: url("assets/images/foot_bg.jpg") repeat-x center top;} 
#site-foot:after { content:" "; display:block; clear:both;}
.foot { width: 94%; max-width: 1260px; margin: 0 auto; padding: 50px 0 0 0;}
#site-foot a { color: #fff;}

#foot-nav { width: 860px; float:left; text-align: left; line-height: 1.6;}
#foot-nav ul { margin-bottom: 1em; display: -webkit-flex; display: flex; -webkit-flex-wrap: wrap; flex-wrap: wrap; -webkit-box-pack: justify; justify-content: space-between; align-items: flex-start;}
#foot-nav ul > li{ position:relative; font-size:100%; margin-left: 1em; margin-right: 2em;}
#foot-nav ul > li:before { position:absolute; top:0; left:-0.8em; font-family: "Font Awesome 5 Free"; content: "\f0da"; font-weight: 900; font-size: 94%; color: #fff;}
#foot-nav ul > li ul.child {display:block;}
#foot-nav ul > li ul.child li { position:relative; float: none; font-size:88%; padding-left: 1em; margin: 0;}
#foot-nav ul > li ul.child li:before { position:absolute; top:-0.1em; left:0; font-weight: normal; content: "－"; color: #fff; }

#foot-nav2 { width:360px; float:right; text-align: right;} 
#foot-nav2 ul { margin-bottom: 20px;}
#foot-nav2 ul li { position:relative; font-size: 88%; display: inline-block; margin-left: 1.8em; }
#foot-nav2 ul li:first-child { margin-left: 0;}
#foot-nav2 ul li:before { position:absolute; top:0; left:-1.2em; font-weight: normal; content: "|"; color: #fff; }
#foot-nav2 ul li:first-child:before { margin-left: 0; content: inherit;}

#site-foot a.bt-mail { border: 2px solid #fff; border-radius: 6px; padding: 7px 25px; line-height: 1;}
#site-foot a.bt-mail:before { font-family: "Font Awesome 5 Free"; content: "\f0e0"; font-weight: 900; font-size: 100%; color: #fff; margin-right: 0.3em;}
#site-foot a.bt-mail:hover { background-color: #FF6200; color: #FFF; font-weight: normal;}
#site-foot a.bt-mail:hover:before {color: #FFF;}

@media only screen and (max-width: 1260px) {
    .foot { padding: 30px 0 0 0;}
    #foot-nav { width: 94%; max-width: 860px; float:none; margin: 0 auto;}
    #foot-nav2 { width: 94%; max-width:360px; float:none; margin: 0 auto 10px auto; text-align: center;} 
    #site-foot a.bt-mail { margin: 0 auto;}
}

@media only screen and (max-width: 959px) {
    #site-foot {padding-bottom: 50px;}
}

/* copyright */
.copyright { clear: both; width:100%; text-align:center; font-size:75%; padding: 15px 0; color: #FFF; }
.copyright a { color:#FFF; text-decoration:none;}
.copyright a:hover { color:#FFF; text-decoration:underline;}

/* fixボタン PC -----------------*/
#fix-pc { display: none;}

@media only screen and (max-width: 959px) {
    #fix-pc { display: none;}
}

/* fixボタン SP -----------------*/
#fix-sp { position:fixed; width: 100%; bottom: 0; z-index: 9999;}
#fix-sp a { color: #FFF;}
#fix-sp ul { display: -webkit-flex; display: flex; -webkit-flex-wrap: wrap; flex-wrap: wrap; -webkit-box-pack: justify; justify-content: space-between; align-items: flex-start;}
#fix-sp ul li { width: 25%; font-size: 100%; text-align: center; }
#fix-sp ul li a{ position: relative; padding: 23px 0 4px 0; display: block; border-radius: 12px 12px 0 0;}
#fix-sp ul li#sizu a{ background:#764271;}
#fix-sp ul li#numa a{ background:#C93732;}
#fix-sp ul li#hama a{ background:#5A421B;}
#fix-sp ul li#contact a{ background:#39A600;}
#fix-sp ul li#sizu a:hover,
#fix-sp ul li#numa a:hover,
#fix-sp ul li#hama a:hover,
#fix-sp ul li#contact a:hover{ opacity:0.9; filter: alpha(opacity=90);}

#fix-sp ul li a:before{ position:absolute; top:3px; left:0; right: 0; font-family: "Font Awesome 5 Free"; content: "\f095"; font-weight: 900; font-size: 17px; color: #fff;}
#fix-sp ul li#contact a:before{ top:4px; content: "\f061";}

@media only screen and (min-width: 960px) {
    #fix-sp { display: none;}
}

/* ページ先頭へ ----------------- */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@600&display=swap');
#pagetop { display: block; position: fixed; right: -5px; bottom: 30px; height: 50px; text-decoration: none; font-weight: bold; transform: rotate(90deg); font-size: 113%; font-weight: bold; line-height: 2rem; color:#464637; padding: 0 0 0 30px; border-top:#464637 solid 3px; font-family: 'Montserrat', sans-serif;}
#pagetop::before { content: ""; display: block; position: absolute; top: -4px; left: 0px; width: 20px; border-top:#464637 solid 3px; transform: rotate(35deg); transform-origin: left top;}

@media only screen and (max-width: 959px) {
    #pagetop { font-size: 100%; bottom: 70px;}
}

/*--------------------------------------------------------------
Social nav
--------------------------------------------------------------*/
.social-navigation { clear: left; float: left; margin-bottom: 0; width: 36%; font-size:16px; margin-bottom:1em; }
.social-navigation ul { list-style:none; margin-bottom:0; margin-left:0; }
.social-navigation li { display:inline; }
.social-navigation a { background-color:#767676; -webkit-border-radius:40px; border-radius:40px; color:#fff; display:inline-block; height:40px; margin:0 1em .5em 0; text-align:center; width:40px; }
.social-navigation a:hover,
.social-navigation a:focus { background-color:#333; }
.social-navigation .icon { height:16px; top:12px; width:16px; vertical-align:top; }

/*--------------------------------------------------------------
Comments
--------------------------------------------------------------*/
#comments { clear:both; padding:5em 0 1em 0; }
.comments-title { font-size:20px; margin-bottom:2em; }
#comments ol.comment-list { list-style: none;}
.comment-list,
.comment-list .children { list-style:none; margin:0; padding:0; }
.comment-list li:before { display:none; }
.comment-body { margin-left: 0; }
.comment-author { font-size:16px; margin-bottom:.4em; position:relative; z-index:2; }
.comment-author .avatar { height:50px; left:-65px; position:absolute; width:50px; }
.comment-meta { margin-bottom:1.5em; }
.comment-metadata { color:#777; font-size:10px; font-weight:bold; letter-spacing:0.05em; text-transform:uppercase; }
.comment-metadata a { color:#777; }
.comment-metadata a.comment-edit-link { color:#222; margin-left:1em; }
.comment-body { color:#333; font-size:14px; margin-bottom:4em; }
.comment-reply-link { font-weight:bold; position:relative; }
.comment-reply-link .icon { color:#222; left:-2em; height:1em; position:absolute; top:0; width:1em; }
.children .comment-author .avatar { height:30px; left:-45px; width:30px; }
.bypostauthor > .comment-body > .comment-meta > .comment-author .avatar { border:1px solid #333; padding:2px; }
.no-comments,
.comment-awaiting-moderation { color:#767676; font-size:14px; }
.comments-pagination { margin:2em 0 3em; }
.form-submit { text-align:right; }
.comment-form #wp-comment-cookies-consent { margin:0 10px 0 0; }
.comment-form .comment-form-cookies-consent label { display:inline; }

.comments-pagination { border-top:1px solid #eee; font-size:14px; font-size:.875rem; font-weight:800; padding:2em 0 3em; text-align:center; }
.comments-pagination { border:0; }

@media screen and (max-width: 48em) {
 .comment-body { margin-left:65px; }
}


/* ===================================================================
 SIDE
=================================================================== */
.side-block { border:2px solid #D6BE98; border-radius:12px; background: #FFF; margin-bottom: 20px;}
.side-block h3.side-tit { background: #B78D4A; font-size: 19px; font-weight: bold; color: #FFF; text-align: center; padding: 18px 0; margin-bottom: 3px; border-radius:10px 10px 0 0; }
.side-inner { padding:12px 20px; border-top: 3px dotted #B78D4A;}
.side-inner h4.side-sec { clear: both; margin-bottom: 0.7em; padding: 10px 0 5px 0; color: #FF8300; font-size: 113%; background: url("assets/images/ico_3dot.png") no-repeat bottom center; text-align: center;}
.side-inner .side-branch { margin-bottom: 18px; }
.side-inner .side-branch h5 { font-size: 107%; color: #B78C4A; font-weight: bold; margin-bottom: 0.7em; border-bottom: 1px solid #B78D4A;}
.side-inner .side-branch h5 strong { font-size: 113%;}
.side-inner .side-branch h6 { margin-bottom: 0.4em; font-size:100%; font-weight: bold; line-height: 1.2;}
.side-inner .side-branch p { font-size: 88%; margin-bottom: 0.2em;}
.side-inner .side-branch a.tel { position: relative; font-size: 119%; font-weight: bold; margin-left: 1.3em; color: #000; }
.side-inner .side-branch a.tel:before { position:absolute; top:-0.1em; left:-1.3em; font-size: 94%; font-family: "Font Awesome 5 Free"; content: "\f095"; font-weight: 900;}
.side-inner .side-branch .recp { font-size: 82%; padding-left: 5em; margin-top: -5px;}
.side-inner a.mail { position: relative; font-size: 113%; width: 100%; max-width: 212px; padding:12px 5px 10px 30px; margin: 20px auto 10px auto; text-align: center; font-size: 107%; font-weight: bold; background: #94CF07; border: 2px solid #94CF07; color: #fff; border-radius: 10px; display: block; vertical-align: middle; transition: all .3s;}
.side-inner a.mail:before { position:absolute; top:5px; left:0.7em; font-family: "Font Awesome 5 Free"; content: "\f0e0"; font-weight: 300; font-size: 26px; }
.side-inner a.mail:hover { background-color: #fff; color: #94CF07; font-weight: normal;}
.side-inner a.mail:hover:before {color: #94CF07;}

.side #side-area p { margin-bottom: 0;}
.side #side-banner { text-align: center;}
.side #side-banner img { margin-bottom: 18px;}

@media screen and (max-width:959px){
    .side { width: 100%; float: none;}
    .side-inner #side-sizu { width: 49%; float: left; margin: 0 1% 18px 0;}
    .side-inner #side-numa { width: 49%; float: right; margin: 0 0 18px 1%;}
    .side-inner #side-hama { clear: both; width: 49%; float: left; margin: 0 1% 18px 0;}
}

@media screen and (max-width:520px){
    .side { width: 100%; float: none;}
    .side-inner #side-sizu,
    .side-inner #side-numa,
    .side-inner #side-hama { clear: both; width: 100%; float: none; margin-left: auto; margin-right:auto;}
}

/* ===================================================================
 SIDE　★WP★
=================================================================== */
.widget { border:2px solid #D6BE98; border-radius:12px; background: #FFF; margin-bottom: 20px;}
.widget h3.widget-title { background: #B78D4A; font-size: 19px; font-weight: bold; color: #FFF; text-align: center; padding: 18px 0; margin-bottom: 3px; border-radius:10px 10px 0 0; }
.widget h3.widget-title a { position: relative; color:inherit; font-weight: bold; text-decoration: underline; display: block;}
.widget h3.widget-title a:before { position: absolute; top:0; right: 5px; font-family: "Font Awesome 5 Free"; content: "\f0da"; font-weight: 900; color: #FFF;}
.widget select { width:100%; }

/* リスト */
.widget ul { list-style:none; margin:0; padding:12px 20px; border-top: 3px dotted #B78D4A;}
.widget ul li,
.widget ol li { padding:.2em 0; }
.widget ul li:before { font-family: "Font Awesome 5 Free"; content: "\f0da"; font-weight: 900; color: #FF8300; margin-right: 0.5em; }
.widget:not(.widget_tag_cloud) ul li + li { margin-top:-1px; }
.widget ul li ul { margin:0 0 -1px; padding:0; position:relative; }
.widget ul li li { border:0; padding-left:24px; padding-left:1.5rem; }
.widget ul li a { text-decoration: none;}
.widget ul li a:hover { text-decoration: underline;}

/* Widget lists of links */
.widget_top-posts ul li ul,
.widget_rss_links ul li ul,
.widget-grofile ul.grofile-links li ul,
.widget_pages ul li ul,
.widget_meta ul li ul { bottom: 0;}

.widget_nav_menu ul li li,
.widget_top-posts ul li,
.widget_top-posts ul li li,
.widget_rss_links ul li,
.widget_rss_links ul li li,
.widget-grofile ul.grofile-links li,
.widget-grofile ul.grofile-links li li { padding-bottom: 0.25em; padding-top: 0.25em;}
.widget_rss ul li { padding-bottom: 1em; padding-top: 1em;}

/* Widget markup */
.widget .post-date,
.widget .rss-date { font-size: 0.81em;}

/* Text widget */
.widget_text { word-wrap:break-word; }
.widget_text ul { list-style:disc; margin:0 0 1.5em 1.5em; }
.widget_text ol { list-style:decimal; }
.widget_text ul li,
.widget_text ol li { border:none; }
.widget_text ul li:last-child,
.widget_text ol li:last-child { padding-bottom:0; }
.widget_text ul li ul { margin:0 0 0 1.5em; }
.widget_text ul li li { padding-left:0; padding-right:0; }
.widget_text ol li { list-style-position:inside; }
.widget_text ol li + li { margin-top:-1px; }

/* RSS Widget */
.widget_rss .widget-title .rsswidget:first-child { float:right; }
.widget_rss .widget-title .rsswidget:first-child:hover { background-color:transparent; }
.widget_rss .widget-title .rsswidget:first-child img { display:block; }
.widget_rss ul li { padding:2.125em 0; }
.widget_rss ul li:first-child { border-top:none; padding-top:0; }
.widget_rss li .rsswidget { font-size:22px; font-weight:300; line-height:1.4; }
.widget_rss .rss-date,
.widget_rss li cite { color:#767676; display:block; font-size:10px; font-style:normal; font-weight:bold; letter-spacing:.18em; line-height:1.5; text-transform:uppercase; }
.widget_rss .rss-date { margin:.5em 0 1.5em; padding:0; }
.widget_rss .rssSummary { margin-bottom:.5em; }

/* Contact Info Widget */
.widget_contact_info .contact-map { margin-bottom: 0.5em; }

/* アバター */
.widget-grofile h4 { font-size: 16px; margin-bottom: 0;}

/* 最近のコメント */
.widget_recent_comments table,
.widget_recent_comments th,
.widget_recent_comments td { border: 0;}

/* 最近の投稿 */
.widget_recent_entries .post-date { display: block;}

/* Search */
.search-form { position:relative; }
.search-form .search-submit { width: 38px; height: 38px; padding:.5em 1em; background: #999; border-radius: 0 4px 4px 0; position: absolute; top: calc(50% - 19px); right: 0;}
.search-form .search-submit::before { width: 12px; height: 12px; border-radius: 50%; box-shadow: 0 0 0 2px #fff; position: absolute; content: ''; top: calc(50% - 7px); left: calc(50% - 7px);}
.search-form .search-submit::after { width: 7px; height: 5px; border-top: solid 2px #fff; transform: rotate(45deg); position: absolute; content: ''; top: calc(50% + 6px); left: calc(50% + 2px);}

/* タグ */
.widget_tag_cloud { line-height:1.5; }
.widget_tag_cloud a { float:left; padding:0 0.5em 0 0; width:auto; font-size: 14px; word-wrap:break-word; z-index:0; }
.widget_tag_cloud a:hover,
.widget_tag_cloud a:focus { border-color:#bbb; -webkit-box-shadow:none; box-shadow:none; text-decoration:none; }

/* Calendar widget */
.widget_calendar th,.widget_calendar td { text-align:center; }
.widget_calendar tfoot td { border:0; }

/* ===================================================================
 FORMS
=================================================================== */
form { width: 100%; font-size: 100%;}
form label { margin-right: 0.35em; font-weight: normal; line-height: 1.75; white-space: nowrap;}
form fieldset { margin-bottom: 1em;}

form input,
form textarea { max-width: 100%; color:#666; background:#fff; background-image:-webkit-linear-gradient(rgba(255,255,255,0),rgba(255,255,255,0)); border:1px solid #bbb; -webkit-border-radius:3px; border-radius:3px; padding:.8em; }
form input:focus,
form textarea:focus { color: #222; border-color: #333;}
form input.p-postal-code { padding:.5em .8em; margin-bottom: 5px;}

form select { max-width: 100%; height: 3em; border: 1px solid #bbb; -webkit-border-radius: 3px; border-radius: 3px;}

@media only screen and (min-width:959px) and (max-width:1260px)  { 
	#inquiry-form form dd table input,
    #inquiry-form form dd table textarea { max-width: 300px;}
}

@media only screen and (max-width:640px) { 
	#inquiry-form form dd table input,
    #inquiry-form form dd table textarea { max-width: 260px;}
}

@media only screen and (max-width:360px) { 
	#inquiry-form form dd table input,
    #inquiry-form form dd table textarea { max-width: 200px;}
}

form input[type="radio"]:focus,
form input[type="checkbox"]:focus { outline: thin dotted #333;}

form input[type="radio"],
form input[type="checkbox"] { margin-right: 0;}

form input[type="radio"] + label,
form input[type="checkbox"] + label { font-weight: normal;}

form button,
form input[type="button"],
form input[type="submit"] { padding: 12px 25px; font-size:100%; line-height:1; letter-spacing: 0.1em; color:#fff; background-color:#222;
 border:0; -webkit-border-radius:5px; border-radius:5px; -webkit-box-shadow:none; box-shadow:none; cursor:pointer; display:inline-block;
 text-shadow:none; -webkit-transition:background .2s; transition:background .2s; }

form input + button,
form input + input[type="button"],
form input + input[type="submit"] { padding: 12px 25px;}

form button.secondary,
form input[type="reset"],
form input[type="button"].secondary,
form input[type="reset"].secondary,
form input[type="submit"].secondary { background-color: #ddd; color: #222;}

form button:hover,
form button:focus,
form input[type="button"]:hover,
form input[type="button"]:focus,
form input[type="submit"]:hover,
form input[type="submit"]:focus { background: #767676; }

form button.secondary:hover,
form button.secondary:focus,
form input[type="reset"]:hover,
form input[type="reset"]:focus,
form input[type="button"].secondary:hover,
form input[type="button"].secondary:focus,
form input[type="reset"].secondary:hover,
form input[type="reset"].secondary:focus,
form input[type="submit"].secondary:hover,
form input[type="submit"].secondary:focus { background: #bbb;}


/*--------------------------------------------------------------
 Tag
--------------------------------------------------------------*/
dfn,
cite { font-style:italic; }

blockquote { color:#444; margin:0; font-size: 88%; padding:0; overflow:hidden; }
blockquote cite { display:block; margin-top:.5em; }
blockquote { quotes:"" ""; }
blockquote:before,
blockquote:after { content:""; }
.entry-content blockquote.alignleft { margin-left: 0; width: 45%; }
.entry-content blockquote.alignright { margin-right: 0; width: 45%; }

:focus { outline:none; }
address { margin:0 0 0.5em; font-style: normal; }
pre { background:#eee; font-size:15px; line-height:1.6; margin-bottom:1.6em; max-width:100%; overflow:auto; padding:1.6em; }
code,
kbd,
tt,
var { font-size:15px; }
abbr,
acronym { border-bottom:1px dotted #666; cursor:help; }
mark,
ins { background:#eee; text-decoration:none; }
big { font-size:125%; }
q { quotes:"“" "”" "‘" "’"; }


/*--------------------------------------------------------------
 Icon
--------------------------------------------------------------*/
span.icon { display: inline-block; position: relative; letter-spacing: 0; line-height: 1; margin-right: 1em;}

/* タグ */
.icon-tag { color: #AAA; position:absolute; margin-top:3px; width:7px; height:7px; 
border-radius:1px 1px 1px 0; border-left:solid 1px currentColor; border-top:solid 1px currentColor; background-color:currentColor;}
.icon-tag:before { content:''; position:absolute; left:1px; top:1px; width:10px; height:10px; border-radius:1px; border-left:solid 1px currentColor; border-right:solid 1px currentColor; border-bottom:solid 1px currentColor; background-color:currentColor; -webkit-transform:rotate(-45deg); transform:rotate(-45deg)}
.icon-tag:after { content:''; position:absolute; left:3px; top:3px; width:2px; height:2px; border-radius:50%; color:#fff; background-color:currentColor;}

/* フォルダ */
.icon-folder {
 color: #AAA; position: absolute; top: 2px; margin-top: 5px; width: 13px; height: 9px;
 border-radius: 1px; border: solid 1px currentColor; background-color: currentColor;}
.icon-folder:after { content: ''; position: absolute; left: -1px; top: -3px; width: 7px; height: 2px;
border-radius: 1px 1px 0 0; background-color: currentColor;}

/* ペン */
.icon-pen { color: #AAA; position: absolute; width: 10px; top: -2px; right: -5px;
  border-radius: 1px; border: solid 2px currentColor; background-color: currentColor;  -webkit-transform: rotate(-45deg); transform: rotate(-45deg);}
.icon-pen:before {
 content: ''; position: absolute; left: -12px; top: -2px; width: 0px; height: 0px;
 border-left: solid 5px transparent; border-right: solid 4px currentColor; border-top: solid 2px transparent; border-bottom: solid 2px transparent; }



/*--------------------------------------------------------------
 Print
--------------------------------------------------------------*/
@media print { }

