/*
Theme Name: Rin-Tei
Theme URI: https://rin-tei.com/
Description: Rin-Tei Exclusive Theme
Version: 1.1
Author: Taisuke Inui
Author URI: https://samurai-web-works.com/
*/

/* wordpress blog */
img.alignright { display: block; margin: 0 0 0 auto; }

img.alignleft { display: block; margin: 0 auto 0 0; }

img.aligncenter { display: block; margin: 0 auto; }

.mt-10px{margin-top:10px !important;}

.mt-20px{margin-top:20px !important;}

.mt-30px{margin-top:30px !important;}

.mt-40px{margin-top:40px !important;}

.mt-50px{margin-top:50px !important;}

.mt-60px{margin-top:60px !important;}

.mt-70px{margin-top:70px !important;}

.mt-80px{margin-top:80px !important;}

.mt-90px{margin-top:90px !important;}

.mt-100px{margin-top:100px !important;}

.mt-180px{margin-top:180px !important;}

.mb-10px{margin-bottom:10px !important;}

.mb-20px{margin-bottom:20px !important;}

.mb-30px{margin-bottom:30px !important;}

.mb-40px{margin-bottom:40px !important;}

.mb-50px{margin-bottom:50px !important;}

.mb-60px{margin-bottom:60px !important;}

.mb-70px{margin-bottom:70px !important;}

.mb-80px{margin-bottom:80px !important;}

.mb-90px{margin-bottom:90px !important;}

.mb-100px{margin-bottom:100px !important;}

.mb-110px{margin-bottom:110px !important;}

.mb-120px{margin-bottom:120px !important;}

.mb-180px{margin-bottom:180px !important;}

a:hover img.hoverImg{opacity:0.6;}

.flex-box {
    display: -webkit-flex;
    display: flex;
    -webkit-align-items: center;
    align-items: center;
    -webkit-justify-content: center;
    justify-content: center;
}

.flex-height {display: flex; align-items: center;}
.flex-column{display:flex; flex-direction:column}
.flex-grow{flex-grow:1}

.btn{white-space:normal; text-decoration:none; border-radius:0;}

.btn-lg{padding:1rem 4rem;}

.btn-outline-light:hover{color:#19293a;}

a, a:hover{color:#efefef;}

main a{text-decoration:underline;}

main  a:hover{text-decoration:none;}

.container {max-width: 1230px;}

@media screen and (max-width: 1199px){
.container {max-width: 100%;}
}

@media screen and (max-width:767px){
 .mb-120px,.mb-180px{margin-bottom:100px !important;}
 
 .mt-180px{margin-top:100px !important;}
 
 .img-80per-sm{width:80%; display:block; margin-left:auto; margin-right:auto;}
}

.img-center{display:block; margin-left:auto; margin-right:auto;}

.bg-dark{background-color:#19293a !important;}

.anchor-absolute{position:absolute; margin-top:-140px;}

@media screen and (max-width:767px){
 .anchor-absolute{margin-top:-300px;}
}

html{font-size:16px;}

@media screen and (max-width:991px){
 html{font-size:2vw;}
}

@media screen and (max-width:767px){
 html{font-size:3.5vw;}
}

body{font-family: 'Roboto', sans-serif; line-height:1.6rem; background-color:#FFF; color:#000;}

h1,h2,h3,h4,h5,h6,.h1,.h2,.h3,.h4,.h5,.h6{line-height:2.2rem;}

h1,h2,.h4{font-weight:700;}

.navbar-dark .navbar-nav .nav-link{color:#efefef;}

.navbar-nav{font-size:1.2rem;}

.navbar-nav .btn{font-size:1.2rem; padding-left:2rem !important; padding-right:2rem !important;}

.navbar-nav a.btn:hover{color:#19293a !important;}

.navbar-expand-lg .navbar-nav .nav-link{padding-left:1.2rem; padding-right:1.2rem;}

@media screen and (max-width:991px){
 .navbar-nav{text-align:center;}
}

@media screen and (max-width:767px){
 h1{font-size:2rem;}
 
 h2{font-size:1.85rem;}
 
 h3.h4{font-size:1rem; line-height:1.75rem;}
}

#logo{width:200px; -webkit-transition: ease .25s; transition: ease .25s;}

.small-header{box-shadow: 0 0 4px grey;}

.small-header #logo{width:100px; -webkit-transition: ease .25s; transition: ease .25s;}

#hero-img{text-align:center;}
 
#hero-img img.logo{width:40%;}

.carousel-caption{top: 35%;
    transform: translateY(-50%);
    -webkit-transform: translateY(-50%);
    -ms-transform: translateY(-50%);}

@media screen and (max-width:1649px){
 #hero-img .mb-120px{margin-bottom:40px !important;}
 
 #hero-img .mb-40px, #hero-img .mb-30px{margin-bottom:10px !important;}
}

@media screen and (max-width:991px){
 .carousel-caption{top:50%;}

 #logo{width:100px;}
  
 #hero-img img.logo{width:70%;}
 
 #hero-img .mb-120px{margin-bottom:40px !important;}
 
 #hero-img .mb-40px{margin-bottom:10px !important;}
}
 
 @media screen and (max-width:767px){
  .carousel-caption{top: 35%; padding-top:0; right:10%; left:10%;}

  #hero-img img.logo{width:65%;}
	 
  #hero-img .mb-120px{margin-bottom:25px !important;}
 }

.sec-padding-120px{padding:120px 0;}

.lead{line-height:2.5rem;}

.border-warning{border-color:#d6a90c !important;}

.menu-details a.collapsed::after {
  content: '+ Read More';
}

.menu-details a:not(.collapsed)::after {
  content: '- Read Less';
}

.ttl-contact{border-bottom:1px solid #efefef; padding-bottom:20px;}

hr{border-top:1px solid #efefef;}

p.menu-types a{text-decoration:none;}

p.menu-types a:hover{text-decoration:underline;}

@media screen and (max-width:767px){
 .sec-padding-120px{padding:60px 0;}
 
 #gallery-content .mb-30px{margin-bottom:10px !important;}
 
 #gallery-content .col-8, #gallery-content .col-md-24{padding-left:5px; padding-right:5px;}
}

#footer-top{padding-bottom:30px;}

#footer-top ul{list-style:none; padding-left:0; display: flex; justify-content: center; align-items: center; list-style: none;}

#footer-top ul li{float:left; padding-left:15px; padding-right:15px;}

#footer-top ul li i.fa-instagram{font-size:36px;}

#footer-top ul li i.fa-facebook{font-size:32px;}

#footer-top h5 a{text-decoration:underline;}

#footer-top h5 a:hover{text-decoration:none;}

#footer-top #logo{width:240px;}

#footer-bottom{margin-bottom:15px;}

#footer-bottom .col-24{border-top:1px solid #efefef; padding-top:30px;}

/* Back to Top */
#return-to-top {
    z-index:1000;
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: rgba(255, 255, 255, 0.5);
    width: 50px;
    height: 50px;
    display: block;
    text-decoration: none;
    -webkit-border-radius: 35px;
    -moz-border-radius: 35px;
    border-radius: 35px;
    display: none;
    -webkit-transition: all 0.3s linear;
    -moz-transition: all 0.3s ease;
    -ms-transition: all 0.3s ease;
    -o-transition: all 0.3s ease;
    transition: all 0.3s ease;
}
#return-to-top i {
    z-index:1200;
    color: #fff;
    margin: 0;
    position: relative;
    left: 16px;
    top: 13px;
    font-size: 19px;
    -webkit-transition: all 0.3s ease;
    -moz-transition: all 0.3s ease;
    -ms-transition: all 0.3s ease;
    -o-transition: all 0.3s ease;
    transition: all 0.3s ease;
}
#return-to-top:hover {
    background: rgba(0, 0, 0, 0.9);
}
#return-to-top:hover i {
    color: #fff;
    top: 5px;
}

.business-hour{font-size:smaller;line-height:1.3em;margin-bottom:0.5em!important}
.business-hour strong{font-size:1.2em}

.widget.recent-posts-widget a {
    color: #333!important; 
}

a.card-body:hover{background-color:#f1f1f1}
.img-16-9 {
    position: relative;
    width: 100%; 
    padding-top: 56.25%; 
    overflow: hidden; 
}

.img-16-9 img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover; 
}

.gallery {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
}

.gallery-item {
    position: relative;
    overflow: hidden;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.news-archive{
	padding-top:20px;
	text-decoration: none;
}
a.news-archive:hover{
	background-color:#f1f1f1
}