/* styles.css */
  body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
  }
  
  .img__card_box {
    display: flex;
    gap: 16px;
    justify-content: center;
    margin-top: 20px;
  }
  
  .img__card img {
    width: 200px;
    height: auto;
    cursor: pointer;
    border: 2px solid #ccc;
    border-radius: 8px;
    transition: transform 0.3s;
  }
  
  .img__card img:hover {
    transform: scale(1.05);
  }
  

  
/* ライトボックス全体 */
.lightbox {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8); /* 背景を暗く */
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1000;
  padding: 40px;
  box-sizing: border-box;
}

.lightbox.hidden {
  display: none;
}

/* ライトボックスの内容 */
.lightbox-content {
  position: relative;
  width: 50vmin; /* 正方形の枠 */
  background: #fff; /* 白背景 */
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
  display: flex;
  flex-direction: column; /* 縦方向に配置 */
  align-items: center; /* 中央揃え */
  justify-content: space-between;
}

/* 画像 */
.lightbox-content img {
  width: 100%;
  height: 80%; /* 上部80%を画像に */
  object-fit: cover;
  object-position: center;
}

/* 説明文 */
.lightbox-description {
  width: 100%;
  padding: 10px;
  text-align: center;
  font-size: 14px;
  color: #333;
  background: #f9f9f9;
  box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.1);
}

/* 閉じるボタン */
.close-btn {
  position: absolute;
  top: 10px;
  right: 10px;
  background: none;
  color: white;
  border: none;
  font-size: 24px;
  cursor: pointer;
  z-index: 10;
}
