@charset "utf-8";
/* CSS Document */

/*********** header ***********/
header { position: relative; z-index: 999; }
header.header-fixed {  }


/* header-phone */
header { background-color: #fff; padding: 10px 0; box-shadow: 0 3px 6px rgba(0,0,0,.2); }
.header { align-items: center; }

.header-logo a { height: 45px; display: block; }
.header-logo a img { height: 100%; display: block; }


.language dl { display: inline-block; vertical-align: top; position: relative; z-index: 990; cursor: pointer; border-radius: 100px; background-color: #3e9956;
	-webkit-transition: all .3s ease; 
	-moz-transition: all .3s ease; 
	-ms-transition: all .3s ease; 
	-o-transition: all .3s ease; 
	transition: all .3s ease;  
}
.language dt { height: 36px; line-height: 36px; color: #fff; font-size: 14px; font-weight: 700; cursor: pointer; width: 24px; padding: 0 24px 0 16px; }
.language dt a { display: block; position: relative; color: #fff; font-size: 14px; font-weight: 700; cursor: pointer; }
.language dd { position: absolute; top: 100%; left: 0; right: 0; z-index: 990; background-color: #fff; box-shadow: 0 1px 4px rgba(0,0,0,.3); margin-top: 4px; display: none; padding: 4px 0; text-align: center; border-radius: 10px }
.language dd a { display: block; padding: 6px 8px; font-size: 14px; line-height: 1em; }
.language dd a:hover { color: #FF477E; }
.language i { position: absolute; top: 0; right: 14px; z-index: -1; font-size: 12px; color: #fff; line-height: 36px; }
.language i:before { content: "\e732"; display: block; text-align: center;
	-webkit-transform: scale(.8); 
	-moz-transform: scale(.8); 
	-ms-transform: scale(.8); 
	-o-transform: scale(.8); 
	transform: scale(.8);
}
.language dl:hover { background-color: #131313;
	-webkit-transition: all .3s ease; 
	-moz-transition: all .3s ease; 
	-ms-transition: all .3s ease; 
	-o-transition: all .3s ease; 
	transition: all .3s ease;  
}

.header-right { margin-left: auto; align-items: center; }

.header-nav { margin-right: 50px; }
.header-nav a { display: block; float: left; font-size: 18px; font-weight: 700; line-height: 1em; margin-right: 30px; position: relative; }
.header-nav a:last-child { margin-right: 0; }
.header-nav a:hover { color: #2c9753; }
.header-nav a.active { color: #2c9753; }
.header-nav a.active:after { content: ""; display: block; width: 16px; height: 2px; background-color: #2c9753; position: absolute; top: 100%; left: 2px; margin-top: 6px; }


/*********** footer ***********/
footer { 
    position: relative; 
    z-index: 99; 
    background-color: #3e9956; 
    padding: 5px 0; 
    flex-shrink: 0;
    width: 100%;
}

.roll-wrap { position: relative; width: 100%; height: 30px; overflow: hidden; }
.roll-wrap .roll__list { }
.roll_row .roll__list::before, 
.roll_row .roll__list::after { content: ""; display: table; line-height: 0; }
.roll_row .roll__list::after { clear: both; }
.roll_row .roll__list { width: 9999px; }
.roll_row .roll__list li { float: left; display: block; margin-right: 36px; height: 30px; white-space: nowrap; line-height: 30px; color: #fff; font-size: 15px; font-weight: 700; }
.roll_row .roll__list li img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center center; }


/*********** banner ***********/
.home-banner .slide a { position: relative; display: block; }
.home-banner .slide a img { display: block; width: 100%; height: auto; }
.home-banner .slide a p { position: absolute; top: 50%; left: 50%; z-index: 2; font-size: 44px; color: #fff; text-align: center; text-shadow: 1px 1px 1px rgba(0,0,0,.3);
	-webkit-transform: translate(-50%,-50%); 
	-moz-transform:translate(-50%,-50%); 
	-ms-transform:translate(-50%,-50%); 
	transform: translate(-50%,-50%); 
}
.home-banner .slide a p span { display: block; font-size: 18px; color: #fff; line-height: 1.4em; margin-top: 20px; text-shadow: 1px 1px 1px rgba(0,0,0,.3); }


/* page-banner */
.page-banner-box { position: relative; }
.page-banner-box h1 { 
	font-size: 50px; font-weight: 700; line-height: 1em; position: absolute; top: 50%; left: 50%;
	-webkit-transform: translate(-50%,-50%); 
	-moz-transform: translate(-50%,-50%); 
	-ms-transform: translate(-50%,-50%); 
	transform: translate(-50%,-50%);  
}
.page-banner-box img { width: 100%; height: 300px; display: block; object-fit: cover; object-position: center center; }


.crumbs2 { margin: 20px auto 50px; width: 1366px; }
.w1366 > .crumbs2 { width: 100% !important; }


.page_banner_box { display: none; }


/*********** 首頁 ***********/

/*  */
.directory { padding-bottom: 80px; margin-bottom: 80px; }
.directory-attribute li.active { color: #2c9753; }
.directory-title { font-size: 18px; font-weight: 700; line-height: 1em; margin-bottom: 14px; }

.directory-search { margin-bottom: 30px; position: relative; }
.directory-search input { border: 1px solid #131313; border-radius: 6px; height: 40px; width: 65%; padding: 0 16px; box-sizing: border-box; }
.directory-search .btn-search{position: absolute; left: calc(65% - 50px); background: unset;height: 100%; width: 50px;}

.directory-content { flex-direction: row-reverse; }
.directory-content > div { box-sizing: border-box; }

.directory-sidebar { width: 35%; padding-left: 50px; }
.directory-sidebar ul { /*border-bottom: 1px solid #d1d1d1;*/ padding-bottom: 15px; margin-bottom: 30px; }
.directory-sidebar ul:last-of-type { margin-bottom: 0; border: 0; }
.directory-sidebar ul li { margin-bottom: 10px; }
.directory-sidebar ul li a { display: block; min-width: 30px; padding: 0 10px; line-height: 30px; border-radius: 6px; border: 1px solid #dbdbdb; font-size: 14px; font-weight: 700; text-align: center; margin: 0 6px 6px 0; }
.directory-sidebar ul li a:hover { border-color: #131313; box-shadow: 0 3px 3px rgba(0,0,0,.2); }
.directory-sidebar a.active { background-color: #2c9753; border-color: #2c9753; color: #fff; }
.directory-sidebar a.active:hover { border-color: #2c9753; }

.directory-sidebar ul.directory-floor + h2.directory-title,
.directory-sidebar ul.directory-industry { display: none; }

.directory-list { margin-right: auto; width: 65%; }
.directory-list table tr { width: 100%; border-bottom: 1px dashed #b9b9b9; padding: 16px 0; display: flex; justify-content: flex-end; }

.directory-list table td { width: 11%; font-size: 15px; font-weight: 700; padding: 0 16px; text-align: right; color: #666; }
.directory-list table td:first-child { width: 75%; text-align: left; color: #131313; }
.directory-list table td:nth-child(2) { width: 12%; }
.directory-list table td:last-child { margin-left: 30px; }

.directory-list table td a { display: block; font-size: 14px; }  
.directory-list table td a:hover { color: #2c9753; }

.directory-list table thead tr:first-child { 
	border: 0; border-radius: 8px;
	background: -webkit-linear-gradient(left, #51BB6D, #B6E225);
    background: -moz-linear-gradient(left, #51BB6D, #B6E225);
    background: -o-linear-gradient(left, #51BB6D, #B6E225);
    background: linear-gradient(to right, #51BB6D, #B6E225); 
}
.directory-list table tr:first-child td { color: #131313; }


/*  */
.directory-company-top .btn-line { font-size: 14px; line-height: 34px; padding: 0 14px; margin-bottom: 30px; }
.directory-company-top .btn-line:before { font-weight: normal; }

.directory-company-top { margin-bottom: 50px; }  
.directory-company-top h1 { font-size: 20px; font-weight: 700; line-height: 1.2em; margin-bottom: 10px; }
.directory-company-top p { font-size: 16px; font-weight: 700; margin-bottom: 2px; }
.directory-company-top p span { font-size: 16px; font-weight: 700; margin-right: 10px; color: #999; }

.directory-company-img img { display: block; width: 100%; }

img.plan { width: 1366px; display: block; margin: 0 auto 50px; }


/* ========================================
   修正 Footer 強制貼底 (使用 margin-top: auto)
   ======================================== */

/* 1. 確保 body 使用 flex 且允許推底 */
html, body {
    height: 100%;
    margin: 0;
    padding: 0;
}

body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* 2. Footer 所在的 section - 使用 margin-top: auto 強制推到底部 */
section:nth-of-type(3) {
    display: flex;
    flex-direction: column;
    margin-top: auto;  /* ← 這是關鍵！無論上方內容多少，都會被推到最底部 */
    width: 100%;
    flex-shrink: 0;
}

/* 3. Footer 本身保持正常 */
footer { 
    position: relative; 
    z-index: 99; 
    background-color: #3e9956; 
    padding: 5px 0; 
    width: 100%;
}

/* ========================================
   Banner 輪播 - 圖片完整顯示
   ======================================== */

.home-banner {
    width: 100%;
    height: auto;
    overflow: hidden;
    flex-shrink: 0;
}

.home-slider {
    width: 100%;
    height: auto;
}

.bx-wrapper {
    width: 100% !important;
    height: auto !important;
    max-width: 100% !important;
    margin: 0 !important;
    border: none !important;
    box-shadow: none !important;
    background: transparent !important;
}

.bx-viewport {
    width: 100% !important;
    height: auto !important;
}

.home-slider .slide {
    width: 100%;
    height: auto;
    position: relative;
    overflow: hidden;
}

.home-slider .slide a {
    display: block;
    width: 100%;
    height: auto;
}

.home-slider .slide a img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: none;
}

.home-slider .slide .option {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    pointer-events: none;
}


/* ========================================
   品牌介紹文字 + 平面圖（共用容器）
   ======================================== */

/* 品牌文字 */
.brand-intro {
    width: 100%;
    padding: 20px 30px 10px;
    box-sizing: border-box;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.brand-intro-content {
    max-width: 800px;
    width: 100%;
    margin: 0 auto;
    text-align: center;
}

.brand-slogan {
    font-size: 20px;
    line-height: 1.8;
    color: #1a1a2e;
    font-weight: 500;
    margin-bottom: 20px;
    letter-spacing: 0.5px;
}

.brand-services {
    font-size: 22px;
    line-height: 1.8;
    color: #3e9956;
    font-weight: 700;
    margin-bottom: 16px;
}

.brand-services span {
    display: inline-block;
    background: #3e9956;
    color: #fff;
    padding: 4px 18px;
    border-radius: 20px;
    font-size: 16px;
    margin-bottom: 6px;
}

.brand-desc {
    font-size: 18px;
    line-height: 1.8;
    color: #555;
    font-weight: 400;
    margin-top: 4px;
}


/* ========================================
   樓層平面圖區塊 - 自動撐滿剩餘空間
   ======================================== */

.floor-plan-section {
    flex: 1;  /* 讓它撐滿 section:nth-of-type(2) 給的剩餘空間 */
    width: 100%;
    padding: 10px 20px 15px;
    box-sizing: border-box;
    background: #f5f9f5;
    display: flex;
    align-items: center;     /* 垂直置中 */
    justify-content: center; /* 水平置中 */
}

.floor-plan-container {
    max-width: 800px;
    width: 100%;
    margin: 0 auto;
    text-align: center;
}

.floor-plan-title {
    font-size: 18px;
    font-weight: 700;
    color: #1a1a2e;
    margin-bottom: 10px;
    letter-spacing: 1px;
}

.floor-plan-image-wrapper {
    width: 100%;
    background: #ffffff;
    border-radius: 12px;
    padding: 12px;
    box-sizing: border-box;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.floor-plan-image {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 6px;
}

.floor-plan-note {
    font-size: 13px;
    color: #999;
    margin-top: 8px;
    letter-spacing: 0.3px;
}


/* ========================================
   輪播左右控制按鈕（綠色箭頭）
   ======================================== */

.bx-wrapper .bx-controls {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 20;
    pointer-events: none;
}

.bx-wrapper .bx-controls-direction {
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    transform: translateY(-50%);
    pointer-events: none;
}

.bx-wrapper .bx-prev,
.bx-wrapper .bx-next {
    position: absolute;
    top: 50%;
    width: 56px;
    height: 56px;
    margin-top: -28px;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 50%;
    cursor: pointer;
    pointer-events: auto;
    transition: all 0.3s ease;
    z-index: 999;
    text-indent: -9999px;
    overflow: hidden;
    border: 3px solid #3e9956;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.35);
}

.bx-wrapper .bx-prev {
    left: 16px;
}

.bx-wrapper .bx-next {
    right: 16px;
}

.bx-wrapper .bx-prev::after {
    content: "\276E";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    text-indent: 0;
    font-size: 32px;
    font-weight: 900;
    line-height: 56px;
    text-align: center;
    color: #3e9956;
}

.bx-wrapper .bx-next::after {
    content: "\276F";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    text-indent: 0;
    font-size: 32px;
    font-weight: 900;
    line-height: 56px;
    text-align: center;
    color: #3e9956;
}

.bx-wrapper .bx-prev:hover,
.bx-wrapper .bx-next:hover {
    background: #3e9956;
    transform: scale(1.15);
    box-shadow: 0 4px 20px rgba(62, 153, 86, 0.6);
}

.bx-wrapper .bx-prev:hover::after,
.bx-wrapper .bx-next:hover::after {
    color: #ffffff;
}


/* ========================================
   輪播分頁點（圓點）- 居中 + 不明顯
   ======================================== */

.bx-wrapper .bx-pager {
    position: absolute;
    bottom: 20px;
    left: 50% !important;
    transform: translateX(-50%) !important;
    width: auto !important;
    text-align: center;
    z-index: 999 !important;
    pointer-events: none;
}

.bx-wrapper .bx-pager .bx-pager-item {
    display: inline-block;
    pointer-events: auto;
    margin: 0 4px !important;
}

.bx-wrapper .bx-pager a {
    display: block;
    width: 8px !important;
    height: 8px !important;
    border-radius: 50% !important;
    background: rgba(255, 255, 255, 0.4) !important;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
    text-indent: -9999px;
    transition: all 0.3s ease;
    box-shadow: none !important;
}

.bx-wrapper .bx-pager a.active {
    background: rgba(62, 153, 86, 0.7) !important;
    transform: scale(1.2) !important;
    border-color: rgba(62, 153, 86, 0.5) !important;
}

.bx-wrapper .bx-pager a:hover {
    background: rgba(255, 255, 255, 0.6) !important;
}


/* ========================================
   響應式 - 小螢幕豎屏
   ======================================== */

@media (max-width: 768px) {
    .brand-intro {
        padding: 16px 20px 8px;
    }
    
    .brand-slogan {
        font-size: 18px;
        line-height: 1.6;
        margin-bottom: 14px;
    }
    
    .brand-services {
        font-size: 19px;
        line-height: 1.6;
        margin-bottom: 12px;
    }
    
    .brand-services span {
        font-size: 14px;
        padding: 3px 14px;
    }
    
    .brand-desc {
        font-size: 16px;
        line-height: 1.6;
        margin-top: 2px;
    }

    .floor-plan-section {
        padding: 8px 15px 12px;
    }
    
    .floor-plan-title {
        font-size: 16px;
        margin-bottom: 8px;
    }
    
    .floor-plan-image-wrapper {
        padding: 10px;
    }

    .bx-wrapper .bx-prev,
    .bx-wrapper .bx-next {
        width: 40px;
        height: 40px;
        margin-top: -20px;
    }
    
    .bx-wrapper .bx-prev::after,
    .bx-wrapper .bx-next::after {
        font-size: 22px;
        line-height: 40px;
    }
    
    .bx-wrapper .bx-prev {
        left: 10px;
    }
    
    .bx-wrapper .bx-next {
        right: 10px;
    }
}


/* ========================================
   響應式 - 大螢幕
   ======================================== */

@media (min-width: 1024px) {
    .brand-slogan {
        font-size: 22px;
    }
    
    .brand-services {
        font-size: 24px;
    }
    
    .brand-desc {
        font-size: 18px;
    }
}


/* ========================================
   極端直立螢幕（如手機）
   ======================================== */

@media (max-width: 480px) and (orientation: portrait) {
    .brand-slogan {
        font-size: 15px;
    }
    
    .brand-services {
        font-size: 16px;
    }
    
    .brand-desc {
        font-size: 14px;
    }
    
    .floor-plan-title {
        font-size: 14px;
    }
}

/* ========================================
   輪播圖全屏填滿（背景圖方案）
   ======================================== */

/* 1. 每個幻燈片用背景圖填滿 */
.full-bg-slide {
    width: 100% !important;
    height: 100% !important;
    background-size: cover !important;      /* 填滿整個區域 */
    background-position: center !important;
    background-repeat: no-repeat !important;
}

/* 2. 隱藏原本的 img 標籤（因為改用背景圖） */
.full-bg-slide a img {
    display: none !important;
}

/* 3. 連結保持可點擊，但文字隱藏 */
.full-bg-slide a {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    text-indent: -9999px !important;
    overflow: hidden !important;
}

    /* ----- 4. 每個 Slide：預設樣式 ----- */
    /*.home-slider .slide {
        width: 100% !important;
        height: 100% !important;
        position: relative !important;
        overflow: hidden !important;
        background-color: #f5f9f5 !important;
    }
	*/
    .home-slider .slide a {
        display: block !important;
        width: 100% !important;
        height: 100% !important;
        position: relative !important;
    }

    .home-slider .slide a img {
        width: 100% !important;
        height: 100% !important;
        object-fit: contain !important;
        object-position: center !important;
        display: block !important;
        top: 0 !important;
        left: 0 !important;
    }

    /* ----- 4.5 但如果使用了 full-bg-slide 類名，改用背景圖 ----- */
    .home-slider .slide.full-bg-slide {
        background-size: cover !important;
        background-position: center !important;
        background-repeat: no-repeat !important;
        background-color: #f5f9f5 !important;
    }

    .home-slider .slide.full-bg-slide a img {
        display: none !important;
    }

    .home-slider .slide.full-bg-slide a {
        display: block !important;
        width: 100% !important;
        height: 100% !important;
        text-indent: -9999px !important;
        overflow: hidden !important;
    }

    /* 如果有 .option 文字層，保持在圖片上方 */
    .home-slider .slide .option {
        position: absolute !important;
        top: 0 !important;
        left: 0 !important;
        width: 100% !important;
        height: 100% !important;
        z-index: 2 !important;
        pointer-events: none !important;
    }
/* ========================================
   大型直立商場螢幕 (如 1080×1920) 
   - 保留 img 標籤，模擬背景圖效果
   ======================================== */

@media (orientation: portrait) and (min-width: 768px) and (min-height: 1000px) {

    /* ----- 1. Header 極致壓縮 ----- */
    .header {
        display: flex;
        flex-direction: column;
        align-items: stretch;
        padding: 2px 10px 0px !important;
        box-sizing: border-box;
        width: 100%;
    }

    .header .df:first-of-type {
        display: flex;
        width: 100%;
        align-items: center;
        justify-content: space-between;
    }

    .header-logo a {
        height: 38px !important;
        display: block;
    }

    .header-right {
        margin-left: 0 !important;
        display: flex;
        align-items: center;
    }

    .header-nav {
        display: flex !important;
        justify-content: flex-start !important;
        align-items: center !important;
        width: 100% !important;
        margin: 0 !important;
        padding: 0 !important;
        flex-wrap: nowrap !important;
        overflow: visible !important;
    }

    .header-nav a {
        font-size: 22px !important;
        margin: 0 20px 0 0 !important;
        padding: 2px 0 !important;
        white-space: nowrap !important;
        flex-shrink: 0 !important;
    }
    .header-nav a:last-child {
        margin-right: 0 !important;
    }

    .language dt {
        height: 28px !important;
        line-height: 28px !important;
        font-size: 13px !important;
        padding: 0 16px 0 12px !important;
        border-radius: 16px !important;
    }
    .language dt a {
        font-size: 13px !important;
    }
    .language dd a {
        font-size: 13px !important;
        padding: 4px 10px !important;
    }
    .language i {
        line-height: 28px !important;
        font-size: 10px !important;
        right: 8px !important;
    }

    /* ----- 2. 內容區域配置 ----- */
    section:first-of-type {
        flex: 0 0 auto !important;
        display: flex !important;
        flex-direction: column !important;
    }

    section:nth-of-type(2) {
        flex: 1 !important;
        display: flex !important;
        flex-direction: column !important;
        min-height: 0 !important;
    }

    section:nth-of-type(3) {
        flex: 0 0 auto !important;
    }

    /* ----- 3. Banner 容器：固定高度 ----- */
    .home-banner {
        /*flex: 0 0 auto !important;
        width: 100% !important;
        height: 100% !important;
        max-height: 50vh !important;
        overflow: hidden !important;
        position: relative !important;*/
    }

    .home-slider {
        height: 100% !important;
    }

    .bx-wrapper {
        width: 100% !important;
        height: 100% !important;
        max-width: 100% !important;
        margin: 0 !important;
        border: none !important;
        box-shadow: none !important;
        background: transparent !important;
        position: relative !important;
    }

    .bx-viewport {
        width: 100% !important;
    }

    /* ----- 4. 每個 Slide：讓 img 表現得像背景圖 ----- */
    .home-slider .slide {
        height: 100% !important;
        position: relative !important;
        overflow: hidden !important;
        background-color: #f5f9f5 !important;  /* 留白處背景色 */
    }

    .home-slider .slide a {
        display: block !important;
        width: 100% !important;
        height: 100% !important;
        position: relative !important;
    }

    .home-slider .slide a img {
        width: 100% !important;
        height: auto !important;
        object-fit: contain !important;       /* ← 完整顯示，不裁切 */
        object-position: center !important;
        display: block !important;
        /*position: absolute !important; */       /* ← 絕對定位，覆蓋整個 slide */
        top: 0 !important;
        left: 0 !important;
    }

    /* 如果有 .option 文字層，保持在圖片上方 */
    .home-slider .slide .option {
        position: absolute !important;
        top: 0 !important;
        left: 0 !important;
        width: 100% !important;
        height: 100% !important;
        z-index: 2 !important;
        pointer-events: none !important;
    }

    /* ----- 5. 品牌文字區 ----- */
    .brand-intro {
        flex: 1 !important;
        width: 100% !important;
        padding: 10px 0 !important;
        box-sizing: border-box !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
    }

    .brand-intro-content {
        max-width: 95% !important;
        width: 95% !important;
        margin: 0 auto !important;
        padding: 0 !important;
    }

    .brand-slogan {
        font-size: 24px !important;
        line-height: 1.5 !important;
        margin-bottom: 6px !important;
        color: #1a1a2e !important;
        font-weight: 500 !important;
    }

    .brand-services {
        font-size: 26px !important;
        line-height: 1.5 !important;
        margin-bottom: 6px !important;
        color: #3e9956 !important;
        font-weight: 700 !important;
    }

    .brand-services span {
        font-size: 16px !important;
        padding: 3px 16px !important;
        border-radius: 20px !important;
    }

    .brand-desc {
        font-size: 24px !important;
        line-height: 1.5 !important;
        color: #1a1a2e !important;
        font-weight: 400 !important;
    }

    /* ----- 6. Footer ----- */
    .roll_row .roll__list li {
        font-size: 20px !important;
        line-height: 34px !important;
        height: 34px !important;
    }
    .roll-wrap {
        height: 34px !important;
    }
}