#phone {
    width: 55px;
    right: 10px;
    border-radius: 50%;
    z-index: 999;
    bottom: 150px;
    position: fixed;
}

#line-2 {
    width: 55px;
    right: 10px;
    border-radius: 50%;
    z-index: 999;
    bottom: 210px;
    position: fixed;
}

body {
    background-color: #fcfcf4;
    margin: 0;
}

@media only screen and (min-width: 768px){
.topnavbar {
  height: 100px;
  background-color: #fcfcf4;/*底色*/
  padding: 0;/*頁籤間距*/}}

@media only screen and (max-width: 768px){
.topnavbar .container {
  background-color: rgba(255,255,255,1);/*底色*/
}} 

.topnavbar .container {
  text-align: center;
  font-size: 0;
}
.topnavbar .container::after {
  content: "";
  display: inline-block;
  width: 100%;
}
.topnavbar {
  background-color: #fcfcf4;
  top:0px;
  position: relative;
  z-index:100;
  width:100%;
  padding: 0;
}
.topnavbar .container {
    padding-top: 0px;
    padding-bottom: 0px;
}

#nav ul li a {
    text-align: justify;
    font-family: 'Noto Sans TC', sans-serif;
    color: #1a1a1a;/*頁籤文字顏色*/
    font-size:17px;/*頁籤文字大小*/
    padding: 10px 20px;/*頁籤文字間隔;padding:2px 16px 2px 16px;*/
    line-height: 1.5;
    transition: .3s;
    letter-spacing: 1px;
}
#nav ul li a:hover {
    color: #008dd7;/*頁籤滑過文字顏色*/
}
#nav ul li.current a {
    color: #008dd7;/*頁籤按下後文字顏色*/
    font-weight: bold;
    font-weight: 600;
}

/*每頁大標*/
.h1title {
  color: #008dd7; 
  font-family: arial, helvetica, sans-serif;
  font-weight: bold; 
  letter-spacing: 3px;
  padding-left: 25px !important;
  border-collapse: collapse;  
}

/*ipheno尺寸調整*/
@media only screen and (max-width: 576px) {
    .rwd-wrapper .col-2 {
        -webkit-flex:0 0 100%;
        -ms-flex: 0 0 100%;
        flex: 0 0 100%;
        max-width: 100%;}}

/* 首頁與內頁共用 */
.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(800 / 1920 * 100%); /* 首頁 banner 大小 */
}

/* 內頁 */
#bodyinpage .swiper-wrapper, #bodyinpage .swiper-slide {
  padding-bottom: calc(600 / 1920 * 100%); /* 內頁 banner 大小 */
}

/*圖片放大透明*/
.picc { 
    opacity: 1; /* 透明度100% FireFox 的寫法 */ 
    filter: Alpha(Opacity=100); /* 透明度100% IE 的寫法 */ 
    margin:0 auto;
    overflow: hidden;
} 
.picc img { 
    opacity: 1; 
    filter: Alpha(Opacity=100); 
  margin:0 auto;
  -webkit-transform: scale(1);
  -webkit-transition: 1s;
} 
.picc img:hover { 
  opacity: .5; /* 透明度50% FireFox 的寫法 */ 
  filter: Alpha(Opacity=50); /* 透明度50% IE 的寫法 */ 
  -webkit-transform: scale(1.05);
}

/*網頁欄位*/
#bodyinhome .fcol-1 {
    background: url(https://static.iyp.tw/409991/files/212a9ce8-c811-42c6-bc6a-d53dcfebb52c.png) no-repeat center;
}
#bodyinhome .fcol-3 {
    background: url(https://static.iyp.tw/409991/files/c43d7272-f9b5-4272-8c9b-b39a4be0414d.png) no-repeat bottom;
}
#bodyinhome .fcol-3 .container {
    padding: 2.5em 0em;
}
#bodyinhome .fcol-4 {
    background: url(https://static.iyp.tw/409991/files/a56ca29f-c27b-46b9-8810-9e7c816f1d0c.png) no-repeat center;
}
#bodyinhome .fcol-5,#bodyinhome .fcol-6 {
  display: none;}
#bodyinhome #footer { margin-top:-40px;}

body.about-us .fcol-1 {
    background: url(https://static.iyp.tw/409991/files/34c08af5-7c92-4148-8b70-daa6c0032977.png) no-repeat center;
}
body.about-us .fcol-3 {
    background: url(https://static.iyp.tw/409991/files/900cc2af-dfb7-4723-9819-4555048ce70e.png) no-repeat center;
}
body.about-us .fcol-4 {
    background: #fbfbfb url(https://static.iyp.tw/409991/files/d15bdaac-5115-44d9-ac03-1581cf7c0dff.png)repeat-y bottom;
    background-attachment: fixed;}
body.about-us .fcol-5,body.about-us .fcol-6 {
  display: none;}
body.about-us #footer { margin-top:-40px;}

/*避免遮到footer版權服務文字*/
body[data-type="fullpage"] .container #footer-service { padding: 15px 15px 50px 15px; }

#footer {
    color: #fff;
    background-color: #0d0d0d;
}
#footer a { color: #cccccc; }
#footer a:hover { color: #fefefe; }
#foot-nav ul li a { color: #fff;}
#foot-nav ul li a:hover { color: #cccccc;}

/*按鈕上下移動特效*/
.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); }
}
/*按鈕-文字底色變化特效*/
.custom-btn {
    padding: 5px 20px;
    outline: none !important;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    display: inline-block;
}

.btn-more1 {
    border-radius: 30px;
    border: 2px solid #E2AB2D;
    color: #fff;
    font-size: clamp(14px, 2vw, 16px);
    background-color: #E2AB2D;
    font-weight: 500;
}
.btn-more1:hover{
    background-color: #003CA6; /* 當滑鼠經過時按鈕表格底色變化 */
    color: #fff;/* 當滑鼠經過時按鈕表格文字變化 */
}

.btn-fb, .btn-line  {
  border-radius: 10px;
  border: 0px solid #000;
  color: #fff;
  font-size: clamp(18px, 3vw, 22px);
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 250px;
}

.btn-fb { background-color: #ff6537;}
.btn-fb:hover {
  transform:scale(1.1);
  background-color: #ff3b00;
  top:-10px;
}

.btn-line { background-color: #00b900;}
.btn-line:hover {
  transform:scale(1.1);
  background-color: #009900;
  top:-10px;
}

/*產品介紹頁編輯框高度auto*/
body[data-type="fullpage"] #product-header.main {
      min-height: auto;
  }

/*產品頁面*/
ul.product-list li a{
  color: #1b1b1b;
  background-color: #fff;
  text-align: center;
  font-family: arial, helvetica, sans-serif;
  font-weight: bold; 
}
ul.product-list li a.focus, ul.product-list li a:hover {color: #009bca;}

a {color: #009bca;}
.news .fcol .news-list li a:hover, .news .news.main-content li a:hover {color: #1b1b1b;}