.phone{position:fixed;right:1%;top:30%;z-index:1000}
.fb{position:fixed;right:1%;top:45%;z-index:1000}

/* 首頁各層編輯欄背景*/
#bodyinhome .fcol.fcol-1 .container {
   width: 100%;
}

/* 首頁各層編輯欄背景*/
#bodyinhome .fcol.fcol-2 .container {
   width: 100%;
    padding: 3rem 0;
  background-attachment: scroll;
   background-repeat: no-repeat;
   background-position:left top;
   background-size: cover;
   background-image: -webkit-linear-gradient(left, rgb(255 255 255 / 50%) 0%, rgb(255 255 255 / 50%) 100%),url( https://static.iyp.tw/17555/files/34e0e1e9-430a-4233-9d0e-9b007623f142.jpg);
 
}

/* 首頁各層編輯欄背景*/
#bodyinhome .fcol.fcol-4 {
   background-repeat: no-repeat;
   background-position: 50% 50%;
   background-size: cover;/*cover圖片剪裁不拉伸壓縮 ; contain不拉伸壓縮.等比縮放)*/
   background-image: -webkit-linear-gradient(left, rgba(0,0,0,0.0) 0% ,rgba(0, 0, 0, 1.0) 100%) , url(https://static.iyp.tw/17555/files/8ab7c537-3a4f-4f21-be48-33b76abed71c.jpg);
height: 500px; 
  display: flex; 
  align-items: center;
 
}

/*了解更多-白*/
.bg-icon1  {
  margin-left: auto; 
  margin-right: auto;
  transition:.3s all ease;
  padding: 5px 15px;
  color: #af8462;
  text-align: center;
  font-size: 16px;
   border: 1px solid #af8462;

}

.bg-icon1:hover  {color: #fff;  background-color: #c1874b;}

.bg-icon1 a { color:#fff; background-color: #c1874b;}

body{
  background-color:#fff;
  font-family: 'Noto Sans TC', sans-serif;
}
.swiper-container {
  height: auto !important;
}

.swiper-wrapper, .swiper-slide {
  height: 0 !important;
  padding-bottom: calc(700 / 1920 * 100%); /* 自定響應式圖片高度 */
}

.swiper-slide {
  width: 100% !important;
}



.line{
	border-bottom-width: 1px;
	border-bottom-style: dotted;
	border-bottom-color: #666;
}


h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4, .h5, .h6 {
    font-family: inherit;
    font-weight: 500;
    line-height: inherit;
    color: #777777;
}

ul.product-list li a.focus h3, ul.product-list li a:hover h3 {
    color: #464646;
}
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: #7a7a7a;
    overflow: hidden;
    padding: 0 16px;
}


.topnavbar {
      background-color: #c1874b;/*頁籤底圖顏色;background-color: rgba(255,255,255,0);透明Transparent*/
    position: relative;/*relative 頁籤&banner分開不重疊;頂置 fixed;*/
    height: 100px;/*頁籤底圖高度*/
    padding: 0;/*頁籤間距*/
}


#nav ul li a:hover {
    color: #ffea00;
}
#nav ul li.current a {
    color: #ffea00;
    font-weight: bold;
    font-weight: 600;
}
#nav ul li a {
    white-space: nowrap;
    overflow: hidden;
    -ms-text-overflow: ellipsis;
    text-overflow: ellipsis;
    display: block;
    color: #fff;
    padding: 16px;
    line-height: 1.3;
    transition: .3s;
}

/*頁籤按鈕上底線滑入特效-底線短*/
#nav ul li a::before {
  content:"";
  border-top:3px solid #ffea00;
  width:0;
  position:absolute;
  left:0;
  right:0;
  top:0px;
  margin:0 auto;
  transition:.3s all ease;
}
#nav ul li a:hover::before {
    width: 50%;
}

#nav .subnav li a:hover::before  {
    display:none;
}

#nav .subnav { background-color: #ce9253;}

/*圖文連結特效*/
@import url(https://fonts.googleapis.com/css?family=Raleway:400,500,800);
figure.snip1084 {
  color: #fff;
  position: relative;
  overflow: hidden;
  margin: 0 auto 0;
  min-width: 220px;
  max-width: 100%;
  max-height: 400px;
  width: 100%;
  background: #000000;
  text-align: center;
}

figure.snip1084 * {
  -webkit-box-sizing: padding-box;
  box-sizing: padding-box;
  -webkit-transition: all 0.3s ease-out;
  transition: all 0.3s ease-out;
}

figure.snip1084 img {
  opacity: 2;
  width: 100%;
   object-fit: cover; 
  height: 400px; /*高度*/
}

figure.snip1084 figcaption {
  top: 50%;
  left: 40px;
  right: 40px;
  position: absolute;
  -webkit-transform: translateY(-50%);
  transform: translateY(-50%);
}

figure.snip1084 figcaption h2 {
  position: relative;
  font-weight: 400;
  font-weight:bold;
  color: #fff;
  text-transform: uppercase;
  margin: 0;
  -webkit-transform: translateY(75%);
  transform: translateY(75%);
  text-shadow: black 0.1em 0.1em 0.2em;
}

figure.snip1084 figcaption h2 span {
  font-weight: 800;
}

figure.snip1084 figcaption p {
  font-size: 0.9em;
  font-weight: 500;
  opacity: 0;
  margin: 0;
  color: #fff;
}

figure.snip1084:before,
figure.snip1084:after {
  position: absolute;
  top: 20px;
  right: 20px;
  bottom: 20px;
  left: 20px;
  content: '';
  opacity: 0;
  -webkit-transition: opacity 0.6s, -webkit-transform 0.6s;
  transition: opacity 0.6s, -webkit-transform 0.6s, -moz-transform 0.6s, -o-transform 0.6s, transform 0.6s;
}

figure.snip1084:before {
  border-top: 1px double #fff;
  border-bottom: 1px double #fff;
  -webkit-transform: scale(0, 1);
  transform: scale(0, 1);
}

figure.snip1084:after {
  border-right: 1px double #fff;
  border-left: 1px double #fff;
  -webkit-transform: scale(1, 0);
  transform: scale(1, 0);
}

figure.snip1084 a {
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  position: absolute;
  z-index: 1;
}

figure.snip1084.blue {
  background: #0a212f;
}

figure.snip1084.red {
  background: #1176bd;
}

figure.snip1084.yellow {
  background: #ff9b52;
}

figure.snip1084:hover img,
figure.snip1084.hover img {
  opacity: 0.2;
  -webkit-filter: blur(5px);
  filter: blur(5px);
  -webkit-transform: scale(1.1);
  transform: scale(1.1);
}

figure.snip1084:hover figcaption h2,
figure.snip1084.hover figcaption h2,
figure.snip1084:hover figcaption p,
figure.snip1084.hover figcaption p {
  opacity: 1;
  border-color: rgba(17, 118, 189, 0.5);
  -webkit-transition-delay: 0.2s;
  transition-delay: 0.2s;
  -webkit-transform: translateY(0);
  transform: translateY(0);
}

figure.snip1084:hover figcaption p,
figure.snip1084.hover figcaption p {
  -webkit-transition-delay: 0.3s;
  transition-delay: 0.3s;
}

figure.snip1084:hover:before,
figure.snip1084.hover:before,
figure.snip1084:hover:after,
figure.snip1084.hover:after {
  opacity: 0.8;
  -webkit-transform: scale(1);
  transform: scale(1);
}



/*圖文特效2*/
figure.snip0078 {
  color: #fff;
  position: relative;
  margin: 0 auto 0;
  min-width: 180px;
  max-width: 320px;
  height: 250px;
  width: 100%;
  text-align: center;
}
figure.snip0078 * {
  -webkit-box-sizing: padding-box;
  box-sizing: padding-box;
}
figure.snip0078 img {
  opacity: 1;
  width: 100%;
  height: 100%;
  object-fit: cover;  /*cover圖片剪裁不拉伸壓縮 ; contain不拉伸壓縮.等比縮放)*/
  border: 5px solid #cb7325;
  -webkit-transition: all 0.3s;
  transition: all 0.3s;
  /*-webkit-transform: scale(0.9);
  transform: scale(0.9);*/
  -webkit-transform-origin: 0 0;
  transform-origin: 0 0;
}
figure.snip0078 figcaption {
  left: 0;
  right: 0;
  bottom: -6px;
  width: 100%;
  position: absolute;
  background: #cb7325;
  padding: 5px ;
  -webkit-transition: all 0.3s;
  transition: all 0.3s;
  -webkit-transform: translateY(0);
  transform: translateY(0);
  box-shadow: 0 0px 10px -10px #000000;
}
figure.snip0078 figcaption h2,
figure.snip0078 figcaption p {
  margin: 0;
  color: #ffffff;
}
figure.snip0078 figcaption h2 {
  font-size: 18px;
  font-weight: 600;
  text-transform: uppercase;
}
figure.snip0078 figcaption p {
  font-size: 12px;
  font-weight: 400;
  opacity: 0.65;
}
figure.snip0078 a {
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  position: absolute;
  z-index: 1;
}
figure.snip0078:hover figcaption,
figure.snip0078.hover figcaption {
  -webkit-transform: translateY(-10px);
  transform: translateY(-10px);
  box-shadow: 0 15px 15px -15px #000000;
}
figure.snip0078:hover img,
figure.snip0078.hover img {
  border: 5px solid #cb7325;
  opacity: 0.8;
}
/*圖文特效2*/

/* 文字放大手機*/
@media only screen and (max-width: 768px){
body {
     font-size: 16px;/*螢幕寬度768px內文字大小*/
}

#footer {
   font-size: 12px;
}
}


/* 文字放大電腦*/
@media only screen and (min-width: 768px){
#main-wrap .container {
    font-size:16px;
  line-height:30px;
  color: #000;
}}
  

#footer {
    color: #fff;
    background-color: #c1874b;
}
#foot-nav {
    clear: both;
    padding: 1em 0;
    border-bottom: 1px solid #ffffff;
}
#foot-nav ul li a {
    display: block;
    color: #fff;
    font-size: 1.06em;
    margin-right: 10px;
    padding: 8px 16px;
}
#contact-info ul li span {
    color: #fff;
}

/* 線*/
.line{
    height: 1px;//高度爲1px,可根據實際修改
    width: 150px;
    background: #ffae00;
}
.innerline{
    display: block;
    width: 150px;
    height: 3px;
    background: #ffae00;
    margin-top: -1px;//很重要，否則兩條線不在同一水平面
}
