.phone{position:fixed;right:1%;top:30%;z-index:1000;}
.fb{position:fixed;right:1%;top:42%;z-index:1000;}
.ig{position:fixed;right:1%;top:54%;z-index:1000;}
.x-twitter{position:fixed;right:1%;top:66%;z-index:1000;}


@import url("https://cdn.jsdelivr.net/npm/bootstrap-icons@1.10.0/font/bootstrap-icons.css");/*--- 套用bootstrap-icons圖示字型*/

/*手機版-側欄浮動按鈕-縮小*/
@media (max-width: 414px){ 
  .phone, .fb, .line-1, .ig, .map, .wechat, .shop-1, .x-twitter, .pixnet { 
    transform: scale(0.8);
    right:0;
  }
}

h4 {
   background: linear-gradient(to top, #b1b1b1, #fff, #fff);
   background-clip: text;
   -webkit-background-clip: text;
   color: transparent;
}


/*側邊文字顏色*/
#side ul li a {  color: #fff;}
#side ul li a:hover {  color: #edb458;}
#side ul li.current>div a { color: #edb458;}

/* 消除產品頁空白*/
body[data-type="fullpage"] .main {
    min-height: 50px;
}

/*產品標題文字*/
.product-list-div h2 {text-shadow: 0 0px 0 #efe0d8;}
.product-list-div h2 a {   color: #fff;}
.product-list-div h2 a:hover {  color: #fff;}
body[data-type="fullpage"] .product-list-div h2 a.show-all:hover { color: #fff;}
ul.product-list li a { background-color: #212121;}

/*點進去產品標題大字小字*/
.productdetail .detail-spec b {
    color: #fff;
    margin-bottom: 5px;
    padding: 3px 8px;
    box-shadow: 0 1px 0 #ffffff;
    font-size: 14px;
    text-shadow: 0 0px 0 #fff;
}

.productdetail .detail-spec h2 {
    color: #fff;
    font-size: 30px;
    line-height: 1.3;
    margin: 4px 0 8px 0;
    text-shadow: 0 0px 0 #fff;
}

ul.product-list li a.focus h3, ul.product-list li a:hover h3 {
    color: #fff;     
}
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: #fff;
    overflow: hidden;
    padding: 0 16px;
    
}

ul.product-list li .desc {   color: #ffffff;}
ul.product-list li a:hover .desc {   color: #ffffff;}



#bodyinhome .fcol.fcol-6, body.about-us .fcol.fcol-6 {
  /* background-repeat: no-repeat;/*; scroll捲動背景*/
    background-repeat: no-repeat;
   background-position: 10% 50%;
   background-size: cover;/*cover圖片剪裁不拉伸壓縮 ; contain不拉伸壓縮.等比縮放)*/
   background-image: -webkit-linear-gradient(top, rgba(0,0,0,0.6) 0% ,rgba(0, 0, 0, 0.6) 100%) , url(https://static.iyp.tw/409832/files/2c151616-0fc7-4baa-8f88-bb35e116462e.jpg);
   padding: 5rem 0;
}


body.about-us .fcol.fcol-3, body.about-us .fcol.fcol-4, body.about-us .fcol.fcol-5  {
  display:none;
}

/* 背景小圓點*/
body {
  font-family: 'Noto Sans TC', sans-serif;
  background-color: #fff;
}

.topnavbar .container {
  text-align: center;
  padding: 0px;
}

.topnavbar .container::after {
  content: "";
  display: inline-block;
  width: 100%;
}

/* 首頁與內頁共用 */
.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(710 / 1920 * 100%); /* 首頁 banner 大小 */
}

/* 內頁 */
#bodyinpage .swiper-wrapper, #bodyinpage .swiper-slide {
  padding-bottom: calc(710 / 1920 * 100%); /* 內頁 banner 大小 */
}


.topnavbar {
   background-color: #f05827;
    position: relative;/*頁籤&banner分開不重疊*/
    padding: 0;/*頁籤間距*/
}


#nav ul li a {
    white-space: nowrap;
    overflow: hidden;
    -ms-text-overflow: ellipsis;
    text-overflow: ellipsis;
    display: block;
    color: #fff;
    line-height: 1.3;
    transition: .3s;
    padding: 7px 16px 7px 16px;
    font-size:16px;
}


#nav ul li a:hover {
    color: #000000;
}

#nav ul li.current a {
    color: #000000;
} 

#nav ul li a::before {
  content:"";
  border-bottom:3px solid #000000;
  width:0;
  position:absolute;
  left:0;
  right:0;
  top:0px;
  margin:0 auto;
  transition:.3s all ease;
}
#nav ul li a:hover::before {
    width: 50%;
}

#nav .subnav a::before {
 display: none;
}

#nav .subnav {
  background-color: #272727;
}

body[data-type="fullpage"]:not(#managehome) #wrap>*:not(:last-child) {
    margin-bottom: 0px;
}


h1, h2, h3, h5, h6, .h1, .h2, .h3, .h5, .h6 {
    font-family: inherit;
    font-weight: 500;
    line-height: inherit;
    color: #f05827;
}


/* 文字放大手機*/
@media only screen and (max-width: 768px){
body {
     font-size: 16px;/*螢幕寬度768px內文字大小*/
     color: #313131;
}

#footer {
   font-size: 12px;
}
}


/* 文字放大電腦*/
@media only screen and (min-width: 768px){
#main-wrap .container {
    font-size:16px;
  line-height:30px;
  color: #313131;
}
  

#foot-nav .container {
    font-size:10px;
    line-height:15px;
}}



#foot-nav ul li a span {
    background-color: #f05827;
    border-radius: 30px;
    padding:5px 15px;
}

#foot-nav ul li a {
    color: #fff;
    text-align: center;
    padding: 8px 3px;
}

/*服務介紹*/
.s-item  {
  background-color: #fff;
  border: 1px solid #eee;
  border-radius: 10px;
  padding:15px;
  height: 100%;
  box-shadow: -1px 34px 26px -23px #999999;
}
.s-item img {
  width: 140px;
    background-color: #eee;
    border-radius: 100%;
    margin: -80px 0 0;
}
.s-item h3 {
  font-size: 20px;
  font-weight: 700;
  line-height: 2.0;
  letter-spacing: 2px;
  color: #00a0e9;
}
.s-item h4 {
  font-size: 16px;
  font-weight: 500;
  line-height: 1.5;
  letter-spacing: 2px;
  color: #080808;
}
.s-item p {
  font-size: 16px;
  line-height: 1.5;
  text-align: justify;
}

/*服務項目*/
/*圖文連結特效*/
.snip1585 {
  background-color: #fff;
  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%;
   border: 1px solid #ddd;
}

.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;
}



/*了解更多*/
.bg-icon1  {
  margin-left: auto; 
  margin-right: auto;
  transition:.3s all ease;
  padding: 5px 20px;
  color: #fff;
  text-align: center;
  font-size: 18px;
   border: 1px solid #f05827;
  font-family: 'Noto Sans TC', sans-serif;
  margin: 5px;
  border-radius: 0.5rem;
  background-color: #000;
}



.bg-icon1 a { color:#fff;}

/*內頁文特效*/
.service-item {
            background-color: #404040;
            border-radius: 8px;
            padding: 20px;
            transition: all 0.3s ease-in-out;
            box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}
.service-item:hover {
            transform: translateY(-10px);
            box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
        }

/*聯絡我們*/
.pc2 {
  text-align: center;
  width: 100%;
  height:70px;
  clip-path: polygon(100% 0, 100% 80%, 58% 100%, 0 79%, 0 0, 53% 17%);
  background-color: #767676;
  display: flex; 
  flex-direction: column; 
  justify-content: center;
   margin: 10px 0px; 
}
