/* ====================================================================================================
   全体　Start⚪︎⚪︎⚪︎⚪︎⚪︎⚪︎
==================================================================================================== */

/* 全体の横幅 */
#main {
  width: 100% !important;
  max-width: 100% !important;
  flex: 1 1 auto; /* Flex 使ってる場合にも広がるように */
}

/* サイドバー削除 */
.no-champ-sidebar #sidebar,
.no-champ-sidebar .sidebar {
  display: none;
}


  /* ==============================================================
     見出し Start⚪︎⚪︎⚪︎⚪︎⚪︎⚪︎
  ============================================================== */

h2 {
  background: #f0f8ff;
  padding: 20px 24px;
  margin: 28px 0 16px;
  border-left: 16px solid #8abfe6;
  font-size: 24px;
  font-weight: 600;
  line-height: 1.4;
}

  /* ==============================================================
     見出し End⚫︎⚫︎⚫︎⚫︎⚫︎⚫︎
  ============================================================== */



/* ====================================================================================================
   全体　End⚫︎⚫︎⚫︎⚫︎⚫︎⚫︎
==================================================================================================== */


/* ====================================================================================================
   フッター　Start⚪︎⚪︎⚪︎⚪︎⚪︎⚪︎
==================================================================================================== */

/* Cocoon標準モバイルメニュー非表示 */
.mobile-menu-buttons {
  height: 0;
}

.pokemon-footer-menu {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background: #f0f8ff;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  text-align: center;
  border-top: 1px solid #ddd;
  z-index: 9999;
}

.pokemon-footer-item {
  padding: 8px 0 5px;
  font-family: 'Noto Sans JP', sans-serif;
  color: #444;
  text-decoration: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  font-size: 11px;
  line-height: 1.2;
}

.pokemon-footer-item i {
  font-size: 20px;
  margin-bottom: 3px;
}


/* ====================================================================================================
   フッター　End⚫︎⚫︎⚫︎⚫︎⚫︎⚫︎
==================================================================================================== */



/* ====================================================================================================
   覚える技　Start⚪︎⚪︎⚪︎⚪︎⚪︎⚪︎
==================================================================================================== */


/* =====================================================================
   技一覧テーブル
===================================================================== */

.waza-table-block {
  width: 100%;
  overflow-x: auto;
}

.waza-table {
  border-collapse: collapse;
  width: 100%;
}

.waza-table tr:nth-child(odd) td {
  background-color: #E0FFFF;
  padding: 5px 8px;
}

.waza-table tr:nth-child(even) td {
  padding: 5px 12px;
}

@media (max-width: 768px) {
  .waza-table {
    width: 600px;
  }
}


/* =====================================================================
   タイプタブ
===================================================================== */

.tab-list {
  display: flex;
  flex-wrap: wrap;
  list-style: none;
  margin: 0;
  padding: 0;
}

.tab-list li {
  cursor: pointer;
  margin-bottom: 3px;
}

.tab-list li img {
  display: block;
  width: 35px;
  border: 1px solid #333;
  border-radius: 3px;
  padding: 1px;
}

.tab-list li.active img {
  border: none;
  padding: 0;
  opacity: 0.5;
}


/* =====================================================================
   レイアウト
===================================================================== */

@media (min-width: 768px) {
  .type18 {
    display: flex;
  }

  .type18 li {
    flex: 1;
  }
}

@media (max-width: 768px) {
  .type18 {
    display: flex;
    flex-wrap: wrap;
  }

  .type18 li {
    width: calc(100% / 9);
  }
}



  /* ==============================================================
     技分類ボタンデザイン Start⚪︎⚪︎⚪︎⚪︎⚪︎⚪︎
  ============================================================== */

/* bunrui フィルタ全体 */
.bunrui-filter {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 12px;
}

/* checkbox 非表示 */
.bunrui-filter input[type="checkbox"] {
  display: none;
}

/* フィルタチップ */
.bunrui-filter label {
  position: relative;
  display: inline-flex;
  align-items: center;
  padding: 8px 14px 8px 26px; /* 左だけ記号分広げる */
  border: 1px solid #ddd;
  border-radius: 5px;
  background: #fafafa;
  color: #444;
  font-size: 14px;
  line-height: 1;
  cursor: pointer;
  user-select: none;
  transition:
    background-color 0.2s ease,
    border-color 0.2s ease,
    color 0.2s ease;
}

/* hover（主張しすぎない） */
.bunrui-filter label:hover {
  background: #f0f0f0;
}

/* 未選択：薄い ○ */
.bunrui-filter label::before {
  content: "○";
  position: absolute;
  left: 10px;
  font-size: 12px;
  color: #bbb;
}

/* ON状態 */
.bunrui-filter label:has(input[type="checkbox"]:checked) {
  background: #e8f5e9;
  border-color: #4caf50;
  color: #2e7d32;
  font-weight: 600;
}

/* 選択中：✓ に切り替え */
.bunrui-filter label:has(input[type="checkbox"]:checked)::before {
  content: "✓";
  color: #2e7d32;
}

  /* ==============================================================
     技分類ボタンデザイン End⚫︎⚫︎⚫︎⚫︎⚫︎⚫︎
  ============================================================== */


/* ====================================================================================================
   覚える技　End⚫︎⚫︎⚫︎⚫︎⚫︎⚫︎
==================================================================================================== */
