@font-face {
     font-family: flo;
     src: url('/includes/fonts/FLORSN18.TTF');
}

 @font-face {
     font-family: noto;
     src: url('/includes/fonts/NotoSansTC-Medium.otf');
}

 @font-face {
     font-family: noto-r;
     src: url('/includes/fonts/NotoSansTC-Regular.otf');
}

 @font-face {
     font-family: noto-t;
     src: url('/includes/fonts/NotoSansTC-Light.otf');
}


img{
    max-width: 100%;
    height: auto; 
}


img.w1{
    width: 100%;
    height: auto;
}

.w100{
width: 100%;
height: auto;
max-width: 100%;
}

.frcontent{
    font-family: noto-r;
    line-height: 30px;
}

.fsr{
    font-family: noto-r;
}

a{
    text-decoration: none;
}

body.en{
    position: relative;
    overflow-x: hidden;
    background-color:#E5E1DC;
    color: #3F2021;
}

body.zh{
    position: relative;
    font-family: noto;
    overflow-x: hidden;
    background-color:#E5E1DC;
    color: #3F2021;
}

header .logo_a img{
    max-width: 100%;
}

header .logo_a{
    height: fit-content;
    margin-left: 40px;
}

header .desktopmenu{
    display: flex;
    justify-content: space-between;
    align-items: center;
}

header nav.desktopnav {
    color: #fff;
    display: flex;
    align-items: center;
}

header nav.desktopnav a{
    margin-left: 40px;
    font-size: 17px;
    color: #fff!important;
}

header nav.desktopnav a:first-child{
    margin-left: 0;
}

header{
    z-index: 999;
    position: absolute;
    top: 0;
    width: 100%;
}

        .no-scroll {
            overflow: hidden;
            height: 100vh; /* 確保不會滾動 */
        }

.mobilenav{
    width: 75px;
    display: none;
    position: relative;
    height: 60px;
}

.mobilenav .checkbox {
  position: absolute;
  display: block;
  height: 32px;
  width: 32px;
  top: 20px;
  left: 20px;
  z-index: 5;
  opacity: 0;
  cursor: pointer;
}

.mobilenav .hamburger-lines {
  display: block;
  height: 26px;
  width: 32px;
  position: absolute;
  top: 17px;
  left: 20px;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
 
.mobilenav .hamburger-lines .line {
  display: block;
  height: 4px;
  width: 100%;
  border-radius: 10px;
  background: #3F2021;
}

.mobilenav .hamburger-lines .line1 {
  transform-origin: 0% 0%;
  transition: transform 0.4s ease-in-out;
}

.mobilenav .hamburger-lines .line2 {
  transition: transform 0.2s ease-in-out;
}

.mobilenav .hamburger-lines .line3 {
  transform-origin: 0% 100%;
  transition: transform 0.4s ease-in-out;
}

.mobilemenuitem{
    overflow-y: auto;
    display: none;
    opacity: 0;
    z-index: 999;
    width: 100%;
    height: calc(100vh - 60px);
    position: absolute;
    top: 60px;
    background-color: #E5E1DC;
    transform: translateX(-100%);
    transition: transform 0.3s ease, opacity 0.3s ease;
    padding: 2% 7%;
}

.mobilemenuitem.checked{
    opacity: 1;
    transform: translateX(0%);
}

.mobilemenuitem li{
    position: relative;
    display: block;
    width: 100%;
    border-bottom: 1px solid #3F2021;
}

.mobilemenuitem li a{
    text-align: left;
    color: #3F2021;
    display: flex;
    align-items: center;
    padding: 1.125rem 1rem;
}

.mobilemenuitem li a::before {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    left: auto;
    right: 0.7142857143rem;
    margin: auto;
    width: 0.5rem;
    height: 0.5rem;
    border-top: 1px solid #3F2021;
    border-right: 1px solid #3F2021;
    background-color: inherit;
    opacity: 1;
    transform: rotate(45deg);
}

.esg_cover2{
    display: none;
}

.mobilemenuitem ul{
    padding-left: 0rem;
}

.mobilemenuitem li a.quotabox::before{
    content: none;
}

.mobilemenuitem li a.quotabox{
justify-content: center;
color: #fff;
}

.mobilemenuitem li a.quotabox img{
    margin-right: 16px;
}


.esg_eventimgdiv{
    height: 250px;
    width: 100%;
    overflow: hidden;
}


.esg_eventimgdiv img{
    width: 100%;
    height: 250px;
        object-fit: cover;
}

.event_content{
    display: flex;
    margin: auto;
    line-height: 22px;
}

.mobilenav input[type="checkbox"]:checked ~ .menu-items {
  transform: translateX(0);
}

.mobilenav input[type="checkbox"]:checked ~ .hamburger-lines .line1 {
  transform: rotate(45deg);
}

.mobilenav input[type="checkbox"]:checked ~ .hamburger-lines .line2 {
  transform: scaleY(0);
}

.mobilenav input[type="checkbox"]:checked ~ .hamburger-lines .line3 {
  transform: rotate(-45deg);
}


.quotabox{
    background-color:#7E4900;
    color: #fff;
    text-align: center;
    padding: 20px;
}


.quotabox img{
    width: 42px;
    max-width: 100%;
    height: auto;
}

footer{
    background-color: #3F2021;
    color: #fff!important;
    font-family: noto-t;
}


.dbbg{
    background-color: #D7D2CB;
}

.footerlogo{
    max-width: 100%;
}

.left_footer_box{
    width: fit-content;
}

.right_footer_box{
    min-width: 768px;
    width: fit-content;
    justify-content: space-between;
    display: flex;
}

.home_section1{
    overflow: hidden;
    display: flex;
    justify-content: flex-end;
    position: relative;
}

.section1_text{
    z-index: 5;
    position: absolute;
    top: 50%; /* 垂直居中 */
    left: 15%; /* 水平居中 */
    transform: translate(-50%, -50%); /* 調整位置 */
    font-size: 60px;
    text-shadow: 0 0 1.25rem #fff;
}

:lang(en) .section1_text{
        font-family: flo;
    left: 15%;
        transform: translate(-20%, -50%);
}

.marimg{
        font-size: 100px;
    position: absolute;
    top: 80%;
    display: flex;
    white-space: nowrap;
    animation: slider 90s linear infinite;
   transform: translate(-50%, -50%); /* 調整位置 */
}

@keyframes slider {
    0% { transform: translateX(0); }
    100% { transform: translateX(-100%); }
}

.marimg p{
    padding-right: 16px;
    font-family: flo;
}

.mardiv1{
    z-index: -1;
    left: 0;
}

.mardiv2{
    left: calc(-100vw + 71vw);
    color: #fff;
}

.home_section1rdiv{
    overflow: hidden;
    position: relative;
}

.home_section1rdiv img{
    width: 70vw;
    max-width: 100%;
}

.container{
    max-width: 1600px;
}

.h1, .h2, .h3, .h4, .h5, .h6, h1, h2, h3, h4, h5, h6{
    margin-bottom: 0;
}

h2{
    font-size: 48px;
 }

.section2_text{
    padding-left: 5vw;
    max-width: 700px;

    line-height: 28px;
}

hr.line1{
    width: 100px;
    margin: 2em 0;
    opacity: 1;
    border-top:3px #3F2021 solid;
}

.professional_service hr{
    border-top: 3px solid #fff;
    opacity: 1;
}

.home_section2{
    z-index: 5;
    position: relative;
}

.home_section3{
    z-index: 3;
    background-color: #3F2021;
    color: #fff;
    margin-top: -36px;
}

.home_section3rimg{
    position: absolute;
    right: 0;
    top:-3vw;
    width: 35vw;
}

.sq01{
    text-align: center;
    border-bottom: 1px solid #6D4E50;
}

.sq_div{
    display: flex;
    column-gap: 80px;
    flex-wrap: wrap;
}

.sq01{
    width: 25%;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.sq01:before{
     font-family: flo;
    position: absolute;
    top: 50%; /* 垂直居中 */
    left: 50%; /* 水平居中 */
    transform: translate(-50%, -50%); /* 調整位置 */
    color: #6D4E50;
    content: var(--after-content, "01");
    font-size: var(--after-font-size, 20px);
}


.sq01 a{
    color: #fff!important;
        font-size: 20px;
    z-index: 2;
}

.home_section6{
    background-color: #D7D2CB;
}

.iosimg{
    max-height: 100px;
    width: auto;
}

.owl-theme .item img{
    width: 100%;
}

.owl-theme .item .item-4{
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* 兩列 */
    grid-template-rows: repeat(2, 1fr);
    gap: 10px;
}

.pagebanner{
    min-height: 470px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
}

.pagebanner h1{
    color: #fff;
    font-size: 48px;
    text-shadow: 0px 0px 10px #000;
}


.companysection02,.prosersection2{
    background-color: #D7D2CB;
    padding: 30px 0;
    display: flex;
    justify-content: center;
    font-size: 14px;

}

.companysection02 > div{
    width: 20%;
    text-align: center;
}

.prosersection2 > div{
    width: 15%;
    text-align: center;
}


.cptab{
    cursor: pointer;
}

.tabcontent{
    display:none;
}

.tabcontent .d-flex{
    align-items: center;
}

.tab1{
    display:block;
}

.proicon{
    width: 50px;
    height: auto;
    margin-right:16px;
    margin-left:8px;
}


h3{
    font-size:1.5rem;
}


.cps3_box{
    margin-left: 110px;
    max-width:640px;
}

.cps3_box img{
    width: 100%;
    max-width: 100%;
}

.cps4_box{
    background-color:#D7D2CB ;
    padding: 40px;
    height: 100%;
}

.cps4_box ul li{
    padding-bottom: 8px; 
}

.cps4_box ul li::marker {
  color: #7E4900;
}

.professional_service table{
    width: 100%;
    text-align: left;
}

.professional_service table thead{
    background-color: #3F2021;
    color: #fff;
}

.professional_service table thead th{
    font-weight: 400;
    padding:30px;
    font-size: 20px;
}

.professional_service table tbody tr{
    border-top: #D7D2CB 3px solid;
}


.professional_service table th:first-child{
    width:20%;
}

.professional_service table th:nth-child(2),.professional_service table th:nth-child(3){
    width:40%;
}

.professional_service table tbody tr:nth-child(odd){
    background-color: #fff;
}

.professional_service table tbody tr:nth-child(even){
    background-color: #EFEFEF;
}

.new_box{
    background-color: #D7D2CB;
    border-radius: 30px;
    display: flex;
    padding: 16px 50px;
    align-items: center;
}

.new_box img{
    width: 100%;
    height: auto;
}

.new_box a{
    width: 20%;
    margin-right: 30px;
}

.new_box .new_content{
    width: 70%;
}

.professional_service table td:first-child{
    width: 20%;
    padding: 8px 30px;
    vertical-align: top;
        font-family: noto-r;
}

.professional_service table td:nth-child(2){
    color: #197F00;
}

.professional_service table td:nth-child(3){
   font-family: noto-r;
}


.professional_service table td:nth-child(2),.professional_service table td:nth-child(3){
    width:40%;
    padding: 8px 30px;
    vertical-align: top;
}

.professional_service table a{
    color: #3F2021!important;
    overflow-wrap: anywhere;
}

.t2companysection02 .iconbox1{
    background-color: #3F2021;
    display: flex;
    height: 250px;
}

.t2companysection02 .iconbox1 img{
    margin: auto;
    max-width: 150px;
    height: auto;
}

.t2companysection02 .tab2content01{
    background-color: #fff;
    padding: 20px;
    padding-top: 40px;
    padding-bottom: 40px;
    height: 100%;
}


.t2companysection02 .tab2content01 h4{
    font-size: 18px;
    margin-bottom: 10px;
}

.company_info .tab2,.company_info .tab3{
    display: none;
}

.tab3 .t3content01{
    max-width: 750px;
    margin: auto;
    line-height: 36px;
}

.tab3imgbox img{
    background-color:#D7D2CB;
    padding: 20px;
    margin-bottom: 16px;
}


.tab3imgbox{
    margin-bottom: 16px;
    text-align: center;
}

.scopesection2 h2{
    margin-top: 24px;
    margin-bottom: 16px;
}


.client_cus{
    display: flex;
    flex-wrap: wrap;
    column-gap: 80px;
    row-gap: 50px;
    align-items: center;
}

.clientsection02 hr{
        border-top: 3px solid #fff;
    opacity: 1;
}

.client_cus .client_item{
    flex: 1 1 calc(20% - 80px);
    box-sizing: border-box;
    text-align: center;
} 

.client_item img{
    max-width: 100%;
    height: auto;
    max-height: 100px;
}

.esgsection02 .d-flex{
    align-items: center;
}

.esgsection02 .esgicon{
    width: 60px;
    height: auto;
    margin-right: 20px;
}

body.contact header nav.desktopnav a{
    color: #000!important;
}

body.contact header nav.desktopnav a.quotabox{
    color: #fff!important;
}

.esgcontent{
    max-width: 90%;
    line-height: 36px;
     font-family: noto-r;
}

.professional_service h3{
   font-size: 1.25rem;
}

.porcontent{
     font-family: noto-r;
     line-height: 30px;
 }

.contact iframe{
    margin-top: 106px;
    width: 100%;
    height: 470px;
}

.contact table td img{
    width: 20px;
    height: auto;
    margin-right: 10px;
}

.contact table tr td:first-child{
    vertical-align: text-top;
}

.contact table tr td{
    padding-bottom: 10px;
}

form input,
form textarea{
    padding: 16px;
    width: 100%;
    border: 1px solid #fff;
    background-color: #D7D2CB;
    color:#3F2021;
}

form input::placeholder,
form textarea::placeholder {
            color: #3F2021; /* 請替換為你想要的顏色 */
            opacity: 1; /* 確保顏色不透明 */
        }

.btn_submit{
    width: fit-content;
    padding: 10px 20px;
    background-color: #3F2021;
    color: #fff;
    border:1px solid #fff;
    margin-left: auto;
    cursor: pointer;
}



.fbdiv img{
    margin-top: 16px;
    width: 150px;
}

.fa-sort-down{
    margin-left: 30%;
    vertical-align: 0.125em;
}

body.en .fa-sort-down{
    margin-left: 15%;
}

.br15{
        border-radius: 15px;
}

.footer_img{
    height: 70px;
    width: auto;
}

.slider {
    position: relative;
    max-width: 600px;
    margin: auto;
    overflow: hidden;
    border-radius: 10px;
}

.slider  .slides {
    display: flex;
    transition: transform 0.5s ease;
}

.slider .slide {
    min-width: 100%;
    box-sizing: border-box;
}

.slider .slide img {
    border-radius: 15px;
    width: 100%;
    border-radius: 10px;
}


.slider .dots {
    text-align: center;
    position: absolute;
    bottom: 0;
    padding: 10px 0;
    right: 30px;
}

.slider .dot {
    display: inline-block;
    height: 10px;
    width: 10px;
    margin: 0 2px;
    background-color: #fff;
    border-radius: 50%;
    cursor: pointer;
}


.slider .dot.active {
    background-color: #717171;
}

.awards_div{
    background-color: #fff;
    border-radius: 30px;
    padding: 50px 100px;
}

.circle_div{
    background-color: #D7D2CB;
    border-radius: 30px;
    position: relative;
    padding: 50px;
    display: flex;
    justify-content: space-between;
}

.circle_div hr{
width: calc(100% - 100px);
    position: absolute;
    top: 42%;
    left: 50%; /* 向右移動 50% 的寬度 */
    transform: translate(-50%, -50%);

}

.minicircle{
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100px;
    height: 100px; 
    background-color: #fff;
    position: relative;
    border-radius: 50%;
    text-align: center;
}

.minicircle img{
    top: 95%; /* 向下移動 50% 的高度 */
    left: 50%; /* 向右移動 50% 的寬度 */
    transform: translate(-50%, -50%);
    position: absolute;
    width: 60px;
    height: auto;
}

.bgf_box{
    background-color: #fff;
    border-radius: 15px;
    padding: 10px;
}

.eventhide{
    display: none;
}

.esg_eventimgdiv .event_cover_img:hover{
    filter:brightness(0.7); ;
}

.eventshow_btn{
    background-color: #3F2021;
    cursor: pointer;
    padding: 15px 30px;
    width: fit-content;
    text-align: center;
    color: #fff;
    margin: auto;
    margin-top: 15px;
    border-radius: 10px;
}

.over-scroll{
    overflow: scroll;
}

@media screen and (max-width: 1440px){

    .marimg{
        top: 80%;
    }

header nav.desktopnav a {
    margin-left: 28px;
    font-size: 16px;
}

.quotabox{
    padding: 12px;
}

.quotabox img {
    width: 36px;
}

header .logo_a img{
    width: 300px;
}

}
 
@media screen and (max-width: 1320px){
    .sq_div{
        column-gap: 70px;
    }
    .esgcontent{
        max-width: 95%;
    }
    .home_section1rdiv img{
        width: 100%;
    }

    .section1_text{
        color: #fff;
    }

    .right_footer_box{
        justify-content: center;
        width: 100%;
        margin-top: 16px;
    }

    .left_footer_box{
        width: 100%;
        text-align: center;
        font-size: 14px;
    }

    .footer_img{
        height: 50px;
        margin-left: 16px;
        margin-right: 16px;
    }
}


@media screen and (max-width: 1200px){
    
    .awards_div{
        padding:20px 30px;
    }
    .contact iframe{
        margin-top: 16px;
    }
        .cps3_box{
            margin-left: 0px;
            max-width: inherit;
        }

    .fa-sort-down{
        margin-left: 16px;
    }
    .prosersection2 > div{
        width:19%;
    }
    .pagebanner h1{
        margin-left: 40px;
    }
    header{
        position: relative;
    }

.mobilemenuitem{
    display: block;
}

    header nav.desktopnav{
        display: none;
    }

.mobilenav{
    display: block;
}

    .mardiv1{
        display: none;
    }

    header .logo_a img{
        width: 250px;
    }

    header nav.desktopnav a {
        margin-left: 18px;
        font-size: 14px;
    }


.iosimg{
    max-height: 100px;
    width: auto;
    padding: 20px;
}
}

@media screen and (max-width: 992px){
        .esgcontent {
        max-width: 100%;
    }
        
    .awards_div{
        padding:20px 20px;
    }
    
    .iosimg{
        padding: 5px;
    }
    .client_cus .client_item{
        flex: 1 1 calc(20% - 20px);
    }
    .new_box img{
        margin: 0;
        margin-bottom: 10px;
        
    }
    .new_box{

    }
    
    .cps3_box{
        padding-top: 16px
    }

    .pagebanner{
        min-height:300px; 
    }
    
    h2{
        font-size: 32px;
    }
    .marimg{
    font-size: 60px;
    top:80%;
    }

    .section1_text{
        left: 25%;
    }

    .cps4_box{
        padding: 20px;
        padding-bottom: 0px;
    }

   .home_section3{
    margin-top: 0;
   }

   .home_section3rimg{
    position: inherit;
    width: 100%;
    padding: 0 15px;
   }
}

@media screen and (max-width: 767.9px){
    .main {
        overflow: hidden;
    }
    .professional_service table{
        width: 768px;
    }

    .circle_div{
        padding: 11%;
        display: block;
    }

    .circle_div hr{
        display: none;
    }

    .circle_div .minicircle:nth-child(odd){
        margin-left: auto;
    }

    .circle_div .minicircle:nth-child(n+3){
        margin-top: -20px;
    }

    .companysection02, .prosersection2{
            flex-wrap: wrap;
            padding:15px 0px;
    }
    
    section .cptab{
        width: 100%;
margin-top: 3px;
        margin-bottom: 3px;
    }
        .marimg {
        font-size: 40px;
        top: 80%;
    }
    
    header .logo_a{
        margin-left: 10px;
    }
    .home_section6 .d-flex{
        flex-wrap: wrap;
    }
    
    .iositem{
        width: 50%;
        text-align: center;
    }
    .iositem img{
        max-height: 62px;
    }
        .awards_div{
        padding:10px 10px;
    }
    
    .pagebanner{
        min-height: 200px;
    }
    
    .client_cus .client_item{
        flex: 1 1 100px;
    }
    
    .client_cus {
        column-gap: 50px;
        row-gap: 20px;
    }
    
    .pagebanner h1{
        font-size: 40px;
        margin-left: 20px;
    }
    .right_footer_box{
        text-align: center;
        min-width:100%;
        flex-wrap: wrap;
    }
    
    .right_footer_box img{
        height: 45px;
        margin-bottom: 16px;
    }
    
    .fa-sort-down{
        margin-left: 10px;
    }
.section1_text{
    font-size: 30px;
        left: 25%;
    transform: translate(-50%, -70%);
}

:lang(en) .section1_text{
    transform: translate(-16%, -65%);
}

.marimg{
    top: 75%;
}

.sq01{
    width: 45%;
}

.left_footer_box{
    text-align: left;
}

    .sq_div {
        column-gap: 0px;
        justify-content: space-between;
    }
}