.phone{position:fixed;right:1%;top:50%;z-index:1000;}
.line-1{position:fixed;right:1%;top:62%;z-index:1000;}

/*手機版-側欄浮動按鈕-縮小*/
@media (max-width: 430px){ 
  .phone, .fb, .line-1, .ig, .map, .wechat, .shop-1, .x-twitter, .pixnet, .youtube-1, .tiktok , .thread , .messenger-link , .mail-1 { 
    transform: scale(0.8);
    right:0;
  }
}

/*根元素*/
:root{
--bg:#ffffff; /* 背景(白) var(--bg)*/
--p:#000000; /* 段落文字 var(--p)*/
--card:#f1f1f1; /* 卡片底(淺灰) var(--card)*/
--text:#006bb4; /* 主要文字(藍) var(--text)*/
--text2:#ffbc00; /* h3次要文字(橘黃) var(--text2)*/
--text3:#977a6f; /* h4次要文字(棕) var(--text3)*/
--text4:#fff000; /* 次要文字(黃) var(--text4)*/
--shadow: 0 5px 10px rgba(0,0,0,.25); /* 陰影 var(--shadow)*/
--gradient: linear-gradient(120deg, var(--text) 0%, #48c6ef 100%); /* 漸層 var(--gradient)*/
}

.topnavbar {
    background-color: #fff;/*頁籤底圖顏色;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;
} 

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-align: justify; }

.fcol h2 { 
  color: var(--text);
  font-size: clamp(26px, 3vw, 34px);/*最小值 首選值 最大值 限制屬性值區間*/
}

.fcol h3 { 
  color: var(--text2);
  font-size: clamp(20px, 3vw, 24px);/*最小值 首選值 最大值 限制屬性值區間*/
}

.fcol h4 { 
  color: var(--text3);
  font-size: clamp(18px, 3vw, 22px);/*最小值 首選值 最大值 限制屬性值區間*/
}

/*nav*/
#nav {
    vertical-align: bottom;
}
#nav ul li a {
    white-space: normal; /*自動換行*/
    font-size: 1.0rem;/*頁籤文字大小*/
    color: #000;/*頁籤文字顏色*/
    padding: 10px 20px;/*頁籤文字間隔;padding:2px 16px 2px 16px;*/
    line-height: 1.3;
    transition: .3s;
}

#nav ul li a:hover  {
    color: var(--text);/*頁籤滑過文字顏色*/
}
#nav ul li.current a {
    color: var(--text);/*頁籤按下後文字顏色*/
    font-weight: 500;
}

#nav .subnav {
    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文字顏色*/
.h1title h1{
    color: var(--text);
  text-align: center;
}

a {
    color: var(--text);/*連結顏色*/
    text-decoration: none;
}

.swiper-container {
  height: auto !important; /* 將容器預設的高拿掉 */
}
.swiper-wrapper, .swiper-slide {
  height: 0 !important;
}
.swiper-slide {
  width: 100% !important; /* 強制圖片寬度隨容器變更 */
}
/* 首頁 */
#bodyinhome .swiper-wrapper, #bodyinhome .swiper-slide {
  padding-bottom: calc(750 / 1920 * 100%); /* 首頁 banner 大小 */
}
/* 內頁 */
#bodyinpage .swiper-wrapper, #bodyinpage .swiper-slide {
  padding-bottom: calc(400 / 1920 * 100%); /* 內頁 banner 大小 */
}


#bodyinhome .fcol.fcol-1 { 
  background-image: -webkit-linear-gradient(95deg, #ffffff 28%, #333333 28.1%);
 /* background-color: #333; */
  padding: 3em 1em;
} 

@media only screen and (min-width: 768px){ .box-right { margin: 1em -3.5em 0 5em}}

#bodyinhome .fcol.fcol-1 .container { color: #fff;}

#bodyinhome .fcol.fcol-2 {
  background-image: -webkit-linear-gradient(275deg, #ffffff 75%, #ccc 75.1%);
  padding: 3em 1em;
}
#bodyinhome .fcol.fcol-2 .container { width: 100%; }/*拉寬編輯欄設定*/

#bodyinhome .fcol.fcol-3 { 
  background-color: #ccc;
  padding: 2em 0 0;
}
#bodyinhome .fcol.fcol-3 .container {
   width: 90%;
   padding: 3em 1em;
}/*拉寬編輯欄設定*/

#bodyinhome .fcol.fcol-4 {
  background-image: -webkit-linear-gradient(95deg, #ffffff 72%, #ccc 72.1%);
  padding: 3em 1em;
}

#bodyinhome .fcol.fcol-6 {
   width: 100%;
   background-attachment: scroll; /*fixed固定背景; scroll捲動背景*/
   background-repeat: no-repeat;
   background-position:center;
   background-size: cover;/*cover圖片剪裁不拉伸壓縮 ; contain不拉伸壓縮.等比縮放)*/
   background-image: -webkit-linear-gradient(95deg, #fff0 75%, #fff 75.1%),url(https://static.iyp.tw/409873/files/a645c277-aaf9-4264-972e-538db2f0e0cf.jpg);
  padding: 0 1em 3em;
}

/*隱藏側欄+main產品頁100%*/
body[data-type="fullpage"].shopping .main-container.left-menu .fcol-side,
body[data-type="fullpage"].product .main-container.left-menu .fcol-side,
body[data-type="fullpage"].productdetail .main-container.left-menu .fcol-side {
   display:none;
}/*side側欄頁籤隱藏*/

body[data-type="fullpage"].shopping .main-container.left-menu .fcol-side+.fcol,
body[data-type="fullpage"].product .main-container.left-menu .fcol-side+.fcol,
body[data-type="fullpage"].productdetail .main-container.left-menu .fcol-side+.fcol {
    width: calc(1 * 1160px);
}/*main產品頁100%*/

/*產品設備-次頁按鈕*/
.pro-btn {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1em 2em;
}
.pro-btn li {
  padding: 0px 10px;
    width: calc(25% - 2em);
    border-radius: 1em;
    line-height: 1.5;
    border: 1px solid #dddddd;
    background-color: #fff;
    font-size: clamp(14px,2vw,16px);
    letter-spacing: 2px;
    text-align: center;
}
@media only screen and (max-width: 1024px){
  .pro-btn { gap: 1em 1.5em; }
  .pro-btn li { width: calc(50% - 1.5em); }
}

.pro-btn li a {
  position: relative;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 1;
  display: flex;
  justify-content: center;
}/*連結範圍*/

/*產品設備-圖文格*/
.pro-box img { width: 50%; height: auto; object-fit: cover; float: right; margin-left: 10px;}
.pro-box [class^=col-] { background-color: #444;  border: 5px solid #333; padding:10px;}

/*產品設備-第二層*/
body.p-1, body.p-2, body.p-3, body.p-4 {
  #main-wrap { background-color: #333;}
  .fcol.fcol-1 { width: 100% !important; padding:0 1vw; }
  .h1title h1 {color: #fff;}
  h2 {
    color: #fff;
    font-size: clamp(24px, 3vw, 26px);
    line-height: 1.5;
    text-align: center;
  }
  h2 span {
    font-size: clamp(12px, 3vw, 18px);
    line-height: 1.5;
    display: block;
    margin-bottom: 10px;
  }
  h3 {
    color: #fff;
    font-size: clamp(16px, 3vw, 24px);
    line-height: 1.2;
  }
  h3 span {
    font-size: clamp(12px, 2vw, 18px);
    line-height: 1.2;
    display: block;
    margin-bottom: 10px;
  }
  p { color: #fff;
    font-size: clamp(12px, 2vw, 14px);
    line-height: 1.5;
  }
}

/*footer*/
#footer { color: var(--bg); }
#foot-nav {
    clear: both;
    padding: 1em 0 0;
    border-bottom: 1px solid #444;
    display: flex;
    justify-content: center;
}

/*owl 輪播圖語法*/
.owl-carousel.owl-theme {
  padding: 0 20px 35px;/*內距:上 左右 下;*/
}
.owl-carousel.owl-theme .owl-nav {
  position: absolute;
  margin: 0;
  top:35%;
  left: 0;
  right: 0;
  transform: translateY(0%);
}
.owl-carousel.owl-theme .owl-dots {
  position: relative;
  left: 0;
  right: 0;
  bottom: 0;
}
.owl-carousel.owl-theme button:focus {
  outline: none;
}
.owl-carousel.owl-theme .owl-nav .owl-prev {
  float: left;
  transform: translateX(-100%);
}
.owl-carousel.owl-theme .owl-nav .owl-next {
  float: right;
  transform: translateX(100%);
}
.owl-carousel.owl-theme .owl-nav .owl-prev:hover,
.owl-carousel.owl-theme .owl-nav .owl-next:hover{
  background: none;
  color: inherit;
}
.owl-carousel.owl-theme .owl-nav .fa{
  font-size: 3em; /*箭頭大小*/
}

.editmode .owl-carousel.owl-loaded {
  display: flex;
  flex-wrap: wrap;
}
.editmode .owl-carousel > div {
  flex: 0 0 25%;
  max-width: 25%;
}

.owl-carousel .owl-item img {
  object-fit: cover;  /*cover圖片剪裁不拉伸壓縮 ; contain不拉伸壓縮.等比縮放)*/
  display: block;
  width: 100%;
  height: auto; 
  aspect-ratio: 4 / 3;  /*比例*/
  border: 2px solid #fff;
  box-shadow: 0 6px 5px rgba(44,44,44,0.25);
}
.owl-carousel .row-no-gutters {
    margin-right: 5px;
    margin-left: 2px;
}

/*產品介紹圖文特效*/
:root{
--btn-color:#58a6ff; /* 背景(科技藍) var(--btn-color)*/
}

figure.snip1249 {
  position: relative;
  overflow: hidden;
  margin: 0 auto;
  width: 100%;
  height: 100%;
  background: #333;
  box-shadow: var(--shadow);
  font-family: verdana, geneva;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border: 2px solid var(--card);
}
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: 100%;
    aspect-ratio: 16 / 9;
    vertical-align: top;
    padding: 5px; 
    object-fit: cover;
    background-color: #fff;
}
figure.snip1249:hover img{
  opacity: 0.8;
}

figure.snip1249 .t-en { 
  font-size: 10px;
  font-weight: 400;
  color: #58a6ff; 
  letter-spacing: 1px; 
  margin-bottom: 5px;
  text-transform: uppercase;
}

figure.snip1249 h3 {
  margin: 0;
  font-size: clamp(20px,2vw,24px);
  font-weight: 700;
  color: var(--text2);  
  letter-spacing: 1px;
}

figure.snip1249 p {
  margin: 0;
  font-size: 14px;
  font-weight: 400;
  text-align: justify;
  line-height: 1.5;
}
figure.snip1249 figcaption {
  padding: 10px 20px;
    color: #fff;
    position: relative;
    display: flex;
    flex-direction: column;
}

figure.snip1249 .btn-more {
border: 1px solid var(--btn-color);
    padding: 5px 10px;
    color: var(--btn-color);
    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(--btn-color);
  color: #ffffff;
}
figure.snip1249 a {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 2;
}

/*首頁-解決方案*/
.Solutions img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 1em;
  border: 1px solid #fff;
  box-shadow: var(--shadow);
  margin-bottom: 4px;
}
.Solutions h4 {
  color: var(--text);
  font-size: clamp(18px,2vw,22px);
}
.Solutions h4 span {
  color: #fff;
  font-size: 14px;
  text-transform: uppercase;
  display: block;
  background-image: var(--gradient);
  padding: 0 8px;
  text-align: right;
}
.Solutions ul {
  list-style-type: circle;
  margin-left: 1.5rem;
  font-size: 14px;
  color: #000; line-height: 1.5;
}