.phone{position:fixed;  right:1%;  top:35%;  z-index:1000 }
.line-01{position:fixed;  right:1%;  top:50%;  z-index:1000 }
.fb{position:fixed;  right:1%;  top:65%;  z-index:1000 }

/*手機版-側欄浮動按鈕-縮小*/
@media (max-width: 414px){ 
  .phone, .fb, .line-01 { 
    transform: scale(0.8);
    right:0;
}}

/*LOGO語法*/
.topnavbar .container {
  text-align: justify;
  padding-bottom: 20px;
  
}

.topnavbar .container::after {
  display: inline-block;
  width: 100%;
}

#logo h1 {
    height: 70px;
}

@media only screen and (min-width: 768px){
  #logo h1 { margin-top: 20px; }
} /* 在螢幕寬度 768px 以上顯現 */


/*banner*/
.swiper-container {
  height: auto !important; /* 將容器預設的高拿掉 */
}

.swiper-wrapper, .swiper-slide {
  height: 0 !important;
  padding-bottom: calc(750 / 1920 * 100%); /* 自定響應式圖片高度 */
}

.swiper-slide {
  width: 100% !important; /* 強制圖片 寬度隨容器變更 */
}


/*按鈕背影*/
.topnavbar {
 /* background-color: Transparent;*/
    background-color: #221817;/*頁籤底圖顏色;background-color: rgba(255,255,255,0);透明Transparent*/
    position: relative;/*relative 頁籤&banner分開不重疊;頂置 fixed;*/
    line-height: 0;
    padding: 0;/*頁籤間距*/
}

/*nav*/
#nav {
    vertical-align: bottom;
}
#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;
    font-weight: 500;
}

#nav ul li a:hover  {
    color: #c48e43;/*頁籤滑過文字顏色*/
}
#nav ul li.current a {
    color: #c48e43;/*頁籤按下後文字顏色*/
    font-weight: 600;
}

/*頁籤按鈕上底線滑入特效-底線短*/
#nav ul li a::before {
  content:"";
  border-top:3px solid #bdaa94;
  width:0;
  position:absolute;
  left:0;
  right:0;
  top:35px;
  margin:0 auto;
  transition:.3s all ease;
}
#nav ul li a:hover::before {
    width: 50%;
}

#nav li.has-subnav ul li::after {  
    content: "";
    position: absolute;
    width: 0px;
    height: 20px;
    background: #221817;
    left: 0;
     top: 15px; 
}

#nav .subnav li a:hover::before  {
    display:none;
}

#nav .subnav {
    background-color: #1d1312;/*次頁籤底色*/
    max-width: 400px;/*次頁籤背景最大寬度*/
    width: max-content;/*最大內容*/
    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;/*下拉選單箭頭距離*/
}


body {
    background-color: #221817;/*背景底色*/
     font-family: "Microsoft JhengHei", Arial; /*微軟正黑體*/
}

.product-list-div h2 {
    margin-bottom: 10px;
    border-bottom: 1px solid #ffffff;
    padding: 6px 15px;
    font-size: 16px
}

.product-list-div h2 a {
    color: #ffffff;
    text-decoration: none;
    display: inline-block
}

.product-list-div h2 {
    margin-bottom: 10px;
    border-bottom: 1px solid #dedede;
    padding: 6px 15px;
    text-shadow: 0 0 BLACK;
    font-size: 16px;
}

.productdetail .detail-spec h2 {
    color: #666;
    font-size: 30px;
    line-height: 1.3;
    margin: 4px 0 8px 0;
}

.productdetail .detail-spec h2 {
    color: #fff;
    font-size: 30px;
    line-height: 1.3;
    margin: 4px 0 8px 0;
    text-shadow: 0 0px 0 #fff;
}



/*各層編輯欄設定*/
  
body.index .fcol.fcol-4 .container{
  width:100%;
 
}
  
body.about-us .col-1 {
   background-repeat: no-repeat;
   background-position: 50% 10%;
   background-attachment: fixed;
   background-size: cover;/*cover圖片剪裁不拉伸壓縮 ; contain不拉伸壓縮.等比縮放)*/
   background-image: -webkit-linear-gradient(top, rgba(0,0,0,0) 0% ,rgba(0, 0, 0, 0) 100%) , url(https://static.iyp.tw/409910/files/ca5c5b7c-4b4e-4442-9ede-834fc4f11ca7.jpg);
   padding: 0;
}

#footer {
    color: #b6b6b6;
    background-color: #000
}
/*了解更多*/
.bg-icon1  {
    color: #fff;
    border: 1px solid #fff;
    letter-spacing: 5px;
    display: inline-block;
    padding: 18px 45px;
    text-decoration: none;
    margin: 40px 30px;
    font-size: 16px;
    transition: all 0.2s;
}

.bg-icon1:hover  {
  background-color: #f5f5f5; 
  color: #221817;
}

.bg-icon1 a { color:#221817;}
  
.bg-icon2  {
  margin-left: auto; 
  margin-right: auto;
    color: #fff;
    border: 1px solid #fff;
    display: inline-block;
    padding: 12px 30px;
    font-size: 18px;
  border-radius: 30px;
    transition: all 0.2s;
}
.bg-icon2:hover  {
  background-color: #f5f5f5; 
  color: #221817;
}
.bg-icon2 a { color:#221817;}  
  
  
.bg-icon3  {
    color: #fff;
    border: 1px solid #fff;
    display: inline-block;
    padding: 12px 30px;
    font-size: 18px;
  border-radius: 30px;
    transition: all 0.2s;
  

  
}
.bg-icon3:hover  {
  background-color: #f5f5f5; 
  color: #221817;
}
.bg-icon3 a { color:#221817;}   
  

 /*hr*/ 
  .divider {
    display: flex;
    align-items: center;
    text-align: center;
    color: #fff; /* 文字顏色 */
    border-width:20px;
    
  }
  .divider::before,
  .divider::after {
    content: '';
    flex: 1;
    border-bottom: 1px solid #fff ; /* 線條顏色與粗細 */
  }
  .divider:not(:empty)::before {
    margin-right: 1em; /* 文字與左線距離 */
  }
  .divider:not(:empty)::after {
    margin-left: 1em; /* 文字與右線距離 */
  }
 
  
/*以生活為核心*/ 
@import url(https://fonts.googleapis.com/css?family=Raleway:400,600,700);
@import url(https://code.ionicframework.com/ionicons/2.0.1/css/ionicons.min.css);
figure.snip1216 {
  font-family: 'Raleway', Arial, sans-serif;
  color: #fff;
  position: relative;
  overflow: hidden;
  margin: 0 auto 0;
  min-width: 220px;
  max-width: 310px;
  width: 100%;
  background-color: #262626;
  color: #ffffff;
  text-align: left;
  font-size: 16px;
  box-shadow: 0 0 5px rgba(0, 0, 0, 0.2);
  border-radius: 10px;
}
figure.snip1216 * {
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  -webkit-transition: all 0.3s ease;
  transition: all 0.3s ease;
}
figure.snip1216 .image {
  max-height: 220px;
  overflow: hidden;
}
figure.snip1216 img {
  max-width: 100%;
  vertical-align: top;
  position: relative;
}
figure.snip1216 figcaption {
  padding: 25px;
  position: relative;
}
figure.snip1216 .date {
  background-color: #c0392b;
  top: 25px;
  color: #fff;
  left: 25px;
  min-height: 48px;
  min-width: 48px;
  position: absolute;
  text-align: center;
  font-size: 20px;
  font-weight: 700;
  text-transform: uppercase;
}
figure.snip1216 .date span {
  display: block;
  line-height: 24px;
}
figure.snip1216 .date .month {
  font-size: 14px;
  background-color: rgba(0, 0, 0, 0.1);
}
figure.snip1216 h3,
figure.snip1216 p {
  margin: 0;
  padding: 0;
}
figure.snip1216 h3 {
  min-height: 50px;
  margin-bottom: 10px;
  display: inline-block;
  font-weight: 600;
  text-transform: uppercase;
}
figure.snip1216 p {
  font-size: 0.8em;
  margin-bottom: 20px;
  line-height: 1.6em;
}
figure.snip1216 footer {
  padding: 0 25px;
  background-color: rgba(0, 0, 0, 0.5);
  color: #e6e6e6;
  font-size: 0.8em;
  line-height: 30px;
  text-align: right;
}
figure.snip1216 footer > div {
  display: inline-block;
  margin-left: 10px;
}
figure.snip1216 footer i {
  color: rgba(255, 255, 255, 0.2);
  margin-right: 5px;
}
figure.snip1216 a {
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  position: absolute;
  z-index: 1;
}
figure.snip1216:hover img,
figure.snip1216.hover img {
  -webkit-transform: scale(1.1);
  transform: scale(1.1);
}







/*精選作品*/
.snip1507 {
  font-family: 'Muli', sans-serif;
  position: relative;
  overflow: hidden;
  margin: 0px;
  max-width: 465px;
  width: 100%;
  height: 550px;
  color: #ffffff;
  text-align: center;
  font-size: 16px;
  background-color: #a68e6e;
}

.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;
}

.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(0, 0, 0, 0.2);
  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: 20px;
}

.snip1507 figcaption:before {
  content: '';
  width: 20px;
  height: 20px;
  background-color: #fff;
  top: 0;
  left: 50%;
  -webkit-transform: translate(-50%, -50%) rotate(45deg);
  transform: translate(-50%, -50%) rotate(45deg);
  position: absolute;
}

.snip1507 h3,
.snip1507 h5 {
  margin: 0;
  letter-spacing: 1px;
}

.snip1507 h3 {
  font-family: 'Montserrat', sans-serif;
  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%);
}

.snip1507 img {
  max-width: 100%;
  vertical-align: top;
  aspect-ratio: 3 / 4;
  object-fit: cover;
}


/*news*/
@media only screen and (min-width: 768px){
.Product-item {
    padding: 20px; 
  box-shadow: 0 0 5px rgba(0, 0, 0, 0.8); 
  width: 80%; 
  margin-left: -100px; 
  background-color: #a68e6e;
}
.Product-item2 {
    padding: 20px; 
  box-shadow: 0 0 5px rgba(0, 0, 0, 0.2); 
  width: 100%; 
  margin-left: 100px; 
  background-color: rgba(166, 142, 110, 0.9);
}}

@media only screen and (max-width: 768px){
.Product-item, .Product-item2 { 
  background-color: rgba(166, 142, 110, 0.5);
  width: 100%;
  padding: 20px;
  margin-top: -30px; 
  box-shadow: 0 0 5px rgba(0, 0, 0, 0.2); 
}
}

  
  
/*關於我們_五層樓電梯透天兩戶*/  
.snip1539 {
  display:inline-block;
  overflow: hidden;
  margin: 10px 8px;
  min-width: 230px;
  max-width: 315px;
  width: 100%;
  box-shadow: none !important;
  padding: 16px;
  position: relative;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}
.snip1539 img {
  max-width: 100%;
  backface-visibility: hidden;
  vertical-align: top;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
}
.snip1539:before,
.snip1539:after {
  z-index: -1;
  position: absolute;
  content: '';
  -webkit-transition: all 0.4s ease;
  transition: all 0.4s ease;
  opacity: 0.6;
}
.snip1539:before {
  border: 8px solid #444;
  top: 0px;
  left: 0px;
  bottom: 32px;
  right: 32px;
}
.snip1539:after {
  background-color: #444;
  bottom: 0px;
  right: 0px;
  top: 32px;
  left: 32px;
}
.snip1539 a {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 1;
}
.snip1539:hover:before,
.snip1539.hover:before,
.snip1539:hover:after,
.snip1539.hover:after {
  opacity: 1;
}



/* 文字新做法*/
#main-wrap .container {
     font-size: clamp(1.0rem, 1.5vw, 1.2rem);
  line-height:30px;
  color: #fff;
}
#footer {
   font-size: 12px;
}