@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
*/

/************************************
** 子テーマ用のスタイルを書く
************************************/
/*必要ならばここにコードを書く*/

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

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

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

/* カテゴリーラベル非表示 */
.entry-card .cat-label,
.related-entry-card .cat-label{
  display: none;
}

/* 動画の全画面表示 */
.video-container {
  max-width: none;
}

/* 2023/08/09 アピールエリアを追加 */

/* アピールエリア全体を基準にする */
#appeal {
  position: relative;
}

/* ボタン */
.appeal-button{
  background-color: transparent !important; /* ボタンの背景色無効化 */
  font-weight: 700; /* 太字に */
  color: #fff !important; /* ボタン部分文字を白に */
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.45); /* 視認性向上 */
  line-height: 1.4;
  letter-spacing: 0.03em;
  display: inline-block;

  /* 文字を大きく */
  font-size: 1.22em;
}

/* アイコンを追加 */
.appeal-button:before{
  display: block;
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  content: "\f103"; /* アイコン指定 */
  font-size: 2.1em;
  color: #fff;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.45);
  margin-bottom: 8px;
  line-height: 1;
  animation: move 1s infinite alternate ease-in-out;
}

@keyframes move{
  from {
    transform: translateY(0);
  }
  to {
    transform: translateY(8px);
  }
}

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

/* アピールエリア内で位置固定 */
#appeal .appeal-content {
  position: absolute !important;

  /* 画像内の固定位置に配置 */
  top: 73%;
  left: 48%;
  transform: translate(-50%, -50%);

  text-align: center;
  width: auto;
  z-index: 10;

  /* ブルー系半透明背景 */
  background: rgba(20, 90, 160, 0.36) !important;

  display: inline-block;
  min-width: 96px;
  padding: 18px 16px 14px;

  border-radius: 24px;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.14);
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
  border: 1px solid rgba(255, 255, 255, 0.22);
}

/* ギャラリーアイコン用キャプションのカスタマイズ 2023/08/17 */
.wp-caption .wp-caption-text,
.gallery .gallery-caption {
  font-size: 0.8em;
}

/*カレンダー*/
.tribe-events .tribe-events-calendar-month__header-column {
  /*padding-bottom: var(--tec-spacer-3);
  width: var(--tec-grid-width-1-of-7);*/
  padding: 5px;
  width: 100%;
}

.tribe-events-calendar-month th .tribe-events-calendar-month__header-column-title {
  color: #000;
  text-align: center !important;
}

.tribe-events-calendar-month th:nth-of-type(6) {
  text-align: center;
  background: #39afd3;
}

.tribe-events-calendar-month th:nth-of-type(7) {
  text-align: center;
  background: #db3b4b;
}

.tribe-events-calendar-month th:nth-of-type(6) .tribe-events-calendar-month__header-column-title,
.tribe-events-calendar-month th:nth-of-type(7) .tribe-events-calendar-month__header-column-title {
  color: #fff !important;
  font-weight: bold;
}

/*メイン画像 PCとSP切り替え*/
/* ===== PC用 ===== */
.appeal {
  background-image: url("http://sanseito-kumamoto.jp/wp-content/uploads/2026/09/20260916_PC.webp");
  background-position: top center;
  background-size: contain; /* PCはcontain */
  background-repeat: no-repeat;
  width: 100%;
  min-height: 450px;
}

/* ===== スマホ用 ===== */
@media screen and (max-width: 767px) {
  .appeal {
    background-image: url("http://sanseito-kumamoto.jp/wp-content/uploads/2026/09/20260916_SP.webp");
    background-size: cover; /* スマホはcover */
    min-height: 60vh;
  }
}

/* =========================
   2026.08.01 リンク一覧ページ用CSS
   ACFで作成したカテゴリ別リンク表の装飾
   ========================= */

.link-list-page .container {
  max-width: 1000px;
  margin: 0 auto;
  padding: 30px 20px;
}

/* ページタイトル */
.link-list-title {
  font-size: 2rem;
  margin-bottom: 24px;
}

/* 一覧テーブル全体 */
.link-list-table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
}

/* テーブルの見出し・本文セル */
.link-list-table th,
.link-list-table td {
  border: 1px solid #d7e3f4;
  padding: 12px 16px;
  text-align: left;
  vertical-align: top;
}

/* ヘッダー行 */
.link-list-table th {
  background: #8db4f2;
  color: #fff;
}

/* 偶数行の背景色 */
.link-list-table tbody tr:nth-child(even) {
  background: #eef4ff;
}

/* リンク文字色 */
.link-list-table a {
  color: #1a73e8;
  text-decoration: underline;
}

/* =========================
   リンク一覧テーブルの列幅調整
   サイト名・説明・リンクのバランスを調整
   ========================= */

.link-list-table th:nth-child(1),
.link-list-table td:nth-child(1) {
  width: 35%;
}

.link-list-table th:nth-child(2),
.link-list-table td:nth-child(2) {
  width: 45%;
}

.link-list-table th:nth-child(3),
.link-list-table td:nth-child(3) {
  width: 20%;
  white-space: nowrap;
  text-align: center;
}

/* 日本語の不自然な改行を抑える */
.link-list-table td,
.link-list-table th {
  word-break: normal;
  overflow-wrap: break-word;
}

/* =========================
   トップページ：カテゴリ別サマリー
   災害時リンク一覧の要約表示用
   ========================= */

.link-summary-section {
  margin: 40px 0;
}

.link-summary-title {
  font-size: 1.4rem;
  margin-bottom: 20px;
  border-bottom: 2px solid #8db4f2;
  padding-bottom: 8px;
}

.link-summary-table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
}

.link-summary-table th,
.link-summary-table td {
  border: 1px solid #d7e3f4;
  padding: 12px 16px;
  text-align: left;
  vertical-align: middle;
}

.link-summary-table th {
  background: #8db4f2;
  color: #fff;
}

/* 行政・公的機関 公式SNS速報 のみ背景色を付ける */
.link-summary-table tbody tr.is-highlight {
  background: #eef4ff;
}

.link-summary-table th:nth-child(2),
.link-summary-table td:nth-child(2),
.link-summary-table th:nth-child(3),
.link-summary-table td:nth-child(3) {
  text-align: center;
  white-space: nowrap;
}

.link-summary-table a {
  color: #1a73e8;
  text-decoration: underline;
}

/* =========================
   災害時リンク一覧 上部メッセージ
   ========================= */
.link-summary-message {
  margin: 0 0 20px;
  line-height: 1.9;
}

.link-summary-message p {
  margin: 0 0 1em;
}

/* =========================
   最上部カテゴリ行の強調
   行政・公的機関 公式SNS速報
   ========================= */

/* 行全体の背景を少し強調 */
.link-summary-table tbody tr.is-highlight {
  background: #e3efff;
}

/* カテゴリ名を強調 */
.link-summary-table tbody tr.is-highlight td:first-child {
  font-weight: 700;
  color: #1f4fa3;
  border-left: 4px solid #4a7edb;
}

/* 件数も少し強調 */
.link-summary-table tbody tr.is-highlight td:nth-child(2) {
  font-weight: 700;
  color: #1f4fa3;
}

/* リンクも少し強調 */
.link-summary-table tbody tr.is-highlight td:nth-child(3) a {
  font-weight: 700;
}

/* 熊本県版 進捗可視化ページ 画面表示 2026/09/02 */
/* =========================================
   Kumamoto Progress Page
========================================= */

.kumamoto-progress-page {
  padding: 32px 16px 48px;
}

.kp-container {
  max-width: 1100px;
  margin: 0 auto;
}

.kp-hero {
  margin-bottom: 32px;
  padding: 24px;
  background: #fff7f0;
  border: 1px solid #ffd7b8;
  border-radius: 12px;
}

.kp-eyebrow {
  margin: 0 0 8px;
  font-size: 14px;
  font-weight: 700;
  color: #ff6b00;
}

.kp-title {
  margin: 0 0 12px;
  font-size: 32px;
  line-height: 1.3;
}

.kp-description {
  margin: 0 0 8px;
  color: #444;
}

.kp-updated {
  margin: 0;
  font-size: 14px;
  color: #666;
}

.kp-error {
  margin-bottom: 24px;
  padding: 16px;
  background: #fff1f1;
  border: 1px solid #f1b5b5;
  color: #b00020;
  border-radius: 8px;
}

.kp-section-title {
  margin: 0 0 16px;
  font-size: 22px;
  line-height: 1.4;
}

.kp-priority-section,
.kp-summary-section,
.kp-group-block,
.kp-notes-section {
  margin-bottom: 32px;
}

/* 強化地区 */
.kp-priority-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 12px;
}

.kp-priority-card {
  padding: 16px 12px;
  background: #fff;
  border: 2px solid #ff7a1a;
  border-radius: 10px;
  text-align: center;
}

.kp-priority-card.is-recruiting {
  background: #fff5ec;
  border-color: #ffc38f;
}

.kp-priority-card.is-fixed {
  background: #eef9f1;
  border-color: #9ed3af;
}

.kp-priority-card.is-adjusting {
  background: #fff9e8;
  border-color: #e7d28a;
}

.kp-priority-card.is-excluded {
  background: #f2f2f2;
  border-color: #cccccc;
  color: #666;
}

.kp-priority-month {
  font-size: 14px;
  font-weight: 700;
  color: #ff6b00;
  margin-bottom: 6px;
}

.kp-priority-name {
  font-size: 18px;
  font-weight: 700;
  line-height: 1.4;
}

.kp-priority-status {
  margin-top: 8px;
}

/* 全体サマリー */
.kp-summary-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 12px;
  margin-bottom: 16px;
}

.kp-summary-card {
  padding: 16px;
  background: #fff;
  border: 1px solid #e7e7e7;
  border-radius: 10px;
  text-align: center;
}

.kp-summary-label {
  font-size: 13px;
  color: #666;
  margin-bottom: 8px;
}

.kp-summary-value {
  font-size: 32px;
  font-weight: 700;
  line-height: 1;
  color: #222;
}

.kp-summary-value.is-fixed {
  color: #1b8f45;
}

.kp-summary-value.is-recruiting {
  color: #ff6b00;
}

.kp-progressbar {
  width: 100%;
  height: 14px;
  background: #ececec;
  border-radius: 999px;
  overflow: hidden;
}

.kp-progressbar-fill {
  height: 100%;
  background: linear-gradient(90deg, #ff8c33 0%, #ff6b00 100%);
  border-radius: 999px;
}

/* グループ */
.kp-group-header {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 16px;
  margin-bottom: 12px;
  flex-wrap: wrap;
}

.kp-group-summary-mini {
  margin: 0 0 16px;
  padding: 12px 16px 14px;
  background: #fff;
  border: 1px solid #ececec;
  border-radius: 10px;
}

.kp-group-summary-mini-row {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  align-items: center;
  margin-bottom: 10px;
  font-size: 14px;
  color: #444;
}

.kp-mini-item strong {
  font-size: 20px;
  line-height: 1;
  margin-left: 4px;
  color: #222;
}

.kp-mini-item strong.is-fixed {
  color: #1b8f45;
}

.kp-mini-item strong.is-recruiting {
  color: #ff6b00;
}

.kp-group-progressbar {
  width: 100%;
  height: 10px;
  background: #ececec;
  border-radius: 999px;
  overflow: hidden;
}

.kp-group-progressbar-fill {
  height: 100%;
  background: linear-gradient(90deg, #ff8c33 0%, #ff6b00 100%);
  border-radius: 999px;
}

/* カード一覧：固定幅で左詰め */
/* カード一覧 */
.kp-card-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  align-items: start;
}

/* 県議だけ横長1カラム */
.kp-group-block.is-pref-assembly .kp-card-grid {
  grid-template-columns: 1fr;
}

.kp-card {
  padding: 14px;
  border-radius: 10px;
  border: 1px solid #e5e5e5;
  background: #fff;
  box-sizing: border-box;
  width: 100%;
  max-width: none;
  margin: 0;
}

.kp-card.is-priority {
  border-width: 2px;
}

.kp-card.is-recruiting {
  background: #fff5ec;
  border-color: #ffc38f;
}

.kp-card.is-fixed {
  background: #eef9f1;
  border-color: #9ed3af;
}

.kp-card.is-adjusting {
  background: #fff9e8;
  border-color: #e7d28a;
}

.kp-card.is-excluded {
  background: #f2f2f2;
  border-color: #cccccc;
  color: #666;
}

.kp-card-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 8px;
  margin-bottom: 10px;
}

.kp-card-title {
  margin: 0;
  font-size: 18px;
  line-height: 1.4;
}

.kp-block-name {
  margin-bottom: 8px;
  font-size: 12px;
  font-weight: 700;
  color: #666;
}

.kp-card-meta {
  display: flex;
  gap: 8px;
  align-items: center;
  flex-wrap: wrap;
  margin-bottom: 8px;
}

.kp-month {
  font-size: 12px;
  color: #666;
}

.kp-badge {
  display: inline-block;
  padding: 4px 8px;
  font-size: 12px;
  line-height: 1.2;
  border-radius: 999px;
  font-weight: 700;
}

.kp-badge-status {
  background: rgba(0,0,0,0.06);
  color: #333;
}

.kp-badge-priority {
  background: #ff6b00;
  color: #fff;
  white-space: nowrap;
}

.kp-note {
  margin: 8px 0 0;
  font-size: 13px;
  color: #555;
}

/* 候補予定者 */
.kp-candidates {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px dashed rgba(0,0,0,0.12);
}

.kp-candidates-label {
  display: block;
  margin: 0 0 10px;
  font-size: 13px;
  font-weight: 700;
  color: #444;
  line-height: 1.4;
}

.kp-candidates-list {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: flex-start;
  margin: 0;
  padding: 0;
  list-style: none;
}

.kp-candidate-item {
  margin: 0;
  padding: 0;
  list-style: none;
}

.kp-candidate-link,
.kp-candidate-link.no-link {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  width: 72px;
  margin: 0;
  padding: 0;
  text-decoration: none;
  text-align: center;
  color: #0056b3;
  border: none;
  outline: none;
  box-shadow: none;
  background: transparent;
}

.kp-candidate-link.no-link {
  color: #222;
}

.kp-candidate-link:hover {
  opacity: 0.85;
}

.kp-candidate-thumb {
  display: block;
  width: 48px;
  height: 48px;
  margin: 0 0 8px;
  border: none;
  border-radius: 50%;
  object-fit: cover;
  object-position: 50% 20%;
  background: #f5f5f5;
  box-shadow: none;
}

.kp-candidate-name {
  display: block;
  font-size: 12px;
  line-height: 1.4;
  text-align: center;
  white-space: nowrap;
  color: inherit;
}

/* 県議だけ少しリッチ化 */
.kp-group-block.is-pref-assembly .kp-card {
  background: linear-gradient(180deg, #fffaf0 0%, #fffdf7 100%);
  border: 1px solid #f0c66a;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);
}

.kp-group-block.is-pref-assembly .kp-card:hover {
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
  transition: box-shadow 0.2s ease;
}

.kp-group-block.is-pref-assembly .kp-candidates {
  margin-top: 18px;
}

.kp-group-block.is-pref-assembly .kp-candidates-label {
  font-size: 14px;
  font-weight: 700;
  color: #222;
  margin-bottom: 14px;
}

.kp-group-block.is-pref-assembly .kp-candidates-list {
  gap: 20px;
}

.kp-group-block.is-pref-assembly .kp-candidate-link,
.kp-group-block.is-pref-assembly .kp-candidate-link.no-link {
  width: 82px;
  padding: 4px 2px;
  border-radius: 10px;
  transition: background 0.2s ease, transform 0.2s ease, opacity 0.2s ease;
}

.kp-group-block.is-pref-assembly .kp-candidate-link:hover {
  background: rgba(255, 153, 0, 0.08);
  transform: translateY(-2px);
  opacity: 1;
}

.kp-group-block.is-pref-assembly .kp-candidate-thumb {
  width: 56px;
  height: 56px;
  margin-bottom: 10px;
  border: none;
  box-shadow: none;
}

.kp-group-block.is-pref-assembly .kp-candidate-name {
  font-size: 12px;
  font-weight: 600;
  color: #0b57b7;
  letter-spacing: 0.02em;
}

.kp-group-block.is-pref-assembly .kp-card-title {
  font-size: 18px;
  font-weight: 700;
  color: #222;
}

.kp-group-block.is-pref-assembly .kp-note {
  color: #555;
}

/* 説明会 */
.kp-events-section {
  margin: 40px 0 32px;
}

.kp-events-section-top {
  margin-bottom: 48px;
}

.kp-events-section-top .kp-events-hero {
  margin-bottom: 24px;
}

.kp-events-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.kp-event-card {
  background: #fff;
  border: 1px solid #ececec;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.04);
}

.kp-event-link {
  display: block;
  color: inherit;
  text-decoration: none;
  height: 100%;
}

.kp-event-link:hover .kp-event-title,
.kp-event-link:hover .kp-event-more {
  color: #ff6b00;
}

.kp-event-image-wrap {
  width: 100%;
  background: #f5f5f5;
  padding: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 220px;
  overflow: hidden;
}

.kp-event-image {
  width: 100%;
  height: auto;
  max-height: 320px;
  object-fit: contain;
  display: block;
}

.kp-event-content {
  padding: 16px;
}

.kp-event-date {
  margin-bottom: 8px;
  font-size: 13px;
  font-weight: 700;
  color: #ff6b00;
}

.kp-event-title {
  margin: 0 0 10px;
  font-size: 20px;
  line-height: 1.5;
}

.kp-event-excerpt {
  font-size: 14px;
  line-height: 1.8;
  color: #555;
  margin-bottom: 12px;
}

.kp-event-more {
  font-weight: 700;
  color: #333;
}

/* 注記 */
.kp-notes-box {
  padding: 16px;
  background: #fffaf4;
  border: 1px solid #ffd7b8;
  border-radius: 10px;
}

.kp-notes-box p {
  margin: 0 0 8px;
}

.kp-notes-box p:last-child {
  margin-bottom: 0;
}

/* レスポンシブ */
@media (max-width: 1024px) {
  .kp-card-grid .kp-card {
    flex: 0 0 calc((100% - 12px) / 2);
    width: calc((100% - 12px) / 2);
    max-width: calc((100% - 12px) / 2);
  }

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

@media (max-width: 767px) {
  .kp-title {
    font-size: 26px;
  }

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

  .kp-card-grid .kp-card {
    flex: 0 0 100%;
    width: 100%;
    max-width: 100%;
  }

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

  .kp-group-summary-mini-row {
    gap: 12px;
    font-size: 13px;
  }

  .kp-mini-item {
    width: calc(50% - 6px);
  }

  .kp-mini-item strong {
    font-size: 18px;
  }

  .kp-events-grid {
    grid-template-columns: 1fr;
  }

  .kp-event-title {
    font-size: 18px;
  }

  .kp-event-content {
    padding: 14px;
  }

  .kp-candidates-list {
    gap: 14px;
  }

  .kp-candidate-link,
  .kp-candidate-link.no-link {
    width: 68px;
  }

  .kp-candidate-thumb {
    width: 44px;
    height: 44px;
  }

  .kp-candidate-name {
    font-size: 11px;
  }

  .kp-group-block.is-pref-assembly .kp-candidates-list {
    gap: 16px;
  }

  .kp-group-block.is-pref-assembly .kp-candidate-link,
  .kp-group-block.is-pref-assembly .kp-candidate-link.no-link {
    width: 72px;
  }

  .kp-group-block.is-pref-assembly .kp-candidate-thumb {
    width: 50px;
    height: 50px;
  }

  .kp-group-block.is-pref-assembly .kp-candidate-name {
    font-size: 11px;
  }
}

@media (max-width: 1024px) {
  .kp-card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .kp-group-block.is-pref-assembly .kp-card-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 767px) {
  .kp-card-grid {
    grid-template-columns: 1fr;
  }

  .kp-group-block.is-pref-assembly .kp-card-grid {
    grid-template-columns: 1fr;
  }
}

/* =========================================
   熊本進捗ページ：県議3カラム表示 + 確定色調整
========================================= */
.kumamoto-progress-page .kp-group-block.is-pref-assembly .kp-card-grid.kp-card-grid-candidates,
.kumamoto-progress-page .kp-group-block.is-pref-assembly .kp-card-grid.kp-card-grid-others {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  align-items: start;
}

.kumamoto-progress-page .kp-group-block.is-pref-assembly .kp-card-grid.kp-card-grid-candidates > .kp-card,
.kumamoto-progress-page .kp-group-block.is-pref-assembly .kp-card-grid.kp-card-grid-others > .kp-card {
  width: 100%;
  max-width: none;
  min-width: 0;
  margin: 0;
  flex: none;
  grid-column: auto;
  height: 100%;
}

/* 県議の確定カードを市議確定と同系色に */
.kumamoto-progress-page .kp-group-block.is-pref-assembly .kp-card.is-fixed {
  background: #eef9f1;
  border-color: #9ed3af;
}

.kumamoto-progress-page .kp-group-block.is-pref-assembly .kp-card.is-fixed .kp-card-title {
  color: #1f6b2d;
}

.kumamoto-progress-page .kp-group-block.is-pref-assembly .kp-card.is-fixed .kp-badge-status {
  background: #57b26a;
  border-color: #57b26a;
  color: #fff;
}

/* タブレット */
@media (max-width: 900px) {
  .kumamoto-progress-page .kp-group-block.is-pref-assembly .kp-card-grid.kp-card-grid-candidates,
  .kumamoto-progress-page .kp-group-block.is-pref-assembly .kp-card-grid.kp-card-grid-others {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* スマホ */
@media (max-width: 600px) {
  .kumamoto-progress-page .kp-group-block.is-pref-assembly .kp-card-grid.kp-card-grid-candidates,
  .kumamoto-progress-page .kp-group-block.is-pref-assembly .kp-card-grid.kp-card-grid-others {
    grid-template-columns: 1fr;
  }
}

/* 候補者あり段 → 候補者なし段 の間隔を全支部共通で調整 */
.kumamoto-progress-page .kp-card-grid.kp-card-grid-candidates {
  margin-bottom: 16px;
}

.kumamoto-progress-page .kp-card-grid.kp-card-grid-others {
  margin-top: 0;
}
/* =========================================
   強化地区：県議カードの見せ方を変更
========================================= */
.kumamoto-progress-page .kp-priority-card.is-pref-assembly-priority {
  position: relative;
  border-width: 2px;
}

.kumamoto-progress-page .kp-priority-card.is-pref-assembly-priority::before {
  content: "県議";
  position: absolute;
  top: 10px;
  left: 10px;
  display: inline-block;
  padding: 4px 8px;
  font-size: 11px;
  line-height: 1;
  font-weight: 700;
  color: #fff;
  background: #1f4fa3;
  border-radius: 999px;
}

.kumamoto-progress-page .kp-priority-card.is-pref-assembly-priority .kp-priority-month {
  margin-top: 18px;
}

/* 県議の確定カードは少し分かりやすく */
.kumamoto-progress-page .kp-priority-card.is-pref-assembly-priority.is-fixed {
  background: #eaf6ee;
  border-color: #67b77a;
}

/* 県議の募集中カード */
.kumamoto-progress-page .kp-priority-card.is-pref-assembly-priority.is-recruiting {
  background: #fff6ee;
  border-color: #ffb36b;
}

/* 県議の調整中カード */
.kumamoto-progress-page .kp-priority-card.is-pref-assembly-priority.is-adjusting {
  background: #fff9e8;
  border-color: #d8c36f;
}