/* basic */


*{-webkit-box-sizing:border-box; -moz-box-sizing:border-box; box-sizing:border-box;}

a, *:hover, *:active{-webkit-transition: background 300ms ease-in-out, height 300ms ease-in-out, color 300ms ease-in-out; -moz-transition: background 300ms ease-in-out, height 300ms ease-in-out, color 300ms ease-in-out; -ms-transition: background 300ms ease-in-out, height 300ms ease-in-out, color 300ms ease-in-out; -o-transition: background 300ms ease-in-out, height 300ms ease-in-out, color 300ms ease-in-out; transition: background 300ms ease-in-out, height 300ms ease-in-out, color 300ms ease-in-out; }

a,html,body,h1,h2,h3,h4,ul{
    -webkit-overflow-scrolling : touch !important;
    margin:0;
    padding: 0;
    font-family:"Noto Sans TC" ,"微軟正黑體";
    font-size: 1rem;
    list-style-type:none;
    text-decoration:none;
    
}
body{margin:0;   font-family:"Noto Sans TC" ,"微軟正黑體";font-size:0.75em; position: relative;overflow-x: hidden;background-color: #f8f8f8; }
.fc-daygrid-day-number:after {
    content: none;
  }

.content {
    width: 100%;
    height: auto;
    margin: auto;
  position: absolute;
    overflow-x:hidden;
  z-index: -1;
  }

  .anchor{opacity: 0;display: block; margin-top: -100px; padding-top: 100px;}
.img01{width: 100%;margin: 130px 0 0 0;}
.fc-view-harness{height: 1300px!important;}


.flex { display: -webkit-flex; display: flex; -webkit-flex-wrap: wrap; flex-wrap: wrap; }
.a_c01{display: block;}
.clear{clear: both;}


/*麵包屑*/
.breadcrumb{width: 90%;height:auto;max-width: 100%;margin: 16px auto 0;padding: 10px;background-color: #ffffff;}
.breadcrumb__content{width: 1600px;height:auto;max-width: 100%;margin: auto;}
.breadcrumb__content li{display: inline-block;    position:relative; padding-right:30px;;}
.breadcrumb__content li a{color:#555555;position:relative;display: block;font-size:1.0em;}
.breadcrumb__content li a:hover{color: #a0a0a0;}
.breadcrumb__content li a::after{content: "";position: absolute;margin: 18px 0 0 18px;top: -15px;width: 1px;height: 16px;background-color: #4d4d4d;transform:rotate(24deg); -ms-transform:rotate(24deg); -webkit-transform:rotate(24deg);}
.breadcrumb__content li:last-child a::after{content: "";display: none;}
.breadcrumb--bodertop{padding-top:15px; border-top:1px #d4d4d4 solid;}

.breadcrumb-icon{position: relative;}
.breadcrumb-icon::after{content: "";position: absolute;}



/*header*/
.header{width: 100%;max-width: 100%;height: 60px;position: relative;z-index: 999;top:0px;background-color: rgb(229, 235, 243);transition: all 100ms ease-in;margin: auto;right: 0;left: 0;}




/*header-topbox*/

.header-topbox{width: 1600px;max-width: 100%;height: 50px;margin: auto;z-index: 99;justify-content:center;display: flex;position: relative;transition: all 300ms ease-in;}
.header-topbox__contnet{max-width: 100%;height: 30px;line-height: 30px;display: inline-flex;margin: 0 0 0 0;}
.topbox-list{font-size:1.0em;margin: 0 0 0 20px;position:relative;}
.topbox-list a{color: #000000;font-size:1.0em;position:relative;}
.topbox-list::after{content: "";width: 1px;height: 15px;bottom: 0;margin: auto;right: -15px;top: 0;background-color: #000000;position: absolute;}
.topbox-list:last-child::after{content: "";display: none;}


.header-font{color: #ffffff;margin: 0 0 0 0;}
.topbox-list a:hover{color: rgb(30, 128, 255);}
.topbox-list a::before{content:"";position: absolute;width: 5px;height: 5px;background-size: 5px 5px;background-color: #ffffff;border-radius: 15px;left: -15px;bottom: 7px;}
.header-top {color: #000000;margin: 0  0 0 10px;}
.header-login{width: 87px;height: 35px;border: 1px solid #ffffff;text-align: center;margin: 12px 0 0 43px;line-height: 32px;}
.header-login a{width: 87px;height: 35px;;color: #ffffff;text-align: center;;display: block;}
.header-login:hover{background-color: rgba(255, 255, 255, 0.23);}




.logo{width: 200px;height: auto;display: block;}
.logo a{width: 200px;height: auto;display: block;opacity: 1;font-size:0; overflow:hidden;}

/*header-font*/
.header-font__title{font-size: 1.25em;line-height: 50px;margin: 0 15px 0 35px;}
.font-list{line-height: 50px;font-size:1.5em;margin: 0 10px 0 ;}
.font-list__border{width:20px ;height: 20px;padding: 6px 9px 6px; }
.topbox-list a{padding: 7px;}
.font-list a{color:#121212;border:  1px solid #000000;}


#main{top: -150px;}

#mainLink:not(:focus) {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px 0 0 0;
    padding: 0;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
    font-size: 1.0em;
    left: -150px;
}





/*footer-icon*/
.footer-icon{padding: 7px;margin: 0 50px 0 0;}
.footer-icon img{width: 50px;height: 50px;display:block;margin: 0 15px;display: inline-block;}







.header-logo{width:200px;height: auto;z-index: 9;margin: 0 0 0 18px;}
.header-logo a{color: #5a6770;}
.header-logo img{width: 50px;height: auto;display: block;}
.mobile-logo{display: none;}

.header-side{width: 90px;height: auto;background-color: #ffffff;position:fixed;right: 0px;top: 30%;text-align: center;margin: auto;padding: 15px 0;border: 1px solid #000000;border-radius: 15px 0 0 15px ;border-right: 0px;}
.header-side a img{width: 50px;height: 50px;padding: 2px;display: block;margin: auto;}

.logo-h1{font-size: 1.2em;color: rgba(255, 255, 255, 0);opacity: 0;position: absolute;top: 0;}



/*header__nav*/
.header__nav{width: 100%;height:60px;position: relative;align-items: center;justify-content: space-around;z-index: 999;border-radius: 15px;}
.nav{width: auto;height: 60px;line-height: 60px;text-align:center;margin: auto}
.nav-list, .nav-list a{font-size: 1.00em;color: #525252;display: inline-block;margin: 0 25px;  font-family: "Noto Sans TC", sans-serif;}
.nav-list{height: 60px;position: relative;}
.nav-list::after{content: "";position: absolute;width: 2px;height: 10px;background-color: #c3bba5;margin: auto;top: 0;bottom: 0;left: -23px;}
.nav-list:nth-child(2)::after{content: "";position: absolute;height: 0;}




.nav-account{margin:  0 0 0 30px ;}
.nav-account a{color: #ffffff;font-size: 1.5em;}
.header__nav-box{width: 100%;max-width: 100%;height: 50px;margin: auto;}
.menuextend img{width: 12px;height: 10px;margin: 0px 0 3px 14px;}
/*.menuextend span::after{content: "";position:absolute;width: 17px;height: 12px;background-image:url(../images/index/arrow.png);background-size: 17px 12px;background-repeat: no-repeat;display: block;right: 46px;top: 46px;}

/*menu延伸*/
.menuextend{position: relative;}
.nav-list__menu{width: 150px;position: absolute;top: 122%; left: 50%; transform: translate(-50%, 0);transition: all 200ms ease-in;margin: -15px 0 0 0;border-radius: 0px;z-index: 9; display: none; background-color: #153777;box-shadow: 1px 1px 10px rgb(0 0 0 / 10%);border-radius: 6px;}
.nav-list__menu01{right: -138%;top: 10%;width: 140%;}

.nav-list__menu02{width: 100%;left: 100%;top: 8%;z-index: 9999;border-radius: 6px;;position: absolute;display: none;transition: none;margin: 0; box-shadow:0px 1px 0px rgb(0 0 0 / 10%);background-color:rgb(255, 255, 255);border-radius: 0px;height: auto;}
.nav-list__menu02 li a{color: #000;}


.nav-list__menu02 li a:hover{background-color: #c9dee0;}


.menuextend02{position: relative;}
.nav-list__menu--width{width: 58%;right: 22%;}
.menuextend:hover > .nav-list__menu{ display: block;}
.menuextend02:hover > .nav-list__menu02{ display: block;}


.nav-menulist{width: 100%;height: 100%;border-bottom: 1px solid #dbdbdb;}
.nav-menulist a{width: 100%;min-height: 50px;color: #ffffff;font-size: 1.1em!important;display: block;margin: 0;text-align: center;line-height: normal;display: flex;justify-content: center;align-items: center;}

.nav-menulist a:hover{background-color: #0297a5;color: #fff;border-radius: 5px;}
.nav-list__menu .nav-menulist a:hover{color: #fff;}
.molile-icon,.molile-icon01 {display: none;}
.new-detail-link-text span,.nav-menulist span{width: 5px;height: 5px;background-color: #83bb8a;display: inline-flex;margin: 0 4px 4px 0px;}
.new-detail-link-text span{margin: 0 4px 3px 0px;}

.nav-list__menu .nav-menulist:nth-child(1){border-radius:5px 5px 0 0 ;}
.nav-list__menu .nav-menulist:last-child{border-radius:0 0  5px 5px ;}

.nav-menulist:last-child{border: 0;}

.molile-icon02{
  position: absolute;
  width: 100%;
  height: 53px;
  background: url(../images/svg/sort-up02-01.svg);
  background-size: 10px 10px;
  background-repeat: no-repeat;
  cursor: pointer;
  z-index: 999;
  background-position: center;
  background-position: 87% 48%;
  top: 0;
  display: block;
  margin: 0;
  padding: 0;
  right: 0;
  }


.menuextend02:focus-within .nav-list__menu02 {
    display: block;
}





/*banner*/
.banner{width: 100%;height: auto;margin: 0 auto 0;display: block;position: relative;}
.banner::after{content: "";display: block;position: absolute;width: 100%;bottom: 0;height: 116px;z-index: 9;background: url("../images/banner-deco.png") top center no-repeat;background-size: 100% 100%;}

.slick-dots{top:90%;left: 0%;z-index: 99;}
.banner ul li img{width:1920px;max-width: 100%;min-width: 100%;height: 650px;display: block;object-fit:cover;}

.banner ul li{
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;}


.banner-text{position: absolute;max-width: 1400px;top: 50px;right: 0;bottom: 0;left: 0;margin: auto;}




/*banner-prev*/
.banner-prev, .banner-next{width: 50px;height: 50px;background-image: url(../images/svg/arrow.svg);background-size:50px 50px;background-repeat: no-repeat;cursor: pointer;position: absolute;top: 45%;right: 2%; opacity: 0.5;transition: all 100ms ease-in }
.banner-prev{left: 2%;z-index: 99;-moz-transform:rotate(180deg);-webkit-transform:rotate(180deg); -o-transform:rotate(180deg);-ms-transform:rotate(180deg); transform:rotate(180deg);}
.autoplay:hover > .banner-prev{opacity: 1;}
.autoplay:hover > .banner-next{opacity: 1;}


/*map-prev*/

.map-prev, .map-next{width: 50px;height: 50px;background-image: url(../images/svg/arrow.svg);background-size:50px 50px;background-repeat: no-repeat;cursor: pointer;position: absolute;top: 45%;right: 2%; opacity: 0.5;transition: all 100ms ease-in }
.map-prev{left: 3%;z-index: 99;-moz-transform:rotate(180deg);-webkit-transform:rotate(180deg); -o-transform:rotate(180deg);-ms-transform:rotate(180deg); transform:rotate(180deg);}

.index-councilor .slick-dots{top:100%;left: 0%;z-index: 99;}



/*遮罩*/
.best-mask{width: 100%;height:  100%;position: absolute;z-index: 9;top: 0;transition: all .20s ease-out;right: 0;margin: auto;bottom: 0;left: 0;font-size: 0;}
.best-mask span{display: none;}






/*footer*/
.footer{width: 100%;height: auto;position: relative;z-index: 15;margin: 0 0 0 0;}
/*.footer::after{content: "";width: 100%;height: 39px;background-image: url(../images/index05_02.png);background-size: contain;position: absolute;background-repeat: no-repeat;top: -35px;left:  0;;right: 0;margin: auto;z-index: -1;background-position: bottom;}*/
.footer-nav{margin: 0 auto 25px ;display: flex;justify-content: center;}
.footer-nav__list{display: inline-block;margin: 0px 60px 15px 0;position: relative;}
.footer-nav__list a{font-size:1.0em;color: #ffffff;position: relative;}
.footer-content{justify-content: center;margin:10px auto 10px auto;width: 1200px;max-width: 100%;align-items: center;}
.footer-content__list{width: 100%;color: #ffffff;letter-spacing: 5px;text-align: center;}
.footer-content-text{font-size: 1.5em;padding: 0;margin: 5px auto;}
.footer-content__list--img{width: calc(100%/2 - 450px);display: flex;justify-content: space-between;align-items: center;}
.footer-content-title{color: #ffffff;font-size: 1.5em;}
.footer-reserved-content{width: 100%;min-height: 55px;margin: auto;background-color: #2a5b41;display: flex;justify-content: center;align-items: center}
.reserved-text{text-align: center;color: #ffffff;font-size: 1.4em;}
.footer-li a{color: #ffffff;font-size: 1.2em;}
.footer-h1{font-size: 1.3em;font-weight: 400;}
.footer-box-style{width: 100%;max-width: 100%;margin: auto;padding: 10px 0 30px;}
.footer-copyright{text-align: center;color: #ffffff;font-size: 1.4em;padding: 0;margin: 15px 0;}
.footer-box {
  width: 100%;
  max-width: 100%;
  margin: auto;
  padding: 20px 0 10px;
  background-color: #2f5a4f;
  overflow: hidden;
  transition:  all 0.3s ease;
}

.footer-box.collapsed {
  max-height: 0;
  padding: 0; /* Remove padding when collapsed */
}



.footer-nav-toggle{
  width: 120px;
  height: 40px;
  display: inline-block;
  text-indent: -9999px;
  position: absolute;
  left: 50%;
  top: -40px;
  transform: translateX(-50%);
  background: url("../images/FOOTER.png") ;
  transition: 0.3s;
  background-size: 120px 40px;
  border: 0;
  cursor: pointer;
  
}



/*頁碼*/
/*pagination*/

.pagination__box { padding: 0; margin: 0;margin: auto;text-align: center;display: inline-block;}
.pagination__box li{display: inline-block;vertical-align: top;}
.pagination__box li a {width: 32px;height: 32px;;display: inline-block;line-height: 32px;text-decoration: none; transition: background .3s;color: #485a80;font-size: 1.1em;margin: 0 8px 10px ;border-radius: 5px;vertical-align:bottom;}
.pagination__box li a:hover{background-color: #087cc9;color: #ffffff;}
.pagination__box strong{font-size: 0;}
.pagination__pagea-active {
    width: 32px;
    height: 32px;
    background-color: #485a80;
    display: inline-block;
    color: #ffffff !important;
    line-height: 32px;
    text-align: center; /* 確保數字居中 */
    text-decoration: none;
    transition: background .3s;
    font-size: 1em;
    margin: 0 8px 10px;
    border-radius: 5px;
    vertical-align: bottom;
    cursor: default; /* 讓當前頁滑鼠不要顯示手指 */
}

/* 確保 li 裡面的圖示垂直對齊 */
.pagination__box li a span {
    vertical-align: middle;
}

/*上一頁按鈕*/
.return-buttom{width: 175px;height: 60px;margin: 40px;;text-align: center;color:#000000;background-color: #242424;}
.return-buttom a{width: 100%;height: 100%;display: block ;position: relative;color:#ffffff;line-height: 60px;font-size: 1.6em;}
.return-buttom:hover{background-color: #585858;color: #ffffff;}
.return-buttom a:hover{color: #ffffff;}
.bottm-box{margin: auto;display: flex;justify-content: center;margin: auto;}



/*footer-top*/
.footer-top{width:50px;height: 50px;cursor: pointer;background-color: #465752;border-radius: 150px;border: 0;position: absolute;right: 2%;bottom: 10%;position: fixed;}
.footer-top_font{font-size:  1.2em;color: #ffffff;text-align: center;position: relative;margin: 20px 0 0 0;}
.footer-top_font::after{content:"";position: absolute;border-color:  transparent transparent #ffffff transparent;border-style: solid solid solid solid; border-width: 10px 7px ;margin: -22px 0 0 -22px;}


/*inner*/
.inner-banner{width: 100%;height: 0;padding-bottom:19.2% ;background-image:url(../images/inner/a02.png);background-repeat: no-repeat;position: relative;background-size:contain;position: relative;margin: 100px 0 0 0;background: #0d346e;background-repeat: no-repeat;background-size:contain;width: 100%;}
.inner-banner__box{font-size: 5.7em;color: #ffffff;padding: 0 0 0 142px;position: absolute;;background-color: #043d66d2;margin: auto;right:  0px;bottom: -30px;min-width: 40%;height: 240px;line-height: 240px;text-align: center;font-weight: 600;clip-path: polygon(36% 0, 100% 0, 100% 87%, 0 87%);}

.index-analyze__list{margin: 0 auto;}




.pagination {
    margin-top: 30px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.page-link {
    padding: 8px 16px;
    border: 1px solid #ddd;
    text-decoration: none;
    color: #333;
    border-radius: 4px;
    transition: all 0.3s;
}

.page-link:hover {
    background-color: #f0f7ff;
    border-color: #3f9e7a;
    color: #3f9e7a;
}

.page-link.active {
    background-color: #3f9e7a;
    border-color: #3f9e7a;
    color: white;
    cursor: default;
}

.page-dots {
    color: #999;
    padding: 0 5px;
}





 /* --- 基礎設定 --- */
        :root {
            --primary-color: #00796b;
            --primary-light: #e0f2f1;
            --accent-color: #ffb74d;
            --text-dark: #333;
            --text-gray: #777;
            --bg-light: #f4f7f6;
            --shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
        }

        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
            font-family: "PingFang TC", "Microsoft JhengHei", sans-serif;
        }

        body {
            background-color: var(--bg-light);
            color: var(--text-dark);
            line-height: 1.6;
        }

        /* --- 導覽列 --- */
        .navbar {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 0.3rem 8%;
            background: white;
            box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
            position: sticky;
            top: 0;
            z-index: 1000;
        }
.clinic-content{justify-content: space-between;align-items: center;}
        .logo {
            font-size: 1.4rem;
            font-weight: 800;
            color: var(--primary-color);
            letter-spacing: 1px;
        }

        .nav-links {
            list-style: none;
            display: flex;
            gap: 25px;
        }

        .nav-links a {
            text-decoration: none;
            color: var(--text-dark);
            font-weight: 500;
            transition: color 0.3s;
        }

        .nav-links a:hover {
            color: var(--primary-color);
        }

        /* --- 英雄搜尋區 --- */
        .hero {
            background: linear-gradient(135deg, #00796b 0%, #4db6ac 100%);
            color: white;
            padding: 80px 20px;
            text-align: center;
        }

        .hero h1 {
            font-size: 2rem;
            margin-bottom: 20px;
        }

        .search-container {
            max-width: 700px;
            margin: 0 auto;
            display: flex;
            box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
            border-radius: 50px;
            overflow: hidden;
        }

        .search-container input {
            flex: 1;
            padding: 15px 25px;
            border: none;
            outline: none;
            font-size: 1rem;
        }

        .btn-search {
            padding: 15px 35px;
            background: var(--accent-color);
            border: none;
            color: white;
            font-weight: bold;
            cursor: pointer;
            transition: background 0.3s;
        }

        .btn-search:hover {
            background: #ffa726;
        }

        /* --- 主佈局容器 --- */
        .main-container {
            max-width: 1200px;
            margin: 20px auto 50px;
            padding: 0 20px;
            display: flex;
            gap: 20px;
        }

        /* --- 左側篩選欄 --- */
        .sidebar {
            flex: 0 0 260px;
            background: white;
            padding: 25px;
            border-radius: 12px;
            box-shadow: var(--shadow);
            position: sticky;
            top: 100px;
            height: fit-content;
        }

        .sidebar h3 {
            font-size: 1.1rem;
            margin-bottom: 18px;
            padding-bottom: 8px;
            border-bottom: 2px solid var(--primary-light);
        }

        .filter-group {
            margin-bottom: 20px;
        }

        .filter-item {
            display: flex;
            align-items: center;
            margin-bottom: 10px;
            cursor: pointer;
            font-size: 0.85rem;
            color: #555;
        }

        .filter-item input {
            margin-right: 10px;
            width: 16px;
            height: 16px;
            accent-color: var(--primary-color);
        }

        .btn-apply {
            width: 100%;
            padding: 12px;
            background: var(--primary-color);
            color: white;
            border: none;
            border-radius: 8px;
            font-weight: bold;
            cursor: pointer;
            transition: opacity 0.3s;
        }

        .btn-apply:hover {
            opacity: 0.9;
        }

        /* --- 右側內容區 --- */
        .content-area {
            flex: 1;
        }

        .content-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 25px;
        }

        .sort-select {
            padding: 8px 12px;
            border: 1px solid #ddd;
            border-radius: 6px;
            outline: none;
        }

        /* --- 診所卡片網格 --- */
        .clinic-grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
            gap: 25px;
        }

        .clinic-card {
            background: white;
            border-radius: 12px;
            overflow: hidden;
            box-shadow: var(--shadow);
            transition: transform 0.3s, box-shadow 0.3s;
            border: 1px solid #eee;
        }

        .clinic-card:hover {
            transform: translateY(-8px);
            box-shadow: 0 12px 20px rgba(0, 0, 0, 0.1);
        }

        .clinic-badge {
            height: 160px;
            background: var(--primary-light);
            display: flex;
            justify-content: center;
            align-items: center;
            font-size: 60px;
            position: relative;
        }

        .status-open {
            position: absolute;
            top: 15px;
            right: 15px;
            background: #4caf50;
            color: white;
            padding: 4px 10px;
            border-radius: 20px;
            font-size: 0.75rem;
        }

        .clinic-info {
            padding: 20px;
        }

        .clinic-info h3 {
            margin-bottom: 8px;
            font-size: 1.25rem;
        }

        .rating {
            color: #fbc02d;
            font-weight: bold;
            font-size: 0.9rem;
            margin-bottom: 10px;
        }

        .tags {
            display: flex;
            flex-wrap: wrap;
            gap: 8px;
            margin-bottom: 15px;
        }

        .tag {
            background: #f0f0f0;
            color: #666;
            font-size: 0.75rem;
            padding: 3px 10px;
            border-radius: 4px;
        }

        .address {
            color: var(--text-gray);
            font-size: 0.85rem;
            margin-bottom: 20px;
            display: flex;
            align-items: center;
            gap: 5px;
        }

        .btn-view {
            display: block;
            text-align: center;
            width: 100%;
            padding: 10px;
            border: 2px solid var(--primary-color);
            color: var(--primary-color);
            text-decoration: none;
            border-radius: 6px;
            font-weight: bold;
            transition: all 0.3s;
        }

        .btn-view:hover {
            background: var(--primary-color);
            color: white;
        }

        /* --- 響應式設計 --- */
        @media (max-width: 992px) {
            .main-container {
                flex-direction: column;
            }

            .sidebar {
                flex: none;
                width: 100%;
                position: static;
                padding: 10px;
            }
            .filter-item{display: inline-flex;margin: 0 0 0 10px;}
            .filter-item input{margin-right:2px}
        }

        @media (max-width: 600px) {
          
            .hero h1 {
                font-size: 1.5rem;
            }
  .hero {
            padding:20px ;  
            }
            .search-container {
                flex-direction: column;
                border-radius: 10px;
            }

            .search-container input {
                border-radius: 10px 10px 0 0;
            }

            .btn-search {
                border-radius: 0 0 10px 10px;
            }
        }
/* 搜尋容器 */
.search-container {
    max-width: 800px; /* 稍微加寬以容納三個元件 */
    margin: 0 auto;
    display: flex;
    background: white;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    border-radius: 50px; /* 圓角膠囊造型 */
    padding: 5px; /* 內縮讓選單和按鈕更好看 */
}

/* 縣市下拉選單樣式 */
.city-search-select {
    padding: 0 20px;
    border: none;
    border-right: 1px solid #eee; /* 分隔線 */
    background: transparent;
    font-size: 1rem;
    color: #555;
    outline: none;
    cursor: pointer;
    min-width: 120px;
}

/* 輸入框樣式 */
.search-container input {
    flex: 1;
    padding: 15px 20px;
    border: none;
    outline: none;
    font-size: 1rem;
}

/* 搜尋按鈕樣式 */
.btn-search {
    padding: 15px 35px;
    background: var(--accent-color);
    border: none;
    color: white;
    font-weight: bold;
    cursor: pointer;
    border-radius: 40px; /* 按鈕也做成圓角 */
    transition: background 0.3s;
}


.btn-search:hover {
    background: #ffa726;
}


#district_list{grid-template-columns:repeat(2, 1fr);display: grid;}






/* 手機版適應 */
@media (max-width: 600px) {
    .search-container {
        flex-direction: column;
        border-radius: 15px;
        padding: 10px;
    }
    .city-search-select {
        border-right: none;
        border-bottom: 1px solid #eee;
        padding: 10px;
        width: 100%;
    }
}
@media only screen and (min-width:1301px)
{

   .menuextend:hover > .nav-list__menu{ display: block!important;}

}




@media only screen and (max-width:1700px)
{
    .header-font__title{line-height: 40px;margin: 0 15px 0 15px;}
    
    .header-logo{width:200px;height: auto;max-width: 100%;}
    .footer-top{width: 50px;height: 50px;}
    .footer-top img{width: 50px;height: 50px;}
    .header__nav-box {height: 50px;}
.index-about__content{padding: 0 55px 0 0;}

}



@media only screen and (max-width:1600px)
{


    .footer-content__list{margin: 25px 0;text-align: center;display: block;}
    .footer-li{text-align: center;}
    .footer-content{justify-content: center;}
    .footer-nav{justify-content: center;}
    .footer-box{padding: 20px 15px 5px;}

    .index-about__list{margin: auto;justify-content: center;}
    .nav{margin: 0;}

    .nav-list, .nav-list a{margin: 0 10px;}
    .nav-list::after{content: "";left: -14px;}
    .header-topbox__contnet{margin: 0;}


}




@media only screen and (max-width:1400px)
{

    .nav-list, .nav-list a{font-size: 1.0em;}
    .footer-content__list--img{width: 100%;}
    .about-introduce__box{width: 80%;margin: 15px auto;}
    .preview-link{width: 100%;height: 200px;}


}



@media only screen and (max-width:1250px)
{
    .slick-dots{top: 91%;}
    
    .footer-content__list--img{width: calc(100%/2 - 320px);}
    .footer-content__list--margin{width: calc(100%/2 - -25px);}


}









@media only screen and (max-width:1100px)
{
   
    .footer-nav{line-height: 44px;text-align: center;}
    .footer-box{padding: 20px 15px;}
    .footer-nav__list{margin: 10px;}
    .header-topbox__contnet{margin: 0 0 0 0;}
        .nav-list, .nav-list a{margin: 0px 7px;font-size: 1.0em;}
    .nav-list::after{content: "";left: -10px;}


}








@media only screen and (max-width:1024px)
{
  /*手機板選單往右移*/
 #mobile{left:  -320px;}
 /*選單手機板*/
 .header__nav{width: 220px;height: 100%;position: absolute;top: 0;border-radius: 0;right: 0;position: fixed;background-color: #708671;overflow-y:auto;overflow: auto;overflow-x:hidden;display: block;}
 .nav{width: 100%;margin: 55px auto 0px;height:auto;line-height:40px;}
 .nav-list, .nav-list a{margin: 0;height: auto;}
 .nav-list{width: 100%;}
 /*取消HOVER*/
 .molile-icon  > .nav-list__menu{ display: none;}
 .molile-icon01  > .nav-list__menu01{ display: none;}
 .molile-icon02  > .nav-list__menu02{ display: none;}


 .nav-menulist a:hover{color: #ffffff;}

 /*選單手機板修改樣式*/
 .nav-menulist{border-bottom: 1px solid #ffffff;}
 .nav-menulist:nth-last-child(1){border-bottom: 0 ;}
 .nav-list, .nav-list a{color: #ffffff;min-height: 40px;font-size: 1.1em;text-align: center;width: 100%;}
 .nav-list__menu{width: 100%;right: 78%;top: 5%;;z-index: 9999;position: relative;transition: none;margin: 0; box-shadow:0px 1px 0px rgb(0 0 0 / 10%);background-color:rgb(136, 196, 214);border-radius: 0px;height: auto}
 .hvr-underline-from-center:before{content: "";display: none;}
 /*手機板選單按鈕*/
 #header-buttons{width: 30px;height: 35px;background-image: url(../images/svg/menu-button-lines.svg);background-repeat: no-repeat;display: block;background-size: 30px 35px;position: absolute;left: 2%;top:8px;cursor: pointer;}
/*手機板關閉*/
 #trigger-close{width: 20px;height: 20px;display: block;position: absolute;top: 20px;right: 15px;background-image: url(../images/svg/close_icon.svg);background-repeat: no-repeat;cursor: pointer;background-size: 20px 20px;}
 .header-topbox {display: none;}
 .header{background-color: #ffffff;height: 40px;justify-content:space-between;top: 0;border-radius: 0;}
 .mobile-logo{width: auto;height: 40px;display:flex;margin-left: 7%;align-items:center;display: block;}
 .mobile-logo a img{width:  auto;height: auto;display: block;margin: 5px 0 0 10px;}
  .mobile-logo a{color: #949494;line-height: 40px;}
 .logo{display: none;}  
 .nav-list--display{display: none;}
 .menuextend{position: relative;}
 .molile-icon, .molile-icon01{position: absolute;width: 100%;height:40px;background: url(../images/svg/sort-up.svg);background-size: 10px 10px;background-repeat: no-repeat;cursor: pointer;z-index: 999;background-position: center;background-position:84% 56%;top: 0;display: block;margin: 0;padding: 0;}
 .molile-icon--style{background-position: 96% 56%;}
 .header-logo{display: none;}
.molile-icon01{background-position:94% 56%;}

.header.mini{height: 50px;}

 /*介面調整*/
.nav-list{width: 100%;height: 40px;}
.nav-menulist{width: 100%;min-height: 40px;line-height: 40px;}
.nav-menulist a{padding: 0;width: 100%;;min-height: 40px;line-height: 40px;}

.menuextend:hover > .nav-list__menu{display:none;}



.menuextend img{display: none;}
.header__nav-box{height: auto;position: relative;}
.nav{padding: 0;}
.menuextend img{display: none;}
.header__nav-box{height: auto;position: relative;}
.nav{padding: 0;}
.search-moblie{display: block;}
.search-button{background-color: rgba(255, 255, 255, 0);border: 0;position: absolute;cursor: pointer;top:11px ;right:7px ;color: rgba(255, 255, 255, 0);background-image: url(../images/index/search.png);width: 33px;height: 36px;background-size: 33px 36px;margin: -12px -7px;font-size: 0;}
.search-button::after{content:"";display: none;}
.nav-list::after{display: none;}
.banner{margin: 50px 0 0 0;}
.header-side{display: none;}

.header__nav{align-items:inherit}

.header-topbox__li--none{display: block;}
.topbox-list a{color: #ffffff;}
.topbox-list a::before{content: "";display: none;}
.footer-content__list{width: 100%;}



}









@media only screen and (max-width:850px)
{
    .footer-content-text{font-size:1.2em ;}

    .footer-list{width: 100%;}
    .footer-box{width: 100%;}
    .index-new_content__list{justify-content:left}
    .footer-top{display: none;}

    .text-right h3{font-size: 1.6em;}
     .text-right h4{font-size: 1.8em;}
      .text-right p{font-size: 1.0em;}
      .text-right{width: 70%;}


}













@media only screen and (max-width:450px)
{
    .mobile-logo{margin-left:6%}
    .footer-reserved-content{padding: 0 15px;}
    .footer-box{padding: 10px 15px;}
      .text-right{width: 90%;}

}




