@charset "UTF-8";
/* Farm/buy デザイントークン
-----------------------------------------------------------------*/
/* イージング
-----------------------------------------------------------------*/
/* デュレーション
-----------------------------------------------------------------*/
/* ============================================================
   生産品詳細 - 館ヶ森高原豚 専用CSS
   ark_company/assets/company-foodproduct-tategamori_kogen_buta_pork.css を移植
   ・色/フォント/.cta/.breadcrumb/.page/html,body背景は company_common.css
   ・読み込み順: common → company_common → 本CSS
============================================================ */
/* ---- ページ固有リセット ---- */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  -webkit-text-size-adjust: 100%;
}

img {
  display: block;
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
  object-fit: cover;
}

a {
  text-decoration: none;
  color: inherit;
}

a:hover {
  color: var(--enji);
}

/* カテゴリ主写真の暗プレースホルダ */
.ph-dark {
  position: relative;
  overflow: hidden;
  background: #20242a;
}

.ph-dark::before {
  position: absolute;
  background: repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.055) 0 13px, rgba(255, 255, 255, 0) 13px 26px);
  inset: 0;
  content: "";
}

.ph-note {
  position: absolute;
  z-index: 2;
  top: 50%;
  left: 50%;
  padding: 0.5555555556vw 1.1111111111vw;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 4px;
  font-family: var(--mono);
  font-size: var(--fz-xs);
  letter-spacing: 0.16em;
  white-space: nowrap;
  color: rgba(255, 255, 255, 0.5);
  transform: translate(-50%, -50%);
}

/* ============ FV HERO（精肉 KV に一致） ============ */
/* .p-product-kv PCベースは _companyComponents.scss に共通化。以下は tategamori 固有（暗幕・影） */
@media (max-width: 1023px) {
  .p-product-kv {
    aspect-ratio: 375/460;
  }
}

.p-product-kv::after {
  position: absolute;
  z-index: 0;
  height: 100%;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.28) 0%, rgba(0, 0, 0, 0.05) 42%, rgba(0, 0, 0, 0.42) 100%);
  pointer-events: none;
  inset: 0;
  content: "";
}

@media (max-width: 1023px) {
  .p-product-kv__title {
    bottom: min(19.2vw, 93.6px);
  }
}

.p-product-kv__title-jp {
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.4);
}
@media (max-width: 1023px) {
  .p-product-kv__title-jp {
    font-size: var(--fz-h2);
    letter-spacing: 0.08em;
  }
}

.p-product-kv__title-jp .br-sp {
  display: none;
}
@media (max-width: 1023px) {
  .p-product-kv__title-jp .br-sp {
    display: inline;
  }
}

.p-product-kv__title-en {
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.4);
}
@media (max-width: 1023px) {
  .p-product-kv__title-en {
    font-size: var(--fz-lead);
  }
}

/* ============ LEAD (dark intro) ============ */
.intro {
  position: relative;
  z-index: 2;
  margin-top: -6.6666666667vw;
  padding: 8.8888888889vw var(--edge) 7.2222222222vw;
  background: var(--ink);
  text-align: center;
  color: #ffffff;
}
@media (max-width: 1023px) {
  .intro {
    margin-top: calc(-1 * min(16vw, 78px));
    padding: min(17.0666666667vw, 83.2px) var(--edge) min(17.0666666667vw, 83.2px);
  }
}

.intro h2 {
  font-family: var(--mincho);
  font-size: var(--fz-h3);
  font-weight: 500;
  line-height: 1.5;
  letter-spacing: 0.04em;
}
@media (max-width: 1023px) {
  .intro h2 {
    line-height: 1.6;
  }
}

.intro-cert {
  display: flex;
  justify-content: center;
  gap: 3.8888888889vw;
  margin-top: 3.8888888889vw;
  list-style: none;
}
@media (max-width: 1023px) {
  .intro-cert {
    gap: clamp(16px, 6vw, 56px);
  }
}

.intro-cert__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.9722222222vw;
}
@media (max-width: 1023px) {
  .intro-cert__item {
    flex: 0 1 min(40vw, 195px);
    min-width: 0;
  }
}

.intro-cert__circle {
  display: grid;
  width: clamp(142.5px, 10.4166666667vw, 225px);
  height: clamp(142.5px, 10.4166666667vw, 225px);
  border-radius: 50%;
  background: #ffffff;
  place-items: center;
}
@media (max-width: 1023px) {
  .intro-cert__circle {
    width: 100%;
    height: auto;
    aspect-ratio: 1;
  }
}

.intro-cert__img {
  display: block;
  width: 100%;
  height: auto;
  -o-object-fit: contain;
  object-fit: contain;
}

.intro-cert__no {
  font-family: var(--gothic);
  font-size: var(--fz-xs);
  letter-spacing: 0.06em;
  color: rgba(255, 255, 255, 0.72);
}

.intro p {
  max-width: clamp(779px, 56.9444444444vw, 1230px);
  margin-top: 2.5vw;
  margin-right: auto;
  margin-left: auto;
  font-family: var(--mincho);
  font-size: var(--fz-body);
  line-height: var(--lh-body);
  letter-spacing: var(--ls-mincho);
  color: rgba(255, 255, 255, 0.85);
}
@media (max-width: 1023px) {
  .intro p {
    margin-top: min(6.4vw, 31.2px);
    line-height: 2.1;
  }
}

@media (max-width: 1023px) {
  .intro p br {
    display: none;
  }
}

/* ============ 5つのポイント ============ */
.points {
  background: var(--paper);
}
@media (max-width: 1023px) {
  .points {
    padding: 0;
  }
}

.pts-track {
  position: relative;
}
@media (max-width: 1023px) {
  .pts-track {
    height: auto;
  }
}

.pts-stick {
  display: grid;
  align-items: start;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: auto auto;
  padding: 9.7222222222vw var(--edge) 8.3333333333vw;
  -moz-column-gap: 5vw;
  column-gap: 5vw;
}
@media (min-width: 1024px) {
  .pts-stick {
    grid-template-columns: 1fr 27.7777777778vw;
  }
}
@media (max-width: 1023px) {
  .pts-stick {
    position: static;
    display: block;
    overflow: visible;
    height: auto;
    padding: min(12.8vw, 62.4px) var(--edge) min(2.1333333333vw, 10.4px);
  }
}

.pts-head {
  align-self: start;
  grid-column: 1;
  grid-row: 1;
}

.pts-head .lead {
  font-family: var(--mincho);
  font-size: var(--fz-h3);
  font-weight: 500;
  line-height: 1.3;
  letter-spacing: 0.04em;
  color: var(--text);
}

.pts-head h2 {
  margin-top: 2px;
  font-family: var(--mincho);
  font-size: var(--fz-h2);
  font-weight: 500;
  line-height: 1.12;
  letter-spacing: 0.04em;
  color: var(--text);
}

.pts-head h2 .big {
  margin-right: 0.1em;
  font-size: var(--fz-h1);
  line-height: 1;
}
@media (max-width: 1023px) {
  .pts-head h2 .big {
    font-size: var(--fz-display);
  }
}

.pts-body {
  margin-top: 8.3333333333vw;
  grid-column: 1;
  grid-row: 2;
}
@media (max-width: 1023px) {
  .pts-body {
    position: static;
    margin-top: 0;
  }
}

.ptx {
  position: relative;
}
@media (min-width: 1024px) {
  .ptx {
    display: grid;
    align-items: start;
    grid-template-columns: 11.1111111111vw 1fr;
    -moz-column-gap: 0px;
    column-gap: 0px;
  }
}
@media (max-width: 1023px) {
  .ptx {
    position: static;
    display: block;
    visibility: visible;
    margin-top: min(17.0666666667vw, 83.2px);
    opacity: 1;
    transition: none;
    pointer-events: auto;
  }
}

.ptx + .ptx {
  margin-top: 8.3333333333vw;
}
@media (max-width: 1023px) {
  .ptx + .ptx {
    margin-top: min(17.0666666667vw, 83.2px);
  }
}

.ptx .lbl {
  display: flex;
  align-items: center;
  padding-left: 0;
}
@media (min-width: 1024px) {
  .ptx .lbl {
    flex-direction: column;
    align-items: center;
    gap: 0.9722222222vw;
    gap: 0.4166666667vw;
    width: -moz-max-content;
    width: max-content;
    margin-bottom: 1.6666666667vw;
    margin-bottom: 0;
    white-space: nowrap;
    grid-column: 1;
  }
}
@media (max-width: 1023px) {
  .ptx .lbl {
    gap: 14px;
    margin-bottom: 24px;
    padding-left: min(2.1333333333vw, 10.4px);
  }
}

.ptx .lbl .no {
  font-family: var(--gothic);
  font-size: clamp(66.5px, 4.8611111111vw, 105px);
  font-weight: 600;
  line-height: 1;
  letter-spacing: 0.08em;
  color: var(--text);
}
@media (max-width: 1023px) {
  .ptx .lbl .no {
    font-size: var(--fz-h2);
  }
}

.ptx .lbl .cat {
  position: relative;
  margin-top: 0.8333333333vw;
  font-family: var(--mincho);
  font-size: var(--fz-lead);
  font-weight: 500;
  line-height: 1;
  letter-spacing: 0.08em;
  color: var(--text);
}
@media (max-width: 1023px) {
  .ptx .lbl .cat {
    margin-top: 0px;
    padding-left: 14px;
    font-size: var(--fz-h3);
  }
}
@media (min-width: 1024px) {
  .ptx .lbl .cat {
    padding-left: 0;
  }
}

.ptx .lbl .cat::before {
  position: absolute;
  top: 50%;
  left: 0;
  width: 1px;
  height: var(--fz-h3);
  background: var(--line);
  transform: translateY(calc(-50% + 2px));
  content: "";
}
@media (min-width: 1024px) {
  .ptx .lbl .cat::before {
    display: none;
  }
}

.ptx h3 {
  position: relative;
  max-width: clamp(494px, 36.1111111111vw, 780px);
  margin-top: 0;
  font-family: var(--mincho);
  font-size: var(--fz-h3);
  font-weight: 500;
  line-height: 2.3;
  letter-spacing: 0.04em;
  color: var(--text);
}
@media (min-width: 1024px) {
  .ptx h3 {
    grid-column: 2;
  }
}
@media (max-width: 1023px) {
  .ptx h3 {
    max-width: none;
    margin-top: min(2.1333333333vw, 10.4px);
    line-height: 1.9;
  }
}

.ptx h3 .hl {
  padding: 0.3em 0.5em;
  background: #ffffff;
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
}

.ptx h3 .hl .lat {
  margin-right: 0.04em;
  letter-spacing: 0.1em;
}

.ptx h3::after {
  position: absolute;
  background: var(--paper);
  transform: scaleX(1);
  transform-origin: right center;
  transition: transform 0.7s cubic-bezier(0.22, 0.61, 0.36, 1) 0.15s;
  pointer-events: none;
  inset: -0.35em -0.55em;
  content: "";
}

.ptx.is-revealed h3::after {
  transform: scaleX(0);
}

@media (prefers-reduced-motion: reduce) {
  .ptx h3::after {
    transform: scaleX(0);
    transition: none;
  }
}
.ptx p {
  margin-top: 1.6666666667vw;
  font-family: var(--mincho);
  font-size: var(--fz-body);
  line-height: var(--lh-body);
  letter-spacing: var(--ls-mincho);
  color: var(--text-body);
}
@media (min-width: 1024px) {
  .ptx p {
    grid-column: 2;
  }
}
@media (max-width: 1023px) {
  .ptx p {
    margin-top: min(6.4vw, 31.2px);
    line-height: 1.9;
  }
}

.ptx p + p {
  margin-top: 1.3888888889vw;
}
@media (max-width: 1023px) {
  .ptx p + p {
    margin-top: min(4.2666666667vw, 20.8px);
  }
}

.pts-imgwrap {
  position: sticky;
  top: 8.3333333333vw;
  overflow: hidden;
  align-self: start;
  width: min(100%, 100vh - 160px);
  height: auto;
  border-radius: 4px;
  aspect-ratio: 1/1;
  grid-column: 2;
  grid-row: 1/span 2;
}
@media (min-width: 1024px) {
  .pts-imgwrap {
    width: clamp(380px, 27.7777777778vw, 600px);
  }
}
@media (max-width: 1023px) {
  .pts-imgwrap {
    display: none;
  }
}

.pimg {
  position: absolute;
  visibility: hidden;
  opacity: 0;
  transition: opacity 0.6s ease;
  inset: 0;
}

.pimg.active {
  visibility: visible;
  opacity: 1;
}

.pimg img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
  object-fit: cover;
}

.sp-img {
  display: none;
}
@media (max-width: 1023px) {
  .sp-img {
    display: block;
    width: 100%;
    margin-top: min(8.5333333333vw, 41.6px);
    border-radius: 4px;
    aspect-ratio: 4/3;
    -o-object-fit: cover;
    object-fit: cover;
  }
}

/* ============ 職人の想い ============ */
.omoi {
  position: relative;
  padding: 3.8888888889vw 0 7.6388888889vw;
  background: var(--paper);
}
@media (max-width: 1023px) {
  .omoi {
    padding: min(25.6vw, 124.8px) 0;
  }
}

.omoi .inner {
  display: flex;
  align-items: flex-start;
  gap: 3.8888888889vw;
  padding-left: var(--edge);
}
@media (max-width: 1023px) {
  .omoi .inner {
    flex-direction: column;
    gap: min(12.8vw, 62.4px);
  }
}

.omoi .vt {
  flex: 0 0 auto;
  font-family: var(--mincho);
  font-size: var(--fz-h1);
  font-weight: 400;
  line-height: 1.15;
  letter-spacing: 0.2em;
  color: var(--text);
  writing-mode: vertical-rl;
}
@media (max-width: 1023px) {
  .omoi .vt {
    font-size: var(--fz-h2);
    letter-spacing: 0.1em;
    writing-mode: horizontal-tb;
  }
}

.omoi .right {
  flex: 1 1 auto;
  min-width: 0;
}

.omoi-view {
  overflow: hidden;
}
@media (min-width: 1024px) {
  .omoi-view {
    cursor: grab;
  }
  .omoi-view.is-dragging {
    cursor: grabbing;
  }
  .omoi-view.is-dragging .grid {
    transition: none;
  }
}
@media (max-width: 1023px) {
  .omoi-view {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x proximity;
    scrollbar-width: none;
  }
}

@media (max-width: 1023px) {
  .omoi-view::-webkit-scrollbar {
    display: none;
  }
}

.omoi .grid {
  display: flex;
  gap: 3.3333333333vw;
  transition: transform 0.5s ease;
  will-change: transform;
}
.omoi .grid::after {
  flex: 0 0 var(--edge);
  margin-left: -3.3333333333vw;
  content: "";
}
@media (max-width: 1023px) {
  .omoi .grid {
    display: flex;
    flex-direction: row;
    gap: min(6.4vw, 31.2px);
    transform: none !important;
  }
  .omoi .grid::after {
    margin-left: calc(-1 * min(6.4vw, 31.2px));
  }
}

.ocard {
  flex: 0 0 clamp(380px, 27.7777777778vw, 600px);
  max-width: clamp(380px, 27.7777777778vw, 600px);
}
@media (max-width: 1023px) {
  .ocard {
    flex: 0 0 78%;
    width: auto;
    max-width: none;
    scroll-snap-align: start;
  }
}

.ocard .th {
  overflow: hidden;
  width: 100%;
  margin-bottom: 1.6666666667vw;
  border-radius: 4px;
  aspect-ratio: 400/282;
}
@media (max-width: 1023px) {
  .ocard .th {
    height: auto;
    margin-bottom: min(6.4vw, 31.2px);
    aspect-ratio: 16/10;
  }
}

.ocard h4 {
  margin: 0 0 1.3888888889vw;
  font-family: var(--mincho);
  font-size: var(--fz-lead);
  font-weight: 500;
  line-height: 1.6;
  letter-spacing: 0.04em;
  color: var(--text);
}
@media (max-width: 1023px) {
  .ocard h4 {
    margin: 0 0 min(3.2vw, 15.6px);
  }
}

.ocard p {
  font-family: var(--mincho);
  font-size: var(--fz-body);
  line-height: var(--lh-body);
  letter-spacing: var(--ls-mincho);
  color: var(--text-body);
}

.ocard .sig {
  margin-top: 1.6666666667vw;
  font-family: var(--gothic);
  font-size: var(--fz-xs);
  font-weight: 500;
  letter-spacing: 0.06em;
  color: var(--muted);
}

.omoi .slider {
  display: none;
  align-items: center;
  gap: 1.8055555556vw;
  margin-top: 3.8888888889vw;
  margin-right: var(--edge);
}
@media (max-width: 1023px) {
  .omoi .slider {
    display: none !important;
  }
}

.omoi .slider.show {
  display: flex;
}

.omoi .track {
  position: relative;
  flex: 1 1 auto;
  height: 2px;
  background: #d9d7d0;
}

.omoi .track .fill {
  position: absolute;
  top: 0;
  width: 33%;
  height: 100%;
  background: var(--text);
  transition: left 0.4s ease, width 0.3s ease;
}

.omoi .arrows {
  display: flex;
  flex: 0 0 auto;
  gap: 0.6944444444vw;
}

/* 前後ナビは共通 .arw--lg（40px）。無効時の淡色化はJSが opacity を直接指定 */
/* ============ PRODUCT CATEGORY ============ */
.cat-sec {
  background: #ffffff;
}

.cat-sec:nth-of-type(even) {
  background: var(--paper);
}

.cat-hero {
  position: relative;
  overflow: hidden;
  height: auto;
  aspect-ratio: 1440/550;
}
@media (max-width: 1023px) {
  .cat-hero {
    position: static;
    overflow: visible;
    height: auto;
    aspect-ratio: auto;
  }
}

.cat-hero .chimg {
  position: absolute;
  top: -6.25vw;
  left: 0;
  width: 100%;
  height: calc(100% + 200px);
  transform: translate3d(0, var(--py, 0px), 0);
  will-change: transform;
}
@media (max-width: 1023px) {
  .cat-hero .chimg {
    position: relative;
    top: auto;
    left: auto;
    overflow: hidden;
    width: 100%;
    height: auto;
    transform: none;
    aspect-ratio: 4/3;
  }
}

.cat-hero .chimg img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
  object-fit: cover;
}
@media (max-width: 1023px) {
  .cat-hero .chimg img {
    position: absolute;
    top: calc(-1 * min(21.3333333333vw, 104px));
    left: 0;
    width: 100%;
    height: calc(100% + 160px);
    transform: translate3d(0, var(--py, 0px), 0);
    -o-object-fit: cover;
    object-fit: cover;
    will-change: transform;
  }
}

.cat-hero::after {
  position: absolute;
  z-index: 1;
  background: linear-gradient(90deg, rgba(0, 0, 0, 0.62) 0%, rgba(0, 0, 0, 0.25) 40%, rgba(0, 0, 0, 0.05) 100%);
  inset: 0;
  content: "";
}
@media (max-width: 1023px) {
  .cat-hero::after {
    display: none;
  }
}

.cat-hero .lbl {
  position: absolute;
  z-index: 3;
  bottom: 3.8888888889vw;
  left: var(--edge);
  max-width: clamp(532px, 38.8888888889vw, 840px);
  color: #ffffff;
}
@media (max-width: 1023px) {
  .cat-hero .lbl {
    position: static;
    right: auto;
    bottom: auto;
    left: auto;
    max-width: none;
    padding: min(6.4vw, 31.2px) var(--edge) 0;
    color: var(--ink);
  }
}

.cat-hero .lbl h2 {
  font-family: var(--mincho);
  font-size: var(--fz-h2);
  font-weight: 500;
  line-height: 1.3;
  letter-spacing: 0.04em;
}
@media (max-width: 1023px) {
  .cat-hero .lbl h2 {
    color: var(--ink);
  }
}

.cat-hero .lbl p {
  margin-top: 1.25vw;
  font-family: var(--mincho);
  font-size: var(--fz-body);
  font-weight: 500;
  line-height: 1.8;
  letter-spacing: var(--ls-mincho);
  color: rgba(255, 255, 255, 0.9);
}
@media (max-width: 1023px) {
  .cat-hero .lbl p {
    margin-top: min(3.2vw, 15.6px);
    color: var(--text-body);
  }
}

@media (max-width: 1023px) {
  .cat-hero .lbl p br {
    display: none;
  }
}

.cat-hero:has(.ph-dark)::after {
  display: none;
}

.cat-hero .ph-note {
  top: 50%;
  display: inline-flex;
  align-items: center;
  gap: 0.7638888889vw;
  padding: 0.7638888889vw 1.3888888889vw;
  font-size: var(--fz-xs);
  letter-spacing: 0.14em;
}

.cards {
  display: grid;
  gap: 2.7777777778vw;
  padding: 4.4444444444vw var(--edge) 6.1111111111vw;
}
@media (max-width: 1023px) {
  .cards {
    display: flex;
    overflow-x: auto;
    gap: min(6.4vw, 31.2px);
    padding: min(8.5333333333vw, 41.6px) var(--edge) min(12.8vw, 62.4px);
    -webkit-overflow-scrolling: touch;
    scroll-padding-left: var(--edge);
    scroll-snap-type: x proximity;
    scrollbar-width: none;
  }
}

@media (max-width: 1023px) {
  .cards::-webkit-scrollbar {
    display: none;
  }
}

.cards.c3 {
  grid-template-columns: repeat(3, 1fr);
}
@media (max-width: 1023px) {
  .cards.c3 {
    max-width: none;
  }
}

.cards.c2 {
  grid-template-columns: repeat(2, 1fr);
  max-width: clamp(855px, 62.5vw, 1350px);
}
@media (max-width: 1023px) {
  .cards.c2 {
    max-width: none;
  }
}

.cards.c2 .pcard .thumb {
  aspect-ratio: 334/270;
}
@media (max-width: 1023px) {
  .cards.c2 .pcard .thumb {
    aspect-ratio: 334/270;
  }
}

@media (max-width: 1023px) {
  .pcard {
    flex: 0 0 58%;
    scroll-snap-align: start;
  }
}
@media (max-width: 560px) {
  .pcard {
    flex: 0 0 64%;
  }
}

.pcard .thumb {
  overflow: hidden;
  width: 100%;
  border-radius: 4px;
  background: #f0efeb;
  aspect-ratio: 389/270;
}
@media (max-width: 1023px) {
  .pcard .thumb {
    height: auto;
    aspect-ratio: 389/270;
  }
}
@media (max-width: 560px) {
  .pcard .thumb {
    aspect-ratio: 389/270;
  }
}

.pcard .thumb img {
  transition: transform 0.6s ease;
  -o-object-position: var(--thumb-pos, 50%) 50%;
  object-position: var(--thumb-pos, 50%) 50%;
}

.pcard:hover .thumb img {
  transform: scale(1.05);
}

.pcard h4 {
  margin: 1.5277777778vw 0 0.5555555556vw;
  font-family: var(--gothic);
  font-size: var(--fz-md);
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--text);
}
@media (max-width: 1023px) {
  .pcard h4 {
    margin: min(3.7333333333vw, 18.2px) 0 min(2.1333333333vw, 10.4px);
  }
}

.pcard p {
  font-family: var(--mincho);
  font-size: var(--fz-body);
  line-height: 1.85;
  letter-spacing: 0.04em;
  color: #565656;
}
@media (max-width: 1023px) {
  .pcard p {
    line-height: 1.75;
  }
}

.pcard-shop {
  display: inline-flex;
  align-items: center;
  gap: 0.4166666667vw;
  margin-top: 0.9722222222vw;
  font-family: var(--gothic);
  font-size: var(--fz-xs);
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--enji);
  transition: opacity 0.25s ease;
  --ext-size: clamp(11.4px, 0.8333333333vw, 18px);
}

.pcard-shop:hover {
  color: var(--enji);
  opacity: 0.7;
}

.cat-slider {
  padding-top: 4.4444444444vw;
}
@media (max-width: 1023px) {
  .cat-slider {
    padding-top: min(8.5333333333vw, 41.6px);
  }
}

.cat-slider__nav {
  display: flex;
  justify-content: flex-end;
  gap: 0.8333333333vw;
  width: var(--inner);
  margin: 0 auto 1.6666666667vw;
}
@media (max-width: 1023px) {
  .cat-slider__nav {
    display: none;
  }
}

.cat-slider__viewport {
  overflow: hidden;
  width: var(--inner);
  padding-bottom: 6.1111111111vw;
  margin-inline: auto;
}
@media (min-width: 1024px) {
  .cat-slider__viewport {
    width: 86.6666666667vw;
  }
}
@media (max-width: 1023px) {
  .cat-slider__viewport {
    overflow: visible;
    width: auto;
    padding: 0;
    margin-inline: 0;
  }
}

@media (max-width: 1023px) {
  .cat-slider__track {
    display: flex;
    overflow-x: auto;
    overflow-y: hidden;
    gap: min(6.4vw, 31.2px);
    padding: min(8.5333333333vw, 41.6px) var(--edge) min(12.8vw, 62.4px);
    box-sizing: border-box;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x proximity;
    scroll-padding-left: var(--edge);
    scrollbar-width: none;
  }
}

@media (max-width: 1023px) {
  .cat-slider__track::-webkit-scrollbar {
    display: none;
  }
}

.cat-slider .pcard {
  height: auto;
}
@media (max-width: 1023px) {
  .cat-slider .pcard {
    flex: 0 0 58%;
    width: auto;
    scroll-snap-align: start;
  }
}
@media (max-width: 560px) {
  .cat-slider .pcard {
    flex: 0 0 64%;
  }
}