/* ホバー・アクティブ（Tailwind CDN 未生成時の保険。Tailwind 読込後に上書き） */

body.otaru-winecarnival-page .transition-colors {
  transition-property: color, background-color, border-color, text-decoration-color, fill, stroke;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: 150ms;
}

body.otaru-winecarnival-page .transition-all {
  transition-property: all;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: 150ms;
}

body.otaru-winecarnival-page .duration-300 {
  transition-duration: 300ms;
}

body.otaru-winecarnival-page .transition-transform {
  transition-property: transform;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: 150ms;
}

body.otaru-winecarnival-page .group:hover .group-hover\:scale-105,
body.otaru-winecarnival-page .group:hover .group-hover\:scale-105 img {
  transform: scale(1.05);
}

/* 背景ホバー */
body.otaru-winecarnival-page .hover\:bg-slate-100:hover {
  background-color: #f1f5f9;
}

body.otaru-winecarnival-page .hover\:bg-slate-50:hover {
  background-color: #f8fafc;
}

body.otaru-winecarnival-page .hover\:bg-palette-mint:hover,
body.otaru-winecarnival-page [class*="hover:bg-palette-mint"]:hover {
  background-color: #a2d9ce !important;
}

/* カテゴリ切替タブ（イベント / ワインメニュー / ペアリング）— index.html 準拠 */
body.otaru-winecarnival-page .carnival-category-tabs > .event-category-tab.text-brand-darkblue:hover,
body.otaru-winecarnival-page .carnival-category-tabs > .wine-category-tab.text-brand-darkblue:hover,
body.otaru-winecarnival-page .carnival-category-tabs > .pairing-tab-btn.text-brand-darkblue:hover,
body.otaru-winecarnival-page .wp-block-html > .carnival-category-tabs > .event-category-tab.text-brand-darkblue:hover,
body.otaru-winecarnival-page .wp-block-html > .carnival-category-tabs > .wine-category-tab.text-brand-darkblue:hover,
body.otaru-winecarnival-page .wp-block-html > .carnival-category-tabs > .pairing-tab-btn.text-brand-darkblue:hover,
body.otaru-winecarnival-page .carnival-category-tabs > [class*="hover:bg-palette-mint"]:hover:not(.bg-brand-darkblue),
body.otaru-winecarnival-page .wp-block-html > .carnival-category-tabs > [class*="hover:bg-palette-mint"]:hover:not(.bg-brand-darkblue) {
  background-color: #a2d9ce !important;
  color: #0f2547 !important;
}

body.otaru-winecarnival-page .carnival-category-tabs > .event-category-tab.bg-brand-darkblue:hover,
body.otaru-winecarnival-page .carnival-category-tabs > .wine-category-tab.bg-brand-darkblue:hover,
body.otaru-winecarnival-page .carnival-category-tabs > .pairing-tab-btn.bg-brand-darkblue:hover,
body.otaru-winecarnival-page .wp-block-html > .carnival-category-tabs > .event-category-tab.bg-brand-darkblue:hover,
body.otaru-winecarnival-page .wp-block-html > .carnival-category-tabs > .wine-category-tab.bg-brand-darkblue:hover,
body.otaru-winecarnival-page .wp-block-html > .carnival-category-tabs > .pairing-tab-btn.bg-brand-darkblue:hover {
  background-color: #0f2547 !important;
  color: #fff !important;
}

body.otaru-winecarnival-page .hover\:bg-palette-mint\/20:hover {
  background-color: rgba(162, 217, 206, 0.2);
}

body.otaru-winecarnival-page .hover\:bg-palette-wine:hover {
  background-color: #8c4362;
}

body.otaru-winecarnival-page .hover\:bg-brand-coral:hover {
  background-color: #e74c3c;
}

/* 文字色ホバー（ペアリングのワイン名ボタン：子要素の text-brand-darkblue も含めて変える） */
body.otaru-winecarnival-page .hover\:text-palette-wine:hover,
body.otaru-winecarnival-page [class*="hover:text-palette-wine"]:hover,
body.otaru-winecarnival-page #panel-premium-pair button[class*="hover:text-palette-wine"]:hover,
body.otaru-winecarnival-page #panel-hokkaido-pair button[class*="hover:text-palette-wine"]:hover {
  color: #8c4362 !important;
}

body.otaru-winecarnival-page [class*="hover:text-palette-wine"]:hover .text-brand-darkblue,
body.otaru-winecarnival-page [class*="hover:text-palette-wine"]:hover i,
body.otaru-winecarnival-page [class*="hover:text-palette-wine"]:hover .fa-solid {
  color: #8c4362 !important;
}

body.otaru-winecarnival-page .hover\:text-palette-yellow:hover,
body.otaru-winecarnival-page [class*="hover:text-palette-yellow"]:hover {
  color: #fef5c8 !important;
}

body.otaru-winecarnival-page .hover\:text-brand-darkblue:hover,
body.otaru-winecarnival-page [class*="hover:text-brand-darkblue"]:hover {
  color: #0f2547 !important;
}

/* プレミアム前半：背景のみ変化（index.html 1086 行付近と同じ） */
body.otaru-winecarnival-page #panel-premium-pair button[class*="hover:bg-palette-mint/20"]:hover {
  background-color: rgba(162, 217, 206, 0.2) !important;
  color: #0f2547 !important;
}

body.otaru-winecarnival-page #panel-premium-pair button[class*="hover:bg-palette-mint/20"]:hover .text-brand-darkblue,
body.otaru-winecarnival-page #panel-premium-pair button[class*="hover:bg-palette-mint/20"]:hover i {
  color: #0f2547 !important;
}

body.otaru-winecarnival-page [class*="hover:bg-palette-wine"]:hover {
  background-color: #8c4362 !important;
}

/* スケール */
body.otaru-winecarnival-page .hover\:scale-105:hover {
  transform: scale(1.05);
}

body.otaru-winecarnival-page .active\:scale-95:active {
  transform: scale(0.95);
}
