/* =========================
   Works list (new_sekojirei)
   header と同じ横幅
========================= */

.hk-worksGrid{
  max-width: 1200px;      /* ヘッダーと揃える */
  margin-left: auto;
  margin-right: auto;
  margin-top: 100px;
  padding-bottom: 120px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

/* タブレット */
@media (max-width: 992px){
  .hk-worksGrid{
    grid-template-columns: repeat(2, 1fr);
  }
}

/* スマホ */
@media (max-width: 576px){
  .hk-worksGrid{
    grid-template-columns: 1fr;
  }
}

/* =========================
   Works card
========================= */

.hk-worksCard{
  min-width: 0;
  margin: 30px 0 0;
}

.hk-worksCard__link{
  display: block;
  text-decoration: none; /* 青下線を消す */
  color: inherit;
}

a.hk-worksCard__link:hover {
    opacity: 0.8;
}

/* 画像（横長） */
.hk-worksCard__thumb{
  aspect-ratio: 12 / 9;
  overflow: hidden;
  margin-bottom: 12px;
  background: #eee;
}

.hk-worksCard__img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ラベル（平屋） */
.hk-worksCard__tag{
  display: inline-block;
  padding: 6px 12px 2px;
  border: 1px solid rgba(0,0,0,.25);
  font-size: .9rem;
  line-height: 1;
  margin-bottom: 10px;
}

/* [ タイトル ーーーーーー ] */
.hk-worksCard__titleLine{
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 10px;
  font-size: 1.05rem;
  font-weight: 700;
}

.hk-worksCard__titleText{
  white-space: normal;
  overflow: hidden;
  text-overflow: ellipsis;
  min-width: 0;
}

.hk-worksCard__titleRail{
  flex: 1;
  height: 1px;
  background: rgba(0,0,0,.35);
}

/* 文章 */
.hk-worksCard__excerpt{
  margin: 0;
  opacity: .78;
  line-height: 1.8;
}

span.hk-worksCard__titleBracket {
    display: none;
}

p.image__box {
    width: 80%;
    margin: 50px auto;
}


/* 複数カテゴリを並べる（追加） */
.hk-worksCard__tags{
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 10px;
}

/* 既存タグの margin-bottom を打ち消す（追加） */
.hk-worksCard__tag{
  margin-bottom: 0;
}
