/* 商品ページ・一覧ページ用（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; }
}
.cat-sidebar ul ul { margin: 2px 0 4px 14px; }
.cat-sidebar ul ul a, .cat-sidebar ul ul .current { font-size: 12px; padding: 5px 10px; }
.item-gallery .subs img { cursor: pointer; }
.item-gallery .subs img:hover { border-color: #88817a; }
/* --- 銀行振込注文 --- */
.buy-bank { display: block; width: 100%; margin-top: 10px; padding: 12px; font-size: 1.05em;
  background: #1a5c9e; color: #fff; border: none; border-radius: 6px; cursor: pointer; }
.buy-bank:hover { opacity: .9; }
.order-soldout { margin-top: 10px; padding: 10px; background: #f2f2f2; color: #888;
  border-radius: 6px; text-align: center; font-size: .95em; }
.order-block { margin-top: 14px; padding: 16px; border: 2px solid #1a5c9e; border-radius: 8px; background: #f7fafd; }
.order-title { margin: 0 0 8px; font-size: 1.15em; color: #1a5c9e; }
.order-lead { font-size: .92em; color: #444; }
.order-gsi { margin: 10px 0; }
.order-gsi-note { font-size: .85em; color: #666; margin: 6px 0 0; }
.order-form label { display: block; margin: 10px 0; font-size: .95em; }
.order-form input, .order-form select, .order-form textarea {
  display: block; width: 100%; box-sizing: border-box; margin-top: 4px;
  padding: 8px; border: 1px solid #bbb; border-radius: 4px; font-size: 1em; }
.order-form select { width: auto; min-width: 5em; }
.order-hp { position: absolute !important; left: -9999px !important; height: 1px; opacity: 0; }
.order-total { margin: 12px 0; font-size: 1.1em; }
.order-total strong { color: #b12704; font-size: 1.25em; }
.order-submit { display: block; width: 100%; padding: 12px; font-size: 1.05em; background: #b12704;
  color: #fff; border: none; border-radius: 6px; cursor: pointer; margin-top: 10px; }
.order-submit:disabled { background: #999; cursor: default; }
.order-note { font-size: .85em; color: #666; }
.order-done { margin-top: 12px; padding: 12px; background: #e8f5e9; border-radius: 6px; color: #1b5e20; }
.order-error { margin-top: 12px; padding: 12px; background: #fdecea; border-radius: 6px; color: #b71c1c; }
