/* Yamaya article's six-product comparison only. */
.wb-sixguide-page #wb6g-story-04 .wb6-scroll[aria-label="輸入ビール6商品の比較表"] {
  container: wb6-yamaya-compare / inline-size;
}
.wb-sixguide-page #wb6g-story-04 .wb6-scroll[aria-label="輸入ビール6商品の比較表"] .wb6-table {
  width: 100%;
  min-width: 0;
  table-layout: fixed;
}
#wb6g-story-04 .wb6-scroll[aria-label="輸入ビール6商品の比較表"] th,
#wb6g-story-04 .wb6-scroll[aria-label="輸入ビール6商品の比較表"] td {
  white-space: normal;
  word-break: normal;
  overflow-wrap: break-word;
  line-height: 1.55;
}
#wb6g-story-04 .wb6-scroll[aria-label="輸入ビール6商品の比較表"] thead th:nth-child(1) { width: 22%; }
#wb6g-story-04 .wb6-scroll[aria-label="輸入ビール6商品の比較表"] thead th:nth-child(2) { width: 10%; }
#wb6g-story-04 .wb6-scroll[aria-label="輸入ビール6商品の比較表"] thead th:nth-child(3) { width: 16%; }
#wb6g-story-04 .wb6-scroll[aria-label="輸入ビール6商品の比較表"] thead th:nth-child(4) { width: 15%; }
#wb6g-story-04 .wb6-scroll[aria-label="輸入ビール6商品の比較表"] thead th:nth-child(5) { width: 21%; }
#wb6g-story-04 .wb6-scroll[aria-label="輸入ビール6商品の比較表"] thead th:nth-child(6) { width: 16%; text-wrap: balance; }
#wb6g-story-04 .wb6-scroll[aria-label="輸入ビール6商品の比較表"] tbody th img {
  display: block;
  inline-size: 76px;
  block-size: 76px;
  object-fit: contain;
  margin-block-end: .4rem;
}
#wb6g-story-04 .wb6-scroll[aria-label="輸入ビール6商品の比較表"] tbody th a {
  display: inline-block;
}
@container wb6-yamaya-compare (width < 755px) {
  #wb6g-story-04 .wb6-scroll[aria-label="輸入ビール6商品の比較表"] .wb6-table,
  #wb6g-story-04 .wb6-scroll[aria-label="輸入ビール6商品の比較表"] caption,
  #wb6g-story-04 .wb6-scroll[aria-label="輸入ビール6商品の比較表"] tbody,
  #wb6g-story-04 .wb6-scroll[aria-label="輸入ビール6商品の比較表"] tbody tr { display: block; width: 100%; }
  #wb6g-story-04 .wb6-scroll[aria-label="輸入ビール6商品の比較表"] thead {
    position: absolute; width: 1px; height: 1px; padding: 0;
    overflow: hidden; clip-path: inset(50%); white-space: nowrap;
  }
  #wb6g-story-04 .wb6-scroll[aria-label="輸入ビール6商品の比較表"] tbody tr + tr { border-top: 2px solid var(--wb6-border); }
  #wb6g-story-04 .wb6-scroll[aria-label="輸入ビール6商品の比較表"] tbody th {
    display: block; width: auto; padding: .75rem .85rem;
  }
  #wb6g-story-04 .wb6-scroll[aria-label="輸入ビール6商品の比較表"] tbody td {
    display: block; width: auto; padding: .48rem .85rem;
  }
  #wb6g-story-04 .wb6-scroll[aria-label="輸入ビール6商品の比較表"] tbody td:last-child { border-bottom: 0; }
  #wb6g-story-04 .wb6-scroll[aria-label="輸入ビール6商品の比較表"] tbody td[data-label]::before {
    display: block; margin-bottom: .12rem;
    color: var(--wb6-accent); font-size: .81rem; font-weight: 700;
    content: attr(data-label) / "";
  }
}
@supports not (container-type: inline-size) {
@media (max-width: 825px) {
  #wb6g-story-04 .wb6-scroll[aria-label="輸入ビール6商品の比較表"] .wb6-table,
  #wb6g-story-04 .wb6-scroll[aria-label="輸入ビール6商品の比較表"] caption,
  #wb6g-story-04 .wb6-scroll[aria-label="輸入ビール6商品の比較表"] tbody,
  #wb6g-story-04 .wb6-scroll[aria-label="輸入ビール6商品の比較表"] tbody tr { display: block; width: 100%; }
  #wb6g-story-04 .wb6-scroll[aria-label="輸入ビール6商品の比較表"] thead {
    position: absolute; width: 1px; height: 1px; padding: 0;
    overflow: hidden; clip-path: inset(50%); white-space: nowrap;
  }
  #wb6g-story-04 .wb6-scroll[aria-label="輸入ビール6商品の比較表"] tbody tr + tr { border-top: 2px solid var(--wb6-border); }
  #wb6g-story-04 .wb6-scroll[aria-label="輸入ビール6商品の比較表"] tbody th {
    display: block; width: auto; padding: .75rem .85rem;
  }
  #wb6g-story-04 .wb6-scroll[aria-label="輸入ビール6商品の比較表"] tbody td {
    display: block; width: auto; padding: .48rem .85rem;
  }
  #wb6g-story-04 .wb6-scroll[aria-label="輸入ビール6商品の比較表"] tbody td:last-child { border-bottom: 0; }
  #wb6g-story-04 .wb6-scroll[aria-label="輸入ビール6商品の比較表"] tbody td[data-label]::before {
    display: block; margin-bottom: .12rem;
    color: var(--wb6-accent); font-size: .81rem; font-weight: 700;
    content: attr(data-label) / "";
  }
}
}
