/*
Theme Name: ナガハシプランニング用テーマ(STINGER8 Child)
Template: stinger8
Description: ナガハシプランニング用にカスタマイズしたテーマ「STINGER8」の子テーマです
Author: Chika Hibino
Version: 20180715
*/

* {
	font-family: "游ゴシック体", YuGothic, "游ゴシック Medium", "Yu Gothic Medium", "游ゴシック", "Yu Gothic", "メイリオ", sans-serif;
}
body {
	line-height: 1.75;
	font-size: 15px;
}
h1 { font-size: 2rem; }
h2 { font-size: 1.5rem; }
h3 { font-size: 1.25rem; }
h4 { font-size: 1rem; }
h5 { font-size: 1rem; }
h6 { font-size: 1rem; }
a {
	color: #392c03;
}


/* ==================================================
  layout
================================================== */

/* header */
header {
	position: relative;
	background-color: #fff;
	min-height: 103px;
	text-align: left;
}
#headbox-bg {
	position: absolute;
	top: 0;
	height: 103px;
	width: 100%;
	z-index: 100;
}
#header-l {
	float: left;
	padding-left: 10px;
}
header .sitename {
	padding: 8px 0;
	margin: 0;
}

/* footer */
#footer {
	padding: 25px 15px 20px;
	background: #211a12 url(images/footer_bg.png) bottom right no-repeat;
	font-size: 12px;
	line-height: 18px;
	color: #e3e2e1;
}
#footer ul {
	padding: 0;
}
#footer ul li a {
	color: #e3e2e1;
}
.footer-info {
	text-align: left;
}
.footer-info dt {
	white-space: nowrap;
	width: 5em;
	float: left;
}
.footer-info dt:after{
	content: ":";
	width: 1em;
	float: right;
	text-align: center;
}
.footer-info dd {
	margin-left: 5em;
}
.footer-info dd:after{
	display: block;
	content: "";
	clear: both;
}
#footer p.copyright {
	margin: 1em 0 0;
	color: #898581;
}
#page-top a {
  background-color: #2b2218;
}

/* main */
#content {
	position: relative;
}
.st-main {
	background-color: transparent;
	margin: 0;
	padding: 20px;
}





/*media Queries タブレットサイズ（959px以下）
----------------------------------------------------*/
@media only screen and (max-width: 959px) {
	
	header {
		-webkit-box-shadow: 0 0 5px rgba(0, 0, 0, 0.2);
		        box-shadow: 0 0 5px rgba(0, 0, 0, 0.2);
	}
	
	/* acordion */
	#s-navi {
		position: absolute;
		top: 0;
		width: 100%;
	}
	#s-navi dt.trigger {
		position: absolute;
		top: 0;
		width: 100%;
		z-index: 101;
	}
	#s-navi dd.acordion_tree {
		position: absolute;
		top: 0;
		width: 100%;
		background-color: #eee;
		-webkit-box-shadow: 0 0 5px rgba(0, 0, 0, 0.2);
		        box-shadow: 0 0 5px rgba(0, 0, 0, 0.2);
		z-index: 99;
	}
	.acordion_tree ul.menu li,
	.acordion_tree ul.menu li:last-child {
		border-bottom: 1px solid #aaa;
 		padding: 15px 20px;
	}
	.acordion_tree ul.sns-menu {
		text-align: center;
		padding-top: 20px;
	}
	.acordion_tree ul.sns-menu li {
		display: inline-block;
		padding: 0 10px;
	}

	/* footer */
	#footer ul li {
		display: block;
		padding: 5px 10px;
		list-style-type: none;
		border-bottom: 1px dotted #898581;
	}
	.footer-c {
		margin-top: 35px;
	}
	.footer-info {
		margin: 35px auto 0;
		width: 100%;
		max-width: 480px;
	}
}

/*media Queries タブレットサイズ（600px以上）
----------------------------------------------------*/
@media only screen and (min-width: 600px) {
	#headbox img {
		margin: 0;
	}
	.st-main {
		background-color: transparent;
		margin: 0;
		padding: 20px;
	}
}

/*media Queries PCサイズ（960px以上）
----------------------------------------------------*/
@media print, screen and (min-width: 960px) {
	#headbox {
		padding: 0;
	}
	#header-r {
		float: right;
		padding: 21px 21px 0 0;
	}
	#header-r  li {
		display: inline-block;
		list-style: none;
		margin-left: 16px;
	}
	
	#gnavi {
		background: repeating-linear-gradient(#211a12, #211a12 5px, #2b2218 0, #2b2218 10px);
		height: 55px;
	}	
	#gnavi ul {
		display: -webkit-box;
		display: -ms-flexbox;
		display: flex;
		max-width: 1060px;
    	margin: 0 20px;
	}
	#gnavi ul li {
		-webkit-box-flex: 1;
		    -ms-flex-positive: 1;
		        flex-grow: 1;
		width: 100%;
		height: 100%;
		list-style-type: none;
		position: relative;
	}
	#gnavi ul li a {
		display: block;
		text-align: center;
		width: 100%;
		height: 100%;
		-webkit-box-sizing: border-box;
		        box-sizing: border-box;
		padding: 10px;
		color: #fff;
		line-height: 18px;
		font-size: 14px;
		font-family: "Times New Roman", "游明朝", "Yu Mincho", "游明朝体", "YuMincho", "ヒラギノ明朝 Pro W3", "Hiragino Mincho Pro", "HiraMinProN-W3", "ヒラギノ明朝 ProN W3", "Hiragino Mincho ProN", "HGS明朝E", "HG明朝E", "ＭＳ Ｐ明朝", "MS PMincho", serif;
		text-decoration: none;
	}
	#gnavi ul li a span {
		display: block;
		color: #f6e6b6;
		line-height: 16px;
		font-size: 14px;
		font-family: "Times New Roman", "游明朝", "Yu Mincho", "游明朝体", "YuMincho", "ヒラギノ明朝 Pro W3", "Hiragino Mincho Pro", "HiraMinProN-W3", "ヒラギノ明朝 ProN W3", "Hiragino Mincho ProN", "HGS明朝E", "HG明朝E", "ＭＳ Ｐ明朝", "MS PMincho", serif;
	}
	#gnavi ul li:before {
		position: absolute;
		top: 12px;
		left: 0;
		display: block;
		content: '';
		width: 1px;
		height: 31px;
		background-color: #f6e6b6;
	}
	#gnavi ul li:last-child:after {
		position: absolute;
		top: 12px;
		right: 0;
		display: block;
		content: '';
		width: 1px;
		height: 31px;
		background-color: #f6e6b6;
	}

	/* footer */
	#footer ul li {
		display: inline-block;
		padding: 0 18px;
		list-style-type: none;
		border-right: 1px solid #898581;
	}
	#footer ul li:first-child {
		border-left: 1px solid #898581;
	}
	.footer-c {
		width: 100%;
		max-width: 662px;
		margin: 35px auto 0;
		display: -webkit-box;
		display: -ms-flexbox;
		display: flex;
		-webkit-box-pack: justify;
		    -ms-flex-pack: justify;
		        justify-content: space-between;
	}
	
	/* main */
	#contentInner {
		float: none;
		margin: 0;
	}
	.st-main {
		margin: 0;
		padding: 20px;
	}
}



/* ==================================================
  component
================================================== */

/* archive */
.news_archive dt {
	padding: 5px 0 0 6em;
	margin-bottom: 5px;
}
.news_archive dt span {
	display: block;
	float: left;
	width: 6em;
	margin-left: -6em;
}
.news_archive dt:after {
	content: '';
	display: block;
	clear: both;
}
.news_archive dt a {
	text-decoration: none;
}
.news_archive dt:not(:first-child) {
	border-top: 1px dotted #ccc;
}
.news_archive dd {
	padding: 0 0 0 6em;
	margin-top: 5px;
}

.st-pagelink .page-numbers {
	height: auto;
	border-color: #2b2218;
}
.st-pagelink .page-numbers.current {
	background-color: #2b2218;
	color: #fbfdf0;
}
/* 960px以上 */
@media print, screen and (min-width: 960px) {
	.st-pagelink .page-numbers {
		padding: 5px 12px;
	}
}


/* page */
.box-title {
	text-align: center;
	color: #362900;
	margin-bottom: 30px;
}
.box-title h1,
.box-title h2 {
	background-color: transparent;
	border: none;
	padding: 0;
	margin: 0;
	font-family: "Times New Roman", "游明朝", "Yu Mincho", "游明朝体", "YuMincho", "ヒラギノ明朝 Pro W3", "Hiragino Mincho Pro", "HiraMinProN-W3", "ヒラギノ明朝 ProN W3", "Hiragino Mincho ProN", "HGS明朝E", "HG明朝E", "ＭＳ Ｐ明朝", "MS PMincho", serif;
	font-size: 16px;
	line-height: 42px;
	letter-spacing: 5px;
}
.box-title h1:after,
.box-title h2:after {
	content: "";
	line-height: 0;
    display: block;
    overflow: hidden;
	height: 1px;
	width: 40px;
	margin: 0 auto;
	background-color: #362900;
}
.box-title p {
	font-size: 12px;
	margin: 0;
	line-height: 42px;
}
article .box-title:after {
	content: '';
	line-height: 0;
    display: block;
    overflow: hidden;
	width: 100%;
	height: 0;
	padding-top: calc(9 / 1100 * 100%); /* calc(画像高さ ÷ 画像横幅 × 100%) */
	background: url(images/hr.png) center center / cover no-repeat;
    border: 0;
	margin-top: 30px;
}

.mainbox:after {
	content: '';
	line-height: 0;
    display: block;
    overflow: hidden;
	width: 100%;
	height: 0;
	padding-top: calc(9 / 1100 * 100%); /* calc(画像高さ ÷ 画像横幅 × 100%) */
	background: url(images/hr.png) center center / cover no-repeat;
    border: 0;
	margin-top: 30px;
	margin-bottom: 50px;
}


/* single */
.blogbox {
	text-align: right;
	margin-top: -10px;
}
.blogbox:after {
	content: '';
	line-height: 0;
    display: block;
    overflow: hidden;
	width: 100%;
	height: 0;
	padding-top: calc(9 / 1100 * 100%); /* calc(画像高さ ÷ 画像横幅 × 100%) */
	background: url(images/hr.png) center center / cover no-repeat;
    border: 0;
	margin-top: 10px;
	margin-bottom: 50px;
}
.pager {
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	width: 100%;
}
.pager .prev {
	-webkit-box-flex: 1;
	    -ms-flex: 1 1 auto;
	        flex: 1 1 auto;
}
.pager .next {
	-webkit-box-flex: 1;
	    -ms-flex: 1 1 auto;
	        flex: 1 1 auto;
	text-align: right;
}
.pager .prev:before {
	content: '<';
}
.pager .next:after {
	content: '>';
}

.mincho {
	font-family: "Times New Roman", "游明朝", "Yu Mincho", "游明朝体", "YuMincho", "ヒラギノ明朝 Pro W3", "Hiragino Mincho Pro", "HiraMinProN-W3", "ヒラギノ明朝 ProN W3", "Hiragino Mincho ProN", "HGS明朝E", "HG明朝E", "ＭＳ Ｐ明朝", "MS PMincho", serif;
}
hr {
	width: 100%;
	height: 0;
	padding-top: calc(9 / 1100 * 100%); /* calc(画像高さ ÷ 画像横幅 × 100%) */
	background: url(images/hr.png) center center / cover no-repeat;
    border: 0;
	margin-top: 30px;
	margin-bottom: 30px;
}


/* ==================================================
  home
================================================== */

.home .sitename img {
	max-width: 25vw;
}

#mainimage .metaslider .flexslider {
	margin-bottom: 0;
}
#mainimage .metaslider .flex-control-nav {
	bottom: 6px;
}
#mainimage .flex-control-paging li a {
	background: #888;
	background: rgba(255, 255, 255, 0.5);
}
#mainimage .flex-control-paging li a:hover {
	background: #aaa;
	background: rgba(255, 255, 255, 0.7);
}
#mainimage .flex-control-paging li a.flex-active {
	background: #fff;
	background: rgba(255, 255, 255, 0.9);
}

#mainimage p.lead {
	position: absolute;
	top: 35%;
	margin: 0;
	padding-left: 20px;
}
#mainimage p.lead img {
	max-width: 80%;
}

.home section {
	margin: 0;
}

#topNews ul.news_list {
	margin: 0;
	padding: 0 20px;
	max-width: 1000px;
}
#topNews li {
	list-style: none;
	padding: 0 0 0 6em;
	font-size: 12px;
	margin: 5px;
}
#topNews li span {
	display: block;
	float: left;
	width: 6em;
	margin-left: -6em;
}
#topNews li a {
	text-decoration: none;
}
#topNews li:after {
	content: '';
	display: block;
	clear: both;
}

#topTopics ul {
	text-align: center;
	padding: 0 20px 50px;
}
#topTopics li {
	list-style: none;
	margin-bottom: 20px;
}
#topTopics img {
	margin: 0 auto;
}


#topGallery {
	margin-bottom: 80px;
}
#topGallery .slide_wrap {
	border: 3px double #362900;
	padding: 5px;
	max-width: 1000px;
}

/* 960px以下 */
@media only screen and (max-width: 959px) { 
	#topNews {
		padding: 30px 0 50px;
	}
}

/* 960px以上 */
@media print, screen and (min-width: 960px) {
	#mainimage .mainimage-over {
		max-width: 1060px;
		margin: 0 auto;
	}

	#topNews {
		position: relative;
		margin: 0;
		padding: 0;
		width: 100%;
	}
	.topNews_inner {
		position: absolute;
		bottom: 100px;
		z-index: 50;
		width: 100%;
		display: table;
		background-color: rgba(255, 255, 255, 0.65);
		padding: 20px 0;
	}
	#topNews .box-title {
		display: table-cell;
		vertical-align: middle;
		width: 120px;
		padding: 0 0 0 20px;
		margin: 0;
	}
	#topNews ul.news_list {
		display: table-cell;
		border-left: 1px solid #362900;
	    vertical-align: middle;
	}
	#topNews li {
		height: 1.75em;
		overflow: hidden;
	}
}


/* ==================================================
  pages
================================================== */

/* contact
-------------------- */
div.wpcf7-response-output {
	padding: 1rem 1.5rem;
	background-color: #fbe3d8;
	border: 1px solid #cd5050;
	border-radius: 3px;
	margin: 1rem 0 3rem;
}
div.wpcf7-mail-sent-ok {
	background-color: #e1f3de;
	border: 1px solid #1f9654;
}
div.wpcf7-mail-sent-ng,
div.wpcf7-aborted {
	background-color: #cd5050;
	border: 1px solid #cd5050;
}
div.wpcf7-spam-blocked {
	background-color: #fbf7d8;
	border: 1px solid #f29634;
}
div.wpcf7-validation-errors,
div.wpcf7-acceptance-missing {
	background-color: #fbf7d8;
	border: 1px solid #f29634;
}

/* decolation
-------------------- */



.entry-content h2{
	border: none;
	background: none;
	text-align: center;
	margin: 20px auto;
	padding: 0;
}
.entry-content h2:before,
.entry-content h2:after {
	margin: 0 1em 0.5em 1em;
	content: "";
	line-height: 0;
    display: inline-block;
    overflow: hidden;
	height: 1px;
	width: 15%;
	background-color: #362900;
}

.entry-content h3 {
	padding: 0 0 0 16px;
	border-left: 4px solid #362900;
	margin: 1em 0 0.5em;
}
.entry-content h4 {
    position: relative;
    padding-left: 16px;
	margin: 1em 0 0.5em;
}
.entry-content h4:before {
    content: '';
    width: 0;
    height: 0;
    border: solid 4px transparent;
    border-left: solid 6px #362900;
    position: absolute;
    top: 50%;
    left: 0;
    margin-top: -4px;
}
.entry-content ul,
.entry-content ol {
	margin-left: 2em;
}