
	.gallery {
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

.main-image img {
  width: 100%;
  max-height: 500px;
  object-fit: cover;
}

.thumbnails {
  margin-top: 20px;
  display: flex;
  justify-content: center;
  gap: 5px;
}

.thumbnails img.thumb {
  width: 105px;
  height: 70px;
  object-fit: cover;
  cursor: pointer;
  border: 2px solid transparent;
  transition: border 0.3s ease;
}

.thumbnails img.thumb:hover {
  border: 2px solid #007acc;
}

/* フェード用クラス */
.fade {
  opacity: 0;
  transition: opacity 0.5s ease-in-out;
}

.fade.show {
  opacity: 1;
}


@media screen and (min-width:767px) {
	.gallery {
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

.main-image img {
  width: 100%;
  max-height: 500px;
  object-fit: cover;
}

.thumbnails {
  margin-top: 20px;
  display: flex;
  justify-content: center;
  gap: 10px;
}

.thumbnails img.thumb {
  width: 150px;
  height: 100px;
  object-fit: cover;
  cursor: pointer;
  border: 2px solid transparent;
  transition: border 0.3s ease;
}

.thumbnails img.thumb:hover {
  border: 2px solid #007acc;
}

/* フェード用クラス */
.fade {
  opacity: 0;
  transition: opacity 0.5s ease-in-out;
}

.fade.show {
  opacity: 1;
}
}