.phone{position:fixed;right:1%;top:40%;z-index:1000;}
.fb{position:fixed;right:1%;top:52%;z-index:1000;}
.line-1{position:fixed;right:1%;top:64%;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;
  }
}

.topnavbar {
    background-color: #fff;/*頁籤底圖顏色;background-color: rgba(255,255,255,0);透明Transparent*/
    position: relative;/*relative 頁籤&banner分開不重疊;頂置 fixed;*/
    line-height: 0;
    padding: 0;/*頁籤間距*/
  background-image: -webkit-linear-gradient(top, #ffffff 90px, #ca0205 90px);
}

.topnavbar .container {
  text-align: center;
  padding: 0;
}

.topnavbar .container::after {
  display: inline-block;
  width: 100%;
}

body {
    background-color: #fff;/*背景底色*/
  font-family: 'Noto Sans TC', sans-serif;
}

#logo  { display: block; }
#logo h1 { text-align: center; }

table {
table-layout: fixed;
word-wrap:break-word;
} /*動到表格手機不會破版*/


/*編輯欄設定*/
.fcol p{
    font-size: 18px;/*文字大小*/
    color: #000000;/*文字顏色*/
    line-height: 2;
}
@media only screen and (max-width: 768px){
.fcol p{
    font-size: 16px;/*螢幕寬度768px內文字大小*/
}}

body[data-type="fullpage"] #product-header.main {
      min-height: auto;/*產品-編輯框不設定高*/
}
/*編輯欄設定*/


/*nav*/
#nav {
    vertical-align: bottom;
}
#nav ul li a {
    white-space: normal; /*自動換行*/
    font-size: 1.0rem;/*頁籤文字大小*/
    color: #fff;/*頁籤文字顏色*/
    padding: 10px 20px;/*頁籤文字間隔;padding:2px 16px 2px 16px;*/
    line-height: 1.3;
    transition: .3s;
}

#nav ul li a:hover  {
    color: #ff9900;/*頁籤滑過文字顏色*/
}

#nav .subnav {
    background-color: #444;/*次頁籤底色*/
    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: #333;/*產品格文字顏色*/
    background-color: #f5f5f5;/*產品格底色*/
}
ul.product-list li a:hover {
    color: #000;/*產品格滑過文字顏色*/
}

body[data-type="fullpage"] .product-list-div h2 a.show-all {
    color: #fff;/*查看產品按鈕文字顏色*/
    background: #ca0205;/*查看產品按鈕背景顏色*/
    text-shadow: none;/*文字陰影隱藏*/
    padding: 0 10px;
}
body[data-type="fullpage"] .product-list-div h2 a:hover.show-all {
    color: #fff100;/*查看產品按鈕文字滑入顏色*/
}

#side h3 {
    color: #fff;
    background-color: #ca0205;
    border-radius: 10px 10px 0 0;
}
#side ul li a {
    color: #333; /*側欄頁籤連結顏色*/
  font-size: 16px;
  border-bottom: 1px dashed #ddd;
}
#side ul li.current>div a {
    color: #ca0205;
}

#side ul li a:hover {
    color: #ca0205; /*側欄頁籤滑入顏色*/
}
#side .children li {
    margin-left: 15px;
}/*側欄次頁籤*/

.productdetail .detail-spec h2 p{
    color: #333;
    font-size: 30px;
}/*產品內頁標題文字*/


/*title文字顏色*/
.h1title h1{
    color: #333333;
}

a {
    color: #00b7ee;/*連結顏色*/
    text-decoration: none;
}

.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(750 / 1920 * 100%); /* 首頁 banner 大小 */
}
/* 內頁 */
#bodyinpage .swiper-wrapper, #bodyinpage .swiper-slide {
  padding-bottom: calc(0 / 1920 * 100%); /* 內頁 banner 大小 */
}

/*首頁各層編輯欄設定*/
#bodyinhome .fcol.fcol-1 {
background-image: -webkit-linear-gradient(top, #ffffff 70%, #eeeeee 70%);
}
#bodyinhome .fcol.fcol-1 .container { border-bottom: 2px dashed #ccc;}

#bodyinhome .fcol.fcol-2 { background-color: #eee; padding:3rem 0; }

#bodyinhome .fcol.fcol-3 { background-color: #000; padding:3rem 0; }

#bodyinhome .fcol.fcol-4 { 
  width: 100%;
   background-attachment: scroll; /*fixed固定背景; scroll捲動背景*/
   background-repeat: no-repeat;
   background-position:center;
   background-size: cover;/*cover圖片剪裁不拉伸壓縮 ; contain不拉伸壓縮.等比縮放)*/
   background-image: url(https://static.iyp.tw/409502/files/6d36ef29-749f-495e-a7c9-5463fdca3a4b.jpg);
  background-color: #ffc631;
  padding:3rem 0;
}

#bodyinhome .fcol.fcol-3 .container,
#bodyinhome .fcol.fcol-6 .container {
   width: 100%;
   padding: 0;
}/*拉寬編輯欄設定*/

body[data-type="fullpage"]:not(#managehome) #wrap>*:not(:last-child) {
    margin-bottom: 0px;
}

/*按鈕-文字底色變化特效*/
.btn-1 {
    border: 1px solid #000;/*表格按鈕框線樣式*/
    color: #000;
    font-size: 14px;
}
.btn-1:hover{
    background-color: #ca0205; /* 當滑鼠經過時按鈕表格底色變化 */
    color: #fff;/* 當滑鼠經過時按鈕表格文字變化 */
}
.custom-btn {
    padding: 5px 25px;
    font-family: Arial,微軟正黑體; 
    font-weight: 500;
    background: transparent;
    outline: none !important;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    display: inline-block;
}

/*產品-區塊項目li效果—4格*/
.pro_item-1 ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}
.pro_item-1 ul li {
    padding: 10px;
    margin: 5px;
    width: calc(50% - 10px);
    border-radius: 5px;
    line-height: 1.5;
    border: 1px solid #dddddd;
    background-color: #fff;
  font-size: 1.2rem;
  font-family: 'Noto Sans TC', sans-serif;
  font-weight: 500;
  text-align: center;
}

/*footer*/
#foot-nav {
  clear: both;
  padding: 2em 0 1em;
  border-bottom: 0px solid #444;
  display: flex;
  justify-content: center;
}


/*btn-服務專線*/
.btn {
    position: relative;
    padding: 10px 20px;
    margin: 30px auto;
    box-shadow:inset 2px 2px 2px 0px rgba(255,255,255,.5),
    inset -7px -7px 10px 0px rgba(0,0,0,.1),
   7px 7px 20px 0px rgba(0,0,0,.1),
   4px 4px 5px 0px rgba(0,0,0,.1);
    border-radius: 50px;
    font-weight: bold;
    font-size: 26px;
    text-align: center;
    text-decoration: none;
    overflow: hidden;
}
.btn:hover {
  color: #fff;
  text-decoration: none;    
}
.btn:active{
  color: #fff;
  box-shadow:  4px 4px 6px 0 rgba(255,255,255,.3),
              -4px -4px 6px 0 rgba(116, 125, 136, .2), 
    inset -4px -4px 6px 0 rgba(255,255,255,.2),
    inset 4px 4px 6px 0 rgba(0, 0, 0, .2);
}

.btn2{
  background-color: #E91E63;
  color: #ffffff;
}
.btn2:hover{
	animation: fluffy 0.8s linear 0s 1;
  background-color: #2196f3;
}
@keyframes fluffy {
	0%   { transform: scale(1.0, 1.0) translate(0%, 0%); }
	15%  { transform: scale(0.9, 0.9) translate(0%, 5%); }
	30%  { transform: scale(1.3, 0.8) translate(0%, 10%); }
	50%  { transform: scale(0.8, 1.3) translate(0%, -10%); }
	70%  { transform: scale(1.1, 0.9) translate(0%, 5%); }
	100% { transform: scale(1.0, 1.0) translate(0%, 0%); }
}