@import url('https://fonts.googleapis.com/css2?family=Lato:wght@300;400;900&display=swap');
* {
    -webkit-tap-highlight-color: rgba(0,0,0,0) !important; /* make transparent link selection, adjust last value opacity 0 to 1.0 */
}

html,body {
    -webkit-touch-callout: none;                /* prevent callout to copy image, etc when tap to hold */
    -webkit-text-size-adjust: none;             /* prevent webkit from resizing text to fit */
    /* -webkit-user-select: none;   */                /* prevent copy paste, to allow, change 'none' to 'text' */
}
html{
  touch-action: manipulation !important;
  -ms-touch-action: manipulation !important;
}
body{
  -webkit-overflow-scrolling: touch;  
}
.pos_r{position: relative;}
a{
    -webkit-transition: all 0.4s ease;
    -o-transition: all 0.4s ease;
    transition: all 0.4s ease;
}
select{-webkit-appearance:none;}
select + span{
    position: absolute;
    top: calc(50% + 7px);
    right: 19px;
    border-color: #CCC;
    border-top: 1px solid;
    border-right: 1px solid;
    width: 8px;
    height: 8px;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    -webkit-transition: top 0.3s, -webkit-transform 0.3s;
    transition: top 0.3s, -webkit-transform 0.3s;
    transition: transform 0.3s, top 0.3s;
    transition: transform 0.3s, top 0.3s, -webkit-transform 0.3s;
    -webkit-transform: rotate(135deg) translate3d(0, -50%, 0);
    transform: rotate(135deg) translate3d(0, -50%, 0);
    -webkit-transform-origin: 35%;
    transform-origin: 35%;
}
.set_logo{ width:33%;}
#header .header-logo{width:100%;margin: 0;}
.header-logo .logo {
    position: relative;
    z-index: 5;
    width: 100%;
    height: 110px;
}
.header-logo .logo a {
    position: relative;
    z-index: 0;
    display: block;
    width: 100%;
    height: 100%;
    text-indent: -9999px;
}
.header-logo .logo a::before {
    content: "";
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    z-index: 1;
    width: 224px;
    height: 55px;
    background: url(../img/footer_logo.png) 0% 0% / contain no-repeat;
}
.header-logo .logo a::after {
    content: "";
    position: absolute;
    left: -80px;
    top: 0px;
    z-index: -1;
    width: calc(100% + 75px);
    height: 101%;
    box-shadow: rgba(0, 0, 0, 0.25) 0px 0px 30px;
    background-color: #172954;
    transform: skewX(-30deg);
}
/* .home{width: 95px !important} */
.nav li{position: relative;}
.nav li small{
    position: absolute;
    bottom: 18px;
    left: -4px;
    right: 0;
    letter-spacing: 1px;
    text-align: center;
}
#header .header-nav.header-nav-links nav > ul:not(:hover) > li:first-child > a.active:before{left: -.6em;}
.nav:not(:hover) li .nav-link.active+small,
.nav li:hover .nav-link.active+small,
.nav li:hover .nav-link+small{color: #d3b666;color:var(--main);}
#header .header-nav.header-nav-links nav > ul > li:hover > a:before{padding-bottom: 10px;}
.sticky-header-active .nav li small{bottom: 5px;}
.slider_mask{
    background: -moz-linear-gradient(bottom, rgb(23 41 84) 10%, rgb(19 34 40 / 47%) 50%, rgb(19 34 40 / 0%) 100%) 60%; /* FF3.6-15 */
    background: -webkit-linear-gradient(bottom, rgb(23 41 84) 10%,rgb(19 34 40 / 47%) 50%,rgb(19 34 40 / 0%) 100%) 60%; /* Chrome10-25,Safari5.1-6 */
    background: linear-gradient(to top, rgb(23 41 84) 10%,rgb(19 34 40 / 47%) 50%,rgb(19 34 40 / 0%) 100%) 60%; /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#00000000', endColorstr='#a6132227',GradientType=0 ); /* IE6-9 */
}
.bg-cdark{
    background-color: #132227;
    background-color: var(--dark);
}
.index_product{margin-top: -330px;}
.index_cate{
    position: relative;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    /* width: 110px; */
    padding-bottom: 63%;
    margin: 10px auto 20px;
}
.index_cate:before{
    /* content: ''; */
    position: absolute;
    left: -7px;
    bottom: -6px;
    z-index: -1;
    width: calc(100% + 30px);
    height: 67px;
    background: url(https://www.raytac.com/images/shadow.png) no-repeat;
    background-size: cover;
}
.parallax a{color:#fff;}
.parallax p.text-4{font-weight:300;}
.parallax a:hover{color: #d3b666;color: var(--main);}
.pageBox {
  text-align: center;
}
.more_btn{
    position: relative;
    padding:8px 12px;
    margin-top: 40px;
    width:165px;
    font-size: 16px;
    letter-spacing: 2px;
    border: 1px solid #222;
}
.more_btn.bewhite{ border-color:#fff; color:#fff;}
.more_btn:before{
    content: "";
    position: absolute;
    right: 30px;
    top: 50%;
    border-top: 1px solid #222;
    border-right: 1px solid #222;
    width: 8px;
    height: 8px;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    -webkit-transform-origin: top right;
    -ms-transform-origin: top right;
    transform-origin: top right;
    -webkit-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    transform: rotate(45deg);
    -webkit-transition: all .4s ease;
    -o-transition: all .4s ease;
    transition: all .4s ease;
    -webkit-animation: more_arrow 1.5s forwards cubic-bezier(0.45, 0.05, 0.55, 0.95) infinite;
    animation: more_arrow 1.5s forwards cubic-bezier(0.45, 0.05, 0.55, 0.95) infinite;  
}
.more_btn.bewhite:before{border-color:#fff;}
.more_btn:hover,.inhover.more_btn{
    background-color: #132227;
    background-color: var(--dark);
    color:  #ccbf90;
    border-color: #d3b666;
    border-color: var(--dark);
}
.more_btn.bewhite:hover{background-color: #d3b666;border-color:#d3b666;color:#fff;}
.more_btn:hover:before,.inhover.more_btn:hover{border-color:#d3b666;}
.more_btn.bewhite:hover:before,.inhover.more_btn:before{border-color:#fff;}
footer .main_menu{
    width: 100%;
    justify-content: space-between;
    /* text-align: center; */
    /* border-bottom: 1px solid #636364; */
    margin-bottom: 5px;
}
footer .main_menu li{    
    width: 20%;
    display: inline-block;
    position: relative;
    text-align: right;
    list-style: none;
    padding:0px 0px 5px;

}
footer .main_menu li::before {
    content: '';
    width: 5px;
    height: 5px;
    background: #919191;
    border-radius: 50%;
    position: absolute;
    top: calc(50% - 4px);
    left: 13px;
}
footer .main_menu li:first-child::before {content: none}
#footer .main_menu li a:not(.btn){color:#eee;font-size: 16px;letter-spacing: 1px;}
#footer .main_menu li a:not(.btn):hover,#footer a:not(.btn):hover{color:#d3b666;color:var(--main);}
#footer p,#footer a:not(.btn){color:#b4b2b2;}
.cate_title{
    position: relative;
    font-size: 18px; 
    font-weight: 400;
    background-color: var(--dark);
    padding: 15px 20px;
    color: #fff;
    margin-top: -80px;
    margin-bottom: 25px;
}
.cate_list{padding-left: 0;}
.cate_list li{
    position: relative;
    list-style: none;
    padding: 15px 10px;
    font-size: 16px;
    border-bottom: 1px solid #eee;
    z-index: 2
}
.cate_list li a{
    color:#617282;    
    display: flex;
    width: 100%;
    align-items: center;
    justify-content: space-between;
}
.cate_list li:hover i{
    -webkit-animation: navItemArrow 600ms ease;
    animation: navItemArrow 600ms ease;
    -webkit-animation-iteration-count: infinite;
    animation-iteration-count: infinite;
}
.cate_list li:hover a,.cate_list li.active a{color: #d3b666;color:var(--main);font-weight: 600}
.cate_title:before {
    content: '';
    position: absolute;
    left: -30px;
    top: 0;
    /* z-index: -1; */
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.05);
}
.cate_title:before {
    -webkit-transform: skewX(-45deg);
    -ms-transform: skewX(-45deg);
    transform: skewX(-45deg);
}
.cate_title:after {
    -webkit-transform: skewX(45deg);
    -ms-transform: skewX(45deg);
    transform: skewX(45deg);
}
.gamp-box {
    height: 300px;
    margin-bottom: 20px;
}
.gamp-box iframe{width: 100%;height: 100%;}
.contact_info a i{
    flex-shrink: 0;
    display: inline-block;
    vertical-align: middle;
    margin-right: 8px;
    width: 38px;
    height: 38px;
    line-height: 38px;
    font-size: 15px;
    color: #fff;
    background-color: #172954;
    background-color: var(--dark);
    text-align: center;
    border-radius: 100%;
    -webkit-transition: all .5s;
    -o-transition: all .5s;
    transition: all .5s;
}
.contact_info a span{
    display: inline-block;
    vertical-align: middle;
    font-weight: normal;
    color: #172954;
    color: var(--dark);
}
.contact_info a:hover i{
    background-color: #d3b666;
    background-color: var(--main);
}
.contact_info a:hover span{
    color:  #d3b666;
    color: var(--main);
}
.modal-header .close{
    margin: 0;
    position: absolute;
    top: 0;
    right: 0;
}
.scrollable-parallax-wrapper{width: 100%}
[data-area="transport"]{display: none;}
.page_en_title{
    position: absolute;
    font-size: 7rem;
    font-weight: 900;
    opacity: .04;
    letter-spacing: 2px;
    padding-left: 20px;
    bottom: 55px;
    right: 0
}
ul.service_tab{position: relative;}
ul.service_tab:before{
    content: '';
    border-bottom: 3px solid #eee;
    position: absolute;
    display: block;
    width: 100%;
    bottom: 20px;
}
.sub_title,.data-content{position: relative;padding-left: 45px;margin-bottom: 20px}
.sub_title:before{
    content: '';
    position: absolute;
    display: block;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 46px 46px 0 0;
    border-color: #d3b666 transparent transparent transparent;
    top: 2px;
    left: 0px;
}
.sub_title:after{
    content: '';
    position: absolute;
    display: block;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 40px 40px 0 0;
    border-color: #172954 transparent transparent transparent;
    top: 2px;
    left: 0px;
}
.data-content img{margin-bottom: 20px;}
.list.list-icons.list-icons-style-3 li > i:before{
    z-index: 2;
    position: relative;
    background: var(--main);
    width: 25px;
    height: 25px;
    display: block;
    border-radius: 20px;
    line-height: 25px;
    margin-left: -5px;
    margin-top: -5px;
}
.list.list-icons.list-icons-style-3 li > i:after{
    content: '';
    position: absolute;
    display: block;
    width: 35px;
    height: 35px;
    background: rgb(211 181 103 / .2);
    border-radius: 20px;
    z-index: 0;
    top: -5px;
    left: -5px;
}
.designList {
  padding: 0;
  width: 100%;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
}

.designList .item {
  width: 50%;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  padding: 15px 0;
}
.designList .item img{width: 30px;}

.designList .item p {
  font-size: 15px;
  font-weight: 400;
  font-family: "Lato", "微軟正黑體", sans-serif;
  color: #050505;
  position: relative;
  padding-left: 15px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  word-break: normal;
  margin-bottom: 5px;
}

.designList .item p:before {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  -webkit-transform: translateY(-50%);
  -ms-transform: translateY(-50%);
  transform: translateY(-50%);
  width: 1px;
  height: 36px;
  background-color: #d3b665;
}
.designList .icon {
    width: 60px;
    height: 60px;
    min-width: 60px;
    min-height: 60px;
    margin: 0 15px;
    border: 1px solid #f0f0f0;
    border-radius: 50%;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
}
blockquote.slogon{
    position: relative;
    border-left: none;
    border-bottom: 5px solid rgb(174 154 100 / 15%);
    border-top: 5px solid rgb(174 154 100 / 15%);
    margin: 1rem 0;
    padding: 2rem 1rem;
    font-size: 18px;
    text-align: center;
    color: #bea273;
}
blockquote.slogon:before{
    left: 20px;
    top: 20px;
    color: #ebe4d6;
    font-family: playfair display,serif;
    content: "“";
    font-size: 85px;
    font-style: normal;
    line-height: 1;
    position: absolute;
}
.step_icon{
    width: 45px;
}
.footer_logo{width: 250px}
.index_about{position: relative;}
.index_about:before{
    content:'';
    background-image: url('../img/about_bg.png');
    background-position:top ;
    position: absolute;
    width: 100vw;
    height: 500px;
    background-size: cover;
    background-position: 40%;

}
.index_process{
    background-image: url('../img/process_bg.jpg') !important;
    background-repeat: no-repeat;
}
.index_process .page_en_title{font-size: 10.5rem;opacity: .06;}
.tw{position: relative;}
.nav-link.d-inline-block{width:49%; text-align: center !important;}
.tw:before{
    content: '';
    border-right: 1px solid #e8e8e8;
    position: absolute;
    right: 0;
    height: 20px;
}


















:root{
    --font:"Lato",-apple-system, "Helvetica Neue", Helvetica, "Nimbus Sans L", Arial, "Liberation Sans", "PingFang SC", "Hiragino Sans GB", "Source Han Sans CN", "Source Han Sans SC", "Microsoft YaHei", "Wenquanyi Micro Hei", "WenQuanYi Zen Hei", "ST Heiti", SimHei, "WenQuanYi Zen Hei Sharp", sans-serif;
    --main: #d3b666;
    --maindark: #d2a54a;
    /* --maindlight:;
    --second:;
    --seconddark:;
    --seconddlight:; */
    --dark:#172954 ;
}
::-webkit-scrollbar {
    -webkit-appearance: none;
}

::-webkit-scrollbar:vertical {
    width: 2px;
}

::-webkit-scrollbar:horizontal {
    height: 2px;
}

::-webkit-scrollbar-thumb {
    background-color: rgba(0, 0, 0, .5);
    border-radius: 10px;
    border: 2px solid transparent;
}

::-webkit-scrollbar-track {
    background-color: transparent; 
}
@-webkit-keyframes more_arrow {
  0% {
    right: 30px;
    opacity: 0;
  }
  100% {
    right: 15px;
    opacity: 1;
  }
}

@keyframes more_arrow {
  0% {
    right: 30px;
    opacity: 0;
  }
  100% {
    right: 15px;
    opacity: 1;
  }
}
/* Nav Item Arrow */
@-webkit-keyframes navItemArrow {
    0% {
        position: relative;
        left: -1px;
    }

    50% {
        position: relative;
        left: 3px;
    }

    100% {
        position: relative;
        left: -1px;
    }
}

@keyframes navItemArrow {
    0% {
        position: relative;
        left: -1px;
    }

    50% {
        position: relative;
        left: 3px;
    }

    100% {
        position: relative;
        left: -1px;
    }
}
/*
| ----------------------------------------------------
| responsive
| ----------------------------------------------------
*/
@media (min-width: 1500px){
    .container {
        max-width: 1300px;
    }
}
@media (max-width: 1441px) {
    footer .main_menu li{width: 22%}
}
@media (max-width: 1367px) {

}


@media (max-width: 1025px) {
    .header-logo .logo a::before{left: 40%;width: 180px;}    
    #header .header-nav.header-nav-links nav > ul > li > a{padding: 1rem 1.2rem}
}


@media (max-width: 769px) {
    #header .header-btn-collapse-nav{background-color: #fff;color: #333 !important}
    .nav li small{bottom: auto;left: 10%; width: 100px;top: 12px;}
    .header-logo .logo a::before{left: 52%;width: 185px}
    .header-logo .logo a::after{width: calc(100% + 150px)}
    .designList .item{width: 100%}
    .index_about:before{
        height: 400px;bottom: 0; opacity: .4;
    }
    #header .header-nav-main nav:after{
        content: '';
        position: absolute;
        border-bottom: 2px solid #dbc381;
        display: block;
        width: 100vw;
        bottom: -2px;
        left: -1px;
    }
    .process .process-step{flex-direction: row;text-align: left;}
    .process .process-step:before{height: 20px;width: 2px;top: 70px;left: 50px;}
    .process .process-step-content{padding-top: 0;margin-left: 10px}
    .process .process-step-circle{width: 70px;height: 70px;}
    .step_icon{width: 33px}
    .page_en_title{font-size: 6.5rem;}
    footer .main_menu li{display: none;}    
    #header .header-nav-main nav > ul li a.dropdown-toggle .fa-chevron-down{width: 100%;justify-content: flex-end;right: 17px;}
    #header .header-nav-main nav > ul li a.active,#header .header-nav-main nav > ul li a:active{background-color: #d1b566;}
    .sticky-header-active .header-logo .logo a::before{top:60%;}
}


 /*iphone plus*/
@media (max-width: 430px) {
    .sticky-header-active .header-logo .logo a::before { top: 55%;} 
    .page-header.page-header-modern.page-header-background.page-header-background-md{padding: 70px}
    .header-logo .logo{height: 80px}
    .header-logo .logo a::after{    
        width: 100vw;
        left: -15px;
        transform: skewX(0deg);
    }
    .header-logo .logo a::before{width: 165px; transform: translate(-17%, -35%); }
    #header .header-btn-collapse-nav{background: #162954;color: #fff !important}
    #header.header-effect-shrink .header-container{min-height: 80px}
    .header-btn-collapse-nav i{font-size: 1.2rem}
    blockquote.slogon{padding: 2.5rem 1rem;}
    blockquote.slogon:before{left: 2%;top: 3px;}
    .card.flip-card{margin: 0 15px;}
    .nav li small{left: 18%;}
    footer .main_menu{display: none;}
    ul.service_tab:before{content:none}
    .tabs.tabs-simple .nav-tabs > li .nav-link, .tabs.tabs-simple .nav-tabs > li .nav-link:hover,
    .tabs.tabs-simple .nav-tabs > li .nav-link:focus{padding: 15px;}
    #header .header-nav-main:not(.header-nav-main-mobile-dark) nav > ul > li > a:hover,
    #header .header-nav-main:not(.header-nav-main-mobile-dark) nav > ul > li:hover > a,
    .nav li .active~small{color:#d3b666;color:var(--main);}
    .more_btn{margin-top: 20px}
    .index_about:before{opacity: .3; }
    .page_en_title{right: auto;left:-36px;font-size: 4.5rem;}
    .data-content{padding-left: 0px;}
    .sub_title{font-size: 1.4rem;padding-top: 6px;}
    .cate_title{margin-top: 0}

}


/*iphone: 7px*/
@media (max-width: 400px) {}



/*iphone 5*/
@media (max-width: 321px) {}


/*iPhone XR*/
@media only screen 
    and (device-width : 414px) 
    and (device-height : 896px) 
    and (-webkit-device-pixel-ratio : 2) { 



}

/*iPhone XS*/
@media only screen 
    and (device-width : 375px) 
    and (device-height : 812px) 
    and (-webkit-device-pixel-ratio : 3) { 

}

/*iPhone XS Max*/
@media only screen 
    and (device-width : 414px) 
    and (device-height : 896px) 
    and (-webkit-device-pixel-ratio : 3) { 


}
/*橫拿*/
@media screen and  (orientation:landscape) {}
/*縱拿*/
@media screen and (orientation:portrait) {}
/*設備寬高比*/
@media screen and (device-aspect-ratio: 16/9) {}

