@charset "utf-8";

/*
關於CSS設定說明
CSS屬性是會繼承的，而且還是由上往下繼承。
同樣元素設定16px 後 12px 再 15px 最後會以最後設定的15px為準
但是有兩種情況除外:
1.絕對路徑命名. 如: .xx .yy .zz p {設定值;}
2.important.  如: .xx p {設定值 !important;}

CSS3選取器語法 :nth-child(n) 

*/

body{font-family: "Roboto", sans-serif, "Merriweather", serif,"Noto Sans TC", sans-serif, "Noto Serif TC", serif;}

/* = = = 分隔線 = = = = = = = = = == = = = = = = = = = = = = = = == = = */


/*上方選單解除滑動固定
.header_area.sticky { position:relative;}
*/
/*header*/
.nav-header {
    max-width: 180px;
}
.me_tp_features a.tp_btn_cart {
    color:#ea2f41;
}
.me_tp_features a.tp_btn_notice {
    color:#ea2f41;
}
.shop_search_btn {
    background: #ea2f41;
    color: #ffffff;
}
.tp_links {
    display: none;
}
.pageIndex .me_tp_features {
    width: 100%;
    text-align: right;
    position: absolute;
    top: 18px;
    padding: 0 615px 0 0;
    opacity: 0;
    transition: .8s;
}
.me_tp_features {
    width: 100%;
    text-align: right;
    position: absolute;
    top: 18px;
    padding: 0 615px 0 0;
    opacity: 1;
    transition: .8s;
}
.header_area.sticky .me_tp_features {
    padding: 0 33px 0 0;
    opacity: 1;
    transition: .8s;
}
.nav-brand img {
    opacity: 0;
    transition: .8s;
}
.header_area.sticky .nav-brand img {
    opacity: 1;
    transition: .8s;
}
.stellarnav li.has-sub > a:after {
    display: none;
}
.stellarnav > ul > li.has-sub > a {
    padding-right: 0px;
}
.stellarnav > ul > li > a {
    margin: 0 0 0 40px;
    color: #00945c;
    font-family: "roboto", "Noto San TC", serif;
    font-weight: 500;
    font-size: 17px;
    opacity: 1;
    transition: .8s;
}
.pageIndex .stellarnav > ul > li > a {
    opacity: 0;
    transition: .8s;
}
.header_area.sticky .stellarnav > ul > li > a {
    opacity: 1;
    transition: .8s;
}
.stellarnav > ul > li > a:hover {
    color: #ff3859;
}
.stellarnav {
    position: absolute;
    top: 55px;
    padding: 0 350px 0px 0px;
    transition: .8s;
}
.header_area.sticky .stellarnav {
    padding: 0px 35px 0 0;
    transition: .8s;
}
.pageIndex .stellarnav > ul > li:before {
    content: "";
    width: 28px;
    height: 28px;
    position: absolute;
    left: 7%;
    top: 11%;
    background-size: contain !important;
    transition: all .3s;
    opacity: 0;
    transition: .5s;
}
.stellarnav > ul > li:before {
    content: "";
    width: 28px;
    height: 28px;
    position: absolute;
    left: 7%;
    top: 11%;
    background-size: contain !important;
    transition: all .3s;
    opacity: 1;
    transition: .5s;
}
.pageIndex .header_area.sticky .stellarnav > ul > li:before {
    opacity: 1;
    transition: .5s;
}
.stellarnav > ul > li:before {
    background: url(https://pic03.eapple.com.tw/ymyberryfarm/btn01.svg) no-repeat;
  animation: leafWiggleSmall 2.5s ease-in-out infinite; /* 平常小幅度 */
}
.stellarnav > ul > li:hover:before {
  animation: leafWiggleBig 1.2s ease-in-out infinite;
}
.header_area.sticky {
    background: 0;
}
/* 平常小搖擺（還是自然，略大） */
@keyframes leafWiggleSmall {
  0%,100% { transform: rotate(0deg) scale(1); }
  25%     { transform: rotate(-12deg) scale(1.01); }
  50%     { transform: rotate(12deg)  scale(0.99); }
  75%     { transform: rotate(-7deg) scale(1.008); }
}

/* hover 狂搖（幅度大、節奏快） */
@keyframes leafWiggleBig {
  0%,100% { transform: rotate(0deg) scale(1); }
  20%     { transform: rotate(-15deg) scale(1.02); }
  40%     { transform: rotate(15deg)  scale(0.98); }
  60%     { transform: rotate(-10deg) scale(1.015); }
  80%     { transform: rotate(10deg)  scale(0.985); }
}
.main_header_area .container { max-width: 1400px;}
.navigation { display: block;}
.header_area { background: #ffffff00;     position: absolute; transition: all 1s; padding: 0;}
.header_area.sticky {  position: fixed;    background: rgba(45, 43, 43, 0); }

.header_area.sticky .main_header_area .container {background:none; transition: all 1s;}
.header_area.sticky .main_header_area { height: 78px; opacity: 1;transition: all 1s; } 

.pageIndex .main_header_area{background: none; height: 0px;  transition: all 1s;}
.main_header_area{ height: 78px;  transition: all 1s;}

.header_area .main_header_area::before {
  content: "";
  width: 0%;
  height: 100%;
  position: absolute;
  top:0px;
  right: 0;
  opacity: 0;
  height: 105px;
  background: #ffffffeb;
  backdrop-filter: saturate(100%) blur(10px);
  transition: all 1s;
}
.header_area.sticky .main_header_area::before {
  width: 100%;
  opacity: 1;
  transition: all .5s;
}
.stellarnav li li {
    background: #000000b8;
    transition: .5s;
}
.stellarnav li li a:hover {
    background: #fee014;
    color: #000;
    transition: .5s;
}
.stellarnav ul ul {
    background: #ffffff00;
}
.stellarnav li a {
    color: #ffffff;
    padding: 10px 15px 10px 10px;
}
/*LOGO*/
.pageIndex .nav-brand { max-width: 80%;    opacity: 0; transition: all 1s;}
.header_area.sticky .nav-brand {  opacity: 1; transition: all .5s;}
.nav-brand { max-width: 75%;  }

.header_area.sticky .nav-brand {
    opacity: 1;
    height: 180px;
    transition: all .5s;
    padding: 15px 15px;
    background: #ffc7d0;
    border-radius: 0px 0px 65px 65px;
    box-shadow: 0 5px 8px #0000000c;
} 
.nav-brand{background: none; height: 0px;  transition: all 0.3s;}


/*大圖*/
#content_main {  margin: 0;}
.bannerindex { position: static; height: auto;}
.swiper-banner { position: static; margin: 0; height: auto;}
.swiper-slide { padding: 0px !important;}
.swiper-slide img { height: auto;}
.swiper-pagination { display: none;}
.swiper-slide { position: relative;}
.bannerindex .swiper-slide.swiper-slide-active:before {content: ""; position: absolute;  z-index: 999; pointer-events: none;}
.bannerindex .swiper-slide.swiper-slide-active:after {content: ""; position: absolute;  z-index: 999; pointer-events: none;}
@media screen and (max-width: 768px) {.bannerindex { padding:0; margin:0;}}

/* 第一張圖 主標＋副標 */
.bannerindex .swiper-slide.swiper-slide-active:nth-of-type(1):before {
background: url(https://pic03.eapple.com.tw/ymyberryfarm/index-banner1.svg);
background-size: contain;
background-repeat: no-repeat;
    top: 10%;
    left: 52%;
    width: 35% !important;
    height: 90% !important;
  transform: scale(0);
    z-index: 1; /* 在下層 */
  animation: 
    drop-in 1s cubic-bezier(.25,1.3,.5,1) forwards;
}

.bannerindex .swiper-slide.swiper-slide-active:nth-of-type(1):after {
background: url(https://pic03.eapple.com.tw/ymyberryfarm/index-banner2.svg);
background-size: contain;
background-repeat: no-repeat;
    top: 36%;
    left: 55%;
    width: 29% !important;
    height: 29% !important;
  transform: scale(0);
    z-index: 2; /* 在上層 */
  animation: 
    drop-in 1s cubic-bezier(.25,1.3,.5,1) .3s forwards;
}
/* 第二張圖 主標＋副標 */
.bannerindex .swiper-slide.swiper-slide-active:nth-of-type(2):before {
background: url(https://pic03.eapple.com.tw/ymyberryfarm/index-banner3.svg);
background-size: contain;
background-repeat: no-repeat;
    top: 29.5%;
    left: 14.5%;
    width: 31% !important;
    height: 30% !important;
  opacity: 1;
  transform: scale(0);
  opacity: 0;
    z-index: 1; /* 在下層 */
  filter:     drop-shadow(0 0 1px white)
    drop-shadow(0 0 2px white)
    drop-shadow(0 0 3px white);
  animation: 
    bubble-pop .9s ease-out 0s forwards
}

.bannerindex .swiper-slide.swiper-slide-active:nth-of-type(2):after {
background: url(https://pic03.eapple.com.tw/ymyberryfarm/index-banner4.svg);
background-size: contain;
background-repeat: no-repeat;
    top: 55%;
    left: 15%;
    width: 30% !important;
    height: 30% !important;
  transform: scale(0);
  opacity: 0;
    z-index: 2; /* 在上層 */
  animation: 
    bubble-pop .9s ease-out 0.3s forwards; /* 和主素材同步，強制同一時間點開始 */
}

@keyframes bubble-pop {
  0%   { transform: scale3d(0,0,1); opacity: 0; }
  60%  { transform: scale3d(1.2,1.2,1); opacity: 1; }
  80%  { transform: scale3d(0.95,0.95,1); }
  100% { transform: scale3d(1,1,1); opacity: 1; }
}
@keyframes drop-in {
  0%   { transform: translateY(-300px) scale(0.9); opacity: 0; }
  60%  { transform: translateY(30px) scale(1.2, 0.9); opacity: 1; } /* 落地壓縮 */
  80%  { transform: translateY(-20px) scale(0.92, 1.1); }        /* 第一次反彈 */
  100% { transform: translateY(0) scale(1,1); }
}

/*上方選單右邊設定 臉書/LINE/電話/信箱
.tp_links a:before {寬高大小設定}
.tp_links a.me_tp_fb {}
.tp_links a.me_tp_fb:before {背景換圖/建議.SVG}
.tp_links a.me_tp_line {}
.tp_links a.me_tp_line:before {背景換圖/建議.SVG}
.tp_links a.me_tp_call {}
.tp_links a.me_tp_call:before {背景換圖/建議.SVG}
.tp_links a.me_tp_mail {}
.tp_links a.me_tp_mail:before {背景換圖/建議.SVG}
*/


/*電腦LOGO
.nav-brand {}
*/

/*手機LOGO
.nav-brand-m {}
*/

/*footer*/
.footer_menu a:first-child {display: none;}
.box_link {
display: none;
}
/* = = = 頁尾 = = = = = = = = = == = = = = = = = = = = = = = = == = = */


.footer {
	border-top: 1px #ea2f4136 solid;
	background: #FFF;
	padding: 30px 0 0;
}
.footer_logo {
	text-align: center;
}

.footer_logo a{
	/*filter: invert(100%) grayscale(100%) brightness(500%);
    -webkit-filter: invert(100%) grayscale(100%) brightness(500%);*/
}
.footer_logo img {
	max-width: 40%;
}
.footer_info li p, .footer_info li p a{
	/*color:#FFF;*/
}

.footer_menu {
	/*display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(110px,100%), 1fr));
	gap: 5px;*/
	display: flex;
    justify-content: flex-start;
    align-items: center;
    align-content: center;
    flex-wrap: wrap;
}

	/*footer按鈕最小寬度100px*/
.footer_menu a {
	margin: 0;
	text-align: center;
	padding: 3px 10px;
	transition: all 0.3s;
	background: unset;
	border: unset;
	margin: 0 5px 4px 5px;
	color: #00945c;
	font-weight: 600;
}
.footer_menu a:hover {color: #ea2f41;background:unset;}




.copy {
    background: #ea2f41;
    color: #fff;
    border:none;
    margin-top: 35px;
}
.copy a{ color: #fff;transition:all 0.3s;}
.box_link a{ transition:all 0.3s;}
.box_link a:hover { background: #866d5e; color: #FFF;}




.footer_info li:nth-child(1) {
	border-bottom: 1px rgb(224 214 206 / 33%) solid;
    padding-bottom: 20px;
    margin-bottom: 5px;
}
.footer_info li p {
    width: 100%;
}

.footer_info li:nth-child(2) {
    padding: 10px 0px;
	margin: 0px;
}




@media screen and (min-width: 769px){
	.footer_info {
		padding-right: 100px;
	}
	
	.footer_info li:nth-child(1) {
		display: grid;
		grid-template-columns: 1fr 1fr;
		grid-gap: 0px 10px;
	}
	.footer_info li p.phone{
		grid-column: 1 / 2;
    	grid-row: 2;
	}
	.footer_info li p.fax{
		grid-column: 1 / 2;
    	grid-row: 3;
	}
}

@media screen and (max-width: 980px) {
	.footer_info { grid-template-columns: 1fr;}	
	.footer_info ul { width: 100%; }
}

@media screen and (max-width: 768px) {
	.footer_info ul { width: 100%; }
	.footer_info li { text-align: center;	}
	.footer_menu {	justify-content: center; }
	.footer_menu a { padding: 5px 5px;}
	
	.footer.with_shopping_mode { padding:35px 0 54px; }
	
	.footer_logo { text-align: center; max-width: 211px; background-size: 175px; width: 100%; margin: 0px auto 0px;}
	.footer_info li:nth-child(1) {	padding-top: 0px;}
	.footer_info li p {	width: 100%;}
	.box_link {	right: unset; justify-content: center; }
}

@media screen and (max-width: 600px) {
	.box_link {
		text-align: center;
	}
}

@media screen and (max-width: 375px) {
	.footer_menu a {
		padding: 5px 0px
	}
}
/* 商品下拉超過30個變大 */
.stellarnav.desktop li.bigMenu>ul{display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); left: 0; width: 100%; position: fixed; padding: 20px;}
.stellarnav.desktop li.bigMenu ul ul{top: 100%; left: 0; width: 100%; background: #efefef; height: auto; max-height: 300px; overflow: auto;}
.stellarnav.desktop li.bigMenu ul ul li{margin: 0;} 
.stellarnav.hasBigMenu li.bigMenu li.has-sub > a:after{border-left: 6px solid transparent; border-bottom:unset; border-right: 6px solid transparent; border-top: 6px solid #898989; right: 5px;}
/* 主分類超過30個但次分類直接顯示 
.stellarnav.desktop li.bigMenu>ul{grid-gap: 10px;}
.stellarnav.desktop li.bigMenu li{border: 0;}
.stellarnav.desktop li.bigMenu>ul>li>a{border: 1px solid #ddd;}
.stellarnav.desktop li.bigMenu ul ul{display: block !important; position: relative; top: 0; background: unset; border: 0;}
.stellarnav.desktop li.bigMenu ul ul li{border: 0;}
 主分類超過30個但次分類直接顯示-結束 */

/* 商品下拉超過30個--結束 */

/* = = = 分隔線 = = = = = = = = = == = = = = = = = = = = = = = = == = = */


/*預設購物車版面 產品分類選單在左側 商品內頁詳細介紹下表單更改樣式 by shint at 2023.1.5  */
.product_page .main_part { max-width:1500px;}
/* .product_info_page .main_part { max-width:1200px;} */

.product_page .show_content,
.product_info_page .show_content { width: 100%; display: flex; justify-content: space-between; flex-wrap: wrap; align-items: flex-start; align-content: flex-start;}
.product_page .product_menu_list { position: relative; width: 220px; letter-spacing: 1px; /*border-right: 1px solid #ccc;*/min-height: 30vw;}
.product_page .products-list,
.product-wrapper { width: calc(100% - 270px);}
ul.page { width: 100%;}

.product-layer-two li ul { position:static; margin-top:5px; /*display:block !important;*/ width:100%; margin-left:0;}
.product-layer-two li:hover ul { border: none !important; /*display:block !important;*/}
.product-layer-two li li { display: block; padding:0; transition:all ease .3s;}
.product-layer-two li li a{ padding:5px 10px;}
.product-layer-two li li:hover > a { background:#fff; color:#ad925e;}
.product-layer-two > li { width:100%; max-width:100%; padding:0; text-align:left; border-bottom:1px dotted #ccc; padding-bottom: 5px;}
.product-layer-two > li ul > li + li { margin-top:5px;}

.product_info_page .product-layer-two { display: none;}
.product_info_page .products-list,
.product-wrapper { width: 100%;}

.product-layer-two li li:hover{ margin-left: 15px;}
.product-layer-two li li > a:before { content: ""; position: absolute; width: 12px; height: 8px; background: transparent; left: 0; margin-left: -20px; top: 50%; margin-top: -4px; clip-path: polygon(0 0, 100% 50% , 0 100%);}
.product-layer-two li li:hover > a:before { background:#ad925e;}

.product_info_page .half_box { width: 100%; float: none; padding-right: 0;}
.product_info_page .half_box li.btn_blankTop { margin-top: 50px; justify-content: space-between; display: flex;}
.product_info_page .half_box li.btn_blankTop input { width: calc(50% - 10px); background-image: none; padding: 0; text-align: center;}
@media screen and (max-width: 1200px) {
}
@media screen and (max-width: 980px) {
}
@media screen and (max-width: 768px) {
.product_menu_list,
.products-list,
.product-wrapper { width: 100%;}
.product-layer-two { margin-right: 0; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); grid-gap: 5px;}
.product_page .product-layer-two,
.product_page .products-list { width: 100%; border-right: none;}
.product_page .product_menu_list>h5{display: block;}

.product_page .show_content > a { order: 1;}
.product_page ul.products-list { order: 2;}
.product_page ul.page { order: 3;}
.product_page .product_menu_list {width: 100%; order: 0; min-height: unset;}
}
@media screen and (max-width: 600px) {
}


/* = = = 分隔線 = = = = = = = = = == = = = = = = = = = = = = = = == = = */


/*預設解除背景輪播*/
#content_main { margin:0;}
.bannerindex { position:relative; height:auto;}
.swiper-banner { position:static; margin:0; height:auto;} 
/* .swiper-slide img { height:auto;} */
@media screen and (max-width: 768px) {
.bannerindex { padding:0; margin:0;}
}


/* = = = 分隔線 = = = = = = = = = == = = = = = = = = = = = = = = == = = */


/*內頁BANNER 設定*/
.banner {}
.banner h5 {}
.banner.banA {}
.banner.banB {}
.banner.banC {}
.banner.banD {}
.banner.banE {}
.banner.banblog {}

/* = = = 分隔線 = = = = = = = = = == = = = = = = = = = = = = = = == = = */


/*文章設定*/
/*一排呈現
.subbox_item { width:100%;}
*/


/* = = = 分隔線 = = = = = = = = = == = = = = = = = = = = = = = = == = = */


/*相本分類全版面 ( 限制最寬2000px
.work_page .main_part { max-width:2000px;}
.work_page .show_content { padding:0; width:100%;}
.work_page .show-list .item { width:33%; display:inline-block; float:none; margin:0; padding:0;}
@media screen and (max-width: 768px) {
.work_page .show-list .item { width:49%;}
}
@media screen and (max-width: 570px) {
.work_page .show-list .item { width:100%;}
}
.work_page .show-list .item a { max-width:100%;}
.work_page .show-list .show_pic { height:auto; line-height:0;}
.work_page .show-list .show_pic img { max-width:100%; max-height:100%;}
.work_page .show-list .show_name { position:absolute; top:50%; right:10%; width:80%; height:auto; line-height:160%; font-size: 20px; color: #FFFFFF !important; border: solid 1px #fff; text-align: center; margin: -20px 0 0 -120px; padding:5px 20px; transition:all ease-in .3s; opacity:0;}
.work_page .show-list .item:hover .show_name {opacity:1;}
*/


/* = = = 分隔線 = = = = = = = = = == = = = = = = = = = = = = = = == = = */


/*相本列表
.work_info_page .main_part { max-width:2000px;}
.work_info_page .show_content { padding:0; width:100%;}
.work_info_page .subalbum-menu { text-align:center;}
.work_info_page .subalbum-menu h2 { float:none;}
.work_info_page .pic-list .item { margin:0; padding:10px; width:49%; float:none; display:inline-block;}
@media screen and (max-width: 768px) {
.work_info_page .pic-list .item { width:100%;}
}
.work_info_page .pic-list .show_pic { height:auto; line-height:0;}
.work_info_page .pic-list .show_pic img { max-width:100%; max-height:100%;}
.work_info_page .pic-list .item a { max-width:100%; pointer-events: none; cursor: default; } 取消連結被點擊效果
*/


/* = = = 分隔線 = = = = = = = = = == = = = = = = = = = = = = = = == = = */





@media screen and (max-width: 768px) {
/* 開啟手機板下方按鈕所需設定 */
#bottom_menu {display: block; }
.footer.with_shopping_mode { padding:30px 0 70px; }
#to_top { bottom:60px;}
}

@media screen and (max-width: 600px) { 
}




