.phone{position:fixed;right:1%;top:40%;z-index:1000;}
.phone_02{position:fixed;right:1%;top:52%;z-index:1000;}

/*手機版-側欄浮動按鈕-縮小*/
@media (max-width: 430px){ 
  .phone, .fb, .line-1, .ig, .map, .wechat, .shop-1, .phone-1, .pixnet, .youtube-1, .tiktok , .thread { 
    transform: scale(0.8);
    right:0;
  }
}


/*logo置頂*/

#logo h1 { 
  text-align: center; 
  height: 70px;
}

.topnavbar .container {
   text-align: center;
  padding: 0;
}

.topnavbar .container::after {
  display: inline-block;
  width: 100%;
}


/*按鈕-文字底色變化特效*/
.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: 0px solid #000;
    color: #fff;
    font-size: clamp(14px, 2vw, 16px);
    background-color: #ebb911;
     font-weight: 500;
}
.btn-more1:hover{
    background-color: #b5967c; /* 當滑鼠經過時按鈕表格底色變化 */
    color: #fff;/* 當滑鼠經過時按鈕表格文字變化 */
}


/*table語法 -讓手機不會破版*/
table {
table-layout: fixed;
word-wrap:break-word;
}


.topnavbar {
   background-color: #eaeaea;/*頁籤底圖顏色;background-color: rgba(0,0,0,0);透明*/
    position: relative;/*頁籤&banner分開不重疊*/
    padding: 0;/*頁籤間距*/ 
}

body {
    background-color: #fff;/*背景底色*/
    font-family: 'Noto Sans TC', sans-serif;/*套用google font字型Noto Sans TC黑體*/
}


/*動到表格手機不會破版*/
table {
  table-layout: fixed;
  word-wrap:break-word;
} 


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: #013c9b;
 font-size: clamp(1.5rem, 2vw, 2.0rem);
 /*最小值 首選值 最大值 限制屬性值區間*/
  line-height:2; 
}

.fcol h4 { 
  color: #013c9b;
    font-size: clamp(1.0rem, 2vw, 1.5rem);/*最小值 首選值 最大值 限制屬性值區間*/
  line-height:2;
  margin-bottom: 1rem;
  display: inline-block;
  border-bottom: 3px solid #f4db84;
}

.fcol h4::before { 
    content: '';
    display: block;
    height: 3rem;
    width: 3rem;
    background-color: #f4db84;
    border-radius: 100%;
    margin-left: -10px;
    margin-bottom: -3.5rem;

}
.fcol h3 { 
    color: #0562ca;
   font-size: clamp(1.0rem, 2vw, 1.5rem);
 /*最小值 首選值 最大值 限制屬性值區間*/
  line-height:2;  
}

/*nav*/
#nav ul li a {
    white-space: normal; /*自動換行*/
    font-size: 1.0rem;/*頁籤文字大小*/
    color: #044b89;/*頁籤文字顏色*/
    padding: 10px 20px;/*頁籤文字間隔;padding:2px 16px 2px 16px;*/
    line-height: 1.3;
    transition: .3s;
}

#nav ul li a:hover  {
    color: #4484bc;/*頁籤滑過文字顏色*/
}
#nav ul li.current a {
    color: #4484bc;/*頁籤按下後文字顏色*/
    font-weight: 500;
}

#nav .subnav {
    background-color: #fff;/*次頁籤底色*/
    max-width: 400px;/*次頁籤背景最大寬度*/
    width: max-content;/*最大內容*/
    text-align: left;
}

#nav li.has-subnav ul li.has-subnav>div a::after, #nav>ul>li.has-subnav>a::after {
    padding-left: 2px;/*下拉選單箭頭距離*/
}

ul.product-list li a {
    color: #033846;/*產品格文字顏色*/
    background-color: #e6e7e9;/*產品格底色*/
}

ul.product-list li a:hover {
    color: #6e685c;/*產品格滑過文字顏色*/
}

/*產品頁產品格圖片填滿*/
ul.product-list div.img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/*title文字顏色*/
.h1title h1{
    color: #333333;
}

a {
    color: #2a2a2a;/*連結顏色*/
    text-decoration: none;
}

a:hover  {
    color: #1e5a9b;/*連結顏色*/
    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; /* 強制圖片寬度隨容器變更 */
}

/*title文字顏色*/
body.about-us  .h1title {display: none;}
.fcol.fcol-header .container { padding: 0px;/*頁籤間距*/}


/*各層編輯欄設定*/
#bodyinhome .fcol.fcol-1, #bodyinhome .fcol.fcol-3 { background-color: #000; padding: 3em 0;}


body.about-us .fcol.fcol-2, body.about-us .fcol.fcol-6 {
  background-color: #485a74;
  padding: 3em 0;
}

#bodyinhome .fcol.fcol-5 {  display:none;}



/*footer*/
#footer {
    color: #fff;
}
#foot-nav {
  clear: both;
  padding: 2em 0 1em;
  border-bottom: 0px solid #444;
  display: flex;
  justify-content: center;
  
}




#foot-nav ul li a {
    display: block;
    color: #e6e6e8;
    font-size: 14px;
    margin-right: 15px;
    padding: 3px 10px;
    background-color: #7d8699;
   border-radius: 5px;
}

#foot-nav ul li a:hover { background-color: #2d5c85; color: #e6e6e8;}

/* 文字新做法*/
#main-wrap .container {
     font-size: clamp(1.0rem, 1.5vw, 1.2rem);
  line-height:30px;
  color: #2d2d2d;
}
#footer {
   font-size: 12px;
}

/*按鈕-文字底色變化特效*/


.btn-fb, .btn-line  {
  border-radius: 10px;
  border: 0px solid #000;
  color: #fff;
  font-size: clamp(28px, 3vw, 30px);
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 250px;
}

.btn-fb { background-color: #fd003c;}
.btn-fb:hover {
  transform:scale(1.1);
  background-color: #bf000e;
  top:-10px;
}

.btn-line { background-color: #ffae00;}
.btn-line:hover {
  transform:scale(1.1);
  background-color: #ff8400;
  top:-10px;
}

.service-item img {
    object-fit: cover;
    aspect-ratio: 1 / 1; /*用這個固定比例 4/3 or 19/9 or/1/1*/
    /* height: 600px;   高度不用了*/
    width: 100%;
}

/*產品*/  
.service-item {
            background-color: #f2f5f9;
            border-radius: 8px;
            padding: 20px;
            transition: all 0.3s ease-in-out;
            box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}
.service-item:hover {
            transform: translateY(-10px);
            box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
        }
 .service-item i {
            font-size: 40px;
            color: #0050ba;
            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;
 }
  

/*響應欄表格col-4 col-5 col-6 col-7 手機版強制2欄 寬度50%*/
@media only screen and (max-width: 576px){
.serve-item .col-4 { max-width: 50%;}
.serve-item .col-5 { max-width: 50%;}
.serve-item .col-6 { max-width: 50%;}
.serve-item .col-7 { max-width: 50%;}
}

/*服務項目-區塊項目li效果—3格*/
/*產品-區塊項目li效果—5格*/
.pro_item ul li {
    padding: 5px;
    margin: 5px;
    display: inline-flex;
    flex-wrap: wrap;
    align-items: center;
    flex-direction: column;
    width: calc(20% - 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;
  background-color: #002059;
  color:#fff;
}
.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); }
}