.phone{position:fixed;right:1%;top:40%;z-index:1000;}
.line-1{position:fixed;right:1%;top:55%;z-index:1000;}
.map{position:fixed;right:1%;top:70%;z-index:1000;}

/*UL大標 https://steam.oxxostudio.tw/category/html/tags/ul-li.html*/
ul.a {
  list-style-type: disc;
}

ul.b {
  list-style-type: square;
  margin-left: 1em;
}

ul.c {
  list-style-type: disc;/*實心*/
  margin-left: 1em;
  color:#000;
}

ol.d {
  list-style-type: decimal;
  margin-left: 1em;
}


/*手機版-側欄浮動按鈕-縮小*/
@media (max-width: 414px){ 
  .phone, .fb, .line-1, .ig, .map, .wechat, .shop-1, .x-twitter, .pixnet { 
    transform: scale(0.8);
    right:0;
  }
}

.topnavbar {
    background-color: #a08343;/*頁籤底圖顏色;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;
}

#logo h1 { text-align: center; }

table {
table-layout: fixed;
word-wrap:break-word;
} /*動到表格手機不會破版*/


/*編輯欄設定*/
.fcol p{
    font-size: 18px;/*文字大小*/
    color: #000000;/*文字顏色*/
    line-height: 2;
}
@media only screen and (max-width: 768px){
.fcol p{
    font-size: 16px;/*螢幕寬度768px內文字大小*/
}}

body[data-type="fullpage"] #product-header.main {
      min-height: auto;/*產品-編輯框不設定高*/
}
/*編輯欄設定*/


/*nav*/
#nav ul li a {
    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: #fff100;/*頁籤滑過文字顏色*/
}
#nav ul li.current a {
    color: #fff100;/*頁籤按下後文字顏色*/
}

#nav .subnav {
    background-color: #fff;/*次頁籤底色*/
    max-width: 400px;/*次頁籤背景最大寬度*/
    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;/*下拉選單箭頭距離*/
}

ul.product-list li a {
  color: #2276d2;/*產品格文字顏色*/
  background-color: #fff;  /*產品格底色*/
  border: 0px solid #ddd;
  border-radius: 0px;
}
ul.product-list li a:hover {
    color: #2276d2;/*產品格滑過文字顏色*/
}
.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: #333333;
}

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; /* 強制圖片寬度隨容器變更 */
}


#bodyinhome .fcol.fcol-1 {
 width: 100%;
   /*background-color: #231a15;*/
  background: url(https://static.iyp.tw/409478/files/c04551c1-8a27-44e6-994c-62f958aa00f8.png) no-repeat scroll center bottom transparent; 
   position: relative;
}


#bodyinhome .fcol.fcol-2, body.about-us .fcol.fcol-2 {
background-color: #a08343;/*頁籤底圖顏色;background-color: rgba(255,255,255,0);透明Transparent*/
}

#bodyinhome .fcol.fcol-3 .container {
  background-image: -webkit-linear-gradient(top, #eee 50%, #fff 50%);
  width: 100%;
  padding:0px;
}

#bodyinhome .fcol.fcol-4 {
   width: 100%;
   background: url(https://static.iyp.tw/409478/files/667bc124-aa8d-4089-b71e-1d16fef1b052.png)no-repeat center bottom;/*底圖*/
}

#bodyinhome .fcol.fcol-5 {
   background-color: #fafaf3;
}


body.about-us .fcol.fcol-1 .container {
  padding-bottom:0px;
}

body.about-us .fcol.fcol-2, #bodyinhome .fcol.fcol-6 {
  background-repeat: no-repeat;
   background-position: 0% 50%;
   background-size: cover;/*cover圖片剪裁不拉伸壓縮 ; contain不拉伸壓縮.等比縮放)*/
   background-image: -webkit-linear-gradient(left, rgba(0, 115, 178, 0.0) 0% ,rgba(0, 0, 0, 0.0) 100%) , url(https://static.iyp.tw/409478/files/a9975fb9-715c-4c08-8b3c-374747952238.jpg);
  display: flex; 
  align-items: center;
  height: 600px; 
  }



body[data-type="fullpage"]:not(#managehome) #wrap>*:not(:last-child) {
    margin-bottom: 0px;
}

/*圖文連結特效*/
.snip1504 {
  position: relative;
  overflow: hidden;
  margin: 0 auto 0;
  min-width: 150px;
  width: 100%;
  color: #fff;
  text-align: center;
  background-color: #000000;
}

.snip1504 * {
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  -webkit-transition: all 0.45s ease;
  transition: all 0.45s ease;
}

.snip1504 img {
  object-fit: cover;  /*cover圖片剪裁不拉伸壓縮 ; contain不拉伸壓縮.等比縮放)*/
  vertical-align: top;
  width: 100%;
  aspect-ratio: 4 / 3;
  backface-visibility: hidden;
  opacity: 0.5;
}

.snip1504 figcaption {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1;
  align-items: center;
  bottom: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.snip1504 figcaption:after {
  content: '';

    background-size: cover;
    position: absolute;
    width: auto;
    height: 95%;
    aspect-ratio: 3 / 4;
    opacity: 0.3;
}
.snip1504:hover figcaption:after {
    opacity: 0;
}

.snip1504 h3,
.snip1504 h5 {
  margin: 0;
  opacity: 1;
  letter-spacing: 2px;
}

.snip1504 h3 {
  -webkit-transform: translateY(0);
  transform: translateY(0);
  text-transform: uppercase;
  font-weight: 400;
  font-size: 22px;
}

.snip1504 h5 {
  font-weight: normal;
  font-style: italic;
  color: #f5c53a;
  font-size: 12px;
  -webkit-transform: translateY(0);
  transform: translateY(0);
}

.snip1504 a {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 1;
}

.snip1504:hover > img,
.snip1504.hover > img {
  opacity: 1;
}

.snip1504:hover h3,
.snip1504.hover h3,
.snip1504:hover h5,
.snip1504.hover h5 {
  -webkit-transform: translateY(-100%);
  transform: translateY(-100%);
  opacity: 0;
}

/*響應欄表格col-4 col-5 col-6 col-7 手機版強制2欄 寬度50%*/
@media only screen and (max-width: 576px){
.serve-item .col-4 { max-width: 50%;}
.serve-item .col-5 { max-width: 50%;}
.serve-item .col-6 { max-width: 50%;}
.serve-item .col-7 { max-width: 50%;}
}


