.phone{position:fixed;right:1%;top:20%;z-index:1000;}
.line-1{position:fixed;right:1%;top:35%;z-index:1000;}
.youtube-1{position:fixed;right:1%;top:50%;z-index:1000;}

body {
   background-attachment: fixed; 
   background-repeat: no-repeat;
   background-position: 50% 10%;
   background-size: cover;/*cover圖片剪裁不拉伸壓縮 ; contain不拉伸壓縮.等比縮放)*/
   background-image: -webkit-linear-gradient(top, rgba(225,214,198, 0.0) 60% ,rgba(225,214,198, 0.0) 100%) , url(https://static.iyp.tw/409924/files/15333f51-3ab4-4136-a61b-dcff7d0de72a.jpg);

}

/*手機版-側欄浮動按鈕-縮小*/
@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, #004ce7, #002c91, #002c91);
   background-clip: text;
   -webkit-background-clip: text;
   color: transparent;
  font-size: clamp(24px, 3vw, 40px);
  font-weight: 700;
  line-height:40px;
}

.container h3 {
   color: #5b8de8;
  font-size: clamp(22px, 2vw, 30px);
  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: 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: #002e92;/*連結顏色*/
    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; /* 強制圖片寬度隨容器變更 */
}


/*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: #0e56af;/*頁籤滑過文字顏色*/
  letter-spacing:5px;
}

#nav ul li.current a {
    color: #0e56af;/*頁籤按下後文字顏色*/
    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: #ea5d4c; /*次頁籤滑過底圖顏色*/
}

#nav li.has-subnav ul li a:hover::before { display:none;}

#nav li.has-subnav ul li.current a {
   color: #f7ce3e;/*次頁籤按下後文字顏色*/    
}
/*
body.about-us .fcol.fcol-1 {
    background-color: #9ca6af;
}*/  




body.about-us .fcol.fcol-3 {
    background-color: rgba(176, 176, 176, 0.5);
   padding: 30px;
}


body.about-us .fcol.fcol-6 {
background-attachment: scroll; /*fixed固定背景; scroll捲動背景*/
   background-repeat: no-repeat;
   background-position: center;
   background-size: cover;/*cover圖片剪裁不拉伸壓縮 ; contain不拉伸壓縮.等比縮放)*/
   background-image: -webkit-linear-gradient(top ,rgba(0, 0, 0, 0.2) 70% ,#4e5861  70%), url(https://static.iyp.tw/409924/files/a1be80fb-efe3-48a3-9cf4-1feebfe52fbf.jpg);  
   background-color: #4e5861;
   padding: 3rem 0;
}

/*title文字顏色*/
body.about-us  .h1title {display: none;}
.fcol.fcol-header .container { padding: 0px;/*頁籤間距*/}

.h1title {font-size: 22px;}
/* 消除空白*/
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 #a3a3a3;
}
#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;
}

/*產品*/  
.service-item {
            background-color: #f8f9fa;
            border-radius: 8px;
            padding: 20px;
            transition: all 0.3s ease-in-out;
            box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
            height: 100%
}
.service-item:hover {
            transform: translateY(-10px);
            box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
        }
 .service-item i {
            font-size: 40px;
            color: #253852;
            margin-bottom: 10px;
 }
.service-item h2 {
            font-size: 22px;
            color: #333;
            margin-bottom: 10px;
}
.service-item p {
            font-size: 16px;
            color: #666;
            line-height: 1.6;
 }

.service-item img {
  aspect-ratio: 4 / 3;
  object-fit: cover;
 }

/*首頁-about*/
@media only screen and (min-width: 768px){
  .t-box {
    z-index: 2;
    right: -4em;
  }
  .t-bg { 
    background-color: rgb(255 255 255 / 70%); 
    padding: 3em 4em; 
  }
}
@media only screen and (max-width: 767px){ .t-bg { background-color: #fff; padding: 2em 3em; }}

.img-about {
  position: relative; /* 設置相對定位，方便控制偽元素位置 */
}
.img-about img {
  position: relative;
  z-index:1;
  display: block;
}
.img-about::after {
  content: ""; /* 偽元素的內容設為空 */
  position: absolute; /* 絕對定位 */
  left: -30%;
  bottom: 5%;
  width: 100%;
  height: 85%; 
  border: 10px #ddd solid;
}


/*標題裝飾線*/
.border-1 {position: relative; border-top: 1px solid #cccccc; width: 100%; margin: 10px auto;}
.border-1::after {
    content: "";
    position: absolute;
    top: -5px;
    left: -10px;
    width: 10px;
    height: 10px;
    background-color: #002e92;
    z-index: 1;
}

