.lsfs {
  position: relative;
  margin: 1.5em 0;
}
.lsfs-heading {
  text-align: center;
  color: #f00;
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 8px;
}
.lsfs-track {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 4px 2px 10px;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
}
.lsfs-card {
  position: relative;
  flex: 0 0 132px;
  min-width: 0;
  scroll-snap-align: start;
  text-decoration: none;
  color: inherit;
  display: block;
  background: #fff;
  border: 1px solid #eee;
  border-radius: 8px;
  padding: 8px;
  box-sizing: border-box;
}
.lsfs-img {
  display: block;
  width: 100%;
  border-radius: 6px;
  overflow: hidden;
  background: #f4f4f4;
  aspect-ratio: 147 / 200;
  max-height: 200px;
}
.lsfs-img img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.lsfs-title {
  display: block;
  max-width: 100%;
  min-width: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  font-size: 12px;
  line-height: 1.5;
  margin-top: 6px;
  margin-bottom: 5px;
}
.lsfs-meta {
  display: block;
  margin-top: 2px;
  line-height: 1.6;
}
.lsfs-date {
  display: block;
  font-size: 11px;
  color: #888;
  margin-bottom: 5px;
}
.lsfs-price {
  display: block;
  font-size: 12px;
  font-weight: 700;
  color: #e75480;
}
.lsfs-price s {
  color: #999;
  font-size: 11px;
  font-weight: 400;
}
.lsfs-nav {
  position: absolute;
  top: 32%;
  z-index: 2;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid #ddd;
  background: rgba(255, 255, 255, 0.92);
  color: #333;
  font-size: 18px;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.15);
  padding: 0;
}
.lsfs-prev { left: -6px; }
.lsfs-next { right: -6px; }
.lsfs-nav[hidden] { display: none; }
@media (max-width: 600px) {
  /* スマホは2件ずつ表示 */
  .lsfs-card { flex-basis: calc((100% - 12px) / 2); }
  .lsfs-img { max-height: 180px; }
  .lsfs-nav { display: none; }
}

.lsfs-rank {
  position: absolute;
  top: 5px;
  left: 5px;
  z-index: 2;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #e75480;
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  line-height: 24px;
  text-align: center;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.25);
}

.lsfs-grid {
  display: grid;
  grid-template-columns: repeat(var(--lsfs-cols, 4), minmax(0, 1fr));
  gap: 12px;
}
.lsfs-grid .lsfs-card { flex: none; width: auto; }
@media (max-width: 600px) {
  .lsfs-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (min-width: 601px) {
  /* PCではスクロールバーと矢印ボタンを表示しない（2026-11-16 本人指示） */
  .lsfs-track { scrollbar-width: none; }
  .lsfs-track::-webkit-scrollbar { display: none; }
  .lsfs-nav { display: none !important; }
}
