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: #0e244b;
}

.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;
}

.kv_cake{
	position: relative;
}

.cake1{
	position: absolute;
    width: 11%;
    right: 9%;
    top: 32%;
	animation-name: cake1;
	animation-duration: 2s;
	animation-iteration-count: infinite;
	animation-timing-function: ease-in-out;
}
@keyframes cake1{
	0%{
		transform:translateY(0px);
	}
	50%{
		transform:translateY(20px);
	}
	100%{
		transform:translateY(00px);
	}
}
.cake2{
	position: absolute;
    width: 15%;
    right: -15%;
    top: 40%;
	animation-name: cake2;
	animation-duration: 3s;
	animation-iteration-count: infinite;
	animation-timing-function: ease-in-out;
}
@keyframes cake2{
	0%{
		transform:translateY(0px);
	}
	50%{
		transform:translateY(30px);
	}
	100%{
		transform:translateY(00px);
	}
}
.cake3{
	position: absolute;
    width: 10%;
    right: -2%;
    top: 80%;
    z-index: 999;
	animation-name: cake3;
	animation-duration: 2s;
	animation-iteration-count: infinite;
	animation-timing-function: ease-in-out;
}
@keyframes cake3{
	0%{
		transform:translateY(0px);
	}
	50%{
		transform:translateY(10px);
	}
	100%{
		transform:translateY(00px);
	}
}
.moon{
	position: absolute;
    width: 68%;
    left: 0%;
    top: 3.8%;
}

.BGT{
	background-image: url(../images/BG_PC.jpg);
	background-position: top center;
	background-repeat: no-repeat;
	padding-bottom: 60px;
	background-size: cover;
}

.kv_MB{
	width: 94%;
    margin: 0 auto;
}

.kv_topM{
	padding-top: 60px;
}

.kv_gift .showPC, .kv_gift .showMB{
	margin-top: -20px;
}

.ct1{
	max-width: 1200px;
	aspect-ratio: 1200 / 565;
	margin-top: 40px;
	/*filter: drop-shadow(7px 5px 20px rgba(136, 203, 191, 1));*/
	text-align: center;
    text-align: -webkit-center;
	background-image: url(../images/CT1_BG_PC.png);
	background-position: top center;
	background-repeat: no-repeat;
	background-size: contain;
}
.ct1All{
	padding: 9% 3% 0;
}

.ct2{
	max-width: 1200px;
	aspect-ratio: 1200 / 1264;
	margin-top: 40px;
	/*filter: drop-shadow(7px 5px 20px rgba(136, 203, 191, 1));*/
	text-align: center;
    text-align: -webkit-center;
	background-image: url(../images/CT2_BG_PC.png);
	background-position: top center;
	background-repeat: no-repeat;
	background-size: contain;
}
.ct2up{
	padding: 23% 3% 0;
}
.ct2down{
	padding: 7% 3% 0;
}

.ct3, .ct4, .ct5{
	margin-top: 40px;
}

.ct3 .showPC div, .ct3 .showMB div{
	display: flex;
}

.ct4 .showPC div, .ct4 .showMB div{
	display: flex;
}

.ct5All{
	padding: 0% 2%;
	margin-bottom: 40px;
}

/*以下彈窗*/
/* 彈窗遮罩樣式 */
.modal-overlay {
	display: none; /* 預設隱藏 */
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-color: rgba(0, 0, 0, 0.5); /* 半透明灰底 */
	z-index: 1000;
	justify-content: center;
	align-items: center;
	opacity: 0; /* 預設透明 */
	transition: opacity 0.3s ease;
}

.modal-overlay.active {
	display: flex;
	opacity: 1; /* 顯示時變為不透明 */
}

/* 彈窗內容樣式 */
.modal-content {
	background-color: #ffffff;
	padding: 32px 24px;
	border-radius: 12px;
	box-shadow: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
	width: 90%;
	max-width: 1000px;
	position: relative;
	text-align: center;
	transform: scale(0.95);
	transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275); /* 彈跳效果 */
}

.modal-overlay.active .modal-content {
	transform: scale(1); /* 顯示時變為正常大小 */
}

.modal-content h2 {
	font-size: 32px;
	font-weight: 700;
	margin-bottom: 8px;
	color: #cd3333;
}

.modal-content p {
	font-size: 18px;
    line-height: 1.8;
    color: #1e1e1e;
    margin-top: 0;
    text-align: left;
    padding: 24px 24px 0;
}

.red-and-bold {
    color: red;
    font-weight: bold;
}

/* 關閉按鈕樣式 */
.close-btn {
	position: absolute;
	top: 8px;
	right: 12px;
	font-size: 28px;
	font-weight: 300;
	line-height: 1;
	color: #9ca3af;
	cursor: pointer;
	transition: color 0.2s ease;
}

.close-btn:hover {
	color: #374151;
}

@media (max-width: 600px) {
	.modal-content {
		padding: 24px 16px;
        max-height: 500px;
        overflow: scroll;
	}

	.modal-content h2 {
		font-size: 22px;
        padding: 16px 16px 0;
		margin-bottom: 0px;
	}

	.modal-content p {
		font-size: 16px;
        line-height: normal;
        padding: 8px 8px 0;
	}
}

/*以上彈窗*/





/* 活動說明 */
.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;
}



@media (max-width: 1440px) {
	.moon{
        left: -4%;
        top: 4.3%;
	}


  
}
@media (max-width: 1030px) {

  
}

@media (max-width: 845px) {

  .lightbox:target img {
    margin-top: 250px;
  }

	.moon{
		left: -10%;
        top: 3%;
	}
  
}

@media (max-width: 780px) {
	.showPC{
		display: none;
	}
	.showMB{
		display: block;
	}

  /* 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;
  }


	.ct1{
		max-width: none;
		margin-top: 24px;
		aspect-ratio: 826 / 570;
		background-image: url(../images/CT1_BG_MB.png);
		background-position: top center;
		background-repeat: no-repeat;
		background-size: contain;
	}
	.ct1All{
		padding: 12% 5% 0%;
	}

	.ct2{
		max-width: none;
		margin-top: 24px;
		aspect-ratio: 826 / 1150;
		background-image: url(../images/CT2_BG_MB.png);
		background-position: top center;
		background-repeat: no-repeat;
		background-size: contain;
	}

	.ct2up{
		padding: 28.5% 5% 0;
	}
	.ct2down{
		padding: 7% 5% 0;
	}

	.ct5All{
		padding: 0% 3%;
		margin-bottom: 0px;
	}

	.moon{
		width: 110%;
        left: -21%;
        top: auto;
        bottom: -28%;
	}

	.cake1{
		right: 3%;
		top: 31%;
	}
	.cake2{
		right: auto;
		top: 45%;
		left: 2%;
	}
	.cake3{
		right: 10%;
		top: 85%;
	}



  .rule p span {
    margin-left: 25px;
  }  
	

}


  @media (max-width: 650px) {

	.rule h5{
		font-size: 24px;
	}

	.rule p {
		font-size: 16px;
		line-height: 28px;
	}

  }

  @media only screen and (max-width: 490px) {

  }

  @media only screen and (max-width: 420px) {

  }


  /*以下自訂*/
  .mySwiper{
    overflow: hidden;
  }
  .swiper-wrapper{
    display: inline-flex;
  }
  .mySwiper .swiper-slide{
    width: 389px;
    height: 453px;
  }
  .plus1Swiper{
	overflow: hidden;
}

