.phone{position:fixed;right:1%;top:30%;z-index:1000;}
.fb-1{position:fixed;right:1%;top:42%;z-index:1000;}
.fb-2{position:fixed;right:1%;top:54%;z-index:1000;}
.YouTube{position:fixed;right:1%;top:66%;z-index:1000;}

/*手機版-側欄浮動按鈕-縮小*/
@media (max-width: 414px){
  .phone, .fb-1, .fb-2, .YouTube { 
    transform: scale(0.8);
    right:0;
  }
}

/*套用google font字型Noto Serif TC明體*/
#t-700{
  font-family: 'Noto Serif TC', serif;
  font-weight: 700;
  color: #e70c7d;
  font-size: 30px;
}
@media only screen and (max-width: 768px){
#t-700{ font-size: 24px; }}

#t-500{
  font-family: 'Noto Serif TC', serif;
  font-weight: 500;
}

/*頁籤底拉寬*/
#header .topnavbar .container {
    padding-left: 60px;
    padding-right: 60px;
    width: 100%;
}

.topnavbar {
    background-color: rgba(255,255,255,0);/*頁籤底圖顏色;background-color: rgba(255,255,255,0);透明Transparent*/
    position: relative;/*relative 頁籤&banner分開不重疊;頂置 fixed;*/
    padding: 0;/*頁籤間距*/
}

.topnavbar .container {
  text-align: center;
  padding: 0;
}

.topnavbar .container::after {
  display: inline-block;
  width: 100%;
}

body { 
  background-attachment: fixed; /*fixed固定背景; scroll捲動背景*/
  background-repeat: no-repeat;
  background-position:center;
  background-image: url(https://static.iyp.tw/409210/files/cdfffd20-cfba-4ce4-b319-6237c4e06f68.jpg);
  background-size:750*@fs1 1624*@fs1;
  height: 100%;
  min-height: 1268*@fs1;
}
body:before{
    content: "";
    position: fixed;
    z-index: -1;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background-image: inherit;
    background-size:750*@fs1 1624*@fs1!important;
    -webkit-background-size: 750*@fs1 1624*@fs1!important;
    -o-background-size:750*@fs1 1624*@fs1!important;
}

#logo { display: block; }
#logo h1 { text-align: center; }

table {
  table-layout: fixed;
  word-wrap:break-word;
} /*動到表格手機不會破版*/


/*編輯欄設定*/
.fcol p{
    font-size: 16px;/*文字大小*/
    color: #000000;/*文字顏色*/
    line-height: 2;
}
@media only screen and (max-width: 768px){
.fcol p{
    font-size: 14px;/*螢幕寬度768px內文字大小*/
}}

body[data-type="fullpage"] #product-header.main {
      min-height: auto;/*產品-編輯框不設定高*/
}
/*編輯欄設定*/


/*nav*/
@media only screen and (min-width: 768px) {
#nav > ul > li:nth-child(-n+5) {
    z-index: 1;
}}/*次頁籤層級上移,雙排頁籤文字時上排次頁籤會被下排壓住*/

#nav ul li a {
  font-size: 1.0rem;/*頁籤文字大小*/
  color: #333333;/*頁籤文字顏色*/
  padding: 10px 15px;/*頁籤文字間隔;padding:2px 16px 2px 16px;*/
  line-height: 1.3;
  transition: .3s;
  border-radius: 20px;
}

#nav ul li a:hover  {
  color: #fff;/*頁籤滑過文字顏色*/
  background-color: #e70c7d;
}
#nav ul li.current a {
  color: #fff;/*頁籤按下後文字顏色*/
  background-color: #e70c7d;
}

#nav .subnav {
  background-color: #666;/*次頁籤底色*/
  max-width: 400px;/*次頁籤背景最大寬度*/
  text-align: left;
}
#nav .subnav .has-subnav span{
  max-width: 400px;/*次頁籤文字背景最大寬度*/
}
#nav li.has-subnav ul li a {
   color: #fff;/*次頁籤文字顏色*/    
   background-color: #666;
   border-radius:0;
}
#nav li.has-subnav ul li a:hover {
  color: #fff;/*次頁籤滑過後文字顏色*/   
  background-color: #e70c7d;
  border-radius: 0;
}
#nav li.has-subnav ul li.current a {
   color: #fff;/*次頁籤按下後文字顏色*/    
}

#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: #eee;/*產品格底色*/
}
ul.product-list li a:hover {
  color: #666;/*產品格滑過文字顏色*/
}
.productdetail .detail-spec h2 p{
  color: #333;
  font-size: 30px;
}/*產品內頁標題文字*/


/*title文字顏色*/
.h1title h1{
  text-align: center;
  color: #e70c7d;
  font-family: 'Noto Serif TC', serif;
  font-weight: 500;
  letter-spacing: 5px;
  border-bottom: 1px dashed #ddd;
}

a {
  color: #00b7ee;/*連結顏色*/
  text-decoration: none;
}

.swiper-container {
  height: auto !important; /* 將容器預設的高拿掉 */
}

.swiper-wrapper, .swiper-slide {
  height: 0 !important;
  padding-bottom: calc(750 / 1920 * 100%); /* 自定響應式圖片高度 */
}

.swiper-slide {
  width: 100% !important; /* 強制圖片寬度隨容器變更 */
}


/* 首頁各層編輯欄背景*/
#bodyinhome .fcol.fcol-1 { padding:3rem 0; }

#bodyinhome .fcol.fcol-2 {
  background-color: rgb(167 164 130 / 30%);
  padding:3rem 0;
}

#bodyinhome .fcol.fcol-3 .container {
   width: 100%;
   padding:3rem 0;
}/*拉寬編輯欄設定*/

#bodyinhome .fcol.fcol-5 {
  width: 100%;
  background-color: rgb(255 241 239 / 70%);
  padding:3rem 0;
}

#bodyinhome .fcol.fcol-6 {
   width: 100%;
   background-attachment: scroll; /*fixed固定背景; scroll捲動背景*/
   background-repeat: no-repeat;
   background-position:center bottom;
   background-size: cover;/*cover圖片剪裁不拉伸壓縮 ; contain不拉伸壓縮.等比縮放)*/
   background-image: -webkit-linear-gradient(top, rgb(0 0 0 / 60%) 0% ,rgb(0 0 0 / 60%)  100%),url(https://static.iyp.tw/409210/files/1483f11e-fc6a-4366-b598-98a0613662be.jpg);
   background-color: #ccc;
  padding:3rem 0;
}

body[data-type="fullpage"]:not(#managehome) #wrap>*:not(:last-child) {
    margin-bottom: 0px;
}

/*按鈕-文字底色變化特效*/
.btn-1 {
    border-radius: 10px;/*表格按鈕框線圓角*/
    border: 1px solid #ccc;/*表格按鈕框線樣式*/
    color: #666;
    font-size: 14px;
  background: transparent;
}
.btn-1:hover{
    background-color: #666; /* 當滑鼠經過時按鈕表格底色變化 */
    color: #fff;/* 當滑鼠經過時按鈕表格文字變化 */
}
.btn-2 {
    border-radius: 10px;/*表格按鈕框線圓角*/
    border: 1px solid #ccc;/*表格按鈕框線樣式*/
    color: #fff;
    font-size: 14px;
  background-color: #e70c7d;
}
.btn-2:hover{
    background-color: #666; /* 當滑鼠經過時按鈕表格底色變化 */
    color: #fff;/* 當滑鼠經過時按鈕表格文字變化 */
}
.custom-btn {
    padding: 5px 25px;
    font-family: Arial,微軟正黑體; 
    font-weight: 500;
    outline: none !important;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    display: inline-block;
}


/*svg icon*/
#icon-1 svg {
  width: 150px;
  height: 150px;
  color: #718f19;
  border-radius: 100%;
  border: 2px dashed;
  margin: 10px;
  padding: 0;
}
#icon-1 svg:hover {
  color: #ad9100;
  -webkit-transition: all 0.45s ease;
  transition: all 0.3s ease;
  border-radius: 100%;
  border: 2px dashed;
  margin: 5px;
  padding: 5px;
}

/*圖文連結特效*/
.snip1504 {
  position: relative;
  overflow: hidden;
  margin: 0 auto 0;
  min-width: 120px;
  max-width: 350px;
  width: 100%;
  color: #fff;
  background-color: #377300;
}

.snip1504 * {
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  -webkit-transition: all 0.45s ease;
  transition: all 0.45s ease;
}

.snip1504 img {
  object-fit: cover;  /*cover圖片剪裁不拉伸壓縮 ; contain不拉伸壓縮.等比縮放)*/
  vertical-align: top;
  width: 100%;
  height: 250px; 
  backface-visibility: hidden;
  opacity: 0.4;
}
@media only screen and (max-width: 768px){ .snip1504 img { height: 180px; }}

.snip1504 figcaption {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1;
  align-items: center;
  bottom: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.snip1504 h3 {
  margin: 0;
  opacity: 1;
  letter-spacing: 1px;
  font-size: 24px;
  font-weight: 700;
  -webkit-transform: translateY(50%);
  transform: translateY(50%);
  text-transform: uppercase;
}

.snip1504 h5 {
  margin: 0;
  opacity: 0;
  letter-spacing: 1px;
  font-size: 20px;
  font-weight: 400;
  color: #fff;
  -webkit-transform: translateY(100%);
  transform: translateY(100%);
}

.snip1504 a {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 1;
}

.snip1504:hover > img,
.snip1504.hover > img {
  opacity: 0.8;
}

.snip1504:hover h3,
.snip1504.hover h3,
.snip1504:hover h5,
.snip1504.hover h5 {
  -webkit-transform: translateY(0%);
  transform: translateY(0%);
  opacity: 1;
}



/*小標題線框*/
#t-1 {
  border-left: 2px solid #e70c7d;
  border-bottom: 1px solid #ddd;
  padding: 0 10px;
  font-family: 'Noto Serif TC', serif;
  font-weight: 500;
  color: #000000;
  margin-bottom: 10px;
}
/*小標題底圖*/
.t-bg {
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  background-image: url(https://static.iyp.tw/409210/files/6a74d4e5-8daf-484b-9f5a-2ff80d90a54b.svg);
}

/*footer*/
#foot-nav {
    display: none;/*footer頁籤連結隱藏*/
}
#footer {
    color: #333333;
    background-color: #f5e1e1;
}
#footer a { color: #666666; }
#footer a:hover { color: #e70c7d; }
@media only screen and (min-width: 768px){ #f-line {border-left: 3px solid #fff; }}

/*footer-icon連結-項目li效果*/
.f_icon ol li {
    padding: 6px;
    margin: 8px;
    display: inline-block;
    width: 30px;
    height: 30px;
    border-radius: 100%;
    color: #666;
    background-color: #fff;
}
.f_icon i { font-size:1rem;}
.f_icon a { color:#666; }
.f_icon a:hover { color:#e70c7d; }
