@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: #F1E5E3; */
	position: relative;
}

/* 所有圖片設定 */
img {
	width: 100%;
	vertical-align: bottom;
}

/* 所有連結裝飾消失 */
a {
	text-decoration: none;
}

/* 容器 */
.wrap {
	width: 90%;
	max-width: 1140px;
	margin: auto;
}

/* <<<<<<<<<<<HEADER>>>>>>>>>>> */
header {
	position: sticky;
	top: 0;
	z-index: 999;
}

header.bgc {
	background-color: #fff;
}

header .wrap {
	display: flex;
	justify-content: center;
	align-items: center;
	padding: 16px 0px;
	position: relative;
	box-sizing: border-box;
}

/* HEADER LOGO*/
/* <<<<<<<<<<<<<<<<依照menu長度調整 >>>>>>>>>>>>*/
header .logo .pic {
	max-width: 200px;
}

/* 活動導讀 */
.guide {
	padding: 36px 0;
	background-color: #f6f6f6;
}

.guide p {
	font-size: 16px;
	line-height: 1.5;
	text-align: center;
	color: rgb(100, 100, 100);
}

@media screen and (min-width:480px) {
	.guide p {
		font-size: 24px;
	}
}

/* //捲軸底色 */
.tab_area.booktab::-webkit-scrollbar-track {
	background-color: rgb(224, 224, 224);
	border-radius: 999px;
}

/* //捲軸寬度 */
.tab_area.booktab::-webkit-scrollbar {
	height: 8px;
	border-radius: 999px;
}

/* //捲軸本體顏色 */
.tab_area.booktab::-webkit-scrollbar-thumb {
	background-color: #E06917;
}

/*<<<<<<<<<<< lgswitch >>>>>>>>>>>>*/

.lgswitch h2 {
	font-size: 32px;
	font-weight: 900;
	padding: 0 0 12px;
	box-sizing: border-box;
	text-align: center;
}

.lgswitch .boxbtnwrap {
	display: flex;
	padding: 32px 0;
	box-sizing: border-box;
	justify-content: center;
}

.lgswitch .boxbtnwrap .boxbtn {
	width: 30%;
	min-width: 150px;
	text-align: center;
	cursor: pointer;
	font-size: 20px;
	padding: 16px 0;
	box-sizing: border-box;
	border: 1px solid #000;
	border-radius: 999px;
	margin: 0 8px;
	flex-grow: 1;
}

.lgswitch .boxbtnwrap .boxbtn.active {
	color: #fff;
	font-weight: 600;
	background-color: #E06917;
	border: 1px solid #E06917;
	border-radius: 999px;
}

/*<<<<<<<<<<< bookshelf >>>>>>>>>>>>*/
.bookshelf {
	display: none;
}

.bookshelf.active {
	display: block;
	position: relative;
}

.bookshelf .tab_area {
	/* width: 100%; */
	display: flex;
	padding: 0 5%;
	justify-content: space-between;
	box-sizing: border-box;
	overflow-x: scroll;
}

.bookshelf .tab_area.fixed {
	position: sticky;
	/* header高度 */
	top: 82px;
	background-color: #fff;
	z-index: 998;
}

.bookshelf .tab_area a {
	font-size: 20px;
	text-decoration: none;
	color: #000;
	padding: 24px 16px;
	box-sizing: border-box;
	white-space: nowrap;
}

.bookshelf .tab_area a.active {
	color: #E06917;
}

.bookshelf .bookall {
	display: none;
}

.bookshelf .bookall.active {
	display: block;
}

.bookshelf .bookall h2 {
	text-align: center;
	font-size: 24px;
	padding: 16px 0;
	font-weight: 900;
}

.bookshelf .bookall .bookall_area {
	display: flex;
	flex-wrap: wrap;
	gap: 24px;
}

.bookshelf .bookall .bookall_area a {
	transition: 0.25s linear;
	width: calc((100% - 8px) /2);
	display: flex;
	flex-wrap: wrap;
	margin-bottom: 24px;
}

.bookshelf .bookall .bookall_area a:hover {
	transform: translateY(-8px);
}

.bookshelf .bookall .bookall_area a .txt {
	padding-top: 4px;
	box-sizing: border-box;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
}

.bookshelf .bookall .bookall_area a .txt p {
	font-size: 16px;
	line-height: 150%;
	color: #000;
}

.bookall .bookall_area .pic {
	margin-bottom: 16px;
	display: flex;
	align-items: center;
	aspect-ratio: 5/6;
	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);
}

/*<<<<<<<<<<< footer >>>>>>>>>>>>*/
footer {
	margin-top: 60px;
	padding: 32px 0;
	font-size: 16px;
	color: #000;
	/* background-color: #fff3ce; */
	text-align: center;
}

@media (min-width:768px) {
	header .logo .pic {
		max-width: 240px;
	}

	/*<<<<<<<<<<< bookshelf >>>>>>>>>>>>*/
	.bookshelf .bookall .bookall_area a {
		width: calc((100% - 72px) /4);
	}
}