/* CSS Document */
* { -webkit-box-sizing: border-box; -moz-box-sizing: border-box; box-sizing: border-box; text-rendering: optimizeLegibility; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; font-kerning: auto; }
html { font-size: 100%; }  
h1, h2, h3, h4, h5, h6 { line-height: 1.25em;font-family: 'Noto Sans TC', 'Microsoft JhengHei', 'Raleway', "sans-serif"!important; }
p, td, li, label { font-size: 1rem;   color: #333; line-height: 1.5rem;   font-weight: 400;}
 a { color:#232323;text-decoration: none!important; -moz-transition: color 0.25s ease, opacity 0.25s ease; -o-transition: color 0.25s ease, opacity 0.25s ease; -webkit-transition: color 0.25s ease, opacity 0.25s ease; transition: color 0.25s ease, opacity 0.25s ease }
img { max-width: 100%; height: auto; vertical-align: bottom; }
a img { border: none; }
article a { word-wrap: break-word; word-break: keep-all; }
strong { font-weight: 700; }
  /** font-family:=================================*/
.txt-ch{font-family: 'Noto Sans TC', 'Microsoft JhengHei',"sans-serif"; }
.txt-en{font-family: 'Raleway', "sans-serif"; }
 /**訊息公告區塊 =================================*/
.cms-notice{width: 100%; height:40px;  background:#000; padding:0px 15px; overflow:hidden;}
.cms-notice-wrap{width: 100%; max-width: 1160px; margin:0 auto; padding: 0px; display: flex; flex-wrap: wrap; align-items: center;align-content: center; }
.cms-notice-wrap i{padding-right: 5px;}
.cms-notice-title{ width: 10%; font-size:0.9375rem;margin-top: -5px;color: #fff; }
.cms-notice-list{ width: 85%; list-style: none; }
.cms-notice-list li{list-style: none;padding-top:10px; display: block;  font-size:0.9375rem; color: #fff; }
.cms-notice-list li a{ color: #fff!important; }

.cms-notice-list .slick-prev {top:60%; left:95%;z-index: 1; }
.cms-notice-list .slick-next {top:60%; right:0;z-index: 1;  }
.cms-notice-list .slick-prev:before, .cms-notice-list .slick-next:before {  font-size: 1rem; color: #fff; }
/**banner=================================*/
.cms-main-banner{ width:100%; height: auto; margin:0px auto; padding: 0px; overflow: hidden;  position: relative; z-index: 0;}
.cms-main-banner img{ width: 100%; max-width: 100%;  height: auto; position: relative; }
.cms-main-banner .slick-prev { left:0;z-index: 1; }
.cms-main-banner .slick-next { right:0;z-index: 1;  }
.cms-main-banner .slick-dots { bottom:20px; }
@media (max-width: 767.98px) {
.cms-main-banner{ width: 100%; height: auto;  margin:0px auto;}
.cms-main-banner .slick-dots { bottom:-10px; }
.cms-notice-title{ margin-top: -25px; }
.cms-notice-title strong{ display: none;}
.cms-notice-list .slick-prev,.cms-notice-list .slick-next {display: none!important; }   
}
 /*cms-Title Styles 樣式
=================================*/
.cms-title { width: 100%; max-width: 900px;margin: auto;  display: flex; flex-wrap: wrap; position: relative; justify-content: center; flex-direction: column; }
.cms-title h1{ margin:15px auto;display: block; text-align: center;font-size: 2rem;   font-weight: 700; color:#000;}
.cms-title h2{ margin:0px auto;display: block; text-align: center; font-size: 1.063rem;  font-weight: 400; }
.cms-title h3{ margin:15px auto; text-align: center; font-size: 3.6rem; color:#000;}
.cms-title p{ margin:0px auto; text-align: center;  font-weight: bolder; }
 
@media (max-width: 991.98px) {
 .cms-title h3{  font-size: 1.875rem;  }
   
}
@media (max-width: 767.98px) {
#cms-main .cms-title h1{  font-size:1.75rem;  }
     
} 

.cms-title-h3 { width:100%; height: auto; margin:0 auto 2% auto;  padding-top: 0px;  padding-bottom: 0;  display: flex; justify-content: flex-start; align-items: flex-start;  flex-wrap: wrap; flex-direction:column; background: none;}
.cms-title-h3 h1{ margin:0;padding: 20px 0px; width: 100%;  font-size:3.6rem; color:#000;  position: relative; z-index: 1;   }
#cms-main .cms-title-h3 h2{ margin:0px; font-weight: 400; font-size:1.063rem; position: relative;  z-index: 1;}
#cms-main .cms-title-h3 p{ margin:0px; font-size:1rem; font-weight: 700!important;color:#6c7280; position: relative;  z-index: 1; }
.cms-main-wrap{ width: 100%; max-width: 1440px; margin: auto; height: auto;  display: flex; flex-wrap: wrap;justify-content: center;  }
 
@media (max-width:1440px) {
 .cms-main-wrap{  max-width: 1200px;   }
  #cms-main .cms-title-h3 h1{ font-size:2.5rem;   }
  
}
 @media (max-width: 767.98px) {
  .cms-title-h3 h1{  font-size: 1.875rem;  }  
}
/*-------------------*/
/***** about *****/
/*------------------*/
.cms-main-facility { width: 100%; padding:100px 0; margin:0; position: relative; display: flex; flex-wrap: wrap; background:#fff; }
.cms-main-facility:before{content: ""; display: block; width:50%; height:100%;top:0; left:0;  position:absolute;z-index:0; background:#f6f6f6; }
.cms-main-facility-item {  width:calc(41.66667% - 12.83333px);  display: flex; flex-wrap: wrap; padding-left:5%; }
.cms-main-txt{width: 100%;  margin:5% auto;  display: flex; flex-wrap: wrap; position: relative; z-index: 1;}
 #cms-main .cms-main-txt p { width: 100%; font-size: 1rem; line-height:2rem; color: #7a818c; font-weight: 300;  padding:5px; letter-spacing: 1px; margin-bottom: 20px;  }
 #cms-main .cms-main-txt p strong{  display: block;  width: 100%; font-size: 1.313rem; line-height: 2rem; letter-spacing: 1.2px; font-weight:400;  padding:5px; margin-bottom: 10px; color: #000; }
.cms-main-card { width:calc(58.33333% - 9.16667px); margin:0px; padding:0px;  display: flex; flex-wrap: wrap; }
.cms-main-card figure { display: block;  width: 90%; max-width:90%; margin:0 auto;   }
.cms-main-card figure img {  width: 100%; max-width: 100%; transition: all 0.3s; position: relative; z-index: 1; }
@media (min-width: 992px) and (max-width: 1199.98px) {
.cms-main-card { width:calc(38.33333% - 9.16667px); margin:0px; padding:0px;  display: flex; flex-wrap: wrap; }
.cms-main-facility-item {  width:calc(61.66667% - 12.83333px);  display: flex; flex-wrap: wrap; padding-left:5%; }
}

 @media (max-width: 767.98px) {
 .cms-main-facility { padding:10px 0 100px 0; margin:0; position: relative; display: flex; flex-wrap: wrap; background:#fff; }
    
.cms-main-facility-item { width: 100%; padding: 15px;}
.cms-main-card { width:100%; padding:50px 0px 0px 0px;}
} 
  
.cms-main-about{position: relative; margin:150px 0;  width: 100%;  display: flex; flex-wrap: wrap;   }
.cms-main-about:before{content: ""; display: block; width:50%; height:100%;top:-50px; right:0;  position:absolute;z-index:0; background:#f6f6f6; }
.cms-main-about-item {width: 30%; height: auto; -webkit-box-flex: 1; -ms-flex: 1 1 30%; flex: 1 1 30%;  padding:20px; }
.cms-main-about-card { width: calc(100% - 30%); -webkit-box-flex: 1; -ms-flex: 1 1 calc(100% - 30%); flex: 1 1 calc(100% - 30%); margin:20px 0px;   padding: 40px 0px; display: flex; flex-wrap: wrap; position: relative; }
.cms-main-about-card .item{ width: 100%; max-width: 100%; margin:15px;   padding: 0px 0px 40px 0px; height: auto; position: relative; transform: scale(0.8); transition: all 0.3s;-webkit-filter:brightness(.5);}
.cms-main-about-card .item img{ position: relative; z-index: 0; padding:0px;}
.cms-main-about-card .item h3{  padding-top:25px; letter-spacing: 2px; text-align: center; font-weight: 700; color: #fff; }
.item-box {height: 0; width: 180px;  margin:-25% 0px auto auto;   border-bottom:50px solid #3c3434;border-left:30px solid transparent;  transition: all 0.5s ease; position: relative; z-index: 1;   } 
.item-box:before{  content: ""; position: absolute;  margin-top:8%; margin-left: -60px;  width: 200px; height:50px;  background: url( "../images/index/itembox.svg") no-repeat right top;  } 

.cms-main-about-card .item.slick-current{ transform: scale(1); transition: all 0.3s; -webkit-filter:grayscale(0);}
.cms-main-about-card .slick-dots{bottom:-50px;}
.cms-main-about-card .slick-prev{ top:60%; left:0;z-index: 1; }
.cms-main-about-card .slick-next{top:60%; right:0;z-index: 1;  }

  @media (max-width: 1199.98px) {
.cms-main-about{  margin:50px 0; }
.cms-main-about-item {width: 100%;   -ms-flex: 1 1 100%; flex: 1 1 100%;  padding:20px; }
.cms-main-about-card { width: calc(100% - 30%); -webkit-box-flex: 1; -ms-flex: 1 1 calc(100% - 30%); flex: 1 1 calc(100% - 30%); margin:20px 0px;   padding: 40px 0px; display: flex; flex-wrap: wrap;}
.cms-main-about-item .cms-main-txt{  margin:0px auto 2% auto; }
 }
/*-------------------*/
/***** product圖文方格 *****/
/*------------------*/
.cms-main-product { width: 100%; padding:100px 15px;  margin:0 auto; position: relative; background:#f6f6f6; }
.cms-main-product-item { width:100%; margin:0px auto;  padding:60px 0px;  }
.cms-main-product-item li { width: 100%; max-width:80%; margin: 0px 15px; padding:0px;  height:360px;  position: relative; z-index: 1; background:#fff;border-radius:99rem;  transition: all 0.3s linear 0s;}
.cms-main-product-item li a{ display: flex; flex-wrap: wrap; justify-content:center; }
.cms-main-product-item li:hover { transform: scale(0.95);}
.cms-main-product-item li a figure { position: relative; width:80%; height: auto; border-radius:99rem;  overflow: hidden; transition: all 0.5s ease 0s; }
.cms-main-product-item li a figure img {  width: 100%; max-width: 60%; border-radius:99rem;transition: all 0.3s;}
.cms-main-product-item li:hover figure img { transform: scale(1.1);  opacity: 0.6; }
#cms-main .cms-main-product-item li a h3{flex: 0 0 100%; margin: 10px; font-size:1rem; line-height:1.75rem;   font-weight: 300;  text-align: center; color:#000; overflow: hidden; word-break:break-all; word-wrap:break-word;text-overflow: ellipsis;  display: -webkit-box;  -webkit-line-clamp: 2;  -webkit-box-orient: vertical; }
#cms-main .cms-main-product-item li a span.cms-main-product-unit{ position: relative; margin: 0 10px; padding:0px 5px; font-size:0.875rem; color:#6c7280; text-align: right; border: solid 1px #6c7280; border-radius:5px;  overflow: hidden; word-break:break-all; word-wrap:break-word;text-overflow: ellipsis;  display: -webkit-box;  -webkit-line-clamp:2;  -webkit-box-orient: vertical; }
.cms-main-product-item li a span.cms-main-product-price{ width: auto;  margin: 0 10px;font-size:1rem; color:#000;  text-align: center; font-weight: 700;  }
.cms-main-product-item li a span.cms-main-product-price-origin{ margin:0px;font-size:.85rem; color:#717171;  font-weight: 700; text-decoration:line-through }
.cms-main-product-item .slick-dots {bottom:10px;  }
.cms-main-product-item .slick-dots li{  height:3px!important;  border-radius:0px;  }
.cms-main-product-item .slick-prev { left:-3%; z-index: 9;}
.cms-main-product-item .slick-next { right:-3%;z-index: 9;} 

@media (min-width: 992px) and (max-width: 1199.98px) {
.cms-main-product {  padding:100px 15px 50px 15px; }
}
 @media (max-width: 1199.98px) {
 .cms-main-product {  padding:100px 15px 50px 15px; }
}
 @media (max-width: 767.98px) {
  .cms-main-product {  padding:100px 15px 15px 15px; }
    
  .cms-main-product-item li {   max-width:100%; margin: 0px 15px; padding:10px 0px;   height:auto;  background:#fff;border-radius:10px;  transition: all 0.3s linear 0s;}
 #cms-main .cms-main-product-item li a span.cms-main-product-unit{  margin: 0 10px; padding:5px;  }
  
}


/*-------------------*/
/***** news圖文方格 *****/
/*------------------*/
.cms-main-news { width: 100%; padding:100px 15px;  margin:0 auto;   background:#fff; }
.cms-main-news:before{content: ""; display: block; position:absolute; width: 600px; height: 164px; margin-top:460px; background:url("../images/logo.svg") no-repeat left bottom; z-index:1; opacity: .1;}
.cms-main-news-list { width: 90%;  margin:50px auto;  padding: 30px; position: relative; list-style: none; display: flex; flex-wrap: wrap;  }
.cms-main-news-list li{ width:90%; margin: 10px 15px; padding: 15px;align-items: center;  transition: all 0.4s ease-in-out;  -webkit-transition: all 0.4s ease-in-out;  -moz-transition: all 0.4s ease-in-out;box-shadow: -6px 6px 10px  rgba(0,0,0,.1); }
.cms-main-news-list li a{  display: flex; flex-wrap: wrap;  }
.cms-main-news-list .cms-item { width:100%; height: 100%; margin-bottom: 0px; position: relative; vertical-align: bottom;   }
.cms-main-news-list .cms-item figure {position: relative; background:#000;}
.cms-main-news-list .cms-item:hover figure img{ opacity: 1; background:#000; }
.cms-main-news-list .cms-item:hover figure:before{background: none; transition: all 0.4s ease-in-out;  -webkit-transition: all 0.4s ease-in-out;  -moz-transition: all 0.4s ease-in-out;}
.cms-main-news-list .cms-item:hover figcaption{display: none; }
.cms-main-news-list .cms-item figure:before {  display: block; content: '';  width: 100%; height: 100%; position: absolute; left: 0; top: 0; background:#fff;  }
.cms-main-news-list .cms-item figcaption { z-index: 1; position: absolute; width: 100%; left: 0; top: 0;  }
.cms-main-news-list .cms-item figcaption::before { content: '';position: absolute; z-index: 9; display: block;clear: both;width: 90%; height:90%;}
.cms-main-news-list .cms-item figcaption {width: 100%; height:100%; margin: auto; padding:30px; display: flex; flex-wrap: wrap;  justify-content: center; align-content: center; align-items: center; color: #434343;text-align: left;  }
#cms-main .cms-main-news-list .cms-item figcaption h3{ width: 100%; margin: 10px auto; padding-bottom: 15px; font-size:1.75rem; font-weight:700; line-height:2rem; letter-spacing: 1.5px; color:#000; overflow: hidden;  text-overflow: ellipsis;  display: -webkit-box;  -webkit-line-clamp: 2;  -webkit-box-orient: vertical; border-bottom: dashed 1px #ccc;}
#cms-main .cms-main-news-list .cms-item figcaption p {width: 100%; font-size:1.188rem;line-height:1.35rem; color:#6c757d; overflow: hidden;  text-overflow: ellipsis;  display: -webkit-box;  -webkit-line-clamp: 3;  -webkit-box-orient: vertical;   }

.cms-date{ display: flex; width:60%; flex-wrap: wrap; font-family: 'Raleway', "sans-serif"; font-weight: 700;}
.cms-day{font-size: 30px; letter-spacing: 1px;}
.cms-mth{ margin: 0 5px 2px; font-size: 1.5rem;  }
.cms-year{margin-bottom: 3px; font-size: 1.188rem;  }
.cms-tag{display: flex; width:40%; justify-content: center; background: #000; color: #fff; padding: 2px 8px; text-align: center; }
#cms-main .cms-main-news-list .cms-item figcaption:hover h3,#cms-main .cms-main-news-list .cms-item figcaption:hover p,.cms-main-news-list .cms-item figcaption:hover .cms-date{ color: #fff;}
.cms-main-news-list .slick-dots {  bottom:20px;}
.cms-main-news-list .slick-next { right:0px; }



.cms-main-blog { width: 100%; padding:50px 15px;  margin:0 auto; position: relative;  background-image: linear-gradient(180deg, #f6f6f6 0%,  #fff 100%); }
.cms-main-blog-list {padding:50px 0px; margin-top: 65px;display: -webkit-flex;display: -ms-flexbox;display: flex;-webkit-flex-wrap: wrap;-ms-flex-wrap: wrap; flex-wrap: wrap; -webkit-justify-content: space-between;-ms-flex-pack: justify;justify-content: space-between;}
.cms-main-blog-list li{ width: 100%; display: flex;  flex-wrap: wrap;position: relative; opacity: 1;transition: all 0.5s ease 0s; opacity: .85; -webkit-filter:grayscale(1); }
 .cms-main-blog-list li:hover figure::before { opacity: 1;}
.cms-main-blog-list li:hover {-webkit-transform: scale(1.05); -ms-transform: scale(1.05); transform: scale(1.05);  }
.cms-main-blog-list li.slick-current{ transition: all 0.3s; opacity: 1;-webkit-filter:grayscale(0);}
.cms-main-blog-list figcaption{ width: 70%; margin: 70px auto auto 30%; padding:20px; display: flex; flex-direction: column; position: absolute; z-index: 1; background: #fff;  }
.cms-main-blog-list figcaption h3 {margin: 15px 0px; font-size:1.875rem; overflow: hidden;  text-overflow: ellipsis;  display: -webkit-box;  -webkit-line-clamp: 2;  -webkit-box-orient: vertical; } 
.cms-main-blog-list figcaption a h3 { color: #000;} 
.cms-main-blog-list figcaption strong{ display: block; margin: 15px 0px; }
.cms-main-blog-list figcaption p {overflow: hidden;  text-overflow: ellipsis;  display: -webkit-box;  -webkit-line-clamp: 2;  -webkit-box-orient: vertical; } 
.cms-main-blog-list figcaption .item{ width: 100%; height: 100%;  padding: 15px;  border: solid 3px rgba(0,0,0,.1);}
.cms-main-blog-list figcaption a{color: #000;}
.cms-main-blog-list figure{ width: 100%;margin: 0px;  float: left; line-height: 0; overflow: hidden; }
.cms-main-blog-list figure::after { content: '';position: absolute;top: 0;bottom: 0;left: 0; z-index: 1;margin: auto;pointer-events: none;}
.cms-main-blog-list figure::before{opacity: 1; width: 50%; height: 100%; right: 0px; bottom: 0; display: block; background: #f6f6f6;content: '';position: absolute;}
.cms-main-blog-list figure::after { border: 10px solid rgba(255, 255, 255, 0.2);}
.cms-main-blog-list figure img { max-width: 100%; height: auto; -webkit-backface-visibility: hidden; backface-visibility: hidden;}
.cms-main-blog-list .date{ display: -webkit-flex; display: -ms-flexbox; display: flex; -webkit-align-items: flex-end; -ms-flex-align: end; align-items: flex-end; color: #000; font-weight: 700; }
.cms-main-blog-list .day{font-size: 30px; letter-spacing: 1px;}
.cms-main-blog-list .mth { margin: 0 5px 2px;font-size: 16px;text-transform: uppercase;}
.cms-main-blog-list .year{margin-bottom: 3px;font-size: 13px;color: #000;}


 
@media (max-width:1280px) {
.cms-main-blog-list { margin:0 auto; }
.cms-main-blog-list li{ width: 100%; padding-bottom: 100px; }
.cms-main-blog-list figcaption{   margin:30px auto auto 30%; font-size: 100%; }
.cms-main-blog-list figcaption h3 { font-size:1.15rem;} 
.cms-main-blog-list figcaption p { font-size:0.9375rem;} 
}

@media (max-width: 767.98px) {
.cms-main-blog-list figcaption{  padding:10px;}
.slick-prev:before, .slick-next:before {  font-size: 2rem; color: #fff!important;  background: #000}
}

 
/*cms-btn Styles 樣式=================================*/ 
.cms-btn-01 { cursor: pointer; width: 100%; max-width: 220px; height: 3rem; line-height: 3rem; display: block; margin: 0; position: relative;   box-shadow: 0px 0px 17px 1px rgba(0, 0, 0, 0.34); background-image: linear-gradient(to right, #ec640a 10%, #fcca5c 100%); border-radius:25px; z-index: 1;  }
.cms-btn-01 span { display: block;padding-left: 35px;text-transform: uppercase;letter-spacing: 3px; transform-origin: center left; transition: color 0.3s ease;position: relative;z-index:1; font-weight: 400;  color: #fff;}
.cms-btn-01 em {position: absolute;width: 45%; height: 1px;right: 23px;top: 50%;transform: scaleX(0.25); transform-origin: center right; transition: all 0.3s ease; background: #fff;  z-index:1;   }
.cms-btn-01:before,.cms-btn-01:after {content: '';background:#f39139;height:100%; width: 0;position: absolute;transition: 0.3s cubic-bezier(0.785, 0.135, 0.15, 0.86);}
.cms-btn-01:before { top: 0; left: 0; right: auto;  border-radius:25px; }
.cms-btn-01:after { bottom: 0; right: 0; left: auto; border-radius:25px; }
.cms-btn-01:hover:before { width: 100%; right: 0; left: auto;}
.cms-btn-01:hover:after {  width: 100%; left: 0; right: auto;}
.cms-btn-01:hover span{ color: #000;}
.cms-btn-01:hover em{background: #000; transform: scaleX(0.5);}
 
/*cms-btn-more =================================*/ 
  
[class^="cms-btn-"] {
    margin: .4em;
    padding: 8px 40px;
    cursor: pointer;
    background: #000;
    text-decoration: none;
    color: #fff;
    -webkit-tap-highlight-color: rgba(0,0,0,1);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}


/* Bounce To Right */
#cms-main a.cms-btn-more{
  display: inline-block;color: #fff;
  vertical-align: middle;
  -webkit-transform: perspective(1px) translateZ(0);
  transform: perspective(1px) translateZ(0);
  box-shadow: 0 0 1px rgba(0, 0, 0, 0);
  position: relative;
  -webkit-transition-property: color;
  transition-property: color;
  -webkit-transition-duration: 0.5s;
  transition-duration: 0.5s;
}
#cms-main a.cms-btn-more:before {
  content: "";
  position: absolute;
  z-index: -1;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background:#dedede; border: solid 1px #000;
  -webkit-transform: scaleX(0);
  transform: scaleX(0);
  -webkit-transform-origin: 0 50%;
  transform-origin: 0 50%;
  -webkit-transition-property: transform;
  transition-property: transform;
  -webkit-transition-duration: 0.5s;
  transition-duration: 0.5s;
  -webkit-transition-timing-function: ease-out;
  transition-timing-function: ease-out;
}
#cms-main a.cms-btn-more:hover, #cms-main a.cms-btn-more:focus, #cms-main a.cms-btn-more:active { color: #000;}
#cms-main a.cms-btn-more:hover:before, #cms-main a.cms-btn-more:focus:before, #cms-main a.cms-btn-more:active:before { -webkit-transform: scaleX(1); transform: scaleX(1);  -webkit-transition-timing-function: cubic-bezier(0.52, 1.64, 0.37, 0.66); transition-timing-function: cubic-bezier(0.52, 1.64, 0.37, 0.66);}


 
/*cms-btn Styles 4====*/
.cms-btn-btnbox {position: relative;z-index:1; display: flex;  justify-content: center;  width: 100%; height: auto; margin:20px auto;  transition: all 1s;}
