@import url('https://fonts.googleapis.com/css2?family=Barlow:wght@100;200;300;400;500;600;700;800;900&family=Noto+Sans+JP:wght@100..900&display=swap');

/* ============================================================
   facilities-renewal.css
   facilities 配下の全ページに適用するリニューアル用テンプレートCSS
   既存HTML構造を活かし、Figmaデザインに合わせてオーバーライド
   ============================================================ */

/* --- Design Tokens --- */
:root {
  font-size: clamp(0px, calc(100vw / var(--flame-pc)), 1px);

  --fc-red: #dc1e37;
  --fc-black: #000;
  --fc-sub: #5e5e5e;
  --fc-bg: #f4f4f4;
  --fc-white: #fff;
  --fc-border-light: #dbdbdb;
  --fc-border-normal: #c6c6c6;
  --fc-font: 'Noto Sans JP', sans-serif;
  --flame-pc: 1440;
  --flame-sp: 390;
}

@media screen and (max-width: 768px) {
  :root {
    font-size: calc(100vw / var(--flame-sp));
  }
}

/* --- Text Box Trim --- */
:where(.agri-main) h1,
:where(.agri-main) h2,
:where(.agri-main) h3,
:where(.agri-main) h4,
:where(.agri-main) h5,
:where(.agri-main) h6,
:where(.agri-main) p {
  text-box: trim-both cap alphabetic;
}

/* --- Hero / Main Visual --- */
:where(.agri-main) .fc-hero {
  position: relative;
  overflow: hidden;
  width: 100%;
  height: 289rem;
}

:where(.agri-main) .fc-hero__image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

:where(.agri-main) .fc-hero__overlay {
  position: absolute;
  background: rgba(0, 0, 0, .4);

  inset: 0;
}

:where(.agri-main) .fc-hero__text {
  position: absolute;
  bottom: 130rem;
  left: 165rem;
  display: flex;
  flex-direction: column;
  gap: 24rem;
}

:where(.agri-main) .fc-hero__subtitle {
  margin: 0;
  color: var(--fc-white);
  font-weight: 400;
  font-size: 16rem;
  font-family: var(--fc-font);
  line-height: 1.6;
}

:where(.agri-main) .fc-hero__title {
  margin: 0;
  color: var(--fc-white);
  font-weight: 300;
  font-size: 64rem;
  font-family: var(--fc-font);
  line-height: 1.6;
}

/* --- Layout wrapper (rounded overlap on hero) --- */
:where(.agri-main) .fc-layout-wrapper {
  position: relative;
  margin-top: -64rem;
  padding: 160rem 0 0;
  border-radius: 64rem 64rem 0 0;
  background: var(--fc-bg);
}

/* --- Layout: Sidebar + Content --- */
:where(.agri-main) .fc-layout {
  display: flex;
  align-items: flex-start;
  gap: 60rem;
  margin-right: auto;
  margin-left: auto;
  width: 1110rem;
}

:where(.agri-main) .fc-sidebar {
  position: sticky;
  top: 120rem;
  flex: 0 0 260rem;
  border-bottom: 3rem solid var(--fc-border-light);
  font-family: var(--fc-font);
}

@media (max-width: 768px) {
  /* :where(.agri-main) .fc-sidebar__toggle {
    display: none;
  } */
}

:where(.agri-main) .fc-sidebar__toggle {
  display: none;
}


:where(.agri-main) .fc-sidebar__title {
  margin: 0 0 16rem;
  padding: 0;
  color: var(--fc-black);
  font-weight: 700;
  font-size: 16rem;
  line-height: 1.5;
}

:where(.agri-main) .fc-sidebar__nav {
  display: flex;
  flex-direction: column;
}

:where(.agri-main) .fc-sidebar__group {
  width: 198rem;
}

:where(.agri-main) .fc-sidebar__group:first-of-type {
  border-top: 1rem solid var(--fc-border-light);
}

:where(.agri-main) .fc-sidebar__group:last-of-type {
  border-bottom: 1rem solid var(--fc-border-light);
}

:where(.agri-main) .fc-sidebar__group-label {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 8rem;
  padding: 16rem 4rem;
  color: var(--fc-black);
  list-style: none;
  font-weight: 500;
  font-size: 14rem;
  line-height: 1.5;
  cursor: pointer;

  user-select: none;
}

:where(.agri-main) .fc-sidebar__group-label::-webkit-details-marker {
  display: none;
}

:where(.agri-main) .fc-sidebar__group-label::before {
  content: '';
  flex-shrink: 0;
  width: 0;
  height: 0;
  border-top: 6rem solid var(--fc-black);
  border-right: 5rem solid transparent;
  border-left: 5rem solid transparent;
  transition: transform .2s;
}

:where(.agri-main) .fc-sidebar__group[open]>.fc-sidebar__group-label {
  color: var(--fc-red);
}

:where(.agri-main) .fc-sidebar__group[open]>.fc-sidebar__group-label::before {
  border-top-color: var(--fc-red);
  transform: rotate(180deg);
}

:where(.agri-main) .fc-sidebar__links {
  display: flex;
  flex-direction: column;
  gap: 4rem;
  margin: 0 0 8rem;
  padding: 0 0 0 28rem;
  list-style: none;
}

:where(.agri-main) .fc-sidebar__links a {
  display: inline-block;
  padding: 4rem 0;
  color: var(--fc-sub);
  text-decoration: none;
  font-weight: 400;
  font-size: 14rem;
  line-height: 1.8;
}

:where(.agri-main) .fc-sidebar__links a:hover {
  color: var(--fc-red);
}

:where(.agri-main) .fc-sidebar__links a[aria-current='page'] {
  color: var(--fc-red);
  /* border-bottom: 2rem solid var(--fc-red); */
  text-decoration: underline;
}

:where(.agri-main) .fc-sidebar__back {
  display: inline-flex;
  align-items: center;
  gap: 8rem;
  padding: 16rem 4rem;
  width: 225rem;
  border-top: 1rem solid 1rem solid var(--fc-border-light);
  color: var(--fc-black) !important;
  text-decoration: underline !important;
  font-weight: 500;
  font-size: 14rem;
}

:where(.agri-main) .fc-sidebar__back:hover {
  text-decoration: none !important;
}

:where(.agri-main) .fc-content {
  flex: 1;
  min-width: 0;
}

/* --- Page Title (builder injection) --- */
:where(.agri-main) .fc-page-title {
  display: flex;
  flex-direction: column;
  gap: 80rem;
  margin-bottom: 60rem;
}

:where(.agri-main) .fc-page-title__category {
  margin: 0;
  color: var(--fc-red);
  font-weight: 300;
  font-size: 40rem;
  font-family: var(--fc-font);
  line-height: 1.5;
}

:where(.agri-main) .fc-page-title__name {
  display: flex;
  align-items: flex-start;
  margin: 0;
}

:where(.agri-main) .fc-page-title__name-text {
  padding-top: 24rem;
  border-top: 3rem solid var(--fc-red);
  color: var(--fc-red);
  /* white-space: nowrap; */
  font-weight: 300;
  font-size: 32rem;
  font-family: var(--fc-font);
  line-height: 1.5;

  text-box: trim-both cap alphabetic;
}

:where(.agri-main) .fc-page-title__name::after {
  content: '';
  align-self: flex-start;
  flex: 1;
  height: 3rem;
  background: var(--fc-border-normal);
}

/* --- Section Container --- */
:where(.agri-main) .box-section-01 {
  margin-bottom: 80rem;
  margin-bottom: 0;
  padding-bottom: 0;
}

/* --- Recommendation Box (hdg-level4-01 + list-bullet-01) --- */
:where(.agri-main) .hdg-level4-01,
:where(.agri-main) h2.hdg-level4-01 {
  position: relative;
  margin: 40rem 0 27rem;
  padding: 10rem;
  border: none;
  background: var(--fc-white);
  color: var(--fc-black);
  font-weight: 400;
  font-size: 16rem;
  font-family: var(--fc-font);
  line-height: 1.5;
}

:where(.agri-main) .hdg-level4-01::before,
:where(.agri-main) h2.hdg-level4-01::before {
  content: '';
  position: absolute;
  top: 4rem;
  left: 0;
  width: 4rem;
  height: 24rem;
  border-radius: 0 4rem 4rem 0;
  background: var(--fc-red);
}

:where(.agri-main) .list-bullet-01,
:where(.agri-main) ul.list-bullet-01 {
  display: flex;
  flex-direction: column;
  gap: 4rem;
  margin: 0;
  padding: 0 4rem;
  list-style: none;
}

:where(.agri-main) .list-bullet-01 li {
  position: relative;
  padding-left: 24rem;
  background: none;
  color: var(--fc-black);
  letter-spacing: .64rem;
  font-weight: 400;
  font-size: 16rem;
  font-family: var(--fc-font);
  line-height: 1.8;
}

:where(.agri-main) .list-bullet-01 li::before {
  content: '';
  position: absolute;
  top: .7em;
  left: 8rem;
  width: 6rem;
  height: 6rem;
  border-radius: 50%;
  background: var(--fc-black);
}

/* --- Section Heading (hdg-level2-01) --- */
:where(.agri-main) h2.hdg-level2-01 {
  position: relative;
  display: flex;
  align-items: flex-start;
  margin: 60rem 0 40rem;
  padding: 24rem 0 0;
  width: fit-content;
  border: none;
  /* border-top: 1rem solid var(--fc-red); */
  background: none;
  color: var(--fc-black);
  /* white-space: nowrap; */
  font-weight: 400;
  font-size: 22rem;
  font-family: var(--fc-font);
  line-height: 1.5;
}

:where(.agri-main) h2.hdg-level2-01::before {
  content: '';
  position: absolute;
  top: -1rem;
  z-index: 2;
  align-self: flex-start;
  flex: 1;
  margin-left: 0;
  width: 100%;
  height: 1rem;
  background: var(--fc-red);
}

:where(.agri-main) h2.hdg-level2-01::after {
  content: '';
  position: absolute;
  top: -1rem;
  z-index: 1;
  align-self: flex-start;
  flex: 1;
  margin-left: 0;
  width: 827rem;
  height: 1rem;
  background: var(--fc-border-normal);
}

/* --- Body Text --- */
:where(.agri-main) .doc-plain-01,
:where(.agri-main) p.doc-plain-01 {
  margin: 40rem 0;
  color: var(--fc-black);
  letter-spacing: .64rem;
  font-weight: 400;
  font-size: 16rem !important;
  font-family: var(--fc-font);
  line-height: 1.8;
}

/* --- Image + Text Layout --- */
:where(.agri-main) .lyt-image-02 {
  display: flex;
  float: none !important;
  flex-direction: column;
  /* gap: 40rem; */
  margin: 40rem 0;
  margin-bottom: 0rem;
}

:where(.agri-main) .hdg-level3-01 {
  margin: 40rem 0 0;
  padding-bottom: 10rem;
  font-size: 20rem;
}

:where(.agri-main) .lyt-image-02 .image {
  margin: 0;
}

:where(.agri-main) .lyt-image-02 .image.border,
:where(.agri-main) .lyt-image-02 figure.image.border {
  /* margin: 40rem 0; */
  margin-bottom: 40rem;
  margin-left: 0;
  border: none;
}

:where(.agri-main) .lyt-image-02 .image img {
  display: block;
  max-width: 401rem;
  width: 100%;
  height: auto;
}

:where(.agri-main) .lyt-image-02 figcaption.caption,
:where(.agri-main) .lyt-image-02 .image .caption {
  margin-top: 0rem;
  padding-top: 0;
  color: var(--fc-black);
  font-weight: 400 !important;
  font-size: 14rem;
  font-family: var(--fc-font);
  line-height: 1.6;
}

:where(.agri-main) .lyt-image-02 .text {
  float: none !important;
  width: 100%;
}

/* --- Table --- */
:where(.agri-main) .tbl-container-documents {
  overflow-x: auto;
  margin: 40rem 0;
}

:where(.agri-main) table * {
  text-box: trim-both cap alphabetic;
}

:where(.agri-main) table.tbl-data-01 {
  margin-bottom: 0;
  width: 100% !important;
  border: none;
  border-collapse: collapse;
  color: var(--fc-black);
  letter-spacing: .56rem;
  font-weight: 400;
  font-size: 14rem;
  font-family: var(--fc-font);
  line-height: 1.8;
}

:where(.agri-main) .tbl-data-01 thead th {
  padding: 12rem 24rem;
  border: none;
  border-bottom: 1rem solid var(--fc-border-light);
  background: var(--fc-white);
  color: var(--fc-sub);
  text-align: left;
  font-weight: 400;
}

:where(.agri-main) .tbl-data-01 thead th+th {
  border-left: 1rem solid var(--fc-border-light);
}

:where(.agri-main) .tbl-data-01 tbody th,
:where(.agri-main) .tbl-data-01 tbody td {
  padding: 12rem 24rem;
  border: none;
  border-bottom: 1rem solid var(--fc-border-light);
  background: transparent;
  text-align: left;
  white-space: nowrap;
  font-weight: 400;
}

:where(.agri-main) .tbl-data-01 tbody th {
  background-color: #fff;
}

:where(.agri-main) .tbl-data-01 col.pct30 {
  width: 34% !important;
}

:where(.agri-main) .tbl-data-01 col.pct70 {
  width: 66% !important;
}

:where(.agri-main) .list-notice-01 {
  font-size: 14rem !important;
}

/* --- Business Field --- */
:where(.agri-main) .fc-bf {
  margin-top: 120rem;
  padding: 100rem 0;
  background: var(--fc-white);
  text-align: center;
}

:where(.agri-main) .fc-bf__header {
  display: flex;
  align-items: center;
  flex-direction: column;
  gap: 16rem;
  margin-bottom: 64rem;
}

:where(.agri-main) .fc-bf__subtitle {
  margin: 0;
  color: var(--fc-red);
  font-weight: 500;
  font-size: 16rem;
  font-family: var(--fc-font);
  line-height: 1.6;
}

:where(.agri-main) .fc-bf__title {
  margin: 0;
  color: var(--fc-black);
  text-transform: uppercase;
  font-weight: 200;
  font-size: 40rem;
  font-family: 'Barlow', sans-serif;
  line-height: 1.5;

  font-feature-settings: 'pkna', 'palt', 'pwid';
}

:where(.agri-main) .fc-bf__cards {
  display: flex;
  justify-content: center;
  gap: 21rem;
}

:where(.agri-main) .fc-bf__card {
  display: flex;
  align-items: center;
  flex-direction: column;
  gap: 16rem;
  padding: 16rem;
  width: 356rem;
  border: 1rem solid var(--fc-red);
  border-radius: 4rem;
  background: var(--fc-white);
  text-decoration: none !important;
  transition: opacity .2s;
}

:where(.agri-main) .fc-bf__card:hover {
  opacity: .8;
}

:where(.agri-main) .fc-bf__card-image {
  display: block;
  width: 100%;
  height: 147rem;
  object-fit: cover;
  border-radius: 4rem;
}

:where(.agri-main) .fc-bf__card-label {
  margin: 0;
  color: var(--fc-black);
  font-weight: 400;
  font-size: 16rem;
  font-family: var(--fc-font);
  line-height: 1.6;
}

:where(.agri-main) .list-bullet-01 {
  margin: 20rem 0 !important;
  font-size: 16rem !important;
}

/* ============================================================
   Field Index Pages (rice, other, env)
   ============================================================ */

/* --- Page Background (field index pages) --- */
:where(.agri-main):has(.ygs2026-fc-field-hero) {
  background: var(--fc-bg);
  padding-bottom: 50rem;
}

:where(.agri-main)+.Section:has(.promotion-banners),
:where(.agri-main)+#product-info~.Section:has(.promotion-banners) {
  display: none;
}

/* @media (min-width: 769px) {
  :where(.agri-main) .fc-sidebar__toggle {
    display: block;
  }
} */


/* --- Field Hero (Illustration) --- */
:where(.agri-main) .ygs2026-fc-field-hero {
  position: relative;
  overflow: hidden;
  margin-top: -75rem;
  width: 100%;
  height: 400rem;
}

:where(.agri-main) .ygs2026-fc-field-hero__image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

/* --- Field Intro (Title + Description) --- */
:where(.agri-main) .ygs2026-fc-field-intro {
  padding: 64rem 0;
  background: var(--fc-bg);
}

:where(.agri-main) .ygs2026-fc-field-intro__inner {
  display: flex;
  align-items: flex-start;
  gap: 87rem;
  margin: 0 auto;
  width: 1110rem;
}

:where(.agri-main) .ygs2026-fc-field-intro__title {
  flex: 1;
  margin: 0;
  padding: .1em 0;
  color: var(--fc-black);
  font-weight: 300;
  font-size: 64rem;
  font-family: var(--fc-font);
  line-height: 1.6;
}

:where(.agri-main) .ygs2026-fc-field-intro__body {
  display: flex;
  flex-direction: column;
  flex-shrink: 0;
  gap: 40rem;
  width: 639rem;
}

:where(.agri-main) .ygs2026-fc-field-intro__subtitle {
  margin: 0;
  color: var(--fc-red);
  font-weight: 300;
  font-size: 32rem;
  font-family: var(--fc-font);
  line-height: 1.5;
}

:where(.agri-main) .ygs2026-fc-field-intro__desc {
  margin: 0;
  color: var(--fc-black);
  letter-spacing: .64rem;
  font-weight: 400;
  font-size: 16rem;
  font-family: var(--fc-font);
  line-height: 1.8;
}

/* --- Business Scope Section --- */
:where(.agri-main) .fc-scope {
  display: flex;
  align-items: center;
  flex-direction: column;
  gap: 64rem;
  margin: 0 auto;
  padding: 168rem 0;
  width: 1110rem;
}

:where(.agri-main) .fc-scope__header {
  display: flex;
  align-items: center;
  flex-direction: column;
  gap: 24rem;
  min-width: 304rem;
  text-align: center;
}

:where(.agri-main) .fc-scope__label {
  margin: 0;
  color: var(--fc-red);
  font-weight: 500;
  font-size: 16rem;
  font-family: var(--fc-font);
  line-height: 1.6;
}

:where(.agri-main) .fc-scope__title {
  margin: 0;
  color: var(--fc-black);
  text-transform: uppercase;
  font-weight: 200;
  font-size: 40rem;
  font-family: 'Barlow', sans-serif;
  line-height: 1.5;
}

/* PC (≥769px): Swiper wrapper behaves as CSS grid */
@media screen and (min-width: 769px) {
  :where(.agri-main) .fc-scope__slider {
    width: 100%;
  }

  :where(.agri-main) .fc-scope__carousel {
    overflow: visible;
    width: 100%;
  }

  :where(.agri-main) .fc-scope__carousel .swiper-wrapper {
    display: grid !important;
    gap: 21rem;
    width: 100% !important;
    transition: none !important;
    transform: none !important;

    grid-template-columns: repeat(3, 1fr);
  }

  :where(.agri-main) .fc-scope__carousel .swiper-slide {
    margin-right: 0 !important;
    width: auto !important;
  }

  :where(.agri-main) .fc-scope__prev,
  :where(.agri-main) .fc-scope__next,
  :where(.agri-main) .fc-scope__indicator {
    display: none;
  }
}

/* --- Scope Card --- */
:where(.agri-main) .fc-scope-card {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 24rem;
  min-height: 416rem;
  border-radius: 8rem;
  background: var(--fc-white);
}

:where(.agri-main) .fc-scope-card::before,
:where(.agri-main) .fc-scope-card::after {
  content: '';
  position: absolute;
  width: 20rem;
  height: 20rem;
}

:where(.agri-main) .fc-scope-card::before {
  top: 24rem;
  left: 24rem;
  border-top: 4rem solid var(--fc-border-light);
  border-left: 4rem solid var(--fc-border-light);
}

:where(.agri-main) .fc-scope-card::after {
  right: 24rem;
  bottom: 24rem;
  border-right: 4rem solid var(--fc-border-light);
  border-bottom: 4rem solid var(--fc-border-light);
}

:where(.agri-main) .fc-scope-card__body {
  display: flex;
  align-items: center;
  flex-direction: column;
  gap: 40rem;
  padding: 8rem 24rem 24rem;
}

:where(.agri-main) .fc-scope-card__icon {
  flex-shrink: 0;
  width: 80rem;
  height: 80rem;
  object-fit: contain;
}

:where(.agri-main) .fc-scope-card__title {
  margin: 0;
  width: 100%;
  color: var(--fc-black);
  /* text-align: center; */
  font-weight: 500;
  font-size: 18rem;
  font-family: var(--fc-font);
  line-height: 1.8;
}

:where(.agri-main) .fc-scope-card__desc {
  margin: 0;
  color: var(--fc-black);
  letter-spacing: .64rem;
  font-weight: 400;
  font-size: 16rem;
  font-family: var(--fc-font);
  line-height: 1.8;
}

/* --- CTA Banner --- */
:where(.agri-main) .ygs2026-fc-field-cta {
  margin: 0 auto;
  width: 1110rem;
}

:where(.agri-main) .ygs2026-fc-field-cta__link {
  position: relative;
  display: flex;
  overflow: hidden;
  align-items: center;
  justify-content: center;
  gap: 24rem;
  padding: 64rem 40rem;
  border-radius: 8rem;
  text-decoration: none !important;
  transition: opacity .3s;
}

:where(.agri-main) .ygs2026-fc-field-cta__link:hover {
  opacity: .85;
}

:where(.agri-main) .ygs2026-fc-field-cta__bg {
  position: absolute;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;

  inset: 0;
}

:where(.agri-main) .ygs2026-fc-field-cta__overlay {
  position: absolute;
  z-index: 1;
  background: rgba(0, 0, 0, .6);

  inset: 0;
}

:where(.agri-main) .ygs2026-fc-field-cta__text {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 24rem;
  color: var(--fc-white);
  white-space: nowrap;
  font-weight: 700;
  font-size: 24rem;
  font-family: var(--fc-font);
  line-height: 1.5;

  -webkit-font-smoothing: antialiased;
}

:where(.agri-main) .ygs2026-fc-field-cta__text::after {
  content: '';
  display: block;
  width: 40rem;
  height: 40rem;
  background-image: url(/jp/about/company/ygs/img/ygs2026/arrow_forward.svg);
  background-position: center;
  background-size: contain;
  background-repeat: no-repeat;
}

:where(.agri-main) .ygs2026-fc-field-cta__arrow {
  position: relative;
  z-index: 2;
  display: none !important;
  flex-shrink: 0;
  width: 40rem;
  height: 40rem;
}

/* --- Recruit Section --- */
:where(.agri-main) .fc-recruit {
  display: flex;
  flex-direction: column;
  gap: 24rem;
  margin: 104rem auto;
  width: 1110rem;
}

:where(.agri-main) .fc-recruit__label {
  margin: 0;
  color: var(--fc-red);
  font-weight: 700;
  font-size: 24rem;
  font-family: var(--fc-font);
  line-height: 1.6;
}

:where(.agri-main) .fc-recruit__card {
  display: grid;
  overflow: hidden;
  border-radius: 8rem;
  background: var(--fc-white);
  color: var(--fc-black);
  text-decoration: none !important;
  transition: opacity .3s;

  grid-template-columns: 1fr 1fr;
}

:where(.agri-main) .fc-recruit__card:hover {
  opacity: .85;
}

:where(.agri-main) .fc-recruit__image {
  overflow: hidden;
  border-radius: 10rem 0 0 10rem;
  aspect-ratio: 555 / 370;
}

:where(.agri-main) .fc-recruit__image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

:where(.agri-main) .fc-recruit__body {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40rem;
}

:where(.agri-main) .fc-recruit__title {
  margin: 0;
  color: var(--fc-black);
  font-weight: 700;
  font-size: 40rem;
  font-family: var(--fc-font);
  line-height: 1.5;
}

:where(.agri-main) .fc-recruit__arrow {
  position: absolute;
  right: 24rem;
  bottom: 24rem;
  width: 20rem;
  height: 20rem;
  color: var(--fc-black);
}

/* --- White Band --- */
:where(.agri-main) .ygs2026-fc-field-white-band {
  margin-left: calc(-50vw + 50%);
  padding: 104rem 0;
  width: 100vw;
  background: var(--fc-white);
}

:where(.agri-main) .ygs2026-fc-field-white-band--bottom {
  padding-top: 0;
  padding-bottom: 80rem;
}

/* --- Support Section (page-level) --- */
:where(.agri-main) .fc-support {
  margin: 0 auto;
  padding: 80rem 0 0;
  width: 1110rem;
}

:where(.agri-main) .fc-support__title {
  margin: 0 0 32rem;
  color: var(--fc-black);
  font-weight: 700;
  font-size: 24rem;
  font-family: var(--fc-font);
  line-height: 1.6;
}

:where(.agri-main) .fc-support__links {
  display: flex;
  flex-direction: column;
  gap: 0;
}

:where(.agri-main) .fc-support__item {
  display: flex;
  align-items: center;
  gap: 12rem;
  padding: 20rem 0;
  border-bottom: 1rem solid var(--fc-border-light);
  color: var(--fc-black);
  text-decoration: none;
  font-weight: 400;
  font-size: 16rem;
  font-family: var(--fc-font);
  line-height: 1.8;
  transition: opacity .3s;
}

:where(.agri-main) .fc-support__item:first-child {
  border-top: 1rem solid var(--fc-border-light);
}

:where(.agri-main) .fc-support__item:hover {
  opacity: .7;
}

:where(.agri-main) .fc-support__item svg {
  flex-shrink: 0;
  width: 24rem;
  height: 24rem;
}

:where(.agri-main) .list-anchor-01 li {
  display: inline-block;
  margin-right: 20rem;
  padding: 0 0 6rem 20rem;
  font-size: 14rem;
}

:where(.agri-main) .list-link-01 li a {
  font-size: 16rem;
}

:where(.agri-main) .list-ordered-01 {
  font-size: 16rem !important;
}

:where(.agri-main) a {
  white-space: normal;
}

:where(.agri-main) .box-section-01-child {
  padding-top: 0 !important;
}

/* ============================================================
   SP (max-width: 768px)
   ============================================================ */
@media screen and (max-width: 768px) {

  /* --- Hero SP --- */
  :where(.agri-main) .fc-hero {
    height: 177rem;
  }

  :where(.agri-main) .fc-hero__text {
    top: 40rem;
    bottom: auto;
    left: 16rem;
    gap: 24rem;
  }

  :where(.agri-main) .fc-hero__subtitle {
    font-size: 14rem;
  }

  :where(.agri-main) .fc-hero__title {
    font-size: 48rem;
    line-height: 1.6;
  }

  /* --- Nav sticky SP --- */
  .nav-local-06 {
    position: sticky !important;
    top: 0 !important;
    z-index: 200 !important;
  }

  /* --- Layout wrapper SP --- */
  :where(.agri-main) .fc-layout-wrapper {
    margin-top: 0;
    padding: 0 24rem;
    border-radius: 0;
  }

  /* --- Layout SP: single column --- */
  :where(.agri-main) .fc-layout {
    flex-direction: column;
    gap: 0;
    width: 100%;
  }

  /* --- Sidebar SP: drawer panel --- */
  :where(.agri-main) .fc-sidebar {
    position: sticky;
    top: var(--ygs-nav-local-height, 52px);
    z-index: 100;
    flex: none;
    margin: 0 -24rem;
    width: calc(100% + 48rem);
    border-bottom: 1px solid rgba(0, 0, 0, .1);
    background: #fff;
  }

  :where(.agri-main) .fc-sidebar__toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 24rem;
    width: 100%;
    height: 56rem;
    border: none;
    background: transparent;
    list-style: none;
    cursor: pointer;
  }

  :where(.agri-main) .fc-sidebar__toggle::-webkit-details-marker {
    display: none;
  }

  :where(.agri-main) .fc-sidebar__toggle-title {
    color: var(--fc-black);
    font-weight: 700;
    font-size: 16rem;
    font-family: var(--fc-font);
    line-height: 1.8;
  }

  :where(.agri-main) .fc-sidebar__toggle-icon {
    display: inline-block;
    width: .7em;
    height: .7em;
    border: 2rem solid rgba(0, 0, 0, .5);
    border-top: 0;
    border-left: 0;
    /* border-top: 6rem solid rgba(0, 0, 0, .5);
    border-right: 5rem solid transparent;
    border-left: 5rem solid transparent; */
    transition: transform .2s;
    transform: rotate(45deg);
  }

  :where(.agri-main) .fc-sidebar[open]>.fc-sidebar__toggle .fc-sidebar__toggle-icon {
    transform: rotate(225deg);
  }

  :where(.agri-main) .fc-sidebar__title {
    display: none;
  }

  :where(.agri-main) .fc-sidebar__nav {
    position: absolute;
    right: 0;
    left: 0;
    padding: 0;
    border-bottom: 1px solid rgba(0, 0, 0, .1);
    background: #fff;
    box-shadow: 0 4px 4px rgba(0, 0, 0, .05);
  }

  :where(.agri-main) .fc-sidebar__group {
    width: 100%;
    border-bottom: 1px solid rgba(0, 0, 0, .1);
  }

  :where(.agri-main) .fc-sidebar__group:first-of-type {
    border-top: 1px solid rgba(0, 0, 0, .1);
  }

  :where(.agri-main) .fc-sidebar__group:last-of-type {
    border-bottom: 1px solid rgba(0, 0, 0, .1);
  }

  :where(.agri-main) .fc-sidebar__group-label {
    padding: 0 24rem;
    height: 48rem;
    font-weight: 400;
    font-size: 14rem;
  }

  :where(.agri-main) .fc-sidebar__group-label::before {
    order: 1;
    margin-right: 0;
    margin-left: auto;
    width: 0;
    height: 0;
    border-top: 5rem solid currentColor;
    border-right: 4rem solid transparent;
    border-bottom: 0;
    border-left: 4rem solid transparent;
    transform: rotate(-90deg);
  }

  :where(.agri-main) .fc-sidebar__group[open]>.fc-sidebar__group-label::before {
    transform: rotate(0deg);
  }

  :where(.agri-main) .fc-sidebar__links {
    gap: 0;
    margin: 0;
    padding: 0;
  }

  :where(.agri-main) .fc-sidebar__links li {
    list-style: none;
  }

  :where(.agri-main) .fc-sidebar__links a {
    display: flex;
    align-items: center;
    padding: 0 24rem 0 40rem;
    height: 48rem;
    border-bottom: none;
    color: var(--fc-black);
    text-decoration: none;
    font-size: 14rem;
    line-height: 1;
  }

  :where(.agri-main) .fc-sidebar__links a[aria-current='page'] {
    border-bottom: none;
    font-weight: 700;
  }

  :where(.agri-main) .fc-sidebar__back {
    display: flex;
    align-items: center;
    gap: 0;
    padding: 0 24rem;
    height: 56rem;
    color: var(--fc-black);
    text-decoration: underline;
    font-weight: 700;
    font-size: 14rem;
  }

  :where(.agri-main) .fc-sidebar__back::before {
    display: none;
  }

  /* --- Content SP: full width --- */
  :where(.agri-main) .fc-content {
    padding-top: 80rem;
    width: 100%;
  }

  /* --- Page Title SP --- */
  :where(.agri-main) .fc-page-title {
    gap: 80rem;
    margin-bottom: 64rem;
  }

  :where(.agri-main) .fc-page-title__category {
    font-size: 36rem;
  }

  :where(.agri-main) .fc-page-title__name-text {
    padding-top: 24rem;
    font-size: 24rem;
  }

  /* --- Recommendation Box SP --- */
  :where(.agri-main) .hdg-level4-01,
  :where(.agri-main) h2.hdg-level4-01 {
    padding: 10rem;
  }

  :where(.agri-main) .list-bullet-01 li {
    letter-spacing: .64rem;
    font-size: 16rem;
  }

  /* --- Section Container SP --- */
  :where(.agri-main) .box-section-01 {
    margin-bottom: 60rem;
  }

  /* --- Section Heading SP --- */
  :where(.agri-main) h2.hdg-level2-01 {
    margin: 0 0 30rem;
    font-size: 20rem;
  }

  /* :where(.agri-main) h2.hdg-level2-01::before {
    height: 3rem;
  } */

  :where(.agri-main) h2.hdg-level2-01::after {
    width: 342rem;
    /* height: 3rem; */
  }

  /* --- Body Text SP --- */
  :where(.agri-main) .doc-plain-01,
  :where(.agri-main) p.doc-plain-01 {
    margin: 30rem 0;
    font-size: 16rem !important;
    line-height: 1.8;
  }

  /* --- Image + Text Layout SP --- */
  :where(.agri-main) .lyt-image-02 {
    flex-direction: column;
    gap: 0;
    margin-bottom: 0;
  }

  :where(.agri-main) .lyt-image-02 .image img {
    max-width: 100%;
  }

  :where(.agri-main) .lyt-image-02 figcaption.caption,
  :where(.agri-main) .lyt-image-02 .image .caption {
    font-size: 14rem;
  }

  /* --- Table SP --- */
  :where(.agri-main) .tbl-container-documents {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  :where(.agri-main) .tbl-data-01 thead th {
    padding: 12rem 16rem;
    font-size: 14rem;
  }

  :where(.agri-main) .tbl-data-01 tbody th,
  :where(.agri-main) .tbl-data-01 tbody td {
    padding: 12rem 16rem;
    font-size: 14rem;
  }

  :where(.agri-main) .list-notice-01 {
    font-size: 12rem !important;
  }

  :where(.agri-main) .tbl-data-01 col.pct30 {
    width: auto !important;
  }

  :where(.agri-main) .tbl-data-01 col.pct70 {
    width: auto !important;
  }

  /* --- Business Field SP --- */
  :where(.agri-main) .fc-bf {
    margin-top: 80rem;
    margin-left: calc(-50vw + 50%);
    padding: 80rem 0;
    width: 100vw;
  }

  :where(.agri-main) .fc-bf__header {
    margin-bottom: 64rem;
  }

  :where(.agri-main) .fc-bf__title {
    font-size: 40rem;
  }

  :where(.agri-main) .fc-bf__cards {
    flex-direction: column;
    gap: 21rem;
    padding: 0 24rem;
  }

  :where(.agri-main) .fc-bf__card {
    width: 100%;
    height: 200rem;
  }

  :where(.agri-main) .fc-bf__card-image {
    height: 140rem;
  }

  /* --- Field Hero SP --- */
  :where(.agri-main) .ygs2026-fc-field-hero {
    margin-top: 0;
    height: 177rem;
  }

  /* --- Field Intro SP --- */
  :where(.agri-main) .ygs2026-fc-field-intro {
    padding: 64rem 24rem 0;
  }

  :where(.agri-main) .ygs2026-fc-field-intro__inner {
    flex-direction: column;
    gap: 64rem;
    width: 100%;
  }

  :where(.agri-main) .ygs2026-fc-field-intro__title {
    font-size: 48rem;
  }

  :where(.agri-main) .ygs2026-fc-field-intro__body {
    gap: 40rem;
    width: 100%;
  }

  :where(.agri-main) .ygs2026-fc-field-intro__subtitle {
    font-size: 24rem;
  }

  :where(.agri-main) .ygs2026-fc-field-intro__desc {
    font-size: 16rem;
  }

  /* --- Business Scope SP (carousel) --- */
  :where(.agri-main) .fc-scope {
    gap: 0rem;
    padding: 104rem 0 0;
    width: 100%;
  }

  :where(.agri-main) .fc-scope__header {
    margin-bottom: 64rem;
    padding: 0 24rem;
    width: 100%;
  }

  :where(.agri-main) .fc-scope__title {
    font-size: 40rem;
  }

  /* Slider wrapper: clips peek at viewport edge, positions nav buttons */
  :where(.agri-main) .fc-scope__slider {
    position: relative;
    overflow: hidden;
    width: 100%;
  }

  /* Swiper: overflow visible so peek slides extend into slider's clip area */
  :where(.agri-main) .fc-scope__carousel {
    overflow: visible !important;
    width: 100%;
  }

  /* SP: Let Swiper fully control the wrapper */
  :where(.agri-main) .fc-scope__carousel .swiper-wrapper {
    display: flex !important;
  }

  /* Slide width for auto slidesPerView */
  :where(.agri-main) .fc-scope__carousel .swiper-slide {
    min-height: 479rem;
    width: 290rem;
  }

  :where(.agri-main) .fc-scope-card__icon {
    width: 64rem;
    height: 64rem;
  }

  :where(.agri-main) .fc-scope-card__body {
    gap: 40rem;
    padding: 0;
    padding-top: 16rem;
  }

  :where(.agri-main) .fc-scope-card__title {
    text-align: left;
    font-size: 18rem;
  }

  :where(.agri-main) .fc-scope-card__title br {
    display: none;
  }

  :where(.agri-main) .fc-scope-card__desc {
    font-size: 16rem;
  }

  /* Nav arrows: absolute, vertically centered on card edges */
  :where(.agri-main) .fc-scope__prev,
  :where(.agri-main) .fc-scope__next {
    position: absolute;
    top: 50%;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    width: 30rem;
    height: 60rem;
    border: 2rem solid var(--fc-red);
    border-radius: 3rem;
    background: var(--fc-white);
    cursor: pointer;
    transform: translateY(-50%);
  }

  .fc-scope__slider button svg {
    width: 20rem;
    height: 20rem;
  }

  /* centered on left/right edge of 290rem-wide active card */
  :where(.agri-main) .fc-scope__prev {
    left: calc(50% - 145rem - 15rem);
  }

  :where(.agri-main) .fc-scope__next {
    right: calc(50% - 145rem - 15rem);
  }

  /* Indicator */
  :where(.agri-main) .fc-scope__indicator {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 4rem;
    margin-top: 16rem;
    font-family: 'Barlow', sans-serif;
  }

  :where(.agri-main) .fc-scope__current {
    color: var(--fc-red);
    font-weight: 300;
    font-size: 20rem;
    line-height: 1.5;
  }

  :where(.agri-main) .fc-scope__sep {
    color: #9d9d9d;
    font-size: 12rem;
  }

  :where(.agri-main) .fc-scope__total {
    color: #9d9d9d;
    font-weight: 300;
    font-size: 12rem;
    line-height: 1.5;
  }

  /* --- CTA Banner SP --- */
  :where(.agri-main) .ygs2026-fc-field-cta {
    margin: 0 auto;
    padding: 0 24rem;
    width: 100%;
    height: 168rem;
  }

  :where(.agri-main) .ygs2026-fc-field-cta__link {
    position: relative;
    align-items: center;
    flex-direction: column;
    gap: 16rem;
    padding: 16rem;
    padding-bottom: 40rem;
    height: 100%;
  }

  :where(.agri-main) .ygs2026-fc-field-cta__text {
    position: static;
    width: 100%;
    text-align: center;
    white-space: normal;
    font-size: 18rem;
  }

  :where(.agri-main) .ygs2026-fc-field-cta__text::after {
    position: absolute;
    right: 16rem;
    bottom: 16rem;
    z-index: 1;
    width: 30rem;
    height: 30rem;
  }

  :where(.agri-main) .ygs2026-fc-field-cta__arrow {
    position: absolute;
    right: 16rem;
    bottom: 16rem;
    z-index: 1;
    width: 30rem;
    height: 30rem;
    border: 1px solid #dc1e37;
    border-radius: 100%;
    background-color: #fff;
  }

  :where(.agri-main) .ygs2026-fc-field-cta__link::before {
    content: '';
    position: absolute;
    right: 28rem;
    bottom: 26rem;
    z-index: 2;
    display: block;
    width: 10rem;
    height: 10rem;
    border: 2px solid #dc1e37;
    border-top: 0;
    border-left: 0;
    transform: rotate(-45deg);
  }

  /* --- Recruit SP --- */
  :where(.agri-main) .fc-recruit {
    margin: 120rem auto 0;
    padding: 0 24rem;
    width: 100%;
  }

  :where(.agri-main) .fc-recruit__label {
    font-size: 24rem;
  }

  :where(.agri-main) .fc-recruit__card {
    grid-template-columns: 1fr;
  }

  :where(.agri-main) .fc-recruit__image {
    border-radius: 8rem 8rem 0 0;
  }

  :where(.agri-main) .fc-recruit__image img {
    height: auto;
    aspect-ratio: 555 / 370;
  }

  :where(.agri-main) .fc-recruit__body {
    align-items: center;
    padding: 64rem 16rem 64rem;
  }

  :where(.agri-main) .fc-recruit__title {
    text-align: center;
    font-size: 40rem;
  }

  :where(.agri-main) .fc-recruit__arrow {
    align-self: flex-end;
  }

  :where(.agri-main) .fc-recruit__arrow {
    right: 8rem;
    bottom: 16rem;
    width: 30rem;
    height: 30rem;
  }

  /* --- Support SP --- */
  :where(.agri-main) .fc-support {
    margin: 60rem auto 0;
    padding: 0 24rem 60rem;
    width: 100%;
  }

  :where(.agri-main) .fc-support__title {
    font-size: 20rem;
  }

  :where(.agri-main) .fc-support__links {
    flex-wrap: wrap;
  }

  :where(.agri-main) .fc-support__item {
    font-size: 15rem;
  }

  /* --- White Band SP --- */
  :where(.agri-main) .ygs2026-fc-field-white-band {
    margin-top: 104rem;
    padding: 40rem 0;
  }

  :where(.agri-main) .ygs2026-fc-field-white-band--bottom {
    margin-top: 40rem;
  }


  :where(.agri-main) .list-anchor-01 li {
    display: inline-block;
    margin-right: 20rem;
    padding: 0 0 6rem 20rem;
    font-size: 14rem;
  }

  :where(.agri-main) .list-link-01 li a {
    font-size: 14rem;
  }

  :where(.agri-main) .list-ordered-01 {
    font-size: 14rem !important;
  }

  :where(.agri-main) .list-bullet-01 {
    margin: 20rem 0 !important;
    font-size: 14rem !important;
  }
}
