/* 施工実績：写真 */
.works-card img{
  width:100%;
  height:auto;
  border-radius:14px;
  aspect-ratio: 3 / 2;
  object-fit: cover;
}

/* タブ（chipのままボタン化） */
.gallery-tabs .tab{
  cursor:pointer;
  font:inherit;
  background:transparent;
}
.gallery-tabs .tab.is-active{
  border-color: rgba(14,165,233,.35);
  background: linear-gradient(180deg, rgba(14,165,233,.14), #fff);
}

/* 非表示用 */
.is-hidden{ display:none !important; }

/* Lightbox */
.lightbox{
  position:fixed;
  inset:0;
  background:rgba(0,0,0,.88);
  display:none;
  align-items:center;
  justify-content:center;
  z-index:9999;
  flex-direction:column;
}
.lightbox.show{display:flex}

.lightbox img{
  max-width:92%;
  max-height:82%;
  border-radius:14px;
  box-shadow:0 10px 40px rgba(0,0,0,.6);
}

.lightbox .caption{
  color:#fff;
  margin-top:14px;
  font-size:14px;
  text-align:center;
  padding:0 14px;
}

.lightbox .nav{
  position:absolute;
  top:50%;
  transform:translateY(-50%);
  font-size:42px;
  color:#fff;
  cursor:pointer;
  user-select:none;
  padding:10px;
}
.lightbox .prev{left:20px}
.lightbox .next{right:20px}

.lightbox .tag{
  position:absolute;
  top:18px;
  left:18px;
  padding:8px 12px;
  border-radius:999px;
  background:rgba(255,255,255,.92);
  border:1px solid rgba(255,255,255,.35);
  box-shadow:0 10px 30px rgba(0,0,0,.25);
  font-size:13px;
}

/* グループ別の色味（控えめ） */
.lightbox .tag.led{ color:#0a6ebd; }
.lightbox .tag.signage{ color:#7c3aed; }

@media (max-width:768px){
  .lightbox .nav{font-size:34px}
}
