/* CSS Reset */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

.noto-sans-tc {
  font-family: "Noto Sans TC", sans-serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
}

* {
  -webkit-tap-highlight-color: transparent;
  /* 移除點擊高亮（針對手機/平板設備） */
  user-select: none;
  /* 禁止選中文本 */
  outline: none;
  /* 禁止元素的 outline，例如按鈕點擊後的虛線框 */
}

html,
body {
  height: 100%;
  margin: 0;
  padding: 0;
  font-size: 100%;
  /* 保持基礎字體大小一致 */
  line-height: 1.5;
}

*:active,
*:focus {
  outline: none !important;
  box-shadow: none !important;
  /* 移除點擊時的陰影效果 */
}

body {
  font-family: Arial, sans-serif;
}

img,
picture,
video,
canvas,
svg {
  display: block;
  max-width: 100%;
}

button,
input,
select,
textarea {
  font-family: inherit;
}

a {
  text-decoration: none;
  color: inherit;
}

ul,
ol {
  list-style: none;
}

table {
  border-collapse: collapse;
  border-spacing: 0;
}

button {
  background: none;
  border: none;
  cursor: pointer;
}

@font-face {
  font-family: "KGSummerStorm";
  src: url("../fonts/GenSenRoundedTW-B-01.ttf") format("truetype");
  font-weight: normal;
  /* 可選：設定字重 */
  font-style: normal;
  /* 可選：設定字型 */
}

body {
  font-family: "KGSummerStorm", sans-serif;
  background-color: #FDFBD2;
  display: flex;
  flex-direction: column;
}

.container {
  flex-grow: 1;
  position: relative;
  padding-bottom: 30%;
}

.info-li>h3 {
  margin: 1rem 0;
}

.info-li img {
  width: 1.2rem;
  height: 1.2rem;
  margin-bottom: -4px;
  display: inline-block;
}

.info-ul {
  word-break: break-all;
  color: #512511;
  padding: 0 8%;
  list-style: none;
}

.info-ul>li {
  position: relative;
  padding-left: 1.5rem;
}

.maill {
  word-break: keep-all;
}

ol>li a {
  color: #e50012;
  font-weight: bold;
  text-decoration: underline;
}

.info-ul p {
  position: relative;
}

.info-ul>li::before {
  content: '';
  position: absolute;
  left: -16px;
  top: 4px;
  width: 2rem;
  height: 2rem;
  background: url('/images/info/布丁icon.png') no-repeat center center;
  background-size: contain;
}

.info-ul>ol {
  list-style: decimal;
  padding-left: 3rem;
}

.info-li .reward {
  width: 100%;
  height: 100%;
  border: 1px solid #000;
  border-collapse: collapse;
}


.reward th,
td {
  border: 1px solid #000;
  padding: 8px;
  text-align: center;
}

.reward thead tr {
  background-color: #e50012;
  color: white;
}


.reward-pic {
  overflow-x: scroll;
}

.reward-pic>img {
  height: 10rem;
  width: auto;
  max-width: fit-content;
}


.contact {
  margin-top: 2rem;
  margin-left: 2rem;
}

.contact img {
  width: 1.5rem;
  height: 1.5rem;
  display: inline-block;
  position: relative;
  top: 7px;
}

.contact p {
  display: inline;
}

.start-btn {
  z-index: 2;
  position: absolute;
  bottom: 0;
  height: 16%;
}

.landing-bottom {
  position: absolute;
  bottom: 0;
}

.center {
  display: flex;
  justify-content: center;
}

.menu-btn {
  position: absolute;
  top: 0;
  right: 0;
  padding: 10px;
  height: 16vw;
  width: 16vw;
}

.menu {
  position: fixed;
  top: 0;
  right: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(253, 251, 210, 0.5);
  z-index: 2;
  display: flex;
  flex-direction: column;
  overflow-y: auto;
}

.close-btn {
  align-self: end;
  padding: 10px;
  height: 16vw;
  width: 16vw;
}

.menu-container {
  background-image: url("/images/menu_bg.png");
  background-size: cover;
  background-repeat: no-repeat;
  background-color: #FDFBD2;
  display: flex;
  flex-direction: column;
  background-position: center;
}


.menu-item:first-of-type {
  margin-top: 2rem;
}

.menu-item:last-child {
  margin-bottom: 2rem;
}

.menu-item-img {
  width: 60vw;
  margin: auto;
}

.overflow-y-hidden {
  overflow-y: hidden;
}

.hidden {
  display: none;
}


.menu-outside {
  flex-grow: 1;
}