/* Keep legacy gallery styling; the slide owns the width, not a flex-item image. */
.goodlife-feature-gallery {
  min-width: 0;
  max-width: 100%;
}
.goodlife-feature-gallery > .shohin-img_slider {
  overflow: hidden;
  width: 100%;
  min-width: 0;
}
.goodlife-feature-gallery ul.shohin-img_items {
  display: flex;
  list-style: none;
  padding: 0;
  margin: 0;
  border: 0;
}
.goodlife-feature-gallery li.shohin-img_item {
  flex: 0 0 auto;
  width: 100%;
  min-width: 0;
  padding: 0;
  margin: 0;
  list-style: none;
}
.goodlife-feature-gallery .shohin-img_item img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  margin: 0;
  object-fit: contain;
}
/* If Swiper is unavailable, retain full-width, manually scrollable photos. */
.goodlife-feature-gallery > .shohin-img_slider:not(.swiper-initialized) {
  overflow-x: auto;
  scroll-snap-type: x mandatory;
}
.goodlife-feature-gallery .shohin-img_slider:not(.swiper-initialized) .shohin-img_item {
  scroll-snap-align: start;
}
.goodlife-feature-gallery > [hidden] {
  display: none;
}
