.ig{position:fixed;right:1%;top:20%;z-index:1000;}
.fb{position:fixed;right:1%;top:35%;z-index:1000;}
.line-1{position:fixed;right:1%;top:50%;z-index:1000;}
.phone{position:fixed;right:1%;top:65%;z-index:1000;}

/*UL大標 https://steam.oxxostudio.tw/category/html/tags/ul-li.html*/
ul.a {
  list-style-type: circle;
}

ul.b {
  list-style-type: disc;
   margin-left: 1em;
}

ul.c {
  list-style-type: disc;/*disc實心 ecimal 數字*/
  margin-left: 1em;
}

ul.c li {
  border-bottom: 1px solid #a19785; 
  padding:10px;
    display: flex; 
  justify-content: space-between;
}


ul.c li::marker{
  color: #a19785;  
}


h3 { 
  color: #E2AB2D;
  font-size: clamp(24px, 3vw, 30px);/*最小值 首選值 最大值 限制屬性值區間*/
}

@media only screen and (min-width: 768px){ 
/*第一條圖片*/
.t-box {
  background-color: #fff; 
  padding: 2em; 
  box-shadow: 0 0 5px rgba(0, 0, 0, 0.15);
  margin-top: 2em;
  margin-bottom: -2em;
}

/*第二條圖片*/
.t-box2 {
  background-color: #ffffff; 
  padding: 2em; 
  text-align: left; 
  margin-top: 5em;

}}

.t-box h2 { 
  color: #1658a6;
  font-size: clamp(22px, 3vw, 30px); /*最小值 首選值 最大值 限制屬性值區間*/
  line-height:2;
}
/*第一條圖片*/
#img-left {
  border-radius: 100px 0; 
  margin-top: 0em;
  margin-left: 4em;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
   z-index: 10;
}

/*第二條圖片*/
#img-right {
  border-radius: 3em 0em 0em 0em;
  margin-top: -4em;
  margin-left: 5em;
  margin-bottom: 2em;
  width: 100%;
  aspect-ratio: 3 / 3;
  object-fit: cover;
}
@media only screen and (max-width: 768px){ 
  #img-left ,#img-right {
    margin-top: 0em;
    margin-left: 0em;
    margin-right: 0em;
  }
}
/*按鈕-文字底色變化特效*/
.custom-btn {
    padding: 5px 25px;
    outline: none !important;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    display: inline-block;
}

.btn-more1 {
    border-radius: 0px;
    border: 1px solid #ccc;
    color: #333;
    font-size: clamp(14px, 3vw, 16px);
    background-color: #fff;
     font-weight: 400;
}
.btn-more1:hover{
    background-color: #333; /* 當滑鼠經過時按鈕表格底色變化 */
    color: #fff;/* 當滑鼠經過時按鈕表格文字變化 */
}



@media only screen and (min-width: 768px){
/* 關於公司簡介圖片*/
.pc {border: 1px solid #b59c63; width: 100%; height: 100%; float:right; padding:10px;}
.pc img {margin-bottom: -30px; }
}




/*手機版-側欄浮動按鈕-縮小*/
@media (max-width: 430px){ 
  .phone, .fb, .line-1, .ig, .map, .wechat, .shop-1, .x-twitter, .pixnet, .youtube-1, .tiktok , .thread { 
    transform: scale(0.8);
    right:0;
  }
}

.container h4 {
   background: linear-gradient(to top, #a27766, #a27766, #a27766);
   background-clip: text;
   -webkit-background-clip: text;
   color: transparent;
  font-size: clamp(24px, 2vw, 40px);
  font-weight: 700;
  line-height:40px;
  font-family: 'Noto Serif TC', serif;
}


/*套用google font字型Noto Serif TC明體*/
#t-500{
  font-family: 'Noto Serif TC', serif;
  font-weight: 700;
    color: #2c2c2c;
  font-size: clamp(18px, 2vw, 25px);
  line-height: 40px;
}


.topnavbar {
 /* background-color: Transparent;*/
    background-color: #f4ede3;/*頁籤底圖顏色;background-color: rgba(255,255,255,0);透明Transparent*/
    position: relative;/*relative 頁籤&banner分開不重疊;頂置 fixed;*/
    line-height: 0;
    padding: 0;/*頁籤間距*/
}

.topnavbar .container {
  text-align: justify;
  padding: 10px 0 0 0;

}

.topnavbar .container::after {
  display: inline-block;
  width: 100%;
}

#logo h1 {
    height: 70px;
}


a {
    color: #9e7865;/*連結顏色*/
    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(500 / 1920 * 100%); /* 內頁 banner 大小 */
}



/*nav*/
#nav {
    vertical-align: bottom;
}

/*nav*/
#nav ul li a {

    font-size: 1.0rem;/*頁籤文字大小*/
    color: #674d34;/*頁籤文字顏色*/
    padding: 10px 11px;/*頁籤文字間隔;padding:2px 16px 2px 16px;*/
    line-height: 1.3;
    transition: .3s;
}

#nav ul li a:hover  {
    color: #674d34;/*頁籤滑過文字顏色*/
}

#nav ul li.current a {
    color: #674d34;/*頁籤按下後文字顏色*/
    font-weight: 500;
}

/*頁籤按鈕下底線滑入特效-底線短*/
#nav ul li a::before {
  content:"";
  border-bottom:3px solid #674d34;
  width:0;
  position:absolute;
  left:0;
  right:0;
  top:0px;
  margin:0 auto;
  transition:.3s all ease;
  border-radius: 2px;
}

#nav ul li a:hover::before {
    width: 50%;
}

#nav ul.subnav li a::before {
  display:none;
}

/*次頁籤文字顏色*/ 
#nav .subnav {
    text-align: left;
    background-color: #ffffff;/*次頁籤底色*/
}
#nav .subnav a { font-size: 14px; }

#nav .subnav li.has-subnav ul li a:hover {
   color: #fff;/*次頁籤滑過後文字顏色*/   
    background-color: #674d34; /*次頁籤滑過底圖顏色*/
}

#nav li.has-subnav ul li a:hover::before { display:none;}

#nav li.has-subnav ul li.current a {
   color: #f7ce3e;/*次頁籤按下後文字顏色*/    
}

#bodyinhome .fcol.fcol-1 {
    background-repeat: no-repeat;
   background-position: 50% 50%;
   background-size: contain;/*cover圖片剪裁不拉伸壓縮 ; contain不拉伸壓縮.等比縮放)*/
   background-image: -webkit-linear-gradient(left, rgba(0,0,0,0.0) 0% ,rgba(0, 115, 178, 0.0) 100%) , url(https://static.iyp.tw/409808/files/e1e60883-f1e0-4c96-9bae-1d20d698b128.png);
  display: flex; 
  align-items: center;
  padding: 3rem 0;
}




#bodyinhome .fcol.fcol-6 {
     width: 100%;
   background-attachment: scroll; /*fixed固定背景; scroll捲動背景*/
   background-repeat: no-repeat;
   background-position: top center;
   background-size: cover;/*cover圖片剪裁不拉伸壓縮 ; contain不拉伸壓縮.等比縮放)*/
   background-image: -webkit-linear-gradient(top, rgb(108 82 57 / 40%) 70% ,#6c5239  70%),url(https://static.iyp.tw/409808/files/dc906b23-d5ee-4a3d-90e9-be048b628bc3.jpg);

} 


body.about-us .fcol.fcol-6 {
    background: linear-gradient(0deg, #6c5239 50%, transparent 50%);
}

/*title文字顏色*/
body.about-us  .h1title {display: none;}

.h1title h1 {font-size: 16pt; color: #9e7865;}
.fcol.fcol-header .container { padding: 0px;/*頁籤間距*/}
/* 消除空白*/
body[data-type="fullpage"]:not(#managehome) #wrap>*:not(:last-child) {
    margin-bottom: 0px;
}

body[data-type="fullpage"] #product-header.main {
      min-height: auto;/*產品-編輯框不設定高*/
}

/*改內文標題顏色*/
h2, h3, h5, h6, .h1, .h2, .h3, .h4, .h5, .h6 {
    font-family: inherit;
    font-weight: 500;
    line-height: inherit;
    color: #674d34;
}

ul.product-list li a.focus h3, ul.product-list li a:hover h3 {
    color: #082453;
}
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: #232d3a;
    overflow: hidden;
    padding: 0 16px;
}

#side ul li a {
    color: #232d3a;
   font-size: 16px;
}

.product-list-div h2 a {
    color: #232d3a;
    text-decoration: none;
    display: inline-block;
}

.product-list-div h2 {text-shadow: 0 0px 0 #fff;}

body[data-type="fullpage"] .product-list-div h2 a.show-all {
    color: #fff;
    transition-property: left, color;
  padding: 0px 20px;
    background-color: #2a69d0;
}

body[data-type="fullpage"] .product-list-div h2 a.show-all:hover {
    color: #fff;
}


body[data-type="fullpage"]:not(#managehome) #wrap>*:not(:last-child) {
    margin-bottom: 0px;
}

body[data-type="fullpage"] #product-header.main {
      min-height: auto;/*產品-編輯框不設定高*/
}


#main-wrap .container {
    font-size: clamp(16px, 2vw, 18px);
  line-height:30px;
  color: #232d3a;
}

/*footer*/
#footer {
    background-color: #6c5239;
    color: #fff;
}

#foot-nav {
    clear: both;
    padding: 1em 0;
    border-bottom: 0px solid #7825c1;
}
#foot-nav ul li a {
    display: block;
    color: #fff;
    font-size: 1.02em;
    margin-right: 10px;
    padding: 8px 16px;
}

#foot-nav ul li.current a {  color: #fff; }


body {
    background-color: #f4ede3;/*背景底色*/
    font-family: 'Noto Sans TC', sans-serif;/*套用google font字型Noto Sans TC黑體*/
}



/*footer-聯絡我們區塊效果*/
.f_contact ol li {
    padding: 14px;
    margin: 8px 8px 8px 8px;
    display: inline-block;
    min-height: 66px;
    width: calc(25% - 19px);
    border-radius: 5px;
    line-height: 32px;
    border: 2px solid #7825c1;
    box-shadow: 0px 0px 5px -2px rgba(0,0,0,.5) inset;
}
@media only screen and (max-width: 1080px){
.f_contact ol li { width: calc(50% - 19px);}
}
@media only screen and (max-width: 768px){
.f_contact ol li { width: calc(100% - 19px);}
}

/* 預設：電腦版不換行 */
.mobile-break {
  display: none;
}

/* 手機版 (螢幕寬度小於 768px) 顯示換行 */
@media screen and (max-width: 768px) {
  .mobile-break {
    display: inline;
  }
}

@media only screen and (min-width: 768px){
/* 關於公司簡介圖片*/
.pc {border: 1px solid #b59c63; width: 90%; height: 100%; float:right;}
.pc img {margin-bottom: -30px; margin-top: -30px;}
.pc2 {padding:50px 0; }
}

@media only screen and (max-width: 768px){
  .pc2 {padding:20px 0; }
  .pc2 img {
    clip-path: polygon(0 0, 85% 0, 100% 16%, 100% 100%, 14% 100%, 0 85%);}
}


/*照片*/
.snip1507 {
  position: relative;
  overflow: hidden;
  margin: 0 auto;
  min-width: 300px;
  max-width: 600px;
  width: 100%;
  color: #ffffff;
  text-align: left;
  font-size: 16px;
  background-color: #000000;
  border-radius: 200px 200px 0 0;
}

.snip1507 * {
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  -webkit-transition: all 0.45s ease;
  transition: all 0.45s ease;
}

.snip1507 img {
  vertical-align: top;
  max-width: 100%;
  backface-visibility: hidden;
  -webkit-filter: grayscale(100%);
  filter: grayscale(100%);
  opacity: 0.75;
  aspect-ratio: 3 / 4; 
  object-fit: cover; 
  width: 100%;
}

.snip1507 figcaption {
  z-index: 1;
  align-items: center;
  position: absolute;
  width: 100%;
  bottom: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background-color: rgba(158, 120,100, 0.85);
  background-image: -webkit-linear-gradient(left, rgba(0, 0, 0, 0.2) 0%, transparent 100%);
  background-image: linear-gradient(to right, rgba(0, 0, 0, 0.2) 0%, transparent 100%);
  padding: 10px;
}

.snip1507 h3,
.snip1507 h5 {
  margin: 0;
  letter-spacing: 1px;
  color: #ffffff;
}

.snip1507 h3 {
  text-transform: uppercase;
  font-weight: 400;
}

.snip1507 h5 {
  font-weight: normal;
}

.snip1507 a {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 1;
}

.snip1507:hover > img,
.snip1507.hover > img {
  opacity: 1;
  -webkit-filter: grayscale(0%);
  filter: grayscale(0%);
}
