/*根元素*/
:root{
--bg:#ffffff; /* 背景(白) var(--bg)*/
--card:#e7e8ea; /* 卡片底(淺灰) var(--card)*/
--text:#f1592a; /* 主要文字(橘紅) var(--text)*/
--text2:#4f4789; /* 次要文字(藍紫) var(--text2) 303880*/
--green:#6bb90e; /* 亮綠色 var(--green)*/
--blue:#27b1fc; /* 亮藍色 var(--blue)*/
--orange:#ff9900; /* 橙色 var(--orange)*/
--shadow: 0 5px 10px rgba(0,0,0,.25); /* 陰影 var(--shadow)*/
}


.topnavbar {
    background-color: var(--text2);/*頁籤底圖顏色;background-color: rgba(255,255,255,0);透明Transparent*/
    position: relative;/*relative 頁籤&banner分開不重疊;頂置 fixed;*/
    line-height: 0;
    padding: 0;/*頁籤間距*/
}

.topnavbar .container {
  text-align: justify;
  padding: 0;
}

.topnavbar .container::after {
  display: inline-block;
  width: 100%;
}

body {
    background-color: #fff;/*背景底色*/
    font-family: 'Noto Sans TC', sans-serif;/*套用google font字型Noto Sans TC黑體*/
}

#logo h1 { text-align: center; }

/*動到表格手機不會破版*/
table {
  table-layout: fixed;
  word-wrap:break-word;
} 

/*編輯欄設定*/
.fcol p{
    font-size: clamp(16px, 2vw, 18px); /*最小值 首選值 最大值 限制屬性值區間*/
    color: #000000;/*文字顏色*/
    line-height: 2;
}

body[data-type="fullpage"]:not(#managehome) #wrap>*:not(:last-child) {
    margin-bottom: 0px;
}

body[data-type="fullpage"] #product-header.main {
      min-height: auto;/*產品-編輯框不設定高*/
}

.fcol h2 { 
  color: var(--text);
  font-size: clamp(28px, 3vw, 36px);/*最小值 首選值 最大值 限制屬性值區間*/
  line-height:2;
}

.fcol h3 { 
  color: var(--text2);
  font-size: clamp(24px, 3vw, 30px);/*最小值 首選值 最大值 限制屬性值區間*/
  line-height:2;
}

.fcol h4 { 
  color: var(--text);
  font-size: clamp(20px, 3vw, 24px);/*最小值 首選值 最大值 限制屬性值區間*/
}

/*nav*/
#nav ul li a {
    white-space: normal; /*自動換行*/
    font-size: 1.0rem;/*頁籤文字大小*/
    color: #fff;/*頁籤文字顏色*/
    padding: 10px 20px;/*頁籤文字間隔;padding:2px 16px 2px 16px;*/
    line-height: 1.3;
    transition: .3s;
}

#nav ul li a:hover  {
    color: var(--card);/*頁籤滑過文字顏色*/
}
#nav ul li.current a {
    color: #fff;/*頁籤按下後文字顏色*/
    font-weight: 500;
}

/*頁籤按鈕下底線滑入特效-底線短*/
#nav ul li a::before {
  content:"";
  border-bottom:3px solid var(--text);
  width:0;
  position:absolute;
  left:0;
  right:0;
  bottom:0;
  margin:0 auto;
  transition:.3s all ease;
}
#nav ul li a:hover::before {
    width: 70%;
}


#nav .subnav {
    background-color: #fff;/*次頁籤底色*/
    max-width: 400px;/*次頁籤背景最大寬度*/
    width: max-content;/*最大內容*/
    text-align: left;
}

#nav li.has-subnav ul li.has-subnav>div a::after, #nav>ul>li.has-subnav>a::after {
    padding-left: 2px;/*下拉選單箭頭距離*/
}

ul.product-list li a {
    color: var(--text2);/*產品格文字顏色*/
    background-color: #eee;/*產品格底色*/
}
ul.product-list li a:hover {
    color: var(--text);/*產品格滑過文字顏色*/
}
.productdetail .detail-spec h2 p{
    color: #333;
    font-size: 30px;
}/*產品內頁標題文字*/

/*產品頁產品格圖片填滿*/
ul.product-list div.img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/*title文字顏色*/
.h1title h1{
    color: var(--text2);
}

a {
    color: var(--text);/*連結顏色*/
    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-header {  display: none; }

body.about-us .fcol.fcol-4 .container {
   width: 100%;
   background-color: var(--card);
   padding: 0;
}/*拉寬編輯欄設定*/

body.about-us .fcol.fcol-5 { padding: 3em 0; }

body.about-us .fcol.fcol-6 .container {
   width: 100%;
   background-color: var(--text);
   padding: 0;
}/*拉寬編輯欄設定*/

/*footer*/
#footer {
    color: #000000;
    background-color: var(--card);
  letter-spacing: 1px;
}
#footer a { color: var(--text); }
#footer a:hover { color: var(--orange); }

#foot-nav ul li a {
    display: block;
    color: #fff;
    font-size: 14px;
    margin-right: 15px;
    padding: 3px 10px;
    background-color:var(--text);
    border-radius: 10px;
}
#foot-nav ul li a:hover { background-color: var(--text2);}

#foot-nav {
  clear: both;
  padding: 2em 0 1em;
  border-bottom: 0px solid #444;
  display: flex;
  justify-content: center;
}
.contact-row h5 {
    color: var(--text);
}
#contact-info ul li span {
    color: var(--text);
}

/*標題裝飾斜線*/
.greyLine {
  position: relative;
  margin: -3em 0 0 10em;
  height: 5em;
  width: 1px;
  background: #ccc;
  display: block;
  transform: rotate(45deg);
}

/* 下排浮動頁籤連結 */
#wrap-fmenu{
   max-width:1920px;
    width:100%;
    margin:0px auto;
    display:block;
}
.fMenu{
   background-color:var(--text2);
   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:33.3%;
    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;
}

/*避免遮到footer版權服務文字*/
body[data-type="fullpage"] .container #footer-service { padding: 15px 15px 100px 15px; ; }


/*圖文特效*/
figure.snip1191 {
  position: relative;
  overflow: hidden;
  margin: 0 auto;
  /*min-width: 160px;
  max-width: 500px;*/
  width: 100%;
  background: #000000;
  color: #333;
  box-shadow: 0 0 5px rgba(0, 0, 0, 0.15);
}

figure.snip1191 * {
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  -webkit-transition: all 0.35s cubic-bezier(0.25, 0.5, 0.5, 0.9);
  transition: all 0.35s cubic-bezier(0.25, 0.5, 0.5, 0.9);
}
figure.snip1191 img {
  object-fit: cover;  /*cover圖片剪裁不拉伸壓縮 ; contain不拉伸壓縮.等比縮放)*/
  width: 100%; /*寬度*/
  aspect-ratio: 4 / 3;
  vertical-align: top;
}

figure.snip1191 figcaption {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
}

figure.snip1191 h3 {
  position: absolute;
  top: 0;
  text-transform: uppercase;
  padding: 0px 25px;
  line-height: 44px;
  margin: 0;
  left: 0;
  font-weight: 400;
  background-color: var(--text2);
  color: #ffffff;
  font-size: clamp(20px, 3vw, 24px);
}

figure.snip1191 h3:before {
  position: absolute;
  left: 100%;
  border-style: solid;
  border-width: 44px 12px 0 0;
  border-color: var(--text2) transparent transparent;
  content: '';
  top: 0;
}

figure.snip1191 span {
  position: absolute;
  bottom: 0;
  right: 0;
  color: #ffffff;
  background-color: #00000066;
  padding: 10px;
  line-height: 1.5;
  font-size: 0.9em;
  font-weight: 400;
  text-transform: uppercase;
  /*width: 100%;*/
    text-align: right;
}
figure.snip1191 span:before {
  position: absolute;
  right: 100%;
  border-style: solid;
  border-width: 0 0 60px 12px;
  border-color: transparent transparent #00000066;
  content: '';
  top: 0;
}

figure.snip1191 a {
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  position: absolute;
}

figure.snip1191:hover img,
figure.snip1191.hover img {
  opacity:0.5;
  -webkit-transform: scale(1.1);
  transform: scale(1.1);
}

/*搬運品項*/
.item-1 img {
  object-fit: cover;
  width: 100%; 
  aspect-ratio: 4 / 3;
  box-shadow: var(--shadow);
  border-radius: 10px;
}
.item-1 h3 { 
  font-size: clamp(20px, 3vw, 22px);
  line-height: 1.5;
  border-bottom: solid 1px var(--card);
  position: relative;
  padding-bottom: 5px;
  margin-bottom: 5px;
}
.item-1 h3:after {
  position: absolute;
  content: " ";
  display: block;
  border-bottom: solid 5px var(--text);
  left: -5px;
  bottom: -3px;
  width: 5px;
}
.item-1 p {
  font-size: clamp(14px, 2vw, 16px);
  line-height: 1.5;
  text-align: justify;
}

/*搬運程序*/
.list-1 {
  padding: 5px 15px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: #f5f5f5;
  width: -webkit-fill-available;
  height: 100%;
  position: relative;
  display: inline-block;
  margin: 0 auto 10px; 
  box-shadow: var(--shadow);
}
.list-1 i {
  font-size: 3em;
  padding: 10px;
  color: var(--text2);
}

.list-1 p {
  font-size: clamp(14px, 2vw, 16px);
  line-height: 1.5;
  text-align: justify;
}

.frame img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  box-shadow: var(--shadow);
  display: block;
}

/*按鈕-文字底色變化特效*/
.custom-btn {
    padding: 5px 25px;
    outline: none !important;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    display: inline-block;
}

.btn-more1 {
    border-radius: 30px;
    border: 1px solid #ddd;
    color: var(--text);
    font-size: clamp(14px, 2vw, 16px);
    background-color: var(--card);
    font-weight: 500;
}
.btn-more1:hover{
    background-color: var(--text2); /* 當滑鼠經過時按鈕表格底色變化 */
    color: #fff;/* 當滑鼠經過時按鈕表格文字變化 */
}
