/* /blog/ 一覧 — Union Tec の News 一覧の型(2026-11-03)
   行ごとに「サムネ | タイトル / 日付 ・カテゴリ」。カテゴリは「– ALL - タグ」のテキストタブ。
   マークアップと絞り込みの JS(js/cms.js の bento)はそのまま、見た目だけ置き換える */
:root { --ut-ink: #080808; --ut-ease: cubic-bezier(.2, .8, .2, 1); }
.body-blog .bento { display: block !important; gap: 0 !important; max-width: none; }
.body-blog .bento-col { display: contents; }
.body-blog .bento-cell { grid-column: auto !important; margin: 0 !important; padding: 0 !important; border-top: 1px solid var(--ut-ink); }
.body-blog .bento-cell:last-of-type, .body-blog .bento-col:last-child .bento-cell { border-bottom: 1px solid var(--ut-ink); }
.body-blog .bento-card { border: 0 !important; background: transparent !important; overflow: visible; }
.body-blog .bento-link {
  display: grid !important; grid-template-columns: minmax(200px, 28%) 1fr; column-gap: 40px; align-items: stretch;
  padding: 28px 0 !important; gap: 0 40px !important;
}
.body-blog .work-img { order: 0; aspect-ratio: 216 / 124; border: 0 !important; border-radius: 8px; overflow: hidden; background: #ececec; }
.body-blog .work-img img { width: 100%; height: 100% !important; aspect-ratio: auto !important; object-fit: cover !important; transition: transform .6s var(--ut-ease); }
.body-blog .work-title { order: 1; display: flex !important; flex-direction: column; justify-content: space-between; gap: 16px; padding: 0 !important; min-width: 0; }
.body-blog .work-title .text-block.is-tite {
  order: 0; margin: 0 !important; padding: 0 !important; font-size: 20px !important; font-weight: 500; line-height: 1.6;
  color: var(--ut-ink); background: none !important; -webkit-line-clamp: unset; transition: color .25s ease !important;
}
.body-blog .work-title .text-block.is-tite::before { display: none; }
.body-blog .horizon-div.tag-holder {
  order: 1; display: flex !important; justify-content: space-between; align-items: baseline;
  height: auto; padding: 0 !important; margin: 0 !important; border: 0 !important; background: none !important; color: var(--ut-ink);
}
.body-blog .horizon-div.tag-holder::before, .body-blog .horizon-div.tag-holder::after { content: none !important; }
.body-blog .tag-holder .text-block.category {
  order: 0; display: block; margin: 0; font-family: Montserrat, sans-serif; font-size: 13px !important; font-weight: 700; letter-spacing: .02em; color: var(--ut-ink);
}
.body-blog .tag-holder .button.mini { order: 1; position: relative; padding: 0 0 0 16px; border: 0; background: none; min-width: 0; min-height: 0; }
.body-blog .tag-holder .button.mini::before { content: ""; position: absolute; left: 0; top: 50%; width: 6px; height: 6px; border-radius: 50%; background: var(--ut-ink); transform: translateY(-50%); }
.body-blog .tag-holder .text-block.mini { font-family: inherit; font-size: 13px !important; font-weight: 500 !important; letter-spacing: 0 !important; text-transform: none !important; color: var(--ut-ink) !important; }
.body-blog .bento-link:hover .text-block.is-tite { color: #9a9a9a !important; }
.body-blog .bento-link:hover .work-img img { transform: scale(.96) !important; }
/* カテゴリのタブ: 丸いチップ → テキストのタブ */
.body-blog .horizon-div.search { gap: 8px 28px; flex-wrap: wrap; justify-content: flex-start; margin-left: 0 !important; }
.body-blog .button.cat {
  position: relative; min-height: 0; padding: 0 0 0 22px !important; border: 0 !important; border-radius: 0; background: none !important;
  font-size: 14px; color: #9a9a9a !important; transition: color .25s ease, padding-left .35s var(--ut-ease);
}
.body-blog .button.cat div { font-size: 14px !important; font-weight: 700; letter-spacing: 0; text-transform: none; color: inherit; }
.body-blog .button.cat::before { content: ""; position: absolute; left: 0; top: 50%; width: 8px; height: 1.5px; background: currentColor; transition: width .35s var(--ut-ease); }
.body-blog .button.cat:hover { color: var(--ut-ink) !important; }
.body-blog .button.cat.is-active { color: var(--ut-ink) !important; padding-left: 30px !important; }
.body-blog .button.cat.is-active::before { width: 18px; }
.body-blog .text-block.service:not(.describe) { display: none; }   /* 「カテゴリ検索」の小見出しは不要 */
@media (max-width: 767px) {
  .body-blog .bento-link { grid-template-columns: 120px 1fr; column-gap: 16px; padding: 18px 0 !important; gap: 0 16px !important; }
  .body-blog .work-title .text-block.is-tite { font-size: 15px !important; }
  .body-blog .work-title { gap: 10px; }
  .body-blog .button.cat, .body-blog .button.cat div { font-size: 13px !important; }
}
/* スマホ: サムネと文字の間隔 */
@media (max-width: 767px) { .body-blog .bento-link { column-gap: 18px; gap: 0 18px !important; } .body-blog .work-img { align-self: start; } }
