@charset "utf-8";
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+TC:wght@100..900&display=swap');
/*高森建材行/高森木木*/

/*
關於CSS設定說明
CSS屬性是會繼承的，而且還是由上往下繼承。
同樣元素設定16px 後 12px 再 15px 最後會以最後設定的15px為準
但是有兩種情況除外:
1.絕對路徑命名. 如: .xx .yy .zz p {設定值;}
2.important.  如: .xx p {設定值 !important;}

CSS3選取器語法 :nth-child(n) 

*/

:root{
    --MainColor:#4A4139;
    --SubColor:#6F6155;
}
body {
    font-family: 'Noto Sans TC', sans-serif;
    letter-spacing: 1px;
}

/*錨點滾動*/
html { 
    scroll-behavior: smooth;
}
::-webkit-scrollbar {
    width: 3px;
}
::-webkit-scrollbar-track { 
    box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.6);
}
::-webkit-scrollbar-thumb {
    background-color: var(--MainColor);
    border-radius: 50px;
}

/* = = = 分隔線 = = = = = = = = = == = = = = = = = = = = = = = = == = = */

/*預設解除背景輪播*/
#content_main { 
    margin:0;
}
.bannerindex { 
    position:relative; 
    height:auto;
}
.swiper-banner { 
    position:static; 
    margin:0; 
    height:auto;
} 
/* .swiper-slide img { height:auto;} */
@media screen and (max-width: 768px) {
.bannerindex { 
    padding:0; 
    margin:0;
}
}

/*大圖特效================================*/
.bannerindex .swiper-slide.swiper-slide-active:before {
	content: "";
	position: absolute;
	z-index: 999;
	pointer-events: none;
}
.bannerindex .swiper-slide.swiper-slide-active:after {
	content: "";
	position: absolute;
	z-index: 999;
	pointer-events: none;
}
.bannerindex .swiper-slide.swiper-slide-active:nth-child(1):after {
	background: url(https://pic03.eapple.com.tw/ksmatstore/word-01.png);
	background-size: contain;
	background-repeat: no-repeat;
	bottom: 35%;
	right: 10%;
	width: 20% !important;
	height: 25% !important;
	background-position: right;
	animation: wave-reveal 4s both;
}
.bannerindex .swiper-slide.swiper-slide-active:nth-child(2):after {
	background: url(https://pic03.eapple.com.tw/ksmatstore/word-02.png);
	background-size: contain;
	background-repeat: no-repeat;
	bottom: 35%;
	right: 10%;
	width: 20% !important;
	height: 25% !important;
	background-position: right;
	animation: wave-reveal 4s both;
}
@keyframes wave-reveal {
	0% {
		clip-path: ellipse(100% 0% at 0% 0%);
	}
	100% {
		clip-path: ellipse(100% 100% at 50% 50%);
	}
}

/*HEADER========================================*/
.header_area{
    background: linear-gradient(180deg, #ffffff, #ffffffa8, #ffffff00);
    position: fixed;
    height: 90px;
}
.header_area.sticky{
    background: linear-gradient(180deg, #ffffff, #ffffff00);
}

@media screen and (max-width: 1024px) {
.header_area{
    background:#fff;
    position: sticky;
    box-shadow: 0 0 6px rgb(0 0 0 / 40%);
    padding: 10px 10px 0px 10px;
    height: auto;
}
.header_area.sticky{
    background:#fff;
    box-shadow: 0 0 6px rgb(0 0 0 / 40%);
}
}
@media screen and (max-width: 768px) {
    .header_area{
        padding: 10px;
}
}

/*選單*/
.tp_links{
    display: none;
}
.me_tp_features{
    display: none;
}
.stellarnav > ul > li > a{
    color: #333;
    font-size: 16px;
    font-family: 'Philosopher';
}
.stellarnav li.has-sub > a:after{
    content: '+';
    border-left: none;
    border-right: none;
    border-top: none;   
}

/*選單最大寬度*/
.main_header_area .container{
    max-width: 1920px;
    width: 95%;
    transition: .3s;
}
.sticky .main_header_area .container {
    max-width: 1920px;
    transition: .3s;
    width: 85%;
}

@media screen and (max-width: 768px) {
    .main_header_area .container{
        width: 95%;
    }
    .sticky .main_header_area .container{
        width: 95%;
    }
    .me_tp_features{
        display: none;
    }
}

/* 商品下拉超過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個--結束 */

/* = = = 分隔線 = = = = = = = = = == = = = = = = = = = = = = = = == = = */

/*側邊按鈕=================================*/
.info_fix{
    bottom: 125px;
    display: flex;
}
a.info_fix_default.info_fix_mail{
    display: none;
}
a.info_fix_default.info_fix_tel{
    display: none;
}
a.info_fix_default.info_fix_fb{
    background: #3b579d;
}
a.info_fix_default.info_fix_line {
    background: #4cc764;
}
a.info_fix_default.info_fix_fb:hover{
    background: #213465;
}
a.info_fix_default.info_fix_line:hover{
    background: #3a924c;
}
.info_fix_links a{
    background: var(--SubColor);
}
.info_fix_links a:hover{
    background: var(--MainColor);
}

/*直接展開*/
.info_fix_links{
    display: flex !important;
}
.info_fix>span{
    display: none;
}

/*TO TOP*/
#to_top{
    bottom: 95px;
    right:20px;
    background: var(--SubColor);
    box-shadow: unset;
    color: #ffffff;
    left:unset;
    width: 50px;
    height: 50px;
    font-size: 14px;
    padding-top: 10px;
}
#to_top i.top{
    height: 10px;
}
#to_top i.top:before, 
#to_top i.top:after {
    height: 10px;
    background: #ffffff;
    height: 10px;
    top: 3px;
}

/*LOGO============================*/
.nav-brand img{
    position: relative;
    top: 3px;
}

/*預設購物車版面 產品分類選單在左側 商品內頁詳細介紹下表單更改樣式 by shint at 2023.1.5  */
.product_page .main_part { 
    max-width:1500px;
}
/* .product_info_page .main_part { max-width:1200px;} */

.product_page .show_content,
.product_info_page .show_content { 
    width: 100%; 
    display: flex; 
    justify-content: space-between; 
    flex-wrap: wrap; 
    align-items: flex-start; 
    align-content: flex-start;
}
.product_page .product_menu_list { 
    position: relative; 
    width: 220px; 
    letter-spacing: 1px; /*border-right: 1px solid #ccc;*/
    min-height: 30vw;
}
.product_page .products-list,
.product-wrapper { 
    width: calc(100% - 270px);
}
ul.page { 
    width: 100%;
}

.product-layer-two li ul { 
    position:static; 
    margin-top:5px; 
    /*display:block !important;*/ 
    width:100%; 
    margin-left:0;
}
.product-layer-two li:hover ul { 
    border: none !important; 
    /*display:block !important;*/
}
.product-layer-two li li { 
    display: block; 
    padding:0; 
    transition:all ease .3s;
}
.product-layer-two li li a{ 
    padding:5px 10px;
}
.product-layer-two li li:hover > a { 
    background:#fff; 
    color:#ad925e;
}
.product-layer-two > li { 
    width:100%; 
    max-width:100%; 
    padding:0; 
    text-align:left; 
    border-bottom:1px dotted #ccc; 
    padding-bottom: 5px;
}
.product-layer-two > li ul > li + li { 
    margin-top:5px;
}

.product_info_page .product_menu_list { 
    display: none;
} 
.product_info_page .products-list,
.product-wrapper { 
    width: 100%;
}

.product-layer-two li li:hover{ 
    margin-left: 15px;
}
.product-layer-two li li > a:before { 
    content: ""; 
    position: absolute; 
    width: 12px; 
    height: 8px; 
    background: transparent; 
    left: 0; 
    margin-left: -20px; 
    top: 50%; 
    margin-top: -4px; 
    clip-path: polygon(0 0, 100% 50% , 0 100%);
}
.product-layer-two li li:hover > a:before { 
    background:#ad925e;
}

.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: 980px) {
}
@media screen and (max-width: 768px) {
.product_menu_list,
.products-list,
.product-wrapper { 
    width: 100%;
}
.product-layer-two { 
    margin-right: 0; 
    grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); 
    grid-gap: 5px;
}
.product_page .product-layer-two,
.product_page .products-list { 
    width: 100%; 
    border-right: none;
}
.product_page .product_menu_list>h5{
    display: block;
}
.product_page .show_content > a { 
    order: 1;
}
.product_page ul.products-list { 
    order: 2;
}
.product_page ul.page { 
    order: 3;
}
.product_page .product_menu_list {
    width: 100%; 
    order: 0; 
    min-height: unset;
}
}
@media screen and (max-width: 600px) {
}

/* = = = 分隔線 = = = = = = = = = == = = = = = = = = = = = = = = == = = */


/*內頁BANNER 設定*/
.banner {}
.banner h5 {}
.banner.banA {}
.banner.banB {}
.banner.banC {}
.banner.banD {}
.banner.banE {}
.banner.banblog {}

/* = = = 分隔線 = = = = = = = = = == = = = = = = = = = = = = = = == = = */


/*文章設定*/
/*一排呈現
.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; } 取消連結被點擊效果
*/


/* = = = 分隔線 = = = = = = = = = == = = = = = = = = = = = = = = == = = */

/*FOOTER=====================================*/
.box_link a{
    display: none;
}
.footer .center {
    padding: 0px 30px;
}
.copy a:hover {
    color: var(--MainColor);
}
.footer_menu a:first-child {
    display: none;
}
.footer {
    background:#fff;
    padding: 45px 0 0px;
    box-shadow: 0 0 6px rgb(0 0 0 / 40%);
}
.footer_info ul {
    width: 100%;
    display: flex;
    flex-direction: row;
}
.footer_info {
    display: flex;
    flex-direction: column;
    padding: 0px;
}
.footer_logo{
    display: none;
}
.footer_menu {
    display: flex;
    justify-content: flex-end;
}
.footer_info li:nth-child(1) {
    width: 100%;
    padding: 10px 0px;
}
.footer_info li:nth-child(2) {
    width: 100%;
    padding: 10px 0px;
}
.footer_info li p {
    color: #222;
    font-size: 13px;
}
.footer_menu a {
    border: none;
    margin: 0 7px;
    background: transparent;
    letter-spacing: 1pt;
    transition: .4s;
    color: #222;
    font-size: 13px;
}
.footer_menu a:nth-last-of-type(1) {
    margin-right:0px ;
}
.footer_menu a:hover {
    background: var(--SubColor);
    transition: .4s;
}
.copy {
    padding: 10px 0;
    width: 95%;
    margin: 20px auto 0px;
    font-size: 11px;
    color: #222;
}
.copy a{
    color: #222;
}
.footer_info li p a {
    color: #222;
    border-left: 1px solid #555;
    padding-left: 15px;
    letter-spacing: 2px;
    margin-left: 65px;
}
.footer_info li p.tel:before {
    content: 'TEL';
    position: absolute;
}
.footer_info li p.mail:before {
    content: 'MAIL';
    position: absolute;
}
.footer_info li p.add:before {
    content: 'ADD';
    position: absolute;
}
.footer_info li p.line:before{
    content: 'LINE ID';
    position: absolute;
}
.footer_info li p.add2:before{
    content: 'TIME';
    position: absolute;
}

@media screen and (max-width: 1200px){
.footer_info li:nth-child(1) {
    width: 50%;
}
.copy {
    display: flex;
    justify-content: center;
}
}

@media screen and (max-width: 980px){
.footer_info ul {
    flex-wrap: wrap;
}
.footer_menu {
    justify-content: flex-start;
}
.box_link {
    top: -10px;
}
.copy {
    border: none;
}
.footer_menu {
    flex-wrap: wrap;
}
.footer_info li:nth-child(1) {
    width: 100%;
    padding: 0px 15px;
}
.footer_logo {
    padding: 0px 18px;
}
.footer_menu a {
    margin: 7px 7px;
    padding: 7px 10px;
}
.copy {
    margin-top: -10px;
}    
.footer {
    padding: 80px 0 0px;
}
}

@media screen and (max-width: 768px) {
.box_link {
    justify-content: flex-start;
    top: 2px;
    left: 2px;
    padding: 0px 0px;
}
.footer_info li+li {
    margin-top: 8px;
}
.footer_menu a {
    margin: 5px 5px;
    border: 1pt solid;
    border-radius: 0;
}
.copy {
    margin-top: 0px;
}
.footer.with_shopping_mode {
    padding: 50px 0 60px;
}
}

/*手機版選單*/
.stellarnav .menu-toggle:after{
    display: none;
}
.stellarnav .menu-toggle span.bars span{
    width: 35px;
    height: 1px;
    margin: 0 auto 5px;
    background: var(--SubColor);
}
.stellarnav .menu-toggle{
    padding: 12px 0;
}

/*第二層*/
.stellarnav.mobile.right .close-menu, 
.stellarnav.mobile.left .close-menu{
    background: var(--SubColor);
    color: #fff;
}
.stellarnav .icon-close:before{
    border-bottom: solid 3px #fff;
}
.stellarnav .icon-close:after{
    border-bottom: solid 3px #fff;
}

@media screen and (max-width: 768px) {
/* 開啟手機板下方按鈕所需設定 */
#bottom_menu {}
.footer.with_shopping_mode {
    padding:30px 0 70px; 
}
}
