@charset "UTF-8";

/****header****/
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100px;
    z-index: 999;
}

header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    display: block;
    width: 100%;
    height: 100%;
    background: #fff;
    box-shadow: 12px 11px 62px rgba(0, 0, 0, .17);
    opacity: 0;
    transition: opacity .4s ease-in-out;
}

header.noShadow::before {
    box-shadow: none;
}

header::after {
    content: '';
    position: absolute;
    top: -255px;
    left: -255px;
    display: block;
    width: 450px;
    height: 450px;
    border-radius: 50%;
    transform-origin: center;
    background:
        radial-gradient(ellipse at center, #fff calc(65% - 1px), rgba(255, 255, 255, 0) 65%),
        linear-gradient(45deg, #00357c 0%, #00e4ff 100%);
    transition: transform .4s ease-in-out;
    overflow: hidden;
}

.navbar {
    display: flex;
    align-items: center;
    align-content: center;
    justify-items: flex-start;
    justify-content: flex-start;
    width: 100%;
    height: 100%;
    padding: 0 0 0 40px;
}

/****logo****/
.logo {
    display: block;
    width: 72px;
    margin: 0 auto 0 0;
    transform-origin: top left;
    transform: scale(1.33) translate(-20px, 5px);
    transition: transform .4s .2s ease-in-out, opacity .4s ease-in-out;
    z-index: 10;
}

.logo:hover {
    opacity: .7;
}

/****main menu bg****/
.mainMenuBg {
    position: fixed;
    top: 0;
    left: 0;
    display: block;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, .7);
    opacity: 0;
    pointer-events: none;
    transition: opacity .4s ease-in-out;
    z-index: 20;
}

/****main menu****/
.mainMenu {
    position: fixed;
    top: 0;
    left: 100%;
    display: block;
    width: 100%;
    height: 100%;
    max-width: 1080px;
    padding: 160px 130px 80px 130px;
    background: #fff;
    transition: transform .4s ease-in-out;
    overflow: hidden;
    overflow-y: auto;
    z-index: 50;
}

.mainMenu::-webkit-scrollbar {
    width: 0;
}

.mainMenu::-webkit-scrollbar-thumb {
    background: var(--mainColor);
}

.mainMenu__item {
    display: block;
    width: 100%;
    margin: 0 0 45px 0;
    overflow: hidden;
}

/*.mainMenu__item.dropdown .mainMenu__item__link::after {
    content: '';
    position: absolute;
    top: calc(.5em - 6.5px);
    right: 0;
    display: block;
    width: 25px;
    height: 13px;
    background: url(../images/common/icon_arrow_bottom_gray.svg) center/contain no-repeat;
}*/
.sp_nav_main {position: absolute; top: calc(.5em - 6.5px); right: 0; z-index: 100; display: block; width: 25px;height: 37px; background: url(../images/common/icon_arrow_bottom_gray.svg) center/contain no-repeat; cursor: pointer;}
li > i.open {transform: scaleY(-1);}

.sp_nav_left {position: absolute; top: 9px; right: 21px; z-index: 100; display: block; width: 30px;height: 40px; cursor: pointer;}
.sp_nav_left::before {content: ''; background: #3b3b3b; width: 12px; height: 2px; position: absolute; top: 19px; left: 9px;}
.sp_nav_left::after {content: ''; background: #3b3b3b; width: 2px; height: 12px; position: absolute; top: 14px; left: 14px;}
li > i.pick::after {content: none!important;}

.mainMenu__item.dropdown.active .mainMenu__item__link::after {
    transform: scaleY(-1);
}

.mainMenu__item__link {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    align-content: flex-end;
    justify-items: flex-start;
    justify-content: flex-start;
    width: 100%;
    padding: 0 0 45px 0;
    font-size: 40px;
    line-height: 1;
    color: var(--textColor);
    font-family: 'Poppins-B', 'NotoSansTC-M';
    border-bottom: 1px solid rgba(28, 28, 28, .15);
    transition: border-color .4s ease-in-out;
}

.mainMenu__item.current .mainMenu__item__link,
.mainMenu__item__link:hover {
    color: var(--mainColor);
    border-bottom: 1px solid var(--mainColor);
}

.mainMenu__item__link__main {
    display: block;
    width: auto;
    max-width: 100%;
    margin: 0 25px 0 0;
    font-size: inherit;
    line-height: inherit;
    color: inherit;
    font-family: inherit;
    flex: 0 0 auto;
}

.mainMenu__item__link__sub {
    display: block;
    width: auto;
    max-width: 100%;
    margin: 10px 0 0 0;
    font-size: 15px;
    line-height: 1;
    color: rgba(28, 28, 28, .7);
    font-family: 'Poppins-M', 'NotoSansTC-M';
    flex: 0 0 auto;
}

.mainMenu__item.current .mainMenu__item__link__sub,
.mainMenu__item__link:hover .mainMenu__item__link__sub {
    color: var(--mainColor);
}

.mainMenu__item__list {
    left: -10px;
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    align-content: flex-start;
    justify-items: flex-start;
    justify-content: flex-start;
    width: calc(100% + 20px);
    /*padding: 20px 0 0 0;*/
    list-style: none; max-height: 0; overflow: hidden; transition: all 0.5s ease 0s;
}
.mainMenu li ul.activ {max-height: 1000px; padding: 20px 0 0 0; transition: all 0.5s ease 0s;}

.mainMenu__item__list::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 10px;
    display: block;
    width: calc(100% - 20px);
    height: 1px;
    background: rgba(28, 28, 28, .15);
}

.mainMenu__item__list__item {
    display: block;
    width: calc(33.33% - 20px);
    margin: 0 10px 20px 10px;
}

.mainMenu__item__list__item__link {
    display: block;
    width: 100%;
    padding: 10px 0;
    font-size: 15px;
    line-height: 1.2;
    color: var(--textColor);
    font-family: inherit;
    transition: color .4s ease-in-out;
}

.mainMenu__item__list__item.current .mainMenu__item__list__item__link,
.mainMenu__item__list__item__link:hover {
    color: var(--mainColor);
}

/**sns**/
.mainMenu__sns {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    align-content: flex-start;
    justify-items: flex-start;
    justify-content: flex-start;
    width: 100%;
    margin: 25px 0 0 0;
}

.mainMenu__sns__item {
    display: flex;
    align-items: center;
    align-content: center;
    justify-items: flex-start;
    justify-content: flex-start;
    width: auto;
    max-width: 100%;
    margin: 0 25px 15px 0;
    font-size: 15px;
    line-height: 1;
    color: var(--textColor);
    font-family: inherit;
    transition: opacity .4s ease-in-out;
}

.mainMenu__sns__item[target="_blank"]::after {
    content: '';
    position: relative;
    display: block;
    width: 13px;
    height: 13px;
    margin: 0 0 0 7px;
    background: url(../images/common/icon_newblank.svg) center/contain no-repeat;
    flex: 0 0 auto;
}

.mainMenu__sns__item:hover {
    opacity: .7;
}

/****serch toogle****/
.searchbarBt {
    display: flex;
    align-items: center;
    align-content: center;
    justify-items: center;
    justify-content: center;
    width: 100px;
    height: 100%;
    cursor: pointer;
}

.searchbarBt::before {
    content: '';
    position: relative;
    width: 30%;
    height: 30%;
    background: url(../images/common/icon_magnifier.svg) center/contain no-repeat;
}

header.white .searchbarBt::before {
    filter: brightness(0) invert(1);
}

/****search bar****/
.searchbar {
    position: fixed;
    top: 0;
    left: 0;
    display: flex;
    align-items: center;
    align-content: center;
    justify-items: flex-start;
    justify-content: flex-start;
    width: 100%;
    height: 100px;
    padding: 0 0 0 60px;
    opacity: 0;
    pointer-events: none;
    transition: opacity .4s ease-in-out;
    z-index: 100;
}

.searchbar::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    display: block;
    width: 100%;
    height: 100%;
    background: #fff;
}

.searchbar__bg {
    position: fixed;
    top: 0;
    left: 0;
    display: block;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, .7);
    z-index: -10;
}

.searchbar__keyword {
    display: block;
    width: 100%;
    height: 100%;
    padding: 0;
    font-size: 25px;
    line-height: 1;
    color: #1c1c1c;
    font-family: 'Poppins-M', 'NotoSansTC-M';
    border: none;
    flex: 0 1 auto;
}

.searchbar__keyword::placeholder {
    color: rgba(28, 28, 28, .5);
}

.searchbar__submit {
    display: flex;
    align-items: center;
    align-content: center;
    justify-items: center;
    justify-content: center;
    width: 120px;
    height: 50px;
    font-size: 15px;
    line-height: 1;
    color: #1c1c1c;
    font-family: 'NotoSansTC-M';
    background: #e4e4e4;
    cursor: pointer;
    transition: background-color .4s ease-in-out, color .4s ease-in-out;
    flex: 0 0 auto;
}

.searchbar__submit input[type="submit"] {
    display: block;
    width: 100%;
    height: 100%;
    padding: 0;
    font-size: inherit;
    line-height: inherit;
    color: inherit;
    font-family: inherit;
    border: none;
    opacity: .4;
    cursor: pointer;
    transition: opacity .4s ease-in-out;
}

.searchbar__submit:hover {
    color: #fff;
    background: var(--mainColor);
}

.searchbar__submit:hover input[type="submit"] {
    opacity: 1;
}

.searchbar__close {
    display: block;
    width: 100px;
    height: 100%;
    margin: 0 0 0 65px;
    background: var(--mainColor);
    cursor: pointer;
    flex: 0 0 auto;
}

.searchbar__close::before,
.searchbar__close::after {
    content: '';
    position: absolute;
    top: calc(50% - .5px);
    left: calc(50% - 20px);
    display: block;
    width: 40px;
    height: 1px;
    background: #fff;
    transform-origin: center;
}

.searchbar__close::before {
    transform: rotate(15deg)
}

.searchbar__close::after {
    transform: rotate(-15deg);
}

#searchbarCheck:checked~.searchbar {
    opacity: 1;
    pointer-events: all;
}

#searchbarCheck:checked~.navbt {
    z-index: auto;
}

/****language switch****/
.lang {
    display: block;
    width: 200px;
    height: 100%;
    background: var(--bgColor);
    border: none;
    border-left: 1px solid transparent;
    flex: 0 0 auto;
}

.lang__bt {
    display: flex;
    align-items: center;
    align-content: center;
    justify-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    font-size: 15px;
    line-height: 1.2;
    color: #1c1c1c;
    font-family: 'Poppins', 'NotoSansTC';
    cursor: pointer;
}

.lang__bt::before {
    content: '';
    position: relative;
    display: none;
    width: 38%;
    height: 38%;
    background: url(../images/common/icon_earth.svg) center/contain no-repeat;
}

.lang__bt::after {
    content: '';
    position: relative;
    display: block;
    width: 15px;
    height: 8px;
    margin: 0 0 0 10px;
    background: url(../images/common/icon_arrow_bottom_gray.svg) center/contain no-repeat;
    flex: 0 0 auto;
}

.lang__list {
    position: absolute;
    top: 100%;
    left: 0;
    display: flex;
    flex-wrap: wrap;
    align-items: stretch;
    align-content: stretch;
    justify-items: flex-start;
    justify-content: flex-start;
    width: 200%;
    background: #fff;
    box-shadow: -21px 21px 38px rgba(0, 11, 40, .51);
    opacity: 0;
    pointer-events: none;
    visibility: hidden;
    transition: opacity .4s ease-in-out;
    z-index: 200;
}

#langmenuCheck:checked~.lang__bt::after {
    transform: scaleY(-1);
}

#langmenuCheck:checked~.lang__list {
    opacity: 1;
    pointer-events: all;
    visibility: visible;
}

.lang__list__head {
    display: none;
    align-items: stretch;
    align-content: stretch;
    justify-items: flex-start;
    justify-content: flex-start;
    width: 100%;
    height: 65px;
    border-bottom: 1px solid #e5e6e7;
}

.lang__list__head__title {
    display: flex;
    align-items: center;
    align-content: center;
    justify-items: flex-start;
    justify-content: flex-start;
    width: 100%;
    padding: 0 10px 0 30px;
    font-size: 15px;
    line-height: 1;
    color: var(--textColor);
    font-family: 'Poppins-M', 'NotoSansTC-M';
}

.lang__list__head__close {
    display: block;
    width: 65px;
    height: 100%;
    background: var(--mainColor);
    cursor: pointer;
    flex: 0 0 auto;
}

.lang__list__head__close::before,
.lang__list__head__close::after {
    content: '';
    position: absolute;
    top: calc(50% - .5px);
    left: calc(50% - 15px);
    display: block;
    width: 30px;
    height: 1px;
    background: #fff;
    transform-origin: center;
}

.lang__list__head__close::before {
    transform: rotate(15deg);
}

.lang__list__head__close::after {
    transform: rotate(-15deg);
}

.lang__list__item {
    display: flex;
    align-items: center;
    align-content: center;
    justify-items: center;
    justify-content: center;
    width: 50%;
    min-height: 50px;
    padding: 10px;
    font-size: 14px;
    line-height: 1.2;
    color: #1c1c1c;
    font-family: 'Poppins', 'NotoSansTC';
    transition: color .4s ease-in-out, background-color .4s ease-in-out;
}

.lang__list__item.active,
.lang__list__item:hover {
    color: #fff;
    background: var(--mainColor);
}

/****inquiry cart****/
.headerCart {
    display: flex;
    align-items: center;
    align-content: center;
    justify-items: center;
    justify-content: center;
    width: 100px;
    height: 100%;
    border-left: 1px solid #e4e4e4;
    background: var(--bgColor);
}

.headerCart img {
    object-fit: contain;
    object-position: center;
    width: 35%;
    height: 35%;
}

.headerCart__count {
    position: absolute;
    top: 10px;
    right: 10px;
    display: flex;
    align-items: center;
    align-content: center;
    justify-items: center;
    justify-content: center;
    width: auto;
    max-width: calc(100% - 20px);
    min-width: 28px;
    height: 22px;
    font-size: 13px;
    line-height: 1;
    color: #fff;
    font-family: 'Poppins-M', 'NotoSansTC-M';
    background: var(--mainColor);
    border-radius: 11px;
    overflow: hidden;
}

/****main menu toogle button****/
.navbt {
    display: block;
    width: 100px;
    height: 100%;
    background: var(--mainColor);
    cursor: pointer;
    flex: 0 0 auto;
    z-index: 100;
}

.navbt::before,
.navbt::after {
    content: '';
    position: absolute;
    left: calc(50% - 20px);
    display: block;
    width: 40px;
    height: 1px;
    background: #fff;
    transform-origin: center;
    transition: transform .4s ease-in-out;
}

.navbt::before {
    top: calc(50% - 5.5px);
}

.navbt::after {
    bottom: calc(50% - 5.5px);
}

/****menu open style****/
#mainmenuCheck:checked~.mainMenuBg {
    opacity: 1;
    pointer-events: all;
}

#mainmenuCheck:checked~#searchbarCheck~.mainMenu {
    transform: translateX(-100%);
}

#mainmenuCheck:checked~.navbt::before {
    transform: translateY(5px) rotate(15deg);
}

#mainmenuCheck:checked~.navbt::after {
    transform: translateY(-5px) rotate(-15deg);
}

/****header scroll active style****/
header.active::before {
    opacity: 1;
}

header.active::after {
    transform: scale(0);
}

header.active .logo {
    transform: none;
}

header.active .lang {
    border-left: 1px solid #e4e4e4;
}

header.active .searchbarBt::before {
    filter: none;
}

@media screen and (max-width: 991px) {

    .navbar {
        padding: 0 0 0 30px;
    }

    /****logo****/
    .logo {
        transform: scale(1.33) translate(-12.5px, 5px);
    }

    /****main menu****/
    .mainMenu {
        padding: 140px 30px 80px 30px;
    }

    .mainMenu__item__link {
        font-size: 35px;
    }

    .mainMenu__item__link__main {
        margin: 0 20px 0 0;
    }

    .mainMenu__item__list__item {
        width: calc(50% - 20px);
    }

    /****search bar****/
    .searchbar {
        padding: 0 0 0 30px;
    }

    .searchbar__close {
        margin: 0 0 0 30px;
    }
}

@media screen and (max-width: 767px) {

    /****header****/
    header {
        height: 65px;
    }

    header::after {
        display: none;
    }

    /****logo****/
    .logo {
        width: 45px;
        transform: scale(1.33);
        transition: transform .4s ease-in-out, opacity .4s ease-in-out;
    }

    /****main menu****/
    .mainMenu {
        padding: 65px 30px 80px 30px;
    }

    .mainMenu__item {
        margin: 0;
    }

    .mainMenu__item__link {
        padding: 20px 0;
        font-size: 16px;
        line-height: 1;
    }
    
    .sp_nav_main {top: 10px;}

    .mainMenu__item__link__main {
        margin: 0;
        font-size: inherit;
    }

    .mainMenu__item__link__main:first-child:last-child {
        display: block;
    }

    .mainMenu__item__link__sub {
        /* 20240429 修改主選單顯示中文標題，英文標題隱藏 */
        display: none;
        margin: 0;
        font-size: inherit;
    }

    .mainMenu__item__list {
        left: 0;
        width: 100%;
        /*padding: 15px 0 0 0;*/
    }

    .mainMenu__item__list::after {
        left: 0;
        width: 100%;
    }

    .mainMenu__item__list__item {
        width: 100%;
        margin: 0 0 15px 0;
    }

    .mainMenu__item__list__item__link {
        font-size: 14px;
    }

    .mainMenu__item.dropdown .mainMenu__item__link::after {
        top: calc(.5em - 4px + 20px);
        width: 16px;
        height: 8px;
    }

    /**sns**/
    .mainMenu__sns__item {
        font-size: 14px;
    }

    /****serch toogle****/
    .searchbarBt {
        display: none;
    }

    /****search bar****/
    .searchbar {
        position: fixed;
        top: 0;
        left: 100%;
        width: 100%;
        height: 65px;
        padding: 0 65px 0 30px;
        background: #fff;
        border-bottom: 1px solid rgba(28, 28, 28, .15);
        opacity: 1;
        pointer-events: all;
        transition: transform .4s ease-in-out;
    }

    .searchbar::before,
    .searchbar__bg {
        display: none;
    }

    .searchbar__keyword {
        font-size: 15px;
    }

    .searchbar__submit {
        width: 65px;
        height: 100%;
        background: url(../images/common/icon_magnifier.svg) center no-repeat;
        background-size: 30% auto;
    }

    .searchbar__submit:hover {
        background: url(../images/common/icon_magnifier.svg) center no-repeat;
        background-size: 30% auto;
    }
    
    .searchbar__submit input[type="submit"] {
        visibility: hidden;
    }
    .searchbar__submit span{
        display: none;
    }
    .searchbar__close {
        display: none;
    }

    #searchbarCheck:checked~.navbt {
        z-index: 100;
    }

    /****language switch****/
    .lang {
        width: 65px;
    }

    .lang__bt {
        width: 100%;
        height: 100%;
        font-size: 15px;
    }

    .lang__bt::before {
        display: block;
    }

    .lang__bt::after {
        display: none;
    }

    .lang__bt span {
        display: none;
    }

    .lang__list {
        position: fixed;
        top: 0;
        width: 100vw;
        box-shadow: -21px 21px 38px rgba(0, 11, 40, .51);
    }

    .lang__list__head {
        display: flex;
    }

    /****inquiry cart****/
    .headerCart {
        width: 65px;
    }

    .headerCart__count {
        top: 6px;
        right: 6px;
        max-width: calc(100% - 12px);
        min-width: 25px;
        height: 20px;
    }

    /****main menu toogle button****/
    .navbt {
        width: 65px;
    }

    .navbt::before,
    .navbt::after {
        left: calc(50% - 15px);
        width: 30px;
    }

    /****menu open style****/
    #mainmenuCheck:checked~.searchbar {
        transform: translateX(-100%);
    }
}

@media screen and (max-width: 575px) {

    /****main menu****/
    .mainMenu {
        padding: 65px 20px 80px 20px;
    }

    /****search bar****/
    .searchbar {
        padding: 0 65px 0 20px;
    }

    /****header****/
    .navbar {
        padding: 0 0 0 20px;
    }

    /****language switch****/
    .lang__list__head__title {
        padding: 0 10px 0 20px;
    }

}



/****IOS樣式****/
@supports (-webkit-touch-callout: none) {}