/* Desktop First（設計稿寬 1920px） */

:root {
  --design-width: 1920px;
  --note-height: 1500px;
  --step03-height: 994px;
  --step04-height: 505px;
  --s3-star-l-top: 180px;
  --s3-star-r-top: 250px;
  --overlap-kv-step01: 70px;
  --overlap-step01-step02: 50px;
  --overlap-step02-step03: 20px;
  --overlap-step03-step04: 20px;
  --overlap-step04-note: 40px;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

html {
  overflow-x: hidden;
}

body {
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Noto Sans, Arial, "Apple Color Emoji", "Segoe UI Emoji";
}

.srOnly {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skipLink {
  position: absolute;
  top: 12px;
  left: 12px;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
  background: #000;
  color: #fff;
  z-index: 9999;
}

.skipLink:focus {
  width: auto;
  height: auto;
  margin: 0;
  padding: 8px 12px;
  overflow: visible;
  clip: auto;
  white-space: normal;
}

.btn_top {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 9998;
  display: block;
  text-decoration: none;
}
.btn_top img {
  display: block;
  width: auto;
  height: auto;
  max-width: none;
}

/* =========================
   Layout Skeleton（背景上下疊合）
   ========================= */

.section_inner {
  position: relative;
  z-index: 3;
  width: var(--design-width);
  max-width: 100%;
  margin: 0 auto;
  height: 100%;
}

.kv,
.step01,
.step02,
.step03,
.step04,
.note,
.footer {
  position: relative;
  width: 100%;
  overflow: visible;
  background-position: center top;
  background-repeat: no-repeat;
  background-size: var(--design-width) auto;
}

/* 依素材實際高度 */
.kv {
  z-index: 6;
  height: 1081px;
  background-image: url("../images/kv_bg.png");
}

/* KV 內容（position: absolute / 1920 設計稿） */
.kv .section_inner a {
  text-decoration: none;
}

.kv .section_inner img {
  display: block;
}

.kv .kv_social {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 4;
  pointer-events: none;
}

.kv .kv_social a {
  pointer-events: auto;
  position: absolute;
}

.kv .kv_social .btn_home {
  top: 44px;
  right: 134px;
}

.kv .kv_social .btn_FB {
  top: 43px;
  right: 96px;
}

.kv .kv_social .btn_youtube {
  top: 46px;
  right: 44px;
}

.kv .kv_logo {
  position: absolute;
  top: 220px;
  right: 130px;
  z-index: 4;
}

.kv .kv_slogan {
  position: absolute;
  top: 286px;
  right: 72px;
  z-index: 4;
}

.kv .kv_store {
  position: absolute;
  right: 130px;
  top: 750px;
  z-index: 4;
  display: flex;
  align-items: center;
  gap: 18px;
}

.step01 {
  z-index: 7;
  height: 811px;
  margin-top: calc(var(--overlap-kv-step01) * -1);
  background-image: url("../images/step01_bg.png");
}

/* STEP01 內容（1920 桌機）
 * 位置：calc(設計稿 px / 基準 × 100%)，之後 RWD 再整包縮放
 * 寬度：標題 / 預約 / 獎勵區與圖片維持設計稿 px，不隨容器變窄而縮小
 */
.step01_inner {
  position: relative;
  width: 100%;
  height: 100%;
}

.step01_content {
  --step01-base-w: 1920;
  --step01-base-h: 811;
  --reward-base-w: 700;
  --reward-base-h: 400;
  position: relative;
  z-index: 10;
  width: var(--design-width);
  max-width: 100%;
  margin: 0 auto;
  height: 100%;
}

.step01_content img {
  display: block;
  width: auto;
  height: auto;
  max-width: none;
}

.step01_inner > img {
  display: block;
}

/* 標題：寬度 1137px（素材原始寬），僅位置用 % */
.step01_title {
  position: absolute;
  left: 41%;
  top: calc(150 / var(--step01-base-h) * 100%);
  transform: translateX(-50%);
}

/* 標題下方說明文字（Noto Sans TC） */
.step01_intro {
  position: absolute;
  left:32%;
  top: 360px;
  transform: translateX(-50%);
  margin: 0;
  padding: 0;
  font-family: "Noto Sans TC", sans-serif;
  font-size: 22px;
  font-weight: 500;
  line-height: 1.65;
  text-align: center;
  color: #595757;
  white-space: nowrap;
  z-index: 2;
}

.step01_introHighlight {
  color: #e84545;
}

/* 獎勵區：容器 700×400px 固定 */
.reward_block {
  position: absolute;
  left: calc(940 / var(--step01-base-w) * 100%);
  top: calc(232 / var(--step01-base-h) * 100%);
  width: 700px;
  height: 400px;
  overflow: visible;
}

.reward_block .reward_00 {
  position: absolute;
  left: calc(190 / var(--reward-base-w) * 100%);
  top: calc(50 / var(--reward-base-h) * 100%);
}

.reward_block .reward_01 {
  position: absolute;
  left: calc(100 / var(--reward-base-w) * 100%);
  top: calc(-50 / var(--reward-base-h) * 100%);
}

.reward_block .reward_02 {
  position: absolute;
  left: calc(480 / var(--reward-base-w) * 100%);
  top: calc(-50 / var(--reward-base-h) * 100%);
}

.reward_block .reward_03 {
  position: absolute;
  left: calc(40 / var(--reward-base-w) * 100%);
  top: calc(228 / var(--reward-base-h) * 100%);
}

.reward_block .reward_04 {
  position: absolute;
  left: calc(530 / var(--reward-base-w) * 100%);
  top: calc(236 / var(--reward-base-h) * 100%);
}

.reward_block .copyright_w {
  position: absolute;
  left: 50%;
  top: calc(450  / var(--reward-base-h) * 100%);
  transform: translateX(-50%);
  z-index: 2;
}

/* 預約區：寬度依 enroll_bg 562px 素材 */
.enroll_block {
  position: absolute;
  left: 32%;
  top: calc(440 / var(--step01-base-h) * 100%);
  width: 562px;
  transform: translateX(-50%);
}

.enroll_block .enroll_bg {
  position: relative;
  display: block;
  width: auto;
  height: auto;
  max-width: none;
}

.enroll_form {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  box-sizing: border-box;
  padding: 40px 28px 18px;
  display: flex;
  flex-direction: column;
  align-items: center;
  font-family: "Noto Sans TC", sans-serif;
}

.enroll_platform {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 48px;
  margin: 0 5px 18px 0;
}

.enroll_radio {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 25px;
  font-weight: 400;
  line-height: 1;
  color: #000;
  cursor: pointer;
}

.enroll_radio input {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
}

.enroll_radioMark {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #000;
  flex-shrink: 0;
}

.enroll_radio input:not(:checked) + .enroll_radioMark {
  background: #fff;
  border: 2px solid #000;
}

.enroll_phoneRow {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 90%;
  max-width: 490px;
  margin: 0 0 14px;
}

.enroll_phoneLabel {
  font-size: 22px;
  font-weight: 400;
  line-height: 1;
  color: #333;
  white-space: nowrap;
}

.enroll_region,
.enroll_phoneInput {
  height: 38px;
  margin: 0;
  border: none;
  border-radius: 12px;
  background: #000;
  font-family: "Noto Sans TC", sans-serif;
  font-size: 18px;
  font-weight: 400;
  line-height: 38px;
  letter-spacing: 0.05em;
}

.enroll_region {
  width: 76px;
  padding: 0 10px;
  flex-shrink: 0;
  color: #989898;
  text-align: center;
  cursor: pointer;
  appearance: none;
}

.enroll_phoneInput {
  flex: 1;
  min-width: 0;
  padding: 0 14px;
  color: #ffa9b3;
}

.enroll_phoneInput::placeholder {
  color: #9e9e9e;
  opacity: 1;
}

.enroll_agree {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 8px;
  max-width: 500px;
  margin: 0 0 12px;
  font-size: 15px;
  font-weight: 400;
  line-height: 1.5;
  color: #333;
  cursor: pointer;
}

.enroll_agreeCheck {
  width: 15px;
  height: 15px;
  margin: 5px 0 0;
  flex-shrink: 0;
  accent-color: #000;
  cursor: pointer;
}

.enroll_submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 300px;
  height: 58px;
  margin: 0;
  padding: 0 48px;
  border: 2px solid #ffcdd3;
  border-radius: 9999px;
  background-color: #ffb14c;
  color:  #ffffff;;
  overflow: hidden;
  position: relative;
  cursor: pointer;
}

.enroll_submit .original {
  background: #ff7081;
  color: #fff;
  display: grid;
  inset: 0; 
  font-family: "Noto Sans TC", sans-serif;
  font-size: 1.6rem;
  font-weight: 900;
  line-height: 1;
  letter-spacing: 0.2em;
  white-space: nowrap;
  letter-spacing: 0.2em;
  place-content: center;
  position: absolute;
  transition: transform 0.2s ease;
}

.enroll_submit .letters {
  display: inline-flex;
  font-family: "Noto Sans TC", sans-serif;
  font-size: 1.6rem;
  font-weight: 900;
  line-height: 1;
  letter-spacing: 0.2em;
  white-space: nowrap;
}

.enroll_submitText {
  font-family: inherit;
  font-size: inherit;
  font-weight: inherit;
  line-height: inherit;
  letter-spacing: inherit;
  color: inherit;
  white-space: nowrap;
}

.step01_cake_l {
  position: absolute;
  left: max(0px, calc(50% - var(--design-width) / 2));
  bottom: 0;
  z-index: 1;
  pointer-events: none;
}

.step01_cake_r {
  position: absolute;
  right: max(0px, calc(50% - var(--design-width) / 2));
  bottom: 0;
  z-index: 1;
  pointer-events: none;
}

.step02 {
  z-index: 8;
  height: 1065px;
  margin-top: calc(var(--overlap-step01-step02) * -1);
  background-image: url("../images/step02_bg.png");
}

/* STEP02 內容（1920 桌機） */
.step02_inner {
  position: relative;
  width: 100%;
  height: 100%;
}

.step02_content {
  --step02-base-w: 1920;
  --step02-base-h: 1065;
  --s2-title-top: 110px;
  --s2-reward-x: -150px;
  --s2-reward-top: 360px;
  --s2-door-x: 430px;
  --s2-door-top: 180px;
  position: relative;
  z-index: 10;
  width: var(--design-width);
  max-width: 100%;
  margin: 0 auto;
  height: 100%;
}

.step02_content img,
.step02_inner > img {
  display: block;
  width: auto;
  height: auto;
  max-width: none;
}

.step02_title {
  position: absolute;
  left: 38%;
  top: var(--s2-title-top);
  transform: translateX(-50%);
}

.step02_reward_block {
  position: absolute;
  left: 46.5%;
  top: var(--s2-reward-top);
  width: 901px;
  height: 596px;
  transform: translateX(calc(-50% + var(--s2-reward-x)));
}

.step02_reward_block .step02_reward_01,
.step02_reward_block .step02_reward_02,
.step02_reward_block .step02_reward_03,
.step02_reward_block .step02_reward_04 {
  position: absolute;
  left: 0;
}

.step02_reward_block .step02_reward_01 {
  top: 0;
  z-index: 4;
}

.step02_reward_block .step02_reward_02 {
  top: 146px;
  z-index: 3;
}

.step02_reward_block .step02_reward_03 {
  top: 296px;
  z-index: 2;
}

.step02_reward_block .step02_reward_04 {
  top: 446px;
  z-index: 1;
}

/* 門框 + 星星 + 角色（同一容器內疊層） */
.step02_content > .step02_blue_content {
  position: absolute;
  left: 53%;
  top: var(--s2-door-top);
  width: 531px;
  height: 830px;
  transform: translateX(calc(-50% + var(--s2-door-x)));
  z-index: 12;
  pointer-events: none;
}

.step02_blue_content > img.step02_bg_door {
  position: absolute;
  left: 50%;
  top: 0;
  transform: translateX(-50%);
  z-index: 1;
}

.step02_blue_content .step02_star_blue {
  position: absolute;
  left: 57%;
  top: 30%;
  transform: translate(-50%, -50%);
  z-index: 2;
}

.step02_blue_content .step02_character_blue {
  position: absolute;
  left: 50%;
  bottom: 50px;
  transform: translateX(-50%);
  z-index: 3;
}

.step02_decor_star {
  position: absolute;
  left: 50%;
  bottom: 100px;
  transform: translateX(-50%);
  z-index: 1;
  pointer-events: none;
}

.step03 {
  z-index: 11;
  height: var(--step03-height);
  margin-top: calc(var(--overlap-step02-step03) * -1);
  background-image: url("../images/step03_bg.png");
}

/* STEP03 內容（1920 桌機） */
.step03_inner {
  position: relative;
  width: 100%;
  height: 100%;
}

.step03_content {
  --step03-base-w: 1920;
  --step03-base-h: 994;
  --s3-title-top: calc(120 / var(--step03-base-h) * var(--step03-height));
  --s3-merch-top: calc(380 / var(--step03-base-h) * var(--step03-height));
  --s3-btn-top: calc(770 / var(--step03-base-h) * var(--step03-height));
  position: relative;
  z-index: 2;
  isolation: isolate;
  width: var(--design-width);
  max-width: 100%;
  margin: 0 auto;
  height: 100%;
}

.step03_content img,
.step03_inner > img {
  display: block;
  width: auto;
  height: auto;
  max-width: none;
}

.step03_title {
  position: absolute;
  left: 50%;
  top: var(--s3-title-top);
  transform: translateX(-50%);
}

.step03_merch {
  position: absolute;
  left: 50%;
  top: var(--s3-merch-top);
  transform: translateX(-50%);
}

.merc_btn {
  position: absolute;
  left: 50%;
  top: var(--s3-btn-top);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 480px;
  height: 90px;
  margin: 0;
  padding: 0 48px;
  border: 3px solid #967c6f;
  border-radius: 9999px;
  background-color: #4a3528;
  color:#ffffff;
  transform: translateX(-50%);
  text-decoration: none;
  overflow: hidden;
  cursor: pointer;
}

.merc_btn .original {
  background: #7c5946;
  color: #ffffff;
  display: grid;
  inset: 0;
  place-content: center;
  position: absolute;
  font-family: "Noto Sans TC", sans-serif;
  font-size: 30px;
  font-weight: 1000;
  line-height: 1;
  letter-spacing: 0.12em;
  white-space: nowrap;
  transition: transform 0.2s ease;
}

.merc_btn .letters {
  display: inline-flex;
  font-family: "Noto Sans TC", sans-serif;
  font-size: 30px;
  font-weight: 1000;
  line-height: 1;
  letter-spacing: 0.12em;
  white-space: nowrap;
}

.merc_btnText {
  font-family: inherit;
  font-size: inherit;
  font-weight: inherit;
  line-height: inherit;
  letter-spacing: inherit;
  color: inherit;
  white-space: nowrap;
}

.step03_character_l {
  position: absolute;
  left: max(50px, calc(50% - var(--design-width) / 2));
  bottom: -520px;
  z-index: 0;
  pointer-events: none;
}

.step03_character_r {
  position: absolute;
  right: max(0px, calc(50% - var(--design-width) / 2));
  bottom: -100px;
  z-index: 0;
  pointer-events: none;
}

.step04 {
  z-index: 19;
  height: var(--step04-height);
  margin-top: calc(var(--overlap-step03-step04) * -1);
  background-image: url("../images/step04_bg.png");
}

/* STEP04 內容（1920 桌機） */
.step04_inner {
  position: relative;
  width: 100%;
  height: 100%;
}

.step04_inner > div:first-child {
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
}

.step04_inner > div:first-child img {
  display: block;
  width: auto;
  height: auto;
  max-width: none;
}

.step04 .step03_decor_star_l {
  position: absolute;
  left: max(0px, calc(50% - var(--design-width) / 2));
  top: calc(var(--s3-star-l-top) - var(--step03-height) + var(--overlap-step03-step04));
  pointer-events: none;
}

.step04 .step03_decor_star_r {
  position: absolute;
  right: max(0px, calc(50% - var(--design-width) / 2));
  top: calc(var(--s3-star-r-top) - var(--step03-height) + var(--overlap-step03-step04));
  pointer-events: none;
}

.step04_content {
  --step04-base-w: 1920;
  --step04-base-h: 505;
  --s4-title-top: calc(50/ var(--step04-base-h) * var(--step04-height));
  --s4-intro-top: calc(270 / var(--step04-base-h) * var(--step04-height));
  --s4-btn-top: calc(330 / var(--step04-base-h) * var(--step04-height));
  --s4-star01-left: calc(540 / var(--step04-base-w) * 100%);
  --s4-star01-top: calc(310 / var(--step04-base-h) * var(--step04-height));
  --s4-star02-left: calc(1220 / var(--step04-base-w) * 100%);
  --s4-star02-top: calc(300 / var(--step04-base-h) * var(--step04-height));
  position: relative;
  z-index: 2;
  isolation: isolate;
  width: var(--design-width);
  max-width: 100%;
  margin: 0 auto;
  height: 100%;
}

.step04_content img,
.step04_inner > img {
  display: block;
  width: auto;
  height: auto;
  max-width: none;
}

.step04_title {
  position: absolute;
  left: 50%;
  top: var(--s4-title-top);
  transform: translateX(-50%);
}

.step04_intro {
  position: absolute;
  left: 50%;
  top: var(--s4-intro-top);
  transform: translateX(-50%);
  margin: 0;
  padding: 0;
  font-family: "Noto Sans TC", sans-serif;
  font-size: 22px;
  font-weight: 500;
  line-height: 1.65;
  text-align: center;
  color: #fff;
  white-space: nowrap;
  z-index: 1;
}

.infor_btn {
  position: absolute;
  left: 50%;
  top: var(--s4-btn-top);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 480px;
  height: 90px;
  margin: 0;
  padding: 0 48px;
  border: 3px solid #fff2c8;
  border-radius: 9999px;
  background-color: #f67077;
  color: #fff;
  transform: translateX(-50%);
  text-decoration: none;
  overflow: hidden;
  cursor: pointer;
  z-index: 1;
}

.infor_btn .original {
  background: #fff2c8;
  color: #f67077;
  display: grid;
  inset: 0;
  place-content: center;
  position: absolute;
  font-family: "Noto Sans TC", sans-serif;
  font-size: 2rem;
  font-weight: 1000;
  line-height: 1;
  letter-spacing: 0.05em;
  white-space: nowrap;
  transition: transform 0.2s ease;
}

.infor_btn .letters {
  display: inline-flex;
  font-family: "Noto Sans TC", sans-serif;
  font-size: 2rem;
  font-weight: 1000;
  line-height: 1;
  letter-spacing: 0.05em;
  white-space: nowrap;
}

.infor_btnText {
  font-family: inherit;
  font-size: inherit;
  font-weight: inherit;
  line-height: inherit;
  letter-spacing: inherit;
  color: inherit;
  white-space: nowrap;
}

.step04_star01 {
  position: absolute;
  left: var(--s4-star01-left);
  top: var(--s4-star01-top);
  z-index: 0;
  pointer-events: none;
}

.step04_star02 {
  position: absolute;
  left: var(--s4-star02-left);
  top: var(--s4-star02-top);
  z-index: 0;
  pointer-events: none;
}

.decor_candy01 {
  position: absolute;
  left: max(0px, calc(50% - var(--design-width) / 2 + 80px));
  top: -150px;
  z-index: 1;
  pointer-events: none;
}

.decor_candy02 {
  position: absolute;
  left: max(0px, calc(50% - var(--design-width) / 2 + 80px));
  top: 80px;
  z-index: 1;
  pointer-events: none;
}

.decor_candy03 {
  position: absolute;
  right: max(0px, calc(50% - var(--design-width) / 2 + 170px));
  top: 70px;
  z-index: 1;
  pointer-events: none;
}

.decor_candy04 {
  position: absolute;
  right: max(0px, calc(50% - var(--design-width) / 2 + 50px));
  bottom: 150px;
  z-index: 1;
  pointer-events: none;
}

.step04_character_l {
  position: absolute;
  left: max(0px, calc(64% - var(--design-width) / 2));
  bottom: -100px;
  z-index: 2;
  pointer-events: none;
}

.step04_character_r {
  position: absolute;
  right: max(0px, calc(57% - var(--design-width) / 2));
  bottom: -100px;
  z-index: 2;
  pointer-events: none;
}

.note {
  z-index: 20;
  height: var(--note-height);
  margin-top: calc(var(--overlap-step04-note) * -1);
  background-image: url("../images/note_bg.png");
}

/* NOTE 內容（1920 桌機） */
.note_inner {
  position: relative;
  width: 100%;
  height: 100%;
}

.note_content {
  --note-base-w: 1920;
  --note-base-h: 1500;
  --n-title-top: calc(90 / var(--note-base-h) * var(--note-height));
  --n-text-top: calc(280 / var(--note-base-h) * var(--note-height));
  position: relative;
  z-index: 2;
  width: var(--design-width);
  max-width: 100%;
  margin: 0 auto;
  height: 100%;
}

.note_content img,
.note_inner > img {
  display: block;
  width: auto;
  height: auto;
  max-width: none;
}

.note_title {
  position: absolute;
  left:52%;
  top: var(--n-title-top);
  transform: translateX(-50%);
}

.note_text {
  position: absolute;
  left: 50%;
  top: var(--n-text-top);
  width: 920px;
  max-width: calc(100% - 80px);
  transform: translateX(-50%);
  padding: 50px 48px;
  border: 2px dashed #c8c8c8;
  border-radius: 32px;
  background-color: #fff;
  box-sizing: border-box;
  
}

.note_text p {
  margin: 0;
  font-family: "Noto Sans TC", sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.5;
  color: #858585;
  text-align: left;
  
}

.note_link_black {
  position: absolute;
  left: 50%;
  bottom: 80px;
  z-index: 3;
  display: grid;
  grid-template-columns: repeat(3, 130px);
  justify-content: center;
  justify-items: center;
  column-gap: 80px;
  row-gap: 24px;
  transform: translateX(-50%);
}

.note_link_black > a:not(.link_news) {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 170px;
  height: 128px;
  border: 2px solid #ffffffda;
  border-radius: 20px;
  background-color: transparent;
  text-decoration: none;
  transition: background-color 0.2s ease;
}

.note_link_black > a:not(.link_news) img {
  display: block;
  width: auto;
  height: auto;
  max-width: 80px;
}

.link_news {
  grid-column: 2;
  justify-self: center;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 590px;
  height: 56px;
  padding: 10px 48px;
  border: 2px solid #ffffffb2;
  background-color: transparent;
  font-family: "Noto Sans TC", sans-serif;
  font-size: 25px;
  font-weight: 900;
  line-height: 1;
  letter-spacing: 0.08em;
  color: #fff;
  text-decoration: none;
  white-space: nowrap;
  transition: background-color 0.2s ease;
  text-align: center;
}

.note_rabbit {
  position: absolute;
  right: max(0px, calc(50% - var(--design-width) / 2 + 200px));
  bottom: 280px;
  z-index: 4;
  pointer-events: none;
}

.footer {
  position: relative;
  z-index: 21;
  height: 204px;
  margin-top: -20px;
  background-image: url("../images/footer_bg.png");
}

/* FOOTER 內容（1920 桌機） */
.footer .note_content {
  position: relative;
  z-index: 2;
  width: var(--design-width);
  max-width: 100%;
  margin: 0 auto;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.footer .copyright_img {
  display: block;
  width: 85%;
  height: auto;
  max-width: 1600px;
  transform: translateY(30px);
}

/* =========================
   Enroll Modal
   ========================= */
body.modal-open {
  overflow: hidden;
}

.modal-overlay {
  display: flex;
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
  position: fixed;
  inset: 0;
  z-index: 10000;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background-color: rgba(0, 0, 0, 0.9);
  box-sizing: border-box;
}

.modal-overlay.is-open {
  visibility: visible;
  pointer-events: auto;
}

.modal {
  position: relative;
  width: min(640px, 100%);
  max-height: calc(100vh - 48px);
  opacity: 0;
  transform: scale(0.88) translateY(24px);
}

.modal-bg {
  display: block;
  width: 100%;
  height: auto;
  max-height: calc(100vh - 48px);
  object-fit: contain;
}

.modal-content {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 48px 40px;
  box-sizing: border-box;
  pointer-events: none;
}

.modal-content p {
  margin: 0;
  font-family: "Noto Sans TC", sans-serif;
  font-size: 1.55rem;
  font-weight: 700;
  line-height: 1.5;
  color: #333;
  text-align: center;
}

.modal-close {
  position: absolute;
  top: -20%;
  right: -10%;
  z-index: 2;
  width: 80px;
  height: 80px;
  padding: 0;
  border: none;
  background: url("../images/modal_close.png") no-repeat center / contain;
  cursor: pointer;
  opacity: 0;
  transform: scale(0.6) rotate(-360deg);
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.modal-close:hover {
  opacity: 0.85;
  transform: scale(1.1);
}


