/* style.css */
:root{
  --gap: 12px;
  --radius: 10px;
  --shadow: 0 3px 8px rgba(0,0,0,.06);
}

* { box-sizing: border-box; }
body { font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Hiragino Kaku Gothic ProN", "Noto Sans JP", "Meiryo", sans-serif; margin: 0; color: #0a0a0a; background:#f6f7f9; }

.wrap{ max-width: 1100px; margin: 28px auto; padding: 0 16px; 
}

.wrap h2{
  text-align: center;
}
.title{ font-size: clamp(18px, 2vw, 24px); margin: 0 0 12px; font-weight: 700; }
.note{ color:#666; font-size: 14px; margin: 0 0 20px; }

.category-grid{
  list-style: none; padding: 0; margin: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--gap);
  margin-top: 20px;
  
}
.category-grid > li { display: block; }


@media (min-width: 1024px){
  .category-grid{ grid-template-columns: repeat(4, 1fr); 
  }
  .category-grid > li:nth-child(n+9){ display: none; }
}

.banner{
  display: flex;
  align-items: center;
  justify-content: center;
  height: 50px;
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  text-decoration: none;
  color: #111;
  font-weight: 600;
  font-size: 14px;
  transition: transform .2s ease, box-shadow .2s ease;
}
.banner:hover{ transform: translateY(-1px); box-shadow: 0 4px 12px rgba(0,0,0,.08); }
.banner:focus-visible{ outline: 2px solid #2684ff; outline-offset: 2px; }

@media (prefers-reduced-motion: reduce){ .banner{ transition: none; } .banner:hover{ transform:none; } }

