/* エアーダッチ写真館。商品カード・特集カードとは別の案内欄。件数計算には使わない。 */
.pg { container-type: inline-size; container-name: pg; margin: 28px 0 8px; }
.pg[hidden] { display: none; }
.pg-h { margin: 0 0 10px; font-size: 17px; padding: 6px 12px; background: #eef3ff; border-left: 4px solid var(--ds-accent, #164A80); border-radius: 0 4px 4px 0; color: #1d316d; line-height: 1.4; }
.pg-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; align-items: stretch; list-style: none; margin: 0; padding: 0; }
.pg-card { min-width: 0; }
.pg-link { display: flex; flex-direction: row; align-items: center; box-sizing: border-box; width: 100%; min-width: 0; height: 112px; min-height: 112px; max-height: 112px; overflow: hidden; background: #fff; border: 1px solid #ddd; border-radius: 6px; color: inherit; text-decoration: none; }
.pg-link:hover, .pg-link:focus-visible { border-color: #5B67E8; box-shadow: 0 0 0 2px rgba(91, 103, 232, .25); }
.pg-link:focus-visible { outline: 2px solid #5B67E8; outline-offset: 1px; }
.pg-link img { display: block; flex: 0 0 110px; width: 110px; height: 110px; object-fit: cover; object-position: center; background: #f0f0f0; }
.pg-body { display: flex; flex: 1; flex-direction: column; justify-content: center; min-width: 0; max-height: 110px; padding: 4px 10px; overflow: hidden; }
.pg-name { display: block; min-width: 0; color: #263746; font-size: 13.5px; font-weight: 600; line-height: 1.35; overflow-wrap: anywhere; }
.pg-summary { display: -webkit-box; margin-top: 3px; overflow: hidden; color: #667085; font-size: 12px; font-weight: 400; line-height: 1.35; overflow-wrap: anywhere; -webkit-box-orient: vertical; -webkit-line-clamp: 2; line-clamp: 2; }

@container pg (max-width: 820px) {
  .pg-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
}
@container pg (max-width: 520px) {
  .pg-grid { grid-template-columns: minmax(0, 1fr); gap: 8px; }
  .pg-name { font-size: 13px; }
  .pg-summary { font-size: 11.5px; }
}
