body{
    background: #f8f2e9;
    color: #403c3c;
    font-family: 'Noto Sans JP', sans-serif;
}
body.about_us{
    background: #f8f2e9 url(../images/bg-about.jpg) no-repeat top center;
    background-size: cover;
}
p a{
    color: red;
}
p a:hover{
    color: red;
    text-decoration: underline;
}
.color-white{
    color: white;
}
.bg-teal{
    background: #00f7ff;
}
.bg-light{
    background: #f8f2e9 !important;
}
.bg-white{
    background: white;
}
.bg-wavy{
    
}

.btn{
    font-weight: bold;
}
.btn-primary{
    color: #403c3c;
    background-color: #00f7ff;
    border-color: #00f7ff;
}
.btn-primary:hover{
    background-color: #a1c2bb;
    border-color: #a1c2bb;
    color: #403c3c;
}

.btn-outline-secondary{
    border-color: #ed1c24;
    color: #403c3c;
}
.btn-outline-secondary:hover{
    background-color: #ed1c24;
    border-color: #ed1c24;
    color: white;
}

h1,h2,h3,h4,h5,h6{
    font-family: 'Permanent Marker', cursive;
}
.headline{
    position: relative;
    margin-bottom:30px;
}

.headline:after {
  content:' ';
  position: absolute;
  bottom: -20%;
  left:50%;
  width: 80px;
  border:1px solid #4d9e9d;
  transform:translateX(-50%);

}
.headline.left{
    left: 0;
    transform: translateX(0);
}
.headline.left:after {
  content:' ';
  position: absolute;
  bottom: -20%;
  left:0;
  width: 80px;
  border:1px solid #4d9e9d;
  transform:translateX(0);

}

.logo{
    background: url(../images/logo.png) no-repeat center;
    background-size: contain;
    display: block;
    height: 90px;
    text-indent: -9999px;
    width: 319px;
}
.nav-link{
    color: #ed1c24;
}

.hero{
    background: url(../images/hero.jpg) bottom no-repeat;
    background-size: cover;
    overflow: hidden;
    position: relative;
}
.hero-overlay{
    background: rgba(255,255,255,.5);
    height: 100%;
    left: 0;
    top:0;
    position: absolute;
    width: 100%;
}
.hero-caption{
    background: url(../images/hero-caption.png) no-repeat center;
    background-size: contain;
    display: block;
    height: 96px;
    margin: 0 auto;
    text-indent: -9999px;
    width: auto;
}

.card{
    border:none;
    overflow: hidden;
}
.card-image{
    overflow: hidden;
    position: relative;
    width: 100%;
}
.card-image .card-title{
    background: rgb(52,49,49);
    background: linear-gradient(0deg, rgba(52,49,49,.9) 10%, rgba(52,49,49,0) 100%);
    color: white;
    bottom: 0;
    left: 0;
    height: 25%;
    padding: 10px 20px 0 20px;
    position: absolute;
    margin: 0;
    width: 100%;
    z-index: 9;
    transition: all .25s ease-in-out;
}
.card:hover .card-image .card-title{
        height: 30%;
}
.card img{
    transition: all .35s ease-in-out;
}
.card:hover{
    box-shadow: none !important;
}
.card:hover img{
    transform: scale(1.05);
}
.card-footer{
    background-color: transparent;
}

.newsletter{
    /*border-top: 1px solid #d7d3d3;*/
    background: #fff;
}

footer{
    background: #403c3c;
    padding-top: 2em;
}
.social .fab,
.social .fas{
    font-size: 2em;
    color: #00f7ff;
}
.credits{
    background: #343131;
    bottom: 0;
    padding-top: 20px;
    padding-bottom: 20px;
    text-align: center;
}
.credits p{
    color: #9c9789;
    font-size: 11px;
    margin-bottom: 0;
    text-transform: uppercase;
}
.innfinite{
    background: url(https://www.innfinite.co.uk/images/logo.png) center no-repeat;
    background-size: contain;
    display: block;
    height: 26px;
    margin: 0 auto;
    text-indent: -9999px;
    width: 170px;
}

#scroll {
    position:fixed;
    right:10px;
    bottom:10px;
    cursor:pointer;
    width:50px;
    height:50px;
    background-color:red;
    text-indent:-9999px;
    display:none;
    -webkit-border-radius:60px;
    -moz-border-radius:60px;
    border-radius:60px;
    z-index: 9999;
}
#scroll span {
    position:absolute;
    top:50%;
    left:50%;
    margin-left:-8px;
    margin-top:-12px;
    height:0;
    width:0;
    border:8px solid transparent;
    border-bottom-color:#ffffff;
}
#scroll:hover {
    background-color:#e74c3c;
    opacity:1;filter:"alpha(opacity=100)";
    -ms-filter:"alpha(opacity=100)";
}