@charset "utf-8";

body {
font-family: "游ゴシック体", YuGothic, "游ゴシック", "Yu Gothic", "メイリオ", -apple-system, BlinkMacSystemFont, "Helvetica Neue", YuGothic, Arial, "メイリオ", Meiryo, "ヒラギノ角ゴ ProN W3", Hiragino Kaku Gothic ProN, sans-serif;
color: #373534;
font-weight: 500;
font-size: 1.1rem;
background-image: url('../img/bg.png');
}

/*clear fix*/
.clearfix:after{
content:".";
display:block;
height:0;
clear:both;
visibility:hidden;
}
.clearfix{
display:inline-table;
min-height:1%;
}
* html .clearfix{
height:1%;
}
.clearfix{
display:
block;
}
.clear {
	clear: both!important;
}
.aligncenter { text-align: center!important;}
.alignright { text-align: right;}
.spnone { display:none!important;}
.pcnone { display:block!important;}

ul {
	padding:0;
	margin:0;
	list-style: none;
}
/*スペース*/
.mt10 { margin-top:1rem!important;}
.mt20 { margin-top:2rem!important;;}
.mt30 { margin-top:3rem!important;;}
.mt40 { margin-top:4rem!important;;}
.mt50 { margin-top:5rem!important;;}
.mt60 { margin-top:6rem!important;;}
.mb10 { margin-bottom:1rem!important;;}
.mb20 { margin-bottom:2rem!important;;}
.mb30 { margin-bottom:3rem!important;;}
.mb40 { margin-bottom:4rem!important;;}
.mb50 { margin-bottom:5rem!important;;}
.mb60 { margin-bottom:6rem!important;;}
.pt10 { padding-top:1rem!important;;}
.pt20 { padding-top:2rem!important;;}
.pt30 { padding-top:3rem!important;;}
.pb10 { padding-bottom:1rem!important;;}
.pb20 { padding-bottom:2rem!important;;}
.pb30 { padding-bottom:3rem!important;;}

.mtm10 { margin-top:-1rem;}
.mtm20 { margin-top:-2rem;}
.mtm30 { margin-top:-3rem;}

.float-left {
  float: left !important;
}
.float-right {
  float: right !important;
}
.float-none {
  float: none !important;
}

.img-fluid {
  max-width: 100%;
  height: auto;
}
.m-auto {
  margin: auto !important;
}
.mt-auto,
.my-auto {
  margin-top: auto !important;
}
.mr-auto,
.mx-auto {
  margin-right: auto !important;
}
.mb-auto,
.my-auto {
  margin-bottom: auto !important;
}
.ml-auto,
.mx-auto {
  margin-left: auto !important;
}


.text-monospace {
  font-family: SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
}

.text-justify {
  text-align: justify !important;
}

.text-nowrap {
  white-space: nowrap !important;
}

.text-truncate {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.text-left {
  text-align: left !important;
}

.text-right {
  text-align: right !important;
}

.text-center {
  text-align: center !important;
}


/* card */

.card {
	position: relative;
	flex-direction: column;	
	min-width: 0;
	word-wrap: break-word;
	background-color: #fff;
	background-clip: border-box;
	border: 1px solid rgba(0, 0, 0, 0.125);
	border-radius: 7px;

	margin-bottom: 20px;
	overflow: hidden;
	box-shadow: 2px 1px 2px rgba(0,0,0,0.3);
}
.card img {min-width:100%;}
.card > hr {
  margin-right: 0;
  margin-left: 0;
}

.card > .list-group:first-child .list-group-item:first-child {
  border-top-left-radius: 0.25rem;
  border-top-right-radius: 0.25rem;
}

.card > .list-group:last-child .list-group-item:last-child {
  border-bottom-right-radius: 0.25rem;
  border-bottom-left-radius: 0.25rem;
}

.card-body {
  -ms-flex: 1 1 auto;
  flex: 1 1 auto;
  padding: 1.25rem;
}

.card-title {
  margin-bottom: 0.75rem;
}

.card-subtitle {
  margin-top: -0.375rem;
  margin-bottom: 0;
}

.card-text:last-child {
  margin-bottom: 0;
}

.card-link:hover {
  text-decoration: none;
}

.card-link + .card-link {
  margin-left: 1.25rem;
}

.card-header {
  padding: 0.75rem 1.25rem;
  margin-bottom: 0;
  background-color: rgba(0, 0, 0, 0.03);
  border-bottom: 1px solid rgba(0, 0, 0, 0.125);
}

.card-header:first-child {
  border-radius: calc(0.25rem - 1px) calc(0.25rem - 1px) 0 0;
}

.card-header + .list-group .list-group-item:first-child {
  border-top: 0;
}

.card-footer {
  padding: 0.75rem 1.25rem;
  background-color: rgba(0, 0, 0, 0.03);
  border-top: 1px solid rgba(0, 0, 0, 0.125);
}

.card-footer:last-child {
  border-radius: 0 0 calc(0.25rem - 1px) calc(0.25rem - 1px);
}

.card-header-tabs {
  margin-right: -0.625rem;
  margin-bottom: -0.75rem;
  margin-left: -0.625rem;
  border-bottom: 0;
}

.card-header-pills {
  margin-right: -0.625rem;
  margin-left: -0.625rem;
}

.card-img-overlay {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  padding: 1.25rem;
}

.card-img {
  width: 100%;
  border-radius: calc(0.25rem - 1px);
}

.card-img-top {
  width: 100%;
  border-top-left-radius: calc(0.25rem - 1px);
  border-top-right-radius: calc(0.25rem - 1px);
}

.card-img-bottom {
  width: 100%;
  border-bottom-right-radius: calc(0.25rem - 1px);
  border-bottom-left-radius: calc(0.25rem - 1px);
}

.card-deck {
  display: -ms-flexbox;
  display: flex;
  -ms-flex-direction: column;
  flex-direction: column;
}

.card-deck .card {
  margin-bottom: 15px;
}

@media (min-width: 576px) {

  .card-deck {
    -ms-flex-flow: row wrap;
    flex-flow: row wrap;
/*    margin-right: -15px;
    margin-left: -15px;*/
  }
  .card-deck .card {
    display: -ms-flexbox;
    display: flex;
    -ms-flex: 1 0 0%;
    flex: 1 0 0%;
    -ms-flex-direction: column;
    flex-direction: column;
/*    margin-right: 15px;
     margin-bottom: 0;
     margin-left: 15px;*/
  }

}

.card-group {
  display: -ms-flexbox;
  display: flex;
  -ms-flex-direction: column;
  flex-direction: column;
}

.card-group > .card {
  margin-bottom: 15px;
}

@media (min-width: 576px) {
  .card-group {
    -ms-flex-flow: row wrap;
    flex-flow: row wrap;
  }
  .card-group > .card {
    -ms-flex: 1 0 0%;
    flex: 1 0 0%;
    margin-bottom: 0;
  }
  .card-group > .card + .card {
    margin-left: 0;
    border-left: 0;
  }
  .card-group > .card:first-child {
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
  }
  .card-group > .card:first-child .card-img-top,
  .card-group > .card:first-child .card-header {
    border-top-right-radius: 0;
  }
  .card-group > .card:first-child .card-img-bottom,
  .card-group > .card:first-child .card-footer {
    border-bottom-right-radius: 0;
  }
  .card-group > .card:last-child {
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
  }
  .card-group > .card:last-child .card-img-top,
  .card-group > .card:last-child .card-header {
    border-top-left-radius: 0;
  }
  .card-group > .card:last-child .card-img-bottom,
  .card-group > .card:last-child .card-footer {
    border-bottom-left-radius: 0;
  }
  .card-group > .card:only-child {
    border-radius: 0.25rem;
  }
  .card-group > .card:only-child .card-img-top,
  .card-group > .card:only-child .card-header {
    border-top-left-radius: 0.25rem;
    border-top-right-radius: 0.25rem;
  }
  .card-group > .card:only-child .card-img-bottom,
  .card-group > .card:only-child .card-footer {
    border-bottom-right-radius: 0.25rem;
    border-bottom-left-radius: 0.25rem;
  }
  .card-group > .card:not(:first-child):not(:last-child):not(:only-child) {
    border-radius: 0;
  }
  .card-group > .card:not(:first-child):not(:last-child):not(:only-child) .card-img-top,
  .card-group > .card:not(:first-child):not(:last-child):not(:only-child) .card-img-bottom,
  .card-group > .card:not(:first-child):not(:last-child):not(:only-child) .card-header,
  .card-group > .card:not(:first-child):not(:last-child):not(:only-child) .card-footer {
    border-radius: 0;
  }
}

.card-columns .card {
  margin-bottom: 0.75rem;
}

@media (min-width: 576px) {
  .card-columns {
    -webkit-column-count: 3;
    -moz-column-count: 3;
    column-count: 3;
    -webkit-column-gap: 1.25rem;
    -moz-column-gap: 1.25rem;
    column-gap: 1.25rem;
    orphans: 1;
    widows: 1;
  }
  .card-columns .card {
    display: inline-block;
    width: 100%;
  }
}

.embed-responsive {
  position: relative;
  display: block;
  width: 100%;
  padding: 0;
  overflow: hidden;
}

.embed-responsive::before {
  display: block;
  content: "";
}

.embed-responsive .embed-responsive-item,
.embed-responsive iframe,
.embed-responsive embed,
.embed-responsive object,
.embed-responsive video {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.embed-responsive-21by9::before {
  padding-top: 42.857143%;
}

.embed-responsive-16by9::before {
  padding-top: 56.25%;
}

.embed-responsive-4by3::before {
  padding-top: 75%;
}

.embed-responsive-1by1::before {
  padding-top: 100%;
}


.btn {
  display: inline-block;
  font-weight: 400;
  text-align: center;
  white-space: nowrap;
  vertical-align: middle;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  border: 1px solid transparent;
  padding: 0.375rem 0.75rem;
  font-size: 1rem;
  line-height: 1.5;
  border-radius: 0.25rem;
  transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}
.btn:hover, .btn:focus {
  text-decoration: none;
}
.btn:focus, .btn.focus {
  outline: 0;
  box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
}
.btn.disabled, .btn:disabled {
  opacity: 0.65;
}
.btn:not(:disabled):not(.disabled) {
  cursor: pointer;
}
.btn:not(:disabled):not(.disabled):active, .btn:not(:disabled):not(.disabled).active {
  background-image: none;
}
a.btn.disabled,
fieldset:disabled a.btn {
  pointer-events: none;
}

.btn-primary {
  color: #fff;
  background-color: #ea6847;
  border-color: #ea6847;
  padding-top:15px;
}
.btn-primary:before{
	content: url('../img/icon_magnifyingGlass.png');
 	display:block;
	 padding-right:10px;
	 float:left;
}
.btn-primary:hover {
  color: #fff;
  background-color: #ffae00;
  border-color: #ffae00;
}
.btn-primary:focus, .btn-primary.focus {
  box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.5);
}
.btn-primary.disabled, .btn-primary:disabled {
  color: #fff;
  background-color: #666;
  border-color: #666;
}
.btn-primary:not(:disabled):not(.disabled):active, .btn-primary:not(:disabled):not(.disabled).active,
.show > .btn-primary.dropdown-toggle {
  color: #fff;
  background-color: #ffae00;
  border-color: #ffae00;
}
.btn-primary:not(:disabled):not(.disabled):active:focus, .btn-primary:not(:disabled):not(.disabled).active:focus,
.show > .btn-primary.dropdown-toggle:focus {
  box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.5);
}

.btn-detail {
  color: #fff;
  background-color: #006837;
  border-color: #006837;
  padding:7px 50px;
  font-weight: bold;
}
.btn-detail.btn-back {
  padding:7px 30px;
  background-color: #5db24c;
  border-color: #5db24c;
}

.btn-detail:hover {
  color: #fff;
  background-color: #bddc46;
  border-color: #bddc46;
}
.btn-detail.btn-back:hover {
  color: #fff;
  background-color: #999;
  border-color: #999;
}
.btn-detail:focus, .btn-detail.focus {
  box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.5);
}
.btn-detail.disabled, .btn-detail:disabled {
  color: #fff;
  background-color: #666;
  border-color: #666;
}
.btn-detail:not(:disabled):not(.disabled):active, .btn-detail:not(:disabled):not(.disabled).active,
.show > .btn-detail.dropdown-toggle {
  color: #fff;
  background-color: #bddc46;
  border-color: #bddc46;
}
.btn-detail:not(:disabled):not(.disabled):active:focus, .btn-detail:not(:disabled):not(.disabled).active:focus,
.show > .btn-detail.dropdown-toggle:focus {
  box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.5);
}
.btn-detail:before {
	font-family: "Font Awesome 5 Free";
	content: '\f002';
	padding-right:5px;
}

.btn-inq {
  color: #fff;
  background-color: #e5004f;
  border-color: #e5004f;
  padding:7px 50px;
  font-weight: bold;
  border-radius: 2rem;
  font-size:1.3rem;
}

.btn-inq:hover {
  color: #fff;
  background-color: #bddc46;
  border-color: #bddc46;
}
.btn-inq:focus, .btn-inq.focus {
  box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.5);
}
.btn-inq.disabled, .btn-inq:disabled {
  color: #fff;
  background-color: #666;
  border-color: #666;
}
.btn-inq:not(:disabled):not(.disabled):active, .btn-inq:not(:disabled):not(.disabled).active,
.show > .btn-detail.dropdown-toggle {
  color: #fff;
  background-color: #bddc46;
  border-color: #bddc46;
}
.btn-inq:not(:disabled):not(.disabled):active:focus, .btn-inq:not(:disabled):not(.disabled).active:focus,
.show > .btn-detail.dropdown-toggle:focus {
  box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.5);
}
.btn-inq:before {
	font-family: "Font Awesome 5 Free";
	content: '\f0e0';
	padding-right:5px;
}

.circle {
	 height:100px;
	 width:100px;
	 border-radius:50%;
	 line-height:100px;
	 text-align:center;
	 vertical-align:middle;
	 border:2px solid #666;
	 background-color: #fff;
	 margin: 20px auto;
}

.justify-content-start {
  -ms-flex-pack: start !important;
  justify-content: flex-start !important;
}

.justify-content-end {
  -ms-flex-pack: end !important;
  justify-content: flex-end !important;
}

.justify-content-center {
  -ms-flex-pack: center !important;
  justify-content: center !important;
}

.justify-content-between {
  -ms-flex-pack: justify !important;
  justify-content: space-between !important;
}

.justify-content-around {
  -ms-flex-pack: distribute !important;
  justify-content: space-around !important;
}


.shadow-sm {
  box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075) !important;
}

.shadow {
  box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15) !important;
}

.shadow-lg {
  box-shadow: 0 1rem 3rem rgba(0, 0, 0, 0.175) !important;
}

.shadow-none {
  box-shadow: none !important;
}
.mt-auto,
.my-auto {
  margin-top: auto !important;
}
.mr-auto,
.mx-auto {
  margin-right: auto !important;
}
.mb-auto,
.my-auto {
  margin-bottom: auto !important;
}
.ml-auto,
.mx-auto {
  margin-left: auto !important;
}
.d-block {
  display: block !important;
}

a[href^="tel:"] { cursor: default; }

/* 1: header Setting
=========================================================================================== */
#wrapper {
	margin:0;
	padding:0;
	overflow:hidden;
}
#header {
	max-width:1200px;
	margin: 0 auto;
	padding:0;
	text-align: center;
}
#header ul {
    list-style: none;
    padding-left:0!important;
}
#header .hlogo {
	margin: 20px 10px;
}

#header > .head > ul {
    margin: 20px 0;
}
#header > .head > ul > li.hRight{
	display: flex;
	justify-content: center;
	align-items: center;
}

#header > .head > ul > li .h-insta {
	margin-top:20px;
}
#header > .head > ul > li div.h-add {
	display: block;
	background-color: #fff;
	border: 2px solid #5db24c;
	border-radius: 7px;
	margin: 20px 10px 0 10px;
}
#header > .head > ul > li div.h-add a:hover {
	text-decoration: none;
}
.h-tel a {
	color: #006837;
	font-size:1.5rem;
	padding: 0 20px;
	font-weight:bold;
}
.h-tel a:before {
	diplay:inline;
	font-family: "Font Awesome 5 Free";
	content: '\f095';
	font-size: 1.2rem;
	padding-right:5px;
}
.h-inquiry {
	background-color: #5db24c;
	font-weight: bold;
}
.h-inquiry a {
	color: #fff;
	padding: 0 20px;
}
.h-inquiry a:after {
	font-family: "Font Awesome 5 Free";
	content: '\f0e0';
	padding-left:5px;
}


@media screen and (min-width:768px) {

.h-25 {
  height: 25% !important;
}

.h-50 {
  height: 50% !important;
}

.h-75 {
  height: 75% !important;
}

.h-100 {
  height: 100% !important;
}

.h-auto {
  height: auto !important;
}

#header > .head > ul > li .h-insta {
	margin-top:0px;
}
#header > .head > ul {
    display: -webkit-flex;
    display: flex;
    -webkit-justify-content: flex-start;
    justify-content: flex-start;
    margin: 20px 0 0 0;
}
#header > .head > ul > li div.h-add {
	margin: 0px 10px;
}
#header > .head > ul > li:nth-of-type(2) {
    margin-left: auto;
}　
}
.drawer-navbar .drawer-navbar-header {
    	    height:1px;
}
.drawer-nav {
	    background-color: #e7decd;
	    text-align: left;
	    border-bottom: 1px solid #fff;
}
.drawer-nav a{
		color:#59493f;
		font-weight: bold;
}
.drawer-dropdown-menu {
	    background-color: #d5cbb7;
	    text-align: left;
}


@media screen and (min-width:768px) {
header {
	margin:0 auto!imporntant;
	margin-bottom: 20px!important;
	padding:0!imporntant;
}
span.drawer-caret {
	display: none!important;
}
.drawer-container {
	margin:0 auto!imporntant;
	padding: 0!imporntant;
	width:100%;
	max-width: 1200px;
}
.drawer-nav {
	    background-color: transparent;
	    text-align: center;
	    border-bottom: none;
}
.drawer-nav a{
		color:inherit;
		font-weight: bold;
}
nav {
	margin:0!imporntant;
	padding: 0!imporntant;
	width: 100%;
}
.drawer-menu {
	position: relative;
	width:100%;
	max-width: 1200px;
	height: 35px!imporntant;
	margin: 0 auto!imporntant;
	list-style: none;
	padding: 0;
}
.drawer-menu li{
	    width: 16.66%!important;
	    height: 35px;
	    line-height: 35px;
	    margin: 0!important;
	    padding: 0;
}
.drawer-menu li a{
	    display: block;
	    color: #59493f;
	    margin: 0;
	    padding: 0;
	    font-weight: bold;
	    background: url('../img/gnav_line.png');
	    background-position: center bottom;
	    background-repeat: repeat-x;
	}
.drawer-menu li a:hover
{
	    background: url('../img/gnav_line_now.png') repeat-x center bottom,url('../img/icon_gnav_leaf.png') no-repeat left center;
	    text-decoration: none;
}
.drawer-menu li ul{
	    width: 15%;
	    border: none!important;
}
.drawer-menu li li{
	    width: 100%!important;
	    height: auto;
	    line-height: 1.5rem;
	    margin: 0!important;
	    padding: 0;
	    border: none;
	    background-color: #e7decd;
	    text-align: left;
	    border-bottom: 1px solid #fff;
}
.drawer-menu li li a{
	    display: block;
	    color: #59493f;
	    margin: 0;
	    padding: 0;
	    font-weight: bold;
	    background: none;
	    border: none;

	}
.drawer-menu li li a:hover
{
	    background: #59493f!important;
	    color: #fff;
	    background: none;
	    text-decoration: none;
}
#slider > .indexSlide div.slide01 img,
#slider > .indexSlide div.slide02 img,
#slider > .indexSlide div.slide03 img{
	margin: 80px 0 0 20px;
}

}

/* 2: main Setting
=========================================================================================== */

.inner {
	margin: 0 10px;
	padding:60px 0;
	text-align: left;
}

@media screen and (min-width:767px) and  (max-width:1180px){
	margin: 0 10px;
}
@media screen and (min-width:767px){
.inner {
	max-width:1200px;
	display: block;
	margin: 0 auto;
	padding:60px 0;
}
}


/* 3: footer Setting
=========================================================================================== */
#pagetop{
  position: fixed;
  right: 0;
  bottom: 50px;
  opacity: 1;
  z-index: 99997;
}
.footInq {
	margin:0 auto;
	text-align: center;
	padding: 0 10px;
}
.footInq img{
}
@media screen and (min-width:768px) {
	margin:0 auto;
}

#footerLink {
	display:block;
	background-image: url('../img/bg-flink.png');
	margin:0;
	padding:0;
	box-shadow: 0px 3px 3px rgba(0,0,0,0.2) inset;
}
#footerLink ul {
	display: -webkit-flex;
	display: -moz-flex;
	display: -ms-flex;
	display: -o-flex;
	display: flex;
	-webkit-box-pack: center;
	-ms-flex-pack: center;
	justify-content: center;
	-ms-flex-wrap: wrap;
	flex-wrap: wrap;
}
#footerLink ul li img {
	padding:10px;
}

#footer {
	background: url('../img/bgFooter.png') repeat-x center top;
	font-size:0.9rem;
	box-shadow: 0px 3px 3px rgba(0,0,0,0.2) inset;
	padding-top:50px;

}

#footer .inner .fnav, #footer .inner .fnav a {
	color: #faf4e1;
}
#footer .inner .fnav a {
	font-weight: bold;
}
#footer .inner .fnav li a:before {
	font-family: "Font Awesome 5 Free";
	content: '\f35a';
  font-style: normal;
  font-weight: 900;
	padding-right:5px;
}
#footer .inner .fnav li ul li a {
	padding-left: 2rem;
}
#footer .inner .fnav li ul li a:before {
	font-family: "Font Awesome 5 Free";
	content: '\f061';
	padding-right:5px;
}
#footer .inner .fnav p {
	margin-top:30px;
}
#footer small {
	display:block;
	color: #faf4e1;
	text-align: center;
	padding-bottom:20px;
	font-size: 1rem;
}

@media screen and (min-width:768px) {
	#footer {
	padding-top: 50px;
	background: url('../img/bgFooter.png') repeat-x center top;
	}
	#footer .inner {
	display: -webkit-flex;
	display: -moz-flex;
	display: -ms-flex;
	display: -o-flex;
	display: flex;
	justify-content: space-around;
	align-content: space-around;
	}
	#footer .inner .fnav {
	display: -webkit-flex;
	display: flex;
	}
	#footer .inner .fnav p {
	margin-top:0px;
	}
}



/* 4: contents, sidemenu Setting
=========================================================================================== */
/* INDEX */
#slider {
	max-width:1200px;
	display:block;
	margin:0 auto;
	padding:0;
	text-align: center;
	position:relative;
}
#slider > .indexSlide {
	width: 100%;
	height: 400px;
	border: 5px solid #fff;
	box-shadow:3px 3px 5px 0px rgba(0,0,0,0.4) inset,0px 1px 3px 0px rgba(0,0,0,0.4) inset;
}
#slider > .indexSlide div{
	height: 390px;
	text-align:left;
	background-size:cover;
}
#slider > .indexSlide div.slide01{
	background: url('../img/slider/bg_slide01.jpg') no-repeat top center;
}
#slider > .indexSlide div.slide02{
	background: url('../img/slider/bg_slide02.jpg') no-repeat top center;
}
#slider > .indexSlide div.slide03{
	background: url('../img/slider/bg_slide03.jpg') no-repeat top center;
}
#slider > .indexSlide div.slide01 img,
#slider > .indexSlide div.slide02 img,
#slider > .indexSlide div.slide03 img{
	margin: 100px 0 0 0px;
}
#slider > .slideOrnament {
	position: absolute;
	right:0;
	bottom:-70px;
}
#indexReason {
	display:block;
	background-image: url('../img/bg_reason.png');
	margin:0;
	padding:0;
	box-shadow: 0px 3px 3px rgba(0,0,0,0.2) inset;
}
#index h1.headelineH1 {
	text-align: center;
	color: #59493f;
	font-size: 2.3rem;
	line-height: 2.3rem;
}
h1.headelineH1 {
	line-height: 3rem!important;
}

#index h1.headelineH1:after {
	content: url('../img/line_indexH1.png');
	display:block;
	text-align: center;
	margin-bottom: 30px;
	width: 100%;
	overflow: hidden;
}
#index a .card,
#index #indexBusiness a:hover {
	text-decoration: none;
	color: #59493f;
}
#index a .card h2.card-title {
	text-align: center;
	color: #006837;
	font-size: 1.2rem;
}
#index #indexReason h2 {
	color: #006837;
}
/* Second pages */
.table {
	width: 100%;
	border-top: 1px solid #818181;
	border-left: 1px solid #818181;
	background-color: #fff;
}
.table td,  .table th{
	border-right: 1px solid #818181;
	border-bottom: 1px solid #818181;
	padding:5px;
	text-align:center;
}
.table.table_company {
	border: none;
	border-bottom: 1px solid #818181;
	width: 100%;
	background-color: transparent;
}
.table.table_company td,  .table.table_company th{
	border: none;
	border-top: 1px solid #818181;
	padding:10px 0;
	text-align:left;
}



.table-responsive > .table-bordered {
  border: 0;
}

.headtitle {
	width: 100%;
	max-width: 1200px;
	margin: 0 auto;
	height:283px;
	background-color: #fff;

	display: -webkit-flex;
	display: flex;
	-webkit-align-items: center;
	align-items: center;
}
.headtitle.headtitle_reason {
	background: url('../img/reason/bg_h1.png') no-repeat right center, #fff;
}
.headtitle.headtitle_shokusai {
	background: url('../img/business/bg_h1Shokusai.png') no-repeat right center, #fff;
}
.headtitle.headtitle_garden {
	background: url('../img/business/bg_h1Garden.png') no-repeat right center, #fff;
}
.headtitle.headtitle_rental {
	background: url('../img/business/bg_h1Rental.png') no-repeat right center, #fff;
}
.headtitle.headtitle_case {
	background: url('../img/case/bg_h1Case.png') no-repeat right center, #fff;
}
.headtitle.headtitle_voice {
	background: url('../img/voice/bg_h1Voice.png') no-repeat right center, #fff;
}
.headtitle.headtitle_faq {
	background: url('../img/faq/bg_h1Faq.png') no-repeat right center, #fff;
}
.headtitle.headtitle_company {
	background: url('../img/company/bg_h1Company.png') no-repeat right center, #fff;
}
.headtitle.headtitle_inquiry {
	background: url('../img/inquiry/bg_h1Inquiry.png') no-repeat right center, #fff;
}
.headtitle.headtitle_sitemap {
	background: url('../img/sitemap/bg_h1Sitemap.png') no-repeat right center, #fff;
}


.headtitle h1 {
	margin: 0 0 0 10px;
	color: #48773c;
	line-height: 1rem;
	text-shadow:     #fff 2px 0px,  #fff -2px 0px,
    #fff 0px -2px, #fff 0px 2px,
    #fff 2px 2px , #fff -2px 2px,
    #fff 2px -2px, #fff -2px -2px,
    #fff 1px 2px,  #fff -1px 2px,
    #fff 1px -2px, #fff -1px -2px,
    #fff 2px 1px,  #fff -2px 1px,
    #fff 2px -1px, #fff -2px -1px;
}
@media screen and (min-width:768px) {
	.headtitle h1 {
		margin: 0 0 0 55px;
	}
}

.headtitle h1 span {
	display:block;
	width: auto;
	background-color: #48773c;
	color: #fff;
	display:block;
	padding: 7px 20px;
	border-radius: 1rem;
	font-size:1rem;
	margin-bottom:0.5rem;
	max-width: 10.5rem;
	text-shadow: none;
	line-height: 1rem!important;
}


.iconReason {
	height: 93px;
	width: 141px;
	color: #fff;
	background: url('../img/reason/bg_reason_leaf.png') repeat-x bottom center;
	display: -webkit-flex;
	display: flex;
	-webkit-align-items: center;
	align-items: center;
	padding-left:40px;
}
h2.catchH2 {
	text-align: center;
	margin: 0 auto 100px auto;
	color: #373534;
	font-size: 1.3rem;
}
h2.headlineH2 {
	background: url('../img/line.png') repeat-x bottom left;
	line-height:2rem;
	font-size:2rem;
	padding-bottom:1.5rem;
	color: #59493f;
	margin: 0 auto 30px auto
}
h3.headlineReasonH3 {
	background: url('../img/line_dot.png') repeat-x bottom left;
	line-height:1.8rem;
	font-size:1.8rem;
	padding-bottom:1rem;
	color: #59493f;
}

h3.flowH3 {
	background: #fff;
	border-radius: 2.5rem;
	padding: 0px 15px;
	margin: 0 0 30px 0;
	font-size:1.5rem;
	vertical-align:top;
}
h3.flowH3 span:before {
	font-family: "Font Awesome 5 Free";
	content: '\f13a';
	font-weight:900;
	padding-right:5px;
	font-size:1.5rem;
}
h3.flowH3 span.flowEnd:before {
	content: '\f138';
}
h3.flowH3 span {
	font-size: 1rem;
	font-weight: normal;
}

h3.flowH3 span em {
	font-style: normal;
	font-size: 1.5rem;
	padding-right:1rem;
}

h3.flowH3.flowH301 { border: 3px solid #e5004f;}
h3.flowH3.flowH302 { border: 3px solid #ff9600;}
h3.flowH3.flowH303 { border: 3px solid #5db24c;}
h3.flowH3.flowH304 { border: 3px solid #00479d;}
h3.flowH3.flowH301 span { color: #e5004f;}
h3.flowH3.flowH302 span { color: #ff9600;}
h3.flowH3.flowH303 span { color: #5db24c;}
h3.flowH3.flowH304 span { color: #00479d;}

@media screen and (min-width:768px) {
	h3.flowH3 {
		font-size:2rem;
	}
	h3.flowH3 span {
		font-size: 1.3rem;
	}
	h3.flowH3 span:before {
		font-size:2.5rem;
	}
	h3.flowH3 span em {
		font-size: 2.5rem;
	}
}

#electricTool p strong,
#politeTreatment p strong,
#clarityEstimate p strong {
	color: #59493f;
}
#electricTool img,
#politeTreatment img,
#clarityEstimate img {
	margin-bottom:30px;
}
.flowInquiry p{
	font-size: 1.2rem;
}
.flowInquiry .flowTel a{
	font-size:3rem;
	color: #373534;
	font-weight: bold;
}
.flowInquiry .flowTel a:before{
	font-family: "Font Awesome 5 Free";
	content: '\f095';
	padding-right:10px;
	font-size:2rem;
	color: #5db24c;
}
.flowInquiry .flowTel a:hover{
	text-decoration: none;
}
.balloon {
 	position: relative;
	display: inline-block;
 	margin: 1.5em 15px 1.5em 0;
	padding: 30px 35px;
 	max-width: 100%;
 	color: #555;
	font-size: 1rem;
	background: #bddc46;
	border-radius: 5rem;
	font-weight:bold;
}
.balloon-right:before{
	content: "";
	position: absolute;
	top: 99%;
	left: 50%;
	margin-left: -10px;
	border: 10px solid transparent;
	border-top: 30px solid #bddc46;
}
.balloon-left:after{
	content: "";
	position: absolute;
	bottom: 99%;
	left: 50%;
	margin-left: -10px;
	border: 10px solid transparent;
	border-bottom: 30px solid #bddc46;
}
.balloon img { position:absolute; }
.balloon-right img { top:0;left:-25px; }
.balloon-left img { top:0;right:-25px; }

#service h3 {
	background-color: #48773c;
	color: #fff;
	display:inline-block;
	padding: 0px 5px;
	border-radius: 1rem;
	font-size:1rem;
	width:6rem;
	text-align:center;
	margin-bottom:.5rem;
}
#service .col-sm-4 {
		padding-top:30px;
}
#service .col-sm-8 {
		background: url('../img/business/line_leaf.png') repeat-x bottom left;
		padding-bottom:30px;
}
#service .btn-price{
	font-size: 1rem;
	padding:0 30px;
	color: #fff;
	background: #a44318;
	background: -moz-linear-gradient(top, #a44318 0%, #761e12 100%);
	background: -webkit-linear-gradient(top, #a44318 0%,#761e12 100%);
	background: linear-gradient(to bottom, #a44318 0%,#761e12 100%);
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#a44318', endColorstr='#761e12',GradientType=0 );
	border-radius: 3rem;
}
#service .btn-price:hover{
	background: #a44318;
	background: -moz-linear-gradient(top, #a44318 100%, #761e12 0%);
	background: -webkit-linear-gradient(top, #a44318 100%,#761e12 0%);
	background: linear-gradient(to bottom, #a44318 100%,#761e12 0%);
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#761e12', endColorstr='#a44318',GradientType=0 );
	border-radius: 3rem;
}
#service .btn-price:before {
	font-family: "Font Awesome 5 Free";
	content: '\f061';
	font-weight:900;
	padding-right:10px;
}

h2.h2Service{
	color:#373534;
	text-align:center;
	font-size:2rem;
	line-height: 2.5rem;
	margin: 60px auto;
}
h3.h3Service{
	color:#48773c;
	font-size:2rem;
	line-height: 2.5rem;
	margin: 60px auto;
}
h3.h3ServiceGarden{
	color:#48773c;
	font-size:1.5rem;
	line-height: 2.5rem;
	margin: 60px auto;
}

h3.headlineH3Rental {
	font-size:1.5rem;
	color: #48773c;
	margin-bottom:20px;
}
h3.headlineH3Rental span {
	display: block;
	width: 237px;
	height: 40px;
	background: url('../img/business/bg_rental01.png') no-repeat top center;
	text-align: center;
	color: #fff;
	line-height:1rem;
	padding: 36px;
	margin-right: 30px;
}
@media screen and (min-width:768px) {
	h3.headlineH3Rental span {
		display: inline-block;
	}
}
#rental .border {
	width: 96%;
	height: 20px;
	background: url('../img/business/line_leaf.png') repeat-x top left;
	margin: 30px auto;
}
#rentalPrice .card {
	min-height: 280px;
}
#rentalPrice .card em {
	color: #ff5500;
	font-size: 3rem;
	font-style: normal;
}
#rentalPrice .card h3 { font-size:1.5rem;}
#rentalPrice .card h3 span {
	width:70px;
	height:70px;
	display: inline-block;
	line-height: 70px;
	color: #fff;
	text-align:center;
	background: url('../img/business/bg_circle_rental.png') no-repeat center top;
	margin-right:10px;
}
#rentalPrice .card.price01 {
	background:url('../img/business/icon_rental01.png') no-repeat 90% 90%, #fcecc5;
}
#rentalPrice .card.price02 {
	background:url('../img/business/icon_rental02.png') no-repeat 90% 90%, #fcecc5;
}
#rentalPrice .card.price03 {
	background:url('../img/business/icon_rental03.png') no-repeat right center, #fcecc5;
}

@media screen and (min-width:768px) {
	#service .col-sm-4, #service .col-sm-8 {
		background: none;
		padding-bottom:0;
		padding-top:0;
	}
	#service .border {
		width: 100%;
		height: 20px;
		background: url('../img/business/line_leaf.png') repeat-x top left;
		margin: 30px auto;
	}
}

@media screen and (min-width:768px) {
	.balloon-right:before{
	top: 50%;
	left: 100%;
	 	margin-top: -10px;
		border: 10px solid transparent;
		border-left: 30px solid #bddc46;
	}
	.balloon-left:after{
		content: "";
		position: absolute;
		top: 50%;
		right: 96%;
		left: auto;
	 	margin-top: -10px;
		border: 10px solid transparent;
		border-right: 30px solid #bddc46;
	}
}

.balloon p {
	margin: 0;
	padding: 0;
}
#case h3 {
	color:#48773c;
	font-size:1.5rem;
}
#case .border {
		width: 100%;
		height: 20px;
		background: url('../img/business/line_leaf.png') repeat-x top left;
		margin: 30px auto;
}

#faq {

}
#faq dt {
   border: 1px solid #59493f;
   background: #fff;
  padding: 5px 50px;
   border-radius: 3rem;
   margin:10px 0 10px 5px;
   position:relative;
}
#faq dt:hover {
	cursor:pointer;
}
#faq dd {
  display: none;
  background: #f1ecd8;
  padding: 5px 50px;
   border-radius: 3rem;
   margin:10px 0 30px 35px;
   position:relative;
}
#faq dt:before {
	content: url('../img/faq/icon_a.png');
	position:absolute;
	top:-5px;
	left:-5px;
}
#faq dt:after {
	font-family: "Font Awesome 5 Free";
	content: '\f054';
	position:absolute;
	right: 10px;
}

#faq dd:before {
	content: url('../img/faq/icon_q.png');
	position:absolute;
	top:-5px;
	left:-5px;
}
#voice h3.headlineH3 {
	color: #48773c;
	font-size:1.7rem;
	margin-bottom: 20px;
}
.case_box {
	display: -ms-flexbox;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.case_box .case_arrow {
	text-align:center;
	transform: rotate(90deg);
	margin:5px;
}
.case_box .case_before, .case_box .case_after{text-align:center;}
.box {
  position: relative;
  overflow: hidden;
  width:280px;
  text-align:center;
  margin: 0 auto;
  max-width:100%;
}

.caption {
  position: absolute;
  top: 0;
  left: -100%;
  z-index: 2;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,.6);
  -webkit-transition: .3s;
  transition: .3s;
  opacity: 1;
}
.box:hover .caption {
  top: 0;
  left: 0;
}
.caption >div{
	position: absolute;
	top: 50%;
	left: 50%;
	color: #ffffff;
	text-align: center;
	-webkit-transform: translateX(-50%) translateY(-50%);
	    -ms-transform: translateX(-50%) translateY(-50%);
	        transform: translateX(-50%) translateY(-50%);}


.hidden {display:none;}
.caption a {color: #fff;}
.caption i {font-size:2rem;}
.modaal-container{
position:relative;
display:inline-block;
width:100%;
margin:auto;
text-align:left;
color:#fff;
background:transparent;
box-shadow:none;
cursor:auto}
#jirei .col-md-4 {
	margin-bottom:20px;
}
.cardbox {
	border-radius: 10px;
	overflow: hidden;
	margin-bottom:20px;
}
.cardbox > .cardbox-title-shokusai {
	color: #59493f;
	background-color: #bfdc4b;
	padding:10px 20px;
	font-weight:bold;
}
.cardbox > .cardbox-title-rental {
	color: #59493f;
	background-color: #b3e2d9;
	padding:10px 20px;
	font-weight:bold;
}
.cardbox > .cardbox-title-garden {
	color: #59493f;
	background-color: #f2e5b9;
	padding:10px 20px;
	font-weight:bold;
}
.cardbox-text {
	background-color: #fff;
	padding:10px 20px;
}
.cardbox-text h3 {
	color: #59493f;
	font-size:1.1rem;
	background-color: #fff;
}
.require {
	font-size: .9rem;
	color: #c00;
}


#sitemap li a:before {
	font-family: "Font Awesome 5 Free";
	content: '\f35a';
  font-style: normal;
  font-weight: 900;
	padding-right:5px;
}
#sitemap li a {
	color: #59493f;
}
#sitemap li, #sitemap li ul {
	margin-bottom: 10px;
}
#sitemap li ul li{
	margin-bottom: 0px;
}
#sitemap li ul li a {
	padding-left: 2rem;
}
#sitemap li ul li a:before {
	font-family: "Font Awesome 5 Free";
	content: '\f061';
	padding-right:5px;
}

@media screen and (min-width:768px) {
.spnone { display:block!important;}
.pcnone { display:none!important;}
.case_box {
	display: -ms-flexbox;
  display: flex;
  -webkit-justify-content: space-between;
  justify-content: space-between;
	align-items: center;
  flex-direction: row;
}
.case_box .case_arrow {
	text-align:center;
	transform: rotate(0);
	margin:5px;
}

}
@media screen and (min-width:768px) and ( max-width:960px) {

}
@media screen and ( max-width:787px) {
.table-responsive {
  display: block;
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  -ms-overflow-style: -ms-autohiding-scrollbar;
}
}
@media all and (min-width: 1201px) and (max-width: 9999px) {

}
/*--------------------------------
	Forms
---------------------------------*/
.form-control {
  display: block;
  width: 100%;
  height: calc(2.25rem + 2px);
  padding: 0.375rem 0.75rem;
  font-size: 1rem;
  line-height: 1.5;
  color: #495057;
  background-color: #fff;
  background-clip: padding-box;
  border: 1px solid #ced4da;
  border-radius: 0.25rem;
  transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

@media screen and (prefers-reduced-motion: reduce) {
  .form-control {
    transition: none;
  }
}

.form-control::-ms-expand {
  background-color: transparent;
  border: 0;
}

.form-control:focus {
  color: #495057;
  background-color: #fff;
  border-color: #80bdff;
  outline: 0;
  box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
}

.form-control::-webkit-input-placeholder {
  color: #6c757d;
  opacity: 1;
}

.form-control::-moz-placeholder {
  color: #6c757d;
  opacity: 1;
}

.form-control:-ms-input-placeholder {
  color: #6c757d;
  opacity: 1;
}

.form-control::-ms-input-placeholder {
  color: #6c757d;
  opacity: 1;
}

.form-control::placeholder {
  color: #6c757d;
  opacity: 1;
}

.form-control:disabled, .form-control[readonly] {
  background-color: #e9ecef;
  opacity: 1;
}

select.form-control:focus::-ms-value {
  color: #495057;
  background-color: #fff;
}

.form-control-file,
.form-control-range {
  display: block;
  width: 100%;
}

.col-form-label {
  padding-top: calc(0.375rem + 1px);
  padding-bottom: calc(0.375rem + 1px);
  margin-bottom: 0;
  font-size: inherit;
  line-height: 1.5;
}

.col-form-label-lg {
  padding-top: calc(0.5rem + 1px);
  padding-bottom: calc(0.5rem + 1px);
  font-size: 1.25rem;
  line-height: 1.5;
}

.col-form-label-sm {
  padding-top: calc(0.25rem + 1px);
  padding-bottom: calc(0.25rem + 1px);
  font-size: 0.875rem;
  line-height: 1.5;
}

.form-control-plaintext {
  display: block;
  width: 100%;
  padding-top: 0.375rem;
  padding-bottom: 0.375rem;
  margin-bottom: 0;
  line-height: 1.5;
  color: #212529;
  background-color: transparent;
  border: solid transparent;
  border-width: 1px 0;
}

.form-control-plaintext.form-control-sm, .form-control-plaintext.form-control-lg {
  padding-right: 0;
  padding-left: 0;
}

.form-control-sm {
  height: calc(1.8125rem + 2px);
  padding: 0.25rem 0.5rem;
  font-size: 0.875rem;
  line-height: 1.5;
  border-radius: 0.2rem;
}

.form-control-lg {
  height: calc(2.875rem + 2px);
  padding: 0.5rem 1rem;
  font-size: 1.25rem;
  line-height: 1.5;
  border-radius: 0.3rem;
}

select.form-control[size], select.form-control[multiple] {
  height: auto;
}

textarea.form-control {
  height: auto;
}

.form-group {
  margin-bottom: 1rem;
}

.form-text {
  display: block;
  margin-top: 0.25rem;
}

.form-row {
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  margin-right: -5px;
  margin-left: -5px;
}

.form-row > .col,
.form-row > [class*="col-"] {
  padding-right: 5px;
  padding-left: 5px;
}

.form-check {
  position: relative;
  display: block;
  padding-left: 1.25rem;
}

.form-check-input {
  position: absolute;
  margin-top: 0.3rem;
  margin-left: -1.25rem;
}

.form-check-input:disabled ~ .form-check-label {
  color: #6c757d;
}

.form-check-label {
  margin-bottom: 0;
}

.form-check-inline {
  display: -ms-inline-flexbox;
  display: inline-flex;
  -ms-flex-align: center;
  align-items: center;
  padding-left: 0;
  margin-right: 0.75rem;
}

.form-check-inline .form-check-input {
  position: static;
  margin-top: 0;
  margin-right: 0.3125rem;
  margin-left: 0;
}

.valid-feedback {
  display: none;
  width: 100%;
  margin-top: 0.25rem;
  font-size: 80%;
  color: #28a745;
}

.valid-tooltip {
  position: absolute;
  top: 100%;
  z-index: 5;
  display: none;
  max-width: 100%;
  padding: 0.25rem 0.5rem;
  margin-top: .1rem;
  font-size: 0.875rem;
  line-height: 1.5;
  color: #fff;
  background-color: rgba(40, 167, 69, 0.9);
  border-radius: 0.25rem;
}

.was-validated .form-control:valid, .form-control.is-valid, .was-validated
.custom-select:valid,
.custom-select.is-valid {
  border-color: #28a745;
}

.was-validated .form-control:valid:focus, .form-control.is-valid:focus, .was-validated
.custom-select:valid:focus,
.custom-select.is-valid:focus {
  border-color: #28a745;
  box-shadow: 0 0 0 0.2rem rgba(40, 167, 69, 0.25);
}

.was-validated .form-control:valid ~ .valid-feedback,
.was-validated .form-control:valid ~ .valid-tooltip, .form-control.is-valid ~ .valid-feedback,
.form-control.is-valid ~ .valid-tooltip, .was-validated
.custom-select:valid ~ .valid-feedback,
.was-validated
.custom-select:valid ~ .valid-tooltip,
.custom-select.is-valid ~ .valid-feedback,
.custom-select.is-valid ~ .valid-tooltip {
  display: block;
}

.was-validated .form-control-file:valid ~ .valid-feedback,
.was-validated .form-control-file:valid ~ .valid-tooltip, .form-control-file.is-valid ~ .valid-feedback,
.form-control-file.is-valid ~ .valid-tooltip {
  display: block;
}

.was-validated .form-check-input:valid ~ .form-check-label, .form-check-input.is-valid ~ .form-check-label {
  color: #28a745;
}

.was-validated .form-check-input:valid ~ .valid-feedback,
.was-validated .form-check-input:valid ~ .valid-tooltip, .form-check-input.is-valid ~ .valid-feedback,
.form-check-input.is-valid ~ .valid-tooltip {
  display: block;
}

.was-validated .custom-control-input:valid ~ .custom-control-label, .custom-control-input.is-valid ~ .custom-control-label {
  color: #28a745;
}

.was-validated .custom-control-input:valid ~ .custom-control-label::before, .custom-control-input.is-valid ~ .custom-control-label::before {
  background-color: #71dd8a;
}

.was-validated .custom-control-input:valid ~ .valid-feedback,
.was-validated .custom-control-input:valid ~ .valid-tooltip, .custom-control-input.is-valid ~ .valid-feedback,
.custom-control-input.is-valid ~ .valid-tooltip {
  display: block;
}

.was-validated .custom-control-input:valid:checked ~ .custom-control-label::before, .custom-control-input.is-valid:checked ~ .custom-control-label::before {
  background-color: #34ce57;
}

.was-validated .custom-control-input:valid:focus ~ .custom-control-label::before, .custom-control-input.is-valid:focus ~ .custom-control-label::before {
  box-shadow: 0 0 0 1px #fff, 0 0 0 0.2rem rgba(40, 167, 69, 0.25);
}

.was-validated .custom-file-input:valid ~ .custom-file-label, .custom-file-input.is-valid ~ .custom-file-label {
  border-color: #28a745;
}

.was-validated .custom-file-input:valid ~ .custom-file-label::after, .custom-file-input.is-valid ~ .custom-file-label::after {
  border-color: inherit;
}

.was-validated .custom-file-input:valid ~ .valid-feedback,
.was-validated .custom-file-input:valid ~ .valid-tooltip, .custom-file-input.is-valid ~ .valid-feedback,
.custom-file-input.is-valid ~ .valid-tooltip {
  display: block;
}

.was-validated .custom-file-input:valid:focus ~ .custom-file-label, .custom-file-input.is-valid:focus ~ .custom-file-label {
  box-shadow: 0 0 0 0.2rem rgba(40, 167, 69, 0.25);
}

.invalid-feedback {
  display: none;
  width: 100%;
  margin-top: 0.25rem;
  font-size: 80%;
  color: #dc3545;
}

.invalid-tooltip {
  position: absolute;
  top: 100%;
  z-index: 5;
  display: none;
  max-width: 100%;
  padding: 0.25rem 0.5rem;
  margin-top: .1rem;
  font-size: 0.875rem;
  line-height: 1.5;
  color: #fff;
  background-color: rgba(220, 53, 69, 0.9);
  border-radius: 0.25rem;
}

.was-validated .form-control:invalid, .form-control.is-invalid, .was-validated
.custom-select:invalid,
.custom-select.is-invalid {
  border-color: #dc3545;
}

.was-validated .form-control:invalid:focus, .form-control.is-invalid:focus, .was-validated
.custom-select:invalid:focus,
.custom-select.is-invalid:focus {
  border-color: #dc3545;
  box-shadow: 0 0 0 0.2rem rgba(220, 53, 69, 0.25);
}

.was-validated .form-control:invalid ~ .invalid-feedback,
.was-validated .form-control:invalid ~ .invalid-tooltip, .form-control.is-invalid ~ .invalid-feedback,
.form-control.is-invalid ~ .invalid-tooltip, .was-validated
.custom-select:invalid ~ .invalid-feedback,
.was-validated
.custom-select:invalid ~ .invalid-tooltip,
.custom-select.is-invalid ~ .invalid-feedback,
.custom-select.is-invalid ~ .invalid-tooltip {
  display: block;
}

.was-validated .form-control-file:invalid ~ .invalid-feedback,
.was-validated .form-control-file:invalid ~ .invalid-tooltip, .form-control-file.is-invalid ~ .invalid-feedback,
.form-control-file.is-invalid ~ .invalid-tooltip {
  display: block;
}

.was-validated .form-check-input:invalid ~ .form-check-label, .form-check-input.is-invalid ~ .form-check-label {
  color: #dc3545;
}

.was-validated .form-check-input:invalid ~ .invalid-feedback,
.was-validated .form-check-input:invalid ~ .invalid-tooltip, .form-check-input.is-invalid ~ .invalid-feedback,
.form-check-input.is-invalid ~ .invalid-tooltip {
  display: block;
}

.was-validated .custom-control-input:invalid ~ .custom-control-label, .custom-control-input.is-invalid ~ .custom-control-label {
  color: #dc3545;
}

.was-validated .custom-control-input:invalid ~ .custom-control-label::before, .custom-control-input.is-invalid ~ .custom-control-label::before {
  background-color: #efa2a9;
}

.was-validated .custom-control-input:invalid ~ .invalid-feedback,
.was-validated .custom-control-input:invalid ~ .invalid-tooltip, .custom-control-input.is-invalid ~ .invalid-feedback,
.custom-control-input.is-invalid ~ .invalid-tooltip {
  display: block;
}

.was-validated .custom-control-input:invalid:checked ~ .custom-control-label::before, .custom-control-input.is-invalid:checked ~ .custom-control-label::before {
  background-color: #e4606d;
}

.was-validated .custom-control-input:invalid:focus ~ .custom-control-label::before, .custom-control-input.is-invalid:focus ~ .custom-control-label::before {
  box-shadow: 0 0 0 1px #fff, 0 0 0 0.2rem rgba(220, 53, 69, 0.25);
}

.was-validated .custom-file-input:invalid ~ .custom-file-label, .custom-file-input.is-invalid ~ .custom-file-label {
  border-color: #dc3545;
}

.was-validated .custom-file-input:invalid ~ .custom-file-label::after, .custom-file-input.is-invalid ~ .custom-file-label::after {
  border-color: inherit;
}

.was-validated .custom-file-input:invalid ~ .invalid-feedback,
.was-validated .custom-file-input:invalid ~ .invalid-tooltip, .custom-file-input.is-invalid ~ .invalid-feedback,
.custom-file-input.is-invalid ~ .invalid-tooltip {
  display: block;
}

.was-validated .custom-file-input:invalid:focus ~ .custom-file-label, .custom-file-input.is-invalid:focus ~ .custom-file-label {
  box-shadow: 0 0 0 0.2rem rgba(220, 53, 69, 0.25);
}

.form-inline {
  display: -ms-flexbox;
  display: flex;
  -ms-flex-flow: row wrap;
  flex-flow: row wrap;
  -ms-flex-align: center;
  align-items: center;
}

.form-inline .form-check {
  width: 100%;
}

@media (min-width: 576px) {
  .form-inline label {
    display: -ms-flexbox;
    display: flex;
    -ms-flex-align: center;
    align-items: center;
    -ms-flex-pack: center;
    justify-content: center;
    margin-bottom: 0;
  }
  .form-inline .form-group {
    display: -ms-flexbox;
    display: flex;
    -ms-flex: 0 0 auto;
    flex: 0 0 auto;
    -ms-flex-flow: row wrap;
    flex-flow: row wrap;
    -ms-flex-align: center;
    align-items: center;
    margin-bottom: 0;
  }
  .form-inline .form-control {
    display: inline-block;
    width: auto;
    vertical-align: middle;
  }
  .form-inline .form-control-plaintext {
    display: inline-block;
  }
  .form-inline .input-group,
  .form-inline .custom-select {
    width: auto;
  }
  .form-inline .form-check {
    display: -ms-flexbox;
    display: flex;
    -ms-flex-align: center;
    align-items: center;
    -ms-flex-pack: center;
    justify-content: center;
    width: auto;
    padding-left: 0;
  }
  .form-inline .form-check-input {
    position: relative;
    margin-top: 0;
    margin-right: 0.25rem;
    margin-left: 0;
  }
  .form-inline .custom-control {
    -ms-flex-align: center;
    align-items: center;
    -ms-flex-pack: center;
    justify-content: center;
  }
  .form-inline .custom-control-label {
    margin-bottom: 0;
  }
}
