.phone{position:fixed;right:1%;top:20%;z-index:1000;}

/*根元素*/
:root{
--bg:#ffffff; /* 背景(白) var(--bg)*/
--card:#f1f1f1; /* 卡片底(淺灰) var(--card)*/
--text:#4442c5; /* 主要文字(藍) var(--text)*/
--text2:#6f86d6; /* h3次要文字(藍) var(--text2)*/
--text3:#00bcd4; /* h4次要文字(灰紫) var(--text3)*/
--green:#40b144;/* 綠色 var(--green)*/
--blue:#3F51B5; /* 藍色 var(--blue)*/
--orange:#FF9800; /* 橙色 var(--orange)*/
--red:#f32e37; /* 紅色 var(--red)*/
--shadow: 0 5px 10px rgba(0,0,0,.25); /* 陰影 var(--shadow)*/
--gradient: linear-gradient(120deg, #6f86d6 0%, #48c6ef 100%); /* 漸層 var(--gradient)*/
}


@media only screen and (min-width: 768px){
.word1 {border-bottom: 2px solid #f75626; margin-right: -50px;}
.text_word {  -webkit-writing-mode: vertical-lr; margin-left: auto;  margin-right: auto;}
}  

/*CSS圖形-線-方塊*/
.greyLine {
    position: relative;
    margin: 0 auto;
    height: 5rem;
    width: 1px;
    background: var(--text);
    display: block;
    margin-bottom: 2rem;
}
.greyLine::after {
    content: '';
    display: block;
    position: absolute;
    height: 0.625rem;
    width: 0.625rem;
    background: var(--text);
    transform: rotate(45deg);
    bottom: -0.625rem;
    left: -0.3125rem;
}

/*手機版-側欄浮動按鈕-縮小*/
@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, #0d248a, #8068ef, #8068ef);
   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: var(--text);
  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: #4942ce;/*連結顏色*/
    text-decoration: none;
}

.swiper-container {
  height: auto !important; /* 將容器預設的高拿掉 */
}

.swiper-wrapper, .swiper-slide {
  height: 0 !important;
  padding-bottom: calc(700 / 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: var(--text);/*頁籤滑過文字顏色*/
  letter-spacing:5px;
}

#nav ul li.current a {
    color: var(--text);/*頁籤按下後文字顏色*/
    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: var(--text); /*次頁籤滑過底圖顏色*/
}

#nav li.has-subnav ul li a:hover::before { display:none;}

#nav li.has-subnav ul li.current a {
   color: var(--text);/*次頁籤按下後文字顏色*/    
}
/*
body.about-us .fcol.fcol-1 {
    background-color: #9ca6af;
}*/  



#bodyinhome .fcol.fcol-3 .container {
    width: 100%;

}

#bodyinhome .fcol.fcol-3 {
  color: #ffffff;
  padding-top: 60px;
  background-color:#ed4370;
 display: block;
 position: relative;
 height: auto;
 background-image: url('data:image/svg+xml;utf8,<svg viewBox="0 0 1910 415" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"><path fill="rgba(223, 223, 223, 1)" d="M 0 153 C 234.4 153 351.6 97 586 97 L 586 97 L 586 0 L 0 0 Z" stroke-width="0"></path> <path fill="rgba(223, 223, 223, 1)" d="M 585 97 C 903.8 97 1063.2 171 1382 171 L 1382 171 L 1382 0 L 585 0 Z" stroke-width="0"></path> <path fill="rgba(223, 223, 223, 1)" d="M 1381 171 C 1596.6 171 1704.4 86 1920 86 L 1920 86 L 1920 0 L 1381 0 Z" stroke-width="0"></path></svg>') ,-webkit-linear-gradient(45deg, #fff 0% ,#fff  100%);
 /*background-size: cover;*/
 background-repeat: no-repeat;
}

#bodyinhome .fcol.fcol-4 {
  background-attachment: fixed; 
   background-position: 50% 10%;
   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/19630/files/d77333de-6e1f-4579-8504-31320f7dc1bf.jpg);
   padding: 5rem 0;
 } 
  
  
body.about-us .fcol.fcol-2 {
  background-attachment: fixed; 
   background-position: 50% 10%;
   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/19630/files/d77333de-6e1f-4579-8504-31320f7dc1bf.jpg);
   padding: 5rem 0;
 } 
  
/*title文字顏色*/
body.about-us  .h1title {display: none;}
.fcol.fcol-header .container { padding: 0px;/*頁籤間距*/}
/* 消除空白*/
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.2em;
}

#foot-nav {
    clear: both;
    padding: 1em 0;
    border-bottom: 1px solid #8e8e8e;
}
#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;
}

/*圖文連結特效*/
.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;
}

/* 產品頁圖片滿版*/
ul.product-list div.img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/*了解更多*/
.bg-icon1  {
  margin-left: auto; 
  margin-right: auto;
  transition:.3s all ease;
  padding: 5px 20px;
  color: #888888;
  text-align: center;
  font-size: 18px;
   border: 1px solid #dcdcdc;
  font-family: 'Noto Sans TC', sans-serif;
  margin: 5px;
  border-radius: 0.5rem;
}


.bg-icon1 a { color:#888888; }

.bg-icon1:hover  {
  background-color: #fff;
}