@charset "utf-8";

/*如意坊國際有限公司*/

:root{
    --MainColor:#d4c1a5;
    --SubColor:#6b6155;
}

/*網站字體*/
body {font-family: 'Noto Serif TC', 'Marcellus', sans-serif;letter-spacing: 1px;}

/*錨點滾動*/
::-webkit-scrollbar { width: 3px; }
::-webkit-scrollbar-track { box-shadow: inset 0 0 6px rgba(214, 214, 214, 0.6); }
::-webkit-scrollbar-thumb {background-color: var(--MainColor);}
html { scroll-behavior: smooth; }

/*大圖---------------------*/
/*預設解除背景輪播*/
.bannerindex {  position:relative; height:auto;}
.swiper-banner { position:static; margin:0; height:auto;} 
.swiper-slide img { height:auto;} 
.swiper-banner .swiper-slide img{height: auto;width:100%;}

@media screen and (max-width: 768px) {
.bannerindex { padding:0; margin:0;}
}

/* 行動裝置相容性調整 大圖調整 */
@media screen and (max-width: 768px) {
    .pageIndex .swiper-slide img { animation-fill-mode: none; -webkit-animation-fill-mode: none;}
}

.pageIndex .swiper-slide:before { content: "";position: absolute;z-index: 999;pointer-events:none;background-size: contain;background-repeat: no-repeat;}
.pageIndex .swiper-slide:nth-child(1):before {width: 50%;background-image: url(https://pic03.eapple.com.tw/ruyifang/swiper.png);aspect-ratio: 1/1;height: auto;top: 0;left: 50%;}
.pageIndex .swiper-slide:nth-child(2):before {width: 48%;background-image: url(https://pic03.eapple.com.tw/ruyifang/swiper.png);aspect-ratio: 1/1;height: auto;top: 0;right: 51%;}
.pageIndex .swiper-slide.swiper-slide-active:nth-child(1):before {animation: ani_RtoL 1.2s 0.5s both;}
.pageIndex .swiper-slide.swiper-slide-active:nth-child(2):before{animation: ani_LtoR 1.2s 0.5s both;}
    
    @keyframes ani_RtoL {
        0% {
          -webkit-transform: translateX(100%);
                  transform: translateX(100%);
                  opacity: 0;
        }
        100% {
          -webkit-transform: translateX(0);
                  transform: translateX(0);
                  opacity:1;
        }
    }
    @keyframes ani_LtoR {
        0% {
          -webkit-transform: translateX(-100%);
                  transform: translateX(-100%);
                  opacity: 0;
        }
        100% {
          -webkit-transform: translateX(0);
                  transform: translateX(0);
                  opacity:1;
        }
    }

/*HEADER--------------------*/
.pageIndex .header_area{position: fixed;background: #ffffff7d;backdrop-filter: blur(15px);}
.pageIndex .header_area.sticky{background: #ffffffef;backdrop-filter: blur(5px);}
.header_area{position: sticky;background: #ffffffef;backdrop-filter: blur(5px);}
.header_area.sticky{background: #ffffffef;backdrop-filter: blur(5px);}

@media screen and (max-width: 1024px) {
    .pageIndex .header_area{position: sticky;background: #ffffffef;}
}

@media screen and (max-width: 768px) {
    .pageIndex .header_area.sticky{backdrop-filter:none;}
    .header_area{backdrop-filter: none;}
    .header_area.sticky{backdrop-filter: none;}
    .pageIndex .header_area{backdrop-filter: none;}
}


/*HEADER選單----------------*/
.tp_links{display: none;}
.pageIndex .stellarnav > ul > li > a{color: #ffffff;text-shadow: 0 0 8px black;}
.stellarnav > ul > li > a{color: #222222;}
.pageIndex .header_area.sticky .stellarnav>ul>li>a{ color: #222222;text-shadow:none;}
.stellarnav li.has-sub > a:after{content: '+';border-left:0px;border-right:0px;border-top:0px;}
.stellarnav > ul > li:hover > a{ color:var(--SubColor);transition: all 0.3s;}
.stellarnav > ul > li > a::before {position: absolute;content: "";width: 0%;height: 1px;background: var(--SubColor);bottom: 0px;left: 50%;transform: translate(-50%, 0px);transition: .5s;}
.stellarnav > ul > li:hover > a::before {width: 100%;}
.stellarnav > ul > li:hover > a{color: var(--MainColor);transition: 0.3s;}
.header_area.sticky .stellarnav > ul > li:hover > a{color: var(--SubColor);transition: 0.3s;}
.pageIndex .me_tp_features a{color: #fff;text-shadow: 0 0 8px black;}
.sticky .me_tp_features a{color: #222;text-shadow: none;}
.me_tp_features a{color: #222;}

@media screen and (max-width: 1024px) {
    .pageIndex .stellarnav > ul > li > a{color: #343434;text-shadow: none;}
    .pageIndex .me_tp_features a{text-shadow:none;color: #222;}
    .me_tp_features {margin: 7px 0 7px;}
}
@media screen and (max-width:768px) {
    .me_tp_features{display: none;}
    .stellarnav > ul > li > a::before{display: none;}
    .stellarnav > ul > li:hover > a::before {display: none;}
}

/*第二層*/
.stellarnav li li:hover > a, .stellarnav li li.has-sub:hover > a{color: #222;padding-left: 11px;background: #fff;transition: 0.3s;}
.stellarnav ul ul{background: #ffffffd8;backdrop-filter: blur(5px);}
ul.album_classes li:first-child{display: none;}
.stellarnav li li.has-sub > a:after{border-top:none;border-bottom:none;border-left:none;margin-right: 5px;}

/*BANNER--------------*/
.banner.banB{display: none;}
.banner.banE{display: none;}
.banner.banC{display: none;}
.banner.banF{display: none;}
.banner.banblog{display: none;}

/*浮動按鈕------------*/
.info_fix{z-index: 999999;}
a.info_fix_default.info_fix_mail{display: none;}
.info_fix_links{display: flex !important;}
.linksBtn{display: none;}
.info_fix_links a{background: var(--MainColor);}
.info_fix_links a:hover{background: var(--SubColor);}
a.info_fix_default.info_fix_tel{display: none;}

/*文章管理------------*/
h5.blog_le_t, h4.blog_category_title {font-size: 25px;margin-bottom: 10px;}
.blog_le .accordion>li:hover .link { background: #a5a5a5; }
.blog_le .accordion>li.on_this_category .link { background: #BFB9AA; }
.subbox_item a:before { display: none; }
.blog_list_ri:after {content: 'READ MORE >';display: block; background: transparent;color: #000;letter-spacing: 1px; opacity: 1;left: 0;position: relative;padding: 0 22px 0 0;font-size: 12px;line-height: 12px;}
.blog_list_ri em { display: none; }
.blog_list_ri p { padding-top: 8px; }
.blog_back a.article_btn_back { background: var(--SubColor); }
.blog_back a.article_btn_prev, .blog_back a.article_btn_next {background: var(--MainColor);color: #fff;}
.blog_back a.article_btn_prev:hover, .blog_back a.article_btn_next:hover {background: var(--SubColor);transition: 0.3s;}
.blog_search input[type=search] { border-radius: 2px; }
.blog_le .accordion { border-radius: 2px; }
.blog_subbox.clearfix {margin: 0 auto; display: grid;grid-gap: 20px;grid-template-columns: 1fr 1fr 1fr 1fr;}
body.blog_page .clearfix:before, body.blog_page .clearfix:after { display: none; }
.subbox_item {background-color: transparent;overflow: hidden;position: relative;width: 100%;border-bottom: none;}
.subbox_item a {display: flex;flex-wrap: wrap;flex-direction: column;}
.subbox_item:hover img {transform: translate(-50%, -50%) scale(1.2);object-fit: cover;width: 100%;transition: all 0.4s ease;}
.blog_list_le img {display: block;max-width: 100%;min-width: 100%;object-fit: cover; position: absolute;left: 50%;top: 50%;transition: all 5000ms cubic-bezier(0.190, 1.000, 0.220, 1.000);transform: translate(-50%, -50%) scale(1);}
.blog_list_le { display: block;position: relative;text-align: center;height: auto;aspect-ratio: 9 / 9;overflow: hidden;padding-bottom: 0;width: 100%;}
.subbox_item a:after { display: none; }
.blog_list_ri { width: 100%;padding: 15px 0;}
.blog_list_ri em {width: 100%;}
.blog_list_ri h5 { position: relative;margin: 0px 0 0;font-size: 18px;letter-spacing: 0.035em;}
.blog_list_ri p {color: #595959; margin: 15px 0 0;font-size: 14px;line-height: 1.9;letter-spacing: 0.035em;width: 100%;padding: 0;margin: 10px 0;}
.main_part { max-width: 1500px; }
.blog_le .accordion > li:hover .link, .blog_le .accordion > li.on_this_category .link {color: #fff !important;background: var(--MainColor)!important;transition: 0.3s;}
.blog_le .accordion > li:hover, .blog_le .accordion > li.on_this_category {background: var(--SubColor)!important;transition: 0.3s;}
.blog_subbox{grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));}
.subbox_item a{grid-gap: 0px;}

/*第二層*/
.articel_mainPic img{max-width: 50%;}
.news_related{display: none;}

@media screen and (max-width: 1024px) {
	.blog_subbox.clearfix {margin: 0 auto;display: grid;grid-gap: 30px;grid-template-columns: 1fr 1fr 1fr;}
}
@media screen and (max-width: 768px) {
    .blog_subbox.clearfix { margin: 0 auto;display: grid;grid-gap: 10px;grid-template-columns: 1fr 1fr;}
}
@media screen and (max-width: 500px) {
    .articel_mainPic img{max-width: 100%;}
}
@media screen and (max-width: 375px) {
.blog_subbox.clearfix {grid-template-columns: 1fr;}
}

/*購物車--------------*/
.prod_related h6 span:before {color: #212121;letter-spacing: 0.1em;}
.products-list .name {height: auto; margin: 0;text-align: left;padding: 10px 0;color: #222;font-size: 16px;}
.products-list .pic:hover img{object-fit: cover;width: 100%;transition: all 0.4s ease;transform: scale(1.2);}
.products-list .pic img{transition: all 0.4s ease;transform:scale(1);object-fit: cover;}
.products-list .more{border: 1px solid var(--MainColor);color: var(--MainColor);}
.products-list .price{margin:0;}
.inquiry_a1 { background: var(--MainColor);}
.inquiry_a2 { background: var(--MainColor);}
.nextaction { background-color: var(--MainColor);}
.lastaction { background-color: var(--MainColor);}
ul.prod li h3.prod-thumb {background: #BFB9AA;color: #fff;text-align: center;padding: 5px;}
ul.prod li .prod-panel { font-size: 14px; line-height: 23px; }
.related_list li a {display: block;padding: 4px;background: none;}
.products-list .item a:hover .more {  background: var(--MainColor);color: #fff;transition: 0.3s;letter-spacing: 2px;}
.products-list .price b { color: var(--SubColor);font-size: 16px;}
.products-list .price b.sp_price {    color: #ea8228;}
.product-layer-two li.active a {font-weight: bold;border: unset;border-bottom: 1px dotted #ccc;}
.product_page .main_part {width: 100%;	max-width: 1500px;}
.product_page .show_content {display: flex;flex-wrap: wrap;align-items: flex-start;margin: auto;padding: 10px 10px;flex-direction: row;justify-content: center;gap: 20px;}
.product_page .products-list {width: calc(100% - 280px);}
.products-list{grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));grid-gap: 10px;}
.product-layer-two {width: 250px;margin: 0;}
.product_info_page .product-layer-two { display: none; }
.product-layer-two li {margin: 0;width: 100%;padding: 0 10px;}

/*選單*/
.product-layer-two li i{width: 50px;height: 45px;}
.product-layer-two li a {color: #222;border: none;background: transparent;transition: all 0.3s;line-height: 200%;transition: all 0.3s;}
.product-layer-two > li > a {border-bottom: 1px dotted #ccc;padding-left: 25px;}
.product-layer-two li:hover > a , .product-layer-two li.active > a{color: #ffffff; background: var(--MainColor);}
.product-layer-two li:hover > a:before , .product-layer-two li.active > a:before {background: var(--SubColor); color:#fff;}
.product-layer-two > li > a:before {border-radius: 100%; align-items: center;justify-content: center;display: flex;height: 18px;content: "";color: var(--MainColor);background: #dddddd;width: 18px;
text-align: center;position: absolute;left: 0;top: 50%;transform: translateY(-50%);transition: all 0.3s;padding-left: 2px;font-size: 13px;display:none;}

/**/
.product-layer-two li ul {position: relative;padding-top: 1px;}
.product-layer-two li li {border: none;background: transparent;display: block;}
.product-layer-two li li a{background: transparent;}
.product-layer-two li li:hover a{color: #BFB9AA;background: transparent;}

/**/
.send_simple { background: #5b5b5b;}
.rewrite_simple {background: #5b5b5b;}
.separate_title {font-size: 16px;color: #fff;padding: 10px 0 10px 40px;background: #4d4d4d;}
.inquiry_a1:hover, .inquiry_a2:hover, .inquiry_a3:hover{background: #BFB9AA;}
.sidebarBtn{border: 1px #BFB9AA solid;}


.order_pay .note_edit {    font-size: 28px;    color: #ea8228;    font-weight: bold;}



/*第二層*/
.prod_related{display: none;}

@media screen and (max-width: 768px) { 
.product_page .products-list {display: grid; grid-gap: 5px;grid-template-columns: 1fr 1fr;}
.product-layer-two > li > a {display: none;}
.product_page .products-list ,.product-layer-two { width:100%;}
.prod_related h6 span:before{font-size: 24px;}
.mobile_product_name { display: none;}
.sidebarBtn { order: -1;margin: 0px auto 20px;}
.product_pic { padding-top: 0px;}
body.pageIndex .products-list {padding: 40px 0 20px;}.products-list .item {width: 100%;}
.product-layer-two {display: none;}
#prod_thumbSwiper{margin: 20px 0;}
}
@media screen and (max-width: 500px) { 
.product_page .products-list{grid-template-columns: 1fr 1fr;}
.order_pay .note_edit {    font-size: 24px;}
}
@media screen and (max-width: 425px) { 
.product-layer-two {display: none;}
.product_page .show_content {display: flex;flex-wrap: wrap;align-items: flex-start;justify-content: space-around;margin: auto;padding: 10px 10px;flex-direction: column;align-content: center;}
.product_page .products-list { width: 100%;}
}
@media screen and (max-width: 1024px) {
.clearfix:before, .clearfix:after { display: none; }
.products-list .item { width: 100%; }
}
@media screen and (max-width: 768px) {
.product_page .products-list { width: 100%; display: grid;grid-gap: 10px;}
}

/*聯絡我們------------*/
.contact_content .information_right{width: calc(100% - 360px);}
.contact_form li.last cite{background: var(--MainColor);}
.contact_form li.last blockquote, .contact_form li.last cite{border: 1px var(--MainColor) solid;}
.contact_le_map a{display: none;}

@media screen and (max-width: 768px) {
.contact_content .information_right{width: 100%;}
}
@media screen and (max-width: 600px) {
    .contact_form li .form__label{background: #d4c1a569;}
}

/*footer--------------*/
.box_link { display: none; }
.footer {background: #fff;overflow: hidden;padding: 20px 0 0;box-shadow: 1px 1px 15px rgb(38 15 1 / 37%);background: url(https://pic03.eapple.com.tw/ruyifang/footer_bg.png) no-repeat center;background-size: cover;}
.footer_info {display: flex;flex-wrap: wrap;align-items: center;justify-content: center;padding: 10px 0;width: 100%;margin: auto;grid-gap: 10px;}
.footer_menu {display: grid;grid-template-columns: repeat(auto-fit, minmax(min(110px, 100%), 1fr));gap: 5px;width: 100%;}
.footer_info ul { width: 100%; }
.footer_info li p, .footer_info li p a {color: #222;}
.footer_menu a {margin: 0;text-align: center;padding: 7px;transition: all 0.3s;color: #222;background: transparent;border: 1px solid var(--SubColor);backdrop-filter: blur(5px);}
.footer_menu a:hover {background: var(--SubColor);color: #fff;transition: 0.3s;}
.copy {color: #fff;background: var(--SubColor);font-size: 12px;letter-spacing: 0.05em;backdrop-filter: blur(5px);border-top: none;padding: 15px 0;margin-top: 0px;}
.copy a { color: #fff;transition: all 0.3s; }
.footer_logo img { width: 100%; }
.footer_logo {display: inline-block;vertical-align: top;width: 220px;margin: 10px 10px;}
.footer_info li {display: flex;padding: 10px;text-align: center;flex-direction: column;align-items: center;}

@media screen and (max-width: 768px) { 
    .footer_info li { flex-direction: column;padding: 10px 80px;}
    .footer{padding: 20px 0 54px;}
}

/*手機版選單---------*/
.stellarnav.mobile.right > ul, .stellarnav.mobile.left > ul { bottom: -800px; }
.stellarnav.mobile.right .close-menu, .stellarnav.mobile.left .close-menu{background: var(--MainColor);}

/*會員*/
.member_login tr td:nth-child(1){width: 110px;}