/* カルーセル */
.carousel-container {
  position: relative;
  overflow: hidden;
  margin-top: 10px;
  clear: both;
}

.carousel-track {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  scroll-behavior: smooth;
  padding: 10px 40px;
  -webkit-overflow-scrolling: touch;
}

.carousel-item img {
  width: 135px;
  height: 135px;
  object-fit: cover;
  border-radius: 4px;
}

/* ナビボタン */
.carousel-button {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255,255,255,0.8);
  border: none;
  font-size: 20px;
  cursor: pointer;
  padding: 4px 8px;
  z-index: 10;
}
.carousel-button.prev { left: 0; }
.carousel-button.next { right: 0; }

/* モーダル */
.img-modal {
  display: none;
  position: fixed;
  z-index: 100;
  left: 0; top: 0;
  width: 100%; height: 100%;
  background: rgba(0,0,0,0.8);
}
.img-modal-content {
  max-width: 90%;
  max-height: 90%;
  margin: 5% auto;
  display: block;
}
.img-modal-close {
  position: absolute;
  top: 20px; right: 30px;
  color: #fff;
  font-size: 30px;
  cursor: pointer;
}
