
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.tmp { display: inline-block; margin-left: 6px; padding: 0 6px; border-radius: 4px; background: var(--c-accent); color: var(--c-text); font-size: 0.6875rem; font-weight: 700; line-height: 1.7; vertical-align: middle; }

.page-head { position: relative; overflow: hidden; padding: var(--sp-6) 0 var(--sp-7); background: linear-gradient(180deg, var(--c-bg-tint) 0%, var(--c-bg) 100%); }
.page-head__heart { position: absolute; right: 4%; top: 56px; width: 220px; opacity: .85; transform: rotate(14deg); pointer-events: none; }
.breadcrumb { display: flex; flex-wrap: wrap; gap: 4px 0; font-size: var(--fs-caption); color: var(--c-text-muted); }
.breadcrumb li + li::before { content: "/"; margin: 0 .8em; color: var(--c-line); }
.breadcrumb a:hover { color: var(--c-primary-hover); text-decoration: underline; text-underline-offset: 3px; }
.page-head__row { position: relative; z-index: 1; display: flex; align-items: flex-end; justify-content: space-between; gap: var(--sp-5); margin-top: var(--sp-6); }
.page-head .sec-head__en { font-size: clamp(1.75rem, 5vw, 4rem); }
.page-head__lead { margin-top: var(--sp-4); font-size: 0.9375rem; color: var(--c-text-muted); }
.page-head .btn { flex: 0 0 auto; }

.shop { padding: var(--sp-6) 0 var(--sec-std); }
.shop__inner { display: grid; grid-template-columns: 280px minmax(0, 1fr); gap: var(--sp-7); align-items: start; }
.shop__side { display: grid; gap: var(--sp-4); }

.check-lead {
  position: relative; display: grid; gap: var(--sp-2); padding: var(--sp-5) var(--sp-4);
  border-radius: var(--r-md); background: var(--c-primary); color: var(--c-text-inverse); overflow: hidden; isolation: isolate;
  transition: transform var(--t-mid) var(--ease-expo), box-shadow var(--t-mid);
}
.check-lead:hover { transform: translateY(-3px); box-shadow: var(--shadow-2); }
.check-lead__icon { position: relative; display: grid; place-items: center; width: 58px; height: 52px; color: var(--c-primary); font-size: 1.5rem; }
.check-lead__icon svg { position: absolute; inset: 0; width: 100%; height: 100%; fill: var(--c-bg); }
.check-lead__icon .ph-light { position: relative; margin-top: -4px; }
.check-lead__title { margin-top: var(--sp-2); font-family: var(--f-accent); font-weight: 600; font-size: 1.25rem; line-height: 1.45; letter-spacing: .04em; }
.check-lead__text { font-size: var(--fs-caption); line-height: 1.8; opacity: .92; }
.check-lead__btn { display: inline-flex; align-items: center; gap: .8em; margin-top: var(--sp-2); font-size: var(--fs-small); font-weight: var(--fw-sub); }
.check-lead:hover .btn__arrow { transform: translateX(4px); }

.filter { overflow: hidden; border: 1px solid var(--c-line); border-radius: var(--r-lg); background: var(--c-bg); box-shadow: var(--shadow-1); }
.filter__head { display: flex; align-items: center; justify-content: space-between; padding: var(--sp-3) var(--sp-4); background: var(--c-green-50); border-bottom: 1px solid var(--c-line); }
.filter__title { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; letter-spacing: .08em; color: var(--c-primary); }
.filter__title .ph-light { font-size: 1.25rem; }
.filter__reset { font-size: var(--fs-caption); color: var(--c-text-muted); text-decoration: underline; text-underline-offset: 3px; }
.filter__reset:hover { color: var(--c-primary-hover); }
.filter__group { margin: 0 var(--sp-4); padding: var(--sp-4) 0; border: 0; border-bottom: 1px dashed var(--c-line); display: flex; flex-wrap: wrap; gap: 8px; }
.filter__group:last-of-type { border-bottom: 0; }
.filter__group legend { float: left; width: 100%; margin-bottom: 10px; padding: 0 0 0 12px; border-left: 3px solid var(--c-primary); font-size: var(--fs-small); font-weight: 700; line-height: 1.3; color: var(--c-text); }
.chip { position: relative; cursor: pointer; }
.chip input { position: absolute; opacity: 0; pointer-events: none; }
.chip span {
  display: inline-flex; align-items: center; gap: 6px; padding: 6px 14px; border: 1px solid var(--c-line); border-radius: var(--r-pill);
  font-size: var(--fs-caption); line-height: 1.5; background: var(--c-bg);
  transition: background-color var(--t-fast), border-color var(--t-fast), color var(--t-fast);
}
.chip:hover span { background: #c6e27a; border-color: #c6e27a; }
.chip input:checked + span { background: var(--c-primary); border-color: var(--c-primary); color: var(--c-text-inverse); }
.chip input:checked + span::before { content: "✓"; font-size: .9em; }
.chip input:focus-visible + span { box-shadow: var(--shadow-focus); }
.filter-toggle { display: none; }

.biz-lead { display: grid; gap: var(--sp-2); padding: var(--sp-4); border-radius: var(--r-lg); box-shadow: var(--shadow-1); background: var(--c-bg-inverse); color: var(--c-text-inverse); font-size: var(--fs-small); transition: background-color var(--t-fast); }
.biz-lead:hover { background: var(--c-footer); }
.biz-lead__go { display: inline-flex; align-items: center; gap: 6px; font-weight: var(--fw-sub); color: var(--c-green-300); }
.biz-lead__go .ph-light { transition: transform var(--t-fast) var(--ease-out); }
.biz-lead:hover .biz-lead__go .ph-light { transform: translateX(4px); }

.shop__bar { display: flex; align-items: center; justify-content: space-between; gap: var(--sp-3); padding-bottom: var(--sp-3); border-bottom: 1px solid var(--c-line); }
.shop__count { font-size: var(--fs-small); color: var(--c-text-muted); }
.shop__count b { margin-right: 2px; font-family: var(--f-latin); font-size: 1.375rem; color: var(--c-text); }
.sort { position: relative; display: inline-flex; align-items: center; }
.sort select {
  appearance: none; -webkit-appearance: none; min-height: 42px; padding: 0 40px 0 18px;
  border: 1px solid var(--c-line); border-radius: var(--r-pill); background: var(--c-bg); color: var(--c-text);
  font: inherit; font-size: var(--fs-small); cursor: pointer;
}
.sort select:hover { border-color: var(--c-primary); }
.sort .ph-light { position: absolute; right: 14px; pointer-events: none; color: var(--c-primary); }

.shop > .container, .container--wide { max-width: calc(1440px + var(--gutter) * 2); }
.product-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--sp-6) var(--sp-4); margin-top: var(--sp-5); }
.product.is-off-page { display: none; }
.pager { display: flex; justify-content: center; align-items: center; gap: 8px; margin-top: var(--sp-7); }
.pager__num, .pager__btn { display: grid; place-items: center; min-width: 44px; height: 44px; padding: 0 8px; border-radius: var(--r-pill); border: 1px solid var(--c-line); background: var(--c-bg); font-family: var(--f-latin); font-weight: 700; transition: background-color var(--t-fast), border-color var(--t-fast), color var(--t-fast); }
.pager__num:hover, .pager__btn:not(:disabled):hover { border-color: var(--c-primary); color: var(--c-primary); }
.pager__num.is-current { background: var(--c-primary); border-color: var(--c-primary); color: var(--c-text-inverse); }
.pager__btn:disabled { opacity: .35; cursor: default; }
@media (max-width: 1280px) { .product-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.product a { display: flex; flex-direction: column; height: 100%; }
.product__img { overflow: hidden; border-radius: var(--r-md); background: var(--c-surface-soft); aspect-ratio: 4 / 3; }
.product__img img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--t-slow) var(--ease-expo); }
.product a:hover .product__img img { transform: scale(1.05); }
.product__tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: var(--sp-3); }
.product__tags .tag { padding: .1em .9em; }
.tag--pet { border-color: #d9a35b; color: #9a6a2a; }
.product__name { margin-top: var(--sp-2); font-family: var(--f-accent); font-weight: 600; font-size: 1.125rem; line-height: 1.5; letter-spacing: .03em; transition: color var(--t-fast); }
.product a:hover .product__name { color: var(--c-primary-hover); }
.product__desc { margin-top: var(--sp-1); font-size: var(--fs-caption); color: var(--c-text-muted); line-height: 1.8; }
.product__price { margin-top: auto; padding-top: var(--sp-2); font-family: var(--f-latin); font-weight: 700; font-size: 1.25rem; letter-spacing: .02em; }
.product__price small { margin-left: 2px; font-family: var(--f-base); font-size: 0.6875rem; font-weight: 500; color: var(--c-text-muted); }
.product.is-out { display: none; }
.shop__empty { padding: var(--sp-7) 0; text-align: center; color: var(--c-text-muted); }

.modal { width: min(560px, calc(100vw - 32px)); padding: 0; border: 0; border-radius: var(--r-lg); box-shadow: var(--shadow-2); color: var(--c-text); }
.modal::backdrop { background: rgba(15, 40, 30, .45); backdrop-filter: blur(3px); }
.modal[open] { animation: modalIn .4s var(--ease-expo); }
.modal__inner { padding: var(--sp-5) var(--sp-5) var(--sp-6); font-size: var(--fs-small); line-height: 1.9; }
.modal__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: var(--sp-4); padding-bottom: var(--sp-3); border-bottom: 1px solid var(--c-line); }
.modal__title { font-family: var(--f-accent); font-weight: 600; font-size: 1.25rem; }
.modal__close { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--c-bg-tint); font-size: 1.125rem; transition: background-color var(--t-fast); }
.modal__close:hover { background: var(--c-green-100); }
.modal__list { margin-top: var(--sp-3); display: grid; gap: var(--sp-2); }
.modal__list li { position: relative; padding-left: 1.4em; }
.modal__list li::before { content: ""; position: absolute; left: 0; top: .75em; width: 8px; height: 8px; border-radius: 50%; background: var(--c-primary); }
@keyframes modalIn { from { opacity: 0; transform: translateY(16px) scale(.98); } to { opacity: 1; transform: none; } }

@media (max-width: 1100px) {
  .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 960px) {
  .shop__inner { grid-template-columns: minmax(0, 1fr); gap: var(--sp-5); }
  .shop__side { display: contents; }
  .filter-toggle, .filter { order: 1; }
  .shop__main { order: 2; }
  .check-lead { order: 0; min-width: 0; max-width: 100%; }
  .filter-toggle {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px;
    border: 1px solid var(--c-primary); border-radius: var(--r-pill); color: var(--c-primary-hover); font-weight: var(--fw-sub);
  }
  .filter-toggle[aria-expanded="true"] { background: var(--c-primary); color: var(--c-text-inverse); }
  .filter-toggle__count { display: inline-grid; place-items: center; min-width: 22px; height: 22px; border-radius: 11px; background: var(--c-accent); color: var(--c-text); font-size: 0.75rem; }
  /* ヘッダーは残し、中身の開閉は filter.module.css（既定は閉じる） */
  .filter { display: block; min-width: 0; max-width: 100%; }
  .biz-lead { order: 4; }
}
@media (max-width: 767px) {
  .page-head__row { flex-direction: column; align-items: flex-start; }
  .page-head__heart { width: 180px; }
  .product-grid { gap: var(--sp-5) var(--sp-3); }
  .product__name { font-size: 1rem; }
  .product__price { font-size: 1.0625rem; }
}

.check-lead__btn, .biz-lead__go { justify-self: end; align-self: flex-end; }
.product__desc { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; min-height: 3.6em; }

.page-head .breadcrumb, .page-head .sec-head { position: relative; z-index: 1; }

.product.is-soldout .product__img { position: relative; }
.product.is-soldout .product__img img { filter: grayscale(1); opacity: .55; }
.product.is-soldout .product__img::after { content: "在庫切れ"; position: absolute; left: 50%; top: 50%; translate: -50% -50%; padding: 6px 18px; border-radius: var(--r-pill); background: rgb(0 0 0 / .62); color: #fff; font-size: var(--fs-caption); font-weight: 700; letter-spacing: .1em; }
.buy__cart.is-soldout { background: var(--c-line); border-color: var(--c-line); color: var(--c-text-muted); pointer-events: none; }
