.phone{position:fixed;right:1%;top:20%;z-index:1000;}
.fb{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;
  }
}


.t-box {
  background-color: #fff; 
  border-radius: 1.5em;
  aspect-ratio: 16 / 9;
  padding: 2em; 
  position: relative;
  z-index: 1;
  box-shadow: 0 0 5px rgba(0, 0, 0, 0.15);
}

.container h4 {
   background: linear-gradient(to top, #0f3580, #0f3580, #2655b1);
   background-clip: text;
   -webkit-background-clip: text;
   color: transparent;
  font-size: clamp(24px, 2vw, 40px);
  font-weight: 700;
  line-height:40px;
  font-family: 'Noto Serif TC', serif;
}

/*套用google font字型Noto Serif TC明體*/
#t-500{
  font-family: 'Noto Serif TC', serif;
  font-weight: 700;
    color: #2c2c2c;
  font-size: clamp(18px, 2vw, 25px);
  line-height: 40px;
}

.topnavbar {
 /* background-color: Transparent;*/
    background-color: #488f49;/*頁籤底圖顏色;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: #9e7865;/*連結顏色*/
    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;
}


/*nav*/
#nav {
    vertical-align: bottom;
}

/*nav*/
#nav ul li a {
    font-size: 1.0rem;/*頁籤文字大小*/
    color: #fff;/*頁籤文字顏色*/
    padding: 10px 11px;/*頁籤文字間隔;padding:2px 16px 2px 16px;*/
    line-height: 1.3;
    transition: .3s;
}

#nav ul li a:hover  {
    color: #ffd800;/*頁籤滑過文字顏色*/
}

#nav ul li.current a {
    color: #ffd800;/*頁籤按下後文字顏色*/
    font-weight: 500;
}

/*頁籤按鈕下底線滑入特效-底線短*/
#nav ul li a::before {
  content:"";
  border-bottom:3px solid #ffd800;
  width:0;
  position:absolute;
  left:0;
  right:0;
  top:0px;
  margin:0 auto;
  transition:.3s all ease;
  border-radius: 2px;
}

#nav ul li a:hover::before {
    width: 50%;
}

#nav ul.subnav li a::before {
  display:none;
}

/*次頁籤文字顏色*/ 
#nav .subnav {
    text-align: left;
    background-color: #488f49;/*次頁籤底色*/
}
#nav .subnav a { font-size: 14px; }

#nav li.has-subnav ul li a:hover {
   color: #000;/*次頁籤滑過後文字顏色*/   
    background-color: #ffd800; /*次頁籤滑過底圖顏色*/
}

#nav li.has-subnav ul li a:hover::before { display:none;}

#nav li.has-subnav ul li.current a {
   color: #fff;/*次頁籤按下後文字顏色*/    
}

@media only screen and (min-width: 768px){
#bodyinhome .fcol.fcol-2 .container {
   width: 90%;
}}

#bodyinhome .fcol.fcol-1, #bodyinhome .fcol.fcol-3 { 
     background-repeat: no-repeat;
   background-position: 50% 10%;
   background-size: cover;/*cover圖片剪裁不拉伸壓縮 ; contain不拉伸壓縮.等比縮放)*/
   background-image: -webkit-linear-gradient(top, rgba(255, 255, 255, 0.8) 0% ,rgba(255, 255, 255, 0.8) 100%) , url(https://static.iyp.tw/409824/files/6a2b80c2-9aaf-4af0-982c-e639966eb9ba.jpg);
   padding: 3rem 0;
}  

body.about-us .fcol.fcol-3 {
 background: linear-gradient(0deg, #dfdfdf 50%, transparent 50%);
  background-color: #ffffff;
}

body.about-us .fcol.fcol-2 {
    background-color: #ffffff;
}


/*title文字顏色*/
body.about-us  .h1title {display: none;}

.h1title h1 {font-size: 16pt; color: #488f49;}
.fcol.fcol-header .container { padding: 0px;/*頁籤間距*/}
/* 消除空白*/
body[data-type="fullpage"]:not(#managehome) #wrap>*:not(:last-child) {
    margin-bottom: 0px;
}

body[data-type="fullpage"] #product-header.main {
      min-height: auto;/*產品-編輯框不設定高*/
}

/*改內文標題顏色*/
h2, h5, h6, .h1, .h2, .h4, .h5, .h6 {
    font-family: inherit;
    font-weight: 500;
    line-height: inherit;
    color: #488f49;
}


#side h3 {
   color: #fff;
   background-color: #488f49;
}


#side ul li a {
    color: #2c2c2c;
   font-size: 16px;
}

#side ul li.current>div a {
    color: #488f49;
}

.product-list-div h2 a {
    color: #488f49;
    text-decoration: none;
    display: inline-block;
}

ul.product-list li a.focus h3, ul.product-list li a:hover h3 {
    color: #488f49;
}
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: #488f49;
    overflow: hidden;
    padding: 0 16px;
}


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: #232d3a;
}

/*footer*/
#footer {
     background:linear-gradient(120deg, #488f49 0%, #488f49 50%, #000 50%, #000 100%);
    color: #fff;
  border-bottom: 20px solid #000;
}


#foot-nav {
    clear: both;
    padding: 1em 0;
    border-bottom: 0px solid #7825c1;
}
#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; }

#contact-info ul li span {
    color: #f3f3f3;
}

body {
    background-color: #dfdfdf;/*背景底色*/
    font-family: 'Noto Sans TC', sans-serif;/*套用google font字型Noto Sans TC黑體*/
}

/*服務項目*/
ul.c {
  list-style-type: disc;/*disc實心 ecimal 數字*/
  margin-left: 1em;
}

ul.c li {
  border-bottom: 1px solid #7a7a7a; 
  padding:10px;

}


ul.c li::marker{
  color: #488f49;  
}

ul.b {
  list-style-type: disc;
   margin-left: 1em;
}



/*ICON-會動*/
.block {
    display: block;
    width: 100%;
    padding-bottom:auto;
    padding: 1%;
    background: #488f49;
   overflow: hidden;
   position: relative;
   transition:all 0.5s;
   border-radius: 5px;
   color:#fff;
   padding: 0.5rem;
   top:0;
}
.block:hover {
    transform:scale(1.1);
    background:#488f49;
  top:-10px;
}
.block2 {
    display: block;
    width: 100%;
    padding-bottom:auto;
    padding: 1%;
    background: #6fbd09;
   overflow: hidden;
   position: relative;
   transition:all 0.5s;
   border-radius: 5px;
   color:#fff;
  top:0;
}
.block2:hover {
    transform:scale(1.1);
    background:#3d6f11;
  top:-10px;
}

/*圖文特效按鈕-圖縮放大標題在上*/
.snip1374 {
  position: relative;
  overflow: hidden;
  margin: 0 auto 0;
  min-width: 160px;
  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: 350px;
  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;
}

/*服務申請流程箭頭*/
#Process-bg {
    border-radius: 15px;
    background-color:#fff;
    padding: 20px 15px 2px 15px;
    margin: 0 1rem;
    height: 100%;
  text-align: center;
}
#Process::after {
  font-family: "Font Awesome 6 Free";
  content: "\f0a9"; /*向右箭頭*/
  position: relative;
  bottom: 50%;
  left: 100%;
  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: 50%;
}}