@charset "utf-8";
/*磊智美語補習班*/

:root{
    --MainColor:#130E44;
    --SubColor:#9A9B9D;
    --SubColor2:#EEEAE6;
}

body{font-family: 'noto sans TC', sans-serif;}

/*錨點滾動--------------*/
::-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; }

/*header---------------*/
.header_area{background: #ffffff;box-shadow: 0 2px 5px rgb(0 0 0 / 20%);padding: 0;}
.header_area.sticky{background: rgb(255 255 255 / 55%);backdrop-filter: blur(10px);}
.main_header_area{position: relative;top: 2px;}

@media screen and (max-width: 768px) {
    .header_area.sticky{backdrop-filter: unset;background: #fff;}
}

/*選單*/
.tp_links{display: none;}
.me_tp_features{display: none;}
.stellarnav > ul > li:hover > a{ color:var(--SubColor);transition: all 0.3s;}
.stellarnav li.has-sub > a:after{content:none;}
.stellarnav > ul > li:before , .stellarnav > ul > li:after {content: "";position: absolute; width: 7px;height: 7px; background: var(--SubColor);top: 0;border-radius: 100%;transform: translateX(-50%);opacity:0;transition:all 0.3s ease-in-out;}
.stellarnav > ul > li:before{background: var(--MainColor);left: calc(50% - 15px);}
.stellarnav > ul > li:after{background: var(--SubColor);left: calc(50% + 15px);}
.stellarnav > ul > li:hover:before{left: calc(50% + 6px);opacity:1;}
.stellarnav > ul > li:hover:after{left: calc(50% - 6px);opacity:1;}
.stellarnav li li:hover > a , .stellarnav li li.has-sub:hover > a{color: #fff; padding-left:14px;background-color: var(--MainColor);transition: 0.3s;}
.stellarnav li.has-sub > a:after{content: '+';border-left: unset;border-right:unset;border-top:unset;}
.navigation{display: flex;align-items: center;grid-gap: 0 0px;}

@media screen and (max-width: 1024px) {
    .me_tp_features{display: none;}
    .stellarnav > ul > li > a{height: 30px;}
    .stellarnav li.has-sub > a:after{top: 65%;}
    .stellarnav ul{margin-bottom: 15px;}
}
@media screen and (max-width: 768px) {
    .stellarnav > ul > li > a::before{display: none;}
}

/*下拉選單*/
.stellarnav ul ul{width: 180px;}
.stellarnav li li.has-sub > a:after{border-top:none;border-bottom:none;border-left:none;margin-right: 5px;}

/*選單最大寬度*/
.main_header_area .container {max-width: 100%;width:70%;transition: .3s;}
.sticky .main_header_area .container {max-width: 100%;width:80%;transition: .3s;}

@media screen and (max-width: 768px) {
    .main_header_area .container {width:80%;}
}

/*大圖--------------------*/
/*預設解除背景輪播*/
#content_main { margin:0;}
.bannerindex { position:static; height:auto;}
.swiper-banner { position:static; margin:0; height:auto;}
.swiper-slide img { height:auto;}
.swiper-pagination {left: 50%;margin-left: 0;transform: translate(-50% , 0);}

@media screen and (max-width: 768px) {
.bannerindex { padding:0; margin:0;}
}

/*大圖點點----------------*/
.swiper-pagination-clickable .swiper-pagination-bullet{display: none;}

/*LOGO-------------------*/
.nav-header{max-width: 100%;width: 200px;}

/*側邊按鈕----------------*/
.linksBtn{background-color: var(--MainColor);}
.info_fix:hover>.linksBtn{background: var(--SubColor);}

/*第二層*/
a.info_fix_default.info_fix_mail{display: none;}
.info_fix_links a{background: var(--SubColor);}
.info_fix_links a:hover{background-color: var(--MainColor);}

/*TO TOP*/
#to_top{bottom: 70px;}

/*banner*/
.banner.banB{display: none;}
.banner.banA{display: none;}
.banner.banF, .banner.banE, .banner.banblog{background-image: url(https://pic03.eapple.com.tw/exemplar2024/banner.png);}
.banner{background: repeat center center #f9f9f900;min-height: 430px;background-position: center;background-size: cover;background-repeat: no-repeat;}
.banner h5{position: relative;bottom: 40px;color: #A7937A;font-size: 25px;font-weight: normal;}
.banner h5:before {
    content: 'Exemplar English';
    display: block;
    font-family: 'Bowlby One';
    font-size: 45px;
    color: var(--MainColor);
}

/*下拉編輯頁*/
.other_select_page .promotion_title { display: none; }
.other_select_page .other_promotion { display: none; }
.other_select_page .page { display: none; }

/*首頁文章----------------*/
.module_i_news{
    background-image: url(https://pic03.eapple.com.tw/exemplar2024/bg.jpg);
    background-attachment: fixed;
    background-repeat: no-repeat;
    background-size: cover;
    padding: 50px 0px;
    opacity: 1;
}
.module_i_news ul{
    display: flex;
    gap: 10px;
    justify-content: space-around;
}
.module_i_news ul li{display: flex;flex: 1;}
.module_i_news_list, .module_i_news_list.swiper{padding: 30px 0;}
.module_i_news .title_i_box h6{
    font-size: 40px;
    color: var(--MainColor);
    font-family: 'Bowlby One', sans-serif;
    font-weight: normal;
}
.module_i_news .title_i_box h4{
    font-size: 25px;
    font-weight: normal;
    color: #A7937A;
}
.i_blog_ri{width: 100%;}
.i_blog_le{width: 100%;}
.module_i_news li a:before{
    content: 'READ MORE';
    text-align: center; 
    background: transparent; 
    font-size: 16px; 
    font-weight: normal;
    letter-spacing: 1px; 
    color: var(--MainColor); 
    padding: 8px 5px; 
    top: 50%;
    left: 50%;
    width: 150px;
    height: 40px;
    transform: translate(-50%, -50%) scale(0, 0);
    font-family: 'Bowlby One', sans-serif;
}
.module_i_news li a:hover:before{opacity: 1;width: 100%;transform: translate(-50%, -50%) scale(1);transition: all 500ms;}
.module_i_news li a:after{content: '';background: rgb(255 255 255 / 86%); border: 1px #fff solid;width: 0;}
.module_i_news li a:hover:after{opacity: 1;width: 100%;}
.module_i_news li{border-bottom: none;}
.animated-arrow{background: var(--MainColor);color: #fff;border-radius: 10px;}
.module_i_news li a{display: flex;flex-direction: column;}
.fa-arrow-right::before{content: "More+";font-family: 'Bowlby One';font-weight: normal;}

@media screen and (max-width:768px) {
    .module_i_news ul{gap: 10px;padding: 20px;}
    .animated-arrow{margin-bottom: 30px;}
}
@media screen and (max-width:600px) {
    .module_i_news ul{display: grid;grid-template-columns: 1fr 1fr;gap: 5px;}
    .module_i_news .title_i_box{margin-top: 30px;}
}
@media screen and (max-width:320px) {
    .module_i_news ul{display: block;}
}

/*文章管理---------------*/
.blog_search input[type=search]{border-radius: 10px;}
.blog_le .accordion{border-radius: 10px;}
.blog_subbox{grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));grid-gap: 10px;}
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; }
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;grid-gap: 0px;}
.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%;border-radius: 25px;}
.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;}
.blog_le .accordion > li:hover .link, .blog_le .accordion > li.on_this_category .link { color: #222 !important; background: var(--SubColor)!important;transition: 0.3s;}
.blog_le .accordion > li:hover, .blog_le .accordion > li.on_this_category {background: var(--SubColor)!important;transition: 0.3s;}
.blog_le .accordion > li:hover .link a, .blog_le .accordion > li.on_this_category .link a{color: #fff !important;}
.submenu a{color: #fff;background: var(--MainColor);}
.submenu li.on_this_category a, .submenu a:hover{background-color: var(--SubColor);}

/*第二層*/
.news_related{display: none;}
.blog_back a.article_btn_back { background: var(--SubColor);color: #fff;}
.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;color: #fff;}
.blog_shareData{flex-direction: row;}

/*購物車------------------*/
.product_page .main_part{width: 90%;max-width: 1920px;}
.products-list{grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));}
.products-list .more{display: none;}
.products-list .name{text-align: center;font-size: 25px;color: var(--MainColor);font-family: 'Bowlby One';height: auto;}
.products-list .item a{pointer-events: none;}/*設定無法點擊*/
.products-list .pic{border-radius: 30px;}

/*相簿--------------------------------------------*/
.show-list .item:hover .show_name{color:var(--SubColor);}
.other_album_choice li{background-color: var(--SubColor);}
.show-list .item:hover a figure img {
    transform: scale(1.1);
    transition: 0.5s;
    top: 0;
    left: 0;
}
.show-list .show_pic{border-radius: 20px;}
.show-list .item a figure img {transition: 0.5s;}
.show-list .show_name {text-align: center;}
.album_info_page .pic-list { 
    -moz-column-count:3; 
    -moz-column-gap:10px; 
    -webkit-column-count:3; 
    -webkit-column-gap:10px; 
    column-count:3; 
    column-gap:10px; 
    width:100%; 
    margin:0 auto; 
}
.album_info_page .pic-list .item { 
    width:100%; 
    -webkit-column-break-inside: avoid; 
    page-break-inside: avoid; 
    break-inside: avoid; 
    padding: 0; 
    margin: 0;
}
.album_info_page .pic-list .show_pic { height:auto; padding:0;}
.other_subalbum li p {margin-top: 10px;}
.other_subalbum li a img{    
    object-fit: cover;
    min-height: 250px;
}

@media (max-width: 1440px){
.album_info_page .pic-list{ 
    -moz-column-count:3; 
    -webkit-column-count:3;  
    column-count:3;
    }
}
@media (max-width: 768px) {
    .album_info_page .main_part{padding: 50px 0;}
    .other_album{padding: 0 16px;}
    .other_album:before{width: 0;}
    .album_info_page .pic-list{ 
        -moz-column-count:2; 
        -webkit-column-count:2;  
        column-count:2;
    }
}
@media (max-width: 480px) {
    .album_info_page .pic-list{
        -moz-column-count:1;  
        -webkit-column-count:1; 
        column-count:1;
    }
}

/*FOOTER-----------------*/
.box_link { display: none; }
.box_link { display: none; }
.footer {background-image: url(https://pic03.eapple.com.tw/exemplar2024/footer_bg.png);overflow: hidden;background-size: contain;padding: 30px 0 0;box-shadow: 1px 1px 15px rgb(38 15 1 / 37%);}
.footer_info {display: flex;flex-wrap: wrap;align-items: center;justify-content: center;padding: 0px 15px;width: 100%; margin: auto;grid-gap: 0;}
.footer_info li p{text-align: center;}
.footer_menu {display: grid; grid-template-columns: repeat(auto-fit, minmax(min(110px, 100%), 1fr)); gap: 5px;width: 100%;}
.footer_menu a{text-align: center;margin: 0;border: 1px var(--MainColor) dotted;background: transparent;color: #333;text-align: center;padding: 7px 7px;border-radius: 5px;}
.footer_menu a:hover{background-color: var(--MainColor);transition: 0.3s;}
.footer_logo{max-width: 150px;}
.copy{border-top: 0;color: #fff;background-color: var(--SubColor);padding: 10px 0;}
.copy a{color: #fff;}
.footer_info li p.add2:before{content: '營業時間：';}

@media screen and (max-width: 768px) {
    .footer{padding: 30px 0 55px;}
    .footer_info li+li{margin: 20px 0;}
}

/*手機版選單--------------*/
.stellarnav .menu-toggle:after{display: none;}
.stellarnav .menu-toggle span.bars span{width: 30px;border-radius: 0px;}
.stellarnav .menu-toggle{padding: 30px 0;}

@media screen and (max-width: 768px) { 
    .stellarnav .menu-toggle span.bars span{position: relative;top: 5px;background: var(--MainColor);}
}

/*第二層*/
.stellarnav.mobile.right .close-menu, .stellarnav.mobile.left .close-menu{background: var(--SubColor);color: var(--MainColor);}
.stellarnav .icon-close:after{border-bottom: solid 3px var(--MainColor);}
.stellarnav .icon-close:before{border-bottom: solid 3px var(--MainColor);}
.stellarnav.mobile.left > ul:after{
    content: '';
    position: fixed;
    top: 0;
    right: 0;
    width: 100vw;
    height: 100vh;
    max-width: 400px;
    top: 0;
    left: 0;
    -webkit-transition: all 1s cubic-bezier(0.22, 1, 0.36, 1); 
    transition: all 1s cubic-bezier(0.22, 1, 0.36, 1);
    -webkit-transform: perspective(960px) rotateY(-90deg);
    transform: perspective(960px) rotateY(-90deg);
    -webkit-transform-style: preserve-3d;
    transform-style: preserve-3d; 
    opacity: 0;
}
.stellarnav.active>ul:after {
    opacity: 1;
    pointer-events: auto;
    -webkit-transform: perspective(960px) rotateY(0deg);
    transform: perspective(960px) rotateY(0deg);
    z-index: -1;
}