@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+TC:wght@300;400;500;700;900&display=swap');

/* 全站襯線字體 */
html,
body {
    font-family: 'Noto Serif TC', 'cwTeXFangSong', 'PMingLiU', 'Songti TC', serif !important;
    color: #000;
}

p,
span,
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Noto Serif TC', 'cwTeXFangSong', 'PMingLiU', 'Songti TC', serif;
}

a:hover,
.product-item.product-item-05 .product-item__title a:hover {
    color: #525456;
}

/*====================================*/
/*  box-img
/*====================================*/
.content img {
    height: unset !important;
}

/*box-img 1x1*/
.box-img {
    overflow: hidden;
    width: 100%;
    padding-top: 100%;
    position: relative;
}

.box-img img {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100% !important;
    object-fit: cover;
}

/*box-img 16x9*/
.box-img-16-9 {
    overflow: hidden;
    width: 100%;
    padding-top: calc(9 / 16 * 5%);
    position: relative;
}

.box-img-16-9 img {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    max-width: unset;
    width: 100%;
    height: auto;
    object-fit: cover;
}

/*box-img 5x4*/
.box-img-5-4 {
    overflow: hidden;
    width: 100%;
    padding-top: calc(4 / 5 * 100%);
    position: relative;
    height: auto;
    background-color: #fff;
}

.box-img-5-4 img {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/*box-img 4x5 直式*/
.box-img-4-5 {
    overflow: hidden;
    width: 100%;
    padding-top: calc(5 / 4 * 100%);
    position: relative;
}

.box-img-4-5 img {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    object-fit: cover;
}


/*====================================*/
/*  header
/*====================================*/

a.menu-item-link.active {
    color: #fff;
    background-color: transparent;

}

a.menu-item-link.active span {
    display: inline-block;
    border-bottom: 1px dashed #fff;
    text-underline-offset: 2px;
    /* 數字越小越靠近文字，可微調 */
}

.header-transparent {
    position: relative;
}

.text-84b7f4 {
    color: #84b7f4 !important;
}

.bg-s84b7f4 {
    background-color: #84b7f4 !important;
}

.header-primary-menu-03 li>.menu-item-link,
.sticky .header-primary-menu li>.menu-item-link {
    color: #fff;
}

.header-menu {
    background-color: #84b7f4;
}

.header-primary-menu-03 li:hover>.menu-item-link {
    color: #888;
}

.header-primary-menu-03 .sub-menu li .sub-item-link span::before {
    color: #84b7f4;
}

.header-primary-menu-03 .sub-menu li:hover>.sub-item-link {
    color: #84b7f4;
}

.header-primary-menu li {
    padding: 10px;
}

.mobile-primary-menu li>.menu-item-link {
    color: #7c9ac0;
}

.header-primary-menu li.active,
.mobile-primary-menu li>.menu-item-link:hover {
    background-color: #fff;
}

.header-primary-menu-03 li.active>.menu-item-link {
    color: #888;
}

.header-primary-menu li:hover {
    background-color: #fff;
    transition: background-color 0.3s ease;
    border-radius: 0;
}

.header-primary-menu li:hover a {
    color: #84b7f4;
}

.header-sticky-05.sticky .headertop {
    display: inline-grid !important;
    width: 100%;
}

.header-sticky-05 .headertop {
    min-height: 100px;
    padding-top: 20px;
    padding-right: 20px;
    background-color: #fff;
}

.header-sticky-05 .headertop-center {
    max-width: 100%;
}


i.fa-solid.fa-angle-down {
    padding-left: 5px;
}

.header-primary-menu {

    border-top: none;
}

.btn-close {
    background: transparent !important;
}

.header-primary-menu li>.menu-item-link>span {
    font-size: 1.2rem;
    font-weight: 600;
    line-height: 1;
}


.offcanvas-menu .offcanvas-header .btn-close {
    font-size: 18px !important;
}



/*====================================*/
/*  brand-section
/*====================================*/
.btn-outline-dark:focus,
.btn-outline-dark:active,
.btn-outline-dark:hover {
    background-color: #84b7f4;
    color: #fff;
}

.brand-item {
    text-align: center;
}

.brand-title {
    margin-top: 10px;
    font-size: 1.3rem;
    color: #333;
    font-family: 'Noto Serif TC', 'cwTeXFangSong', 'PMingLiU', 'Songti TC', serif;
}

.toothSize {
    width: 83px;
}

/*====================================*/
/*   Call to Action Section Strat
/*====================================*/


.call-to-action-02::before {
    background-color: transparent;
}

.call-to-action-02-content__title {
    font-size: 1.5rem;
    color: #333;
    font-weight: 600;
}

.call-to-action-02-content p {
    width: 90%;
    font-size: 1.2rem;
    margin: 0 auto;
    text-align: left;
}

.btn-outline-dark {
    border-color: #84b7f4;
    color: #fff;
    background-color: #84b7f4;
    font-size: 1.3rem !important;
    font-weight: 400 !important;
    font-family: 'Noto Serif TC', 'cwTeXFangSong', 'PMingLiU', 'Songti TC', serif;
    justify-content: center;
    align-content: center;
    align-items: center;
}

.btn-outline-dark:hover {
    color: #84b7f4;
    background-color: #fff;
    border-color: #84b7f4;
}

.call-to-action-02-content .btn {
    margin-top: 30px;
    height: 45px;
    line-height: 2;
}

.section-padding-01 {
    padding-top: 40px;
    padding-bottom: 40px;
}

/*====================================*/
/*  Product Section Start
/*====================================*/

.custom-container-four .product-row {
    display: flex;
    max-width: 1200px;
    /* 可選，控制整體寬度 */
    margin: 0 auto;
    /* 置中 */
    width: 100%;
}

.custom-container-four .boxbanner-wrapper {
    width: 31%;
}

.custom-container-four .product-wrapper {
    width: 68%;
    padding-left: 1rem !important;
    /* 可選，給右邊留些距離 */
}



.boxbanner-two {
    position: relative;
    display: inline-flex;
    flex-direction: row;
    align-items: baseline;
    margin: auto 0;
    left: 10%;
}

.boxbanner-title {
    margin: 30px 10px 10px 0;
    color: #84b7f4;
    font-size: 1.5rem;
    font-weight: 400;
    text-transform: uppercase;
    line-height: 1;
}

.boxbanner-discount-two {
    color: #84b7f4;
    font-size: 1.1rem;
    font-weight: 500;
    line-height: 1;
    font-family: 'Noto Serif TC', 'cwTeXFangSong', 'PMingLiU', 'Songti TC', serif;
}

.boxbanner-btn-area {
    position: absolute;
    bottom: -45px;
    right: 140px;
}

.boxbanner-btn-area img {
    width: 70%;
}

.product-active .swiper-button-next,
.product-active .swiper-button-prev,
.product-active-two .swiper-button-next,
.product-active-two .swiper-button-prev,
.product-active-three .swiper-button-next,
.product-active-three .swiper-button-prev {
    width: 30px;
    height: 30px;
}

.product-active .swiper-button-next:hover,
.product-active .swiper-button-prev:hover,
.product-active-two .swiper-button-next:hover,
.product-active-two .swiper-button-prev:hover,
.product-active-three .swiper-button-next:hover,
.product-active-three .swiper-button-prev:hover {
    background-color: #84b7f4;
    color: #fff;
}

.product-item.product-item-05 .product-item__content {
    padding-bottom: 5px;
    padding-top: 20px;
    padding-left: 15px;
    padding-right: 15px;
}

.product-item.product-item-05 .product-item__title {
    font-size: 1.2rem;
    font-weight: 500;
    text-align: left;
    color: #5a88bf;
    font-family: 'Noto Serif TC', 'cwTeXFangSong', 'PMingLiU', 'Songti TC', serif;
}

.product-item.product-item-05 .product-item__price {
    font-size: 1rem;
    text-align: left;

}

.product-item.product-item-05 .product-item__image img {
    border-radius: 15px;
    padding-top: 2px;
    height: auto;
}


.scroll-top {
    background-color: #5a88bf;
    border: 2px solid #5a88bf;
}

.scroll-top:hover {
    background-color: #fff;
    border: 2px solid #5a88bf;
}

.scroll-top:hover i {
    color: #5a88bf;
}

.border {
    border: 1px solid #84b7f4 !important;
    border-radius: 15px;
    padding: 10px 5px;
}

.align-items-center span {
    font-size: 0.8rem;
    color: #5a88bf;
    font-family: 'Noto Serif TC', 'cwTeXFangSong', 'PMingLiU', 'Songti TC', serif;
}

.product-item.product-item-05 {
    margin: 20px 0 5px;
}

.section-padding-03 {
    padding-top: 20px;
    padding-bottom: 50px;
}

/*====================================*/
/*  About
/*====================================*/

ul.list-info {
    list-style: outside none none;
    margin: 0;
    padding: 0;
}

ul.list-info li {
    display: block;
    margin-bottom: 5px;
    padding-left: 20px;
    position: relative;
    font-weight: 400;
    font-size: 1rem;
}

ul.list-info span,
.single-item .membership-list span {
    display: block;
    color: #6d7a8c;
    margin-top: 1px;
    font-size: 0.8rem;
}

/*ul.list-info li:after {
    content: "\f00c";
    position: absolute;
    left: 0;
    z-index: 1;
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    color: #396cf0;
    font-size: 14px;
    top: 2px;
}*/

.widget-about-team {
    padding: 32px 25px 28px;
    background-color: #ffffff;
    border-radius: 4px;
    -webkit-box-shadow: 0px 1px 0px 0px rgba(222, 229, 232, 0.75);
    -moz-box-shadow: 0px 1px 0px 0px rgba(222, 229, 232, 0.75);
    box-shadow: 0px 1px 0px 0px rgba(222, 229, 232, 0.75);
}

.sidebar-widget-area {
    margin-bottom: 3rem;
}

.sidebar-widget-area .widget:last-child {
    margin-bottom: 0 !important;
}

.widget-about-team img {
    margin-bottom: 16px;
}

.widget-about-team .item-content .item-title {
    font-weight: 600;
    color: #111111;
    margin-bottom: 10px;
    font-size: 1.5rem;
}

.widget-about-team .item-content .item-ctg {
    margin-bottom: 10px;
}

.bg-light-accent100 {
    background-color: #f9f9f9;
}

.team-details-wrap-layout1 {
    padding: 60px 0 0;
}

.team-detail-box-layout1 {
    padding: 30px 10px;
    background-color: #ffffff;
    border-radius: 4px;
    -webkit-box-shadow: 0px 1px 0px 0px rgba(222, 229, 232, 0.75);
    -moz-box-shadow: 0px 1px 0px 0px rgba(222, 229, 232, 0.75);
    box-shadow: 0px 1px 0px 0px rgba(222, 229, 232, 0.75);
    display: grid;
    justify-content: center;
}

.team-detail-box-layout1 .single-item {
    margin-bottom: 5px;
}

.pageinner-team-main ul {
    border-left: 3px solid #84b7f4;
    padding: 0 10px;
    margin-left: 30px;
}

.title-bar-primary2,
.title-bar-primary3 {
    margin-bottom: 20px;
    padding-bottom: 20px;
    position: relative;
}

.title-bar-primary3 {
    font-size: 1.5rem;
    font-weight: 600;
}

.album-title h3.section-title.title-bar-primary2 {
    width: 100%;
    text-align: center;
    font-weight: 600;
    font-size: 1rem;
    color: #84b7f4;
    margin-bottom: 10px;
    letter-spacing: 0;
    border: 1px solid #84b7f4;
    display: inline-flex;
    align-items: center;
    padding: 3px 20px;
    text-transform: unset;
    border-radius: 30px;
}

.album-title h3.section-title.title-bar-primary3 {
    width: 100%;
    text-align: center;
    font-weight: 600;
    font-size: 1.6rem;
}


.title-bar-primary3:before {
    content: "";
    height: 4px;
    width: 50px;
    background: #84b7f4;
    position: absolute;
    left: 0;
    bottom: 0;
    z-index: 1;
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    -ms-border-radius: 4px;
    -o-border-radius: 4px;
    border-radius: 4px;
    width: 100%;
}

.team-detail-box-layout1 .single-item .section-title {
    color: #111111;
    text-transform: capitalize;
    font-weight: 600;
    display: ruby-text;
}

.team-detail-box-layout1 p {
    margin: 0 0 20px 0;
    color: #444444;
}

.table-responsive {
    border: 1px dotted rgba(255, 255, 255, 0.2);
    margin-bottom: 0;
}

.team-detail-box-layout1 .single-item table {
    margin-bottom: 0;
}

.team-detail-box-layout1 .single-item table thead tr {
    background-color: #f1f7fa;
}

.team-detail-box-layout1 .single-item table thead tr th {
    vertical-align: middle;
    padding: 13px 30px;
    font-size: 17px;
    font-weight: 500;
    color: #111111;
    border: 0px;
}

.team-detail-box-layout1 .single-item table thead tr th:first-child {
    width: 20%;
}

.team-detail-box-layout1 .single-item table tbody td {
    padding: 13px 30px;
    font-size: 17px;
    color: #111111;
    border: 0px;
}

.membership-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.membership-list li {
    padding: 0 12px;
    font-weight: 400;
    font-size: 1rem;
}

.membership-list li:nth-child(odd) {
    /*background-color: #f1f7fa;*/
}


.widget-about-team {
    position: relative;
    overflow: hidden;
}

/* 加入淡藍色波紋背景層 */
.widget-about-team::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 20% 30%, rgba(173, 216, 230, 0.3) 0%, transparent 70%),
        radial-gradient(circle at 80% 70%, rgba(173, 216, 230, 0.3) 0%, transparent 70%);
    z-index: 0;
}

/* 確保圖片和內容蓋在背景層上 */
.widget-about-team img,
.widget-about-team .item-content {
    position: relative;
    z-index: 1;
}


/*====================================*/
/*  相簿功能
/*====================================*/

.no-tp {
    padding-top: 0 !important;
}


.album-section {
    padding: 60px 20px;
    background: #f9f9f9;
    text-align: center;
}

.album-title {
    margin-bottom: 5px;
    display: inline-grid;
    justify-content: start;
    width: 100%;
}

.album-title2 {
    margin-bottom: 10px;
    display: inline-grid;
    justify-content: center;
    width: 100%;
}


.album-subtitle {
    color: #777;
    margin-bottom: 40px;
}

.photo-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
}


.photo-card {
    display: flex;
    flex-direction: column;
    border-radius: 12px;
    overflow: visible;
    transition: transform 0.3s;

    height: 100%;
}

.photo-card:hover {
    transform: scale(1.02);
}

.photo-card img {
    border-radius: 16px;
    width: 100%;
    object-fit: cover;
    cursor: pointer;
}

.photo-card:hover {
    transform: scale(1.02);
}

h4.font-semibold.text-lg {
    font-size: 1rem;
    font-weight: 600;
}

p.text-gray-600 {
    font-size: 0.8rem;
}

.lightbox {
    display: none;
    position: fixed;
    z-index: 999;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.9);
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.lightbox.active {
    display: flex;
}

.lightbox img {
    max-width: 90%;
    max-height: 80%;
    border-radius: 12px;
}

.lightbox .close-btn,
.lightbox .nav-btn {
    position: absolute;
    font-size: 2rem;
    color: white;
    cursor: pointer;
    user-select: none;
}

.lightbox .close-btn {
    top: 20px;
    right: 30px;
}

.lightbox .prev {
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
}

.lightbox .next {
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
}

.header-primary-menu li>.menu-item-link>span::before {
    display: none;
}


/*====================================*/
/*  植牙
/*====================================*/

.clamp a {
    display: -webkit-box;
    -webkit-line-clamp: 1;
    /* 限制 1 行 */
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    word-break: break-word;
    line-height: 1.6;
    padding-left: 15px;
    padding-right: 15px;
}

.blog-post-two_thumb2 {
    margin-bottom: 10px;
    overflow: hidden;
    position: relative;
    width: 100%;
}

.breadcrumb_title {
    font-size: 1.5rem;
}

.section-padding-06 {
    padding-top: 60px;
    padding-bottom: 30px;
}

.best-service-item__desc {
    font-size: 1rem;
    font-family: 'Noto Serif TC', 'cwTeXFangSong', 'PMingLiU', 'Songti TC', serif;
    margin-bottom: 15px;
    color: #000;
}

.best-service-item__desc h5 {
    font-size: 1rem;
    font-weight: 600;
}

.best-service-item:hover {
    background-color: #fff;
    cursor: default;
    /* 或 auto */

}

.pricing-card:hover {
    transform: none;
    box-shadow: none;
}

.best-service-item:hover .best-service-item__desc {
    color: #000;
}

.img-holder {
    display: block;
    padding: 10px;
    width: 400px;
    height: auto;
    margin: 0 auto 20px;
}

.img-holder img {
    width: 100%;
    margin: 5px auto;
    display: block;
}

.blog-post_title {
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 10px;
    font-family: 'Noto Serif TC', 'cwTeXFangSong', 'PMingLiU', 'Songti TC', serif;
    text-align: center;
}

.blog-post_title a:hover {
    color: #84b7f4;
}

.dental-page a:hover img {
    transform: scale(1.2) translate(-40%, -40%);
    transition: all 0.3s ease;
}


/*====================================*/
/*  正顎手術
/*====================================*/

button.accordion-button span {
    font-family: 'Noto Serif TC', 'cwTeXFangSong', 'PMingLiU', 'Songti TC', serif;
    font-weight: bold;
    font-size: 1.15rem;
    color: #333;
}

.best-service-item2 {
    background-color: #fff;
    padding: 45px 90px;
    box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.1);
    border-radius: 36px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.best-service-item__title {
    color: #333;
    font-weight: 600;
}


.accordion {
    counter-reset: qnumber;
}

.faq-head {
    margin: 0 0 30px;
}

.faq .accordion-button.collapsed,
.faq .accordion-button {
    background-color: #dfdfdf;
}

.faq .accordion-button i {
    color: #333;
}

.faq .accordion-body {
    padding: 20px 20px 15px 55px;
    font-size: 1.058rem;
    color: #000;
    letter-spacing: 1px;
}

.accordion-header span::before {
    counter-increment: qnumber;
    content: "Q"counter(qnumber) ". ";
    font-weight: bold;
    margin-right: 0.3em;
}



/*====================================*/
/*  牙齒小百科
/*====================================*/

.blog-sidebar .blog-post-two {
    margin-bottom: 20px;
}

.blog-post-two__content {
    padding-left: 10px;
}

.blog-post-two__meta {
    margin-bottom: 5px;
}

.blog-post-two__meta li span {
    font-family: 'Noto Serif TC', 'cwTeXFangSong', 'PMingLiU', 'Songti TC', serif;
}

.blog-post-two__title {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 10px;
    font-family: 'Noto Serif TC', 'cwTeXFangSong', 'PMingLiU', 'Songti TC', serif;
}

.blog-post-two__title a:hover {
    color: #84b7f4;
}

.blog-post-two__btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: all 0.3s ease;
    position: relative;
    font-weight: 500;
    font-family: 'Noto Serif TC', 'cwTeXFangSong', 'PMingLiU', 'Songti TC', serif;
    font-size: 0.8rem;
}

.blog-post-two__btn .arrow-icon {
    display: inline-block;
    transition: transform 0.3s ease;
}

.blog-post-two__btn:hover .arrow-icon {
    transform: translateX(4px);
}

.blog-post-two__btn:hover {
    color: #84b7f4;
    /* 可依品牌色替換，也可以移除 */
}

.blog-sidebar .blog_info_bar {
    display: flex;
    justify-content: space-around;
    border-radius: 30px;
    background: rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(50px);
    box-shadow: 0px 0px 20px 0px rgba(0, 22, 86, 0.08);
    flex-wrap: nowrap;
    text-align: left;
}

.p-24 {
    padding: 24px 150px;
}

.best-service-item {
    padding: 20px 80px;
    margin-bottom: 30px;
}

.best-section3 {
    padding: 10px 40px;
    border-top: 1px dashed #bbb;
}

.best-service-item .best-section3:first-child {
    padding: 0 40px;
    border-top: none;
}

.best-service-item .best-section3:last-child {
    margin-bottom: 30px;
}

.best-section3 h5 {
    text-align: center;
    padding-top: 10px;
}

.best-section3 p {
    margin-bottom: 10px;
}

.best-section3 p:last-child {
    margin-bottom: 0;
}

.best-section3 .img-holder {
    display: block;
    padding: 10px;
    height: auto;
    margin: 0 auto;
}

h6.light-black {
    font-family: 'Noto Serif TC', 'cwTeXFangSong', 'PMingLiU', 'Songti TC', serif;
    font-weight: 500;
    font-size: 1.3rem;
    line-height: 150%;
    letter-spacing: 2px;
}

.single-blog {
    margin-bottom: 24px;
    margin-top: 24px;
}

.blog-sidebar .single-blog-content {
    padding: 30px 20px;
}

.single-blog-content p {
    font-size: 1.1rem;
    padding-bottom: 10px;
    padding-top: 15px;
}


/*====================================*/
/*  contact
/*====================================*/

.contact-section2_content {
    width: 100%;
    display: flex;
    justify-content: flex-start;
    /* 原本可能是這樣 */
}

.breadcrumb {
    padding: 50px 0;
}

.breadcrumb::before {
    content: "";
    position: absolute;
    inset: 0;
    /* top:0; right:0; bottom:0; left:0; */
    background-color: rgba(0, 0, 0, 0.4);
    /* 半透明黑色遮罩 */
    z-index: 1;
}

.breadcrumb .container {
    position: relative;
    z-index: 2;
    /* 確保文字內容在遮罩上層 */
}

.contact-section2_list__icon i {
    color: #84b7f4 !important;
}

.breadcrumb_title {
    font-family: 'Noto Serif TC', 'cwTeXFangSong', 'PMingLiU', 'Songti TC', serif;
}

.breadcrumb_title_sub-title {
    color: #F6F6F6;
    font-family: 'Noto Serif TC', 'cwTeXFangSong', 'PMingLiU', 'Songti TC', serif;
    font-size: 4rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 30px;
    background: linear-gradient(rgb(246 246 246 / 23%), rgba(255, 255, 255, 0));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    position: absolute;
    top: 6px;
    left: 10px;
    width: 100%;
    z-index: -1;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

.contact-section2_list__icon {
    box-shadow: none;
}

.contact-section3_content__text {
    width: 100%;
}

ul:last-child {
    margin-bottom: 0;
    padding: 0 10px;
    margin-left: 10px;
}

.contact-section2_list {
    display: grid;
    gap: 24px;
    grid-template-columns: 1fr;
    /* 預設手機 1 欄 */
    padding: 0;
    list-style: none;
    margin: 0;
}



.break-email {
    word-break: break-word;
    /* 支援斷行點盡量在「.」或「@」等位置 */
    overflow-wrap: break-word;
    /* 支援長單字換行 */
}

.contact-section2_list li {
    padding-bottom: 0;
}

.google-map-area iframe {
    width: 100%;
    height: 300px;
    border: 0;
}


/*====================================*/
/*  callTop-icon
/*====================================*/

.callTop-icon {
    position: fixed;
    top: 300px;
    right: 10px;
    z-index: 998;
}

.callTop-icon img {
    width: 100%;
    height: auto;
}

.scroll-top {

    right: 15px;
}

/*====================================*/
/*  footer
/*====================================*/

.footer-widget {
    display: inline-grid;
    justify-items: center;
    justify-content: center;
}

.footer-widget__logo {
    margin: 30px 0 0;
    text-align: center;
}

.footer-widget__logo img {
    margin-bottom: 20px;
    width: 60%;
}


.footer-text {
    margin-bottom: 20px;
    line-height: 1.5;
    font-size: 1.05rem;
    font-family: 'Noto Serif TC', 'cwTeXFangSong', 'PMingLiU', 'Songti TC', serif;
}

.footer-btNicon {
    margin-bottom: 0;
}

.footer-btN {
    background-color: #84b7f4;
    color: white;
    padding: 5px 25px;
    ;
    border-radius: 15px;
    text-decoration: none;
}

.footer-iconImg img {
    width: 40px;
    vertical-align: middle;
    margin-right: 10px;
}

.footer-copyright-text {
    font-size: 1rem;
    margin-bottom: 5px;
    font-family: 'Noto Serif TC', 'cwTeXFangSong', 'PMingLiU', 'Songti TC', serif;
    padding-top: 5px;
}

.footer-bottom {
    background-color: #84b7f4;
}

.footer-bottom p {
    color: #fff;
    font-family: 'Noto Serif TC', 'cwTeXFangSong', 'PMingLiU', 'Songti TC', serif;
    padding: 10px 0;
    font-size: 1rem;
    text-align: center;
}

.footer-widget-section {
    padding-top: 0;
    padding-bottom: 0;
}

.display-w100 {
    width: 100%;
    display: inline-grid;
    justify-content: center;
}

/*====================================*/
/*  編輯器 container1
/*====================================*/

.content-txt .video-container1 {
    width: 1000px;
    height: 563px;
    margin-left: 0px;
}

.video-container1 iframe,
.video-container1 object,
.content-txt .video-container1 embed {
    width: 100%;
    height: 100%;
}

@media (max-width: 767px) {
    .content-txt .video-container1 {
        position: relative;
        padding-bottom: 56.25%;
        height: 0;
        overflow: hidden;
        max-width: 100%;
        margin-left: 0px;
    }

    .content-txt .video-container1 iframe,
    .content-txt .video-container1 object,
    .content-txt .video-container1 embed {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
    }
}

.postContent img {

    max-width: 1000px;
    max-height: auto !important;

}

@media (max-width:768px) {
    .postContent img {

        max-width: 100% !important;

    }

}

.level1 {
    list-style-type: disc !important;
    /* 強制顯示 • */
    margin-left: 1.5em;
    /* 保持縮排 */
}

.level2 {
    list-style: none;
    /* 移除原點 */
    counter-reset: item;
    /* 初始化計數器 */
}

.level1>li::before {
    content: "• ";
    font-weight: bold;
}

.level2>li::before {
    counter-increment: item;
    /* 每個 li 自動加 1 */
    content: counter(item) ". ";
    /* 輸出成 1. 2. 3. */
    font-weight: bold;
}

.label2 {
    display: inline-block;
    width: 5em;
    /* 固定寬度，確保冒號對齊 */
    vertical-align: top;
}

.sublist2 {
    display: inline-block;
    margin: 0;
    padding-left: 1.3em !important;
    /* 讓文字緊跟在冒號後 */
    list-style: none;
    /* 如果不想要前面的黑點 */
    width: 100%;
}

/*====================================*/
/*  media
/*====================================*/

.mobile-color {
    color: #7c9ac0;
}

@media only screen and (min-width: 768px) and (max-width: 991px),
only screen and (max-width: 575px) {
    .footer-widget__logo img {
        width: 60%;
    }
}

/* Medium - 平板 */
@media (max-width: 991px) {

    .header-sticky-05 .headertop {
        flex-wrap: nowrap;
        display: inline-grid !important;
        justify-content: center;
        justify-items: center;
        align-items: center;
        align-content: center;
        margin: 0 auto;
        padding: 0;
        height: 50px;
        width: 100%;
        min-height: 90px;
        background-color: #f7f9fd;
    }

    .toothSize {
        width: 64px;
    }


    .callTop-icon img {
        width: 90px;
    }

    .header-sticky-05 .headertop-center {
        position: relative;
        left: 0;
        padding-bottom: 5px;
        z-index: 998;
    }

    .offcanvas-menu {
        top: 90px;
    }

    .offcanvas-menu {
        width: 150px;
        background-color: #f7f9fd !important;
        border-left: 1px solid #f1f1f1;
        height: 420px;
        top: 88px !important;
    }

    .offcanvas-menu .offcanvas-body {
        padding: 0;
        overflow-y: hidden;
    }

    ul:last-child {
        margin-left: 0;
        padding: 0;
    }

    .mobile-primary-menu li>.menu-item-link {
        padding: 4px 0;
        color: #7c9ac0;
    }

    .offcanvas-backdrop {
        background-color: rgb(0 0 0 / 5%);
    }


    .lastudioicon-menu-8-1:before {
        color: #7c9ac0 !important;
    }

    .brand-title {
        font-size: 1rem;
    }


    .contact-section2_content {
        display: flex;
        justify-content: center;
        /* 整體區塊置中 */
    }

    .google-map-area iframe {
        height: 550px;
    }

    .header-primary-menu li.active,
    .mobile-primary-menu li>.menu-item-link:hover {
        background-color: transparent;
    }

    .mobile-primary-menu li>.menu-item-link:hover span {
        display: inline-block;
        border-bottom: 1px dashed #fff;
        text-underline-offset: 2px;
        /* 數字越小越靠近文字，可微調 */
    }

    .callTop-icon {
        top: 365px;

    }

    .header-sticky-05.sticky .header-logo a img {
        width: 50%;
    }

    .header-sticky-05 .header-logo a {
        display: grid;
        justify-items: center;
    }

    .p-24 {
        padding: 24px 20px;

    }

    .best-service-item__desc {
        font-size: 1.1rem;
    }

    .best-service-item {
        padding: 10px 15px;
    }

    .best-service-item2 {
        padding: 45px 50px;
    }

    .best-section3 {
        padding: 10px;
    }

    .footer-bottom p {
        font-size: 0.85rem;
        text-align: left;
        line-height: 1.3;
    }

    .best-service-item__desc h5 {
        text-align: left;
    }

    .level1 {
        margin-left: 1em;
    }
}


/* Small - 手機直向/橫向 */
@media (max-width: 767px) {

    .header-logo a {
        width: 350px;
    }

    .header-sticky-05.sticky .header-logo a img {
        width: 100%;
    }

    .header-logo a img {
        width: 90%;
    }

    .boxbanner-btn-area {
        right: 20%;
        width: 110px;
        bottom: -30px;
    }

    .boxbanner-bg {
        min-height: 100px;
        margin-bottom: 50px;
        padding: 0;
        display: flow;
    }

    .footer-text {
        font-size: 0.958rem;
    }

    .boxbanner-discount-two {
        font-size: 1rem;
        top: -25px;
        position: relative;
    }

    .boxbanner-title {
        font-size: 1.3rem;
    }

    .section-padding-03 {
        padding-top: 40px;
        padding-bottom: 90px;
    }

    .section-padding-10 {
        padding-top: 10px;
        padding-bottom: 70px;
    }

    .breadcrumb {
        padding: 120px 0 20px;
    }

    .album-section {
        padding: 60px 50px;
    }

    .photo-grid {
        max-width: 600px;
    }

    .breadcrumb_title_sub-title {
        font-size: 3rem;
        letter-spacing: 10px;
    }


    .google-map-area iframe {
        aspect-ratio: 1 / 1;
        height: auto !important;
    }

    .contact-section2_content {
        display: inline-grid !important;
        justify-content: center !important;
        justify-items: center !important;
    }

    .contact-section2_list {
        width: 100%;
        max-width: 320px;
        /* 可選，讓內容不會太寬 */
        gap: 0;
    }

    .contact-section2_list li {
        display: flex;
        gap: 5px;
        /* icon 與文字間距 */
        text-align: left;
        /* 文字靠左 */
        align-items: center !important;
    }

    .contact-section2_list li:last-child {
        padding-bottom: 10px;
    }

    .contact-section2_list__icon {
        flex-shrink: 0;
        width: 30px;
        /* icon 固定寬度，對齊用 */
        text-align: center;
        align-items: stretch;
    }

    .contact-section3_content__text {
        flex: 1;
        word-break: break-word;
    }

    .break-email {
        word-break: break-all;
    }

    .headertop {
        position: fixed !important;
        top: 0;
        left: 0;
        width: 100%;
        z-index: 9999;
        background-color: #fff;
        /* 根據實際設計設置背景，避免透明 */
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
        /* 可選：陰影增加層次 */
        margin-top: 0 !important;
    }

    .offcanvas-menu {
        top: 100px;
    }

    .slider-section-seven.slider-active.overflow-hidden {
        margin-top: 100px;
    }

    .section-padding-04 {
        padding: 60px 0;
    }

    .breadcrumb_title {
        font-size: 1.5rem;
    }

    .img-holder {
        width: 100%;
    }

    .call-to-action-02-content .btn {
        height: 35px;
    }

    .btn-outline-dark {

        font-size: 1rem !important;
    }

    .call-to-action-02-content p {
        width: 70%;
        font-size: 1rem;
    }


    .boxbanner-bg {
        min-height: 20px;
        margin-bottom: 30px;
        display: inline-grid;
        width: 100%;
        justify-content: center;
    }

    .boxbanner-two {
        flex-wrap: wrap;
        padding-bottom: 0;
        display: grid;
        justify-items: center;
        left: 0;
    }

    .footer-widget {
        padding: 10px 40px;
    }

    .team-detail-box {
        padding: 0 30px;
    }

    .footer-widget__logo img {
        margin-bottom: 20px;
        width: 70%;
    }

    .product-wrapper {
        padding-left: 0 !important;
        padding-right: 0 !important;
    }

    .product-item {
        margin: 0 0.5rem;
        /* 每個卡片左右間距 */
    }

    .product-item .box-img img {
        width: 100%;
        /* 讓圖片自適應 */
        height: auto;
    }

    .slider-arrow {
        justify-content: center;
        align-items: center;
        left: 0;
        bottom: -40px;
    }
}


/* Extra Small (手機) */
@media (max-width: 575px) {
    .header-sticky-05 .headertop {
        min-height: 60px;
    }

    .header-logo a {
        width: 300px;
    }

    .call-to-action-02-content__title {
        font-size: 1.3rem;
    }


    .boxbanner-two {
        bottom: 0;
        left: 0;
    }

    .callTop-icon img {
        width: 65px !important;
    }

    .contact-section2_list__icon {
        font-size: 2rem;
    }

    ul:last-child {
        margin-left: 0;
    }

    .offcanvas-menu {
        top: 60px !important;
    }

    .slider-section-seven.slider-active.overflow-hidden {
        margin-top: 60px !important;
    }

    .footer-widget__logo img {
        width: 100%;
    }

    .section-padding-04 {
        padding: 60px 15px !important;
    }

    .contact-section2_content {
        display: flex;
        justify-content: center !important;
        /* 整體區塊置中 */
    }

    .breadcrumb {
        padding: 90px 0 20px !important;
    }

    .breadcrumb_title {
        font-size: 1.3rem !important;
    }

    .header-logo a img {
        width: 100% !important;
    }

    .callTop-icon {
        top: 270px;
    }

    .toothSize {
        width: 56px;
    }
}

/* Large - 筆電 */
@media (max-width: 1199px) {
    .boxbanner-two {
        flex-wrap: wrap;
        padding-bottom: 0;
    }

    .boxbanner-btn-area img {
        width: 100%;
    }

    .header-primary-menu li>.menu-item-link>span {
        font-size: 1rem;
    }

    ul:last-child {
        margin-left: 15px;
    }

    .header-primary-menu li {
        padding: 16px 0;
    }

}


@media (min-width: 768px) {
    .contact-section2_list {
        grid-template-columns: 1fr;
        /* 平板 2 欄 */
    }

    .photo-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .swiper-pagination,
    .slider-arrow {
        display: none;
    }

    .best-section3 .img-holder {
        width: 400px;
    }

}



@media only screen and (min-width: 768px) and (max-width: 991px),
only screen and (max-width: 767px) {
    .header-sticky-05 .headertop-right {
        max-width: 100%;
        position: absolute;
        top: 18px;
        right: 25px;
    }

    .header-sticky-05 .headertop-right {
        max-width: 100%;
        position: absolute;
        right: 30px;
    }
}

@media only screen and (min-width: 768px) and (max-width: 991px) {
    .header-logo a img {
        width: 400px;
        padding-right: 0;
        padding-top: 10px;
    }

    .boxbanner-btn-area {
        right: 45px;
    }

    .md-pb-30 {
        padding-bottom: 30px;
    }

    .boxbanner-two {
        padding-bottom: 20px;
    }

}


@media (min-width: 992px) {
    .contact-section2_list {
        grid-template-columns: 1fr 1fr;
        /* 電腦仍然是 2 欄 */
    }

    .header-primary-menu {
        display: flex;
        justify-content: center;
        gap: 2rem;
        margin: 0;
        padding: 0;
        list-style: none;
    }

    .header-primary-menu>li {
        position: relative;
    }

    .header-primary-menu .sub-menu {
        position: absolute;
        top: 100%;
        left: 0;
        display: none;
        background: white;
        min-width: 180px;
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
        z-index: 10;
        padding: 0.5rem 0;
    }

    .header-primary-menu>li:hover .sub-menu {
        display: block;
    }

    .header-primary-menu .sub-menu li a {
        display: block;
        padding: 0.5rem 1rem;
        color: #333;
        text-decoration: none;
    }

    .header-primary-menu .sub-menu li a:hover {
        background-color: #f8f9fa;
    }

    .plt-0 {
        padding-left: 0 !important;
    }

    .best-section3 .img-holder {
        width: 100%;
    }
}


@media only screen and (min-width: 992px) and (max-width: 1199px) {
    .header-logo a img {
        width: 350px;
        height: auto;
    }

    .header-primary-menu li {
        padding: 16px 3px;
    }

    .section-padding-01 {
        padding-top: 50px;
        padding-bottom: 50px;
    }

    .boxbanner-btn-area {
        right: 90px;
    }

    .callTop-icon {
        top: 375px;
    }

}

@media (min-width: 1024px) {
    .photo-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Extra Large - 桌機 */
@media (min-width: 1200px) {
    .header-logo a img {
        width: 400px;
        height: auto;
    }
}


@media only screen and (min-width: 1600px) {
    .brand-section {
        padding-top: 50px;
        padding-bottom: 50px;
    }
}