/* ========================================
   Web Fonts — LINE Seed JP
======================================== */
@font-face {
  font-family: 'LINE Seed JP';
  src: url('assets/fonts/LINESeedJP_OTF_Th.woff2') format('woff2');
  font-weight: 100;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'LINE Seed JP';
  src: url('assets/fonts/LINESeedJP_OTF_Rg.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'LINE Seed JP';
  src: url('assets/fonts/LINESeedJP_OTF_Bd.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'LINE Seed JP';
  src: url('assets/fonts/LINESeedJP_OTF_Eb.woff2') format('woff2');
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}

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

html {
  font-size: 16px;
  overflow-x: hidden;
}

body {
  font-family: 'LINE Seed JP', 'Helvetica Neue', Arial, 'Hiragino Kaku Gothic ProN', 'Hiragino Sans', Meiryo, sans-serif;
  background: #ffffff;
  color: var(--text);
  overflow-x: hidden;
  width: 100%;
  line-height: 1.8;
}

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

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

/* ========================================
   Variables
======================================== */
:root {
  --red:        #B50407;
  --red-dark:   #8c0006;
  --green:      #1e6626;
  --teal:       #007a8c;
  --text:       #373737;
  --text-sub:   #3a3228;
  --muted:      #6a5e4a;
  --border:     #e0dbd2;
  --bg-section: #ffffff;
}

/* ========================================
   Layout
======================================== */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ========================================
   FIXED BARS（固定ボタン・SNSアイコン）
======================================== */

/* ===== PC: 右サイドバー ===== */
.fixed-bar {
  position: fixed;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 200;
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: center;
}

/* チケットSVG（CTA共通）— ボタン（リンク）ホバーで傾き */
.ticket-icon {
  display: block;
  flex-shrink: 0;
  height: auto;
  transition: transform 0.22s ease;
}

.btn-ticket:hover .ticket-icon,
.fixed-ticket:hover .ticket-icon,
.fixed-bottom-ticket:hover .ticket-icon {
  transform: rotate(18deg);
}

.ticket-icon--cta {
  width: clamp(22px, 1.15em, 28px);
}

.ticket-icon--sidebar {
  width: clamp(24px, 1.1em, 30px);
}

.ticket-icon--bottom {
  width: clamp(18px, 1.05em, 22px);
}

.fixed-ticket {
  display: inline-flex;
  flex-direction: row;
  align-items: flex-start;
  justify-content: center;
  gap: 12px;
  font-size: 1.48rem;
  background: #F51A2B;
  color: #ffffff;
  font-weight: 900;
  letter-spacing: 0.12em;
  padding: 38px 12px;
  border-radius: 4px;
  text-decoration: none;
  border: 3px solid #ffffff;
  transition: background 0.2s, transform 0.2s;
}

/* 左列：縦書きメインコピー */
.fixed-ticket__primary {
  writing-mode: vertical-rl;
  font-size: 1em;
  line-height: 1.2;
}

/* 右列：添付デザインどおり、アイコンを前売券の直上に（横ボタンとは別レイアウト） */
.fixed-ticket__col {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  gap: 6px;
}

.fixed-ticket__presale {
  writing-mode: vertical-rl;
  font-size: 1em;
  font-weight: 900;
  line-height: 1.2;
}

.fixed-ticket:hover {
  background: #FF3337;
  transform: translateX(-3px);
}

/* 前売り告知（PC右固定・リンクなし・ホバー変化なし） */
.fixed-ticket-notice {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  box-sizing: border-box;
  min-width: 52px;
  padding: 14px 10px 18px;
  background: #997071;
  color: #ffffff;
  font-weight: 700;
  border: 2px solid #ffffff;
  border-radius: 8px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.14);
  cursor: default;
  user-select: none;
  -webkit-user-select: none;
}

.fixed-ticket-notice__date {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  line-height: 1.2;
  gap: 2px;
}

.fixed-ticket-notice__date-line {
  display: block;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  line-height: 1.15;
}

.fixed-ticket-notice__cols {
  display: flex;
  flex-direction: row;
  align-items: stretch;
  justify-content: center;
  gap: 0.35em;
}

.fixed-ticket-notice__presale,
.fixed-ticket-notice__start {
  writing-mode: vertical-rl;
  text-orientation: mixed;
  line-height: 1.2;
  letter-spacing: 0.12em;
  font-size: 1.22rem;
  font-weight: 900;
}

.fixed-sns {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  background: rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(6px);
  transition: transform 0.2s, border-color 0.2s;
  color: #fff;
  /* box-shadow: 0 2px 12px rgba(0, 0, 0, 0.5); */
}

.fixed-sns:hover {
  transform: scale(1.1);
}

.fixed-sns.insta {
  background: linear-gradient(135deg, rgba(131, 58, 180, 0.8), rgba(253, 29, 29, 0.8), rgba(252, 176, 69, 0.8));
}

.fixed-sns.x-tw {
  background: #2a2218;
}

/* ===== SP: 下部固定バー ===== */
.fixed-bottom {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  z-index: 200;
  background: rgba(14, 10, 6, 0.96);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-top: 1px solid rgba(184, 130, 14, 0.3);
  flex-direction: row;
  align-items: center;
  padding: 10px 16px;
  padding-bottom: calc(10px + env(safe-area-inset-bottom));
  gap: 10px;
}

.fixed-bottom-ticket {
  flex: 1;
  background: #F51A2B;
  color: #ffffff;
  font-weight: 900;
  font-size: 0.88rem;
  padding: 13px 12px;
  border-radius: 4px;
  text-decoration: none;
  text-align: center;
  letter-spacing: 0.05em;
  /* box-shadow: 0 0 14px rgba(200, 151, 30, 0.3); */
  transition: background 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  white-space: nowrap;
}

.fixed-bottom-ticket:active {
  background: #FF3337;
}

/* SP下部：告知のみ（リンク・ホバー変化なし） */
.fixed-bottom-notice {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #997071;
  color: #ffffff;
  font-weight: 900;
  font-size: 0.78rem;
  padding: 12px 10px;
  border-radius: 6px;
  text-align: center;
  letter-spacing: 0.04em;
  line-height: 1.35;
  cursor: default;
  user-select: none;
  -webkit-user-select: none;
  box-shadow: 0 3px 12px rgba(0, 0, 0, 0.12);
}

.fixed-bottom-notice__inner {
  display: inline-block;
  max-width: 100%;
}

.fixed-bottom-notice__date {
  font-size: inherit;
}

.fixed-bottom-sns {
  display: flex;
  gap: 8px;
  align-items: center;
  padding-left: 10px;
  border-left: 1px solid rgba(255, 255, 255, 0.1);
}

.fixed-bottom-sns a {
  width: 44px;
  height: 44px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  text-decoration: none;
  transition: opacity 0.2s, transform 0.15s;
  flex-shrink: 0;
}

.fixed-bottom-sns a:active {
  opacity: 0.75;
  transform: scale(0.94);
}

.fixed-bottom-sns a.insta {
  background: linear-gradient(135deg, #833ab4, #fd1d1d, #fcb045);
}

.fixed-bottom-sns a.x-tw {
  background: #111;
  border: 1px solid rgba(255, 255, 255, 0.15);
}

/* ===== トップへ戻る（チケット到達後に表示） ===== */
.back-to-top {
  position: fixed;
  right: 34px;
  bottom: 20px;
  z-index: 210;
  width: clamp(64px, 4.2vw, 78px);
  aspect-ratio: 1 / 0.82;
  border-radius: 999px;
  padding: 0;
  border: 2px solid rgba(255, 255, 255, 0.34);
  background:
    radial-gradient(120% 120% at 22% 18%, rgba(178, 255, 170, 0.28) 0%, rgba(178, 255, 170, 0) 42%),
    linear-gradient(180deg, #3caf47 0%, #23873a 100%);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.26);
  cursor: pointer;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  overflow: visible;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(10px);
  transition: opacity 0.35s ease, transform 0.35s ease, visibility 0.35s ease;
}

.back-to-top.is-visible {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
}

.back-to-top__label {
  position: absolute;
  top: -9px;
  left: 50%;
  transform: translateX(-50%);
  font-size: clamp(14px, 1.2vw, 20px);
  line-height: 1;
  letter-spacing: 0.02em;
  font-weight: 900;
  color: #ffffff;
  text-shadow: 0 2px 6px rgba(10, 64, 26, 0.45);
}

.back-to-top__illust {
  position: absolute;
  left: 50%;
  bottom: 1px;
  transform: translateX(-50%);
  display: block;
  width: clamp(28px, 2.9vw, 42px);
  height: auto;
  pointer-events: none;
}

.back-to-top:focus-visible {
  outline: 2px solid rgba(255, 255, 255, 0.9);
  outline-offset: 3px;
}

@media (max-width: 1200px) {
  .back-to-top {
    right: 14px;
    bottom: calc(84px + env(safe-area-inset-bottom));
    width: clamp(48px, 13vw, 56px);
  }

  .back-to-top__label {
    top: -7px;
    font-size: clamp(13px, 4.8vw, 18px);
  }

  .back-to-top__illust {
    bottom: 1px;
    width: clamp(30px, 8.8vw, 40px);
  }
}


/* ========================================
   MV（メインビジュアル）
   ※ レスポンシブ対応なし（PC固定デザイン）
      SP用背景は将来 <picture> タグで差し替え予定
======================================== */
.mv {
  position: relative;
  width: 100%;
  /* 画面縦幅を基準とした高さ */
  height: 100vh;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* --- サイトロゴ（左上固定） --- */
.mv__site-logo {
  position: absolute;
  top: 20px;
  left: 20px;
  z-index: 10;
  display: block;
  width: clamp(80px, 8vw, 160px);
  height: auto;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
}

/* --- 背景 --- */
.mv__bg {
  position: absolute;
  inset: -10% 0;          /* parallax 用に上下にマージンを持たせる */
  background-image: url('assets/images/mv_bg_pc.jpg');
  background-size: cover;
  background-position: center top;
  background-repeat: no-repeat;
  will-change: transform;
}

/* --- コンテンツ中央揃えコンテナ --- */
.mv__inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
  /* 端末幅に応じて柔軟に縮み、折り返し崩れを防ぐ */
  width: min(90vw, 900px);
  max-width: 900px;
  /* 完成イメージに合わせて中央よりやや上寄り */
  margin-top: -4%;
}

/* --- ロゴ画像 --- */
.mv__logo {
  width: 100%;
}

.mv__logo img {
  width: 100%;
  height: auto;
  margin: 0 auto;
  /* ドロップシャドウで背景に埋もれないように */
  filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.7));
}

.mv__date-br { display: none; }

/* --- テキストブロック全体 --- */
.mv__info {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1em;
  margin-top: 0.6em;
  width: 100%;
  text-align: center;
}

/* --- 共通テキストスタイル（赤・縁取り付き） --- */
.mv__date,
.mv__time-text,
.mv__venue {
  color: #e8001e;
  font-weight: 900;
  letter-spacing: 0.04em;
  line-height: 1.3;
  /* -webkit-text-stroke で滑らかな白縁取り、text-shadow でドロップシャドウ */
  -webkit-text-stroke: 5px #fff;
  paint-order: stroke fill;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.45);
}

/* Chrome/Safari 系は text-stroke + text-shadow の合成で内側が濁るため、影を drop-shadow に切替 */
@supports (-webkit-text-stroke: 1px #fff) {
  .mv__date,
  .mv__time-text,
  .mv__venue {
    text-shadow: none;
    filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.45));
  }
}

/* 数字だけを強調して視認性の対比を作る */
.mv__num {
  display: inline-block;
  font-weight: 900;
  line-height: 1;
  letter-spacing: 0.01em;
}

.mv__date .mv__num {
  font-size: 1.44em;
}

.mv__time-text .mv__num {
  font-size: 1.56em;
}

.mv__nowrap {
  white-space: nowrap;
}

/* --- 日付 --- */
.mv__date {
  font-size: clamp(1rem, 2.05vw, 2.05rem);
  line-height: 1.2;
  white-space: nowrap;
}

/* --- 時間行（時間テキスト＋バッジ） --- */
.mv__time {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.35em 0.5em;
}

.mv__time-text {
  font-size: clamp(0.92rem, 1.62vw, 1.65rem);
  white-space: nowrap;
}

/* --- 時間制チケット バッジ --- */
.mv__ticket-badge {
  display: inline-block;
  background-color: #e8001e;
  color: #fff;
  font-size: clamp(0.68rem, 1.38vw, 1.5rem);
  font-weight: 900;
  letter-spacing: 0.05em;
  padding: 0.16em 0.56em;
  border-radius: 2px;
  border: solid 2px #fff;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.5);
  white-space: nowrap;
}

/* --- 会場 --- */
.mv__venue {
  font-size: clamp(1rem, 2.6vw, 3rem);
  line-height: 1.2;
  white-space: nowrap;
}

@media (min-width: 769px) and (max-width: 1200px) {
  .mv {
    height: clamp(560px, 76vh, 760px);
  }
  .mv__bg {
    inset: -6% 0;
    background-position: center 20%;
  }
  .mv__inner {
    width: min(88vw, 760px);
    max-width: 760px;
    margin-top: 0;
  }
  .mv__logo {
    width: min(100%, 620px);
  }
  .mv__info {
    gap: 0.45em;
    margin-top: 0.5em;
  }
  .mv__date,
  .mv__time-text,
  .mv__venue {
    -webkit-text-stroke: 4px #fff;
  }
  .mv__date {
    font-size: clamp(1.5rem, 2.3vw, 2rem);
    line-height: 1.15;
    white-space: normal;
    text-wrap: balance;
  }
  .mv__time-text {
    font-size: clamp(1.02rem, 1.95vw, 1.6rem);
  }
  .mv__ticket-badge {
    font-size: clamp(1rem, 2.4vw, 20px);
  }
  .mv__venue {
    font-size: clamp(2.4rem, 3vw, 48px);
    line-height: 1.15;
    margin-top: 8px;
  }
}

@media (max-width: 768px) {
  .mv__bg { inset: -4% 0; }
  .mv__inner { width: min(92vw, 900px); }
  .mv__info { gap: 0.3em; }
  .mv__date,
  .mv__time-text,
  .mv__venue {
    -webkit-text-stroke: 3px #fff;
  }
  .mv__date { white-space: normal; }
  .mv__date { font-size: clamp(0.95rem, 3.4vw, 1.45rem); }
  .mv__time-text { font-size: clamp(0.9rem, 3.1vw, 1.3rem); }
  .mv__ticket-badge { font-size: clamp(1rem, 2.1vw, 1.1rem); }
  .mv__venue { font-size: clamp(0.95rem, 3.3vw, 1.4rem); }
}

@media (max-width: 480px) {
  .mv__site-logo {
    top: 12px;
    left: 12px;
    width: clamp(72px, 20vw, 100px);
  }
  .mv {
    height: calc(100svh - 68px - env(safe-area-inset-bottom));
    min-height: 480px;
    align-items: center;
    justify-content: center;
  }
  .mv__bg {
    inset: -4% 0;
    background-image: url('assets/images/mv_bg_sp.jpg');
    background-position: center top;
    background-size: cover;
  }
  .mv__inner {
    width: min(94vw, 440px);
    margin-top: 0;
    padding-top: 0;
    padding-bottom: 8px;
  }
  .mv__logo {
    width: min(96%, 430px);
  }
  .mv__info {
    gap: 0.45em;
    margin-top: 0.45em;
  }
  .mv__date,
  .mv__time-text,
  .mv__venue {
    -webkit-text-stroke: 3px #fff;
  }
  .mv__date-br { display: block; }
  .mv__date {
    font-size: clamp(20px, 5.9vw, 28px);
    line-height: 1.25;
    white-space: normal;
    text-align: center;
  }
  .mv__date .mv__num { font-size: 1.22em; }
  .mv__time {
    gap: 0.2em 0.45em;
  }
  .mv__time-text {
    font-size: clamp(1.05rem, 4.4vw, 1.3rem);
  }
  .mv__time-text .mv__num { font-size: 1.28em; }
  .mv__ticket-badge {
    font-size: clamp(0.9rem, 3.2vw, 1rem);
    padding: 0.12em 0.48em;
  }
  .mv__venue {
    font-size: clamp(1.3rem, 9vw, 1.65rem);
    line-height: 1.1;
    white-space: nowrap;
    margin-top: 8px;
  }
}


/* =============================================
   SECTION: チケット情報
============================================= */
#ticket {
  position: relative;
  padding: 80px 0;
  background: #ffffff;
  overflow: hidden;
  isolation: isolate;
}

/* --- 足跡パララックス共通 --- */
.footprint {
  position: absolute;
  pointer-events: none;
  z-index: 0;
  background-size: contain;
  background-repeat: no-repeat;
  will-change: auto;
  transform: none !important;
}

/* チケット：右上 bg-footprint1 */
.footprint--ticket-tr {
  top: 0;
  right: 0;
  width: 31%;
  height: 55%;
  background-image: url('assets/images/bg-footprint1.png');
  background-position: top right;
}

/* チケット：左下 bg-footprint2 */
.footprint--ticket-bl {
  bottom: 0;
  left: 0;
  width: 31%;
  height: 55%;
  background-image: url('assets/images/bg-footprint2.png');
  background-position: bottom left;
}

/* アクセス：左上 bg-footprint3 */
.footprint--access-tl {
  top: 17px;
  left: 0;
  width: 31%;
  height: 66%;
  background-image: url('assets/images/bg-footprint3.png');
  background-position: top left;
}

/* アクセス：右下 bg-footprint4 */
.footprint--access-br {
  bottom: 0;
  right: 0;
  width: 40%;
  height: 61%;
  background-image: url('assets/images/bg-footprint4.png');
  background-position: bottom right;
}

.section-panel {
  position: relative;
  z-index: 1;
  padding: 60px 0 64px;
  /* box-shadow はデザイン上不使用 */
}

/* #ticket 内の section-panel は背景透明にして足跡を透過表示 */
#ticket .section-panel {
  background: transparent;
}

/* Section header */
.sec-eyebrow {
  font-size: 14px;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--red);
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

.sec-eyebrow::before,
.sec-eyebrow::after {
  content: '';
  height: 1px;
  background: var(--red);
  flex: 0 0 28px;
  opacity: 0.5;
}

.sec-title {
  font-size: 48px;
  font-weight: 900;
  color: var(--red);
  text-align: center;
  letter-spacing: 0.05em;
  margin-bottom: 32px;
}

/* Lead text */
.ticket-lead {
  font-size: clamp(0.95rem, 1.2vw, 1.125rem);
  font-weight: 700;
  color: #2f2a22;
  max-width: 1160px;
  width: min(100%, 1160px);
  line-height: 1.85;
  margin: 0 auto 40px;
  text-align: center;
  background-color: #FFFDE6;
  background-image: url('assets/images/icon_attention.svg');
  background-repeat: no-repeat;
  background-position: center center;
  background-size: clamp(58px, 4.8vw, 118px);
  padding: 20px 34px;
  box-sizing: border-box;
  overflow-wrap: anywhere;
  position: relative;
  overflow: hidden;
}

.ticket-lead strong {
  color: inherit;
  font-weight: 900;
  white-space: normal;
}

/* 「各枠の～しております」強調（赤） */
.ticket-lead-emph {
  color: var(--red);
}

.ticket-lead-mobile-br {
  display: none;
}

/* 「事前のご購入」に注意アイコンを重ねる */
.ticket-lead-attn {
  display: inline;
  padding: 0;
}

.ticket-lead-attn::before {
  content: none;
}

/* Ticket tables */
.ticket-tables {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  margin-bottom: 48px;
}

.ticket-table-wrap {
  flex: 1;
  min-width: 280px;
}

.tt-header {
  font-weight: 900;
  font-size: 20px;
  color: #ffffff;
  padding: 15px 20px;
  letter-spacing: 0.03em;
}

.tt-header.green-h { background: var(--green); }
.tt-header.teal-h  { background: var(--teal); }

table.tt {
  width: 100%;
  border-collapse: collapse;
  background: #ffffff;
  border: 1px solid var(--border);
  border-top: none;
}

table.tt th,
table.tt td {
  padding: 15px 20px;
  text-align: left;
  font-size: 20px;
  font-weight: 900;
  border-bottom: 1px solid var(--border);
}

table.tt thead tr { background: #f7f5f2; }

table.tt th {
  color: var(--text);
  font-weight: 700;
  font-size: 18px;
  letter-spacing: 0.05em;
}

table.tt td { color: var(--text); }

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

table.tt .price {
  font-weight: 900;
  font-size: 24px;
  color: var(--text);
}

table.tt .pn {
  font-size: 16px;
  color: var(--text);
}

/* Timeslots */
.ts-label {
  text-align: center;
  font-size: 28px;
  font-weight: 700;
  color: var(--red);
  letter-spacing: 0.1em;
  margin-bottom: 16px;
}

.ts-label .slash {
  color: var(--red);
  font-weight: 900;
}

.timeslots {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 44px;
}

.timeslot {
  border: 2px solid var(--red);
  border-radius: 6px;
  padding: 14px 18px;
  text-align: center;
  font-size: 20px;
  font-weight: 700;
  color: var(--red);
  background: #FFFAFA;
  flex: 1;
  min-width: 150px;
  max-width: 200px;
  line-height: 1.4;
  transition: background 0.2s, color 0.2s;
}


.timeslot .num {
  display: block;
  font-size: 16px;
  font-weight: 700;
  opacity: 0.75;
  margin-bottom: 4px;
}

/* CTA button */
.cta-wrap {
  text-align: center;
  margin-bottom: 48px;
}

.btn-ticket {
  display: inline-flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: clamp(12px, 2vw, 20px);
  background:#F51A2B;
  color: #ffffff;
  font-size: 20px;
  font-weight: 900;
  letter-spacing: 0.08em;
  padding: 20px 72px;
  text-decoration: none;
  border-radius: 4px;
  transition: background 0.2s, transform 0.15s;
  min-width: 300px;
}

/* 左：アイコンを前売券の左側に（横並び） */
.btn-ticket__presale-block {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 0.4em;
}

.btn-ticket__presale {
  font-size: 1em;
  letter-spacing: 0.06em;
  line-height: 1.2;
  white-space: nowrap;
}

.btn-ticket__action {
  line-height: 1.25;
  white-space: nowrap;
}

.btn-ticket:hover {
  background: #FF3337;
  transform: translateY(-2px);
}

/* チケットセクション内・販売開始告知（リンクなし・ホバー変化なし） */
.ticket-cta-announce {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  background: #997071;
  color: #ffffff;
  font-size: 20px;
  font-weight: 900;
  letter-spacing: 0.06em;
  padding: 20px 56px;
  border-radius: 6px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
  cursor: default;
  user-select: none;
  -webkit-user-select: none;
  text-align: center;
  line-height: 1.35;
  min-width: 300px;
  box-sizing: border-box;
}

/* チケットCTA：旧スタイルの絵文字(::before)や想定外ノードによる二重表示を防ぐ */
.btn-ticket::before,
.btn-ticket::after,
.btn-ticket__presale-block::before,
.btn-ticket__presale-block::after,
.btn-ticket__presale::before,
.btn-ticket__presale::after,
.btn-ticket__action::before,
.btn-ticket__action::after {
  content: none !important;
  display: none !important;
}

.btn-ticket > :not(.btn-ticket__presale-block):not(.btn-ticket__action) {
  display: none !important;
}

.btn-ticket__presale-block > :not(img.ticket-icon):not(.btn-ticket__presale) {
  display: none !important;
}

/* スマホ・タブレット：システム絵文字（🎟等）が紛れ込む場合はテキスト系の表現に寄せる */
@media (max-width: 1024px) {
  .btn-ticket,
  .btn-ticket *,
  .ticket-cta-announce {
    font-variant-emoji: text;
  }
}

/* Notes */
.notes-wrap {
  background: #f7f5f2;
  border-radius: 6px;
  padding: 24px 28px;
}

.notes-wrap h4 {
  font-size: 18px;
  font-weight: 900;
  color: #ffffff;
  background: var(--text);
  display: inline-block;
  padding: 4px 16px;
  border-radius: 3px;
  margin-bottom: 16px;
  letter-spacing: 0.05em;
}

.notes-wrap ul { list-style: none; }

.notes-wrap ul li {
  font-size: 1rem;
  color: var(--text);
  line-height: 1.9;
  padding-left: 1em;
  position: relative;
}

.notes-wrap ul li::before {
  content: '・';
  position: absolute;
  left: 0;
}

.notes-block {
  margin-top: 1.35em;
}

.notes-wrap > h4 + .notes-block {
  margin-top: 0;
}

.notes-block__title {
  font-size: 1rem;
  font-weight: 900;
  color: var(--text);
  line-height: 1.5;
  margin: 0 0 0.65em;
  letter-spacing: 0.02em;
}

.notes-block__text {
  font-size: 1rem;
  color: var(--text);
  line-height: 1.9;
  margin: 0 0 0.75em;
}

.notes-block__text:last-child {
  margin-bottom: 0;
}

.notes-block--other .notes-block__text--lead {
  margin-bottom: 8px;
}

/* スマホのみ：規約名の直後で改行し URL を次行へ */
.notes-url-br {
  display: none;
}

@media (max-width: 768px) {
  .notes-url-br {
    display: block;
  }
}

.notes-block__text a {
  color: var(--text);
  word-break: break-all;
  text-decoration: underline;
  text-underline-offset: 2px;
}


/* =============================================
   SECTION: イベントのみどころ
============================================= */
#midokoro {
  padding: 80px 0;
  background: #ffffff;
}

.midokoro-panel {
  position: relative;
  padding: 60px 0 32px;
}

#midokoro .midokoro-panel > .container {
  position: relative;
  z-index: 1;
}

/* --- 見出し --- */
.mido-eyebrow {
  text-align: center;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: #BF0008;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.mido-main-title {
  text-align: center;
  font-size: 48px;
  font-weight: 900;
  color: var(--text);
  margin-bottom: 40px;
}

/* --- キャッチ --- */
.mido-catch {
  text-align: center;
  margin-bottom: 48px;
}

.mido-catch-heading {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: center;
  column-gap: 0.2em;
  row-gap: 0.08em;
  font-size: clamp(1.5rem, 2.9vw, 2.125rem);
  font-weight: 900;
  color: var(--red);
  margin-bottom: 14px;
  animation: wiggle 2s ease-in-out infinite;
  transform-origin: center center;
}

.mido-catch-accent {
  display: inline-flex;
  align-items: baseline;
  gap: 0.12em;
}

.mido-catch-word {
  display: inline-flex;
  align-items: baseline;
  font-size: clamp(2rem, 3.6vw, 40px);
  line-height: 1;
}

.mido-catch-excl {
  display: inline-block;
  margin-right: -0.11em; /* 全角！の右側余白を補正して左右ライン間隔を揃える */
}

.mido-catch-main {
  font-size: 1em;
  line-height: 1.2;
}

.mido-catch-slash {
  display: inline-block;
  flex: 0 0 auto;
  width: 0.72em;
  height: 0.64em;
  font-size: clamp(1.45rem, 2.6vw, 2rem);
  background-image: url('assets/images/line.svg');
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  transform-origin: center center;
}

.mido-catch-slash--left { transform: none; }
.mido-catch-slash--right {
  transform: scaleX(-1);
  margin-left: -8px;
}

@keyframes wiggle {
  0%   { transform: translateX(0); }
  8%   { transform: translateX(-6px); }
  16%  { transform: translateX(6px); }
  24%  { transform: translateX(-5px); }
  32%  { transform: translateX(5px); }
  40%  { transform: translateX(-4px); }
  48%  { transform: translateX(4px); }
  56%  { transform: translateX(-2px); }
  64%  { transform: translateX(2px); }
  72%  { transform: translateX(0); }
  100% { transform: translateX(0); } /* 約0.5秒停止（2sアニメの終盤25%） */
}

.mido-catch-body-br { display: none; }

.mido-catch-body {
  font-size: 20px;
  color: var(--text);
  font-weight: 700;
  line-height: 1.7;
}

/* --- グリッドラッパー --- */
.mido-grid-wrap {
  max-width: 1200px;
  margin: 0 auto;
}

/* --- 恐竜イラスト（セクションタイトル左右に配置） --- */
.mido-dino {
  position: absolute;
  top: 0;
  z-index: 0;
  pointer-events: none;
}

/* T-Rex — セクション左端 */
.mido-dino--trex {
  left: 0;
  top: -20px;
  width: clamp(200px, 27vw, 780px);
}

/* トリケラトプス — セクション右端 */
.mido-dino--triceratops {
  right: 0;
  top: -10px;
  width: clamp(200px, 24vw, 780px);
}

/* --- 2×2 グリッド --- */
.mido-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  /* max-width / margin は .mido-grid-wrap に移動 */
}

/* --- カード --- */
.mido-card {
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.1);
  display: flex;
  /* 同一行で隣カードより背が低いときに中央寄せすると上に不自然な余白が出るため上揃え */
  align-items: flex-start;
  /* 緑枠線をカード内側に表示 */
  outline: 2px solid var(--red);;
  outline-offset: -8px;
}

.mido-card-inner {
  display: flex;
  padding: 24px;
  gap: 14px;
  align-items: center;
}

.mido-card-text {
  flex: 1;
  min-width: 0;
}

/* --- バッジ --- */
.mido-badge-red {
  display: inline-block;
  background: var(--red);
  color: #fff;
  font-size: 24px;
  font-weight: 900;
  padding: 4px 12px;
  border-radius: 3px;
  margin-bottom: 10px;
  white-space: nowrap;
}

.mido-badge-free-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}

.mido-badge-free-circle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #2D5B35;
  color: #fff;
  font-size: 20px;
  font-weight: 700;
  width: 77px;
  height: 77px;
  border-radius: 50%;
  line-height: 1.3;
  text-align: center;
  flex-shrink: 0;
}

.mido-badge-free-label {
  font-size: 24px;
  font-weight: 900;
  color: #2D5B35;
}

/* --- カード本文 --- */
/* 見出しの改行：br の display 切替は iPad Safari で効かないことがあるため span + block で制御 */
.mido-card-title__line--split {
  display: block;
}

@media (min-width: 1201px) {
  .mido-card-title__line--split {
    display: inline;
  }
}

/* 「～背中に」で改行したいカード用（.mido-card-title__line--split のPC1行化を受けない） */
.mido-card-title__line--break {
  display: block;
}

.mido-card-title {
  font-size: 24px;
  font-weight: 900;
  color: var(--red);
  line-height: 1.45;
  margin-bottom: 8px;
}

/* ワームホール：全幅で2行固定（SP の .mido-card-title br 非表示の影響を受けない） */
.mido-card-title--wormhole .mido-card-title__wormhole-line {
  display: block;
}

.mido-card-desc {
  font-size: 16px;
  font-weight: 700;
  color: var(--text);
  line-height: 1.5;
  margin-bottom: 8px;
}

.mido-price-badge {
  display: inline-block;
  border: 1px solid var(--text);
  padding: 3px 10px;
  font-size: 14px;
  font-weight: 700;
  color: var(--text);
  border-radius: 2px;
}

.mido-card-theater-screening {
  font-size: 14px;
  font-weight: 500;
  color: var(--text);
  line-height: 1.5;
  margin: 6px 0 0;
}

@media (max-width: 768px) {
  .mido-card-theater-screening {
    font-size: 12px;
  }
}

/* --- カード画像エリア --- */
.mido-card-img-area {
  width: var(--mido-card-img-w, 152px);
  flex-shrink: 0;
}

.mido-card-img-area--lg {
  width: var(--mido-card-img-w, 220px);
}

/* ワームホール画像のみやや大きめ（--theater と併用、下位メディアで上書き） */
.mido-card-img-area--wormhole {
  --mido-card-img-w: 168px;
}

/* フォトスポット：PCでは右カラムを大きく（テキスト量に対するバランス） */
.mido-card-img-area--photospot {
  --mido-card-img-w: 200px;
}

/* PC: テキスト開始位置を全カードで揃える（テキスト列は上揃え） */
@media (min-width: 1201px) {
  .mido-card {
    align-items: flex-start;
  }

  .mido-card-inner {
    align-items: flex-start;
  }

  .mido-card-img-area {
    align-self: center;
  }

  .mido-card--photospot .mido-card-img-area--photospot {
    margin-top: 32px;
    transform: none;
  }
}

/* カード内実画像 */
.mido-card-img {
  object-fit: cover;
  border-radius: 4px;
  display: block;
}

/* --- 注意書き --- */
.mido-note {
  margin-top: 24px;
  font-size: 1rem;
  font-weight: 500;
  color: var(--text);
  line-height: 1.7;
}


/* =============================================
   SECTION: サイドイベント（見出しは .sec-eyebrow / .sec-title に統一）
============================================= */
#side-event {
  position: relative;
  padding: 80px 0 90px;
  background: #ffffff;
  overflow: hidden;
}

#side-event .sec-title {
  margin-bottom: 40px;
}

/* --- サイドイベント：タブ --- */
.se-tabs {
  margin-top: 0;
  max-width: 1160px;
  margin-left: auto;
  margin-right: auto;
  text-align: left;
  border-radius: 8px;
  overflow: hidden;
}

.se-tablist {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 6px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.se-tab {
  appearance: none;
  margin: 0;
  padding: 12px 10px;
  font: inherit;
  font-size: clamp(14px, 1vw, 24px);
  font-weight: 900;
  line-height: 1.35;
  color: var(--text);
  background: #ececec;
  border: 1px solid #d0d0d0;
  border-bottom: none;
  border-radius: 6px 6px 0 0;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}

.se-tab:hover {
  background: #e0e0e0;
}

.se-tab.is-active,
.se-tab[aria-selected="true"] {
  background: var(--red);
  color: #ffffff;
  border-color: var(--red);
  z-index: 1;
}

.se-tab:focus-visible {
  outline: 2px solid var(--green);
  outline-offset: 2px;
}

.se-tab--multiline {
  padding-top: 10px;
  padding-bottom: 10px;
  line-height: 1.35;
}

.se-tab-panels {
  background: #ffffff;
  border: none;
  border-radius: 0;
  padding-top: 28px;
  min-height: 120px;
}

.se-tab-panel[hidden] {
  display: none !important;
}

.se-tab-placeholder {
  font-size: 18px;
  font-weight: 700;
  color: var(--text);
  text-align: center;
  line-height: 1.6;
}

/* --- えきまえテラス（タブ2）--- */
.se-et {
  color: var(--text);
  font-size: 16px;
  line-height: 1.75;
}

.se-et-hero__lead {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: clamp(10px, 2vw, 18px);
  margin: 0 0 18px;
}

.se-et-badge {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: clamp(56px, 15vw, 77px);
  height: clamp(56px, 15vw, 77px);
  border-radius: 50%;
  background: var(--red);
  color: #ffffff;
  font-size: clamp(16px, 2.6vw, 20px);
  font-weight: 800;
  line-height: 1.2;
  text-align: center;
}

.se-et-badge__line {
  display: block;
}

.se-et-hero__catch {
  margin: 0;
  flex: 1;
  min-width: 0;
  font-size: clamp(18px, 2.2vw, 24px);
  font-weight: 900;
  color: var(--red);
  line-height: 1.35;
  letter-spacing: 0.02em;
}

.se-et-hero__visual {
  margin: 0;
}

.se-et-hero__photo {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 6px;
}

/* --- えきまえテラス：アトラクション（青枠）--- */
.se-et-attraction {
  margin-top: clamp(28px, 5vw, 44px);
  /* padding: clamp(16px, 3vw, 28px); */
  border-radius: 10px;
  background: #ffffff;
}

.se-et-attraction__head {
  margin-bottom: clamp(16px, 2.5vw, 22px);
}

.se-et-attraction__title-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
}

.se-et-food__title-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 12px;
  margin-bottom: 8px;
}

.se-et-attraction__title-icon,
.se-et-food__title-icon {
  flex-shrink: 0;
}

.se-et-attraction__title {
  margin: 0;
  font-size: clamp(18px, 2.4vw, 24px);
  font-weight: 900;
  color: var(--red);
  letter-spacing: 0.04em;
}

.se-et-attraction__head-line {
  height: 2px;
  background: var(--red);
  border-radius: 1px;
}

.se-et-attraction__figure {
  position: relative;
  max-width: min(700px, 100%);
  margin: 0 auto;
}

.se-et-attraction__figure-mask {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
}

.se-et-attraction__photo {
  display: block;
  width: 100%;
  height: auto;
}

.se-et-attraction__subtitle {
  margin: clamp(14px, 2.2vw, 20px) 0 0;
  text-align: center;
  font-size: 24px;
  font-weight: 900;
  color: var(--text);
  letter-spacing: 0.04em;
}

/* 詳細行：ラベル・値のサイズは .se-jn-meta と同一（PC 1rem／640px以下で 14px） */
.se-et-attraction__meta.se-jn-meta {
  margin: 16px 0 0;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: center;
  align-items: flex-start;
  gap: clamp(12px, 2.4vw, 24px) clamp(16px, 3vw, 36px);
}

.se-et-attraction__meta .se-et-attraction__meta-row {
  margin-bottom: 0;
}

/* --- えきまえテラス：飲食ブース --- */
.se-et-food {
  margin-top: clamp(36px, 5vw, 56px);
  color: var(--text);
}

.se-et-food__head {
  margin-bottom: clamp(18px, 2.5vw, 26px);
}

.se-et-food__title {
  margin: 0;
  font-size: clamp(18px, 2.4vw, 24px);
  font-weight: 900;
  color: var(--red);
  letter-spacing: 0.04em;
}

.se-et-food__hours {
  margin: 0;
  flex: 0 1 auto;
  min-width: 0;
  font-size: clamp(13px, 1.65vw, 17px);
  font-weight: 800;
  color: var(--red);
  letter-spacing: 0.02em;
  line-height: 1.3;
}

.se-et-food__head-line {
  height: 2px;
  background: var(--red);
  border-radius: 1px;
}

.se-et-food__grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(16px, 2.5vw, 28px);
}

.se-et-food-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: clamp(16px, 2vw, 32px);
  border: 1px solid var(--border);
  border-radius: 10px;
  background: #ffffff;
}

.se-et-food-card__name-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 14px;
  min-width: 0;
}

.se-et-food-card__name-line {
  flex: 1;
  min-width: 8px;
  height: 1px;
  background: #c5c5c5;
}

.se-et-food-card__name {
  margin: 0;
  flex: 0 1 auto;
  min-width: 0;
  text-align: center;
  font-size: 24px;
  font-weight: 800;
  line-height: 1.35;
  color: var(--text);
}

.se-et-food-card__img-wrap {
  display: flex;
  justify-content: center;
  margin: 0 0 14px;
  min-width: 0;
}

/* PC：画像エリア 436×250 */
.se-et-food-card__img-mask {
  flex-shrink: 0;
  width: min(436px, 100%);
  max-width: 100%;
  aspect-ratio: 436 / 250;
  overflow: hidden;
}

@media (min-width: 1024px) {
  .se-et-food-card__img-mask {
    width: 436px;
    height: 250px;
    aspect-ratio: auto;
  }
}

.se-et-food-card__img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.se-et-food-card__desc {
  margin: 0 0 14px;
  flex-grow: 1;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.5;
  color: var(--text);
}

.se-et-food-card__dates {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 12px;
  margin: auto auto 0;
  padding-top: 4px;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.55;
}

.se-et-food-card__date-label {
  flex: 0 0 auto;
  margin: 0;
  padding: 5px 12px;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  border: 1px solid var(--text);
  border-radius: 2px;
  line-height: 1.3;
  text-align: center;
}

.se-et-food-card__date-value {
  flex: 1 1 auto;
  min-width: 0;
  font-weight: 700;
}

@media (max-width: 767px) {
  .se-et-food-card__dates {
    flex-direction: column;
    align-items: center;
    gap: 8px;
  }

  .se-et-food-card__date-value {
    flex: 0 1 auto;
    text-align: center;
  }
}

@media (max-width: 640px) {
  .se-et-food__grid {
    grid-template-columns: 1fr;
  }
}

/* --- つくるんフェスタ（タブ3）--- */
/* タブ内余白は .se-tab-panels に任せ、えきまえテラス（.se-et）と同じくラッパーで横方向の余白を足さない */
.se-tf {
  color: var(--text);
  font-size: 16px;
  line-height: 1.75;
  padding: 0;
  border-radius: 0;
}

/* .se-et-hero__lead の下余白（18px）に合わせる */
.se-tf-hero {
  margin-bottom: 18px;
}

/* 上段：概要・ノベルティ＋右にチラシ／ロゴ（単一行グリッド） */
.se-tf-grid--top {
  display: grid;
  grid-template-columns: minmax(0, 7.2fr) minmax(0, 2.8fr);
  grid-template-areas: "tf-text tf-visual";
  gap: clamp(20px, 3vw, 36px);
  align-items: start;
  margin-bottom: 0;
}

.se-tf-lower {
  margin-top: clamp(28px, 4vw, 44px);
}

.se-tf-col--text {
  grid-area: tf-text;
  min-width: 0;
}

.se-tf-intro {
  margin: 0 0 1.25em;
}

.se-tf-meta {
  margin: 0;
}

.se-tf-novelty {
  margin: clamp(20px, 3vw, 28px) 0 0;
}

.se-tf-novelty__text {
  margin: 0 0 0.5em;
  font-size: 1rem;
  font-weight: 900;
  color: #0E88AF;
  line-height: 1.6;
}

@media (min-width: 1024px) {
  .se-tf-novelty__text {
    font-size: 20px;
  }
}

.se-tf-novelty__note {
  margin: 0;
  font-size: 14px;
  font-weight: 500;
  color: var(--text);
  line-height: 1.5;
}

@media (max-width: 767px) {
  .se-tf .se-tf-novelty__note {
    font-size: 12px;
    font-weight: 500;
  }
}

.se-tf-gallery {
  margin: 0;
}

/* えきまえテラス見出し・つながルーム .se-tsr-section-head と同型（タイトル直下に全幅の線） */
.se-tf-gallery__head {
  margin-bottom: clamp(10px, 1.5vw, 14px);
}

.se-tf-gallery__title {
  margin: 0 0 8px;
  font-size: clamp(18px, 2.4vw, 24px);
  font-weight: 900;
  color: var(--red);
  letter-spacing: 0.04em;
  line-height: 1.35;
}

.se-tf-gallery__head-line {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--red);
  border-radius: 1px;
}

.se-tf-gallery__frame {
  padding: 0;
  margin: 0;
}

.se-tf-gallery__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(8px, 2vw, 12px);
  margin: 0;
  padding: 0;
  list-style: none;
}

.se-tf-gallery__cell {
  margin: 0;
  padding: 0;
  min-width: 0;
}

/* 白枠＋ドロップシャドウはここに付与（セルに overflow:hidden があると img の shadow が切れるため） */
.se-tf-gallery__media {
  width: 100%;
  aspect-ratio: 4 / 3;
  border-radius: 4px;
  border: 10px solid #ffffff;
  box-sizing: border-box;
  box-shadow:
    4px 4px 14px rgba(0, 0, 0, 0.12),
    4px 2px 6px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  background: #ffffff;
  cursor: pointer;
}

.se-tf-gallery__media:focus-visible {
  outline: 2px solid var(--red);
  outline-offset: 3px;
}

/* プレースホルダー用（.se-tf-gallery__media 内に置く場合） */
.se-tf-gallery__ph {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: 2px;
  background: #d9d9d9;
  box-sizing: border-box;
}

/* 枠を塗りつぶし、端はトリミング（シャドウは .se-tf-gallery__media 側） */
.se-tf-gallery__img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

@media (max-width: 599px) {
  .se-tf-gallery__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* つくるんフェスタ：ライトボックス */
.se-tf-lightbox {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(16px, 4vw, 40px);
  box-sizing: border-box;
}

.se-tf-lightbox[hidden] {
  display: none !important;
}

.se-tf-lightbox__backdrop {
  position: absolute;
  inset: 0;
  margin: 0;
  padding: 0;
  border: none;
  background: rgba(0, 0, 0, 0.88);
  cursor: pointer;
}

.se-tf-lightbox__panel {
  position: relative;
  z-index: 1;
  max-width: min(100%, 1200px);
  max-height: min(90vh, 900px);
  margin: 0;
}

.se-tf-lightbox__img {
  display: block;
  max-width: 100%;
  max-height: min(85vh, 880px);
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 4px;
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.35);
}

.se-tf-lightbox__close {
  position: absolute;
  top: -14px;
  right: -14px;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  margin: 0;
  padding: 0;
  border: none;
  border-radius: 50%;
  background: #ffffff;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.25);
  font-size: 28px;
  line-height: 1;
  color: #333333;
  cursor: pointer;
  transition: background 0.15s;
}

.se-tf-lightbox__close:hover {
  background: #f2f2f2;
}

.se-tf-lightbox__close:focus-visible {
  outline: 2px solid var(--red);
  outline-offset: 2px;
}

.se-tf-cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  margin-top: clamp(24px, 3vw, 32px);
  padding-top: 0;
  min-width: 0;
}

/* 入場料金：PCでは1行、スマホのみ「無料」の後で改行 */
@media (min-width: 768px) {
  .se-tf-meta-fee-br {
    display: none;
  }

  .se-et-attraction-datetime-br,
  .se-tsr-exhibit-period-br {
    display: none;
  }

  .se-tf-grid--top {
    column-gap: 32px;
    row-gap: 0;
  }
}

/* 右カラム：2行にまたがりチラシ＋ロゴ（PC）。コンテナ右端に画像を寄せる */
.se-tf-col--visual {
  grid-area: tf-visual;
  display: flex;
  justify-content: flex-end;
  min-width: 0;
  align-self: stretch;
}

.se-tf-visual {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: clamp(16px, 2.5vw, 24px);
  min-width: 0;
  max-width: 100%;
}

.se-tf-flyer {
  display: block;
  width: 100%;
  max-width: 280px;
  height: auto;
}

.se-tf-logo {
  display: block;
  width: auto;
  max-width: min(280px, 100%);
  height: auto;
  margin: 0;
  border-radius: 6px;
}

.se-tf-cta__lead {
  margin: 0 0 8px;
  font-size: 1rem;
  font-weight: 800;
  line-height: 1.5;
  background: linear-gradient(90deg, rgba(131, 58, 180, 0.8) 0%, rgba(253, 29, 29, 0.8) 50%, rgba(252, 176, 69, 0.8) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
}

.se-tf-cta__lead-mark {
  display: inline-block;
  margin: 0 0.2em;
  font-weight: 600;
}

.se-tf-cta__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 28px;
  font-size: 1rem;
  font-weight: 800;
  color: #ffffff;
  text-decoration: none;
  border: none;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(131, 58, 180, 0.8) 0%, rgba(253, 29, 29, 0.8) 50%, rgba(252, 176, 69, 0.8) 100%);
  line-height: 1.4;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
  transition: filter 0.2s, transform 0.15s, box-shadow 0.2s;
}

/* タブレット：スマホ〜PCの間で可変（768〜1023px） */
@media (min-width: 768px) and (max-width: 1023px) {
  .se-tf-cta__btn {
    font-size: clamp(17px, 2.1vw, 23px);
    padding: clamp(12px, 1.8vw, 16px) clamp(24px, 3.5vw, 36px);
    min-height: clamp(48px, 6vw, 56px);
  }
}

/* PC：24px */
@media (min-width: 1024px) {
  .se-tf-cta__btn {
    font-size: 20px;
    padding: 24px 36px;
    min-height: 56px;
  }
}

.se-tf-cta__btn:hover {
  filter: brightness(1.12);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.16);
}

.se-tf-cta__btn:focus-visible {
  outline: 2px solid var(--red);
  outline-offset: 3px;
}

/* 767px 未満：上段を本文→画像の1カラム */
@media (max-width: 767px) {
  .se-tf-grid--top {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
    grid-template-areas:
      "tf-text"
      "tf-visual";
  }

  .se-tf-col--visual {
    justify-content: center;
  }

  .se-tf-cta {
    text-align: center;
  }
}

/* 〜599px：チラシ・ロゴは縦積み・各最大280px（画面いっぱいに広げない） */
@media (max-width: 599px) {
  .se-tf-visual {
    flex-direction: column;
    align-items: center;
    max-width: 420px;
    margin-left: auto;
    margin-right: auto;
    width: 100%;
  }

  .se-tf-flyer {
    max-width: 180px;
    width: 100%;
  }

  .se-tf-logo {
    max-width: 180px;
    width: auto;
  }
}

/* 600px〜767px：チラシとロゴを横並び・各最大280px */
@media (min-width: 600px) and (max-width: 767px) {
  .se-tf-visual {
    flex-direction: row;
    align-items: flex-start;
    justify-content: center;
    gap: clamp(12px, 2.5vw, 24px);
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
    width: 100%;
  }

  .se-tf-flyer,
  .se-tf-logo {
    /* max-width: 280px; */
    width: 40%;
    flex: 0 1 180px;
  }
}

/* --- つながルーム まちなかスタンプラリー（タブ4）--- */
.se-tsr {
  color: var(--text);
  font-size: 16px;
  line-height: 1.75;
  padding: 0;
  border-radius: 0;
}

.se-tsr-hero {
  margin-bottom: 18px;
}

.se-tsr-exhibit {
  margin-bottom: clamp(8px, 2vw, 16px);
}

.se-tsr-exhibit .se-tsr-intro {
  margin: 0 0 1.25em;
}

.se-tsr-fossils {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(12px, 2.5vw, 24px);
  justify-content: flex-start;
  align-items: flex-start;
}

.se-tsr-fossils__img {
  display: block;
  width: min(280px, calc(50% - clamp(6px, 1.25vw, 12px)));
  max-width: 280px;
  height: auto;
  border-radius: 6px;
  flex: 0 0 auto;
}

.se-tsr-stamp {
  margin-top: 0;
}

.se-tsr-stamp .se-tsr-section-head {
  margin: clamp(20px, 3vw, 28px) 0 clamp(10px, 1.5vw, 14px);
}

/* 見出し直下：コンテナ全幅のリード（2段目のグリッドの上） */
.se-tsr-stamp > .se-tsr-stamp-lead {
  margin: 0 0 clamp(18px, 2.5vw, 24px);
  width: 100%;
  max-width: none;
}

.se-tsr-stamp-grid {
  display: grid;
  grid-template-columns: minmax(0, 7.2fr) minmax(0, 2.8fr);
  gap: 32px;
  align-items: start;
}

/* 左：dl（上）＋注意（下）／右：チラシ（dl+注意の高さに合わせて縦にまたがる） */
.se-tsr-stamp-grid > dl {
  grid-column: 1;
  grid-row: 1;
  min-width: 0;
}

.se-tsr-stamp-grid > .se-tsr-stamp__visual {
  grid-column: 2;
  grid-row: 1 / span 2;
  align-self: start;
}

.se-tsr-stamp-grid > .se-jn-notes-wrap {
  grid-column: 1;
  grid-row: 2;
  min-width: 0;
  margin-top: 0;
}

.se-tsr-stamp-lead {
  margin: 0 0 1.25em;
}

.se-tsr-stamp__visual {
  display: flex;
  justify-content: flex-end;
  min-width: 0;
}

.se-tsr-stamp-flyer {
  display: block;
  width: 100%;
  max-width: 320px;
  height: auto;
  border-radius: 6px;
}

.se-tsr-section-head {
  margin: clamp(20px, 3vw, 28px) 0 clamp(14px, 2vw, 20px);
}

.se-tsr-section-head__title {
  margin: 0 0 8px;
  font-size: clamp(18px, 2.4vw, 24px);
  font-weight: 900;
  color: var(--red);
  letter-spacing: 0.04em;
  line-height: 1.35;
}

.se-tsr-section-head__line {
  height: 2px;
  background: var(--red);
  border-radius: 1px;
}

/* えきまえテラス／つくるんフェスタ／つながルーム：アイコン＋赤タイトル＋赤線の見出し（スマホで 20px に統一） */
@media (max-width: 767px) {
  .se-et-attraction__title,
  .se-et-food__title,
  .se-tf-gallery__title,
  .se-tsr-section-head__title {
    font-size: 20px;
  }
}

.se-tsr .se-jn-meta {
  margin: 0;
}

/* 開催期間行の下余白（.se-tsr .se-jn-meta の margin:0 より優先） */
.se-tsr .se-jn-meta.se-tsr-meta--exhibit {
  margin-bottom: clamp(20px, 3vw, 32px);
}

.se-tsr-meta__note {
  display: block;
  margin-top: 0.35em;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.5;
}

@media (max-width: 767px) {
  .se-tsr .se-tsr-meta__note {
    font-size: 12px;
  }
}

.se-tsr-locations {
  margin: 0;
  padding: 0;
  list-style: none;
  font-weight: 500;
  line-height: 1.45;
}

/* スマホ時 dd が text-align:center のため、flex 内テキストまで中央寄せになり中点〜本文の距離が不自然になるのを防ぐ */
.se-tsr .se-tsr-locations,
.se-tsr .se-tsr-locations li {
  text-align: left;
}

/* UA の list marker と padding の干渉で中点と本文の間が空きすぎるため、flex + ::before で間隔を統一 */
.se-tsr-locations li {
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  gap: 0.35em;
  margin-bottom: 0.2em;
}

.se-tsr-locations li::before {
  content: '・';
  flex-shrink: 0;
}

.se-tsr-locations li:last-child {
  margin-bottom: 0;
}

.se-tsr .se-jn-notes-wrap {
  margin-top: clamp(24px, 3vw, 32px);
}

/* 設置場所のみ：dd が flex:1 で行末まで伸び、短文の右に空白が出るのを抑える */
.se-tsr .se-jn-meta__row:last-of-type .se-jn-meta__value {
  flex: 0 1 auto;
  min-width: 0;
}

@media (max-width: 767px) {
  .se-tsr-stamp-grid {
    grid-template-columns: 1fr;
    gap: clamp(20px, 4vw, 28px);
  }

  /* DOM 順（dl → チラシ → 注意）がそのまま縦並びになるようリセット */
  .se-tsr-stamp-grid > dl,
  .se-tsr-stamp-grid > .se-tsr-stamp__visual,
  .se-tsr-stamp-grid > .se-jn-notes-wrap {
    grid-column: 1;
    grid-row: auto;
  }

  .se-tsr-stamp-grid > .se-jn-notes-wrap {
    margin-top: 0;
  }

  .se-tsr-stamp__visual {
    justify-content: center;
    width: 100%;
  }

  .se-tsr-stamp-flyer {
    max-width: 100%;
    width: 100%;
  }
}

/* スマホ・タブレットでも化石は横並び（狭い画面は幅を自動調整） */
@media (max-width: 599px) {
  .se-tsr-fossils {
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: flex-start;
    justify-content: flex-start;
    gap: clamp(8px, 2vw, 16px);
  }

  .se-tsr-fossils__img {
    flex: 1 1 0;
    width: 0;
    min-width: 0;
    max-width: none;
  }
}

/* --- ジュラシックナイト（タブ1）--- */
.se-jn {
  color: var(--text);
  font-size: 16px;
  line-height: 1.75;
}

.se-jn-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  grid-template-areas:
    "intro visual"
    "meta visual";
  gap: clamp(20px, 3vw, 40px);
  align-items: start;
  margin-bottom: 36px;
}

.se-jn-hero__intro {
  grid-area: intro;
}

.se-jn-lead {
  margin: 0 0 1em;
  font-size: 1rem;
  font-weight: 700;
  color: var(--text);
}

.se-jn-lead--emph {
  color: var(--red);
  font-weight: 900;
}

/* ヒーロー内：飲酒注意のリード（PC14px／スマホ12px・font-weight 500）
   ※ .se-jn-lead 単体より詳細度を上げ、640px以下の一括指定にも負けないようにする */
.se-jn .se-jn-hero__intro p.se-jn-lead--alcohol {
  font-size: 14px;
  font-weight: 500;
}

/* 強調リード「会場は、昼とは一変…」… 文字サイズ（スマホ18／タブレットは周りより少し大／PC20） */
@media (max-width: 767px) {
  .se-jn .se-jn-hero__intro p.se-jn-lead--alcohol {
    font-size: 12px;
    font-weight: 500;
  }

  .se-jn-lead--emph {
    font-size: 18px;
  }
}

@media (min-width: 768px) and (max-width: 1023px) {
  .se-jn-lead--emph {
    font-size: clamp(17px, 0.55rem + 1.5vw, 19px);
  }
}

@media (min-width: 1024px) {
  .se-jn-lead--emph {
    font-size: 20px;
  }
}

/* 768px 以上では改行を外し、従来どおり表示 */
@media (min-width: 768px) {
  .se-jn-lead-emph-br {
    display: none;
  }
}

.se-jn-meta {
  margin: 20px 0 0;
}

/* 開催概要は1つの dl。右にロゴ（リスト全体の高さに対して縦中央）→ 開催日程の右の空きを埋める */
.se-jn-hero__meta-logo {
  grid-area: meta;
  margin-top: 0;
  width: 100%;
}

.se-jn-hero__meta-with-logo {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: clamp(12px, 2.5vw, 28px);
  width: 100%;
  min-width: 0;
}

.se-jn-hero__meta-with-logo .se-jn-meta {
  margin: 0;
  flex: 1 1 auto;
  min-width: 0;
}

.se-jn-hero__meta-with-logo .se-jn-hero__logo {
  flex: 0 0 auto;
}

.se-jn-meta__row {
  display: flex;
  align-items: flex-start;
  gap: 12px 16px;
  margin-bottom: 24px;
}

.se-jn-meta__row:last-of-type {
  margin-bottom: 0;
}

.se-jn-meta__label {
  flex: 0 0 auto;
  margin: 0;
  padding: 5px 12px;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  border: 1px solid var(--text);
  border-radius: 2px;
  line-height: 1.3;
}

/* ヒーロー：開催日程・会場・開催時間のラベル幅を統一（幅は min-width + padding） */
.se-jn-meta--equal-labels .se-jn-meta__label {
  flex: 0 0 auto;
  min-width: 7.25em;
  padding: 5px 12px;
  box-sizing: border-box;
  text-align: center;
}

.se-jn-meta__value {
  margin: 0;
  padding-top: 5px;
  flex: 1;
  min-width: 0;
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.55;
}

.se-jn-hero__logo {
  display: block;
  margin: 0;
  width: auto;
  max-width: min(140px, 30vw);
  height: auto;
  border-radius: 4px;
}

.se-jn-hero__visual {
  grid-area: visual;
  position: relative;
  min-width: 0;
}

.se-jn-hero__photo {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 10;
  min-height: 160px;
  object-fit: cover;
  border-radius: 6px;
}

.se-jn-img-caption {
  margin: 8px 0 0;
  font-size: 12px;
  font-weight: 500;
  color: #666;
  text-align: right;
  line-height: 1.4;
}

/* ジュラシックナイト：特別企画（ダイナソーミュージアム館長） */
.se-jn-special {
  margin-top: 48px;
  padding-top: 48px;
  border-top: 1px solid #e4e4e4;
}

.se-jn-special__head {
  text-align: center;
  font-size: clamp(1.5rem, 2.9vw, 2.125rem);
}

.se-jn-special__eyebrow {
  display: inline-block;
  margin: 0 0 8px;
  padding: 2px 18px;
  font-size: 0.9em;
  font-weight: 800;
  letter-spacing: 0.12em;
  color: var(--red);
  border: 2px solid var(--red);
  border-radius: 2px;
  line-height: 1.35;
}

/* 文字サイズは .se-jn-special__head（＝ .mido-catch-heading と同じ clamp）を 1em で継承 */
.se-jn-special__title {
  margin: 0 0 14px;
  font-size: 1em;
  font-weight: 900;
  line-height: 1.35;
  letter-spacing: 0.02em;
  color: var(--red);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.45em;
}

.se-jn-special__title-main {
  display: block;
  max-width: 100%;
}

.se-jn-special__title-sub {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.35em 0.55em;
  max-width: 100%;
}

.se-jn-special__title-deco {
  flex: 0 0 auto;
  width: clamp(28px, 7.5vw, 39px);
  height: auto;
  display: block;
}

.se-jn-special__title-deco--flip {
  transform: scaleX(-1);
}

.se-jn-special__title-sub-text {
  flex: 0 1 auto;
  text-align: center;
}

.se-jn-special__title-lb-sp::before {
  content: none;
}

.se-jn-special__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: clamp(22px, 3.2vw, 40px);
  align-items: start;
  margin-top: 32px;
}

.se-jn-special__aside {
  display: flex;
  flex-direction: column;
  gap: 20px;
  min-width: 0;
}

.se-jn-special__photo {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 6px;
}

.se-jn-special__meta {
  margin: 0;
}

.se-jn-special__meta .se-jn-meta__label {
  border-color: #b0b0b0;
  color: var(--text);
  font-weight: 700;
  text-align: center;
  min-width: 5.5em;
}

.se-jn-special__meta .se-jn-meta__value {
  font-weight: 500;
}

.se-jn-special__body {
  min-width: 0;
}

.se-jn-special__text {
  margin: 0 0 1.15em;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.8;
  color: var(--text);
}

.se-jn-special__text:last-child {
  margin-bottom: 0;
}

.se-jn-table-wrap {
  width: 100%;
  margin-bottom: 28px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.se-jn .se-jn-price {
  min-width: 520px;
}

.se-jn .se-jn-price thead tr {
  background: transparent;
}

.se-jn table.se-jn-price thead th {
  text-align: center;
  font-weight: 800;
  letter-spacing: 0.04em;
  border-bottom: 1px solid var(--border);
  vertical-align: middle;
}

.se-jn table.se-jn-price thead th:first-child {
  text-align: left;
  background: #e8e6e3;
  color: var(--text);
}

.se-jn table.se-jn-price thead th:nth-child(2) {
  background: var(--green);
  color: #ffffff;
}

.se-jn table.se-jn-price thead th:nth-child(3) {
  background: var(--teal);
  color: #ffffff;
}

.se-jn table.se-jn-price tbody td:nth-child(2),
.se-jn table.se-jn-price tbody td:nth-child(3) {
  text-align: center;
}

/* スマホのみ改行（::before は 640px 以下で有効） */
.se-jn-price__lb-sp::before {
  content: none;
}

/* チケット「注意事項」（.notes-wrap）と同じグレー・本文サイズ */
.se-jn-notes-wrap {
  background: #f7f5f2;
  border-radius: 6px;
  padding: 24px 28px;
}

.se-jn-notes {
  margin: 0;
  padding: 0 0 0 1.2em;
  font-size: 1rem;
  font-weight: 500;
  color: var(--text);
  line-height: 1.5;
}

.se-jn-notes li {
  margin-bottom: 0.65em;
}

.se-jn-notes li:last-child {
  margin-bottom: 0;
}

.se-et-food .se-jn-notes-wrap {
  margin-top: clamp(24px, 3.5vw, 40px);
}

/* ジュラシックナイト：ブルワリー紹介 */
.se-jn-brewery {
  margin-top: 44px;
  padding-top: 8px;
}

.se-jn-brewery__title {
  font-size: clamp(20px, 2.4vw, 24px);
  font-weight: 900;
  color: var(--red);
  text-align: left;
  margin: 0;
  padding-bottom: 12px;
  border-bottom: 2px solid rgba(140, 0, 6, 0.45);
  letter-spacing: 0.04em;
}

.se-jn-brewery__item {
  padding-top: 28px;
}

.se-jn-brewery__item + .se-jn-brewery__item {
  margin-top: 28px;
  padding-top: 28px;
  border-top: 1px solid #dcdcdc;
}

.se-jn-brewery__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.62fr);
  gap: 28px 36px;
  align-items: start;
}

.se-jn-brewery__name {
  font-size: clamp(17px, 1.8vw, 19px);
  font-weight: 900;
  color: var(--text);
  margin: 0 0 12px;
  letter-spacing: 0.02em;
}

.se-jn-brewery__desc {
  margin: 0 0 1em;
  font-size: 1rem;
  line-height: 1.5;
  font-weight: 500;
  color: var(--text);
}

.se-jn-brewery__desc--tight {
  margin-top: -0.35em;
  margin-bottom: 1em;
  font-weight: 800;
}

.se-jn-brewery__sns {
  margin: 4px 0 18px;
}

.se-jn-brewery__link {
  color: #1a73e8;
  text-decoration: underline;
  text-underline-offset: 2px;
  font-weight: 700;
  font-size: 15px;
}

.se-jn-brewery__link:hover {
  opacity: 0.88;
}

/* 店舗住所など複数行：開催概要（.se-jn-meta__row）と同じ行間 24px を全幅で統一 */
.se-jn-brewery__address-list {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

/* PC：ラベルと住所を横並び／スマホは @media で縦＋中央 */
.se-jn-brewery__address {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 12px 14px;
  margin-top: 0;
}

.se-jn-brewery__addr-label {
  flex: 0 0 auto;
  margin: 0;
  padding: 4px 10px;
  box-sizing: border-box;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  border: 1px solid var(--text);
  border-radius: 2px;
  line-height: 1.35;
  text-align: center;
}

.se-jn-brewery__addr {
  margin: 0;
  flex: 1;
  min-width: 0;
  padding-top: 3px;
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.65;
  text-align: left;
}

.se-jn-brewery__media {
  margin: 0;
}

.se-jn-brewery__media--dual {
  display: flex;
  flex-direction: column;
  gap: 14px;
  align-items: stretch;
}

.se-jn-brewery__img {
  display: block;
  width: 100%;
  max-width: 480px;
  height: auto;
  margin-left: auto;
  border-radius: 6px;
}

@media (max-width: 900px) {
  .se-jn-brewery__grid {
    grid-template-columns: 1fr;
  }

  /* 本文→店舗住所→画像の順（order で先頭にしない） */
  .se-jn-brewery__grid > .se-jn-brewery__media {
    max-width: 359px;
    margin: 0 auto;
  }

  .se-jn-brewery__address {
    flex-direction: column;
    align-items: center;
    gap: 6px;
  }

  .se-jn-brewery__addr-label {
    min-width: 7.25em;
    padding: 5px 12px;
    letter-spacing: 0.04em;
    line-height: 1.3;
  }

  .se-jn-brewery__addr {
    flex: none;
    width: 100%;
    max-width: 36em;
    padding-top: 0;
    font-weight: 500;
    line-height: 1.55;
    text-align: center;
  }

  .se-jn-brewery__img {
    margin-left: auto;
    margin-right: auto;
    max-width: 100%;
  }

  .se-jn-hero {
    grid-template-columns: 1fr;
    grid-template-areas:
      "intro"
      "visual"
      "meta";
  }

  .se-jn-hero__logo {
    max-width: min(200px, 36vw);
  }

  /* ヒーロー写真を特別企画の写真（.se-jn-special__aside 内）と同じ最大幅に揃える */
  .se-jn-hero__visual {
    max-width: 520px;
    margin-left: auto;
    margin-right: auto;
    width: 100%;
  }

  .se-jn-hero__photo {
    min-height: 200px;
  }

  .se-jn-special__grid {
    grid-template-columns: 1fr;
  }

  .se-jn-special__aside {
    max-width: 520px;
    margin-left: auto;
    margin-right: auto;
    width: 100%;
  }
}

@media (max-width: 640px) {
  .se-jn-hero__intro {
    text-align: center;
  }

  .se-jn-hero .se-jn-img-caption {
    text-align: center;
  }

  .se-jn-hero__meta-with-logo {
    flex-direction: column;
    align-items: center;
    gap: 16px;
  }

  .se-jn-hero__meta-with-logo .se-jn-meta {
    width: 100%;
    align-self: stretch;
  }

  .se-jn-hero__meta-with-logo .se-jn-hero__logo {
    max-width: 152px;
    width: 100%;
  }

  /* スマホ：ラベル上・本文下＋中央寄せ */
  .se-jn-meta__row {
    flex-direction: column;
    align-items: center;
    gap: 6px;
  }

  /* PC と同じ 7.25em でラベル幅を統一（column 時は flex-basis を使わず width のみ） */
  .se-jn-meta--equal-labels .se-jn-meta__label {
    flex: 0 0 auto;
    width: min(7.25em, 100%);
    min-width: min(7.25em, 100%);
    max-width: 100%;
    box-sizing: border-box;
    padding: 4px 12px;
    align-self: center;
    text-align: center;
  }

  .se-jn-special__meta .se-jn-meta__label {
    flex: 0 0 auto;
    width: min(7.25em, 100%);
    min-width: min(7.25em, 100%);
    max-width: 100%;
    box-sizing: border-box;
    padding: 5px 12px;
    align-self: center;
    text-align: center;
  }

  .se-jn-meta__value {
    padding-top: 0;
    flex: 1 1 auto;
    width: 100%;
    min-width: 0;
    text-align: center;
  }

  .se-jn .se-jn-price {
    min-width: 0;
  }

  .se-jn table.se-jn-price .se-jn-price__lb-sp::before {
    content: '\A';
    white-space: pre;
  }

  .se-jn table.se-jn-price thead th:nth-child(2),
  .se-jn table.se-jn-price thead th:nth-child(3),
  .se-jn table.se-jn-price tbody td:nth-child(2),
  .se-jn table.se-jn-price tbody td:nth-child(3) {
    min-width: 7rem;
  }

  .se-jn table.se-jn-price .price {
    white-space: nowrap;
  }

  .se-jn-special__title .se-jn-special__title-lb-sp::before {
    content: '\A';
    white-space: pre;
  }

  .se-tablist {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  /* 2×2 時も「つくるんフェスタ」2行相当の高さに全タブを揃える */
  .se-tab {
    border-radius: 6px 6px 0 0;
    border-bottom: none;
    min-height: clamp(2.35rem, 16vw, 3.75rem);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
  }

  .se-tab--multiline {
    padding-top: 12px;
    padding-bottom: 12px;
  }

  .se-jn-brewery__addr-label {
    min-width: min(7.25em, 100%);
    max-width: 100%;
  }

  /* ジュラシックナイト：PC 16px／スマホ最小 14px */
  .se-jn-lead,
  .se-jn-meta__label,
  .se-jn-meta__value,
  .se-jn-special__text,
  .se-jn-brewery__desc,
  .se-jn-brewery__addr-label,
  .se-jn-brewery__addr,
  .se-et-food-card__desc,
  .se-et-food-card__dates,
  .se-et-food-card__date-label,
  .se-et-food-card__date-value {
    font-size: 15px;
  }

  /* 上記で .se-jn-lead が 14px になるため、強調行だけ 18px を維持 */
  .se-jn-lead--emph {
    font-size: 18px;
  }

  /* 飲酒注意：直前の .se-jn-lead 一括 15px より後に置き、12px・500 を確実に適用 */
  .se-jn .se-jn-hero__intro p.se-jn-lead--alcohol {
    font-size: 12px;
    font-weight: 500;
  }

  .se-et-attraction__meta.se-jn-meta {
    flex-direction: column;
    align-items: center;
    gap: 16px;
  }
}

/* えきまえテラス・飲食ブースカード：店舗名（スマホ 20px） */
@media (max-width: 767px) {
  .se-et-food-card__name {
    font-size: 20px;
  }

  .se-et-attraction__subtitle {
    font-size: 20px;
  }
}


/* =============================================
   SECTION: アクセス
============================================= */
#access {
  position: relative;
  padding: 80px 0 90px;
  background: #ffffff;
  overflow: hidden;
  isolation: isolate;
}

#access > .container,
#access > .access-map-wrap {
  position: relative;
  z-index: 1;
}

.access-eyebrow {
  text-align: center;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.22em;
  color: #BF0008;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.access-title {
  text-align: center;
  font-size: 48px;
  font-weight: 900;
  color: var(--red);
  margin-bottom: 36px;
}

.access-info {
  text-align: center;
  margin-bottom: 28px;
}

.access-venue {
  font-size: 20px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 10px;
}

.access-address {
  font-size: 18px;
  color: var(--text);
  margin-bottom: 16px;
}

.access-transport {
  font-size: 18px;
  font-weight: 700;
  color: var(--text);
  line-height: 2;
  margin-bottom: 20px;
}

.access-map-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 18px;
  font-weight: 700;
  color: #1a73e8;
  text-decoration: none;
}
.access-map-link:hover { text-decoration: underline; }

.access-notice {
  max-width: 700px;
  margin: 24px auto 40px;
  padding: 14px 20px;
  background: #fff5f5;
  border: 1px solid #f5c6c6;
  border-radius: 6px;
  font-size: 16px;
  color: #BF0008;
  text-align: center;
}

.access-map-wrap {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.access-map-wrap iframe {
  width: 100%;
  height: 380px;
  border: 0;
  border-radius: 8px;
  display: block;
}


/* =============================================
   SECTION: 協賛企業
============================================= */
.sponsor {
  position: relative;
  padding: clamp(40px, 6vw, 64px) 0 clamp(48px, 7vw, 72px);
  background: #ffffff;
}

.sponsor .container {
  max-width: 960px;
}

.sponsor__heading {
  box-sizing: border-box;
  width: fit-content;
  max-width: 100%;
  margin: 0 auto clamp(28px, 4vw, 40px);
  padding: 10px clamp(24px, 5vw, 40px);
  border: 1px solid #8C5703;
  border-radius: 2px;
  font-size: clamp(18px, 2vw, 22px);
  font-weight: 700;
  letter-spacing: 0.06em;
  color: #8C5703;
  text-align: center;
  line-height: 1.4;
}

/*
 * 協賛ロゴ（ロゴ増設用）
 * - 各 <img> に「sponsor__logo + sponsor__logo--（任意の識別子）」を付与する
 * - サイズは画像自身のクラスで指定：--sponsor-logo-w（表示幅＝width にそのまま適用） / --sponsor-logo-max-h（高さ上限・任意）
 * - max-width だけだと「自然幅より大きくはしない」ため拡大しない。大きくしたいときは --sponsor-logo-w を上げる
 * - ブレークポイントごとに .sponsor__logo--slug を @media 内で再定義すれば PC / タブレット / スマホ別に調整可能
 * 追加例：
 *   <li class="sponsor__item"><img class="sponsor__logo sponsor__logo--acme" src="..." alt=""></li>
 *   .sponsor__logo--acme { --sponsor-logo-w: 200px; }
 */
.sponsor__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: clamp(24px, 4vw, 48px) clamp(32px, 5vw, 64px);
}

.sponsor__item {
  margin: 0;
  padding: 0;
  /* flex 内で子 img の幅が潰れるのを防ぐ */
  flex: 0 0 auto;
  flex-shrink: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  max-width: 100%;
  box-sizing: border-box;
}

.sponsor__link {
  display: inline-block;
  line-height: 0;
  text-decoration: none;
  color: inherit;
}

/* ベース：未指定の識別子用フォールバック */
.sponsor__logo {
  display: block;
  box-sizing: border-box;
  width: var(--sponsor-logo-w, 280px);
  height: auto;
  max-height: var(--sponsor-logo-max-h, none);
  object-fit: contain;
  min-width: 48px;
  min-height: 20px;
}

/* ロゴ識別子ごと（モバイル優先 → 481px+ → タブレット → PC） */
.sponsor__logo--softbank {
  --sponsor-logo-w: min(160px, 82vw);
  --sponsor-logo-max-h: none;
}

.sponsor__logo--jcs {
  --sponsor-logo-w: min(220px, 92vw);
  --sponsor-logo-max-h: none;
}

@media (min-width: 481px) and (max-width: 768px) {
  .sponsor__logo--softbank {
    --sponsor-logo-w: min(200px, 44vw);
  }

  .sponsor__logo--jcs {
    --sponsor-logo-w: min(260px, 58vw);
  }
}

@media (min-width: 769px) and (max-width: 1024px) {
  .sponsor__logo--softbank {
    --sponsor-logo-w: 210px;
  }

  .sponsor__logo--jcs {
    --sponsor-logo-w: 280px;
  }
}

@media (min-width: 1025px) {
  .sponsor__logo--softbank {
    --sponsor-logo-w: 200px;
  }

  .sponsor__logo--jcs {
    --sponsor-logo-w: 320px;
  }
}

@media (max-width: 480px) {
  .sponsor__logo {
    min-width: 40px;
    min-height: 16px;
  }
}


/* =============================================
   FOOTER
============================================= */
#site-footer {
  position: relative;
  overflow: hidden;
  padding: 72px 24px 56px;
  text-align: center;
  color: #ffffff;
}

/* 背景画像レイヤー */
.footer-bg {
  position: absolute;
  inset: 0;
  background-image: url('assets/images/bg-fotter.jpg');
  background-color: #102010;
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  z-index: 0;
}

/* 暗めのオーバーレイ */
.footer-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 15, 5, 0.55);
  z-index: 1;
}

.footer-inner {
  position: relative;
  z-index: 2;
  max-width: 720px;
  margin: 0 auto;
}

/* タイトル（PC 約40px／狭い幅は vw で他要素とバランス調整） */
.footer-site-name {
  font-size: 40px;
  font-weight: 900;
  line-height: 1.25;
  color: #ffffff;
  letter-spacing: 0.05em;
  margin-bottom: 36px;
}

/* 問合せ */
.footer-contact-label {
  font-size: 16px;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 6px;
}

.footer-contact-desc {
  font-size: 16px;
  color: rgba(255,255,255,0.85);
  margin-bottom: 20px;
}

.footer-office-name {
  font-size: 16px;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 8px;
}

.footer-mail-link {
  display: inline-block;
  font-size: 16px;
  font-weight: 700;
  color: #ffffff;
  text-decoration: underline;
  text-underline-offset: 3px;
  margin-bottom: 40px;
}
.footer-mail-link:hover { opacity: 0.8; }

/* バッジ */
.footer-badge {
  display: inline-block;
  background: #ffffff;
  color: var(--text);
  font-size: 16px;
  font-weight: 700;
  padding: 4px 18px;
  border-radius: 3px;
  margin-bottom: 14px;
}

/* 主催名 */
.footer-organizer {
  font-size: 16px;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 36px;
}

/* 後援タグ列 */
.footer-supporters {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}

.footer-supporter-tag {
  display: inline-block;
  border: 1px solid rgba(255,255,255,0.8);
  border-radius: 999px;
  padding: 6px 20px;
  font-size: 16px;
  font-weight: 500;
  color: #ffffff;
  white-space: nowrap;
}


/* =============================================
   RESPONSIVE
============================================= */
@media (min-width: 769px) and (max-width: 1200px) {
  /* 中間幅は固定右バーを避け、下部バーへ切替 */
  .fixed-bar { display: none; }
  .fixed-bottom { display: flex; }
  body { padding-bottom: 68px; }

  /* チケット：770pxでは約18px、横幅に応じて段階的に拡大 */
  .tt-header { font-size: clamp(18px, 2vw, 22px); }
  table.tt th { font-size: clamp(16px, 1.6vw, 18px); }
  table.tt th,
  table.tt td {
    font-size: clamp(16px, 2vw, 22px);
    padding: clamp(12px, 1.2vw, 16px) clamp(4px, 1vw, 10px);
  }
  table.tt .price { font-size: clamp(18px, 2.5vw, 24px); }
  table.tt .pn { font-size: clamp(14px, 1.6vw, 16px); }

  .ts-label { font-size: clamp(22px, 2.6vw, 28px); }
  .timeslot {
    font-size: clamp(18px, 2vw, 20px);
    padding: clamp(12px, 1.4vw, 14px) clamp(14px, 1.8vw, 18px);
  }
  .timeslot .num { font-size: clamp(13px, 1.4vw, 16px); }
  .btn-ticket,
  .ticket-cta-announce { font-size: clamp(18px, 2vw, 20px); }

  /* 他セクションの同傾向箇所も中間幅で可変化 */
  .access-venue { font-size: clamp(18px, 2vw, 20px); }
  .access-address,
  .access-transport,
  .access-map-link { font-size: clamp(16px, 1.8vw, 18px); }

  /* みどころ：テンプレ準拠の見栄え（2カラム + カード内は縦積み） */
  .mido-dino {
    display: block;
    top: 8px;
    z-index: 1;
  }
  .mido-dino--trex { left: -10px; width: clamp(190px, 24vw, 284px); }
  .mido-dino--triceratops { right: -10px; top: 10px; width: clamp(190px, 24vw, 284px); }
  .mido-eyebrow,
  .mido-main-title,
  .mido-catch {
    position: relative;
    z-index: 2;
  }
  .mido-main-title { font-size: clamp(34px, 4.2vw, 44px); }
  .mido-catch-heading { font-size: clamp(22px, 2.8vw, 34px); }
  .mido-catch-word { font-size: clamp(30px, 3.7vw, 40px); }
  .mido-catch-slash { font-size: clamp(26px, 3.1vw, 34px); }
  .mido-catch-body { font-size: clamp(17px, 1.9vw, 22px); }
  .se-jn-special__head { font-size: clamp(22px, 2.8vw, 34px); }
  .ticket-lead { background-size: clamp(60px, 9vw, 80px); }

  .mido-grid-wrap {
    max-width: 980px;
    padding: 0 20px;
  }

  .mido-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px;
    align-items: stretch;
  }

  .mido-card {
    min-height: 100%;
    justify-content: center;
  }

  .mido-card-inner {
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    width: 100%;
    padding: 24px 26px;
    gap: 14px;
    text-align: center;
  }

  .mido-card-text {
    width: min(100%, 560px);
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .mido-card-img-area { width: var(--mido-card-img-w, clamp(110px, 12vw, 120px)); }
  .mido-card-img-area--lg { width: var(--mido-card-img-w, clamp(190px, 20vw, 220px)); }
  .mido-card-img-area--learning { --mido-card-img-w: clamp(110px, 12vw, 120px); }
  .mido-card-img-area--stamp    { --mido-card-img-w: clamp(110px, 12vw, 120px); }
  .mido-card-img-area--theater  { --mido-card-img-w: clamp(110px, 12vw, 120px); }
  .mido-card-img-area--terrace  { --mido-card-img-w: clamp(190px, 20vw, 220px); }
  .mido-card-img-area--wormhole {
    --mido-card-img-w: clamp(130px, 20vw, 180px);
  }
  .mido-card-img-area--photospot {
    --mido-card-img-w: clamp(168px, 26vw, 236px);
  }

  .mido-card-img { width: 100%; height: auto; }

  .mido-badge-red {
    font-size: clamp(18px, 2vw, 24px);
    margin-left: auto;
    margin-right: auto;
  }
  .mido-badge-free-wrap { justify-content: center; }
  .mido-badge-free-label {
    font-size: clamp(22px, 2.15vw, 30px);
    line-height: 1.35;
  }
  .mido-card-title {
    font-size: clamp(22px, 2.15vw, 30px);
    line-height: 1.35;
    text-align: center;
  }
  .mido-card-desc {
    font-size: clamp(15px, 1.3vw, 18px);
    max-width: 34ch;
    line-height: 1.65;
    text-align: center;
    margin-left: auto;
    margin-right: auto;
  }
  .mido-price-badge { margin-left: auto; margin-right: auto; }
}

/* タブレット幅：みどころ注意書き〜サイドイベント見出しの間を約40px縮める */
@media (min-width: 769px) and (max-width: 1024px) {
  #midokoro {
    padding-bottom: 60px;
  }

  #side-event {
    padding-top: 60px;
  }
}

@media (max-width: 768px) {
  /* 固定バー切り替え：PC右サイドバー非表示 → SP下部バー表示 */
  .fixed-bar { display: none; }
  .fixed-bottom { display: flex; }
  body { padding-bottom: 68px; }

  .fixed-bottom-notice {
    letter-spacing: 0.02em;
  }
  .fixed-bottom-notice__inner {
    white-space: nowrap;
  }
  .fixed-bottom-notice__date {
    font-size: 10px;
  }

  #ticket { padding: 56px 0 32px; }
  #ticket .footprint--ticket-tr {
    top: 0;
    right: 0;
    width: clamp(250px, 44vw, 280px);
    height: clamp(175px, 30vw, 200px);
    background-position: top right;
  }
  #access .footprint--access-tl {
    top: 0;
    left: 0;
    right: auto;
    width: clamp(240px, 46vw, 280px);
    height: clamp(170px, 32vw, 210px);
    background-position: top left;
  }
  #access .footprint--access-br {
    top: 46%;
    bottom: auto;
    left: auto;
    right: 0;
    width: clamp(220px, 42vw, 280px);
    height: clamp(150px, 30vw, 210px);
    background-position: center right;
  }

  .section-panel { padding: 44px 0 34px; }

  /* チケットセクション：タブレットサイズ */
  .sec-title       { font-size: 32px; }
  .sec-eyebrow     { font-size: 12px; }
  .ticket-lead {
    font-size: 14px;
    border-width: 4px;
    padding: 16px 20px;
    line-height: 1.8;
  }
  .ticket-lead { background-size: clamp(70px, 18vw, 90px); }
  .tt-header       { font-size: 16px; }
  table.tt th      { font-size: 14px; }
  table.tt th,
  table.tt td      { font-size: 16px; padding: 12px 16px; }
  table.tt .price  { font-size: 20px; }
  table.tt .pn     { font-size: 14px; }
  .ts-label        { font-size: 22px; }
  .notes-wrap h4   { font-size: 16px; }
  .notes-wrap ul li,
  .notes-block__title,
  .notes-block__text { font-size: 16px; }

  .ticket-tables {
    flex-direction: column;
    gap: 16px;
  }

  .ticket-table-wrap {
    min-width: 0;
    width: 100%;
  }

  .timeslots { gap: 8px; }

  .timeslot {
    min-width: calc(50% - 8px);
    max-width: calc(50% - 8px);
    flex: 0 0 calc(50% - 8px);
    font-size: 16px;
    padding: 10px 8px;
  }
  .timeslot .num { font-size: 13px; }

  .btn-ticket,
  .ticket-cta-announce {
    padding: 22px 32px;
    min-width: 0;
    width: 100%;
    font-size: 16px;
  }

  /* みどころ */
  .mido-eyebrow      { font-size: 12px; }
  .mido-main-title    { font-size: 28px; }
  .mido-catch-heading { font-size: clamp(20px, 3.2vw, 30px); }
  .mido-catch-word { font-size: clamp(28px, 5.6vw, 38px); }
  .mido-catch-slash { font-size: clamp(24px, 4.7vw, 32px); }
  .mido-catch-body    { font-size: 16px; }
  .se-jn-special__head { font-size: clamp(20px, 3.2vw, 30px); }
  .mido-grid {
    grid-template-columns: 1fr;
  }
  .mido-dino {
    display: block;
    top: 16px;
    z-index: 1;
  }
  .mido-dino--trex { left: -8px; width: clamp(130px, 26vw, 200px); }
  .mido-dino--triceratops { right: -8px; top: 18px; width: clamp(130px, 26vw, 200px); }
  .mido-eyebrow,
  .mido-main-title,
  .mido-catch {
    position: relative;
    z-index: 2;
  }
  .mido-card-img-area { width: var(--mido-card-img-w, clamp(110px, 20vw, 140px)); }
  .mido-card-img {
    width: 100%;
    height: auto;
    margin: 0 auto;
  }
  .mido-badge-red     { font-size: 18px; }
  .mido-card-title    { font-size: 20px; }
  .mido-card-desc     { font-size: 14px; }
  .mido-note          { font-size: 14px; }
  #midokoro { padding: 34px 0 40px; }
  .midokoro-panel { padding: 28px 0 40px; }

  /* みどころ：見出し（イベントのみどころ）とキャッチ（動く！〜）の間をスマホ時 12px に */
  #midokoro .sec-title {
    margin-bottom: 12px;
  }

  /* サイドイベント */
  #side-event { padding: 56px 0 64px; }

  /* アクセス */
  .access-eyebrow    { font-size: 12px; }
  .access-title      { font-size: 32px; }
  .access-venue      { font-size: 16px; }
  .access-address    { font-size: 15px; }
  .access-transport  { font-size: 15px; }
  .access-map-link   { font-size: 15px; }
  .access-notice     { font-size: 14px; }
  .access-map-wrap iframe { height: 280px; }

  /* 協賛企業（見出しは他セクションのスマホ20pxに合わせる） */
  .sponsor__heading {
    font-size: 20px;
  }

  /* footer（タブレット：問合せ16px前後に対し見出しを一段大きく） */
  .footer-site-name    { font-size: clamp(26px, 4.8vw, 36px); }
  .footer-contact-label,
  .footer-office-name,
  .footer-mail-link,
  .footer-organizer    { font-size: 16px; }
  .footer-contact-desc { font-size: 15px; }
  .footer-badge,
  .footer-supporter-tag { font-size: 14px; }
}

@media (min-width: 481px) and (max-width: 768px) {
  /* みどころ：1カラム + カード内は横並び（添付レイアウト） */
  .mido-grid-wrap {
    max-width: 980px;
    padding: 0 14px;
  }

  .mido-grid {
    grid-template-columns: 1fr;
    gap: 14px;
    align-items: stretch;
  }

  .mido-card {
    justify-content: center;
    min-height: 100%;
  }

  .mido-card-inner {
    width: 100%;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    text-align: left;
    padding: 24px;
    gap: 24px;
  }

  .mido-card-text {
    flex: 0 1 270px;
    min-width: 0;
    width: auto;
    margin: 0;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
  }

  .mido-card-img-area { width: var(--mido-card-img-w, clamp(110px, 16vw, 120px)); }
  .mido-card-img-area--lg { width: var(--mido-card-img-w, clamp(190px, 30vw, 220px)); }
  .mido-card-img-area--learning { --mido-card-img-w: clamp(120px, 24vw, 190px); }
  .mido-card-img-area--stamp    { --mido-card-img-w: clamp(110px, 27vw, 160px); }
  .mido-card-img-area--theater  { --mido-card-img-w: clamp(110px, 16vw, 120px); }
  .mido-card-img-area--terrace  { --mido-card-img-w: clamp(170px, 32vw, 190px); }
  /* 768px前後：ワームホールのみ右カラムを広げてバランス調整 */
  .mido-card-img-area--wormhole {
    --mido-card-img-w: clamp(150px, 32vw, 180px);
  }
  .mido-card-img-area--photospot {
    --mido-card-img-w: clamp(150px, 32vw, 200px);
  }

  .mido-card-img {
    width: 100%;
    height: auto;
  }

  .mido-badge-red {
    white-space: nowrap;
    margin-left: 0;
    margin-right: 0;
  }

  .mido-badge-free-wrap { justify-content: flex-start; }
  .mido-badge-free-circle {
    width: 44px;
    height: 44px;
    font-size: 13px;
    line-height: 1.2;
  }
  .mido-badge-free-label {
    font-size: 20px;
    line-height: 1.35;
  }

  .mido-card-title {
    font-size: 20px;
    text-align: left;
    line-height: 1.35;
  }

  .mido-card-desc {
    text-align: left;
    max-width: 26ch;
    margin-left: 0;
    margin-right: 0;
    line-height: 1.6;
  }

  .mido-price-badge {
    margin-left: 0;
    margin-right: 0;
  }
}

@media (max-width: 480px) {
  .container { padding: 0 16px; }

  /* チケットセクション：スマホサイズ */
  .sec-title       { font-size: clamp(24px, 8vw, 36px); }
  .sec-eyebrow     { font-size: 11px; }
  .ticket-lead {
    font-size: 15px;
    border-width: 3px;
    padding: 14px 12px;
    line-height: 1.75;
  }
  .ticket-lead { background-size: 68px; }
  .ticket-lead-mobile-br { display: block; }
  #ticket .footprint--ticket-tr {
    top: 0;
    right: 0;
    width: clamp(200px, 62vw, 240px);
    height: clamp(145px, 44vw, 180px);
  }
  #access .footprint--access-tl {
    top: 0;
    left: 0;
    right: auto;
    width: clamp(260px, 66vw, 380px);
    height: clamp(208px, 59vw, 280px);  
    background-position: top left;
  }
  #ticket .footprint--ticket-bl {
    top: 40%;
    bottom: auto;
    left: 0;
    width: 58%;
    height: 44%;
    background-position: top left;
    z-index: 0;
    opacity: 0.9;
  }
  #access .footprint--access-br {
    top: auto;
    bottom: 0;
    left: auto;
    right: 0;
    width: clamp(260px, 66vw, 380px);
    height: clamp(208px, 59vw, 280px);  
    background-position: bottom right;
    z-index: 0;
    opacity: 0.9;
  }
  .tt-header       { font-size: 14px; padding: 12px 12px; text-align: center;}
  table.tt th      { font-size: 12px; }
  table.tt th,
  table.tt td      { padding: 10px 12px; font-size: 12px; }
  table.tt .price  { font-size: 18px; }
  table.tt .pn     { font-size: 12px; }
  .ts-label        { font-size: 18px; }
  .notes-wrap h4 {
    font-size: 14px;
    display: table;
    margin: 0 auto 16px;
  }
  .notes-wrap ul li,
  .notes-block__title,
  .notes-block__text { font-size: 14px; }

  .timeslot {
    min-width: calc(50% - 6px);
    max-width: calc(50% - 6px);
    flex: 0 0 calc(50% - 6px);
    font-size: 15px;
    padding: 10px 6px;
  }
  .timeslot .num   { font-size: 14px; }

  .btn-ticket,
  .ticket-cta-announce { font-size: 15px; }

  .notes-wrap { padding: 18px 16px; }
  .se-jn-notes-wrap {
    padding: 18px 16px;
  }
  .se-jn-notes {
    font-size: 14px;
  }
  #ticket { padding: 48px 0 24px; }
  .section-panel { padding: 34px 0 24px; }

  /* みどころ */
  .mido-eyebrow      { font-size: 11px; }
  .mido-main-title    { font-size: 30px; margin-top: 30px; }
  .mido-catch-heading { font-size: clamp(18px, 5vw, 24px); }
  .mido-catch-word { font-size: clamp(22px, 7vw, 28px); }
  .mido-catch-slash { font-size: clamp(20px, 6.8vw, 28px); }
  .mido-catch-body    { font-size: 14px; }
  /* 特別企画タイトル：ブルワリー紹介（min 20px）と同じくスマホでも 20px 下限 */
  .se-jn-special__head { font-size: clamp(20px, 5vw, 24px); }
  .mido-catch-body-br { display: block; }
  .mido-dino {
    display: block;
    top: -36px;
    z-index: 1;
  }
  .mido-dino--trex {
    left: -46px;
    width: clamp(130px, 34vw, 165px);
  }
  .mido-dino--triceratops {
    right: -48px;
    top: -48px;
    width: clamp(130px, 34vw, 165px);
  }
  .mido-eyebrow,
  .mido-main-title,
  .mido-catch {
    position: relative;
    z-index: 2;
  }
  .mido-badge-red     { font-size: 16px; }
  .mido-badge-free-circle { font-size: 16px; width: 60px; height: 60px; }
  .mido-badge-free-label  { font-size: 18px; }
  .mido-card-title    { font-size: 18px; }
  .mido-card-desc     { font-size: 15px; }
  .mido-price-badge   { font-size: 12px; }
  .mido-note          { font-size: 13px; }
  #midokoro { padding: 24px 0 48px; }
  .midokoro-panel { padding: 20px 0 0; }
  .mido-grid-wrap      { padding: 0 4px; }
  .mido-grid           { grid-template-columns: 1fr; gap: 14px; }
  .mido-card          { justify-content: center; }
  .mido-card-inner {
    width: 100%;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    text-align: center;
    padding: 28px 24px;
    gap: 10px;
  }
  .mido-card-text {
    width: 100%;
    max-width: none;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  .mido-card-title {
    width: 100%;
    line-height: 1.4;
  }
  .mido-card-title br { display: none; }
  .mido-card-desc {
    text-align: center;
    max-width: none;
    width: 100%;
    line-height: 1.6;
    padding: 0 2px;
    margin-left: auto;
    margin-right: auto;
  }
  .mido-card-desc br { display: none; }
  .mido-card-desc br.mido-card-desc-br-always {
    display: block;
  }
  .mido-price-badge { margin-left: auto; margin-right: auto; }
  .mido-card-img-area { width: var(--mido-card-img-w, clamp(110px, 37vw, 120px)); }
  .mido-card-img-area--lg { width: var(--mido-card-img-w, clamp(150px, 62vw, 190px)); }
  .mido-card-img-area--learning { --mido-card-img-w: clamp(110px, 37vw, 120px); }
  .mido-card-img-area--stamp    { --mido-card-img-w: clamp(110px, 37vw, 120px); }
  .mido-card-img-area--theater  { --mido-card-img-w: clamp(110px, 37vw, 120px); }
  .mido-card-img-area--terrace  { --mido-card-img-w: clamp(150px, 62vw, 190px); }
  .mido-card-img-area--wormhole {
    --mido-card-img-w: clamp(130px, 42vw, 180px);
  }
  .mido-card-img-area--photospot {
    --mido-card-img-w: clamp(120px, 50vw, 180px);
  }

  /* サイドイベント */
  #side-event { padding: 40px 0 48px; }

  .se-tab-panels {
    padding-top: 20px;
  }

  .se-tab-placeholder {
    font-size: 16px;
  }

  /* アクセス */
  .access-eyebrow    { font-size: 11px; }
  .access-title      { font-size: 24px; }
  .access-venue      { font-size: 15px; }
  .access-address    { font-size: 14px; }
  .access-transport  { font-size: 14px; }
  .access-map-link   { font-size: 14px; }
  .access-notice     { font-size: 13px; }

  /* footer（スマホ：14–15px台の本文より明確に主役） */
  .footer-site-name { font-size: clamp(22px, 6vw, 26px); }
  .footer-contact-label,
  .footer-office-name,
  .footer-mail-link,
  .footer-organizer { font-size: 15px; }
  .footer-contact-desc,
  .footer-badge,
  .footer-supporter-tag { font-size: 14px; }
  .footer-supporters { gap: 8px; }
  .footer-supporter-tag { padding: 5px 14px; }
}

/* =============================================
   スマホ〜タブレット狭幅：本文系 line-height 1.5 統一
   （各所の 1.6〜1.9・access の 2.0 などを 768px 以下で揃える）
   ============================================= */
@media (max-width: 768px) {
  body {
    line-height: 1.5;
  }

  .ticket-lead,
  .notes-wrap ul li,
  .notes-block__text,
  .se-jn,
  .se-jn-notes,
  .se-jn-notes li,
  .se-jn-lead,
  .se-jn-meta__label,
  .se-jn-meta__value,
  .se-jn-special__text,
  .se-jn-brewery__desc,
  .se-jn-brewery__addr,
  .se-et,
  .se-tf,
  .se-tsr,
  .se-tf-cta__lead,
  .se-tf-cta__btn,
  .se-et-food-card__desc,
  .se-et-food-card__dates,
  .se-et-food-card__date-label,
  .se-et-food-card__date-value,
  #access .access-venue,
  #access .access-address,
  #access .access-transport,
  #access .access-map-link,
  #access .access-notice,
  .mido-catch-body,
  .mido-note,
  .mido-card-desc,
  .footer-contact-desc,
  .footer-organizer,
  .footer-mail-link,
  .footer-supporter-tag,
  table.tt th,
  table.tt td,
  .se-tab-placeholder {
    line-height: 1.5;
  }

  /* アトラクション「実施日」本文・飲食ブース「出展日」・つくるんフェスタ概要：スマホでも最小 14px */
  .se-et-attraction .se-jn-meta__value,
  .se-et-food-card__date-value,
  .se-tf .se-jn-meta__value,
  .se-tf .se-tf-novelty__text,
  .se-tsr .se-jn-meta__value,
  .se-tsr .se-tsr-locations {
    font-size: max(14px, 1rem);
  }
}

/* 480px ブロック内の line-height 指定より後に効かせる */
@media (max-width: 480px) {
  body {
    padding-bottom: calc(68px + env(safe-area-inset-bottom));
  }

  .ticket-lead,
  .mido-card-desc,
  .notes-wrap ul li,
  .notes-block__text,
  #access .access-notice,
  #access .access-venue,
  #access .access-address,
  #access .access-transport,
  #access .access-map-link {
    line-height: 1.5 !important;
  }
}
