@charset "UTF-8";
/* Farm/buy デザイントークン
-----------------------------------------------------------------*/
/* イージング
-----------------------------------------------------------------*/
/* デュレーション
-----------------------------------------------------------------*/
/* ============================================================
   法人の方へ（/company/corporation/）専用CSS
   ・受領 scss/page/_corp.scss を移植。色/フォント/級数は company_common.css のトークン
     （$c-ink→--text-body / $c-btn-black→--text / $c-dark→--ink / $c-gray→--muted /
       $c-ph→--line / $c-cta→--enji #ab0033 ／ 受領の #a80030 は旧値なので統一）
   ・.phead--band / .cta / .arw / .breadcrumb / .news-row / .more-link / .tag /
     .zoom / .c-section-title / .c-product-slider は共通（module/_companyComponents.scss）
   ・横幅は「型1: width:var(--inner)」か「型3: padding-inline:var(--edge-band)」の
     どちらか一方。max-width と横paddingの併記は禁止（company_common.scss 参照）
   ・読み込み順: common → company_common → 本CSS
   ・写真・原稿は未確定（既存画像の仮当て。Pug のコメント参照）
   ・受領デザインからの変更: 循環型農業＝全面ビジュアルスライダー /
     アークの生産品＝カードグリッド に見せ方（器）を入れ替えている
============================================================ */
/* ---- ページ固有リセット ---- */
* {
  box-sizing: border-box;
}

h1,
h2,
h3,
p,
figure,
picture {
  margin: 0;
}

img {
  max-width: 100%;
  height: auto;
  vertical-align: bottom;
}

/* ============ 本体 .p-corp ============ */
.p-corp {
  background: #f2f2f2;
  font-family: var(--mincho);
  color: var(--text-body);
}

/* ============ 追従CTA（このページ限定。共通化しない）============
   受領の .p-corp-kv__contact。実体は全画面追従なので独立させた。
   z-index はヘッダー(100)より下に置く */
.p-corp-contactFab {
  position: fixed;
  right: 1.3888888889vw;
  bottom: 1.3888888889vw;
  z-index: 90;
  display: flex;
  align-items: center;
  justify-content: center;
  width: clamp(114px, 8.3333333333vw, 180px);
  height: clamp(114px, 8.3333333333vw, 180px);
  border-radius: 50%;
  background: var(--ink);
  color: #fff;
  font-family: var(--gothic);
  font-size: var(--fz-body);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-decoration: none;
  transition: opacity 0.4s ease, visibility 0.4s ease, background-color 0.25s ease, transform 0.25s ease;
}
.p-corp-contactFab:hover {
  background: var(--enji);
  transform: scale(1.05);
}
@media print, screen and (max-width:1023px), screen and (min-width:1024px) and (max-width:1024px) and (orientation: portrait) {
  .p-corp-contactFab {
    /* 追従CTA: 円 → 横長 */
    width: min(42.6666666667vw, 208px);
    height: min(13.8666666667vw, 67.6px);
    border-radius: 26px;
  }
}

/* フッターが画面に入ったらふわっと退避する
   （付け外しは company_corporation.js の initContactFab） */
.p-corp-contactFab.is-hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

@media (prefers-reduced-motion: reduce) {
  .p-corp-contactFab {
    transition: none;
  }
  .p-corp-contactFab:hover {
    transform: none;
  }
}
/* ============ ① ページ見出し ============
   .phead--band（共通）をそのまま使う。ページ側は下余白だけ持つ */
/* ============ ② お知らせ ============
   受領は .p-corp-news と .p-info-news の両方が container の二重ネストだったので、
   縦余白（section）と型1のパネル（__panel）の2階層に整理した */
.p-corp-news {
  padding-top: var(--section-y);
}

.p-corp-news__panel {
  width: var(--inner);
  margin-inline: auto;
  background: #fff;
  border-radius: 14px;
  padding: 3.3333333333vw 3.3333333333vw 3.8888888889vw;
}
@media (min-width: 1024px) {
  .p-corp-news__panel {
    width: 86.6666666667vw;
  }
}
@media print, screen and (max-width:1023px), screen and (min-width:1024px) and (max-width:1024px) and (orientation: portrait) {
  .p-corp-news__panel {
    border-radius: 10px;
    padding: min(8.5333333333vw, 41.6px) min(5.3333333333vw, 26px) min(10.6666666667vw, 52px);
    display: flex;
    flex-direction: column;
  }
}

.p-corp-news__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1.6666666667vw;
  margin-bottom: 1.6666666667vw;
}
@media print, screen and (max-width:1023px), screen and (min-width:1024px) and (max-width:1024px) and (orientation: portrait) {
  .p-corp-news__head {
    display: contents;
  }
}

@media print, screen and (max-width:1023px), screen and (min-width:1024px) and (max-width:1024px) and (orientation: portrait) {
  .p-corp-news__head .c-section-title {
    order: 0;
    margin-bottom: min(5.3333333333vw, 26px);
  }
}

.p-corp-news a {
  text-decoration: none;
}

@media print, screen and (max-width:1023px), screen and (min-width:1024px) and (max-width:1024px) and (orientation: portrait) {
  .p-corp-news .news-row {
    order: 1;
  }
}

@media print, screen and (max-width:1023px), screen and (min-width:1024px) and (max-width:1024px) and (orientation: portrait) {
  .p-corp-news__head .more-link {
    order: 2;
    align-self: flex-end;
    margin-top: min(6.4vw, 31.2px);
  }
}

/* ============ ③ 循環型農業への取り組み（全面ビジュアルスライダー）============
   Swiper 8 fade + thumbs。JS は company_corporation.js（initCorpCycle）。
   ※ セレクタは __stage に絞る（.p-corp-cycle .swiper だとサムネ側も absolute になる） */
.p-corp-cycle {
  position: relative;
  height: 100vh;
  height: 100dvh;
  margin-top: var(--section-y);
  background: var(--ink);
}
@media print, screen and (max-width:1023px), screen and (min-width:1024px) and (max-width:1024px) and (orientation: portrait) {
  .p-corp-cycle {
    height: 100vh;
    height: 100svh;
  }
}

.p-corp-cycle__stage.swiper {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.p-corp-cycle__slide {
  transition-property: opacity;
}

.p-corp-cycle__slide:not(.swiper-slide-active) {
  pointer-events: none;
}

.p-corp-cycle__bg {
  position: absolute;
  inset: 0;
  display: block;
}
.p-corp-cycle__bg img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
  object-fit: cover;
}

/* 左を濃くする暗幕（白文字の可読性）。
   /company/message/ のヒーロー（.62 / .26 / 0）を基準にしつつ、こちらは
   明るい食品写真の上に見出し・リード・ボタンを3段重ねるので濃さと範囲を上げている */
.p-corp-cycle__scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(0, 0, 0, 0.72) 0%, rgba(0, 0, 0, 0.42) 50%, rgba(0, 0, 0, 0) 86%);
}
@media print, screen and (max-width:1023px), screen and (min-width:1024px) and (max-width:1024px) and (orientation: portrait) {
  .p-corp-cycle__scrim {
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.58) 0%, rgba(0, 0, 0, 0.4) 42%, rgba(0, 0, 0, 0.5) 100%);
  }
}

.p-corp-cycle__inner {
  position: relative;
  z-index: 1;
  height: 100%;
  padding-inline: var(--edge);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  padding-top: 8.8888888889vw;
}
@media print, screen and (max-width:1023px), screen and (min-width:1024px) and (max-width:1024px) and (orientation: portrait) {
  .p-corp-cycle__inner {
    text-align: center;
    align-items: center;
    justify-content: center;
    padding-top: 0;
  }
}

/* セクション見出し（全スライド共通・同文。inner内の先頭に置く）*/
.p-corp-cycle__heading {
  margin-bottom: 4.4444444444vw;
  font-family: var(--mincho);
  font-weight: 500;
  font-size: var(--fz-h2);
  line-height: var(--lh-head);
  letter-spacing: var(--ls-mincho);
  color: #fff;
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.3);
}
@media print, screen and (max-width:1023px), screen and (min-width:1024px) and (max-width:1024px) and (orientation: portrait) {
  .p-corp-cycle__heading {
    margin-bottom: min(21.3333333333vw, 104px);
  }
}

.p-corp-cycle__cat {
  align-self: flex-start;
  display: inline-block;
  border: 1px solid rgba(255, 255, 255, 0.9);
  padding: 0.4166666667vw 0.9722222222vw;
  font-family: var(--gothic);
  font-weight: 700;
  font-size: var(--fz-xs);
  letter-spacing: var(--ls-gothic);
  color: #fff;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.5);
}
@media print, screen and (max-width:1023px), screen and (min-width:1024px) and (max-width:1024px) and (orientation: portrait) {
  .p-corp-cycle__cat {
    align-self: center;
  }
}

.p-corp-cycle__title {
  margin-top: 0.8333333333vw;
  font-family: var(--mincho);
  font-weight: 500;
  font-size: var(--fz-h2);
  line-height: var(--lh-tight);
  letter-spacing: 0.14em;
  color: #fff;
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.3);
}

.p-corp-cycle__lead {
  margin-top: 0.4166666667vw;
  font-size: var(--fz-lead);
  line-height: var(--lh-lead);
  letter-spacing: var(--ls-mincho);
  color: #fff;
  text-shadow: 0 1px 10px rgba(0, 0, 0, 0.5);
}
@media print, screen and (max-width:1023px), screen and (min-width:1024px) and (max-width:1024px) and (orientation: portrait) {
  .p-corp-cycle__lead {
    margin-top: min(4.2666666667vw, 20.8px);
  }
}

.p-corp-cycle__inner .cta {
  align-self: flex-start;
  margin-top: 2.7777777778vw;
}
@media print, screen and (max-width:1023px), screen and (min-width:1024px) and (max-width:1024px) and (orientation: portrait) {
  .p-corp-cycle__inner .cta {
    align-self: auto;
    margin: min(10.6666666667vw, 52px) auto 0;
    width: 100%;
  }
}

/* 下部コントロール（左＝サムネイル / 右＝前後矢印）。PCは画像下端に重ねる */
.p-corp-cycle__controls {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 2.7777777778vw;
  z-index: 2;
  padding-inline: var(--edge-band);
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.1111111111vw;
}
@media print, screen and (max-width:1023px), screen and (min-width:1024px) and (max-width:1024px) and (orientation: portrait) {
  .p-corp-cycle__controls {
    display: none;
  }
}

.p-corp-cycle__thumbs.swiper {
  flex: 1 1 auto;
  min-width: 0;
}

/* サムネイル＝画像＋その下にタイトル。.swiper-slide の width:100% を上書きするため2クラス重ね */
.p-corp-cycle__thumb.swiper-slide {
  width: clamp(125.4px, 9.1666666667vw, 198px);
  height: auto;
  display: flex;
  flex-direction: column;
  gap: 0.6944444444vw;
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
  opacity: 0.6;
  transition: opacity 0.25s ease;
}

.p-corp-cycle__thumb.swiper-slide-thumb-active {
  opacity: 1;
}

.p-corp-cycle__thumb-img {
  aspect-ratio: 1.6923076923;
  overflow: hidden;
  border-radius: 4px;
  background: var(--line);
  transition: outline-color 0.2s ease;
}
.p-corp-cycle__thumb-img > img,
.p-corp-cycle__thumb-img > svg,
.p-corp-cycle__thumb-img > iframe,
.p-corp-cycle__thumb-img > video {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
  object-fit: cover;
}

.p-corp-cycle__thumb-label {
  font-family: var(--gothic);
  font-size: var(--fz-xs);
  line-height: 1.35;
  letter-spacing: 0.02em;
  color: #fff;
  text-align: left;
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.7);
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
}

.p-corp-cycle__thumb.swiper-slide-thumb-active .p-corp-cycle__thumb-label {
  font-weight: 700;
}

.p-corp-cycle__arrows {
  display: flex;
  gap: 0.8333333333vw;
  flex: none;
}

/* 現在地ドット（SP限定。PCはサムネがカレントを示す）
   Swiper の pagination CSS は企業側で読み込まないため bullet の見た目は自前で持つ */
.p-corp-cycle__dots {
  display: none;
}
@media print, screen and (max-width:1023px), screen and (min-width:1024px) and (max-width:1024px) and (orientation: portrait) {
  .p-corp-cycle__dots {
    position: absolute;
    left: 0;
    right: 0;
    bottom: min(8.5333333333vw, 41.6px);
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: min(2.1333333333vw, 10.4px);
  }
}

@media print, screen and (max-width:1023px), screen and (min-width:1024px) and (max-width:1024px) and (orientation: portrait) {
  .p-corp-cycle__dot {
    width: min(1.8666666667vw, 9.1px);
    height: min(1.8666666667vw, 9.1px);
    padding: 0;
    border: none;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.5);
    box-shadow: 0 0 6px rgba(0, 0, 0, 0.25);
    cursor: pointer;
    transition: background 0.4s ease;
  }
}

@media print, screen and (max-width:1023px), screen and (min-width:1024px) and (max-width:1024px) and (orientation: portrait) {
  .p-corp-cycle__dot.is-active {
    background: #fff;
  }
}

.p-corp-cycle__lead .lead-sp-br {
  display: none;
}
@media print, screen and (max-width:1023px), screen and (min-width:1024px) and (max-width:1024px) and (orientation: portrait) {
  .p-corp-cycle__lead .lead-sp-br {
    display: inline;
  }
}

/* ============ ④ 生産品への導線 ============
   .links / .lcard は共通（module/_companyComponents.scss。企業TOPと共用）。
   ここでは前後のセクションに合わせた縦余白だけ持つ。
   共通側は下余白を持たない（TOPは白背景のブログが続く）が、こちらは次が
   よくある質問（地色）なので、白背景を終わらせる分の余白を足す */
.p-corp-links {
  padding-bottom: 6.6666666667vw;
}
@media print, screen and (max-width:1023px), screen and (min-width:1024px) and (max-width:1024px) and (orientation: portrait) {
  .p-corp-links {
    padding-top: min(14.9333333333vw, 72.8px);
    padding-bottom: min(14.9333333333vw, 72.8px);
  }
}

/* ============ ⑤ お客様とのお取り組み ============ */
.p-corp-cases {
  background: #fff;
  padding: 7.7777777778vw 0 8.3333333333vw;
  overflow-x: clip;
}
@media print, screen and (max-width:1023px), screen and (min-width:1024px) and (max-width:1024px) and (orientation: portrait) {
  .p-corp-cases {
    padding: min(19.2vw, 93.6px) 0 min(21.3333333333vw, 104px);
  }
}

.p-corp-cases__inner {
  width: var(--inner);
  margin-inline: auto;
}

.p-corp-cases .cta-wrap {
  margin-top: 4.4444444444vw;
}
@media print, screen and (max-width:1023px), screen and (min-width:1024px) and (max-width:1024px) and (orientation: portrait) {
  .p-corp-cases .cta-wrap {
    margin-top: min(10.6666666667vw, 52px);
  }
}

/* 事例カードは共通(400px)より狭い。カード比も違うので中身はページ側で持つ */
.p-corp-cases .c-product-slider__card {
  width: clamp(323px, 23.6111111111vw, 510px);
}
@media print, screen and (max-width:1023px), screen and (min-width:1024px) and (max-width:1024px) and (orientation: portrait) {
  .p-corp-cases .c-product-slider__card {
    width: 72vw;
  }
}

.p-corp-case-card__img {
  aspect-ratio: 1.4482758621;
  overflow: hidden;
  border-radius: 4px;
  background: #e5e5e5;
}
.p-corp-case-card__img > img,
.p-corp-case-card__img > svg,
.p-corp-case-card__img > iframe,
.p-corp-case-card__img > video {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
  object-fit: cover;
}

.p-corp-case-card__title {
  margin-top: 1.3888888889vw;
  font-family: var(--gothic);
  font-size: var(--fz-md);
  font-weight: 500;
  line-height: 1.7;
  letter-spacing: var(--ls-gothic);
  color: var(--text-body);
}

@media (hover: hover) {
  .p-corp-cases .c-product-slider__card:hover .p-corp-case-card__title {
    color: var(--enji);
  }
}
/* ============ ⑥ よくある質問 ============
   開閉は共有 common.js の汎用アコーディオン（.js-accordion / jQuery slideUp・slideDown）。
   受領の max-height トランジションは使わず、__a は display:none 起点にする */
.p-corp-faq {
  padding: 8.8888888889vw 0 9.7222222222vw;
}
@media print, screen and (max-width:1023px), screen and (min-width:1024px) and (max-width:1024px) and (orientation: portrait) {
  .p-corp-faq {
    padding: min(21.3333333333vw, 104px) 0 min(23.4666666667vw, 114.4px);
  }
}

.p-corp-faq__head {
  text-align: center;
  margin-bottom: 3.8888888889vw;
}
@media print, screen and (max-width:1023px), screen and (min-width:1024px) and (max-width:1024px) and (orientation: portrait) {
  .p-corp-faq__head {
    margin-bottom: min(8.5333333333vw, 41.6px);
  }
}

.p-corp-faq__panel {
  width: min(960px, 100% - 2 * var(--edge));
  margin-inline: auto;
  border-top: 1px solid var(--line);
}
@media (min-width: 1024px) {
  .p-corp-faq__panel {
    width: 66.6666666667vw;
  }
}

.p-corp-faq__item {
  border-bottom: 1px solid var(--line);
}

.p-corp-faq__q {
  display: flex;
  align-items: center;
  gap: 1.3888888889vw;
  width: 100%;
  padding: 1.9444444444vw 0.5555555556vw;
  border: 0;
  background: none;
  text-align: left;
  cursor: pointer;
  font-family: var(--gothic);
  color: var(--text-body);
}
@media print, screen and (max-width:1023px), screen and (min-width:1024px) and (max-width:1024px) and (orientation: portrait) {
  .p-corp-faq__q {
    gap: min(3.7333333333vw, 18.2px);
    padding: min(5.3333333333vw, 26px) min(1.0666666667vw, 5.2px);
  }
}

.p-corp-faq__mark {
  flex: none;
  font-family: var(--mono);
  font-size: var(--fz-lead);
  line-height: 1;
  color: var(--enji);
}
.p-corp-faq__qtext {
  flex: 1;
  font-size: var(--fz-md);
  font-weight: 500;
  line-height: 1.6;
  letter-spacing: var(--ls-gothic);
}
/* 右端の開閉トグル（＋ → 開くと −）*/
.p-corp-faq__toggle {
  position: relative;
  flex: none;
  width: clamp(17.1px, 1.25vw, 27px);
  height: clamp(17.1px, 1.25vw, 27px);
}
.p-corp-faq__toggle::before, .p-corp-faq__toggle::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  background: var(--text);
  transition: transform 0.25s ease, opacity 0.2s ease;
}
.p-corp-faq__toggle::before {
  width: clamp(17.1px, 1.25vw, 27px);
  height: 1.5px;
  transform: translate(-50%, -50%);
}
.p-corp-faq__toggle::after {
  width: 1.5px;
  height: clamp(17.1px, 1.25vw, 27px);
  transform: translate(-50%, -50%);
}

.p-corp-faq__item.is-open .p-corp-faq__toggle::after {
  transform: translate(-50%, -50%) scaleY(0);
  opacity: 0;
}

.p-corp-faq__a {
  display: none;
}

.p-corp-faq__a-inner {
  padding: 0 0.5555555556vw 1.9444444444vw 3.75vw;
  font-size: var(--fz-body);
  line-height: 2;
  letter-spacing: var(--ls-gothic);
  color: var(--text-body);
}
@media print, screen and (max-width:1023px), screen and (min-width:1024px) and (max-width:1024px) and (orientation: portrait) {
  .p-corp-faq__a-inner {
    padding: 0 min(1.0666666667vw, 5.2px) min(5.3333333333vw, 26px) min(9.0666666667vw, 44.2px);
    font-size: var(--fz-body);
    line-height: 1.9;
  }
}

.p-corp-faq__contact {
  width: min(960px, 100% - 2 * var(--edge));
  margin: 5vw auto 0;
  padding: 4.4444444444vw;
  border-radius: 14px;
  background: #fff;
  text-align: center;
}
@media (min-width: 1024px) {
  .p-corp-faq__contact {
    width: 66.6666666667vw;
  }
}
@media print, screen and (max-width:1023px), screen and (min-width:1024px) and (max-width:1024px) and (orientation: portrait) {
  .p-corp-faq__contact {
    margin-top: min(12.8vw, 62.4px);
    padding: min(8.5333333333vw, 41.6px);
  }
}

.p-corp-faq__cta {
  display: flex;
  justify-content: center;
  margin-top: 2.2222222222vw;
}