@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;}

/* = = = 分隔線 = = = = = = = = = == = = = = = = = = = = = = = = == = = */

/*反白顏色*/
::-moz-selection { background-color:#fa7933; color: #fff;}
::selection { background-color:#fa7933; color: #fff;}

/*滾輪顏色*/
::-webkit-scrollbar {width: 8px;}
::-webkit-scrollbar-track {box-shadow: inset 0 0 8px #ffe77a;}
::-webkit-scrollbar-thumb {background-color: #fa7933;}
/* = = = 分隔線 = = = = = = = = = == = = = = = = = = = = = = = = == = = */

/*上方選單解除滑動固定
.header_area.sticky { position:relative;}
*/
/*header*/
.nav-header {
    position: absolute;
    max-width: 90px;
    left: 380px;
}
.nav-brand img {
animation: swing 1.3s steps(2) infinite;
}
@keyframes swing {
  0%   { transform: rotate(-10deg); }
  100% { transform: rotate(10deg); }
}
/*選單設定*/
.nav-menu {margin: 0;}
.header_area .main_header_area .container {max-width:85%;transition: all 0.3s;}
.header_area.sticky .main_header_area .container { max-width: 80%; transition: all 0.3s;}
.nav-menu>li:not(.tp_links) { padding-right: 15px;}

.nav-menu>li:hover>a,
.nav-menu>li.active>a,
.nav-menu>li.focus>a {color: #2B3047;}

.nav-dropdown>li:hover>a,
.nav-dropdown>li.focus>a { color: #2B3047;}

.nav-dropdown>li { text-align: center;}
.nav-header {top: 45%;z-index: 98999999;transform: translate(0, -50%);transition: all 0.5s;}
.sticky .nav-header {top: 44px;transition: all 0.5s;left: 13%;max-width: 75px;}
.nav-header::before {
    content: "";
    display: block;
    width: 227%;
    height: 241%;
    position: absolute;
    top: -150px;
    left: 55%;
    transform: translate(-50%, -50%);
    background-color: #fec94e;
    z-index: -1;
    border-radius: 0;
    opacity: 1;
    border-radius: 0 0 20px 20px;
    transition: all 0.3s;
}
.nav-brand {
    position: relative;
}
.nav-brand:before {
    content: "";
    width: 124px;
    height: 76px;
    position: absolute;
    left: -14%;
    top: 105%;
    background-size: contain !important;
    transition: all .3s;
    opacity: 1;
    transition: .5s;
    background: url(https://pic03.eapple.com.tw/eggbaby1117/logo2.png) no-repeat;
}
.sticky .nav-brand:before {
    width: 100px;
}
.stellarnav {
    z-index: 0;
}
.tp_links {
    display: none;
}
.pageIndex .nav-header::before {top: -100px;opacity: 0;transition: all 0.3s;transition-delay: 0.5s;}
.sticky .nav-header::before {top: 40%;opacity: 1;transition: all 0.3s;transition-delay: 0.5s;}

.nav-header:hover:after { animation-play-state: paused; transition: all 0.3s;}
.nav-header:hover:before { transition: all 0.3s;}

@keyframes rotate {
    0% { transform: translate(-50%, -50%) rotate(0deg);}
    100% { transform: translate(-50%, -50%) rotate(360deg);}
}
/*Main/＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝*/
/*Header/＝＝＝＝＝*/
.header_area{position: fixed;width: 100%;background: #f0f0f000;}
.main_header_area {background: #00000000;transition: all 1s;}
.navigation {padding: 60px 350px 10px 0px;display: flex;flex-direction: column;transition: .5s;}
.pageIndex .stellarnav:before {width: 730px;}
.pageIndex .sticky .stellarnav:before {width: 1540px;top: -64px;right: -110px;border-radius: 0px 0px 50px 50px;height: 120px;}
.stellarnav:before {
    content: "";
    display: block;
    width: 730px;
    max-width: 2000px;
    height: 115px;
    border-radius: 68px;
    position: absolute;
    top: -60px;
    right: -67px;
    transition: all 0.3s;
    backdrop-filter: blur(8px);
    background-color: #ffffff;
    box-shadow: 3px 3px 5px #2b2b2b21, -3px -3px 5px #ffffff4f;
    z-index: 0;
    transition: .6s;
}
.sticky .stellarnav:before {
    transition: all 0.85s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    box-shadow: 3px 3px 5px #2b2b2b21, -3px -3px 5px #ffffff4f;
}
.me_tp_features {
    z-index: 2;
}
.stellarnav > ul > li > a {
    margin: 5px 0px 0 36px;
}
.header_area.sticky .navigation {
    padding: 21px 90px 10px 0px;
    transition: .5s;
}
.header_area.sticky {
    background: rgb(255 255 255 / 0%);
}
.stellarnav > ul > li.has-sub > a {
    padding-right: 0px;
}
.stellarnav li.has-sub > a:after {
display:none;
}
.shop_search_btn {
    background: #f97a30;
}
.stellarnav > ul > li > a {
    color: #f47c31;
}
.me_tp_features a {
    color: #fa7933;
    margin: 0 0px 0 10px;
}
*, *
/*大圖*/
#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;}}

.pageIndex .swiper-wrapper::after {
    content: "";
    display: block;
    position: absolute;
    background-image: url(https://pic03.eapple.com.tw/eggbaby1117/banner4.svg);
    background-size: contain;
    background-repeat: no-repeat;
    top: 82%;
    left: 86%;
    width: 10% !important;
    height: 12% !important;
    z-index: 2;
  animation: jumpBounce 2.5s infinite ease-in-out;
  transform-origin: bottom center;
        animation-delay: 3.06s;
}


.pageIndex .swiper-wrapper::before {
    content: "";
    display: block;
    position: absolute;
    background-image: url(https://pic03.eapple.com.tw/eggbaby1117/banner2.svg);
    background-size: contain;
    background-repeat: no-repeat;
    top: 70%;
    left: 33%;
    width: 10% !important;
    height: 13% !important;
    z-index: 1;
  animation: jumpBounce 2.5s infinite ease-in-out;
  transform-origin: bottom center;
    animation-delay: 1.53s;
}

.pageIndex .swiper-wrapper .swiper-slide::before {
    content: "";
    display: block;
    position: absolute;
    background-image: url(https://pic03.eapple.com.tw/eggbaby1117/banner3.svg);
    background-size: contain;
    background-repeat: no-repeat;
    top: 54%;
    left: 16%;
    width: 20% !important;
    height: 25% !important;
    z-index: 2;
  animation: jumpBounce 2.5s infinite ease-in-out;
  transform-origin: bottom center;
}

.pageIndex .swiper-wrapper .swiper-slide::after {
    content: "";
    display: block;
    position: absolute;
    background-image: url(https://pic03.eapple.com.tw/eggbaby1117/banner1.svg);
background-size: contain;
background-repeat: no-repeat;
    top: 71%;
    left: 0%;
    width: 100% !important;
    height: 100% !important;
    z-index: 0; /* 在下層 */
}


@keyframes jumpBounce {
  0%   { transform: translateY(0); }
  15%  { transform: translateY(-50px); }  /* 跳到高點 */
  30%  { transform: translateY(0); }      /* 落地 */
  38%  { transform: translateY(-6px); }  /* 第一次回彈 */
  43%  { transform: translateY(0); }      /* 回落 */
  55%  { transform: translateY(-2px); }   /* 第二次小回彈 */
  65%  { transform: translateY(0); }      /* 完全落地 */
  100% { transform: translateY(0); }      /* 停留 1.5s */
}


/*上方選單右邊設定 臉書/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 {}
*/
/*首頁*/
#content_main {
    background: #f4e36e;
}
/*footer*/
.footer_logo img {
    opacity: 0;
    height: 200px;
}
.footer_logo {
    background: url(https://pic03.eapple.com.tw/eggbaby1117/logo.png);
    background-repeat: no-repeat;
    width: 165px;
    height: 165px;
    background-size: contain !important;
}
.footer_menu a:first-child {display: none;}
.box_link {
display: none;
}
/* = = = 頁尾 = = = = = = = = = == = = = = = = = = = = = = = = == = = */

.privacyLinks a+a {
    border-left: 1px solid #7d4918;
}
.footer {
	background: #ffc53d;
	padding: 30px 0 0;
	position: relative;
	background: url(https://pic03.eapple.com.tw/eggbaby1117/footerbg.jpg);
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
}
.footer:before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: -65px;
    background: url(https://pic03.eapple.com.tw/ymyberryfarm/footer_bg_anim.png);
    background-repeat: repeat-x;
    width: 100%;
    height: 100px;
    display: block;
    z-index: -1;
    -webkit-animation: scroll_left 25s steps(5124) infinite normal;
    animation: scroll_left 180s steps(5124) infinite;
    -webkit-animation-fill-mode: forwards;
    animation-fill-mode: forwards;
}
.footer_info li p.phone:before {
    color: #ea2f41;
}
.footer_info li p.mail:before {
    color: #83562c;
}
.footer_info li p.add:before {
    color: #764926;
}
.footer_info li p.line:before {
    color: #ea2f41;
}
/* 動畫 vvv */
@-webkit-keyframes scroll_left {
0% {background-position: 0;}
100% {background-position: -5124px;}
}

@keyframes scroll_left {
0% {background-position: 0;}
100% {background-position: -5124px;}
}
/* 動畫 ^^^ */
.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: #764b2a;
}

.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: #86562c00;
    color: #7d4918;
    border:none;
    margin-top: 68px;
    padding: 15px 0;
}
.copy a{color: #7d4918;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) { 
}




