/* ===============================
   works セクション全体
=============================== */
.works {
  padding: 80px 20px;
}

.works_inner {
  max-width: 1200px;
  margin: 0 auto;
}

/* ===============================
   カード型レイアウト（グリッド）
=============================== */
.works_inner {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}

/* ===============================
   「什器はこちら」リンク（グリッド全体の右端＝C-1の上に配置）
=============================== */
.works_topLink {
  grid-column: 1 / -1;
  text-align: right;
}

.works_topLink a {
  display: inline-block;
  font-size: 16px;
  font-weight: bold;
  color: #ccffff;
  text-decoration: none;
}

.works_topLink a:hover {
  text-decoration: underline;
}

/* タブレット（2列）・スマホ（1列）では右揃えのまま、グリッド全幅に追従 */

/* ===============================
   各事例カード
=============================== */
.work {
  background: #ffffff;
  color: #333;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 10px 25px rgba(0,0,0,0.1);
  transition: transform 0.3s ease;
}

.work:hover {
  transform: translateY(-5px);
}

/* ===============================
   画像
=============================== */
.work_img img {
  width: 100%;
  height: auto;
  display: block;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

/* ===============================
   テキスト
=============================== */
.work_text {
  padding-left: 20px;
  padding-top: 10px;
  padding-bottom: 10px;
  font-size: 12px;      /* 追加：小さく */
  line-height: 1.4;     /* 追加：行間を狭く */
}

.work_title {
  font-size: 18px;
  font-weight: bold;
  margin-bottom: 10px;
}

.work_desc {
  font-size: 14px;
  line-height: 1.6;
  color: #666;
}

/* ===============================
   カテゴリ文字色分け（SHOP/EVENT等）
=============================== */
.text-shop {
  color: #9c4f56;
  font-weight: bold;
}

.text-booth {
  color: #60a3a0;
  font-weight: bold;
}

.text-facility {
  color: #a9b42d;
  font-weight: bold;
}

/* ===============================
   タブレット（2列）
=============================== */
@media screen and (max-width: 1024px) {
  .works_inner {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ===============================
   スマホ（1列）
=============================== */
@media screen and (max-width: 768px) {
  .works_inner {
    grid-template-columns: 1fr;
  }
}