@charset "UTF-8";
/* CSS Document */

/* Header */
.nav-container {
    position: fixed;
    right: 0;
		left: 0;
		top: 0;
		z-index: 4;
    background-color: #000;
    width: 100%;
  }
.nav-mobile {
  display: block;
  position: absolute;
  top: 21px;
  right: 16px;
  height: 21px;
  width: 35px;
	cursor: pointer;
}
.header-nav {
  width: 100%;
  position: fixed;
	top: 61px;
	bottom: 0;
	overflow-y: auto;
	display: none;
}
.header-nav .inner {
  height: 100%;
  overflow-y: auto;
}
.header-nav ul {
}
.header-nav ul li {
  border-top: 1px solid rgba(0,0,0,0.1);
	position: relative;
	background-color: #FAF8F0;
}
.header-nav ul li a,
.header-nav ul li span {
  padding: 20px;
  text-align: left;
	display: flex;
  justify-content: flex-start;
	align-items: center;
	letter-spacing: 0.05em;
	color: #191919;
	cursor: pointer;
	-webkit-transition: 0.7s;
  -moz-transition: 0.7s;
  -o-transition: 0.7s;
  transition: 0.7s;
  text-decoration: none;
}
.header-nav ul li a:hover, .header-nav ul li a:visited:hover,
.header-nav ul li span:hover, .header-nav ul li span:visited:hover {
  color: #444;
}
.header-nav ul li a:not(:only-child):after, .header-nav ul li a:visited:not(:only-child):after,
.header-nav ul li span:not(:only-child):after, .header-nav ul li span:visited:not(:only-child):after {
  padding-left: 12px;
  padding-bottom: 4px;
  content: '▾';
  opacity: 0.2;
}
.header-nav ul li ul {
  padding: 0 20px;
}
.header-nav ul li ul li a {
  padding: 20px 0;
  justify-content: flex-start;
  text-indent: 20px;
}
.header-nav ul li ul li a:hover, .header-nav ul li ul li a:visited:hover {
  background-color: #FAF8F0;
}
.nav-dropdown,
.sub-menu {
  position: static;
  box-shadow: none;
}
.nav-dropdown:before, .nav-dropdown:after,
.sub-menu:before, .sub-menu:after {
  border: none;
}
.header-nav .sub-nav {
  position: static;
  right: auto;
  top: auto;
  width: 100%;
  text-align: center;
	border-top: none;
	box-shadow: 4px 10px 16px rgba(0,0,0,0.1);
}
.header-nav .sub-nav li {
  margin: 0 auto;
  width: 50%;
  float: left;
}
.header-nav .sub-nav li a {
  display: block;
  padding: 24px 20px !important;
  justify-content: center;
  font-size: 100%;
}
.header-nav .sub-nav li:nth-child(odd) {
  border-right: 1px solid rgba(0,0,0,.15);
}
.nav-dropdown,
.sub-menu {
  display: none;
}

.brand {
  text-transform: uppercase;
  font-size: 1.4em;
	text-align: center;
}
.brand a, .brand a:visited {
  color: #fff;
  text-decoration: none;
	display: block;
	width: 100%;
	max-width: 240px;
	margin: 0 auto;
}
.brand a img {
  width: 100%;
	height: auto;
}
.brand a span {
  font-size: 80%;
  margin-right: 4px;
}

#nav-toggle {
  position: absolute;
  left: 0;
  top: 0;
  cursor: pointer;
  padding: 10px 0;
}
#nav-toggle span, #nav-toggle span:before, #nav-toggle span:after {
  cursor: pointer;
  border-radius: 1px;
  height: 1px;
  width: 35px;
  background-color: #191919;
  position: absolute;
  display: block;
  content: '';
  transition: all 300ms ease-in-out;
}
#nav-toggle span:before {
  top: -10px;
}
#nav-toggle span:after {
  bottom: -10px;
}
#nav-toggle.active span {
  background-color: transparent;
}
#nav-toggle.active span:before, #nav-toggle.active span:after {
  top: 0;
}
#nav-toggle.active span:before {
  transform: rotate(45deg);
}
#nav-toggle.active span:after {
  transform: rotate(-45deg);
}

@media (min-width:768px) {

}
@media (min-width:980px) {

.nav-container {
    position: relative;
    right: auto;
		top: auto;
		border-bottom: none;
}
.header-nav {
  position: relative;
	box-shadow: none;
	top: 0;
	bottom: auto;
	overflow-y: visible;
	display: block!important;
}
.header-nav .inner {
  height: auto;
	overflow-y: visible;
}
.header-nav ul {
  border-left: solid 1px rgba(0,0,0,.15);
	border-top: none;
}
.header-nav ul li {
  width: 100%;
  border-right: solid 1px rgba(0,0,0,.15);
	border-top: none;
}
.header-nav ul li a, .header-nav ul li a:visited,
.header-nav ul li span, .header-nav ul li span:visited {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  height: 44px;
  text-decoration: none;
  text-align: left;
  letter-spacing: 0.05em;
}
.header-nav ul li a:hover, .header-nav ul li a:visited:hover,
.header-nav ul li span:hover, .header-nav ul li span:visited:hover {
  opacity: 0.6;
	background-color: #FAF8F0;
}
.header-nav ul li a:not(:only-child):after, .header-nav ul li a:visited:not(:only-child):after,
.header-nav ul li span:not(:only-child):after, .header-nav ul li span:visited:not(:only-child):after {
  padding-left: 8px;
  padding-bottom: 4px;
  content: '▾';
  opacity: 0.4;
}
.header-nav ul li ul {
  width: 100%;
  border-left: none;
  padding: 0;
}
.header-nav ul li ul li {
  min-width: calc(100% / 5);
  width: 100%;
  border-right: none;
  border-bottom: dotted 1px rgba(0,0,0,.15);
}
.header-nav ul li ul li a {
  padding: 32px 24px;

	text-indent: 0;
}
.header-nav ul li ul li a:hover {
  color: #191919;
}
.header-nav .sub-nav {
  display: inline-block !important;
  position: absolute;
  right: 0px;
  top: -84px;
  width: auto;
  border-left: none;
	box-shadow: none;
}
.header-nav .sub-nav li {
  border-right: none;
  display: inline-block;
  width: auto;
}
.header-nav .sub-nav li a {
  font-size: 85%;
  height: auto;
  display: block;
}
.header-nav .sub-nav li:nth-child(odd) {
  border-right: none;
}
.nav-dropdown,
.sub-menu {
  position: absolute;
  left: -1px;
  top: 44px;
  display: none;
  z-index: 1;
  background-color: #FAF8F0;
  flex-wrap: wrap;
  box-shadow: 12px 12px 12px rgba(0, 0, 0, 0.1);
}
.nav-mobile {
  display: none;
}
.nav-list {
  display: flex !important;
  width: 100%;
  justify-content: space-between;
}
.brand a, .brand a:visited {
	padding: 0.8rem 0;
	max-width: 280px;
}
}

/* Footer */

footer {
  width: 100%;
	background-color: #fff;
	border-top: solid 1px rgba(0,0,0,0.1);
}
.ft-sub-nav {
  font-size: 1.3rem;
	display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
	-webkit-flex-wrap: wrap;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
	justify-content: center;
}
.ft-sub-nav li {
  margin: 0 1rem;
}
.ft-link-btn {
  width: 100%;
}
.ft-link-btn ul {
  width: 100%;
}
.ft-link-btn ul li {
  width: 50%;
	float: left;
}
.ft-link-btn ul li a {
  background-color: #fff;
}
.ft-link-btn ul li:nth-child(1) {
  width: 100%;
	margin-bottom: 0.8rem;
}
.ft-link-btn ul li:nth-child(2) {
	padding-right: 0.4rem;
}
.ft-link-btn ul li:nth-child(3) {
	padding-left: 0.4rem;
}

.footer-brand {
	display: block;
	width: 100%;
	max-width: 240px;
	margin: 0 auto 20px;
}
.footer-brand img {
  width: 100%;
	height: auto;
}
/*
.grecaptcha-badge { visibility: hidden; }
*/

@media (min-width:768px) {
.ft-sub-nav {
  font-size: 1.4rem;
}
.ft-sub-nav {
}
.ft-link-btn ul li {
  width: 32%;
}
.ft-link-btn ul li:nth-child(1) {
  width: 32%;
	margin-bottom: 0;
	margin-right: 2%;
}
.ft-link-btn ul li:nth-child(2) {
	padding-right: 0;
	margin-right: 2%;
}
.ft-link-btn ul li:nth-child(3) {
	padding-left: 0;
}
}

/* Breadcrumbs */

.breadcrumbs {
  width: 100%;
	overflow-x: auto;
  overflow-y: hidden;
	white-space: nowrap;
}
.breadcrumbs span {
  margin-right: 0.8rem;
  margin-left: 0.8rem;
  line-height: 1;
}
.breadcrumbs span:first-child {
  margin-left: 0.4rem;
}
.breadcrumbs a {
  text-decoration: underline;
}

/* Side bar */

ul.categories,
ul.archives,
ul.years {
  /*border-bottom: dotted 1px rgba(0,0,0,.15);*/
}
ul.categories li,
ul.archives li,
ul.years li {
  border-top: dotted 1px rgba(0,0,0,.15);
}
ul.categories li a,
ul.archives li a,
ul.years li a {
  padding-bottom: 0.8rem;
	display: inline-block;
	padding: 1.6rem 0 1.6rem 0.8rem;
}

@media (min-width:768px) {

ul.categories,
ul.archives,
ul.years {
  border-bottom: none;
}
ul.categories li,
ul.archives li,
ul.years li {
  border-top: none;
}
ul.categories li a,
ul.archives li a,
ul.years li a {
  padding: 0 0 0.8rem;
}
}

@media (min-width:980px) {
ul.categories li a,
ul.archives li a,
ul.years li a {
  padding: 0 0 1.6rem;
}
}

/* Page navi */

.page-nav {
  width: 100%;
	max-width: 980px;
	position: relative;
}
.page-nav.page-nav-shikitei,
.page-nav.page-nav-chado{
   max-width: 1440px;
}
.page-nav::after {
  content: '';
  position: absolute;
  z-index: 2;
  top: 0;
  right: 0;
  height: 100%;
  width: 48px;
  background: transparent;
  background: -webkit-linear-gradient(right, #303730, rgba(0, 0, 0, 0));
  background: linear-gradient(to left, #303730, rgba(0, 0, 0, 0));
  pointer-events: none;
  -webkit-transition: opacity .2s;
  transition: opacity .2s;
}
.page-nav li {
  border-left: dotted 1px rgba(0,0,0,0.6);
	display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
	-webkit-box-align: center;
  -webkit-align-items: center;
  -ms-flex-align: center;
  -ms-grid-row-align: center;
  align-items: center;
	-webkit-box-pack: center;
  -webkit-justify-content: center;
  -ms-flex-pack: center;
  justify-content: center;
}
.page-nav li.current-menu-item,
.page-nav li.current {
  background-color: #5f7e4f;
}
.page-nav li a {
  min-width: 180px;
  padding: 2rem 0;
  color: #fff;
	text-shadow: 2px 2px 2px rgba(0,0,0,0.1);
	vertical-align: middle;
	display: inline-block;
	white-space: nowrap;
}
.page-nav.cat-construction li.menu-item-267,
.page-nav.cat-years li.menu-item-279,
.page-nav.cat-company li.menu-item-605 {
  background-color: #5f7e4f!important;
}
@media (min-width:980px) {
.page-nav {
	border-right: dotted 1px rgba(0,0,0,0.6);
}
.page-nav::after {
  background: none;
}
.page-nav li a {
  padding: 2.2rem 0rem;
}
.page-nav-fixed {
  position: -webkit-sticky;
  position: sticky;
  top: 0;
	z-index: 100;
}
}

/* Next Prev link */

.post-navi {
  margin-bottom: 4.0rem;
	border-top: solid 1px rgba(0,0,0,0.1);
}
.post-navi ul {
  width: 100%;
}
.post-navi ul li a {
  width: 100%;
	padding-bottom: 1rem;
}
.post-navi ul li a span.image {
  width: 25%;
}
.post-navi ul li a span.text {
  width: calc(100% - 25%);
}
@media (min-width:980px) {
.post-navi {
  margin-bottom: 0;
}
}

/* WP-Page Navi */

.wp-pagenavi {
	clear: both;
	width: 100%;
	margin-top: 2rem;
	margin-bottom: 2rem;
	display: flex;
	display: -webkit-flex;
	-webkit-flex-wrap: wrap;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
}
.wp-pagenavi a, .wp-pagenavi span {
	text-decoration: none;
	border: solid 1px rgba(0,0,0,0.2);
	min-width: 48px;
	height: 48px;
	border-radius: 2px;
	margin: 0 0.8rem 0 0;
	text-align: center;
	display: flex;
	display: -webkit-flex;
	align-items: center;
	justify-content: center;
	-webkit-transition: 0.5s;
	-moz-transition: 0.5s;
	transition: 0.5s;
}
.wp-pagenavi a:hover, .wp-pagenavi span.current {
	background-color: #303730;
	border-color: rgba(0,0,0,.125);
	color: #fff;
}
.wp-pagenavi span.current {
	font-weight: bold;
}
.wp-pagenavi span.pages,
.wp-pagenavi a.first,
.wp-pagenavi a.last {
  padding: 0 1.6rem;
}

@media screen and (min-width: 768px) {
.wp-pagenavi {
  margin-top: 0;
	margin-bottom: 8rem;
}
}