/* 商品ページ・一覧ページ用（style.cssの後に読み込む前提） */
.item-page, .item-list { max-width: 900px; margin: 0 auto; padding: 48px 20px; }
.breadcrumb { font-size: 13px; color: #88817a; margin-bottom: 16px; }
.breadcrumb a { color: inherit; }
.item-name { font-size: 24px; line-height: 1.5; margin: 0 0 24px; }
.item-gallery .main { max-width: 100%; max-height: 480px; display: block; margin: 0 auto 12px; }
.item-gallery .subs { display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; }
.item-gallery .subs img { width: 72px; height: 72px; object-fit: contain; border: 1px solid #ece8e0; }
.item-price { font-size: 28px; font-weight: bold; margin: 24px 0 8px; text-align: center; }
.item-price .tax { font-size: 14px; font-weight: normal; }
.item-price.small { font-size: 16px; font-weight: normal; color: #88817a; }
.buy-amazon { display: block; max-width: 320px; margin: 16px auto 32px; padding: 14px 0;
  text-align: center; background: #d6923a; color: #fff; text-decoration: none;
  border-radius: 6px; font-weight: bold; }
.buy-amazon:hover { opacity: .85; }
.item-spec { margin: 32px 0; }
.item-desc { margin-top: 24px; line-height: 1.9; }
.item-count { text-align: center; color: #88817a; }
.item-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 20px; margin-top: 24px; }
.item-card { display: block; text-decoration: none; color: inherit; }
.item-card img, .item-card .noimg { width: 100%; aspect-ratio: 1; object-fit: contain;
  border: 1px solid #ece8e0; background: #fff; }
.item-card .noimg { display: flex; align-items: center; justify-content: center;
  color: #b5ada2; font-size: 12px; }
.card-name { font-size: 13px; line-height: 1.5; margin-top: 8px;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.card-price { font-weight: bold; margin-top: 4px; }
.pager { text-align: center; margin-top: 32px; }
.pager a, .pager .current { display: inline-block; padding: 6px 12px; margin: 0 2px; }
.pager .current { background: #1a1816; color: #fff; }
.seller-note { text-align: center; font-size: 12px; color: #88817a; margin: -24px 0 32px; }
.list-layout { display: flex; gap: 32px; align-items: flex-start; }
.cat-sidebar { width: 200px; flex-shrink: 0; }
.cat-sidebar h2 { font-size: 14px; color: #88817a; margin: 0 0 12px; }
.cat-sidebar ul { list-style: none; margin: 0; padding: 0; }
.cat-sidebar li { margin: 0; }
.cat-sidebar a, .cat-sidebar .current { display: block; padding: 8px 10px; font-size: 13px;
  text-decoration: none; color: inherit; border-radius: 4px; }
.cat-sidebar .current { background: #1a1816; color: #fff; }
.cat-sidebar a:hover { background: #ece8e0; }
.list-main { flex: 1; min-width: 0; }
@media (max-width: 700px) {
  .list-layout { display: block; }
  .cat-sidebar { width: auto; margin-bottom: 24px; }
}
