.phone{position:fixed;right:1%;top:40%;z-index:1000;}
.line-1{position:fixed;right:1%;top:52%;z-index:1000;}
.map{position:fixed;right:1%;top:64%;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;
  }
}
/*響應欄表格col-4 col-5 col-6 col-7 手機版強制2欄 寬度50%*/
@media only screen and (max-width: 576px){
.serve-item .col-4 { max-width: 50%;}
.serve-item .col-5 { max-width: 50%;}
.serve-item .col-6 { max-width: 50%;}
.serve-item .col-7 { max-width: 50%;}
}

/*table語法 -讓手機不會破版*/
table {
table-layout: fixed;
word-wrap:break-word;
}


.topnavbar {
  background-color: #0f443c;/*頁籤底圖顏色;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: #8c6635;
  font-size: clamp(1.5rem, 3vw, 2.0rem); 
   line-height:2; 
}


/*nav*/
#nav ul li a {
    white-space: normal; /*自動換行*/
    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: #c1a96d;/*頁籤滑過文字顏色*/
}
#nav ul li.current a {
    color: #c1a96d;/*頁籤按下後文字顏色*/
    font-weight: 500;
}

/*頁籤按鈕底線滑入特效-底線短*/
#nav ul li a::before {
  content:"";
  border-bottom:3px solid #c1a96d;
  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 {
    background-color: #07302c;/*次頁籤底色*/
    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;/*下拉選單箭頭距離*/
}

#nav ul.subnav li a::before {
  display:none;
}


ul.product-list li a {
    color: #033846;/*產品格文字顏色*/
    background-color: #e6e7e9;/*產品格底色*/
}

ul.product-list li a:hover {
    color: #6e685c;/*產品格滑過文字顏色*/
}

/*產品頁產品格圖片填滿*/
ul.product-list div.img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/*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(700 / 1920 * 100%); /* 自定響應式圖片高度 */
}

.swiper-slide {
  width: 100% !important; /* 強制圖片寬度隨容器變更 */
}

/*各層編輯欄設定*/
/*#bodyinhome .fcol.fcol-1 .container, #bodyinhome .fcol.fcol-4 .container {
   width: 100%;
}
*/
#bodyinhome .fcol.fcol-2, body.about-us .fcol.fcol-2 { background: linear-gradient(135deg,  #ffffff 10%,#ffffff 10%,#0f443c 10%,#0f443c 40%,#0f443c 64%,#0f443c 90%,#ffffff 50%,#ffffff 50%,#ffffff 50%); 
  padding: 2rem 0;}

#bodyinhome .fcol.fcol-2 .container {
   padding: 3em 2em;
}

#bodyinhome .fcol.fcol-5 {  display:none;}

#bodyinhome .fcol.fcol-3 .container { 
   width: 100%;
  padding: 0rem 0;
}

#bodyinhome .fcol.fcol-4 { 
   background:linear-gradient(45deg, #fff 0%, #fff 40%, #f1f1f1 40%, #f1f1f1 100%);
   padding: 3rem 0;
}


#bodyinhome .fcol.fcol-6, body.about-us .fcol.fcol-6 { 
   background:linear-gradient(45deg, #0f443c 0%, #0f443c 70%, #fff 70%, #fff 100%);
  padding: 3rem 0;
}



/*服務項目*/
@import url(https://fonts.googleapis.com/css?family=Poppins:300,700);
.snip1581 {
  font-family: 'Poppins:400,700', Arial, sans-serif;
  position: relative;
  display: inline-block;
  overflow: hidden;
  margin:0 auto;
  min-width: 150px;
  max-width: 500px;
  width: 100%;
  background-color: #000000;
  color: #ffffff;
  text-align: left;
  font-size: 16px;
  box-shadow: 0 0 5px rgba(0, 0, 0, 0.15);
}
.snip1581 * {
  -webkit-transition: all 0.35s;
  transition: all 0.35s;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}
.snip1581 img {
  max-width: 100%;
  vertical-align: top;
  aspect-ratio: 3 / 3;
  object-fit: cover;
}
.snip1581 figcaption {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 20px;
  background-image: -webkit-linear-gradient(bottom, rgba(0, 0, 0, 0.8) 0%, transparent 100%);
  background-image: linear-gradient(to top, rgba(0, 0, 0, 0.8) 0%, transparent 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}
.snip1581 h3 {
  font-weight: 400;
  line-height: 1;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin: 3px 0;
}
.snip1581 .title1 {
  font-weight: 700;
}
.snip1581 .title2 {
  color: #fff;
  font-weight: 700;
  font-size: clamp(20px, 2vw, 30px);
}
.snip1581 .title3 {
  font-weight: 700;
  font-size: 25px;
}
.snip1581 a {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
}
.snip1581:hover img,
.snip1581.hover img {
  -webkit-transform: scale(1.3) rotate(5deg);
  transform: scale(1.3) rotate(5deg);
}




/*footer*/
#footer {
    color: #fff;
    background-color: #0f443c;
}
#foot-nav {
  clear: both;
  padding: 2em 0 1em;
  border-bottom: 0px solid #444;
  display: flex;
  justify-content: center;
  
}


.contact-row h5 { color: #3a3a3a;}

#footer a { color: #fff; }
#footer a:hover { color: #fc4138; }

#foot-nav ul li a {
    display: block;
    color: #0a1447;
    font-size: 14px;
    margin-right: 15px;
    padding: 3px 10px;
    background-color: #bfa666;
   border-radius: 5px;
}

#foot-nav ul li a:hover { background-color: #000000; color: #f1d000;}

.contact-row h5 {
    color: #ffffff;
}

/* 文字新做法*/
#main-wrap .container {
     font-size: clamp(1.0rem, 1.5vw, 1.2rem);
  line-height:30px;
  color: #2d2d2d;
}
#footer {
   font-size: 12px;
}

/*contact-1*/
@media only screen and (min-width: 768px){
  .contact-1 i {
    position: absolute;
    margin: -50px 0 0 -30px;
    width: 40px;
    height: 40px;
    font-size: 36px;
    color: #fff;
    background-color: #836938;
    border-radius: 100%;
    padding: 10px;
    line-height: 1.0;
  }
}
@media only screen and (max-width: 768px){
  .contact-1 i {
    position: relative;
    margin: 0;
    width: 40px;
    height: 40px;
    font-size: 36px;
    color: #fff;
    background-color: #836938;
    border-radius: 100%;
    padding: 10px;
    line-height: 1.0;
  }
}
.contact-1 h4 {font-size: 30px;font-weight: 500;color: #0da995; margin-top: 10px;}
.contact-1 p {font-size: 14px;color: #333;}

/* 洗髮精*/
.care-circles {
  display: flex;
  justify-content: center;
  gap: 24px;/*用來設定排版網格與列之間間隙（gutters）的簡寫屬性*/
  flex-wrap: wrap;
  padding: 30px 0;
}

.care-circle {
  width: 160px;
  height: 160px;
  background: #0f443c;
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-size: 22px;
  font-weight: 600;
  line-height: 1.5;
  box-shadow: 0 8px 18px rgba(0,0,0,.12);
  padding: 20px;
  box-sizing: border-box;
}

@media (max-width: 600px) {
  .care-circle {
    width: 130px;
    height: 130px;
    font-size: 18px;
  }
}

@media only screen and (min-width: 991px){
.clip-1 { 
  clip-path: polygon(0 0, 100% 0, 80% 100%, 0% 100%);
}
.clip-2 { 
  clip-path: polygon(0 0, 80% 0, 100% 100%, 0% 100%);
}
}

