body {min-width: 1200px; color: #000; font: 13px/1.6em "Century Gothic", Arial, 'Microsoft JhengHei', "蘋果儷中黑", "儷黑 Pro", "新細明體", "sans-serif";}
a {display: block; text-decoration: none; transition: .3s ease-in-out;}
:focus {  outline: none;}
i {font-style: normal;}
.footer { width: 100%;	margin: auto}
.display_pc { display: block;}
.display_m { display: none;}
.pro_temp{display: none}

b {color: crimson;}
.red {color: #ed0000; font-weight: bold;}

/*main*/
.main { position: relative; width: 100%; overflow: hidden;
background: url("../images/rule/rule_bg.jpg")no-repeat center top, url("../images/main_bg.jpg")center top #ffc0a2;}

/*kv*/
.kv_wrapper {}
.kv_container {position: relative; z-index: 1; margin: auto; width: 1200px; height: 450px;}
.kv_girl {position: absolute; top: 44px; left: 124px; z-index: 2;}
.kv_sakura {position: absolute; top: 0; right: 17px; z-index: 2;}
.kv_redenvelope {position: absolute; top: 325px; right: 367px; z-index: 2;}
.kv_slogan {position: absolute; top: 0; left: 252px; z-index: 1;}

@media(hover:hover) {
.kv_btn1 a:hover, .kv_btn2 a:hover {filter: brightness(110%); transform: scale(0.98);}
}

/**prod**/
.prod_wrapper {position: relative; font-size: 17px; line-height: 1.5em; padding-bottom: 60px;}
.ProductList {position: relative; z-index: 100;}
.group {width: 1100px; margin: 0 auto; margin-bottom: 50px; border-radius: 50px; background: #fff; border: solid 3px #fff; overflow: hidden;}

/**活動說明**/
.prod_wrapper h1 {position: relative; z-index: 2; display: table; background: #810207; color: #fff; border-radius: 10px; border: 3px solid #fff; font-size: 27px; line-height: 30px; font-weight: bold; text-align: center; padding: 10px 100px; margin: 20px auto;}
.prod_wrapper h2 {position: relative; font-size: 33px; font-weight: 800; text-align: center; background: #008b9d; color: #fff; border-radius: 50px 50px 0 0; padding: 30px 0;}
.prod_wrapper h2 span {color: yellow;}

.terms_content {width: 90%; margin: 0 auto 40px;}
.group h3 {color: #22799c; font-weight: bold; font-size: 18px; line-height: 23px; margin-top: 20px;}
.group h3 strong {color: #ffe398; margin-right: 3px;}
.group h4 {background-color: #a7624c; border-radius: 20px; font-size: 22px; line-height: 30px; font-weight: bold; padding: 5px 20px; display: inline-block; margin: 20px 0; color: #fff;}
.group h5 {width: 100%; background-color: #a9864d; border-radius: 25px 25px 0 0; font-size: 22px; line-height: 30px; font-weight: bold; margin-top: 5px; padding: 10px 0; color: #fff; text-align: center; }
.group ul {padding: 5px 0;}
.group li {margin: 0 30px 3px 40px; list-style-type: decimal;}
.group li strong {color: red;}
.group li.circle {list-style-type: circle; margin-left: 28px;}
.group p { padding-left: 10px; margin-bottom: 5px;}

/*table-RWD*/
table.two-axis {background: white; border-collapse: collapse; margin: 15px 0; width: 100%; border: 2px solid #08164e;}
table.two-axis tr, table.two-axis th, table.two-axis td {border: none; border-bottom: 1px solid #e4ebeb;}
table.two-axis th, table.two-axis td {padding: 10px 12px; text-align: left;}
table.two-axis th {background: #08164e; color: #ffffff; text-transform: uppercase;}
table.two-axis tr td {background: #f5f5f5;}
table.two-axis tr:nth-of-type(2n+2) td {background: #ffffff;}
table.two-axis.bt tfoot th, table.two-axis.bt tfoot td, table.two-axis.bt tbody td {font-size: 14px; padding: 0;}
table.two-axis.bt tfoot th:before, table.two-axis.bt tfoot td:before, table.two-axis.bt tbody td:before {background: #989898; color: white; margin-right: 10px; padding: 10px 10px 0;}
table.two-axis.bt tfoot th .bt-content, table.two-axis.bt tfoot td .bt-content, table.two-axis.bt tbody td .bt-content {display: inline-block; padding: 10px 5px 0;}
table.two-axis.bt tfoot th:first-of-type:before,
table.two-axis.bt tfoot th:first-of-type .bt-content,
table.two-axis.bt tfoot td:first-of-type:before,
table.two-axis.bt tfoot td:first-of-type .bt-content,
table.two-axis.bt tbody td:first-of-type:before,
table.two-axis.bt tbody td:first-of-type .bt-content {padding-top: 10px;}
table.two-axis.bt tfoot th:last-of-type:before,
table.two-axis.bt tfoot th:last-of-type .bt-content,
table.two-axis.bt tfoot td:last-of-type:before,
table.two-axis.bt tfoot td:last-of-type .bt-content,
table.two-axis.bt tfoot td:last-of-type .bt-content,
table.two-axis.bt tbody td:last-of-type:before,
table.two-axis.bt tbody td:last-of-type .bt-content {padding-bottom: 10px;}

table.box1 {margin-top: 5px; border: 2px solid #08164e;}
table.box1 tr td {padding: 5px 10px;}
table.box1 td {border: 1px solid lightgrey;}

/*table-box2*/ 
.box_pc {display: inline-table;}
.box_m {display: none;}
table.box2 {margin-top: 5px; border: 2px solid #08164e;}
table.box2 tr td {padding: 5px 10px;}
table.box2 td {border: 1px solid lightgrey;}

a.btn_back {display: table; margin: auto; padding: 15px 50px; border-radius: 50px; background-color: darkred; color: #fff; text-align: center; font-size: 30px; transition: linear .2s; cursor: pointer; font-weight: bold;}
a.btn_back:hover {background-color: tomato; -webkit-transform: translate(0, -5px);  transform: translate(0, -5px);}

a.btn-s {display: inline-block; font-weight: bold; border-radius: 10px; color: #fff; background: tomato; border-bottom: 2px #c55325 solid; margin: 5px 3px; padding: 5px 20px; transition: transform .35s; -webkit-transform: translate(0, 0); transform: translate(0, 0);}
a.btn-s:hover {background-color: #c55325; border-bottom: 2px #c55325 solid;}

.button{width: 340px; margin: 0 auto; text-align: center; position: relative;}
.button a {display: inline-block; background: #cc3032; border-radius: 20px; color: #FFF; padding: 16px 40px; border-bottom: 5px #8d1f20 solid; font-size: 24px; text-align: center; font-weight: bold; margin-top: 5px; cursor: pointer;}
.button a:hover{background-color: #8d1f20;}

.btn_5 {padding-top: 10px;}

/*bg_wrapper*/
.bg_wrapper {display: none; position: absolute; width: 100%; height: 100%; top: 0; z-index:1; pointer-events: none;}
.bg_fly {top: 0; width: 100%; height: 100%; background: url("../images/float.png") center top;}

@media screen and (min-width: 1025px) {
.NavArea {display: none; width: 110px; position: fixed; top: 125px; right: 5px; z-index: 999;}
.Nav-wrapper {position: relative; width: 110px; font-size: 15px; line-height: 20px; text-align: center; background: rgb(0 0 0 / 80%); border-radius: 10px; padding: 20px 5px;}
.float_tit {position: absolute; top: -109px; left: 5px;}
	
.Nav-wrapper li a {position: relative; z-index: 500; color: #fff; cursor: pointer; font-weight: 600; padding: 4px 0;}
.Nav-wrapper li a:hover {color: #ffe644;}
.Nav-wrapper li span {display: block;}

.Nav-slide.active {background-color: #ffe644;}
.Nav-slide.active a {color: #f44336;}
.Nav-slide.active a:hover {color: #f44336;}
	
.Nav-wrapper li.Nav-gotop {display: block; cursor: pointer; font-size: 24px; margin-top: 5px;}
.Nav-wrapper li.Nav-gotop a:hover {color: #fff100;}
	
}

@media screen and (max-width:1024px) {
body {width: 100vw;  min-width: inherit; background-color: #000;}
* {box-sizing: border-box;}
.gotop {background: url(//www.payeasy.com.tw/pay_event/pezlib/images/icon_top.png) no-repeat; height: 36px; position: fixed; right: 10px; width: 36px; bottom: 80px; z-index: 900; display: none;}
.gotop a {display: block; width: 48px; height: 36px;}
.header {width: 100vw;}
.display_m {display: block;}
.display_pc {display: none;}
    
.main {background: url("../images/rule/rule_bg.jpg")no-repeat center top, url("../images/main_bg.jpg")center top #0b0722;; background-size: 165%, 20%;}

.kv_wrapper{ }
.kv_wrapper img {width: 100%;}
.kv_container {width: 100vw; height: 39vw;}
.kv_slogan {width: 59vw; top: 0; left: 21vw;}
.kv_girl {width: 15vw; top: 3.4vw; left: 9.8vw;}
.kv_sakura {width: 30vw; top: 0; right: 1vw;}
.kv_redenvelope {width: 11vw; top: 26vw; right: 29.2vw;}
.kv_slogan {width: 57vw; top: 0; left: 21.5vw;}
    
/*table-RWD*/
table.two-axis {border: 1px solid #08164e; margin: 0 auto 10px;}
table.two-axis tr td {background: #fff;}
table.two-axis tr, table.two-axis th, table.two-axis td {border: 1px solid #08164e; font-size:14px;}
table.two-axis.bt tfoot th:before, table.two-axis.bt tfoot td:before, table.two-axis.bt tbody td:before {background: #ebebeb; color: #555;}
table.two-axis tr td:first-of-type,
table.two-axis tr:nth-of-type(2n+2) td:first-of-type,
table.two-axis tr td:first-of-type:before {background: #d8f2fa;}
table.two-axis tr td:first-of-type:before {padding-bottom: 10px;} 
    
/*table-box2*/    
table.box2 {margin: 3px 0; font-size: 14px;}
table.box2 tr td {padding: 5px;}    

/**prod_m**/
.prod_wrapper { }
.group {width: 96%; margin: 0 auto; margin-bottom: 15px; padding-bottom: 20px; border-radius: 30px;border: solid 2px #fff;}
	
.prod_wrapper h1 {width: 50vw; border: 2px solid #fff; font-size: 18px; line-height: 43px; padding: 0; margin: 0 auto 1vw;}
.prod_wrapper h2 {font-size: 18px; padding: 15px 20px; border-radius: 30px 30px 0 0;}
.terms_content {width: 96%; margin: auto;}
.terms_content h3 {margin-top: 10px;}
.terms_content h4 {font-size: 18px;}
.terms_content h5 {margin-top: 0;}
.terms_content li {margin: 0 0 3px 25px;}
.terms_content li.circle {margin-left: 20px;}
.terms_content span{display: block!important;}		
	
a.btn_back {display: none;}
   
.rule-img.all {width: 100%; margin: auto; padding: 3px 0;}
.rule-img.all img {width: 100%;}
	
.btn_5 {padding-top: 0;}	

/**錨點-top**/ 
.NavArea {display: none; position: fixed; top: 0; left: 0; right: 0;z-index: 998;}
.NavArea .Nav {position: relative; margin: 0; padding: 0; overflow-x: scroll; background: #000; border-bottom: 2px solid #ccc;}
.NavArea .Nav ul {display: flex;}
.NavArea .Nav li {z-index: 10;flex: none;}
.NavArea .Nav li span {display: inline-block;}
.NavArea .Nav a {color: #fff; padding: 0 25px; height: 50px; font-size: 15px; line-height: 50px; font-weight: bold;}
.Nav-slide.active a {color: yellow;}
.NavArea li.highlight0 {display: none;}
.Nav-slide.active a {color: yellow; font-weight: bold; border-bottom: 2px solid yellow; background: #525252;}
}

@media screen and (max-width:768px) {   
.prod_wrapper {font-size: 13px; line-height: 1.4em; padding-bottom: 90px;}
.group {padding-bottom: 10px;}
	
.box_m {display: inline-table;}
.box_pc {display: none;}
	
.button { width: 60vw;}
.button a {border-radius: 10px; padding: 7px 25px; font-size: 15px; display: block;}
}

@media screen and (max-width:576px) {	
.prod_wrapper h1 {font-size: 15px; line-height: 34px; margin: 0 auto 2vw;}
.terms_content h5 {font-size: 16px; line-height: 24px;}
.terms_content h4 {margin: 10px 0 0; padding: 3px 20px; font-size: 15px;}
.terms_content h3 {font-size: 15px;}

}


@media screen and (max-width:375px) {

	
}

@media screen and (max-width:320px) {
.prod_wrapper h1 {width: 60vw; font-size: 13px; line-height: 30px;}
}