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

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

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

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

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

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

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

/* ============ FV HERO（精肉 KV に一致） ============ */
/* .p-product-kv PCベースは _companyComponents.scss に共通化。以下は tategamori 固有（暗幕・影） */
.p-product-kv::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  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%);
}

.p-product-kv__title-jp {
  line-height: 1.35;
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.4);
}

.p-product-kv__title-jp .br-sp {
  display: none;
}

.p-product-kv__title-en {
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.4);
}

/* ============ LEAD (dark intro) ============ */
.intro {
  position: relative;
  z-index: 2;
  margin-top: -96px;
  will-change: transform;
  background: var(--ink);
  color: #fff;
  text-align: center;
  padding: 128px var(--edge) 104px;
}

.intro h2 {
  font-family: var(--mincho);
  font-weight: 500;
  font-size: 34px;
  letter-spacing: 0.04em;
  line-height: 1.5;
}

.intro p {
  font-family: var(--mincho);
  font-size: 16px;
  line-height: var(--lh-body);
  letter-spacing: var(--ls-mincho);
  margin-top: 36px;
  max-width: 820px;
  margin-left: auto;
  margin-right: auto;
  color: rgba(255, 255, 255, 0.85);
  text-wrap: pretty;
}

/* ============ 5つのポイント ============ */
.points {
  background: var(--paper);
}

.pts-track {
  position: relative;
  height: 560vh;
}

.pts-stick {
  position: sticky;
  top: 0;
  height: 100vh;
  padding: 140px var(--edge) 88px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  -moz-column-gap: 72px;
  column-gap: 72px;
  grid-template-rows: auto minmax(0, 1fr);
  overflow: hidden;
}

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

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

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

.pts-head h2 .big {
  font-size: 74px;
  line-height: 1;
  margin-right: 0.02em;
}

.pts-body {
  grid-column: 1;
  grid-row: 2;
  position: relative;
  margin-top: 40px;
}

.ptx {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.6s ease;
  pointer-events: none;
}

.ptx.active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.ptx .lbl {
  display: flex;
  align-items: baseline;
  gap: 14px;
  padding-left: 16px;
}

.ptx .lbl .no {
  font-family: var(--gothic);
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.1em;
  color: var(--text);
}

.ptx .lbl .cat {
  font-family: var(--gothic);
  font-weight: 500;
  font-size: 15px;
  letter-spacing: 0.08em;
  color: var(--text);
}

.ptx h3 {
  position: relative;
  font-family: var(--mincho);
  font-weight: 500;
  font-size: 30px;
  letter-spacing: 0.04em;
  line-height: 2.3;
  margin-top: 8px;
  color: var(--text);
  max-width: 520px;
}

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

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

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

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

@media (prefers-reduced-motion: reduce) {
  .ptx h3::after {
    transform: scaleX(0);
    transition: none;
  }
}
.ptx p {
  font-family: var(--mincho);
  font-size: 16px;
  line-height: var(--lh-body);
  letter-spacing: var(--ls-mincho);
  color: var(--text-body);
  margin-top: 24px;
  text-wrap: pretty;
}

.ptx p + p {
  margin-top: 20px;
}

.pts-imgwrap {
  grid-column: 2;
  grid-row: 1/span 2;
  position: relative;
  border-radius: 4px;
  overflow: hidden;
}

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

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

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

.sp-img {
  display: none;
}

/* ============ 職人の想い ============ */
.omoi {
  background: var(--paper);
  padding: 56px var(--edge) 110px;
  position: relative;
}

.omoi .inner {
  display: flex;
  gap: 56px;
  align-items: flex-start;
}

.omoi .vt {
  writing-mode: vertical-rl;
  font-family: var(--mincho);
  font-weight: 400;
  font-size: 52px;
  letter-spacing: 0.2em;
  line-height: 1.15;
  color: var(--text);
  flex: 0 0 auto;
}

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

.omoi-view {
  overflow: hidden;
}

.omoi .grid {
  display: flex;
  gap: 48px;
  transition: transform 0.5s ease;
  will-change: transform;
}

.ocard {
  flex: 0 0 340px;
  max-width: 340px;
}

.ocard .th {
  width: 100%;
  height: 240px;
  border-radius: 4px;
  overflow: hidden;
  margin-bottom: 24px;
}

.ocard h4 {
  font-family: var(--mincho);
  font-weight: 500;
  font-size: 22px;
  letter-spacing: 0.04em;
  line-height: 1.6;
  margin: 0 0 20px;
  color: var(--text);
}

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

.ocard .sig {
  font-family: var(--gothic);
  font-weight: 500;
  font-size: 13px;
  letter-spacing: 0.06em;
  color: var(--muted);
  margin-top: 24px;
}

.omoi .slider {
  display: none;
  align-items: center;
  gap: 26px;
  margin-top: 56px;
}

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

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

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

.omoi .arrows {
  display: flex;
  gap: 10px;
  flex: 0 0 auto;
}

.omoi .arrows i {
  width: 44px;
  height: 44px;
  border-radius: 7px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.omoi .arrows i.prev {
  background: #ecd2db;
}

.omoi .arrows i.next {
  background: var(--enji);
}

.omoi .arrows svg {
  width: 14px;
  height: 14px;
  fill: none;
  stroke-width: 2;
  stroke-linejoin: round;
}

.omoi .arrows i.prev svg {
  stroke: var(--enji);
}

.omoi .arrows i.next svg {
  stroke: #fff;
}

/* ============ PRODUCT CATEGORY ============ */
.cat-sec {
  background: #fff;
}

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

.cat-hero {
  position: relative;
  height: 440px;
  overflow: hidden;
}

.cat-hero .chimg {
  position: absolute;
  left: 0;
  top: -50px;
  width: 100%;
  height: calc(100% + 100px);
  will-change: transform;
}

.cat-hero .chimg img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
  object-fit: cover;
}

.cat-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  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%);
}

.cat-hero .lbl {
  position: absolute;
  left: var(--edge);
  bottom: 56px;
  z-index: 3;
  color: #fff;
  max-width: 560px;
}

.cat-hero .lbl h2 {
  font-family: var(--mincho);
  font-weight: 500;
  font-size: 40px;
  letter-spacing: 0.04em;
  line-height: 1.3;
}

.cat-hero .lbl p {
  font-family: var(--gothic);
  font-weight: 500;
  font-size: 15px;
  line-height: 1.8;
  letter-spacing: 0.04em;
  margin-top: 18px;
  color: rgba(255, 255, 255, 0.9);
  text-wrap: pretty;
}

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

.cat-hero .ph-note {
  top: 50%;
  display: inline-flex;
  align-items: center;
  gap: 11px;
  font-size: 13px;
  letter-spacing: 0.14em;
  padding: 11px 20px;
}

.cards {
  display: grid;
  gap: 40px;
  padding: 64px var(--edge) 88px;
}

.cards.c3 {
  grid-template-columns: repeat(3, 1fr);
}

.cards.c2 {
  grid-template-columns: repeat(2, 1fr);
  max-width: 900px;
}

.pcard .thumb {
  width: 100%;
  height: 270px;
  border-radius: 4px;
  overflow: hidden;
  background: #f0efeb;
}

.pcard .thumb img {
  transition: transform 0.6s ease;
}

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

.pcard h4 {
  font-family: var(--gothic);
  font-weight: 500;
  font-size: 20px;
  letter-spacing: 0.04em;
  color: var(--text);
  margin: 22px 0 12px;
}

.pcard p {
  font-family: var(--mincho);
  font-size: 15px;
  line-height: 1.85;
  letter-spacing: 0.04em;
  color: #565656;
  text-wrap: pretty;
}

/* ==================== RESPONSIVE (≤1023px) ==================== */
@media (max-width: 1023px) {
  .p-product-kv {
    height: 460px;
  }
  .p-product-kv__title {
    bottom: 56px;
    padding-left: 24px;
    padding-right: 24px;
  }
  .p-product-kv__title-jp {
    font-size: 30px;
    letter-spacing: 0.08em;
  }
  .p-product-kv__title-jp .br-sp {
    display: inline;
  }
  .p-product-kv__title-en {
    font-size: 16px;
  }
  .intro {
    margin-top: -48px;
    padding: 64px var(--edge) 64px;
  }
  .intro h2 {
    font-size: 22px;
    line-height: 1.6;
  }
  .intro p {
    font-size: 14px;
    line-height: 2.1;
    margin-top: 24px;
  }
  .intro p br {
    display: none;
  }
  .points {
    padding: 0;
  }
  .pts-track {
    height: auto;
  }
  .pts-stick {
    position: static;
    height: auto;
    padding: 48px var(--edge) 8px;
    display: block;
    overflow: visible;
  }
  .pts-head .lead {
    font-size: 21px;
  }
  .pts-head h2 {
    font-size: 32px;
  }
  .pts-head h2 .big {
    font-size: 44px;
  }
  .pts-body {
    position: static;
    margin-top: 0;
  }
  .ptx {
    position: static;
    display: block;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transition: none;
    margin-top: 64px;
  }
  .ptx h3 {
    font-size: 19px;
    line-height: 2.15;
    margin-top: 8px;
    max-width: none;
  }
  .ptx h3::after {
    transform: scaleX(0);
    transition: none;
  }
  .ptx p {
    font-size: 13px;
    line-height: 1.9;
    margin-top: 24px;
  }
  .ptx p + p {
    margin-top: 16px;
  }
  .ptx .lbl {
    padding-left: 8px;
  }
  .ptx .lbl .cat {
    font-size: 13px;
  }
  .pts-imgwrap {
    display: none;
  }
  .sp-img {
    display: block;
    width: 100%;
    aspect-ratio: 4/3;
    -o-object-fit: cover;
    object-fit: cover;
    border-radius: 4px;
    margin-top: 32px;
  }
  .omoi {
    padding: 96px 0 96px var(--edge);
  }
  .omoi .inner {
    flex-direction: column;
    gap: 48px;
  }
  .omoi .vt {
    writing-mode: horizontal-tb;
    font-size: 30px;
    letter-spacing: 0.1em;
  }
  .omoi-view {
    overflow-x: auto;
    scroll-snap-type: x proximity;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .omoi-view::-webkit-scrollbar {
    display: none;
  }
  .omoi .grid {
    display: flex;
    flex-direction: row;
    gap: 24px;
    transform: none !important;
  }
  .ocard {
    flex: 0 0 78%;
    max-width: none;
    width: auto;
    scroll-snap-align: start;
  }
  .ocard .th {
    height: auto;
    aspect-ratio: 16/10;
    margin-bottom: 24px;
  }
  .ocard h4 {
    font-size: 18px;
    margin: 0 0 12px;
  }
  .ocard p {
    font-size: 14px;
  }
  .omoi .slider {
    display: none !important;
  }
  .cat-hero {
    position: static;
    height: auto;
    aspect-ratio: auto;
    overflow: visible;
  }
  .cat-hero .chimg {
    position: relative;
    left: auto;
    top: auto;
    width: 100%;
    height: auto;
    aspect-ratio: 4/3;
    overflow: hidden;
    transform: none !important;
  }
  .cat-hero::after {
    display: none;
  }
  .cat-hero .lbl {
    position: static;
    left: auto;
    right: auto;
    bottom: auto;
    max-width: none;
    color: var(--ink);
    padding: 24px var(--edge) 0;
  }
  .cat-hero .lbl h2 {
    font-size: 26px;
    color: var(--ink);
  }
  .cat-hero .lbl p {
    font-size: 13px;
    margin-top: 12px;
    color: var(--muted);
  }
  .cat-hero .lbl p br {
    display: none;
  }
  .cards {
    display: flex;
    gap: 24px;
    padding: 32px var(--edge) 48px;
    scroll-padding-left: var(--edge);
    overflow-x: auto;
    scroll-snap-type: x proximity;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .cards::-webkit-scrollbar {
    display: none;
  }
  .cards.c3,
  .cards.c2 {
    max-width: none;
  }
  .pcard {
    flex: 0 0 58%;
    scroll-snap-align: start;
  }
  .pcard .thumb {
    height: auto;
    aspect-ratio: 1/1;
  }
  .pcard h4 {
    font-size: 16px;
    margin: 14px 0 8px;
  }
  .pcard p {
    font-size: 12.5px;
    line-height: 1.75;
  }
}
@media (max-width: 560px) {
  .pcard {
    flex: 0 0 64%;
  }
  .pcard .thumb {
    aspect-ratio: 1/1;
  }
}