body {
    background-color: #fff;/*背景底色*/
    font-family: 'Noto Sans TC', sans-serif;/*套用google font字型Noto Sans TC黑體*/
}
body[data-type="fullpage"]:not(#managehome) #wrap>*:not(:last-child) {
    margin-bottom: 0px;
}

body[data-type="fullpage"] #product-header.main {
      min-height: auto;/*產品-編輯框不設定高*/
}

/*LOGO語法*/
.topnavbar .container {
  text-align: justify;
  background-color: #fff;  
}

.topnavbar .container::after {
  display: inline-block;
  width: 100%;
}



/*banner*/
.swiper-container {
  height: auto !important; /* 將容器預設的高拿掉 */
}

.swiper-wrapper, .swiper-slide {
  height: 0 !important;
  padding-bottom: calc(750/ 1920 * 100%); /* 自定響應式圖片高度 */
}

.swiper-slide {
  width: 100% !important; /* 強制圖片寬度隨容器變更 */
}


/*按鈕背影*/
@media only screen and (min-width: 768px){
.topnavbar {
    background-color: #fff;/*頁籤底圖顏色;background-color: rgba(0,0,0,0);透明*/
    position: relative;/*頁籤&banner分開不重疊*/
    height: 130px;/*頁籤底圖高度*/
    padding: 10px 0 ;/*頁籤間距*/
}}

body[data-type="fullpage"] #nav {
    font-size: 14px;/*頁籤文字大小*/
}

#nav ul li a {
    white-space: nowrap;
    overflow: hidden;
    -ms-text-overflow: ellipsis;
    text-overflow: ellipsis;
    display: block;
    color: #000000;/*頁籤文字顏色*/
    padding: 5px 13px 5px 13px;/*頁籤文字間隔;padding:2px 16px 2px 16px;*/
    line-height: 1.3;
    transition: .3s;
    border-left: #cccccc 1px solid;/*頁籤文字間隔虛線*/
}

#nav ul li a:hover  {
    color: #f08300;/*頁籤滑過文字顏色*/
    border-bottom-width: 1px;/*下邊框*/
    border-bottom-style: solid;/*下邊框樣式(solid實線;dashed虛線;double雙線)*/
    border-bottom-color: #f08300;/*下邊框顏色*/
}
#nav ul li.current a {
    color: #f08300;/*頁籤按下後文字顏色*/
    border-bottom-width: 1px;/*下邊框*/
    border-bottom-style: solid;/*下邊框樣式(solid實線;dashed虛線;double雙線)*/
    border-bottom-color: #f08300;/*下邊框顏色*/  
}

#nav .subnav {
    background-color: #fff;/*次頁籤底色*/
}

ul.product-list li a {
    color: #2276d2;/*產品格文字顏色*/
    background-color: #ddd;/*產品格底色*/
}
ul.product-list li a:hover {
    color: #2276d2;/*產品格滑過文字顏色*/
}

/*各層編輯欄*/

#bodyinhome .fcol.fcol-2 { 
  width: 100%; 
  background: linear-gradient(to right,
    #fff 0%, 
    #fff 25%, 
    transparent 25%, 
    transparent 100%, 
    #fff 100%, 
    #fff 100%), 
    
    linear-gradient(to bottom,
    #fff 0%, 
      #fff 15%, 
      #eaf4fb 15%, 
      #eaf4fb 85%, 
      #fff 85%, 
      #fff 100%);
} 

#bodyinhome .fcol.fcol-2 .container{ 
  width: 100%; 
  padding:0px; 
}

#bodyinhome .fcol.fcol-4 {
   width: 100%;
     background-repeat: no-repeat;
   background-position: 50% 10%;
   background-size: cover;/*cover圖片剪裁不拉伸壓縮 ; contain不拉伸壓縮.等比縮放)*/
   background-image: -webkit-linear-gradient(top, rgba(255,255,255,0.4) 0% ,rgba(255,255,255,0.4) 100%) , url(https://static.iyp.tw/409946/files/0076e0f4-6519-4853-9af0-85722403b65d.png);
   padding: 2rem 0;
} 
#bodyinhome .fcol.fcol-4 .container{
    width: 100%;
    padding:0px;
}

#bodyinhome .fcol.fcol-5 {
   background-image: -webkit-linear-gradient(90deg,#cad3de 70% ,#f5e84d  30.1%);/*頁籤底色漸層*/

  }



#bodyinhome .fcol.fcol-6 {
  background-image: -webkit-linear-gradient(90deg,#cad3de );/*頁籤底色漸層*/
  }



body.about-us .fcol.fcol-1 {
      width: 100%;
background: linear-gradient(to right,
    #fff 0%, 
    #fff 25%, 
    transparent 25%, 
    transparent 100%, 
    #fff 100%, 
    #fff 100%), 
    
    linear-gradient(to bottom,
    #fff 0%, 
      #fff 15%, 
      #eaf4fb 15%, 
      #eaf4fb 85%, 
      #fff 85%, 
      #fff 100%);
   
}

body.about-us .fcol.fcol-1 .container{
    width: 100%;
    padding:0px;
}

body.about-us .fcol.fcol-2 {
    background-repeat: no-repeat;
   background-position: 50% 10%;
   background-size: cover;/*cover圖片剪裁不拉伸壓縮 ; contain不拉伸壓縮.等比縮放)*/
   background-image: -webkit-linear-gradient(left, rgba(34,71,99,0.5) 50% ,rgba(34,71,99,0.5) 100%) , url(https://static.iyp.tw/409946/files/e98b3c8a-33d3-4020-a327-21b5f6ca389a.jpg);
  display: flex; 
  align-items: center;
  padding: 3em 0;
}




/*了解更多*/
.bg-icon1  {
   margin-left: auto;
  margin-right: auto;
  transition:.3s all ease;
  padding: 15px 5px;
  color: #fff;
  font-size: 18px;
   background-color: #064392;
  border-radius: 5px;
  text-align: center;
}

.bg-icon1:hover  {
  background-color: #1861bd;
  color: #fff;
}

.bg-icon1 a { color:#fff;}


/*title文字顏色*/
.h1title {
    text-align: center;
    color: #000;
    border-bottom: 0px solid #e5989a;
    
}
/* 3大優勢 */
.advantage-section {
  max-width: 1200px;
  margin: 60px auto;
  padding: 0 20px;
  font-family: "Microsoft JhengHei", sans-serif;
}

.header {
  text-align: center;
  margin-bottom: 50px;
}

.header h3 {
  font-size: 1.1rem;
  color: #777;
  letter-spacing: 5px;
  margin-bottom: 10px;
}

.header .subtitle {
  font-size: 2.2rem;
  color: #8ec5d1;
  font-weight: 800;
  margin: 0;
}

.advantage-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
}

/* 卡片設計 */
.card {
  flex: 1;
  min-width: 280px;
  max-width: 350px; /* 限制最大寬度避免過扁 */
  border: 2px solid #eef7f9; /* 預設淡色邊框 */
  border-radius: 25px;
  padding: 40px 30px;
  background-color: #fff;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.card:hover {
  transform: translateY(-10px);
  border-color: #8ec5d1;
  box-shadow: 0 15px 30px rgba(142, 197, 209, 0.3);
}

/* 圖示區塊 */
.icon-box {
  width: 85px;
  height: 85px;
  margin-bottom: 25px;
  background-color: #f0f9fb;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 40px; /* 控制 FontAwesome 或 Emoji 大小 */
  color: #095fb5;
}

/* 內容文字 */
.content h4 {
  font-size: 1.4rem;
  color: #2c3e50;
  margin: 0 0 15px 0;
  font-weight: 700;
}

.content p {
  font-size: 1rem;
  color: #666;
  line-height: 1.7;
  margin: 0;
}

/* 響應式調整 */
@media (max-width: 992px) {
  .card {
    flex: 0 0 calc(45%); /* 平板一排兩個 */
  }
}

@media (max-width: 650px) {
  .card {
    flex: 0 0 100%; /* 手機一排一個 */
    max-width: 100%;
  }
  .header .subtitle {
    font-size: 1.8rem;
  }
}





/*服務項目*/

.service-section {
  max-width: 1200px;
  margin: 20px auto;
  padding: 0 20px;
  text-align: center;
  font-family: "Microsoft JhengHei", sans-serif;
}

.service-header-wrapper {
  margin-bottom: 60px;
  display: flex;
  justify-content: center;
}

.service-main-title {
  background-color: #095fb5; /* 芥末色底色 */
  padding: 15px 80px;
  border-radius: 50px; /* 膠囊狀 */
  box-shadow: 0 8px 20px rgba(142, 197, 209, 0.3);
  display: inline-block;
  color: #fff;
}

.service-main-title h3 {
  font-size: 0.9rem;
  letter-spacing: 4px;
  margin: 0;
  opacity: 0.8; /* 讓英文標題淡一點更有質感 */
}

.service-main-title h2 {
  font-size: 2rem;
  margin: 5px 0 0 0;
  font-weight: bold;
  letter-spacing: 2px;
}

@import url(https://fonts.googleapis.com/css?family=Raleway:400,600);
figure.snip1478 {
  font-family: 'Raleway', Arial, sans-serif;
  position: relative;
  overflow: hidden;
  margin: 0;
  min-width: 350px;
  max-width: 300px;
  width: 100%;
  color: #000000;
  text-align: center;
  -webkit-perspective: 50em;
  perspective: 50em;
}
figure.snip1478 * {
  -webkit-box-sizing: padding-box;
  box-sizing: padding-box;
  -webkit-transition: all 0.2s ease-out;
  transition: all 0.2s ease-out;
}
figure.snip1478 img {
  max-width: 100%;
  vertical-align: top;
}
figure.snip1478 figcaption {
  top: 50%;
  left: 20px;
  right: 20px;
  position: absolute;
  opacity: 0;
  z-index: 1;
  -webkit-transform: translate(-10%, -30%);
  transform: translate(-10%, -30%);
}
figure.snip1478 h2,
figure.snip1478 h4 {
  margin: 0;
}
figure.snip1478 h2 {
  font-weight: 600;
}
figure.snip1478 h4 {
  font-weight: 400;
  text-transform: uppercase;
}
figure.snip1478 i {
  font-size: 32px;
}
figure.snip1478:after {
  background-color: #ece052;
  position: absolute;
  content: "";
  display: block;
  top: 20px;
  left: 20px;
  right: 20px;
  bottom: 20px;
  -webkit-transition: all 0.4s ease-in-out;
  transition: all 0.4s ease-in-out;
  -webkit-transform: rotate3d(-1, -1, 0, 100deg);
  transform: rotate3d(-1, -1, 0, 100deg);
  opacity: 0;
}
figure.snip1478 a {
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  position: absolute;
  z-index: 1;
}
figure.snip1478:hover figcaption,
figure.snip1478.hover figcaption {
  -webkit-transform: translate(0%, -50%);
  transform: translate(0%, -50%);
  opacity: 1;
  -webkit-transition-delay: 0.2s;
  transition-delay: 0.2s;
}
figure.snip1478:hover:after,
figure.snip1478.hover:after {
  -webkit-transform: rotate3d(0, 0, 0, 0deg);
  transform: rotate3d(0, 0, 0, 0deg);
  opacity: 0.9;
}









/* 客戶案例影片區塊 */
.video-section{
    width: 100%;
    padding: 60px 20px;
    font-family: "Microsoft JhengHei", sans-serif;
}

.video-title{
    text-align: center;
    font-size: 34px;
    font-weight: bold;
    color: #222;
    margin-bottom: 15px;
}

.video-subtitle{
    text-align: center;
    font-size: 16px;
    color: #666;
    margin-bottom: 45px;
}

.video-grid{
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    max-width: 2000px;
    margin: auto;
}
.video-box{
   margin:12px;
}

.video-box{
    background: #fff;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 12px 30px rgba(0,0,0,0.08);
    transition: all 0.35s ease;
}

.video-box:hover{
    transform: translateY(-8px);
    box-shadow: 0 18px 35px rgba(0,0,0,0.15);
}

.video-frame{
    position: relative;
    width: 100%;
    padding-bottom: 56.25%;
}

.video-frame iframe{
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    border: 0;
}

.video-content{
    padding: 22px;
}

.video-content h3{
    font-size: 22px;
    color: #111;
    margin-bottom: 10px;
}

.video-content p{
    font-size: 15px;
    color: #666;
    line-height: 1.8;
}

/* 平板 */
@media(max-width: 991px){
    .video-grid{
        grid-template-columns: repeat(2, 1fr);
    }
}

/* 手機 */
@media(max-width: 767px){
    .video-grid{
        grid-template-columns: 1fr;
    }

    .video-title{
        font-size: 28px;
    }
}


/*關於我們-主要服務項目*/
.decorate-line {
    width: 30%;
    height: 1px;
    margin: -350px 0 10px 10px;
    background-color: #fff;
    transform: rotate(-45deg);
}

.subtitle {
color: #7f8c8d;
font-size: 1.2rem;
max-width: 600px;
margin: 0 auto;
}
        
           .product-list {
            list-style: none;
            counter-reset: product-counter;
        }
        
        .product-item {
            padding: 25px;
            margin-bottom: 25px;
            background: #f8f9fa;
            border-radius: 10px;
            border-left: 6px solid #1c3381;
            transition: all 0.3s ease;
            position: relative;
            counter-increment: product-counter;
   
        }
     
        .product-item:hover {
            transform: translateY(-5px);
            box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
            background: #fff;
        }      
        .product-item::before {
            content: counter(product-counter);
            position: absolute;
            left: -20px;
            top: -15px;
            background: #1c3381;
            color: white;
            width: 50px;
            height: 50px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-weight: bold;
            font-size: 1.5rem;
            box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
            z-index: 1;
        }

        .product-content {
            color: #444;
            padding-left: 15px;
            font-size: 1.1rem;
            line-height: 1.7;
        }



/* 頁腳 */
#foot-nav ul li a {display:none;}
#foot-nav { border-bottom: 0px solid #444;display: flex; justify-content: center; }
#footer {
    color: #555;
    background-color: #cad3de
}
.footer-menu {
	position: relative;
	display: flex;
	flex-wrap: wrap;
	width: 100%;
	margin: auto;
	margin-top: 20px;
	border-left: 4px solid #f5e84d;
  align-items: stretch; /* 讓同排的按鈕高度一致 */
}
.footer-menu li {
	position: relative;
	width: 50%;
	text-align: center;
}
.footer-menu li a {
	position: relative;
	display: block;
	padding: 5px 20px;
}




@media(max-width:768px){

.footer-menu li{
    width:20%;
}

.footer-logo-pic .call-btn{
    font-size:20px;
    padding:16px 15px 16px 55px;
}

}

@media(max-width:559px){

#footer{
    padding:30px 12px 20px;
}

.footer-menu{
    border-left:none;
    padding-left:0;
    margin-top:20px;
}

.footer-menu li{
    width:50%;
    margin-bottom:6px;
  box-sizing: border-box;
}

.footer-menu li a{
    font-size:14px;
    padding:8px 5px;
}

.footer-logo-pic .call-btn{
    max-width:100%;
    font-size:18px;
    padding:15px 10px 15px 48px;
    border-radius:50px;
    background-size:24px;
    background-position:15px center;
}

}

/* 頁腳按鈕 */
.bg-icon2 {
    display: block;        /* 關鍵：確保寬度屬性生效 */
    margin-left: auto;
    margin-right: auto;
    width: 90%;            /* 寬度彈性化 */
    max-width: 500px;      /* 限制最大寬度 */
    box-sizing: border-box; /* 確保 padding 不會撐破容器 */
    transition: .3s all ease;
    padding: 15px 25px;
    color: #f5e84d;
    font-size: 18px;
    background-color: #095fb5;
    border-radius: 50px;
    text-align: center;
    word-wrap: break-word; /* 避免長英文單字撐爆 */
    white-space: normal;   /* 允許文字換行，防止撐開膠囊 */
}

.bg-icon2:hover  {
  background-color: #f5e84d;
  color: #fff;
}

.bg-icon2 a { color:#f5e84d;}



.bg-icon3 {
    display: block;        /* 關鍵：確保寬度屬性生效 */
    margin-left: auto;
    margin-right: auto;
    width: 90%;            /* 寬度彈性化 */
    max-width: 500px;      /* 限制最大寬度 */
    box-sizing: border-box; /* 確保 padding 不會撐破容器 */
    transition: .3s all ease;
    padding: 15px 25px;
    color: #095fb5;
    font-size: 18px;
    background-color: #f5e84d;
    border-radius: 50px;
    text-align: center;
    word-wrap: break-word; /* 避免長英文單字撐爆 */
    white-space: normal;   /* 允許文字換行，防止撐開膠囊 */
}




.bg-icon3:hover  {
  background-color: #095fb5;
  color: #fff;
}

.bg-icon3 a { color:#095fb5;}

@media (max-width: 768px) {
    .bg-icon2 {
        font-size: 10px;   /* 稍微縮小字體 */
        padding: 12px 15px; /* 縮小內距 */
        width: 85%;        /* 手機上佔更滿一點，避免擠壓 */
    }
}

.bg-icon3 {
        font-size: 13px;   /* 稍微縮小字體 */
        padding: 12px 15px; /* 縮小內距 */
        width: 85%;        /* 手機上佔更滿一點，避免擠壓 */
    }
}


/* 下排浮動頁籤連結 */
#wrap-fmenu{
   max-width:1920px;
    width:100%;
    margin:0px auto;
    display:block;
}
.fMenu{
   background-color:#095fb5;
   display:block;
   position:fixed;
   width:100%;
   margin:0 auto;
   z-index:100;
   color:#f5e84d;
   left:0;
   bottom:0;
}
.fMenu ul li{
    letter-spacing:1.5px;
    float:left;
    width:50%;
    border-left:1px solid #fff;
    box-sizing:border-box;
    color:#FFF;
    min-height: 90px; /*最小高度*/
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.fMenu ul li:first-child{
	border:none;
}
.fMenu ul li a{
    display:block;
    padding: 10px 10px 0 10px;
    font-size: clamp(12px, 2vw, 16px);
    text-align:center;
    box-sizing:border-box;
    letter-spacing:0px;
    line-height: 1.2;
}
.fMenu ul li a i{
    display:block;
    font-size: clamp(20px, 3vw, 24px);
}
/*避免遮到footer版權服務文字*/
body[data-type="fullpage"] .container #footer-service { padding: 15px 15px 100px 15px; }