@charset "UTF-8";
/* Farm/buy デザイントークン
-----------------------------------------------------------------*/
/* イージング
-----------------------------------------------------------------*/
/* デュレーション
-----------------------------------------------------------------*/
/* ============================================================
   農業の未来に向けて（company/agriculture）専用CSS
   ark_company/company-agriculture.html のインライン\3c style>から
   本文スタイルのみ移植（独自ヘッダー/フッターCSSは未使用のため除外）。
   ・色/フォント/.sec-title/.c-section-title/.arw/[data-parallax]/.page は company_common.css
============================================================ */
:root {
  --paper: #ffffff;
}
@media (max-width: 1023px) {
  :root {
    --edge: min(6.4vw, 31.2px);
  }
}

* {
  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;
}

/* ---------- hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  min-height: clamp(779px, 56.9444444444vw, 1230px);
  padding: 3.0555555556vw var(--edge-band) 0;
}
@media (min-width: 1025px) {
  .hero {
    min-height: 0;
    aspect-ratio: 1440/820;
  }
}
@media (max-width: 1023px) {
  .hero {
    min-height: 0;
    padding: min(6.4vw, 31.2px) var(--edge) min(10.6666666667vw, 52px);
    background: #f5f5f5 url("../images/company/agriculture/ag_hero_sp.jpg") 50% 80px/cover no-repeat;
  }
}

.hero::before {
  position: absolute;
  z-index: 0;
  background: url("../images/company/agriculture/ag_hero.jpg") center/cover no-repeat;
  transform: scale(1.08);
  animation: heroBgZoom 2.4s cubic-bezier(0.22, 0.61, 0.36, 1) forwards;
  inset: 0;
  content: "";
}

@keyframes heroBgZoom {
  to {
    transform: scale(1);
  }
}
.hero .breadcrumb {
  position: relative;
  z-index: 1;
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: flex;
  gap: 0;
  margin-top: 4.4444444444vw;
}
@media (max-width: 1023px) {
  .hero-inner {
    flex-direction: column;
    align-items: center;
    margin-top: 0;
  }
}

.hero-title {
  height: auto;
  margin-left: 10.4166666667vw;
  font-family: var(--mincho);
  font-size: var(--fz-h1);
  font-weight: 500;
  line-height: 1.28;
  letter-spacing: 0.14em;
  color: var(--ink);
  writing-mode: vertical-rl;
  text-orientation: mixed;
}
@media (max-width: 1200px) {
  .hero-title {
    height: auto;
    margin-left: 4.1666666667vw;
  }
}
@media (max-width: 1023px) {
  .hero-title {
    margin: min(17.0666666667vw, 83.2px) 0 0;
    line-height: 1.5;
    letter-spacing: 0.12em;
  }
}

@media (max-width: 1023px) {
  .hero-title br {
    display: inline;
  }
}

.hero-lead {
  align-self: center;
  max-width: clamp(608px, 44.4444444444vw, 960px);
  margin-left: 8.3333333333vw;
  font-family: var(--mincho);
  font-size: var(--fz-body);
  line-height: var(--lh-body);
  letter-spacing: var(--ls-mincho);
  color: var(--text-body);
}
@media (max-width: 1200px) {
  .hero-lead {
    margin-left: 4.1666666667vw;
  }
}
@media (max-width: 1023px) {
  .hero-lead {
    max-width: none;
    margin: min(8vw, 39px) 0 56vw;
    line-height: 1.8;
    text-align: center;
  }
}

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

/* ---------- rework490: 縦書きタイトル専用の登場アニメ（PC/SP共通） ----------
   タイトルは縦書き(writing-mode: vertical-rl)なので、共通charReveal(translateY 108%の
   スライド)ではなく、フェード＋下からのわずかな押し上げで1文字ずつ出す。
   1文字の立ち上がり(0.5s)に対し文字間ディレイ(--rd=index*0.03s)を小さくして
   オーバーラップさせる（速すぎない程度）。キャプション(.hero-lead)はタイトルが
   出そろった後にフェードイン。 */
.hero-title .rv-c {
  overflow: visible;
}

.hero-title .rv-i {
  opacity: 0;
  transform: translateY(0.5em);
  transition: opacity 0.5s ease var(--rd, 0s), transform 0.5s cubic-bezier(0.22, 0.61, 0.36, 1) var(--rd, 0s);
}

.hero-title.is-inview .rv-i {
  opacity: 1;
  transform: none;
}

.hero-lead {
  opacity: 0;
  transform: translateY(8px);
}

.hero-title.is-inview ~ .hero-lead {
  opacity: 1;
  transform: none;
  transition: opacity 0.6s ease 0.9s, transform 0.6s ease 0.9s;
}

@media (prefers-reduced-motion: reduce) {
  .hero-lead {
    opacity: 1;
    transform: none;
    transition: none;
  }
  .hero::before {
    transform: none;
    animation: none;
  }
}
/* ---------- index anchor cards ---------- */
.index {
  position: relative;
  padding: 5vw var(--edge) 6.6666666667vw;
  background: #f4f4f4;
}
@media (max-width: 1023px) {
  .index {
    margin-top: 0;
    padding: min(19.2vw, 93.6px) var(--edge) min(25.6vw, 124.8px);
  }
}

.cat-nav {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  -moz-column-gap: var(--gutter, 24px);
  column-gap: var(--gutter, 24px);
  row-gap: 1.6666666667vw;
}
@media (max-width: 1023px) {
  .cat-nav {
    grid-template-columns: 1fr;
    -moz-column-gap: 0;
    column-gap: 0;
    row-gap: min(3.2vw, 15.6px);
  }
}

.cnav {
  position: relative;
  display: block;
  overflow: hidden;
  background: #ffffff;
  text-decoration: none;
  color: #ffffff;
  aspect-ratio: 4/3;
}
@media (max-width: 1023px) {
  .cnav {
    aspect-ratio: auto;
  }
}

.cnav:hover {
  color: #ffffff;
}

.cnav .thumb {
  position: absolute;
  display: block;
  overflow: hidden;
  inset: 0;
}

.cnav .thumb img {
  position: absolute;
  width: 100%;
  height: 100%;
  transform: scale(var(--z, 1));
  transition: transform 0.6s ease;
  inset: 0;
  -o-object-fit: cover;
  object-fit: cover;
}

@media (hover: hover) {
  .cnav:hover .thumb img {
    --z: 1.06;
  }
}
.cnav .thumb::after {
  position: absolute;
  background: rgba(0, 0, 0, 0.3);
  inset: 0;
  content: "";
}
@media (max-width: 1023px) {
  .cnav .thumb::after {
    background: rgba(0, 0, 0, 0.42);
  }
}

.cnav .nm {
  position: absolute;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: center;
  padding-bottom: 2.2222222222vw;
  font-family: var(--mincho);
  font-size: var(--fz-lead);
  font-weight: 500;
  line-height: 1.4;
  letter-spacing: 0.14em;
  text-align: center;
  text-indent: 0.14em;
  color: #ffffff;
  inset: 0;
}
@media (max-width: 1023px) {
  .cnav .nm {
    position: relative;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    padding: min(8.5333333333vw, 41.6px) min(5.3333333333vw, 26px);
    letter-spacing: 0.1em;
    text-indent: 0.1em;
    inset: auto;
  }
}

.cnav .nm-label {
  display: flex;
  flex: 1;
  justify-content: center;
  align-items: center;
}
@media (max-width: 1023px) {
  .cnav .nm-label {
    flex: 1;
    justify-content: flex-start;
    text-align: left;
  }
}

.cnav .arw {
  width: clamp(38px, 2.7777777778vw, 60px);
  height: clamp(38px, 2.7777777778vw, 60px);
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 6px;
  background: transparent;
  text-indent: 0;
}
@media (max-width: 1023px) {
  .cnav .arw {
    width: min(8.5333333333vw, 41.6px);
    height: min(8.5333333333vw, 41.6px);
  }
}
.cnav .arw svg {
  width: clamp(14.25px, 1.0416666667vw, 22.5px);
  height: clamp(14.25px, 1.0416666667vw, 22.5px);
  stroke: #ffffff;
}
@media (max-width: 1023px) {
  .cnav .arw svg {
    width: min(3.4666666667vw, 16.9px);
    height: min(3.4666666667vw, 16.9px);
  }
}

@media (hover: hover) {
  .cnav:hover .arw {
    border-color: #ffffff;
    background: #ffffff;
  }
  .cnav:hover .arw svg {
    stroke: var(--ink);
  }
}
/* ---------- dark feature block ---------- */
.feature {
  display: grid;
  grid-template-columns: 1fr 1fr;
}
@media (min-width: 1440px) {
  .feature {
    aspect-ratio: 1440/680;
  }
}
@media (max-width: 1023px) {
  .feature {
    grid-template-columns: 1fr;
  }
}

.feature .media {
  overflow: hidden;
  min-height: clamp(646px, 47.2222222222vw, 1020px);
}
@media (max-width: 1023px) {
  .feature .media {
    min-height: 0;
    aspect-ratio: 4/3;
  }
}

.feature .panel {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 6.6666666667vw var(--edge) 6.6666666667vw 6.6666666667vw;
  background: var(--ink);
  color: #ffffff;
}
@media (max-width: 1200px) {
  .feature .panel {
    padding: 4.4444444444vw var(--edge) 4.4444444444vw 4.4444444444vw;
  }
}
@media (max-width: 1023px) {
  .feature .panel {
    padding: min(10.6666666667vw, 52px) min(6.4vw, 31.2px) min(12.8vw, 62.4px);
  }
}
.feature .panel .c-section-title {
  font-family: var(--mincho);
  font-size: var(--fz-h2);
  font-weight: 500;
  line-height: 1.35;
  letter-spacing: 0.04em;
  color: #ffffff;
}
@media (max-width: 1023px) {
  .feature .panel .c-section-title {
    line-height: 1.5;
  }
}
.feature .panel .lead {
  max-width: clamp(532px, 38.8888888889vw, 840px);
  margin-top: 2.3611111111vw;
  font-family: var(--mincho);
  font-size: var(--fz-md);
  line-height: var(--lh-body);
  letter-spacing: var(--ls-mincho);
  color: #f2f2f2;
}
@media (max-width: 1023px) {
  .feature .panel .lead {
    max-width: none;
    margin-top: min(5.3333333333vw, 26px);
    line-height: 1.8;
  }
}
.feature .panel .tag {
  display: inline-block;
  align-self: flex-start;
  margin: 4.4444444444vw 0 2.0833333333vw;
  padding: 0.5555555556vw 1.3888888889vw;
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: 0;
  background: none;
  font-family: var(--gothic);
  font-size: var(--fz-xs);
  font-weight: 400;
  letter-spacing: 0.08em;
  color: #ffffff;
}
@media (max-width: 1023px) {
  .feature .panel .tag {
    margin: min(10.6666666667vw, 52px) 0 min(5.3333333333vw, 26px);
    padding: min(1.8666666667vw, 9.1px) min(3.7333333333vw, 18.2px);
  }
}
.feature .panel .note {
  max-width: clamp(570px, 41.6666666667vw, 900px);
  font-family: var(--mincho);
  font-size: var(--fz-body);
  font-weight: 400;
  line-height: 1.9;
  letter-spacing: var(--ls-mincho);
  color: #eaeaea;
}
@media (max-width: 1023px) {
  .feature .panel .note {
    max-width: none;
    line-height: 1.8;
  }
}

/* ---------- approach ---------- */
.approach {
  display: grid;
  align-items: start;
  grid-template-columns: repeat(12, 1fr);
  padding: 8.3333333333vw var(--edge) 6.6666666667vw;
  -moz-column-gap: var(--gutter, 24px);
  column-gap: var(--gutter, 24px);
}
@media (max-width: 1023px) {
  .approach {
    display: block;
    padding: min(12.8vw, 62.4px) var(--edge) min(2.1333333333vw, 10.4px);
  }
}

.approach > .sec-title {
  position: sticky;
  top: 8.3333333333vw;
  align-self: start;
  grid-column: 1/6;
}
@media (max-width: 1023px) {
  .approach > .sec-title {
    position: relative;
    top: auto;
  }
}

.approach .body {
  margin-top: 11.1111111111vw;
  grid-column: 6/13;
}
@media (max-width: 1023px) {
  .approach .body {
    margin-top: 0;
  }
}

.approach > .sec-title.is-inview {
  margin-bottom: 3.3333333333vw;
}

.approach .body h3.sub {
  margin-bottom: 2.3611111111vw;
  font-family: var(--mincho);
  font-size: var(--fz-h3);
  font-weight: 500;
  line-height: 1.5;
  letter-spacing: 0.04em;
  color: var(--ink);
}
@media (max-width: 1023px) {
  .approach .body h3.sub {
    margin-bottom: min(7.4666666667vw, 36.4px);
    line-height: 1.55;
  }
}

.approach.bg-armed {
  background: var(--ink);
  transition: background-color 0.7s ease;
}

.approach.bg-armed.is-bg-switched {
  background: var(--paper);
}

.approach.bg-armed .sec-title,
.approach.bg-armed .body h3.sub,
.approach.bg-armed .body p,
.approach.bg-armed .body .item h4,
.approach.bg-armed .body .item p {
  color: #ffffff;
  transition: color 0.7s ease;
}

.approach.bg-armed .body .item {
  transition: border-color 0.7s ease;
  border-top-color: rgba(255, 255, 255, 0.28);
}

.approach.bg-armed.is-bg-switched .sec-title,
.approach.bg-armed.is-bg-switched .body h3.sub,
.approach.bg-armed.is-bg-switched .body .item h4 {
  color: var(--ink);
}

.approach.bg-armed.is-bg-switched .body p,
.approach.bg-armed.is-bg-switched .body .item p {
  color: var(--text);
}

.approach.bg-armed.is-bg-switched .body .item {
  border-top-color: var(--line);
}

.approach.bg-armed .sec-title[data-en]::before {
  color: #ffffff;
  transition: transform 0.6s cubic-bezier(0.22, 0.61, 0.36, 1), color 0.7s ease;
}

.approach.bg-armed.is-bg-switched .sec-title[data-en]::before {
  color: var(--text);
}

.feature .panel,
.feature .panel h2,
.feature .panel .lead,
.feature .panel .note,
.feature .panel .tag {
  transition: background-color 0.7s ease, border-color 0.7s ease, color 0.7s ease;
}

.feature:has(+ .approach.bg-armed.is-bg-switched) .panel {
  background: var(--paper);
}

.feature:has(+ .approach.bg-armed.is-bg-switched) .panel h2,
.feature:has(+ .approach.bg-armed.is-bg-switched) .panel .lead {
  color: var(--ink);
}

.feature:has(+ .approach.bg-armed.is-bg-switched) .panel .note {
  color: var(--text);
}

.feature:has(+ .approach.bg-armed.is-bg-switched) .panel .tag {
  border-color: rgba(0, 0, 0, 0.28);
  background: none;
  color: var(--text);
}

.feature .panel .c-section-title {
  padding-top: 0;
}

.feature .panel .c-section-title::after {
  display: none;
}

.feature .panel .c-section-title[data-en]::before {
  color: #ffffff;
  transition: transform 0.6s cubic-bezier(0.22, 0.61, 0.36, 1), color 0.7s ease;
}

.feature:has(+ .approach.bg-armed.is-bg-switched) .panel .c-section-title[data-en]::before {
  color: var(--text);
}

.approach .body p {
  max-width: clamp(855px, 62.5vw, 1350px);
  font-family: var(--mincho);
  font-size: var(--fz-body);
  line-height: var(--lh-body);
  letter-spacing: var(--ls-mincho);
  color: var(--text-body);
}
@media (max-width: 1023px) {
  .approach .body p {
    max-width: none;
    line-height: 1.8;
  }
}

.approach .body > p + p {
  margin-top: 1.6em;
}

.approach .body .item {
  padding: 3.3333333333vw 0;
  border-top: 1px solid var(--line);
}
@media (max-width: 1023px) {
  .approach .body .item {
    padding: min(6.9333333333vw, 33.8px) 0;
  }
}

.approach .body .item:first-child {
  padding-top: 0;
  border-top: none;
}

.approach .body .item h4 {
  display: flex;
  align-items: baseline;
  gap: 1.25vw;
  margin-bottom: 2.3611111111vw;
  font-family: var(--mincho);
  font-size: var(--fz-h3);
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--ink);
}
@media (max-width: 1023px) {
  .approach .body .item h4 {
    gap: min(3.7333333333vw, 18.2px);
    margin-bottom: min(4.2666666667vw, 20.8px);
  }
}

.approach .body .item h4 .txt {
  position: relative;
  top: 0;
}

.approach .body .item h4 .no {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  height: clamp(28.5px, 2.0833333333vw, 45px);
  padding-right: 1.25vw;
  border-right: 1px solid;
  font-family: var(--mono);
  font-size: var(--fz-lead);
  line-height: 1;
  letter-spacing: 0.04em;
}
@media (max-width: 1023px) {
  .approach .body .item h4 .no {
    height: min(6.4vw, 31.2px);
    padding-top: min(1.3333333333vw, 6.5px);
    padding-right: min(3.7333333333vw, 18.2px);
  }
}

.approach .body .item p {
  max-width: clamp(855px, 62.5vw, 1350px);
  font-family: var(--mincho);
  font-size: var(--fz-body);
  line-height: var(--lh-body);
  letter-spacing: var(--ls-mincho);
  color: var(--text-body);
}
@media (max-width: 1023px) {
  .approach .body .item p {
    max-width: none;
    line-height: 1.8;
  }
}

/* ---------- 取り組みカード（.approach の右カラムに1列で並ぶ） ---------- */
.grid2 {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  margin-top: 3.3333333333vw;
  grid-column: 6/13;
  row-gap: 1.6666666667vw;
}
@media (max-width: 1023px) {
  .grid2 {
    grid-template-columns: minmax(0, 1fr);
    gap: min(3.2vw, 15.6px);
    margin-top: min(12.8vw, 62.4px);
    padding: 0;
    grid-column: 1/-1;
  }
}

.grid2 .cell {
  width: 100%;
  min-width: 0;
  padding: 2.2222222222vw;
  border-radius: 10px;
  background: #f5f5f4;
}
@media (max-width: 1023px) {
  .grid2 .cell {
    padding: min(5.3333333333vw, 26px) min(4.8vw, 23.4px);
  }
}

.grid2 .cell h4 {
  margin-bottom: 0.9722222222vw;
  font-family: var(--mincho);
  font-size: var(--fz-md);
  font-weight: 500;
  line-height: 1.5;
  letter-spacing: var(--ls-mincho);
  color: var(--text);
}

.grid2 .cell p {
  font-family: var(--gothic);
  font-size: var(--fz-xs);
  font-weight: 400;
  line-height: 1.85;
  letter-spacing: 0.03em;
  color: #333333;
}
@media (max-width: 1023px) {
  .grid2 .cell p {
    line-height: 1.8;
  }
}

.grid2 .cell.js-reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.grid2 .cell.js-reveal.is-visible {
  opacity: 1;
  transform: none;
}

.grid2 .cell.js-reveal:nth-child(2) {
  transition-delay: 0.1s;
}

.grid2 .cell.js-reveal:nth-child(3) {
  transition-delay: 0.2s;
}

.grid2 .cell.js-reveal:nth-child(4) {
  transition-delay: 0.3s;
}

@media (prefers-reduced-motion: reduce) {
  .grid2 .cell.js-reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}
@media print {
  .grid2 .cell.js-reveal {
    opacity: 1;
    transform: none;
  }
}
/* ---------- callout ---------- */
.callout {
  display: grid;
  align-items: center;
  grid-template-columns: min(398px, 32%) minmax(0, 1fr);
  padding: 6.9444444444vw var(--edge);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  -moz-column-gap: clamp(32px, 5.5vw, 80px);
  column-gap: clamp(32px, 5.5vw, 80px);
  row-gap: 0;
  margin-inline: var(--edge);
  padding-inline: 0;
}
@media (max-width: 1023px) {
  .callout {
    border-top: 0;
    border-bottom: 0;
  }
}

.callout.compact {
  padding: 5.5555555556vw 0;
}

@media (max-width: 1023px) {
  .callout,
  .callout.compact {
    align-items: start;
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas: "kicker" "title" "thumb" "body" "cta";
    padding: min(6.4vw, 31.2px) 0 min(10.6666666667vw, 52px);
    margin-inline: var(--edge);
    -moz-column-gap: 0;
    column-gap: 0;
    row-gap: min(3.2vw, 15.6px);
  }
}

@media (max-width: 1023px) {
  .callout .txt {
    display: contents;
  }
}

.callout .ph {
  overflow: hidden;
  border-radius: 10px;
  aspect-ratio: 16/11;
}
@media (max-width: 1023px) {
  .callout .ph {
    align-self: start;
    grid-area: thumb;
    width: 100%;
    margin-bottom: min(3.2vw, 15.6px);
    aspect-ratio: 16/11;
  }
}

.callout .kicker {
  margin-bottom: 1.1111111111vw;
  font-family: var(--gothic);
  font-size: var(--fz-xs);
  font-weight: 500;
  line-height: 1.9;
  letter-spacing: 0.12em;
  color: var(--muted);
}
@media (max-width: 1023px) {
  .callout .kicker {
    grid-area: kicker;
    margin-bottom: min(3.2vw, 15.6px);
  }
}

.callout h3 {
  margin-bottom: 1.8055555556vw;
  font-family: var(--mincho);
  font-size: var(--fz-h3);
  font-weight: 500;
  line-height: 1.5;
  letter-spacing: 0.04em;
  color: var(--ink);
}
@media (max-width: 1023px) {
  .callout h3 {
    grid-area: title;
    margin-bottom: min(4.2666666667vw, 20.8px);
    font-size: var(--fz-lead);
    line-height: 1.5;
  }
}

.callout p {
  max-width: clamp(608px, 44.4444444444vw, 960px);
  font-family: var(--mincho);
  font-size: var(--fz-body);
  line-height: var(--lh-body);
  letter-spacing: var(--ls-mincho);
  color: var(--text-body);
}
@media (max-width: 1023px) {
  .callout p {
    grid-area: body;
    max-width: none;
    line-height: 1.8;
  }
}

@media (max-width: 1023px) {
  .callout .p-ag-cta {
    grid-area: cta;
    margin-right: auto;
    margin-left: auto;
  }
}

.p-ag-cta {
  margin-top: 3.0555555556vw;
}
@media (max-width: 1023px) {
  .p-ag-cta {
    margin-top: min(6.4vw, 31.2px);
  }
}

.p-ag-cta .slot {
  display: inline-block;
  overflow: hidden;
  height: 1.3em;
}

.p-ag-cta .slot-in {
  display: flex;
  flex-direction: column;
  transition: transform 0.42s cubic-bezier(0.6, 0.02, 0.1, 1);
}

.p-ag-cta .slot-in span {
  display: block;
  height: 1.3em;
  line-height: 1.3em;
  white-space: nowrap;
}

.p-ag-cta:hover .slot-in {
  transform: translateY(-1.3em);
}

@media (prefers-reduced-motion: reduce) {
  .p-ag-cta .slot-in {
    transition: none;
  }
}
/* ---------- card rows（.approach の右カラムに1列で並ぶ） ---------- */
.cardrow {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  margin-top: 3.3333333333vw;
  grid-column: 6/13;
  row-gap: 1.6666666667vw;
}
@media (max-width: 1023px) {
  .cardrow {
    grid-template-columns: 1fr;
    gap: min(3.2vw, 15.6px);
    margin-top: min(12.8vw, 62.4px);
    padding: 0;
    grid-column: 1/-1;
  }
}

.crd {
  display: grid;
  align-content: start;
  grid-template-columns: 1fr 13.0555555556vw;
  grid-template-areas: "title thumb" "body thumb";
  min-height: clamp(179.55px, 13.125vw, 283.5px);
  padding: 2.2222222222vw;
  border-radius: 10px;
  background: #f5f5f4;
  -moz-column-gap: 1.6666666667vw;
  column-gap: 1.6666666667vw;
}
@media (max-width: 1023px) {
  .crd {
    align-items: center;
    grid-template-columns: 1fr min(35.2vw, 171.6px);
    grid-template-areas: "title thumb" "body body";
    min-height: 0;
    padding: min(4.8vw, 23.4px) min(4.2666666667vw, 20.8px);
    -moz-column-gap: min(4.2666666667vw, 20.8px);
    column-gap: min(4.2666666667vw, 20.8px);
    row-gap: min(3.2vw, 15.6px);
  }
  .crd > .ph {
    -ms-grid-row: 1;
    -ms-grid-row-span: 1;
    -ms-grid-column: 3;
  }
  .crd > h3 {
    -ms-grid-row: 1;
    -ms-grid-column: 1;
  }
  .crd > p {
    -ms-grid-row: 3;
    -ms-grid-column: 1;
    -ms-grid-column-span: 3;
  }
}

.crd .ph {
  -ms-grid-row: 1;
  -ms-grid-row-span: 2;
  -ms-grid-column: 3;
  overflow: hidden;
  align-self: start;
  grid-area: thumb;
  width: clamp(178.6px, 13.0555555556vw, 282px);
  aspect-ratio: 188/125;
}
@media (max-width: 1023px) {
  .crd .ph {
    align-self: center;
    width: min(35.2vw, 171.6px);
    height: auto;
    aspect-ratio: 188/125;
  }
}

.crd .ph.contain {
  display: flex;
  justify-content: center;
  align-items: center;
  background: #ffffff;
}

.crd .ph.contain img {
  width: auto;
  max-width: 80%;
  height: auto;
  max-height: 80%;
  -o-object-fit: contain;
  object-fit: contain;
}

.crd h4 {
  -ms-grid-row: 1;
  -ms-grid-column: 1;
  grid-area: title;
  margin-bottom: 0.9722222222vw;
  font-family: var(--mincho);
  font-size: var(--fz-md);
  font-weight: 500;
  line-height: 1.5;
  letter-spacing: var(--ls-mincho);
  color: var(--text);
}
@media (max-width: 1023px) {
  .crd h4 {
    align-self: center;
    margin-bottom: 0;
  }
}

.crd p {
  -ms-grid-row: 2;
  -ms-grid-column: 1;
  grid-area: body;
  font-family: var(--gothic);
  font-size: var(--fz-xs);
  font-weight: 400;
  line-height: 1.8;
  letter-spacing: 0.04em;
  color: #333333;
}

@media (max-width: 1023px){
  .callout .ph {
    -ms-grid-row: 5;
    -ms-grid-column: 1;
  }
  .callout .kicker {
    -ms-grid-row: 1;
    -ms-grid-column: 1;
  }
  .callout h3 {
    -ms-grid-row: 3;
    -ms-grid-column: 1;
  }
  .callout p {
    -ms-grid-row: 7;
    -ms-grid-column: 1;
  }
  .callout .p-ag-cta {
    -ms-grid-row: 9;
    -ms-grid-column: 1;
  }
  .crd .ph {
    -ms-grid-row: 5;
    -ms-grid-column: 1;
  }
  .crd > .ph {
    -ms-grid-row: 1;
    -ms-grid-row-span: 1;
    -ms-grid-column: 3;
  }
  .crd h4 {
    -ms-grid-row: 3;
    -ms-grid-column: 1;
  }
  .crd > h4 {
    -ms-grid-row: 1;
    -ms-grid-column: 1;
  }
  .crd p {
    -ms-grid-row: 7;
    -ms-grid-column: 1;
  }
  .crd > p {
    -ms-grid-row: 3;
    -ms-grid-column: 1;
    -ms-grid-column-span: 3;
  }
}
@media (max-width: 1023px) {
  .crd p {
    line-height: 1.75;
  }
}