@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@200;300;400;500;600;700;900&family=Noto+Sans+KR:wght@200;300;400;500;600;700;900&family=Noto+Sans+SC:wght@200;300;400;500;600;700;900&family=Noto+Sans+TC:wght@200;300;400;500;600;700;900&family=Noto+Sans:ital,wght@0,400;0,700;1,400;1,700&display=swap');

* {
	font-family: 'Noto Sans', 'Noto Sans JP', 'Noto Sans KR', 'Noto Sans SC', 'Noto Sans TC', Sans !important;
}

/* 底色 */
body {
	background-color: #fff8ec;
	position: relative;
}

/* 所有圖片設定 */
img {
	width: 100%;
	vertical-align: bottom;
}

/* 所有連結裝飾消失 */
a {
	text-decoration: none;
}

/* 容器 */
.wrap {
	width: 90%;
	max-width: 960px;
	margin: auto;
}

/* <<<<<<<<<<<HEADER>>>>>>>>>>> */
header {
	position: sticky;
	top: 0;
	z-index: 99;
}

header.bgc {
	background-color: #fff;
}

header .wrap {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 16px 0px;
	position: relative;
}

/* HEADER LOGO */
header .logo .pic {
	max-width: 300px;
}

/* HEADER HAMBURGER（手機顯示） */
header .hamburger {
	cursor: pointer;
}

/* HEADER MENU（預設隱藏，手機用 toggle 展開） */
header .menu {
	display: none;
	list-style: none;
}

/* 展開狀態 */
header .menu.open {
	display: block;
	width: 100%;
	overflow: hidden;
	background-color: #F1E5E3;
	border-radius: 8px;
	position: absolute;
	top: 100%;
	left: 0;
	box-shadow: 0px 6px 16px rgba(176, 176, 176, 0.32);
	z-index: 999;
}

/* MENU ITEM 樣式 */
header .menu .menu_item {
	padding: 24px 16px;
	font-size: 20px;
	font-weight: 600;
	cursor: pointer;
	position: relative;
	display: block;
	border-bottom: 2px solid #ddd;
	background-color: transparent;
}

/* 子選單（預設隱藏） */
header .menu .submenu {
	display: none;
	list-style: none;
	background-color: #f1e5e3;
	border-radius: 0 0 8px 8px;
	margin: 16px 0 0;
	padding: 0;
	position: relative;
}

/* 子選單選項 */
header .menu .submenu li {
	padding: 16px 12px;
}

header .menu .submenu li:not(:last-child) {
	border-bottom: 1px solid #ddd;
}

/* 子選單連結樣式 */
header .menu .submenu li a {
	text-decoration: none;
	color: #000;
	display: block;
	font-size: 18px;
	font-weight: 400;
}

/* 子選單滑入樣式 */
header .menu .submenu li:hover {
	background-color: #DD961B;
}

header .menu .submenu li:hover a {
	color: #fff;
}

/* 小箭頭樣式 */
header .menu .arrow {
	float: right;
	margin-left: 8px;
	font-size: 14px;
	transition: transform 0.3s ease;
}

/* BN-L隱藏 */
.banner-l {
	display: none;
}

/* <<<<<<<<<<<活動時間&對象>>>>>>>>>>> */
.activitytime {
	background-color: #EA8D2D;
	padding: 32px 0;
}

.activitytime h2 {
	color: #FFF;
	font-size: 32px;
	font-weight: 700;
	text-align: center;
	margin-bottom: 6px;
}

.activitytime p {
	color: #FFF;
	font-size: 18px;
	font-weight: 400;
	line-height: 150%;
	text-align: center;
}

.activitytime .item:first-child p {
	margin-bottom: 42px;
	position: relative;
}

.activitytime .item:first-child p::after {
	content: "";
	position: absolute;
	bottom: -21px;
	left: 50%;
	height: 1px;
	width: 80%;
	background-color: #ffffff;
	transform: translateX(-50%);
}

/* 活動規則 */
.rule {
	margin-top: 48px;
}

.rule h2 {
	color: #000;
	font-size: 32px;
	font-weight: 700;
	text-align: center;
	margin-bottom: 6px;
}

.rule p {
	color: #000;
	font-size: 18px;
	font-weight: 400;
	line-height: 150%;
	text-align: center;
	padding: 8px 0;
}

.rule p a {
	color: #EA8D2D;
}

.rule .item .pic {
	width: 95%;
	margin: auto;
}

.missionbtn {
	position: relative;
	display: flex;
	margin: auto;
	width: fit-content;
	padding: 24px 20px;
	margin-top: 16px;
	border-radius: 16px;
	background-color: #fff;
	border: 8px solid #EA8D2D;
	font-size: 32px;
	font-weight: 600;
	color: #EA8D2D;
	transition: 0.5s;
}

.missionbtn:hover {
	background-color: #EA8D2D;
	color: #fff;
}

/* <<<<<<<<<<<活動獎項>>>>>>>>>>> */
.prize {
	margin: 84px 0 60px;
}

.prize h2 {
	display: flex;
	width: fit-content;
	height: 100%;
	color: #000;
	font-size: 32px;
	font-weight: 700;
	padding: 0 0 16px 0;
	position: relative;
	margin: auto;
	margin-bottom: 24px;
}

/* .prize h2::after{
	position: absolute;
	content: "";
	background: #000;
	width: 100%;
	height: 8px;
	top: 100%;
	left: 0;
} */
.prize .prize_list li {
	transition-duration: 0.5s;
}

.prize .prize_list li:hover {
	transform: translateY(-6px);
}

.prize .prize_list li:not(:first-child) {
	margin-top: 16px;
}

.prize .prize_list li .pic {
	display: flex;
	justify-content: center;
}

/* <<<<<<<<<<<電子書借閱步驟>>>>>>>>>>> */
/* owl-carousel區域 */
.ebooks_step {
	margin-top: 84px;
}

.ebooks_step h2 {
	display: flex;
	width: fit-content;
	height: 100%;
	color: #000;
	font-size: 32px;
	font-weight: 700;
	position: relative;
	margin: auto;
}

/* .ebooks_step h2::after{
	position: absolute;
	content: "";
	background: #000;
	width: 100%;
	height: 8px;
	top: 100%;
	left: 0;
} */
.ebooks_step .wrap .owl-carousel {
	padding-bottom: 64px;
	/* background-color: #EA8D2D; */
	border-bottom-left-radius: 16px;
	border-bottom-right-radius: 16px;
}

.ebooks_step .boxbtnwrap {
	display: flex;
	cursor: pointer;
	justify-content: center;
	gap: 24px;
}

.ebooks_step .boxbtnwrap .boxbtn {
	width: 40%;
	padding: 16px 0px;
	color: #000;
	font-size: 20px;
	font-style: normal;
	font-weight: 600;
	line-height: normal;
	background-color: rgb(255, 255, 255);
	border-radius: 99px;
	/* border-top-left-radius: 16px;
	border-top-right-radius: 16px; */
	text-align: center;
}

.ebooks_step .boxbtnwrap .boxbtn.active {
	color: #fff;
}

/* owl-carousel左右輪播按鈕 */
.owl-nav button {
	height: 44px;
	width: 44px;
	position: absolute;
	top: 0;
	bottom: 0;
	line-height: 78px;
	margin: auto !important;
	color: #000 !important;
	background-color: rgb(245, 245, 245) !important;
	border-radius: 44px !important;
	opacity: 0.5;
	transition: 0.25s linear;
}

.owl-nav button:hover {
	opacity: 1;
}

/* owl-carousel左輪播按鈕 */
.owl-nav button.owl-prev {
	left: 2.5%;
}

/* owl-carousel右輪播按鈕 */
.owl-nav button.owl-next {
	right: 2.5%;
}

/* owl-carousel按鈕箭頭 */
.owl-nav span {
	font-size: 24px;
}

/* owl-carousel下方點點標示 */
.owl-theme .owl-dots .owl-dot span {
	background-color: rgb(158, 158, 158);
	transition: 0.25s linear;
}

/* owl-carousel下方點點hover效果 */
.owl-theme .owl-dots .owl-dot span:hover {
	background-color: #333333;
}

/* owl-carousel目前輪播點點標示 */
.owl-theme .owl-dots .owl-dot.active span {
	background-color: #000;
	width: 45px;
}

/* owl-carousel輪播元件 */
.owl-carousel .item {
	width: 100%;
}

/* owl-carousel輪播元件文字 */
.owl-carousel .item .txt {
	width: 80%;
	margin: auto;
}

/* 標題 */
.owl-carousel .item .txt h3 {
	display: block;
	width: fit-content;
	color: #000;
	font-size: 24px;
	font-style: normal;
	font-weight: 700;
	line-height: normal;
	text-align: center;
	padding-bottom: 8px;
	position: relative;
	margin: auto;
}

/* .owl-carousel .item .txt h3::after{
	position: absolute;
	content: "";
	background: #000;
	width: 100%;
	height: 4px;
	top: 100%;
	left: 0;
} */
/* 內文 */
.owl-carousel .item .txt p {
	color: #424242;
	text-align: center;
	font-size: 16px;
	font-style: normal;
	font-weight: 400;
	line-height: 150%;
	/* 24px */
	letter-spacing: 1px;
	padding-top: 8px;
}

/*PC Web btn */
.owl-carousel.PC .item:first-child .txt p {
	display: flex;
	justify-content: center;
	align-items: center;
	flex-wrap: wrap;
}

.owl-carousel.PC .item:first-child .txt p a {
	margin: 0 8px;
}

.owl-carousel.PC .item:first-child .txt p a img {
	transition-duration: 0.5s;
}

.owl-carousel.PC .item:first-child .txt p a:hover img {
	transform: translateY(-6px);
}

/*mobile app download btn */
.owl-carousel.mobile .item:first-child .appbtn {
	display: flex;
	justify-content: center;
	padding-top: 16px;
}

.owl-carousel.mobile .item:first-child .appbtn a {
	display: flex;
	padding: 0 8px;
	max-width: 200px;
}

.owl-carousel.mobile .item:first-child .appbtn a img {
	width: 100%;
	transition-duration: 0.5s;
}

.owl-carousel.mobile .item:first-child .appbtn a:hover img {
	transform: translateY(-6px);
}

/* owl-carousel輪播元件圖片 */
.owl-carousel .item .pic {
	width: 80%;
	margin: auto;
	margin-top: 32px;
}

.owl-carousel.mobile .item .pic img {
	width: auto;
	max-height: 300px;
	margin: auto;
}

/* APP ebook step 3  span*/
.owl-carousel .item .txt p .ebookstephint {
	color: #ff0000;
	font-size: 14px;
}

/* <<<<<<<<<<<活動注意事項>>>>>>>>>>> */
.notice {
	padding: 36px 0;
	background-color: #EA8D2D;
}

.notice h2 {
	display: flex;
	width: fit-content;
	height: 100%;
	color: #fff;
	font-size: 32px;
	font-weight: 700;
	padding: 0 0 16px 0;
	position: relative;
	margin: auto;
	margin-bottom: 24px;
}

.notice ol {
	list-style: decimal;
	padding-left: 1rem;
}

.notice ol li {
	padding-top: 16px;
	color: #ffffff;
}

.notice ol li .txt p {
	color: #ffffff;
	font-size: 16px;
	font-weight: 400;
	line-height: 180%;
	/* 28.8px */
	letter-spacing: 1px;
}

/* 借閱方式 */
.borrow_step ol {
	padding-left: 0;
}

.borrow_step ol li {
	list-style: none;
	padding-top: 0px;
	position: relative;
}

.borrow_step ol li p a {
	color: #3413ca;
}

.borrow_step ol li:not(:first-child) {
	padding-top: 48px;
}

.borrow_step ol li:not(:last-child):after {
	position: absolute;
	content: "";
	background: #fff;
	width: 1px;
	height: 32px;
	top: 100%;
	left: 50%;
	transform: translateX(-50%);
}

.borrow_step ol li h3 {
	color: #fff;
	font-size: 24px;
	font-style: normal;
	font-weight: 600;
	padding-bottom: 8px;
	position: relative;
	text-align: center;
}

.borrow_step ol li p {
	text-align: center;
}

/*<<<<<<<<<<< lgswitch >>>>>>>>>>>>*/
.lgswitch {
	margin-top: 60px;
}

.lgswitch h2 {
	font-size: 32px;
	font-weight: 700;
	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 .boxagebtn {
	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;
}

.lgswitch .boxbtnwrap .boxagebtn.active {
	color: #fff;
	font-weight: 600;
	background-color: #EA8D2D;
	border: 1px solid #EA8D2D;
	border-radius: 999px;
}

/*<<<<<<<<<<< bookshelf >>>>>>>>>>>>*/
#bookallshelf {
	padding-bottom: 60px;
}

.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: #EA8D2D;
	font-weight: 600;
}

.bookshelf .bookall {
	display: none;
}

.bookshelf .bookall.active {
	display: block;
}

.bookshelf .bookall h2 {
	text-align: center;
	font-size: 24px;
	padding: 16px 0;
	font-weight: 600;
}

.bookshelf .bookall .bookall_area {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
}

.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 .pic {
	display: flex;
	align-items: center;
	aspect-ratio: 1/1.5;
	position: relative;
	width: 100%;
	overflow: hidden;
}

.bookshelf .bookall .bookall_area a .pic img {
	max-width: 100%;
	max-height: 100%;
	z-index: 2;
}

.bookshelf .bookall .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);
}

.bookshelf .bookall .bookall_area a .txt {
	padding-top: 4px;
	box-sizing: border-box;
}

.bookshelf .bookall .bookall_area a .txt p {
	font-size: 16px;
	line-height: 150%;
	color: #000;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.readmore {
	margin: 0 auto;
	height: 44px;
	width: 200px;
	line-height: 44px;
	text-align: center;
	display: block;
	color: #EA8D2D;
	border: 1px solid #EA8D2D;
	border-radius: 44px;
	transition: 0.25s linear;
}

.readmore:hover {
	color: #fff;
	background-color: #EA8D2D;
}

/* <<<<<<<<<<<FOOTER>>>>>>>>>>> */
footer {
	background-color: #fff;
	padding: 24px 0 20px;
}

footer ul li {
	display: flex;
	justify-content: center;
	align-items: center;
}

footer ul .logolist {
	display: flex;
}

footer ul li .item {
	display: flex;
	justify-content: center;
	align-items: center;
	padding: 8px 0;
}

footer ul li .txt p {
	color: #000;
	font-size: 14px;
	font-style: normal;
	font-weight: 400;
	line-height: 150%;
	/* 21px */
}

footer ul li .pic {
	max-width: 195px;
}

footer ul li:last-child {
	padding-top: 12px;
}

footer ul li:last-child .pic:not(:first-child) {
	padding-left: 24px;
}

@media (min-width: 768px) {


	/* HEADER LOGO */
	header .logo .pic {
		max-width: 450px;
	}

	/* 漢堡選單隱藏 */
	.hamburger {
		display: none;
	}

	/* MENU 顯示為橫向 */
	header .menu {
		display: flex;
		align-items: center;
		position: static;
		background-color: transparent;
		box-shadow: none;
	}

	header .menu .menu_item {
		padding: 0;
		border: none;
		position: relative;
		white-space: nowrap;
		background-color: transparent;
		line-height: 100%;
	}

	header .menu .menu_item:hover {
		color: #DD961B;
	}

	/* 非最後一個加右邊距 */
	header .menu .menu_item:not(:last-child) {
		margin-right: 24px;
	}

	/* 子選單絕對定位顯示於下方 */
	header .menu .submenu {
		display: none;
		position: absolute;
		top: 40%;
		left: 0;
		/* min-width: 180px; */
		z-index: 100;
		box-shadow: 0px 6px 16px rgba(176, 176, 176, 0.32);
	}

	/* hover 展開 submenu */
	header .menu .dropdown:hover .submenu {
		display: block;
	}

	/* 桌機不顯示箭頭 */
	header .menu .arrow {
		display: none;
	}

	/* 子選單內項目滑入 */
	header .menu .submenu li:hover {
		background-color: #DD961B;
	}

	header .menu .submenu li:hover a {
		color: #fff;
	}

	/* <<<<<<<<<<<活動規則>>>>>>>>>>> */
	.activitytime {
		padding: 48px 0;
	}

	/* .activitytime .wrap{
		display: flex;
	} */
	.activitytime .wrap .item {
		width: 80%;
		margin: auto;
	}

	.activitytime h2 {
		font-size: 40px;
		font-weight: 700;
	}

	.activitytime .item:first-child p {
		margin-bottom: 72px;
	}

	.activitytime .item:first-child p::after {
		bottom: -36px;
	}

	.activitytime p {
		font-size: 20px;
		font-weight: 400;
		margin-top: 0px;
		text-align: center;
	}

	/* 活動規則 */
	.rule h2 {
		font-size: 40px;
		font-weight: 700;
	}

	.rule p {
		width: 80%;
		margin: auto;
	}

	.rule .item {
		display: flex;
		justify-content: space-between;
	}

	.rule .item .pic {
		width: 50%;
		padding: 0 24px;
	}

	.missionbtn {
		padding: 32px 48px;
		font-size: 36px;
	}

	/* <<<<<<<<<<<活動獎項>>>>>>>>>>> */
	.prize h2 {
		font-size: 40px;
		font-weight: 700;
	}

	.prize .prize_list li {
		/* align-items: center; */
		padding: 0 8px;
		box-sizing: border-box;
	}

	.prize .prize_list li .pic {
		width: 100%;
	}

	/* <<<<<<<<<<<電子書借閱步驟>>>>>>>>>>> */
	.ebooks_step h2 {
		font-size: 40px;
		font-weight: 700;
	}

	.ebooks_step .boxbtnwrap .boxbtn {
		width: 25%;
	}

	/* 標題 */
	.owl-carousel .item .txt h3 {
		font-size: 28px;
		font-weight: 700;
	}

	/* 內文 */
	.owl-carousel .item .txt p {
		font-size: 18px;
	}

	/* owl-carousel輪播元件圖片 */
	.owl-carousel.PC .item .pic {
		width: 60%;
	}

	.owl-carousel.mobile .item .pic img {
		max-height: 500px;
	}

	/* <<<<<<<<<<<活動注意事項>>>>>>>>>>> */
	.notice {
		padding: 48px 0;
	}

	.notice h2 {
		font-size: 40px;
		font-weight: 700;
	}

	.notice ol {
		width: 80%;
		margin: auto;
	}

	.notice ol li .txt p {
		font-size: 18px;
		font-weight: 400;
		line-height: 180%;
		/* 32.4px */
		letter-spacing: 1px;
	}

	.notice ol li:first-child {
		padding-top: 0;
	}

	.notice ol li:not(:first-child) {
		padding-top: 24px;
	}

	/* 推薦書籍 */
	.lgswitch h2 {
		font-size: 40px;
	}

	/* 借閱方式 */
	.borrow_step ol li p {
		text-align: center;
	}

	.borrow_step ol li:not(:first-child) {
		padding-top: 48px;
	}

	/*<<<<<<<<<<< bookshelf >>>>>>>>>>>>*/
	.bookshelf .bookall .bookall_area a {
		width: calc((100% - 72px) /4);
	}
}