@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: url(../images/bg_line.gif) #fed1ceee;}
main{background:white;}
.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:#c5213e /*#b7365d *//*#ca3f02*/;
    --red2:#5b063f;
    --linear1:linear-gradient(to right,#FFC499 57%,#FC852D 100%);
    --linear2:linear-gradient(to right, var(--red1) 57%, var(--red2) 100%);
    --linear3:linear-gradient(90deg, #5aa8be, #438498, #6bb3c6);
    --golden_yeelow:#fff94e;
    --light_yellow:#ffff8e;
    --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;}
.teal_bg{background: linear-gradient(180deg, #ffbc00 50%, #ffeebf);}
.margin_bottom{margin: 0 auto .8rem;display: inline-block;}
.hot_bg{background: linear-gradient(180deg, #ffeebf 50%, transparent);}
/*系列書籍*/
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.5rem;}
h4{font-size: 2.1rem;text-align: center;padding: 0 0 .4rem;}
h4{font-size: clamp(1.5rem, 5vw, 2rem);}
.mb-1{margin: 0 0 1rem 0;display: inline-block;}
.light_yellow{color: var(--light_yellow);}

.banner img{width: 100%;}
.banner picture div{padding: 1rem 0 8rem;margin-bottom: 2rem;}
.discount{font-size: 1.4rem;padding: 1.5rem 0;color: #fff;font-weight: bold;margin: auto;line-height: 2rem;display: grid;justify-content: center;background: linear-gradient(45deg, #c5213e, #e0576e, #c5213e)}
.discount span{color: #fffb8c;font-size: larger;padding: .125rem;}
.discount a{color: #fffb8c ;}
.discount div p{text-indent: 1.2rem;}
.bgcolor1{background-color: #edf6fa;}

/*書籍明細*/
#event_Book h3 {text-align: center;font-size: 2.55rem;font-family: "Microsoft YaHei";margin:1.25rem 0 .5rem;background:linear-gradient(35deg, #3fabca, #037697, #024659);background-clip: text;-webkit-background-clip: text;color: transparent;}
#event_Book p{font-size: 1.4rem;text-align: center;}
#event_Book table{width: 92%;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;}
/*#event_Book .booklist:first-child{width: 100%;background:#fffddd;}*/
#event_Book .booklist h3{padding: 0.25rem 0 0;margin: 0;background: linear-gradient(115deg, #df5a82, #b7365d, #8d032d);background-clip: text;-webkit-background-clip: text;color: transparent;}
.booklist:first-child .bgcolor2 {background:#3e8a9d;}
.booklist:first-child td {border-bottom: 1px #3e8a9d9e dotted;}
.booklist:first-child table {border-bottom: 2px #3e8a9d solid;}
.booklist:first-child caption span{font-size: 1.9rem;font-family: "Noto Serif TC", serif;color:#c5213e;font-weight: bolder;line-height: 3rem;background: linear-gradient(to top, #e0566e 0%, #c5213e 100%);background-repeat: no-repeat;background-position: center center;background-size: cover;text-align: center;color: transparent;-webkit-background-clip: text;background-clip: text;}
.booklist:first-child caption span small{font-size: 1.5rem;}
.booklist table caption br{display: none;}
.booklist table{border-bottom:2px #dc6c7f solid;padding:0 0 .2rem 0;}
.booklist td {border-bottom: 1px #dc6c7f8e 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:#dc6c7f;color: #fff;}
.booklist .bgcolor3{background-color:#f47f7a /*#c08c4d*/;color: #fff;}
.booklist .bgcolor4{background-color:#cc9d5c;color: #fff;}
.booklist td, .booklist th{padding: 5px 15px;}
.booklist th:nth-last-child(1){background-color: var(--red1);}
.booklist td strong{color: #84519f;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:first-child tr:nth-of-type(even) td  {background: #3e8a9d0a;}
.booklist tr:nth-of-type(even) td  {background: #faf6ff;}
.booklist tr:nth-of-type(even) td:nth-last-child(1){background: unset;}
.booklist:nth-last-child(1) tr:nth-of-type(even) td  {background: #dc6c7f0a;}
.booklist:nth-last-child(2) tr:nth-of-type(even) td  {background: #dc6c7f0a;}
.booklist tr:nth-of-type(even) td:nth-last-child(1){background: unset;}
.booklist{padding: 0;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 #cc9d5c solid;margin:0 auto .5rem;}
.booklist3 td {border-bottom: 1px #d9ab4c 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{font-size: 1.9rem;font-family: "Noto Serif TC", serif;color: #c5213e;font-weight: bolder;line-height: 3rem;background: linear-gradient(to top, #e0566e 0%, #c5213e 100%);background-repeat: no-repeat;background-position: center center;background-size: cover;text-align: center;color: transparent;-webkit-background-clip: text;background-clip: text;}
caption .small_title{font-size: 2rem;color: #a6813e;line-height: 2.25rem;}
.booklist table caption{text-align: center;margin: 2rem auto .25rem;font-size: clamp(1.3rem, 5vw, 1.7rem);line-height: 2.5rem;font-weight: bolder;color: #0d614a;}
.booklist table caption .hot{clip-path: polygon(100% 0, 95% 50%, 100% 100%, 0% 100%, 5% 50%, 0% 0%);color: #ffffff;background: linear-gradient(to right, #ac161a 0%, #e0611d 20%, #e0611d 80%, #ac161a 100%);padding: 0.2rem 5rem 0.1rem;}
.booklist table caption b{font-size: 2rem;line-height: 4.5rem;font-family: "Noto Serif TC", serif;display: inline-block;padding: 0.2rem 5rem 0.1rem;position: relative;background: linear-gradient(to top, #3e8a9d 0%, #007086 100%);;background-repeat: no-repeat;background-position: center center;background-size: cover;text-align: center;color: transparent;-webkit-background-clip: text;background-clip: text;}
.booklist table caption b::before{content: '';position: absolute;left: 19%;bottom: -6%;width: 230px;height: 20px;background: url(../images/1503053_title_book.png) no-repeat center bottom;} 
/* .booklist table caption b::before{content: '\f304';font-family: "Font Awesome 6 Free";font-weight: bold;margin-right: 0.5rem;display: inline-block;speak: none;} */
.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);padding: .5rem 0 .25rem;}
.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: #fb7b14;border: dotted 2px #ffad17;padding: 1.0rem 1.5rem;background-color: white;border-radius: 2.0rem;}
.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:#84519f;}
.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;padding: .25rem 0 2rem;/*margin: 1% 0 4%;*/}
.buy a {background-color:#e0586f;border-radius: 50px;display: inline-block;cursor: pointer;margin: 3px 5px;padding: .35rem 1rem;text-decoration: none;color: white !important;font-size: 1.2rem;}
.buy a:hover {background-color:var(--red1);}
.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}