body {
  font-size: 20px;
  line-height: 1.5;
  text-align: center;
}
section {
  display: block;
  width: 95%;
  max-width: 1200px;
  margin: 0 auto;
}
.link {
  text-decoration: underline;
}
.highlight {
  color: #f2ff00;
  font-weight: 500;
}
.bg-yellow {
  background-color: #fc1a96;
  color: #fff;
}
.float_mask {
  display: flex;
  background-color: #1312e8;
  justify-content: center;
  box-shadow: 0px -4px 0px #fff;
}
.float_area {
  width: calc(100%/2 - 200px);
}
.float_area:hover {
  background-color: #fff800;
  color: #1312e8;
}
.methods img {
  width: 100%;
}
/*-----------區塊-----------*/

.bg-section {
  max-width: 1200px!important;
  border-radius: 80px;
}
.seca-content.bg-sec1 {
  background-color: #fff;
  border-radius: 0;
  padding-bottom: 40px;
  border: 4px solid #0052a3;
}
.bg-section.bg-sec2 {
  background-color: #fff;
}
.sec-title {
  width: 70%;
}
.s-line {
  width: 95%;
  border: 3px solid #d4e2ff;
  margin: 30px auto;
}
.secb-content {
  display: inline-block;
  margin: 30px auto;
}
.seca-img {
  display:block; 
  width: 90%; 
  margin: 50px auto;
}
.secb-content a {
  display: block;
  margin: 5px auto;
}
.d-header img {
  display: block;
  width: 100%;
  margin: 0;
  margin-bottom: -5px;
}

.description-a img {
  width: 90%;
}
.sec2-dec {
  width: 90%;
  margin-top: 50px;
}

.sale-website {
  display: flex;
  width: 90%;
  margin: auto;
}
.button-z a:hover,
.sale-website a:hover {
  filter: brightness(120%);
  transform: translateY(5px);
  transition: .3s;
}
.sale-website img {
  width: 90%;
  margin: 20px;
}

/*-----------cta區塊-----------*/
.sign-btn {
  width: 60%;
  cursor: pointer;
  margin: 5px auto 30px;
}

.signitem {
    width: calc(17% - 30px);
}
.signitem.first {
  display: block;
  width: 60%;
  margin: 20px auto;
}
.sign-tips {
  color: #ff0033;
  font-size: 2.5rem;
  font-weight: bold;
  margin-bottom: 20px;
}
.button-sign img {
  width: 70%;
}
.btn-login,
.btn-signin,
.btn-overdue {
  display: block;
  width: 50%;
  height: 40px;
  padding: 20px;
  font-size: 2.5rem;
  font-weight: bold;
  line-height: 1;
  margin: 10px auto;
  border-radius: 200px;
  letter-spacing: .1rem;
}
.event-wrap {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}
.event-wrap a {
  width: calc(100%/4 - 60px);
  margin: 15px;
}
.event-wrap a img {
  width: 100%;
}
/*-----------推薦網站-----------*/
.web-list {
  display: flex;
  justify-content: center; 
  align-content: center;      
  flex-wrap: wrap;
  width: 100%;
  margin: auto;
  padding: 0 0 50px;
}
.web-item {
  width: calc(100%/4);
  float: left;
  margin: 5px auto;
}
.web-item:hover {
  transform: translateY(5px);
  transition: .3s;
}
.web-item img {
  width: 95%;
}
.web-btn {
  display: inline-block;
  width: 80%;
  background-color: #fe7600;
  color: #fff;
  border-radius: 100px;
  text-decoration: none;
  line-height: 2.5;
  font-weight: 900;
  font-size: 1.1em;
}

/*-----------活動注意事項-----------*/
.bg-section-ntc {
  background-color: #002982;
  padding: 5px 40px 25px 60px;
  border-radius: 0 0 70px 70px;
}
.bg-section-ntc ul {
  text-align: left;
  color: #fff;
  padding: 0;
}
.bg-section-ntc ul a {
  color: #fff;
}
/*-----------常規注意事項-----------*/
.noticeWrap {
  background-color: #002982;
}
/*-----------Pad device-----------*/
@media only screen and (min-width : 481px) and (max-width : 1024px) {
  
  
  .float_area {
    width: calc(100%/2);
  }
  .button-z-wrap {
    width: 90%;
    top: 80%;
    left: 5%;
  }
  .methods img {
    width: 90%;
  }
  section {
    width: 100%;
  }
  #event1 {
    margin-top: 50px;
  }
  #event2, #event3 {
    /* margin-top: 40px; */
  }
  .bg-section {
    max-width: 90%!important;
  }
  .sec-title {
    width: 100%;
  }
  .d-header img {
    width: 100%;
  }
  .signitem {
    width: calc(20% - 20px);
  }
  .web-list {
    padding: 0;
  }
  .sale-website {
    display: block;
    width: 100%;
  }
  .sale-website img {
    width: 90%;
    margin: 5px;
  }
  .button-sign img {
    width: 90%;
  }
  .notification {
    padding-left: 25px;
  }
  .event-wrap a {
    width: calc(100%/2 - 60px);
    margin: 20px;
  }
}
/*-----------mobile device-----------*/
@media only screen and (max-width : 480px) {
  /* body {
    background-image: url(../image/background-m.png);
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-size: cover;
    background-position-x: center;
    background-position-y: top;
  }
  body:before {
    content: ""; 
    background-image: inherit; 
    position: fixed; 
    top: 0; 
    left: 0; 
    height: 100vh; 
    width: 100%; 
    -webkit-background-size: cover !important; 
    -moz-background-size: cover !important; 
    -o-background-size: cover; 
    background-size: cover !important;
    background-position-x: center;
    z-index: -1;
  } */
  .banner {
    background-image: url(../image/background-m.png);
  }
  main {
    padding: 0;
  }
  .float_mask {
    padding: 0 5px;
  }
  .float_area {
    width: calc(100%/2);
    font-size: 1.1rem;
    padding: 10px 0;
  }
  section {
    width: 100%;
  }
  .seca-content.bg-sec1 {
    border: 1.5px solid #0052a3;
  }
  .methods img {
    width: 90%;
  }
  .s-line {
    width: 95%;
    border: 2px solid #d4e2ff;
    margin: 10px auto;
  }
  .button-z-wrap {
    width: 90%;
    top: 85%;
    left: 5%;
  }
  .button-z {
    margin: 0 2px;
  }
  .d-header img {
    width: 100%;
  }
  .bg-section {
    max-width: 90%!important;
    border-radius: 30px;
  }
  .bg-section-ntc {
    border-radius: 0 0 30px 30px;
  }
  .sec-title {
    width: 100%;
  }
  
  .sign-btn {
    width: 80%;
    margin: 0 auto 10px;
  }
  .signitem {
    width: calc(33% - 10px);
    margin: 0;
  }
  .signitem.first {
    display: block;
    width: calc(100% - 20px);
    margin: 20px auto;
  }
  .seca-img {
    display:block; 
    width: 90%; 
    margin: 20px auto;
  }
  
  .sign-tips {
    width: 90%;
    font-size: 1.5rem;
    text-align: center;
    margin: 0 auto;
  }
  .web-list {
    padding: 0;
  }
  .web-item {
    width: calc(100%/2);
  }
  .web-btn {
    font-size: .9rem;
    width: 90%;
  }
  .sale-website {
    display: block;
  }
  .sale-website img {
    width: 95%;
    margin: 5px;
  }
  .button-sign img {
    width: 90%;
  }
  .notification {
    padding-left: 30px;
  }
  
  .bg-section-ntc {
    font-size: .9rem;
    padding: 2px 10px 2px 30px;
  }
  .event-wrap a {
    width: calc(100%/2 - 20px);
    margin: 0 5px;
  }
  .web-item:hover {
    transform: unset;
  }
}
/*-----------small mobile device-----------*/
@media only screen and (max-width : 320px) {
  
}