.event-section[data-astro-cid-syod6dm2] {
  position: relative;
  padding-block-end: 3rem;
  padding-inline: 1rem;
}

.event-section-inner[data-astro-cid-syod6dm2] {
  position: relative;
  max-inline-size: 890px;
  margin-inline: auto;
  padding: 1.5rem 5svw;
  background: #fff;
  border: 3px solid var(--theme-color-box-border);
  border-radius: 1rem;
  font-size: 16px;
}

.event-section-inner--themed[data-astro-cid-syod6dm2] {
  background: var(--theme-color-box-bg);
}

.event-section-heading[data-astro-cid-syod6dm2] {
  margin-block-end: 2rem;
}

.event-section-heading-image[data-astro-cid-syod6dm2] {
  display: block;
  max-inline-size: 100%;
  block-size: auto;
  margin-inline: auto;
}

.event-section-heading-fallback[data-astro-cid-syod6dm2] {
  margin: 0;
  font-size: 1.5rem;
  font-weight: bold;
}

.event-section-subheading[data-astro-cid-syod6dm2] {
  margin-block-start: .75rem;
  margin-block-end: 0;
  font-size: 1rem;
}
.floating-menu-toggle[data-astro-cid-zoyflqu5] {
  position: fixed;
  left: 1rem;
  bottom: 1rem;
  z-index: 100;
  inline-size: 90px;
  block-size: 86px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 2px solid #fff;
  background: var(--theme-color-button-bg, #f98656);
  color: #fff;
  font-size: 20px;
  font-weight: var(--font-weight-bold, 700);
  box-shadow: 0 10px 0 var(--button-shadow-color, #3c434f94);
  cursor: pointer;
  transition: transform .1s, box-shadow .1s, background .2s;

  @media (width >= 768px) {
    left: 1rem;
    bottom: 3rem;
  }
}

.floating-menu-toggle[data-astro-cid-zoyflqu5]:hover, .floating-menu-toggle[data-astro-cid-zoyflqu5]:focus-visible {
  background: color-mix(in oklch, var(--theme-color-button-bg, #f98656) 85%, black);
  transform: translateY(4px);
  box-shadow: 0 6px 0 var(--button-shadow-color, #3c434f94);
}

.floating-menu-toggle[data-astro-cid-zoyflqu5]:active {
  transform: translateY(10px);
  box-shadow: 0 0 0 var(--button-shadow-color, #3c434f94);
}

@media (prefers-reduced-motion: reduce) {
  .floating-menu-toggle[data-astro-cid-zoyflqu5] {
    transition-property: background;
  }

  .floating-menu-toggle[data-astro-cid-zoyflqu5]:hover, .floating-menu-toggle[data-astro-cid-zoyflqu5]:focus-visible, .floating-menu-toggle[data-astro-cid-zoyflqu5]:active {
    transform: none;
    box-shadow: 0 10px 0 var(--button-shadow-color, #3c434f94);
  }
}

.floating-menu-panel[data-astro-cid-zoyflqu5] {
  position: fixed;
  inset: auto auto 4.5rem 2rem;
  z-index: 10;
  margin: 0;
  padding: .5rem 2rem 2rem;
  border: none;
  border-radius: 1.5rem;
  background: #fff;
  box-shadow: 0 .25rem 1rem #0003;
  inline-size: min(85svw, 923px);
  border: 2px solid var(--theme-color-button-bg, #f98656);
  display: none;
  opacity: 0;
  transform: translateY(.5rem) scale(.95);
  transition-property: opacity, transform, display;
  transition-duration: .2s;
  transition-timing-function: ease-out;
  transition-behavior: allow-discrete;

  @media (width >= 768px) {
    inset: auto auto 6rem 2rem;
    padding: 2rem;
  }
}

.floating-menu-panel[data-astro-cid-zoyflqu5].is-open {
  display: block;
  opacity: 1;
  transform: translateY(0) scale(1);

  @starting-style {
    opacity: 0;
    transform: translateY(.5rem) scale(.95);
  }
}

.floating-menu-body[data-astro-cid-zoyflqu5] {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

@media (width >= 768px) {
  .floating-menu-body[data-astro-cid-zoyflqu5] {
    flex-direction: row;
    align-items: flex-start;
  }

  .floating-menu-body[data-astro-cid-zoyflqu5] > nav[data-astro-cid-zoyflqu5] {
    flex: 1;
  }
}

.floating-menu-event[data-astro-cid-zoyflqu5] {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  flex-shrink: 0;
  inline-size: 100%;
  padding-block-start: 1rem;
}

@media (width >= 768px) {
  .floating-menu-event[data-astro-cid-zoyflqu5] {
    inline-size: min(45%, 410px);
  }
}

.floating-menu-logo[data-astro-cid-zoyflqu5] {
  display: block;
  inline-size: min(100%, 44.4444svw);
  block-size: auto;

  @media (width >= 768px) {
    inline-size: min(100%, 33.0909svw);
  }
}

.floating-menu-label[data-astro-cid-zoyflqu5] {
  display: inline-block;
  background-color: var(--theme-color-point);
  color: #fff;
  padding: .25rem 1rem;
  font-size: clamp(12px, 1.73348svw, 16px);
  font-weight: var(--font-weight-bold);
}

.floating-menu-date[data-astro-cid-zoyflqu5] {
  margin: 0;
  color: #555;
  white-space: nowrap;
}

.floating-menu-date-num[data-astro-cid-zoyflqu5] {
  font-weight: var(--font-weight-bold);
}

.floating-menu-anchors[data-astro-cid-zoyflqu5] {
  display: grid;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}

.floating-menu-anchors[data-astro-cid-zoyflqu5] li[data-astro-cid-zoyflqu5] {
  border-bottom: 1px solid #e0e0e0;
}

.floating-menu-anchors[data-astro-cid-zoyflqu5] li[data-astro-cid-zoyflqu5]:last-child {
  border-bottom: none;
}

.floating-menu-anchors[data-astro-cid-zoyflqu5] a[data-astro-cid-zoyflqu5] {
  display: flex;
  align-items: center;
  gap: .5rem;
  padding: .75rem .5rem;
  color: inherit;
  text-decoration: none;
  white-space: nowrap;
  font-weight: var(--font-weight-bold);
}

.floating-menu-anchors[data-astro-cid-zoyflqu5] a[data-astro-cid-zoyflqu5]:before {
  content: "";
  display: inline-block;
  inline-size: 0;
  block-size: 0;
  border-style: solid;
  border-width: .4rem 0 .4rem .6rem;
  border-color: transparent transparent transparent var(--theme-color-point);
}

.floating-menu-anchors[data-astro-cid-zoyflqu5] a[data-astro-cid-zoyflqu5]:hover, .floating-menu-anchors[data-astro-cid-zoyflqu5] a[data-astro-cid-zoyflqu5]:focus-visible {
  background: #f5f5f5;
}

.floating-menu-chara[data-astro-cid-zoyflqu5] {
  position: absolute;
  right: -1.5rem;
  bottom: -2.5rem;
  inline-size: min(170px, 22svw);
  block-size: auto;
  pointer-events: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  user-select: none;
  z-index: 1;

  @media (width >= 768px) {
    right: min(-6rem, -6svw);
    bottom: -6rem;
    inline-size: min(220px, 22svw);
  }
}

@media (prefers-reduced-motion: reduce) {
  .floating-menu-panel[data-astro-cid-zoyflqu5] {
    transform: none;
    transition-duration: 10ms;
  }

  .floating-menu-panel[data-astro-cid-zoyflqu5].is-open {
    transform: none;

    @starting-style {
      transform: none;
    }
  }
}
.status-overlay[data-astro-cid-smqn6nkc] {
  position: relative;
  display: block;
  inline-size: 100%;
  min-block-size: 110px;
}

.status-overlay[data-astro-cid-smqn6nkc]:has(.status-overlay__body:not(:empty)) {
  min-block-size: auto;
}

.status-overlay__body[data-astro-cid-smqn6nkc] {
  position: relative;
}

.status-overlay__body[data-astro-cid-smqn6nkc]:empty {
  min-block-size: 110px;
}

.status-overlay__text[data-astro-cid-smqn6nkc] {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) rotate(-10deg);
  color: #fff;
  font-size: 42px;
  font-weight: 900;
  letter-spacing: 2px;
  white-space: nowrap;
  pointer-events: none;
  -webkit-text-stroke: 8px var(--status-overlay-outline-color, #ff8000);
  paint-order: stroke;
}

@media (width <= 767px) {
  .status-overlay__text[data-astro-cid-smqn6nkc] {
    font-size: 32px;
  }
}
@layer page {
  /* ============================================================
     event-base.css — イベントページ共通スタイル
     各イベントページで theme.css / page.css より先に import する。
     クラス名は kebab-case 統一。
     ============================================================ */

  /* ============================================================
     イベントヒーロー
     トップページの .hero を .event-hero-* にリネームして移植したもの。
     背景色は body に委譲（各イベントの theme.css で --theme-color-surface-primary を body に適用）。
     アニメは flicker ではなく一括 fade（.event-hero.is-ready で子要素 opacity 0→1）。
     site-header は z-index:10 のため event-hero 内は 0-2 で自然に潜り込む。
     ============================================================ */
  .event-hero {
    display: grid;
    place-items: center;
    padding-block-start: 0;
    padding-block-end: 0;
    text-align: center;
    /* .event-hero-brand / .event-hero-head の absolute 基準として必須 */
    position: relative;
  }

  .event-hero-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
    width: 100%;
    z-index: 1;
  }

  /* body の一番上に敷かれるトップ帯画像。bg の手前、brand の奉。 */
  .event-hero-head {
    display: block;
    width: 100%;
    position: absolute;
    top: 0;
    inset-inline: 0;
    z-index: 1;

    img {
      inline-size: 100%;
      block-size: auto;
    }
  }

  /* 左上コーナーのブランドタイトル SVG（旧 .hero-title に相当）。 .event-hero-body の中に入れて BG と MV の間のレイヤーに配置。 */
  .event-hero-brand {
    aspect-ratio: 1 / var(--hero-title-ratio);
    margin: 0;
    position: absolute;
    top: 1svw;
    left: 1svw;
    width: min(var(--hero-title-inline-size), var(--max-title-inline-size));
    z-index: 2;

    svg {
      inline-size: 100%;
      block-size: auto;
      width: 100%;
      fill: var(--theme-color-surface-secondary);
    }
  }

  .event-hero-body {
    aspect-ratio: 1 / 1.12;
    width: 100%;
    position: relative;
    pointer-events: none;
    -webkit-user-select: none;
       -moz-user-select: none;
            user-select: none;
  }

  @media (min-width: 768px) {
    .event-hero-body {
      aspect-ratio: 1 / 0.8;
    }
  }
  .event-hero-bg {
    display: block;
    width: 100%;
    block-size: 100%;
    overflow: hidden;
    position: absolute;
    top: 0;
    z-index: 0;

    img {
      inline-size: 100%;
      block-size: 100%;
      -o-object-fit: contain;
         object-fit: contain;
    }
  }
  @media (min-width: 768px) {
    .event-hero-bg {
      img {
        -o-object-fit: cover;
           object-fit: cover;
      }
    }
  }

  .event-hero-mv {
    display: block;
    width: 100%;
    block-size: 100%;
    overflow: hidden;
    position: absolute;
    top: 1svb;
    z-index: 3;

    img {
      inline-size: 100%;
      block-size: 100%;
      -o-object-fit: contain;
         object-fit: contain;
    }
  }

  @media (min-width: 768px) {
    .event-hero-mv {
      width: min(60%, 60svw);
      inset: 0;
      margin: auto;

      img {
        block-size: auto;
      }
    }
  }

  /* MV の上に重なるアイコン。縦位置は Phase 4 で調整予定（暫定 top:0）。 */
  .event-hero-icon {
    display: block;
    width: 100%;
    position: absolute;
    top: 11%;
    inset-inline: 0;
    z-index: 4;

    img {
      inline-size: 100%;
      block-size: auto;
      -o-object-fit: contain;
         object-fit: contain;
    }
  }

  .event-hero-logo {
    display: block;
    width: 36svw;
    block-size: auto;
    position: absolute;
    bottom: 6svw;
    left: 50%;
    translate: -50% 0;
    z-index: 4;
  }

  @media (min-width: 768px) {
    .event-hero-logo {
      bottom: 0;
    }
  }

  .event-hero-foot {
    inline-size: 100%;
  }

  .event-hero-foot-info {
    display: flex;
    flex-direction: column;
    inline-size: 100%;
    padding-block-start: 2.5svw;
    padding-block-end: 2.5svw;

    h2 {
      align-self: center;
      background-color: var(--theme-color-point);
      color: #fff;
      padding: 0.25rem 1rem;
    }

    .event-hero-foot-info-date {
      inline-size: 100%;
      /* テキスト部分（年/月/日/曜日など非数字）のフォントサイズ。
         モバイル(<768px)は緩やかに、タブレット以上(≥768px)は 1400px 基準の比例スケール。
         768px 時点で両式とも 24px になるよう境界を接続。 */
      font-size: clamp(16px, calc(20 / 375 * 100svw), 24px);
      font-weight: var(--font-weight-bold);
      color: #fff;
      align-self: center;
      margin: 0
    }

    .event-hero-foot-info-date-num {
      /* 数字部分。モバイル(<768px)は 22→40px の緩やかスケール、タブレット以上(≥768px)は下記 media query。
         768px 時点で 40px になるよう境界を接続。 */
      font-size: clamp(22px, calc(30 / 375 * 100svw), 40px);
    }

    @media (min-width: 768px) {
      .event-hero-foot-info-date {
        font-size: clamp(24px, calc(38 / 1400 * 100svw), 45px);
      }

      .event-hero-foot-info-date-num {
        font-size: clamp(40px, calc(64 / 1400 * 100svw), 77px);
      }
    }
  }

  /* フェードイン: imgLoadTrigger で .is-ready が付いたら順次 opacity 0→1
     トップページ .hero と同じ 3 段階表示（0.1s / 0.7s / 1.35s）で統一感を出す。 */
  .event-hero-head,
  .event-hero-brand,
  .event-hero-bg,
  .event-hero-mv,
  .event-hero-icon,
  .event-hero-logo,
  .event-hero-foot-info {
    opacity: 0;
  }

  /* Stage 1 (0.1s): 背景 */
  .event-hero.is-ready .event-hero-bg {
    opacity: 1;
    transition: opacity 0.5s ease-out 0.1s;
  }

  /* Stage 2 (0.7s): メインビジュアル + ブランドタイトル + ヘッド装飾 + アイコン */
  .event-hero.is-ready .event-hero-mv,
  .event-hero.is-ready .event-hero-brand,
  .event-hero.is-ready .event-hero-head,
  .event-hero.is-ready .event-hero-icon {
    opacity: 1;
    transition: opacity 0.5s ease 0.7s;
  }

  /* Stage 3 (1.35s): ロゴ + 開催期間情報 */
  .event-hero.is-ready .event-hero-logo,
  .event-hero.is-ready .event-hero-foot-info {
    opacity: 1;
    transition: opacity 0.5s ease 1.35s;
  }

  .event-section {
    h3 {
      color: var(--theme-color-subtitle);
      text-align: center;
      font-size: clamp(20px, calc(30 / 1400 * 100svw), 36px);
      font-weight: var(--font-weight-bold);
    }
  }

  .event-section-body > h3:first-child {
    margin-block-start: 0;
  }

  .event-sp-link {
    text-align: center;
    font-weight: var(--font-weight-bold);

    a + span {
      margin-inline-start: 0.5rem;
    }
  }

  dl.event-dl {
    dt {
      font-size: 27px;
      padding-block-end: 0.5em;
      border-block-end: 1px solid #000;
      font-weight: var(--font-weight-bold);
    }
    dd {
      margin: 0;

      &+ dt {
        margin-block-start: 1.5rem;
      }
    }
  }

  .date-dl {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 0;

    dt {
      inline-size: 90%;
      background-color: #f6f7dc;
      border-radius: 5rem;
      padding: 1rem;
      text-align: center;
      margin-block-end: 1rem;
      font-weight: var(--font-weight-bold);
      margin-block-start: 1rem;

      &:first-of-type {
        margin-block-start: 0;
      }
    }

    dd {
      display: flex;
      flex-wrap: wrap;
      align-items: center;
      gap: 0.75em;
      margin: 0.25rem 0 0 0;

      & > span:first-child {
        background-color: var(--theme-color-point);
        color: #fff;
        padding: 0.25rem 1rem;
        font-weight: var(--font-weight-bold);
      }
    }

    .num {
      font-size: 1.5em;
      font-weight: var(--font-weight-bold);
      line-height: 1;
    }
  }

  .event-centered-text {
    text-align: center;
  }

  /* バナー画像・ダミー商品画像などをセクション内で中央寄せするラッパー */
  .event-image-center {
    margin-block: 1.5rem;
  }

  .event-image-center img {
    max-inline-size: 100%;
    block-size: auto;
    margin-inline: auto;
  }

  .event-info-reserve {
    margin-block-start: 2rem;
    margin-block-end: 2rem;
    text-align: center;
  }

  /* 地図（差し替え可能ブロック） */
  .map-embed {
    margin-block-start: 1.5rem;
    aspect-ratio: 1 / 0.468;
    overflow: hidden;
    border-radius: 0.5rem;
  }

  .map-embed iframe,
  .map-embed img {
    inline-size: 100%;
    block-size: 100%;
    -o-object-fit: cover;
       object-fit: cover;
    border: none;
  }

  .event-illust-artist {
    margin-block-end: min(4rem, 4svw);
    border-block-end: #000 1px solid;
  }

  .event-illust-artist-name {
    span {
      text-align: center;
      display: block;
    }
  }

  .event-illust-artist-links {
    list-style: none;
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    padding: 0;
  }

  .container {
    padding: 1.5rem 5svw;
    text-align: center;
  }

  /* FAQ ベタ表示は .event-dl に統合済み（.faq-list* は廃止） */
}
@layer theme {
  :root {
    /* 大阪カラートークン（用途別セマンティックトークン。値はここに直接指定する。
       都市展開時はこのブロックの値を差し替えるだけで良い。
       --theme- prefix はイベントテーマ由来トークンの目印。共通CSS/他ページからは参照しない規約 */
    --theme-color-surface-primary: #62B0E3;                     /* 背景 */
    --theme-color-heading: var(--theme-color-surface-primary);  /* 中面ヘッダータイトルなど（カンプでは画像化されており現状未使用。将来テキスト化する場合の予備） */
    --theme-color-surface-text: #D2E7F6;                        /* 背景テキスト用の背景色 */
    --theme-color-button-bg: #F98656;                           /* ボタン */
    --theme-color-menu-border: var(--theme-color-button-bg);    /* メニューボーダー（ボタンと同色） */
    --theme-color-link: #F5A100;                                /* リンク */
    --theme-color-point: var(--theme-color-link);               /* ポイントカラー（リンクと同色） */
    --theme-color-subtitle: #0F8CCF;                            /* サブタイトル */
    --theme-color-box-bg: #F6F7DC;                              /* 概要BOX・サブテキスト背景色 */
    --theme-color-box-border: #4792BF;                          /* BOXボーダー */
    --theme-color-surface-secondary: #2e97fb;

    /* color-mix() 派生例（実際に使うインタラクション状態が固まったら調整） */
    --theme-color-surface-primary-hover: color-mix(in oklch, var(--theme-color-surface-primary) 85%, black);
    --theme-color-surface-primary-muted: color-mix(in oklch, var(--theme-color-surface-primary) 30%, white);
    --theme-color-button-bg-hover: color-mix(in oklch, var(--theme-color-button-bg) 85%, black);
    --theme-color-link-hover: color-mix(in oklch, var(--theme-color-link) 85%, black);

    /* トップページのヒーロータイトル SVG 塗り色。イベントページでも参照可 */
    --theme-top-brand-color: #fff;
  }
}@layer page {
  /* 大阪ページ固有のレイアウト・コンポーネントスタイルはここに追加していく */

  /* パララックス画像が画面外にはみ出しても横スクロールバーが出ないよう clip。
     （sticky 等への影響を避けるため hidden ではなく clip を使用） */
  main {
    overflow-x: clip;
  }

  /* hero と背景色を統一するためページ全体を surface-primary に。
     セクション内で白背景が必要な場合は個別に上書きする。 */
  body {
    background: var(--theme-color-surface-primary);
    color: #222;
  }
  h1 {
    color: var(--theme-color-subtitle);
  }

  /* イベント情報セクション内のアンカーリンク一覧 */
  .event-info-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
  }

  /* 各 li は横幅いっぱいに広げ、内側の ButtonLink を中央寄せする。
     こうしないと ButtonLink の inline-size: min(100%, 728px) が
     content 幅ベースで解決されてしまい細くなる。 */
  .event-info-list > li {
    display: flex;
    justify-content: center;
  }

  /* ============================================================
     セクション左右のパララックス装飾画像
     基準は .event-section-inner の端。コンテンツより上に重なるよう z-index を調整。
     ============================================================ */
  .event-section-parallax-layer {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 1;
  }

  .event-section-parallax {
    position: absolute;
    inline-size: var(--parallax-size, clamp(70px, 14vw, 150px));
    z-index: 1;
  }

  .event-section-parallax-visual {
    transform: rotate(var(--parallax-rotate, 0deg)) scaleX(var(--parallax-flip, 1));
  }

  .event-section-parallax img {
    display: block;
    inline-size: 100%;
    block-size: auto;
  }

  /* 基準を .event-section-inner の左右端にする。
     基礎 translate は inner の余白を超えない範囲。offset 変数で微調整可能。 */
  .event-section-parallax--left {
    left: 0;
    translate: calc(-50% + var(--parallax-offset, 0px)) 0;
  }

  .event-section-parallax--right {
    right: 0;
    translate: calc(50% + var(--parallax-offset, 0px)) 0;
  }

  @media (max-width: 767px) {
    .event-section-parallax {
      inline-size: var(--parallax-size, clamp(60px, 18vw, 110px));
    }
  }
}
