/* 回収品目一覧（/items-list/）：カテゴリへのジャンプメニュー＋写真つきの品目タイル */
.cd-items { padding: 40px 16px 72px; background: #f7faf6; }
.cd-items .inner { max-width: 1120px; margin: 0 auto; }

.cd-items__nav {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin: 36px 0 48px;
}
.cd-items__nav a {
  display: grid;
  grid-template-columns: 40px 1fr;
  grid-template-rows: auto auto;
  column-gap: 12px;
  align-items: center;
  padding: 12px 16px;
  background: #fff;
  border: 1px solid #e3e6e1;
  border-radius: 12px;
  color: #1f2421;
  text-align: left;
  text-decoration: none;
  transition: border-color .2s, box-shadow .2s;
}
.cd-items__nav a:hover { border-color: var(--cd-green, #0ca26c); box-shadow: 0 4px 14px rgba(12, 162, 108, .12); }
.cd-items__nav img { grid-row: 1 / 3; width: 40px; height: 40px; object-fit: contain; }
.cd-items__nav-name { font: bold 16px/1.3 var(--cd-font, sans-serif); }
.cd-items__nav-count { color: #6b736d; font-size: 12px; }

.cd-items__cat {
  margin-top: 28px;
  padding: 28px 32px 32px;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 2px 12px rgba(26, 26, 26, .05);
  scroll-margin-top: 140px;
}
.cd-items__head {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-bottom: 16px;
  border-bottom: 2px solid #eef2ee;
}
.cd-items__head img {
  width: 56px;
  height: 56px;
  padding: 8px;
  object-fit: contain;
  background: #eaf6ef;
  border-radius: 50%;
}
.cd-items__head h3 {
  margin: 0;
  color: #1f2421;
  font: bold 24px/1.3 var(--cd-font, sans-serif);
}
.cd-items__count {
  margin-left: auto;
  padding: 4px 12px;
  background: var(--cd-orange, #f7920e);
  border-radius: 999px;
  color: #fff;
  font-size: 13px;
  font-weight: bold;
  white-space: nowrap;
}
.cd-items__sub {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin: 24px 0 12px;
  padding-left: 12px;
  border-left: 4px solid var(--cd-green, #0ca26c);
  color: var(--cd-green-dark, #008756);
  font: bold 17px/1.4 var(--cd-font, sans-serif);
  text-align: left;
}
.cd-items__sub span { color: #6b736d; font-size: 12px; font-weight: normal; }
.cd-items__head + .cd-items__grid { margin-top: 20px; }

.cd-items__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}
.cd-items__tile {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  padding: 8px 12px 8px 8px;
  background: #f7faf6;
  border-radius: 10px;
}
.cd-items__tile img {
  flex: none;
  width: 64px;
  height: 64px;
  object-fit: cover;
  background: #fff;
  border-radius: 8px;
}
.cd-items__tile span {
  min-width: 0;
  color: #1f2421;
  font-size: 14px;
  font-weight: bold;
  line-height: 1.45;
  text-align: left;
  word-break: auto-phrase;
}

@media screen and (max-width: 1000px) {
  .cd-items__grid { grid-template-columns: repeat(3, 1fr); }
}
@media screen and (max-width: 768px) {
  .cd-items { padding: 24px 12px 48px; }
  .cd-items__nav { grid-template-columns: repeat(2, 1fr); gap: 8px; margin: 24px 0 32px; }
  .cd-items__nav a { grid-template-columns: 32px 1fr; column-gap: 8px; padding: 10px; }
  .cd-items__nav img { width: 32px; height: 32px; }
  .cd-items__nav-name { font-size: 14px; }
  .cd-items__nav-count { font-size: 11px; }
  .cd-items__cat { margin-top: 20px; padding: 18px 14px 20px; border-radius: 14px; scroll-margin-top: 90px; }
  .cd-items__head { gap: 10px; padding-bottom: 12px; }
  .cd-items__head img { width: 44px; height: 44px; padding: 6px; }
  .cd-items__head h3 { font-size: 19px; }
  .cd-items__count { font-size: 11px; padding: 3px 10px; }
  .cd-items__sub { margin: 20px 0 10px; font-size: 15px; }
  .cd-items__grid { grid-template-columns: repeat(2, 1fr); gap: 8px; }
  .cd-items__tile { gap: 8px; padding: 6px 8px 6px 6px; }
  .cd-items__tile img { width: 48px; height: 48px; }
  .cd-items__tile span { font-size: 12.5px; }
}
