/*
  むつめ祭 当日サイト 共通スタイル
  - スマホ最適化
  - カードレイアウト
  - テーマカラーは :root のCSS変数で調整可能
*/

@import url('https://fonts.googleapis.com/css2?family=M+PLUS+Rounded+1c:wght@400;700;800&family=Noto+Sans+JP:wght@400;700;900&display=swap');

:root {
  --color-bg: #faf8f5;
  /* 背景：淡いベージュ */
  --color-surface: #ffffff;
  /* サーフェス：白 */
  --color-card: #ffffff;
  /* カード：白 */
  --color-text: #2f2a24;
  /* テキスト：落ち着いた濃いブラウン系 */
  --color-muted: #6a625b;
  /* 補助テキスト：グレイッシュブラウン */
  --color-primary: #2f6e4e;
  /* アクセント：植物を連想するグリーン */
  --color-accent: #6b4f3a;
  /* セカンダリ：深みのあるブラウン */
  --radius: 12px;
  --shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
  --border: 1px solid #e5e7eb;
}

* {
  box-sizing: border-box;
}

html,
body {
  height: 100%;
}

body {
  margin: 0;
  font-family: "Noto Sans JP", system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, "Hirigino Kaku Gothic ProN", "Yu Gothic UI", sans-serif;
  line-height: 1.6;
  color: var(--color-text);
  background: var(--color-bg);
  overflow-x: hidden;
}

/* 見出しやブランドは丸みのある書体を採用 */
h1,
h2,
h3,
.brand-name,
.icon-title {
  font-family: "M PLUS Rounded 1c", "Noto Sans JP", system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, "Yu Gothic UI", sans-serif;
}

a {
  color: var(--color-primary);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.container {
  width: min(100%, 960px);
  margin: 0 auto;
  padding: 16px 16px 64px;
}

/* ヘッダー */
header.site-header {
  background: transparent;
  border-bottom: none;
}

/* ヘッダーを画面上部に固定（常時追従） */
header.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
}

/* 固定ヘッダー分の余白（他要素が隠れないように） */
body {
  padding-top: var(--site-header-offset, 56px);
}

header.site-header .inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(100%, 960px);
  margin: 0 auto;
  padding: 12px 16px;
}

/* デスクトップナビ（PC専用） */
.desktop-nav { display: none; }
.desktop-nav .desktop-menu {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  gap: 0;
}
.desktop-nav .desktop-menu > li:not(:first-child) {
  border-left: 1px solid #000;
  margin-left: 12px;
  padding-left: 12px;
}
.desktop-nav .desktop-menu a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 12px;
  border-radius: 0;
  background: transparent;
  border: none;
  color: #374151;
  font-weight: 700;
  text-decoration: none;
  transition: background-color .15s ease, color .15s ease;
}
.desktop-nav .desktop-menu a:hover {
  background: #f3f4f6;
  color: #111827;
}
.desktop-nav .desktop-menu a:focus-visible {
  outline: 3px solid rgba(59,130,246,.25);
  outline-offset: 2px;
}

/* デスクトップナビ: ドロップダウン */
.desktop-nav .desktop-menu { gap: 0; }
.desktop-nav .has-submenu { position: relative; }
.desktop-nav .has-submenu > details { position: relative; }
.desktop-nav .has-submenu > details > summary {
  list-style: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 12px;
  border-radius: 0;
  background: transparent;
  border: none;
  color: #374151;
  font-weight: 800;
}
.desktop-nav .has-submenu > details > summary::-webkit-details-marker { display: none; }
.desktop-nav .has-submenu > details[open] > summary,
.desktop-nav .has-submenu > details > summary:hover { background: #f3f4f6; }
.desktop-nav .submenu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  min-width: 220px;
  padding: 8px;
  margin: 0;
  list-style: none;
  display: none;
  background: #ffffff;
  border: none;
  border-radius: 0;
  box-shadow: 0 8px 20px rgba(0,0,0,0.08);
  z-index: 1002;
}
.desktop-nav .submenu li { margin: 0; }
.desktop-nav .submenu li a {
  display: block;
  padding: 8px 10px;
  border-radius: 0;
  border: none;
  color: #374151;
}
.desktop-nav .submenu li a:hover { background: #f3f4f6; color: #111827; }
.desktop-nav .has-submenu:hover .submenu,
.desktop-nav .has-submenu > details[open] .submenu { display: block; }

/* PC表示のみナビを表示し、ハンバーガーを隠す */
@media (min-width: 900px) {
  .desktop-nav { display: block; }
  .menu-toggle { display: none !important; }
}

/* PCではヘッダー背景を白に */
@media (min-width: 900px) {
  header.site-header {
    background: #ffffff;
    border-bottom: 1px solid #e5e7eb;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
  }
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.brand-logo {
  width: 64px;
  height: 64px;
  border-radius: 100%;
  object-fit: contain;
  display: block;
  background: #fff;
  padding: 6px;
}

.brand-name {
  font-weight: 700;
  letter-spacing: .02em;
}



/* ハンバーガーメニュー */
.menu-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 8px 10px;
  border-radius: 10px;
  border: none;
  background: transparent;
  color: #000;
  cursor: pointer;
  transition: transform .15s ease;
}

.menu-toggle:hover {
  background: transparent;
  transform: none;
}

/* ハンバーガーボタン開閉時の軽いポップ演出 */
.menu-toggle[aria-expanded="true"] { animation: btn-pop 300ms cubic-bezier(0.34, 1.56, 0.64, 1); }
@keyframes btn-pop { 0% { transform: scale(1); } 50% { transform: scale(1.06); } 100% { transform: scale(1); } }

/* ドロワーオープン時、Xボタンを最上位で固定表示 */
.menu-toggle.menu-float {
  position: fixed;
  top: 12px;
  right: 16px;
  z-index: 10001; /* .nav-drawer(10000) より上 */
}

.nav-drawer {
  position: fixed;
  inset: 0;
  display: none;
  z-index: 10000;
}

.nav-drawer.open {
  display: block;
}

.drawer-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(2px);
  opacity: 0;
  transition: opacity .35s ease;
}

.drawer-panel {
  position: absolute;
  top: 0;
  right: 0;
  width: min(88vw, 340px);
  height: 100%;
  background: #ffffff;
  border-left: var(--border);
  box-shadow: var(--shadow);
  padding: 16px;
  overflow: auto;
  transform: translateX(100%);
  transition: transform .45s cubic-bezier(0.22, 1, 0.36, 1);
  border-top-left-radius: 16px;
  border-bottom-left-radius: 16px;
}

.nav-drawer.open .drawer-backdrop { opacity: 1; }
.nav-drawer.open .drawer-panel { transform: translateX(0); animation: drawer-overshoot 500ms cubic-bezier(0.22, 1, 0.36, 1); }

@keyframes drawer-overshoot {
  0% { transform: translateX(100%); }
  60% { transform: translateX(-8px); }
  100% { transform: translateX(0); }
}

.drawer-close {
  position: absolute;
  top: 8px;
  right: 8px;
  border: none;
  background: transparent;
  font-size: 20px;
  cursor: pointer;
}

.menu-root {
  list-style: none;
  margin: 0;
  padding: 8px 0;
  display: block;
}

/* 上位メニューの区切り線は使用しない */

/* ドロワー内のメニュー項目を段階的にポップ表示 */
.nav-drawer .menu-root > li { opacity: 0; transform: translateX(12px) scale(0.98); }
.nav-drawer.open .menu-root > li { animation: item-pop 420ms cubic-bezier(0.22, 1, 0.36, 1) forwards; }
.nav-drawer.open .menu-root > li:nth-child(1) { animation-delay: .05s; }
.nav-drawer.open .menu-root > li:nth-child(2) { animation-delay: .1s; }
.nav-drawer.open .menu-root > li:nth-child(3) { animation-delay: .15s; }
.nav-drawer.open .menu-root > li:nth-child(4) { animation-delay: .2s; }
.nav-drawer.open .menu-root > li:nth-child(5) { animation-delay: .25s; }
.nav-drawer.open .menu-root > li:nth-child(6) { animation-delay: .3s; }
.nav-drawer.open .menu-root > li:nth-child(7) { animation-delay: .35s; }
.nav-drawer.open .menu-root > li:nth-child(8) { animation-delay: .4s; }

@keyframes item-pop {
  0% { opacity: 0; transform: translateX(12px) scale(0.98); }
  60% { opacity: 1; transform: translateX(-2px) scale(1.02); }
  100% { opacity: 1; transform: translateX(0) scale(1); }
}

.menu-root>li>a {
  display: block;
  padding: 14px 16px;
  color: var(--color-text);
  text-decoration: none;
  background: transparent;
  border: none;
  box-shadow: none;
  transition: color .2s ease;
}

.menu-root>li>a:hover { text-decoration: none; }

.menu-root details { padding: 0; border-radius: 0; }

.menu-root summary {
  cursor: pointer;
  font-weight: 900;
  padding: 14px 16px;
  color: var(--color-text);
  background: transparent;
  border: none;
  box-shadow: none;
}

.menu-root details[open] summary { transform: none; box-shadow: none; }

.menu-root details ul {
  list-style: none;
  margin: 0 0 8px 0;
  padding: 0 0 0 16px;
  border-left: none;
}

/* サブメニューの区切り線は使用しない */

.menu-root details li a {
  display: block;
  padding: 10px 16px;
  color: var(--color-text);
  text-decoration: none;
  background: transparent;
  border: none;
}

.menu-root details li a:hover { background: transparent; }

/* ハンバーガーアイコン（配色は既存維持、動きのみ追加） */
.menu-toggle .hamburger {
  position: relative;
  width: 24px;
  height: 18px;
  display: inline-block;
}
.menu-toggle .hamburger .bar {
  position: absolute;
  left: 0;
  right: 0;
  height: 2px;
  background: currentColor; /* 既存配色を継承 */
  border-radius: 2px;
  transform-origin: center;
  transition: transform .35s ease, opacity .25s ease, top .35s ease, bottom .35s ease;
}
.menu-toggle .hamburger .bar:nth-child(1) { top: 0; }
.menu-toggle .hamburger .bar:nth-child(2) { top: 8px; }
.menu-toggle .hamburger .bar:nth-child(3) { bottom: 0; }

/* 開いているときに X へ変形 */
.menu-toggle[aria-expanded="true"] .hamburger .bar:nth-child(1) {
  top: 8px;
  transform: rotate(45deg);
}
.menu-toggle[aria-expanded="true"] .hamburger .bar:nth-child(2) {
  opacity: 0;
}
.menu-toggle[aria-expanded="true"] .hamburger .bar:nth-child(3) {
  bottom: auto;
  top: 8px;
  transform: rotate(-45deg);
}

/* Hero */
.hero {
  padding: 16px 0 0;
  text-align: center;
  background: transparent;
  border-bottom: none;
}

/* 縦長の窓枠＆スライドショー */
.hero-window {
  display: grid;
  place-items: center;
}

.hero-slideshow {
  position: relative;
  width: 100%;
  height: 70vh;
  max-height: 700px;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.hero-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 800ms ease;
}

.hero-slide.active {
  opacity: 1;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  pointer-events: none;
}

.hero-heading {
  color: #ffffff;
  text-shadow: 0 2px 8px rgba(0,0,0,.4);
  display: grid;
  gap: 8px;
  margin-top: 200px;
}

.hero-en {
  font-size: clamp(22px, 6.5vw, 36px);
  font-weight: 900;
  letter-spacing: .02em;
}

.hero-ja {
  font-size: clamp(14px, 4vw, 18px);
  font-weight: 700;
}

/* ドットナビゲーション */
.hero-dots {
  /* ヒーローの外（通常フロー）に配置するため相対位置指定は削除 */
  display: flex;
  justify-content: center;
  gap: 8px;
  margin: clamp(8px, 2vh, 16px) 0 clamp(8px, 2vh, 16px);
}

/* ドットのタップ領域と並びは維持 */
@media (min-width: 600px) {
  .hero-dots { gap: 10px; }
}

.hero-dots .dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: .05px solid rgba(128,128,128,.85);
  background: rgba(255, 255, 255, 0.3);
  cursor: pointer;
  padding: 0;
  outline: none;
}

.hero-dots .dot.active {
  background:rgb(100, 100, 100);
}

/* 芸能スライダー */
.entertainment-slider {
  margin: clamp(32px, 6vh, 48px) 0;
  padding: 0;
  overflow: hidden;
  width: 100%;
}

.slider-header {
  text-align: center;
  margin-bottom: 8px;
}

.slider-title {
  font-family: "M PLUS Rounded 1c", "Noto Sans JP", sans-serif;
  font-size: clamp(24px, 5vw, 32px);
  font-weight: 900;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  background: linear-gradient(135deg, #ec4899, #db2777, #be185d);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

.slider-title i {
  color: #ec4899;
  -webkit-text-fill-color: #ec4899;
  font-size: 0.8em;
  animation: star-sparkle 2s ease-in-out infinite;
}

@keyframes star-sparkle {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.6; transform: scale(1.2); }
}

.slider-container {
  position: relative;
  width: 100%;
  max-width: 100%;
  margin: 0 auto;
  padding: 20px 16px;
  overflow: hidden;
  perspective: 1200px;
  perspective-origin: center center;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
}

.slider-track {
  position: relative;
  width: 100%;
  height: clamp(350px, 45vw, 380px);
  transform-style: preserve-3d;
  transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
  margin: 0 auto;
  overflow: visible;
}

.slider-item {
  position: absolute;
  left: 50%;
  top: 50%;
  width: clamp(180px, 24vw, 220px);
  max-height: clamp(320px, 42vw, 350px);
  transform-style: preserve-3d;
  transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
  backface-visibility: visible;
}

/* 中央に来たカードのスタイル */
.slider-item.center {
  z-index: 10;
}

/* カルーセルナビゲーションボタン */
.carousel-nav {
  flex-shrink: 0;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  border: 2px solid #ec4899;
  background: rgba(255, 255, 255, 0.95);
  color: #ec4899;
  font-size: 24px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(236, 72, 153, 0.2);
  z-index: 100;
}

.carousel-nav:hover {
  background: #ec4899;
  color: #ffffff;
  transform: scale(1.1);
  box-shadow: 0 6px 16px rgba(236, 72, 153, 0.4);
}

.carousel-nav:active {
  transform: scale(0.95);
}

@media (max-width: 599px) {
  .carousel-nav {
    width: 44px;
    height: 44px;
    font-size: 18px;
  }
}

.slider-card {
  position: relative;
  width: 100%;
  height: 100%;
  max-height: 100%;
  background: #ffffff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(236, 72, 153, 0.15);
  transition: box-shadow 0.3s ease;
}

.slider-item.active .slider-card {
  box-shadow: 0 12px 40px rgba(236, 72, 153, 0.3);
}

.slider-card:hover {
  box-shadow: 0 12px 32px rgba(236, 72, 153, 0.25);
}

.slider-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  background: #f9f9f9;
  flex-shrink: 1;
}

.slider-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 24px;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0.6) 50%, transparent 100%);
  color: #ffffff;
  transform: translateY(0);
  transition: transform 0.3s ease;
}

.slider-caption h3 {
  font-family: "M PLUS Rounded 1c", "Noto Sans JP", sans-serif;
  font-size: clamp(20px, 4vw, 28px);
  font-weight: 900;
  margin: 0 0 8px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #ec4899;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.8);
}

.slider-caption p {
  font-size: clamp(14px, 3vw, 16px);
  margin: 0;
  opacity: 0.95;
}

/* concept文字のスタイル */
.concept-text {
  text-align: left;
  font-family: "M PLUS Rounded 1c", "Noto Sans JP", system-ui, -apple-system, sans-serif;
  font-weight: 800;
  font-size: clamp(16px, 4vw, 20px);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #ec4899;
  margin: clamp(16px, 3vh, 24px) 0 -38px;
}


.button {
  display: inline-block;
  border-radius: 10px;
  padding: 10px 14px;
  font-weight: 700;
  border: var(--border);
  background: #ffffff;
  color: var(--color-text);
  transition: transform .15s ease, box-shadow .15s ease, filter .15s ease;
}

.button:hover {
  transform: translateY(-1px);
}


/* Info */
.info {
  margin-top: 24px;
  background: #ffffff;
  border: var(--border);
  border-radius: var(--radius);
  padding: 16px;
}

/* トップのカード形式ブロックはページ背景色に同化 */
.info.home-block {
  background: var(--color-bg);
  border: none;
  padding-left: 0;
  padding-right: 0;
  box-shadow: none;
}

/* テーマ紹介 */
.theme-block h2 {
  margin: 0 0 12px;
  font-size: clamp(20px, 5.5vw, 26px);
}

.theme-text {
  margin: 0;
  color: var(--color-text);
  font-size: clamp(15px, 4vw, 17px);
  line-height: 1.7;
}

/* テーマロゴ */
.theme-logo-container {
  display: flex;
  justify-content: center;
  margin-top: 24px;
}

.theme-logo {
  max-width: 100%;
  width: clamp(300px, 80vw, 600px);
  height: auto;
}

/* テーマブロックを背景と同化 */
.info.theme-block {
  background: transparent;
  border: none;
  padding-left: 0;
  padding-right: 0;
  box-shadow: none;
}

/* 見出しの各文字色 */
.theme-heading {
  font-weight: 900;
  letter-spacing: .02em;
}

.theme-heading-sub { color: var(--color-text); font-weight: 700; }

:root {
  --theme-c1: #e11d48; /* 赤系 */
  --theme-c2: #16a34a; /* 緑系 */
  --theme-c3: #2563eb; /* 青系 */
  --theme-c4: #f59e0b; /* 黄系 */
}

.theme-c1 { color: var(--theme-c1); }
.theme-c2 { color: var(--theme-c2); }
.theme-c3 { color: var(--theme-c3); }
.theme-c4 { color: var(--theme-c4); }

.info-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.info h2,
.page-header h1 {
  margin: 0 0 8px;
}


/* トップ：逆三角形アイコンリンク */
.icon-links {
  overflow: hidden;
}

.tri-grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  padding-top: 8px;
  align-items: stretch;
}

.icon-link {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-decoration: none;
  color: var(--color-text);
  background: transparent;
  border: none;
  border-radius: 16px;
  padding: 8px;
  box-shadow: none;
  scroll-snap-align: start;
}

.icon-link:hover {
  text-decoration: none;
  transform: translateY(-1px);
  transition: transform .15s ease;
}

.icon-circle {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: #ffffff;
  color: #ec4899; /* 見やすいピンク色 */
  border: none;
  font-size: 28px;
  transition: background-color .15s ease, color .15s ease, filter .15s ease;
}

.icon-circle i { color: #ec4899; }

@keyframes ring-rotate {
  to { transform: rotate(360deg); }
}

.icon-circle::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  padding: 2px; /* 縁の太さ */
  background: conic-gradient(#ec4899, #f9a8d4, #ec4899);
  pointer-events: none;
  /* 中央をくり抜いて縁だけ見せる（ダブルマスクの排他合成） */
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
          mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
          mask-composite: exclude;
  animation: ring-rotate 4s linear infinite;
}

.icon-title {
  font-weight: 800;
  letter-spacing: .02em;
  font-size: 12px;
  white-space: nowrap;
}

.tri-left { grid-column: auto; }
.tri-right { grid-column: auto; }
.tri-bottom { grid-column: auto; width: auto; justify-self: stretch; }

/* hover/focus/active 時の色変化（タッチ端末のタップも対象） */
/* ホバー/フォーカス/タッチ時の色変化（スマホ/PC対応） */
.icon-link:hover .icon-circle,
.icon-link:focus-visible .icon-circle,
.icon-link:active .icon-circle {
  background: #ec4899; /* 見やすいピンク色 */
}

.icon-link:hover .icon-circle i,
.icon-link:focus-visible .icon-circle i,
.icon-link:active .icon-circle i {
  color: #ffffff; /* 白 */
}

.icon-link:focus-visible {
  outline: 3px solid rgba(37, 99, 235, 0.35);
  outline-offset: 3px;
}

/* 横スクロール行ベースのため列定義は不要。余白だけ調整 */
@media (min-width: 600px) {
  .tri-grid { gap: 16px; }
}

@media (min-width: 900px) {
  .tri-grid { gap: 18px; }
}

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

/* フィルタ */
.filters {
  background: linear-gradient(135deg, #ffffff 0%, #fdf2f8 100%);
  border-bottom: 2px solid #f9a8d4;
  margin: 0 -16px 16px;
  padding: 12px 16px;
  transition: padding .2s ease, box-shadow .2s ease;
  box-shadow: 0 2px 8px rgba(236, 72, 153, 0.08);
}

.filters-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
}

.filters.compact {
  padding: 6px 16px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.filters.compact .filters-row {
  grid-template-columns: 1fr;
}

.filters.compact .field:not(.search-field),
.filters.compact .filters-meta,
.filters.compact .label {
  display: none;
}

.field {
  display: grid;
  gap: 6px;
}

.label {
  font-size: 12px;
  color: var(--color-muted);
}

input[type="search"],
select {
  width: 100%;
  padding: 10px 12px;
  background: #ffffff;
  color: var(--color-text);
  border: var(--border);
  border-radius: 10px;
}

.filters input[type="search"]::placeholder {
  color: #9ca3af;
}

.filters input[type="search"] {
  outline: none;
}

.filters input[type="search"]:focus,
.filters select:focus {
  border-color: #f9a8d4;
  box-shadow: 0 0 0 3px rgba(236, 72, 153, 0.15);
}

.filters-meta {
  margin-top: 6px;
  color: var(--color-muted);
  font-size: 13px;
}

/* カード */
.cards-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  align-items: stretch;
}

/* 各列でカード高さを均等に（行の最大高さに合わせて伸長） */
.cards-grid > .card {
  height: 100%;
  width: 100%; /* 行内でセル幅いっぱいに広げる（横幅統一） */
  min-width: 0; /* グリッドアイテムのオーバーフロー防止 */
  max-width: 100%; /* 親グリッドセルの幅を超えないようにする */
}

.card {
  display: grid;
  grid-template-columns: 100px minmax(0, 1fr);
  gap: 0;
  padding: 16px;
  border-radius: 16px;
  background: linear-gradient(135deg, #ffffff 0%, #fdf2f8 100%);
  border: 2px solid #f9a8d4;
  box-shadow: 0 4px 16px rgba(236, 72, 153, 0.15);
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  box-sizing: border-box;
  position: relative;
  overflow: hidden; /* はみ出し防止 */
}

.card::before {
  content: '';
  position: absolute;
  top: -2px;
  left: -2px;
  right: -2px;
  bottom: -2px;
  background: linear-gradient(135deg, #ec4899, #f9a8d4, #ec4899);
  border-radius: 16px;
  opacity: 0;
  transition: opacity 0.2s cubic-bezier(0.4, 0, 0.2, 1); /* より滑らかに */
  z-index: -1;
}

.card:hover,
.card:active {
  transform: translateY(-6px) scale(1.02); /* より動くように */
  box-shadow: 0 12px 32px rgba(236, 72, 153, 0.35);
}

.card:hover::before,
.card:active::before {
  opacity: 0.4;
}

/* パフォーマンス: ピンク系カード */
.card.theme-performance {
  background: linear-gradient(135deg, #ffffff 0%, #fdf2f8 100%);
  border-color: #f9a8d4;
}

.card.theme-performance::before {
  background: linear-gradient(135deg, #ec4899, #f9a8d4, #ec4899);
}

.card.theme-performance:hover,
.card.theme-performance:active {
  box-shadow: 0 12px 32px rgba(236, 72, 153, 0.35);
}

/* 屋外: オレンジ系カード */
.card.theme-outdoor {
  background: linear-gradient(135deg, #ffffff 0%, #fff7ed 100%);
  border-color: #fdba74;
}

.card.theme-outdoor::before {
  background: linear-gradient(135deg, #f97316, #fdba74, #f97316);
}

.card.theme-outdoor:hover,
.card.theme-outdoor:active {
  box-shadow: 0 12px 32px rgba(249, 115, 22, 0.35);
}

/* 屋内: 青系カード */
.card.theme-indoor {
  background: linear-gradient(135deg, #ffffff 0%, #eff6ff 100%);
  border-color: #93c5fd;
}

.card.theme-indoor::before {
  background: linear-gradient(135deg, #3b82f6, #93c5fd, #3b82f6);
}

.card.theme-indoor:hover,
.card.theme-indoor:active {
  box-shadow: 0 12px 32px rgba(59, 130, 246, 0.35);
}

/* ステージ: 黄色系カード */
.card.theme-stage {
  background: linear-gradient(135deg, #ffffff 0%, #fefce8 100%);
  border-color: #fde047;
}

.card.theme-stage::before {
  background: linear-gradient(135deg, #fbbf24, #fde047, #fbbf24);
}

.card.theme-stage:hover,
.card.theme-stage:active {
  box-shadow: 0 12px 32px rgba(251, 191, 36, 0.35);
}

.card-logo {
  grid-column: 1;
  grid-row: 1;
  width: 100px;
  height: 100px;
  border-radius: 16px;
  object-fit: cover;
  background: linear-gradient(135deg, #fce7f3, #ffffff);
  border: 3px solid #f9a8d4;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(236, 72, 153, 0.2);
  transition: transform 0.2s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.2s ease;
  align-self: start;
  justify-self: center;
}

.card:hover .card-logo,
.card:active .card-logo {
  transform: scale(1.08) rotate(2deg);
  box-shadow: 0 8px 20px rgba(236, 72, 153, 0.35);
}

/* パフォーマンス: ピンク系ロゴ */
.card.theme-performance .card-logo {
  background: linear-gradient(135deg, #fce7f3, #ffffff);
  border-color: #f9a8d4;
  box-shadow: 0 4px 12px rgba(236, 72, 153, 0.2);
}

.card.theme-performance:hover .card-logo,
.card.theme-performance:active .card-logo {
  box-shadow: 0 8px 20px rgba(236, 72, 153, 0.35);
}

/* 屋外: オレンジ系ロゴ */
.card.theme-outdoor .card-logo {
  background: linear-gradient(135deg, #fed7aa, #ffffff);
  border-color: #fdba74;
  box-shadow: 0 4px 12px rgba(249, 115, 22, 0.2);
}

.card.theme-outdoor:hover .card-logo,
.card.theme-outdoor:active .card-logo {
  box-shadow: 0 8px 20px rgba(249, 115, 22, 0.35);
}

/* 屋内: 青系ロゴ */
.card.theme-indoor .card-logo {
  background: linear-gradient(135deg, #dbeafe, #ffffff);
  border-color: #93c5fd;
  box-shadow: 0 4px 12px rgba(59, 130, 246, 0.2);
}

.card.theme-indoor:hover .card-logo,
.card.theme-indoor:active .card-logo {
  box-shadow: 0 8px 20px rgba(59, 130, 246, 0.35);
}

/* ステージ: 黄色系ロゴ */
.card.theme-stage .card-logo {
  background: linear-gradient(135deg, #fef3c7, #ffffff);
  border-color: #fde047;
  box-shadow: 0 4px 12px rgba(251, 191, 36, 0.2);
}

.card.theme-stage:hover .card-logo,
.card.theme-stage:active .card-logo {
  box-shadow: 0 8px 20px rgba(251, 191, 36, 0.35);
}

.card-title {
  margin: 0;
  font-size: 18px;
  font-weight: 900;
  letter-spacing: .02em;
  word-wrap: break-word;
  overflow-wrap: break-word;
  word-break: break-word;
  color: #be185d;
  text-shadow: 0 1px 2px rgba(236, 72, 153, 0.1);
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* パフォーマンス: ピンク系タイトル */
.card.theme-performance .card-title {
  color: #be185d;
  text-shadow: 0 1px 2px rgba(236, 72, 153, 0.1);
}

/* 屋外: オレンジ系タイトル */
.card.theme-outdoor .card-title {
  color: #9a3412;
  text-shadow: 0 1px 2px rgba(249, 115, 22, 0.1);
}

/* 屋内: 青系タイトル */
.card.theme-indoor .card-title {
  color: #1e3a8a;
  text-shadow: 0 1px 2px rgba(59, 130, 246, 0.1);
}

/* ステージ: 黄色系タイトル */
.card.theme-stage .card-title {
  color: #713f12;
  text-shadow: 0 1px 2px rgba(251, 191, 36, 0.1);
}

/* 右下の name 表示用 */
.card-content {
  grid-column: 2;
  grid-row: 1;
  position: relative;
  padding-left: 16px;
  padding-bottom: 32px;
  min-width: 0;
  max-width: 100%;
  display: flex;
  flex-direction: column;
  gap: 10px;
  overflow: hidden; /* はみ出し防止 */
}
.card-name-corner {
  position: absolute;
  right: 0;
  bottom: 4px;
  font-size: 11px;
  color: #9ca3af;
  max-width: 100%;
  word-break: break-all;
  overflow-wrap: break-word;
  text-align: right;
  line-height: 1.3;
  pointer-events: none;
  z-index: 1;
}

.card-desc {
  margin: 0;
  color: #6b7280;
  font-size: 13px;
  line-height: 1.6;
  word-wrap: break-word;
  overflow-wrap: break-word;
  word-break: break-word;
  flex-grow: 0;
  max-width: 100%;
  overflow: hidden;
}

.meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: flex-start;
  min-width: 0;
  max-width: 100%;
  margin-bottom: 0;
  overflow: hidden;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 12px;
  background: #fce7f3;
  border: 1px solid #f9a8d4;
  color: #be185d;
  word-break: break-word;
  max-width: 100%;
  font-weight: 600;
  flex-shrink: 1;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.badge i { font-size: 12px; opacity: .9; }
.badge.location i { color: #ec4899; }
.badge:not(.location) i { color: #db2777; }

/* パフォーマンス: ピンク系バッジ */
.card.theme-performance .badge:not(.booth-type) {
  background: #fce7f3;
  border-color: #f9a8d4;
  color: #be185d;
}

.card.theme-performance .badge.location i {
  color: #ec4899;
}

.card.theme-performance .badge:not(.location):not(.booth-type) i {
  color: #db2777;
}

/* 屋外: オレンジ系バッジ */
.card.theme-outdoor .badge:not(.booth-type) {
  background: #fed7aa;
  border-color: #fdba74;
  color: #9a3412;
}

.card.theme-outdoor .badge.location i {
  color: #f97316;
}

.card.theme-outdoor .badge:not(.location):not(.booth-type) i {
  color: #ea580c;
}

/* 屋内: 青系バッジ */
.card.theme-indoor .badge:not(.booth-type) {
  background: #dbeafe;
  border-color: #93c5fd;
  color: #1e3a8a;
}

.card.theme-indoor .badge.location i {
  color: #3b82f6;
}

.card.theme-indoor .badge:not(.location):not(.booth-type) i {
  color: #2563eb;
}

/* ステージ: 黄色系バッジ */
.card.theme-stage .badge:not(.booth-type) {
  background: #fef3c7;
  border-color: #fde047;
  color: #713f12;
}

.card.theme-stage .badge.location i {
  color: #fbbf24;
}

.card.theme-stage .badge:not(.location):not(.booth-type) i {
  color: #f59e0b;
}

/* .badge.primary は未使用 */

.badge.featured {
  background: linear-gradient(135deg, #fef3c7, #fde68a);
  border-color: #fbbf24;
  color: #92400e;
  font-weight: 700;
  box-shadow: 0 2px 8px rgba(251, 191, 36, 0.3);
  animation: featured-pulse 2s ease-in-out infinite;
}

@keyframes featured-pulse {
  0%, 100% {
    box-shadow: 0 2px 8px rgba(251, 191, 36, 0.3);
  }
  50% {
    box-shadow: 0 4px 16px rgba(251, 191, 36, 0.5);
    transform: scale(1.02);
  }
}

.badge.booth-type {
  font-weight: 800;
  color: #ffffff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

/* パフォーマンス: ピンク系 */
.badge.booth-type.booth-performance {
  background: linear-gradient(135deg, #ec4899, #db2777);
  border-color: #db2777;
  box-shadow: 0 2px 8px rgba(236, 72, 153, 0.3);
}

/* 屋外: オレンジ系 */
.badge.booth-type.booth-outdoor {
  background: linear-gradient(135deg, #f97316, #ea580c);
  border-color: #ea580c;
  box-shadow: 0 2px 8px rgba(249, 115, 22, 0.3);
}

/* 屋内: 青系 */
.badge.booth-type.booth-indoor {
  background: linear-gradient(135deg, #3b82f6, #2563eb);
  border-color: #2563eb;
  box-shadow: 0 2px 8px rgba(59, 130, 246, 0.3);
}

/* ステージ: 黄色系 */
.badge.booth-type.booth-stage {
  background: linear-gradient(135deg, #fbbf24, #f59e0b);
  border-color: #f59e0b;
  color: #92400e;
  box-shadow: 0 2px 8px rgba(251, 191, 36, 0.3);
}

.badge.location {
  background: #fdf2f8;
  border-color: #f9a8d4;
  color: #be185d;
}

.sns-icons {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.card .sns-icons {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  align-items: center;
  margin-top: 8px;
  gap: 6px;
  max-width: 100%;
  overflow: hidden;
}

/* SNSアイコンは横一列に配置（3つ・4つ以上の特殊配置を解除） */
.card .sns-icons.sns-count-3,
.card .sns-icons.sns-count-4-plus {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  gap: 6px;
}

.sns-icons a {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: linear-gradient(135deg, #fce7f3, #fbcfe8);
  border: 2px solid #f9a8d4;
  color: #db2777;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 2px 8px rgba(236, 72, 153, 0.2);
}

.sns-icons a:hover,
.sns-icons a:active {
  background: linear-gradient(135deg, #ec4899, #db2777);
  color: #ffffff;
  transform: scale(1.15) rotate(8deg);
  box-shadow: 0 4px 12px rgba(236, 72, 153, 0.4);
}

/* パフォーマンス: ピンク系SNSアイコン */
.card.theme-performance .sns-icons a {
  background: linear-gradient(135deg, #fce7f3, #fbcfe8);
  border-color: #f9a8d4;
  color: #db2777;
  box-shadow: 0 2px 8px rgba(236, 72, 153, 0.2);
}

.card.theme-performance .sns-icons a:hover,
.card.theme-performance .sns-icons a:active {
  background: linear-gradient(135deg, #ec4899, #db2777);
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(236, 72, 153, 0.4);
}

/* 屋外: オレンジ系SNSアイコン */
.card.theme-outdoor .sns-icons a {
  background: linear-gradient(135deg, #fed7aa, #fbbf24);
  border-color: #fdba74;
  color: #ea580c;
  box-shadow: 0 2px 8px rgba(249, 115, 22, 0.2);
}

.card.theme-outdoor .sns-icons a:hover,
.card.theme-outdoor .sns-icons a:active {
  background: linear-gradient(135deg, #f97316, #ea580c);
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(249, 115, 22, 0.4);
}

/* 屋内: 青系SNSアイコン */
.card.theme-indoor .sns-icons a {
  background: linear-gradient(135deg, #dbeafe, #93c5fd);
  border-color: #93c5fd;
  color: #2563eb;
  box-shadow: 0 2px 8px rgba(59, 130, 246, 0.2);
}

.card.theme-indoor .sns-icons a:hover,
.card.theme-indoor .sns-icons a:active {
  background: linear-gradient(135deg, #3b82f6, #2563eb);
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(59, 130, 246, 0.4);
}

/* ステージ: 黄色系SNSアイコン */
.card.theme-stage .sns-icons a {
  background: linear-gradient(135deg, #fef3c7, #fde047);
  border-color: #fde047;
  color: #f59e0b;
  box-shadow: 0 2px 8px rgba(251, 191, 36, 0.2);
}

.card.theme-stage .sns-icons a:hover,
.card.theme-stage .sns-icons a:active {
  background: linear-gradient(135deg, #fbbf24, #f59e0b);
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(251, 191, 36, 0.4);
}

.empty-state {
  text-align: center;
  color: var(--color-muted);
  padding: 24px 0;
}

/* モーダル */
.modal {
  position: fixed;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}

.modal.open {
  display: flex;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(2px);
  z-index: 1;
}

.modal-content {
  position: relative;
  z-index: 2;
  width: min(92vw, 720px);
  max-height: 88vh;
  overflow: auto;
  background: linear-gradient(135deg, #ffffff 0%, #fdf2f8 100%);
  border: 2px solid #f9a8d4;
  border-radius: 16px;
  box-shadow: 0 12px 40px rgba(236,72,153,0.25);
  padding: 20px;
}

/* パフォーマンス: ピンク系モーダル */
.modal-content.theme-performance {
  background: linear-gradient(135deg, #ffffff 0%, #fdf2f8 100%);
  border-color: #f9a8d4;
  box-shadow: 0 12px 40px rgba(236, 72, 153, 0.3);
}

/* 屋外: オレンジ系モーダル */
.modal-content.theme-outdoor {
  background: linear-gradient(135deg, #ffffff 0%, #fff7ed 100%);
  border-color: #fdba74;
  box-shadow: 0 12px 40px rgba(249, 115, 22, 0.3);
}

/* 屋内: 青系モーダル */
.modal-content.theme-indoor {
  background: linear-gradient(135deg, #ffffff 0%, #eff6ff 100%);
  border-color: #93c5fd;
  box-shadow: 0 12px 40px rgba(59, 130, 246, 0.3);
}

/* ステージ: 黄色系モーダル */
.modal-content.theme-stage {
  background: linear-gradient(135deg, #ffffff 0%, #fefce8 100%);
  border-color: #fde047;
  box-shadow: 0 12px 40px rgba(251, 191, 36, 0.3);
}

.modal-close {
  position: absolute;
  top: 8px;
  right: 8px;
  border: none;
  background: transparent;
  color: var(--color-text);
  font-size: 20px;
  cursor: pointer;
  z-index: 10;
  padding: 8px;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal-close i {
  pointer-events: none;
}

.modal-header {
  display: grid;
  grid-template-columns: 88px 1fr;
  gap: 14px;
  align-items: center;
  margin-bottom: 10px;
  position: relative;
  padding-bottom: 32px; /* nameの重なりを防止（余裕を拡大） */
  min-height: 88px;
}

.modal-logo {
  width: 88px;
  height: 88px;
  border-radius: 14px;
  object-fit: contain;
  background: linear-gradient(135deg, #fce7f3, #ffffff);
  border: 2px solid #f9a8d4;
  box-shadow: 0 4px 16px rgba(236,72,153,0.15);
}

/* パフォーマンス: ピンク系モーダルロゴ */
.modal-content.theme-performance .modal-logo {
  background: linear-gradient(135deg, #fce7f3, #ffffff);
  border-color: #f9a8d4;
  box-shadow: 0 4px 16px rgba(236, 72, 153, 0.15);
}

/* 屋外: オレンジ系モーダルロゴ */
.modal-content.theme-outdoor .modal-logo {
  background: linear-gradient(135deg, #fed7aa, #ffffff);
  border-color: #fdba74;
  box-shadow: 0 4px 16px rgba(249, 115, 22, 0.15);
}

/* 屋内: 青系モーダルロゴ */
.modal-content.theme-indoor .modal-logo {
  background: linear-gradient(135deg, #dbeafe, #ffffff);
  border-color: #93c5fd;
  box-shadow: 0 4px 16px rgba(59, 130, 246, 0.15);
}

/* ステージ: 黄色系モーダルロゴ */
.modal-content.theme-stage .modal-logo {
  background: linear-gradient(135deg, #fef3c7, #ffffff);
  border-color: #fde047;
  box-shadow: 0 4px 16px rgba(251, 191, 36, 0.15);
}

/* モーダル右下の name 表示用 */
.modal-name-corner {
  position: absolute;
  right: 0;
  bottom: 4px;
  font-size: 11px;
  color: #9ca3af;
  max-width: 100%;
  word-break: break-all;
  overflow-wrap: break-word;
  text-align: right;
  line-height: 1.3;
  pointer-events: none;
  z-index: 1;
}

.modal-body .location {
  margin: 6px 0 8px;
  color: var(--color-text);
}

.modal-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
  margin: 8px 0 10px;
}

/* モーダルのポップでシンプルな雰囲気強化 */
.modal-content h2 {
  margin: 0;
  font-size: 20px;
  font-weight: 900;
  letter-spacing: .02em;
}

.modal-body p {
  margin: 8px 0 0;
}

.modal .badge {
  background: #fce7f3;
  border-color: #f9a8d4;
  color: #be185d;
}

/* モーダル内の出店区分バッジも白文字に */
.modal .badge.booth-type {
  color: #ffffff;
}

.modal .badge.booth-type.booth-stage {
  color: #92400e; /* ステージのみ濃い茶色 */
}

/* パフォーマンス: ピンク系モーダルバッジ */
.modal-content.theme-performance .badge:not(.booth-type) {
  background: #fce7f3;
  border-color: #f9a8d4;
  color: #be185d;
}

.modal-content.theme-performance .badge.location i {
  color: #ec4899;
}

.modal-content.theme-performance .badge:not(.location):not(.booth-type) i {
  color: #db2777;
}

/* 屋外: オレンジ系モーダルバッジ */
.modal-content.theme-outdoor .badge:not(.booth-type) {
  background: #fed7aa;
  border-color: #fdba74;
  color: #9a3412;
}

.modal-content.theme-outdoor .badge.location i {
  color: #f97316;
}

.modal-content.theme-outdoor .badge:not(.location):not(.booth-type) i {
  color: #ea580c;
}

/* 屋内: 青系モーダルバッジ */
.modal-content.theme-indoor .badge:not(.booth-type) {
  background: #dbeafe;
  border-color: #93c5fd;
  color: #1e3a8a;
}

.modal-content.theme-indoor .badge.location i {
  color: #3b82f6;
}

.modal-content.theme-indoor .badge:not(.location):not(.booth-type) i {
  color: #2563eb;
}

/* ステージ: 黄色系モーダルバッジ */
.modal-content.theme-stage .badge:not(.booth-type) {
  background: #fef3c7;
  border-color: #fde047;
  color: #713f12;
}

.modal-content.theme-stage .badge.location i {
  color: #fbbf24;
}

.modal-content.theme-stage .badge:not(.location):not(.booth-type) i {
  color: #f59e0b;
}

/* モーダル内のSNSアイコンスタイル */
.modal .sns-icons {
  margin-top: 16px;
  gap: 10px;
}

.modal .sns-icons a {
  width: 36px;
  height: 36px;
  background: transparent !important;
  border: 2px solid currentColor !important;
  color: #6b7280;
  transition: all 0.2s ease;
  box-shadow: none !important;
}

.modal .sns-icons a:hover,
.modal .sns-icons a:active {
  background: rgba(0, 0, 0, 0.05) !important;
  transform: scale(1.1);
  box-shadow: none !important;
}

/* 各テーマごとのアイコン色 */
.modal-content.theme-performance .sns-icons a {
  color: #ec4899;
}

.modal-content.theme-performance .sns-icons a:hover,
.modal-content.theme-performance .sns-icons a:active {
  background: rgba(236, 72, 153, 0.1) !important;
}

.modal-content.theme-outdoor .sns-icons a {
  color: #f97316;
}

.modal-content.theme-outdoor .sns-icons a:hover,
.modal-content.theme-outdoor .sns-icons a:active {
  background: rgba(249, 115, 22, 0.1) !important;
}

.modal-content.theme-indoor .sns-icons a {
  color: #3b82f6;
}

.modal-content.theme-indoor .sns-icons a:hover,
.modal-content.theme-indoor .sns-icons a:active {
  background: rgba(59, 130, 246, 0.1) !important;
}

.modal-content.theme-stage .sns-icons a {
  color: #fbbf24;
}

.modal-content.theme-stage .sns-icons a:hover,
.modal-content.theme-stage .sns-icons a:active {
  background: rgba(251, 191, 36, 0.1) !important;
}

/* フッター */
footer.site-footer {
  background: linear-gradient(135deg, #ec4899 0%, #db2777 50%, #be185d 100%);
  color: #ffffff;
  margin-top: 48px;
  padding: 48px 0 0;
  box-shadow: 0 -4px 20px rgba(236, 72, 153, 0.15);
  border-top-right-radius: 24px;
  border-top-left-radius: 24px;
}

.footer-content {
  max-width: 960px;
  margin: 0 auto;
  padding: 0 16px 32px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
}

@media (min-width: 768px) {
  .footer-content {
    grid-template-columns: 1fr 2fr;
    gap: 48px;
  }
}

.footer-logo {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

@media (min-width: 768px) {
  .footer-logo {
    align-items: flex-start;
  }
}

.footer-logo-img {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: #ffffff;
  padding: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.footer-brand-logo {
  width: auto;
  height: 160px;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
}

@media (min-width: 768px) {
  .footer-brand-logo {
    height: 56px;
  }
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 24px;
}

@media (min-width: 768px) {
  .footer-links {
    grid-template-columns: repeat(3, 1fr);
  }
}

.footer-section {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-heading {
  font-size: 14px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin: 0;
  padding-bottom: 8px;
  border-bottom: 2px solid rgba(255, 255, 255, 0.3);
  font-family: "M PLUS Rounded 1c", "Noto Sans JP", sans-serif;
}

.footer-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-list li a {
  color: rgba(255, 255, 255, 0.9);
  text-decoration: none;
  font-size: 14px;
  transition: all 0.2s ease;
  display: inline-block;
}

.footer-list li a:hover {
  color: #ffffff;
  transform: translateX(4px);
  text-decoration: none;
}

.footer-bottom {
  background: rgba(0, 0, 0, 0.2);
  padding: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-sns {
  max-width: 960px;
  margin: 0 auto 8px;
  display: flex;
  gap: 12px;
  align-items: center;
  justify-content: center;
}

.footer-sns .sns-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: rgba(255, 255, 255, 0.9);
  text-decoration: none;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.06);
  transition: background-color .2s ease, transform .2s ease;
}

.footer-sns .sns-link:hover {
  background: rgba(255, 255, 255, 0.16);
  transform: translateY(-1px);
  text-decoration: none;
}

.footer-sns .sns-link i {
  font-size: 16px;
}

.footer-sns .sns-label {
  font-size: 13px;
}

.footer-copyright {
  max-width: 960px;
  margin: 0 auto;
  text-align: center;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.8);
}

/* レスポンシブ */
@media (min-width: 600px) {
  .filters-row {
    grid-template-columns: 1fr 1fr 1fr;
  }

  .cards-grid {
    grid-template-columns: repeat(2, 1fr); /* 2列を等分 */
  }
  
  /* 中間サイズでロゴサイズを調整 */
  .card {
    grid-template-columns: 90px minmax(0, 1fr);
  }
  
  .card-logo {
    width: 90px;
    height: 90px;
  }
  
  /* 出店区分ごとのテーマでもサイズ調整 */
  .card.theme-performance .card-logo,
  .card.theme-outdoor .card-logo,
  .card.theme-indoor .card-logo,
  .card.theme-stage .card-logo {
    width: 90px;
    height: 90px;
  }
  
  .card-title {
    font-size: 16px;
  }
}

/* 画面下の横スクロール英字テキスト */
.bottom-ticker {
  position: relative; /* 固定を解除して通常フローへ */
  overflow: hidden;
  width: 100vw; /* 画面幅いっぱいに表示 */
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
}

.bottom-ticker .track {
  display: flex;
  gap: 32px;
  align-items: center;
  white-space: nowrap;
  color: #fff; /* テキスト色 */
  -webkit-text-stroke: 1px #ec4899; /* 縁取りをピンクに */
  text-shadow: 0 0 6px rgba(236,72,153,.35); /* 非対応ブラウザ向けのピンク系シャドウ */
  font-weight: 900;
  font-size: 40px;
  letter-spacing: .03em;
  text-transform: none;
  padding: 8px 0;
  /* 画面サイズに応じて速度を調整（デフォルト8s→ブレイクポイントで上書き） */
  will-change: transform;
  transform: translate3d(0, 0, 0);
  animation: ticker-scroll var(--ticker-duration, 8s) linear infinite;
}

@keyframes ticker-scroll {
  from { transform: translate3d(0, 0, 0); }
  to   { transform: translate3d(-350%, 0, 0); }
}

/* 速度調整（狭い画面でもややゆっくり、広い画面ほどさらにゆっくり） */
@media (max-width: 599px) {
  .bottom-ticker .track { --ticker-duration: 24s; }
}

@media (min-width: 600px) and (max-width: 899px) {
  .bottom-ticker .track { --ticker-duration: 36s; }
}

@media (min-width: 900px) {
  .bottom-ticker .track { --ticker-duration: 72s; }
}

@media (min-width: 900px) {
  .cards-grid {
    grid-template-columns: repeat(3, 1fr); /* 3列を等分 */
  }
  
  /* 大きい画面ではロゴサイズを元に戻す */
  .card {
    grid-template-columns: 100px minmax(0, 1fr);
  }
  
  .card-logo {
    width: 100px;
    height: 100px;
  }
  
  /* 出店区分ごとのテーマでもサイズ調整 */
  .card.theme-performance .card-logo,
  .card.theme-outdoor .card-logo,
  .card.theme-indoor .card-logo,
  .card.theme-stage .card-logo {
    width: 100px;
    height: 100px;
  }
  
  .card-title {
    font-size: 18px;
  }
}

/* カードのレスポンシブ対応 */
@media (max-width: 599px) {
  .card {
    grid-template-columns: 80px minmax(0, 1fr);
    padding: 12px;
  }
  
  .card-logo {
    width: 80px;
    height: 80px;
  }
  
  /* 出店区分ごとのテーマでもサイズ調整 */
  .card.theme-performance .card-logo,
  .card.theme-outdoor .card-logo,
  .card.theme-indoor .card-logo,
  .card.theme-stage .card-logo {
    width: 80px;
    height: 80px;
  }
  
  .card-content {
    padding-left: 12px;
  }
  
  .card-title {
    font-size: 15px;
  }
  
  .card-desc {
    font-size: 12px;
  }
  
  .badge {
    font-size: 11px;
    padding: 3px 8px;
  }
  
  .sns-icons a {
    width: 28px;
    height: 28px;
    font-size: 12px;
  }
}

/* 上に戻るボタン */
.scroll-to-top {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #ec4899; /* 見やすい赤ピンク色 */
  color: #ffffff;
  border: none;
  box-shadow: var(--shadow);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  opacity: 0;
  visibility: hidden;
  transform: scale(0.8);
  transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease, background-color 0.2s ease;
  z-index: 1000;
}

.scroll-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: scale(1);
}

.scroll-to-top:hover {
  background: #db2777; /* ホバー時は濃いめのピンク */
  transform: scale(1.1);
}

.scroll-to-top:active {
  transform: scale(0.95);
}

/* スマホサイズでは少し小さく */
@media (max-width: 599px) {
  .scroll-to-top {
    width: 44px;
    height: 44px;
    bottom: 16px;
    right: 16px;
    font-size: 16px;
  }
}


