@import url('https://fonts.googleapis.com/css2?family=Noto+Serif+TC:wght@700&display=swap');

/* css reset 歸0 */
html, body, div, span, applet, object, iframe,h1, h2, h3, h4, h5, h6, p, blockquote, pre,a, abbr, acronym, address, big, cite, code,del, dfn, em, font, img, ins, kbd, q, s, samp,small, strike, strong, sub, sup, tt, var,b, u, i, center,dl, dt, dd, ol, ul, li,fieldset, form, label, legend,caption,  tfoot, thead {margin: 0;padding: 0;border: 0;outline: 0;font-size: 100%;}
blockquote, q {quotes: none;}
blockquote:before, blockquote:after,
q:before, q:after {content: '';content: none;}

/* remember to define focus styles! */
:focus {outline: 0;}

/* remember to highlight inserts somehow! */
ins {text-decoration: none;}
del {text-decoration: line-through;}
/* css reset 歸0 end */

/* article{background:linear-gradient(to bottom,#ffffff 40%, #ffefbf 76%);} */
.img-responsive,.thumbnail > img,.thumbnail a > img,.carousel-inner > .item > img,.carousel-inner > .item > a > img {display:inline-block;max-width: 100%;height: auto;}
/*主圖*/
:root{
	--font-family1:'Noto Serif TC', serif;
    --red1:#e9161f;
    --red2:#5b063f;
    --linear1:linear-gradient(to right,#FFC499 57%,#FC852D 100%);
    --linear2:linear-gradient(to right, var(--red1) 57%, var(--red2) 100%);
    --golden_yeelow:#fff94e;
    /* --pink1:#ec57a5; */
    --pink1:#df1159;
    --blue1:#344C98;
    --purple1:#6943b1;
    --white:#fff;
}
small{font-size: 0.8rem;font-weight: normal;}
mark{color: var(--red1);padding: 0 .3rem;}
#event_master {width: 100%;margin:0 auto;padding:0;text-align: center;}
#event_master>h2{font-size: 2em;}
small{font-size: .85em;}
.bg1{background: linear-gradient(to right, #eff7f9 0%, #b5dfef 30%, #b5dfef 70%, #eff7f9 100%)}
.jump_btn{margin:2% 0 0;}
.jump_btn a{font-size: 1.7rem;background: linear-gradient(to top, #060adf, #36bdff);text-decoration: blink;color:var(--white);margin: 0 5px;padding: 6px 3%;border-radius: 14px;border: solid 1px#2fa4fa;box-shadow: inset 0px 2px 1px #d1eaff,0px 5px 3px 1px #1a9085;}
.jump_btn a:hover{box-shadow: inset 0px 2px 1px #86c8ff;transform: translateY(1px);background: linear-gradient(to top, #0c20e3, #32b1fe);}
.gift{padding:0rem 2.5rem 2rem;background: var(--linear1);margin-top: -1rem;border-radius: 0 0 20px 20px;}

.sale_t{color:#ffeb3b;font-size: 1.5rem}
.mainlist {/* background: #e5d7a4; */margin: 0 27px 0;font-size: 1.8rem;line-height: 2.2rem;color: #072446;padding: 10px 0;position: relative;text-align: center;border-radius: 50px;font-family: Verdana, "Microsoft JhengHei", Arial;font-weight: bold;}
.mainlist .maintitle {color: #e91e63;font-weight: bold;font-size: 1.7rem;line-height: 2rem;}
.mainlist .maininfo {color: #e08527;font-weight: bold;font-size: 1.65rem;line-height: 2.1rem;border-top: 2px #e99135 dotted;border-bottom: 2px #607d8b dotted;display: inline-block;margin: 0.7% 0;}
.bookmaps{text-align: center;}
.bookmaps img{}

.buy a {/* box-shadow: inset 0px 1px 0px 0px #7fb6ff; *//* background: linear-gradient(to bottom, #376dac 5%, #0b2156 100%); */background-color: var(--pink1);border-radius: 50px;/* border: 1px solid #3264a1; */display: inline-block;cursor: pointer;margin: 3px 5px;padding: 6px 15px;text-decoration: none;color: var(--white) !important;font-size: 1.25rem;}
.buy a:hover {/*background: linear-gradient(to bottom, #ff4e4e 5%, #ea0303 100%);*/background-color: #cd001b;/*box-shadow: inset 0px 1px 0px 0px #ff8a8a;border: solid 1px #f22802;*/}
.buy a:active {position:relative;top:1px;}

/*系列書籍*/
figure{margin: 0 20px;text-align: center;}
[class*="flex"]{display: flex;justify-content: center;flex-wrap: wrap;}

/*活動內容*/
h1{font-size: 3rem;}
h2{font-size: 2.7rem;}
h3{font-size: 2.2rem;}
h4{font-size: 1.7rem;}

/* 主圖 */
.banner {width: 100%;}
.subtitle {text-align: center;font-size: 2.55rem;color:#fff;font-family: var(--font-family1);font-weight: bold;margin: 0rem 0 0.5rem;background: linear-gradient(to right, #fff 0%, #e04e69 20%, #e04e69 80%, #fff 100%);padding: 1.5%;}


/*書籍明細*/
#event_Book p{font-size: 1.4rem;text-align: center;}
#event_Book table{width: 100%;text-align: center;background: var(--white);}
#event_Book .price{color: #c00;font-weight: bold;}
.book_discount a{color: #1c1c1c;padding: 1rem 0 0;font-size: 1.6rem;text-align: center;}
.booklist table{border-bottom:2px #007d9c3f solid;padding:0 0 .2rem 0;margin: 1.8rem auto .5rem;}
.booklist td {border-bottom: 2px #007d9c2f dotted;background-color: var(--white);}
.booklist:nth-of-type(2) td:nth-child(2) {width: 25%}
.booklist td:nth-child(n+3) {width: 10%}
.booklist tr:nth-last-child(1) td {border-bottom: 0;}
.booklist tr.bgcolor1 {background-color: #df4e68;color: var(--white);}
.booklist .bgcolor2 {background-color: #dc9e42;color: var(--white);}
.booklist .bgcolor3{background-color:#8e79b5;color: var(--white);}
.booklist .bgcolor4{background-color:#e25467;color: var(--white);}
.booklist td, .booklist th{padding: 5px 18px;}
.booklist td strong{color: #e25467;font-size: 1.25rem;}
.booklist a{color: #2e3238;display: inline-block;}
.booklist a:hover{color: #cd001b;}
.booklist td p{text-align: left;}
.booklist td:nth-last-child(1) {color: #cd001b;font-weight: bold;}
.booklist{width: 90%;margin: auto;font-size: 1.05rem;}
.booklist2 table{border-bottom: 2px #ee7b4f3f solid;margin: 0 auto 1rem;}
.booklist2 td {border-bottom: 2px #ee7b4f3f dotted;}
.booklist3 table{border-bottom: 2px #e254673f solid;margin: 0 auto 1rem;}
.booklist3 td {border-bottom: 2px #e254673f dotted;}
.posner{width: 90%;margin: 1.5rem auto;padding:1.5rem;background: var(--white);border: 5px #e254673f dotted;border-radius: 1rem;/*filter: drop-shadow(1px 3px 3px #0000002f);*/}
.posner dl{padding: .5rem;}
.posner dl dt{font-size: 1.3rem;font-weight: bold;color: #393939;}
.posner dl dt span{color: #cd001b;}
.posner dl dd{font-size: 1.05rem;line-height: 2rem;}
.posner .more:hover{filter: drop-shadow(1px 3px 3px #0000000f);}
#event_Book .posner h3{margin: 0 auto  .5rem;}
caption span{color: #9f641b;line-height: 4rem;}
.booklist table caption i span{color: #c952b1;line-height: 4rem;}

.booklist table caption{text-align: center;margin: .5rem auto;font-size:2.2rem;line-height: 2.5rem;font-weight: bolder;color: #2486a8;}
.booklist table caption b{clip-path: polygon(100% 0, 95% 50%, 100% 100%, 0% 100%, 5% 50%, 0% 0%);color: var(--white);background: linear-gradient(to right, #9d6014 0%, #b17b39 15%, #d19f62 85%, #9d6014 100%);padding: .6rem 6rem;font-size: 2.5rem;display: inline-block;}
.booklist3 table caption{margin:.2rem auto .5rem;}
.booklist3 table caption span{margin:.2rem auto .5rem;line-height: 2.5rem;}
.booklist table caption i {color: #393939;font-style: normal}
.booklist table caption i strong{font-weight: bolder;padding: 0 .1rem;color:#2c2c2c;}
.booklist table caption img{width: calc(99%/5);filter: drop-shadow(1px 3px 3px #0000002f);padding: 0 0 .5rem;}
.booklist h3 {margin: 3.5rem auto 0;}
#event_Book div .books_title{font-weight: 700;color: #e63a94;font-size: 1.15rem;background-color: #f7ebeb;}
#event_Book div td:nth-child(1) {text-align: left;}
.books_title:before {position: relative;content: "▶";}

/*書籍明細*/
.book_group{width: 96%;display:flex;flex-wrap: wrap;justify-content: center;border-radius: 10px;margin: 0 auto .5rem;background: linear-gradient(to bottom,var(--golden_yeelow) 35%,white 60%);}
.book_group dl{margin:0 2% .5rem;padding-bottom: .5rem;text-align: left;line-height: 1.85;display: flex;flex-wrap: wrap;border-bottom: dashed thin var(--purple1);}
.book_group dl:nth-last-child(1){border-bottom:none;}
.book_group dt{font-size: 1.3rem;font-weight: 700;color:var(--blue1);width: 100%;}
.book_group dl:nth-of-type(2) dt{color: #1EA276;}
.book_group dl:nth-of-type(3) dt{color: var(--purple1);}
.book_group dd{padding: 0 1rem;font-size: 1.15rem;}
.book_group dd b{color: #a24d98;}.cover_flex{column-gap: 1rem;filter: drop-shadow(-8px 5px 10px var(--golden_yeelow));padding: 1.2rem 0 1rem;}
.title{text-align: center;font-size: 2.5rem;;font-weight: bolder;color: var(--red1);width: 100%;text-align: center;line-height: 1.7;font-family: "microsoft yahei";}
.series{text-align: center;font-size: 1.9rem;;font-weight: bolder;text-align: center;line-height: 2;color: var(--purple1);}
.greentag:after{content: "綠標";background: #03a506;color:var(--white);padding: 0.3% 1.5% 0.5%;border-radius: 10px;font-size: .9rem;margin-left: 2%;display: inline-block;}

@keyframes aa{
	0%{background: #f63b00;}
	50%{background: #ffde00;}
	100%{background: #f63b00;}
}

#event_Book .price{color: var(--red1);font-weight: bold;}
.booklist a{color: #2e3238;display: inline-block;}
.booklist a:hover{color: #e91e63;}
.booklist td:nth-child(1){text-align: left;}
.booklist td:nth-last-child(1) {color: var(--red1);font-weight: bold;}
.booklist{padding: 0% 0 2%;width: 92%;text-align: center;margin: auto;}
/* .booklist h3:is(:first-child) span{ color: #18295e; } */
/* .booklist2{background: linear-gradient(to bottom,#bfc3cc 30%,#f9f9f9 70%);} */
#event_Book .booklist h3 {margin: 7px 0 1%;clip-path: polygon(100% 0, 95% 50%, 100% 100%, 0% 100%, 5% 50%, 0% 0%);color: var(--white);background: linear-gradient(to right, #ffd7dd 0%, #f7a4af 15%, #df1159 85%, #f9b0ba 100%);padding: .2rem 6rem;font-size: 2.5rem;display: inline-block;}
#event_Book .booklist h3 span {font-size: 2.7rem;color: #fff3c7;}
#event_Book div:nth-child(3) .books_title{font-weight: 700;color: #e63a94;font-size: 1.15rem;background-color: #ffdac6;}
.books_title:before {position: relative;content: "▶";}
#event,#event_master,#event_Act,#event_Book {width: 100%;margin:0 auto;padding:0;font-family: Verdana, "Microsoft JhengHei", Arial}

/*購買*/
.buy{width: 100%;text-align: center; margin: 1% 0 5%;}

/*media區域*/

@media(max-width:767px){
	.subtitle {font-size: 1.55rem;}
	.booklist table caption b {padding: .6rem 0rem;font-size: 2.0rem;width: 100%;}
	small {line-height: 2.0rem;}
	#event_Book h3 {font-size: 1.75rem;line-height: 2rem}
	.booklist table caption i {font-size: 1.8rem;}
	#event_Book .booklist h3 span {font-size: 2.2rem;line-height: 2.8rem;}
    .discount {margin: 2% auto 0;font-size: 1.25rem;line-height: 1.6rem;}  
    .discount:nth-of-type(1),.discount:nth-of-type(2){width: 100%;}  
    .discount:nth-of-type(2):before{display: none;}  
    .discount ul li{display: inline-block;float: none;width: auto;}
	#event_Book .booklist h3 {padding: .2rem 0rem;font-size: 1.8rem;width: 100%;}
    /* caption span { display: flex;justify-content: center;flex-wrap: wrap; } */
    @media screen and (max-width: 500px) { .booklist table caption img { max-width: 100%; width: calc(100%/3);} }    
	.booklist a {color: #2e3238;display: inline-block;}
	.booklist td, .booklist th {padding: 5px 4px 5px 0px;}
	.booklist th {white-space: nowrap;}
    .book_group dl{justify-content: center;}
    .book_group dd{padding: 0;}
	#event_notice p {font-size: 0.9em !important;line-height: 1.7em !important;text-indent: -0.8125rem;margin: 0 5% 0 10% !important;}
	.buy a {padding: 6px 12px;}
    .gift{font-size: 1.2rem;padding: 1.6rem .6rem 1rem;}
    .title{font-size: 1.9rem;}
    .series{font-size: 1.6rem;}
}