.phone{position:fixed;right:1%;top:40%;z-index:1000;}
.line-1{position:fixed;right:1%;top:52%;z-index:1000;}
.fb{position:fixed;right:1%;top:64%;z-index:1000}
.ig{position:fixed;right:1%;top:76%;z-index:1000}
.map{position:fixed;right:1%;top:88%;z-index:1000}

/*手機版-側欄浮動按鈕-縮小*/
@media (max-width: 430px){ 
  .phone, .fb, .line-1, .ig, .map, .wechat, .shop-1, .phone-1, .pixnet, .youtube-1, .tiktok , .thread { 
    transform: scale(0.8);
    right:0;
  }
}
@media (min-width: 430px){ 
.text_word {
  -webkit-writing-mode: vertical-rl;
}}
/*按鈕-文字底色變化特效*/
.custom-btn {
    padding: 5px 25px;
    outline: none !important;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    display: inline-block;
}

.btn-more1 {
    border-radius: 30px;
    border: 0px solid #000;
    color: #fff;
    font-size: clamp(14px, 2vw, 16px);
    background-color: #9e0101;
     font-weight: 500;
}
.btn-more1:hover{
    background-color: #e8a000; /* 當滑鼠經過時按鈕表格底色變化 */
    color: #fff;/* 當滑鼠經過時按鈕表格文字變化 */
}


/*table語法 -讓手機不會破版*/
table {
table-layout: fixed;
word-wrap:break-word;
}


.topnavbar {
 /* background-color: Transparent;*/
    background-color: #dfdfdf;/*頁籤底圖顏色;background-color: rgba(255,255,255,0);透明Transparent*/
    position: relative;/*relative 頁籤&banner分開不重疊;頂置 fixed;*/
    line-height: 0;
    padding-bottom: 0;/*頁籤間距*/
}

.topnavbar .container {
   text-align: center;
  padding: 0;
}

.topnavbar .container::after {
  display: inline-block;
  width: 100%;
}

body {
    background-color: #fff;/*背景底色*/
    font-family: 'Noto Sans TC', sans-serif;/*套用google font字型Noto Sans TC黑體*/
}

/*logo置頂*/

#logo h1 { 
  text-align: center; 
  height: 70px;
}


/*動到表格手機不會破版*/
table {
  table-layout: fixed;
  word-wrap:break-word;
} 


body[data-type="fullpage"]:not(#managehome) #wrap>*:not(:last-child) {
    margin-bottom: 0px;
}

body[data-type="fullpage"] #product-header.main {
      min-height: auto;/*產品-編輯框不設定高*/
}

.fcol h2 { 
    color: #0f2c45;
  font-size: clamp(0.8rem, 2vw, 1.5rem); 
 /*最小值 首選值 最大值 限制屬性值區間*/
  line-height:2; 
}

ul.word li {
  list-style-type: disc;/*disc實心 ecimal 數字*/ 
  margin-left: 1em;
}

.fcol h4 { 
  color: #fc4138;
    font-size: clamp(1.0rem, 2vw, 2.0rem);/*最小值 首選值 最大值 限制屬性值區間*/
  line-height:2;
  margin-bottom: 1rem;
  display: inline-block;
  border-bottom: 3px solid #f4db84;
}

.fcol h3 { 
    color: #29445e;
  font-size: clamp(1.0rem, 3vw, 2.0rem); 
 /*最小值 首選值 最大值 限制屬性值區間*/
  line-height:2;  
}

/*nav*/
#nav ul li a {
    white-space: normal; /*自動換行*/
    font-size: 1.0rem;/*頁籤文字大小*/
    color: #191919;/*頁籤文字顏色*/
    padding: 10px 16px;/*頁籤文字間隔;padding:2px 16px 2px 16px;*/
    line-height: 1.3;
    transition: .3s;
}

#nav ul li a:hover  {
    color: #fff;/*頁籤滑過文字顏色*/
  background-color: #9e0101;
  border-radius: 10px 10px 0px 0px;
}
#nav ul li.current a {
    color: #d48700;/*頁籤按下後文字顏色*/
    font-weight: 500;
}



#nav .subnav {
    background-color: #fff;/*次頁籤底色*/
    max-width: 400px;/*次頁籤背景最大寬度*/
    width: max-content;/*最大內容*/
    text-align: left;
}

#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: #9e0101;/*產品格文字顏色*/
    background-color: #e6e7e9;/*產品格底色*/
}

ul.product-list li a:hover {
    color: #6e685c;/*產品格滑過文字顏色*/
}


/*title文字顏色*/
.h1title h1{
    color: #333333;
}

a {
    color: #2a2a2a;/*連結顏色*/
    text-decoration: none;
}

a:hover  {
    color: #1e5a9b;/*連結顏色*/
    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 .container  {
    width: 100%;
   background-color: #fff; 
  padding: 0;
}

#bodyinhome .fcol.fcol-3 { padding: 3em 0; background-color: #fff;}

#bodyinhome .fcol.fcol-2, body.about-us .fcol.fcol-2, #bodyinhome .fcol.fcol-4 {
   background-color: #9e0101;
   padding: 2em 0;
}




#bodyinhome .fcol.fcol-6 { 
   width: 100%;
   background-attachment: scroll;
   background-repeat: no-repeat;
   background-position:50% 50%;
   background-size: cover;
   background-image: -webkit-linear-gradient(left, rgb(0 0 0 / 0%) 0%, rgb(0 0 0 / 30%) 100%),url(https://static.iyp.tw/409965/files/ea962336-b228-4c03-8f09-ee6fc5db82af.jpg);
   background-color: #e8c8a2;
  padding: 3rem 0;
}



/*footer*/
#footer {
    color: #fff;
    background-color: #9e0101;
}
#foot-nav {
  clear: both;
  padding: 2em 0 1em;
  border-bottom: 0px solid #444;
  display: flex;
  justify-content: center;
  
}

.contact-row h5 { color: #fff;}

#footer a { color: #fff; }
#footer a:hover { color: #fff; }

#foot-nav ul li a {
    display: block;
    color: #fff;
    font-size: 14px;
    margin-right: 15px;
    padding: 3px 10px;
    background-color: #848983;
   border-radius: 5px;
}

#foot-nav ul li a:hover { background-color: #6f0101; color: #fff;}

/* 文字新做法*/
#main-wrap .container {
     font-size: clamp(1.0rem, 1.5vw, 1.2rem);
  line-height:30px;
  color: #2d2d2d;
}
#footer {
   font-size: 12px;
}



/*按鈕-文字底色變化特效*/


.btn-fb, .btn-line  {
  border-radius: 10px;
  border: 0px solid #000;
  color: #fff;
  font-size: clamp(28px, 3vw, 30px);
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 250px;
}

.btn-fb { background-color: #ff6000;}
.btn-fb:hover {
  transform:scale(1.1);
  background-color: #df5400;
  top:-10px;
}

.btn-line { background-color: #00b900;}
.btn-line:hover {
  transform:scale(1.1);
  background-color: #009900;
  top:-10px;
}

/*按鈕上下移動特效*/
.btn-move div:nth-child(n) {
  animation: MoveUpDown 3s linear infinite;
  position: relative;
  left: 0;
  bottom: 0;
}
.btn-move div:nth-child(even) {
  animation: MoveUpDown2 3s linear infinite;
  transform: translateY(-10px);
}
@keyframes MoveUpDown {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

@keyframes MoveUpDown2 {
  0%, 100% { transform: translateY(-10px); }
  50% { transform: translateY(0); }
}

@import url(https://fonts.googleapis.com/css?family=Open+sans);
@import url(https://code.ionicframework.com/ionicons/2.0.1/css/ionicons.min.css);
@import url(https://fonts.googleapis.com/css?family=Playfair+Display);
.snip1515 {
  font-family: 'Open Sans', Arial, sans-serif;
  position: relative;
  margin: 10px;
  min-width: 230px;
  max-width: 315px;
  width: 100%;
  color: #fff;
  text-align: center;
  line-height: 1.4em;
  font-size: 14px;
  box-shadow: none !important;
}

.snip1515 * {
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}

.snip1515 .profile-image {
  display: inline-block;
  width: 80%;
  z-index: 1;
  position: relative;
  padding: 10px;
  border: 2px solid #e8b563;
}

.snip1515 .profile-image img {
  max-width: 100%;
  vertical-align: top;
}

.snip1515 figcaption {
  width: 100%;
  background-color: #9e0101;
  color: #555;
  padding: 125px 25px 25px;
  margin-top: -100px;
  display: inline-block;
}

.snip1515 h3,
.snip1515 h4,
.snip1515 p {
  margin: 0 0 5px;
  color: #fff;
}

.snip1515 h3 {
  font-weight: 600;
  font-size: 1.6em;
  letter-spacing:2px;
  font-family: 'Playfair Display', Arial, sans-serif;
}


.snip1515 p {
  font-size: 1.2em;
  letter-spacing:1.5px;
  opacity: 0.9;
  color: #fff;
}

.snip1515 .icons {
  text-align: center;
  width: 100%;
}

.snip1515 i {
  padding: 10px 2px;
  display: inline-block;
  font-size: 18px;
  font-weight: normal;
  color: #e8b563;
  opacity: 0.75;
}

.snip1515 i:hover {
  opacity: 1;
  -webkit-transition: all 0.35s ease;
  transition: all 0.35s ease;
}

/*圖文特效按鈕-圖縮放大標題在上*/
.snip1374 {
  position: relative;
  overflow: hidden;
  margin: 0 auto 0;
  min-width: 160px;
  max-width: 400px;
  width: 100%;
  box-shadow: 0 0 5px rgba(0, 0, 0, 0.15);
  text-align: center;
  background-color: #000000;
  text-shadow: 2px 2px 5px #000000;/*文字陰影*/
}
.snip1374 figcaption {
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
 -webkit-transform: translateY(-50%);
  transform: translateY(-50%);
}
.snip1374 h2{
  font-family: 'Noto Sans TC', sans-serif;
  text-transform: uppercase;/*文字大寫*/
  color:#ffffff;/*文字顏色*/
  font-size: 1.2rem;/*文字大小*/
  font-weight: 700;/*文字粗細*/
  line-height: 1.5;/*文字行距*/
  letter-spacing: 2px;　/* 設定文字間距 */
}
.snip1374 img {
  object-fit: cover;  /*cover圖片剪裁不拉伸壓縮 ; contain不拉伸壓縮.等比縮放)*/
  width: 100%;
  aspect-ratio: 4 / 3; object-fit: cover;
  vertical-align: top;
  -webkit-transition: all 0.3s ease-out;
  transition: all 0.3s ease-out;
  -webkit-transform: scale(1);
  transform: scale(1);
}
.snip1374:hover img,
.snip1374.hover img {
  -webkit-transform: scale(1.1);
  transform: scale(1.1);
  opacity: 0.5;
}
.snip1374 a {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 1;
}
