/*FZCHSFW*/
@font-face{
    font-family: 'FZCHSFW';
    src: url('../fonts/FZCHSFW.woff2') format('woff2');
    font-weight: bold;
    font-style: normal;
}
/*american-grotesk*/
@font-face{
    font-family: 'american-grotesk';
    src: url('../fonts/american-grotesk-thin.woff2') format('woff2');
    font-weight: 100;
    font-style: normal;
}
@font-face{
    font-family: 'american-grotesk';
    src: url('../fonts/american-grotesk-light.woff2') format('woff2');
    font-weight: 200;
    font-style: normal;
}
@font-face{
    font-family: 'american-grotesk';
    src: url('../fonts/american-grotesk-regular.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
}
@font-face{
    font-family: 'american-grotesk';
    src: url('../fonts/american-grotesk-medium.woff2') format('woff2');
    font-weight: 500;
    font-style: normal;
}
@font-face{
    font-family: 'american-grotesk';
    src: url('../fonts/american-grotesk-bold.woff2') format('woff2');
    font-weight: 700;
    font-style: normal;
}
@font-face{
    font-family: 'american-grotesk';
    src: url('../fonts/american-grotesk-heavy.woff2') format('woff2');
    font-weight: 800;
    font-style: normal;
}
@font-face{
    font-family: 'american-grotesk';
    src: url('../fonts/american-grotesk-black.woff2') format('woff2');
    font-weight: 900;
    font-style: normal;
}

*{
    margin: 0;
    padding: 0;
    font-family: "Noto Sans TC", sans-serif;
    letter-spacing: 1px;
}

.wrapper{
    width: 100%;
    margin: auto;
    position: relative;
}
/*通用標題與內文*/
.title{
    width: 100%;
    margin: 100px auto 30px;
    text-align: left;
}
/*標題置中版本*/
.title.center{
    text-align: center;
}
.title h2{
    font-family: "Noto Sans TC", sans-serif;
    font-weight: 700;
    font-size: 48px;
    line-height: 60px;
}
.title h3{
    font-family: "Noto Sans TC", sans-serif;
    font-weight: 700;
    margin: 30px auto 10px;
    font-size: 28px;
    line-height: 40px;
}
.title h2 span{
    font-family: "FZCHSFW", sans-serif;
    font-weight: bold;
}
.title h2 span.highlight{
    font-family: "Noto Sans TC", sans-serif;
    font-weight: 700;
    font-size: 60px;
    line-height: 80px;
}
.title.en h2{
    font-family: "Noto Sans TC", sans-serif;
    font-weight: 700;
}
/*主區塊*/
main{
    max-width: 1200px;
    width: 100%;
    margin: 30px auto;
}
main p{
    font-size: 20px;
    font-weight: 400;
    line-height: 30px;
}
main p span{
    font-size: 28px;
    font-weight: 600;
    line-height: 40px;
    width: 100%;
    display: block;
    text-align: center;
}
span.said{
    margin: 30px auto -100px;
    padding: 70px 0 0;
    border-top: 1px solid #b8b8b8;
}
input{
    display: none;
}

/*logo分割線*/
.logo-hr{
    max-width: 1280px;
    width: 100%;
    margin: 70px auto 250px;
    position: relative;
}
.logo-hr img{
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    width: 120px;
    margin: auto;
    z-index: 5;
    background-color: #fff;
    padding: 10px;
}
.logo-hr span{
    position: absolute;
    top: 60px;
    width: 100%;
    height: 2px;
    border-radius: 10px;
    background-color: #000000;
}

header{
    width: 100%;
}
/*logo nav*/
header .logo{
    width: 100%;
    padding: 5px 0;
    background-color: #fff;
    display: flex;
    justify-content: center;
}
header .logo a{
    max-width: 250px;
    margin: auto;
    text-align: center;
}
header .logo a img{
    width: 100%;
}
/*banner*/
header .banner{
    width: 100%;
    margin: auto;
}
header .banner .content{
    position: relative;
    background: url(../image/enno-banner.jpg);
    background-position: center center !important;
    background-repeat: no-repeat !important;
    background-size: cover !important;
    width: 100%;
    height: 1080px;
    display: flex;
    justify-content: center;
    align-items: center;
}
nav{
    width: 100%;
    position: sticky;
    top: 0;
    margin: auto;
    padding: 20px 0;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #fff;
    z-index: 999;
}
nav a{
    color: #000000;
    border: 1px solid #000000;
    padding: 7px 100px;
    margin: 0 15px;
    font-size: 26px;
    font-weight: 600;
    text-decoration: none;
    transition: 0.4s;
}
nav a:hover{
    background-color: #ce780f;
    border: 1px solid #ce780f;
    color: #ffffff;
    transition: 0.4s;
}

/*版型1 影片牆*/
.diary{
    width: 80%;
    margin: auto;
}
.diary.inline{
    width: 100%;
    margin: auto;
}
.diary .title.center h1{
    font-family: "Noto Sans TC", sans-serif;
    font-weight: 700;
    font-size: 65px;
}
.diary .content p{
    text-align: left;
}
.diary .content p .en-span{
    font-family: "American-Grotesk", sans-serif;
    font-weight: 300;
    font-size: 12px;
    text-align: center;
}
.diary img{
    width: 100%;
}
.diary iframe{
    width: 100%;
    height: 500px;
    margin: 50px auto;
}
.diary-said{
    margin: 0px auto -100px;
    border-bottom: 1px solid #b8b8b8;
}

/*版型2 圖文介紹*/
.intro{
    width: 80%;
    margin: 100px auto;
}
.intro .content{
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}
.intro .content .textbox{
    width: 100%;
    margin: auto 10px;
}
.textbox-m{
    display: none;
}
.txt-deco{
    font-weight: 400;
}
.intro .content .textbox p{
    width: 100%;
}
.intro .content .imgbox{
    width: 100%;
    margin: auto 10px;
}
.imgbox2{
    display: none;
}
.intro .content .imgbox img{
    width: 100%;
}
.txt-deco-m{
    display: none;
}

/*版型3 大B*/
.banner2{
    width: 100%;
    margin: 0px auto;
}
.banner2 .content{
    width: 100%;
}
.banner2 .content img{
    width: 100%;
}

/*深底白字功能*/
.product-wall .content .item .imgbox{
    position: relative;
}

/*版型4 輪播牆*/
.product{
    width: 80%;
    margin: auto;
    padding-bottom: 100px;
}
.product a{
    color: #000000;
    text-decoration: none;
    font-size: 18px;
    font-weight: 400;
    line-height: 30px;
}
.product a.button{
    display: inline-block;
    text-decoration: none;
    font-size: 16px;
    color: #000000;
    font-weight: 500;
    line-height: 28px;
    padding: 5px 25px;
    border: 1px solid #000000;
    margin: 15px auto 0;
    transition: 0.4s;
}
.product a.button:hover{
    background-color: #ce780f;
    border: 1px solid #ce780f;
    color: #ffffff;
    transition: 0.4s;
}
.product .textbox p{
    font-size: 36px;
    font-weight: 700;
    line-height: 48px;
    text-align: center;
    margin: 150px auto 0;
}

/*版型5 照片牆*/
.photo-wall{
    width: 100%;
    margin: 100px auto;
}
.photo-wall .content{
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}
.photo-wall .content img{
    width: 20%;
}

/*版型6 商品區*/
.member-shop{
    width: 100%;
    margin: auto;
}
.member-shop .content{
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}
.member-shop .content .imgbox{
    width: 60%;
    margin: auto;
}
.member-shop .content .imgbox img{
    width: 100%;
}
.member-shop .content .textbox{
    width: 60%;
    margin: auto;
}
.member-shop .content .img-group , .member-shop .content .button-group{
    width: 60%;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px 0px;
}
.member-shop .content .img-group img{
    width: 33%;
}
.member-shop .content .img-group2 img{
    width: 30%;
    margin: auto 10px;
}
.member-shop .content .button-group a{
    color: #000000;
    border: 1px solid #000000;
    padding: 7px 50px;
    margin: 10px auto;
    font-size: 22px;
    font-weight: 400;
    text-decoration: none;
    transition: 0.4s;
}
.member-shop .content .button-group a:hover{
    background-color: #ce780f;
    border: 1px solid #ce780f;
    color: #ffffff;
    transition: 0.4s;
}

/*backhome*/
.backHome{
    position: fixed;
    bottom: 50px;
    right: 30px;
    background-color: #000000;
    width: 70px;
    height: 70px;
    clip-path: circle(50%);
    text-align: center;
    text-decoration: none;
    padding: 3px 0 0 0;
    visibility: hidden;
    opacity: 0;
    transition: 0.4s;
    z-index: 100;
}
.backHome i{
    color: #fff;
    font-size: 22px;
}
.backHome p{
    color: #fff;
    font-size: 14px;
    letter-spacing: 1;
}
.backHome:hover{
    opacity: 1;
    transition: 0.4s;
    transform: scale(1.05);
}

footer{
    padding: 50px 0 100px;
    text-align: center;
}
footer img{
    width: 30%;
    margin: auto;
}

@media(max-width: 550px){
    /*通用標題-RWD*/
    .title{
        width: 100%;
        margin: 80px auto 30px;
    }
    .title h2{
        font-size: 22px;
        line-height: 34px;
    }
    .title h3{
        font-size: 20px;
    }
    main {
        width: 90%;
    }
    main p{
        font-size: 16px;
        line-height: 22px;
    }
    main p span{
        font-size: 18px;
    }
    nav{
        padding: 20px 10px;
    }
    nav a{
        padding: 5px;
        margin: auto 5px;
        font-size: 16px;
    }

    /* 右邊浮標 */
    .fixicon{
        width: 100px;
    }

    /*logo nav-RWD*/
    header .logo a{
        max-width: 180px;
    }
    header .banner .content{
        height: 460px;
    }
    header .banner .content .item{
        margin: 80px auto 0;
    }
    header .banner .content .item h1{
        font-size: 24px;
    }
    header .banner .content .sub-logo {
        top: 20px;
        right: 20px;
        width: 56px;
    }

    /*影片牆*/
    .diary{
        width: 100%;
    }

    /*版型2 商品牆-RWD*/
    .product{
        width: 100%;
        padding-bottom: 0px;
    }
    .product-wall .content .item:nth-child(1){
        width: 100%;
        grid-row: 1/2;
        grid-column: 1/3;
    }
    .product-wall .content .item:nth-child(2){
        width: 100%;
        grid-row: 2/3;
        grid-column: 1/2;
    }
    .product-wall .content .item:nth-child(3){
        width: 100%;
    }

    /*如果商品只有一個版本*/
    .product-wall.one .content .item:nth-child(2){
        width: 55%;
        grid-row: 2/3;
        grid-column: 1/3;
    }


   /* 版型1 2欄圖文介紹 */
    .intro{
        width: 100%;
    }
    .intro .content{
        flex-wrap: wrap;
    }
    .intro .content .textbox{
        width: 100%;
        margin: auto;
    }
    .intro .content .imgbox{
        width: 100%;
        margin: auto;
    }
    .intro .content .textbox p{
        width: 100%;
    }
    .intro .content .textbox .title {
        margin: 0 0 20px 0;
    }
    span.said{
        margin: 30px auto 0px;
    }
    .txt-deco{
        display: none;
    }
    .textbox-m{
        display: inline-block;
    }

    /*logo分割線*/
    .logo-hr{
        margin: 30px auto 200px;
        width: 90%;
    }
    .logo-hr img{
        width: 70px;
    }
    .logo-hr span{
        top: 30px;
    }

    /*版型4 輪播牆*/
    .diary iframe{
        height: 260px;
        margin: 50px auto 0;
    }
    .diary-said{
        margin: 0 auto 30px;
        padding-bottom: 30px;
    }

    /* 版型5 會員專屬商品區 */
    .member-shop .content{
        flex-wrap: wrap;
    }
    .member-shop .content .imgbox,.member-shop .content .textbox{
        width: 100%;
        margin: auto;
    }
    .member-shop .content .textbox h3{
        font-size: 20px;
        margin: 20px auto;
        line-height: 28px;
        font-family: "Noto Sans TC", sans-serif;
        font-weight: 700;
    }
    .member-shop .content .textbox h3.special{
        font-size: 18px;
        line-height: 28px;
        font-family: "Noto Sans TC", sans-serif;
        font-weight: 700;
    }
    .member-shop .content .textbox h4{
        font-size: 18px;
        margin: auto auto 20px auto;
    }
    .member-shop .content .textbox button{
        width: 100%;
        font-size: 16px;
        padding: 5px;
    }
    .br{
        display: none;
    }
    
    /* Modal */
    .modal .modal-title {
        font-size: 20px !important;
        line-height: 28px !important;
        transform: translateX(0px);
    }
    .modal#product2 .modal-title, .modal#product3 .modal-title, .modal#product5 .modal-title{
        transform: translateX(0px);
    }
    .modal .modal-body .item p {
        font-size: 16px;
    }
    .modal .modal-body .product{
        gap: 10px;
    }
    .modal .modal-body .product .imgbox .bg a{
        top: 70px;
        font-size: 14px;
    }
    .modal .modal-body .product .imgbox{
        width: 40%;
        margin: 0;
    }
    .modal .modal-body .product2 .imgbox{
        width: 90%;
    }
    .modal .modal-body .product2 .imgbox a{
        font-size: 18px;
    }
    .br{
        display: block;
    }
    ol, ul {
        padding: 0 20px !important;
    }
    ul li,ol li{
        font-size: 16px !important;
    }

    /* footer */
    footer img{
        width: 60%;
    }

    /*backhome*/
    .backHome{
        bottom: 40px;
        left: 20px;
        width: 40px;
        height: 40px;
        clip-path: circle(50%);
        padding: 5px 0 0 0;
    }
    .backHome i{
        font-size: 18px;
    }
    .backHome p{
        display: none;
    }

    .diary .title.center h1{
        font-size: 24px;
        font-family: "Noto Sans TC", sans-serif;
        font-weight: 700;
    }
    .product .textbox p{
        font-size: 20px;
    }
    .photo-wall .content{
        flex-direction: column;
    }
    .photo-wall .content img{
        width: 70%;
    }
    .member-shop .content .img-group, .member-shop .content .button-group{
        width: 100%;
    }
    .member-shop .content .img-group{
        flex-direction: column;
    }
    .member-shop .content .img-group img{
        width: 80%;
    }
    .member-shop .content .button-group a{
        padding: 3px;
        margin: auto 5px;
        font-size: 16px;
    }
    .member-shop .content .img-group2{
        flex-direction: column;
    }
    .member-shop .content .img-group2 img{
        width: 100%;
    }
}


/*back to top*/
/* #btn-back-to-top{
    position: fixed;
    bottom: 30px;
    right: 230px;
    font-size: 36px;
    display: none;
    border: 0px;
    color: #000000;
    background: none;
    opacity: 0.5;
    transition: 0.6s;
    z-index: 99;
}
#btn-back-to-top:hover{
    opacity: 1;
    transition: 0.6s;
    transform: translateY(-5px);
} */

