/* .main { background: url("../images/kv_bg.png") top center no-repeat, url("../images/bg_all.jpg") center 100vh repeat-y #99000c; } */
.main.rule {}

.main.rule .kv_bg .kv_logo { display: none; }

.main.rule .bg_move { top: 250px; }

/**範圍**/
.terms_wrapper {
  width: 1180px;
  margin: 0 auto;
  padding-bottom: 20px;
}

.terms_container {
  background-color: rgb(85 1 10 / 90%);
  border: solid 2px #fff1d2;
  border-radius: 30px;
  /* box-shadow: 0px 4px 10px 6px rgba(0,0,0,0.5); */
  /* box-shadow: 0 0 6px 6px rgb(255 241 210 / 30%), inset 0 0 6px 6px rgb(255 241 210 / 20%); */
  position: relative;
  z-index: 3;
}

/*  */
span.list_number {
  width: 17%;
}

span.list_name {
  width: 30%;
}

span.list_money {
  width: 40%;
}

.button {
  width: 332px;
  margin: 0 auto;
}

.button a {
  display: inline-block;
  background: #de977a;
  border-radius: 20px;
  color: #FFF;
  padding: 16px 70px;
  border-bottom: 5px #ad5836 solid;
  font-size: 24px;
  text-align: center;
  font-weight: bold;
  margin-top: 5px;
}

.button a:hover {
  background-color: #be46aa;
  border-bottom: 5px #881a76 solid;
}

/**活動說明**/
.terms_wrapper {
  width: 1180px;
  margin: 0 auto;
  padding-top: 88px;
  padding-bottom: 20px;
}

.terms_container {
  background-color: #fff;
}

.terms_container h2 {
  font-size: 36px;
  font-weight: 800;
  text-align: center;
  background: linear-gradient(90deg, #860305 0%, #cb2f04 100%);
  color: #fff;
  border-radius: 30px 30px 0 0;
  padding: 30px 0;
}

.terms_content {
  width: 90%;
  margin: 0 auto 40px;
  font-size: 17px;
  line-height: 24px;
}

.terms_container h3 {
  background: linear-gradient(90deg, #df1217, #9a000c);
  border-radius: 20px;
  font-size: 22px;
  line-height: 30px;
  font-weight: bold;
  padding: 5px 20px;
  display: inline-block;
  margin: 10px 0;
  color: #fff;
}

.terms_content h3 strong {
  /* color: #00ffcb; */
  margin-right: 3px;
}

.terms_content h4 {
  font-weight: bold;
  font-size: 18px;
  color: #d0e4ff;
}

.terms_content ol li {
  margin: 0 30px 7px 40px;
  list-style-type: decimal;
}

.terms_content li strong {
  color: #99000c;
}

.terms_content a {
  color: #99000c;
  /* color: #fff; background-color: #99000c; */
  font-size: 18px;
  font-weight: bold;
  text-decoration: underline;
  display: inline;
  margin: 5px 3px;
  padding: 5px 10px;
  border-radius: 10px;
  transition: transform .35s;
  -webkit-transform: translate(0, 0);
  transform: translate(0, 0);
  word-wrap: break-word;
}

.terms_content a:hover {
  color: #fff; background-color: #99000c;
  text-decoration: none;
  -webkit-transform: translate(3%, 0);
  transform: translate(3%, 0);
}

.terms_content a.over {
  background-color: lightgray;
}

.terms_content a.over:hover {
  -webkit-transform: translate(0, 0);
  transform: translate(0, 0);
}

.terms_container p {
  padding-left: 18px;
  margin-bottom: 5px;
}

.bottom-btn {
  text-align: center;
  /* margin-top: 8%; margin-bottom: 8%; */
  /* margin-bottom: 40px; */
}
.bottom-btn a {
  display: inline-block;
  background-color: transparent;
  transition: transform 1s;
  -webkit-transform: translate(0, 0);
  transform: translate(0, 0);
}
.bottom-btn a:hover {
  -webkit-transform: translate(5%, 0);
  transform: translate(5%, 0);
}

.bottom-btn a, .bottom-btn a:hover,
.btn_black a, .btn_black a:hover { background-color: transparent; }

.terms_prize_list th,
.terms_prize_list td {
  border: 2px solid #9a000c;
  text-align: center;
}

table {
  background: white;
  border-collapse: collapse;
  margin: 15px 0;
  width: 100%;
  border: 2px solid #9a000c;
}

table tr,
table th,
table td {
  border: none;
  border-bottom: 1px solid #e72434;
}

table th,
table td {
  padding: 10px 12px;
  text-align: left;
}

table th {
  background: #c61619;
  color: #ffffff;
  text-transform: uppercase;
}

table tr td {
  background: #c61619;
  color: #fff;
}

table tr:nth-of-type(2n+2) td {
  background: #ffffff;
  color: #000;
}

table.bt tfoot th,
table.bt tfoot td,
table.bt tbody td {
  font-size: 14px;
  padding: 0;
}

table.bt tfoot th:before,
table.bt tfoot td:before,
table.bt tbody td:before {
  background: #989898;
  color: white;
  margin-right: 10px;
  padding: 10px 10px 0;
}

table.bt tfoot th .bt-content,
table.bt tfoot td .bt-content,
table.bt tbody td .bt-content {
  display: inline-block;
  padding: 10px 5px 0;
}

table.bt tfoot th:first-of-type:before,
table.bt tfoot th:first-of-type .bt-content,
table.bt tfoot td:first-of-type:before,
table.bt tfoot td:first-of-type .bt-content,
table.bt tbody td:first-of-type:before,
table.bt tbody td:first-of-type .bt-content {
  padding-top: 10px;
}

table.bt tfoot th:last-of-type:before,
table.bt tfoot th:last-of-type .bt-content,
table.bt tfoot td:last-of-type:before,
table.bt tfoot td:last-of-type .bt-content,
table.bt tbody td:last-of-type:before,
table.bt tbody td:last-of-type .bt-content {
  padding-bottom: 10px;
}

@media screen and (max-width:767px) {
  .lottery_kv_m {
    display: block;
    width: 50vw;
    top: 25vw;
    left: 0;
  }

  .lottery_kv,
  .lottery_kv2 {
    display: none;
  }

  .lottery_gift {
    width: 50vw;
    top: 25vw;
    right: 7px;
  }

  .main.rule {
    /* background-size: 100vw; */
    /* background: url("../images/lottery_bg_m.png")no-repeat top center, url("../images/lottery_bg_02.png")no-repeat fixed bottom #24082d; */
    padding-bottom: 60px; /*單行*/
    /*padding-bottom: 110px; *//*2行*/
    overflow: hidden;
  }

  /* .rule .kv_container {
    height: 80vw !important;
  } */

  span.list_number {
    width: 15%;
  }

  span.list_name {
    width: 20%;
  }

  span.list_money {
    width: 57%;
  }

  .button {
    width: 40vw;
  }

  .button a {
    border-radius: 10px;
    padding: 5px 15px;
    font-size: 15px;
  }

  /**活動說明**/
  .terms_wrapper {
    width: 94vw;
    padding-top: 0;
    padding-bottom: 0;
  }

  .terms_container {
    border-radius: 30px 30px;
  }

  .terms_container h2 {
    font-size: 21px;
    line-height: 24px;
    border-radius: 30px 30px 0 0;
    padding: 5px 0;
  }

  .terms_container h2 span {
    display: block;
  }

  .terms_content {
    width: 92%;
    font-size: 14px;
    line-height: 18px;
    margin: 0 auto;
  }

  .terms_container h3 {
    font-size: 20px;
    line-height: 26px;
  }

  .terms_content ol li {
    margin: 4px 5px 0 15px;
  }

  .lazy .terms_prize_list {
    font-size: 14px;
    line-height: 20px;
  }

  .terms_prize_list th {
    display: none;
  }

  .terms_prize_list td {
    display: block;
    text-align: left;
    border: none;
    border-bottom: 1px dotted #ebb03f;
    margin: 3px 0;
  }

  .lazy .terms_prize_list td {
    float: left;
    border-bottom: none;
    margin: 0;
  }

  .terms_prize_list_date {
    margin-top: 20px !important;
  }

  .terms_prize_list td:before {
    display: inline-block;
    width: 120px;
    text-align: center;
    font-size: 15px;
    color: #fff;
    border-radius: 10px;
    background-color: #ebb03f;
    content: attr(data-label);
    margin: 3px 5px 3px 0;
    padding: 3px 0;
    font-weight: bold;
  }

  .rule .terms_content img {
    max-width: 80%;
  }

  table {
    border: 0px solid #ebb03f;
    border-left: 1px solid #c61619;
  }

  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: #ebb03f;
    color: #ffffff;
  }

  table.two-axis tr td:first-of-type {
    border-bottom: 1px solid #e4ebeb;
  }

  table.two-axis tr td:first-of-type:before {
    padding-bottom: 10px;
  }

  table tr,
  table th,
  table td {
    border-right: 1px solid #c61619;
    border-bottom: 1px solid #c61619;
    font-size: 14px;
  }

  table th {
    background: #cb2f04;
  }

  .M_menu_block {
    height: 50px;
  }

  .M_menu_block ul li {
    width: 20%
  }

}