.phone{position:fixed;right:1%;top:20%;z-index:1000;}
.line-1{position:fixed;right:1%;top:35%;z-index:1000;}
.youtube-1{position:fixed;right:1%;top:50%;z-index:1000;}


/*手機版-側欄浮動按鈕-縮小*/
@media (max-width: 430px){ 
  .phone, .fb, .line-1, .ig, .map, .wechat, .shop-1, .x-twitter, .pixnet, .youtube-1, .tiktok , .thread { 
    transform: scale(0.8);
    right:0;
  }
}



.container h4 {
   background: linear-gradient(to top, #0e56af, #2b2b2b, #2b2b2b);
   background-clip: text;
   -webkit-background-clip: text;
   color: transparent;
  font-size: clamp(24px, 3vw, 40px);
  font-weight: 700;
  line-height:40px;
}


/*套用google font字型Noto Serif TC明體*/
#t-500{
  font-family: 'Noto Serif TC', serif;
  font-weight: 500;
    color: #2a69d0;
  font-size: clamp(22px, 2vw, 40px);
  line-height: 40px;
}


.topnavbar {
 /* background-color: Transparent;*/
    background-color: #dfdfdf;/*頁籤底圖顏色;background-color: rgba(255,255,255,0);透明Transparent*/
    position: relative;/*relative 頁籤&banner分開不重疊;頂置 fixed;*/
    line-height: 0;
    padding: 0;/*頁籤間距*/
}

.topnavbar .container {
  text-align: justify;
  padding: 10px 0 0 0;
}

.topnavbar .container::after {
  display: inline-block;
  width: 100%;
}

#logo h1 {
    height: 70px;
}


a {
    color: #00b7ee;/*連結顏色*/
    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; /* 強制圖片寬度隨容器變更 */
}


/*nav*/
#nav {
    vertical-align: bottom;
}

/*nav*/
#nav ul li a {

    font-size: 1.0rem;/*頁籤文字大小*/
    color: #000;/*頁籤文字顏色*/
    padding: 10px 11px;/*頁籤文字間隔;padding:2px 16px 2px 16px;*/
    line-height: 1.3;
    transition: .3s;
}

#nav ul li a:hover  {
    color: #0e56af;/*頁籤滑過文字顏色*/
  letter-spacing:5px;
}

#nav ul li.current a {
    color: #0e56af;/*頁籤按下後文字顏色*/
    font-weight: 500;
}


/*次頁籤文字顏色*/ 
#nav .subnav {
    text-align: left;
    background-color: #ffffff;/*次頁籤底色*/
}
#nav .subnav a { font-size: 14px; }

#nav li.has-subnav ul li a:hover {
   color: #fff;/*次頁籤滑過後文字顏色*/   
    background-color: #ea5d4c; /*次頁籤滑過底圖顏色*/
}

#nav li.has-subnav ul li a:hover::before { display:none;}

#nav li.has-subnav ul li.current a {
   color: #f7ce3e;/*次頁籤按下後文字顏色*/    
}
/*
body.about-us .fcol.fcol-1 {
    background-color: #9ca6af;
}*/  

body.about-us .fcol.fcol-3 {
    background: linear-gradient(to right, #0048ff, #000000);
   padding: 30px;
}


body.about-us .fcol.fcol-6 {
background-attachment: scroll; /*fixed固定背景; scroll捲動背景*/
   background-repeat: no-repeat;
   background-position: center;
   background-size: cover;/*cover圖片剪裁不拉伸壓縮 ; contain不拉伸壓縮.等比縮放)*/
   background-image: -webkit-linear-gradient(top ,rgba(0, 0, 0, 0.2) 70% ,#000250  70%), url(https://static.iyp.tw/409858/files/64f385a9-5e4e-4fdb-9454-a2bf2bd53f96.jpg);  
   background-color: #000250;
   padding: 3rem 0;
}

/*title文字顏色*/
body.about-us  .h1title {display: none;}
.fcol.fcol-header .container { padding: 0px;/*頁籤間距*/}

.h1title {font-size: 22px;}
/* 消除空白*/
body[data-type="fullpage"]:not(#managehome) #wrap>*:not(:last-child) {
    margin-bottom: 0px;
}

body[data-type="fullpage"] #product-header.main {
      min-height: auto;/*產品-編輯框不設定高*/
}

/*改內文標題顏色*/
h1, h2, h3, h5, h6, .h1, .h2, .h3, .h4, .h5, .h6 {
    font-family: inherit;
    font-weight: 500;
    line-height: inherit;
    color: #000;
}

ul.product-list li a.focus h3, ul.product-list li a:hover h3 {
    color: #082453;
}
ul.product-list li h3 {
    flex: 1 0 auto;
    max-height: 3.15rem;
    margin: 0.7rem 0;
    font-size: 1.05rem;
    line-height: 1.5;
    color: #082453;
    overflow: hidden;
    padding: 0 16px;
}

#side ul li a {
    color: #222;
   font-size: 16px;
}

.product-list-div h2 a {
    color: #2a69d0;
    text-decoration: none;
    display: inline-block;
}

.product-list-div h2 {text-shadow: 0 0px 0 #fff;}

body[data-type="fullpage"] .product-list-div h2 a.show-all {
    color: #fff;
    transition-property: left, color;
  padding: 0px 20px;
    background-color: #2a69d0;
}

body[data-type="fullpage"] .product-list-div h2 a.show-all:hover {
    color: #fff;
}


body[data-type="fullpage"]:not(#managehome) #wrap>*:not(:last-child) {
    margin-bottom: 0px;
}

body[data-type="fullpage"] #product-header.main {
      min-height: auto;/*產品-編輯框不設定高*/
}


#main-wrap .container {
    font-size: clamp(16px, 2vw, 18px);
  line-height:30px;
  color: #2d2d2d;
}

/*footer*/
#footer {
    background-color: #4e5861;
    color: #fff;
  font-size: 1.0em;
}

#foot-nav {
    clear: both;
    padding: 1em 0;
    border-bottom: 1px solid #a3a3a3;
}
#foot-nav ul li a {
    display: block;
    color: #fff;
    font-size: 1.02em;
    margin-right: 10px;
    padding: 8px 16px;
}

#foot-nav ul li.current a {  color: #fff; }

#footer-service #copyright { display: none;}


body {
    background-color: #dfdfdf;/*背景底色*/
    font-family: 'Noto Sans TC', sans-serif;/*套用google font字型Noto Sans TC黑體*/
}

/*UL大標 https://steam.oxxostudio.tw/category/html/tags/ul-li.html*/
ul.a {
  list-style-type: circle;
}

ul.b {
  list-style-type: square;
}

ul.c {
  list-style-type: ecimal;/*disc實心 ecimal 數字*/
  margin-left: 1em;
}

ul.c li::marker{
  color: #333399;
}

/*服務項目-圖文左右(手機版上下)特效*/
@import url(https://fonts.googleapis.com/css?family=Raleway:400,500,700);
.snip1244 {
  font-family: 'Raleway', Arial, sans-serif;
  color: #fff;
  position: relative;
  margin:0 auto;
  min-width: 480px -60px;
  max-width: 600px;
  width: 100%;
  color: #ffffff;
  text-align: left;
  background-color: #464646;
  font-size: 16px;
  overflow:hidden;
}

@media only screen and (min-width: 1280px){
figure.snip1249 { display: inline-flex; }   
}

.snip1244 * {
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  -webkit-transition: all 0.4s ease-in;
  transition: all 0.4s ease-in;
}
.snip1244 img {
  position: relative;
  max-width: 50%;
  height: 300px;
  object-fit: cover; 
  vertical-align: top;
  transform:scale(1,1);
}

.snip1244:hover img {
  position: relative;
  max-width: 50%;
  height: 300px;
  object-fit: cover; 
  vertical-align: top;
  transform:scale(1.1,1.1);
}

.snip1244 figcaption {
  position: absolute;
  top: 0;
  right: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  padding: 20px 0 20px 50%;
}
.snip1244 figcaption:before,
.snip1244 figcaption:after {
  width: 1px;
  height: 0;
}
.snip1244 figcaption:before {
  right: 0;
  top: 0;
}
.snip1244 figcaption:after {
  left: 0;
  bottom: 0;
}
.snip1244 h3,
.snip1244 p {
  line-height: 1.5em;
  padding: 0 30px;
  color: #fff;
}
.snip1244 h3 {
  margin: 0 0 5px;
  font-weight: 700;
  text-transform: uppercase;
}
.snip1244 p {
  font-size: 0.8em;
  font-weight: 500;
  margin: 0 0 15px;
}
.snip1244 a {
  position: absolute;
  top: 0;
  bottom: 0;
  right: 0;
  left: 0;
  z-index: 1;
}
.snip1244:before,
.snip1244:after,
.snip1244 figcaption:before,
.snip1244 figcaption:after {
  position: absolute;
  content: '';
  background-color: #ffffff;
  z-index: 1;
  -webkit-transition: all 0.4s ease-in;
  transition: all 0.4s ease-in;
  opacity: 0.8;
}
.snip1244:before,
.snip1244:after {
  height: 1px;
  width: 0%;
}
.snip1244:before {
  top: 0;
  left: 0;
}
.snip1244:after {
  bottom: 0;
  right: 0;
}
.snip1244:hover figcaption,
.snip1244.hover figcaption {
  opacity: 1;
  background-color: rgba(255, 255, 255, 0.05);
}
.snip1244:hover figcaption:before,
.snip1244.hover figcaption:before,
.snip1244:hover figcaption:after,
.snip1244.hover figcaption:after {
  height: 100%;
}
.snip1244:hover:before,
.snip1244.hover:before,
.snip1244:hover:after,
.snip1244.hover:after {
  width: 100%;
}
.snip1244:hover:before,
.snip1244.hover:before,
.snip1244:hover:after,
.snip1244.hover:after,
.snip1244:hover figcaption:before,
.snip1244.hover figcaption:before,
.snip1244:hover figcaption:after,
.snip1244.hover figcaption:after {
  opacity: 0.1;
}
@media only screen and (max-width: 480px) {
  .snip1244 img {
    max-width: 100%;
  }
  .snip1244:hover img {
    max-width: 100%;
  }
  
  .snip1244 figcaption {
    position: relative;
    padding-left: 0px;
  }
}

/*產品分類*/
@import url(https://fonts.googleapis.com/css?family=Raleway:400,500);
figure.snip1212 {
  font-family: 'Raleway', Arial, sans-serif;
  color: #fff;
  position: relative;
  overflow: hidden;
  margin:0 auto;
  min-width: 220px;
  max-width: 600px;
  max-height: 300px;
  width: 100%;
  color: #000000;
  background-image: -webkit-linear-gradient(top, #ffffff 0%, #000 70%);
  background-image: linear-gradient(to bottom, #ffffff 0%, #000 70%);
}

figure.snip1212 * {
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  -webkit-transition: all 0.35s ease;
  transition: all 0.35s ease;
}

figure.snip1212 img {
  max-width: 100%;
}

figure.snip1212 figcaption {
  position: absolute;
  bottom: 0%;
  left: 0;
  width: 100%;
  z-index: 1;
  -webkit-transform: translateY(100%);
  transform: translateY(100%);
}


figure.snip1212 p {
  margin: 0;
  width: 100%;
  padding: 10px 20px;
}

figure.snip1212 h2 {
  color: #ffffff;
  position: absolute;
  bottom: 100%;
  display: inline-block;
  font-weight: 400;
  text-transform: uppercase;
  padding:10px;
}

figure.snip1212 p {
  background: rgba(255, 255, 255, 1.0);
  text-align: right;
  bottom: 0;
  font-size: 0.8em;
  font-weight: 500;
}

figure.snip1212 a {
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  position: absolute;
  z-index: 1;
}

figure.snip1212:hover img,
figure.snip1212.hover img {
  opacity: 0.4;
}

figure.snip1212:hover figcaption,
figure.snip1212.hover figcaption {
  -webkit-transform: translateY(0);
  transform: translateY(0);
}


/*協作機器人優勢*/
.card {
        background: #fff;
        padding: 40px 30px;
        position: relative;
        text-align: center;
        height: 100%;
    }

    /* 左右直線 */
    .card::before,
    .card::after {
        content: "";
        position: absolute;
        top: 40px;
        bottom: 40px;
        width: 4px;
        background: #1fa84a;
    }

    .card::before {
        left: 12px;
    }

    .card::after {
        right: 12px;
    }

    /* Icon 區 */
    .icon-box {
        width: 90px;
        height: 90px;
        margin: 0 auto 20px;
        background: #1fa84a;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .icon-box img {
        width: 50px;
        height: 50px;
    }

    h4 {
        margin: 10px 0 5px;
        font-size: 20px;
        font-weight: normal;
    }

    .subtitle {
        font-size: 14px;
        color: #666;
        margin-bottom: 20px;
    }

    .text-zh {
        text-align: left;
        font-size: 16px;
        line-height: 1.8;
        margin-bottom: 20px;
    }

    .text-en {
        text-align: left;
        font-size: 13px;
        line-height: 1.6;
        color: #777;
    }


/*圖文連結特效*/
.snip1585 {
  background-color: rgb(41, 46, 57);
  color: #fff;
  display: inline-block;
  font-size: 24px;
  margin: 0 auto 0;
  max-width: 100%;
  min-width: 160px;
  overflow: hidden;
  position: relative;
  text-align: center;
  width: 100%;
}

.snip1585 * {
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  -webkit-transition: all 0.45s ease;
  transition: all 0.45s ease;
}

.snip1585:before,
.snip1585:after {
  background-color: rgba(46, 52, 64,  0.5);
  border-top: 50px solid rgba(46, 52, 64, 0.5);
  border-bottom: 50px solid rgba(46, 52, 64, 0.5);
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  content: '';
  -webkit-transition: all 0.3s ease;
  transition: all 0.3s ease;
  z-index: 1;
  opacity: 0;
}

.snip1585:before {
  -webkit-transform: scaleY(2);
  transform: scaleY(2);
}

.snip1585:after {
  -webkit-transform: scaleY(2);
  transform: scaleY(2);
}

.snip1585 img {
  vertical-align: top;
  width: 100%;
  height: 300px;
  backface-visibility: hidden;
  object-fit: cover;  /*cover圖片剪裁不拉伸壓縮 ; contain不拉伸壓縮.等比縮放)*/
}

.snip1585 figcaption {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  align-items: center;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  line-height: 1.1em;
  opacity: 0;
  z-index: 2;
  -webkit-transition-delay: 0s;
  transition-delay: 0s;
}

.snip1585 h3 {
  font-size: 1em;
  font-weight: 400;
  letter-spacing: 1px;
  margin: 0;
  text-transform: uppercase;
    color: #fff;
}

.snip1585 h3 span {
  display: block;
  font-weight: 600;
  font-size:16px;
    color: #fff;
}

.snip1585 a {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 3;
}

.snip1585:hover > img,
.snip1585.hover > img {
  opacity: 0.7;
}

.snip1585:hover:before,
.snip1585.hover:before,
.snip1585:hover:after,
.snip1585.hover:after {
  -webkit-transform: scale(1);
  transform: scale(1);
  opacity: 1;
}

.snip1585:hover figcaption,
.snip1585.hover figcaption {
  opacity: 1;
  -webkit-transition-delay: 0.1s;
  transition-delay: 0.1s;
}
