/*根元素*/
:root{
--bg:#ffffff; /* 背景(白) var(--bg)*/
--card:#e8e8e3; /* 卡片底(淺灰) var(--card)*/
--text:#0451a3; /* 主要文字(藍) var(--text)*/
--text2:#4f86d6; /* h3次要文字(藍) var(--text2)*/
--text3:#00bcd4; /* h4次要文字(藍) var(--text3)*/
--green:#40b144;/* 綠色 var(--green)*/
--blue:#004a99; /* 藍色 var(--blue)*/
--orange:#FF9800; /* 橙色 var(--orange)*/
--yellow:#fff000;/* 黃色 var(--yellow)*/
--shadow: 0 5px 10px rgba(0,0,0,.25); /* 陰影 var(--shadow)*/
--gradient: linear-gradient(120deg, #6f86d6 0%, #1c3381 100%); /* 漸層 var(--gradient)*/
}

.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;
  }
}

/*我們的優勢*/
@media only screen and (min-width: 768px){
.line2 {border-top: 1px solid #4f86d6;}
}


.line_04{
    height: 1px;/*高度爲1px,可根據實際修改*/
    width: 100%;
    background: #265cae;
}
.innerline {
    display: block;
    width: 150px;
    height: 2px;
    background: #265cae;
    margin-top: -1px;/*很重要，否則兩條線不在同一水平面*/
}

/*動到表格手機不會破版*/
table {
  table-layout: fixed;
  word-wrap:break-word;
} 

/* 全畫面背景*/
body {
	 background-image: -webkit-linear-gradient(left, rgb(255 255 255 / 80%) 100%, rgb(255 255 255 / 80%) 100%),url(https://static.iyp.tw/409837/files/80156eda-edc1-4cad-8d91-6a3734ca33a1.jpg); 
  background-repeat: no-repeat;
	-webkit-background-size: cover;
	-moz-background-size: cover;
	-o-background-size: cover;
	background-size: cover;
	margin: 0px;
	padding: 0px;
  background-attachment: fixed;
}



/* 手機版背景*/
@media only screen and (max-width: 768px){
body {
    width:100%;
    height:100%;
   background-image: -webkit-linear-gradient(left, rgb(255 255 255 / 80%) 100%, rgb(255 255 255 / 100%) 100%),url(https://static.iyp.tw/409837/files/80156eda-edc1-4cad-8d91-6a3734ca33a1.jpg); 
  background-repeat: no-repeat;
  background-attachment: fixed;
  background-position: center;
  background-size: cover;/*設定背景圖片的填滿方式*/
  margin:0px;
  padding:0px;
}}



body {
    font-family: 'Noto Serif TC', sans-serif;/*套用google font字型Noto Sans TC黑體*/
}

.topnavbar {
    background-color: #fff;/*頁籤底圖顏色;background-color: rgba(255,255,255,0);透明Transparent*/
    position: relative;/*relative 頁籤&banner分開不重疊;頂置 fixed;*/
    line-height: 0;
    padding: 0;/*頁籤間距*/
}


@media only screen and (min-width: 768px){
.topnavbar .container {
  text-align: justify;
  font-size: 0;
  padding: 0;/*頁籤間距*/
}

.topnavbar .container::after {
  content: "";
  display: inline-block;
  width: 100%;
}}


/*動到表格手機不會破版*/
table {
  table-layout: fixed;
  word-wrap:break-word;
} 

/*編輯欄設定*/
.fcol p{
    font-size: clamp(16px, 2vw, 18px); /*最小值 首選值 最大值 限制屬性值區間*/
    color: #000000;/*文字顏色*/
    line-height: 2;
}

body[data-type="fullpage"]:not(#managehome) #wrap>*:not(:last-child) {
    margin-bottom: 0px;
}

body[data-type="fullpage"] #product-header.main {
      min-height: auto;/*產品-編輯框不設定高*/
}

.fcol h2 { 
  color: var(--text);
  font-size: clamp(26px, 3vw, 36px);/*最小值 首選值 最大值 限制屬性值區間*/
  line-height:2;
}

.fcol h3 { 
  color: var(--text2);
  font-size: clamp(24px, 3vw, 30px);/*最小值 首選值 最大值 限制屬性值區間*/
}

.fcol h4 { 
  color: var(--text3);
  font-size: clamp(20px, 3vw, 24px);/*最小值 首選值 最大值 限制屬性值區間*/
}

/*nav*/
#nav {
    vertical-align: bottom;
}
#nav ul li a {
    white-space: normal; /*自動換行*/
    font-size: 1.0rem;/*頁籤文字大小*/
    color: #000;/*頁籤文字顏色*/
    padding: 10px 20px;/*頁籤文字間隔;padding:2px 16px 2px 16px;*/
    line-height: 1.3;
    transition: .3s;
}

#nav ul li a:hover  {
    color: var(--text);/*頁籤滑過文字顏色*/
    border-top: 1px solid var(--text3);
    border-radius: 30px;
}
#nav ul li.current a {
    color: var(--text);/*頁籤按下後文字顏色*/
    font-weight: 500;
}

#nav .subnav {
    background-color: #fff;/*次頁籤底色*/
    max-width: 400px;/*次頁籤背景最大寬度*/
    width: max-content;/*最大內容*/
    text-align: left;
}

#nav li.has-subnav ul li a:hover {
  border-top: 0px solid var(--text3);
  border-radius: 0px;
}


#nav li.has-subnav ul li.has-subnav>div a::after, #nav>ul>li.has-subnav>a::after {
    padding-left: 2px;/*下拉選單箭頭距離*/
}

/*產品頁*/
#side h3 {
  /*background-color: var(--card);*/
  background-image: var(--gradient);
  border-radius: 10px 10px 0 0;
  font-size: 1.4em;
  font-weight: 700;
  color: #fff;
}
#side ul li a {
  font-size: 16px;
  color: #333;
}
#side ul li a:hover {
  color: var(--text);
}

ul.product-list li a {
    color: var(--text);
    background-color: #eee;
}
ul.product-list li a:hover {
    color: var(--text2);
}
.productdetail .detail-spec h2 p{
    color: #333;
    font-size: 30px;
}/*產品內頁標題文字*/


/*title文字顏色*/
.h1title h1{
    color: var(--text);
}

a {
    color: var(--text3);/*連結顏色*/
    text-decoration: none;
}

a:hover {
    color: var(--text2);/*連結顏色*/
    text-decoration: none;
}

/* 首頁與內頁共用 */
.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(750 / 1920 * 100%); /* 首頁 banner 大小 */
}

/* 內頁 */
#bodyinpage .swiper-wrapper, #bodyinpage .swiper-slide {
  padding-bottom: calc(500 / 1920 * 100%); /* 內頁 banner 大小 */
}

#bodyinhome .fcol.fcol-1 {
  background-image: -webkit-linear-gradient(-45deg, #f5f5f5 40%, #fff 40%);
}

#bodyinhome .fcol.fcol-2 .container, #bodyinhome .fcol.fcol-3 .container  {
 width: 100%;
}

#bodyinhome .fcol.fcol-3 {
    background-repeat: no-repeat;
   background-position: 50% 50%;
   background-size: cover;/*cover圖片剪裁不拉伸壓縮 ; contain不拉伸壓縮.等比縮放)*/
   background-image: -webkit-linear-gradient(left, rgba(0,0,0,0.0) 0% ,rgba(232, 232, 227, 1.0) 100%) , url(https://static.iyp.tw/409837/files/ae0ee805-4872-4a94-a0e1-42015410a0d1.jpg);
  display: flex; 
  align-items: center;
}


#bodyinhome .fcol.fcol-3,
#bodyinhome .fcol.fcol-5,
#bodyinhome .fcol.fcol-6 {  padding: 3em 0 ; }

@media only screen and (min-width: 768px){
#bodyinhome .fcol.fcol-4 {  
background-image: -webkit-linear-gradient(90deg,#fff 70% ,rgb(0 0 0 / 0%)  70%),url(https://static.iyp.tw/409837/files/12e89f99-e50e-4e63-867e-5706694d5f8a.jpg);
  background-repeat: no-repeat;
  background-position: 50% 50%;
  background-size: cover;/*cover圖片剪裁不拉伸壓縮 ; contain不拉伸壓縮.等比縮放)*/
  padding: 3em 0;
}}

@media only screen and (max-width: 768px){
#bodyinhome .fcol.fcol-4 {  
background-image: -webkit-linear-gradient(90deg,#fff 90% ,rgb(0 0 0 / 0%)  90%),url(https://static.iyp.tw/409837/files/12e89f99-e50e-4e63-867e-5706694d5f8a.jpg);
  background-repeat: no-repeat;
  background-position: 50% 50%;
  background-size: cover;/*cover圖片剪裁不拉伸壓縮 ; contain不拉伸壓縮.等比縮放)*/
  padding: 3em 0;
}}


#bodyinhome .fcol.fcol-6 {  background-color: var(--card); }

body.about-us .fcol.fcol-2 {
    background-repeat: no-repeat;
   background-position: 50% 50%;
   background-size: cover;/*cover圖片剪裁不拉伸壓縮 ; contain不拉伸壓縮.等比縮放)*/
   background-image: -webkit-linear-gradient(left, rgba(255,255,255,0.8) 0% ,rgba(255, 2255, 255, 0.8) 100%) , url(https://static.iyp.tw/409837/files/12e89f99-e50e-4e63-867e-5706694d5f8a.jpg);
  display: flex; 
  align-items: center;
  padding: 3em 0;
}

body.about-us .fcol.fcol-3 {
    background-image: -webkit-linear-gradient(90deg,#fff 00% ,rgb(0 0 0 / 0%)  0%),url(https://static.iyp.tw/409837/files/181187e2-5312-4a30-a26d-9f7e3a61b76b.jpg);
  background-repeat: no-repeat;
  background-position: 50% 50%;
  background-size: cover;/*cover圖片剪裁不拉伸壓縮 ; contain不拉伸壓縮.等比縮放)*/
  padding: 3em 0;
}

body.about-us .fcol.fcol-6, body.about-us .fcol.fcol-4, body.about-us .fcol.fcol-5
{display:none;}

body.scg .h1title, body.slg .h1title {display:none;}


/*footer*/
#footer {
    color: #fff;
    /* background-color: #222; */
    background-image: var(--gradient);
}
#footer a { color: #fff; }
#footer a:hover { color: var(--yellow); }

#contact-info ul li span {color: #fff;}

#foot-nav ul li a {
    display: block;
    color: #fff;
    font-size: 14px;
    margin-right: 15px;
    padding: 3px 10px;
    background-color:var(--text);
    border-radius: 10px;
}
#foot-nav ul li a:hover { background-color: var(--text2);}

#foot-nav {
  clear: both;
  padding: 2em 0 1em;
  border-bottom: 0px solid #444;
  display: flex;
  justify-content: center;
}

/*按鈕-文字底色變化特效*/
.custom-btn {
    padding: 5px 25px;
    outline: none !important;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    display: inline-block;
}

.btn-more1 {
    border-radius: 30px;
    border: 1px solid #ddd;
    color: var(--text);
    font-size: clamp(16px, 3vw, 20px);
    background-color: var(--bg);
    font-weight: 500;
}
.btn-more1:hover{
    background-color: var(--text2); /* 當滑鼠經過時按鈕表格底色變化 */
    color: #fff;/* 當滑鼠經過時按鈕表格文字變化 */
}



/*內文效果(有偽元素裝飾)*/
.t-1 h2 { 
  font-size: clamp(20px,2vw,24px);
  color: var(--text);
  line-height: 1.5;
}
.t-1 h3 {
  color: var(--text2);
  font-size: clamp(1.5rem, 3vw, 2rem); 
  line-height:1.5;
}
.t-1 h3::before { 
    content: '';
    display: block;
    position: relative;
    height: 3rem;
    width: 3rem;
  background-image: var(--gradient);
    background-color: #48c6ef;
    border-radius: 100%;
    margin-left: -10px;
    margin-bottom: -2.5rem;
    z-index: -1;
}

.t-1 h4 {
  color: var(--text3);
  font-size: clamp(20px, 2vw, 26px); 
  line-height:1.5;
}

.t-1 ol { list-style-type: decimal; margin-left: 1.5rem; font-size: 18px;  color: #000; line-height: 1.5;}
.t-1 ul { list-style-type: square; margin-left: 1.5rem; font-size: 16px; color: #000; line-height: 1.5;}



/*手機版漢堡選單*/
.navbar .container {
    background-color: #333; /*導覽列背景顏色樣式*/
}
.navbar-icon-bar {
  width: 28px; /* 三變大*/
  height: 4px; 
  background-color: #fff; /* 填入想要的三條線顏色 */

}
.navbar-icon-bar:before, .navbar-icon-bar:after {
    background-color: #fff; /* 填入想要的三條線顏色 */
}
.navbar .rwd-navbar-toggle {
    padding-right: 100% !important;/*導覽列寬度*/
}
.navbar .rwd-navbar-toggle .label {
    left: 45px;
    font-size: 1.0rem; /*導覽列文字尺寸*/
    color: #fff; /*導覽列文字顏色樣式*/
    background-color: var(--text2);/*導覽列文字背景顏色*/
    border-radius: 3px;
    padding: 4px;
}
@media only screen and (max-width: 767px){
.rwd-side .nav li {
    border-bottom: 1px #ccc dashed; /* 展開連結文字底虛線 */
}
.rwd-side .nav span {
    color: #fff; /* 展開連結文字顏色 */
}}

/*主要服務項目*/
.decorate-line {
    width: 20%;
    height: 1px;
    margin: -300px 0 10px 10px;
    background-color: #fff;
    transform: rotate(-45deg);
}

/*主要服務項目*/
        .subtitle {
            color: #7f8c8d;
            font-size: 1.2rem;
            max-width: 600px;
            margin: 0 auto;
        }
        
           .product-list {
            list-style: none;
            counter-reset: product-counter;
        }
        
        .product-item {
            padding: 25px;
            margin-bottom: 25px;
            background: #f8f9fa;
            border-radius: 10px;
            border-left: 6px solid #1c3381;
            transition: all 0.3s ease;
            position: relative;
            counter-increment: product-counter;
   
        }
     
        .product-item:hover {
            transform: translateY(-5px);
            box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
            background: #fff;
        }      
        .product-item::before {
            content: counter(product-counter);
            position: absolute;
            left: -20px;
            top: -15px;
            background: #1c3381;
            color: white;
            width: 50px;
            height: 50px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-weight: bold;
            font-size: 1.5rem;
            box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
            z-index: 1;
        }

        .product-content {
            color: #444;
            padding-left: 15px;
            font-size: 1.1rem;
            line-height: 1.7;
        }

/*圖文連結特效*/
@import url(https://fonts.googleapis.com/css?family=Raleway:400,500,800);
figure.snip1084 {
  color: #fff;
  position: relative;
  overflow: hidden;
  margin: 0 auto 0;
  min-width: 220px;
  max-width: 100%;
  max-height: 400px;
  width: 100%;
  background: #000000;
  text-align: center;
}

figure.snip1084 * {
  -webkit-box-sizing: padding-box;
  box-sizing: padding-box;
  -webkit-transition: all 0.3s ease-out;
  transition: all 0.3s ease-out;
}

figure.snip1084 img {
  opacity: 2;
  width: 100%;
   object-fit: cover; 
  height: 400px; /*高度*/
}

figure.snip1084 figcaption {
  top: 50%;
  left: 40px;
  right: 40px;
  position: absolute;
  -webkit-transform: translateY(-50%);
  transform: translateY(-50%);
}

figure.snip1084 figcaption h2 {
  position: relative;
  font-weight: 400;
  font-weight:bold;
  color: #fff;
  text-transform: uppercase;
  margin: 0;
  -webkit-transform: translateY(75%);
  transform: translateY(75%);
  text-shadow: black 0.1em 0.1em 0.2em;
  font-size: 2.0em;
}

figure.snip1084 figcaption h2 span {
  font-weight: 800;
  
}

figure.snip1084 figcaption p {
  font-size: 0.9em;
  font-weight: 500;
  opacity: 0;
  margin: 0;
  color: #fff;
}

figure.snip1084:before,
figure.snip1084:after {
  position: absolute;
  top: 20px;
  right: 20px;
  bottom: 20px;
  left: 20px;
  content: '';
  opacity: 0;
  -webkit-transition: opacity 0.6s, -webkit-transform 0.6s;
  transition: opacity 0.6s, -webkit-transform 0.6s, -moz-transform 0.6s, -o-transform 0.6s, transform 0.6s;
}

figure.snip1084:before {
  border-top: 1px double #fff;
  border-bottom: 1px double #fff;
  -webkit-transform: scale(0, 1);
  transform: scale(0, 1);
}

figure.snip1084:after {
  border-right: 1px double #fff;
  border-left: 1px double #fff;
  -webkit-transform: scale(1, 0);
  transform: scale(1, 0);
}

figure.snip1084 a {
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  position: absolute;
  z-index: 1;
}

figure.snip1084.blue {
  background: #0a212f;
}

figure.snip1084.red {
  background: #1176bd;
}

figure.snip1084.yellow {
  background: #ff9b52;
}

figure.snip1084:hover img,
figure.snip1084.hover img {
  opacity: 0.2;
  -webkit-filter: blur(5px);
  filter: blur(5px);
  -webkit-transform: scale(1.1);
  transform: scale(1.1);
}

figure.snip1084:hover figcaption h2,
figure.snip1084.hover figcaption h2,
figure.snip1084:hover figcaption p,
figure.snip1084.hover figcaption p {
  opacity: 1;
  border-color: rgba(17, 118, 189, 0.5);
  -webkit-transition-delay: 0.2s;
  transition-delay: 0.2s;
  -webkit-transform: translateY(0);
  transform: translateY(0);
}

figure.snip1084:hover figcaption p,
figure.snip1084.hover figcaption p {
  -webkit-transition-delay: 0.3s;
  transition-delay: 0.3s;
}

figure.snip1084:hover:before,
figure.snip1084.hover:before,
figure.snip1084:hover:after,
figure.snip1084.hover:after {
  opacity: 0.8;
  -webkit-transform: scale(1);
  transform: scale(1);
}

/*產品-區塊項目li效果—5格*/
.pro_item ul li {
    padding: 10px;
    margin: 5px;
    display: inline-flex;
    flex-wrap: wrap;
    flex-direction: column;
    width: calc(49% - 10px);
    border-radius: 5px;
    line-height: 1.5;
    border: 1px solid #dddddd;
    background-color: #fff;
  font-weight: 500;
  box-shadow: var(--shadow);
  font-size: 16px;
}

.pro_item a { color:#666 ;}

.pro_item a:hover { 
  opacity: 0.8;   
  -webkit-transition: all 0.3s ease;
  transition: all 0.3s ease;
}
@media only screen and (max-width: 991px){
 .pro_item ul li { width: calc(33% - 10px); font-size: 14px;}
  .pro_item a { font-size: 14px;}
}
@media only screen and (max-width: 768px){
 .pro_item ul li { width: calc(50% - 10px); }
}
@media only screen and (max-width: 567px){
 .pro_item ul li { width: calc(100% - 10px); }
}

/*防水塗料*/
ul.c {
  list-style-type: disc;
  margin-left: 1em;
}

ul.c li {
  border-bottom: 1px solid #7a7a7a; 
  padding:10px;
    display: flex; 
  justify-content: space-between;
}
/*
ul.b li::marker {
  color: #4983e1;  
}*/

ul.b {
  color: #000;  
font-size: 18px; 


}

ul.b li {
  border-bottom: 0px solid #7a7a7a; 
  padding:0px;
  color: #000;
}

/*fcol 欄位要加寬 鍵頭才會出現在左右*/
#bodyinhome .fcol.fcol-6 .container{
  max-width:100%;
  width:80%;
  padding:40px 0;
}

/*owl 輪播圖語法*/
/*owl 輪播圖語法*/
.owl-carousel.owl-theme {
  padding: 0 20px 35px;/*內距:上 左右 下;*/
   text-align: center;
}
.owl-carousel.owl-theme .owl-nav {
  position: absolute;
  margin: 0;
  top:35%;
  left: 0;
  right: 0;
  transform: translateY(0%);
}
.owl-carousel.owl-theme .owl-dots {
  position: relative;
  left: 0;
  right: 0;
  bottom: 0;
}
.owl-carousel.owl-theme button:focus {
  outline: none;
}
.owl-carousel.owl-theme .owl-nav .owl-prev {
  float: left;
  transform: translateX(-100%);
}
.owl-carousel.owl-theme .owl-nav .owl-next {
  float: right;
  transform: translateX(100%);
}
.owl-carousel.owl-theme .owl-nav .owl-prev:hover,
.owl-carousel.owl-theme .owl-nav .owl-next:hover{
  background: none;
  color: inherit;
}
.owl-carousel.owl-theme .owl-nav .fa{
  font-size: 3em; /*箭頭大小*/
}

.editmode .owl-carousel.owl-loaded {
  display: flex;
  flex-wrap: wrap;
}
.editmode .owl-carousel > div {
  flex: 0 0 25%;
  max-width: 25%;
}

.owl-carousel .owl-item img {
  object-fit: cover;  /*cover圖片剪裁不拉伸壓縮 ; contain不拉伸壓縮.等比縮放)*/
  display: block;
  width: 80%;
  height: auto; 
  border: 10px solid #fff;
  box-shadow: 0 6px 5px rgba(44,44,44,0.25);
}

.owl-carousel .row-no-gutters h3 { font-size: 20px;}

.owl-carousel .row-no-gutters {
    margin-right: 20px;
    margin-left: 15px;
}