@charset "utf-8";
/* CSS Document */

*{font-size:14px;font-family:"微軟正黑體",Microsoft JhengHei,Microsoft YaHei ,Century Gothic, Helvetica, Arial, Verdana, 新細明體; margin: 0px; padding: 0px;}
body{ background:#FFF;font-family:"微軟正黑體",Microsoft JhengHei,Microsoft YaHei ,Century Gothic, Helvetica, Arial, Verdana, 新細明體;}
.clear{ clear:both;}

.nevin_hidden, .hidden, .myhidden{ display:none;}

html {
    scroll-behavior: smooth;
}

article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section, main {	display: block;}
ol, ul {list-style: none;}
blockquote, q {quotes: none;}
blockquote:before, blockquote:after, q:before, q:after {content: '';content: none;}
table {border-collapse: collapse;border-spacing: 0;}

html, body {
    height: 100%;
}

.wsmenucontainer {
    min-height: 100%;
    position: relative;
}

/* main 撐高頁面 */
main {
    min-height: 100%;
    padding-bottom: 250px; /* footer 高度 */
    box-sizing: border-box;
}

/* footer 貼底 */
.footer {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 250px;
}




/* 取消所有表單與按鈕的 focus 外框 */
button:focus,
input:focus,
select:focus,
textarea:focus {
    outline: none;
    box-shadow: none;
}

 a,
 a:hover,
 a:focus {
    text-decoration: none;
}

/*toTop*/
.sicn{position:fixed;z-index:1300;bottom:70px;right:20px;}
.sicn ul li {background: #fff; width:40px; height: 40px; border-radius: 25px;
box-shadow: 2px 2px 4px rgba(0,0,0,.3);	-webkit-box-shadow: 2px 2px 4px rgba(0,0,0,.3);background-color: rgba(255,255,255,1); margin-bottom: 4px;}
.sicn ul li i{font-size:30px; padding-left: 5px; padding-top: 1px;-webkit-transition:0.5s all;	-moz-transition:0.5s all;-o-transition:0.5s all;-ms-transition:0.5s all;}
.sicn ul li.ffl i{ color:#06C052}
.sicn ul li.ffb i{ color:#3b5998}
.sicn ul li.fig i{ color:#D00067}
.sicn ul li.ffl:hover i{ color:#048A39}
.sicn ul li.ffb:hover i{ color:#5476BC}
.sicn ul li.fig:hover i{ color:#FF0D86}


.neffect1{-webkit-transition:0.5s all;	-moz-transition:0.5s all;-o-transition:0.5s all;-ms-transition:0.5s all;}

.mbimgbox{border:solid 1px #f2f2f2;}




/* =========================================
   Scroll To Top 基本樣式
   ========================================= */
.scrollToTop{
    color:#999;
    background-color:rgba(255,255,255,.95);
    border:#666 solid 4px;
    border-radius:40px;
    font-weight:bold;
    text-decoration:none;

    position:fixed;
    right:20px;
    bottom:40px;

    width:40px;
    height:40px;
    line-height:30px;
    text-align:center;

    z-index:1300; /* 必須高於 WebSlide Menu */

    box-shadow:2px 2px 4px rgba(0,0,0,.5);

    display:none;              /* ⭐ 改用 display */
    -webkit-tap-highlight-color: rgba(0,0,0,0);
    touch-action: manipulation;
}

/* Hover 效果 */
.scrollToTop:hover{
    background:#1991EB;
    color:#FFF;
    border:#0059B2 solid 4px;
    text-decoration:none;
}

/* 顯示狀態 */
.scrollToTop.show{
    opacity:1;
    visibility:visible;
}

/* =========================================
   ScrollToTop 停用狀態（Menu 開啟時）
   ========================================= */
.scrollToTop.disabled {
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
}

/* =========================================
   WebSlide Menu 開啟時，強制隱藏 scrollToTop（鎖死 .show 也沒用）
   ========================================= */
body.wsactive .scrollToTop{
    display:none !important;
}

/* =========================================
   手機版強制顯示修正
   解決 html overflow:hidden 導致 fixed 消失
   ========================================= */

html { overflow: hidden; }
body { overflow-y: auto; }
{
    pointer-events: auto !important;
    z-index: 99999 !important;
}
@media (max-width: 1099px){
    html { overflow: hidden; }
    body { overflow-y: auto; }
    {
        pointer-events: auto !important;
        z-index: 99999 !important;
    }
}
}




.container-xxl, .container-xxl-n, .container{width:100%; padding: 25px 15px; margin: 20px auto;}
.footer .container{width:100%; padding: 0px 15px; margin: 20px auto;}

@media (min-width:576px) {
  .container-xxl {
    max-width: 540px
  }
}
@media (min-width:768px) {
  .container-xxl {
    max-width: 720px
  }
}
@media (min-width:992px) {
  .container-xxl {
    max-width: 960px
  }
}
@media (min-width:1200px) {
  .container-xxl {
    max-width: 1140px
  }
}
@media (min-width: 1400px) {
  .container-xxl, .container-xxl-n {
    max-width: 1320px;
  }
}

.footer{background:#F8F8F8; border-top:solid 1px #EEEFEE; padding: 8px 0px;}

.foot-logo{float:left; width:240px; height:auto;padding: 10px;}
.foot-logo img{width:100%; height:auto;}

.fmenubox{float: left;}
.fmenu{ float: left; margin-left: 30px; margin-top: 20px;}
.fmenu ul{ list-style-type:none; padding: 0px; margin: 0px;}
.fmenu ul li{ display:block; padding:2px 0px 3px 0px;}
.fmenu ul li a { color:#333; font-size:14px; font-weight: bold; transition:0.5s all;-webkit-transition:0.5s all;-moz-transition:0.5s all;-o-transition:0.5s all;-ms-transition:0.5s all;}
.fmenu ul li a:hover{text-decoration: none; color:#005C97;}

.ficn{ float: left; margin-left: 30px;}
.ficn ul{ list-style-type:none; padding: 0px; margin: 0px;}
.ficn ul li{ display:inline-block; padding:10px 5px;}
.ficn ul li a i{ color:#333; font-size:30px;transition:0.5s all;-webkit-transition:0.5s all;-moz-transition:0.5s all;-o-transition:0.5s all;-ms-transition:0.5s all;}
.ficn ul li.ffl:hover i{ color:#06C052}
.ficn ul li.ffb:hover i{ color:#3b5998}
.ficn ul li.fig:hover i{ color:#D00067}


.fcompbox{float:left;}
.fcomp{ float: left; margin-left: 50px; margin-top: 10px; width:300px;}
.fcomp ul{ list-style-type:none; padding: 0px; margin: 0px;}
.fcomp ul li{ display:block; padding:1px;}
.fcomp ul li.nh1{font-weight: bold; font-size:18px;}
.foot-info{float:right;text-align: right; color:#333;}
.copyright{font-size:13px; color:#333; font-weight: 600; text-align: right; margin-top: 10px;}
.copyright span{font-size:12px; color:#999; font-weight: normal}

@media (max-width:992px) {
    main {
        padding-bottom: 320px;
      }
      .footer {
        height: 320px;
      }
    .fcomp{ margin-left: 40px;}
    .copyright{text-align: center;}
}
@media (max-width:768px) {
    main {
        padding-bottom: 460px;
      }
      .footer {
        height: 460px;
      }
    .foot-logo{float: none;display:block; margin: 0px auto;}
    .fmenubox{float:none; display: block; margin: 0px auto;}
    .fmenu{display:none;}
    .ficn{ float: none; margin-left: 0px; text-align: center;}
    .fcompbox{float: none;display: block; text-align: center;margin: 0px auto;width:220px;}
    .fcomp{ float: none; margin-left: 0px; margin-top: 10px auto 0px auto; width:220px;}
}


.dh1{font-size:24px; color:#1991EB; font-weight: 800; padding-bottom: 20px;}
.dh2{font-size:20px; color:#333; font-weight: 600; padding-bottom: 20px;}


/*d hot news*/
.d_hot_title{ background: url(../images/d_hot_line.png) center left repeat-x; text-align:center; margin:30px 0px 0px 0px;}
.d_hot_title{ background: url(../images/d_hot_line.png) center left repeat-x; text-align:center; margin:20px 0px 0px 0px;}
.d_hot_title .dntitle{ display:inline-block; padding:10px 30px 10px 30px; background:#FFF; position:relative;}
.d_hot_title .dntitle .dh1{ color:#333; font-size:30px; font-weight:500; padding-bottom:10px;}
.d_hot_title .dntitle .dh2{ color:#1778C8; font-size:24px; font-weight:600;}




@media only screen and (max-width: 1099px) {

  /* 平時不要鎖 html，讓 parallax / scroll 正常 */
  html {
    overflow-y: auto;
    height: auto;
  }

  /* 只有 menu 開啟時才鎖 */
  body.wsactive,
  body.wsactive html {
    overflow: hidden;
    height: 100%;
  }
  
  
}


/* =========================================
   Hero Parallax 區塊
   ========================================= */
.hero-parallax{
    position: relative;
    min-height: 50vh;          /* 桌機高度 */
    overflow: hidden;
}
.hero-cont{color: #fff; padding: 80px 3%;  position:relative; font-size:50px !important;}


/* 疊在 parallax 上的區塊 */
.mycont{
    position: relative;
    z-index: 100;

    transform: translateY(-80px); /* ★ 視覺上移 */
    margin-top: 0;                /* ★ 不再硬拉 */

    background: #fff;
    border-top-left-radius: 80px;

    padding-top: 80px;
    padding-bottom: 0px;

    /*overflow: hidden;*/
    transition: border-radius .1s linear;
}



.heroH2{margin-top:0;font-weight:bold; font-size:50px;transition:0.5s all;-webkit-transition:0.5s all;-moz-transition:0.5s all;-o-transition:0.5s all;-ms-transition:0.5s all;}

/* 手機高度稍微降低，避免太佔版 */
@media (max-width: 1099px){
    .hero-parallax{
        min-height: 40vh;
    }
    .hero-cont{padding: 30px 3%;}
    .mycont{
        padding-top: 40px;
        padding-bottom: 0px;
        border-top-left-radius: 40px;
        transition: border-radius .4s ease;
      }
}
@media (max-width: 768px){
    .hero-cont{padding: 36px 3%;}
    .heroH2{font-size:30px;}
}

/* ===== Hero 外層 ===== */
.hero-wrap{
    position: relative;
    min-height: 50vh;
    overflow: hidden;
}

/* ===== Parallax 區 ===== */
.parallax-grid{
    position: relative;
    min-height: 50vh;
    overflow: hidden;
}

.parallax-grid .bgimg{
    background: url(images/bg1.jpg) center/cover no-repeat;
    width: 101%;
    height: 140%;
}

.parallax-grid .semi-black-overlay{
    position:absolute;
    inset:0;
    background:rgba(0,0,0,0.35);
    z-index:8;
}

/* ===== Grid 遮罩（關鍵） ===== */
.grid-mask{
    position:absolute;
    inset:0;
    z-index:50;
    pointer-events:none;
}

.grid{
    width:100%;
    height:100%;
    display:grid;
    grid-template-columns: repeat(20, 1fr); /* ★ 小格子 */
    grid-template-rows: repeat(12, 1fr);
}

/* 每一格 */
.grid span{
    display:block;
    width:100%;
    height:100%;
    background:#111;            /* ★ 一開始全黑 */
    border:solid 1px rgba(0,0,0,1);
    border-left:none; border-bottom: none;
    opacity:1;
    transform: scale(1);
    transition:
        opacity .45s ease,
        transform .45s ease;
}


@media (max-width: 1099px) {
  
  .hero-wrap{
    min-height: 40vh;
    }

    .parallax-grid{
        min-height: 40vh;
    }

}


.myContWBox{
    width:84px;
    color:#FFF;
    
    position: absolute;
    z-index: 50;
    right:0px;
    top:-82px;
}

.myContWBox svg{
    width:100%;
    height:auto;
}

@media (max-width:1099px){
    .myContWBox{
        width:44px;
        top:-42px;
    }
}


/*product content box*/
.layout-box{}

.area-a{
  width: 300px;
  flex-shrink: 0;
  padding: 0px 40px 10px 0px;
}
.area-a h1{font-size:20px; font-weight: 600;}
.area-b h1{font-size:22px; font-weight: 600; line-height: 27px;}

.area-b{padding: 0px;}
.bcontent{font-size:15px; margin-top: 26px;}
.pdlist{margin-top: 26px;}

@media (max-width: 991.98px){
  .area-a{
    display: none;
  }

  .layout-box{
    display: block; /* 可選 */
  }
}


/*Pdlist*/
/* ===== 產品列表（Mobile） ===== */
.pd-item{
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  padding: 16px;
  background: #f6f6f6;
  margin-bottom: 20px;
}

.pd-img{
  width: 96px;
  height: 96px;
  color: #fff;
  font-size: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #eee;              /* loading 時底色 */
  overflow: hidden;
  flex-shrink: 0;
}
.pd-img img{
  width: 100%;
  height: 100%;
  object-fit: cover;             /* ★ 重點 */
  display: block;
}

.pd-right{
  flex: 1;
  display: flex;
  flex-direction: column;
}

/* 文字區 */
.pd-info{}
.pd-info > * + *{
  margin-top: 4px; /* 自然行距 */
}


.pd-code{
  font-size: 16px;
  font-weight: bold;
  color: #333;
  margin-bottom: 6px;
}

.pd-title{
  font-size: 20px;
  font-weight: 600;
  line-height: 24px;
  margin: 0 0 6px;
}

.pd-desc{
  font-size: 14px;
  color: #555;
  margin: 0;
}

/* 手機：按鈕在內容下方、同一列 */
.pd-action{
  margin-top: 10px;          /* ⭐ 永遠在 title / desc 下方 */
  display: flex;
  gap: 10px;
  justify-content: flex-start;
}

.btn-quote,
.btn-detail{
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 13px;
  text-decoration: none;
  white-space: nowrap;
  min-width:120px;
  text-align: center;
}

.btn-quote{
  border: 1px solid #4A96A9;
  color: #4A96A9;
}

.btn-detail{
  background: #4A96A9;
  color: #fff;
}

/* ===== 桌機版 ===== */
@media (min-width: 768px){

  .pd-item{
    padding: 15px 20px;
    gap: 30px;
    flex-wrap: nowrap;
    align-items: center;
  }
  
  .pd-item.ptop{
    padding: 10px 10px;
  }
  
  .pd-img{
    width: 140px;
    height: 140px;
  }

.pd-right{
    flex-direction: row;
    align-items: center;
    width: 100%;
  }
.pd-info{
    flex: 1;
  }

  .pd-title{
    font-size: 22px;
    line-height: 28px;
  }

  .pd-desc{
    font-size: 15px;
  }


.ptop .pd-img{
    width: 80px;
    height: 80px;
  }

  /* 桌機：按鈕變成右側直向 */
  .pd-action{
    flex-direction: column;
    justify-content: center;
    gap: 12px;
    width: auto;
    margin-left: auto;
    margin-top: 0;
  }

  .btn-quote,
  .btn-detail{
    padding: 8px 20px;
    font-size: 14px;
    text-align: center;
  }
}

@media (hover: hover) and (pointer: fine){

  .pd-item{
    transition: box-shadow .25s ease, transform .25s ease;
  }

  .pd-item:hover{
    box-shadow: 0 2px 6px rgba(0,0,0,.3);
    transform: translateY(-2px);
  }
}

@media (hover: hover) and (pointer: fine){

  .btn-quote,
  .btn-detail{
    transition: background-color .2s ease, color .2s ease, border-color .2s ease;
  }

  .btn-quote:hover,
  .btn-quote:focus-visible{
    background: #4A96A9;
    color: #fff;
  }

  .btn-detail:hover,
  .btn-detail:focus-visible{
    background: #356D7B;
    color:#fff;
  }
}

@media (hover: hover) and (pointer: fine){
  .pd-title{
    transition: color .2s ease;
  }

  .pd-item:hover .pd-title{
    color: #000;
  }
}



.ctitle{ border-bottom:#D3D3D3 dotted 1px; padding-bottom:15px;}
.ctitle h2{font-size:24px; font-weight:600; padding-bottom:20px; margin:0; color:#000;}
.ctitle .ndate{ font-size:13px; color:#9797A6; display: inline-block; padding-left: 5px;}
.ctitle .button{ font-size:14px;}
.ctitle .button .btn, .backbtn{
	height: 40px;
	overflow: hidden;
	margin: 0px 0 0 0px;
	padding: 0 20px;
	outline: none;
	border: 0;
	text-decoration: none;
	color: #fff;
	cursor: pointer;
	background:#4A96A9;
	border-radius:40px;
	line-height:20px;transition:0.5s all;	-webkit-transition:0.5s all;-moz-transition:0.5s all;-o-transition:0.5s all;-ms-transition:0.5s all;
}
.ctitle .button .btn:hover, .backbtn:hover{background:#356D7B;}


.nshare{position:absolute; right:0px; bottom: -5px;}

.mh1{font-size:24px; font-weight: 600; display:inline-block; padding-right: 20px;}
.mh2{font-size:20px; font-weight: 600; display:inline-block;}

/*product Detail box*/
.pdlayout-box{display: flex;}

.pdarea-a{
  width: 400px;
  flex-shrink: 0;
  padding: 0px 40px 10px 0px;
}
.pdarea-a img{width:100%; height: auto;}
.pdarea-a h1{font-size:20px; font-weight: 600;}

.pdarea-b h1{font-size:24px; font-weight: 600; line-height: 27px; margin-bottom: 30px;}
.pdarea-b{flex: 1 1 auto;
    min-width: 0;
    padding: 0;}
.pdarea-b .pdcont{font-size: 16px;}
.pddetailTitle{padding: 0px 15px;box-shadow:2px 2px 6px 2px rgba(0,0,0,0.1); margin: 30px 0px;}
.pddetailTitle .h1{ margin: 0px auto; max-width: 1320px; }
.pddetailTitle .h1 span{display:inline-block; padding: 15px 25px;font-size:20px; font-weight:bold; margin: 0px 5px;color:#4A96A9; border-bottom: #4A96A9 solid 4px;}

@media (max-width: 991.98px){
  .pdarea-a, .pdarea-b{
    display: block; width:100%;
  }
  .pdarea-a{padding: 0px 0px 10px 0px;}
  .pdarea-b h1{margin: 15px 0px; }

  .pdlayout-box{
    display: block; /* 可選 */
  }
}

/*pddownload*/
.pddownload{}
.pddownload ul{ list-style-type: none;margin: 0px; padding: 0px;}
.pddownload ul li{display:block; padding: 5px 5px 5px 28px;position: relative;}
.pddownload ul li:before{
    font-family: "Font Awesome 5 Free";
   content: "\f1c1";
   position: absolute;
   top:5px; left:5px;
   padding-right: 5px;
   vertical-align: middle;
   font-weight: 900;
   color:#D7412E;
   font-size:16px;
}
.pddownload ul li i{color:#D7412E;}
.pddownload ul li a{color:#006DD9;font-size:16px;transition:0.5s all;-webkit-transition:0.5s all;-moz-transition:0.5s all;-o-transition:0.5s all;-ms-transition:0.5s all;}
.pddownload ul li a:hover{color:#D7412E; text-decoration: none;}



.ta-top{padding: 8px 15px 0px 15px; border-bottom: solid 1px #f2f2f2; background: rgba(255,255,255,.9); margin-bottom: 25px;}

.ta{height:40px; text-align: center}
.ta{white-space:nowrap;overflow-x: scroll;-webkit-overflow-scrolling: touch;}
.ta span{display: inline-block; margin: 0px; height: 36px; overflow: hidden;}

.ta {overflow-x:auto;padding-bottom: 40px; overflow-y:hidden;}
.ta:hover{overflow-x:inherit;}
.ta::-webkit-scrollbar {width: 8px; max-height: 0px;}
.ta:hover::-webkit-scrollbar {width: 8px; max-height: 8px;}

.ta::-webkit-scrollbar-track {background: transparent;}
.ta::-webkit-scrollbar-thumb {background: rgba(0,0,0,.2);border-radius: 10px;}
.ta::-webkit-scrollbar-thumb:hover {background: rgba(0,0,0,.3); cursor: pointer !important;}

.Gototarget{ margin-right: 5px; margin-bottom: 5px; border-radius: 5px; color:#333;
background-color: #E8EFF7; border:solid 1px #3F79BE; padding: 3px 10px 0px 10px;
-webkit-transition: all 0.3s ease-in-out; -moz-transition: all 0.3s ease-in-out;
-o-transition: all 0.3s ease-in-out;-ms-transition: all 0.3s ease-in-out;transition: all 0.3s ease-in-out;
}
.Gototarget:hover{cursor: pointer; background:#3F79BE; color:#FFF;}
.Gototarget.actived{background:#3F79BE; color:#FFF;}

.tatarget{ margin: 0px; margin-bottom: 5px; border-radius: 0px; color:#333;
background-color: #E8EFF7; border:solid 1px #4A96A9;
-webkit-transition: all 0.3s ease-in-out; -moz-transition: all 0.3s ease-in-out;
-o-transition: all 0.3s ease-in-out;-ms-transition: all 0.3s ease-in-out;transition: all 0.3s ease-in-out;
}
.tatarget:hover{cursor: pointer; background:#4A96A9; color:#FFF;}
.tatarget.actived{background:#336875; border:solid 1px #336875; color:#FFF;}
.tatarget:hover.actived a{cursor: default;}

.tatarget a{padding: 6px 15px 6px 15px; color:#333; width:100%;display:inline-block; margin:0px; font-size: 15px;
-webkit-transition: all 0.3s ease-in-out; -moz-transition: all 0.3s ease-in-out;
-o-transition: all 0.3s ease-in-out;-ms-transition: all 0.3s ease-in-out;transition: all 0.3s ease-in-out;
}
.tatarget:hover a{color:#FFF}
.tatarget.actived a{color:#FFF;}

.tatarget .sactive{padding: 6px 15px 6px 15px; cursor: default;}
.tatarget:hover .sactive{cursor: default;}

