@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 */

body{background: linear-gradient(180deg, #c4e3db, #e0f1eb);}
article{background:linear-gradient(45deg, #f2f2f2aa, #ffffffaa, #f2f2f2aa);border-radius: 0 0 1rem 1rem;}
.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{
    --red1:#ac161a;
    --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;
    --blue1:#344C98;
    --purple1:#6943b1;
    --orange1:#d75713;
}
small{font-size: smaller;}
mark{color: var(--red1);padding: 0 .3rem;background-color: transparent;}
a:hover{text-decoration: none;}
.text-center{text-align: center}
.red{color: #ac161a;}
.margin_bottom{margin: 0 auto .8rem;display: inline-block;}
/* .jump_btn{margin:2% 0 0;}
.jump_btn a{font-size: 1.7rem;background: linear-gradient(to top, #060adf, #36bdff);text-decoration: blink;color: 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); } 
.sale_t{color:#ffeb3b;font-size: 1.5rem}
.mainlist {margin: 0 27px 0;font-size: 1.8rem;line-height: 2.2rem;color: #072446;padding: 10px 0;text-align: center;position: relative;;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;}*/

/*系列書籍*/
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: 2rem;}
h4{font-size: clamp(1.5rem, 5vw, 2rem);}
.mb-1{margin: 0 0 1rem 0;display: inline-block;}


.banner{}
.banner img{width: 100%;}
.gift{}
.banner h2{background: #fff;font-size: 1.8rem;text-align: center;padding: .5rem 0 0;}
.discount,.giveaway{font-weight: bold;}
.discount{font-size: 1.25rem;margin: auto;padding: .5rem;display: flex;justify-content: center;font-weight: bold;background: #ffffff;}
.discount dl{padding: 1rem;margin: 0 .35rem .5rem;border-radius: 1rem;}
.discount dl:first-child{background: linear-gradient(25deg, #dcf0eb, #f4fcfb, #dcf0eb);border: 2px solid #dcf0eb;}
.discount dl:last-child{background:linear-gradient(25deg, #f9eccc, #fffaef, #f9eccc);border: 2px solid #f9eccc;}
.discount .deadline{margin: 0 .25rem;padding: .125rem .5rem .25rem;border-radius: .5rem;background:linear-gradient(90deg, #e5efed, #f9fcfb, #e5efed);}
.discount .deadline mark{color: #086c8b;}
.discount b{font-size: larger;border: 2px solid;border-radius: 50rem;padding: .125rem .3rem;margin: 0 .25rem 0 0;}
.discount dl:first-child b , .discount dl:first-child a{color: #086c8b;}
.discount dl:last-child b , .discount dl:last-child a{color: #8a581a;}
.discount a i{font-size: larger;opacity: .5;}
.discount a{color: #000;text-decoration:none;border-bottom: 1px dotted;}
.discount a:hover{color: #ac161a;position: relative;top: 1px;left: 1px;border-bottom: unset;}
.discount_content{line-height: 1.5rem;justify-content: space-around;width: fit-content;column-gap: 3rem;margin: auto;}
/* .discount span{width: 2px;height: auto;display: inline-block;background: #98a541;margin: 0 .5rem;filter: none;} */
.giveaway{width: 100%;font-size: 1.3rem;margin: auto;padding: 0 0 2.25rem;}
.giveaway p{color: #ffffff;padding: 1rem 0;line-height: 2rem;background: linear-gradient(90deg, #086c8b, #448c9e, #086c8b);}
.giveaway p mark{color: #f2cd6e;}
/* .discount dl:first-of-type, .discount dl:first-of-type a, h4#red{color:#ac161a;}
.discount dl:first-of-type mark, .discount dl, .discount dl a, h4{color:green} */
.discount dt {font-size: 1.5rem;padding: .25rem;/*clamp(1.3rem, 5vw, 1.85rem);*/}
.discount dd{padding: .5rem 0 0;letter-spacing: -1px;line-height: 1.8rem;}
/* .discount dt span{color: #ffef9d;padding:0 1.2rem .2rem .6rem;margin: auto .5rem auto auto;border-left: 6px solid #c89a29;background: linear-gradient(45deg, #00634c, #31816e);clip-path: polygon(0% 0%, 90% 0, 100% 50%, 90% 100%, 0% 100%);} */
.discount_text{margin-top: 1.3rem;font-size: 1.2rem;}


/*書籍明細*/
#event_Book h3 {text-align: center;font-size: 2.55rem;font-family: "Microsoft YaHei";margin:1.25rem 0 .5rem;background:linear-gradient(90deg, #086c8b, #448c9e, #086c8b);background-clip: text;-webkit-background-clip: text;color: transparent;}
#event_Book p{font-size: 1.4rem;text-align: center;}
#event_Book table{width: 100%;text-align: center;margin:0 auto .5rem;background: #fff;}
#event_Book .price{color: #ac161a;font-weight: bold;}
.book_discount a{color: #1c1c1c;padding: 1rem 0 0;font-size: 1.6rem;text-align: center;}
.booklist table{border-bottom:2px #338fa8cc solid;padding:0 0 .2rem 0;}
.booklist td {border-bottom: 2px #338fa85c dotted;background-color: #fff;}
.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: #2486a8;color: #fff;}
.booklist .bgcolor2{background: #007392cc;color: #fff;}
.booklist .bgcolor3{background-color:#c08c4d;color: #fff;}
.booklist .bgcolor4{background-color:#c08c4d;color: #fff;}
.booklist td, .booklist th{padding: 5px 18px;}
.booklist td strong{color: #a3681f;font-size: 1.25rem;}
.booklist a{color: #2e3238;display: inline-block;}
.booklist a:hover{color: #bc343c;}
.booklist td p{text-align: left;}
.booklist td:nth-last-child(1) {color: #ac161a;font-weight: bold;}
.booklist tr:nth-of-type(even) td  {background: #fbfbfb;}
.booklist{padding: 0 0 3%;width: 92%;text-align: center;margin: auto;font-size: 1.05rem;}
.booklist2 table{border-bottom: 2px #ee7b4f3f solid;}
.booklist2 td {border-bottom: 2px #ee7b4f3f dotted;}
#event_Book .booklist3 table{border-bottom: 2px #c08c4dcc solid;margin:0 auto .5rem;}
.booklist3 td {border-bottom: 2px #c08c4d3f dotted;}
.posner{width: 90%;margin: 1.5rem auto;padding:1.5rem;background: #ffffff;border: 5px #e254673f dotted;border-radius: 1rem;}
.posner dl{padding: .5rem;}
.posner dl dt{font-size: 1.3rem;font-weight: bold;color: #393939;}
.posner dl dt span{color: #ac161a;}
.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,.mainlist span{ color:#9f641b;font-weight: bolder;line-height: 4rem;}
caption .small_title{font-size: 2rem;color: #a6813e;line-height: 2.25rem;}
.booklist table caption{text-align: center;margin: .5rem auto;font-size: clamp(1.3rem, 5vw, 1.7rem);line-height: 2.5rem;font-weight: bolder;color: #0d614a;}
.booklist table caption b{clip-path: polygon(100% 0, 95% 50%, 100% 100%, 0% 100%, 5% 50%, 0% 0%);color: #ffffff;background: linear-gradient(to right, #9d6014 0%, #b17b39 15%, #d19f62 85%, #9d6014 100%);padding: 0.2rem 5rem 0.1rem;}
.booklist3 table caption{margin:0rem 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(97%/6);filter: drop-shadow(1px 3px 3px #0000002f);}
.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: #FFFFFF;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: #ac161a;}
.booklist nav a{font-size: 1.3rem;color: #a3681f;}
.booklist td:nth-child(1){text-align: left;}
.booklist td:nth-last-child(1) {color: var(--red1);font-weight: bold;}
#book1 {padding: 0;}
.booklist h3:is(:first-child) span{ color:#ac161a;}
.booklist2{background: linear-gradient(to bottom,#bfc3cc 30%,#f9f9f9 70%);}
#event_Book .booklist h3 {margin: 7px 0 1%;}
#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;}
#event_Book{padding: 1.5rem 0 0;}

/*購買*/
.buy{width: 100%;text-align: center; margin: 1% 0 6%;}
.buy a {background-color: #ac161a;border-radius: 50px;display: inline-block;cursor: pointer;margin: 3px 5px; padding: 6px 15px;text-decoration: none;color: white !important;font-size: 1.1rem;}
.buy a:hover {background-color: #b27d3b;}
.buy a:active {	position:relative;top:1px;}

/*贈書明細*/
#event_Book .maglist{font-size: .9rem;font-weight: 400;margin-left: 4%;}
#event_Book .mag, .mag th, .mag td {border: 1px solid #FC852D;border-collapse: collapse;padding: .3rem 0.1rem;}
#event_Book .mag td {width: 50%;text-align: left}
#event_Book .mag tr:nth-child(even) {background: #f8f8f8;}
#event_Book .mag caption {text-align: left;font-size: 1.1rem;font-weight: 700;color: var(--red1);}
#event_Book .mag caption::before {content: '▪ ';}

#event_ask { width: 100%;margin:0 auto;padding:0;background-color:#e25467;display: inline-block;color: white;}
#askform{ width: 80%;padding: 4% 10% 5%;}
#askform p { line-height: 1.5em; }
#askform SELECT{border-radius: 7px;width: 10%;padding: 0.5%;margin-right: 1%;margin-bottom: 1%;width: 15%;}
#askform input{font-size:1rem;border-radius: 5px;padding: 0.5%;margin-bottom: 1%;margin-left: 0;border: none;}
#askform input[type="submit"]{ color: #FFF;background-color: #9A1B1B;padding:0.5em;}
#askform input[name="sContent"]{ margin-left: 0%; }
#askform input[type="reset"]{ color: #FFF;background-color: var(--blue1);padding:0.5em;}
#askform input[type="text"]{ width:50%;}
#askform input.input_w{ width:70%;}
#askform input.w60{ width:60%;}
#askform textarea{margin-bottom: 1%;width:100%;border: none;font-size:1rem;}
#askform h2{background: #ffefbf;font-size: 2em;color: #e25467;margin: 0 0 20px;text-align: center;clip-path: polygon(0 0, 100% 0, 98% 50%, 100% 100%, 0 100%, 2% 50%);}
#askform img{display: inline;width: auto}