@charset "UTF-8";
/* ============================================================
   農業の未来に向けて（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;
  --edge: 120px;
}

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

/* ---------- hero ---------- */
.hero {
  position: relative;
  background: url("/assets/images/company/agriculture/ag_hero.jpg") center/cover no-repeat;
  padding: 44px var(--edge) 0;
  min-height: 820px;
}

.hero .breadcrumb {
  position: relative;
  z-index: 1;
}

.hero-inner {
  display: flex;
  gap: 0;
  margin-top: 64px;
}

.hero-title {
  writing-mode: vertical-rl;
  text-orientation: mixed;
  font-family: var(--mincho);
  font-weight: 500;
  color: var(--ink);
  font-size: 56px;
  letter-spacing: 0.14em;
  line-height: 1.28;
  height: auto;
  margin-left: 150px;
}

.hero-lead {
  align-self: center;
  margin-left: 120px;
  max-width: 640px;
  font-family: var(--mincho);
  font-size: 16px;
  line-height: var(--lh-body);
  letter-spacing: var(--ls-mincho);
  color: var(--text-body);
  text-wrap: pretty;
}

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

/* ---------- index anchor cards ---------- */
.index {
  position: relative;
  padding: 72px var(--edge) 96px;
  background: #f4f4f4;
}

.cat-nav {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  -moz-column-gap: var(--gutter, 24px);
  column-gap: var(--gutter, 24px);
  row-gap: 24px;
}

.cnav {
  display: block;
  background: #fff;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
}

.cnav:hover {
  color: inherit;
}

.cnav .thumb {
  display: block;
  position: relative;
  width: 100%;
  aspect-ratio: 16/10;
  overflow: hidden;
  background: #f0efeb;
}

.cnav .thumb img {
  position: absolute;
  top: -10%;
  left: 0;
  width: 100%;
  height: 120%;
  -o-object-fit: cover;
  object-fit: cover;
}

@media (hover: hover) {
  .cnav:hover .thumb img {
    --z: 1.05;
  }
}
.cnav .nm {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  font-family: var(--gothic);
  font-weight: 500;
  font-size: 16px;
  letter-spacing: 0.04em;
  color: var(--text);
  padding: 20px 22px;
}

/* ---------- dark feature block ---------- */
.feature {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.feature .media {
  min-height: 680px;
  overflow: hidden;
}

.feature .panel {
  background: var(--ink);
  color: #fff;
  padding: 96px 120px 96px 96px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.feature .panel h2 {
  font-family: var(--mincho);
  font-weight: 500;
  font-size: 48px;
  letter-spacing: 0.04em;
  line-height: 1.35;
  color: #fff;
}

.feature .panel .lead {
  font-family: var(--mincho);
  font-size: 18px;
  line-height: var(--lh-body);
  letter-spacing: var(--ls-mincho);
  color: #f2f2f2;
  margin-top: 34px;
  max-width: 560px;
}

.tag {
  display: inline-block;
  align-self: flex-start;
  font-family: var(--gothic);
  font-weight: 400;
  font-size: 16px;
  letter-spacing: 0.08em;
  color: #fff;
  background: rgba(255, 255, 255, 0.32);
  padding: 9px 22px;
  border-radius: 7px;
  margin: 64px 0 30px;
}

.feature .panel .note {
  font-family: var(--gothic);
  font-weight: 400;
  font-size: 14px;
  line-height: 1.8;
  letter-spacing: 0.04em;
  color: #eaeaea;
  max-width: 600px;
}

/* ---------- approach ---------- */
.approach {
  padding: 120px var(--edge) 0;
}

.sec-title.is-inview {
  margin-bottom: 48px;
}

.approach .body h3.sub {
  font-family: var(--mincho);
  font-weight: 500;
  font-size: 22px;
  color: var(--ink);
  letter-spacing: 0.04em;
  margin-bottom: 34px;
  line-height: 1.5;
}

.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: #fff;
  transition: color 0.7s ease;
}

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

.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: #fff;
  transition: transform 0.6s cubic-bezier(0.22, 0.61, 0.36, 1), color 0.7s ease;
}

.approach.bg-armed .sec-title::after {
  background: #fff;
  transition: transform 0.6s cubic-bezier(0.22, 0.61, 0.36, 1) 0.05s, background-color 0.7s ease;
}

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

.approach.bg-armed.is-bg-switched .sec-title::after {
  background: var(--ink);
}

.feature .panel,
.feature .panel h2,
.feature .panel .lead,
.feature .panel .note,
.feature .panel .tag {
  transition: background-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 {
  background: rgba(0, 0, 0, 0.06);
  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: #fff;
  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 {
  font-family: var(--mincho);
  font-size: 16px;
  line-height: var(--lh-body);
  letter-spacing: var(--ls-mincho);
  color: var(--text-body);
  text-wrap: pretty;
  max-width: 900px;
}

.approach .body .item {
  padding: 48px 0;
  border-top: 1px solid var(--line);
}

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

.approach .body .item h4 {
  display: flex;
  align-items: center;
  gap: 18px;
  font-family: var(--mincho);
  font-weight: 500;
  font-size: 22px;
  color: var(--ink);
  letter-spacing: 0.04em;
  margin-bottom: 34px;
}

.approach .body .item h4 .no {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  height: 30px;
  padding-right: 18px;
  border-right: 1px solid;
  font-family: var(--mono);
  font-size: 26px;
  letter-spacing: 0.04em;
  line-height: 1;
}

.approach .body .item p {
  font-family: var(--mincho);
  font-size: 16px;
  line-height: var(--lh-body);
  letter-spacing: var(--ls-mincho);
  color: var(--text-body);
  text-wrap: pretty;
  max-width: 900px;
}

/* ---------- 2-up feature cards ---------- */
.grid2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  -moz-column-gap: 40px;
  column-gap: 40px;
  row-gap: 40px;
  padding: 60px var(--edge) 0;
}

.grid2 .cell {
  background: #f5f5f4;
  border-radius: 10px;
  padding: 32px;
}

.grid2 .cell h4 {
  font-family: var(--gothic);
  font-weight: 500;
  font-size: 16px;
  color: var(--text);
  letter-spacing: 0.05em;
  margin-bottom: 14px;
  line-height: 1.5;
}

.grid2 .cell p {
  font-family: var(--gothic);
  font-weight: 400;
  font-size: 14px;
  line-height: 1.85;
  letter-spacing: 0.03em;
  color: #333;
  text-wrap: pretty;
}

.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;
  grid-template-columns: 570px 1fr;
  gap: 80px;
  align-items: center;
  padding: 100px var(--edge);
}

.callout.compact {
  grid-template-columns: 570px 1fr;
  padding: 80px var(--edge);
}

.callout .ph {
  aspect-ratio: 16/11;
  overflow: hidden;
  border-radius: 10px;
}

.callout .kicker {
  font-family: var(--gothic);
  font-weight: 500;
  font-size: 13px;
  letter-spacing: 0.12em;
  line-height: 1.9;
  color: var(--muted);
  margin-bottom: 18px;
}

.callout h3 {
  font-family: var(--mincho);
  font-weight: 500;
  font-size: 22px;
  color: var(--ink);
  letter-spacing: 0.04em;
  line-height: 1.5;
  margin-bottom: 26px;
}

.callout p {
  font-family: var(--mincho);
  font-size: 16px;
  line-height: var(--lh-body);
  letter-spacing: var(--ls-mincho);
  color: var(--text-body);
  text-wrap: pretty;
  max-width: 640px;
}

.btn {
  font-family: var(--gothic);
  font-size: 16px;
  font-weight: 500;
  color: var(--text);
  background: #efefef;
  border: none;
  border-radius: 12px;
  padding: 26px 44px;
  margin-top: 44px;
  display: inline-flex;
  align-items: center;
  gap: 22px;
  cursor: pointer;
  letter-spacing: 0.05em;
  transition: background 0.4s ease, color 0.4s ease;
}

.btn:hover {
  background: var(--enji);
  color: #fff;
}

.btn svg {
  width: 20px;
  height: 20px;
  stroke: #333;
  fill: none;
  stroke-width: 2;
  flex: 0 0 auto;
  transition: stroke 0.4s ease;
}

.btn:hover svg {
  stroke: #fff;
}

.btn .slot {
  display: inline-block;
  overflow: hidden;
  height: 1.3em;
}

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

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

.btn:hover .slot-in {
  transform: translateY(-1.3em);
}

/* ---------- card rows ---------- */
.cardrow {
  display: grid;
  grid-template-columns: 1fr 1fr;
  -moz-column-gap: 40px;
  column-gap: 40px;
  row-gap: 40px;
  padding: 60px var(--edge) 40px;
}

.crd {
  background: #f5f5f4;
  border-radius: 10px;
  padding: 32px;
  min-height: 189px;
  display: grid;
  grid-template-columns: 1fr 188px;
  -moz-column-gap: 24px;
  column-gap: 24px;
  grid-template-areas: "title thumb" "body thumb";
  align-content: start;
}

.crd .ph {
  -ms-grid-row: 1;
  -ms-grid-row-span: 2;
  -ms-grid-column: 3;
  grid-area: thumb;
  width: 188px;
  height: 125px;
  overflow: hidden;
  align-self: start;
}

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

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

.crd h4 {
  -ms-grid-row: 1;
  -ms-grid-column: 1;
  grid-area: title;
  font-family: var(--gothic);
  font-weight: 500;
  font-size: 16px;
  color: var(--text);
  letter-spacing: 0.04em;
  margin-bottom: 14px;
  line-height: 1.5;
}

.crd p {
  -ms-grid-row: 2;
  -ms-grid-column: 1;
  grid-area: body;
  font-family: var(--gothic);
  font-weight: 400;
  font-size: 14px;
  line-height: 1.8;
  letter-spacing: 0.04em;
  color: #333;
  text-wrap: pretty;
}

@media (max-width: 1200px) {
  :root {
    --edge: 56px;
  }
  .hero-title {
    font-size: 48px;
    height: auto;
    margin-left: 60px;
  }
  .hero-lead {
    margin-left: 60px;
  }
  .feature .panel {
    padding: 64px 56px;
  }
}
/* ==================== SP (≤1023px) ==================== */
@media (max-width: 1023px) {
  :root {
    --edge: 24px;
  }
  .hero {
    padding: 24px var(--edge) 40px;
    min-height: 0;
    background: url("/assets/images/company/agriculture/ag_hero_sp.jpg") center/cover no-repeat;
  }
  .hero-inner {
    flex-direction: column;
    align-items: center;
    margin-top: 0;
  }
  .hero-title {
    font-size: 31px;
    letter-spacing: 0.12em;
    line-height: 1.5;
    margin: 64px 0 0;
  }
  .hero-title br {
    display: inline;
  }
  .hero-lead {
    margin: 30px 0 56vw;
    max-width: none;
    font-size: 14.5px;
    line-height: 1.8;
    text-align: center;
  }
  .hero-lead p + p {
    margin-top: 16px;
  }
  .index {
    margin-top: 0;
    padding: 24px var(--edge) 32px;
  }
  .cat-nav {
    grid-template-columns: 1fr 1fr;
    -moz-column-gap: 12px;
    column-gap: 12px;
    row-gap: 12px;
  }
  .cnav .nm {
    font-size: 13.5px;
    padding: 16px;
  }
  .feature {
    grid-template-columns: 1fr;
  }
  .feature .media {
    min-height: 0;
    aspect-ratio: 4/3;
  }
  .feature .panel {
    padding: 40px 24px 48px;
  }
  .feature .panel h2 {
    font-size: 27px;
    line-height: 1.5;
  }
  .feature .panel .lead {
    font-size: 15px;
    line-height: 1.8;
    margin-top: 20px;
    max-width: none;
  }
  .tag {
    margin: 40px 0 20px;
    font-size: 14px;
    padding: 8px 12px;
  }
  .feature .panel .note {
    font-size: 13px;
    line-height: 1.8;
    max-width: none;
  }
  .approach {
    padding: 48px var(--edge) 8px;
  }
  .approach .body h3.sub {
    font-size: 19px;
    margin-bottom: 28px;
    line-height: 1.55;
  }
  .approach .body p {
    font-size: 15px;
    line-height: 1.8;
    max-width: none;
  }
  .approach .body .item {
    padding: 26px 0;
  }
  .approach .body .item h4 {
    font-size: 19px;
    margin-bottom: 16px;
    gap: 14px;
  }
  .approach .body .item h4 .no {
    height: 24px;
    font-size: 21px;
    padding-right: 14px;
  }
  .approach .body .item p {
    font-size: 15px;
    line-height: 1.8;
    max-width: none;
  }
  .grid2 {
    grid-template-columns: 1fr;
    gap: 12px;
    padding: 24px var(--edge) 12px;
  }
  .grid2 .cell {
    padding: 20px 18px;
  }
  .grid2 .cell h4 {
    font-size: 15px;
  }
  .grid2 .cell p {
    font-size: 13.5px;
    line-height: 1.8;
  }
  .callout,
  .callout.compact {
    grid-template-columns: 1fr;
    gap: 0;
    padding: 24px var(--edge) 40px;
  }
  .callout .ph {
    aspect-ratio: 16/11;
    margin-bottom: 22px;
  }
  .callout .kicker {
    font-size: 12px;
    margin-bottom: 12px;
  }
  .callout h3 {
    font-size: 21px;
    line-height: 1.5;
    margin-bottom: 16px;
  }
  .callout p {
    font-size: 15px;
    line-height: 1.8;
    max-width: none;
  }
  .btn {
    width: 100%;
    justify-content: center;
    gap: 14px;
    padding: 18px 20px;
    font-size: 14px;
    margin-top: 24px;
  }
  .btn svg {
    width: 14px;
    height: 14px;
  }
  .cardrow {
    grid-template-columns: 1fr;
    gap: 12px;
    padding: 24px var(--edge) 16px;
  }
  .crd {
    grid-template-columns: 1fr 104px;
    -moz-column-gap: 14px;
    column-gap: 14px;
    padding: 18px 16px;
    min-height: 0;
  }
  .crd .ph {
    width: 104px;
    height: auto;
    aspect-ratio: 188/125;
  }
  .crd h4 {
    font-size: 15px;
    margin-bottom: 9px;
  }
  .crd p {
    font-size: 13px;
    line-height: 1.75;
  }
}