.main-sect { /* main的section */
    position: relative;
}
.index-sect-1::after,
.index-sect-2::after {
    content: '';
    display: block;
    clear: both;
}
.index-sect-title { /* sect標題(優惠訊息、最新消息 除外) - (這頁設計時階層錯亂所以不要使用這個共同設定) */

}
.news-sect-img { /* 最新消息(共用)的左側圖 */
    float: left;
    width: 45%;
    margin-right: 5%;
}
.news-cont-div { /* 最新消息(共用)的裝文章容器 */
    float: left;
    width: 50%;
    margin: auto;
}
.news-arti-div { /* 消息文章(共用)的容器 */
    position: relative;
    margin-bottom: 60px;
}
.news-arti-head { /* 消息文章(共用)的標題 */
    padding-left: 5px;
    padding-bottom: 14px;
    font-size: 1.25rem;
    font-weight: bold;
    line-height: 1;
    color: #3f3f3f;
    border-bottom: 1px solid #555;
}
.news-unfold-div { /* 文章過長控制div */
    position: relative;
    margin: 10px 0;
    padding-left: 10px;
}
.news-unfold-div img,
.js-index-unfold-inner img {
    max-width: 100%;
}
.news-unfold-btn { /* 文章過長按鈕 */
    position: absolute;
    display: block;
    width: 100%;
    height: 48px;
    line-height: 48px;
    right: 0;
    bottom: 0;
    left: 0;
    margin: auto;
    text-align: center;
    text-decoration: none;
    background-color: #fff;
}
.news-unfold-btn::before { /* 文章過長按鈕 */
    position: absolute;
    content: '';
    display: block;
    width: 0;
    height: 0;
    top: 22px;
    right: 0;
    left: 0;
    margin: auto;
    border: 12px solid transparent;
    z-index: 2;
}
.news-unfold-btn::after { /* 文章過長按鈕 */
    position: absolute;
    content: '';
    display: block;
    width: 0;
    height: 0;
    top: 19px;
    right: 0;
    left: 0;
    margin: auto;
    border: 13px solid transparent;
    border-top-color: #fff; /* 消息 優惠 兩個區塊底色都是白色 */ 
    z-index: 3;
}
.news-arti-link { /* 消息文章(共用)的連外連結 */
    display: inline-block;
    line-height: 2;
    text-decoration: underline;
}
.news-arti-link::before {
    display: inline;
    content: '>>';
}
.clear-3a {
    width: 100%;
    height: 0;
    clear: both;
}
.news-more-btn { /* 消息文章(共用)的更多文章按鈕 */
    display: block;
    width: 200px;
    margin: 40px auto 0;
    padding: 0 8px;
    line-height: 3;
    text-align: center;
    font-weight: bold;
}
.news-cont-div .news-arti-div:last-of-type {
    margin-bottom: 0;
}
.index-sect-title-1, /* 優惠訊息 大標題 (這頁設計時階層錯亂所以很亂) */
.index-sect-title-2, /* 最新消息 大標題 (這頁設計時階層錯亂所以很亂) */
.index-sect-title-3-title, /* 關於我們 大標題 (這頁設計時階層錯亂所以很亂) */
.index-sect-title-6 { /* 民宿設施 大標題 (這頁設計時階層錯亂所以很亂) */
    position: relative;
    margin-bottom: 40px;
    padding: 20px 0;
    font-size: 1.5rem;
    font-weight: bold;
}
.index-sect-title-1::after, /* 優惠訊息 大標題 (這頁設計時階層錯亂所以很亂) */
.index-sect-title-2::after, /* 最新消息 大標題 (這頁設計時階層錯亂所以很亂) */
.index-sect-title-3-title::after, /* 關於我們 大標題 (這頁設計時階層錯亂所以很亂) */
.index-sect-title-6::after { /* 民宿設施 大標題 (這頁設計時階層錯亂所以很亂) */
    content: '';
    position: absolute;
    display: block;
    width: 70px;
    height: 2px;
    left: 0;
    bottom: 0;
}
.index-sect-title-1::before, /* 優惠訊息 大標題 (這頁設計時階層錯亂所以很亂) */
.index-sect-title-2::before, /* 最新消息 大標題 (這頁設計時階層錯亂所以很亂) */
.index-sect-title-3-title::before, /* 關於我們 大標題 (這頁設計時階層錯亂所以很亂) */
.index-sect-title-6::before { /* 民宿設施 大標題 (這頁設計時階層錯亂所以很亂) */
    content: '';
    position: absolute;
    display: block;
    width: 230px;
    height: 2px;
    left: 0;
    bottom: 0;
    background-color: #f0f0f0;
}
.index-sect-3 { /* 關於我們的第二個區塊 - 關於我們(被降階) */
    position: relative;
}
.index-sect-4 { /* 關於我們的第三個區塊 - 民宿特色(被降階) */
    position: relative;
}
.index-sect-5 { /* 關於我們的第四個區塊 - 主人的話(被降階) */
    position: relative;
}
.index-sect-8 { /* slider 2018-09-07-from Jackie request */
    padding-top: 80px;
}
.index-sect-title-3,  /* 關於我們的第二個區塊 - 關於我們的標題 */
.index-sect-title-4,  /* 關於我們的第三個區塊 - 民宿特色的標題 */
.index-sect-title-5 { /* 關於我們的第四個區塊 - 主人的話的標題 */
    position: relative;
    font-size: 1.25rem;
    font-weight: bold;  
}
.index-sect-title-3::before { /* 關於我們的第二個區塊 - 關於我們的左側icon */
    position: absolute;
    content: '';
    display: block;
    background: url('../images/t-icon11.png') no-repeat center center;
    background-size: 100% 100%;
}
.index-sect-title-4::before { /* 關於我們的第三個區塊 - 民宿特色的左側icon */
    position: absolute;
    content: '';
    display: block;
    background: url('../images/t-icon12.png') no-repeat center center;
    background-size: 100% 100%;
}
.index-sect-title-5::before { /* 關於我們的第四個區塊 - 主人的話的左側icon */
    position: absolute;
    content: '';
    display: block;
    background: url('../images/t-icon10.png') no-repeat center center;
    background-size: 100% 100%;
}

/* unfold-btn 的設定 */
.index-unfold-div { /* 文章過長控制div */
    position: relative;
    margin-top: 10px;
}
.index-unfold-btn { /* 文章過長按鈕 */
    position: absolute;
    display: block;
    width: 100%;
    height: 24px;
    line-height: 24px;
    right: 0;
    bottom: 0;
    left: 0;
    margin: auto;
    text-align: center;
    text-decoration: none;
    background-color: #fff;
}
.index-unfold-btn::before { /* 文章過長按鈕 */
    position: absolute;
    content: '';
    display: block;
    width: 0;
    height: 0;
    top: 3px;
    right: 0;
    left: 0;
    margin: auto;
    border: 12px solid transparent;
    z-index: 2;
}
.index-unfold-btn::after { /* 文章過長按鈕 */
    position: absolute;
    content: '';
    display: block;
    width: 0;
    height: 0;
    top: 0;
    right: 0;
    left: 0;
    margin: auto;
    border: 13px solid transparent;
    border-top-color: #fff; /* 底色是白色 */ 
    z-index: 3;
}
/* slider */
.bnb-intro-photos.owl-carousel .owl-item .img-item{
    position: relative;
    width: 100%;
    padding-top: 62.57143%;
    background-color: #e0e0e0;
}
.bnb-intro-photos.owl-carousel .owl-item .img-item img {
    position: absolute;
    width: auto;
    height: 100%;
    top: 0;
    right: 0;
    left: 0;
    cursor: pointer;
    margin: auto;
}
@media screen and (min-width: 1000px) {
    .index-sect-3,  /* 關於我們 */
    .index-sect-4,  /* 民宿特色 */
    .index-sect-5 { /* 主人的話 */
        padding: 0 20px 40px 12%;
    }
    .index-sect-1 { /* 好康優惠 */
        padding:  0 12% 40px;
    }
    .index-sect-2, /* 最新消息 */
    .index-sect-6, /* 民宿設施 */
    .index-sect-7 { /* 民宿標章 */
        padding: 40px 12%;
    }
    .index-sect-for-head { /* 只包關於我們的標題 */
        padding: 40px 12% 0;
    }
    .index-sect-img-3 { /* 3a獨有圖片 */
        float: right;
        width: 36%;
        max-width: 600px;
        margin-right: 12%;
    }
}
@media screen and (min-width: 768px) and (max-width: 999px) {
    .index-sect-3,  /* 關於我們 */
    .index-sect-4,  /* 民宿特色 */
    .index-sect-5 { /* 主人的話 */
        padding: 0 20px 40px 5%;
    }
    .index-sect-1 { /* 好康優惠 */
        padding:  0 5% 40px;
    }
    .index-sect-2, /* 最新消息 */
    .index-sect-6, /* 民宿設施 */
    .index-sect-7 { /* 民宿標章 */
        padding: 40px 5%;
    }
    .index-sect-for-head { /* 只包關於我們的標題 */
        padding: 40px 5% 0;
    }
    .index-sect-img-3 { /* 3a獨有圖片 */
        float: right;
        width: 36%;
        max-width: 600px;
        margin-right: 5%;
    }
}
@media screen and (min-width: 768px) {
    .index-sect-3,  /* 關於我們 */
    .index-sect-4,  /* 民宿特色 */
    .index-sect-5 { /* 主人的話 */
        width: 50%;
    }
    .index-sect-title-3,  /* 關於我們的標題 */
    .index-sect-title-4,  /* 民宿特色的標題 */
    .index-sect-title-5 { /* 主人的話的標題 */
        height: 64px;
        padding-left: 74px;
        line-height: 64px;
    }
    .index-sect-title-3::before,  /* 關於我們標題的左側icon */
    .index-sect-title-4::before,  /* 民宿特色標題的左側icon */
    .index-sect-title-5::before { /* 主人的話標題的左側icon */
        width: 60px;
        height: 60px;
        top: 0;
        left: 0;
    }
    .index-sect-6::before { /* 民宿設施 - 清除float */
        content: '';
        display: block;
        clear: both;
    }
    /* slider */
    .bnb-intro-photos.owl-carousel .owl-controls {
        display: none;
    }
}
@media screen and (max-width: 767px) {
    .main { /* main */
        padding: 0 5% 40px;
    }
    .news-sect-img { /* 最新消息(共用)的左側圖 */
        float: none;
        width: 100%;
        margin-right: 0;
        margin-bottom: 40px;
    }
    .news-cont-div { /* 最新消息(共用)的裝文章容器 */
        float: none;
        width: 100%;
        margin: auto;
    }
    .news-more-btn { /* 消息文章(共用)的更多文章按鈕 */
        margin-top: 20px;
    }
    .index-sect-3,  /* 關於我們 */
    .index-sect-4,  /* 民宿特色 */
    .index-sect-5 { /* 主人的話 */
        width: 100%;
        padding-bottom: 20px;  
    }
    .index-sect-for-head { /* 只包關於我們的標題 */
        padding: 40px 0 0;
    }
    .index-sect-6 { /* 民宿設施 */
        padding: 40px 0; 
    }
    .index-sect-7 { /* 民宿標章 */
        padding: 40px 0; 
    }
    .index-sect-title-3,  /* 關於我們的標題 */
    .index-sect-title-4,  /* 民宿特色的標題 */
    .index-sect-title-5 { /* 主人的話的標題 */
        height: 50px;
        padding-left: 60px;
        line-height: 50px;
    }
    .index-sect-title-3::before,  /* 關於我們標題的左側icon */
    .index-sect-title-4::before,  /* 民宿特色標題的左側icon */
    .index-sect-title-5::before { /* 主人的話標題的左側icon */
        width: 45px;
        height: 45px;
        top: 0;
        left: 0;
    }
    .index-sect-img-3 { /* 3a獨有圖片 */
        display: none;
    }
    /* slider */
    .bnb-intro-photos.owl-carousel .owl-controls {
        width: 100%;
        position: static;
    }
    .bnb-intro-photos.owl-carousel .owl-dots {
        width: 100%;
        padding: 10px;
        text-align: center;
    }
    .bnb-intro-photos.owl-carousel .owl-dot {
        display: inline-block;
        width: 16px;
        height: 16px;
        margin-right: 8px;
        margin-bottom: 8px;
        border: 1px solid #e0e0e0;
        background-color: #fff;
    }
}