/* 院内のようす（参考 .home-clinic）：高さをそろえた写真が、左へゆっくり流れ続ける帯。右下に地の色の札とリンク */
.gallery__inner { position: relative; }
.gallery__view { overflow: hidden; }
.gallery__track {
  display: flex;
  width: max-content;
  animation: galleryFlow var(--dur, 60s) linear infinite;
}
.gallery__track li { flex: none; height: 240px; }
.gallery__track img { width: auto; height: 100%; max-width: none; }
@keyframes galleryFlow {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
.gallery__btn {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 128px;
  margin: 0;
  padding-top: 15px;
  background: var(--bg);
}
@media (min-width: 1024px) {
  .gallery__track li { height: 400px; }
  .gallery__btn { width: 207px; padding-top: 27px; }
}
@media (prefers-reduced-motion: reduce) {
  .gallery__track { animation: none; }
}
