/*
Theme Name: GENSEN Child
Template: gensen_tcd050
Description: GENSENの子テーマ
Version: 1.0
*/

.gallery-slider {
  display: flex;
  overflow-x: auto;
  gap: 10px;
  scroll-snap-type: x mandatory;
}

.gallery-slider .slide {
  flex: 0 0 auto;
  scroll-snap-align: center;
  border-radius: 8px;
  overflow: hidden;
}

.gallery-slider img {
  width: 100%;
  height: auto;
  display: block;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 12px;
}

.gallery-grid img {
  width: 100%;
  height: auto;
  border-radius: 6px;
}