@charset "UTF-8";

/*!
Theme Name: Cocoon Child
Description: Cocoon専用の子テーマ
Theme URI: https://wp-cocoon.com/
Author: わいひら
Author URI: https://nelog.jp/
Template:   cocoon-master
Version:    1.1.3
*/

/************************************
** 子テーマ用のスタイルを書く
************************************/

/* =================================================================
   ウィジェット共通スタイル
   ================================================================= */
.ai-widget-list {
  padding-left: 0 !important;
  margin-left: 0 !important;
  list-style: none !important;
}

.ai-widget-item {
  display: flex;
  gap: 10px;
  margin-bottom: 10px;
  border-bottom: 1px dashed #eee;
  padding-bottom: 10px;
  position: relative;
}

.ai-widget-thumb {
  width: 60px;
  height: 60px;
  object-fit: cover;
  border-radius: 4px;
  flex-shrink: 0;
}

.ai-widget-content {
  flex: 1;
  min-width: 0;
}

.ai-widget-title {
  text-decoration: none;
  font-weight: bold;
  font-size: 14px;
  display: block;
  line-height: 1.4;
  color: #1f2937;
}

.ai-widget-title:hover {
  color: #3b82f6;
}

.ai-widget-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 4px;
  flex-wrap: wrap;
  gap: 6px;
}

.ai-widget-date {
  font-size: 12px;
  color: #999;
}

.ai-widget-empty {
  text-align: center;
  color: #6b7280;
  padding: 1rem;
}

/* ランキングバッジ */
.ai-rank-badge {
  position: absolute;
  top: -5px;
  left: -5px;
  color: #fff;
  font-size: 10px;
  width: 18px;
  height: 18px;
  text-align: center;
  line-height: 18px;
  border-radius: 50%;
  z-index: 2;
  font-weight: bold;
}

.ai-rank-badge.rank-1 {
  background-color: #e6b422;
}

.ai-rank-badge.rank-2 {
  background-color: #c0c0c0;
}

.ai-rank-badge.rank-3 {
  background-color: #b87333;
}

.ai-rank-badge.rank-4 {
  background-color: #999;
}

/* 小さいバッジ（ウィジェット用） */
.ai-badge-sm {
  font-size: 10px !important;
  padding: 2px 6px !important;
}

/* =================================================================
   落語バッジスタイル
   ================================================================= */
.ai-badge.type-main.rakugo {
  background-color: #faf5ff;
  color: #7c3aed;
  border-color: #ddd6fe;
}

.ai-badge.type-main.rakugo.koten {
  background-color: #fefce8;
  color: #a16207;
  border-color: #fef08a;
}

.ai-badge.type-main.rakugo.shinsaku {
  background-color: #f0fdf4;
  color: #15803d;
  border-color: #bbf7d0;
}

/* ショートネタバッジ */
.ai-badge.type-main.sns-short {
  background-color: #fdf4ff;
  color: #a21caf;
  border-color: #f5d0fe;
}

/************************************
** レスポンシブデザイン用のメディアクエリ
************************************/
/*1023px以下*/
@media screen and (max-width: 1023px) {
  /*必要ならばここにコードを書く*/
}

/*834px以下*/
@media screen and (max-width: 834px) {
  /*必要ならばここにコードを書く*/
}

/*480px以下*/
@media screen and (max-width: 480px) {
  .ai-widget-thumb {
    width: 50px;
    height: 50px;
  }

  .ai-widget-title {
    font-size: 13px;
  }
}

/************************************
** 人間工学に基づいた色の最適化 (WCAG AAA準拠)
************************************/

/* ===================================
   全体の背景とレイアウト
   =================================== */
body {
  background-color: #ffffff !important;
  background-image: none !important;
  color: #1f2937 !important;
}

/* 2カラムレイアウトの背景 */
.main,
.content,
.content-in {
  background-color: transparent !important;
}

/* パフォーマンス最適化: will-change */
.archive-card,
.filter-chip,
.pagination .page-numbers {
  will-change: transform, box-shadow;
}

/* パフォーマンス最適化: GPU アクセラレーション */
.archive-card:hover,
.filter-chip:hover {
  transform: translateY(-3px) translateZ(0);
  backface-visibility: hidden;
}

/* ===================================
   ヒーローセクション
   =================================== */
.home-hero-section {
  text-align: center;
  padding: 4rem 1.5rem 3rem;
  background: linear-gradient(180deg, #f8fafc 0%, #ffffff 100%) !important;
  margin-bottom: 2rem !important;
  border-bottom: none !important;
  position: relative;
  overflow: hidden;
}

.home-hero-section .wrap {
  position: relative;
  z-index: 2;
}

.home-hero-section .home-catch-copy {
  font-size: 2rem !important;
  font-weight: 800 !important;
  color: #111827 !important;
  margin-bottom: 0.8rem !important;
  line-height: 1.4;
  position: relative;
  z-index: 2;
  text-align: center !important;
  width: 100% !important;
}

/* MVテキストのハイライト - 高コントラスト */
.home-hero-section .home-catch-copy .highlight {
  color: #db2777 !important;
  font-weight: 800 !important;
  display: inline !important;
  visibility: visible !important;
  opacity: 1 !important;
  -webkit-text-fill-color: #db2777 !important;
  background: none !important;
  -webkit-background-clip: initial !important;
  background-clip: initial !important;
}

.home-hero-section .home-sub-copy {
  font-size: 1rem !important;
  color: #4b5563 !important;
  font-weight: 500;
  position: relative;
  z-index: 2;
  margin-bottom: 1.5rem;
}

/* カテゴリーフィルターチップ - 高コントラスト */
.category-filter-chips {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 1.5rem;
  flex-wrap: wrap;
  position: relative;
  z-index: 2;
}

.filter-chip {
  display: inline-block;
  padding: 10px 20px !important;
  background: #ffffff !important;
  color: #374151 !important;
  border-radius: 50px !important;
  text-decoration: none !important;
  font-weight: 600 !important;
  font-size: 0.9rem !important;
  transition: all 0.2s ease !important;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12) !important;
  border: 1px solid #d1d5db !important;
}

.filter-chip:hover {
  background: #f9fafb !important;
  color: #111827 !important;
  border-color: #9ca3af !important;
  transform: translateY(-1px) !important;
}

.filter-chip.active {
  background: #2563eb !important;
  color: #ffffff !important;
  border-color: #2563eb !important;
  box-shadow: 0 2px 6px rgba(37, 99, 235, 0.3) !important;
}

/* ===================================
   ヘッダー
   =================================== */
.header-container {
  background-color: #ffffff !important;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08) !important;
  border-bottom: 1px solid #e5e7eb !important;
  margin-bottom: 0 !important;
  position: sticky !important;
  top: 0 !important;
  z-index: 1000 !important;
}

/* ===================================
   サイドバーの追従修正
   =================================== */
.sidebar {
  background-color: transparent !important;
}

/* サイドバーのスティッキー要素 */
.sidebar .sidebar-scroll {
  position: sticky !important;
  top: 200px !important;
  max-height: calc(100vh - 220px) !important;
  overflow-y: auto !important;
}

/* サイドバーウィジェット */
.sidebar .widget {
  background-color: #ffffff !important;
  border: 1px solid #d1d5db !important;
  border-radius: 8px !important;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08) !important;
  padding: 18px !important;
  margin-bottom: 18px !important;
}

.sidebar .widget-title {
  color: #111827 !important;
  font-weight: 700 !important;
  font-size: 1rem !important;
  margin-bottom: 16px !important;
}

/* ===================================
   カード - 高コントラスト
   =================================== */
.archive-card-list {
  display: grid !important;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)) !important;
  gap: 20px !important;
  margin: 25px 0 !important;
}

.archive-card,
.related-posts-list li {
  border-radius: 10px !important;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1) !important;
  transition: all 0.25s ease !important;
  position: relative !important;
  border: 1px solid #d1d5db !important;
  background: #ffffff !important;
  overflow: hidden !important;
}

.archive-card {
  cursor: pointer !important;
}

.archive-card a {
  display: block !important;
  text-decoration: none !important;
  color: inherit !important;
}

.archive-card-content {
  padding: 18px !important;
  background: #ffffff !important;
}

.archive-card:hover,
.related-posts-list li:hover {
  transform: translateY(-3px) !important;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15) !important;
  border-color: #9ca3af !important;
}

/* カードテキスト - WCAG AAA準拠 */
.archive-card-content .archive-card-title {
  font-size: 1.05rem !important;
  font-weight: 700 !important;
  margin-bottom: 8px !important;
  line-height: 1.5 !important;
  color: #111827 !important;
}

.archive-card-content .archive-card-meta {
  font-size: 0.8rem !important;
  color: #6b7280 !important;
  margin-bottom: 10px !important;
}

.archive-card-content .archive-card-snippet {
  font-size: 0.875rem !important;
  color: #374151 !important;
  line-height: 1.6 !important;
  margin-bottom: 14px !important;
}

.archive-card-content .archive-read-more {
  background: #f3f4f6 !important;
  color: #2563eb !important;
  padding: 8px !important;
  border-radius: 6px !important;
  font-size: 0.85rem !important;
  font-weight: 600 !important;
  transition: all 0.2s ease !important;
  text-align: center !important;
}

.archive-card:hover .archive-card-content .archive-read-more {
  background: #2563eb !important;
  color: #ffffff !important;
}

/* ===================================
   サイドバー - 高コントラスト
   =================================== */
.sidebar {
  background-color: transparent !important;
}

.sidebar .widget {
  background-color: #ffffff !important;
  border: 1px solid #d1d5db !important;
  border-radius: 8px !important;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08) !important;
  padding: 18px !important;
  margin-bottom: 18px !important;
}

.sidebar .widget-title {
  color: #111827 !important;
  font-weight: 700 !important;
  font-size: 1rem !important;
}

/* 検索ボタン */
.sidebar .search-submit,
.sidebar input[type="submit"],
.sidebar button[type="submit"] {
  position: absolute !important;
  right: -2px !important;
  top: calc(50% - 22px) !important;
  width: auto !important;
  padding: 10px 16px !important;
  background: #2563eb !important;
  color: #ffffff !important;
  border: none !important;
  border-radius: 6px !important;
  font-weight: 600 !important;
  font-size: 0.9rem !important;
  cursor: pointer !important;
  transition: all 0.2s ease !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-width: 44px !important;
  height: 44px !important;
}

.sidebar .search-submit:hover,
.sidebar input[type="submit"]:hover,
.sidebar button[type="submit"]:hover {
  background: #1d4ed8 !important;
}

.sidebar .search-box {
  position: relative !important;
  display: block !important;
}

.sidebar .search-edit {
  width: 100% !important;
  padding: 10px 60px 10px 12px !important;
  border: 1px solid #9ca3af !important;
  border-radius: 6px !important;
  font-size: 0.9rem !important;
  height: 44px !important;
  margin: 0 !important;
  box-sizing: border-box !important;
  color: #111827 !important;
}

/* サイドバーリンク - 高コントラスト */
.sidebar a,
.sidebar .widget a {
  color: #374151 !important;
  text-decoration: none !important;
  font-weight: 500 !important;
}

.sidebar a:hover,
.sidebar .widget a:hover {
  color: #111827 !important;
  text-decoration: underline !important;
}

/* ===================================
   ページネーション
   =================================== */
.pagination {
  margin: 40px 0 !important;
}

.pagination .page-numbers {
  display: inline-flex !important;
  min-width: 40px !important;
  height: 40px !important;
  padding: 0 14px !important;
  font-size: 0.9rem !important;
  white-space: nowrap !important;
  border-radius: 8px !important;
  transition: all 0.2s ease !important;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1) !important;
  background: #ffffff !important;
  color: #374151 !important;
  border: 1px solid #d1d5db !important;
  font-weight: 600 !important;
}

.pagination .page-numbers:hover {
  background-color: #f9fafb !important;
  color: #111827 !important;
  border-color: #9ca3af !important;
}

.pagination .page-numbers.current {
  background: #2563eb !important;
  color: #ffffff !important;
  border-color: #2563eb !important;
}

/* ===================================
   フッター - 高コントラスト
   =================================== */
.footer {
  background-color: #1f2937 !important;
  color: #f9fafb !important;
  border-top: 1px solid #374151 !important;
  padding-top: 40px !important;
  margin-top: 60px !important;
}

.footer a {
  color: #e5e7eb !important;
  transition: color 0.2s !important;
  font-weight: 500 !important;
}

.footer a:hover {
  color: #ffffff !important;
}

.footer .site-name-text {
  color: #ffffff !important;
  font-weight: 700 !important;
}

.footer .widget-title {
  color: #ffffff !important;
  border-bottom-color: #4b5563 !important;
  font-weight: 600 !important;
}

/* フッターナビゲーションとコピーライト */
.footer .navi-footer a,
.footer .menu-footer a {
  color: #e5e7eb !important;
}

.footer .navi-footer a:hover,
.footer .menu-footer a:hover {
  color: #ffffff !important;
}

.footer .copyright,
.footer .source-org {
  color: #d1d5db !important;
}

.footer-bottom-logo .site-name-text,
.footer .logo-text .site-name-text {
  color: #ffffff !important;
}

/* ===================================
   カテゴリーバッジ - 高コントラスト
   =================================== */
.ai-badge-list {
  margin-bottom: 12px !important;
  gap: 8px !important;
}

.ai-badge {
  font-size: 0.75rem !important;
  font-weight: 700 !important;
  padding: 5px 12px !important;
  border-radius: 50px !important;
  transition: all 0.2s !important;
}

.ai-badge.type-main.shabekuri,
.ai-badge.type-main.conte-manzai {
  background-color: #dbeafe !important;
  color: #1e40af !important;
  border: 1px solid #93c5fd !important;
}

.ai-badge.type-main.rakugo {
  background-color: #fce7f3 !important;
  color: #be185d !important;
  border: 1px solid #f9a8d4 !important;
}

.ai-badge.type-main.conte {
  background-color: #f3e8ff !important;
  color: #7e22ce !important;
  border: 1px solid #d8b4fe !important;
}

/* ===================================
   レスポンシブデザイン
   =================================== */
@media screen and (max-width: 768px) {
  .home-hero-section .home-catch-copy {
    font-size: 1.6rem !important;
  }

  .archive-card-list {
    grid-template-columns: 1fr !important;
    gap: 16px !important;
  }

  .filter-chip {
    padding: 8px 16px !important;
    font-size: 0.85rem !important;
  }
}

/* ===================================
   アクセシビリティ
   =================================== */
.archive-card:focus-within {
  outline: 2px solid #2563eb !important;
  outline-offset: 2px !important;
}

.filter-chip:focus {
  outline: 2px solid #2563eb !important;
  outline-offset: 2px !important;
}

html {
  scroll-behavior: smooth;
}

/* ===================================
   パフォーマンス最適化とブラッシュアップ
   =================================== */
* {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

/* スムーズなスクロール */
html {
  scroll-behavior: smooth;
}

/* コンテンツエリアのスペーシング最適化 */
.content {
  padding-top: 2rem !important;
}

.main {
  padding-right: 20px !important;
}

/* ヒーローセクションとコンテンツの間隔 */
.home-hero-section+.content {
  padding-top: 0 !important;
}

/* カードグリッドのレスポンシブ最適化 */
@media screen and (min-width: 769px) and (max-width: 1024px) {
  .archive-card-list {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 18px !important;
  }
}

/* タイポグラフィの最適化 */
body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji" !important;
  line-height: 1.6 !important;
}

/* リンクのアニメーション */
a {
  transition: color 0.2s ease, background-color 0.2s ease !important;
}

/* ボタンのホバーエフェクト改善 */
button,
input[type="submit"],
.filter-chip,
.archive-read-more {
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

/* フォーカス状態の統一 */
*:focus-visible {
  outline: 2px solid #2563eb !important;
  outline-offset: 2px !important;
}

/* スクロールバーのスタイリング */
::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}

::-webkit-scrollbar-track {
  background: #f1f5f9;
}

::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
  background: #94a3b8;
}

/* ローディング状態の最適化 */
img[loading="lazy"] {
  opacity: 0;
  transition: opacity 0.3s ease;
}

img[loading="lazy"].loaded {
  opacity: 1;
}

/* プリント用スタイル */
@media print {

  .header-container,
  .sidebar,
  .footer,
  .pagination {
    display: none !important;
  }

  .main {
    width: 100% !important;
    padding: 0 !important;
  }
}


/* ===================================
   全体の背景とレイアウト修正
   =================================== */
body {
  background-color: #ffffff !important;
  background-image: none !important;
}

/* 2カラムレイアウトの背景問題を修正 */
.main,
.content,
.content-in {
  background-color: transparent !important;
}

/* ===================================
   ヒーローセクション (MVテキスト修正)
   =================================== */
.home-hero-section {
  text-align: center;
  padding: 4rem 1.5rem 3rem;
  background: linear-gradient(180deg, #f8fafc 0%, #ffffff 100%) !important;
  margin-bottom: 2rem !important;
  border-bottom: none !important;
  position: relative;
  overflow: hidden;
}

.home-hero-section .wrap {
  position: relative;
  z-index: 2;
}

.home-hero-section .home-catch-copy {
  font-size: 2rem !important;
  font-weight: 800 !important;
  color: #1f2937 !important;
  margin-bottom: 0.8rem !important;
  line-height: 1.4;
  position: relative;
  z-index: 2;
  text-align: center !important;
  width: 100% !important;
}

/* MVテキストのハイライト部分を確実に表示 */
/* MVテキストのハイライト部分を確実に表示 - 完全修正版 */
.home-hero-section .home-catch-copy .highlight {
  color: #ec4899 !important;
  font-weight: 800 !important;
  display: inline !important;
  visibility: visible !important;
  opacity: 1 !important;
  -webkit-text-fill-color: #ec4899 !important;
  background: none !important;
  -webkit-background-clip: initial !important;
  background-clip: initial !important;
}

.home-hero-section .home-sub-copy {
  font-size: 1rem !important;
  color: #64748b !important;
  font-weight: 500;
  position: relative;
  z-index: 2;
  margin-bottom: 1.5rem;
}

/* カテゴリーフィルターチップ - 見やすく調整 */
.category-filter-chips {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 1.5rem;
  flex-wrap: wrap;
  position: relative;
  z-index: 2;
}

.filter-chip {
  display: inline-block;
  padding: 10px 20px !important;
  background: #ffffff !important;
  color: #475569 !important;
  border-radius: 50px !important;
  text-decoration: none !important;
  font-weight: 600 !important;
  font-size: 0.9rem !important;
  transition: all 0.2s ease !important;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1) !important;
  border: 1px solid #e2e8f0 !important;
}

.filter-chip:hover {
  background: #f8fafc !important;
  color: #1f2937 !important;
  border-color: #cbd5e1 !important;
  transform: translateY(-1px) !important;
}

.filter-chip.active {
  background: #3b82f6 !important;
  color: #ffffff !important;
  border-color: #3b82f6 !important;
  box-shadow: 0 2px 6px rgba(59, 130, 246, 0.3) !important;
}

/* ===================================
   ヘッダー
   =================================== */
.header-container {
  background-color: #ffffff !important;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06) !important;
  border-bottom: 1px solid #e5e7eb !important;
  margin-bottom: 0 !important;
  position: sticky !important;
  top: 0 !important;
  z-index: 1000 !important;
}

/* ===================================
   カード - 全体クリック可能 & 色最適化
   =================================== */
.archive-card-list {
  display: grid !important;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)) !important;
  gap: 20px !important;
  margin: 25px 0 !important;
}

.archive-card,
.related-posts-list li {
  border-radius: 10px !important;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08) !important;
  transition: all 0.25s ease !important;
  position: relative !important;
  border: 1px solid #e5e7eb !important;
  background: #ffffff !important;
  overflow: hidden !important;
}

/* カード全体をクリック可能に - 表示復旧版 */
.archive-card {
  cursor: pointer !important;
}

.archive-card a {
  display: block !important;
  text-decoration: none !important;
  color: inherit !important;
}

.archive-card-content {
  padding: 18px !important;
  background: #ffffff !important;
}

/* カードホバーエフェクト - 控えめで快適 */
.archive-card:hover,
.related-posts-list li:hover {
  transform: translateY(-3px) !important;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12) !important;
  border-color: #cbd5e1 !important;
}

/* カードテキストの色 - 読みやすさ重視 */
.archive-card-content .archive-card-title {
  font-size: 1.05rem !important;
  font-weight: 700 !important;
  margin-bottom: 8px !important;
  line-height: 1.5 !important;
  color: #111827 !important;
}

.archive-card-content .archive-card-meta {
  font-size: 0.8rem !important;
  color: #9ca3af !important;
  margin-bottom: 10px !important;
}

.archive-card-content .archive-card-snippet {
  font-size: 0.875rem !important;
  color: #4b5563 !important;
  line-height: 1.6 !important;
  margin-bottom: 14px !important;
}

.archive-card-content .archive-read-more {
  background: #f3f4f6 !important;
  color: #3b82f6 !important;
  padding: 8px !important;
  border-radius: 6px !important;
  font-size: 0.85rem !important;
  font-weight: 600 !important;
  transition: all 0.2s ease !important;
  text-align: center !important;
}

.archive-card:hover .archive-card-content .archive-read-more {
  background: #3b82f6 !important;
  color: #ffffff !important;
}

/* ===================================
   サイドバー - 検索ボタン修正
   =================================== */
.sidebar {
  background-color: transparent !important;
}

.sidebar .widget {
  background-color: #ffffff !important;
  border: 1px solid #e5e7eb !important;
  border-radius: 8px !important;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05) !important;
  padding: 18px !important;
  margin-bottom: 18px !important;
}

/* 検索ボタンの表示崩れを修正 - 絶対配置 */
.sidebar .search-submit,
.sidebar input[type="submit"],
.sidebar button[type="submit"] {
  position: absolute !important;
  right: -2px !important;
  top: calc(50% - 22px) !important;
  width: auto !important;
  padding: 10px 16px !important;
  background: #3b82f6 !important;
  color: #ffffff !important;
  border: none !important;
  border-radius: 6px !important;
  font-weight: 600 !important;
  font-size: 0.9rem !important;
  cursor: pointer !important;
  transition: all 0.2s ease !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-width: 44px !important;
  height: 44px !important;
}

.sidebar .search-submit:hover,
.sidebar input[type="submit"]:hover,
.sidebar button[type="submit"]:hover {
  background: #2563eb !important;
}

.sidebar .search-box {
  position: relative !important;
  display: block !important;
}

.sidebar .search-edit {
  width: 100% !important;
  padding: 10px 60px 10px 12px !important;
  border: 1px solid #d1d5db !important;
  border-radius: 6px !important;
  font-size: 0.9rem !important;
  height: 44px !important;
  margin: 0 !important;
  box-sizing: border-box !important;
}

/* サイドバーのカテゴリリンクの色を修正 */
.sidebar a,
.sidebar .widget a {
  color: #4b5563 !important;
  text-decoration: none !important;
}

.sidebar a:hover,
.sidebar .widget a:hover {
  color: #1f2937 !important;
  text-decoration: underline !important;
}

/* ===================================
   ページネーション
   =================================== */
.pagination {
  margin: 40px 0 !important;
}

.pagination .page-numbers {
  display: inline-flex !important;
  min-width: 40px !important;
  height: 40px !important;
  padding: 0 14px !important;
  font-size: 0.9rem !important;
  white-space: nowrap !important;
  border-radius: 8px !important;
  transition: all 0.2s ease !important;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08) !important;
  background: #ffffff !important;
  color: #4b5563 !important;
  border: 1px solid #e5e7eb !important;
}

.pagination .page-numbers:hover {
  background-color: #f8fafc !important;
  color: #1f2937 !important;
  border-color: #cbd5e1 !important;
}

.pagination .page-numbers.current {
  background: #3b82f6 !important;
  color: #ffffff !important;
  border-color: #3b82f6 !important;
}

/* ===================================
   フッター
   =================================== */
.footer {
  background-color: #f9fafb !important;
  color: #6b7280 !important;
  border-top: 1px solid #e5e7eb !important;
  padding-top: 40px !important;
  margin-top: 60px !important;
}

.footer a {
  color: #4b5563 !important;
  transition: color 0.2s !important;
}

.footer a:hover {
  color: #3b82f6 !important;
}

.footer .site-name-text {
  color: #1f2937 !important;
  font-weight: 700 !important;
}

.footer .widget-title {
  color: #1f2937 !important;
  border-bottom-color: #e5e7eb !important;
  font-weight: 600 !important;
}

/* ===================================
   カテゴリーバッジ - 色最適化
   =================================== */
.ai-badge-list {
  margin-bottom: 12px !important;
  gap: 8px !important;
}

.ai-badge {
  font-size: 0.75rem !important;
  font-weight: 600 !important;
  padding: 5px 12px !important;
  border-radius: 50px !important;
  transition: all 0.2s !important;
}

.ai-badge.type-main.shabekuri,
.ai-badge.type-main.conte-manzai {
  background-color: #dbeafe !important;
  color: #1e40af !important;
  border-color: #93c5fd !important;
}

.ai-badge.type-main.rakugo {
  background-color: #fce7f3 !important;
  color: #be185d !important;
  border-color: #f9a8d4 !important;
}

.ai-badge.type-main.conte {
  background-color: #f3e8ff !important;
  color: #7e22ce !important;
  border-color: #d8b4fe !important;
}

/* ===================================
   レスポンシブデザイン
   =================================== */
@media screen and (max-width: 768px) {
  .home-hero-section .home-catch-copy {
    font-size: 1.6rem !important;
  }

  .archive-card-list {
    grid-template-columns: 1fr !important;
    gap: 16px !important;
  }

  .filter-chip {
    padding: 8px 16px !important;
    font-size: 0.85rem !important;
  }
}

/* ===================================
   アクセシビリティ
   =================================== */
.archive-card:focus-within {
  outline: 2px solid #3b82f6 !important;
  outline-offset: 2px !important;
}

.filter-chip:focus {
  outline: 2px solid #3b82f6 !important;
  outline-offset: 2px !important;
}

/* スムーズスクロール */
html {
  scroll-behavior: smooth;
}

/* ===================================
   パフォーマンス最適化
   =================================== */
* {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

/* ===================================
   Tailwind Fallback CSS
   CDNがブロックされた場合のフォールバック
   =================================== */

/* Container */
.container {
  width: 100%;
  max-width: 1280px;
  margin-left: auto;
  margin-right: auto;
}

/* Flexbox utilities */
.flex {
  display: flex !important;
}

.flex-col {
  flex-direction: column !important;
}

.flex-1 {
  flex: 1 1 0% !important;
}

.items-center {
  align-items: center !important;
}

.items-start {
  align-items: flex-start !important;
}

.items-end {
  align-items: flex-end !important;
}

.justify-center {
  justify-content: center !important;
}

.justify-between {
  justify-content: space-between !important;
}

.flex-shrink-0 {
  flex-shrink: 0 !important;
}

.flex-wrap {
  flex-wrap: wrap !important;
}

/* Grid utilities - CRITICAL for layout */
.grid {
  display: grid !important;
}

.grid-cols-1 {
  grid-template-columns: repeat(1, minmax(0, 1fr)) !important;
}

.gap-2 {
  gap: 0.5rem !important;
}

.gap-3 {
  gap: 0.75rem !important;
}

.gap-4 {
  gap: 1rem !important;
}

.gap-6 {
  gap: 1.5rem !important;
}

.gap-8 {
  gap: 2rem !important;
}

.gap-12 {
  gap: 3rem !important;
}

.auto-rows-\[240px\] {
  grid-auto-rows: 240px !important;
}

/* Responsive grid for Action Buttons (3 columns on desktop) */
@media (min-width: 768px) {
  .md\:grid-cols-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  }

  .md\:grid-cols-4 {
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  }

  .md\:col-span-1 {
    grid-column: span 1 / span 1 !important;
  }

  .md\:col-span-2 {
    grid-column: span 2 / span 2 !important;
  }

  .md\:row-span-1 {
    grid-row: span 1 / span 1 !important;
  }

  .md\:row-span-2 {
    grid-row: span 2 / span 2 !important;
  }

  .md\:flex {
    display: flex !important;
  }

  .md\:hidden {
    display: none !important;
  }

  .md\:px-6 {
    padding-left: 1.5rem !important;
    padding-right: 1.5rem !important;
  }

  .md\:p-8 {
    padding: 2rem !important;
  }

  .md\:p-12 {
    padding: 3rem !important;
  }

  .md\:text-3xl {
    font-size: 1.875rem !important;
    line-height: 2.25rem !important;
  }

  .md\:text-4xl {
    font-size: 2.25rem !important;
    line-height: 2.5rem !important;
  }

  .md\:text-5xl {
    font-size: 3rem !important;
    line-height: 1 !important;
  }

  .md\:text-7xl {
    font-size: 4.5rem !important;
    line-height: 1 !important;
  }
}

@media (min-width: 1024px) {
  .lg\:grid-cols-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  }

  .lg\:col-span-1 {
    grid-column: span 1 / span 1 !important;
  }

  .lg\:col-span-2 {
    grid-column: span 2 / span 2 !important;
  }
}

/* Spacing */
.px-2 {
  padding-left: 0.5rem !important;
  padding-right: 0.5rem !important;
}

.px-3 {
  padding-left: 0.75rem !important;
  padding-right: 0.75rem !important;
}

.px-4 {
  padding-left: 1rem !important;
  padding-right: 1rem !important;
}

.px-6 {
  padding-left: 1.5rem !important;
  padding-right: 1.5rem !important;
}

.py-1 {
  padding-top: 0.25rem !important;
  padding-bottom: 0.25rem !important;
}

.py-1\.5 {
  padding-top: 0.375rem !important;
  padding-bottom: 0.375rem !important;
}

.py-2 {
  padding-top: 0.5rem !important;
  padding-bottom: 0.5rem !important;
}

.py-3 {
  padding-top: 0.75rem !important;
  padding-bottom: 0.75rem !important;
}

.py-20 {
  padding-top: 5rem !important;
  padding-bottom: 5rem !important;
}

.p-2 {
  padding: 0.5rem !important;
}

.p-3 {
  padding: 0.75rem !important;
}

.p-4 {
  padding: 1rem !important;
}

.p-6 {
  padding: 1.5rem !important;
}

.p-8 {
  padding: 2rem !important;
}

.pt-4 {
  padding-top: 1rem !important;
}

.pt-24 {
  padding-top: 6rem !important;
}

.pb-20 {
  padding-bottom: 5rem !important;
}

.pl-3 {
  padding-left: 0.75rem !important;
}

/* Margin */
.mx-auto {
  margin-left: auto !important;
  margin-right: auto !important;
}

.mx-8 {
  margin-left: 2rem !important;
  margin-right: 2rem !important;
}

.mb-2 {
  margin-bottom: 0.5rem !important;
}

.mb-3 {
  margin-bottom: 0.75rem !important;
}

.mb-4 {
  margin-bottom: 1rem !important;
}

.mb-6 {
  margin-bottom: 1.5rem !important;
}

.mb-8 {
  margin-bottom: 2rem !important;
}

.mb-10 {
  margin-bottom: 2.5rem !important;
}

.mb-12 {
  margin-bottom: 3rem !important;
}

.mb-16 {
  margin-bottom: 4rem !important;
}

.mb-20 {
  margin-bottom: 5rem !important;
}

.mt-0\.5 {
  margin-top: 0.125rem !important;
}

.mt-1 {
  margin-top: 0.25rem !important;
}

.mt-2 {
  margin-top: 0.5rem !important;
}

.mt-4 {
  margin-top: 1rem !important;
}

.mt-auto {
  margin-top: auto !important;
}

/* Width/Height */
.w-2 {
  width: 0.5rem !important;
}

.w-3 {
  width: 0.75rem !important;
}

.w-4 {
  width: 1rem !important;
}

.w-5 {
  width: 1.25rem !important;
}

.w-6 {
  width: 1.5rem !important;
}

.w-10 {
  width: 2.5rem !important;
}

.w-24 {
  width: 6rem !important;
}

.w-32 {
  width: 8rem !important;
}

.w-64 {
  width: 16rem !important;
}

.w-full {
  width: 100% !important;
}

.w-fit {
  width: fit-content !important;
}

.w-max {
  width: max-content !important;
}

.h-2 {
  height: 0.5rem !important;
}

.h-3 {
  height: 0.75rem !important;
}

.h-4 {
  height: 1rem !important;
}

.h-5 {
  height: 1.25rem !important;
}

.h-6 {
  height: 1.5rem !important;
}

.h-8 {
  height: 2rem !important;
}

.h-10 {
  height: 2.5rem !important;
}

.h-24 {
  height: 6rem !important;
}

.h-32 {
  height: 8rem !important;
}

.h-64 {
  height: 16rem !important;
}

.h-full {
  height: 100% !important;
}

.max-w-md {
  max-width: 28rem !important;
}

.max-w-lg {
  max-width: 32rem !important;
}

.max-w-2xl {
  max-width: 42rem !important;
}

.max-w-4xl {
  max-width: 56rem !important;
}

.max-w-5xl {
  max-width: 64rem !important;
}

/* Typography */
.text-xs {
  font-size: 0.75rem !important;
  line-height: 1rem !important;
}

.text-sm {
  font-size: 0.875rem !important;
  line-height: 1.25rem !important;
}

.text-lg {
  font-size: 1.125rem !important;
  line-height: 1.75rem !important;
}

.text-xl {
  font-size: 1.25rem !important;
  line-height: 1.75rem !important;
}

.text-2xl {
  font-size: 1.5rem !important;
  line-height: 2rem !important;
}

.text-3xl {
  font-size: 1.875rem !important;
  line-height: 2.25rem !important;
}

.text-4xl {
  font-size: 2.25rem !important;
  line-height: 2.5rem !important;
}

.text-5xl {
  font-size: 3rem !important;
  line-height: 1 !important;
}

.font-medium {
  font-weight: 500 !important;
}

.font-bold {
  font-weight: 700 !important;
}

.font-black {
  font-weight: 900 !important;
}

.uppercase {
  text-transform: uppercase !important;
}

.italic {
  font-style: italic !important;
}

.tracking-tight {
  letter-spacing: -0.025em !important;
}

.tracking-wide {
  letter-spacing: 0.025em !important;
}

.tracking-wider {
  letter-spacing: 0.05em !important;
}

.leading-none {
  line-height: 1 !important;
}

.leading-tight {
  line-height: 1.25 !important;
}

.leading-relaxed {
  line-height: 1.625 !important;
}

.leading-\[1\.1\] {
  line-height: 1.1 !important;
}

.text-center {
  text-align: center !important;
}

.whitespace-nowrap {
  white-space: nowrap !important;
}

.line-clamp-1 {
  overflow: hidden;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 1;
}

.line-clamp-2 {
  overflow: hidden;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.line-clamp-3 {
  overflow: hidden;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

/* Colors */
.text-white {
  color: #ffffff !important;
}

.text-slate-300 {
  color: #cbd5e1 !important;
}

.text-slate-400 {
  color: #94a3b8 !important;
}

.text-slate-500 {
  color: #64748b !important;
}

.text-slate-600 {
  color: #475569 !important;
}

.text-slate-700 {
  color: #334155 !important;
}

.text-slate-800 {
  color: #1e293b !important;
}

.text-slate-900 {
  color: #0f172a !important;
}

.text-blue-500 {
  color: #3b82f6 !important;
}

.text-blue-600 {
  color: #2563eb !important;
}

.text-blue-700 {
  color: #1d4ed8 !important;
}

.text-pink-500 {
  color: #ec4899 !important;
}

.text-pink-700 {
  color: #be185d !important;
}

.text-purple-700 {
  color: #7e22ce !important;
}

.text-yellow-600 {
  color: #ca8a04 !important;
}

.bg-white {
  background-color: #ffffff !important;
}

.bg-slate-50 {
  background-color: #f8fafc !important;
}

.bg-slate-100 {
  background-color: #f1f5f9 !important;
}

.bg-slate-300 {
  background-color: #cbd5e1 !important;
}

.bg-slate-800 {
  background-color: #1e293b !important;
}

.bg-slate-900 {
  background-color: #0f172a !important;
}

.bg-blue-50 {
  background-color: #eff6ff !important;
}

.bg-blue-100 {
  background-color: #dbeafe !important;
}

.bg-blue-500 {
  background-color: #3b82f6 !important;
}

.bg-blue-600 {
  background-color: #2563eb !important;
}

.bg-pink-50 {
  background-color: #fdf2f8 !important;
}

.bg-pink-100 {
  background-color: #fce7f3 !important;
}

.bg-pink-500 {
  background-color: #ec4899 !important;
}

.bg-purple-100 {
  background-color: #f3e8ff !important;
}

.bg-yellow-100 {
  background-color: #fef9c3 !important;
}

.bg-yellow-400 {
  background-color: #facc15 !important;
}

.bg-orange-300 {
  background-color: #fdba74 !important;
}

/* Borders */
.border {
  border-width: 1px !important;
}

.border-2 {
  border-width: 2px !important;
}

.border-y {
  border-top-width: 1px !important;
  border-bottom-width: 1px !important;
}

.border-r-2 {
  border-right-width: 2px !important;
}

.border-l-2 {
  border-left-width: 2px !important;
}

.border-slate-100 {
  border-color: #f1f5f9 !important;
}

.border-slate-200 {
  border-color: #e2e8f0 !important;
}

.border-slate-300 {
  border-color: #cbd5e1 !important;
}

.border-slate-900 {
  border-color: #0f172a !important;
}

.border-blue-100 {
  border-color: #dbeafe !important;
}

.border-blue-200 {
  border-color: #bfdbfe !important;
}

.border-pink-200 {
  border-color: #fbcfe8 !important;
}

.border-purple-200 {
  border-color: #e9d5ff !important;
}

.border-transparent {
  border-color: transparent !important;
}

.border-white\/20 {
  border-color: rgba(255, 255, 255, 0.2) !important;
}

.rounded {
  border-radius: 0.25rem !important;
}

.rounded-lg {
  border-radius: 0.5rem !important;
}

.rounded-xl {
  border-radius: 0.75rem !important;
}

.rounded-2xl {
  border-radius: 1rem !important;
}

.rounded-3xl {
  border-radius: 1.5rem !important;
}

.rounded-full {
  border-radius: 9999px !important;
}

/* Positioning */
.relative {
  position: relative !important;
}

.absolute {
  position: absolute !important;
}

.fixed {
  position: fixed !important;
}

.inset-0 {
  top: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  left: 0 !important;
}

.top-0 {
  top: 0 !important;
}

.right-0 {
  right: 0 !important;
}

.bottom-0 {
  bottom: 0 !important;
}

.left-0 {
  left: 0 !important;
}

.z-10 {
  z-index: 10 !important;
}

.z-50 {
  z-index: 50 !important;
}

.\-translate-y-1\/2 {
  transform: translateY(-50%) !important;
}

.translate-x-1\/2 {
  transform: translateX(50%) !important;
}

.translate-y-1\/2 {
  transform: translateY(50%) !important;
}

.\-translate-x-1\/2 {
  transform: translateX(-50%) !important;
}

.\-rotate-1 {
  transform: rotate(-1deg) !important;
}

/* Display */
.block {
  display: block !important;
}

.inline-block {
  display: inline-block !important;
}

.inline-flex {
  display: inline-flex !important;
}

.hidden {
  display: none !important;
}

/* Overflow */
.overflow-hidden {
  overflow: hidden !important;
}

/* Effects */
.shadow-sm {
  box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05) !important;
}

.shadow-lg {
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05) !important;
}

.shadow-xl {
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04) !important;
}

.shadow-2xl {
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25) !important;
}

.shadow-blue-100 {
  --tw-shadow-color: #dbeafe;
}

.shadow-blue-500\/20 {
  box-shadow: 0 20px 25px -5px rgba(59, 130, 246, 0.2) !important;
}

.shadow-pink-500\/20 {
  box-shadow: 0 20px 25px -5px rgba(236, 72, 153, 0.2) !important;
}

.shadow-purple-500\/20 {
  box-shadow: 0 20px 25px -5px rgba(168, 85, 247, 0.2) !important;
}

.opacity-0 {
  opacity: 0 !important;
}

.opacity-20 {
  opacity: 0.2 !important;
}

.opacity-30 {
  opacity: 0.3 !important;
}

.opacity-50 {
  opacity: 0.5 !important;
}

.backdrop-blur-sm {
  backdrop-filter: blur(4px) !important;
}

.backdrop-blur-md {
  backdrop-filter: blur(12px) !important;
}

.blur-\[100px\] {
  filter: blur(100px) !important;
}

/* Backgrounds */
.bg-gradient-to-r {
  background-image: linear-gradient(to right, var(--tw-gradient-stops)) !important;
}

.bg-gradient-to-br {
  background-image: linear-gradient(to bottom right, var(--tw-gradient-stops)) !important;
}

.bg-gradient-to-t {
  background-image: linear-gradient(to top, var(--tw-gradient-stops)) !important;
}

.from-blue-500 {
  --tw-gradient-from: #3b82f6;
  --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to, rgba(59, 130, 246, 0));
}

.from-blue-600 {
  --tw-gradient-from: #2563eb;
  --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to, rgba(37, 99, 235, 0));
}

.from-pink-500 {
  --tw-gradient-from: #ec4899;
  --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to, rgba(236, 72, 153, 0));
}

.from-purple-500 {
  --tw-gradient-from: #a855f7;
  --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to, rgba(168, 85, 247, 0));
}

.from-slate-900 {
  --tw-gradient-from: #0f172a;
  --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to, rgba(15, 23, 42, 0));
}

.via-purple-500 {
  --tw-gradient-stops: var(--tw-gradient-from), #a855f7, var(--tw-gradient-to, rgba(168, 85, 247, 0));
}

.via-white\/80 {
  --tw-gradient-stops: var(--tw-gradient-from), rgba(255, 255, 255, 0.8), var(--tw-gradient-to, rgba(255, 255, 255, 0));
}

.to-cyan-400 {
  --tw-gradient-to: #22d3ee;
}

.to-cyan-600 {
  --tw-gradient-to: #0891b2;
}

.to-rose-600 {
  --tw-gradient-to: #e11d48;
}

.to-indigo-600 {
  --tw-gradient-to: #4f46e5;
}

.to-purple-600 {
  --tw-gradient-to: #9333ea;
}

.to-pink-500 {
  --tw-gradient-to: #ec4899;
}

.to-slate-800 {
  --tw-gradient-to: #1e293b;
}

.to-white {
  --tw-gradient-to: #ffffff;
}

.to-white\/30 {
  --tw-gradient-to: rgba(255, 255, 255, 0.3);
}

.bg-clip-text {
  -webkit-background-clip: text;
  background-clip: text;
}

.text-transparent {
  color: transparent !important;
}

.bg-white\/10 {
  background-color: rgba(255, 255, 255, 0.1) !important;
}

.bg-white\/80 {
  background-color: rgba(255, 255, 255, 0.8) !important;
}

.bg-white\/90 {
  background-color: rgba(255, 255, 255, 0.9) !important;
}

.bg-black\/50 {
  background-color: rgba(0, 0, 0, 0.5) !important;
}

.text-white\/80 {
  color: rgba(255, 255, 255, 0.8) !important;
}

/* Object fit */
.object-cover {
  object-fit: cover !important;
}

/* Transitions */
.transition-all {
  transition-property: all;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: 150ms;
}

.transition-colors {
  transition-property: color, background-color, border-color;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: 150ms;
}

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

.transition-opacity {
  transition-property: opacity;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: 150ms;
}

.duration-300 {
  transition-duration: 300ms;
}

.duration-700 {
  transition-duration: 700ms;
}

/* Hover states */
.hover\:text-blue-600:hover {
  color: #2563eb !important;
}

.hover\:bg-blue-50:hover {
  background-color: #eff6ff !important;
}

.hover\:bg-blue-700:hover {
  background-color: #1d4ed8 !important;
}

.hover\:bg-slate-50:hover {
  background-color: #f8fafc !important;
}

.hover\:-translate-y-2:hover {
  transform: translateY(-0.5rem) !important;
}

.hover\:shadow-xl:hover {
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04) !important;
}

.hover\:shadow-2xl:hover {
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25) !important;
}

.hover\:shadow-md:hover {
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06) !important;
}

.hover\:shadow-pink-500\/30:hover {
  box-shadow: 0 25px 50px -12px rgba(236, 72, 153, 0.3) !important;
}

.hover\:shadow-purple-500\/30:hover {
  box-shadow: 0 25px 50px -12px rgba(168, 85, 247, 0.3) !important;
}

.hover\:shadow-blue-500\/30:hover {
  box-shadow: 0 25px 50px -12px rgba(59, 130, 246, 0.3) !important;
}

.hover\:border-slate-200:hover {
  border-color: #e2e8f0 !important;
}

.hover\:scale-105:hover {
  transform: scale(1.05) !important;
}

.hover\:rotate-12:hover {
  transform: rotate(12deg) !important;
}

.hover\:text-slate-800:hover {
  color: #1e293b !important;
}

/* Group hover */
.group:hover .group-hover\:text-blue-600 {
  color: #2563eb !important;
}

.group:hover .group-hover\:scale-110 {
  transform: scale(1.1) !important;
}

.group:hover .group-hover\:opacity-100 {
  opacity: 1 !important;
}

/* Cursor */
.cursor-pointer {
  cursor: pointer !important;
}

/* Animations */
.animate-pulse {
  animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

.animate-bounce {
  animation: bounce 1s infinite;
}

@keyframes pulse {

  0%,
  100% {
    opacity: 1;
  }

  50% {
    opacity: .5;
  }
}

@keyframes bounce {

  0%,
  100% {
    transform: translateY(-25%);
    animation-timing-function: cubic-bezier(0.8, 0, 1, 1);
  }

  50% {
    transform: translateY(0);
    animation-timing-function: cubic-bezier(0, 0, 0.2, 1);
  }
}

/* Antialiased text */
.antialiased {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Special text styles with gradient */
.text-\[10px\] {
  font-size: 10px !important;
}

.text-\[11px\] {
  font-size: 11px !important;
}

/* フロントページ特有のスタイル強化 */
.front-page-action-buttons {
  display: grid !important;
  grid-template-columns: repeat(3, 1fr) !important;
  gap: 1.5rem !important;
}

@media (max-width: 767px) {

  .front-page-action-buttons,
  .grid-cols-1.md\:grid-cols-3 {
    grid-template-columns: 1fr !important;
  }
}

/* ===================================
   追加のTailwind Fallback CSS
   archive.php / single.php用
   =================================== */

/* 12カラムグリッドシステム */
@media (min-width: 1024px) {
  .lg\:grid-cols-12 {
    grid-template-columns: repeat(12, minmax(0, 1fr)) !important;
  }

  .lg\:col-span-4 {
    grid-column: span 4 / span 4 !important;
  }

  .lg\:col-span-8 {
    grid-column: span 8 / span 8 !important;
  }
}

/* 追加のスペーシング */
.space-x-2>*+* {
  margin-left: 0.5rem !important;
}

.space-y-3>*+* {
  margin-top: 0.75rem !important;
}

.space-y-4>*+* {
  margin-top: 1rem !important;
}

.space-y-8>*+* {
  margin-top: 2rem !important;
}

/* 高さ関連 */
.min-h-screen {
  min-height: 100vh !important;
}

.h-1 {
  height: 0.25rem !important;
}

.h-12 {
  height: 3rem !important;
}

.h-16 {
  height: 4rem !important;
}

.h-48 {
  height: 12rem !important;
}

.w-12 {
  width: 3rem !important;
}

.w-16 {
  width: 4rem !important;
}

.w-28 {
  width: 7rem !important;
}

/* Positioning */
.top-3 {
  top: 0.75rem !important;
}

.left-3 {
  left: 0.75rem !important;
}

.right-3 {
  right: 0.75rem !important;
}

.top-10 {
  top: 2.5rem !important;
}

.left-10 {
  left: 2.5rem !important;
}

.-right-10 {
  right: -2.5rem !important;
}

.-bottom-10 {
  bottom: -2.5rem !important;
}

.-right-20 {
  right: -5rem !important;
}

.-bottom-20 {
  bottom: -5rem !important;
}

.top-24 {
  top: 6rem !important;
}

.sticky {
  position: sticky !important;
}

/* 追加の色 */
.bg-orange-50 {
  background-color: #fff7ed !important;
}

.bg-orange-100 {
  background-color: #ffedd5 !important;
}

.bg-orange-400 {
  background-color: #fb923c !important;
}

.text-orange-500 {
  color: #f97316 !important;
}

.text-orange-600 {
  color: #ea580c !important;
}

.text-orange-700 {
  color: #c2410c !important;
}

.border-orange-100 {
  border-color: #ffedd5 !important;
}

.border-orange-300 {
  border-color: #fdba74 !important;
}

.hover\:border-orange-300:hover {
  border-color: #fdba74 !important;
}

.hover\:text-orange-600:hover {
  color: #ea580c !important;
}

.hover\:bg-orange-100:hover {
  background-color: #ffedd5 !important;
}

.bg-purple-50 {
  background-color: #faf5ff !important;
}

.bg-purple-400 {
  background-color: #c084fc !important;
}

.bg-purple-500 {
  background-color: #a855f7 !important;
}

.bg-purple-600 {
  background-color: #9333ea !important;
}

.bg-purple-700 {
  background-color: #7e22ce !important;
}

.text-purple-500 {
  color: #a855f7 !important;
}

.text-purple-600 {
  color: #9333ea !important;
}

.text-purple-700 {
  color: #7e22ce !important;
}

.border-purple-100 {
  border-color: #f3e8ff !important;
}

.border-purple-300 {
  border-color: #d8b4fe !important;
}

.hover\:border-purple-300:hover {
  border-color: #d8b4fe !important;
}

.hover\:text-purple-600:hover {
  color: #9333ea !important;
}

.hover\:text-purple-700:hover {
  color: #7e22ce !important;
}

.group:hover .group-hover\:text-purple-700 {
  color: #7e22ce !important;
}

.bg-indigo-50 {
  background-color: #eef2ff !important;
}

.bg-indigo-500 {
  background-color: #6366f1 !important;
}

.to-indigo-500 {
  --tw-gradient-to: #6366f1;
}

.from-indigo-500 {
  --tw-gradient-from: #6366f1;
  --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to, rgba(99, 102, 241, 0));
}

.bg-teal-500 {
  background-color: #14b8a6 !important;
}

.bg-cyan-500 {
  background-color: #06b6d4 !important;
}

.to-cyan-500 {
  --tw-gradient-to: #06b6d4;
}

.from-cyan-500 {
  --tw-gradient-from: #06b6d4;
  --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to, rgba(6, 182, 212, 0));
}

/* 追加のボーダー */
.border-t {
  border-top-width: 1px !important;
}

.border-t-0 {
  border-top-width: 0 !important;
}

.border-b {
  border-bottom-width: 1px !important;
}

/* ブラー効果 */
.blur-2xl {
  filter: blur(40px) !important;
}

.blur-3xl {
  filter: blur(64px) !important;
}

/* テキスト装飾 */
.drop-shadow-md {
  filter: drop-shadow(0 4px 3px rgba(0, 0, 0, 0.07)) drop-shadow(0 2px 2px rgba(0, 0, 0, 0.06)) !important;
}

/* 余白調整 */
.pt-3 {
  padding-top: 0.75rem !important;
}

.pt-6 {
  padding-top: 1.5rem !important;
}

.pt-12 {
  padding-top: 3rem !important;
}

.pb-12 {
  padding-bottom: 3rem !important;
}

/* フォント */
.font-serif {
  font-family: "Noto Serif JP", serif !important;
}

.font-sans {
  font-family: "Noto Sans JP", sans-serif !important;
}

/* 縦書き */
[style*="writing-mode: vertical-rl"] {
  writing-mode: vertical-rl !important;
}

[style*="text-orientation: upright"] {
  text-orientation: upright !important;
}

/* フレックス gap */
.md\:flex-row {
  flex-direction: row !important;
}

@media (min-width: 768px) {
  .md\:flex-row {
    flex-direction: row !important;
  }

  .md\:text-left {
    text-align: left !important;
  }

  .md\:w-1\/3 {
    width: 33.333333% !important;
  }

  .md\:h-full {
    height: 100% !important;
  }

  .md\:h-48 {
    height: 12rem !important;
  }

  .md\:w-32 {
    width: 8rem !important;
  }

  .md\:h-32 {
    height: 8rem !important;
  }

  .md\:h-8 {
    height: 2rem !important;
  }

  .md\:h-20 {
    height: 5rem !important;
  }

  .md\:w-28 {
    width: 7rem !important;
  }
}

/* ポインターイベント */
.pointer-events-none {
  pointer-events: none !important;
}

/* 追加のホバーエフェクト */
.hover\:shadow-lg:hover {
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05) !important;
}

.hover\:opacity-80:hover {
  opacity: 0.8 !important;
}

.hover\:opacity-90:hover {
  opacity: 0.9 !important;
}

.hover\:scale-110:hover {
  transform: scale(1.1) !important;
}

/* fill-current */
.fill-current {
  fill: currentColor !important;
}

.stroke-none {
  stroke: none !important;
}

/* グループホバー追加 */
.group:hover .group-hover\:bg-orange-50 {
  background-color: #fff7ed !important;
}

.group:hover .group-hover\:text-orange-400 {
  color: #fb923c !important;
}

.group:hover .group-hover\:text-orange-600 {
  color: #ea580c !important;
}

.group:hover .group-hover\:bg-purple-50 {
  background-color: #faf5ff !important;
}

.group:hover .group-hover\:text-purple-400 {
  color: #c084fc !important;
}

.group:hover .group-hover\:shadow-purple-200 {
  box-shadow: 0 4px 6px -1px rgba(192, 132, 252, 0.3) !important;
}

.group:hover .group-hover\:shadow-blue-200 {
  box-shadow: 0 4px 6px -1px rgba(147, 197, 253, 0.3) !important;
}

.group:hover .group-hover\:shadow-pink-200 {
  box-shadow: 0 4px 6px -1px rgba(249, 168, 212, 0.3) !important;
}

/* z-index */
.z-\[60\] {
  z-index: 60 !important;
}

/* 2カラムグリッド */
@media (min-width: 768px) {
  .md\:grid-cols-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}

/* 角丸追加 */
.rounded-b-md {
  border-bottom-left-radius: 0.375rem !important;
  border-bottom-right-radius: 0.375rem !important;
}

.rounded-br-lg {
  border-bottom-right-radius: 0.5rem !important;
}

/* スケール */
.scale-90 {
  transform: scale(0.9) !important;
}

.translate-y-2 {
  transform: translateY(0.5rem) !important;
}

.rotate-\[-5deg\] {
  transform: rotate(-5deg) !important;
}

/* 最大幅 */
.max-w-6xl {
  max-width: 72rem !important;
}

/* アーカイブ・記事ページ固有のレイアウト修正 */
.archive main,
.single main,
.page main {
  padding-top: 6rem !important;
  /* ヘッダーとの重なり防止 */
}

/* 画像のオブジェクトフィット */
.object-cover {
  object-fit: cover !important;
}

/* ===================================
   会話UI (parse_manzai_content) 用フォールバック
   =================================== */

/* flex方向 */
.flex-row-reverse {
  flex-direction: row-reverse !important;
}

/* justify */
.justify-start {
  justify-content: flex-start !important;
}

.justify-end {
  justify-content: flex-end !important;
}

/* 角丸の部分指定 */
.rounded-tl-none {
  border-top-left-radius: 0 !important;
}

.rounded-tr-none {
  border-top-right-radius: 0 !important;
}

.rounded-bl-none {
  border-bottom-left-radius: 0 !important;
}

.rounded-br-none {
  border-bottom-right-radius: 0 !important;
}

/* 最大幅パーセンテージ */
.max-w-\[85\%\] {
  max-width: 85% !important;
}

.max-w-\[70\%\] {
  max-width: 70% !important;
}

.max-w-\[75\%\] {
  max-width: 75% !important;
}

@media (min-width: 768px) {
  .md\:max-w-\[70\%\] {
    max-width: 70% !important;
  }

  .md\:max-w-\[75\%\] {
    max-width: 75% !important;
  }
}

/* 最小高さ */
.min-h-\[500px\] {
  min-height: 500px !important;
}

/* LINE風背景色 */
.bg-\[\#e6e6e6\] {
  background-color: #e6e6e6 !important;
}

.bg-\[\#8de055\] {
  background-color: #8de055 !important;
}

/* パディング */
.px-5 {
  padding-left: 1.25rem !important;
  padding-right: 1.25rem !important;
}

.py-2\.5 {
  padding-top: 0.625rem !important;
  padding-bottom: 0.625rem !important;
}

.py-4 {
  padding-top: 1rem !important;
  padding-bottom: 1rem !important;
}

.p-5 {
  padding: 1.25rem !important;
}

@media (min-width: 768px) {
  .md\:p-10 {
    padding: 2.5rem !important;
  }
}

/* マージン */
.my-3 {
  margin-top: 0.75rem !important;
  margin-bottom: 0.75rem !important;
}

.my-4 {
  margin-top: 1rem !important;
  margin-bottom: 1rem !important;
}

/* テキストサイズ */
@media (min-width: 768px) {
  .md\:text-lg {
    font-size: 1.125rem !important;
    line-height: 1.75rem !important;
  }

  .md\:text-base {
    font-size: 1rem !important;
    line-height: 1.5rem !important;
  }
}

/* 追加の色 */
.text-indigo-100 {
  color: #e0e7ff !important;
}

.bg-indigo-100 {
  background-color: #e0e7ff !important;
}

.border-indigo-200 {
  border-color: #c7d2fe !important;
}

.text-purple-800 {
  color: #6b21a8 !important;
}

.border-yellow-200 {
  border-color: #fef08a !important;
}

.text-yellow-800 {
  color: #854d0e !important;
}

/* backdrop blur */
.backdrop-blur {
  -webkit-backdrop-filter: blur(8px) !important;
  backdrop-filter: blur(8px) !important;
}

/* gap */
.gap-3 {
  gap: 0.75rem !important;
}

/* space-y-5 */
.space-y-5>*+* {
  margin-top: 1.25rem !important;
}

/* 追加のテキスト色 */
.text-base {
  font-size: 1rem !important;
  line-height: 1.5rem !important;
}

/* body class ベースのスタイル強化 */
body.single main,
body.archive main,
body.page main {
  padding-top: 6rem !important;
}

/* 固定ヘッダー下のコンテンツ調整 */
body.single .pt-24,
body.archive .pt-24,
body.page .pt-24 {
  padding-top: 6rem !important;
}

/* Cocoon親テーマとの競合解決 */
body .content,
body .main,
body #content,
body #main {
  width: 100% !important;
  max-width: 100% !important;
  float: none !important;
}

/* サイドバーの表示確保 */
body .sidebar,
body aside {
  display: block !important;
}

/* グリッドレイアウトの強制適用 */
.grid.lg\:grid-cols-12 {
  display: grid !important;
}

@media (min-width: 1024px) {
  .grid.lg\:grid-cols-12 {
    grid-template-columns: repeat(12, minmax(0, 1fr)) !important;
  }

  .grid.lg\:grid-cols-12>.lg\:col-span-8 {
    grid-column: span 8 / span 8 !important;
  }

  .grid.lg\:grid-cols-12>.lg\:col-span-4 {
    grid-column: span 4 / span 4 !important;
  }
}

/* モバイルでのグリッド調整 */
@media (max-width: 1023px) {
  .grid.lg\:grid-cols-12 {
    display: flex !important;
    flex-direction: column !important;
  }

  .grid.lg\:grid-cols-12>.lg\:col-span-8,
  .grid.lg\:grid-cols-12>.lg\:col-span-4 {
    width: 100% !important;
  }
}