/*fb-側欄外掛*/
.fbbox{background: url("https://s3-ap-northeast-1.amazonaws.com/static.iyp.tw/21356/files/bddc67f6-8518-4822-ac5d-70b1429ef7d8.png") no-repeat scroll left center transparent !important;display: block;float: right;height: 270px;padding: 0 5px 0 46px;width: 290px;z-index: 99999;position:fixed;right:-250px;top:10%;}
.fbbox div{border:none;position:relative;display:block;}
.fbbox span{bottom: 12px;font: 8px "lucida grande",tahoma,verdana,arial,sans-serif;position: absolute;right: 6px;text-align: right;z-index: 99999;}
.fbbox span a{color: #808080;text-decoration:none;}
.fbbox span a:hover{text-decoration:underline;}


body {
  /* background-repeat: no-repeat;/*; scroll捲動背景*/
  background-attachment: fixed; 
   background-position: 50% 10%;
   background-size: cover;/*cover圖片剪裁不拉伸壓縮 ; contain不拉伸壓縮.等比縮放)*/
   background-image: -webkit-linear-gradient(top, rgba(0,0,0,0.0) 0% ,rgba(0, 0, 0, 0.0) 100%) , url(https://static.iyp.tw/21356/files/ca183f3c-86ae-4202-b2d4-4fbf8529444d.jpg);
}

#footer {
     background-repeat: no-repeat;
   background-position: 50% 10%;
   background-size: cover;/*cover圖片剪裁不拉伸壓縮 ; contain不拉伸壓縮.等比縮放)*/
   background-image: -webkit-linear-gradient(top, rgba(0,0,0,0.8) 0% ,rgba(0, 0, 0, 0.6) 100%) , url(https://static.iyp.tw/21356/files/cdbfcde2-1b0d-4af4-aad0-2e65c71a93c1.jpg);
}

#bodyinhome .fcol.fcol-2, body.about-us .fcol.fcol-2  { 
  width: 100%;
   background-attachment: scroll;
   background-repeat: no-repeat;
   background-position:left top;
   background-size: cover;
   background-image: -webkit-linear-gradient(left, rgb(255 255 255 / 10%) 0%, rgb(255 255 255 / 10%) 100%),url(https://static.iyp.tw/21356/files/c67cea4f-89ff-4f5f-aa4d-213c97598d5b.jpg);
   background-color: #f5f5f5;
  padding: 3rem 0;}

body.about-us .fcol.fcol-3  { 
    background-attachment: fixed; 
   background-position: 50% 30%;
   background-size: cover;/*cover圖片剪裁不拉伸壓縮 ; contain不拉伸壓縮.等比縮放)*/
   background-image: -webkit-linear-gradient(top, rgba(0,0,0,0.0) 0% ,rgba(0, 0, 0, 0.0) 100%) , url(https://static.iyp.tw/21356/files/a8969cc9-ce2d-4449-90c1-d62ebff8f193.jpg);
   padding: 5rem 0;
 }

#bodyinhome .fcol.fcol-6 .container { width: 100%; background-color: #bd8735; padding:0px;}

/*圖片遮罩方式黑色或淡化固定不動 御田沿革*/
body.history .fcol.fcol-3  {
  width: 100%;
   /*background-color: #231a15;*/
  background: url(https://static.iyp.tw/21356/files/11bf7199-5246-42f4-a8c4-0dbf6f6bd577.png) no-repeat scroll center bottom transparent; 
   position: relative;
}


/*圖片遮罩方式黑色或淡化固定不動 御田滴雞精專區*/
body.chicken-essence-zone .fcol.fcol-2  {
   /*background-attachment: fixed; /*fixed固定背景; scroll捲動背景*/
   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/21356/files/636e62fb-4c5a-41d9-93fe-840750216db3.jpg);
   padding: 5rem 0;
}



.line{
    height: 1px;//高度爲1px,可根據實際修改
    width: 150px;
    background: #e19e39;
}
.innerline{
    display: block;
    width: 150px;
    height: 2px;
    background: #e19e39;
    margin-top: -1px;//很重要，否則兩條線不在同一水平面
}


/*套用google font字型Noto Sans TC黑體*/
#t-700{
  font-family: 'Noto Sans TC', sans-serif;
  font-weight: 700;
  color: #de9c1d;
  font-size: 40px;
}
@media only screen and (max-width: 768px){
#t-700{ font-size: 32px; }}

#t-500{
  font-family: 'Noto Sans TC', sans-serif;
  font-weight: 500;
  line-height: 2;
}

#t-400{
  font-family: 'Noto Sans TC', sans-serif;
  font-weight: 400;
  line-height: 2;
}

.topnavbar {
    background-color: rgba(255,255,255,0);/*頁籤底圖顏色;background-color: rgba(255,255,255,0);透明Transparent*/
    /*position: relative;/*relative 頁籤&banner分開不重疊;頂置 fixed;*/
    /*height: 100px;/*頁籤底圖高度*/
    padding: 0;/*頁籤間距*/
}

.topnavbar .container {
  text-align: center;
  padding: 10px 0 0 0;
}
@media only screen and (max-width: 768px){
.topnavbar .container {
  background-color: #000;
}
}

.topnavbar .container::after {
  display: inline-block;
  width: 100%;
}

body {
    background-color: #fff;/*背景底色*/
}

#logo h1 { text-align: center; }

table {
table-layout: fixed;
word-wrap:break-word;
} /*動到表格手機不會破版*/


/*編輯欄設定*/
.fcol p{
    font-size: 18px;/*文字大小*/
    color: #000000;/*文字顏色*/
    line-height: 1.6;
}
@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 {
  margin-left: 30px;
  background-color:#de9c1d;
  border-radius: 30px;
  line-height: 0;
  padding: 5px 20px 6px;
}
#nav ul{ margin: -5px 0;}
#nav ul li a {
    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: #fff;/*頁籤滑過文字顏色*/
    /*background-color: #ff1000;*/
}
#nav ul li.current a {
    color: #fff;/*頁籤按下後文字顏色*/
}

#nav .subnav {
    margin-top: 0;
    background-color: #333;/*次頁籤底色*/
    max-width: 400px;/*次頁籤背景最大寬度*/
}
#nav .subnav .has-subnav span{
    max-width: 400px;/*次頁籤文字背景最大寬度*/
}
#nav li.has-subnav ul li a {
   color: #fff;/*次頁籤文字顏色*/  
}
#nav li.has-subnav ul li a:hover {
   background-color: #ff1000;  
}    

#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: #8c531c;/*產品格文字顏色*/
    background-color: #ddd;/*產品格底色*/
}
ul.product-list li a:hover {
    color: #8c531c;/*產品格滑過文字顏色*/
}
.productdetail .detail-spec h2 p{
    color: #333;
    font-size: 30px;
}/*產品內頁標題文字*/


/*title文字顏色*/
.h1title h1{
    text-align: center;
    color: #333333;
}

a {
    color: #00b7ee;/*連結顏色*/
    text-decoration: none;
}

.swiper-container {
  height: auto !important; /* 將容器預設的高拿掉 */
}

.swiper-wrapper, .swiper-slide {
  height: 0 !important;
  padding-bottom: calc(800 / 1920 * 100%); /* 自定響應式圖片高度 */
}

.swiper-slide {
  width: 100% !important; /* 強制圖片寬度隨容器變更 */
}

/*首頁-人物圖片上錯位*/
#img-1{    
  position: relative;
  margin-top: -100px;
  z-index: 100;
  border: 1px solid #ccc;
}
@media only screen and (max-width: 1280px){
#img-1{ margin-top: -70px;}
}  
@media only screen and (max-width: 768px){
#img-1{ margin-top: -40px;}
}


#img-2{   
  padding:2px;
  border: 1px solid #ccc;
  background-color: #fff;
}


/*index*/
#bodyinhome .fcol.fcol-1 {
   background-attachment: fixed; /*fixed固定背景; scroll捲動背景*/
   background-repeat: no-repeat;
   background-position:left top;
   background-image: url(https://static.iyp.tw/21356/files/0f1ecec6-0360-4343-8c15-d091aded7005.jpg);
   background-color: #fcfcfc;
}

#bodyinhome .fcol.fcol-2 { background-color: #f1f1f1;}

#bodyinhome .fcol.fcol-4 .container { width: 100%; padding:0px;  background-color: #324158;}

/*about-us*/
body.about-us .fcol.fcol-4 {
    width: 100%; 
   background-attachment: scroll; /*fixed固定背景; scroll捲動背景*/
   background-repeat: no-repeat;
   background-position:center top;
   background-image: url(https://static.iyp.tw/21356/files/211e1377-4843-40f4-b420-95851c0f22a4.jpg);
}

/*who-we-are*/
body.who-we-are {
   width: 100%; 
   background-attachment: fixed; /*fixed固定背景; scroll捲動背景*/
   background-repeat: no-repeat;
   background-position:center top;
   background-image: url(https://static.iyp.tw/21356/files/e3205e27-cb1a-4c0f-8e6a-7e33731a98b0.jpg);
}
body.who-we-are .fcol.fcol-4,
body.who-we-are .fcol.fcol-5,
body.who-we-are .fcol.fcol-6 {
   background-color: #fff;
}
body.who-we-are .h1title h1{
    text-align: center;
    color: #fff;
}

body[data-type="fullpage"]:not(#managehome) #wrap>*:not(:last-child) {
    margin-bottom: 0px;
} 

/*表格按鈕-文字底色變化特效*/
button1 {
    margin: 0px 20px;
}
.btn-1 {
    /*border-radius: 10px;/*表格按鈕框線圓角*/
    border: 1px solid #ccc;/*表格按鈕框線樣式*/
    color: #fff;
    font-size: 14px;
}
.btn-1:hover{
    background-color: #ff1000; /* 當滑鼠經過時按鈕表格底色變化 */
    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;
}/*表格按鈕-文字底色變化特效*/


/*御田沿革*/
body.history .fcol.fcol-1,
body.history .fcol.fcol-header {
   background-color: #ccc;
}
body.history .fcol.fcol-2 {
   background-image: -webkit-linear-gradient(top, #ccc 50% ,#fff 50%);/*頁籤底色漸層*/
}


#table-about {
    position: relative;
    z-index: 1;
    width: 80%;
    border-collapse: collapse;
    background-color: rgba(0, 0, 0, 0.7);
    margin: -10% 0 0 20%;
    border: none;
}
@media only screen and (max-width: 991px){
#table-about { 
  width: 90%;
  margin: -10% auto 0;
}
}
#table-about td{
  padding:20px;
}

/* Timeline-歷史沿革 */
.timeline {
  border-left: 4px solid #ff1000;
  border-bottom-right-radius: 2px;
  border-top-right-radius: 2px;
 /* box-shadow: 0 2px 5px 0 rgba(0, 0, 0, 0.16), 0 2px 10px 0 rgba(0, 0, 0, 0.12);*/
  color: #333;
  margin: 0 6%;
  letter-spacing: 0.5px;
  position: relative;
  line-height: 1.4em;
  padding: 20px;
  list-style: none;
  text-align: left;
}

.timeline .event {
  border-bottom: 1px solid rgba(160, 160, 160, 0.2);
  padding-bottom: 15px;
  margin-bottom: 20px;
  position: relative;
}

.timeline .event:last-of-type {
  padding-bottom: 0;
  margin-bottom: 0;
  border: none;
}

.timeline .event:before,
.timeline .event:after {
  position: absolute;
  display: block;
  top: 0;
}

.timeline .event:before {
  left: -170px;
  color: #ff1000;
  content: attr(data-date);
  text-align: right;
  font-size: 16px;
  min-width: 120px;
}

.timeline .event:after {
    box-shadow: 0 0 0 6px #ff1000;
    left: -28px;
    background: #ffffff;
    border-radius: 50%;
    height: 11px;
    width: 11px;
    content: "";
    top: 5px;
}
.timeline p {
    padding-top: 0;
}

@media (max-width: 945px) {
  .timeline .event::before {
    left: 0.5px;
    top: 0px;
    min-width: 0;
    font-size: 13px;
  }
  .timeline p {
    font-size: 14px;
    padding-top: 20px;
  }
}


#copyright {display:none}/*copyright隱藏*/  

/* 文字放大手機*/
@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;
}}

#Process-bg {
    border-radius: 15px;
    background-color:#fff;
    padding: 10px 10px 2px 10px;
    margin: 0 0.5rem;
    height: 100%;
    border: 1px solid #ddd;/*表格細線*/
  box-shadow: inset 10px -1px 50px 4px #DEDEDE,-1px 34px 26px -23px #A6A6A6;
-webkit-box-shadow: inset 10px -1px 50px 4px #DEDEDE,-1px 34px 26px -23px #A6A6A6;
-moz-box-shadow: inset 10px -1px 50px 4px #DEDEDE,-1px 34px 26px -23px #A6A6A6;
-o-box-shadow: inset 10px -1px 50px 4px #DEDEDE,-1px 34px 26px -23px #A6A6A6;
}

/*服務申請流程箭頭*/

#Process::after {
  font-family: "Font Awesome 6 Free";
  content: "\f0a9"; /*向右箭頭*/
  position: relative;
  bottom: 50%;
  left: 100%;
  font-size: 20px;
  font-weight: 700;
} 

@media only screen and (max-width: 760px){
#Process::after {
  content: "\f0ab"; /*向下箭頭*/
  position: relative;
  bottom: -10px;
  top:2.5%;
  left: 50%;
}}


/*首頁圖片6*/
@import url(https://fonts.googleapis.com/css?family=Open+Sans:400,800;);
.snip1521 {
  font-family: 'Open Sans', sans-serif;
  position: relative;
  overflow: hidden;
  margin: 0 auto 0;
  width: 100%;
  color: #fff;
  text-align: center;
  font-size: 16px;
  background-color: #b27d2e;
}

.snip1521 * {
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  -webkit-transition: all 0.35s;
  transition: all 0.35s;
}

.snip1521 img {
  vertical-align: top;
  width: 100%;
  backface-visibility: hidden;
  opacity: 0.3;
  height: 250px;
  object-fit: cover;
}

.snip1521 figcaption {
  position: absolute;
  background-color: #2f4ca8;
  z-index: 1;
  top: 50%;
  left: 50%;
  padding: 5px 20px;
  -webkit-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
  line-height: 1.1em;
  overflow: hidden;
  height: 44px;
}

.snip1521 h3 {
  text-transform: uppercase;
  font-size: 0.9em;
  font-weight: 400;
  margin: 0;
  letter-spacing: 2px;
  line-height:19px;
}

.snip1521 h3.hover {
  color: #ffffff;
  font-weight: 800;
}

.snip1521 a {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 1;
}

.snip1521:hover > img,
.snip1521.hover > img {
  opacity: 1.0;
}

.snip1521:hover figcaption,
.snip1521.hover figcaption {
  background-color: #b27d2e;
}

.snip1521:hover .title,
.snip1521.hover .title {
  -webkit-transform: translateY(-150%);
  transform: translateY(-150%);
}

.snip1521:hover .hover,
.snip1521.hover .hover {
  -webkit-transform: translateY(-150%);
  transform: translateY(-150%);
}
