@charset "utf-8";
@import url('https://fonts.googleapis.com/css2?family=Gloria+Hallelujah&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Zen+Maru+Gothic&display=swap');

/*
關於CSS設定說明
CSS屬性是會繼承的，而且還是由上往下繼承。
同樣元素設定16px 後 12px 再 15px 最後會以最後設定的15px為準
但是有兩種情況除外:
1.絕對路徑命名. 如: .xx .yy .zz p {設定值;}
2.important.  如: .xx p {設定值 !important;}

CSS3選取器語法 :nth-child(n) 

*/
body{
    font-family: "Zen Maru Gothic", "微軟正黑體", "Gloria Hallelujah", cursive;
}
.path p, .path p a{ display: none;}

.edit{ padding: 0px 0;}
.info_fix{ display: none;}



/* = = = 分隔線 = = = = = = = = = == = = = = = = = = = = = = = = == = = */



/*大圖*/

.pageIndex .swiper-wrapper .swiper-slide:nth-of-type(1)::before {
    content: "";
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    background-image: url(https://pic03.eapple.com.tw/moehappytoys/ban-txt1.png);
    width: 100%;
    max-width: 100%;
    height: 100%;
    background-repeat: no-repeat;
    background-size: cover;
    z-index: 100000000000000;

}

.pageIndex .swiper-wrapper .swiper-slide:nth-of-type(2):before {
    content: "";
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    background-image: url(https://pic03.eapple.com.tw/moehappytoys/ban-txt2.png);
    width: 100%;
    max-width: 100%;
    height: 100%;
    background-repeat: no-repeat;
    background-size: cover;
    z-index: 100000000000000;

}

.pageIndex .swiper-wrapper .swiper-slide.swiper-slide-active::before{
       animation:font-in-text 4s ease-in-out infinite;
}


@keyframes banner-title {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.05); }
}


/* 淡入 + 微微上浮 */
@keyframes catEntry {
  0% {
    opacity: 0;
    transform: translateY(6px) scale(0.95);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

/* 左右搖晃（喵感） */
@keyframes catShake {
  0%   { transform: rotate(0deg); }
  20%  { transform: rotate(-6deg); }
  40%  { transform: rotate(5deg); }
  60%  { transform: rotate(-4deg); }
  80%  { transform: rotate(3deg); }
  100% { transform: rotate(0deg); }
}


@keyframes rightToCenterScale {
  from {
    opacity: 0;
    transform: translateX(100px) scale(1.3);
  }
  to {
    opacity: 1;
    transform: translateX(0) scale(1);
  }
}


@keyframes font-in-text {
    from {
    opacity: 0;
    transform: translateY(25px);
  }
  to {
    opacity: 1;
    transform: translateY(0px);
  }
}

@keyframes banner-text {
    0% {
        height: 112%;
        opacity: 0;
    }

    100% {
        height: 100%;
        opacity: 1;
    }
}



.pageIndex .swiper-wrapper .swiper-slide img {
    transform: none !important;
}




/* = = = 分隔線 = = = = = = = = = == = = = = = = = = = = = = = = == = = */



/*header-LOGO*/
.nav-header { transition: all .3s; max-width: 315px; margin-top: -7px;}
.navigation{grid-template-columns:330px 1fr; }
.sticky .nav-header { transition: all .3s;}
.nav-brand {   background: transparent ;     padding: 14px;}

/*header*/
.main_header_area .container { max-width: 95%;padding: 0 10px;}
.main_header_area {  height: 103px; transition: all .3s;}
.sticky .main_header_area {  height: 105px; transition: all .3s;}
.header_area { padding: 0px;     background: #fff;}
.header_area.sticky {  background: #fff;}
.stellarnav ul{ margin-top: -6px;}
.stellarnav ul ul{ left: 9px; bottom: -33px; background: transparent ;}
.stellarnav li li{ border: 0px; }
.stellarnav li a { color: #fff; background: #da878e; border-radius: 100px; transition: 0.5s; padding: 7px 16px; }
.stellarnav > ul > li > a {color: #fff;margin: 0px 8px 0px;padding: 0px 16px;background: #da878e; border-radius: 100px;}
.stellarnav > ul > li > a:hover {  background: #E7B63F ; border: 0px;  font-weight: bold; }

.stellarnav li.has-sub > a:after {  display: none;}
.stellarnav > ul > li.has-sub > a {  padding-right: 16px;}

/*下拉*/
.stellarnav > ul > li.drop-left > ul {    right: auto;}
.stellarnav li li a:hover {    background: #E7B63F;    color: #fff;}

/*header購物車*/
.me_tp_features {margin-top: 12px;}
.me_tp_features a { color: #6E625B;}
.shop_search_btn{ background: #E7B63F;}
.tp_links {  display: none;}

@media screen and (max-width: 1120px) {
  .navigation{ grid-template-columns:280px 1fr;}
  .nav-header{ max-width: 270px; margin-top: 0px; }
  .stellarnav ul{ margin-top: -5px; }
}

@media screen and (max-width: 1067px) {
  .stellarnav > ul > li > a{ font-size: 15px; margin: 0px 3px 0px ;}
}
@media screen and (max-width: 1024px) {
  .nav-brand{ background: transparent; padding: 9px;  max-width: 240px; }
  .main_header_area {  height: 100%;}
  .sticky .main_header_area {   height: 100%;}
  .header_area{ background: #fff;}
  .stellarnav ul{ margin-top: 0px; margin-bottom: 8px; }
  .stellarnav ul ul{ left: 7px;}
  .stellarnav > ul > li > a {  margin: 0 15px 0px 15px;}
  .me_tp_features {width: auto;position: absolute;right:0;top: 0;display: flex;flex-wrap: wrap;justify-content: flex-end;}
  .me_tp_features a{padding-top: 5px;}
  .box_search{width: 100%;text-align: right;}
}
@media screen and (max-width:840px) {
    .stellarnav > ul > li > a{  margin: 0 4px 0px 4px ;}
}
@media screen and (max-width: 768px) {
 .nav-brand { max-width: 220px;  }
  .me_tp_features {  text-align:center; margin: 28px 0 0 0 ;}

  .tp_btn_cart span>span{display: none;}
  .tp_btn_notice span{display: none;}
  .stellarnav.mobile > ul > li > a{ padding: 16px 43px 16px 10px; }

  .stellarnav .menu-toggle, .stellarnav .call-btn-mobile, .stellarnav .location-btn-mobile, .stellarnav .close-menu {   padding: 0px;}
  .stellarnav.mobile {  top: 26px; }
  .stellarnav.mobile > ul > li > a.dd-toggle{ top: 6px;}
  .stellarnav.mobile ul {    background: #fff;}
  .stellarnav.mobile ul ul{ left: 0px; bottom: 0px; background: transparent ;}
  .stellarnav.mobile li.open { background: #F8F5F1;}
  .stellarnav.mobile.right .close-menu, .stellarnav.mobile.left .close-menu {   background: none;  color: #6E625B;position: relative;  ;right: 14px;}
  .stellarnav .menu-toggle span.bars span {   background: #6E625B;}
  .stellarnav .menu-toggle:after {   color: #6E625B;}
  .stellarnav .icon-close:before {  border-bottom: solid 3px #6E625B;}
  .stellarnav .icon-close::after {  border-bottom: solid 3px #6E625B;}
  .stellarnav a.dd-toggle .icon-plus:after {   border-bottom: solid 3px #D4EDF9;}
  .stellarnav a.dd-toggle .icon-plus:before {   border-bottom: solid 3px #D4EDF9;}
  .stellarnav li a {    padding: 7px 24px;}
   .me_tp_features a.tp_btn_cart, .me_tp_features a.tp_btn_notice {    display: none;}
   .stellarnav > ul > li > a{color: #da878e; background: transparent ; }
   .stellarnav > ul > li > a:hover{  color: #E7B63F ; background: transparent ;}
}

@media screen and (max-width: 500px) {
    .nav-brand{ max-width: 160px; }

  .box_search input[type=text] {
      background: url(../images/search-icon.png) no-repeat 4px center #fff;
      padding: 5px 30px 5px 25px;
      max-width: 130px;
  }
  .shop_search_btn {
      font-size: 11px;
      padding: 2px 10px;
  }

  .navigation{flex-direction: row;}
  .nav-header{margin-left: 50px;}
  .stellarnav.mobile{ top: 16px; }
  .me_tp_features{ margin: 22px 0 0 0 ;}
}

@media screen and (max-width: 370px) {
    .nav-header{ margin-left: -23px; }
    .nav-brand{ max-width: 130px;}
    .stellarnav.mobile{ top:13px; }
    .me_tp_features{ margin: 16px 0 0 0 ;}
}

/* 商品下拉超過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個--結束 */

/* = = = 分隔線 = = = = = = = = = == = = = = = = = = = = = = = = == = = */

/*Footer/＝＝＝＝＝*/
.center {   max-width: 85%;}
.footer { padding: 40px 0 0; background: #F8F5F1;}
.footer_info {  display: flex; flex-wrap: wrap;  align-items: center;  justify-content: center; padding-right: 0px; grid-gap:5px;}
.footer_info ul {  width: calc(100% - 300px);}
.footer_info li:nth-child(1) {  display: flex;  flex-wrap: wrap;  justify-content: flex-start;}
.footer_info ul>li>p {  width: 49%;  color: #040404; line-height: 175%;}
.footer_info ul>li>p>a { color: #040404;}
.footer_info li p.add2:before{ content: '營業時間：';}

.footer_info ul>li>p.taxid { order: 1;}
.footer_info ul>li>p.tel{  order: 2;}
.footer_info ul>li>p.mail{  order: 3;}
.footer_info ul>li>p.add{  order: 4;}
.footer_info ul>li>p.add2{  order: 5;}
.footer_info ul>li>p.line{  order: 6;}


.footer_menu { border-top: 1px solid #e1d7cdab;  padding-top: 15px;    width: 90%;}
.footer_menu a {  margin: 0; margin-right: 8px; ; padding: 5px 12px 5px 12px;  border: none;  background: transparent;  transition: all 0.3s;  color: #fff; background: #da878e; border-radius: 100px;}
.footer_menu a:nth-child(1) { display: none;}

.footer_menu a:hover {  background:#E7B63F;  transition: 0.5s;  font-weight: bold;color: #fff; }
.box_link {  }
.box_link a{ border: 0px; color: #FADADD; transition: 0.3s;}
.box_link a.me_tp_mail { display: none; }
.box_link a:hover{color: #F7C6C7; }
.box_link a.me_tp_line,.box_link a.me_tp_call{ display: none; }
.copy{ background: #FADADD ;}
.copy, .copy a {  color: #949494;  border-top: none;}
/* .footer_logo { width: 170px;  padding-right: 36px;}
.footer_logo img{ width: 100%;} */

.footer_logo > a {
    background: url(https://pic03.eapple.com.tw/moehappytoys/f-logo.png) no-repeat;
    display: block;
    width: 135px;
    height: 130px;
    background-size: contain !important;
    background-position: center !important;
}
.footer_logo img{display: none;}
.footer_logo{ padding-right: 36px; }

@media screen and (max-width: 1440px) {
    .center {  max-width: 100%; width: 100%;}
    }
@media screen and (max-width:1400px) {
  .box_link{ right: 80px;}
}
@media screen and (max-width: 1200px) {
    /*footer*/
    .footer_logo { padding-right: 0px; text-align: center;}
    .footer_menu { width: 100%;}
    .footer_info {  padding: 0px;}
    .footer_info ul {  width: 100%;}
    .footer_info li:nth-child(1) {  display: flex;  flex-wrap: wrap;  justify-content: flex-start;  flex-direction: column;  align-items: center;  width: 100%;}
    .footer_info li:nth-child(2) { text-align: center;}
    .footer_info ul>li>p { width: 100%;  text-align: center;}
}

@media screen and (max-width: 768px) {    
    #to_top { bottom:60px;}
    .footer.with_shopping_mode { padding:30px 0 0px; }
    .footer_info { justify-content: center;}
    .footer_logo { text-align: center; margin-bottom: 10px; width: 150px; }
    .footer_menu { text-align: center; display: flex; flex-direction: row;  flex-wrap: wrap;  justify-content: center;}
    .footer_menu a { border: 1px solid #ffffff; margin: 3px; width: 105px; padding: 5px;}
    .box_link{ justify-content: center;}
    }
    
@media screen and (max-width: 600px) {
    .box_link {    text-align: center;}
    }
@media screen and (max-width: 600px) {
    .footer_logo > a{ height: 100px; }
  }

/* = = = 分隔線 = = = = = = = = = == = = = = = = = = = = = = = = == = = */


/*預設購物車版面 產品分類選單在左側 商品內頁詳細介紹下表單更改樣式 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_menu_list { 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; } 取消連結被點擊效果
*/


/* = = = 分隔線 = = = = = = = = = == = = = = = = = = = = = = = = == = = */





.car_page .information_left {
    display: block;
}
body.car_page .footer_info li p:before{
    position: initial;
    display: inline;
}
.contact_le_map a{background: #2a93d8; }




@media screen and (max-width: 768px) {
/* 開啟手機板下方按鈕所需設定 */
#bottom_menu {}
.footer.with_shopping_mode { padding:30px 0 55px; }
#to_top { bottom:60px;}
}

@media screen and (max-width: 600px) { 
}




