html{
	scroll-behavior: smooth;
}

/* 全網頁只要滑鼠滑到連結就變手指 */
a:hover {
  cursor: pointer !important;
}

/* 這行是最上面的板頭 */
header>.inner {
  background-color: rgba(255, 255, 255, 0);
  -webkit-box-shadow: none;
  box-shadow: none;
  -webkit-backdrop-filter: blur(3px);
  backdrop-filter: blur(3px);
}

/* hoho的logo */
header>.inner a.logo {
  background: url(../images/icon_hoho-02.svg) no-repeat center;
  background-size: cover;
  width: 180px;
  height: 140px;
  left: 0px;
}

/* hoho的logo滑鼠移過去後 */
header>.inner a.logo:hover {
  filter: brightness(1.1);
  transition: 0.2s;
}

/* 右上的icon */
header ul.wrap-link li i[class*="icon-"],
header ul.wrap-link li a[class*="icon-"] {
  background-color: #444;
  color: #ffffff;
  transition: 0.2s;
}

/* 右上的icon滑鼠移過去後 */
header ul.wrap-link li i[class*="icon-"]:hover,
header ul.wrap-link li a[class*="icon-"]:hover {
  background-color: rgb(255, 188, 2);
  color: #ffffff ;
  transition: 0.2s;
}

/* icon旁邊的文字 */
header ul.wrap-link li span {
  color: #444;
  margin-right: 10px;
}

/* 從這邊開始是內容大框架 */
.container {
  /*background-color: #f9f0df;*/
}

.container img {
  vertical-align: top;
  max-width: 100%;
  height: auto;
}

.innerbox {
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
  padding: 0 auto;
}

.showPC{
	display: block;
}
.showMB{
	display: none;
}

/* 活動說明 */
.rule{
	position: relative;
	padding: 40px 16px;
	background-color: #f3ece9;
}

.rule h5{
	font-size: 32px;
	font-weight: 700;
	text-align: center;
	margin-bottom: 24px;
}

.rule p{
	font-size: 18px;
	font-weight: 400;
	line-height: 32px;
}

.rule p span{
	display: block;
	margin-left: 20px;
}

.rule a{
	color: #3895b4;
	text-decoration: underline;
}

/*側邊欄*/
.navButton{
	display: none;
	justify-content: space-between;
	background-color: #fff;
	padding: 0px 16px;
	height: 40px;
	line-height: 40px;
	position: fixed;
	bottom: 0;
	width: 100%;
	box-sizing: border-box;
	transition: top .4s ease-in-out;
	box-shadow: 0 0 8px rgba(0,0,0,.2);
	z-index: 999;
}

.navButton a{
	color: #000;
	text-decoration: none;
	font-size: 16px;
}

.navButton_pc{
	display: block;
	position: fixed;
	right: 0px;
	top: 150px;
	width: 156px;
	height: 260px;
	padding: 100px 16px 0px 52px;
	background-image: url("../images/navbg.png");
	background-position: top center;
	background-repeat: no-repeat;
	transition: right .4s ease-in-out;
	filter:drop-shadow(4px 8px 8px rgb(201, 20, 0));
	z-index: 999;
}

.navButton_pc a{
	display: block;
    text-align: center;
    width: 100%;
    font-size: 16px;
	line-height: 28px;
	font-weight: 700;
    color: #181818;
    text-decoration: none;
}

.navButton_pc a:hover{
	color: #cc3c39;
	font-weight: 900;
}

.navHide .navButton_pc {
	right: -156px;
} 
    

/*swiper*/
.swiper {
    width: 100%;
    max-width: 1200px;
    height: auto;
    margin: 0px auto;
}

#swiper-one {
    margin: 0 auto !important;
}

.swiper-slide {
    width: 325px;
    height: auto !important;
    text-align: center;
    font-size: 18px;
    background: transparent;
    padding: 0px 0 0 0;
    /* Center slide text vertically */
    display: -webkit-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    flex-direction: column;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    -webkit-justify-content: flex-start;
    justify-content: flex-start;
    -webkit-box-align: center;
    -ms-flex-align: center;
    -webkit-align-items: center;
    align-items: center;
}

/* 回到上方 */
a#backTop {
  background-color: #444;
	bottom: 52px;
}


/* 客製內容從下面開始 */


html{
  background-image: url("../images/bg.jpg");
  background-repeat: no-repeat;
  background-size: cover;
  background-attachment: fixed;
}

.flowerBG{
  position: fixed;
  width: 100%;
  height: 100%;
  background-image: url(../images/flowerBg.png);
  background-repeat: no-repeat;
  background-position: top center;
  aspect-ratio: 1920 / 777;
}

.kv{
  position: relative;
  background-image: url(../images/kv_pc.png);
  background-position: center top;
  background-repeat: no-repeat;
  background-size: contain;
  aspect-ratio: 1200 / 775;
}
.kvBtn{
  display: inline-flex;
  align-items: center;
  justify-content:space-between;
  position: absolute;
  bottom: 5%;
  left: 9%;
  width: 43%;
  height: 8%;
}
.kvBtn1, .kvBtn2{
  width: 48%;
  height: 100%;
  font-size: 28px;
  font-weight: 900;
  color: #FFF;
  align-content: center;
  text-align: center;
  border-radius: 16px;
  box-shadow: 4px 6px 0px #55b4da;
}
.kvBtn1{
  background-color: #0c63ba;
  border: 2px solid #0c63ba;
}
.kvBtn2{
  background-color: #99d6ed;
  border: 2px solid #0c63ba;
  color: #0c63ba;
}
a.kvBtn1:hover{
  animation-name: kvbtn1; /* 套用的 keyframe */
  animation-duration: 0.2s;          /* 動畫持續時間 */
  animation-iteration-count: 1; /* 動畫播放次數 */
  animation-timing-function: linear;   /* 影片加速速率 */
  animation-fill-mode:forwards;
}
@keyframes kvbtn1 {
  from {
    background-color: #0c63ba;
    border: 2px solid #0c63ba;
    box-shadow: 4px 6px 0px #55b4da;
    transform: translate(0px, 0px);
  }
  to {
    background-color: #f15a24;
    border: 2px solid #f15a24;
    box-shadow: none;
    transform: translate(4px, 6px);
  }
}
a.kvBtn2:hover{
  animation-name: kvbtn2; /* 套用的 keyframe */
  animation-duration: 0.2s;          /* 動畫持續時間 */
  animation-iteration-count: 1; /* 動畫播放次數 */
  animation-timing-function: linear;   /* 影片加速速率 */
  animation-fill-mode:forwards;
}
@keyframes kvbtn2 {
  from {
    background-color: #99d6ed;
    border: 2px solid #0c63ba;
    color: #0c63ba;
    box-shadow: 4px 6px 0px #55b4da;
    transform: translate(0px, 0px);
  }
  to {
    background-color: #99d6ed;
    border: 2px solid #f15a24;
    color: #f15a24;
    box-shadow: none;
    transform: translate(4px, 6px);
  }
}


.menu{
  background-color: #ffffff;
  padding: 12px 0px;
  filter: drop-shadow(0px 5px 16px #08a8d5);
}
.menu .innerbox{
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}
.menu a{
  font-size: 26px;
  color: #666;
  font-weight: 900;
  margin: 2px 0px;
  padding: 8px 0px 8px 24px;
  border-radius: 8px;
}
.menu a::after{
  content: "";
  padding-left: 25px;
  border-right: 1px solid #DDD;
}
.menu a:last-child:after{
  content: "";
  padding-left: 25px;
  border-right: 0px;
}
.menu a.checked{
  background-color: #40bbda;
  color: #FFF;
}
.menu a:hover{
  background-color: #DDD;
}
.menu a.checked:hover{
  background-color: #40bbda;
}


.product{
  display: flex;
  flex-wrap: wrap;
  margin: 40px auto;
}
.product a{
  max-width: 20%;
}
.product a:hover{
  filter: drop-shadow(0px 0px 8px #08a8d5);
}
.product a img{
  width: 100%;
}

.Des{
  margin: 16px 16px 24px;
  text-align: center;
}

/*  以下團主點我  */
.join{
  position: relative;
  display: flex;
}
.joinLeft{
  position: sticky;
  top: 0;
  width: 40%;
  height: 100%;
  background-image: url("../images/king_kv.png");
  background-position: top center;
  background-repeat: no-repeat;
  background-size: contain;
  aspect-ratio: 489 / 941;
}
.joinLeft a{
  display: block;
  width: 100%;
  height: 100%;
}
.joinRight, .rankingRight{
  width: 80%;
  margin-top: 40px;
  padding-right: 16px;
  margin-bottom: 40px;
}
.joinRight1, .joinRight2{
  background-color: #FFF;
  border-radius: 40px;
  width: 100%;
  padding: 24px 0px 16px 0px;
  margin-bottom: 20px;
}
.joinRight1 h1, .joinRight2 h1{
  display: inline-block;
  font-size: 32px;
  font-weight: bold;
  letter-spacing: -1px;
  color: #FFF;
  background-color: #f15a24;
  padding: 8px 20px;
  border-radius: 0 50px 50px 0;
}
.joinRight3 h2{
  color: #f15a24;
  font-size: 28px;
  margin-top: 12px;
  font-weight: 900;
}
.joinRight ul{
  padding: 16px 24px 0 56px;
  font-size: 20px;
  font-weight: 600;
}
.joinRight ul li{
  list-style-type: decimal;
  margin-bottom: 8px;
}
.joinRight3{
  display: flex;
  gap: 16px;
  margin-top:40px;
}
.joinRight3 div{
  width: 100%;
  background-color: #FFF;
  border-radius: 40px;
  text-align: center;
}
.joinRight3 h1{
  display: inline-block;
  background-color: #f15a24;
  font-size: 28px;
  font-weight: bold;
  color: #FFF;
  padding: 8px 24px;
  border-radius: 50px;
  margin-top: -16px;
}
.joinRight3 .Right p{
  font-size: 16px;
  font-weight: 400;
  text-align: left;
  margin: 8px 0px;
}
.joinRight3 p{
  padding: 0 16px;
  font-size: 20px;
  font-weight: 600;
}
.joinRight3 .Left img, .joinRight3 .Right img{
  padding: 0px 24px 16px;
}

.joinDes{
  margin: 24px 16px 0px;
  text-align: center;
}

/*  以下活動規則  */
.joinLeft.des{
  background-image: url("../images/des_kv.png");
}
.red{
  color: #f15a24;
}

/*  以下排行榜  */
.joinLeft.ranking{
  background-image: url("../images/ranking_kv.png");
}
.rankingRight{
  display: flex;
  flex-direction: column;
  justify-content: center;
  margin: 0 auto;
  padding-top: 80px;
  padding-bottom: 100px;
}
.rankingIntro{
  margin-bottom: 20px;
}
.eventTitle{
  font-size: 60px;
  font-weight: 900;
  color: #ffd91c;
  text-shadow: 0 2px 12px rgba(0, 0, 0, .2);
  text-align: center;
}
.eventSubTitle{
  font-size: 24px;
  font-weight: 700;
  color: #1f3042;
  margin-top: 6px;
}
.eventText{
  margin-top: 10px;
  font-size: 18px;
  line-height: 1.7;
  color: #223443;
  text-align: center;
}
.eventCards{
  display: flex;
  gap: 14px;
  margin-top: 18px;
}
.eventCard{
  width: calc((100% - 28px) / 3);
  background: linear-gradient(180deg, #17191f 0%, #121318 100%);
  border: 1px solid #2a2d35;
  border-radius: 14px;
  padding: 14px;
  box-sizing: border-box;
  font-family: "Noto Sans TC", "PingFang TC", "Microsoft JhengHei", sans-serif;
}
.eventCardHead{
  display: flex;
  align-items: center;
  gap: 10px;
}
.eventCardHead img{
  width: 32px;
  height: 32px;
  object-fit: cover;
  border-radius: 50%;
  overflow: hidden;
}
.eventCardHead h4{
  color: #f4f6fa;
  font-size: 26px;
  font-weight: 900;
}
.eventCardList{
  margin-top: 12px;
}
.eventCardList li{
  color: #aeb4c0;
  font-size: 14px;
  line-height: 1.55;
  margin-bottom: 4px;
  font-weight: 500;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.2px;
}
.eventCardList--dot li{
  position: relative;
  padding-left: 14px;
}
.eventCardList--dot li::before{
  content: "";
  position: absolute;
  left: 0;
  top: 10px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: #f3cf1b;
}
.eventCardList--order{
  list-style: decimal;
  padding-left: 20px;
}
.eventCardList--order li{
  margin-bottom: 8px;
  font-size: 14px;
  line-height: 1.55;
}
.eventCardList--order li::marker{
  font-family: "Noto Sans TC", "PingFang TC", "Microsoft JhengHei", sans-serif;
  font-size: 14px;
}
.rankingRight1{
  background: linear-gradient(180deg, #1a1b21 0%, #121318 100%);
  color: #f2f2f2;
  width: 100%;
  border-radius: 24px;
  font-size: 18px;
  font-weight: 400;
  padding: 28px 24px 22px;
  box-sizing: border-box;
}
.challengeTop{
  display: flex;
  justify-content: space-between;
  gap: 12px;
}
.challengeSummary h3{
  font-size: 34px;
  font-weight: 900;
  margin-bottom: 8px;
  letter-spacing: 1px;
}
.challengeSummary p{
  font-size: 20px;
  line-height: 1.6;
  color: #c8ccd6;
}
.challengeSummary p span{
  color: #ffffff;
  font-weight: 700;
}
.challengeNext{
  text-align: right;
  align-self: flex-start;
}
.challengeNext p{
  font-size: 16px;
  color: #b8bcc7;
  line-height: 1.5;
}
.challengeNext p span{
  color: #d2d7e2;
}
.challengeNext .challengeGap{
  font-size: 42px;
  font-weight: 900;
  color: #f3cf1b;
}
.challengeScale{
  display: flex;
  justify-content: space-between;
  margin-top: 16px;
  color: #dedede;
  font-size: 16px;
  font-weight: 700;
}
.challengeBar{
  margin-top: 8px;
  width: 100%;
  height: 26px;
  border-radius: 999px;
  background-color: #2a2b2f;
  border: 2px solid #38393f;
  overflow: hidden;
}
.challengeBarFill{
  width: 0%;
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, #f0db4f 0%, #d7ad10 100%);
  transition: width .5s ease;
}
.challengeRewards{
  display: flex;
  gap: 12px;
  margin-top: 16px;
}
.rewardCard{
  width: calc((100% - 24px) / 3);
  border: 1px solid #2f3139;
  border-radius: 14px;
  background-color: #191a1f;
  padding: 14px;
  box-sizing: border-box;
}
.rewardCardHead{
  display: flex;
  align-items: center;
  gap: 8px;
}
.rewardIcon{
  width: 26px;
  height: 26px;
  object-fit: cover;
  border-radius: 50%;
  overflow: hidden;
  filter: grayscale(1) opacity(0.55);
}
.rewardCard h4{
  font-size: 17px;
  font-weight: 800;
  color: #8a8f9b;
}
.rewardCard p{
  font-size: 14px;
  color: #6f7481;
  line-height: 1.5;
  margin-top: 4px;
}
.rewardCard.active{
  border-color: rgba(241, 201, 36, .7);
  background-color: #221f13;
  box-shadow: inset 0 0 0 1px rgba(241, 201, 36, .45);
}
.rewardCard.active h4{
  color: #f3cf1b;
}
.rewardCard.active p{
  color: #d5bf73;
}
.rewardCard.active .rewardIcon{
  filter: grayscale(0) opacity(1);
}

.rankingRight2{
  margin-top: 28px;
  background-color: #FFF;
  width: 100%;
  border-radius: 40px;
  font-size: 18px;
  font-weight: 400;
  padding-bottom: 16px;
  box-sizing: border-box;
}
.rankingRight2 ul li{
  list-style: none;
}
.rankingRight2 ul.rankTitle{
  display: inline-flex;
  align-items: center;       /* 垂直置中標題文字 */
  justify-content: space-between;
  width: 100%;
  background-color: #111111;
  color: #FFF;
  text-align: center;
  padding: 16px 40px;        /* 與下方資料列左右對齊 */
  border-radius: 40px 40px 0 0;
  box-sizing: border-box;
  margin: 0;
}
.rankingRight2 ul.rankTitle .rankT3{
  text-align: left;
}
.rankingRight2 ul.rankTitle .rankT1{
  text-align: center;
}
.rankingRight2 ul.rankTitle .rankT2{
  text-align: left;
}
.rankingRight2 ul.rankTitle .rankT3{
  color: #FFF;
}
.rankT1{
  width: 20%;
  text-align: center;
}
.rankT2{
  width: 55%;
}
.rankT3{
  width: 25%;
}
.rankingRight2 ul{
  display: inline-flex;
  align-items: center;
  width: 100%;
  padding: 20px;
  border-bottom: 1px dashed #dddddd;
  box-sizing: border-box;
}
.rankingRight2 ul:not(.rankTitle) .rankT1{
  display: flex;
  align-items: center;
  justify-content: center;
}
.rankingRight2 ul:last-child, .rankingRight2 ul:first-child{
  border: 0px;
}
.rankingRight2 img{
  width: 88px;
}
.top1, .top2{
  font-size: 24px;
  font-weight: 600;
}
.top1 .rankT3, .top2 .rankT3{
  color: #f15a24;
}
.topN .rankT2, .top1 .rankT2, .top2 .rankT2{
  padding-right: 8px;
}



@media (max-width: 1200px) {
	/* 客製內容從下面開始 */
  .kv{
    margin-top: 5%;
  }
  .kvBtn1, .kvBtn2 {
    font-size: 24px;
    border-radius: 8px;
  }
  .menu .innerbox {
    padding: 0 16px;
  }
  .menu a {
    font-size: 24px;
    padding: 8px 0px 8px 16px;
  }
  .menu a::after{
    padding-left: 17px;
  }
  .product{
    padding: 0 16px;
  }
  .product a {
    max-width: 25%;
  }
}

@media (max-width: 1030px) {  
	/* 客製內容從下面開始 */
}

@media (max-width: 845px) {

  .lightbox:target img {
    margin-top: 250px;
  }

  /* 客製內容從下面開始 */
  .kvBtn1, .kvBtn2 {
    font-size: 20px;
    border-radius: 8px;
  }
  .product{
    margin-top: 32px;
  }
  .product a {
    max-width: 33%;
  }
  .Des{
    margin: 16px 16px 48px;
    text-align: center;
  }
    /*  以下團主點我  */
  .join{
    position: relative;
    display: block;
  }
  .joinLeft{
    position: relative;
    width: 100%;
    background-image: url("../images/king_kv_mb.png");
    background-position: top center;
    background-repeat: no-repeat;
    background-size: contain;
    aspect-ratio: 900 / 886;
  }
  .joinRight {
    width: 100%;
    margin-top: 0px;
    padding: 0 16px;
    margin-bottom: 40px;
  }
  .joinRight1 h1, .joinRight2 h1 {
    font-size: 24px;
    padding: 4px 20px;
    letter-spacing: 0px;
  }
  .join ul {
    padding: 0px 16px 0 48px;
    font-size: 18px;
  }
  .joinRight3 h1 {
    font-size: 24px;
    padding: 4px 20px;
  }
  .joinRight3 p{
    font-size: 18px;
  }
  .joinRight3 .Left img {
    padding: 0px 8px 16px;
  }
  .joinRight3 {
    gap: 8px;
    margin-top: 32px;
  }
  .joinDes{
    font-size: 16px;
  }
  /*說明頁*/
  .joinLeft.des{
    background-image: url("../images/des_kv_mb.png");
    aspect-ratio: 900 / 596;
    margin-bottom: 8px;
  }
  /*排行榜*/
  .joinLeft.ranking{
    background-image: url("../images/ranking_kv_mb.png");
    aspect-ratio: 900 / 886;
    margin-bottom: 8px;
  }
  .rankingRight{
    width: 100%;
    padding-left: 16px;
  }
  .eventTitle{
    font-size: 48px;
  }
  .eventSubTitle{
    font-size: 20px;
  }
  .eventText{
    font-size: 16px;
  }
  .eventCards{
    flex-direction: column;
  }
  .eventCard{
    width: 100%;
  }
  .eventCardHead h4{
    font-size: 22px;
  }
  .eventCardList li{
    font-size: 16px;
  }
  .rankingRight1{
    border-radius: 16px;
    padding: 20px 16px;
  }
  .challengeTop{
    flex-direction: column;
  }
  .challengeSummary h3{
    font-size: 26px;
  }
  .challengeSummary p{
    font-size: 18px;
  }
  .challengeNext{
    text-align: left;
  }
  .challengeNext p{
    font-size: 14px;
  }
  .challengeNext .challengeGap{
    font-size: 32px;
  }
  .challengeScale{
    font-size: 13px;
  }
  .challengeBar{
    height: 20px;
  }
  .challengeRewards{
    flex-direction: column;
  }
  .rewardCard{
    width: 100%;
  }
  .joinRight, .rankingRight {
    margin-top: 0px;
  }
  .rankingRight2 ul.rankTitle {
    border-radius: 24px 24px 0 0;
  }
  .rankingRight2 ul {
    padding: 16px 16px 0 16px;
    font-size: 16px;
    padding: 12px 0;
  }
  .rankT3{
    width: 30%;
  }
  .rankingRight2 img {
    width: 50px;
  }
}

@media (max-width: 780px) {

  /* hoho的logo */
  header>.inner a.logo {
    background: url(../images/icon_hoho-02.svg) no-repeat center;
    background-size: cover;
    width: 130px;
    height: 100px;
    left: -10px;
  }

  .rule p span {
    margin-left: 25px;
  }

  .showPC{
	display: none;
  }
  .showMB{
  	display: block;
  }

  /* 客製內容從下面開始 */
  a.kvBtn1:hover, a.kvBtn2:hover{
    animation-name: kvbtn;
  }
  .menu a:hover{
    background-color: #FFF;
  }
  .product a:hover {
    filter: none;
  }

}


@media (max-width: 650px) {

	.rule h5{
		font-size: 24px;
	}

	.rule p {
		font-size: 16px;
		line-height: 28px;
	}

	/* 客製內容從下面開始 */
  .kv{
    background-image: url(../images/kv_mb.png);
    background-position: center top;
    background-repeat: no-repeat;
    background-size: contain;
    aspect-ratio: 900 / 1145;
    margin-bottom: 24px;
  }
  .kvBtn {
    bottom: 1%;
    left: 8%;
    width: 84%;
    height: 10%;
  }
  .kvBtn1, .kvBtn2 {
    font-size: 28px;
    border-radius: 16px;
  }
  .menu a {
    font-size: 20px;
    padding: 4px 0px 4px 12px;
  }
  .menu a::after{
    padding-left: 13px;
  }
  .product{
    margin-top: 24px;
    padding: 0 8px;
  }
  .product a {
    max-width: 50%;
  }


}

@media only screen and (max-width: 490px) {
	/* 客製內容從下面開始 */
  .kvBtn1, .kvBtn2 {
    font-size: 20px;
    border-radius: 8px;
  }
  .menu .innerbox{
    padding: 0 8px;
  }
  .menu a {
    font-size: 16px;
    padding: 4px 0px 4px 8px;
  }
  .menu a::after{
    padding-left: 9px;
  }
}

@media only screen and (max-width: 420px) {
	/* 客製內容從下面開始 */
  .kvBtn1, .kvBtn2 {
    font-size: 20px;
    border-radius: 8px;
  }
}


  /*以下自訂*/
  .mySwiper{
    overflow: hidden;
  }
  .swiper-wrapper{
    display: inline-flex;
  }
  .mySwiper .swiper-slide{
    width: 389px;
    height: 453px;
  }
  .plus1Swiper{
	overflow: hidden;
}

