
.phone{position:fixed;right:1%;top:35%;z-index:1000;}
.line-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;
  }
}

.fcol h2 { 
  color: #2a69d0;
  font-size: clamp(28px, 3vw, 40px);/*最小值 首選值 最大值 限制屬性值區間*/
  line-height:2;
}

.fcol h3 { 
  color: #2a69d0;
  font-size: clamp(24px, 3vw, 30px);/*最小值 首選值 最大值 限制屬性值區間*/
  line-height:2;
}

.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: #2a69d0;
  font-size: clamp(22px, 2vw, 40px);
  line-height: 40px;
}


.topnavbar {
    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: center;
  padding: 0;
}

.topnavbar .container::after {
  display: inline-block;
  width: 100%;
}


#logo { display: block; }

#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; /* 強制圖片寬度隨容器變更 */
}


/*頁籤底拉寬*/
#header .topnavbar .container {
    padding-left: 60px;
    padding-right: 60px;
    width: 100%;
}
#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: #2a69d0;/*頁籤滑過文字顏色*/
  /*letter-spacing:5px;*/
}

#nav ul li.current a {
    color: #2a69d0;/*頁籤按下後文字顏色*/
    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: #2a69d0; /*次頁籤滑過底圖顏色*/
}

#nav li.has-subnav ul li a:hover::before { display:none;}

#nav li.has-subnav ul li.current a {
   color: #2a69d0;/*次頁籤按下後文字顏色*/    
}

#side ul li.current>div a {
    color: #2a69d0;
}

#bodyinhome .fcol.fcol-2 {
   width: 100%;
   background-attachment: scroll; /*fixed固定背景; scroll捲動背景*/
   background-repeat: no-repeat;
   background-position:center;
   background-size: cover;/*cover圖片剪裁不拉伸壓縮 ; contain不拉伸壓縮.等比縮放)*/
   background-image:  -webkit-linear-gradient(top, rgb(0 0 0 / 50%) 0%, rgb(0 0 0 / 50%) 100%), url(https://static.iyp.tw/409809/files/5ad463fb-70d4-4eb9-ab5d-5389cd0d8c52.jpg);
   background-color: #222;
  padding:3em 0;
}

#bodyinhome .fcol.fcol-3 {
    background-color: #4e5861;
}

/*#bodyinhome .fcol.fcol-4 .container {
    width: 100%;
}*/

#bodyinhome .fcol.fcol-4 {
    background-color: #fff;
}
#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(top, rgb(0 0 0 / 50%) 0%, rgb(0 0 0 / 50%) 100%), url(https://static.iyp.tw/409809/files/453a9e0b-23d9-4ecd-ac72-39816792628e.jpg);
   background-color: #222;
  padding:3em 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.0em;
}

#foot-nav {
    clear: both;
    padding: 1em 0;
    border-bottom: 1px solid #c6c6c6;
}
#foot-nav ul li a {
    display: block;
    color: #fff;
    font-size: 1.0em;
    margin-right: 10px;
    padding: 8px 16px;
}

#foot-nav ul li.current a {  color: #fff; }


body {
    background-color: #fff;/*背景底色*/
    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);
}


/*footer-聯絡我們區塊效果*/
.f_contact ol li {
    padding: 14px;
    margin: 8px 8px 8px 8px;
    display: inline-block;
    min-height: 66px;
    width: calc(25% - 19px);
    border-radius: 5px;
    line-height: 32px;
    border: 2px solid #7825c1;
    box-shadow: 0px 0px 5px -2px rgba(0,0,0,.5) inset;
}
@media only screen and (max-width: 1080px){
.f_contact ol li { width: calc(50% - 19px);}
}
@media only screen and (max-width: 768px){
.f_contact ol li { width: calc(100% - 19px);}
}


/*首頁圖文按鈕*/
figure.snip1142 {
  position: relative;
  overflow: hidden;
  margin: 0 auto;
  max-width: 350px;
  width: 100%;
  height: 100%;
  background: #fff;
  color: #333;
  text-align: left;
  box-shadow: 0 0 5px rgba(0, 0, 0, 0.15);
}

figure.snip1142 * {
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  -webkit-transition: all 0.35s cubic-bezier(0.25, 0.5, 0.5, 0.9);
  transition: all 0.35s cubic-bezier(0.25, 0.5, 0.5, 0.9);
}

figure.snip1142 img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: contain;
  background-color: #fff;
}

figure.snip1142 figcaption {
  position: relative;
  background-color: #ffffff;
  padding: 25px;
}

figure.snip1142 h3 {
  font-size: 1.2em;
  color: #000;
  margin: 0;
  text-transform: uppercase;
  font-weight: 700;
}

figure.snip1142 p {
  font-size: 1em;
  font-weight: 400;
  text-align: left;
  margin: 0;
  line-height: 1.6em;
}

figure.snip1142 a { color: #000; }
figure.snip1142 a:hover { color: #2a69d0; }

figure.snip1142:hover img,
figure.snip1142.hover img {
  -webkit-transform: scale(1.1);
  transform: scale(1.1);
  opacity: 0.6;
  -webkit-filter: grayscale(100%);
  filter: grayscale(100%);
}

/*標題裝飾斜線*/
.greyLine {
  position: relative;
  margin: -3em 0 0 9em;
  height: 5em;
  width: 1px;
  background: #ccc;
  display: block;
  transform: rotate(45deg);
}