/* 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{
    --red1:#CD1A21;
    --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;
}
small{font-size: 0.7em;font-weight: normal;}
mark{color: var(--red1);padding: 0 .3rem;background-color: transparent;}
#event_master {width: 100%;margin:0 auto;padding:0;text-align: center;}
#event_master>h2{font-size: 2em;}
.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); }
.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;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;}
.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: white !important;font-size: 1.1rem;
}
.buy a:hover {
    /*background: linear-gradient(to bottom, #ff4e4e 5%, #ea0303 100%);*/
    background-color: #1e9ece;
    /*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: 2rem;}
h4{font-size: 1.7rem;}

.discount{background: #FFCACB;margin:0 auto;font-size: 1.3rem;width: 86%;padding:0.5rem 2rem 1.2rem;line-height: 1.5;}
.discount a{color: var(--red1);margin: .1rem auto;display: inline-block;font-weight: bold;font-family: microsoft yahei;}
.discount nav a{color: white;font-size: 1.3rem;padding: 0.5rem 0;}
.discount dt{
    font-family: "MStiffHeiHK UltraBold";line-height: 1.3;font-size: 1.8rem;font-weight: bold;padding: 0rem 1rem;text-align: center;overflow: hidden;
    background: var(--red1);color: white;margin:0 auto .5rem;clip-path: polygon(100% 0, 98% 50%, 100% 100%, 0% 100%, 2% 50%, 0 0);position: relative;z-index: 0;
}
.discount dt::before{
    position: absolute;content: '';width: 100%;height: 200%;background: #e2212b;z-index: -1;margin: auto;
    clip-path: polygon(50% 0%, 0% 100%, 100% 100%);opacity: 0.8;transform: translate(-40%,-10%);
}
.discount dt::after{
    position: absolute;content: '';width: 90%;height: 200%;background: #c11720;
    clip-path: polygon(50% 100%, 0 0, 100% 0);transform: translate(-80%,-20%);z-index: -2;margin: auto;
}
/* .discount dt:before{content: "★ ";} */
.discount dd{font-weight: bold;display: inline-block;margin-right: 1rem;}
.discount dd a{font-size: 1rem;font-weight: normal;}
.discount dd:before{content: "● ";font-size: 1.1rem;}
.discount dd.no_dot{text-align: center;padding: 0.2rem 2rem 0;display: inline-block;border:thin solid gray;font-size: 1.2rem;margin-top: 0.5rem;transition: all .3s ease-in;}
.discount dd.no_dot:hover{background: yellow;margin-left: 1rem;}
.discount dd.no_dot:hover a{text-decoration: none;}
.discount dd.no_dot:before{content: "";}
.discount dd.no_dot strong{color: var(--red1);}
.discount dd span{background-color: var(--red1);color: white;border-radius: 50%;display: inline-block;text-align: center;width: 1.5rem;height: 1.5rem;line-height: 1.2;}
.discount span{display: block;margin-left: 1rem;}
.discount span{margin-left: 1.2rem;}
.discount ul{text-align: center;list-style: none;justify-content: space-between;font-size: 1.2rem;}
.discount ul li{display: inline-block;margin:.4rem auto 0;}
.discount ul li:before{content: "▶";color: var(--red1);}
.discount strong{color: var(--red1);font-family: microsoft yahei;}
.discount_box {margin: .1rem 1.2rem 1rem;justify-content: flex-start;}
.discount_izzue{background: #ffffff90;}

/*書籍明細*/
#event_Book h3 {text-align: center;font-size: 2.55rem;color: #e25467;font-family: "Microsoft YaHei";margin:5rem 0 .5rem;}
#event_Book p{font-size: 1.4rem;text-align: center;}
#event_Book table{width: 100%;text-align: center;margin: 0 auto 1rem;background: #fff;}
#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;}
.booklist td {border-bottom: 2px #007d9c2f 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-color: #dc9e42;color: #fff;}
.booklist .bgcolor3{background-color:#ee7b4f;color: #fff;}
.booklist .bgcolor4{background-color:#e25467;color: #fff;}
.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;}
.booklist2 td {border-bottom: 2px #ee7b4f3f dotted;}
.booklist3 table{border-bottom: 2px #e254673f solid;}
.booklist3 td {border-bottom: 2px #e254673f dotted;}
.posner{width: 90%;margin: 1.5remrem auto;padding:1.5rem;background: #ffffff;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,.mainlist span{color: #e25467;margin: 1rem auto 0;}
.booklist table caption{text-align: center;margin: .5rem auto;font-size:clamp(1.2rem, 3vw, 2.2rem);line-height: 1.7;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: #ffffff;background: #2486a8;padding: 0.2rem 5rem 0.1rem;}
.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: 140px; max-width: 100%;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: "▶";}
.bg{margin: 0.35rem auto;display: inline-block;}
.bg small a{color: #e25467;}

/*書籍明細*/

.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: #e91e63;}
.booklist td:nth-child(1){text-align: left;}
.booklist td:nth-last-child(1) {color: var(--red1);font-weight: bold;}
.booklist{padding: 2% 0;width: 92%;text-align: center;margin: auto;}
.booklist h3:is(:first-child) span{ color: var(--blue1); }
.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}

/*購買*/
.buy{width: 100%;text-align: center; margin: 1% 0 3%;}

/*贈書明細*/
details {display: inline;}
details > summary { list-style: none;color: var(--red1);margin: .1rem auto .3rem;display: inline-block;font-size: 1rem;font-weight: normal;text-decoration: underline}
#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;padding-left: .8rem;text-indent: -.8rem;}
#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.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}

/*media區域*/
@media (max-width: 768px){
    .booklist table caption b{padding: 0.2rem 2rem 0.1rem;}
    small{font-size: 0.9em;}
    .booklist td, .booklist th{padding: 0;}
    .gift{padding:1rem 1rem 2rem;}
}