@charset "utf-8";

/*
關於CSS設定說明
CSS屬性是會繼承的，而且還是由上往下繼承。
同樣元素設定16px 後 12px 再 15px 最後會以最後設定的15px為準
但是有兩種情況除外:
1.絕對路徑命名. 如: .xx .yy .zz p {設定值;}
2.important.  如: .xx p {設定值 !important;}

CSS3選取器語法 :nth-child(n)

*/

/* = = = 分隔線 = = = = = = = = = == = = = = = = = = = = = = = = == = = */


/*上方選單解除滑動固定
.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}
*/



body {
    font-family: "Noto Sans TC", sans-serif;
}

#content  {
    background-image: url(https://pic03.eapple.com.tw/magicshow/bg-1.png);
    background-color: #fdfaf5;
    background-position: center top;
    background-size: cover;
    background-repeat: repeat-x;
}

.path p, .path p a {display: none;}

/*內頁banner*/
.banB {display: none;}


/* = = = 分隔線 = = = = = = = = = == = = = = = = = = = = = = = = == = = */
/*反白顏色*/
::-moz-selection {
    background-color: #1A2754;
    color: #fff;
}

::selection {
    background-color: #1A2754;
    color: #fff;
}


/*預設解除背景輪播*/
#content_main { margin:0;}
.bannerindex { position:relative; height:auto;}
.swiper-banner { position:static; margin:0; height:auto;}
.swiper-slide img {
    height: auto;
    animation: none !important;
    transform: scale(1.011);
}

@media screen and (max-width: 768px) {
    .bannerindex {
        position: relative;
        height: 0;
    }

    .swiper-banner {
        position: relative;
        margin: 0;
        height: 100vh;
    }
}




@media screen and (max-width: 500px) {
    .swiper-wrapper .swiper-slide:nth-child(1) {
        background-size: contain;
    }

    .swiper-wrapper .swiper-slide:nth-child(2) {
        background-size: contain;
    }

}


/* = = = 分隔線 = = = = = = = = = == = = = = = = = = = = = = = = == = = */
/*選單設定*/
.nav-menu {
    margin: 0;
}

.header_area .main_header_area .container {
    max-width: 100%;
    transition: all 0.3s;
}

.header_area.sticky .main_header_area .container {
    max-width: 100%;
    transition: all 0.3s;
}



.me_tp_features {
    display: none;
}

/* ===============================
   全站預設：header / 選單 顯示
================================ */

.header_area {
    opacity: 1;
    transform: translateY(0);
}

.stellarnav > ul > li {
    opacity: 1;
    transform: none;
}

/* ===============================
   首頁：一開始隱藏
================================ */

.pageIndex .header_area {
    opacity: 0;
    transform: translateY(-100%);
    pointer-events: none;
}

.pageIndex .stellarnav > ul > li {
    opacity: 0;
    transform: translateY(-10px);
    pointer-events: none;
}

/* ===============================
   首頁：sticky 後顯示
================================ */

.pageIndex .header_area.sticky {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.pageIndex .header_area.sticky .stellarnav > ul > li {
    opacity: 1;
    transform: none;
    pointer-events: auto;
}
/* ===============================
   動畫統一
================================ */

.header_area,
.stellarnav > ul > li {
    transition: opacity .4s ease, transform .4s ease;
}








.pageIndex .header_area {
    position: fixed;
    z-index: 9999;
    width: 100%;
    padding: 0;
    top: 0;
    background: transparent;
    transition: all 0.7s;
}

.header_area.sticky {
    top: 0px;
    background: #1a2754;
    transition: all 0.7s;
}
.header_area {
background: #1a2754;}

.main_header_area {
    position: relative;
    background: #1a2754;
    transition: all 0.5s;
}

.sticky .main_header_area {
    transition: all 0.5s;
}

.stellarnav li.has-sub>a:after {
    display: none;
}



.stellarnav > ul.anchorList > li:nth-of-type(1) {
  display: none !important;
}/* 隱藏首頁按鈕 */

.stellarnav>ul>li>a {
    padding: 0 30px;
    color: #F4DA46;
    text-transform: uppercase;
    position: relative;
    display: flex;
    font-size: 16px;
    line-height: 30px;
    height: fit-content;
    margin: 0;
    cursor: pointer;
    text-align: center;
    transition: all 0.5s;
    overflow: visible;
    flex-direction: column;
}

.stellarnav>ul>li.has-sub>a {
    padding-right: 30px;
}



.sticky .stellarnav>ul>li>a {
    transition: all 0.5s;
}

.stellarnav>ul>li>a b {
    line-height: 20px;
    height: fit-content;
    font-weight: 500;
    transition: all 0.5s;
}

.stellarnav>ul>li>a b:nth-of-type(1) {
    font-size: 16px;
}

.stellarnav>ul>li>a b:nth-of-type(2) {
    color: #ababab;
    margin-top: 3px;
    font-size: 12px;
    transition: all 0.5s;
}

.stellarnav>ul>li:hover>a {
    color: #fff;
    transition: all 0.5s;
}

.stellarnav>ul>li>a:hover b {
    transform: none;
}

.header_area .navigation {
    display: flex;
    width: 100%;
    position: relative;
    padding: 30px 0 30px;
    opacity: 1;
    transition: all 0.3s;
    justify-content: center;
    overflow: visible;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.header_area.sticky .navigation {
    padding: 10px 0 10px;
    opacity: 1;
    transition: all 0.5s;
}


.stellarnav ul {
    margin: 0;
    text-align: center;
}

.stellarnav>ul>li>a:before {
    content: "";
    display: block;
    position: relative;
    width: 50px;
    height: 50px;
    background-position: center;
    background-size: contain;
    background-repeat: no-repeat;
    margin: 0 auto;
    transition: all 0.5s cubic-bezier(0.73, 0.08, 0.11, 0.99);
}

.stellarnav>ul>li>a:hover:before {
    transform: scale(1.1) rotate(10deg);
    transition: all 0.5s cubic-bezier(0.73, 0.08, 0.11, 0.99);
}



.stellarnav>ul>li:nth-of-type(1)>a:before {
    background-image: url(https://pic03.eapple.com.tw/magicshow/icon-01.png);
}

.stellarnav>ul>li:nth-of-type(2)>a:before {
    background-image: url(https://pic03.eapple.com.tw/magicshow/icon-02.png);
}

.stellarnav>ul>li:nth-of-type(3)>a:before {
    background-image: url(https://pic03.eapple.com.tw/magicshow/icon-01.png);
}

.stellarnav>ul>li:nth-of-type(4)>a:before {
    background-image: url(https://pic03.eapple.com.tw/magicshow/icon-02.png);
}

.stellarnav>ul>li:nth-of-type(5)>a:before {
    background-image: url(https://pic03.eapple.com.tw/magicshow/icon-01.png);
}

.stellarnav>ul>li:nth-of-type(6)>a:before {
    background-image: url(https://pic03.eapple.com.tw/magicshow/icon-02.png);
}

.stellarnav li:nth-of-type(7)>a:before {
    background-image: url(https://pic03.eapple.com.tw/magicshow/icon-01.png);
}


.stellarnav li:nth-of-type(8)>a:before {
    background-image: url(https://pic03.eapple.com.tw/magicshow/icon-02.png);
}

.stellarnav li:nth-of-type(9)>a:before {
    background-image: url(https://pic03.eapple.com.tw/magicshow/icon-01.png);
}



/* 全站（包含內頁）選單預設顯示 */
.stellarnav>ul>li {
    opacity: 1;
    transform: none;
}

/* 只有首頁一開始隱藏 */
.pageIndex .stellarnav>ul>li {
    opacity: 0;
    transform: translateY(-50px);
}

/* 首頁滑動後出現 */
.pageIndex .sticky .stellarnav>ul>li {
    opacity: 1;
    transform: translateY(0);
}

/* 延遲出現特效 */

.pageIndex .sticky .stellarnav>ul>li:nth-of-type(1),
.pageIndex .sticky .stellarnav>ul>li:nth-of-type(9) {
    transition-delay: .1s;
}

.pageIndex .sticky .stellarnav>ul>li:nth-of-type(2),
.pageIndex .sticky .stellarnav>ul>li:nth-of-type(8) {
    transition-delay: .2s;
}

.pageIndex .sticky .stellarnav>ul>li:nth-of-type(3),
.pageIndex .sticky .stellarnav>ul>li:nth-of-type(7) {
    transition-delay: .3s;
}

.pageIndex .sticky .stellarnav>ul>li:nth-of-type(4),
.pageIndex .sticky .stellarnav>ul>li:nth-of-type(5) {
    transition-delay: .3s;
}

.pageIndex .sticky .stellarnav>ul>li:nth-of-type(6) {
    transition-delay: .4s;
}

@media screen and (max-width: 1200px) {
.stellarnav>ul>li>a {
    padding: 0 15px;font-size: 14px;}

}


@media screen and (max-width: 1024px) {
    .header_area .navigation {
        padding: 30px 0;
    }

    .header_area.sticky .navigation {
        padding: 20px 0;
    }

    .pageIndex .header_area .main_header_area::before {
        top: 0;
    }
}


@media screen and (max-width: 900px) {
    .stellarnav>ul>li>a {
        padding: 0 12px;
        font-size: 13px;
    }
}

@media screen and (max-width: 768px) {
    .header_area .main_header_area .container {
        max-width: 90%;
    }

    .header_area.sticky .main_header_area .container {
        max-width: 90%;
    }

    /*只影響內頁*/
    body:not(.pageIndex) .stellarnav>ul>li {
        opacity: 1;
        transform: none;
    }
.pageIndex .header_area.sticky,.header_area {
    transform: unset;
}


/*側邊選單*/
    .stellarnav .menu-toggle span.bars {padding: 20px;}
    .stellarnav .menu-toggle:after {margin-top: 8px;font-weight: 400;}
    .stellarnav .menu-toggle span.bars span {height: 1px;}
	.stellarnav.mobile > ul > li > a.dd-toggle{top: 15px;}
	.stellarnav.mobile > ul > li.open > a.dd-toggle{top: 5px;}
	.stellarnav a.dd-toggle .icon-plus:before,.stellarnav a.dd-toggle .icon-plus:after {border-bottom: solid 1px #777;}
	.stellarnav.mobile .close-menu{position: relative;color: transparent;}
	.stellarnav.mobile .close-menu > *{display: none;}
	.stellarnav.mobile .close-menu:before{content: "×";position: absolute;right: 10px;top: 10px;color: #000;
        font-size: 12px;}
    .stellarnav.mobile > ul > li > a b{vertical-align: middle;}
	.stellarnav .menu-toggle span.bars span {height: 2px;width: 28px;background: #F4DA46;}
  .sticky .stellarnav .menu-toggle span.bars span {background:#F4DA46;}
	.stellarnav .menu-toggle:after {display: none;}
	.stellarnav.mobile.right .close-menu, .stellarnav.mobile.left .close-menu {background: transparent;}
	.stellarnav.mobile.left .close-menu {background:#1A2754;width: 32px;height: 32px;margin: 10px 10px 0 auto;
		border-radius: 10px;display: block;}
    .stellarnav.mobile .close-menu:before {font-size: 20px;top: 0;right: 0;display: block;width: 100%;height: 100%;
    	line-height: 30px;text-align: center;color: #F4DA46;padding-left: 1px;}
    .stellarnav.mobile {left: 8px;top: 8px;}
    .stellarnav.mobile li.open {background: #f8f8f8;padding: 0;}
    .stellarnav.mobile li.open li.open {background: #f3f3f3;padding: 0;}
    .stellarnav.mobile li li.has-sub a {padding: 10px 15px;}
    .stellarnav.mobile li.has-sub li a {text-align: left;padding: 8px 15px;color:#1A2754;}
    .stellarnav.mobile li.has-sub li a.dd-toggle{right: 5px;}
    .stellarnav.mobile li.has-sub li a.dd-toggle:hover {padding-left: 0;text-align: center;background: transparent;}
    .stellarnav.mobile > ul > li {border-bottom: 1px #f6f5f5 solid;}
    .stellarnav.mobile > ul > li > a {color: #1A2754;}
    .stellarnav.mobile > ul > li > a.dd-toggle {top: 5px;}
    .stellarnav a.dd-toggle .icon-plus:before, .stellarnav a.dd-toggle .icon-plus:after{width: 10px;}
    .stellarnav.mobile > ul > li > ul > li > ul ~ a.dd-toggle .icon-plus {margin: 0 auto;display: block;}
    .stellarnav li.has-sub li a:hover {background: #fff;color:#1A2754;}


/*icon隱藏*/
.stellarnav>ul>li:nth-of-type(1)>a:before,.stellarnav>ul>li:nth-of-type(2)>a:before,.stellarnav>ul>li:nth-of-type(3)>a:before
,.stellarnav>ul>li:nth-of-type(4)>a:before,.stellarnav>ul>li:nth-of-type(5)>a:before,.stellarnav>ul>li:nth-of-type(6)>a:before
,.stellarnav>ul>li:nth-of-type(7)>a:before,.stellarnav>ul>li:nth-of-type(8)>a:before,.stellarnav>ul>li:nth-of-type(9)>a:before {display: none;}

}



/*下拉*/
.stellarnav ul ul {}

.nav-dropdown>li>a {
    background: #f7f5f5;
    transition: 0.2s;
    letter-spacing: 1.5px;
    width: 100%;
}

.nav-dropdown>li>a:hover {
    transition: 0.2s;
    background-color: #2B3047;
    ;
    color: #fff
}

.nav-dropdown>li:hover>a .submenu-indicator-chevron,
.nav-dropdown>.focus>a .submenu-indicator-chevron {
    border-color: transparent #fff #fff transparent;
}


.stellarnav li li a {
    padding: 10px 15px;
    display: block;
    color: #000;
    background-color: transparent;
    transition: all 0.3s;
}

.stellarnav li li a:hover {
    color: #fff;
    background-color: #1A2754;
    transition: all 0.3s;
}






/* = = = 分隔線 = = = = = = = = = == = = = = = = = = = = = = = = == = = */

/*LOGO設定*/
.header_area .nav-brand {
    display: inline-block;
    width: 100%;
    transition: all 0.5s;
}

.header_area.sticky .nav-brand {
    transition: all 0.5s;
}

.header_area .nav-brand img {
    width: 100%;
    max-width: 100%;
    transition: all 0.3s;
}

.header_area.sticky .nav-brand img {
    transition: all 0.3s;
}

.footer_logo img {
    filter: contrast(0) brightness(100);
    width: 100%;
}

.footer_logo {
    width: 140px;
}



@media screen and (max-width: 1440px) {
    .main_header_area .container {
        max-width: 90%;
    }

}

@media screen and (max-width: 1024px) {
    .header_area {
        position: sticky;
        top: 0;
    }

    .header_area .main_header_area::before {
        content: "";
        display: block;
        width: 100%;
        height: 100%;
        position: absolute;
        top: 0;
        left: 0;
        transition: all 0.85s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    }

}

@media screen and (max-width: 768px) {
    .nav-brand-m {
        display: block;
        text-align: left;
        padding: 15px 10px;
    }

    .nav-brand-m img {
        max-width: 200px;
        width: 100%;
    }
    .header_area .nav-brand img {    width: 80%;}
}

/* -------------------- FOOTER -------------------- */
.footer_info li p.add2:before {
    content: 'FB：';
}

.footer_info li {
    display: flex;
    flex-direction: column; /* 垂直排列 */
}

.footer_info li p.tel{ order:1 ;}
.footer_info li p.line{ order:2 ;}
.footer_info li p.add2{ order:3 ;}
.footer_info li p.mail{ order:4 ;}
.footer_info li p.add{ order:5 ;}



/*RWD */
@media screen and (max-width: 768px) {

    /* 開啟手機板下方按鈕所需設定 */

    .footer.with_shopping_mode {
        padding: 30px 0 55px;
    }

    #to_top {
        bottom: 60px;
    }
}


/*--------------------版權塊 -------------------- */

.copy {
    border-top: none;
    margin-top: 30px;
}

.copy,
.copy a {
    font-size: 10px;
color: #fff;
    background: #1A2754;
}

.copy a:hover {
    color: #1A2754;
    text-decoration: underline #1A2754 1px solid;
    text-underline-offset: 4px;
}

/*YKQK版權塊 -------------------- */

.footer {
    background: #F4DA46;
    padding-top: 40px;
    box-shadow: 0px -5px 20px rgba(51, 51, 51, .05);
}

.footer .center {
    padding: 0 3%;
    max-width: 1200px;
}

.footer_logo {
    width: 40%;
    max-width: 250px;
    margin: 0 auto;
}

.footer_info {
    grid-template-columns: 1fr;
    padding: 0;
    grid-gap: 20px;
}

.footer_info li {
    padding: 0;
}

/* 聯絡資訊 */
.footer_info li:nth-child(1) {
    display: grid;
    grid-template-columns: 1fr;
    max-width: 420px;
    margin: 0 auto;
    gap: 0px 20px;
    text-align: center;
}

.footer_info li p,
.footer_info li p a{
    color: #1A2754;
}


/* 導覽按鈕 */
.footer_info li:nth-child(2) {
    margin-top: 20px;
    text-align: center;
}

.footer_menu a {
    background: transparent;
    border: none;
    font-size: 12px;
    color:#1A2754;
    transition: var(--tr);
}

.footer_menu a:hover {
    background: transparent;
    color: #fff;
    transition: var(--tr);
}

/* 隱藏回首頁 */
/* 隱藏第一個 a */
.footer_menu a:first-of-type {
    display: none;
}

/* 隱藏第二個 a */
.footer_menu a:nth-of-type(2) {
    display: none;
}



/* RWD ↓↓↓ ~~~~~~~~~~~~~~~ */

@media screen and (max-width: 1300px) {
    .footer_info {
        grid-template-columns: 1fr;
        padding-right: 0;
        text-align: center;
    }

    .footer_logo {
        /* width: 120px; */
        margin: 0 auto;
    }

    .box_link {
        position: relative;
        max-width: inherit;
        flex-direction: row;
        right: auto;
        justify-content: center;
    }

    .box_link a {
        margin: 8px;
    }

}


/* RWD ↓↓↓ ~~~~~~~~~~~~~~~ */
@media screen and (max-width: 1024px) {
.me_tp_features {        display: none;}
    }

@media screen and (max-width: 768px) {}
@media screen and (max-width: 480px) {
    .footer_logo {
        width: 60%;
    }
.footer_info ul {
    text-align: left; /* 文字靠左 */}
}




/* ======================== 文章設定 ======================== */

.subbox_item {
  position: relative; /* 父元素定位，讓 icon 可以絕對定位在裡面 */
}

.subbox_item a {
  display: flex;
  flex-wrap: wrap;
  grid-gap: 0;
}

/* 當 hover 或選中時，給每條文字加背景色 */
.blog_le .accordion > li:hover .link a,
.blog_le .accordion > li.on_this_category .link a {
  color: #1a2754 !important;
  background: #f4da46;
  border-radius: 30px;
  padding-left: 50px; /* 給 icon 留空間 */
  transition: all 0.5s;
  display: inline-block;
  position: relative;
}

/* 在每條文字前加小 icon */
.blog_le .accordion > li:hover .link a::before,
.blog_le .accordion > li.on_this_category .link a::before {
  content: '';
  position: absolute;
  left: 15px; /* icon 距離文字左邊 */
  top: 50%;
  transform: translateY(-50%); /* 垂直置中 */
  width: 20px;  /* icon 寬 */
  height: 20px; /* icon 高 */
  background: url('https://pic03.eapple.com.tw/magicshow/icon-01.png') no-repeat center center;
  background-size: contain;
  pointer-events: none; /* 不影響滑鼠 */
}




.accordion li .link a {
  font-weight: 500;
font-size: 16px;
}

.blog_page .main_part,
.blog_in_page .main_part {
  max-width: 1400px;
}

h4.blog_category_title {
  font-size: 28px;
}

.blog_page h4.blog_category_title {
  display: none;
}

h4.blog_category_title span {
  font-size: 24px;
}

/* ======================== 文章管理/外層 ======================== */
.module_i_news ul,
.blog_subbox {
  display: grid;
  gap: 50px 10px;
}

.module_i_news li,
.subbox_item {
  width: 100%;
}

.module_i_news li a,
.subbox_item a {
  padding: 5px;
}

/* 移除原本底線效果 */
.module_i_news li a:after,
.subbox_item a:after {
  display: none;
}

.i_blog_le,
.i_blog_ri,
.blog_list_le,
.blog_list_ri {
  width: 100%;
}

.i_blog_le,
.blog_list_le {
  position: relative;
  padding-bottom: 100%; /* 正方形縮圖 */
  height: 0;
}

.i_blog_le img,
.blog_list_le img {
  display: block;
  max-width: 100%;
  min-width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  border-radius: 15px;
}

.blog_list_ri p {
  line-height: 180%;
  padding-top: 10px;
}

.blog_list_ri {
  padding: 17px 3px 3px 3px;
}

h5.blog_le_t span {
  display: none;
}

/* ======================== 側邊選單 ======================== */
.blog_le .accordion {
  border-radius: 0px;
  border: 0;
}

.blog_le .accordion > li {
  transition: all 0.3s;
}

.blog_le .accordion > li:hover,
.blog_le .accordion > li.on_this_category {
  background: none !important;
}

.submenu a {
  padding: 12px 12px 12px 30px;
  letter-spacing: 1px;
  background: #fff;
}

.submenu a:hover {
  background: #F4DA46;
}
.blog_search input[type=search] {    border: solid 1px #f4da46;}/*搜尋邊框*/

/* ======================== 文章列表格局 ======================== */
.blog_subbox {
  grid-template-columns: 1fr 1fr 1fr;
}

.blog_subbox:before {
  content: none;
}

/* ======================== 文章管理/內層 ======================== */
.blog_shareData {
  justify-content: flex-end;
}

.blog_back a.article_btn_prev,
.blog_back a.article_btn_back,
.blog_back a.article_btn_next {
  background: #1A2754;
  color: #fff;
  border-radius: 50px;
}

.blog_back a.article_btn_prev:hover,
.blog_back a.article_btn_back:hover,
.blog_back a.article_btn_next:hover {
  background: #e2be55;
}

.blog_search input[type=search] {
  border-radius: 15px;
}

.news_related {
  background: #f5fcfe00;
  padding: 10px 0px 20px;

}.blog_box_edit * {
    line-height: 170%;
}

.articel_mainPic img {
    max-width: 60%;
}

.news_related h6 span:before {color: #1a2754;}

/* ======================== hover 顯示圖片 icon (跟隨每篇文章) ======================== */
.subbox_item::after {
  content: "";
  position: absolute; /* 相對於每個文章容器 */
  top: 140px;          /* icon 與文章上方距離，可調整 */
  right: 130px;        /* icon 與文章右方距離，可調整 */
  width: 80px;        /* icon 寬度 */
  height: 80px;       /* icon 高度 */
  background-image: url('https://pic03.eapple.com.tw/magicshow/icon-02.png'); /* 替換成你的 icon 圖片 */
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  opacity: 0;          /* 預設隱藏 */
  pointer-events: none; /* 不影響滑鼠 */
  transition: opacity 0.3s ease-in-out, transform 0.3s ease-in-out;
  transform: scale(0.8); /* 初始縮小 */
}

.subbox_item:hover::after {
  opacity: 1;
  transform: scale(2); /* hover 放大 */
}

.subbox_item a:before {color: #1a2754;}


/* 文章內層間隔與文字 */

.blog_list_ri em {
color: #e2be55;}


.blog_list_ri {
  padding: 15px 3px 8px 3px;
}

.blog_le .accordion li .link:last-child {
  border-bottom: 1px solid rgb(255 255 255 / 0%);
}
.accordion li+li .link {
    border-top: 0;
}
.accordion li .link {
  border-bottom: 1px solid #e2be55;
}

.i_blog_ri {
  padding: 15px 5px 5px 5px;
}

.i_blog_ri h5 {
  color: #444;
}

.blog_list_ri h5 {
  color: #1A2754;
}

.blog_le .accordion li i {
  color: #fff;
}

.blog_le .accordion li.open i {
  color: #fff;
}

.lastPage {
  background: #1A2754;
}

.toShareNews b,
.toShareNews a,
.toShareNews a object,
.toShareNews a i {
  display: none;
}

h5.blog_le_t em {    COLOR: #1a2754;
    font-weight: 600;
}
.accordion li .link a {color: #1a2754;}
/* ======================== RWD ======================== */
@media screen and (max-width: 1024px) {
  .module_i_news ul {
    grid-template-columns: 1fr 1fr;
  }
}

@media screen and (max-width: 768px) {
  h4.blog_category_title {
    font-size: 24px;
  }

  h4.blog_category_title span {
    font-size: 20px;
  }
}

@media screen and (max-width: 600px) {
  .blog_subbox {
    grid-template-columns: 1fr 1fr;
  }

  .i_blog_le,
  .blog_list_le {
    padding-bottom: 100%;
  }

  h4.blog_category_title {
    font-size: 20px;
  }

  h4.blog_category_title span {
    font-size: 18px;
  }

  .articel_mainPic img {
    max-width: 100%;
}
}

@media screen and (max-width: 450px) {
  .module_i_news ul {
    grid-template-columns: repeat(1, 1fr);
  }
}

@media screen and (max-width: 400px) {
  .blog_subbox {
    grid-template-columns: 1fr;
  }
}


/*banner*/

.banblog { 
    position: relative;
    background: #f5f2f000;
    width: 100%;
    object-fit: cover;
    background-size: cover;
    background-position: 50%;
    aspect-ratio: 100 / 25;
    overflow: hidden;
}
.banblog::before {    
    content: "";
    width: 100%;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 0;
    animation: zoomOut 5s;
    background-size: cover;
    background-position: center;
    background: url(https://pic03.eapple.com.tw/magicshow/banblog-1.png) no-repeat center bottom;
    height: 90%;
}

@keyframes zoomOut {
 0% { transform: scale(1.1); }
 100% { transform: scale(1);}
}    


.banblog h5{
    display: flex;
    flex-direction: column;
    justify-content: center;
    z-index: 2;
    width: 100%;
    height: 90%;
    position: absolute;
    top: 0px;
    left: 0px;
    right: 0px;
    bottom: 0px;
    align-items: flex-start !important;
    padding: 0px 20px;
    margin: auto;
    max-width: 1300px;
    color: #FFF;
    font-family: "Noto Serif CJK TC", serif;
    font-size: 45px;
    font-weight: 600;
    line-height: 1.2;
    letter-spacing: 5px;
}

.banblog h5:after {
    content: '專業統籌 × 精彩演出 × 完美呈現';
    display: block;
    font-size: 18px;
    font-weight: 300;
    line-height: 1.2;
    letter-spacing: 2px;
    margin-top: 15px;
    margin-bottom: 0px;
    padding-bottom: 20px;
    position: relative;  
    animation: SlideUp 1s 0.1s ease-in-out forwards;
    opacity: 0; 
}
@keyframes SlideUp {
    0% {    opacity: 0;   -webkit-transform: translateY(30px);   transform: translateY(30px);    }
    100% {  opacity: 1;   -webkit-transform: translateY(0);    transform: translateY(0);    }
}

@media screen and (max-width: 768px) {
.banner h5{    font-size: 22px;}
.banner h5:after{font-size: 14px;}
.banner {min-height: 70vw;}
.banner.banblog h5 {  font-size: 22px;}
}

