.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, .x-twitter, .pixnet, .youtube-1, .tiktok , .thread { 
    transform: scale(0.8);
    right:0;
  }
}

/*hr樣式*/
.hr-solid {
    border: 0;
    border-top: 1px solid #d0d0d5;
  margin: 0 0 3em;
}
.hr-dotted {
    border: 0;
    border-top: 1px dotted #a2a9b6;
  margin: 1em 0;
}

.topnavbar {
    background-color: #222;/*頁籤底圖顏色;background-color: rgba(255,255,255,0);透明Transparent*/
    position: fixed;/*relative 頁籤&banner分開不重疊;頂置 fixed;*/
    line-height: 0;
    padding: 0;/*頁籤間距*/
}
@media only screen and (max-width: 768px){
  .topnavbar {
    position: relative;/*relative 頁籤&banner分開不重疊;頂置 fixed;*/
}}

body[data-type="fullpage"] .topnavbar .container {
  text-align: justify;
  padding: 0;
  width: 100%;
}

.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 h1 { text-align: center; }

/*動到表格手機不會破版*/
table {
  table-layout: fixed;
  word-wrap:break-word;
} 

/*編輯欄設定*/
.fcol p{
    font-size: clamp(16px, 2vw, 18px); /*最小值 首選值 最大值 限制屬性值區間*/
    color: #333;/*文字顏色*/
    line-height: 2;
}

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: #000;
  font-size: clamp(28px, 3vw, 36px);/*最小值 首選值 最大值 限制屬性值區間*/
}
.fcol h3 { 
  color: #000;
  font-size: clamp(20px, 3vw, 24px);/*最小值 首選值 最大值 限制屬性值區間*/
}

/*logo&nav響應位置效果*/
@media only screen and (min-width: 1365px){
  #logo {
  /*  transform: scale(1.5);*/
    position: absolute;
    margin: -5px 0 0 80px;
  }
}
@media only screen and (max-width: 1281px){
  #logo {
    /*    transform: scale(1.2);*/
        position: absolute;
        margin: 0px 0 0 60px;
  }
}
@media only screen and (max-width: 1280px){
  #logo {
    transform: scale(1);
    position: relative;
    margin: auto;
  }
}

/*nav*/
@media only screen and (min-width: 1365px){
#nav {  
    display: inline-flex;
    vertical-align: bottom;
    background-color: #222;
    justify-content: flex-end;
    align-items: flex-end;
    width: 100%;
    min-height: 80px;
}
}
@media only screen and (max-width: 1281px){
  #nav { min-height: auto; }
}
#nav ul{margin-right: 100px;}

#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: #ccc;/*頁籤滑過文字顏色*/
}
#nav ul li.current a {
    color: #fff;/*頁籤按下後文字顏色*/
    font-weight: 500;
}

#nav .subnav {
    background-color: #444;/*次頁籤底色*/
    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: #000;/*產品格文字顏色*/
    background-color: #eee;/*產品格底色*/
}
ul.product-list li a:hover {
    color: #666;/*產品格滑過文字顏色*/
}
.productdetail .detail-spec h2 p{
    color: #333;
    font-size: 30px;
}/*產品內頁標題文字*/


/*title文字顏色*/
.h1title h1{
  color: #333333;
  border-bottom: 1px solid #cccccc;
  position: relative;
}
.h1title h1::before {
content: "";
    position: absolute;
    top: 45px;
    left: 0px;
    width: 30px;
    height: 3px;
    background-color: #b0c2d5;
    z-index: 1;
}
  
a {
    color: #073e79;/*連結顏色*/
    text-decoration: none;
}

.swiper-container {
  height: auto !important; /* 將容器預設的高拿掉 */
}

.swiper-wrapper, .swiper-slide {
  height: 0 !important;
  padding-bottom: calc(900 / 1920 * 100%); /* 自定響應式圖片高度 */
}

.swiper-slide {
  width: 100% !important; /* 強制圖片寬度隨容器變更 */
}

#bodyinhome .fcol.fcol-1,
#bodyinhome .fcol.fcol-2,
#bodyinhome .fcol.fcol-3,
#bodyinhome .fcol.fcol-5 {
   padding: 2em 0;
}

#bodyinhome .fcol.fcol-4 { background-color: #eee; padding: 3em 0;}
@media only screen and (min-width: 768px){
  #bodyinhome .fcol.fcol-4 .container {
   width: 80%;
   padding: 0;
  }
}

#bodyinhome .fcol.fcol-6 {
   width: 100%;
   background-attachment: scroll; /*fixed固定背景; scroll捲動背景*/
   background-repeat: no-repeat;
   background-position:center;
   background-size: cover;/*cover圖片剪裁不拉伸壓縮 ; contain不拉伸壓縮.等比縮放)*/
   background-image: -webkit-linear-gradient(top, rgb(0 0 0 / 50%) 0%, rgb(0 0 0 / 50%) 100%),url(https://static.iyp.tw/409741/files/09d1c811-eff7-41a8-b2de-3f70727dd11b.jpg);
   background-color: #222;
}


body.contact-us #main-wrap {
   width: 100%;
   background-attachment: scroll; /*fixed固定背景; scroll捲動背景*/
   background-repeat: no-repeat;
   background-position:center;
   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/409741/files/09d1c811-eff7-41a8-b2de-3f70727dd11b.jpg);
   background-color: #222;
}
body.contact-us .h1title h1 { color: #fff; }
body.room-type #main-wrap {background-color: #f5f5f5;}


/*按鈕-文字底色變化特效*/
.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: #666;
     font-weight: 500;
}
.btn-more1:hover{
    background-color: #444; /* 當滑鼠經過時按鈕表格底色變化 */
    color: #fff;/* 當滑鼠經過時按鈕表格文字變化 */
}

.btn-contact1 {
    border-radius: 30px;
    border: 1px solid #ccc;
    color: #fff;
    font-size: clamp(16px, 2vw, 20px);
    background-color: #666c;
    font-weight: 500;
  letter-spacing: 3px;
}
.btn-contact1:hover{
    background-color: #444; /* 當滑鼠經過時按鈕表格底色變化 */
    color: #fff;/* 當滑鼠經過時按鈕表格文字變化 */
  transform: scale(1.1);
}

/*表格陰影效果*/
#frame_c{
  height: 100%;
  padding: 1.5em;
  border-radius: 1em;
  border:1px #eee solid;
box-shadow: inset 10px -1px 50px 4px #DEDEDE,-1px 34px 26px -23px #A6A6A6;-webkit-box-shadow: inset 10px -1px 50px 4px #DEDEDE,-1px 34px 26px -23px #A6A6A6;
-moz-box-shadow: inset 10px -1px 50px 4px #DEDEDE,-1px 34px 26px -23px #A6A6A6;
-o-box-shadow: inset 10px -1px 50px 4px #DEDEDE,-1px 34px 26px -23px #A6A6A6;
}

#frame_c img{
   object-fit: cover;  /*cover圖片剪裁不拉伸壓縮 ; contain不拉伸壓縮.等比縮放)*/
   width: 100%;
   aspect-ratio: 2 / 1;
}


/*owl 輪播圖語法*/
.owl-carousel.owl-theme {
  padding: 0 20px 35px;/*內距:上 左右 下;*/
}
.owl-carousel.owl-theme .owl-nav {
  position: absolute;
  margin: 0;
  top:40%;
  left: 0;
  right: 0;
  transform: translateY(0%);
      z-index: -1;
}
.owl-carousel.owl-theme .owl-dots {
  position: relative;
  left: 0;
  right: 0;
  bottom: 0;
}
.owl-carousel.owl-theme button:focus {
  outline: none;
}
.owl-carousel.owl-theme .owl-nav .owl-prev {
  float: left;
  transform: translateX(-100%);
}
.owl-carousel.owl-theme .owl-nav .owl-next {
  float: right;
  transform: translateX(100%);
}
.owl-carousel.owl-theme .owl-nav .owl-prev:hover,
.owl-carousel.owl-theme .owl-nav .owl-next:hover{
  background: none;
  color: inherit;
}
.owl-carousel.owl-theme .owl-nav .fa{
  font-size: 6.5em; /*箭頭大小*/
  font-family: serif;
  font-weight: 400;
  color:#999;
}

.owl-carousel.owl-theme .owl-nav .fa-angle-left:before {
  content: '\2039';
}
.owl-carousel.owl-theme .owl-nav .fa-angle-right:before {
  content: '\203a';
}


.editmode .owl-carousel.owl-loaded {
  display: flex;
  flex-wrap: wrap;
}
.editmode .owl-carousel > div {
 /* flex: 0 0 25%;*/
  max-width: 100%;
}

.owl-carousel .row-no-gutters .frame [class^=col-] { padding:1em; /*z-index:100;*/}
.owl-carousel .row-no-gutters .frame img {
 object-fit: cover;  /*cover圖片剪裁不拉伸壓縮 ; contain不拉伸壓縮.等比縮放)*/
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;  /*比例*/
  box-shadow: 0 6px 5px rgba(44,44,44,0.25);
}
.owl-carousel .row-no-gutters .frame .text {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
}
.owl-carousel .row-no-gutters .frame a { color:#333; }

.owl-carousel .row-no-gutters {
    margin-right: 5px;
    margin-left: 2px;
}

/*聯絡表單*/
.signtxt { color: #fff;}
.form { color: #fff;}


/*本閣特色-表格*/
@media only screen and (min-width: 768px){
  .flex-nowrap {
    flex-wrap: nowrap !important;
  }
}
.box-1 {
  display: flex;
  flex-direction: column;
  align-items: center;
  border: 1px #ccc solid; 
  border-radius: 1em;
  padding: 1.5em;
  background-color: #f5f5f5;
  box-shadow: 0 20px 15px -10px #ddd;
}

/*首頁-未來規劃*/
figure.snip1433 {
  position: relative;
  margin: 0 auto;
  min-width: 150px;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  color: #ffffff;
  text-align: center;
  line-height: 1.4em;
  background-color: #1a1a1a;
  font-size: 16px;
}
figure.snip1433 * {
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  -webkit-transition: all 0.35s ease;
  transition: all 0.35s ease;
}
figure.snip1433 img {
  position: absolute;
  top: 0%;
  left: 50%;
  opacity: 1;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  -webkit-transform: translate(-50%, 0%);
  transform: translate(-50%, 0%);
}
figure.snip1433 figcaption {
  position: absolute;
  width: 100%;
  top: 40%;
  padding: 20px;
}
figure.snip1433 h2,
figure.snip1433 p {
  margin: 0;
  width: 100%;
  -webkit-transform: translateY(-20px);
  transform: translateY(-20px);
  opacity: 0;
  color: #ffffff;
}
figure.snip1433 h2 {
  text-transform: uppercase;
  margin-bottom: 10px;
  font-size: 24px;
}
figure.snip1433 p {
  font-size: 14px;
  margin: 10px 0;
  line-height: 1.2;
}
figure.snip1433 a {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 1;
}
figure.snip1433:hover img,
figure.snip1433.hover img {
  width: 60%;
  top: -20%;
}
figure.snip1433:hover figcaption h2,
figure.snip1433.hover figcaption h2,
figure.snip1433:hover figcaption p,
figure.snip1433.hover figcaption p {
  -webkit-transform: translateY(0px);
  transform: translateY(0px);
  opacity: 1;
}
figure.snip1433:hover ,
figure.snip1433.hover {
  -webkit-transform: translateY(50px);
  transform: translateY(50px);
    -webkit-transition: all 0.35s ease;
  transition: all 0.35s ease;
}

/*內頁-房型介紹*/
.pro-1 img {
	width: 100%;
	height: auto;
	background-color: #fff; /*背景顏色*/ 
	border: 1px solid #D5D5D5; /*邊框樣式（solid直線 dotted點狀線 dashed虛線）*/
  object-fit: cover;  /*cover圖片剪裁不拉伸壓縮 ; contain不拉伸壓縮.等比縮放)*/
  aspect-ratio: 2 / 1; /*比例*/

}
.pro-1 h2 { font-size: clamp(22px, 3vw, 30px);}


#img-left {
 /* border-radius: 1.5em;*/
  margin-top: -2em;
  margin-left: 4em;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}
#img-right {
  /*border-radius: 1.5em;*/
  margin-top: -2em;
  margin-left: -4em;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}
@media only screen and (max-width: 768px){ 
  #img-left ,#img-right {
    margin-top: 0em;
    margin-left: 0em;
    display: block;
  }
}
.t-box {
  background-color: #fff; 
  /*border-radius: 1.5em;*/
  aspect-ratio: 16 / 9;
  padding: 2em; 
  position: relative;
  z-index: 1;
      box-shadow: 0 0 10px #0001;
}
.t-box h2 { 
  color: #1658a6;
  font-size: clamp(22px, 3vw, 30px); /*最小值 首選值 最大值 限制屬性值區間*/
  line-height:2;
}

/*隱藏側邊欄*/
body[data-type="fullpage"] .main-container.left-menu .fcol-side  {
  display: none ;/*左側欄隱藏*/
}
body[data-type="fullpage"].product .main-container.left-menu .fcol-side+.fcol {
    width: calc(1.0 * 1160px);/*右編輯欄寬度*/
}
body[data-type="fullpage"] #product-header.main {
      min-height: auto;/*右編輯欄高度-不設定高度*/
}
/*隱藏側邊欄*/