
@import url('https://fonts.googleapis.com/css2?family=Noto+Serif+JP:wght@200;300;400;500;600;700;900&family=Noto+Serif+KR:wght@200;300;400;500;600;700;900&family=Noto+Serif+SC:wght@200;300;400;500;600;700;900&family=Noto+Serif+TC:wght@200;300;400;500;600;700;900&family=Noto+Serif:ital,wght@0,400;0,700;1,400;1,700&display=swap');

*{
	font-family: 'Noto Serif', 'Noto Serif JP', 'Noto Serif KR', 'Noto Serif SC', 'Noto Serif TC', serif !important;
}
/* 底色 */
body{
	background-color: rgb(245, 245, 245);
}
/* 所有圖片設定 */
img{
	width: 100%;
    vertical-align: bottom;
}
/* 所有連結裝飾消失 */
a{
    text-decoration: none;
}
/* 所有按鈕樣式 */
.btn{
	width: 200px;
	line-height: 44px;
	text-align: center;
	display: block;
	color: rgb(237, 109, 0);
	border: 1px solid rgb(237, 109, 0);
	border-radius: 44px;
	transition: 0.25s linear;
}
.btn:hover{
	color: rgb(245, 245, 245);
	background-color: rgb(237, 109, 0);
}
/* wrap部分置中 */
.wrap{
	width: 80%;
	margin: auto;
	max-width: 1320px;
}
/* logo區域 */
header .logo{
	display: flex;
	justify-content: center;
}
header .logo .pic{
	width: 60%;
	padding: 16px 0;
}
/* banner區域 */
.banner{
	margin-bottom: 32px;
}
/* BN-L隱藏 */
.banner-l{
	display: none;
}
/* 活動導讀 */
.guide{
    margin-bottom: 24px;
}
.guide p{
    font-size: 16px;
	line-height: 1.5;
	text-align: center;
	color: rgb(100, 100, 100);
}
/* 書展類別區域 */
.tab{
    margin-bottom: 24px;
}
/* 書展類別分類區域 */
.tab_area{
	border-bottom: 1px solid rgb(200, 200, 200);
	display: flex;
    overflow: auto;
}
/* 書展類別分類按鈕 */
.tab_area a{
	padding: 16px 16px;
    box-sizing: border-box;
	font-size: 1.2em;
	text-align: center;
	white-space: nowrap;
	color: rgb(100, 100, 100);
}
/* 書展類別分類按鈕點選效果 */
.tab_area > .active{
	color: rgb(237, 109, 0);
	position: relative;
    border-bottom: 2px solid  rgb(237, 109, 0);
}
/* tab fix屬性 */
.tab-fixed{
	position: fixed;
	top: 0;
	right: 0;
	bottom: none;
	left: 0;
	z-index: 9999;
    background-color: rgb(245, 245, 245);
}
/* 書架區域 */
.bookall .wrap .bookall_area{
	display: flex;
	flex-wrap: wrap;
}
/* 書展類別 */
.bookall_title{
	margin-bottom: 16px;
}
.bookall_title h2{
    padding-top: 5%;
    box-sizing: border-box;
	font-size: 24px;
	line-height: 1.5;
	text-align: center;
	color: rgb(100, 100, 100);
}
/* 書展類別小標 */
.bookall_title p{
    font-size: 16px;
	line-height: 1.5;
	text-align: center;
	color: rgb(125, 125, 125);
}
/* 書架一行兩個 */
.bookall .wrap .bookall_area a{
	width:calc(100%/2);
	padding: 16px;
	box-sizing: border-box;
	transition: 0.25s linear;
}
/* 書架hover特效 */
.bookall .wrap .bookall_area a:hover{
	transform: translateY(-15px);
}

.bookall .wrap .bookall_area .pic {
	margin-bottom: 16px;
	display: flex;
	align-items: center;
	aspect-ratio: 1/1.5;
	position: relative;
	width: 100%;
	overflow: hidden;
}

.bookall_area a .pic img {
	max-width: 100%;
	max-height: 100%;
	z-index: 2;
}

.bookall_area a .pic .bg {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	-o-object-fit: cover;
	object-fit: cover;
	opacity: 0.8;
	filter: brightness(105%) blur(10px);
	z-index: 1;
	transform: scale(2);
}
/* 書架書名 */
.bookall .wrap .bookall_area .txt p{
	font-size: 16px;
	line-height: 1.2;
	color: rgb(50, 50, 50);
	margin: 4px 0 8px ;
	/* 書架書名兩行限制 */
	overflow: hidden;
	display: -webkit-box;
	-webkit-line-clamp: 2; /* 行數 */
	-webkit-box-orient: vertical;
	white-space: normal;
}
/* 閱讀更多按鈕 */
.read_more{
	display: flex;
	justify-content: center;
	margin:5% auto 20%;
}
/* footer */
footer{
	padding: 10% 0;
	background-color: rgb(235, 235, 235);
}
footer p{
	text-align: center;
	font-size: 1em;
	line-height: 1.2;
	color: rgb(100, 100, 100);
}
@media screen and (min-width:480px){
	/* logo區域 */
	header .logo{
		display: flex;
		justify-content: left;
	}
	header .logo .pic{
		width: 35%;
	}
    /* banner區域 */
    .banner{
        margin-bottom: 24px;
    }
	/* BN-L打開 */
	.banner-l{
		display: block;
	}
	/* BN-M隱藏 */
	.banner-m{
		display: none;
	}
	.guide p{
		font-size: 24px;
		padding: 16px 0;
	}
    /* 書展類別區域 */
    .tab_area{
        justify-content: start;
    }
    /* 書展類別分類按鈕 */
    .tab_area a{
        font-size: 24px;
		padding: 24px 16px;
		flex-grow: 1;
    }
	/* 書展類別 */
	.bookall_title h2{
		font-size: 36px;
	}
	/* 書展類別小標 */
	.bookall_title p{
		font-size: 20px;
	}
	/* 書架一行四個 */
	.bookall .wrap .bookall_area a{
		width:calc(100%/3);
	}
	/* 閱讀更多按鈕 */
	.read_more{
		margin:2% auto 5%;
	}
	/* footer */
	footer{
		padding: 2% 0;
	}
}
@media screen and (min-width:768px){
	/* 書架一行四個 */
	.bookall .wrap .bookall_area a{
		width:calc(100%/5);
	}
}