@charset "utf-8";
/*凱閔美車工藝*/
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+TC:wght@400;500;600;700;800;900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&display=swap');

:root{
    --MainColor:#E63C7E;
}
#content{
    background-image: url(https://pic03.eapple.com.tw/kaimincar/bg.png);
    background-size:cover;
    background-repeat: no-repeat;
    background-attachment: fixed;
}
#content_main{
    background-color: #111;
    margin-top: -10px;
}
body {
    font-family: 'Noto Sans TC', sans-serif;
    letter-spacing: 1px;
}

/*錨點滾動*/
::-webkit-scrollbar { width: 5px; }
::-webkit-scrollbar-track { box-shadow: inset 0 0 6px rgba(0, 0, 0, 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;}

@media screen and (max-width: 768px) {
.bannerindex { 
    padding:0; 
    margin:0;
}
}

/*大圖特效==============================*/
.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/kaimincar/大圖-01.png);
    aspect-ratio: 1/1;
    height: auto;
    top: 0;
    right: 51%;
}
.pageIndex .swiper-slide:nth-child(2):before {
    width: 48%;
    background-image: url(https://pic03.eapple.com.tw/kaimincar/大圖-02.png);
    aspect-ratio: 1/1;
    height: auto;
    top: 0;
    right: 51%;
}
.pageIndex .swiper-slide.swiper-slide-active:nth-child(1):before {animation: ani_LtoR 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;
    }
}

@media screen and (max-width: 768px) {
.pageIndex .swiper-slide img { 
    animation-fill-mode: none; 
    -webkit-animation-fill-mode: none;
}
}

/*header=================================*/
.tp_links{display: none;}
.me_tp_features{padding: 0;}
.navigation{grid-template-columns: 100px 1fr;}
.header_area{padding: 0; transition: all 0.3s;}
.pageIndex .header_area {
    position: fixed;
    width: 100%;
    transition: all 0.3s ease-in-out;
    background: transparent;
}
.navigation{
    grid-template-columns: 85px 1fr;
    transition: all 0.3s;
}
.main_header_area{
    background: linear-gradient(103deg, #000, var(--MainColor), #000);
    animation: header 5s cubic-bezier(0, -0.17, 0.58, 1);
    transition: all 0.3s;
}
.sticky .main_header_area::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  z-index: 0;
  display: block;
  width: 100%;
  height: 100%;
  background: linear-gradient(103deg, #000, var(--MainColor), #000);
  animation: header 5s cubic-bezier(0, -0.17, 0.58, 1);
  transition: all 0.3s;
}
@keyframes header{
  0%{
     background-position: -2000px;
  }
  100%{
     background-position:0%;
  }
}
.sticky .main_header_area { background:linear-gradient(90deg, #000000f2 , #8f0015e6 ,#dd0000e6 );}


@media screen and (max-width: 1024px) {
    .pageIndex .header_area {
        position:sticky;
        width: 100%;
        transition: all 0.3s ease-in-out;
        background: #000;
    }
}

/*選單*/
.stellarnav > ul > li > a{
    color: #fff;
    transition:all 0.3s;
	padding:0px;
    letter-spacing: 1px;
    text-shadow: 0px 0px 10px rgba(0, 0, 0, 0.839);
    margin: 5px 5px 0px 5px;
}
.stellarnav li.has-sub > a:after{
    content: '+';
    border-left:0px;
    border-right:0px;
    border-top:0px;
}
.stellarnav > ul > li:hover > a{
    color: var(--MainColor);
    letter-spacing: 1.8px;
    font-weight: bolder;
    transition: all 0.3s;
}

@media screen and (max-width: 1024px) {
    .stellarnav > ul > li > a{
        margin: 0 5px;
        line-height: 25px;
        height: 25px;
    }
    .me_tp_features{display: none;}
    .stellarnav ul{padding: 10px 0px;}
}
@media screen and (max-width: 768px) {
     .stellarnav ul{padding: 0px;}
}

/*第二層*/
.stellarnav li li{
    background: #000;
    border-bottom: 1px #333 solid;
    border-bottom-width: 1px;
    border: none;
}
.stellarnav li a{
    color: #fff;
    font-size: 14px;
}
.stellarnav li li:hover > a, .stellarnav li li.has-sub:hover > a{
    color: #fff;
    padding-left: 15px;
    background: var(--MainColor);
    transition: 0.3s;
}
.stellarnav ul ul{background: transparent;}

/*選單最大寬度*/
.main_header_area .container { max-width: 87%; }

@media screen and (max-width: 768px) {
    .main_header_area .container { max-width: 100%; }
}

/*LOGO==============================*/
@media screen and (max-width: 1024px) {
.nav-header{max-width: 100px;}
}

/*浮動按鈕===========================*/
.info_fix {z-index: 99999;bottom: 90px;}
.linksBtn{
    background: var(--MainColor);
    position: relative;
    bottom: 55px;
}
.info_fix:hover>.linksBtn{background: var(--SubColor);}
.info_fix_links a{background: var(--MainColor);}
.info_fix_links a:hover{background: #e63c7eb0;}
a.info_fix_default.info_fix_mail{display: none;}
.info_fix_links{display: flex !important;padding-bottom: 40px;}
.info_fix>span{display: none;}

/*TO TOP*/
#to_top{bottom: 80px;right: 20px;background: var(--MainColor);box-shadow: unset;color: #ffffff;left:unset;}
#to_top i:before, #to_top i:after{background: #ffffff;height: 10px;top: 3px;}
#to_top i.top{height: 15px;}

/*首頁相簿===========================*/
.module_i_album .title_i_box h4{
    color: #ffffff;
    font-size: 25px;
}
.module_i_album .title_i_box h4:before{
    content: 'Album';
    display: block;
    font-family: 'Bebas Neue', serif;
    font-size: 100px;
    top: 25px;
    position: relative;
    color: var(--MainColor);
}
.i_album_list li a p{
    background: rgb(0 0 0 / 64%);
    color: #ffffff;
    backdrop-filter: blur(5px);
}
.module_i_album{background: #111;}
.animated-arrow{background: var(--MainColor);}
.module_i_album section{max-width: 1300px;}
.i_album_list{grid-template-columns: repeat(2, 1fr);}

@media screen and (max-width: 425px) {
    .i_album_list{grid-template-columns: repeat(1, 1fr);}
}

/*banner============================*/
.banner.banB{display: none;}
.banner.banblog h5:before{
    content: 'News';
    display: block;
    font-family: 'Bebas Neue', serif;
    font-size: 100px;
    top: 25px;
    position: relative;
    color: var(--MainColor);
}
.banner.banE h5:before{
    content: 'Album';
    display: block;
    font-family: 'Bebas Neue', serif;
    font-size: 100px;
    top: 25px;
    position: relative;
    color: var(--MainColor);
}
.banner{
    background-image:url(https://pic03.eapple.com.tw/kaimincar/banner.png);
    min-height: 500px;
    background-repeat: no-repeat;
    background-position: center;
    background-color: transparent;
}
.banner h5 {
    font-weight: 100;
    color: #fff;
    font-family: 'Noto Sans TC', sans-serif;
    font-size:25px;
    text-shadow: 1px 1px 15px rgb(38 15 1 / 37%);
}

/*相簿==============================*/
.other_album {display: none;}
.show-list .item:hover a figure img {
    transform: scale(1.35);
    transition: 0.5s;
    top: 0;
    left: 0;
}
.show-list .item a figure img {transition: 0.5s;}
.show-list .show_name {
    text-align: center;
    color: #fff;
}
.other_album_choice { display: none; }
.show-list .item:hover .show_name{color: var(--MainColor);}
.other_subalbum li{background: unset;}

/*第二層*/
.subalbum-menu h2{color: var(--MainColor);}
.other_subalbum li a p{
    color: #fff;
    background: transparent;
}
.album_fixed_title span:before{color: #fff;}
.album_fixed_title{
    background: transparent;
    color: #ffffff;
}
.fa-image::before{color: #fff;}
.album_descrip{color: #fff;}

/*文章管理==========================*/
.accordion li .link a{color: #ffffff;}
h5.blog_le_t,
h4.blog_category_title {
   font-size: 25px;
   margin-bottom: 10px;
   color: #fff;
}
.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: var(--MainColor);
    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:#333; }
.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: #333;
    transition: 0.3s;
    color: #fff;
}
.blog_search input[type=search] { border-radius: 0;}
.blog_le .accordion { border-radius: 2px; }
.blog_subbox.clearfix {
    margin: 0 auto;
    display: grid;
    grid-gap: 15px;
    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;
    grid-gap: 10px;
}
.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%;}
.blog_list_ri em {
    width: 100%;
    color: #7fcbcf;
}
.blog_list_ri h5 {
    position: relative;
    margin: 0px 0 0;
    font-size: 18px;
    letter-spacing: 0.035em;
    color: #ffffff;
}
.blog_list_ri p {
    color: #999;
    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: #fff !important;
    background: var(--MainColor) !important;
    transition: 0.3s;
}
.blog_le .accordion > li:hover, .blog_le .accordion > li.on_this_category {
    background: var(--MainColor) !important;
    transition: 0.3s;
}
.blog_subbox{grid-template-columns: repeat(auto-fill, minmax(250px, 3fr));}
.blog_le .accordion > li:hover .link a, .blog_le .accordion > li.on_this_category .link a{color: #fff !important;}

/*第二層*/
.blog_shareData{flex-direction: row;}
.toShareNews b, .toShareNews a, .toShareNews a object, .toShareNews a i{color: #fff;}
.articel_mainPic img{max-width: 50%;}
.news_related{display: none;}
.lastPage{background: var(--MainColor);}
.news_related_list li a{background:unset;}
.news_related_list li a p{
    color: var(--SubColor);
    line-height: 3;
}
.blog_in_page .edit{color: #fff;}

@media screen and (max-width: 1024px) {
	.blog_subbox.clearfix {
    margin: 0 auto;
    display: grid;
    grid-gap: 10px;
    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: 375px) {
.blog_subbox.clearfix {
    grid-template-columns: 1fr;
}
}

/*FOOTER============================*/
.box_link a { display: none; }
.footer {
	background: #000;
	padding: 30px 0 0;
}
.footer .center {
    position: relative;
    max-width: 1300px;
}
.footer_info {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    padding: 0px;
    flex-direction: column;
	margin-bottom: 15px;
    grid-gap:0px;
}
.footer_menu {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 12px 5px;
}
.footer_menu a {
    margin: 0;
    text-align: left;
    padding: 0;
    transition: all 0.3s;
    border: none;
    background: transparent;
    color: #fff;
    display: block;
    width: fit-content;
}
.footer_menu a:before { content: "·"; }
.footer_menu a:nth-child(1) { display: none; }
.footer_menu a:hover {
	background: transparent;
	color:var(--MainColor);
}
.copy {
	background: linear-gradient(103deg, #000, var(--MainColor), #000);
	color: #fff;
	border:none;
	margin-top: 0px;
	position: relative;
	padding: 15px 0;
}
.copy a{
	color: #fff;
	transition:all 0.3s;
}
.footer_info li { padding: 25px; }
.footer_info ul>li:before {
    font-size:120%;
    color: #fff;
    display: block;
    margin: 0 0 20px;
    border-bottom: 1px solid var(--MainColor);
    padding-bottom: 10px;
    letter-spacing: 0.2em;
    font-weight: bold;
    font-family: 'Bebas Neue';
}
.footer_info ul>li:nth-child(1):before { content: "CONTACT"; }
.footer_info ul>li:nth-child(2):before { content: "MAIN MENU"; }
.footer_info li:nth-child(1) a, .footer_info li:nth-child(1) p {
	color: #fff;
	letter-spacing: 0.15em;
}
.footer_info ul {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(300px,100%), 1fr));
	letter-spacing: 0.15em;
}
.footer_logo img { width: 100%; }
.footer_logo {
    display: inline-block;
    vertical-align: top;
    width: 150px;
    margin: 0px;
}
@media screen and (max-width: 768px) { 
.footer_info li { flex-direction: column;} 
.footer_info li+li{margin-top: 0;}
.footer{padding: 25px 0 54px;}
}

/*手機版選單*/
.stellarnav .menu-toggle:after{display: none;}
.stellarnav .menu-toggle span.bars span{background:#fff;height: 1px;width: 30px;}
.sticky .stellarnav .menu-toggle span.bars span{background: #fff;}
.stellarnav .menu-toggle span.bars{top: 5px;}
.stellarnav .menu-toggle{padding: 55px 25px;}

/*第二層*/
.stellarnav.mobile.left .close-menu{background: var(--MainColor);color: #fff;}
.stellarnav .icon-close:before{border-bottom: solid 3px #ffffff;}
.stellarnav .icon-close:after{border-bottom: solid 3px #ffffff;}
.stellarnav.mobile.right > ul, .stellarnav.mobile.left > ul{background: #000;}

/*bottom menu*/
#bottom_menu li a{background: #111;color: #fff;}
#bottom_menu li{border-right: 1px solid #444;}
