/*
Theme Name: Lightning Child
Theme URI: 
Template: lightning
Description: 
Author: 
Tags: 
Version: 0.6.0
*/


/* 横一列・横スクロール */
div.wp-block-group.top-results-style.is-layout-grid {
  display: flex !important;
  flex-wrap: nowrap;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  gap: 1rem;
  padding: 1rem;
}


/* 各事例カード */
.top-results-style > .wp-block-group {
  flex: 0 0 auto;
  width: 350px;
  scroll-snap-align: start;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
  padding: 1rem;
  box-sizing: border-box;
  display: block !important; /* gridの上書き */
}

/* もし親の .is-layout-grid が影響していたら打ち消す */
.top-results-style.is-layout-grid {
  display: flex !important;
}
