/*
Theme Name: Premier-Tex
Theme URI: https://premier-tex.com/
Description: Premier-Tex Exclusive Theme
Version: 1.0
Author: Taisuke Inui
Author URI: https://samurai-web-works.com/
*/
/* 5 columns, 7 columns */
.col-5ths,
.col-sm-5ths,
.col-md-5ths,
.col-lg-5ths,
.col-xl-5ths,
.col-7ths,
.col-sm-7ths,
.col-md-7ths,
.col-lg-7ths,
.col-xl-7ths{
position: relative;
width: 100%;
min-height: 1px;
padding-right: 15px;
padding-left: 15px;
}

@media (min-width: 576px) {
.col-sm-5ths {
flex: 0 0 20%;
max-width: 100%;
}

.col-sm-7ths {
flex: 0 0 14.285714285714285714285714285714%;
max-width: 100%;
}
}

@media (min-width: 768px) {
.col-md-5ths {
flex: 0 0 20%;
max-width: 100%;
}

.col-md-7ths {
flex: 0 0 14.285714285714285714285714285714%;
max-width: 100%;
}
}

@media (min-width: 992px) {
.col-lg-5ths {
flex: 0 0 20%;
max-width: 100%;
}

.col-lg-7ths {
flex: 0 0 14.285714285714285714285714285714%;
max-width: 100%;
}
}

@media (min-width: 1200px) {
.col-xl-5ths {
flex: 0 0 20%;
max-width: 100%;
}

.col-xl-7ths {
flex: 0 0 14.285714285714285714285714285714%;
max-width: 100%;
}
}

/* 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; }

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;
}

.container {max-width: 1230px;}

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

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

html{font-size:17px;}

body{font-family: 'Crimson Text', serif; line-height:1.6rem;}

.text-primary{color:#05448f;}

a, a:hover, a:focus{color:#05448f;}

.bg-light{background-color:#f6f6f6 !important;}

.no-padding{padding:0;}

.d-flex-row{display:flex;}

.flex-height{display: flex; align-items: center;}

@media screen and (max-width: 767px){
 .d-flex-row{display:block;}
 
 .img-70p-xs{width:70%; display:block; margin-left:auto; margin-right:auto;}
}

/* btn */
.btn{padding:.35rem 3rem}

.btn-outline-primary {color: #05448f; border-color: #05448f;}

.btn-outline-primary:hover {background-color: #05448f; border-color: #05448f;}

.btn-primary {background-color: #05448f; border-color: #05448f;}

.btn-primary:hover {border-color: #05448f;}

@media screen and (max-width: 767px){
.btn-sm-block{display:block;}
}

/* header */
#logo{color:#05448f; font-size:1.8rem;}

.navbar-nav{text-align:center;}

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

.navbar-light .navbar-nav .show>.nav-link, .navbar-light .navbar-nav .active>.nav-link, .navbar-light .navbar-nav .nav-link.show, .navbar-light .navbar-nav .nav-link.active{color:#05448f;}

.navbar-light .navbar-nav .nav-link:hover, .navbar-light .navbar-nav .nav-link:focus{color:#05448f;}

/* footer */
#footer-top{color:#fff; background:url('/wp-content/themes/premier-tex/images/bg-footer.jpg') top center no-repeat;}

#footer-bottom{color:#fff; padding:12px 0;}

/* index */
.carousel{border-bottom:6px solid #05448f;}

.section-padding{padding:90px 0;}

.section-padding-product-page{padding:90px 0 30px;}

.ttl-border{border-bottom:2px solid #05448f; color:#05448f; display:inline-block;}

.ttl-border-white{border-bottom:2px solid #fff; color:#fff; display:inline-block;}

.hover-box {
  background: rgba(0, 0, 0, 0.3);
  bottom: 0;
  left: 0;
  overflow: hidden;
  padding: 2rem 3rem;
  position: absolute;
  text-align: center;
  top: 0;
  right: 0;
  -webkit-transition: 0.6s;
  transition: 0.6s;
  z-index:999;
}

.hover-box h4{color: #fff; display:inline-block; border-top:1px solid #cacaca; border-bottom:1px solid #cacaca; padding:1rem 0;}

.hover-box:hover {background: rgba(0, 0, 0, 0.7);}

@media screen and (max-width:767px){
	h2.ttl-border{font-size:1.7rem;}
}

/* page */
#page-ttl{padding:120px 0; text-align:center; color:#fff; text-shadow:0 0 10px #000, 0 0 20px #000;}

#page-ttl a{color:#fff; text-decoration:underline;}

#page-ttl a:hover{text-decoration:none;}

.page-ttl-bg01{background:url(/wp-content/themes/premier-tex/images/img-page-head01.jpg) top center fixed; background-size:100%;}

.page-ttl-bg03{background:url(/wp-content/themes/premier-tex/images/img-page-head03.jpg) top center fixed; background-size:100%;}

@media screen and (max-width:767px){
.page-ttl-bg01{background:url(/wp-content/themes/premier-tex/images/img-page-head-sm01.jpg) top center fixed; background-size:contain;}
	
.page-ttl-bg03{background:url(/wp-content/themes/premier-tex/images/img-page-head-sm03.jpg) top center fixed; background-size:contain;}
}

a.product-box{display:block; text-decoration:none; color:#022a5a;}

a.product-box:hover{opacity:.6;}

.product-box h2{border-top:1px solid #05448f; border-bottom:1px solid #05448f; padding:.75rem 0; text-align:center;}

/* product area */
.editable-area img{max-width: 100%; height: auto;}

.editable-area h2{color:#05448f; border-top:1px solid #05448f; border-bottom:1px solid #05448f; padding:.75rem 0;}

/* contact form */
label{margin-bottom:.25rem;}

/* 404 */
section.page404{padding:100px 0; text-align:center;}

section.page404 h2{font-size:5rem; color:#022a5a; margin-bottom:3rem;}

section.page404 h3{margin-bottom:3.5rem;}

/* Back to Top */
#return-to-top {
    z-index:1000;
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: rgba(5, 86, 143, 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;
}

