/* トップのメイン画像（切り替わる画像）2026-10-21・hero.js。画像は横 2:1（推奨 1600×800px）で、枠に合わせて切り取る */
.hero { position: relative; margin: 16px 0 24px; border-radius: 16px; overflow: hidden; background: var(--card); border: 1px solid var(--line); }
.hero-track { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; -webkit-overflow-scrolling: touch; overscroll-behavior-x: contain; }
.hero-track::-webkit-scrollbar { display: none; }
.hero-slide { flex: 0 0 100%; scroll-snap-align: start; scroll-snap-stop: always; aspect-ratio: 2 / 1; }
.hero-slide a { display: block; height: 100%; }
.hero-slide img { display: block; width: 100%; height: 100%; object-fit: cover; user-select: none; -webkit-user-drag: none; }
.hero-arrow { position: absolute; top: 50%; transform: translateY(-50%); margin: 0; width: 40px; height: 40px; padding: 0; border-radius: 50%;
  background: rgba(255, 255, 255, .85); color: #333; font-size: 26px; line-height: 38px; box-shadow: 0 1px 4px rgba(0, 0, 0, .2); }
.hero-arrow.prev { left: 12px; }
.hero-arrow.next { right: 12px; }
.hero-dots { position: absolute; left: 0; right: 0; bottom: 10px; display: flex; justify-content: center; align-items: center; gap: 4px; pointer-events: none; }
.hero-dots button { pointer-events: auto; }
.hero-dot { margin: 0; width: 24px; height: 24px; padding: 0; border-radius: 50%; background: transparent; position: relative; }
.hero-dot::before { content: ""; position: absolute; inset: 7px; border-radius: 50%; background: rgba(255, 255, 255, .6); box-shadow: 0 0 0 1px rgba(0, 0, 0, .25); }
.hero-dot[aria-current="true"]::before { background: #fff; inset: 6px; }
.hero-toggle { margin: 0 0 0 6px; width: 28px; height: 24px; padding: 0; border-radius: 12px; background: rgba(0, 0, 0, .35); color: #fff; font-size: 10px; line-height: 24px; }
/* 季節の新作バナーの写真（<img>。枠いっぱいに切り取って出す。枠の大きさは shop.css の .banner .img）2026-10-22 */
.banner .img { position: relative; overflow: hidden; }
.banner .img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
@media (max-width: 600px) {
  .hero { margin: 12px -16px 20px; border-radius: 0; border-left: 0; border-right: 0; }
  .hero-arrow { width: 32px; height: 32px; font-size: 22px; line-height: 30px; }
  .hero-arrow.prev { left: 6px; }
  .hero-arrow.next { right: 6px; }
}
