/* 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: #949fb6;
  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*/
.pagination{width: calc(100%/1 - 460px); width: 100%;margin: auto;text-align: center;padding: 50px 0 20px 0;}
.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;;background-color: #6e888b;display: inline-block;line-height: 32px;text-decoration: none; transition: background .3s;color: #ffffff;font-size: 1em;margin: 0 8px 10px ;border-radius: 5px;vertical-align:bottom;}
.pagination__box li a:hover{background-color: #93acaf;}
.pagination__box li a.active { background-color: #598085;}
.pagination__box strong{font-size: 0;}
.icon-sort-up{transform:rotate(-90deg);font-size: 1.4em;margin: 5px 0px 0px 5px;display: block;}
.icon-sort-up--right{transform:rotate(90deg);margin: 5px 0px 0px -7px;}
.icon-backward--right{transform:rotate(180deg);display: block;margin: 9px 02px 0px 0px;}



/* =========================
   文青藍色系定義
========================= */
:root {
    --blue-main: #3e6892;      /* 莫蘭迪藍：主色調 */
    --blue-dark: #3c5268;      /* 深灰藍：文字與按鈕 Hover */
    --blue-soft: #f4f7f9;      /* 極淺藍：背景襯托 */
    --blue-tag: #e2e8f0;       /* 標籤背景 */
    --white: #ffffff;
    --text-main: #434953;      /* 暖深灰：比純黑更柔和 */
    --text-light: #7d8897;     /* 淺灰藍：次要資訊 */
    --radius-lg: 24px;         /* 大圓角：用於搜尋框 */
    --radius-md: 12px;         /* 中圓角：用於卡片 */
    --shadow-sm: 0 4px 12px rgba(106, 140, 175, 0.2);
    --shadow-md: 0 10px 25px rgba(106, 140, 175, 0.2);
}

/* =========================
   BASE
========================= */
body {
    background: #fcfdfe;       /* 帶點暖感的極淺白 */
    color: var(--text-main);
    font-family: "PingFang TC", "Microsoft JhengHei", sans-serif;
    margin: 0;
    line-height: 1.8;          /* 增加行高，提升閱讀的呼吸感 */
}

.container {
    max-width: 1300px;         /* 縮小寬度讓視覺更集中 */
    margin: auto;
    padding: 0 20px;
}

.clinic-header{justify-content: space-between;}


.star-icon{color: #eea300dc;}


/* =========================
   HERO SEARCH (去線條化)
========================= */
.search-hero {
    padding: 80px 0 50px;
    background: linear-gradient(180deg, #edf2f7 0%, #fcfdfe 100%);
    border-bottom: none;       /* 移除底部粗線 */
    text-align: center;
}

.search-hero h1 {
    letter-spacing: 1px;       /* 增加字距增加高級感 */
    color: var(--blue-main);
    font-weight: 500;          /* 輕量化字重 */
    margin-bottom: 30px;
    font-size: 25px;
}

.search-box {
    display: flex;
    background: white;
    padding: 8px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md); /* 用陰影取代邊框 */
    max-width: 700px;
    margin: auto;
    border: none;
}

.search-box input,
.search-box select {
    border: none;
    padding: 12px 20px;
    flex: 1;
    outline: none;
    font-size: 0.95rem;
    color: var(--text-main);
    background: transparent;
}

.search-btn {
    background: var(--blue-main);
    color: white;
    border: none;
    padding: 0 35px;
    border-radius: var(--radius-lg);
    font-weight: 500;
    cursor: pointer;
    transition: all .3s;
}

.search-btn:hover {
    background: var(--blue-dark);
    transform: translateY(-1px);
}

/* =========================
   GRID LAYOUT
========================= */
.layout-grid {
    display: grid;
    grid-template-columns: 200px 1fr 240px;
    gap: 50px;                 /* 增加間距增加呼吸感 */
    align-items: start;
    margin-top: 20px;
}

/* =========================
   LEFT FILTER
========================= */
.filter-section {
    margin-bottom: 10px;
}

.filter-title {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--blue-dark);
    display: block;
    margin-bottom: 12px;
    letter-spacing: 1px;
    /* 移除底部實線，改用小裝飾點綴 */
    position: relative;
    padding-left: 12px;
}

.filter-title::before {
    content: "";
    position: absolute;
    left: 0;
    top: 4px;
    bottom: 4px;
    width: 3px;
    background: var(--blue-main);
    border-radius: 2px;
}

.filter-item {
    padding: 6px 0;
    font-size: 0.9rem;
    color: var(--text-light);
    transition: .2s;
    display: block;
}

.filter-item:hover {
    color: var(--blue-main);
}

/* =========================
   CLINIC LIST (卡片化)
========================= */
.clinic-card {
    background: white;
    border-radius: var(--radius-md);
    padding: 15px;
    margin-bottom: 25px;
    border: none;              /* 移除底部線條 */
    box-shadow: var(--shadow-sm);
    transition: all .3s ease;
}

.clinic-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    background: white;
}

.clinic-name {
    font-size: 1.3rem;
    color: var(--blue-dark);
    margin: 0;
}

.rating-badge {
    background: var(--blue-soft);
    color: var(--blue-main);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
}

.clinic-meta {
    color: var(--text-light);
    font-size: 0.85rem;
    margin-top: 2px;
    align-items: center;
}

.clinic-meta p {
    margin: 0;
}



.tag-row {
    margin-top: 20px;
    display: flex;
    gap: 10px;
}

.tag {
    background: var(--blue-soft);
    color: var(--blue-main);
    padding: 4px 14px;
    border-radius: 6px;
    font-size: 0.75rem;
    border: none;              /* 移除標籤邊框 */
}

/* =========================
   RIGHT PROMO
========================= */
.promo-card {
    background: white;
    padding: 24px;
    margin-bottom: 25px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
}

.promo-card h4 {
    margin-top: 0;
    color: var(--blue-dark);
    font-size: 1rem;
}

.promo-card p {
    font-size: 0.85rem;
    color: var(--text-light);
}

.btn-sm {
    display: inline-block;
    background: var(--blue-soft);
    color: var(--blue-main);
    padding: 8px 18px;
    text-decoration: none;
    border-radius: 8px;
    font-size: 0.8rem;
    font-weight: 600;
    transition: .3s;
}

.btn-sm:hover {
    background: var(--blue-main);
    color: white;
}

/* =========================
   RESPONSIVE (RWD)
========================= */

/* 平板與大型手機 (992px 以下) */
@media (max-width: 992px) {
    .layout-grid {
        grid-template-columns: 1fr; /* 轉為單欄佈局 */
        gap: 30px;
    }

     .sidebar-right {
        order: 2; /* 讓側邊欄排在主列表下方 */
    }

    .main-content {
        order: 1; /* 診所列表優先顯示 */
    }

    .search-hero {
        padding:30px 0 20px;
    }
}

/* 小型手機 (768px 以下) */
@media (max-width: 768px) {
    .search-box {
        flex-direction: column; /* 搜尋框轉為垂直排列 */
        background: transparent;
        box-shadow: none;
        padding: 0;
    }

    .search-box input, 
    .search-box select, 
    .search-btn {
        width: 100%;
        margin-bottom: 12px;
       
        border-radius: var(--radius-md) !important; /* 統一手機版圓角 */
        box-shadow: var(--shadow-sm);
        box-sizing: border-box;
    }

    .search-btn {
        padding: 15px;
        margin-bottom: 0;
    }

    .clinic-card {
        padding: 10px; /* 縮減內距，增加手機顯示範圍 */
    }

    .clinic-header {
        flex-direction: column; /* 名稱與評分垂直排列 */
        align-items: flex-start;
        gap: 10px;
    }

    .tag-row {
        flex-wrap: wrap; /* 標籤自動換行 */
    }
}

/* 極小螢幕優化 (480px 以下) */
@media (max-width: 480px) {
    .search-hero h1 {
        font-size: 1.2rem;
        letter-spacing: 2px;
    }

    .clinic-name {
        font-size: 1.15rem;
    }

    .container {
        padding: 0 15px;
    }
}



@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);}
.sidebar{width: 80%;height: auto;}

}









@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%;}

}




