@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}
*/
/* = = = 分隔線 = = = = = = = = = == = = = = = = = = = = = = = = == = = */

/*大圖輪播*/
.bannerindex {     position: relative;    height: auto;}
.bannerindex .swiper-banner {  position: relative;}
@media screen and (max-width: 768px) {
  .bannerindex {   padding-bottom: 0%;}
}

/*共用設定*/
#content_main {   }

/* = = = 分隔線 = = = = = = = = = == = = = = = = = = = = = = = = == = = */


/*大圖*/
.swiper-wrapper .swiper-slide:nth-child(1)::after {
    content: "";
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    background-image: url(https://pic03.eapple.com.tw/yilurenovation/w-1.png);
    width: 100%;
    max-width: 100%;
    height: 100%;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    z-index: 10000;
}
.swiper-wrapper .swiper-slide:nth-child(2)::after {
    content: "";
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    background-image: url(https://pic03.eapple.com.tw/yilurenovation/w-1.png);
    width: 100%;
    max-width: 100%;
    height: 100%;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    z-index: 10000;
}

/* = = = 分隔線 = = = = = = = = = == = = = = = = = = = = = = = = == = = */


/*電腦LOGO*/
.nav-brand {}

/*手機LOGO*/
.nav-brand-m {}


/*header*/
.header_area { padding: 0px; position: fixed;width: 100%;     background: linear-gradient(to bottom, #535353b0 0%, #00000000 100%);}
.header_area.sticky {    background: none;}
.navigation {}
.nav-header {width: 70%; transition: 0.5s all;}
.header_area.sticky .nav-header {    width: 50%; transition: 0.5s all;}
.main_header_area .container {  max-width: 90%;}
.stellarnav ul ul{background: #2d3031;}
.stellarnav ul ul a:hover{padding: 10px 20px;}
.stellarnav li li{border: none;margin-bottom: 0;}
.stellarnav > ul > li{padding: 0px 3px;position: relative;transition: all .5s;}
.stellarnav > li > a:before{content: "";width: 0;height: 2px;background: #5c6a67;position: absolute;bottom: 0;left: 0;transition: all .5s;}
.stellarnav > li > a:hover:before{width: 100%;}
.stellarnav li > a {color: #fff;letter-spacing: 2px;font-weight: 300;position: relative;padding: 10px 15px;font-size: 13px;transition: all .5s;}
.stellarnav li.has-sub > a:after {border-left: 5px solid transparent;border-right: 5px solid transparent;border-top: 4px solid #ccc;}
.nav-dropdown > li > a{background: #fff;padding: 10px 15px;font-size: 14px;color: #000;}
.nav-dropdown > li > a:hover{background: #fff;color: #000;}

.stellarnav > ul > li.drop-left > ul {  right: 0;  left: 0;}

.header_area .main_header_area:before {
    content: '';
    display: block;
    position: absolute;
    width: 100%;
    padding-bottom: 120px;
    top: -120px;
    background: #ffffffde;
    box-shadow: 0px 2px 5px #b3b3b366;
    transition: 0.5s all;
}
.header_area.sticky .main_header_area:before {
    transition: 0.5s all;
    top: 0px;
}


@media screen and (max-width: 1024px) {
	.header_area {position: relative;}
  .header_area.sticky {    position: fixed;}
  .nav-header {    max-width: 15%;}
	.main_header_area {background: #2d3031;}
  .sticky .main_header_area {background: none;}
	.main_header_area .container {}
	.navigation {}
	.nav-header {top: 15px;}
	.stellarnav > ul > li {padding: 0 15px;}
	.stellarnav > ul > li > a{padding: 5px 5px 10px 5px;}
	.stellarnav li.has-sub > a {padding: 5px 20px 10px 0;}

  .header_area .main_header_area:before {    padding-bottom: 220px;      top: -220px;}
}
@media screen and (max-width: 768px) {
    .header_area .main_header_area:before {      padding-bottom: 16%;        top: -125%;    }
}
/*LOGO*/
.nav-brand img {  filter: brightness(20);}
.header_area.sticky .nav-brand img {  filter: brightness(1);}

/*右上匯款通知*/
.fa-basket-shopping::before {  color: #595555;}
.fa-credit-card::before {   color: #595555;}
.me_tp_features a:hover.tp_btn_cart {   background: none;}
.me_tp_features a:hover.tp_btn_notice { background: none;}
.shop_search_btn {   background: #4f4f4f;}
.me_tp_features { }
.tp_links {   display: none;}

/*選單*/
.stellarnav > ul > li > a {
    font-size: 16px;
    padding: 0px 0px 0px 0px;
    color: #ffffff;
    margin: 0px 15px 0 15px;
    letter-spacing: 1px;
    height: 35px;
}
.sticky .stellarnav > ul > li > a {   color: #595555} 

.stellarnav > ul > li > a:hover {

}
.stellarnav > ul > li:before{
    content: "";
    width: 65%;
    height: 2px;
    background: #ffffff;
    position: absolute;
    bottom: 0px;
    left: 50%;
    transform: translateX(-50%);
    opacity: 0;
    transition: all .5s;
}
.sticky .stellarnav > ul > li:before{
    background: #595555;
}
.stellarnav > ul > li:hover:before{opacity: 1;bottom: 5px;}

.stellarnav li.has-sub > a:after {border-top:unset}


@media screen and (max-width: 1240px) {
    .navigation {  padding: 0px 0px 0px 0px;}
    .stellarnav > ul > li > a {  padding: 0px 0px 0px 0px;     margin: 0px 7px;   }
}
@media screen and (max-width: 768px) {
    .stellarnav.mobile ul {      background: #555;    }
    .stellarnav > ul > li > a::before {   content: none;}
    .me_tp_features {  }    
}
@media screen and (max-width: 425px) {
    .nav-brand img { width: 210px;}
}

@media screen and (max-width: 768px) {
    .stellarnav .menu-toggle {}  
    .stellarnav .menu-toggle:after { color: #fff;}
    .sticky .stellarnav .menu-toggle:after { color: #555555;}
    .stellarnav .menu-toggle span.bars span {  background: #fff;}
    .sticky .stellarnav .menu-toggle span.bars span {  background: #555555;}
    .stellarnav.mobile {   top: 22px;}
    .stellarnav.mobile > ul > li > a { color: #555555; border: none;}
    .stellarnav.mobile.right .close-menu, .stellarnav.mobile.left .close-menu {   background: #e9e9e9;   }
    .stellarnav.mobile.left > ul { background: #e9e9e9;}
    .stellarnav.mobile li.open {  background: #e9e9e9;}
    .stellarnav.mobile > ul > li {   border-bottom: 1px #555555 solid;}
    .stellarnav li li {  border: none;}
    .stellarnav li a {  color:#555555;  }
    .stellarnav.mobile li.open li.open { background: #555;}
    .stellarnav li.drop-left ul ul {  left: auto;}
    .stellarnav a.dd-toggle .icon-plus {   background: none;}
    .stellarnav li li.has-sub > a {  background: none;}
    .stellarnav li li.has-sub > a:hover {background: none;}
}
@media screen and (max-width: 425px) {
    .stellarnav .menu-toggle { padding: 25px 11px;}
}

/* = = = 分隔線 = = = = = = = = = == = = = = = = = = = = = = = = == = = */

/* FOOTER區塊 */
/*※※※※※【【  固定區塊不動↓↓↓  】】※※※※※*/
.footer .center{max-width: 1200px;padding: 0 3%;}
.footer_logo{width: 150px;margin: 0;}
.footer_logo img{width: 100%;}
.footer_info{padding: 0;display: flex; flex-direction: column;}
.footer_info li{padding: 10px 0;display: inline-block;vertical-align: middle;}
.footer_info li:nth-child(1){width: 100%;}
.footer_info li:nth-child(2){width: 100%;}
.footer_info li p,.footer_info li p a{color: #444;}
.footer_menu a {background: transparent;color: #555;border: none;font-weight: 300;}
.copy {border-top: none;}
.copy a{color: #444;font-weight: 200;}
.box_link {top: 100%;width: 100%;text-align: right;padding: 0 3%;max-width: 300px;display: none;}
.box_link a {display: inline-block;width: 30px;height: 30px;border: none;background: #111;padding: 0px;border-radius: 30px;}
.box_link a i{max-width: 100%;font-size: 18px;line-height: 30px;display: block;}

@media screen and (max-width: 768px){
	.footer {padding:30px 0;}
	.footer_logo{margin-bottom: 0;}
	.footer_info ul {flex-wrap: wrap;}
	.footer_info li:nth-child(1){width: 100%;}
	.footer_info li:nth-child(2){width: 100%;text-align: center;}
	.footer_menu {margin: 0;}
	.footer_menu a{font-size: 12px;}
	.box_link{position: relative;right: 0;top: 0;text-align: left;padding: 15px 0;}
	.copy {padding: 30px 3% 0 3%;text-align: center;border-top: 1px solid #555;font-size: 12px;}
}
	
/*※※※※※【【  此案件更動處↓↓↓  】】※※※※※*/
.footer{background: #F6F5F2;  padding: 50px 0;}
.footer .center {max-width: 1600px;}
.footer_info ul{width: 100%;}
.footer_info li:nth-child(1){position: relative;}
.footer_info li:nth-child(1):before{content: "ALLEN OPTICAL";display: block;font-size: 24px; color: #2d2d2d; margin-bottom: 10px;font-weight: 800;letter-spacing: 1px;}
/*.footer_info li:nth-child(1):after{content: "";width: 100px;height: 100px;position: absolute;right: 0;bottom: 0;}*/
.footer_info li:nth-child(2) {border-top: 1px solid #dbdbdb;text-align: right;margin-top: 20px;}
.footer_logo{     position: absolute;    right: 4%;    top: 1%;}
.footer_menu {padding: 10px 0;}
.footer_menu a {border-right: 1px solid #ccc;padding: 0 12px;text-align: center;margin: 0;}
.footer_menu a:last-child{border-right: none;padding-right: 0;}
.footer_menu a:hover{background: transparent; color: #2d2d2d;}
.footer_menu a:nth-child(1){display: none;}

.footer_info li p.add2:before {    content: '營業時間：';}

.copy {text-align: right;max-width: 1600px;padding: 0 3%;margin: 0 auto;font-size: 12px;}
.copy a:hover {    color: #2d2d2d;}

@media screen and (max-width: 768px){
    .footer_info {  align-items: center;}
    .footer_info li {     padding: 5px 0;}
	.footer_info li:nth-child(1):after {width: 80px; height: 80px; bottom: 15px;}
	.footer_menu {text-align: center; margin: 0 auto;}
	.footer_menu a{width: 30%;}
	.footer_menu a:last-child {padding-right: 13px;}
	.copy {border-top: none;text-align: center;}
}
@media screen and (max-width: 600px){ 
    .total_view { display: contents;}
}
/* = = = 分隔線 = = = = = = = = = == = = = = = = = = = = = = = = == = = */

/* 商品下拉超過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個--結束 */


/* = = = 分隔線 = = = = = = = = = == = = = = = = = = = = = = = = == = = */


/*預設購物車版面 產品分類選單在左側 商品內頁詳細介紹下表單更改樣式 by shint at 2025.12.18  */
.product_page .main_part { max-width:1500px;}

.product_page .show_content,
.product_info_page .show_content { display: flex; justify-content: space-between; flex-wrap: wrap; align-items: flex-start; align-content: flex-start; width: 100%;}
ul.page { width: 100%;}

.ProdFilter_Item_Show { width: 100%;}
.Prods_Menulists { width: 100%; padding: 0;}
.Prods_Wrap { width: calc(100% - 270px);}

/* 篩選器-左手邊 / 產品分類-上面
.ProdFilter_ { order: 2;}
.Prods_Menulists { order: 1;}
.Prods_Wrap { order: 3;}
.ProdFilter_ { width: 250px; letter-spacing: 1px;}
.ProdFilter_ li { width: 100%;}
.ProdFilter_ li > a { background: #f3f3f3; border: none; border-bottom: 3px #ddd solid;}
.ProdFilter_ dl { position: static; width: 100%; display: block;}
*/

/* 產品分類-左手邊 / 篩選器-上面 */

.ProdFilter_ { order: 1; margin-bottom: 25px;}
.Prods_Menulists { order: 2;}
.Prods_Wrap { order: 3;}
.Prods_Menulists { width: 250px; letter-spacing: 1px;}
.Prods_Menulists ul {}
.Prods_Menulists > ul > li { width: 100%; flex-wrap: wrap;}
.Prods_Menulists ul ul { position: static; border: none;}
.Prods_Menulists ul li ul li {}
.Prods_Menulists li.has-sub.open > a { background: #f0f0f0;}

.product_info_page .half_box { width: 100%; float: none; padding-right: 0;}
.product_info_page .half_box li.btn_blankTop { margin-top: 50px; justify-content: space-between; display: flex;}
.product_info_page .half_box li.btn_blankTop input { width: calc(50% - 10px); background-image: none; padding: 0; text-align: center;}

@media screen and (max-width: 1200px) {
}
@media screen and (max-width: 1024px) {
.product_main { display: block; width: 100%;}    
.sidebarBtn { display: block; width: 100%;}
}
@media screen and (max-width: 980px) {
}
@media screen and (max-width: 768px) {
/* 篩選器-左手邊 / 產品分類-上面
.Prods_Wrap { width: 100%;}
.ProdFilter_ { width: 100%;}
.ProdFilter_Item_Show { width: calc(100% - 110px);}
.ProdFilter_ { order: 1;}
.Prods_Menulists { order: 2;}
.ProdFilter_ li > a span { color: #333;}
*/

.Prods_Wrap { width: 100%; margin-top: 20px;}
.ProdFilter_ { width: 100%;}
.Prods_Menulists { opacity: 0; display: none;}

}
@media screen and (max-width: 600px) {
}


/* = = = 分隔線 = = = = = = = = = == = = = = = = = = = = = = = = == = = */

/* 2025.12.26 中間放大*/
.BannerHome02 .swiper-slide-active img { transform: scale(1);}
.BannerHome02 .swiperBan02 .swiper-slide img { transition: transform 5s ease-out; will-change: transform; transform: scale(1);}
.BannerHome02 .swiperBan02 .swiper-slide-active img { transform: scale(1.06);}


/* = = = 分隔線 = = = = = = = = = == = = = = = = = = = = = = = = == = = */




/* = = = 分隔線 = = = = = = = = = == = = = = = = = = = = = = = = == = = */


/*內頁BANNER 設定*/
.banner {}
.banner h5 {}
.banner.banA {}
.banner.banB {}
.banner.banC {}
.banner.banD {}
.banner.banE {}
.banner.banblog {}
.banner.banDesign { background-color:#333;}

/* = = = 分隔線 = = = = = = = = = == = = = = = = = = = = = = = = == = = */


/*文章設定*/
/*一排呈現
.subbox_item { width:100%;}
*/
  

/* = = = 分隔線 = = = = = = = = = == = = = = = = = = = = = = = = == = = */


/*相本分類全版面 ( 限制最寬2000px
.work_page .main_part { max-width:2000px;}
.work_page .show_content { padding:0; width:100%;}
.work_page .show-list .item { width:33%; display:inline-block; float:none; margin:0; padding:0;}
@media screen and (max-width: 768px) {
.work_page .show-list .item { width:49%;}
}
@media screen and (max-width: 570px) {
.work_page .show-list .item { width:100%;}
}
.work_page .show-list .item a { max-width:100%;}
.work_page .show-list .show_pic { height:auto; line-height:0;}
.work_page .show-list .show_pic img { max-width:100%; max-height:100%;}
.work_page .show-list .show_name { position:absolute; top:50%; right:10%; width:80%; height:auto; line-height:160%; font-size: 20px; color: #FFFFFF !important; border: solid 1px #fff; text-align: center; margin: -20px 0 0 -120px; padding:5px 20px; transition:all ease-in .3s; opacity:0;}
.work_page .show-list .item:hover .show_name {opacity:1;}
*/


/* = = = 分隔線 = = = = = = = = = == = = = = = = = = = = = = = = == = = */


/*相本列表
.work_info_page .main_part { max-width:2000px;}
.work_info_page .show_content { padding:0; width:100%;}
.work_info_page .subalbum-menu { text-align:center;}
.work_info_page .subalbum-menu h2 { float:none;}
.work_info_page .pic-list .item { margin:0; padding:10px; width:49%; float:none; display:inline-block;}
@media screen and (max-width: 768px) {
.work_info_page .pic-list .item { width:100%;}
}
.work_info_page .pic-list .show_pic { height:auto; line-height:0;}
.work_info_page .pic-list .show_pic img { max-width:100%; max-height:100%;}
.work_info_page .pic-list .item a { max-width:100%; pointer-events: none; cursor: default; } 取消連結被點擊效果
*/


/* = = = 分隔線 = = = = = = = = = == = = = = = = = = = = = = = = == = = */





@media screen and (max-width: 768px) {
/* 開啟手機板下方按鈕所需設定 */
#bottom_menu { display: none;}
.footer.with_shopping_mode { padding:30px 0 40px; }
#to_top { bottom:60px;}
}

@media screen and (max-width: 600px) { 
}




