.phone{position:fixed;right:1%;top:20%;z-index:1000;}
.line-1{position:fixed;right:1%;top:35%;z-index:1000;}

/*手機版-側欄浮動按鈕-縮小*/
@media (max-width: 414px){ 
  .phone, .fb, .line-1, .ig, .map, .wechat, .shop-1, .x-twitter, .pixnet { 
    transform: scale(0.8);
    right:0;
}}

/*LOGO語法*/
.topnavbar .container {
  text-align: justify;
  padding: 20px 0 20px 0;
}

.topnavbar .container::after {
  display: inline-block;
  width: 100%;
}

#logo h1 {
    height: 70px;
}

/*banner*/
.swiper-container {
  height: auto !important; /* 將容器預設的高拿掉 */
}

.swiper-wrapper, .swiper-slide {
  height: 0 !important;
  padding-bottom: calc(750 / 1920 * 100%); /* 自定響應式圖片高度 */
}

.swiper-slide {
  width: 100% !important; /* 強制圖片 寬度隨容器變更 */
}

/*按鈕背影*/
.topnavbar {
 /* background-color: Transparent;*/
    background-color: #f8f9fa;/*頁籤底圖顏色;background-color: rgba(255,255,255,0);透明Transparent*/
    position: relative;/*relative 頁籤&banner分開不重疊;頂置 fixed;*/
    line-height: 0;
    padding: 0;/*頁籤間距*/
}

/*nav*/
#nav {
    vertical-align: bottom;
}
#nav ul li a {
    white-space: normal; /*自動換行*/
    font-size: 1.0rem;/*頁籤文字大小*/
    color: #343f46;/*頁籤文字顏色*/
    padding: 10px 20px;/*頁籤文字間隔;padding:2px 16px 2px 16px;*/
    line-height: 1.3;
    transition: .3s;
    font-weight: 500;
}

#nav ul li a:hover  {
    color: #f9bf32;/*頁籤滑過文字顏色*/
}
#nav ul li.current a {
    color: #f9bf32;/*頁籤按下後文字顏色*/
    font-weight: 600;
}

/*頁籤按鈕上底線滑入特效-底線短*/
#nav ul li a::before {
  content:"";
  border-top:3px solid #f9bf32;
  width:0;
  position:absolute;
  left:0;
  right:0;
  top:0px;
  margin:0 auto;
  transition:.3s all ease;
}
#nav ul li a:hover::before {
    width: 70%;
}

#nav .subnav {
    background-color: #f8f9fa;/*次頁籤底色*/
    max-width: 400px;/*次頁籤背景最大寬度*/
    width: max-content;/*最大內容*/
    text-align: left;
}

#nav .subnav .has-subnav span{
    max-width: 400px;/*次頁籤文字背景最大寬度*/
}

#nav li.has-subnav ul li.has-subnav>div a::after, #nav>ul>li.has-subnav>a::after {
    padding-left: 2px;/*下拉選單箭頭距離*/
}



body {
    background-color: #f8f9fa;/*背景底色*/
     font-family: "Chocolate Classical Sans", sans-serif; /*巧克力古典無襯線字體*/
}


#footer {
    color: #ffbe00;
    background-color: #f1f1f1;
}
#foot-nav {
    clear: both;
    padding: 1em 0;
    border-bottom: 1px solid #e1e2e2;
}
#foot-nav ul li a {
    display: block;
    color: #333f47;
    font-size: 1.06em;
    margin-right: 10px;
    padding: 8px 16px;
}

#contact-info ul li span {
    color: #ffbe00;
}

#foot-nav ul li.current a {
    color: #ffbe00;/*頁籤按下後文字顏色*/
    font-weight: 600;
}


/*改內文標題顏色*/
h1, h2, h3, h5, h6, .h1, .h2, .h3, .h4, .h5, .h6 {
    font-family: inherit;
    font-weight: 700;
    line-height: inherit;
    color: #0258b5;
}

h1, .h1 {
text-align: center;
}




/*產品介紹-特效*/
figure.snip1249 {
  position: relative;
  overflow: hidden;
  margin: 0 auto;
  width: 100%;
  height: 100%;
  background: #ffffff;
  box-shadow: 0 0 5px rgba(0, 0, 0, 0.2);
  display: inline-block;
  padding: 2px 5px 2px 5px;
  font-family: 'Noto Sans TC', sans-serif;
}

figure.snip1249 * {
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  -webkit-transition: all 0.35s ease-in-out;
  transition: all 0.35s ease-in-out;
  border: 10px solid #fff; 
}
figure.snip1249 img{
  position: relative;
  width: 100%;
  height: 250px; 
  object-fit: cover;  /*cover圖片剪裁不拉伸壓縮 ; contain不拉伸壓縮.等比縮放)*/
  transform:scale(1,1);
}

figure.snip1249:hover img{
  opacity: 0.7;
  transform:scale(1.1,1.1);
}

figure.snip1249 h3 {
  margin: 0;
  font-size: 20px;
  font-weight: 700;
  text-transform: uppercase;
  line-height: 1;
}
figure.snip1249 p {
  margin: 0;
  font-weight: 400;
  text-transform: uppercase;
  font-size: 16px;
  text-align: left;
  line-height: 1.2;
}
figure.snip1249 figcaption {
  color: #000000;
  position: relative;
  font-size: 0.9em;
  text-align: center;
  background: #ffffff;
  width: 100%;
  display: inline-flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

figure.snip1249 figcaption .btn-more {
  display: inline-block;
  width: auto;
  border: 2px solid #20638f;
  padding: 3px 10px;
  color: #20638f;
  text-decoration: none;
  font-weight: 800;
  font-size: 0.9em;
  text-transform: uppercase;
  margin: 1rem;
}

figure.snip1249:hover .btn-more {
  background-color: #20638f;
  color: #ffffff;
}
figure.snip1249 a {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 2;
}

/*各層編輯欄設定*/
body.index .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/409876/files/6bb6c36b-9893-4e50-9f40-306c0d40f0d4.jpg);
  padding:50px
 }
body.index .fcol.fcol-2 .container {
  position: relative;
  background-color: white;

}

body.index .fcol.fcol-4 { 
background-color: #e3e3e3;
padding:50px
}
body.index .fcol.fcol-4 .container {
  position: relative;
  background-color: white;
}



body.about-us .fcol.fcol-3 {
     background-repeat: no-repeat;
   background-position: 50% 50%;
   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/409876/files/4b3cbdef-73db-4e44-a18a-42cac12c878c.jpg);
   padding: 2rem 0;
}



/*熱銷產品按鈕-文字底色變化特效*/
@import url(https://fonts.googleapis.com/css?family=Raleway:400,600);
figure.snip1478 {
  font-family: 'Raleway', Arial, sans-serif;
  position: relative;
  overflow: hidden;
  margin: 0;
  min-width: 250px;
  max-width: 200px;
  width: 100%;
  color: #000000;
  text-align: center;
  -webkit-perspective: 50em;
  perspective: 50em;
}
figure.snip1478 * {
  -webkit-box-sizing: padding-box;
  box-sizing: padding-box;
  -webkit-transition: all 0.2s ease-out;
  transition: all 0.2s ease-out;
}
figure.snip1478 img {
  max-width: 100%;
  vertical-align: top;
}
figure.snip1478 figcaption {
  top: 50%;
  left: 20px;
  right: 20px;
  position: absolute;
  opacity: 0;
  z-index: 1;
  -webkit-transform: translate(-10%, -30%);
  transform: translate(-10%, -30%);
}
figure.snip1478 h2,
figure.snip1478 h4 {
  margin: 0;
}
figure.snip1478 h2 {
  font-weight: 600;
}
figure.snip1478 h4 {
  font-weight: 400;
  text-transform: uppercase;
}
figure.snip1478 i {
  font-size: 32px;
}
figure.snip1478:after {
  background-color: #ffcc00;
  position: absolute;
  content: "";
  display: block;
  top: 20px;
  left: 20px;
  right: 20px;
  bottom: 20px;
  -webkit-transition: all 0.4s ease-in-out;
  transition: all 0.4s ease-in-out;
  -webkit-transform: rotate3d(-1, -1, 0, 100deg);
  transform: rotate3d(-1, -1, 0, 100deg);
  opacity: 0;
}
figure.snip1478 a {
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  position: absolute;
  z-index: 1;
}
figure.snip1478:hover figcaption,
figure.snip1478.hover figcaption {
  -webkit-transform: translate(0%, -50%);
  transform: translate(0%, -50%);
  opacity: 1;
  -webkit-transition-delay: 0.2s;
  transition-delay: 0.2s;
}
figure.snip1478:hover:after,
figure.snip1478.hover:after {
  -webkit-transform: rotate3d(0, 0, 0, 0deg);
  transform: rotate3d(0, 0, 0, 0deg);
  opacity: 0.9;
}




/*首頁-about*/
@media only screen and (min-width: 768px){
  .t-box {
    z-index: 2;
    right: -5em;
  }
  .t-bg { 
    background-color: rgb(248 249 250 / 70%); 
    padding: 2em 3em; 
  }
}
@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 #ffbe00; width: 100%; margin: 10px auto;}
.border-1::after {
    content: "";
    position: absolute;
    top: -5px;
    left: -10px;
    width: 10px;
    height: 10px;
    background-color: #ffbe00;
    z-index: 1;
}

.border-2 {position: relative; border-top: 1px dotted #ddd; width: 100%; margin: 10px auto;}
.border-2::before {
    content: "";
    position: absolute;
    top: -4px;
    right: 0px;
    width: 7px;
    height: 7px;
    background-color: #ffbe00;
    z-index: 1;    
  border-radius: 100%;
}

/* 公司簡介-圖文特效按鈕-標題在上+內文滑入*/
.snip1374 {
  position: relative;
  overflow: hidden;
  margin: 0 auto 0;
  min-width: 160px;
  max-width: 100%;
  width: 100%;
  box-shadow: 0 0 5px rgba(0, 0, 0, 0.15);
  text-align: left;
  background-color: #000000;
  text-shadow: 2px 2px 5px #000000;/*文字陰影*/
}
.snip1374 figcaption {
  position: absolute;
  top: 10%;
  left: 0;
  right: 0;
  padding: 20px;
 /*-webkit-transform: translateY(-50%);
  transform: translateY(-50%);*/
}
.snip1374 h2{
  font-family: 'Noto Sans TC', sans-serif;
  text-transform: uppercase;/*文字大寫*/
  color:#ffffff;/*文字顏色*/
  font-size: 1.5rem;/*文字大小*/
  font-weight: 700;/*文字粗細*/
  line-height: 1.3;/*文字行距*/
  letter-spacing: 1;　/* 設定文字間距 */
  border-bottom: 2px solid #fff;
}
.snip1374 h2::after {
    content: '';
    margin-top: 10px;
    display: block;
    width: 20%;
    height: 2px;
    background: #ffffff;
}
.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;
}
.snip1374 p {
  position: relative;
  color: #fff;
  font-size: 1em;
  -webkit-transform: translateY(100%);
  transform: translateY(100%);
  opacity: 0;
  line-height: 1.3;
}
.snip1374:hover p,
.snip1374.hover p {
  -webkit-transform: translateY(30%);
  transform: translateY(30%);
  opacity: 1;
}
.snip1374 * {
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  -webkit-transition: all 0.45s ease;
  transition: all 0.45s ease;
}
/* 消除空白*/
body[data-type="fullpage"]:not(#managehome) #wrap>*:not(:last-child) {
    margin-bottom: 0px;
}


/*按鈕-文字底色變化特效*/
.custom-btn {
    padding: 5px 20px;
    outline: none !important;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    display: inline-block;
}


.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: #0258b5;}
.btn-fb:hover {
  transform:scale(1.1);
  background-color: #0258b5;
  top:-10px;
}

.btn-line { background-color: #ffbe00;}
.btn-line:hover {
  transform:scale(1.1);
  background-color: #ffbe00;
  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); }
}

/*氣泡提示框*/
.speech-bubble {
	position: relative;
	background: #f9f9f9;
	border-radius: .4em;
  padding: 1em;
  min-height: 75%;
}
@media only screen and (max-width: 767px){ 
  .speech-bubble { min-height: auto;}
}
  
  
.speech-bubble:after {
	content: '';
	position: absolute;
	top: 0;
	left: 50%;
	width: 0;
	height: 0;
	border: 25px solid transparent;
	border-bottom-color: #f9f9f9;
	border-top: 0;
	margin-left: -24px;
	margin-top: -24px;
}

.speech-bubble p { 
  text-align: justify;
  color: #000;
  font-size: clamp(14px, 2vw, 16px); /*最小值 首選值 最大值 限制屬性值區間*/
  line-height: 1.2;
}

.service-item h3 { 
  text-align: center;
  color: #e2ab2d;
  font-size: clamp(22px, 3vw, 24px);/*最小值 首選值 最大值 限制屬性值區間*/
  margin-bottom: 1.5em;
}