@charset "utf-8";
/*蔡光前醫師*/
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+TC:wght@100..900&display=swap');

body{font-family: 'noto sans TC', sans-serif;}
:root{--MainColor:#D3E8EB;--SubColor:#646B84;}

/*錨點滾動--------------*/
::-webkit-scrollbar { width: 3px; }
::-webkit-scrollbar-track { box-shadow: inset 0 0 6px rgba(214, 214, 214, 0.6); }
::-webkit-scrollbar-thumb {background-color: var(--SubColor);}
html { scroll-behavior: smooth; }

/*header---------------*/
.header_area{background: #ffffff;box-shadow: 0 2px 5px rgb(0 0 0 / 20%);}
.header_area.sticky{background: rgb(255 255 255 / 84%);backdrop-filter: blur(10px);}

@media screen and (max-width: 768px) {
    .header_area.sticky{backdrop-filter:unset;}
}

/*選單*/
.tp_links{display: none;}
.stellarnav > ul > li:hover > a{ color:var(--SubColor);transition: all 0.3s;}
.stellarnav > ul > li:before , .stellarnav > ul > li:after {content: "";position: absolute; width: 7px;height: 7px; background: var(--SubColor);top: 0;border-radius: 100%;transform: translateX(-50%);opacity:0;transition:all 0.3s ease-in-out;}
.stellarnav > ul > li:before{background: var(--MainColor);left: calc(50% - 15px);}
.stellarnav > ul > li:after{background: var(--SubColor);left: calc(50% + 15px);}
.stellarnav > ul > li:hover:before{left: calc(50% + 6px);opacity:1;}
.stellarnav > ul > li:hover:after{left: calc(50% - 6px);opacity:1;}
.stellarnav li li:hover > a , .stellarnav li li.has-sub:hover > a{color: #222; padding-left:14px;background-color: var(--MainColor);transition: 0.3s;font-weight: bold;}
.stellarnav li.has-sub > a:after{content: '+';border-left: unset;border-right:unset;border-top:unset;}
.stellarnav > ul > li > a{margin: 0 10px;}

@media screen and (max-width: 1024px) {
    .me_tp_features{display: none;}
    .stellarnav > ul > li > a{height: 30px;}
    .stellarnav li.has-sub > a:after{top: 65%;}
}
@media screen and (max-width: 768px) {
    .stellarnav > ul > li > a::before{display: none;}
    .stellarnav > ul > li:hover:before{display: none;}
    .stellarnav > ul > li:hover:after{display: none;}
}

/*選單最大寬度設定*/
.main_header_area .container {max-width: 1300px;transition: .3s;}
.sticky .main_header_area .container {max-width: 1500px;transition: .3s;}

/*大圖--------------------*/
/*預設解除背景輪播*/
#content_main { margin:0;}
.bannerindex { position:static; height:auto;}
.swiper-banner { position:static; margin:0; height:auto;}
.swiper-slide img { height:auto;}
.swiper-pagination {left: 50%;margin-left: 0;transform: translate(-50% , 0);}

@media screen and (max-width: 768px) {
.bannerindex { padding:0; margin:0;}
}

/*浮動按鈕---------------*/
.linksBtn{background-color: var(--SubColor);}
.info_fix:hover>.linksBtn{background: #222;}
.info_fix_links a{background: var(--SubColor);}
a.info_fix_default.info_fix_mail{display: none;}

/*banner-----------------*/
.banner.banB{display: none;}
.banner.banC{display: none;}
.banner.banblog{background-image: url(https://pic03.eapple.com.tw/vegveg/banner.jpg);}
.banner{
    min-height: 330px;
    background-attachment: fixed;
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
}

/*首頁文章---------------*/
.module_i_news ul li{flex: 1;}
.module_i_news{
    background-image: url(https://pic03.eapple.com.tw/vegveg/bg.jpg);
    background-attachment: fixed;
    background-repeat: no-repeat;
    background-size: cover;
    padding: 50px 0px;
    opacity: 1;
}
.module_i_news ul{
    display: flex;
    gap: 10px;
    justify-content: space-around;
}
.module_i_news ul{
    display: flex;
    gap: 10px;
    justify-content: space-around;
}
.module_i_news_list, .module_i_news_list.swiper{padding: 30px 0;}
.module_i_news .title_i_box h6{
    font-size: 40px;
    color: var(--MainColor);
    font-family: 'Century Gothic', sans-serif;
}
.module_i_news .title_i_box h4{
    font-size: 25px;
    font-weight: normal;
    color: #222;
}
.module_i_news .title_i_box h4:before{
    content: 'FAQ';
    width: 100%;
    font-size: 60px;
    display: block;
    position: relative;
    text-align: center;
    color: #222;
    font-weight:bolder;
    font-family: 'DM Serif Display', sans-serif;
}
.i_blog_ri{width: 100%;}
.i_blog_le{width: 100%;}
.module_i_news li a:before{
    content: 'READ MORE';
    text-align: center; 
    background: transparent; 
    font-size: 16px; 
    font-weight: bolder;
    letter-spacing: 1px; 
    color: var(--SubColor); 
    padding: 8px 5px; 
    top: 50%;
    left: 50%;
    width: 150px;
    height: 40px;
    transform: translate(-50%, -50%) scale(0, 0);
    font-family: 'Constantia', sans-serif;
}
.module_i_news li a:hover:before{opacity: 1;width: 100%;transform: translate(-50%, -50%) scale(1);transition: all 500ms;}
.module_i_news li a:after{content: '';background: rgb(255 255 255 / 86%); border: 1px #fff solid;width: 0;}
.module_i_news li a:hover:after{opacity: 1;width: 100%;}
.module_i_news li{border-bottom: none;}
.animated-arrow{background: var(--MainColor);color: #222;border: 1px solid var(--SubColor);}
.module_i_news li a{display: flex;flex-direction: column;}
.i_blog_le img{border: 1px solid var(--SubColor);}

@media screen and (max-width:768px) {
    .module_i_news ul{gap: 10px;padding: 20px;}
    .animated-arrow{margin-bottom: 30px;}
}
@media screen and (max-width:600px) {
    .module_i_news ul{display: grid;grid-template-columns: 1fr 1fr;gap: 5px;}
    .module_i_news .title_i_box{margin-top: 30px;}
}
@media screen and (max-width:320px) {
    .module_i_news ul{display: block;}
}

/*文章管理---------------*/
.blog_search input[type=search]{border-radius: 10px;}
.blog_le .accordion{border-radius: 10px;}
.blog_subbox{grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));grid-gap: 10px;}
h5.blog_le_t,
h4.blog_category_title {font-size: 25px;margin-bottom: 10px;}
.blog_le .accordion>li:hover .link { background: #a5a5a5; }
.blog_le .accordion>li.on_this_category .link { background: #BFB9AA; }
.subbox_item a:before { display: none; }
.blog_list_ri:after {content: 'READ MORE >';display: block;background: transparent;color: #000;letter-spacing: 1px;opacity: 1;left: 0;position: relative;padding: 0 22px 0 0;font-size: 12px;line-height: 12px;}
.blog_list_ri em { display: none; }
.blog_list_ri p { padding-top: 8px; }
body.blog_page .clearfix:before,
body.blog_page .clearfix:after { display: none; }
.subbox_item {background-color: transparent;overflow: hidden;position: relative;width: 100%;border-bottom: none;}
.subbox_item a {display: flex;flex-wrap: wrap;flex-direction: column;grid-gap: 0px;}
.subbox_item:hover img {transform: translate(-50%, -50%) scale(1.2);object-fit: cover;width: 100%;transition: all 0.4s ease;}
.blog_list_le img {display: block;max-width: 100%;min-width: 100%;object-fit: cover;position: absolute;left: 50%;top: 50%;transition: all 5000ms cubic-bezier(0.190, 1.000, 0.220, 1.000);transform: translate(-50%, -50%) scale(1);}
.blog_list_le {display: block;position: relative;text-align: center;height: auto;aspect-ratio: 9 / 9;overflow: hidden;padding-bottom: 0;width: 100%;border-radius: 25px;}
.subbox_item a:after { display: none; }
.blog_list_ri { width: 100%;padding: 15px 0;}
.blog_list_ri em {width: 100%;}
.blog_list_ri h5 { position: relative;margin: 0px 0 0;font-size: 18px;letter-spacing: 0.035em;}
.blog_list_ri p {color: #595959;margin: 15px 0 0;font-size: 14px;line-height: 1.9;letter-spacing: 0.035em; width: 100%;padding: 0;margin: 10px 0;}
.blog_le .accordion > li:hover .link, .blog_le .accordion > li.on_this_category .link { color: #222 !important; background: var(--SubColor)!important;transition: 0.3s;}
.blog_le .accordion > li:hover, .blog_le .accordion > li.on_this_category {background: var(--SubColor)!important;transition: 0.3s;}
.blog_le .accordion > li:hover .link a, .blog_le .accordion > li.on_this_category .link a{color: #fff !important;}
.submenu a{color: #444;background: var(--MainColor);}
.submenu li.on_this_category a, .submenu a:hover{background-color: var(--SubColor);}

/*第二層*/
.news_related{display: none;}
.blog_back a.article_btn_back { background: var(--SubColor);color: #fff;}
.blog_back a.article_btn_prev, .blog_back a.article_btn_next {background: var(--MainColor);color: #fff;}
.blog_back a.article_btn_prev:hover, .blog_back a.article_btn_next:hover {background: var(--SubColor);transition: 0.3s;color: #fff;}
.blog_shareData{flex-direction: row;}

/*聯絡我們---------------*/
.contact_content{padding: 20px 35px;}
.contact_form li.last cite{background: var(--SubColor);}
.contact_form li.last blockquote, .contact_form li.last cite{border: 1px var(--SubColor) solid;}
body.contact_page .contact_content form {width:100%;margin: auto;display: flex;justify-content: center;}
body.contact_page .contact_editbox {padding: 0;}
body.contact_page #page {position: relative;}
body.contact_page #page:before {display: none;}
.noborder {background: #f3f3f3;color: var(--SubColor);padding: 5px;border-radius: 3px;}
.contact_form li.last {color: var(--MainColor);width: 100%;justify-content: center;margin-top: 50px;}
.contact_form {display: flex;flex-wrap: wrap;grid-gap: 0px;}
.contact_form li {width: calc(100% / 2);padding: 5px 10px;border: none;font-size: 18px;display: block;}
.contact_form li .form__label {color: var(--SubColor);display: block;width: 100%;text-align: left;margin-left: 0;max-width: 150px;font-size: 16px;padding-bottom: 5px;}
.form select {background-color: #f3f3f3;border: none;color: var(--MainColor);width: 100%;margin: 0;padding: 5px 26px 5px 5px;font-size: 15px;border: 1px #ddd solid;border-radius: 3px;}
.contact_form li .form__insert:last-child img {margin-left: 10px;}
.contact_form li:has(input[type=checkbox]) .form__insert, .contact_form li:has(input[type=radio]) .form__insert{grid-template-columns: repeat(auto-fit, minmax(13px, 13px) minmax(80px, 1fr));}
.list_before {display: grid;gap: 5px;}
.list_before.info li {padding-left: 0;margin: 0;}
.contact_content .information_left{display: none;}

@-webkit-keyframes round {
    0% {
        -webkit-transform: rotate(0);
        transform: rotate(0);
    }
    100% {
        -webkit-transform: rotate(1turn);
        transform: rotate(1turn);
    }
}
@keyframes round {
    0% {
        -webkit-transform: rotate(0);
        transform: rotate(0);
    }
    100% {
        -webkit-transform: rotate(1turn);
        transform: rotate(1turn);
    }
}

/*RWD*/
@media screen and (max-width: 1300px) {
    .contact_form li {width: 50%;}
}
@media screen and (max-width: 768px) {
    body.contact_page .contact_content form { flex-wrap: wrap;}
    .contact_form li {width: 100%;}
    body.contact_page .contact_content {margin-bottom: 0px;padding-top: 0;margin-top: 0px;}
    .information_left, .information_right{padding: 30px;}
    .contact_content .information_right{padding: 30px;}
}
@media screen and (max-width: 600px) {
    .contact_form li .form__label{background:transparent;}
}

/*footer-----------------*/
.box_link { display: none; }
.footer {background: #fff;overflow: hidden;padding: 20px 0 0;box-shadow: 1px 1px 15px rgba(0, 0, 0, 0.37);}
.footer_info {display: flex;flex-wrap: wrap;align-items: center;justify-content: center;padding: 10px 0;width: 100%;margin: auto;grid-gap: 10px;}
.footer_menu {display: grid;grid-template-columns: repeat(auto-fit, minmax(min(110px, 100%), 1fr));gap: 5px;width: 100%;}
.footer_info ul { width: 100%; }
.footer_info li p, .footer_info li p a {color: #222;}
.footer_menu a {margin: 0;text-align: center;padding: 7px;transition: all 0.3s;color: #222;background: transparent;border: 1px solid var(--MainColor);}
.footer_menu a:hover {background: var(--MainColor);color: #222;transition: 0.3s;}
.copy {color: #222;background: var(--MainColor);font-size: 12px;letter-spacing: 0.05em;backdrop-filter: blur(5px);border-top: none;padding: 15px 0;margin-top: 0px;}
.copy a { color: #222;transition: all 0.3s; }
.footer_logo img { width: 100%; }
.footer_logo {display: inline-block;vertical-align: top;width: 220px;margin: 10px 10px;}
.footer_info li {display: flex;padding: 10px;text-align: center;flex-direction: column;align-items: center;}

@media screen and (max-width: 768px) { 
    .footer_info li { flex-direction: column;padding: 10px 15px;}
    .footer{padding: 30px 0 55px;}
}

/*手機版選單--------------*/
.stellarnav .menu-toggle:after{display: none;}
.stellarnav .menu-toggle span.bars span{width: 30px;border-radius: 0px;}
.stellarnav .menu-toggle{padding: 13px 0;}

@media screen and (max-width: 768px) { 
    .stellarnav .menu-toggle span.bars span{position: relative;top: 5px;background: var(--SubColor);}
}

/*第二層*/
.stellarnav.mobile.right .close-menu, .stellarnav.mobile.left .close-menu{background: var(--SubColor);color: var(--MainColor);}
.stellarnav .icon-close:after{border-bottom: solid 3px var(--MainColor);}
.stellarnav .icon-close:before{border-bottom: solid 3px var(--MainColor);}
.stellarnav.mobile.left > ul:after{
    content: '';
    position: fixed;
    top: 0;
    right: 0;
    width: 100vw;
    height: 100vh;
    max-width: 400px;
    top: 0;
    left: 0;
    -webkit-transition: all 1s cubic-bezier(0.22, 1, 0.36, 1); 
    transition: all 1s cubic-bezier(0.22, 1, 0.36, 1);
    -webkit-transform: perspective(960px) rotateY(-90deg);
    transform: perspective(960px) rotateY(-90deg);
    -webkit-transform-style: preserve-3d;
    transform-style: preserve-3d; 
    opacity: 0;
}
.stellarnav.active>ul:after {
    opacity: 1;
    pointer-events: auto;
    -webkit-transform: perspective(960px) rotateY(0deg);
    transform: perspective(960px) rotateY(0deg);
    z-index: -1;
}