@charset "utf-8";
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+TC:wght@100..900&display=swap');
/*黃記肉品(南五肉品行)*/

/*
關於CSS設定說明
CSS屬性是會繼承的，而且還是由上往下繼承。
同樣元素設定16px 後 12px 再 15px 最後會以最後設定的15px為準
但是有兩種情況除外:
1.絕對路徑命名. 如: .xx .yy .zz p {設定值;}
2.important.  如: .xx p {設定值 !important;}

CSS3選取器語法 :nth-child(n) 

*/
:root{
    --MainColor:#172B52;
    --SubColor:#EACF50;
    --SubColor2:#294A84;
}
body {
    font-family: 'Noto Sans TC', sans-serif;
    letter-spacing: 1px;
}
.path {
    display: none;
}

/*錨點滾動*/
html { 
    scroll-behavior: smooth; 
}
::-webkit-scrollbar {
    width: 6px;
}
::-webkit-scrollbar-track { 
    box-shadow: inset 0 0 6px rgba(255, 255, 255, 0.6); 
}
::-webkit-scrollbar-thumb {
    background-color: var(--SubColor2);
    border-radius: 50px;
}

/* = = = 分隔線 = = = = = = = = = == = = = = = = = = = = = = = = == = = */


/*上方選單解除滑動固定
.header_area.sticky { position:relative;}
*/

/*上方選單右邊設定 臉書/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 {}
*/

/*預設解除背景輪播*/
.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;
}
}

/*header=============================*/
.header_area{
    position: fixed;
    background: transparent;
    padding: 0;
    transition: all ease 0.3s;
}
.main_header_area{
    width: 80%;
    margin: 0px auto;
    background: var(--MainColor);
    border-radius: 0 0 50px 50px;
}
.header_area.sticky {
    position: fixed;
    background: transparent;
    padding: 0;
    transition: all ease 0.3s;
}
.nav-header {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    max-width: 160px;
    margin-top: 0px;
    z-index: 9901;
    transition: all ease 0.3s;
}
.me_tp_features {
    position: fixed;
    width: 275px;
    background: var(--SubColor2);
    padding: 38px;
    right:0px;
    display: none;
}
.tp_links{
    display: none;
}

@media screen and (max-width: 1024px) {
    .main_header_area{
        width: 100%;
        border-radius: 0;
    }
}

/*header圖標*/
.stellarnav > ul > li:hover:before{ 
    animation: shake 2s linear infinite; 
}
@keyframes shake {
    25% { transform: rotate(-10deg); }
    75% { transform: rotate(10deg); }
}
.stellarnav > ul > li:before {
    background: url(https://pic03.eapple.com.tw/nanwumeatshop/header_beef.png) no-repeat;
    background-size: contain;
    left: 35%;
    content: " ";
    position: absolute;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    height: 45px;
    width: 45px;
    top: 3px;
    transition: all 0.3s;
}
.stellarnav > ul > li > a:not(.dd-toggle), .stellarnav > ul > li.has-sub > a:not(.dd-toggle) {
    padding: 0 5px;
    font-size: 15px;
    font-weight:500;
    letter-spacing: 1px;
    padding-top: 48px;
    display: block;
    position: relative;
    height: 75px;
    line-height: 30px;
}
.stellarnav li.has-sub > a:after {  
    display:none;
}

@media screen and (max-width: 1024px) {
    .stellarnav li.has-sub > a:after{
        top: 50%;
    }
    .stellarnav > ul > li:before{
        left: 30%;
    }
    .stellarnav > ul > li > a:not(.dd-toggle), .stellarnav > ul > li.has-sub > a:not(.dd-toggle){
        padding: 48px 0px 0px 0px;
    }
}

/*主選單*/
.navigation {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100px;
    transition: all ease 0.3s;
}
.stellarnav>ul {
    text-align: center;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 2fr 1fr 1fr 1fr;
    max-width: 1215px;
    margin: 0 auto;
}
.stellarnav>ul>li:nth-of-type(4) {
    grid-column-start: 5;
}
.stellarnav li {
    text-align: center;
    transition: all ease 0.3s;
}
.stellarnav>ul:hover>li {
    opacity: .5;
}
.stellarnav>ul>li:hover {
    opacity: 1;
}
.stellarnav>ul>li>a {
    color: #fff;
    letter-spacing: 1px;
    line-height: 100px;
    height: 100px;
    transition: all ease 0.3s;
}
.stellarnav>ul>li>a:hover {
    color: #E8DFAE;
}
.stellarnav>ul>li.has-sub>a {
    padding-right: 0;
}
.stellarnav li.has-sub>a:after {
    content: none;
}
.main_header_area .container {
    max-width: calc(100% - 80px);
}
.nav-brand img {
    display: block;
    background: #F8EFE6;
    padding: 10px;
    border-radius: 0px 0px 25px 25px;
}
.stellarnav > ul > li > a{
    margin: 0 0px;
}

@media screen and (max-width: 1024px) {
    .header_area{
        position: sticky;
}
}
@media screen and (max-width: 768px) {
.header_area.sticky{
    backdrop-filter: none;
}
}

/*次分類*/
.stellarnav ul ul {
    min-width: 180px;
    background: transparent;
    right: 0;
}
.stellarnav>ul>li>ul {
    right: auto;
    left: 50%;
    transform: translateX(-50%);
}
.stellarnav li li {
    text-align: center;
    border: none;
    margin-bottom: 0;
    background: rgba(0, 0, 0, .8);
    position: relative;
}
.stellarnav li li a:not(.dd-toggle),
.stellarnav li li.has-sub>a:not(.dd-toggle),
.stellarnav li li.has-sub:hover li a:not(.dd-toggle) {
    color: #fff;
    padding: 12px 15px;
    font-weight: 400;
    letter-spacing: 1px;
    line-height: initial;
    height: auto;
    margin: 0;
    position: relative;
    font-size: 14px;
    transition: all ease .3s;
}
.stellarnav>ul>li>ul>li:hover>a:not(.dd-toggle),
.stellarnav li li:hover a:not(.dd-toggle):hover,
.stellarnav li li.has-sub:hover a:not(.dd-toggle):hover,
.stellarnav li li.has-sub:hover li:hover a:not(.dd-toggle):hover {
    color: #fff;
    background: #3F4F42;
}
.stellarnav ul ul ul,
.stellarnav li.drop-left ul ul {
    left: auto;
    right: 100%;
}

@media screen and (max-width: 768px) {
    .stellarnav>ul>li>a{
        color: var(--MainColor);
    }
}

/* 商品下拉超過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個--結束 */

/* = = = 分隔線 = = = = = = = = = == = = = = = = = = = = = = = = == = = */

/*側邊按鈕============================*/
.info_fix{
    bottom: 125px;
    display: flex;
}
.info_fix_mes2 span{
    background:#F7591A;
}
a.info_fix_default.info_fix_mail,
a.info_fix_default.info_fix_tel,
a.info_fix_default.info_fix_ig,
a.info_fix_default.info_fix_phone{
    display: none;
}
a.info_fix_default.info_fix_fb{
    background: #3b579d;
}
a.info_fix_default.info_fix_line {
    background: #4cc764;
}
.info_fix_links a{
    background: var(--MainColor);
}
.info_fix_links a:hover{
    transform: rotateY(360deg);
    transition: .5s ease-in-out;
}

/*直接展開*/
.info_fix_links{
    display: flex !important;
}
.info_fix>span{
    display: none;
}

/*TO TOP*/
#to_top{
    bottom: 95px;
    right:20px;
    background: transparent;
    box-shadow: unset;
    color: var(--MainColor);
    left:unset;
    width: 50px;
    height: 50px;
    font-size: 18px;
    padding-top: 10px;
    font-weight: bold;
}
#to_top i.top{
    height: 10px;
}
#to_top i.top:before, 
#to_top i.top:after {
    height: 10px;
    background: var(--MainColor);
    height: 10px;
    top: 3px;
    width: 3px;
}

/*footer=============================*/
.footer{
    background: #f8efe7;
}
.box_link{
    display: none;
}
.footer_logo{ 
    display: block;
    max-width: 100%;
    margin: 0;
}
.footer .center{
    max-width: 80%;
    width: 100%;
}
.footer_info{
    grid-template-columns: 150px 1fr;
    padding-right: 0;
    align-items: center;
}
.footer_info ul {
    display: flex;
    width: 100%;
    margin-left: 0;
    flex-direction: row;
    justify-content: space-around;
    align-items: center;
}
.footer_info li p {
    color: #222;
    font-size: 15px;
}
.footer_info li p a{
    color: #222;
}
.footer_menu {
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-gap: 5px;
}
.footer_menu a{
    background: transparent;
    border: none;
    color: #222;
    font-size: 15px;
    padding: 10px;
    margin:0;
    text-align: center;
    border: 1px dotted var(--MainColor);
    border-radius: 10px;
}
.footer_menu a:hover{
    background: var(--MainColor);
    transition: 0.3s;
    color: #fff;
    font-weight: 500;
}
.footer_menu a:nth-child(1){
    display: none;
}
.copy{
    padding: 15px 0;
    border-top: none;
    color: #ffffff;
    letter-spacing: 1px;
    background: var(--MainColor);
}
.copy a {
    color: #ffffff;
}
.privacyLinks a+a{
    border-left: 1px solid #ffffff;
}

/*RWD*/
@media screen and (max-width: 1200px) {
.footer_info {
    grid-template-columns: 1fr;
    padding: 0;
}
.footer_info ul{
    justify-content: space-between;
}
.footer_logo{
    display: none;
}
}
@media screen and (max-width: 768px) {
.bannerindex { 
    padding:0; 
    margin:0;
}
.footer_info ul{
    flex-direction: column;
}
.footer_menu{
    grid-template-columns: 1fr 1fr 1fr 1fr;
}
.footer{
    padding: 30px 0 53px;
}
}
@media screen and (max-width: 600px) {
.footer_menu{
    grid-template-columns: 1fr 1fr 1fr;
}
}
@media screen and (max-width: 425px) {
.footer_menu{
    grid-template-columns: 1fr 1fr;
}
}

/*手機版選單*/
.stellarnav .menu-toggle{
    padding: 35px 10px;
}
.stellarnav .menu-toggle:after{
    color: var(--SubColor);
}
.stellarnav .menu-toggle span.bars span{
    background: var(--SubColor);
}
.stellarnav .close-menu{
    padding: 10px 10px;
}
.stellarnav.mobile.right .close-menu, .stellarnav.mobile.left .close-menu{
    background: var(--MainColor);
    color: #fff;
}
.stellarnav .icon-close:after, .stellarnav .icon-close:before{
    border-bottom: solid 3px #fff;
}
.stellarnav a.dd-toggle .icon-plus:after, .stellarnav a.dd-toggle .icon-plus:before{
    border-bottom: solid 3px var(--MainColor);
}
