@charset "UTF-8";
@import url("https://fonts.googleapis.com/earlyaccess/notosanstc.css");
@import url("https://fonts.googleapis.com/earlyaccess/notosanstc.css");

* {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  -ms-box-sizing: border-box;
  box-sizing: border-box;
  font-family: 'Noto Sans TC', '微軟正黑體', Arial, Helvetica, sans-serif;
  font-weight: 300;
}

html,
body {
  background-color: #fff !important;
  color: #3f3f3f;
  font-family: 'Noto Sans TC', '微軟正黑體', Arial, Helvetica, sans-serif;
  position: relative;
  font-size: 16px;
  font-weight: 300;
  line-height: 1.6;
  width: 100%;
  height: 100%;
  position: relative;
}

body.prime_body {
  position: relative;
  font-family: 'Noto Sans TC', '微軟正黑體', Arial, Helvetica, sans-serif;
  color: #3f3f3f;
}

a {
  color: #158bca;
}

.body_wrapper {
  position: relative;
}

.brand_pd {
  margin-bottom: 20px;
  background: #f0f0f0;
  padding: 20px 8px;
  border: solid 1px #fff;
  border-radius: 20px;
  position: relative;
  -webkit-border-radius: 20px;
  -moz-border-radius: 20px;
  -ms-border-radius: 20px;
  -o-border-radius: 20px;
}

.brand_pd a {
  text-decoration: none;
}

.brand_pd .content {
  display: flex;
  overflow: hidden;
  width: 100%;
  height: 100%;
  position: relative;
  margin: auto;
  top: 0;
  padding: 5px 10px;
  background: rgb(127,127,213);
  background: linear-gradient(30deg, rgba(127,127,213,1) 0%, rgba(132,166,231,1) 31%, rgba(174,192,234,1) 51%, rgba(132,166,231,1) 71%, rgba(127,127,213,1) 100%);
  font-size: 1.2rem;
  line-height: 1.8rem;
  text-decoration: none;
  border: 1px solid #c7ebff;
  border-radius: 10px 25px;
  -webkit-transition: 0.3s;
  -moz-transition: 0.3s;
  -o-transition: 0.3s;
  transition: 0.3s;
  box-shadow: 2px 4px 12px 0 rgb(0 0 0 / 8%);
  justify-content: center;
  align-items: center;
}

.brand_pd .content:hover {
  top: -6px;
  border: 1px solid #2b82b6;
  -webkit-box-shadow: 0 0 5px rgba(0, 0, 0, 0.2);
  -moz-box-shadow: 0 0 5px rgba(0, 0, 0, 0.2);
  box-shadow: 0 0 5px rgba(0, 0, 0, 0.2);
}


.brand-card {
  padding: 5px 8px 15px 8px;
}
.brand-helf {
   width: 50%;
  }
.pd-img {
  margin: auto;
  padding: 0px 5px 10px 0px;
}

.pd-img img {
  width: 100%;
  height: auto;
  border-radius: 100%;
  transform: translate(5%, 5%);
  border: 1px solid #323c8a;;
}

.brand_pd .pd-title {
  font-size: 18px;
  color: #fff;
  line-height: 40px;
  margin-bottom: 8px;
  font-weight: 500;
}

.brand_pd .content:hover>.pd-title {
  color: #48eaff;
}

.brand_pd .pd-title::after {
  content: " ";
  display: block;
  border-bottom: 1px solid #EBF2FA;
  width: 95%;
  position: absolute;

}

.brand_pd .pd-slogan {
  font-size: 14px;
  font-weight: 400;
  color: #fff;
  margin-top: 16px;
  position: relative;
  text-align: center;
}

.brand_pd .content:hover>.pd-slogan {
  font-size: 15px;
  color: #fff000;
  margin-top: 18px;
  padding-top: 10px;
  position: relative;
}


.brand_pd .price {
  border: 1px solid #bcc8e5;
  background-color: #323c8abf;
  border-radius: 100px;
  font-size: 88%;
  line-height: 180%;
  color: #fff000;
  font-weight: 500;
  width: 98%;
  left: 0;
  margin: 10px 0 10px 5px;
  letter-spacing: 1px;
  text-align: center;
}

.brand_pd .price::after {
  content: " ";
  display: block;
  border-bottom: 1px solid #EBF2FA;
  padding-top: 10px;
  width: 100%;
  position: absolute;

}

.brand_pd .price small {
  font-weight: 400;
  font-size: 60%;
  vertical-align: 0;
  padding: 2px;
}

.brand_pd .pd-slogan::after {
  content: "";
  display: inline-block;
  width: 12px;
  height: 12px;
  background-image: url("../img/pic/next.svg");
  background-size: cover;
  position: absolute;
  top: 10px;
  margin-left: 2px;
}

.downrail2 {
  display: inline-block;
  padding-top: 20px;
  overflow: hidden;
  width: 880px;
}

.rail2 {
  display: flex;
  padding: calc(24 / var(--width-base)* 100vw) 0;
  border-width: 1px 0;
  border-style: solid;
  border-color: #2B51AD;
  overflow: hidden;
}

.rail {
  display: flex;
  padding: calc(24 / var(--width-base)* 100vw) 0;
  border-width: 1px 0;
  border-style: solid;
  border-color: #2B51AD;
  overflow: hidden;
  margin-bottom: 20px;
}

.rail__group {
  display: flex;
  gap: calc(48 / var(--width-base)* 100vw);
  padding-right: calc(48 / var(--width-base)* 100vw);
  flex-shrink: 0;
  animation: rail-group-loop 30s linear infinite;
}

.rail__item {
  display: flex;
  align-items: center;
  gap: calc(50 / var(--width-base)* 100vw);
  flex-shrink: 0;
}

.rail__item>span {
  font-size: 16px;
  font-weight: 500;
  color: #2B51AD;
}

.rail__item>img {
  width: 80px;
  padding: 0 30px;
}

.event_main h2 span.title {
  padding: 0 15px;
  font-size: inherit;
  font-weight: 500;
  line-height: 40px;
  border-bottom: 1px solid #3f3f3f;
}

@keyframes rail-group-loop {
  0% {
    transform: translateZ(0)
  }

  to {
    transform: translate3d(-100%, 0, 0)
  }
}

@media only screen and (max-width: 767px) {
  .downrail2 {
    display: inline-block;
    padding-top: 20px;
    overflow: hidden;
    width: 100%;
  }
  .brand-card {
    padding: 5px 6px 10px 6px;
}
  .brand_pd .price {
    font-size: 80%;
    line-height: 28px;
    color: #fff000;
    font-weight: 500;
    width: 98%;
    left: 0;
    bottom: 5px
  }

  .pd-img img {
    width: 110%;
    height: auto;
    border-radius: 100%;
    margin-left: -5%;
    ;
  }


  .event_main h2 span.title {
    font-size: 20px;
  }


}