/*phone icon*/
.phone{position:fixed;right:1%;top:20%;z-index:1000}
.phone_01{position:fixed;right:1%;top:35%;z-index:1000}
/*line icon*/
.line-1{position:fixed;right:1%;top:50%;z-index:1000}
/*google icon*/
.line-2{position:fixed;right:1%;top:65%;z-index:1000}
.FB{position:fixed;right:1%;top:80%;z-index:1000}

/*手機版-側欄浮動按鈕-縮小*/
@media (max-width: 414px){ 
  .phone, .phone_01, .fb, .line-1, .ig, .map, .wechat, .shop-1, .x-twitter, .pixnet { 
    transform: scale(0.8);
    right:0;
  }
}

ul.product-list div.img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
h4 {
   background: linear-gradient(to top, #667eea, #764ba2, #667eea);
   background-clip: text;
   -webkit-background-clip: text;
   color: transparent;
}


/*圓點標題*/
.t-1 h3 {
  color: #282864;
  font-size: clamp(1.0rem, 3vw, 1.8rem); 
  line-height:1.5;
  font-weight: bold;
}
.t-1 h3::before { 
    content: '';
    display: block;

    height: 3rem;
    width: 3rem;
    background-color: #8ba8ff;
    border-radius: 100%;
    margin-left: -10px;
    margin-bottom: -3rem;
    z-index: -1;
}



/*了解更多*/
.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 #5e3ddb;
  background-color: #5e3ddb;
  border-radius: 20px;
}

.bg-icon1:hover  {
  background-color: #2e6ef8; 
  color: #fff;
}

.bg-icon1 a { color:#fff;}


/*產品*/  
.service-item2 li {
            background-color: #f8f9fa;
            border-radius: 8px;
            padding: 10px 20px;
            transition: all 0.3s ease-in-out;
            box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
            margin-bottom: 20px;
}
.service-item2  li:hover {
            transform: translateY(-10px);
            box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.service-item2  {
            margin-bottom: 10px;
 }

/*服務項目*/ 
.service-item h2 {  
  position: relative;
  color: #282864; 
  font-size: 25px;
 margin: 10px 10px 10px 0px;
  
}

.service-item h2:before {
   position: absolute;
  content: '';
  bottom: -3px;
  left: 0;
  width: 50px;
  height: 50px;
  background-color: #8ba8ff;
  border-radius: 50%;
  z-index:-1;
}

.service-item h2:after {
position: absolute;
  content: '';
  bottom: -3px;
  left: 10px;
  width: 100%;
  border-bottom: solid 3px #282864;
}


.service-item ul {  
  color: #000; 
  font-size: 18px;
  list-style-type: disc;/*disc實心 ecimal 數字*/
  margin-left: 1em;
}


.topnavbar .container {
  text-align: center;
}

.topnavbar .container {
  font-size: 0;
  padding:0px;
}

#logo h1 {
    height: 70px;
}


@media only screen and (max-width: 768px){
  .pc {  display:none;}
}  
  
.topnavbar {
    background-color: #fff;/*頁籤底圖顏色;background-color: rgba(255,255,255,0);透明Transparent*/
    position: relative;/*relative 頁籤&banner分開不重疊;頂置 fixed;*/
    padding: 0;/*頁籤間距*/
}

#nav {
  vertical-align: bottom;
}


#nav ul li a {
    font-size:16px;/*頁籤文字大小*/
    color: #333;/*頁籤文字顏色*/
    letter-spacing:1px;
    padding: 10px 10px;/*頁籤文字間隔;padding:2px 16px 2px 16px;*/
    line-height: 1.3;
    transition: .3s;
  vertical-align: bottom;
}

#nav ul li a:hover  {
    background-image: linear-gradient(to top, #0045d0, #fff);
    color: #fff;/*頁籤滑過文字顏色*/
 
}

#nav ul li.current a {
    color: #0c1f45;/*頁籤按下後文字顏色*/
}
/*頁籤按鈕上底線滑入特效-底線短*/

#nav .subnav {
    background-color: #fff;/*次頁籤底色*/
    max-width: 400px;/*次頁籤背景最大寬度*/
   
}

#nav li.has-subnav ul li a {font-size:14px; padding: 5px 5px; text-align: left;}

#nav li.has-subnav ul li a:hover {
   color: #fff;/*次頁籤滑過後文字顏色*/
   background-color: #1b44cb;
 
}


/* 商品格*/
ul.product-list li a { 
  color: #fff;
  background-color: #1b44cb;
}
ul.product-list li a:hover { color: #fff;}

body[data-type="fullpage"] .product-list-div h2 a.show-all {
    color: #ffffff;
    background: #1b44cb;
    transition-property: left, color;
    padding: 0px 20px;
}

body[data-type="fullpage"] .product-list-div h2 a.show-all:hover {
    color: #ffcb00;
}

.product-list-div h2 {  text-shadow: 0 0px 0 #fff;}

body[data-type="fullpage"]:not(#managehome) #wrap>*:not(:last-child) {
    margin-bottom: 0px;
}

body[data-type="fullpage"] #product-header.main {
      min-height: auto;/*產品-編輯框不設定高*/
}

body.about-us .h1title {display:none;}

body.about-us .fcol.fcol-2 {
  background-repeat: no-repeat;
   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/1213/files/502575ab-0443-4040-b74d-27349842b208.jpg);
   padding: 5rem 0;
   border-top-style:solid;
  border-top-color:#3366ff; 
  background-color:#e5e5e5;
}




#bodyinhome .fcol.fcol-5 {  
  background: linear-gradient(135deg, transparent 600px,#191919 600px, #3b75cd 100%); 
  background-color: #191919;
  padding: 5rem 0;
}

#bodyinhome .fcol.fcol-6, body.about-us .fcol.fcol-6 {
 /*background-attachment: fixed; /*fixed固定背景; scroll捲動背景*/
   background-repeat: no-repeat;
   background-position: 50% 50%;
   background-size: cover;/*cover圖片剪裁不拉伸壓縮 ; contain不拉伸壓縮.等比縮放)*/
   background-image: -webkit-linear-gradient(top, rgba(0,0,10,0.6) 0% ,rgba(0,0,0, 0.6) 100%) , url(https://static.iyp.tw/1213/files/7a7bcc3e-5a21-4b53-a239-d073ad15e563.jpg);
   padding: 5rem 0;
}

#bodyinhome .fcol.fcol-6 .container, body.about-us .fcol.fcol-6 .container {  
  background-color: #4d58ea;

}

/*title文字顏色*/
.h1title {
    color: #0045d0;
}

a {
    color: #00b7ee;/*連結顏色*/
    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(700 / 1920 * 100%); /* 首頁 banner 大小 */
}

/* 內頁 */
#bodyinpage .swiper-wrapper, #bodyinpage .swiper-slide {
  padding-bottom: calc(700 / 1920 * 100%); /* 內頁 banner 大小 */
}

/* 消除空白*/
body[data-type="fullpage"]:not(#managehome) #wrap>*:not(:last-child) {
    margin-bottom: 0px;
}

/* 內頁消除空白*/
body.about-us .fcol.fcol-header .container {
    padding: 0px;
} 



body {
  font-family: 'Noto Sans TC', sans-serif;
   color: #000;/*背景底色*/
}

#main-wrap {
    font-size: 18px;
}

#footer {
    background-color: #1d3898;
    color:#fff;
}




/*圖文連結特效*/
.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;
}


/*產品-區塊項目li效果—5格*/
.pro_item ul li {
    padding: 5px;
    margin: 5px;
    display: inline-flex;
    flex-wrap: wrap;
    align-items: center;
    flex-direction: column;
    width: calc(25% - 10px);
    border-radius: 5px;
    line-height: 1.5;
    border: 1px solid #dddddd;
    background-color: #fff;
  font-size: 15px;
  font-family: 'Noto Sans TC', sans-serif;
  font-weight: 500;
  text-align: center;
}
.pro_item a { color:#666 ;font-size: 15px;}

.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); }
}

/*服務申請流程箭頭*/
#Process-bg {
    border-radius: 15px;
    background-color:#fff;
    padding: 20px 15px 2px 15px;
    margin: 0 1rem;
    height: 90%;
    box-shadow: 0px 0px 10px rgba(0,0,0,.5);  
}
#Process::after {
  font-family: "Font Awesome 6 Free";
  content: "\f0a9"; /*向右箭頭*/
  position: relative;
  bottom: 50%;
  left: 57%;
  font-size: 20px;
  font-weight: 700;
} 
@media only screen and (max-width: 760px){
#Process::after {
  content: "\f0ab"; /*向下箭頭*/
  position: relative;
  bottom: 0;
  top:2.5%;
  left: 0;
}}
