.phone{position:fixed;right:1%;top:40%;z-index:1000;}
.line-1{position:fixed;right:1%;top:52%;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;
  }
}

/*套用google font字型Noto Serif TC明體*/
#t-700{
  font-family: 'Noto Sans TC', sans-serif;
  font-weight: 700;
  color: #343d4a;
  font-size: 36px;
}
@media only screen and (max-width: 768px){
#t-700{ font-size: 26px; }}

#t-500{
  font-family: 'Noto Sans TC', sans-serif;
  font-weight: 500;
  line-height: 2;
}
.topnavbar {
    background-color: Transparent ;/*頁籤底圖顏色;background-color: rgba(255,255,255,0);透明Transparent*/
    position: relative/*relative 頁籤&banner分開不重疊;頂置 fixed;*/
    padding: 0;/*頁籤間距*/
}

.topnavbar .container {
  text-align: justify;
}

.topnavbar .container::after {
  display: inline-block;
  width: 100%;
}

body {
    background-color: #fff;/*背景底色*/
  font-family: 'Noto Sans TC', sans-serif;
}

#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*/
body[data-type="fullpage"] #nav {
    font-size: 0;
    background: #343d4a;
    border-radius: 30px;
    box-shadow: 0 0 3px rgb(0 0 0 / 10%);
}

#nav ul li a {
    font-size: 1.0rem;/*頁籤文字大小*/
    color: #fff;/*頁籤文字顏色*/
    padding: 10px 15px;/*頁籤文字間隔;padding:2px 16px 2px 16px;*/
    line-height: 1.3;
    transition: .3s;
   font-weight: 400;
}

#nav ul li a:hover  {
  color: #c2a669;/*頁籤滑過文字顏色*/
  font-weight: 400;
}
#nav ul li.current a {
  color: #fff;/*頁籤按下後文字顏色*/
  font-weight: 400;
}

#nav .subnav {
    background-color: #141414;/*次頁籤底色*/
    max-width: 400px;/*次頁籤背景最大寬度*/
    text-align: left;
}
#nav .subnav .has-subnav span{
    max-width: 400px;/*次頁籤文字背景最大寬度*/
}

#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 {
  font-family: 'Noto Sans TC', sans-serif;
    color: #343d4a;/*產品格文字顏色*/
    background-color: #f9f9fa;/*產品格底色*/
}
ul.product-list li a:hover {
    color: #141414;/*產品格滑過文字顏色*/
}
.productdetail .detail-spec h2 p{
    color: #333;
    font-size: 30px;
}/*產品內頁標題文字*/


/*title文字顏色*/
.h1title h1{
    color: #343d4a;
  font-family: 'Noto Sans TC', sans-serif;
  font-weight: 500;
}

a {
    color: #c2a669;/*連結顏色*/
    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  {
   width: 100%;
  background: #ebe9ea; 
  background: linear-gradient(310deg,  #ebe9ea 0%,#ebe9ea 37%,#ffffff 37%,#ffffff 100%); 
  background-attachment:fixed;
}
#bodyinhome .fcol.fcol-2 {
   width: 100%;
   background-attachment: scroll; /*fixed固定背景; scroll捲動背景*/
   background-repeat: no-repeat;
   background-position:left top;
   background-size: cover;/*cover圖片剪裁不拉伸壓縮 ; contain不拉伸壓縮.等比縮放)*/
 /*  background-image: -webkit-linear-gradient(top, rgb(0 0 0 / 80%) 0%, rgb(0 0 0 / 80%) 100%),url(https://static.iyp.tw/409238/files/ed8e613f-b91e-4475-8409-5ad261d3d852.jpg);*/
   background-color: #8f9090;
  padding:3rem 0;
}

#bodyinhome .fcol.fcol-3 {
   background-color: #f8f6f6;
}

#bodyinhome .fcol.fcol-4{ padding:3rem 0;}

#bodyinhome .fcol.fcol-5,
#bodyinhome .fcol.fcol-6 { background-color: #343d4a; }

body[data-type="fullpage"]:not(#managehome) #wrap>*:not(:last-child) {
    margin-bottom: 0px;
}

/*圖片斜切*/
#img-clip-1 {    
  display: block;
  width: 100%;
  aspect-ratio: 12 / 9;
  object-fit: cover;
    clip-path: polygon(0 0, 100% 0%, 90% 100%, 0% 100%);}/*右切*/
#img-clip-2 {    
  display: block;
  width: 100%;
  aspect-ratio: 12 / 9;
  object-fit: cover;
  clip-path: polygon(0 0, 100% 0%, 100% 100%, 10% 100%);}/*左切*/
@media only screen and (max-width: 768px){
#img-clip-1 {clip-path: polygon(0 0, 100% 0%, 100% 100%, 0% 100%);}/*取消右切*/
  #img-clip-2 {clip-path: polygon(0 0, 100% 0%, 100% 100%, 0% 100%);}/*取消左切*/  
}

/*圖文連結特效*/
figure.snip1416 {
  color: #fff;
  position: relative;
  overflow: hidden;
  margin: 0 auto;
  min-width: 150px;
  width: 100%;
  background: #000000;
  color: #ffffff;
  text-align: left;
  line-height: 0;
  box-shadow: 1px 1px 5px rgb(0 0 0 / 20%);
}
figure.snip1416 * {
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  -webkit-transition: all 0.6s ease;
  transition: all 0.6s ease;
}
figure.snip1416 img {
  opacity: 0.8;
  aspect-ratio: 16 / 9;
  width: 100%;
  object-fit: cover;  /*cover圖片剪裁不拉伸壓縮 ; contain不拉伸壓縮.等比縮放)*/
  -webkit-transition: opacity 0.35s;
  transition: opacity 0.35s;
}
figure.snip1416 figcaption {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%;
  line-height: 1.2;
}
figure.snip1416 figcaption > div {
  height: 50%;
  overflow: hidden;
  width: 100%;
  position: relative;
}
figure.snip1416 h2,
figure.snip1416 h3 {
  color: #fff;
  margin: 0;
  position: absolute;
  left: 0;
  padding: 0 30px;
  text-transform: uppercase;
}
figure.snip1416 h2 {
  font-weight: 900;
  bottom: 0;
}
figure.snip1416 h3 {
  font-size: 1em;
  top: 0;
  font-weight: 500;
}
figure.snip1416 h3:nth-of-type(2) {
  opacity: 0;
  -webkit-transform: translateY(-150%);
  transform: translateY(-150%);
}
figure.snip1416 a {
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  position: absolute;
}
figure.snip1416:hover img,
figure.snip1416.hover img {
  opacity: 0.3;
  -webkit-filter: grayscale(100%);
  filter: grayscale(100%);
}
figure.snip1416:hover figcaption h3:first-of-type,
figure.snip1416.hover figcaption h3:first-of-type {
  -webkit-transform: translateY(-150%);
  transform: translateY(-150%);
  opacity: 0;
}
figure.snip1416:hover figcaption h3:nth-of-type(2),
figure.snip1416.hover figcaption h3:nth-of-type(2) {
  opacity: 1;
  -webkit-transform: translateY(0%);
  transform: translateY(0%);
}

/*footer*/
#foot-nav ul li a { color: #ffffff; }
#foot-nav ul li { float: right;}/*footer頁籤連結靠右*/
#foot-nav { border-bottom: 0; margin-top: 20px;}
@media only screen and (min-width: 991px) {
  body[data-type="fullpage"] .footer-edit {
    margin-top: -80px;
  }
}
#footer a { color: #ffffff; }

/*footer-聯絡我們區塊項目li效果*/
.f_contact ul li {
    padding: 20px 12px 12px;
    margin: 8px;
    display: inline-block;
    width: calc(25% - 19px);
    border-radius: 5px;
    line-height: 2;
    border: 1px solid rgba(238,238,238,.25);
  /*  box-shadow: 0px 0px 5px -2px rgba(0,0,0,.5) inset;*/
  color:#fff;
}
.f_contact i { font-size:20px; color:#fff; }

@media only screen and (max-width: 1080px){
.f_contact ul li { width: calc(50% - 19px);}
}
@media only screen and (max-width: 768px){
.f_contact ul li { width: calc(100% - 19px);}
}

#footer {
   background-attachment: scroll; /*fixed固定背景; scroll捲動背景*/
   background-repeat: no-repeat;
   background-position:left top;
   background-size: cover;/*cover圖片剪裁不拉伸壓縮 ; contain不拉伸壓縮.等比縮放)*/
   /*background-image: -webkit-linear-gradient(top, rgb(0 0 0 / 80%) 0%, rgb(0 0 0 / 80%) 100%),url(https://static.iyp.tw/409238/files/ed8e613f-b91e-4475-8409-5ad261d3d852.jpg);*/
   background-color: #8f9090;
}


/* Timeline-歷史沿革 */
.timeline {
  border-left: 4px solid #c2a669;
  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 15%;
  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: #c2a669;
  content: attr(data-date);
  text-align: right;
  font-size: 16px;
  min-width: 120px;
}

.timeline .event:after {
    box-shadow: 0 0 0 6px #c2a669;
    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;
  }
}

/*產品-區塊項目li效果—3格*/
.pro_item ul li {
    padding: 10px;
    margin: 5px;
    display: inline-flex;
    flex-wrap: wrap;
    align-items: center;
    flex-direction: column;
    width: calc(33% - 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;
}

.pro_item-1 img,
.pro_item img { 
  object-fit: cover;/*cover圖片剪裁不拉伸壓縮 ; contain不拉伸壓縮.等比縮放)*/
  width: 100%;
  aspect-ratio: 16 / 9;  /*比例*/
  background-color: #fff;
}
.pro_item-1 a,
 .pro_item a { color: #343d4a; }

.pro_item-1 a:hover,
 .pro_item a:hover { 
  opacity: 0.8;   
  -webkit-transition: all 0.3s ease;
  transition: all 0.3s ease;
}

@media only screen and (max-width: 768px){
 .pro_item ul li { width: calc(50% - 10px); font-size: 0.9rem;}
}

/*按鈕-文字底色變化特效*/
.btn-1 {
    border-radius: 5px;/*表格按鈕框線圓角*/
    border: 2px solid #000;/*表格按鈕框線樣式*/
    color: #000;
    font-size: 14px;
}
.btn-1:hover{
    background-color: #333; /* 當滑鼠經過時按鈕表格底色變化 */
    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;
}

.frame img {
	width: 100$;
	aspect-ratio: 4 / 3;
	background-color: #fff; /*背景顏色*/ 
	/*padding: 4px; /*物件內的間距*/
	/*border: 1px solid #D5D5D5; /*邊框樣式（solid直線 dotted點狀線 dashed虛線）*/
object-fit: contain;  /*cover圖片剪裁不拉伸壓縮 ; contain不拉伸壓縮.等比縮放)*/
}
