@charset "UTF-8";
html {
  -webkit-text-size-adjust: 100%;
  min-height: 100vh;
  overflow:-moz-scrollbars-vertical;
  overflow-y:scroll;
  overflow-x: hidden;
  height:100%;
}

body {
  font-family: "Noto Sans TC", "Microsoft JhengHei", "Arial", "Noto Sans JP", "Noto Sans KR", "Noto Sans", "PMingLiU", sans-serif;
  font-size: 18px;
  line-height: 1.7;
  color: #373737;
  background-image: url(../images/bg.jpg);
  background-repeat: no-repeat;
  -webkit-overflow-scrolling: touch;
}
*, ::after, ::before {
  box-sizing: border-box;
}

#goHappy .clearfix:after, #goHappy .list-circleIcon > .list::before, #goHappy .list-triangleIcon > .list::before, #goHappy .list-arrowIcon > .list::before {
  content: '';
  display: block;
}

a { text-decoration: none; color: #1136d9; }
a:hover { color: #1136d9;
          -o-transition:all .3s linear;
   -webkit-transition:all .3s linear;
      -moz-transition:all .3s linear;
              transition:all .3s linear;
}
#goHappy a img, #goHappy a img:hover {
  border: none;
}

#goHappy ul, #goHappy ol, #goHappy li {
  list-style: none;
}

#goHappy img {
  max-width: 100%;
  width: auto;
}

#goHappy sub, #goHappy sup {
  font-size: 75%;
  line-height: 0;
  position: relative;
  vertical-align: baseline;
}

#goHappy sub {
  bottom: -0.25em;
}

#goHappy sup {
  top: -0.5em;
}

#goHappy .wrapper {
  padding: 0;
  margin: 0 auto;
}

#goHappy .wrap-area {
  display: block;
  margin: 0 auto 3rem;
  position: relative;
  z-index: 1;
}

#goHappy img.maxInitial {
  max-width: initial;
}

#goHappy .clearfix:after {
  clear: both;
  height: 0px;
  overflow: hidden;
  visibility: inherit;
}

#goHappy .js_fixedTop {
  position: fixed;
  left: 0;
  right: 0;
  top: 0;
  z-index: 99;
}

#goHappy .js_fixedTop .js_fixedTopHeight {
  width: 100%;
  background: #fff;
  z-index: 99;
}

#goHappy .js_fixedTop.onFixed .js_fixedTopHeight {
  width: 96%;
  left: 2%;
}

#goHappy .js_fixedTop .js_fixedTopHeight {
  z-index: 98;
}

#goHappy .logo-goHappy {
  padding: 25px 0 18px 0;
  margin: 0 auto;
  text-align: center;
}
#goHappy .logo-goHappy a {
  display: inline-block;
  width: 182px;
}

.block-banner {
  margin-top: 80px;
  margin-bottom: -24%;
  position: relative;
  z-index: 0;
}
.block-banner img {
  width: 100%;
}

.block-mainContent {
  padding: 0 2rem 3rem; /* 內邊距，調整內容與邊框的距離 */
  margin: 0 auto; /* 水平居中 */
  max-width: 1392px; /*設定最大寬度 */
  position: relative;
  z-index: 1;
}

#goHappy footer {
  text-align: center;
  margin: 0;
  color: #a4172e;
  font-size: 16px;
  padding: 3rem 1rem 10vh;
  background: #fff;
}
#goHappy footer > div {
  max-width: 1280px;
  margin: 0 auto;
  clear: both;
  overflow: hidden;
}
#goHappy footer > div a {
  float: left;
  width: 182px;
  display: inline-block;
}
#goHappy footer > div p {
  float: right;
}

#goHappy ol li {
  list-style: disc inside;
  margin: 10px;
}


#goHappy .showTablet {
  display: none;
}

#goHappy .section {
  margin-top: 30px;
}

#goHappy .section:first-child {
  margin-top: 0;
}

#goHappy .title-img {
  padding: 55px 15px 20px;
}
#goHappy .title-img.title-2 {
  padding-bottom: 0;
}
#goHappy .title-img img {
  display: block;
  margin: 0 auto;
  
}

#goHappy .title-img.title-1 {
  max-width: initial;
  width: 100%;
}
.img-table {
  max-width: 1180px;
  content: '';
  clear: both;
  /*overflow: hidden;*/
  display: none; /* table*/
}
.img-table .img2-left {
  float: left;
  width: calc(32vw);
  background-repeat: no-repeat;
  background-position: top center;
  background-image: url(../images/compaign_img2-1_s0.png);
  background-size: auto 100%;  
}
.img-table .img2-right {
  float: left;
  width: calc(68vw);
  position: relative;
}

  @media (max-width: 550px) {
    .img-table .img2-left {
      width: calc(40vw);
    }
    .img-table .img2-right {
      width: calc(60vw);
    }
  }
  @media (max-width: 460px) {
    .img-table .img2-left {
      width: calc(50vw);
    }
    .img-table .img2-right {
      width: calc(50vw);
    }
  }
  @media (max-width: 399px) {
    .img-table .img2-left {
      width: calc(55vw);
    }
    .img-table .img2-right {
      width: calc(45vw);
    }
  }


  .mobileNav {
    display: none;
    position: fixed;
    top: 20vh;
    right: 30px;
    z-index: 999;
    opacity: 1;
  }
  #mnav {
    background-image: url(../images/nav_btn.png);
    width: 92px;
    height: 92px;
    box-shadow: 5px 5px 15px rgba(0, 0, 0, .4);
    position: relative;
    padding: 26px 24px 0 24px;
    border-radius: 50%;
  }
  #menuToggle {
    display: flex;
    flex-direction: column;
    -webkit-user-select: none;
    user-select: none;
  }

  #menuToggle input {
    display: flex;
    width: 42px;
    height: 42px;
    position: absolute;
    cursor: pointer;
    opacity: 0;
    z-index: 2;
  }

  #menuToggle span {
    display: flex;
    width: 100%;
    height: 6px;
    margin-bottom: 10px;
    border-radius: 4px;
    position: relative;
    background: #8010db;
    z-index: 1;
    transform-origin: 5px 0px;
    transition: transform 0.5s cubic-bezier(0.77,0.2,0.05,1.0),
                background 0.5s cubic-bezier(0.77,0.2,0.05,1.0),
                opacity 0.55s ease;
  }
  #mmenu {
    position: absolute;
    top: 15px;
    right: 15px;
    box-shadow: 0 0 10px #85888C;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.9);
    -webkit-font-smoothing: antialiased;
    transform-origin: 0% 0%;
    transform: translate(120%, 0);
    transition: transform 0.5s cubic-bezier(0.77,0.2,0.05,1.0);
    z-index: -1;
  }

  #mmenu li {
    padding: 30px 9vw 30px 5vw;
    text-wrap: nowrap;
  }
  #mmenu li:hover {
    background: #e9e9e9;
  }
  #mmenu li a {
    display: block;
    font-size: 32px;
    font-weight: bold;
    color: #a9a9a9;
    padding-left: 2.5rem;
    position: relative;
  }
  #mmenu li a:hover, #mmenu li:hover a {
    color: #8010db;
    text-decoration: none;
  }
  #mmenu li a:after {
    content: '';
    display: block;
    width: 4px;
    height: 24px;
    background: #a9a9a9;
    position: absolute;
    left: 0;
    top: 17px;
  }
  #mmenu li:hover a:after {
    background: #8010db;
  }

  #menuToggle input:checked ~ ul
  {
    transform: none;
  }  

.tit-margin {
  display: block;
  margin: 0 auto 2rem;
  width: auto;
  max-width: 100% ;
  text-align: center;
}

.title-h {
  font-size: 30px;
  font-weight: bold;
  color: #fff;
  background: #b1751a;
  text-align: center;
  letter-spacing: 5px;
  padding: 1rem 0;
}

#goHappy .info-box .title-h {
  margin-bottom: 2rem;
}
#goHappy .info-box h3 {
  font-weight: bold;
}

#goHappy .wrap-area-content {
  padding: 5% 20px 5% 5%;
  height: 350px;
  background: rgba(255, 255, 255, .65);
  border-radius: 40px;
}
#goHappy .wrap-area-content h3, #goHappy b {
  font-weight: bold;
}
#goHappy .wrap-area-content .scroll-bar {
  height: 100%;
  overflow-y: scroll;
}
#goHappy .wrap-area ol {
  padding: 1rem 1rem 1rem 2rem;
}
#goHappy .wrap-area ol li {
  list-style: disc outside;
  margin: 0;
}
#goHappy .wrap-area ol li ol {
  padding-top: 0;
  padding-left: 1rem;

}
#goHappy .wrap-area ol li ol li {
  padding-left: -20px;
}

#goHappy .wrapper h3 {
  font-weight: bold;
}

#goHappy .showType img {
  max-width: 100%;
}

.content-wrap {
  display: flex;
  width: 100%;
  height: 100%;
}
.anni-content-1 {
  padding-top: 40px;
  border-bottom: 1px solid #000;
  z-index: 1;
  position: relative;
}
.anni-content-1:before {
  content: '';
  display: block;
  width: 100%;
  height: 100%;
  position: absolute;
  left: 0;
  top: 0;
  z-index: 0;
  background: url(../images/case.png) no-repeat top center;
  background-size: 100% auto;
}
.spark-right {
  content: '';
  display: block;
  width: 232px;
  height: 433px;
  position: absolute;
  right: -6%;
  top: 160px;
  background: url(../images/spark_right.png) no-repeat top center;
  background-size: 100%;
}
.spark-left {
  content: '';
  display: block;
  width: 232px;
  height: 554px;
  position: absolute;
  left: -6%;
  top: 40px;
  background: url(../images/spark_left.png) no-repeat top center;
  background-size: 100%;
}

.anni-iconbar {
  display: flex;
  max-width: 90%;
  padding: 30px 0 50px;
  margin: 20px auto 0;
  list-style: none;
  background: url(../images/iconbar_bg.png) no-repeat top center;
  background-size: 92% 100%;
  position: relative;
  z-index: 2;
}
.anni-iconbar::after {
  content: '';
  display: block;
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  height: 40px;
  margin-top: -60px;
  background: url(../images/iconbar.png) no-repeat center;
  background-size: 80% 100%;
  z-index: 0;
}

.anni-iconbar li {
  flex: 1;
  z-index: 1;
}
.anni-iconbar li a {
  display: block;
  text-align: center;
}
.anni-iconbar li a h2 {
  font-size: 32px;
  color: #323232;
  margin-top: -25px;
}
.anni-iconbar li.overlay a h2 {
  color: #767676;
}
.anni-text {
  padding: 1rem 1rem 0;
  text-align: center;
  font-size: 30px;
  font-weight: bold;
}
.anni-text label {
  display: inline;
  padding: 0 1rem;
  color: #5d05ff;
}

.flag-wrap {
  margin-top: 3rem;
  margin-bottom: 2rem;
  position: relative;
}
.flag-wrap::after {
  content:'';
  display: block;
  position: absolute;
  left: -180px;
  top: 0;
  width: 100%;
  height: 100%;
  background: url(../images/flag_bg.png) no-repeat top center;
  background-size: auto 100%;
  z-index: 0;
}

.flag-wrap .flagbar {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding-top: 10%;
  padding-left: 35%;
  list-style: none;
  position: relative;
  z-index: 2;
}
.flag-wrap .flagbar li {
  padding: 3rem 5rem 2.5rem 9rem;
  text-align: center;
  width: 700px;
  height: 200px;
}
.flag-wrap .flagbar li h2 {
  font-size: 29px;
  font-weight: bold;
  color: #5e00b5;
}
.flag-wrap .flagbar li p {
  font-size: 24px;
  line-height: 1.2;
  font-weight: bold;
}

.flag-wrap .flagbar .flag-1 {
  margin-left: -2rem;
  background: url(../images/flag1.png) no-repeat center;
  background-size: 100% 100%;
}.flag-wrap .flagbar .flag-2 {
  padding-top: 3.5rem;
  margin-left: -3rem;
  background: url(../images/flag2.png) no-repeat center;
  background-size: 100% 100%;
}.flag-wrap .flagbar .flag-3 {
  margin-left: -7rem;
  background: url(../images/flag3.png) no-repeat center;
  background-size: 100% 100%;
}.flag-wrap .flagbar .flag-4 {
  margin-left: -13rem;
  background: url(../images/flag4.png) no-repeat center;
  background-size: 100% 100%;
}.flag-wrap .flagbar .flag-5 {
  margin-left: -18rem;
  background: url(../images/flag5.png) no-repeat center;
  background-size: 100% 100%;
}

.flag-wrap .flagbar:after {
  content: '';
  display: block;
  width: 213px;
  height: 150px;
  position: absolute;
  right: 30px;
  bottom: 40px;
  background: url(../images/3d-IconFinance-0085.png) no-repeat center;
}


.anni-content-2 {
  text-align: center;
  padding: 5rem 0 0;
}

.anni-creator {
  display: flex;
  padding: 3rem 3rem 0 3rem;
  background: url(../images/brush.png) no-repeat top left;
  border-bottom-right-radius: 50px;
  overflow: hidden;
}
.anni-creator-left {
  width: 60%;
  padding-left: 8%;
}
.anni-creator-right {
  text-align: right;
  width: 40%;
  background: url(../images/creator-right.png) no-repeat bottom right;
  background-size: 100% auto;
}

.member-box .obj {
  max-width: 88% !important;
  position: absolute;
  top: 250px;
  right: 2rem;
  z-index: 0;
}

#goHappy .qa-box .wrap-area {
  padding: 60px;
  padding-bottom: 30px;
}

#goHappy .accordion h3 {
  display: block;
  font-size: 20px;
  line-height: 1.2;
  font-weight: bold;
  padding: 20px 30px;
  background: #fff;
  color: #000;
  margin-bottom: 30px;
  position: relative;
  cursor: pointer;
}
#goHappy .accordion2 h2 {
  position: relative;
  cursor: pointer;
}

#goHappy .accordion .cont {
  display: none;
  margin: 0;
  padding: 25px;
  margin-top: -30px;
  margin-bottom: 30px;
  background: #edd3ff;
  font-size: 20px;
  font-weight: bold;
  word-break: break-all;
}

#goHappy .accordion h3 span,
#goHappy .accordion2 h2 span {
  display: inline-block;
  position: absolute;
  right: 1rem;
  top: 50%;
  width: 16px;
  height: 2px;
  background: #000;
  transform-origin: 0% 0%;
}
#goHappy .accordion2 h2 span {
  top: 50%;
  width: 25px;
  background: #fff;
  
}
#goHappy .accordion h3 span:after,
#goHappy .accordion2 h2 span:after {
  content: '';
  position: absolute;
  width: 16px;
  height: 2px;
  background: #000;
}
#goHappy .accordion2 h2 span:after {
  right: 0;
  width: 25px;
  background: #fff;
  
}
#goHappy .accordion .ui-state-default span:after,
#goHappy .accordion2 .ui-state-default span:after
{
  opacity: 1;
  transform: rotate(90deg) translate(0, 0);
}
#goHappy .accordion .ui-state-active span:after,
#goHappy .accordion2 .ui-state-active span:after
{
  opacity: 0;
}


#goHappy .grid {
  display: flex;
  align-items:stretch;
  flex-wrap:wrap;
}
#goHappy .grid li {
  flex: 1;
  align-content: center;
}
#goHappy .grid li:first-child {
  text-align: right;
}
#goHappy .grid li img {
  display: inline-block;
  margin: 0 5px;
}


@media (max-width: 820px) {
  .img-table {
    display: flex; /* 這裡設置在這個區間內顯示 .img-table */
  }
  #goHappy .img-hidden {
    display: none !important; /* 隱藏 img-hidden */
  }
}



@media (max-width: 820px) {
  #goHappy {
    font-size: 16px;
  }

  #goHappy .logo-goHappy {
    padding: 10px 0 5px;
  }
  #goHappy .list-link {
    content: '';
    clear: both;
    text-align: center;
  }
  #goHappy .showDesktop {
    display: none;
  }
  #goHappy .showTablet {
    display: block;
  }
  #goHappy .qa-box .wrap-area {
    padding: 50px;
    margin: 0 60px;
  }

  #goHappy .grid li {
    width: 100%;
    flex: 100%;
    text-align: center;
  }
  #goHappy .grid li:first-child {
    text-align: center;
  }

  #goHappy footer > div {
    text-align: center;
  }
  #goHappy footer > div a {
    float: none;
  }
  #goHappy footer > div p {
    float: none;
  }

}

@media (max-width: 580px) {
  #goHappy {
    font-size: 15px;
  }

  #goHappy .list-link > .list:after {
    width: 12px;
    height: 12px;
    margin-top: -8px;
    right: -6px;
  }
  #goHappy .list-link > .list a {
    text-wrap: nowrap;
    font-size: 16px;
    margin: 10px 5px;
    letter-spacing: 0;
  }
  #goHappy .rights-box {
    background-size: cover;
  }

  #goHappy footer > div span {
    display: block;
  }
}

    .swiper {
      width: 100%;
      height: auto;
      position: initial;
      overflow: hidden;
    }
    .swiper-slide {
      text-align: center;
      font-size: 18px;
      display: flex;
      justify-content: center;
      align-items: center;
      color: #fff;
    }
    .swiper-button-prev, .swiper-rtl .swiper-button-next {
      left: -24px;
    }
    .swiper-button-next, .swiper-button-prev {
      width: 36px;
      height: 36px;
      background: #fff;
      color: #8b25dc;
      border-radius: 50%;
      right: -24px;
      margin-top: 18%;
      box-shadow: 1px 2px 3px #aaa;
      opacity: 0.5; /* 初始透明度 */
      transition: opacity 0.3s ease; /* 平滑過渡效果 */
    }
    
    .swiper-button-next:hover, .swiper-button-prev:hover {
      opacity: 1; /* 滑鼠懸停時全不透明 */
    }
    
    .swiper-button-next:after, .swiper-button-prev:after {
      font-size: 22px;
      font-weight: bold;
    }
    #swiper1 .swiper-button-next, #swiper1 .swiper-button-prev {
      margin-top: 15%;
    }    
    #swiper2 .swiper-button-next, #swiper2 .swiper-button-prev {
      margin-top: 0;
    }
    #swiper3 .swiper-button-next, #swiper3 .swiper-button-prev {
      margin-top: -5%;
    }    
    .showMobile {
      display: none;
    }
    
    @media (max-width: 767px) {
      .showMobile {
        display: block;
        text-align: center;
        font-size: 19px;
        color: #f9f9f9;
        padding: 2rem;
      }
    
      .mobile-footer-text {
        margin: 0;
        line-height: 1.5;
      }
    }
  
    
    .showMobile {
      text-align: center; /* 將內容置中 */
    }
    
    .mobile-footer-background {
      text-align: center;
      display: block; /* 讓背景適配內容大小 */
      margin: 0 auto 8rem;
    }
    
    .mobile-footer-text {
      display: inline-block;
      width: 100%;
      max-width: 910px;
      padding: 10px; /* 添加內邊距，讓內容與邊框保持距離 */
      border: 1px solid #FFF; /* 外框線 */
      font-size: 25px; /* 調整文字大小 */
      color: #fff; /* 文字顏色 */
    }
    
  html, body {
    overflow-x: hidden;
    touch-action: pan-y;
    scroll-behavior: smooth;
  }

#gotop {
    position:fixed;
    z-index:90;
    right:10px;
    bottom:30px;
    display:none;
    transition:all 0.5s;
    text-align: center;
}
#gotop img {
  width: 70px;
}


/*------------ CSS TAB---------------*/

.tab-wrap {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  margin: 0 auto;
  max-width: 1392px;
  position: relative;
  z-index: 1;
}
.tab-wrap li {
  width: 20%;
}
.tab-wrap li:nth-child(1), .tab-wrap li:nth-child(2) {
  position: relative;
}
.tab-wrap li:nth-child(1):before {
  content: '';
  display: block;
  position: absolute;
  top: -48px;
  right: 30px;
  width: 62px;
  height: 54px;
  background-image: url(../images/tab-1_icon.png);
}
.tab-wrap li:nth-child(2)::before {
  content: '';
  display: block;
  position: absolute;
  top: -74px;
  right: 55px;
  width: 43px;
  height: 83px;
  background: url(../images/tab-2_icon.png) no-repeat center;
}
.tab-wrap li.ui-tabs-active:nth-child(1)::before,
.tab-wrap li:nth-child(1):hover::before {
  background: url(../images/tab-1_icon_s.png) no-repeat center;
}
.tab-wrap li.ui-tabs-active:nth-child(2)::before,
.tab-wrap li:nth-child(2):hover::before {
  background: url(../images/tab-2_icon_s.png) no-repeat center;
}



.tab-wrap .ui-tabs-active .nav-link:after, .tab-wrap .nav-link:hover:after {
  content: '';
  display: block;
  position: absolute;
  left: -4px;
  right: -4px;
  top: -3px;
  height: 98px;
  background-image: url(../images/tab_hover.png);
  background-repeat: no-repeat;
  background-position: center;
  background-size: 100% 100%;
  z-index: 1;
}
.tab-wrap .nav-link.tab-5:hover:after {
  right: -11px;
}

.tab-wrap .nav-link {
  display: block;
  cursor: pointer;
  padding: 25px 15px;
  height: 80px;
  background: #e3e3e3;
  text-align: center;
  position: relative;
  z-index: 0;
}
.tab-wrap .nav-link:before {
  content: '';
  display: block;
  width: 100%;
  height: 100%;
  position: relative;
  z-index: 2;
  background-size: contain;;
}
.tab-wrap .tab-1 {
  border-top-left-radius: 50px;
  border-bottom-left-radius: 50px;
}
.tab-wrap .tab-1:before {
  background-image: url(../images/label1.png);
  background-repeat: no-repeat;
  background-position: center;
}
.tab-wrap .tab-2:before {
  background-image: url(../images/label2.png);
  background-repeat: no-repeat;
  background-position: center;
}
.tab-wrap .tab-3:before {
  background-image: url(../images/label3.png);
  background-repeat: no-repeat;
  background-position: center;
}
.tab-wrap .tab-4:before {
  background-image: url(../images/label4.png);
  background-repeat: no-repeat;
  background-position: center;
}
.tab-wrap .tab-5 {
  border-top-right-radius: 50px;
  border-bottom-right-radius: 50px;
}
.tab-wrap .tab-5:before {
  background-image: url(../images/label5.png);
  background-repeat: no-repeat;
  background-position: center;
}

.tab-content {
  background-color: #f9f6e8;
  background-image: url(../images/content_bg.png);
  background-repeat: repeat-y;
  background-position: top center;
  background-size: 100% 100%;
  border-radius: 50px;
  width: 100%;
  order: 1;
  margin-top: 2rem;
}
.tab-content .tab-pane {
  padding: 3rem 5rem 2rem;
}
.tab-content .tab-pane.qa-box {
  background-image: url(../images/content_bg.png);
  background-repeat: no-repeat;
  background-size: 100% auto !important;
  border-radius: 50px;

}
.anni-box, .point-box .wrap-area {
  padding: 3rem 9% 0;
}
.point-box {
  padding-bottom: 3rem;
}

.point-header {
  display: flex;
  flex-direction: column-reverse;
  padding: 3rem 9%;
  background: url(../images/point_bg.png) no-repeat top center;
  background-size: 100% auto !important;
  height: 650px;
  border-top-left-radius: 50px;
  border-top-right-radius: 50px;
}
.point-header .sinfo {
  text-align: center;
  padding: 1.5rem 4rem;
  background: rgba(250, 242, 224, .75);
  border-radius: 36px;
}
.point-header .sinfo h2 {
  font-size: 33px;
  font-weight: bold;
  color: #850500;
}
.point-header .sinfo p {
  font-size: 27px;
}

.point-discount-area {
  padding-top: 0!important;
  padding-left: 0!important;
  padding-right: 0!important;
}
.point-discount {
  background: url(../images/point_bg_gold.png) no-repeat top center;
  background-size: 100% 100%;
  margin-bottom: 3rem;
}
.point-discount .tit-margin {
  margin-bottom: 0;
  position: relative;
  z-index: 2;
}
.point-discount .dinfo {
  text-align: center;
  padding: 2rem 8% 2rem 16%;
  background: rgba(250, 242, 224, .6);
  border-radius: 36px;
  margin: 0 9%;
  position: relative;
}
.point-discount .dinfo h2 {
  font-size: 24px;
  color: #850500;
  font-weight: bold;
}
.point-discount .dinfo p {
  color: #636363;
  font-size: 20px;
}
.point-discount .pinimg {
  max-height: 680px;
  position: absolute;
  left: -150px;
  bottom: -120px;
  z-index: 0;
}
.point-discount-area .accordion {
  margin: 0 9%;
}
#goHappy .point-discount-area .accordion h3 {
  letter-spacing: 8px;
  padding: 15px 30px;
  border-radius: 30px;
  text-align: center;
  color: #fff;
  background: #6346d4;
  box-shadow: 3px 5px 5px rgba(0, 0, 0, .2);
}
#goHappy .point-discount-area .accordion h3 span {
  right: 1.5rem;
}
#goHappy .point-discount-area .accordion h3 span,
#goHappy .point-discount-area .accordion h3 span::after {
  background: #fff;
}
#goHappy .point-discount-area .accordion h3 span::after {
  left: 1px;
}
#goHappy .point-discount-area .accordion .cont {
  margin-top: -60px;
  padding-top: 40px;
  background: rgba(241, 255, 192, .4);
}
#goHappy .point-discount-area .accordion .cont label {
  display: inline-block;
  font-size: 1rem;
  border-radius: 22px;
  padding: 0.5rem 2rem;
  letter-spacing: 6px;
  background: #7011ff;
  color: #fff;
  margin: 20px 0 15px;
}
.point-box #zone4 {
  text-align: center;
}
.point-box .stitle {
  text-align: center;
  font-size: 27px;
  padding-bottom: 3rem;
}
.point-box .stitle b {
  color: #745fd0;
}
#goHappy .point-box .scroll-bar {
  padding: 1rem 1rem 1rem 0;
}
#goHappy .point-box .scroll-bar ul, #goHappy .point-box .scroll-bar ul li {
  list-style-type: decimal!important;
  padding-left: 1rem !important;
}
.point-box .point-info {
  padding: 4rem;
  background: url(../images/bg_calque.png) no-repeat top center;
  background-size: 100% 100%;
  margin-bottom: 3rem;
  font-size: 20px;
}
.flex {
  display: flex;
  flex-direction: column;
}
.flex li {
  flex: 100%;
  padding-left: 160px;
  position: relative;
  margin: 10px 0;
}
.flex li label {
  width: 145px;
  text-align: center;
  border-radius: 22px;
  padding: 5px 1rem;
  background: #7011ff;
  color: #fff;  
  position: absolute;
  left: 0;
  top: -2px;
  margin: 0;
  font-size: 16px;
}





@media screen and (max-width: 1060px) {
 
  .tab-content .tab-pane {
    padding-left: 2rem;
    padding-right: 2rem;
  }

  .anni-box, .point-box .wrap-area {
    padding-left: 3%;
    padding-right: 3%;
  }
  .point-header {
    padding: 1rem 3% 0;
    height: 300px;
  }
  .point-header .sinfo {
    padding-left: 1rem;
    padding-right: 1rem;
  }
  .point-header .sinfo h2 {
    font-size: 20px;
  }
  .point-header .sinfo p {
    font-size: 18px;
  }

  .tab-wrap .nav-link {
    padding: 20px 15px;
    height: 66px;
  }
  .tab-wrap .ui-tabs-active .nav-link:after, .tab-wrap .nav-link:hover:after {
    height: 82px;
  }

  .anni-iconbar {
    max-width: 100%;
  }
  .anni-iconbar::after {
    margin-top: -40px;
  }
  .anni-iconbar li a h2 {
    font-size: 24px;
  }
  .anni-text {
    font-size: 24px;
  }

  .spark-left, .spark-right {
    transform: scale(0.7);
  }
  .spark-left {
    left: -10%;
    top: 1%;
  }
  .spark-right {
    right: -10%;
    top: 9%;
  }

  .flag-wrap .flagbar {
    padding-top: 15%;
    padding-left: 0;
  }
  .flag-wrap::after {
    left: -130px;
  }  
  .flag-wrap .flagbar li {
    padding: 1.5rem 3rem 1rem 5rem;
    width: 76%;
    height: 120px;
  }
  .flag-wrap .flagbar li h2 {
    font-size: 18px;
  }
  .flag-wrap .flagbar li p {
    font-size: 15px;
  }
  .flag-wrap .flagbar .flag-1 {
    margin-left: 20%;
  }
  .flag-wrap .flagbar .flag-2 {
    padding-top: 2rem;
    margin-left: 18%;
  }
  .flag-wrap .flagbar .flag-3 {
    margin-left: 16%;
  }
  .flag-wrap .flagbar .flag-4 {
    margin-left: 10%;
  }
  .flag-wrap .flagbar .flag-5 {
    padding-top: 2rem;
    margin-left: 2%;
  }
  .flag-wrap .flagbar:after {
    display: none;
  }



}

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

  .anni-content-1 {
    padding-top: 20px;
  }
  .tab-wrap .nav-link {
    padding: 15px 10px;
    height: 50px;
  }
  .tab-wrap .ui-tabs-active .nav-link:after, .tab-wrap .nav-link:hover:after {
    height: 64px;
  }
  .anni-iconbar li a h2 {
    font-size: 20px;
  }
  .anni-text {
    font-size: 20px;
  }

}

@media screen and (max-width: 840px) {
  .mobileNav {
    transform: scale(0.7);
    top: -10px;
    right: -10px;
    display: block!important;
    opacity: 1!important;
  }
  #mnav {
    height: 70px;
    padding: 1rem;
    box-shadow: none;
    background: #fff;
    border-radius: 0;
  }
  #mmenu {
    border-top-left-radius: 0;
    border-top-right-radius: 0;
    margin-top: 58px;
    box-shadow: 6px 8px 10px rgba(0, 0, 0, .2);
    overflow: hidden;
  }
  #mmenu li a:after {
    top: 9px;
  }
  #mmenu li a {
    padding-left: 1.5rem;
    font-size: 24px;
  }

  .block-banner {
    margin-top: 0;
  } 
  .anni-text {
    font-size: 18px;
  }
  .spark-left, .spark-right {
    transform: scale(0.6);
  }  
  .spark-left {
    top: -5%;
    left: -15%;
  }
  .spark-right {
    top: 3%;
    right: -15%;
  }

  .tab-content .tab-pane {
      padding-left: 1rem;
      padding-right: 1rem;
  }

  .flag-wrap::after {
    left: -100px;
  }
  .anni-creator {
    padding-right: 0;
  }
  .anni-creator-left {
    padding: 0;
    width: 50%;
  }
  .anni-creator-right {
    width: 50%;
    background-size: 100% auto;
  }  

  .img-table .img2-left {
    width: 160px; 
  }
  .img-table .img2-right {
    float: left;
    width: calc(90vw - 160px);
    position: relative;
  }

  .tab-wrap li:nth-child(1):before, .tab-wrap li:nth-child(2)::before {
    transform: scale(0.6);
  }
  .tab-wrap li:nth-child(1):before {
    top: -38px;
    right: 10px;
  }

  .tab-wrap li:nth-child(2):before {
    top: -62px;
    right: 10px;
  }

  .point-box .tit-margin {
    max-width: 100% !important;
  }
  .point-discount {
    margin-bottom: 1.5rem;
  }

  .point-discount .pinimg {
    max-height: 400px;
    left: -50px;
    bottom: -70px;
  }
  .point-discount .dinfo {
    padding-left: 18%;
    padding-right: 4%;
    margin: 0 3%;
  }
  .point-discount .dinfo h2, .point-header .sinfo h2 {
    font-size: 16px;
  }
  .point-discount .dinfo p, .point-header .sinfo p {
    font-size: 13px;
  }
  .point-box .stitle {
    font-size: 18px;
    padding-bottom: 1.5rem;
  }
  .point-box .point-info {
    padding: 4rem 2rem;
    font-size: 16px;
  }

}



@media screen and (max-width: 680px) {
  #goHappy .wrap-area {
    padding-top: 1rem;
    margin-bottom: 2rem;
  }
  .anni-box, .point-box .wrap-area {
    padding-left: 2%;
    padding-right: 2%;
  }
  .block-mainContent {
    padding-left: 1rem;
    padding-right: 1rem;
  }
  .anni-iconbar {
    padding-top: 20px;
    padding-bottom: 40px;
  }
  .anni-iconbar::after {
    height: 25px;
    margin-top: -40px;
  }
  .anni-iconbar li a h2 {
    font-size: 18px;
    margin: -15px;
  }
  .anni-text label {
    padding: 0 5px;
  }
  .anni-creator {
    padding: 3rem 3rem 0 3rem;
    background: none;
  }
  .anni-creator-left {
    width: 100%;
    padding-left: 0;
  }
  .anni-creator-right {
    display: none;
    text-align: right;
    width: 40%;
    background-size: auto 100%;
  }

  .flag-wrap::after {
    left: -80px;
    background-size: 100%;
  }
  .flag-wrap .flagbar {
    padding-top: 10%;
  }
  .flag-wrap .flagbar li {
    padding: 1.1rem 2rem 1rem 3rem !important;
    width: 88%;
    height: 90px;
  }
  .flag-wrap .flagbar .flag-2 {
    padding-top: 1.6rem !important;
  }
  .flag-wrap .flagbar li h2 {
    font-size: 15px;
  }
  .flag-wrap .flagbar li p {
    font-size: 12px;
  }
  .point-discount-area .accordion {
    margin-left: 1rem;
    margin-right: 1rem;
  }
  #goHappy .point-discount-area .accordion .cont {
    padding-left: 10px;
    padding-right: 10px;
  }
  #goHappy .point-discount-area .accordion .cont label {
    font-size: 13px;
    letter-spacing: 0;
  }
  .flex li {
    padding-left: 0;
  }
  .flex li label {
    display: block;
    position: relative;
  }

}


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

  .spark-left, .spark-right {
      transform: scale(0.35);
  }
  .spark-left {
    top: -120px;
    left: -20%;
  }
  .spark-right {
    top: -40px;
    right: -20%;
  }

  .anni-iconbar li a h2 {
    font-size: 16px;
  }
  .anni-text {
   font-size: 16px;
  }
  .tab-wrap .nav-link {
    padding: 10px;
    height: 36px;
  }
  .tab-wrap .nav-link:before {
    background-size: 100% auto;
  }
  .tab-wrap .ui-tabs-active .nav-link:after, .tab-wrap .nav-link:hover:after {
    height: 42px;
    top: -1px;
    right: 0;
    left: -1px;
  }
  .tab-wrap .tab-5 {
    border-top-right-radius: 20px;
    border-bottom-right-radius: 20px;
  }
  .tab-wrap .nav-link.tab-5:hover:after {
    right: -3px;
  }  

  .flag-wrap .flagbar .flag-1 {
    margin-left: 15%;
  }
  .anni-content-2 {
    padding-top: 3rem;
  }
  .point-discount .pinimg {
    display: none;
    height: 280px;
    left: -30px;
    bottom: -40px;
  }
  .point-discount .dinfo {
    padding-left: 4%;
  }
  .point-discount .dinfo h2 {
    font-size: 13px;
  }
  .point-discount .dinfo p {
    font-size: 12px;
  }
  .point-box .stitle {
    font-size: 15px;
  }

}
@media screen and (max-width: 434px) {
  .tit-margin {
    max-width: 100% !important;
    margin-bottom: 1rem;
  }
  .spark-left, .spark-right {
      transform: scale(0.25);
  }  
  .spark-left {
    top: -140px;
    left: -28%;
  }
  .spark-right {
    top: -60px;
    right: -28%;
  }
  .anni-content-1 {
    padding-top: 10px;
  }
  .anni-iconbar li a h2 {
    font-size: 15px;
  }  
  .anni-text {
    font-size: 14px;
  }
  .flag-wrap::after {
    left: -60px;
  }
  .flag-wrap .flagbar li {
    width: 80%;
  }

}

@charset "UTF-8";
html{
  -webkit-text-size-adjust: 100%;
  min-height: 100vh;
  overflow:-moz-scrollbars-vertical;
  overflow-y:scroll;
  overflow-x: hidden;
  height:100%;
  text-align: center;

}

body{
  font-family: "Noto Sans TC", "Microsoft JhengHei", "Arial", "Noto Sans JP", "Noto Sans KR", "Noto Sans", "PMingLiU", sans-serif;
  font-size: 18px;
  line-height: 1.7;
  color: #373737;
  background-image: url(../images/bg.jpg);
  background-size: 100%;
  background-repeat: no-repeat;
  -webkit-overflow-scrolling: touch;
}

*, ::after, ::before{
  box-sizing: border-box;
}

#goHappy .clearfix:after, #goHappy .list-circleIcon > .list::before, #goHappy .list-triangleIcon > .list::before, #goHappy .list-arrowIcon > .list::before{
  content: '';
  display: block;
}

a{ text-decoration: none; color: #1136d9; }

a:hover{ color: #1136d9;
          -o-transition:all .3s linear;
   -webkit-transition:all .3s linear;
      -moz-transition:all .3s linear;
              transition:all .3s linear;
}

#goHappy a img, #goHappy a img:hover{
  border: none;
}

#goHappy ul, #goHappy ol, #goHappy li{
  list-style: none;
}

#goHappy img{
  max-width: 100%;
  width: auto;
}

#goHappy sub, #goHappy sup{
  font-size: 75%;
  line-height: 0;
  position: relative;
  vertical-align: baseline;
}

#goHappy sub{
  bottom: -0.25em;
}

#goHappy sup{
  top: -0.5em;
}

#goHappy .wrapper{
  padding: 0;
  margin: 0 auto;
}

#goHappy .wrap-area{
  display: block;
  margin: 0 auto 5rem;
  position: relative;
  z-index: 1;
}

#goHappy .wrap-area:last-child{
  margin-bottom: 0;
}

#goHappy img.maxInitial{
  max-width: initial;
}

#goHappy .clearfix:after{
  clear: both;
  height: 0px;
  overflow: hidden;
  visibility: inherit;
}

#goHappy .js_fixedTop{
  position: fixed;
  left: 0;
  right: 0;
  top: 0;
  z-index: 99;
}

#goHappy .js_fixedTop .js_fixedTopHeight{
  width: 100%;
  background: #fff;
  z-index: 99;
}

#goHappy .js_fixedTop.onFixed .js_fixedTopHeight{
  width: 96%;
  left: 2%;
}

#goHappy .js_fixedTop .js_fixedTopHeight{
  z-index: 98;
}

#goHappy .logo-goHappy{
  padding: 25px 0 18px 0;
  margin: 0 auto;
  text-align: center;
}

#goHappy .logo-goHappy a{
  display: inline-block;
  width: 182px;
}

.block-banner{
  margin-top: 80px;
  margin-bottom: -24%;
  position: relative;
  z-index: 0;
  width: 100%;
}

.block-banner img{
  width: 100%;
}

.block-mainContent{
  padding: 0 2rem 3rem; /* 內邊距，調整內容與邊框的距離 */
  margin: 0 auto; /* 水平居中 */
  max-width: 1392px; /*設定最大寬度 */
  position: relative;
  z-index: 1;
}

#goHappy footer{
  text-align: center;
  margin: 0;
  color: #a4172e;
  font-size: 16px;
  padding: 3rem 1rem 10vh;
  background: #fff;
}

#goHappy footer > div{
  max-width: 1280px;
  margin: 0 auto;
  clear: both;
  overflow: hidden;
}

#goHappy footer > div a{
  float: left;
  width: 182px;
  display: inline-block;
}

#goHappy footer > div p{
  float: right;
}

#goHappy ol li{
  list-style: disc inside;
  padding: 0;
  margin: 10px;
}

#goHappy .showTablet{
  display: none;
}

#goHappy .section{
  margin-top: 30px;
}

#goHappy .section:first-child{
  margin-top: 0;
}

#goHappy .title-img{
  padding: 55px 15px 20px;
}

#goHappy .title-img.title-2{
  padding-bottom: 0;
}

#goHappy .title-img img{
  display: block;
  margin: 0 auto;
  
}

#goHappy .title-img.title-1{
  max-width: initial;
  width: 100%;
}

.img-table{
  max-width: 1180px;
  content: '';
  clear: both;
  /*overflow: hidden;*/
  display: none; /* table*/
}

.img-table .img2-left{
  float: left;
  width: calc(32vw);
  background-repeat: no-repeat;
  background-position: top center;
  background-image: url(../images/compaign_img2-1_s0.png);
  background-size: auto 100%;  
}

.img-table .img2-right{
  float: left;
  width: calc(68vw);
  position: relative;
}

@media (max-width: 550px){
    .img-table .img2-left {
      width: calc(40vw);
    }

.img-table .img2-right{
      width: calc(60vw);
    }

}
  @media (max-width: 460px){
    .img-table .img2-left {
      width: calc(50vw);
    }

.img-table .img2-right{
      width: calc(50vw);
    }

}
  @media (max-width: 399px){
    .img-table .img2-left {
      width: calc(55vw);
    }

.img-table .img2-right{
      width: calc(45vw);
    }

}


  .mobileNav{
    display: none;
    position: fixed;
    top: 20vh;
    right: 30px;
    z-index: 999;
    opacity: 1;
  }

#mnav{
    background-image: url(../images/nav_btn.png);
    width: 92px;
    height: 92px;
    box-shadow: 5px 5px 15px rgba(0, 0, 0, .4);
    position: relative;
    padding: 26px 24px 0 24px;
    border-radius: 50%;
  }

#menuToggle{
    display: flex;
    flex-direction: column;
    -webkit-user-select: none;
    user-select: none;
  }

#menuToggle input{
    display: flex;
    width: 42px;
    height: 42px;
    position: absolute;
    cursor: pointer;
    opacity: 0;
    z-index: 2;
  }

#menuToggle span{
    display: flex;
    width: 100%;
    height: 6px;
    margin-bottom: 10px;
    border-radius: 4px;
    position: relative;
    background: #8010db;
    z-index: 1;
    transform-origin: 5px 0px;
    transition: transform 0.5s cubic-bezier(0.77,0.2,0.05,1.0),
                background 0.5s cubic-bezier(0.77,0.2,0.05,1.0),
                opacity 0.55s ease;
  }

#mmenu{
    position: absolute;
    top: 15px;
    right: 15px;
    box-shadow: 0 0 10px #85888C;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.9);
    -webkit-font-smoothing: antialiased;
    transform-origin: 0% 0%;
    transform: translate(120%, 0);
    transition: transform 0.5s cubic-bezier(0.77,0.2,0.05,1.0);
    z-index: -1;
  }

#mmenu li{
    padding: 15px 5vw 15px 2vw;
    text-wrap: nowrap;
  }

#mmenu li:hover{
    background: #e9e9e9;
  }

#mmenu li a{
    display: block;
    font-size: 32px;
    font-weight: bold;
    color: #a9a9a9;
    padding-left: 2.5rem;
    position: relative;
  }

#mmenu li a:hover, #mmenu li:hover a{
    color: #8010db;
    text-decoration: none;
  }

#mmenu li a:after{
    content: '';
    display: block;
    width: 4px;
    height: 24px;
    background: #a9a9a9;
    position: absolute;
    left: 0;
    top: 17px;
  }

#mmenu li:hover a:after{
    background: #8010db;
  }

#menuToggle input:checked ~ ul{
    transform: none;
  }

.tit-margin{
  display: block;
  margin: 0 auto 2rem;
  width: auto !important;
  max-width: 100% !important;
  text-align: center;
}

.title-h{
  font-size: 30px;
  font-weight: bold;
  color: #fff;
  background: #b1751a;
  text-align: center;
  letter-spacing: 5px;
  padding: 1rem 0;
}

#goHappy .info-box .title-h{
  margin-bottom: 2rem;
}

#goHappy .info-box h3{
  font-weight: bold;
}

#goHappy .wrap-area-content{
  padding: 5% 20px 5% 5%;
  height: 350px;
  background: rgba(255, 255, 255, .65);
  border-radius: 40px;
  text-align: left;
}

#goHappy .wrap-area-content h3, #goHappy b{
  font-weight: bold;
}

#goHappy .wrap-area-content .scroll-bar{
  height: 100%;
  overflow-y: scroll;
}

#goHappy .wrap-area ol{
  padding: 1rem 1rem 1rem 2rem;
}

#goHappy .wrap-area ol li{
  list-style: disc outside;
  padding-left: -10px;
  margin: 0;
}

#goHappy .wrap-area ol li ol{
  padding-top: 0;
  padding-left: 1rem;

}

#goHappy .wrap-area ol li ol li{
  padding-left: -20px;
}

#goHappy .wrapper h3{
  font-weight: bold;
}

#goHappy .showType img{
  max-width: 100%;
}

.content-wrap{
  display: flex;
  width: 100%;
  height: 100%;
}

.anni-content-1{
  padding-top: 40px;
  border-bottom: 1px solid #000;
  z-index: 1;
  position: relative;
}

.anni-content-1:before{
  content: '';
  display: block;
  width: 100%;
  height: 100%;
  position: absolute;
  left: 0;
  top: 0;
  z-index: 0;
  background: url(../images/case.png) no-repeat top center;
  background-size: 100% auto;
}

.spark-right{
  content: '';
  display: block;
  width: 232px;
  height: 433px;
  position: absolute;
  right: -6%;
  top: 160px;
  background: url(../images/spark_right.png) no-repeat top center;
  background-size: 100%;
}

.spark-left{
  content: '';
  display: block;
  width: 232px;
  height: 554px;
  position: absolute;
  left: -6%;
  top: 40px;
  background: url(../images/spark_left.png) no-repeat top center;
  background-size: 100%;
}

.anni-iconbar{
  display: flex;
  max-width: 90%;
  padding: 30px 0 50px;
  margin: 20px auto 0;
  list-style: none;
  background: url(../images/iconbar_bg.png) no-repeat top center;
  background-size: 92% 100%;
  position: relative;
  z-index: 2;
}

.anni-iconbar::after{
  content: '';
  display: block;
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  height: 40px;
  margin-top: -60px;
  background: url(../images/iconbar.png) no-repeat center;
  background-size: 80% 100%;
  z-index: 0;
}

.anni-iconbar li{
  flex: 1;
  z-index: 1;
}

.anni-iconbar li a{
  display: block;
  text-align: center;
}

.anni-iconbar li a h2{
  font-size: 32px;
  color: #323232;
  margin-top: -25px;
}

.anni-iconbar li.overlay a h2{
  color: #767676;
}

.anni-text{
  padding: 1rem 1rem 0;
  text-align: center;
  font-size: 30px;
  font-weight: bold;
}

.anni-text label{
  display: inline;
  padding: 0 1rem;
  color: #5d05ff;
}

.flag-wrap{
  margin-top: 3rem;
  margin-bottom: 2rem;
  position: relative;
}

.flag-wrap::after{
  content:'';
  display: block;
  position: absolute;
  left: -180px;
  top: 0;
  width: 100%;
  height: 100%;
  background: url(../images/flag_bg.png) no-repeat top center;
  background-size: auto 100%;
  z-index: 0;
}

.flag-wrap .flagbar{
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding-top: 10%;
  padding-left: 35%;
  list-style: none;
  position: relative;
  z-index: 2;
}

.flag-wrap .flagbar li{
  padding: 3rem 5rem 2.5rem 9rem;
  text-align: center;
  width: 700px;
  height: 200px;
}

.flag-wrap .flagbar li h2{
  font-size: 29px;
  font-weight: bold;
  color: #5e00b5;
}

.flag-wrap .flagbar li p{
  font-size: 24px;
  line-height: 1.2;
  font-weight: bold;
}

.flag-wrap .flagbar .flag-1{
  margin-left: -2rem;
  background: url(../images/flag1.png) no-repeat center;
  background-size: 100% 100%;
}

.flag-wrap .flagbar .flag-2{
  padding-top: 3.5rem;
  margin-left: -3rem;
  background: url(../images/flag2.png) no-repeat center;
  background-size: 100% 100%;
}

.flag-wrap .flagbar .flag-3{
  margin-left: -7rem;
  background: url(../images/flag3.png) no-repeat center;
  background-size: 100% 100%;
}

.flag-wrap .flagbar .flag-4{
  margin-left: -13rem;
  background: url(../images/flag4.png) no-repeat center;
  background-size: 100% 100%;
}

.flag-wrap .flagbar .flag-5{
  margin-left: -18rem;
  background: url(../images/flag5.png) no-repeat center;
  background-size: 100% 100%;
}

.flag-wrap .flagbar:after{
  content: '';
  display: block;
  width: 213px;
  height: 150px;
  position: absolute;
  right: 30px;
  bottom: 40px;
  background: url(../images/3d-IconFinance-0085.png) no-repeat center;
}

.anni-content-2{
  text-align: center;
  padding: 5rem 0 0;
}

.anni-creator{
  display: flex;
  padding: 3rem 3rem 0 3rem;
  background: url(../images/brush.png) no-repeat top left;
  border-bottom-right-radius: 50px;
  overflow: hidden;
}

.anni-creator-left{
  width: 60%;
  padding-left: 8%;
}

.anni-creator-right{
  text-align: right;
  width: 40%;
  background: url(../images/creator-right.png) no-repeat bottom right;
  background-size: 100% auto;
}

.member-box .obj{
  max-width: 88% !important;
  position: absolute;
  top: 250px;
  right: 2rem;
  z-index: 0;
}

#goHappy .qa-box .wrap-area{
  padding: 60px;
  padding-bottom: 30px;
}

#goHappy .accordion h3{
  display: block;
  font-size: 20px;
  line-height: 1.2;
  font-weight: bold;
  padding: 20px 30px;
  background: #fff;
  color: #000;
  margin-bottom: 30px;
  position: relative;
  cursor: pointer;
}

#goHappy .accordion2 h2{
  position: relative;
  cursor: pointer;
}

#goHappy .accordion .cont{
  display: none;
  margin: 0;
  padding: 25px;
  margin-top: -30px;
  margin-bottom: 30px;
  background: #edd3ff;
  font-size: 20px;
  font-weight: bold;
  word-break: break-all;
}

#goHappy .accordion h3 span,
#goHappy .accordion2 h2 span{
  display: inline-block;
  position: absolute;
  right: 1rem;
  top: 50%;
  width: 16px;
  height: 2px;
  background: #000;
  transform: translateY(-50%);
}

#goHappy .accordion2 h2 span{
  top: 50%;
  width: 25px;
  background: #fff;
  
}

#goHappy .accordion h3 span:after,
#goHappy .accordion2 h2 span:after{
  content: '';
  position: absolute;
  width: 16px;
  height: 2px;
  background: #000;
}

#goHappy .accordion2 h2 span:after{
  right: 0;
  width: 25px;
  background: #fff;
  
}

#goHappy .accordion .ui-state-default span:after,
#goHappy .accordion2 .ui-state-default span:after{
  opacity: 1;
  transform: rotate(90deg) translate(0, 0);
}

#goHappy .accordion .ui-state-active span:after,
#goHappy .accordion2 .ui-state-active span:after{
  opacity: 0;
}

#goHappy .grid{
  display: flex;
  align-items:stretch;
  flex-wrap:wrap;
}

#goHappy .grid li{
  flex: 1;
  align-content: center;
}

#goHappy .grid li:first-child{
  text-align: right;
}

#goHappy .grid li img{
  display: inline-block;
  margin: 0 15px;
}

@media (max-width: 800px){
  .img-table {
    display: flex; /* 這裡設置在這個區間內顯示 .img-table */
  }

#goHappy .img-hidden{
    display: none !important; /* 隱藏 img-hidden */
  }

}



@media (max-width: 800px){
  #goHappy {
    font-size: 16px;
  }

#goHappy .logo-goHappy{
    padding: 10px 0 5px;
  }

#goHappy .list-link{
    content: '';
    clear: both;
    text-align: center;
  }

#goHappy .showDesktop{
    display: none;
  }

#goHappy .showTablet{
    display: block;
  }

#goHappy .qa-box .wrap-area{
    padding: 50px;
    margin: 0 60px;
  }

#goHappy .grid li img{
    margin: 0;
  }

#goHappy footer > div{
    text-align: center;
  }

#goHappy footer > div a{
    float: none;
  }

#goHappy footer > div p{
    float: none;
  }

}

@media (max-width: 580px){
  #goHappy {
    font-size: 15px;
  }

#goHappy .list-link > .list:after{
    width: 12px;
    height: 12px;
    margin-top: -8px;
    right: -6px;
  }

#goHappy .list-link > .list a{
    text-wrap: nowrap;
    font-size: 16px;
    margin: 10px 5px;
    letter-spacing: 0;
  }

#goHappy .rights-box{
    background-size: cover;
  }

#goHappy .grid li{
    width: 100%;
    flex: 100%;
  }

#goHappy .grid li:first-child{
    text-align: center;
  }

#goHappy footer > div span{
    display: block;
  }

}

    .swiper{
      width: 100%;
      height: auto;
      position: initial;
      overflow: hidden;
    }

.swiper-slide{
      text-align: center;
      font-size: 18px;
      display: flex;
      justify-content: center;
      align-items: center;
      color: #fff;
    }

.swiper-button-prev, .swiper-rtl .swiper-button-next{
      left: -24px;
    }

.swiper-button-next, .swiper-button-prev{
      width: 36px;
      height: 36px;
      background: #fff;
      color: #8b25dc;
      border-radius: 50%;
      right: -24px;
      margin-top: 18%;
      box-shadow: 1px 2px 3px #aaa;
      opacity: 0.5; /* 初始透明度 */
      transition: opacity 0.3s ease; /* 平滑過渡效果 */
    }

.swiper-button-next:hover, .swiper-button-prev:hover{
      opacity: 1; /* 滑鼠懸停時全不透明 */
    }

.swiper-button-next:after, .swiper-button-prev:after{
      font-size: 22px;
      font-weight: bold;
    }

#swiper1 .swiper-button-next, #swiper1 .swiper-button-prev{
      margin-top: 15%;
    }

#swiper2 .swiper-button-next, #swiper2 .swiper-button-prev{
      margin-top: 0;
    }

#swiper3 .swiper-button-next, #swiper3 .swiper-button-prev{
      margin-top: -5%;
    }

.showMobile{
      display: none;
    }

@media (max-width: 767px){
      .showMobile {
        display: block;
        text-align: center;
        font-size: 19px;
        color: #f9f9f9;
        padding: 2rem;
      }

.mobile-footer-text{
        margin: 0;
        line-height: 1.5;
      }

}
  
    
    .showMobile{
      text-align: center; /* 將內容置中 */
    }

.mobile-footer-background{
      text-align: center;
      display: block; /* 讓背景適配內容大小 */
      margin: 0 auto 8rem;
    }

.mobile-footer-text{
      display: inline-block;
      width: 100%;
      max-width: 910px;
      padding: 10px; /* 添加內邊距，讓內容與邊框保持距離 */
      border: 1px solid #FFF; /* 外框線 */
      font-size: 25px; /* 調整文字大小 */
      color: #fff; /* 文字顏色 */
    }

html, body{
    overflow-x: hidden;
    touch-action: pan-y;
    scroll-behavior: smooth;
  }

#gotop{
    position:fixed;
    z-index:90;
    right:10px;
    bottom:30px;
    display:none;
    transition:all 0.5s;
    text-align: center;
}

#gotop img{
  width: 70px;
}

/*------------ CSS TAB---------------*/

.tab-wrap{
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  margin: 0 auto;
  max-width: 1392px;
  position: relative;
  z-index: 1;
}

.tab-wrap li{
  width: 20%;
}

.tab-wrap li:nth-child(1), .tab-wrap li:nth-child(2){
  position: relative;
}

.tab-wrap li:nth-child(1):before{
  content: '';
  display: block;
  position: absolute;
  top: -48px;
  right: 30px;
  width: 62px;
  height: 54px;
  background-image: url(../images/tab-1_icon.png);
}

.tab-wrap li:nth-child(2)::before{
  content: '';
  display: block;
  position: absolute;
  top: -74px;
  right: 55px;
  width: 43px;
  height: 83px;
  background: url(../images/tab-2_icon.png) no-repeat center;
}

.tab-wrap li.ui-tabs-active:nth-child(1)::before,
.tab-wrap li:nth-child(1):hover::before{
  background: url(../images/tab-1_icon_s.png) no-repeat center;
}

.tab-wrap li.ui-tabs-active:nth-child(2)::before,
.tab-wrap li:nth-child(2):hover::before{
  background: url(../images/tab-2_icon_s.png) no-repeat center;
}

.tab-wrap .ui-tabs-active .nav-link:after, .tab-wrap .nav-link:hover:after{
  content: '';
  display: block;
  position: absolute;
  left: -4px;
  right: -4px;
  top: -3px;
  height: 98px;
  background-image: url(../images/tab_hover.png);
  background-repeat: no-repeat;
  background-position: center;
  background-size: 100% 100%;
  z-index: 1;
}

.tab-wrap .nav-link.tab-5:hover:after{
  right: -11px;
}

.tab-wrap .nav-link{
  display: block;
  cursor: pointer;
  padding: 25px 15px;
  height: 80px;
  background: #e3e3e3;
  text-align: center;
  position: relative;
  z-index: 0;
}

.tab-wrap .nav-link:before{
  content: '';
  display: block;
  width: 100%;
  height: 100%;
  position: relative;
  z-index: 2;
  background-size: contain;;
}

.tab-wrap .tab-1{
  border-top-left-radius: 50px;
  border-bottom-left-radius: 50px;
}

.tab-wrap .tab-1:before{
  background-image: url(../images/label1_off.png);
  background-repeat: no-repeat;
  background-position: center;
}

.tab-wrap .tab-2:before{
  background-image: url(../images/label2_off.png);
  background-repeat: no-repeat;
  background-position: center;
}

.tab-wrap .tab-3:before{
  background-image: url(../images/label3_off.png);
  background-repeat: no-repeat;
  background-position: center;
}

.tab-wrap .tab-4:before{
  background-image: url(../images/label4_off.png);
  background-repeat: no-repeat;
  background-position: center;
}

.tab-wrap .tab-5{
  border-top-right-radius: 50px;
  border-bottom-right-radius: 50px;
}

.tab-wrap .tab-5:before{
  background-image: url(../images/label5_off.png);
  background-repeat: no-repeat;
  background-position: center;
}

.tab-content{
  background-color: #f9f6e8;
  background-image: url(../images/content_bg.png);
  background-repeat: repeat-y;
  background-position: top center;
  background-size: 100% 100%;
  border-radius: 50px;
  width: 100%;
  order: 1;
  margin-top: 2rem;
}

/* 當 hover 或被選取時切換成原始亮色圖 */
.tab-wrap li.ui-tabs-active .nav-link:before,
.tab-wrap li:hover .nav-link:before {
  background-image: url(../images/label1.png);
}
.tab-wrap li:nth-child(2).ui-tabs-active .nav-link:before,
.tab-wrap li:nth-child(2):hover .nav-link:before {
  background-image: url(../images/label2.png);
}
.tab-wrap li:nth-child(3).ui-tabs-active .nav-link:before,
.tab-wrap li:nth-child(3):hover .nav-link:before {
  background-image: url(../images/label3.png);
}
.tab-wrap li:nth-child(4).ui-tabs-active .nav-link:before,
.tab-wrap li:nth-child(4):hover .nav-link:before {
  background-image: url(../images/label4.png);
}
.tab-wrap li:nth-child(5).ui-tabs-active .nav-link:before,
.tab-wrap li:nth-child(5):hover .nav-link:before {
  background-image: url(../images/label5.png);
}

.tab-content .tab-pane{
  padding: 3rem 5rem 2rem;
}

.tab-content .tab-pane.qa-box{
  background-image: url(../images/content_bg.png);
  background-repeat: no-repeat;
  background-size: 100% auto !important;
  border-radius: 50px;

}

.anni-box{
  padding: 3rem 9% 0;
}

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

}

@media screen and (max-width: 1060px){
 
  .tab-content .tab-pane {
    padding-left: 2rem;
    padding-right: 2rem;
  }

.anni-box{
    padding-left: 3%;
    padding-right: 3%;
  }

.tab-wrap .nav-link{
    padding: 20px 15px;
    height: 66px;
  }

.tab-wrap .ui-tabs-active .nav-link:after, .tab-wrap .nav-link:hover:after{
    height: 82px;
  }

.anni-iconbar{
    max-width: 100%;
  }

.anni-iconbar::after{
    margin-top: -40px;
  }

.anni-iconbar li a h2{
    font-size: 24px;
  }

.anni-text{
    font-size: 24px;
  }

.spark-left, .spark-right{
    transform: scale(0.7);
  }

.spark-left{
    left: -10%;
    top: 1%;
  }

.spark-right{
    right: -10%;
    top: 9%;
  }

.flag-wrap .flagbar{
    padding-top: 15%;
    padding-left: 0;
  }

.flag-wrap::after{
    left: -130px;
  }

.flag-wrap .flagbar li{
    padding: 1.5rem 3rem 1rem 5rem;
    width: 76%;
    height: 120px;
  }

.flag-wrap .flagbar li h2{
    font-size: 18px;
  }

.flag-wrap .flagbar li p{
    font-size: 15px;
  }

.flag-wrap .flagbar .flag-1{
    margin-left: 20%;
  }

.flag-wrap .flagbar .flag-2{
    padding-top: 2rem;
    margin-left: 18%;
  }

.flag-wrap .flagbar .flag-3{
    margin-left: 16%;
  }

.flag-wrap .flagbar .flag-4{
    margin-left: 10%;
  }

.flag-wrap .flagbar .flag-5{
    padding-top: 2rem;
    margin-left: 2%;
  }

.flag-wrap .flagbar:after{
    display: none;
  }

}

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

  .anni-content-1 {
    padding-top: 20px;
  }

.tab-wrap .nav-link{
    padding: 15px 10px;
    height: 50px;
  }

.tab-wrap .ui-tabs-active .nav-link:after, .tab-wrap .nav-link:hover:after{
    height: 64px;
  }

.anni-iconbar li a h2{
    font-size: 20px;
  }

.anni-text{
    font-size: 20px;
  }

}

@media screen and (max-width: 840px){
  .mobileNav {
    transform: scale(0.7);
    top: -10px;
    right: -10px;
    display: block!important;
    opacity: 1!important;
  }

#mnav{
    height: 70px;
    padding: 1rem;
    box-shadow: none;
    background: #fff;
    border-radius: 0;
  }

#mmenu{
    border-top-left-radius: 0;
    border-top-right-radius: 0;
    margin-top: 58px;
    box-shadow: 6px 8px 10px rgba(0, 0, 0, .2);
    overflow: hidden;
  }

#mmenu li a:after{
    top: 9px;
  }

#mmenu li a{
    padding-left: 1.5rem;
    font-size: 24px;
  }

.block-banner{
    margin-top: 50px;
  }

.block-banner img{
    width: 100%;
  }

.anni-text{
    font-size: 18px;
  }

.spark-left, .spark-right{
    transform: scale(0.6);
  }

.spark-left{
    top: -5%;
    left: -15%;
  }

.spark-right{
    top: 3%;
    right: -15%;
  }

.tab-content .tab-pane{
      padding-left: 1rem;
      padding-right: 1rem;
  }

.flag-wrap::after{
    left: -100px;
  }

.anni-creator{
    padding-right: 0;
  }

.anni-creator-left{
    padding: 0;
    width: 50%;
  }

.anni-creator-right{
    width: 50%;
    background-size: 100% auto;
  }

.img-table .img2-left{
    width: 160px; 
  }

.img-table .img2-right{
    float: left;
    width: calc(90vw - 160px);
    position: relative;
  }

.tab-wrap li:nth-child(1):before, .tab-wrap li:nth-child(2)::before{
    transform: scale(0.6);
  }

.tab-wrap li:nth-child(1):before{
    top: -38px;
    right: 10px;
  }

.tab-wrap li:nth-child(2):before{
    top: -62px;
    right: 10px;
  }

}



@media screen and (max-width: 680px){
  #goHappy .wrap-area {
    margin-bottom: 2rem;
  }

.anni-box{
    padding-left: 2%;
    padding-right: 2%;
  }

.block-mainContent{
    padding-left: 1rem;
    padding-right: 1rem;
  }

.anni-iconbar{
    padding-top: 20px;
    padding-bottom: 40px;
  }

.anni-iconbar::after{
    height: 25px;
    margin-top: -40px;
  }

.anni-iconbar li a h2{
    font-size: 18px;
    margin: -15px;
  }

.anni-text label{
    padding: 0 5px;
  }

.anni-creator{
    padding: 3rem 3rem 0 3rem;
    background: none;
  }

.anni-creator-left{
    width: 100%;
    padding-left: 0;
  }

.anni-creator-right{
    display: none;
    text-align: right;
    width: 40%;
    background-size: auto 100%;
  }

.flag-wrap::after{
    left: -80px;
    background-size: 100%;
  }

.flag-wrap .flagbar{
    padding-top: 10%;
  }

.flag-wrap .flagbar li{
    padding: 1.1rem 2rem 1rem 3rem !important;
    width: 88%;
    height: 90px;
  }

.flag-wrap .flagbar .flag-2{
    padding-top: 1.6rem !important;
  }

.flag-wrap .flagbar li h2{
    font-size: 15px;
  }

.flag-wrap .flagbar li p{
    font-size: 12px;
  }

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

  .spark-left, .spark-right {
      transform: scale(0.35);
  }

.spark-left{
    top: -120px;
    left: -20%;
  }

.spark-right{
    top: -40px;
    right: -20%;
  }

.anni-iconbar li a h2{
    font-size: 16px;
  }

.anni-text{
   font-size: 16px;
  }

.tab-wrap .nav-link{
    padding: 10px;
    height: 36px;
  }

.tab-wrap .nav-link:before{
    background-size: 100% auto;
  }

.tab-wrap .ui-tabs-active .nav-link:after, .tab-wrap .nav-link:hover:after{
    height: 42px;
    top: -1px;
    right: 0;
    left: -1px;
  }

.tab-wrap .tab-5{
    border-top-right-radius: 20px;
    border-bottom-right-radius: 20px;
  }

.tab-wrap .nav-link.tab-5:hover:after{
    right: -3px;
  }

.flag-wrap .flagbar .flag-1{
    margin-left: 15%;
  }

.anni-content-2{
    padding-top: 3rem;
  }

}
@media screen and (max-width: 434px){
  .tit-margin {
    max-width: 100% !important;
    margin-bottom: 1rem;
  }

.spark-left, .spark-right{
      transform: scale(0.25);
  }

.spark-left{
    top: -140px;
    left: -28%;
  }

.spark-right{
    top: -60px;
    right: -28%;
  }

.anni-content-1{
    padding-top: 10px;
  }

.anni-iconbar li a h2{
    font-size: 15px;
  }

.anni-text{
    font-size: 14px;
  }

.flag-wrap::after{
    left: -60px;
  }

.flag-wrap .flagbar li{
    width: 80%;
  }

}

.anni-iconbar a{
  pointer-events: none;
  cursor: default;
}

/* 只有 Q&A 頁面隱藏漢堡選單 */
#goHappy.qa-page .mobileNav{
  display: none !important;

  


/* --- 強制整體縮放時保持在中間 --- */
html, body {
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center; /* 水平置中 */
  /* align-items: center;   // 如果需要垂直置中，解除註解即可 */
}

#goHappy{
  width: 100%;
  max-width: 1392px;
}

/* --- 全尺寸縮放都固定中間 --- */
html, body{
  width: 100%;
  min-height: 100%;
  margin: 0;
  padding: 0;
  display: flex;
  justify-content: center;   /* 水平置中 */
  align-items: flex-start;   /* 垂直靠上，改成 center 就會整頁置中 */
}

#goHappy, 
.block-mainContent, 
.anni-box, 
.wrap-area{
  margin: 0 auto !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
  float: none !important; /* 避免小尺寸有浮動 */
}

/* --- Custom modifications for mobile creator section --- */
.showPC { display: block; }
.showMobile { display: none; }

@media (max-width: 767px) {
  .anni-creator-mo {
    margin-top: -10px !important; /* 上移 */
    width: 100% !important;
    text-align: center !important;
  }

  .anni-creator-mo img {
    width: 100% !important;
    height: auto !important;
    margin: 0 auto 1rem !important;
  }

  .anni-creator-mo a img {
    width: auto !important;
    max-width: 100% !important;
  }
}

/* QA 區塊 +/− 樣式修正 */
#accordion h3 {
  position: relative;
  padding-right: 2rem; /* 預留右側空間放 +/− */
}

#accordion h3 span {
  position: absolute;
  right: 0.5rem;
  top: 50%;
  width: 16px;
  height: 2px;
  background: #000;
  transform: translateY(-50%);
  display: inline-block;
}

/* 垂直線（加號用） */
#accordion h3 span::after {
  content: '';
  position: absolute;
  left: 7px;
  top: -7px;
  width: 2px;
  height: 16px;
  background: #000;
}

/* 展開狀態：只顯示水平線（變 −） */
#accordion h3.ui-state-active span::after {
  opacity: 0;
}

/* === 強制調整 zone6 內文齊左 === */
#zone6 .flex {
  display: block !important;   /* 取消 flex，改為一般區塊排列 */
}

#zone6 .flex li {
  padding-left: 0 !important;
  margin-left: 0 !important;
  text-align: left !important;
  position: relative !important;
  margin-bottom: 1.5rem;        /* 各項間距 */
}

#zone6 .flex li label {
  display: block !important;   /* 獨立一行 */
  position: relative !important;
  width: auto !important;      /* 不限制寬度 */
  margin: 0 0 .5rem 0 !important;
  text-align: left !important; /* 文字靠左 */
}
/* === Zone6 內文強制靠左 === */
#goHappy #zone6 .point-info,
#goHappy #zone6 .point-info * {
  text-align: left !important;
}


/* === A版：未點到換圖 === */
.tab-wrap .tab-1:before { background-image: url(../images/label1_off.png) !important; }
.tab-wrap .tab-2:before { background-image: url(../images/label2_off.png) !important; }
.tab-wrap .tab-3:before { background-image: url(../images/label3_off.png) !important; }
.tab-wrap .tab-4:before { background-image: url(../images/label4_off.png) !important; }
.tab-wrap .tab-5:before { background-image: url(../images/label5_off.png) !important; }

.tab-wrap li.ui-tabs-active .tab-1:before,
.tab-wrap .tab-1:hover:before { background-image: url(../images/label1.png) !important; }

.tab-wrap li.ui-tabs-active .tab-2:before,
.tab-wrap .tab-2:hover:before { background-image: url(../images/label2.png) !important; }

.tab-wrap li.ui-tabs-active .tab-3:before,
.tab-wrap .tab-3:hover:before { background-image: url(../images/label3.png) !important; }

.tab-wrap li.ui-tabs-active .tab-4:before,
.tab-wrap .tab-4:hover:before { background-image: url(../images/label4.png) !important; }

.tab-wrap li.ui-tabs-active .tab-5:before,
.tab-wrap .tab-5:hover:before { background-image: url(../images/label5.png) !important; }
