.phone{position:fixed;right:1%;top:65%;z-index:1000}
.line-1{position:fixed;right:1%;top:80%;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;
  }
}
/*按鈕-文字底色變化特效*/


.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: #ff6000;}
.btn-fb:hover {
  transform:scale(1.1);
  background-color: #df5400;
  top:-10px;
}

.btn-line { background-color: #e80031;}
.btn-line:hover {
  transform:scale(1.1);
  background-color: #f42b56;
  top:-10px;
}

/*按鈕上下移動特效*/
.btn-move div:nth-child(n) {
  animation: MoveUpDown 3s linear infinite;
  position: relative;
  left: 0;
  bottom: 0;
}
.btn-move div:nth-child(even) {
  animation: MoveUpDown2 3s linear infinite;
  transform: translateY(-10px);
}
@keyframes MoveUpDown {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

@keyframes MoveUpDown2 {
  0%, 100% { transform: translateY(-10px); }
  50% { transform: translateY(0); }
}


body { 
  background-color: #f0f0f0; 
   font-family: 'Noto Sans TC', sans-serif;/*套用google font字型Noto Sans TC黑體*/
}

a { color: #000; }

.topnavbar .container {
  text-align: center;
  padding: 0px;
}

@media only screen and (min-width: 768px) {
.topnavbar {
    background-color: #000;/*頁籤底圖顏色;background-color: rgba(255,255,255,0);透明Transparent*/
    position: relative;/*relative 頁籤&banner分開不重疊;頂置 fixed;*/
    line-height: 0;
    padding: 0;/*頁籤間距*/
}
  
.wordH4 {   writing-mode:vertical-rl;/*直式文字*/}  
  
.more_01 { display: flex; justify-content: flex-end;}
  
}

.wordH4 {  
  font-size: clamp(5.0rem, 10.0vw, 10rem);
}


.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;
}

/*nav*/
#nav ul li a {
    font-size: 1.0rem;/*頁籤文字大小*/
    color: #fff;/*頁籤文字顏色*/
    padding: 15px 8px;/*頁籤文字間隔;padding:2px 16px 2px 16px;*/
    line-height: 1.3;
    transition: .3s;
    white-space: normal;
}

#nav ul li a:hover {
    color: #fee004;

}

#nav ul li.current a {
    color: #fee004;
 } 

/*文字縮小*/
#nav .subnav {
    text-align: left;
    background-color: #505050;/*次頁籤底色*/
    border-radius: 20px;
    max-width: 200px;/*css下拉式選單背景變寬*/
    width: 200px;/*css下拉式選單背景變寬*/ 
  box-shadow: 10px 10px 30px rgba(0, 0, 0, 0.5);
}


#nav li.has-subnav ul li a {
      color: #fff;
      font-size: 14px;
      padding: 10px 8px;
      
}

#nav li.has-subnav ul li a:hover {
      color: #ffcc00;
  background-color: rgba(0,0,0,0);
}

/*頁籤按鈕上底線滑入特效-底線短*/
#nav ul li a::before {
  content:"";
  border-top:3px solid #fee004;
  width:0;
  position:absolute;
  left:0;
  right:0;
  top:40px;
  margin:0 auto;
  transition:.3s all ease;
}

#nav ul li a:hover::before {
     width: 50%;
}

#nav .subnav li a:hover::before  {
    display:none;
}

#nav li.has-subnav ul li.has-subnav>div a::after, #nav>ul>li.has-subnav>a::after {
    padding-left: 2px;/*下拉選單箭頭距離*/
}

.product-list-div h2 {
    text-shadow: 0 0px 0 #1f1f1f;
}

/* 消除產品頁空白*/
body[data-type="fullpage"] .main {
    min-height: 50px;
}


/*首頁各層編輯欄設定*/

#bodyinhome .fcol.fcol-1 {background-image: -webkit-linear-gradient(left, #fff 70% ,#f1f1f1  70.1%);}
#bodyinhome .fcol.fcol-2, #bodyinhome .fcol.fcol-3 {background-color: #dddddd;}
#bodyinhome .fcol.fcol-2 .container,
#bodyinhome .fcol.fcol-5 .container
{
   width: 100%;
   padding: 0;
}/*拉寬編輯欄設定*/

#bodyinhome .fcol.fcol-2 { padding: 2rem 0;}
#bodyinhome .fcol.fcol-4 .container {  width: 100%;
   background-color: #012150;
  padding: 0;
}/*拉寬編輯欄設定*/



#bodyinhome .fcol.fcol-5 .container, #bodyinhome .fcol.fcol-6 .container{ display:none;}/*拉寬編輯欄設定*/

/*title文字顏色*/
.h1title h1{
    color: #2d5c85;
     font-size: 2.0rem;
}

.line{
	border-bottom-width: 1px;
	border-bottom-style: dotted;
	border-bottom-color: #666;
}


/*產品文字顏色*/
ul.product-list li a.focus h3, ul.product-list li a:hover h3 {
    color: #464646;
}
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: #7a7a7a;
    overflow: hidden;
    padding: 0 16px;
}


#side ul li a {
    color: #222;

}



/*圖文特效按鈕-圖縮放大標題在上*/
.snip1374 {
  position: relative;
  overflow: hidden;
  margin: 0 auto 0;
  min-width: 100px;
  max-width: 400px;
  width: 100%;
  box-shadow: 0 0 5px rgba(0, 0, 0, 0.15);
  text-align: center;
  background-color: #000000;
  text-shadow: 2px 2px 5px #000000;/*文字陰影*/
}
.snip1374 figcaption {
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
 -webkit-transform: translateY(-50%);
  transform: translateY(-50%);
}
.snip1374 h2{
  font-family: 'Noto Sans TC', sans-serif;
  text-transform: uppercase;/*文字大寫*/
  color:#ffffff;/*文字顏色*/
  font-size: 1.2rem;/*文字大小*/
  font-weight: 700;/*文字粗細*/
  line-height: 1.5;/*文字行距*/
  letter-spacing: 2px;　/* 設定文字間距 */
}
.snip1374 img {
  object-fit: cover;  /*cover圖片剪裁不拉伸壓縮 ; contain不拉伸壓縮.等比縮放)*/
  width: 100%;
  height: 200px;
  vertical-align: top;
  -webkit-transition: all 0.3s ease-out;
  transition: all 0.3s ease-out;
  -webkit-transform: scale(1);
  transform: scale(1);
}
.snip1374:hover img,
.snip1374.hover img {
  -webkit-transform: scale(1.1);
  transform: scale(1.1);
  opacity: 0.5;
}
.snip1374 a {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 1;
}



/*響應欄表格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%;}
}

/*服務申請流程箭頭*/
#Process-bg {
    border-radius: 15px;
    background-color:#fff;
    padding: 10px 5px 2px 5px;

    height: 100%;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.2);
}

#Process::after {
  font-family: "Font Awesome 6 Free";
  content: "\f0a9"; /*向右箭頭*/
  position: relative;
  bottom: 50%;
  left: 62%;
  font-size: 18px;
  font-weight: 700;
} 
@media only screen and (max-width: 760px){
#Process::after {
  content: "\f0ab"; /*向下箭頭*/
  position: relative;
  bottom: 0;
  top:2.5%;
  left: 0;
}}

/*contact-1*/
@media only screen and (min-width: 768px){
  .contact-1 i {
    position: absolute;
    margin: -40px 0 0 -30px;
    width: 30px;
    height: 30px;
    font-size: 28px;
    color: #fff;
    background-color: #f4a100;
    border-radius: 100%;
    padding: 10px;
    line-height: 1.1;
  }
}
@media only screen and (max-width: 768px){
  .contact-1 i {
    position: relative;
    margin: 0;
    width: 40px;
    height: 40px;
    font-size: 36px;
    color: #fff;
    background-color: #f4a100;
    border-radius: 100%;
    padding: 10px;
    line-height: 1.1;
  }
}
.contact-1 h4 {font-size: 30px;font-weight: 500;color: #0da995; margin-top: 10px;}
.contact-1 p {font-size: 14px;color: #333;}

/*icon*/
@import url(https://fonts.googleapis.com/css?family=Raleway:600);
@import url(https://code.ionicframework.com/ionicons/2.0.1/css/ionicons.min.css);
.snip1434 {
  font-family: 'Raleway', Arial, sans-serif;
  border: none;
  border-radius: 5px;
  overflow: hidden;
  color: #ffffff;
  cursor: pointer;
  padding: 0px 25px 0px 70px;
  text-align: center;
  display: inline-block;
  font-weight: 600;
  outline: none;
  position: relative;
  font-size: 18px;
  line-height: 30px;
  background-color: #009fe7;
  letter-spacing: 1px;
  -webkit-transition: all 0.3s ease;
  transition: all 0.3s ease;
  width: 100%;
}

.snip1434 a { color: #ffffff; line-height: 25px; }
.snip1434 i {
  font-size: 3em;
  width: 55px;
  line-height: 50px;
  position: absolute;
  left: -5px;
  top: 0px;
  -webkit-transform: rotate(-25deg) scale(1);
  transform: rotate(-25deg) scale(1);
  -webkit-transition: all 0.3s ease;
  transition: all 0.3s ease;
}
.snip1434:hover,
.snip1434.hover {
  color: #ffffff;
  background-color: #ff9000;
}
.snip1434:hover i,
.snip1434.hover i {
  -webkit-transform: rotate(-20deg) scale(1.3);
  transform: rotate(-20deg) scale(1.3);
}

/*btn按鈕特效*/
.btn-1 {
    position: relative;
    color: #fff;
    font-size: 20px;
    text-transform: uppercase;
    font-weight: bold;
    text-align: center;
    text-decoration: none;
    transition: all 0.2s ease;
    padding: 15px 20px;
    display: inline-flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
  line-height: 1.3;
}
.btn-1:before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    display: block;
    border-radius: 28px;
    background: #001a42;
    width: 56px;
    height: 56px;
    transition: all 0.3s ease;
}
.btn-1 span {
    position: relative;
    z-index: 1;
}
.btn-1 svg {
    position: relative;
    top: 0;
    margin-left: 10px;
    fill: none;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke: #fff;
    stroke-width: 2;
    transform: translateX(-5px);
    transition: all 0.3s ease;
}
.btn-1:hover:before {
    width: 100%;
    background: #001a42;
}
.btn-1:hover svg {
  stroke: #fff;
    transform: translateX(0);
}
.btn-1:hover,
.btn-1:focus {
    color: #fff;
}
.btn-1:active {
    color: #d9b47d;
    transform: scale(0.96);
}


/*下面底色/文字顏色*/
#foot-nav ul li a {
    display: block;
    color: #e6e6e8;
    font-size: 14px;
    margin-right: 15px;
    padding: 3px 10px;
    background-color: #484848;
   border-radius: 5px;
}

#foot-nav ul li a:hover { background-color: #2d5c85; color: #e6e6e8;}


/* 文字新做法*/
#main-wrap .container p {
     font-size: clamp(1.0rem, 1.5vw, 1.2rem);
  line-height:30px;
  color: #2d2d2d;
}
#footer {
   font-size: 12px;
}


/*fcol 欄位要加寬 鍵頭才會出現在左右*/
#bodyinhome .fcol.fcol-6 .container{
  max-width:100%;
  width:80%;
  padding:40px 0;
}

/*owl 輪播圖語法*/
.owl-carousel.owl-theme {
  padding: 0 1rem 2rem;
}

.owl-carousel.owl-theme .row-no-gutters { padding: 5px;}
.owl-carousel.owl-theme .owl-nav {
  top: 50%;
  margin: 0;
  transform: translateY(-50%);
}
.owl-carousel.owl-theme .owl-dots {
  bottom: 0;
}
.owl-carousel.owl-theme button:focus {
  outline: none;
}
.owl-carousel.owl-theme .owl-nav,
.owl-carousel.owl-theme .owl-dots {
  position: absolute;
  left: 0;
  right: 0;
}
.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 {
  display: block;
  object-fit: cover;  /*cover圖片剪裁不拉伸壓縮 ; contain不拉伸壓縮.等比縮放)*/
  display: block;
  width: 100%;
  height: auto; 
  aspect-ratio: 4 / 4;  /*比例*/
  border: 2px solid #fff;
  box-shadow: 0 6px 5px rgba(44,44,44,0.25);
}





/*產品*/  
.service-item {
            background-color: #fff;
            padding: 15px;
            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: 18px;
            color: #333;
            margin-bottom: 0px;
}
.service-item p {
            font-size: 16px;
            color: #666;
            line-height: 1.6;
 }







