:root {
  /* Brand Colors */
  --color-blue: #32bfe6;
  --color-orange: #ffa216;
  --color-yellow: #fffb00;
  --color-pink: #e5206d;
  --color-white: #ffffff;

  /* Hero */
  --color-hero-overlay: rgba(28, 191, 255, 0.4);

  /* Footer */
  --color-footer-bg: #0c6f8e;

  /* Shadows */
  --shadow-card: 5px 5px 26px 0px rgba(53, 53, 53, 0.25);

  /* Border Radius */
  --radius-card: 30px;
  --radius-btn: 100px;

  /* Typography */
  --font-noto: 'Noto Sans JP', sans-serif;
  --font-oswald: 'Oswald', sans-serif;

  /* Layout */
  --page-width: 1440px;
}
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html {
  font-size: 16px;
}
body {
  font-family: var(--font-noto);
  background-color: var(--color-white);
  overflow-x: hidden;
}
img {
  display: block;
  max-width: 100%;
}
a {
  text-decoration: none;
  color: inherit;
}
ul,
ol {
  list-style: none;
}
address {
  font-style: normal;
}
/* ----------------------------------------
   Page wrapper
   ---------------------------------------- */
.page {
  position: relative;
  width: 100%;
  background-image: url("/public/bg_wave_pattern.png");
  background-size: 35px 11.69px;
  background-position: top left;
  background-repeat: repeat;
}
/* ----------------------------------------
   Button – shared base
   ---------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-btn);
  cursor: pointer;
  font-family: var(--font-noto);
  font-weight: 700;
  font-style: normal;
  line-height: normal;
  white-space: nowrap;
  border: none;
  transition: opacity 0.2s ease;
}
/* ----------------------------------------
   Venue card CTA button (white bg)
   Used inside coloured venue cards
   ---------------------------------------- */
.btn--cta {
  width: 100%;
  padding: 12px 0;
  font-size: 30px;
  background-color: var(--color-white);
}
.btn--cta.btn--blue-text {
    color: var(--color-blue);
  }
.btn--cta.btn--orange-text {
    color: var(--color-orange);
  }
/* ----------------------------------------
   Outline white button (footer contact)
   ---------------------------------------- */
.btn--outline-white {
  padding: 10px 20px;
  font-size: 16px;
  color: var(--color-white);
  background-color: transparent;
  border: 2px solid var(--color-white);
  min-width: 200px;
}
/* ----------------------------------------
   Hero / MV Section
   Figma: width 1440 × height 859, overflow clip
   ---------------------------------------- */
.hero {
  position: relative;
  width: 100%;
  height: 859px;
  background: url(/public/hero_pc.png) no-repeat center top / cover;
  overflow: hidden;
  z-index: 1;
}
.hero__inner {
  position: relative;
  width: 100%;
  height: 100%;
  max-width: 1440px;
  margin: 0 auto;
}
/* ---------- Background ---------- */
.hero__bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.hero__bg-img {
  position: absolute;
  width: 106.39%;
  height: 133.76%;
  top: -4.46%;
  left: 0;
  -o-object-fit: cover;
     object-fit: cover;
  max-width: none;
}
.hero__catchphrase {
  position: absolute;
  left: 56px;
  top: 33px;
  width: 642px;
  height: 160px;
  z-index: 4;
}
.hero__catchphrase img {
    width: 100%;
    height: 100%;
    -o-object-fit: contain;
       object-fit: contain;
    pointer-events: none;
  }
/* ---------- Main Logo ---------- */
/* Figma: left 435, top 101, size 526×526 */
.hero__logo {
  position: absolute;
  inset: 0;
  width: 526px;
  height: 526px;
  margin: auto;
  transform: translateY(-7%);
  z-index: 3;
}
.hero__logo img {
    position: relative;
    z-index: 1;
    width: 100%;
    height: 100%;
    -o-object-fit: cover;
       object-fit: cover;
    pointer-events: none;
  }
.hero__logo::before {
    content: "";
    position: absolute;
    left: -219px;
    top: -40px;
    width: 964.42px;
    height: 587.8px;
    background-image: url("/public/splash.png");
    background-size: contain;
    background-repeat: no-repeat;
    background-position: left top;
    z-index: 0;
    pointer-events: none;
  }
/* ---------- Wave overlay decorations (bottom of hero) ---------- */
/* image2: left 19.44%, right 23.06%, top 630, aspect 2252/392
   width は left + right の差分から自動計算、height は aspect-ratio で導出 */
.hero__wave-mid {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 11%;
  width: 780px;
  height: auto;
  margin: 0 auto;
  aspect-ratio: 824 / 144;
  max-width: none;
  pointer-events: none;
  z-index: 4;
}
/* image3: left 53.96%, right 3.26%, top 687, aspect 1583/346 */
.hero__wave-right {
  position: absolute;
  left: auto;
  right: 3.26%;
  bottom: 3%;
  width: 600px;
  height: auto;
  aspect-ratio: 1583 / 346;
  max-width: none;
  pointer-events: none;
  z-index: 4;
}
/* ======================================
   Hero – Mobile ( < 767px )
   Figma SP artboard: 440w × 743h
   vw 値は 440px 基準で算出
   ====================================== */
@media (width < 767px) {
  .hero {
    height: 100svh;
    min-height: 150vw;
    max-height: 180vw;
  }

  /* 背景画像: SP Figma の % 配置を再現
     w=313.94%, h=139.43%, left=-141.18%, top=-26.08% */
  .hero__bg-img {
    width: 313.94%;
    height: 139.43%;
    top: -26.08%;
    left: -141.18%;
  }

  /* キャッチコピー: left=23px→5.23vw, top=6.73%, w=82.48vw, h=12.18% */
  .hero__catchphrase {
    left: 6vw;
    right: auto;
    top: 4%;
    width: 90vw;
    height: 14%;
  }

    .hero__catchphrase img {
      width: 100%;
      height: 100%;
    }

  /* ロゴ: left=8.41vw, top=20.32%, size=82.04vw */
  .hero__logo {
    width: 82vw;
    height: 82vw;
    transform: translateY(-12%);

    /* スプラッシュ: SP Figmaの絶対座標から算出
       splash(left=-85, top=150) – logo(left=37, top=151) = (-122, -1)px at 440px
       vw 換算: -122/440=-27.73vw, w=640/440=145.45vw, h=390/440=88.64vw */
  }
    .hero__logo::before {
      left: -27.73vw;
      top: 0;
      width: 145.45vw;
      height: 88.64vw;
      transform: none;
      transform-origin: initial;
    }

  /* 波デコレーション: SP では表示、% ベースの位置に変更
     image2: left=2.73%, right=0.68%, top=530/743=71.33%
     image3: left=3.86%, right=1.45%, top=586/743=78.87% */
  .hero__wave-mid {
    display: block;
    left: 2.73%;
    right: 0.68%;
    bottom: 18%;
    width: 92vw;
    height: auto;
  }

  .hero__wave-right {
    display: block;
    left: 3.86%;
    right: 1.45%;
    bottom: 8%;
    width: 95vw;
    height: auto;
  }
}
/* ----------------------------------------
   Venues Section
   Figma: centered, top 955px (96px below hero)
   ---------------------------------------- */
.venues {
  position: relative;
  z-index: 1;
  padding-top: 96px;
  padding-bottom: 120px;
}
.venues__inner {
  display: flex;
  gap: 24px;
  align-items: center;
  justify-content: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
}
/* ----------------------------------------
   Venue Card – reusable component
   Figma: w 540, rounded 30, shadow card
   ---------------------------------------- */
.venue-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: center;
  justify-content: center;
  padding: 40px 40px 48px;
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
  width: calc((100% - 12px) / 2);
  flex-shrink: 0;
  /* リンク全体をカード化するための設定 */
  position: relative;
  text-decoration: none;
  cursor: pointer;
  /* ふわっと浮くアニメーション */
  transition:
    transform 0.35s ease,
    box-shadow 0.35s ease;
}
.venue-card:hover {
    transform: translateY(-8px);
    box-shadow: 5px 24px 48px 0px rgba(53, 53, 53, 0.3);
  }
/* Color variants – written as top-level rules to avoid BEM nesting issue */
.venue-card--blue {
  background-color: var(--color-blue);
}
.venue-card--orange {
  background-color: var(--color-orange);
}
/* Wrapper for card + badge (only used for the orange card) */
.venue-card-wrapper {
  position: relative;
  display: flex;
  gap: 10px;
  align-items: center;
  flex-shrink: 0;
}
/* ---------- Venue image (with white border) ---------- */
/* Figma: h 287, border 6 white */
.venue-card__image {
  position: relative;
  width: 100%;
  aspect-ratio: 1.414 / 1;
  border: 6px solid var(--color-white);
  flex-shrink: 0;
  overflow: hidden;
}
.venue-card__image img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    -o-object-fit: cover;
       object-fit: cover;
    pointer-events: none;
  }
/* ---------- Card body (name + dates) ---------- */
.venue-card__body {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  flex-shrink: 0;
}
.venue-card__name {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: 8px;
  width: 100%;
}
/* English name line */
/* Figma: Oswald Medium 45.286px, white, tracking 3.17px, lh 1.3 */
.venue-card__name-en {
  font-family: var(--font-oswald);
  font-weight: 500;
  font-size: 45.286px;
  line-height: 1.3;
  color: var(--color-white);
  letter-spacing: 3.17px;
  white-space: nowrap;
  text-align: center;
}
/* Japanese name line */
/* Figma: Noto Sans JP Bold 45.286px, white, tracking 3.17px, lh 1.3 */
.venue-card__name-ja {
  font-family: var(--font-noto);
  font-weight: 700;
  font-style: normal;
  font-size: 45.286px;
  line-height: 1.3;
  color: var(--color-white);
  letter-spacing: 3.17px;
  white-space: nowrap;
  text-align: center;
}
/* ---------- OPEN date line ---------- */
/* Figma: Oswald Medium, yellow #fffb00, tracking 3.17px */
.venue-card__dates {
  display: block;
  font-family: var(--font-oswald);
  font-weight: 500;
  color: var(--color-yellow);
  text-align: center;
  letter-spacing: 3.17px;
  white-space: nowrap;
  line-height: normal;
}
.venue-card__dates-main {
  font-size: min(4.5vw, 44px);
  line-height: normal;
}
.venue-card__dates-sub {
  font-size: 28px;
  line-height: normal;
}
.venue-card__dates-dash {
  font-size: 45.286px;
  line-height: normal;
}
/* ----------------------------------------
   NEW OPEN Badge (orange card only)
   Figma: size 192×192, left 384, top -34 (inside wrapper)
   ---------------------------------------- */
.venue-card__badge {
  position: absolute;
  right: 0;
  top: 0;
  width: 192px;
  height: 192px;
  overflow: hidden;
  pointer-events: none;
  transform: translate(20px, -20px);
}
.venue-card__badge-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  max-width: none;
}
/* Text inner area: inset 18.23% 10.26% 26.19% 10.42% */
.venue-card__badge-text {
  position: absolute;
  top: 18.23%;
  right: 10.26%;
  bottom: 26.19%;
  left: 10.42%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.venue-card__badge-text div {
    transform: rotate(9.85deg);
    font-family: var(--font-oswald);
    font-weight: 500;
    font-size: 35px;
    color: var(--color-pink);
    text-align: center;
    white-space: nowrap;
    line-height: 1.2;
  }
/* バージョンアップテキスト */
.venue-card__versionup {
  position: absolute;
  top: 0;
  left: auto;
  right: 0;
  width: 60%;
  max-width: 300px;
  transform: translate(20%, -60%);
}
.venue-card__versionup img {
    width: 100%;
    height: 100%;
    -o-object-fit: contain;
       object-fit: contain;
    pointer-events: none;
  }
/* ======================================
   Venue Cards – Mobile ( < 767px )
   Figma SP artboard: 440w
   vw 値は 440px 基準で算出
   ====================================== */
@media (width < 767px) {
  /* セクション余白 */
  .venues {
    padding-top: 40px;
    padding-bottom: 56px;
  }

  /* 縦積みレイアウト */
  .venues__inner {
    flex-direction: column;
    align-items: center;
    gap: 40px;
    max-width: 440px;
    margin: 0 auto;
    padding: 0 20px;
  }

  /* カード: デスクトップと同じ flex column 縦積み、SP サイズに縮小 */
  .venue-card {
    display: flex;
    flex-direction: column;
    width: 100%;
    padding: 27.05px 27.05px 32.46px;
    gap: 8.115px;
    border-radius: 20.288px;
  }

  /* 画像 */
  .venue-card__image {
    border-width: 4px;
  }

  /* テキストブロック */
  .venue-card__body {
    align-items: center;
  }

  .venue-card__name {
    padding-top: 0;
    justify-content: center;
  }

  .venue-card__name-en {
    font-size: 30px;
    letter-spacing: 2px;
    text-align: center;
    white-space: nowrap;
  }

  .venue-card__name-ja {
    font-size: 30px;
    letter-spacing: 2px;
    text-align: center;
    white-space: nowrap;
  }

  .venue-card__dates {
    text-align: center;
  }

  .venue-card__dates-main {
    font-size: min(7vw, 30px);
  }

  .venue-card__dates-sub {
    font-size: 18px;
  }

  .venue-card__dates-dash {
    font-size: 30px;
  }

  /* ボタン */
  .venue-card > .btn--cta {
    font-size: 20px;
    padding: 8px 0;
  }

  /* バッジ: SP Figmaの座標から再配置・縮小 */
  .venue-card__badge {
    width: 120px;
    height: 120px;
  }

  /* バージョンアップテキスト */
  .venue-card__versionup {
    position: absolute;
    top: 0;
    left: auto;
    right: 0;
    width: 65%;
    max-width: 300px;
    transform: translate(18%, -78%);
  }

  .venue-card__badge-text div {
    font-size: 24px;
  }
}
/* ----------------------------------------
   Wave Divider / Footer
   Figma: _1 – w 1440, h 334, overflow clip
   .wave-divider をフッターとして扱い、コピーライトのみ表示
   ---------------------------------------- */
.wave-divider {
  position: relative;
  width: 100%;
  overflow: hidden;
  z-index: 1;
  aspect-ratio: 1440 / 334; /* Maintain Figma aspect ratio */

  /* Wave SVG fills the container (Figma: inset -0.15% 0) */
}
.wave-divider img {
    position: absolute;
    top: -0.15%;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    display: block;
    max-width: none;
  }
/* Copyright text overlaid on the wave */
/* Figma: bottom 6.89%, left calc(50% - 235px), text-white 16px */
.wave-divider .wave-divider__copyright {
    position: absolute;
    bottom: 6.89%;
    left: 50%;
    transform: translateX(-50%);
    font-family: var(--font-noto);
    font-weight: 500;
    font-style: normal;
    font-size: 16px;
    line-height: normal;
    color: var(--color-white);
    white-space: nowrap;
    z-index: 1;
  }
/* ======================================
   Wave Divider – Mobile ( < 767px )
   Figma SP: h 170, wave img 735px wide, bottom aligned
   ====================================== */
@media (width < 767px) {
  aspect-ratio: 440 / 170; /* Maintain Figma SP aspect ratio */
    .wave-divider img {
      top: auto;
      left: 0;
      bottom: 0;
      width: 100vw;
      height: 100%;
      -o-object-fit: cover;
         object-fit: cover;
    }

    .wave-divider .wave-divider__copyright {
      font-size: 12px;
      line-height: 15px;
      white-space: normal;
      text-align: center;
      width: 90%;
    }
}
