/*根元素*/
:root{
--bg:#ffffff; /* 背景(白) var(--bg)*/
--p:#000000; /* 段落文字 var(--p)*/
--card:#f1f1f1; /* 卡片底(淺灰) var(--card)*/
--text:#003878; /* 主要文字(藍) var(--text)*/
--text2:#0c6db8; /* h3次要文字(藍) var(--text2)*/
--text3:#64acff; /* h4次要文字(淺藍) var(--text3)*/
--text4:#ff9600; /* 次要文字(橘) var(--text4)*/
--shadow: 0 5px 10px rgba(0,0,0,.25); /* 陰影 var(--shadow)*/
--gradient: linear-gradient(120deg, var(--text) 0%, var(--text2) 100%); /* 漸層 var(--gradient)*/
}

.topnavbar {
  /*  background-color: var(--text2);/*頁籤底圖顏色;background-color: rgba(255,255,255,0);透明Transparent*/
  background-image: var(--gradient);
  position: relative;/*relative 頁籤&banner分開不重疊;頂置 fixed;*/
  line-height: 0;
  padding: 0;/*頁籤間距*/
}


body {
    background-color: #fff;/*背景底色*/
    font-family: 'Noto Sans TC', sans-serif;/*套用google font字型Noto Sans TC黑體*/
}

.topnavbar .container {
  text-align: justify;
  font-size: 0;
  padding: 0;/*頁籤間距*/
}

.topnavbar .container::after {
  content: "";
  display: inline-block;
  width: 100%;
}

/*動到表格手機不會破版*/
table {
  table-layout: fixed;
  word-wrap:break-word;
} 

hr {
  border-top: 1px solid #ddd;
  border-bottom: 0;
  margin: 2em 0;
}

/*編輯欄設定*/
#main-wrap .container {
  font-size: clamp(14px, 2vw, 16px);
  color: var(--p);
}/*編輯欄文字*/

body[data-type="fullpage"]:not(#managehome) #wrap>*:not(:last-child) {
    margin-bottom: 0px;
}

body[data-type="fullpage"] #product-header.main {
      min-height: auto;/*產品-編輯框不設定高*/
}

.fcol p{  
  line-height: 2;
  text-wrap: pretty ;  //適用內文,段落避開孤字
 }

h1, h2, h3, h4, h5, h6 { 
  text-wrap: balance ;  //適用標題和短文案,視覺效果更平衡
} 

.fcol h2 { 
  color: var(--text);
  font-size: clamp(26px, 3vw, 36px);/*最小值 首選值 最大值 限制屬性值區間*/
}

.fcol h3 { 
  color: var(--text2);
  font-size: clamp(24px, 3vw, 30px);/*最小值 首選值 最大值 限制屬性值區間*/
}

.fcol h4 { 
  color: var(--text3);
  font-size: clamp(20px, 3vw, 24px);/*最小值 首選值 最大值 限制屬性值區間*/
}
.fcol h5 { 
  color: var(--text4);
  font-size: clamp(18px, 2vw, 20px);/*最小值 首選值 最大值 限制屬性值區間*/
}

/*nav*/
#nav ul li a {
    white-space: normal; /*自動換行*/
    font-size: 16px;/*頁籤文字大小*/
    color: var(--bg);/*頁籤文字顏色*/
    padding: 10px 12px;/*頁籤文字間隔;padding:2px 16px 2px 16px;*/
    line-height: 1.3;
    transition: .3s;
}

#nav ul li a:hover  {
    color: var(--text3);/*頁籤滑過文字顏色*/
}
#nav ul li.current a {
    color: var(--bg);/*頁籤按下後文字顏色*/
    font-weight: 500;
}

#nav li.has-subnav ul li a {
   color: #000;/*次頁籤文字顏色*/    
}
#nav li.has-subnav ul li a:hover {
   color: var(--text3);/*次頁籤滑過後文字顏色*/    
}
#nav li.has-subnav ul li.current a {
   color: #000;/*次頁籤按下後文字顏色*/    
}
#nav .subnav {
  color: var(--p);
    background-color: #fff;/*次頁籤底色*/
    max-width: 400px;/*次頁籤背景最大寬度*/
    width: max-content;/*最大內容*/
    text-align: left;
}

#nav .subnav .has-subnav span{
    max-width: 400px;/*次頁籤文字背景最大寬度*/
}

#nav li.has-subnav ul li.has-subnav>div a::after, #nav>ul>li.has-subnav>a::after {
    padding-left: 2px;/*下拉選單箭頭距離*/
}

/*產品頁*/
#side h3 {
  /*background-color: var(--card);*/
  background-image: var(--gradient);
  border-radius: 10px 10px 0 0;
  font-size: 1.4em;
  font-weight: 700;
  color: var(--bg);
}
#side ul li a {
  font-size: 16px;
  color: #333;
  border-bottom: 1px dashed #ddd;
}
#side ul li a:hover {
  color: var(--text);
}

ul.product-list li a {
    color: var(--text);/*產品格文字顏色*/
    background-color: #eee;/*產品格底色*/
}
ul.product-list li a:hover {
    color: var(--text2);/*產品格滑過文字顏色*/
}
.productdetail .detail-spec h2 p{
    color: #333;
    font-size: 30px;
}/*產品內頁標題文字*/

/*title文字顏色*/
body.about-us  .h1title {display: none;}
.fcol.fcol-header .container { padding: 0px;/*頁籤間距*/}

/*分頁title文字*/
.h1title h1{
  color: var(--text);
  font-size: clamp(22px, 3vw, 32px);
}

a {
    color: var(--text2);/*連結顏色*/
    text-decoration: none;
}

.swiper-container {
  height: auto !important; /* 將容器預設的高拿掉 */
}

.swiper-wrapper, .swiper-slide {
  height: 0 !important;
  padding-bottom: calc(750 / 1920 * 100%); /* 自定響應式圖片高度 */
}

.swiper-slide {
  width: 100% !important; /* 強制圖片寬度隨容器變更 */
}


body.about-us .fcol.fcol-1 { background-image: var(--gradient);}

body.about-us .fcol.fcol-3 { background-image: -webkit-linear-gradient(top, #ffffff 70%, var(--card) 70%); }
body.about-us .fcol.fcol-4, body.about-us .fcol.fcol-6 { background-color: var(--card); }
@media only screen and (min-width: 768px){ 
body.about-us .fcol.fcol-4 .container {
   width: 90%;
    padding: 3em 0;
  }/*拉寬編輯欄設定*/
}

body.about-us .fcol.fcol-5,
body.about-us .fcol.fcol-6 { padding: 2em 0; }


.frame img {
	width: 100%;
	height: auto;
	background-color: #F0F0F0; /*背景顏色*/ 
	padding: 0px; /*物件內的間距*/
	border: 1px solid #D5D5D5; /*邊框樣式（solid直線 dotted點狀線 dashed虛線）*/
object-fit: cover;  /*cover圖片剪裁不拉伸壓縮 ; contain不拉伸壓縮.等比縮放)*/
aspect-ratio: 4 / 3; /*比例*/
}

/*按鈕-文字底色變化特效*/
.custom-btn {
    padding: 5px 25px;
    outline: none !important;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    display: inline-block;
}

.btn-more1 {
    border-radius: 100vmax;
    border: 0px solid #000;
    color: #fff;
    font-size: clamp(20px, 3vw, 24px);
    background-color: var(--text4);
    font-weight: 700;
}
.btn-more1:hover{
    background-color: var(--text); /* 當滑鼠經過時按鈕表格底色變化 */
    color: #fff;/* 當滑鼠經過時按鈕表格文字變化 */
}

.btn-phone, .btn-line  {
    border-radius: 10px;
    border: 0px solid #000;
    color: #fff;
    font-size: clamp(28px, 3vw, 30px);
    font-weight: 700;
    display: inline-flex;
    align-items: center;
}

.btn-phone { background-color: #ff0057;}
.btn-phone:hover {
  transform:scale(1.1);
  background-color: #ff0000;
  top:-10px;
}

.btn-line { background-color: #00b900;}
.btn-line:hover {
  transform:scale(1.1);
  background-color: #009900;
  top:-10px;
}

/*服務區域*/
.service-area h4 {   
  background-image: var(--gradient);
  padding: 0 10px;
  line-height: 1.2;
  color: #fff;
} 
.service-area p { line-height: 1.5;}

/* 下排浮動頁籤連結 */
#wrap-fmenu{
   max-width:1920px;
    width:100%;
    margin:0px auto;
    display:block;
}
.fMenu{
   background-color:#441506;
   display:block;
   position:fixed;
   width:100%;
   margin:0 auto;
   z-index:100;
   color:#FFF;
   left:0;
   bottom:0;
}
.fMenu ul li{
    letter-spacing:1.5px;
    float:left;
    width:25%;
    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);
    color:#FFF;
    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);
    color:#FFF;
    margin: 0 auto;
}

/*避免遮到footer版權服務文字*/
body[data-type="fullpage"] .container #footer-service { padding: 15px 15px 100px 15px; ; }


/*產品介紹圖文特效*/
figure.snip1249-a {
  position: relative;
  /* overflow: hidden; */
  margin: 0 0 0 10px;
  min-width: 150px;
  width: 100%;
  background: #fff;
    display: flex;
    flex-direction: column;
    align-items: center;
    box-shadow: -16px 10px 0 #0002,5px 5px 5px #0002;
}
figure.snip1249-a * {
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  -webkit-transition: all 0.35s ease-in-out;
  transition: all 0.35s ease-in-out;
}
figure.snip1249-a img{
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  vertical-align: top;
  object-fit: cover;
  padding: 1.5em;
  border: 3px solid var(--text3);
  margin: -10px 0 0 -18px;
  box-shadow: 0 0 5px #0005;
}
figure.snip1249-a:hover img{
  opacity: 0.8;
}
figure.snip1249-a h3 {
  margin: -0.7em 0 0.2em 0;
  font-weight: 700;
  color: var(--text);
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: clamp(24px, 3vw, 30px);
}
figure.snip1249-a .item-title {
  position: absolute;
    z-index: 1;
    top: -20px;
    right: 0;
    text-transform: uppercase;
    background-color: var(--bg);
    padding: 0 10px;
  font-size: clamp(18px, 3vw, 24px);
}
figure.snip1249-a p {
    margin: 0 0 0 10px;
    color: #666;
    font-size: clamp(14px, 2vw, 16px);
    font-weight: 400;
    text-transform: uppercase;
    text-align: justify;
    line-height: 1.5;
}
figure.snip1249-a figcaption {
  padding: 5px 20px;
  position: relative;
  display: flex;
  flex-direction: column;
}

figure.snip1249-a .btn-more {
    color: var(--bg);
    text-decoration: none;
    font-weight: 400;
    font-size: 14px;
    text-transform: uppercase;
    margin: 10px 20px -15px;
    text-align: center;
    letter-spacing: 5px;
    background-image: var(--gradient);
    border-radius: 100vmax;
    padding: 0 10px;
}
figure.snip1249-a:hover .btn-more {
  color: var(--text4);
}
figure.snip1249-a a {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 2;
}

/*清潔前後對比*/
.compare { 
  margin-top:40px;
  display: flex;
  justify-content: center;
  gap: 1em;
}
.compare-box{
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  background:white;
  padding:1em;
  border-radius:10px;
  box-shadow:0 6px 20px rgba(0,0,0,0.06);
}
.compare-box ul{ margin-top:20px; }
.compare-box li{ margin-bottom:10px; }
.compare-box h3{
  transform: rotate(-3deg);
  margin-top: -1em;
  background-image: var(--gradient);
  padding: 0 1em;
  color: var(--bg);
  box-shadow: var(--shadow);
}

/*footer*/
#footer {
  font-size: 14px !important;
  color: #fff;
  /* background-color: #222; */
  background-image: var(--gradient);
}

#foot-nav {
  clear: both;
  padding: 1em 0;
  border-bottom: 0px solid #444;
}

#foot-nav ul {
  overflow: hidden;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}
#foot-nav ul li a {
  display: block;
  color: #fff;
  font-size: 1em;
  margin: 5px;
  padding: 3px 10px;
  background-color: var(--text3);
  border-radius: 100vmax; /*弧度保持膠囊狀*/
}
#foot-nav ul li a:hover { background-color: var(--text2);}

/*內頁LOGO圖文按鈕*/
.inpage-frame>div { padding: 1em; }
figure.snip1249 {
  position: relative;
  overflow: hidden;
  margin: 0 auto 0;
  min-width: 150px;
  width: 100%;
  height: 100%;
  background: #f5f5f5;
  box-shadow: 0 0 5px rgba(0, 0, 0, 0.2);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
figure.snip1249 * {
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  -webkit-transition: all 0.35s ease-in-out;
  transition: all 0.35s ease-in-out;
}
figure.snip1249 img{
  position: relative;
  width: 120px;
  vertical-align: top;
  padding: 10px;
  margin: 0 auto;
  object-fit: cover;  /*cover圖片剪裁不拉伸壓縮 ; contain不拉伸壓縮.等比縮放)*/
      -webkit-filter: drop-shadow(0px 5px 5px rgba(0, 0, 0, 0.5));
    filter: drop-shadow(0px 5px 5px rgba(0, 0, 0, 0.5));
}
figure.snip1249:hover img{
  opacity: 0.8;
}
figure.snip1249 h3 {
  margin: 0;
  font-size: clamp(18px, 2vw, 20px);
  font-weight: 700;
  color: var(--text);
  text-transform: uppercase;
  text-align: center;
  letter-spacing: 2px;
}
figure.snip1249 p {
  margin: 0;
  font-size: clamp(14px, 2vw, 16px);
  font-weight: 400;
  text-transform: uppercase;
  text-align: justify;
  line-height: 1.5;
}
figure.snip1249 figcaption {
  padding: 5px 20px;
    color: #000000;
    position: relative;
    font-size: 0.9em;
    display: flex;
    flex-direction: column;
}

figure.snip1249 .btn-more {
border: 1px solid var(--text);
    padding: 0.4em 0.6em;
    color: var(--text);
    text-decoration: none;
    font-weight: 400;
    font-size: 14px;
    text-transform: uppercase;
    margin: 10px 20px;
    text-align: center;
    letter-spacing: 5px;
}

figure.snip1249:hover .btn-more {
  background-color: var(--text);
  color: #fff;
}
figure.snip1249 a {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 2;
}


/*內頁-內文效果*/
.t-1 h1 { 
  font-size: clamp(24px, 3vw, 30px);
  color: var(--text3);
}
.t-1 h2 { 
  font-size: clamp(20px, 2vw, 24px);
  color: var(--bg);
  border-left: 5px solid var(--text3);
  padding: 5px 15px;
  background-image: var(--gradient);
  display: inline-block;
}
.t-1 h3 {
  color: var(--text2);
  font-size: clamp(1.5rem, 3vw, 2rem); 
  line-height:1.5;
  border-bottom: 3px solid var(--text4);
  margin-bottom: 15px;
}
.t-1 h4 {
  color: var(--text3);
  font-size: clamp(20px, 2vw, 26px); 
  line-height:1.5;
}

.t-1 ul li::marker { color: var(--text3); }
.t-1 ul { list-style-type: square; margin-left: 1.5rem; font-size: 16px; color: #000; line-height: 1.5;}

.t-1 ol li::marker { color: var(--text2); }
.t-1 ol { list-style-type: decimal; margin-left: 1.5rem; font-size: clamp(14px, 2vw, 16px);  color: #000; line-height: 1.5;}


/*手機版漢堡選單*/
.navbar .container {
    background-color: #333; /*導覽列背景顏色樣式*/
}
.navbar-icon-bar {
  width: 28px; /* 三變大*/
  height: 4px; 
  background-color: #fff; /* 填入想要的三條線顏色 */

}
.navbar-icon-bar:before, .navbar-icon-bar:after {
    background-color: #fff; /* 填入想要的三條線顏色 */
}
.navbar .rwd-navbar-toggle {
    padding-right: 100% !important;/*導覽列寬度*/
}
.navbar .rwd-navbar-toggle .label {
    left: 45px;
    font-size: 1.0rem; /*導覽列文字尺寸*/
    color: #fff; /*導覽列文字顏色樣式*/
    background-color: var(--text2);/*導覽列文字背景顏色*/
    border-radius: 3px;
    padding: 4px;
}
@media only screen and (max-width: 767px){
.rwd-side .nav li {
    border-bottom: 1px #ccc dashed; /* 展開連結文字底虛線 */
}
.rwd-side .nav span {
    color: #fff; /* 展開連結文字顏色 */
}}
