/* ==========================================================================
   Author's custom styles
   ========================================================================== */
body,html {height: 100%;}

body {
    padding-top: 44px;
    padding-bottom: 0;
    background: #fffffc;
    -webkit-font-smoothing: antialiased;
}
h1 {
	font-size: 13px;
	margin: 15px 7px;
	position: absolute;
	z-index: 9;
	text-align: right;
	top: 104px;
	right: 0;
}
h1.single {
	top: 88px;
}
h1 a {color: #333;}
a:hover>img {opacity: .9;}
@media (max-width: 991px) {
	h1 {
		top: 65px;
	  }
  h1.single {
		top: 50px;
	}

}
.fp h1 {
	top: auto;
	bottom: 0;
  }
.fp h1 a {
	color: #ccc;
}
@media (min-width: 992px) {
	body {
	    padding-top: 88px;
	    padding-bottom: 0;
	}
}
.serif {font-family: serif;}
.mt20 {margin-top: 20px;}
.mt40 {margin-top: 40px;}
.mt60 {margin-top: 60px;}
.mt80 {margin-top: 80px;}
.mb20 {margin-bottom: 20px;}
.mb40 {margin-bottom: 40px;}
.mb80 {margin-bottom: 80px;}
hr.visible-sm {width: 90%; border-color: #dadada; border-style: dotted;}
hr.visible-xs, hr.dotted {width: 100%; border-color: #dadada; border-style: dotted;}
.bg {
	background-size: cover;
	background-position: center center;
	height: 100%;
	min-height: 100%;
}
.carousel.slide, .carousel.slide .carousel-inner {height: 100%;min-height: 100%;}
.bgc-dark {background: #4f0307;}
.first-block .row{margin-top: 40px; margin-bottom: 20px;}
.bg-reservation {
	background-image: url(http://machiyado.info/wp/wp-content/themes/machiyado_sp/img/sample2000/th_IMGP0257_1.jpg);
	height: 66.6%;
	min-height: inherit;
}
.grass-panel {
	background-image: url(http://machiyado.info/wp/wp-content/themes/machiyado_sp/img/sample2000/th_IMGP0257_1-boke.jpg);
	background-attachment: fixed;
	height: 25%;
	min-height: inherit;
}
.bg-1 {
	background-image: url(../img/ai3.jpg);
}
.bg-2 {
	background-image: url(../img/main2.jpg);
}
.bg-3 {
	background-image: url(../img/machiyado_collage.jpg);
}
.title-shadow {
	text-shadow: 1px 1px 0px #fff, 1px 2px 0px #221815, 1px 0px 0px #221815, 2px 1px 0px #221815, 0px 1px 0px #221815;
	color: rgba(34,24,21,0.9);
	height: 1.15em;
	font-weight: bold;
	display: inline-block;
	border-top: 0;
	border-right: 0;
	border-left: 0;
	border-bottom: 12px solid transparent;
	border-image: url(../img/border-img.png) 24 9 repeat;
}
.main .title-shadow {
	border: none;
}
.main h2 {margin-bottom: 10px;}
.page-main li { line-height: 1.7;}
.title-shadow + small, .down a, .page-top a {
	font-weight: normal;
	font-size: 11px;
	color: inherit;
	display: block;
	padding: 8px 0;
	letter-spacing: 2px;
	transform: scale(1,1.1);
}
.title-shadow > a {color: inherit;}
.icon {position: relative;}
.icon:before {
	content: "";
	display: inline-block;
	position: absolute;
	background-repeat: no-repeat;
	background-position: right top;
	background-size: contain;
	left: -100px;
	top: 0;
}
.icon-door:before {
	background-image: url(../img/icon-door-b.png);
	height: 46px;
	margin-top: 3px;
	width: 88px;
}
.icon-setsubi:before {
	background-image: url(../img/setsubi-icon.png);
	height: 46px;
	margin-top: 3px;
	width: 95px;
}
.icon-blog:before {
	background-image: url(../img/icon-blog-b.png);
	height: 38px;
	margin-top: 1px;
	width: 94px;
}
.icon-matsuri:before {
	background-image: url(../img/icon-matsuri.png);
	height: 38px;
	margin-top: 1px;
	width: 94px;
}
.icon-yen:before {
	background-image: url(../img/icon-yen-b.png);
	height: 39px;
	margin-top: 3px;
	width: 92px;
}
.icon-car:before {
	background-image: url(../img/icon-car-b.png);
	height: 36px;
	margin-top: 4px;
	width: 92px;
}
.tatesen {
	border-left: 1px solid rgba(0,0,0,.1);
}
.down {
	height: 72px;
	width: 100%;
	background: #500307;
	position: absolute;
	bottom: 0;
	padding: 7px 0 10px 0;
}
.page-top {
	width: 100%;
	position: relative;
	top: -10px;
	background: #500307;
	padding: 7px 0 10px 0;
}
/*
.page-top:hover:before {
	content: "";
	display: block;
	width: 100px;
	height: 64px;
	border: 1px solid rgba(255,255,255,.8);
	position: absolute;
	top: -23px;
	left: 50%;
	margin-left: -50px;
}
*/
.down a {
	color: rgba(255,255,255,.9); margin: 0 auto; display: block; width: 54px; position: relative; text-align: center;
	animation: downMove 3s infinite;
	-webkit-animation: downMove 3s infinite;
	-moz-animation: downMove 3s infinite;
	-o-animation: downMove 3s infinite;
}
.page-top a {
	color: rgba(255,255,255,.9); margin: 0 auto; display: block; width: 54px; position: relative; text-align: center;
}
@keyframes downMove {
    0% {transform: translateY(0);}
    45% {transform: translateY(10px);}
    100% {transform: translateY(0);}
}
@-webkit-keyframes downMove {
    0% {-webkit-transform: translateY(0);}
    45% {-webkit-transform: translateY(10px);}
    100% {-webkit-transform: translateY(0);}
}
@-moz-keyframes downMove {
    0% {-moz-transform: translateY(0);}
    45% {-moz-transform: translateY(10px);}
    100% {-moz-transform: translateY(0);}
}
@-o-keyframes downMove {
    0% {-o-transform: translateY(0);}
    45% {-o-transform: translateY(10px);}
    100% {-o-transform: translateY(0);}
}
.down a:before, .down a:after,
.page-top a:before, .page-top a:after { 
  content: "";
  position: absolute;
  top: 0;
  border-bottom: 2px solid #fff;
  width: 38px;
  height: 44px;
}
.page-top a:before, .page-top a:after { 
  position: absolute;
  top: auto;
  bottom: 0;
  border-top: 2px solid #fff;
  border-bottom: none;
  width: 29px;
  height: 44px;
}

.down a:before, .page-top a:before { 
  left: 5px;
  transform: rotate(36deg);
  -webkit-transform: rotate(36deg);
  -moz-transform: rotate(36deg);
  -o-transform: rotate(36deg);
  -ms-transform: rotate(36deg);
}
.page-top a:before {
	left: 12px;
}
.down a:after, .page-top a:after { 
  right: 5px;
  transform: rotate(-36deg);
  -webkit-transform: rotate(-36deg);
  -moz-transform: rotate(-36deg);
  -o-transform: rotate(-36deg);
  -ms-transform: rotate(-36deg);
}
.page-top a:after {
	right: 12px;
}

.about p {
	text-align: center;
	}
@media (min-width: 992px) {
	.about p {
		text-align: left;
		}
}
@media (min-width: 1200px) {
	.about p {
		padding-left: 2.2em;
		}
}
.badge-kikaku {
	position: absolute;
	display: inline-block;
	top: 5px;
	left: 25px;
}
.badge-kikaku img{width: 50px;}
.linkto {font-size: 13px; color: #6c0002;}
aside a {color: #6c0002;}
aside .list-group-item div {padding-left: 5px;}
.linkto:hover, aside a:hover {color: rgba(108,0,3,0.8)}
.row>.linkto {margin-right: 15px;}
.charge .panel {padding-bottom: 5px;background: #ececec;}
@media (max-width: 767px) {
	.charge .panel {margin-left: -15px; margin-right: -15px;}
	.badge-kikaku {
		top: -1px;
		left: 6px;
		width: 100%;
	}
	.badge-kikaku:before {
		content: "まちやど企画";
		position: absolute;
		top:0;left: 0;
		font-size: 11px;
		background: rgba(243,151,0,0.8);
		color: #fff;
		padding: 0.2em 0.8em;
	}
	.badge-kikaku img {display: none;}
}
.charge .panel-body {
	padding: 15px;
	background: #fff;
	margin: 0 5px;
	box-shadow: 1px 1px 5px rgba(0,0,0,.1);
  }
.jusho {padding-right: 1em; margin-bottom: -1.4em; color: #6c0003; margin-top: 0;}
.title-blog > a{
	background-image: url(../img/title-blog.png);
	background-size: contain;
	background-position: center center;
	background-repeat: no-repeat;
	height: 59px;
	overflow: hidden;
}
.access .list-group-item {display: table; color: #6c0003;}

.access .list-group-item>span {
  display: table-cell;
  vertical-align: middle;
  padding: 0 5px;
}
.access .list-group-item>span.lh2 {line-height: 2.2;text-align: center; font-size: 16px}

.access .checkin {
  width: 80%;
  margin: auto;
  border: 2px solid rgb(125, 194, 178);
  padding: 30px 15px;
}
.access .checkin .lead {
  font-weight: 700;
}
.access .checkin > a {
  display: block;
}

@media (max-width: 767px) {
	.access .list-group-item>span {
	  line-height: 1.1;
	  font-size: 16px;
	  padding-top: 1em;
	  width: 1em;
	}
	.access .list-group-item>span.lh2 {
		width: inherit;
		font-size: 12px;
	}
  .access .checkin {
    width: 100%;
  }
}

.keiro {border-top: 2px solid #f39700; display: block; padding: 0 10px;}
footer .navbar {margin-bottom: 0; padding-top: 40px; padding-bottom: 40px;}
footer a, footer {color: rgba(255,255,255,0.9); font-size: 16px;}
footer span {padding: 1.5em 15px; display: inline-block;}
@media (max-width: 767px) {
	footer span {padding: 5px 0; display: block;}
}
footer .navbar-default .navbar-nav {float: none;}
footer .navbar-default .navbar-nav > li {display: inline-block;}
footer .navbar-default .navbar-nav > li > a{color: rgba(255,255,255,0.9);; font-size: 16px; height: inherit; padding: 0 1em; display: inline;}
footer .navbar-default .navbar-nav > li > a:hover {
	background: transparent;
	color: rgba(255,255,255,1);
}
footer .navbar-default .navbar-nav > li:after {
	content: "/";
	color: #ddd;
}
footer .navbar-brand {padding: 5px 55px 0 0; height: 65px; max-width: 100%; float: inherit;}
footer .navbar-brand>img {height: 44px;}
@media (min-width: 768px) {
	footer .navbar-brand>img {height: 65px}
}
@media (max-width: 767px) {
	footer .navbar > .container .navbar-brand {margin-left: 0;}
}
footer .navbar-default .navbar-nav > li:last-child:after {
	content: "";
}
footer p {padding-top: 2em;}

.panel.with-nav-tabs .panel-heading{
    padding: 4px 8px 0 8px;
}
.panel.with-nav-tabs .nav-tabs{
	border-bottom: none;
}
.panel.with-nav-tabs .nav-justified{
	margin-bottom: -1px;
}
.yoyaku {
	position: absolute;
	text-indent: -180px;
	overflow: hidden;
	bottom: 75px;
	right: 5px;
	height: 142px;
	width: 140px;
	background-image: url('../img/yoyaku-icon.png');
	background-position: center center;
	background-size: cover;
	transition: 0.3s;
}
.sns {
	position: absolute;
	top: 48px;
	right: 0;
	opacity: .8;
	overflow: hidden;
}
.footer-nav {
  display: none;
}
@media (max-width: 991px) {
  .footer-nav {
    display: block;
    position: fixed;
    bottom: 0;
    width: 100%;
    height: 50px;
    background-color: #fff;
    z-index: 1;
  }
  .footer-nav__left {
    float: left;
    width: 70%;
    height: 100%;
    border: 1px solid #70B7A9;
    border-right: none;
    display: flex;
    justify-content: center;
    align-items: center;
  }
  .footer-nav__left p {
    margin: 0;
    letter-spacing: -1px;
    font-size: 8px;
    font-weight: 700;
  }
  .footer-nav__left p span {
    margin: 0 2px;
    padding: 0px 2px;
    background-color: #E8DB60;
  }
  .footer-nav__right {
    float: right;
    width: 30%;
    height: 100%;
    border: 1px solid #4D070B;
    border-left: none;
    position: relative;
  }
  .footer-nav__right::before {
    display: block;
    content: '';
    height: 29px;
    width: 1px;
    position: absolute;
    top: 0;
    left: 0;
    background-color: #4D070B;
    transform: translate(7px, -3px) rotate(-30deg);
  }
  .footer-nav__right::after {
    display: block;
    content: '';
    height: 29px;
    width: 1px;
    position: absolute;
    bottom: 0;
    left: 0;
    background-color: #4D070B;
    transform: translate(7px, 3px) rotate(30deg);
  }
  .footer-nav__right a {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    width: 100%;
    height: 100%;
  }
  .footer-nav__right a img {
    max-width: 80%;
    max-height: 80%;
    padding-right: 10px;
  }
}
@media (min-width: 768px) {
.yoyaku {
	top: 125px;
	bottom: auto;
	right: 10px;
	height: 182px;
	width: 180px;
}
}
@media (min-width: 992px) {
.sns {
	top: 82px;
	right: 0;
}
}
.yoyaku:hover {
	transform: rotate(7deg) translateX(5px);
	-webkit-transform: rotate(7deg) translateX(5px);
}
#gmap {
	height: 330px;
	width: 100%;
}

.btn-cat {
  color: #f39700;
  background-color: transparent;
  border-color: #f39700;
}
.btn-cat:hover,
.btn-cat:focus,
.btn-cat.focus,
.btn-cat:active,
.btn-cat.active,
.open > .dropdown-toggle.btn-cat {
  color: #ffffff;
  background-color: rgba(243,151,0,0.7);
  border-color: #f39700;
}
.content p {line-height: 1.75;}
.archive.list-group {padding-left: 0;}

.table tr:last-child {border-bottom: 1px solid #dddddd;}
.table tr > td:first-child {border-right: 1px solid #dddddd;}
.table > tbody > tr > td,
.table > tbody > tr > th {vertical-align: middle;}
.haba {table-layout:fixed;}
.aisatsu {
	padding: 10px;
	margin-top: 40px;
	margin-bottom: 40px;
}
.aisatsu > img {padding-left: 0; padding-right: 20px;}
.aisatsu > div {padding-right: 0;}
.aisatsu .h5 {margin-top: 0;}
.aisatsu p {padding-left: 0; text-align: left;}
.carousel-inner > .item > img {
	box-sizing: border-box;
	padding: 4% 15px 8%;
	max-height: 100%;
	width: auto;
	max-width: 400px;
}
.carousel-inner > .item:last-child > img {
	margin: 0 auto;
}
@media (max-width: 767px) {
	.carousel-inner > .item > img {
		height: auto;
		max-width: 100%;
		margin-left: 0;
		padding: 15% 28%;
	}
}
.bg-1 img {margin-left: 12%; }
.bg-2 img {margin-left: 12%; }
.b {font-weight: bold;}
/********************************************************************/
/*** PANEL DEFAULT ***/
.with-nav-tabs.panel-default .nav-tabs > li > a,
.with-nav-tabs.panel-default .nav-tabs > li > a:hover,
.with-nav-tabs.panel-default .nav-tabs > li > a:focus {
    color: #777;
    font-weight: bold;
}
@media (max-width: 991px) {
	.with-nav-tabs.panel-default > .panel-body > div > div > div > div:first-child {
		margin-bottom: 40px;
	}
}
.with-nav-tabs.panel-default p {font-size: 16px;}
.with-nav-tabs.panel-default .nav-tabs > .open > a,
.with-nav-tabs.panel-default .nav-tabs > .open > a:hover,
.with-nav-tabs.panel-default .nav-tabs > .open > a:focus,
.with-nav-tabs.panel-default .nav-tabs > li > a:hover,
.with-nav-tabs.panel-default .nav-tabs > li > a:focus {
    color: #f39700;
	background-color: #fdfdfd;
}
.with-nav-tabs.panel-default .nav-tabs > li.active > a,
.with-nav-tabs.panel-default .nav-tabs > li.active > a:hover,
.with-nav-tabs.panel-default .nav-tabs > li.active > a:focus {
	color: #555;
	background-color: #fff;
	border-bottom: 2px solid rgba(243,151,0,0.8);
	padding-bottom: 8px;
	box-shadow: 1px 1px 5px rgba(0,0,0,.1);
	font-weight: bold;
}
.with-nav-tabs.panel-default .nav-tabs > li.dropdown .dropdown-menu {
    background-color: #f5f5f5;
    border-color: #ddd;
}
.with-nav-tabs.panel-default .nav-tabs > li.dropdown .dropdown-menu > li > a {
    color: #777;   
}
.with-nav-tabs.panel-default .nav-tabs > li.dropdown .dropdown-menu > li > a:hover,
.with-nav-tabs.panel-default .nav-tabs > li.dropdown .dropdown-menu > li > a:focus {
    background-color: #ddd;
}
.with-nav-tabs.panel-default .nav-tabs > li.dropdown .dropdown-menu > .active > a,
.with-nav-tabs.panel-default .nav-tabs > li.dropdown .dropdown-menu > .active > a:hover,
.with-nav-tabs.panel-default .nav-tabs > li.dropdown .dropdown-menu > .active > a:focus {
    color: #fff;
    background-color: #555;
}
.checkbox-610 label {display: block;}
.title {font-size: 18px; margin-top: 0.5em; margin-bottom: 0.5em;}
.top-blog-title {font-size: 18px; margin-top: 0.5em; margin-bottom: 0.5em;}
.title-link {color: #333;}
.title-link:hover {color: #555; text-decoration: none;}
@media (max-width: 991px) {
.label-date {
	position: relative;
	top: 6px;
}
.archive h3.title {margin-top: 24px;}
}
.excerpt {font-size: 12px;}
.top-blog-date {font-size: 16px;}
.oshirase {list-style: none; padding-left: 0; padding-right: 2em;}
.oshirase li {border-bottom: 1px dashed #333; padding: 0.5em 0; font-size: 14px;}
.oshirase li:first-child {border-top: 1px dashed #333;}

.screen-reader-response, .wpcf7-mail-sent-ok {font-weight: bold; color: #f39700; padding: 1em;}
.wpcf7-not-valid-tip {font-weight: bold; color: #f39700;}
.wpcf7-validation-errors, .wpcf7-response-output {color: red;}