@import 'notosanstc.css';
@import url("https://fonts.googleapis.com/css2?family=Roboto:wght@400;700&display=swap");
.family-intro-wrap,
.family-prize-wrap,
.family-event-wrap {
  width: 1350px;
}
.family-intro-wrap h1, .family-intro-wrap h2, .family-intro-wrap h3,
.family-prize-wrap h1,
.family-prize-wrap h2,
.family-prize-wrap h3,
.family-event-wrap h1,
.family-event-wrap h2,
.family-event-wrap h3 {
  font-weight: normal;
}

body {
  overflow-x: hidden;
}

.family-wrap {
  margin: 3rem auto;
}
.family-wrap h2 {
  color: #07B53B;
  font-size: 2rem;
  padding: 1rem 0;
  line-height: 125%;
}

.family-intro-left {
  float: left;
  width: 55%;
  margin-top: 2rem;
}

.family-intro-right {
  position: relative;
  float: right;
  width: 35%;
}
.family-intro-right .swiper-container {
  overflow: hidden;
}
.family-intro-right .card-slide {
  box-shadow: none;
}
.family-intro-right .card-slide .card-img {
  border-radius: 10px;
  -ms-border-radius: 10px;
  -moz-border-radius: 10px;
  -webkit-border-radius: 10px;
  -o-border-radius: 10px;
}
.family-intro-right .card-slide::after {
  display: none;
}
.family-intro-right .card-slide p {
  text-align: center;
  font-size: 1.375rem;
  padding-top: 1.5rem;
}
.family-intro-right .swiper-button-prev {
  left: -5rem;
}
.family-intro-right .swiper-button-next {
  right: -5rem;
}

.family-bonus-wrap p.des {
  font-size: 0.8rem;
  color: #838383;
}
.family-bonus-wrap .card-slide {
  box-shadow: none;
}
.family-bonus-wrap .card-slide h3 {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: #FFF;
  width: 90%;
  text-align: center;
  font-size: 2rem;
}
.family-bonus-wrap .card-slide::before {
  display: block;
  position: absolute;
  content: "";
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  background: rgba(0, 0, 0, 0.5);
}
.family-bonus-wrap .card-slide::after {
  display: none;
}

.family-prize-title,
.family-event-title {
  position: relative;
  border-bottom: 1px solid #ebebeb;
}
.family-prize-title h3,
.family-event-title h3 {
  width: 75%;
}
.family-prize-title h3 span,
.family-event-title h3 span {
  font-size: 1rem;
  color: #333333;
}

.family-prize-title h2 {
  width: 70%;
  text-align: justify;
}
.family-prize-title span {
  font-size: 1rem;
  color: #838383;
}

.prize-select-wrap,
.event-select-wrap {
  z-index: 2;
  position: absolute;
  top: 50%;
  right: 0;
  width: 20%;
  transform: translateY(-50%);
}

.prize-select-wrap {
  z-index: 3;
}

.family-tab-block {
  margin: 3rem 0;
  text-align: center;
}
.family-tab-block a {
  position: relative;
  display: inline-block;
  padding: 0.25rem 0;
  width: 50%;
  width: 15rem;
  color: #07B53B;
  text-align: center;
  border: 1px solid #07B53B;
  margin: 0 0.5rem;
  border-radius: 8px;
  -ms-border-radius: 8px;
  -moz-border-radius: 8px;
  -webkit-border-radius: 8px;
  -o-border-radius: 8px;
  transition: background 0.5s, color 0.5s;
}
.family-tab-block [data-category=brand] > div,
.family-tab-block [data-category=partner] > div {
  position: relative;
  top: -1px;
  display: inline-block;
  width: 2.5rem;
  height: 2.5rem;
  margin-right: 0.25rem;
  vertical-align: middle;
  background-position: center center !important;
  background-repeat: no-repeat !important;
  background-size: contain !important;
  transition: background 0.5s;
}
.family-tab-block [data-category=brand] > div {
  background: url("../img/icon/icon-brand.png");
}
.family-tab-block [data-category=partner] > div {
  background: url("../img/icon/icon-partner.png");
}
.family-tab-block a.active {
  color: #FFF;
  background: #07B53B;
}
.family-tab-block [data-category=brand].active > div {
  background: url("../img/icon/icon-brand-white.png");
}
.family-tab-block [data-category=partner].active > div {
  background: url("../img/icon/icon-partner-white.png");
}

.family-prize-content-wrap > div {
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.family-prize-content-wrap > div a {
  width: 57.5%;
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.family-prize-content-wrap > div .prize-logo {
  width: 20%;
  margin-right: 5%;
}
.family-prize-content-wrap > div h3 {
  font-size: 2rem;
  font-weight: normal;
  color: #07B53B;
  margin-bottom: 1rem;
}
.family-prize-content-wrap > div h3::after {
  display: inline-block;
  content: "";
  width: 0.5rem;
  height: 0.5rem;
  margin-left: 0.5rem;
  border-right: 2px solid #07B53B;
  border-top: 2px solid #07B53B;
  transform: translateY(-50%) rotate(45deg);
  transition: transform 0.5s;
}
.family-prize-content-wrap > div [href="#"] h3::after {
  display: none;
}
.family-prize-content-wrap > div article {
  width: 70%;
  flex-grow: 1;
}
.family-prize-content-wrap > div .family-prize-swiper {
  position: relative;
  width: 35%;
}
.family-prize-content-wrap > div .family-prize-swiper .swiper-container {
  overflow: hidden;
}
.family-prize-content-wrap > div .family-prize-swiper .swiper-slide {
  box-shadow: none;
}
.family-prize-content-wrap > div .family-prize-swiper .swiper-slide::after {
  display: none;
}
.family-prize-content-wrap .swiper-button-prev {
  left: -5rem;
}
.family-prize-content-wrap .swiper-button-next {
  right: -5rem;
}

.family-event-swiper {
  position: relative;
  overflow: hidden;
}
.family-event-swiper .swiper-container {
  width: 85%;
  margin: 2rem auto;
}
.family-event-swiper .card-wrapper {
  padding-bottom: 0;
}
.family-event-swiper .swiper-slide article {
  float: left;
  width: 40%;
  padding: 5rem 3rem;
  box-sizing: border-box;
}
.family-event-swiper .swiper-slide article h4 {
  font-size: 1.375rem;
  margin-bottom: 1rem;
  line-height: 160%;
}
.family-event-swiper .swiper-slide > div {
  float: right;
  width: 60%;
  overflow: hidden;
}
.family-event-swiper .swiper-slide::after {
  right: calc(60% + 3rem);
}
.family-event-swiper .swiper-button-prev {
  left: 0;
}
.family-event-swiper .swiper-button-next {
  right: 0;
}

.family-event-wrap .card-container-noswiper .card-wrapper {
  margin: 0;
}

.family-lightbox {
  display: none;
  z-index: 99;
  position: absolute;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.9);
}
.family-lightbox .lightbox-close {
  position: absolute;
  top: 0;
  right: -4rem;
  color: #FFF;
  font-size: 2rem;
}
.family-lightbox .lightbox-swiper {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 60%;
}
.family-lightbox .lightbox-swiper .swiper-container {
  padding-bottom: 3rem;
}
.family-lightbox .lightbox-swiper .swiper-slide {
  border-radius: 0px;
  -ms-border-radius: 0px;
  -moz-border-radius: 0px;
  -webkit-border-radius: 0px;
  -o-border-radius: 0px;
  overflow: hidden;
}
.family-lightbox .lightbox-swiper .swiper-slide::after {
  display: none;
}
.family-lightbox .swiper-button-prev {
  left: -5rem;
}
.family-lightbox .swiper-button-next {
  right: -5rem;
}
.family-lightbox .swiper-pagination {
  color: #FFF;
  font-size: 1.375rem;
}

@media only screen and (min-width: 1025px) {
  .family-prize-content-wrap .swiper-slide:hover {
    cursor: zoom-in;
  }
  .family-tab-block a:hover {
    color: #FFF;
    background: #07B53B;
  }
  .family-tab-block [data-category=brand]:hover > div {
    background: url("../img/icon/icon-brand-white.png");
  }
  .family-tab-block [data-category=partner]:hover > div {
    background: url("../img/icon/icon-partner-white.png");
  }
  .family-prize-content-wrap a:hover h3::after {
    transform: translate(0.5rem, -50%) rotate(45deg);
  }
  .family-prize-content-wrap [href="#"]:hover {
    cursor: default;
  }
}
@media only screen and (max-width: 1440px) {
  .family-intro-wrap,
  .family-prize-wrap,
  .family-event-wrap {
    width: 1024px;
  }
}
@media only screen and (max-width: 1024px) {
  select {
    padding: 0.5rem 0.75rem;
  }
  .family-intro-wrap,
  .family-prize-content-wrap > div .family-prize-swiper,
  .family-event-wrap,
  .family-prize-wrap,
  .family-prize-title h3,
  .family-event-title h3,
  .select-wrap.bright {
    width: 100%;
  }
  .family-intro-wrap .swiper-container,
  .family-intro-wrap .family-intro-left,
  .family-prize-title,
  .family-prize-content-wrap .swiper-slide,
  .family-prize-content-wrap > div article,
  .family-prize-content-wrap .swiper-container,
  .family-event-title,
  .family-event-swiper .swiper-container {
    width: 768px;
    margin: auto;
  }
  .family-intro-left {
    float: none;
    clear: both;
    margin-top: 0;
  }
  .family-intro-right {
    float: none;
    clear: both;
    width: 100%;
  }
  .family-intro-right .swiper-button-prev {
    left: 0;
  }
  .family-intro-right .swiper-button-next {
    right: 0;
  }
  .family-prize-content-wrap > div {
    display: block;
  }
  .family-prize-content-wrap > div a {
    display: block;
    width: 100%;
  }
  .family-prize-content-wrap > div .prize-logo {
    width: 10rem;
    margin: 1rem auto;
  }
  .family-prize-content-wrap > div article {
    margin: auto;
  }
  .family-prize-content-wrap .swiper-button-prev {
    left: 0;
  }
  .family-prize-content-wrap .swiper-button-next {
    right: 0;
  }
  .family-event-swiper .swiper-slide > div,
  .family-event-swiper .swiper-slide article {
    float: none;
    width: 100%;
  }
  .family-event-swiper .swiper-slide article {
    padding: 1rem 1.5rem 4rem 1.5rem;
  }
  .family-event-swiper .swiper-slide article h4 {
    margin: 0;
  }
  .family-event-swiper .swiper-slide::after {
    right: 2rem;
  }
  .family-event-swiper .swiper-button-prev {
    left: 0;
  }
  .family-event-swiper .swiper-button-next {
    right: 0;
  }
  .family-event-wrap .family-event-swiper {
    margin-top: 1rem;
  }
  .family-event-wrap .card-container {
    padding: 0.5rem 0 2rem 0;
  }
}
@media only screen and (max-width: 768px) {
  .family-intro-wrap .swiper-container,
  .family-intro-wrap .family-intro-left,
  .family-prize-title,
  .family-prize-content-wrap .swiper-slide,
  .family-prize-content-wrap > div article,
  .family-prize-content-wrap .swiper-container,
  .family-event-title,
  .family-event-swiper .swiper-container {
    width: 640px;
  }
}
@media only screen and (max-width: 640px) {
  .family-intro-wrap .swiper-container,
  .family-intro-wrap .family-intro-left,
  .family-prize-title,
  .family-prize-content-wrap .swiper-slide,
  .family-prize-content-wrap > div article,
  .family-prize-content-wrap .swiper-container,
  .family-event-title,
  .family-event-swiper .swiper-container {
    width: 480px;
  }
  .family-wrap {
    margin: 1.5rem auto;
  }
  .family-wrap .card-container-noswiper {
    padding: 0;
  }
  .family-bonus-wrap .card-container-noswiper .card-wrapper {
    margin-top: 1rem;
  }
  .family-tab-block a {
    width: 43%;
    padding: 0.75rem 0;
    margin: 0 1%;
    box-sizing: border-box;
  }
  .family-tab-block a > div {
    display: none !important;
  }
  .prize-select-wrap,
  .event-select-wrap {
    width: 25%;
  }
  .family-tab-block {
    margin: 1.5rem 0 3rem 0;
  }
}
@media only screen and (max-width: 480px) {
  .family-intro-wrap .swiper-container,
  .family-intro-wrap .family-intro-left,
  .family-prize-title,
  .family-prize-content-wrap .swiper-slide,
  .family-prize-content-wrap > div article,
  .family-prize-content-wrap .swiper-container,
  .family-event-title,
  .family-event-swiper .swiper-container {
    width: 375px;
  }
  .family-bonus-wrap .card-slide h4,
  .family-wrap h2,
  .family-prize-content-wrap h3,
  .family-prize-content-wrap > div h3,
  .family-lightbox .lightbox-close {
    font-size: 1.375rem;
  }
}
@media only screen and (max-width: 375px) {
  .family-intro-wrap .swiper-container,
  .family-intro-wrap .family-intro-left,
  .family-prize-title,
  .family-prize-content-wrap .swiper-slide,
  .family-prize-content-wrap > div article,
  .family-prize-content-wrap .swiper-container,
  .family-event-title,
  .family-event-swiper .swiper-container {
    width: 320px;
  }
}
@media only screen and (max-width: 320px) {
  .family-intro-wrap .swiper-container,
  .family-intro-wrap .family-intro-left,
  .family-prize-title,
  .family-prize-content-wrap .swiper-slide,
  .family-prize-content-wrap > div article,
  .family-prize-content-wrap .swiper-container,
  .family-event-title,
  .family-event-swiper .swiper-container {
    width: 300px;
  }
}/*# sourceMappingURL=family.css.map */