@charset "utf-8";
html{ font-size: 62.5%;} 
body{ font: 62.5% 微軟正黑體,新細明體,"Century Gothic",Arial,sans-serif; line-height: 1;}

/*--header--------------------------------*/
header{ margin-top: 0px; position: relative; overflow: hidden;}
.bgHeaderBao{ display: none;}
.headerPic{ position: absolute; top: 0; left: 0; right: 100; margin: 0 auto;}
.headerTitle{ top: 0; width: 100%;}
.headerBao{ top: 34%; left: 10%; width: 45%;}
.header1{ display: none;}
.header2{ display: none;}
.header3{ display: none;}
.header4{ display: none;}
.header5{ display: none;}
.headerGiftBao{ top: 70%; right: 45%; width: 40%;}
.bgHeaderM{ display: block;}

/*--content--------------------------------*/
.areaBox{ padding: 10px 0; background-position: top center; background-size: cover;}
.areaWidth1{ padding: 20px 1% 20px 1%;}
.areaWidth2{ padding: 0px 0% 0px 0%;}

/*--area--------------------------------*/
.title3{ width: 100%; margin: 0 auto; padding: 0px 0 0px 0px; position: relative; z-index: 1; display: none;}
.title3m{ width: 70%; margin: 0 auto; padding: 0px 0 0px 0px; position: relative; z-index: 1; display: block;}

/*--area1--------------------------------*/
.areaBg0{ background-image: url(https://cp-img.bookwalker.com.tw/event/2022/20221224/images/bg_00m.png);}
.areaBg1{ background-image: url(https://cp-img.bookwalker.com.tw/event/2022/20221224/images/bg_00m.png);}

/*--gameInfo--------------------------------*/
.gameInfo{ padding: 5% 5% 10% 10%; border-radius: 13px; font-size: 1.5rem; color: #823049; font-weight: bold;}
.gameInfo li{ margin: 5px; list-style: disc;}
.gameInfo li a{ color: #823049; text-decoration: underline;}

/*--fixedBtnBox-----------------------------------------*/
.fixedBtnBox{ position: fixed; bottom: 0; left: 50px; z-index: 101; transform: translateX(-200%); transition: transform 0.8s;}
.fixedBtnBoxShow{ transform: translateX(0); transition: transform 0.8s;}
.fixedBtnBox li{ overflow: hidden; margin-bottom: 5px;}
.sideBtn, .sideInfo{ float: left; height: 0px;}
.sideBtn img, .sideInfo img{ height: 100%;}
.sideBtn{ cursor: pointer; position: relative; z-index: 1;}
.sideInfo{ transform:translateX(calc(-100% - 40px));}
.open{ animation:sideBtn 0.5s forwards;}

/*--boxList-----------------------------------------*/
.box{ width: 100%; max-width: 1280px; margin: 0 auto; margin-bottom: 100px;}/*最外層寬度*/
.boxList{ display: flex; flex-wrap: wrap; justify-content: space-between; margin: 10px;/*外層間距*/}
.boxList img{ display: block; width: 100%;}
.boxList > li:first-child{ width: 100%; margin-bottom: 10px;/*下間距,不需要間距就設0*/}/*第一本*/
.boxList > li{ width: 33%;/*寬度越小,間距越大,不需要間距就設50%*/}/*第二三本*/

@keyframes sideBtn{ from {transform:translateX(calc(-100% - 40px));} to {transform:translateX(0);}}

/*--768-1023(Pad)------------------------*/
@media screen and (min-width:768px) and (max-width:1023px) {}

/*--767up(Pc)------------------------*/
@media screen and (min-width:767px) {
    header{ background-image: url(https://cp-img.bookwalker.com.tw/event/2022/20221224/images/bg_header.jpg); background-position: top center; background-size: cover; background-attachment: fixed;}
    .bgHeaderBao{ display: block;}
	.headerPic{ position: absolute; top:20%; left:0; right: 40%; margin: 0 auto;}	
    .headerTitle{ width: 37%; }
    .headerBao{ top: 54%; left: 5%; width: 28%;}
    .header1{ top: 45%; right: 55%; width: 30%; display: block;}
    .header2{ top: 45%; left: 65%; width: 30%; display: block;}
    .header3{ top: 70%; right: 56%; width: 30%; display: block;}
	.header4{ top: 70%; left: 64%; width: 30%; display: block;}	
	.headerGiftBao,.bgHeaderM{ display: none;}
	

    /*--content--------------------------------*/
    .areaBox{ overflow: hidden; padding: 0; background-attachment: fixed;}
    .areaWidth1{ max-width: 1000px;  margin: 0 auto; margin-top: 100px; margin-bottom: 100px; padding-bottom: 0px;}
	.areaWidth2{ max-width: 1000px;  margin: 0 auto; margin-top: 50px; margin-bottom: 50px; padding-bottom: 0px;}
	
	/*--area--------------------------------*/
	
	.title3{ width: 70%; padding: 0px 0px 50px 0px; display: block;}
	.title3m{ width: 70%; padding: 0px 0px 0px 0px; display: none;}

	
    /*--area--------------------------------*/
	.areaBg0{ background-image: url(https://cp-img.bookwalker.com.tw/event/2022/20221224/images/bg_01.png);}
    .areaBg1{ background-image: url(https://cp-img.bookwalker.com.tw/event/2022/20221224/images/bg_01.png);}

	/*--gameInfo--------------------------------*/
	.gameInfo{ padding: 1% 1% 1% 17%; border-radius: 12px; font-size: 2rem; color: #823049; font-weight: bold;}
    .gameInfo li{ margin: 5px; list-style: disc;}
    .gameInfo li a{ color: #823049; text-decoration: underline;}
	
	/*--boxList-----------------------------------------*/
	.box{ display: flex;}/*電腦版三個區塊一排*/
	
	/*--fixedBtnBox-----------------------------------------*/
    .fixedBtnBox{ bottom: 15%;}
    .fixedBtnBox li{ margin-bottom: 2px;}
    .sideBtn, .sideInfo{ height: 100px;}

    /*--hover animate--------------------------------*/
    @-webkit-keyframes hoverAni { from {transform:translateY(0);} to {transform:translateY(-10px);}}
    @-moz-keyframes hoverAni { from {transform:translateY(0);} to {transform:translateY(-10px);}}

	/*area1*/.header1 li:hover,.header2 li:hover,.header3 li:hover,.header4 li:hover,
    /*area2*/.giftFbBao:hover,
    /*area3*/.bestSellerList li:hover,
    /*area4*/.popular li:hover,
    /*area5*/.brand li:hover{ animation:hoverAni 0.5s forwards;}
}
