@import url('https://fonts.googleapis.com/css2?family=Noto+Serif+TC:wght@900&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}
:focus{outline:0}
ins{text-decoration:none}
del{text-decoration:line-through}
/* css reset 歸0 end */

body{margin:0 auto;padding:0;font-family: 'Noto Sans TC', sans-serif;background: url("../images/line_bg.gif") #fffef5;color: var(--font-black);font-family: Arial, '微軟正黑體', 新細明體, 'LiHei Pro', sans-serif;}
#BodyContainer{margin:0 auto}
#BodyContentEvent,#event{width:100%}
#event {background-color: #e3d5ba;}
#event a:hover{text-decoration:none;left:1px;top:1px;position:relative}
.bgcolor1{background: linear-gradient(to bottom, #e8e16e 0%, #f6f8e3 22%, #e8e16e 50%);position: relative;overflow: hidden;z-index: 0;}
.bgcolor1::before{position: absolute;content: '';background: url("../images/1408012_5.png");width: 259px;height: 414px;right: -1rem;top: -1rem;z-index: -1;}
.bgcolor2{/*background-color: white;*/display: flex;flex-wrap: wrap;}
.bgcolor3{background-color: #EBEBEB;}
.bgcolor4{background-color: #F6F6F6;}
.bgcolor5{background-color: #EBEBEB;}
[class*="flex"] {display: flex;flex-wrap: wrap;}
:root {
    --ff1: "Noto Serif TC", serif;
    --font-black: #231815;
    --font_light_green: #078777;
    --font_green: #006965;
    --font_blue: #005688;
    --font_blue2: #002A55;
    --font_blue3: #0082CD;
    --font_red: #B61D22;
    --font_black: #231815;
    --font_light_ocher: #e8e16e;
    --font_ocher: #86632C;
    --font_orange: #ed7300;
    --font_light_orange: #f49f00;
    --linear1: linear-gradient(to right, var(--font_blue), var(--font_blue2));   
}

/* main */
.master_container{align-items: flex-end;}
.master_logo{margin-bottom: 3.5rem;}
.master_title{
    font-size: clamp(3rem, 6vw, 4.2rem);background: var(--font_light_green);padding: 2rem 2.5rem;text-align: center;
    font-family: var(--ff1);font-weight: 900;color: white;margin: 0 2rem;
}
.master_title span{display: block;color: var(--font_light_ocher);font-size: clamp(2.5rem, 4vw, 3.2rem);}
.master_container dd {margin: 0 2%;font-size: clamp(1.2rem, 3vw, 1.8rem);background: var(--font_light_ocher);color: var(--font-black);padding: 0 1rem;border-radius: 8px;}
.master_container dd.plus {
    background: var(--font-black);color: white;border-radius: 50%;line-height: 2;font-size: 2.5rem;margin-inline: -1.5rem;
    display: flex;justify-content: center;align-items: center;width: 2.2rem;height: 2.1rem;text-align: center;z-index: 1;
}
.master_content{font-weight: bold;align-items: center;margin-top: -1rem;}
.key123 {background-color: var(--font-black);padding: 8px 6px 5px;border-radius: 0 0 25px 25px;width: 75%;color: #fff;}

/* main end */

article img{ max-width: 100%; height: auto;margin: auto; }
.bgcolor1 {}
figcaption { font-size: .9rem;color: var(--font-black);text-align: center;font-family: serif;font-weight: bold;}
.feature_box { justify-content: center;position: relative;align-items: flex-start;margin: 1rem auto;padding: 1rem 0 0.5rem;row-gap:1rem;}
.feature_box_container figcaption {color:#fffbd2;padding: 7px 5px 4px;background: linear-gradient(to right, var(--font_light_green), var(--font_green));}
.feature_box_container { justify-content: center;width: 100%;}
.feature_box_container2 { flex-direction: row;align-items: flex-start;}
.grid{display: grid;grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));gap: 2.5rem 1rem;justify-content: center;margin: 0 3rem;align-items: flex-start;}
.feature_box_container figure{width: 340px;margin: 0 auto;}
.book_box {text-align: center;width: 45%;margin: 1.5rem 2rem 0;}
.book_box figcaption span{ padding: 0;margin: 0 .2rem; }
.book_box h2{ color: var(--font_orange);font-family: var(--ff1);font-size: clamp(1.7rem, 4vw, 2.1rem);font-weight: bold;}
.book_group{flex-direction: row;}
.cover{width:35%;}
.cover figure {justify-content: center;display: block;margin: 0 auto;}
.cover figure img{max-width: 100%;height: auto;}
.author {background-color: #fff;padding: 6% 2% 3%;border-radius: 20px;margin-top: 2.5rem;box-shadow: rgba(149, 157, 165, 0.2) 0px 8px 24px;}
.author dt {font-size: 2rem;color: var(--font-black);font-weight: bold;margin-top: -3rem;text-align: left;margin-left: 1rem;}
.author dt span {
    display: inline-block;clip-path: polygon(0% 0%, 75% 0%, 100% 50%, 75% 100%, 0% 100%);background: var(--font_light_green);color: white;
    padding: 0 1rem 0 .3rem;margin-right: 0.5rem;font-size: 0.5em;
}
.author dd { border-bottom: dashed 1px white;padding-bottom: 0.3rem;margin-bottom: 0.3rem;line-height: 1.85;}
.author dd:last-child { border-bottom: 0px;padding-bottom: 0.3rem;margin-bottom: 0.3rem; }
.author dd li {text-align: left;text-indent: -22px;list-style-type: disc;margin: 0 10% 0 16%;font-weight: bold;font-size: clamp(1.05rem, 3vw, 1.2rem);}
.cover figcaption {background: var(--font_light_orange);color: black;padding: 0 0.5rem;width: fit-content;margin: -28% auto 30% 60%;position: relative;border-radius:5px;}
.buy {padding: 15px 0;background: #002c2c;}
.buy ul li{display: inline;font-size: clamp(1.3rem, 3vw, 1.5rem);font-weight: bold;color:#fff;}
.buy ul li a{color: #fff59c;}
#event_buy{text-align: center;}
.buy a{padding: 0 2%;}
#event_note{text-align:left;float:left;width:100%;padding-top: 3%;padding-bottom: 4%;background:linear-gradient(to right,#a8832b 0%,#d79c11 50%,#a8832b 100%);border-radius: 0 0 10px 10px;}
#event_note p{font-size: .93rem;line-height:20px;color:#000;margin-left:30%;color: #FFFFFF;}
.allow {
    position: absolute;text-decoration: none;width: 108px;height: 108px;border-radius: 50%;right: -9%;top: 6%;padding: 10px 0 0;color: white;background: var(--font_orange);
    line-height: 26px;text-align: center;font-size: 1.15rem;animation: move 1s ease-in forwards infinite;
}
@keyframes move {
    0% { top: 6%; }
    50% { top: 7%; }
    100% { top: 6%; }
}
.allow span {display: block;font-size: larger;font-weight: bold;color: #fffec8;}

/*命中 hit*/
.master_box { position: relative;align-items: center; }
.master_list {
    width: calc(100% / 2 - 0px);padding: 15px 0 0 0;border-radius: 0 0 10px 10px;
    margin: 0;text-align: center;position: relative;justify-content: center;
}
.master_list.r {margin-left: -6.5%;text-align: center;position: relative;}
.master_list.r.a h1 { width: 100%; }
.master_list .h1 {font-size: var(--text_t1);width: 100%;text-align: center;font-family: var(--ff1);margin: 0 0 2.5%;padding: 0;font-weight: 600;flex-direction: column;}
.master_list .h1 span { text-align: center; }
.master_list .h1 > div { justify-content: center; flex-direction: column;}
.master_list:nth-child(1) { order: 1; }
.master_list:nth-child(2) { order: 2; }
.master_list .booksize { margin: 5% 22% 0; }
.master_list figure { margin: 5% 16% 0;filter: drop-shadow(2px 4px 5px #4f4f4f70); }
.master_list h2 {font-size: 3.2rem;}
.master_list h3 { font-size: 2.6rem;font-family: var(--ff1); }
.master_list h3 span{ color: var(--font_red); }
:is(.quiz_flex, .quiz_flex_container) { justify-content: center;background: rgb(255, 255, 255); }
.quiz_flex { margin-block-end: 2rem;border: 1px solid var(--font_light_ocher);}
.quiz_group:nth-of-type(2) .quiz_flex {clip-path:none;}
.quiz_flex .quiz:first-child{width:100%;text-align: left;}
.quiz_group{ margin: 0 1rem 1rem;font-size: 1.1rem;}
.quiz_group h3{ font-size: calc(var(--text_t4) + .2rem);color: var(--font_red);line-height: 2; }
.quiz p:first-of-type{font-weight: bolder;color: #23448b;}
.quiz{width: 100%;padding: 0 15px;}
.quiz:nth-of-type(1){background: #f1f1f1;border-bottom: 1px solid var(--font_light_ocher);}
.quiz_group:nth-of-type(2) .quiz{background: none;border-bottom: thin dotted var(--font_light_ocher);}
.quiz_group:nth-of-type(2) .quiz:nth-of-type(n+1):nth-of-type(-n+2){border-bottom: none;}
.quiz p{margin: 7px 0;line-height: 24px;text-align: justify;}
.quiz h5{background: linear-gradient(45deg, #413d99, #ff5a62);color: #ffffff;text-align: center;font-size: 1.3rem;font-weight: 400;margin: 0 0 5px;border-radius: 25px;padding: 2px 0;    font-size: 1.6rem;}
.quiz p:nth-child(1){font-weight: bold;font-size: 1.3rem;}
.quiz p:nth-child(3){color: #ff283d}
.quiz_group:nth-of-type(2) .quiz p:nth-child(3){background: #f1f1f1;width: fit-content;padding: 0 .2rem;}

/*Tab*/
*:before, *:after {margin: 0;padding: 0;box-sizing: border-box;}
.tabbox {margin: 0 auto;padding: 2% 3% 1%;text-align: center;}
/*.content > div {
	display: none;
    padding:3% 2% 1%;
	background-color: #fbf8ff;
    border-radius: 0 0 8px 8px;
}*/
.tabbox input {display: none;}
.tab_title {font-size: 1.7rem;display: inline-block;text-align: center;width: calc(100%/3 - 5px);border-bottom:1px #e9716e solid;padding: 2px 0;color: #ff9800;}
.tab_title:hover {cursor: pointer;position: relative;background-color: #e9e9e9;border-radius: 20px 20px 0 0;}
input:checked + .tab_title.a, input:checked + .tab_title.b {
    border: 3px #e9716e solid;border-bottom: 3px #fff solid;border-radius: 20px 20px 0 0;color: #f55865;
}
#tab1:checked ~ .content #content1,
#tab2:checked ~ .content #content2,
#tab3:checked ~ .content #content3{ display: block;text-align: left;}
@media (width >= 768px) and ( width < 1200px) {
    :is(.master_title, .master_title2) .h1{justify-content: center;}    
    .master_title2 .h1 {padding: 0 2rem;}
}
@media (width >= 768px) and ( width < 830px) {
    .book_box { position: initial;transform: revert; }
    .feature_box{ column-gap: .5rem; }
}
@media ( width < 767px ) {
    .master_container { padding: 2rem .5rem .5rem;row-gap: 2rem;align-items: center; }
    .master_container dd {font-size: 1.2rem;line-height: 1.3rem;padding: 5px 0 4px;}
    .master_logo { width: initial;margin-bottom: initial; }
    .master_title { width: initial; }
    .master_title .h1 { padding: 0;gap: 1rem;text-align: center; }
    .master_container dd.plus{margin-inline: 0;}
    @media screen and ( width < 480px ) { .master_title2 .h1 { font-size: calc(var(--text_t3) + .1rem) }.master_content{flex-direction: column;} }
    @media screen and ( width < 340px ) { .grid{grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));}.feature_box_container figure{width: 260px;} }
    @media screen and ( width < 320px ) { .master_title .h1 div:nth-child(2) span { font-size: 0.8em; }.grid{grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));} }
    .master_title .h1 div:nth-child(1){margin: auto;}
    .master_title .h1 div:nth-child(2){ width: initial;margin: auto;clip-path: initial;padding: 1rem; }
    .master_title .h1 div:nth-child(2) span { display: block; }
    .master_title .h1 div:nth-child(2) span:nth-child(2){ display: none; }
    .master_title .info { padding: 1.5rem; }
    .master_title .info br { display: none; }
    .master_title2 {width: 100%;}
    .master_title2 .h1{text-align: center;justify-content: center;padding: 2rem 0;}
    .master_title2 .h1>div{width: 100%;}
    .master_title2 .h1>div:nth-last-of-type(1){width: fit-content;}
    .master_logo span { height: 1rem; }
    .allow{right: 1rem;}
    .feature_box { flex-direction: column;margin: 1rem auto;row-gap: 1rem;}
    .cover figcaption{margin: 0 auto;}
    .feature_box_container2{flex-direction: column-reverse;align-items: center;row-gap: 1rem;}
    .grid{margin: auto;}
    .book_box, .cover {margin: auto;width: 80%; }
    .book_group { flex-direction: column;row-gap: 1rem; }
    .cover figure { align-items: center;width: auto; }
    .author {margin: 3.5rem auto 0;padding: .7rem 0 0.4rem;width: 90%;}
    .key123 {width: auto;}
    .buy ul li {display: block;}
    #event_note p {font-size: .9rem;margin-left: 5%;}
}

/*各大相容檢視*/
@media screen and (-webkit-min-device-pixel-ratio:0) { /*Webkit*/
}
@-moz-document url-prefix(){/*Firefox*/
}

@media \0screen\,screen\9 {/*IE 6 7 8*/
}

@media screen\0 {/*IE 8 9 10 11*/
}

@media print {
}