/* =========================
   Top intro + hub links
========================= */
/* Top intro: inview演出の影響を受けないように固定 */
#top-intro {
  opacity: 1 !important;
  transform: none !important;
}

/* =========================
   Top Prefecture Hub (#top-pref-hub)
   - TCD(GENSEN)の雰囲気に寄せた2カラム＋カード
========================= */

/* レイアウト（PCは2カラム、SPは1カラム） */
#top-pref-hub .top-pref-hub {
  display: grid;
  grid-template-columns: 360px 1fr;
  gap: 18px;
  align-items: start;
  margin-top: 12px;
}

@media screen and (max-width: 1024px) {
  #top-pref-hub .top-pref-hub {
    grid-template-columns: 1fr;
    gap: 14px;
  }
}

/* 左：アーカイブカード */
#top-pref-hub .top-pref-hub__archive {
  display: block;
  border-radius: 14px;
  overflow: hidden;
  text-decoration: none;
  background: #f7f7f7;
  border: 1px solid rgba(0, 0, 0, 0.06);
}

#top-pref-hub .top-pref-hub__img {
  display: block;
  position: relative;
  overflow: hidden;
}

#top-pref-hub .top-pref-hub__img img {
  display: block;
  width: 100%;
  height: auto;
}

/* ボタン風（TCDのarchive_link系に馴染む） */
#top-pref-hub .top-pref-hub__btn {
  display: block;
  padding: 12px 14px;
  font-size: 14px;
  line-height: 1.3;
  font-weight: 600;
  text-align: center;
  background: #222;
  color: #fff;
}

/* hover */
#top-pref-hub .top-pref-hub__archive:hover {
  filter: brightness(0.98);
}

#top-pref-hub .top-pref-hub__archive:hover .top-pref-hub__img img {
  transform: scale(1.03);
  transition: transform 0.35s ease;
}

/* 右：記事一覧（縦にカードが並ぶ） */
#top-pref-hub .top-hub-list {
  display: grid;
  gap: 10px;
}

/* 1アイテム（あなたのHTMLクラスに合わせた） */
#top-pref-hub .top-hub-item-link {
  display: grid;
  grid-template-columns: 128px 1fr;
  gap: 12px;
  align-items: center;
  padding: 12px;
  border-radius: 14px;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.06);
  text-decoration: none;
}

@media screen and (max-width: 480px) {
  #top-pref-hub .top-hub-item-link {
    grid-template-columns: 96px 1fr;
    padding: 10px;
    gap: 10px;
  }
}

#top-pref-hub .top-hub-item-img {
  display: block;
  overflow: hidden;
  border-radius: 12px;
  background: #f7f7f7;
}

#top-pref-hub .top-hub-item-img img {
  display: block;
  width: 100%;
  height: auto;
}

/* タイトル・抜粋 */
#top-pref-hub .top-hub-item-title {
  display: block;
  font-size: 15px;
  line-height: 1.45;
  font-weight: 600;
  color: #111;
  margin-bottom: 6px;
}

/* 2行で省略（Webkit系） */
#top-pref-hub .top-hub-item-title {
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

#top-pref-hub .top-hub-item-excerpt {
  display: block;
  font-size: 13px;
  line-height: 1.55;
  color: rgba(0, 0, 0, 0.68);
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

/* hover */
#top-pref-hub .top-hub-item-link:hover {
  background: #f9f9f9;
}

#top-pref-hub .top-hub-item-link:hover .top-hub-item-img img {
  transform: scale(1.03);
  transition: transform 0.35s ease;
}

/* cb_desc の改行brが多い時の見た目調整（任意） */
#top-pref-hub .cb_desc {
  margin-bottom: 8px;
}

/* no_post（保険） */
#top-pref-hub .no_post {
  margin: 0;
  padding: 14px;
  border-radius: 14px;
  background: #f7f7f7;
  border: 1px solid rgba(0, 0, 0, 0.06);
  font-size: 14px;
  color: rgba(0, 0, 0, 0.7);
}
