/* ===================================
   動畫孤獨搖滾展 - 共用樣式
   =================================== */

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

/* 昭源黑體 */
@font-face {
  font-family: "Chiron Hei HK";
  src: url("fonts/ChironHeiHK-Text-B.ttf") format("truetype");
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

:root {
  /* 官方色彩 */
  --color-pink: #f384a5;
  --color-red: #f05960;
  --color-blue: #0083c4;
  --color-yellow: #ffcf00;
  --color-black: #000;
  --color-white: #fff;
  --color-cream: #e3e3e3;
  --color-gray: #999;
  --color-gray-dark: #333;
  --color-gray-text: #848484;
  /* 相容舊變數 */
  --primary-pink: #f384a5;
  --primary-pink-dark: #f05960;
  --accent-blue: #0083c4;
  --accent-yellow: #ffcf00;
  --accent-coral: #f05960;
  --bg-light: #e3e3e3;
  --bg-gray: #d0d0d0;
  --text-dark: #000;
  --text-light: #666;
  --white: #fff;
  --black: #000;
}

html {
  scroll-behavior: smooth;
  font-size: 18px; /* 原 16px × 1.5 = 24px，全站字體放大 */
}

/* 手機版響應式基準字體 - 隨視口寬度流暢縮放 */
@media screen and (max-width: 960px) {
  html {
    font-size: min(4vw, 18px); /* 450px 以上固定 18px，以下隨比例縮小 */
  }
}

body {
  font-family: "Noto Sans TC", "PingFang TC", "Microsoft JhengHei", sans-serif;
  background: var(--bg-light);
  color: var(--text-dark);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* 英文標題字體 */
.font-display {
  font-family: "Chonburi", "Noto Sans TC", sans-serif;
}

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

ul, ol {
  list-style: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* ===================================
   Header (官方風格)
   =================================== */
.l-header {
  position: fixed;
  top: 1.5rem;
  left: 1rem;
  z-index: 1001;
}

.l-header__info {
  display: block;
  transition: opacity 1s cubic-bezier(0.5, 1, 0.89, 1);
}

.l-header__date {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--color-gray-dark);
  margin: 0 0 0.25rem;
  letter-spacing: 0.02em;
}

.l-header__date-num {
  font-size: calc(1.15rem + 4px);
  font-weight: 700;
}

.l-header__venue {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--color-gray-dark);
  margin: 0;
  letter-spacing: 0.02em;
}

/* Header Logo (離開 hero 後顯示) */
.l-header__logo {
  position: fixed;
  top: 1rem;
  left: 1rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 1s cubic-bezier(0.5, 1, 0.89, 1);
}

.l-header__logo img {
  height: 200px;
  width: auto;
}

/* PC: 離開 hero 時切換為 logo */
@media (min-width: 961px) {
  [data-area]:not([data-area="top"]) .l-header__info {
    opacity: 0;
    pointer-events: none;
  }

  [data-area]:not([data-area="top"]) .l-header__logo {
    opacity: 1;
    pointer-events: auto;
  }
}

/* Mobile Ticket Button (手機版「立刻預約」按鈕) */
.l-header__ticket {
  display: none;
}

@media (max-width: 960px) {
  .l-header__ticket {
    position: fixed;
    top: 1rem;
    left: 1rem;
    z-index: 1001;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 80.5px;
    height: 80.5px;
    background: var(--color-black);
    border-radius: 50%;
    color: var(--color-white);
    text-decoration: none;
    gap: 2px;
  }

  .l-header__ticket-icon {
    display: block;
    width: 23px;
    height: 23px;
  }

  .l-header__ticket-icon svg {
    width: 100%;
    height: 100%;
  }

  .l-header__ticket-text {
    font-size: 0.69rem;
    font-weight: 700;
    letter-spacing: 0.02em;
  }
}

/* Navigation */
.l-nav {
  position: fixed;
  top: 0;
  right: 0;
  z-index: 1000;
  padding: 1.5rem 2rem;
}

.l-nav__content {
  position: relative;
}

.l-nav__list {
  display: flex;
  gap: 2rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.l-nav__list-item {
  position: relative;
}

.l-nav__link {
  display: block;
  position: relative;
  text-decoration: none;
  transition: color 0.3s ease;
}

.l-nav__link:hover {
  color: var(--color-pink);
}

.l-nav__link-text {
  font-family: "Chiron Hei HK", "Noto Sans TC", sans-serif;
  font-size: 1.2rem;
  letter-spacing: 0.05em;
}

.l-nav__link-sub {
  display: none;
}

.l-nav__logo {
  display: none;
}

.l-nav__bg {
  display: none;
}

/* 上方橫槓：滾動匹配區塊時顯示 */
.l-nav__link::before {
  content: '';
  position: absolute;
  top: -8px;
  left: 0;
  width: 100%;
  height: 3px;
  background-color: var(--color-gray);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s ease, background-color 0.3s ease;
}

/* 下方橫槓：hover 時顯示 */
.l-nav__link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 100%;
  height: 3px;
  background-color: var(--color-gray);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s ease, background-color 0.3s ease;
}

/* Data-area based navigation styles */
/* Default: gray text when not in hero area */
.l-nav__link {
  color: var(--color-gray);
}

/* In hero area (top): black text */
[data-area="top"] .l-nav__link {
  color: var(--color-black);
}

[data-area="top"] .l-nav__link::before,
[data-area="top"] .l-nav__link::after {
  background-color: var(--color-black);
}

/* Active navigation indicator */
[data-area="top"] [data-nav="top"] .l-nav__link::before,
[data-area="about"] [data-nav="about"] .l-nav__link::before,
[data-area="detail"] [data-nav="detail"] .l-nav__link::before,
[data-area="ticket"] [data-nav="ticket"] .l-nav__link::before,
[data-area="goods"] [data-nav="goods"] .l-nav__link::before,
[data-area="attention"] [data-nav="attention"] .l-nav__link::before,
[data-area="faq"] [data-nav="faq"] .l-nav__link::before {
  transform: scaleX(1);
}

/* Hover effect (下方橫槓) */
.l-nav__link:hover::after {
  transform: scaleX(1);
}

/* PC Ticket Button (桌面版「立刻預約」按鈕) */
.l-nav__ticket {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: absolute;
  top: 100%;
  right: 0;
  margin-top: 1rem;
  width: 92.5px;
  height: 92.5px;
  background: var(--color-black);
  color: var(--color-white);
  font-size: 0.79rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-decoration: none;
  border-radius: 50%;
  transition: background-color 0.3s ease, transform 0.2s ease;
}

.l-nav__ticket::before {
  content: '';
  display: block;
  width: 26.5px;
  height: 26.5px;
  margin-bottom: 2px;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2' xmlns='http://www.w3.org/2000/svg'%3E%3Crect x='2' y='4' width='20' height='16' rx='2'/%3E%3Cpath d='M2 10h20'/%3E%3Cpath d='M7 15h4'/%3E%3C/svg%3E");
  background-size: contain;
  background-repeat: no-repeat;
}

.l-nav__ticket:hover {
  background: var(--color-pink);
  transform: scale(1.05);
}

@media (min-width: 1900px) {
  .l-nav__ticket {
    width: 138.75px;
    height: 138.75px;
    font-size: 1.19rem;
  }

  .l-nav__ticket::before {
    width: 39.75px;
    height: 39.75px;
    margin-bottom: 3px;
  }
}

@media (max-width: 960px) {
  .l-nav__ticket {
    display: none;
  }
}

/* Mobile Menu Button */
.p-menu {
  display: none;
  position: fixed;
  top: 1.5rem;
  right: 1.5rem;
  z-index: 1002;
  width: 50px;
  height: 50px;
  background: transparent;
  border: none;
  border-radius: 0;
  cursor: pointer;
  padding: 0;
}

.p-menu__line {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: center;
  gap: 6px;
  width: 100%;
  height: 100%;
}

.p-menu__line-bar {
  display: block;
  width: 28px;
  height: 3px;
  background: var(--color-gray);
  font-size: 0;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

/* 漢堡選單開啟狀態 - X 圖示 */
.p-menu.is-open .p-menu__line-bar:nth-child(1) {
  transform: translateY(9px) rotate(45deg);
}

.p-menu.is-open .p-menu__line-bar:nth-child(2) {
  opacity: 0;
}

.p-menu.is-open .p-menu__line-bar:nth-child(3) {
  transform: translateY(-9px) rotate(-45deg);
}

/* Mobile Navigation */
@media (max-width: 960px) {
  .l-header {
    top: 1rem;
    left: 1rem;
  }

  /* 手機版隱藏原有日期地點資訊 */
  .l-header__info {
    display: none;
  }

  .l-header__date {
    font-size: 0.65rem;
  }

  .l-header__venue {
    font-size: 0.55rem;
  }

  /* 手機版 Hero 區域時完全隱藏 logo */
  [data-area="top"] .l-header__logo {
    display: none;
  }

  /* 手機版離開 hero 後 header logo 置中 */
  [data-area]:not([data-area="top"]) .l-header {
    left: 0;
    right: 0;
    text-align: center;
  }

  [data-area]:not([data-area="top"]) .l-header__logo {
    position: static;
    display: inline-block;
    opacity: 1;
    pointer-events: auto;
  }

  [data-area]:not([data-area="top"]) .l-header__logo img {
    height: 100px;
  }

  /* 選單開啟時隱藏 header logo */
  [data-area]:not([data-area="top"]).is-menu-open .l-header__logo {
    display: none;
  }

  /* 選單開啟時隱藏 ticket icon */
  .is-menu-open .l-header__ticket {
    display: none;
  }

  .l-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--color-black);
    padding: 0;
    transform: translateX(100%);
    transition: transform 0.4s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
  }

  .l-nav.is-open {
    transform: translateX(0);
  }

  .l-nav__content {
    text-align: center;
  }

  .l-nav__list {
    flex-direction: column;
    gap: 0.5rem;
  }

  .l-nav__link {
    color: var(--color-white);
    text-align: center;
  }

  .l-nav__link::before {
    display: none;
  }

  .l-nav__link-text {
    font-family: "Chonburi", serif;
    font-size: 2.16rem;
    color: var(--color-white);
  }

  .l-nav__link-sub {
    display: block;
    font-size: 1.08rem;
    color: var(--color-white);
  }

  .l-nav__logo {
    display: block;
    text-align: center;
    margin-bottom: 2rem;
  }

  .l-nav__logo img {
    width: 60%;
    max-width: 250px;
    height: auto;
  }

  /* Mobile Nav Background Decorations */
  .l-nav__bg {
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
    z-index: -1;
  }

  .l-nav__bg-deco {
    position: absolute;
  }

  .l-nav__bg-deco img {
    width: 100%;
    height: auto;
  }

  .l-nav__bg-deco.--pink {
    top: -10%;
    right: -50%;
    width: 170%;
  }

  .l-nav__bg-deco.--red {
    top: -30%;
    left: -50%;
    width: 170%;
  }

  .l-nav__bg-deco.--yellow {
    bottom: 0;
    left: -50%;
    width: 170%;
  }

  .l-nav__bg-deco.--blue {
    bottom: -19%;
    right: -50%;
    width: 170%;
  }

  .p-menu {
    display: flex;
  }

  .p-menu.is-open .p-menu__line-bar {
    background: var(--color-white);
  }
}

/* 舊版 header 相容 */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  padding: 0.75rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.header-left {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.header-date {
  font-size: 0.75rem;
  color: var(--primary-pink);
  font-weight: 500;
}

.header-venue {
  font-size: 0.7rem;
  color: var(--text-light);
}

.header-nav {
  display: flex;
  gap: 1.5rem;
}

.header-nav a {
  font-size: 0.75rem;
  color: var(--text-light);
  font-weight: 500;
  letter-spacing: 0.05em;
  transition: color 0.2s;
}

.header-nav a:hover,
.header-nav a.active {
  color: var(--primary-pink);
}

.header-logo {
  width: 50px;
  height: 50px;
  background: var(--black);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.5rem;
  color: var(--white);
  text-align: center;
  line-height: 1.2;
}

/* ===================================
   Hero Section (官方風格)
   =================================== */
:root {
  --svh: 100vh;
}

.p-hero {
  width: 100%;
  height: 100vh;
  display: block;
  position: fixed;
  left: 0;
  top: 0;
  overflow: hidden;
  z-index: 0;
}

.l-top {
  display: block;
  position: relative;
  padding-top: var(--svh);
}

.p-hero__bg {
  width: 100%;
  height: 100%;
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  pointer-events: none;
}

.p-hero__bg-img {
  width: 100%;
  max-width: 186.67vh;
  display: block;
  position: absolute;
  opacity: 0;
  transform: scale(1.2);
  animation: heroFadeIn 1.2s cubic-bezier(0.5, 1, 0.89, 1) forwards;
}

.p-hero__bg-img:nth-child(1) { animation-delay: 0s; }
.p-hero__bg-img:nth-child(2) { animation-delay: 0.1s; }
.p-hero__bg-img:nth-child(3) { animation-delay: 0.2s; }
.p-hero__bg-img:nth-child(4) { animation-delay: 0.3s; }
.p-hero__bg-img:nth-child(5) { animation-delay: 0.4s; }
.p-hero__bg-img:nth-child(6) { animation-delay: 0.5s; }
.p-hero__bg-img:nth-child(7) { animation-delay: 0.6s; }
.p-hero__bg-img:nth-child(8) { animation-delay: 0.7s; }

@keyframes heroFadeIn {
  to {
    opacity: 1;
    transform: scale(1);
  }
}

.p-hero__bg-img.--pink_1 { top: 0; right: 0; }
.p-hero__bg-img.--pink_2 { bottom: 0; left: 0; }
.p-hero__bg-img.--yellow_1 { bottom: 0; left: 0; }
.p-hero__bg-img.--yellow_2 { top: 0; right: 0; }
.p-hero__bg-img.--blue_1 { bottom: 0; right: 0; }
.p-hero__bg-img.--blue_2 { top: 0; left: 0; }
.p-hero__bg-img.--red_1 { top: 0; left: 0; }
.p-hero__bg-img.--red_2 { bottom: 0; right: 0; }

.p-hero__bg-img img {
  width: 100%;
  height: auto;
}

.p-hero__container {
  height: var(--svh);
  min-height: 100vh;
  display: block;
  position: relative;
  overflow: hidden;
}

/* 角色圖片 */
.p-hero__chara {
  width: var(--svh);
  max-width: 65%;
  height: var(--svh);
  min-height: 100vh;
  display: block;
  position: relative;
  margin: 0 auto;
  list-style: none;
  padding: 0;
}

@media screen and (orientation: portrait) {
  .p-hero__chara {
    width: 100vw;
    max-width: 100%;
    height: 100vw;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
  }
}

.p-hero__chara-item {
  width: 25rem;
  display: block;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  opacity: 0;
  animation: charaFadeIn 0.8s cubic-bezier(0.5, 1, 0.89, 1) forwards;
}

@keyframes charaFadeIn {
  to {
    opacity: 1;
  }
}

.p-hero__chara-item.--bocchi {
  width: calc(var(--svh) * 0.219);
  min-width: 16.25rem;
  top: 35.6%;
  left: 35%;
  animation-delay: 0.8s;
}

.p-hero__chara-item.--nijika {
  width: calc(var(--svh) * 0.194);
  min-width: 14.375rem;
  top: 42%;
  left: 63.6%;
  animation-delay: 1s;
}

.p-hero__chara-item.--ryo {
  width: calc(var(--svh) * 0.325);
  min-width: 24.2rem;
  top: 51.6%;
  left: -1%;
  animation-delay: 1.2s;
}

.p-hero__chara-item.--ikuyo {
  width: calc(var(--svh) * 0.206);
  min-width: 15.375rem;
  top: 51.6%;
  left: 93.2%;
  animation-delay: 1.4s;
}

@media screen and (orientation: portrait) {
  .p-hero__chara-item.--bocchi {
    width: calc(100% * 0.35);
    top: 35%;
    left: 28%;
  }
  .p-hero__chara-item.--nijika {
    width: calc(100% * 0.35);
    top: 35%;
    left: 50.8%;
  }
  .p-hero__chara-item.--ryo {
    width: calc(100% * 0.5);
    top: 50%;
    left: 24%;
  }
  .p-hero__chara-item.--ikuyo {
    width: calc(100% * 0.35);
    top: 42%;
    left: 80%;
  }
}

@media screen and (max-width: 960px) {
  .p-hero__chara-item.--bocchi { min-width: 8.44rem; }
  .p-hero__chara-item.--nijika { min-width: 7.5rem; }
  .p-hero__chara-item.--ryo { min-width: 12.5rem; }
  .p-hero__chara-item.--ikuyo { min-width: 8rem; }
}

.p-hero__chara-img {
  margin: 0;
}

.p-hero__chara-img img {
  width: 100%;
  height: auto;
}

/* Hero 版權標示 */
.p-hero__copyright {
  position: absolute;
  left: 1rem;
  bottom: 2rem;
  z-index: 10;
}

.p-hero__copyright img {
  height: 2rem;
  width: auto;
}

@media (max-width: 960px) {
  .p-hero__copyright {
    left: 0.1rem;
    bottom: 1.8rem;
  }

  .p-hero__copyright img {
    height: 1.5rem;
  }
}

/* 標題與資訊 */
.p-hero__inner {
  width: 100%;
  height: 100%;
  display: block;
  position: absolute;
  top: 0;
  left: 0;
}

.p-hero__title {
  width: 43rem;
  display: block;
  position: absolute;
  top: 80%;
  left: 50%;
  transform: translate(-50%, -50%);
  clip-path: polygon(-20% 0, 100% 0, 120% 100%, 0 100%);
  animation: titleReveal 0.75s cubic-bezier(0.5, 1, 0.89, 1) 0.4s forwards;
  opacity: 0;
}

.p-hero__title img {
  width: 100%;
  height: auto;
}

@keyframes titleReveal {
  to {
    opacity: 1;
  }
}

/* 手機版（橫向）*/
@media screen and (max-width: 960px) and (orientation: landscape) {
  .p-hero__title {
    width: 27.36rem;
  }
}

/* 手機版（直向）*/
@media screen and (max-width: 960px) and (orientation: portrait) {
  .p-hero__title {
    width: 24.7rem;
    top: 68%;
  }
}

.p-hero__info {
  display: block;
  position: absolute;
  bottom: 7%;
  left: 16%;
  transform: translate(-50%, 0);
  opacity: 0;
  animation: fadeIn 1.2s cubic-bezier(0.5, 1, 0.89, 1) 0.6s forwards;
}

@keyframes fadeIn {
  to {
    opacity: 1;
  }
}

@media screen and (orientation: portrait) {
  .p-hero__info {
    bottom: 3%;
    left: 34%;
  }
}

.p-hero__info-text {
  display: block;
  position: relative;
  width: 30.6rem;
}

@media screen and (max-width: 960px) {
  .p-hero__info-text {
    width: 13.77rem;
  }
}

@media screen and (max-width: 960px) and (orientation: portrait) {
  .p-hero__info-text {
    width: 18.36rem;
  }
}

.p-hero__info-text img {
  width: 100%;
  height: auto;
}

/* Mobile Hero Info (手機版底部日期地點資訊) */
.p-hero__info-mobile {
  display: none;
}

@media (max-width: 960px) {
  .p-hero__info-mobile {
    display: block;
    position: absolute;
    bottom: 3.5rem;
    left: 0.6rem;
    z-index: 10;
    opacity: 0;
    animation: fadeIn 1.2s cubic-bezier(0.5, 1, 0.89, 1) 0.6s forwards;
    transform: scale(0.9);
    transform-origin: left bottom;
  }

  .p-hero__info-date {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--color-gray-dark);
    margin: 0 0 0.18rem;
    letter-spacing: 0.02em;
  }

  .p-hero__info-date-num {
    font-size: 0.9rem;
    font-weight: 700;
  }

  .p-hero__info-venue {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--color-gray-dark);
    margin: 0;
    letter-spacing: 0.02em;
  }
}

/* 滾動提示 */
.p-hero__scroll {
  width: 9.06rem;
  display: block;
  position: fixed;
  cursor: pointer;
  bottom: 3.125rem;
  right: 3.125rem;
  opacity: 0;
  animation: fadeIn 1.2s cubic-bezier(0.5, 1, 0.89, 1) 0.6s forwards;
  z-index: 100;
}

body[data-area]:not([data-area="top"]) .p-hero__scroll {
  display: none;
}

@media screen and (max-width: 960px) {
  .p-hero__scroll {
    width: 6rem;
    bottom: 1rem;
    right: 1.5rem;
  }
}

.p-hero__scroll::before {
  content: "";
  width: 60%;
  height: 60%;
  display: block;
  position: absolute;
  top: 50%;
  left: 50%;
  border: 0.1rem solid var(--color-black);
  border-radius: 50%;
  opacity: 0;
  transform: translate(-50%, -50%) scale(0.9);
  transition: opacity 0.35s ease, transform 0.35s ease;
}

.p-hero__scroll:hover::before {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}

.p-hero__scroll-base {
  display: block;
  position: relative;
  animation: marqueeCircle 40s linear infinite reverse;
}

@keyframes marqueeCircle {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

@media screen and (max-width: 960px) {
  .p-hero__scroll-base {
    animation-duration: 80s;
  }
}

.p-hero__scroll-base img {
  width: 100%;
  height: auto;
}

.p-hero__scroll-arrow {
  width: 0.1rem;
  height: 3.6rem;
  display: block;
  position: absolute;
  top: 50%;
  left: 50%;
  background: var(--color-black);
  transform: translate(-50%, -50%);
}

@media screen and (max-width: 960px) {
  .p-hero__scroll-arrow {
    height: 2.16rem;
  }
}

.p-hero__scroll-arrow::before {
  content: "";
  width: 0.1rem;
  height: 1.8rem;
  display: block;
  position: absolute;
  bottom: 0;
  left: 0;
  background: var(--color-black);
  transform-origin: bottom right;
  transform: rotate(-45deg);
}

.p-hero__scroll-arrow::after {
  content: "";
  width: 0.1rem;
  height: 1.8rem;
  display: block;
  position: absolute;
  bottom: 0;
  left: 0;
  background: var(--color-black);
  transform-origin: bottom left;
  transform: rotate(45deg);
}

@media screen and (max-width: 960px) {
  .p-hero__scroll-arrow::before,
  .p-hero__scroll-arrow::after {
    height: 1rem;
  }
}

/* 舊版 Hero 相容 */
.hero {
  position: relative;
  min-height: 100vh;
  padding-top: 80px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  pointer-events: none;
  overflow: hidden;
}

/* ===================================
   P-Content (官方風格 - 統一背景佈局)
   =================================== */
.p-content {
  display: block;
  position: relative;
  background: var(--bg-light);
  z-index: 1;
}

.p-content__bg {
  width: 100%;
  height: 100%;
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.p-content__bg-in {
  width: 100%;
  max-width: 1600px;
  height: 422.4rem;
  display: block;
  position: relative;
  left: 50%;
  transform: translateX(-50%);
  margin-top: 20rem;
}

@media screen and (max-width: 960px) {
  .p-content__bg-in {
    height: 213rem;
  }
}

.p-content__bg-in + .p-content__bg-in {
  margin-top: 20rem;
}

@media screen and (max-width: 960px) {
  .p-content__bg-in + .p-content__bg-in {
    margin-top: 40rem;
  }
}

.p-content__bg-img {
  display: block;
  position: absolute;
  transform: translate(-50%, -50%);
  pointer-events: none;
}

.p-content__bg-img img {
  width: 100%;
  height: auto;
  display: block;
}

/* 背景裝飾尺寸 */
.p-content__bg-img.--blue { width: 36.4rem; }
.p-content__bg-img.--pink { width: 32.5rem; }
.p-content__bg-img.--red { width: 28.6rem; }
.p-content__bg-img.--yellow { width: 32.5rem; }

@media screen and (max-width: 960px) {
  .p-content__bg-img.--blue { width: 20.8rem; }
  .p-content__bg-img.--pink { width: 18.2rem; }
  .p-content__bg-img.--red { width: 15.6rem; }
  .p-content__bg-img.--yellow { width: 18.2rem; }
}

/* 背景裝飾位置：左藍→右粉→右紅→左黃→右粉→左黃→右紅→左藍→右粉→左黃 */
.p-content__bg-img.--pos1 { top: 1%; left: 15%; }
.p-content__bg-img.--pos2 { top: 8%; left: 80%; }
.p-content__bg-img.--pos3 { top: 17%; left: 78%; }
.p-content__bg-img.--pos4 { top: 25%; left: 15%; }
.p-content__bg-img.--pos5 { top: 34%; left: 82%; }
.p-content__bg-img.--pos6 { top: 42%; left: 13%; }
.p-content__bg-img.--pos7 { top: 50%; left: 80%; }
.p-content__bg-img.--pos8 { top: 60%; left: 15%; }
.p-content__bg-img.--pos9 { top: 68%; left: 85%; }
.p-content__bg-img.--pos10 { top: 75%; left: 15%; }

@media screen and (max-width: 960px) {
  .p-content__bg-img.--pos1 { top: 1%; left: 10%; }
  .p-content__bg-img.--pos2 { top: 7%; left: 82%; }
  .p-content__bg-img.--pos3 { top: 15%; left: 80%; }
  .p-content__bg-img.--pos4 { top: 24%; left: 10%; }
  .p-content__bg-img.--pos5 { top: 32%; left: 84%; }
  .p-content__bg-img.--pos6 { top: 41%; left: 10%; }
  .p-content__bg-img.--pos7 { top: 49%; left: 82%; }
  .p-content__bg-img.--pos8 { top: 57%; left: 10%; }
  .p-content__bg-img.--pos9 { top: 65%; left: 85%; }
  .p-content__bg-img.--pos10 { top: 75%; left: 10%; }
}

.p-content__deco {
  display: block;
  position: relative;
}

.p-content__container {
  display: block;
  position: relative;
  z-index: 1;
}

/* ===================================
   P-Section (官方風格)
   =================================== */
.p-section {
  display: block;
  position: relative;
  padding: 5.6rem 0;
  background: transparent;
}

@media screen and (max-width: 960px) {
  .p-section {
    padding: 4.5rem 0;
  }
}

.p-section__container {
  width: 100%;
  display: block;
  position: relative;
}

.p-section__header {
  display: block;
  position: relative;
  overflow: hidden;
  margin-bottom: 2rem;
}

@media screen and (max-width: 960px) {
  .p-section__header {
    margin-bottom: 1.5rem;
  }
}

.p-section__title {
  width: 90%;
  max-width: 110rem;
  display: block;
  position: relative;
  margin: 0 auto;
  text-align: center;
  transform: translateX(-2rem);
}

.p-section__title-text {
  display: inline-block;
  position: relative;
  font-family: "Chonburi", serif;
  font-size: 6rem;
  font-weight: 400;
  letter-spacing: 0.05em;
  margin-right: -0.05em;
  line-height: 1;
  color: var(--color-black);
}

@media screen and (max-width: 960px) {
  .p-section__title {
    transform: none;
  }

  .p-section__title-text {
    font-size: 2.835rem;
  }
}

.p-section__subtitle {
  display: block;
  text-align: center;
  font-size: 1.5rem;
  color: var(--color-black);
  margin-top: 0.8rem;
  letter-spacing: 0.1em;
  transform: translateX(-2rem);
}

@media screen and (max-width: 960px) {
  .p-section__subtitle {
    font-size: 0.972rem;
    margin-top: 0.5rem;
    transform: none;
  }
}

.p-section__inner {
  width: 55%;
  max-width: 55rem;
  display: block;
  position: relative;
  margin: 0 auto;
}

@media screen and (max-width: 960px) {
  .p-section__inner {
    width: 90%;
    max-width: 100%;
  }
}

/* ===================================
   P-About (官方風格)
   =================================== */
.p-about {
  display: block;
  position: relative;
}

.p-about__deco {
  width: 25rem;
  display: block;
  position: absolute;
  top: 50%;
  z-index: 1;
  pointer-events: none;
}

.p-about__deco.--ikuyo {
  width: 20rem;
  top: 3rem;
  left: -25%;
  transform: translate(-50%, -50%) rotate(4deg);
}

@media screen and (max-width: 960px) {
  .p-about__deco.--ikuyo {
    top: 2rem;
    left: 2%;
    width: 10.45rem;
    transform: translate(-50%, -50%);
  }
}


.p-about__deco.--ryo {
  width: 30rem;
  top: 100%;
  left: 90%;
  transform: translate(-50%, -50%);
}

@media screen and (max-width: 960px) {
  .p-about__deco.--ryo {
    width: 15rem;
    top: calc(100% + 2rem);
    left: 80%;
  }
}

.p-about__deco-img {
  display: block;
  position: relative;
  margin: 0;
}

.p-about__deco-img img {
  display: block;
  position: relative;
  width: 100%;
  height: auto;
}

.p-about__container {
  display: block;
  position: relative;
  width: 65vw;
  left: 50%;
  transform: translateX(-50%);
  padding: 3rem;
  background: var(--color-black);
  color: var(--color-white);
}

@media screen and (max-width: 960px) {
  .p-about__container {
    width: 80vw;
    padding: 2rem 1.5rem;
  }
}

.p-about__inner {
  display: block;
  position: relative;
}

.p-about__content {
  display: block;
  position: relative;
}

/* About Content */
.p-about_content {
  display: block;
  position: relative;
  background: transparent;
  padding: 0;
}

@media screen and (max-width: 960px) {
  .p-about_content {
    padding: 0;
  }
}

.p-about_content__header {
  display: block;
  position: relative;
  margin-bottom: 2rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.p-about_content__cap {
  font-size: 1.5rem;
  font-weight: 700;
  margin: 0 0 0.5rem;
  color: var(--color-white);
}

.p-about_content__lead {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 1rem;
}

.p-about_content__btn {
  display: inline-block;
  margin-top: 0.5rem;
}

.p-about_content__btn-text {
  display: inline-block;
  padding: 0.5rem 1.5rem;
  background: var(--color-pink);
  color: var(--color-black);
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-decoration: none;
  transition: background 0.3s ease, color 0.3s ease;
}

.p-about_content__btn-text:hover {
  background: var(--color-white);
  color: var(--color-black);
}

.p-about_content__inner {
  width: 100%;
  display: block;
  position: relative;
  margin: 0 auto;
}

.p-about_content__data {
  display: block;
  position: relative;
  padding: 2rem 0 2.2rem;
  margin: 0;
}

@media screen and (min-width: 961px) {
  .p-about_content__data {
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
  }
}

@media screen and (max-width: 960px) {
  .p-about_content__data {
    padding: 1.6rem 0 1.4rem;
  }
}

.p-about_content__data::before {
  content: "";
  width: 100%;
  height: 100%;
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  border-bottom: 0.1rem solid var(--color-white);
  opacity: 0.3;
}

.p-about_content__data:last-child::before {
  border-bottom: none;
}

.p-about_content__data-cap {
  display: block;
  position: relative;
  padding-left: 1.5rem;
  font-size: 1.4rem;
  line-height: 1.4;
  font-weight: 700;
  color: var(--color-white);
}

@media screen and (min-width: 961px) {
  .p-about_content__data-cap {
    width: 10rem;
    margin-right: 4rem;
    flex-shrink: 0;
  }
}

@media screen and (max-width: 960px) {
  .p-about_content__data-cap {
    padding-left: 1rem;
    margin-bottom: 0.75rem;
    font-size: 1.1rem;
  }
}

.p-about_content__data-cap::before {
  content: "";
  width: 0.4rem;
  height: 70%;
  display: block;
  position: absolute;
  top: 50%;
  left: 0;
  background: var(--color-white);
  transform: translate(0, -50%);
}

@media screen and (max-width: 960px) {
  .p-about_content__data-cap::before {
    width: 0.3rem;
  }
}

.p-about_content__data-text {
  display: block;
  position: relative;
  font-size: 1.2rem;
  line-height: 2;
  color: var(--color-white);
  margin: 0;
}

@media screen and (min-width: 961px) {
  .p-about_content__data-text {
    flex: 1 1 0;
    min-width: 0;
  }
}

@media screen and (max-width: 960px) {
  .p-about_content__data-text {
    font-size: 1rem;
    line-height: 1.85;
  }
}

.p-about_content__data-text small {
  font-size: 0.8em;
}

/* 背景裝飾容器 */
.bg-deco-container {
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
}

.bg-deco-inner {
  width: 100%;
  max-width: 1600px;
  height: 100%;
  min-height: 200vh;
  position: relative;
  left: 50%;
  transform: translateX(-50%);
}

/* 裝飾圖片定位 */
.bg-deco-img {
  position: absolute;
  transform: translate(-50%, -50%);
}

.bg-deco-img img {
  width: 100%;
  height: auto;
  display: block;
}

.bg-deco-img.--red {
  width: clamp(200px, 45vw, 728px);
  top: 10%;
  left: 90%;
}

.bg-deco-img.--blue {
  width: clamp(280px, 70vw, 1148px);
  top: 35%;
  left: 10%;
}

.bg-deco-img.--pink {
  width: clamp(200px, 50vw, 812px);
  top: 65%;
  left: 85%;
}

.bg-deco-img.--yellow {
  width: clamp(200px, 45vw, 728px);
  top: 90%;
  left: 5%;
}

@media screen and (max-width: 960px) {
  .bg-deco-img.--red {
    width: clamp(150px, 40vw, 364px);
    top: 15%;
    left: 95%;
  }

  .bg-deco-img.--blue {
    width: clamp(180px, 55vw, 560px);
    top: 40%;
    left: 50%;
  }

  .bg-deco-img.--pink {
    width: clamp(150px, 42vw, 420px);
    top: 70%;
    left: 85%;
  }

  .bg-deco-img.--yellow {
    width: clamp(150px, 42vw, 420px);
    top: 95%;
    left: 10%;
  }
}

/* 各區域裝飾位置微調 */
.hero .bg-deco-img.--red { top: 15%; left: 88%; }
.hero .bg-deco-img.--blue { top: 70%; left: 5%; }
.hero .bg-deco-img.--pink { top: 5%; left: 75%; }
.hero .bg-deco-img.--yellow { top: 85%; left: 30%; }

#about .bg-deco-img.--pink { top: 10%; left: -5%; }
#about .bg-deco-img.--red { top: 90%; left: 95%; }

#detail .bg-deco-img.--blue { top: 50%; left: 95%; }
#detail .bg-deco-img.--yellow { top: 90%; left: 10%; }

#ticket .bg-deco-img.--pink { top: 5%; left: 95%; }
#ticket .bg-deco-img.--blue { top: 70%; left: -5%; }
#ticket .bg-deco-img.--yellow { top: 95%; left: 75%; }

#attention .bg-deco-img.--red { top: 10%; left: -5%; }
#attention .bg-deco-img.--pink { top: 90%; left: 95%; }

/* 舊版相容：保留原有 bg-deco 類別作為備用 */
.bg-deco {
  position: absolute;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}

.bg-deco.pink {
  background-image: url('images/bg_deco_pink.png');
}

.bg-deco.blue {
  background-image: url('images/bg_deco_blue.png');
}

.bg-deco.yellow {
  background-image: url('images/bg_deco_yellow.png');
}

.bg-deco.red {
  background-image: url('images/bg_deco_red.png');
}

.hero-content {
  position: relative;
  text-align: center;
  z-index: 10;
}

.hero-subtitle {
  font-size: 0.875rem;
  color: var(--text-dark);
  margin-bottom: 0.5rem;
  letter-spacing: 0.1em;
}

.hero-title {
  font-size: 4rem;
  font-weight: 900;
  line-height: 1.1;
  margin-bottom: 1rem;
}

.hero-title-jp {
  font-size: 1.5rem;
  color: var(--text-light);
  font-weight: 400;
}

.hero-marquee {
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: var(--black);
  margin-top: 2rem;
}

/* ===================================
   Section Common
   =================================== */
.section {
  position: relative;
  padding: 5rem 2rem;
  overflow: hidden;
}

.section-bg {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  pointer-events: none;
  overflow: hidden;
}

.section-title {
  text-align: center;
  margin-bottom: 3rem;
}

.section-title h2 {
  font-family: "Chonburi", serif;
  font-size: 6rem;
  font-weight: 400;
  letter-spacing: 0.05em;
  line-height: 1;
  color: var(--color-black);
}

.section-title p {
  display: block;
  text-align: center;
  font-size: 1.5rem;
  color: var(--color-black);
  margin-top: 0.8rem;
  letter-spacing: 0.1em;
}

@media screen and (max-width: 960px) {
  .section-title p {
    font-size: 1.2rem;
    margin-top: 0.5rem;
  }
}

.container {
  max-width: 1000px;
  margin: 0 auto;
  position: relative;
  z-index: 10;
}

/* ===================================
   About Section
   =================================== */
.about-content {
  background: var(--white);
  padding: 2.5rem;
  border-radius: 0;
}

.about-table {
  width: 100%;
}

.about-table tr {
  border-bottom: 1px solid #eee;
}

.about-table tr:last-child {
  border-bottom: none;
}

.about-table th,
.about-table td {
  padding: 1rem 0;
  text-align: left;
  vertical-align: top;
}

.about-table th {
  width: 120px;
  font-weight: 600;
  color: var(--text-dark);
  font-size: 0.875rem;
}

.about-table td {
  color: var(--text-light);
  font-size: 0.875rem;
}

.label {
  display: inline-block;
  background: var(--black);
  color: var(--primary-pink);
  padding: 0.25rem 0.75rem;
  font-size: 0.75rem;
  font-weight: 500;
  margin-right: 0.5rem;
}

/* ===================================
   Detail Section
   =================================== */
.detail-progress {
  text-align: center;
  font-size: 1.5rem;
  color: var(--text-light);
  margin-bottom: 2rem;
}

/* ===================================
   Detail Section (p-detail) - 官方風格
   =================================== */
.p-detail {
  display: block;
  position: relative;
  margin-top: 4.2rem;
}
@media screen and (max-width: 960px) {
  .p-detail {
    margin-top: 2.4rem;
  }
}

.p-detail__container {
  width: 90%;
  max-width: 96rem;
  display: block;
  position: relative;
  margin: 0 auto;
}
@media screen and (max-width: 960px) {
  .p-detail__container {
    width: 100%;
  }
}

.p-detail__header {
  display: block;
  position: relative;
}

.p-detail__title {
  display: block;
  position: relative;
  font-size: 9.8rem;
  font-family: "Chonburi", serif;
  font-weight: 400;
  line-height: 0.85;
  letter-spacing: -0.15rem;
  text-align: center;
  color: var(--color-black);
}
@media screen and (max-width: 960px) {
  .p-detail__title {
    font-size: 4.6rem;
  }
}

.p-detail__header {
  display: flex;
  flex-direction: row;
  align-items: baseline;
  justify-content: center;
  gap: 10rem;
  margin-bottom: 2rem;
}

.p-detail__pager {
  display: flex;
  align-items: baseline;
  font-family: "Chonburi", serif;
  color: var(--color-black);
  order: -1;
  margin-left: -13rem;
}

.p-detail__pager-current {
  font-size: 5rem;
  line-height: 1;
}

.p-detail__pager-separator {
  font-size: 3rem;
  margin: 0 0.25rem;
}

.p-detail__pager-total {
  font-size: 3rem;
}

@media screen and (max-width: 960px) {
  .p-detail__pager {
    display: none;
  }
}

.p-detail__title {
  font-size: 5rem;
  font-family: "Chonburi", serif;
  font-weight: 400;
  line-height: 1;
  color: var(--color-black);
}
@media screen and (max-width: 960px) {
  .p-detail__title {
    font-size: 3rem;
  }
}

.p-detail__inner {
  display: block;
  position: relative;
  width: 100vw;
  margin-left: calc(-50vw + 50%);
}

.p-detail__swiper {
  width: 100%;
  position: relative;
  overflow: hidden;
}

.p-detail__swiper .swiper-slide {
  width: 45%;
  flex-shrink: 0;
}

@media screen and (max-width: 960px) {
  .p-detail__swiper .swiper-slide {
    width: 90%;
  }
}

/* 覆蓋 Swiper 預設導航樣式 */
.p-detail__nav.swiper-button-prev,
.p-detail__nav.swiper-button-next {
  position: absolute;
  top: 45%;
  transform: translateY(-50%);
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: none;
  outline: none;
  cursor: pointer;
  width: auto;
  height: auto;
  padding: 1rem;
  transition: opacity 0.3s ease;
  color: transparent;
}

.p-detail__nav.swiper-button-prev::after,
.p-detail__nav.swiper-button-next::after {
  display: none;
}

.p-detail__nav.--prev {
  left: calc(27.5% - 3rem - 20px);
}

.p-detail__nav.--next {
  right: calc(27.5% - 3rem - 20px);
}

.p-detail__nav:hover {
  opacity: 0.7;
}

.p-detail__nav img {
  width: 2rem;
  height: auto;
}

.p-detail__nav.--prev img {
  transform: scaleX(-1);
}

@media screen and (max-width: 960px) {
  .p-detail__nav.swiper-button-prev,
  .p-detail__nav.swiper-button-next {
    display: none;
  }
}

/* Pagination dots - hidden */
.p-detail__pagination {
  display: none;
}

/* Detail Data Card */
.p-detail_data {
  display: block;
  position: relative;
}

.p-detail_data__thumb {
  display: block;
  position: relative;
}

.p-detail_data__thumb-img {
  display: block;
  position: relative;
}

.p-detail_data__thumb-img img {
  width: 100%;
  height: auto;
  display: block;
}

.p-detail_data__cap {
  display: block;
  position: relative;
  margin-top: 3.2rem;
  font-size: 2rem;
  font-weight: 700;
  color: var(--color-black);
}
@media screen and (max-width: 960px) {
  .p-detail_data__cap {
    margin-top: 1rem;
    font-size: 1.6rem;
  }
}
@media screen and (max-width: 960px) {
  .p-detail_data__text {
    font-size: 1rem;
    margin-top: 1rem;
  }
}

/* ===================================
   Ticket Section
   =================================== */
.p-ticket {
  display: block;
  position: relative;
}

.p-ticket__container {
  position: relative;
  width: 65vw;
  left: 50%;
  transform: translateX(-50%);
  background: var(--color-black);
  color: var(--color-white);
  padding: 2.5rem;
}

@media screen and (max-width: 960px) {
  .p-ticket__container {
    width: 80vw;
    padding: 1.5rem;
  }
}

.p-ticket__block {
  margin-bottom: 2.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.3);
}

.p-ticket__block-header {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin-bottom: 1rem;
}

@media screen and (max-width: 960px) {
  .p-ticket__block-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
  }
}

.p-ticket__block-label {
  display: inline-flex;
  align-items: center;
  font-size: 1.7rem;
  font-weight: 700;
  color: var(--color-white);
}

.p-ticket__block-label::before {
  content: "";
  display: inline-block;
  width: 4px;
  height: 1.2em;
  background: var(--color-white);
  margin-right: 0.75rem;
}

.p-ticket__block-date {
  font-size: 1.7rem;
  color: var(--color-white);
}

@media screen and (max-width: 960px) {
  .p-ticket__block-date {
    font-size: 1.2rem;
  }
}

.p-ticket__table {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
  font-size: 1.2rem;
  border: 1px solid #fff;
}

.p-ticket__table th:nth-child(1),
.p-ticket__table td:nth-child(1) {
  width: 18%;
}

.p-ticket__table th:nth-child(2),
.p-ticket__table td:nth-child(2) {
  width: 12%;
}

.p-ticket__table th:nth-child(3),
.p-ticket__table td:nth-child(3) {
  width: 20%;
}

.p-ticket__table th:nth-child(4),
.p-ticket__table td:nth-child(4) {
  width: 50%;
}

.p-ticket__table th,
.p-ticket__table td {
  padding: 0.75rem 0.5rem;
  text-align: left;
  border: 1px solid #fff;
  vertical-align: top;
}

.p-ticket__table th {
  background: rgba(255, 255, 255, 0.1);
  font-weight: 600;
  color: var(--color-white);
}

.p-ticket__table td {
  color: var(--color-white);
  line-height: 1.6;
}

@media screen and (max-width: 960px) {
  .p-ticket__table {
    font-size: 0.75rem;
  }
  .p-ticket__table th,
  .p-ticket__table td {
    padding: 0.5rem 0.25rem;
  }
}

.p-ticket__notes {
  margin-top: 1rem;
  padding: 0.75rem 0;
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.8;
}

@media screen and (max-width: 960px) {
  .p-ticket__notes {
    font-size: 0.75rem;
  }
}

.p-ticket__notes p {
  margin: 0;
}

/* 限定票券及特典區塊 */
.p-ticket__special {
  margin: 3rem 0;
  padding: 2rem 0;
}

.p-ticket__special-title {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 1.7rem;
  font-weight: 700;
  color: #fff;
  margin: 0 0 2rem 0;
}

.p-ticket__special-bar {
  display: inline-block;
  width: 4px;
  height: 1.25em;
  background: var(--color-white);
  flex-shrink: 0;
}

.p-ticket__special-item {
  margin-bottom: 2.5rem;
}

.p-ticket__special-item:last-child {
  margin-bottom: 0;
}

@media screen and (max-width: 960px) {
  .p-ticket__special-item {
    margin-bottom: 0.5rem;
  }
}

.p-ticket__special-label {
  font-size: 1.5rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.9);
  margin: 0 0 1rem 0;
}

@media screen and (max-width: 960px) {
  .p-ticket__special-label {
    font-size: 1.2rem;
  }
}

.p-ticket__special-images {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
}

.p-ticket__special-images--combo {
  gap: 1.5rem;
  max-width: 100%;
  flex-wrap: wrap;
  justify-content: center;
}

@media screen and (max-width: 1100px) and (min-width: 961px) {
  .p-ticket__special-images--combo {
    flex-direction: column;
    align-items: center;
  }
}

.p-ticket__special-img {
  max-width: 600px;
  width: 100%;
  height: auto;
  object-fit: contain;
}

.p-ticket__special-img--bonus {
  max-width: 389px;
  height: auto;
  flex-shrink: 0;
}

.p-ticket__special-images--combo > div {
  flex-shrink: 0;
}

.p-ticket__special-images--combo .p-ticket__special-img {
  max-width: 486px;
}

.p-ticket__special-plus {
  font-size: 2rem;
  color: var(--color-white);
  font-weight: 700;
  flex-shrink: 0;
}

.p-ticket__special-note {
  margin: 1rem 0 0.5rem 0;
  font-size: 1rem;
  font-weight: 700;
  color: var(--color-red);
}

.p-ticket__special-spec {
  margin: 0;
  font-size: 0.935rem;
  font-weight: 700;
  color: var(--color-white);
  line-height: 1.6;
}

/* 手機版調整 */
@media (max-width: 960px) {
  .p-ticket__special-images {
    flex-direction: column;
    align-items: center;
  }

  .p-ticket__special-images--combo {
    flex-direction: column;
    gap: 0.1rem;
    align-items: center;
    justify-content: center;
    width: 100%;
  }

  .p-ticket__special-images--combo > img:first-child {
    width: 80%;
    flex-shrink: 0;
  }

  .p-ticket__special-images--combo > .p-ticket__special-plus {
    flex-shrink: 0;
  }

  .p-ticket__special-images--combo > div {
    width: 80%;
    flex-shrink: 0;
  }

  .p-ticket__special-img {
    max-width: 100%;
  }

  .p-ticket__special-img--bonus {
    max-width: 100%;
  }

  .p-ticket__special-plus {
    font-size: 1.5rem;
    align-self: center;
  }
}

/* Ticket Special Swiper */
.p-ticket__special-swiper {
  position: relative;
  overflow: hidden;
  padding: 0 4rem;
}

.p-ticket__special-swiper .swiper-slide {
  opacity: 0.5;
  transition: opacity 0.3s ease;
}

.p-ticket__special-swiper .swiper-slide-active {
  opacity: 1;
}

.p-ticket__special-swiper .p-ticket__special-item {
  margin-bottom: 0;
}

.p-ticket__special-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 2.5rem;
  height: 2.5rem;
  background: transparent;
  border: none;
  cursor: pointer;
  z-index: 10;
  padding: 0;
}

.p-ticket__special-nav::before {
  content: "";
  display: block;
  width: 1rem;
  height: 1rem;
  border-top: 3px solid var(--color-white);
  border-right: 3px solid var(--color-white);
  transform: rotate(45deg);
  margin: auto;
}

.p-ticket__special-nav.--prev {
  left: 0;
}

.p-ticket__special-nav.--prev::before {
  transform: rotate(-135deg);
  margin-left: 0.5rem;
}

.p-ticket__special-nav.--next {
  right: 0;
}

.p-ticket__special-nav.--next::before {
  margin-right: 0.5rem;
}

@media screen and (max-width: 960px) {
  .p-ticket__special-swiper {
    padding: 0 2.5rem;
  }

  .p-ticket__special-nav {
    width: 1.5rem;
    height: 1.5rem;
  }

  .p-ticket__special-nav::before {
    width: 0.6rem;
    height: 0.6rem;
    border-width: 2px;
  }

  .p-ticket__special-nav.--prev::before {
    margin-left: 0.3rem;
  }

  .p-ticket__special-nav.--next::before {
    margin-right: 0.3rem;
  }
}

.p-ticket__divider {
  border-bottom: 1px solid rgba(255, 255, 255, 0.3);
  margin-bottom: 2rem;
}

.p-ticket__info {
  margin-top: 2rem;
  padding-bottom: 1.5rem;
}

.p-ticket__info-header {
  margin-bottom: 1rem;
}

.p-ticket__table--info th:first-child,
.p-ticket__table--info td:first-child {
  width: 20%;
}

.p-ticket__table--info th:nth-child(2),
.p-ticket__table--info td:nth-child(2) {
  width: 80%;
}

.p-ticket__deco {
  position: absolute;
  bottom: -20rem;
  right: -30%;
  width: 30rem;
  pointer-events: none;
  z-index: 1;
}

@media screen and (max-width: 960px) {
  .p-ticket__deco {
    width: 13rem;
    right: -2%;
    bottom: -5rem;
  }
}

.p-ticket__deco-img {
  margin: 0;
}

.p-ticket__deco-img img {
  width: 100%;
  height: auto;
}

/* ===================================
   Attention Section
   =================================== */
.p-attention {
  display: block;
  position: relative;
  margin-bottom: 3rem;
}

.p-attention__deco {
  position: absolute;
  width: 20rem;
  pointer-events: none;
  z-index: 1;
}

.p-attention__deco.--left {
  top: -15rem;
  left: -45%;
  right: calc(50% + 34vw);
}

.p-attention__deco.--right {
  bottom: -10rem;
  right: -15%;
}

@media screen and (max-width: 960px) {
  .p-attention__deco {
    width: 9rem;
  }

  .p-attention__deco.--left {
    top: -7rem;
    left: -18%;
  }

  .p-attention__deco.--right {
    bottom: -6rem;
    right: -5%;
  }
}

.p-attention__deco-img {
  margin: 0;
}

.p-attention__deco-img img {
  width: 100%;
  height: auto;
}

.attention-content {
  position: relative;
  width: 65vw;
  left: 50%;
  transform: translateX(-50%);
  background: var(--color-black);
  padding: 2.5rem;
}

@media screen and (max-width: 960px) {
  .attention-content {
    width: 80vw;
  }
}

.attention-list {
  width: fit-content;
  margin: 0 auto 2rem;
}

.attention-list li {
  padding: 0.5rem 0;
  padding-left: 1.5rem;
  position: relative;
  font-size: 1.5rem;
  color: var(--color-white);
}

.attention-list li::before {
  content: "＊";
  position: absolute;
  left: 0;
  color: var(--color-white);
}

@media screen and (max-width: 960px) {
  .attention-list li {
    font-size: 0.8rem;
  }
}

/* ===================================
   FAQ Section
   =================================== */
.p-faq {
  display: block;
  position: relative;
  margin-bottom: 8rem;
}

.p-faq__deco {
  position: absolute;
  bottom: -10rem;
  left: calc(50% + 30vw);
  width: 20rem;
  pointer-events: none;
  z-index: 1;
}

@media screen and (max-width: 960px) {
  .p-faq__deco {
    left: auto;
    right: -5%;
    bottom: -10rem;
    width: 10rem;
  }
}

.p-faq__deco-img {
  margin: 0;
}

.p-faq__deco-img img {
  width: 100%;
  height: auto;
}

.faq-list {
  position: relative;
  width: 65vw;
  left: 50%;
  transform: translateX(-50%);
  background: var(--color-black);
  padding: 2rem;
}

@media screen and (max-width: 960px) {
  .faq-list {
    width: 80vw;
  }
}

.faq-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-black);
  text-align: center;
  margin-bottom: 1.5rem;
}

.faq-item {
  max-width: 80%;
  margin-left: auto;
  margin-right: auto;
  padding: 1.5rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  text-align: left;
}

.faq-item:last-child {
  border-bottom: none;
}

.faq-question {
  display: block;
  position: relative;
  padding-left: 1.5rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
  color: var(--color-white);
  font-size: 1.5rem;
  line-height: 1.6;
}

.faq-question::before {
  content: "";
  width: 0.4rem;
  height: 70%;
  display: block;
  position: absolute;
  left: 0;
  top: 15%;
  background: var(--color-white);
}

.faq-question .q {
  display: none;
}

.faq-answer {
  padding-left: -1.5rem;
  color: var(--color-white);
  font-size: 1.5rem;
  text-align: left;
}

@media screen and (max-width: 960px) {
  .faq-question {
    font-size: 1rem;
    line-height: 1.5;
  }
  .faq-answer {
    font-size: 0.875rem;
  }
}

/* ===================================
   Footer
   =================================== */
.footer-marquee,
.p-hero-marquee {
  position: relative;
  z-index: 1;
  background: var(--black);
  overflow: hidden;
  height: 60px;
  display: flex;
  align-items: center;
}

.footer-marquee-track,
.p-hero-marquee-track {
  display: flex;
  align-items: center;
  animation: marquee 15s linear infinite;
}

.footer-marquee-track img,
.p-hero-marquee-track img {
  height: 40px;
  width: auto;
  flex-shrink: 0;
}

/* 舊版文字跑馬燈相容 */
.footer-marquee-text {
  font-family: "Chonburi", serif;
  font-size: 2.5rem;
  font-weight: 400;
  letter-spacing: 0.2em;
  white-space: nowrap;
  color: var(--white);
  line-height: 1;
  animation: marquee 20s linear infinite;
}

@keyframes marquee {
  0% { transform: translateX(-50%); }
  100% { transform: translateX(0); }
}

.footer {
  background: var(--bg-light);
  padding: 4rem 0 0 0;
  text-align: center;
  position: relative;
  z-index: 1;
}



.footer-logo {
  margin-bottom: -2rem;
  margin-top: -3rem;
}

.footer-logo img {
  display: block;
  width: 30%;
  height: auto;
  margin: 0 auto;
}

@media screen and (max-width: 960px) {
  .footer{
    padding: 2rem;
  }
  .footer-logo img {
    width: 70%;
  }
}

.footer-logo h3 {
  font-size: 0.75rem;
  color: var(--text-light);
  margin-bottom: 0.5rem;
}

.footer-logo-title {
  font-size: 2rem;
  font-weight: 900;
}

.footer-org {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-black);
  margin-bottom: 0.5rem;
}


/* Page Top Button (比照 Scroll Down 風格) */
.p-pagetop {
  width: 9.06rem;
  display: block;
  position: relative;
  cursor: pointer;
  margin-left: auto;
  margin-right: 3.125rem;
  bottom: 3rem;
  z-index: 100;
}

@media screen and (max-width: 960px) {
  .p-pagetop {
    width: 5rem;
    bottom: auto;
    right: auto;
    margin: 2rem auto 0;
  }
}

.p-pagetop::before {
  content: "";
  width: 60%;
  height: 60%;
  display: block;
  position: absolute;
  top: 50%;
  left: 50%;
  border: 0.1rem solid var(--color-black);
  border-radius: 50%;
  opacity: 0;
  transform: translate(-50%, -50%) scale(0.9);
  transition: opacity 0.35s ease, transform 0.35s ease;
}

.p-pagetop:hover::before {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}

.p-pagetop__base {
  display: block;
  position: relative;
  animation: marqueeCircle 40s linear infinite;
  pointer-events: none;
}

@media screen and (max-width: 960px) {
  .p-pagetop__base {
    animation-duration: 80s;
  }
}

.p-pagetop__base img {
  width: 100%;
  height: auto;
}

.p-pagetop__arrow {
  width: 0.1rem;
  height: 3.6rem;
  display: block;
  position: absolute;
  top: 50%;
  left: 50%;
  background: var(--color-black);
  transform: translate(-50%, -50%);
  pointer-events: none;
}

@media screen and (max-width: 960px) {
  .p-pagetop__arrow {
    height: 2.16rem;
  }
}

.p-pagetop__arrow::before {
  content: "";
  width: 0.1rem;
  height: 1.8rem;
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  background: var(--color-black);
  transform-origin: top right;
  transform: rotate(-45deg);
}

.p-pagetop__arrow::after {
  content: "";
  width: 0.1rem;
  height: 1.8rem;
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  background: var(--color-black);
  transform-origin: top left;
  transform: rotate(45deg);
}

@media screen and (max-width: 960px) {
  .p-pagetop__arrow::before,
  .p-pagetop__arrow::after {
    height: 0.94rem;
  }
}

/* ===================================
   Goods Page
   =================================== */
.goods-header {
  padding-top: 100px;
  text-align: center;
  padding-bottom: 2rem;
}

.goods-tabs {
  display: flex;
  justify-content: center;
  gap: 3.5rem;
  margin-top: 2rem;
}

@media screen and (max-width: 960px) {
  .goods-tabs {
    gap: 2.5rem;
  }
}

.goods-tab {
  padding: 0.75rem 1.5rem;
  border: 2px solid var(--black);
  border-radius: 30px;
  font-size: 0.875rem;
  cursor: pointer;
  transition: all 0.2s;
  background: var(--white);
  color: var(--black);
}

.goods-tab:hover,
.goods-tab.active {
  background: var(--black);
  color: var(--white);
}

.goods-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  padding: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.goods-item {
  background: var(--white);
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
}

.goods-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

.goods-item-image {
  aspect-ratio: 1;
  background: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-black);
  font-size: 0.875rem;
}

.goods-item-info {
  padding: 0.75rem;
}

.goods-item-name {
  background: var(--black);
  color: var(--primary-pink);
  padding: 0.5rem;
  font-size: 0.75rem;
  text-align: center;
}

.goods-notice {
  background: var(--bg-gray);
  padding: 3rem 2rem;
  margin-top: 2rem;
}

.goods-notice-content {
  max-width: 800px;
  margin: 0 auto;
}

.goods-notice h3 {
  text-align: center;
  margin-bottom: 2rem;
  font-size: 1rem;
}

.goods-notice ul {
  color: var(--text-light);
  font-size: 0.875rem;
}

.goods-notice li {
  padding: 0.5rem 0;
  padding-left: 1.5rem;
  position: relative;
}

.goods-notice li::before {
  content: "●";
  position: absolute;
  left: 0;
  color: var(--text-light);
}

/* ===================================
   Modal
   =================================== */
.modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.7);
  z-index: 2000;
  align-items: center;
  justify-content: center;
}

.modal.active {
  display: flex;
}

.modal-content {
  background: var(--white);
  max-width: 500px;
  width: 90%;
  max-height: 90vh;
  overflow: auto;
  position: relative;
}

.modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  font-size: 0.75rem;
  color: var(--text-light);
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.modal-image {
  aspect-ratio: 1;
  background: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-black);
}

.modal-info {
  padding: 1.5rem;
  background: var(--color-black);
}

.modal-info h3 {
  color: var(--color-pink);
  padding: 0.75rem 0;
  font-size: 0.875rem;
  margin-bottom: 1rem;
}

.modal-info p {
  font-size: 0.875rem;
  color: var(--color-white);
}

/* ===================================
   Responsive
   =================================== */
@media (max-width: 768px) {
  .header {
    flex-direction: column;
    gap: 0.75rem;
    padding: 0.5rem 1rem;
  }

  .header-nav {
    gap: 0.75rem;
    flex-wrap: wrap;
    justify-content: center;
  }

  .header-nav a {
    font-size: 0.65rem;
  }

  .hero-title {
    font-size: 2.5rem;
  }

  .section {
    padding: 3rem 1rem;
  }

  .section-title h2 {
    font-size: 3.5rem;
  }

  .goods-grid {
    grid-template-columns: repeat(2, 1fr);
    padding: 1rem;
    gap: 1rem;
  }
}

/* ==========================================================================
   Loader Animation
   ========================================================================== */

/* 頁面內容初始隱藏 */
.l-header,
.l-header__ticket,
.l-nav,
.p-menu,
.p-hero,
.p-hero__scroll,
.l-top,
.footer-marquee,
.footer,
.goods-header,
.goods-section,
.goods-notice {
  opacity: 0;
}

body.is-load .l-header,
body.is-load .l-header__ticket,
body.is-load .l-nav,
body.is-load .p-menu,
body.is-load .p-hero,
body.is-load .p-hero__scroll,
body.is-load .l-top,
body.is-load .footer-marquee,
body.is-load .footer,
body.is-load .goods-header,
body.is-load .goods-section,
body.is-load .goods-notice {
  opacity: 1;
  transition: opacity 0.5s cubic-bezier(0.5, 1, 0.89, 1);
}

/* Loader 基礎樣式 */
.c-loader {
  width: 17rem;
  height: 2rem;
  display: flex;
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 9999;
  pointer-events: none;
}

body.is-load .c-loader {
  opacity: 0;
  transition: opacity 0.8s cubic-bezier(0.5, 1, 0.89, 1);
}

/* 四色圓球定位 */
.c-loader__item {
  height: 2rem;
  width: 2rem;
  display: block;
  position: absolute;
  left: 7.5rem;
}

.c-loader__item:nth-child(1) { z-index: 4; transform: translateX(-4.5rem); }
.c-loader__item:nth-child(2) { z-index: 3; transform: translateX(-1.5rem); }
.c-loader__item:nth-child(3) { z-index: 2; transform: translateX(1.5rem); }
.c-loader__item:nth-child(4) { z-index: 1; transform: translateX(4.5rem); }

.c-loader__item::before {
  content: "";
  width: 100%;
  height: 100%;
  display: block;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  border-radius: 50%;
}

/* 四角色代表色：藍(虹夏)、粉(喜多)、黃(山田涼)、紅(波奇) */
.c-loader__item:nth-child(1)::before { background: var(--color-blue); }
.c-loader__item:nth-child(2)::before { background: var(--color-pink); }
.c-loader__item:nth-child(3)::before { background: var(--color-yellow); }
.c-loader__item:nth-child(4)::before { background: var(--color-red); }

/* 彈跳動畫 */
@keyframes loader-bounce {
  0% { top: 0; }
  5% { margin-left: -2px; top: 0.4rem; width: 2.4rem; height: 1.6rem; }
  10% { margin-left: -0.1rem; top: 0.4rem; width: 2.2rem; height: 1.8rem; }
  15% { margin-left: 0.1rem; top: -1.7rem; width: 1.8rem; height: 2.2rem; }
  22% { margin-left: 0; top: -3.4rem; width: 2rem; height: 2rem; }
  29% { margin-left: 0.1rem; top: -1.7rem; width: 1.8rem; height: 2.2rem; }
  34% { margin-left: 0.1rem; top: 0; width: 1.8rem; height: 2.2rem; }
  40% { margin-left: -0.1rem; top: 0.4rem; width: 2.2rem; height: 1.8rem; }
  43%, 100% { margin-left: 0; top: 0; width: 2rem; height: 2rem; }
}

.c-loader__item:nth-child(1)::before { animation: loader-bounce 1.4s ease-in-out infinite 0s; }
.c-loader__item:nth-child(2)::before { animation: loader-bounce 1.4s ease-in-out infinite 0.08s; }
.c-loader__item:nth-child(3)::before { animation: loader-bounce 1.4s ease-in-out infinite 0.16s; }
.c-loader__item:nth-child(4)::before { animation: loader-bounce 1.4s ease-in-out infinite 0.24s; }

/* 手機版縮放 */
@media screen and (max-width: 960px) {
  .c-loader {
    transform: translate(-50%, -50%) scale(0.75);
  }
}

/* ==========================================================================
   Hero 角色跳出動畫
   ========================================================================== */

.p-hero__chara-img {
  opacity: 0;
  transform: translateY(35vh);
  transition: opacity 0.6s cubic-bezier(0.5, 1, 0.89, 1),
              transform 0.6s cubic-bezier(0.5, 1, 0.89, 1);
}

body.is-load .p-hero__chara-img {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.6s cubic-bezier(0.5, 1, 0.89, 1),
              transform 1.2s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* 各角色不同起始位置與延遲 */
.--bocchi .p-hero__chara-img {
  transform: translate(18%, 35vh);
}
body.is-load .--bocchi .p-hero__chara-img {
  transition-delay: 0.6s;
}

.--nijika .p-hero__chara-img {
  transform: translate(-10%, 35vh);
}
body.is-load .--nijika .p-hero__chara-img {
  transition-delay: 0.8s;
}

.--ryo .p-hero__chara-img {
  transform: translate(15vh, 15vh);
}
body.is-load .--ryo .p-hero__chara-img {
  transition-delay: 1.1s;
}

.--ikuyo .p-hero__chara-img {
  transform: translate(-10vh, 15vh);
}
body.is-load .--ikuyo .p-hero__chara-img {
  transition-delay: 1.4s;
}
