@charset "utf-8";

/*網站 LOADING 畫面*/

@keyframes fadeInOut {
-10% { opacity: 1; }
80% { opacity: 1; }
100% { opacity: 0; }
}

body.pageIndex:before {content: '';pointer-events: none;display: block;width: 100%;height: 100%;position: fixed;top: 0;left: 0;
    z-index: 10000;background: #fff;-webkit-animation: fadeInOut 4.5s ease-in-out forwards;animation: fadeInOut 4.5s ease-in-out forwards;}

@keyframes opacity {
0% {opacity: 0;}
50% {opacity: 1;  }
100% {opacity: 0;}
}

body.pageIndex:after {content: '';pointer-events: none;display: block;width: 21%;aspect-ratio: 20 / 3;position: fixed;transform: translate(-50%, -50%);
    top: 50%;left: 50%;z-index: 10000;background: url(https://pic03.eapple.com.tw/mellowcounseling/cover_logo-02.svg);
    -webkit-animation: opacity 4s ease-in-out forwards;animation: opacity 4s ease-in-out forwards;background-size: contain;}
@media screen and (max-width: 768px) {
body.pageIndex:after {width: 38%;}
}
@media screen and (max-width:600px) {
body.pageIndex:after {width: 60%;}
}


/* = = = 分隔線 = = = = = = = = = == = = = = = = = = = = = = = = == = = */

/*預設解除背景輪播*/
#content_main { margin:0;}
.bannerindex { position:relative; height:auto;}
.swiper-banner { position:static; margin:0; height:auto;} 
.path {display: none;}
/* .swiper-slide img { height:auto;} */
@media screen and (max-width: 768px) {
.bannerindex { padding:0; margin:0;}
}

/*網站統一設定*/
.main_part {max-width: 1500px;padding: 100px 5%;}
.show_content {padding: 0;}
.page {margin: 50px auto;color: #000000;gap: 5px;}
.page li {margin: 0;display: flex;width: 30px;height: 30px;line-height: 30px;
justify-content: center;align-items: center;align-content: center;text-align: center;border-radius: 50px;transition: .3s;}
.page li a, .page li strong {width: 30px;height: 30px;line-height: 30px;color: #000000;}
.page strong, .page a:hover {background: #000000;color: #ffffff;}
.page li.activeN {background: #000000;color: #ffffff;}

@media screen and (max-width: 1024px) {
.main_part {padding: 80px 5%;}
.page {font-size: 15px;gap: 3px;}
}
@media screen and (max-width: 500px) {
.main_part {padding: 60px 5%;}
.page {font-size: 14px;gap: 2px;}
}
@media screen and (max-width: 425px) {
.main_part {padding: 50px 5%;}
.page {font-size: 13px;gap: 0;}
}

/* = = = 分隔線 = = = = = = = = = == = = = = = = = = = = = = = = == = = */


/*HEADER*/
.pageIndex .header_area {position: fixed;}
.header_area {background: #ffffff00;padding: 0 5%;transition: 1s ease;}
.header_area.sticky {background: rgba(255, 255, 255, .85);box-shadow: 0 0 10px #f0f0f0;transition: 1s ease;}
.main_header_area .container {max-width: 95%;transition: 1s ease;}
.header_area.sticky .main_header_area .container {max-width: 100%;transition: 1s ease;}
.navigation {grid-template-columns: 350px 1fr;}
.me_tp_features {display: none;}

/*LOGO*/
.nav-header {grid-row: 1 / 1;max-width: 310px;}
.nav-brand {display: flex;}

/*選單*/
.stellarnav > ul > li > a {display: block;padding: 40px 10px 20px;color: #000000;letter-spacing: 0.08em;
	font-size: 17px;line-height: 1;height: auto;margin: 0;transition: 0.8s ease;}
.stellarnav > ul > li.has-sub > a {padding-right: 10px;}
.stellarnav > ul > li:hover > a {transform: translateY(-10px);opacity: 0.3;transition: 0.8s ease;}
.stellarnav li.has-sub > a:after {display: none;}

/*下拉選單*/
.stellarnav > ul > li > ul {background: #ffffff99;backdrop-filter: blur(5px);}
.stellarnav > ul > li > ul > li {border: unset;}
.stellarnav > ul > li > ul > li+li {}
.stellarnav > ul > li > ul > li > a {padding: 10px 15px;color: #000;border-bottom: 1px solid #fff;letter-spacing: 0.1em;transition: 1s ease;}
.stellarnav > ul > li > ul > li:hover > a {background: #d1e8cd;padding: 10px 25px;border-bottom: 1px solid #59512A;transition: 1s ease;}
.stellarnav > ul > li > ul > li > ul {}
.stellarnav > ul > li > ul > li > ul > li {}
.stellarnav > ul > li > ul > li > ul > li+li {}
.stellarnav > ul > li > ul > li > ul > li > a {}
.stellarnav > ul > li > ul > li > ul > li > a:hover {}

@media screen and (max-width: 1250px) {
.navigation {grid-template-columns: 270px 1fr;}
.nav-header {max-width: 270px;}
.stellarnav > ul > li > a {padding: 40px 7px 20px;font-size: 16px;}
}
@media screen and (max-width: 1024px) {
.pageIndex .header_area {position: sticky;}
.nav-header {padding-top: 20px;}
.stellarnav > ul > li > a {padding: 30px 7px 20px;}
}
@media screen and (max-width: 768px) {
.nav-header {padding: 15px 0;}
.main_header_area .container {max-width: 100%;}

.stellarnav.mobile {display: flex;height: 100%;justify-content: center;align-items: center;}
.stellarnav.mobile .menu-toggle {padding: 0;}
.stellarnav .menu-toggle:after {display: none;}
.stellarnav .menu-toggle span.bars {top: 0;}
.stellarnav .menu-toggle span.bars span {width: 30px;height: 1px;background: #000000;margin: 0 auto 5px;}
.stellarnav.mobile.left > ul {border: none;}
.stellarnav.mobile.right .close-menu, .stellarnav.mobile.left .close-menu {letter-spacing: 0.1em;background: #56542c;color: #fff;font-weight: bold;
    display: flex;font-size: 12px;justify-content: flex-end;align-items: baseline;gap: 10px;}
.stellarnav .icon-close:before, .stellarnav .icon-close:after {border-bottom: solid 2px #ffffff;}

.stellarnav.mobile > ul > li {border-bottom: 1px #56542f26 solid;}
.stellarnav.mobile > ul > li > a {padding: 25px 30px;line-height: 1;border: none;}
.stellarnav.mobile  > ul > li:hover > a {transform: translateX(10px);}
.stellarnav.mobile  > ul > li > ul {background: #ffffffcc;}
.stellarnav.mobile  > ul > li > ul > li > a {padding: 15px 50px;border-bottom: 1px solid #f0f0f0;}
.stellarnav.mobile  > ul > li > ul > li:hover > a {padding: 15px 50px;}

.stellarnav.mobile > ul > li > a.dd-toggle {padding: 25px 0;}
.stellarnav a.dd-toggle .icon-plus:before, .stellarnav a.dd-toggle .icon-plus:after {border-bottom: solid 2px #59512A;}
.stellarnav.mobile > ul > li:hover > a.dd-toggle {transform: unset;}

.stellarnav.mobile li.open {background: #56542f; padding: 0;}
.stellarnav.mobile li.open > a {color: #fff;opacity: 1;}
}

@media screen and (max-width: 450px) {
.nav-header {max-width: 220px;}
.stellarnav .menu-toggle span.bars span {width: 25px;}
}

/* = = = 分隔線 = = = = = = = = = == = = = = = = = = = = = = = = == = = */

/*大圖*/

@-webkit-keyframes totop {
	0% {transform: translateY(-20px);opacity: 0;}
	100% {transform: translateY(0px);opacity: 1;}
}
@keyframes totop {
	0% {transform: translateY(-20px);opacity: 0;}
	100% {transform: translateY(0px);opacity: 1;}
}

@-webkit-keyframes tobottom {
	0% {transform: translateY(20px);opacity: 0;}
	100% {transform: translateY(0px);opacity: 1;}
}
@keyframes tobottom {
	0% {transform: translateY(20px);opacity: 0;}
	100% {transform: translateY(0px);opacity: 1;}
}

@-webkit-keyframes toleft {
	0% {transform: translateX(-20px);opacity: 0;}
	100% {transform: translateX(0px);opacity: 1;}
}
@keyframes toleft {
	0% {transform: translateX(-20px);opacity: 0;}
	100% {transform: translateX(0px);opacity: 1;}
}

@-webkit-keyframes toright {
	0% {transform: translateX(20px);opacity: 0;}
	100% {transform: translateX(0px);opacity: 1;}
}
@keyframes toright {
	0% {transform: translateX(20px);opacity: 0;}
	100% {transform: translateX(0px);opacity: 1;}
}

/*大圖-第一張*/
.pageIndex .swiper-fade .swiper-slide:nth-child(1):before {
    content: "";position: absolute;background-image: url(https://pic03.eapple.com.tw/mellowcounseling/baword-03.svg);
    width: 12.5%;top: 43%;left: 10%;aspect-ratio: 47 / 27;background-size: contain;background-repeat: no-repeat;z-index: 999;}
.pageIndex .swiper-fade .swiper-slide:nth-child(1):after {
    content: "";position: absolute;background-image: url(https://pic03.eapple.com.tw/mellowcounseling/baword-04.svg);
    width: 12.5%;top: 43%;left: 77%;aspect-ratio: 47 / 27;background-size: contain;background-repeat: no-repeat;z-index: 999;}
/*大圖-第一張動畫*/
.pageIndex .swiper-fade .swiper-slide-active:nth-child(1):before {
    -webkit-animation: toright 2s ease-in-out forwards;
	animation: toright 2s cubic-bezier(0.470, 0.000, 0.745, 0.715) both;}
.pageIndex .swiper-fade .swiper-slide-active:nth-child(1):after {
    -webkit-animation: toleft 2s ease-in-out forwards;
    animation: toleft 2s cubic-bezier(0.470, 0.000, 0.745, 0.715) both;}

/*大圖-第二張*/
.pageIndex .swiper-fade .swiper-slide:nth-child(2):before {
    content: "";position: absolute;background-image: url(https://pic03.eapple.com.tw/mellowcounseling/baword-05.svg);
    width: 30%;top: 43%;left: 62%;aspect-ratio: 580 / 135;background-size: contain;background-repeat: no-repeat;z-index: 999;}
/*大圖-第二張動畫*/
.pageIndex .swiper-fade .swiper-slide-active:nth-child(2):before{
    -webkit-animation: tobottom 2s ease-in-out forwards;
	animation: tobottom 2s cubic-bezier(0.470, 0.000, 0.745, 0.715) both;}

/*大圖點點*/
.swiper-pagination-bullets.swiper-pagination-horizontal {bottom: var(--swiper-pagination-bottom, 30px);}
@media screen and (max-width: 600px) {
.swiper-pagination-bullet { width: 8px;height: 8px;}
}
@media screen and (max-width: 450px) {
.swiper-pagination-bullet { width: 5px;height: 5px;}
}

/*手機大圖*/
@media screen and (max-width: 600px) {}


/*內頁BANNER 設定*/
.banner {}
.banner h5 {}
.banner.banA {}
.banner.banB {}
.banner.banC {}
.banner.banD {}
.banner.banE {}
.banner.banblog {}

@media screen and (max-width: 1024px) {}
@media screen and (max-width: 768px) {}
@media screen and (max-width: 600px) {}
@media screen and (max-width: 450px) {}

/* = = = 分隔線 = = = = = = = = = == = = = = = = = = = = = = = = == = = */

/*FOOTER*/
.copy {padding: 15px 0;font-size: 12px;color: #888;letter-spacing: 0.08em;border-top: none;margin-top: 25px;background: #f5f5f5;}

@media screen and (max-width: 1024px) {}
@media screen and (max-width: 768px) {
#bottom_menu {display: none;}
}
@media screen and (max-width: 600px) {
.copy {font-size: 10px;}
}
@media screen and (max-width: 450px) {}

/* = = = 分隔線 = = = = = = = = = == = = = = = = = = = = = = = = == = = */

/*文章設定*/


@media screen and (max-width: 1024px) {}
@media screen and (max-width: 768px) {}
@media screen and (max-width: 600px) {}
@media screen and (max-width: 450px) {}

/* = = = 分隔線 = = = = = = = = = == = = = = = = = = = = = = = = == = = */

/*影音專區*/


@media screen and (max-width: 1024px) {}
@media screen and (max-width: 768px) {}
@media screen and (max-width: 600px) {}
@media screen and (max-width: 450px) {}

/* = = = 分隔線 = = = = = = = = = == = = = = = = = = = = = = = = == = = */

/*購物車*/


@media screen and (max-width: 1024px) {}
@media screen and (max-width: 768px) {}
@media screen and (max-width: 600px) {}
@media screen and (max-width: 450px) {}

/* = = = 分隔線 = = = = = = = = = == = = = = = = = = = = = = = = == = = */

/*促銷方案*/


@media screen and (max-width: 1024px) {}
@media screen and (max-width: 768px) {}
@media screen and (max-width: 600px) {}
@media screen and (max-width: 450px) {}

/* = = = 分隔線 = = = = = = = = = == = = = = = = = = = = = = = = == = = */

/*聯絡資訊*/


@media screen and (max-width: 1024px) {}
@media screen and (max-width: 768px) {}
@media screen and (max-width: 600px) {}
@media screen and (max-width: 450px) {}

/* = = = 分隔線 = = = = = = = = = == = = = = = = = = = = = = = = == = = */


