@charset "UTF-8";
/* pages-corporate.css … コーポレート（index・company・access・news・contact 等） のページで読み込む。
   pages.css を系統ごとに分けたもの（中身・順番・強さの関係は分ける前と同じ）。
   系統（.is-site-*）・ページ（.page-*）ごとの装飾。
   セレクタ先頭の :where(...) は「どの系統・ページで効くか」の指定で、詳細度は増えない。

   pages レイヤーの中は、強さの順に次の3段です（下ほど強い。詳細度に関係なく、この順で決まる）
     1. pages.low  … 旧：各HTMLの <style> 内で @layer pages に入っていた指定
     2. pages.main … 通常の指定
     3. 入れ子にしない指定 … 旧 !important で、他より優先させていた指定 */
@layer pages {
  @layer low, main;

  @layer low {
    /* ---- 03 FACILITY MAP（ページ最大の山場） ---- */
    :where(.page-access) .p-c2-map { margin-top:var(--sp-8); }
    /* 枠や余白は付けず、画像をそのまま置く */
    :where(.page-access) .p-c2-map__img { width:100%; height:auto; display:block; }
    /* エリア別の拠点数（大きい情報を強く） */
    :where(.page-access) .p-c2-counts {
      display:grid; grid-template-columns:repeat(3,1fr);
      gap:clamp(1rem,2.5vw,var(--sp-6)); margin-top:var(--sp-6);
    }
    :where(.page-access) .p-c2-count { border-top:2px solid var(--c-brand-800); padding-top:var(--sp-4); }
    :where(.page-access) .p-c2-count__area {
      font-family:var(--ff-sans); font-weight: var(--fw-bold); font-size:1rem;
      letter-spacing:.06em; color:var(--c-ink);
    }
    :where(.page-access) .p-c2-count__num {
      display:block; margin-top:.4rem; font-family:var(--ff-serif);
      font-weight: var(--fw-semibold); line-height:1; font-size:clamp(2.25rem,4.5vw,3.25rem); color:var(--c-brand-900);
    }
    :where(.page-access) .p-c2-count__num i { font-style:normal; font-size:.4em; margin-left:.25em; color:var(--c-text-muted); }
    /* 凡例 */
    :where(.page-access) .p-c2-legend { display:flex; flex-wrap:wrap; gap:var(--sp-4) var(--sp-6); margin-top:var(--sp-5); }
    :where(.page-access) .p-c2-legend__item {
      display:flex; align-items:center; gap:.6em;
      font-family:var(--ff-sans); font-size:.95rem; color:var(--c-text-muted);
    }
    :where(.page-access) .p-c2-legend__pin {
      width:18px; height:18px; flex:none; display:block;
      object-fit:contain;
    }
    /* ---- 04 GUNMA FACILITIES｜タグ絞り込み ---- */
    :where(.page-access) .p-c2-tags { display:flex; flex-wrap:wrap; gap:var(--sp-3); margin-top:var(--sp-6); }
    :where(.page-access) .p-c2-tag {
      font-family:var(--ff-sans); font-weight: var(--fw-bold); font-size:.95rem;
      letter-spacing: var(--tr-ui); padding:.7em 1.4em; border:1px solid var(--c-brand-800);
      color:var(--c-brand-800); background:var(--c-bg); transition:background var(--dur) var(--ease), color var(--dur) var(--ease);
    }
    :where(.page-access) .p-c2-tag[aria-pressed="true"] { background:var(--c-brand-800); color:var(--c-text-invert); }
    :where(.page-access) .p-c2-tag:focus-visible { outline:2px solid var(--c-brand-900); outline-offset:3px; }
    @media (max-width:640px) {
      :where(.page-access) .p-c2-tags { flex-wrap:nowrap; gap:.3rem; }
      :where(.page-access) .p-c2-tag {
        flex:1 1 auto; min-width:0; white-space:nowrap; font-size:min(.95rem, 3.5vw);
        letter-spacing: var(--tr-heading); padding:.75em .3em;
    }
    }
    /* 施設カード：均等な箱に一括で並べない。主要施設は横長で強く見せる */
    :where(.page-access) .p-c2-cards {
      display:grid; grid-template-columns:repeat(3,minmax(0,1fr));
      gap:clamp(1.25rem,2.5vw,var(--sp-6)); margin-top:var(--sp-6);
    }
    :where(.page-access) .p-c2-card { min-width:0; }
    :where(.page-access) .p-c2-card--key {
      grid-column:span 3; display:grid;
      grid-template-columns:minmax(0,1.1fr) minmax(0,1fr);
      gap:clamp(1.25rem,3vw,2.5rem); align-items:center;
      background:var(--c-bg); border:1px solid var(--c-line); padding:clamp(1.25rem,2.5vw,var(--sp-6));
    }
    :where(.page-access) .p-c2-card__media { overflow:hidden; }
    :where(.page-access) .p-c2-card__media img { width:100%; height:auto; aspect-ratio:16/9; object-fit:cover; display:block; }
    :where(.page-access) .p-c2-card__name {
      display:block; margin-top:.9rem; font-family:var(--ff-serif);
      font-weight: var(--fw-semibold); font-size:1.1875rem; line-height:1.5; color:var(--c-ink);
    }
    :where(.page-access) .p-c2-card--key .p-c2-card__name { margin-top:0; font-size:var(--fs-h3); }
    :where(.page-access) .p-c2-card__area {
      display:inline-block; margin-top:var(--sp-2); font-family:var(--ff-sans);
      font-size:.85rem; letter-spacing: var(--tr-wide); color:var(--c-brand-800);
      border:1px solid var(--c-brand-100); background:var(--c-brand-50); padding:.2em .8em;
    }
    :where(.page-access) .p-c2-card__txt { margin-top:.9rem; font-size:1rem; line-height:1.9; color:var(--c-text-muted); }
    :where(.page-access) .p-c2-card[hidden],
    :where(.page-access) .p-c2-card--key[hidden] { display:none; }
    :where(.page-access) .p-c2-count-live {
      margin-top:var(--sp-5); font-family:var(--ff-sans);
      font-size:.95rem; color:var(--c-text-muted);
    }
    /* ---- 05 MIYAZAKI ---- */
    /* 見出しサイズは本社カード（.p-c2-card--key）に合わせる */
    :where(.page-access) .p-c2-miya .p-c2-card__name { font-size:var(--fs-h3); }
    :where(.page-access) .p-c2-miya {
      display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1fr);
      gap:clamp(1.5rem,4vw,3.5rem); align-items:center; margin-top:var(--sp-6);
    }
    :where(.page-access) .p-c2-miya__media img { width:100%; height:auto; aspect-ratio:4/3; object-fit:cover; display:block; }
    /* 2枚構成：写真の下に名称・エリア・説明を置くカードを横に2枚 */
    :where(.page-access) .p-c2-miya--2 { align-items:start; }
    /* 写真比率は群馬のカードと同じ16:9 */
    :where(.page-access) .p-c2-miya--2 .p-c2-miya__media img { aspect-ratio:16/9; }
    :where(.page-access) .p-c2-miya--2 .p-c2-card__name { margin-top:var(--sp-4); }
    @media (max-width:860px) {
      :where(.page-access) .p-c2-miya.p-c2-miya--2 { grid-template-columns:repeat(2,minmax(0,1fr)); gap:var(--sp-5); }
    }
    @media (max-width:640px) {
      :where(.page-access) .p-c2-miya.p-c2-miya--2 { column-gap:var(--sp-3); }
      :where(.page-access) .p-c2-miya--2 .p-c2-card__name { margin-top:.6rem; font-size:1rem; line-height:1.5; }
      :where(.page-access) .p-c2-miya--2 .p-c2-card__txt br { display:none; }
    }
    /* ---- 06 NEXT｜「農場・施設→採用」を強めに扱う（指示書■9） ---- */
    :where(.page-access) .p-c2-next__main {
      display:flex; align-items:stretch; background:var(--c-bg);
      border:1px solid var(--c-line); text-decoration:none;
      transition:background var(--dur) var(--ease), border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
    }
    :where(.page-access) .p-c2-next__bar { flex:none; width:3px; background:var(--c-brand-800); }
    :where(.page-access) .p-c2-next__body { flex:1; min-width:0; padding:clamp(1.25rem,3vw,var(--sp-6)); }
    :where(.page-access) .p-c2-next__main:hover,
    :where(.page-access) .p-c2-next__main:focus-visible {
      background:rgba(20,80,126,.025);
      border-color:var(--c-brand-100); box-shadow:0 2px 10px rgba(20,80,126,.06);
    }
    :where(.page-access) .p-c2-next__main:hover b { color:var(--c-brand-900); }
    :where(.page-access) .p-c2-next__main b {
      display:block; font-family:var(--ff-serif); font-weight: var(--fw-semibold);
      font-size:var(--fs-h3); color:var(--c-ink); transition:color var(--dur) var(--ease);
    }
    :where(.page-access) .p-c2-next__body > span {
      display:block; margin-top:.6rem; font-size:1rem;
      line-height:1.85; color:var(--c-text-muted);
    }
    @media (max-width:860px) {
      :where(.page-access) .p-c2-cards { grid-template-columns:repeat(2,minmax(0,1fr)); }
      :where(.page-access) .p-c2-card--key { grid-column:span 2; grid-template-columns:1fr; }
      :where(.page-access) .p-c2-miya { grid-template-columns:1fr; }
    }
    @media (max-width:640px) {
      :where(.page-access) .p-c2-counts { grid-template-columns:repeat(3,minmax(0,1fr)); gap:var(--sp-3); }
      /* エリア名のあとの（市町村）は小さく次の行に */
      :where(.page-access) .p-c2-count__area { font-size:.9375rem; }
      :where(.page-access) .p-c2-count__sub { display:block; margin-top:.15rem; font-size:.75rem; font-weight: var(--fw-medium); line-height:1.5; color:var(--c-text-muted); }
      /* 2026-10-15 SP：1列だと縦に長くなりすぎるため2列にする（本社カードは2列ぶち抜き） */
      :where(.page-access) .p-c2-cards { grid-template-columns:repeat(2,minmax(0,1fr)); column-gap:var(--sp-3); row-gap:var(--sp-5); }
      :where(.page-access) .p-c2-card__name { margin-top:.6rem; font-size:1rem; line-height:1.5; }
      :where(.page-access) .p-c2-card__area { margin-top:.3rem; font-size:.75rem; }
      :where(.page-access) .p-c2-card__txt { font-size:.9375rem; }
      :where(.page-access) .p-c2-card--key { grid-column:span 2; }
    }
    /* ---- 01 FV：文字を主役に。写真が弱くても成立させる ---- */
    :where(.page-company-5s) .p-5s-fv {
      position:relative; display:flex; align-items:center;
      min-height:min(84svh, 760px);
      padding-block:calc(var(--header-h) + var(--sp-8)) var(--sp-8);
      background:var(--c-brand-50); overflow:hidden;
    }
    /* 上下の境界を緩い曲線にする（前後の白いセクションへ連続させる） */
    :where(.page-company-5s) .p-5s-fv::before,
    :where(.page-company-5s) .p-5s-fv::after {
      content:""; position:absolute; left:0; right:0; z-index:1;
      pointer-events:none; background-repeat:no-repeat; background-size:100% 100%;
    }
    :where(.page-company-5s) .p-5s-fv::before {
      top:-1px; height:clamp(28px,3.5vw,60px);
      background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 60' preserveAspectRatio='none'%3E%3Cpath d='M0,0 L1440,0 L1440,8 C1010,30 470,44 0,54 Z' fill='%23ffffff'/%3E%3C/svg%3E"); background-position:top center;
    }
    :where(.page-company-5s) .p-5s-fv::after {
      bottom:-1px; height:clamp(56px,8vw,128px);
      background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 136' preserveAspectRatio='none'%3E%3Cpath d='M0.0,72.8 C19.5,70.7 77.9,62.8 116.8,60.0 C155.8,57.2 194.7,56.5 233.6,55.9 C272.6,55.4 311.5,55.9 350.5,56.6 C389.4,57.3 428.3,58.4 467.3,60.0 C506.2,61.6 545.1,63.7 584.1,66.4 C623.0,69.0 662.0,72.7 700.9,75.8 C739.8,78.9 778.8,82.3 817.7,84.9 C856.7,87.6 895.6,89.9 934.5,91.7 C973.5,93.5 1012.4,95.1 1051.4,95.7 C1090.3,96.3 1129.2,96.6 1168.2,95.4 C1207.1,94.1 1246.1,91.6 1285.0,88.3 C1323.9,85.0 1376.0,78.5 1401.8,75.5 C1427.6,72.5 1433.6,71.0 1440.0,70.1 L1440,136 L0,136 Z' fill='%23ffffff'/%3E%3C/svg%3E"); background-position:bottom center;
    }
    :where(.page-company-5s) .p-5s-fv__media { position:absolute; inset:0; }
    :where(.page-company-5s) .p-5s-fv__media img { width:100%; height:100%; object-fit:cover; display:block; }
    /* 全面のグラデーションは使わない。文字の背後だけを柔らかく明るくする */
    :where(.page-company-5s) .p-5s-fv__copy {
      position:relative; z-index:2; width:100%;
      display:flex; justify-content:center;
    }
    /* 英字＋和文の2行。左右の線は使わない */
    :where(.page-company-5s) .p-5s-fv__eyebrow::before,
    :where(.page-company-5s) .p-5s-fv__eyebrow::after { display:none; }
    :where(.page-company-5s) .p-5s-fv__eyebrow-text { display:block; line-height:1.9; }
    :where(.page-company-5s) .p-5s-fv__inner {
      position:relative; isolation:isolate; text-align:center;
      padding:clamp(1.75rem,4vw,3.25rem) clamp(2rem,6vw,5rem);
    }
    /* 光彩は文字の外側まで大きく広げる */
    :where(.page-company-5s) .p-5s-fv__inner::before {
      content:""; position:absolute;
      inset:clamp(-220px,-16vw,-90px) clamp(-320px,-22vw,-120px); z-index:-1;
      background:radial-gradient(58% 55% at 50% 50%,
        rgba(255,255,255,1) 0%, rgba(255,255,255,1) 22%,
        rgba(255,255,255,.92) 38%, rgba(255,255,255,.66) 56%,
        rgba(255,255,255,.30) 72%, rgba(255,255,255,0) 88%);
      filter:blur(26px);
    }
    :where(.page-company-5s) .p-5s-fv__main {
      margin-top:var(--sp-4); font-family:var(--ff-serif); font-weight: var(--fw-semibold);
      font-size:clamp(2.25rem, 4.4vw + 1rem, 4.5rem); line-height:1.35; color:var(--c-ink);
    }
    :where(.page-company-5s) .p-5s-fv__key {
      color:var(--c-sky); text-decoration:underline;
      text-decoration-thickness:3px; text-underline-offset:.16em;
    }
    :where(.page-company-5s) .p-5s-fv__sub { margin-top:var(--sp-5); font-size:var(--fs-lead); }
    /* ---- 02 INTRO：見出しを主役にした横一列 ---- */
    :where(.page-company-5s) .p-5s-intro-sec { padding-top:calc(var(--section-py) * 2 / 3); }
    :where(.page-company-5s) .p-5s-intro { text-align:center; }
    :where(.page-company-5s) .p-5s-intro__body { margin-top:var(--sp-5); }
    :where(.page-company-5s) .p-5s-verbs {
      --dash:clamp(24px,3.4vw,56px);
      /* 見出しの文字サイズ。線の縦位置もこの値から算出する */
      --vfs:clamp(1.5rem,2.1vw + .6rem,2.4rem); --vlh:1.4;
      margin-top:calc(clamp(2.5rem,5vw,4.5rem) * 2 / 3);
      display:flex; justify-content:space-between; align-items:flex-start; gap:0;
    }
    /* 各項目は中身の幅で並べる（見出しの長さがそれぞれ違うため） */
    :where(.page-company-5s) .p-5s-verbs__item {
      position:relative; text-align:center; flex:0 0 auto;
      padding-right:calc(var(--dash) + clamp(.5rem,1.4vw,1.25rem));
    }
    :where(.page-company-5s) .p-5s-verbs__item:last-child { padding-right:0; }
    /* 見出しの間に引く短い線。ボーダーではなく独立した背景として描く */
    /* 線は見出しブロック（2行分）の上下中央に置く */
    :where(.page-company-5s) .p-5s-verbs__item + .p-5s-verbs__item::before {
      content:""; position:absolute;
      top:calc(var(--vfs) * var(--vlh));
      left:calc(-1 * var(--dash) - clamp(.25rem,.7vw,.6rem));
      width:var(--dash); height:1px; background:var(--c-sky);
    }
    /* 見出しは2行分の高さを確保し、説明文の開始位置を全項目で揃える */
    :where(.page-company-5s) .p-5s-verbs__v {
      font-family:var(--ff-serif); font-weight: var(--fw-semibold);
      line-height:var(--vlh); font-size:var(--vfs);
      min-height:calc(var(--vfs) * var(--vlh) * 2);
      display:flex; flex-direction:column; align-items:center; justify-content:center;
      color:var(--c-ink); white-space:nowrap;
    }
    /* 行末の「。」は字面が左下に寄り、行の中心が約.25em左へずれる。
         「。」で終わる行だけ、その分を text-indent で右に戻す */
    :where(.page-company-5s) .p-5s-ln { display:block; }
    :where(.page-company-5s) .p-5s-ln--p { text-indent:.38em; }
    /* 1行の項目も、2行の項目と上下中央で揃える */
    :where(.page-company-5s) .p-5s-verbs__t {
      margin-top:clamp(.4rem,.9vw,.8rem);
      min-height:calc(1.85em * 2);
      display:flex; flex-direction:column; align-items:center; justify-content:center;
      font-size:clamp(.875rem,.45vw + .75rem,1rem);
      line-height:1.85; color:var(--c-text-muted);
    }
    /* 線は専用のクラス（is-drawn）で制御する。見出しが出そろってから引く */
    .is-js:where(:has(> .page-company-5s)) .p-5s-verbs__item::before {
      transform:scaleX(0); transform-origin:left center;
      transition:transform .5s cubic-bezier(.22,.7,.2,1) 1.2s;
    }
    .is-js:where(:has(> .page-company-5s)) .p-5s-verbs.is-drawn .p-5s-verbs__item::before { transform:scaleX(1); }
    .is-js:where(:has(> .page-company-5s)) .p-5s-verbs__item:nth-child(3)::before { transition-delay:1.5s; }
    .is-js:where(:has(> .page-company-5s)) .p-5s-verbs__item:nth-child(4)::before { transition-delay:1.8s; }
    @media (prefers-reduced-motion:reduce) {
      .is-js:where(:has(> .page-company-5s)) .p-5s-verbs__item::before { transform:none; transition:none; }
    }
    :where(.page-company-5s) .p-5s-intro__last {
      margin-top:clamp(2.5rem,5vw,4.5rem); text-align:center;
      font-family:var(--ff-serif); font-weight: var(--fw-semibold);
      font-size:clamp(1.75rem, 2.8vw, 2.5rem); line-height:1.45; color:var(--c-ink);
    }
    :where(.page-company-5s) .p-5s-intro__last em { font-style:normal; color:var(--c-sky); }
    /* ---- 03 WHAT IS 5S：漢字を主役にする ---- */
    /* 背景は写真を使わず、現在の面色（#EEF4FA）を基調にしたグラデーション */
    :where(.page-company-5s) .p-5s-def-sec {
      position:relative;
      background-image:linear-gradient(180deg, #f7fafd 0%, var(--c-brand-50) 38%, #e5eef7 100%);
    }
    :where(.page-company-5s) .p-5s-def-head {
      display:grid; grid-template-columns:max-content minmax(0,1fr);
      gap:clamp(1.5rem,4vw,var(--sp-8)); align-items:end;
    }
    :where(.page-company-5s) .p-5s-def-head__h {
      font-family:var(--ff-serif); font-weight: var(--fw-semibold);
      font-size:clamp(2.25rem, 4.5vw, 4.0625rem); line-height:1.45; color:var(--c-ink);
    }
    :where(.page-company-5s) .p-5s-def-head__lead {
      font-size:clamp(1.1rem, 1.7vw, 1.5rem); line-height:1.75;
      white-space:nowrap;
    }
    /* 面は敷かず、行の区切り線だけで見せる */
    /* 行をまたいで列幅を共有する。漢字の列は最も長い「しつけ」に揃う */
    :where(.page-company-5s) .p-5s-def {
      margin-top:clamp(2rem,4.5vw,3.375rem);
      display:grid; grid-template-columns:max-content 1px minmax(0,1fr);
      /* subgrid の行は親の gap を引き継ぐため、列間は親で指定する */
      column-gap:clamp(1.5rem,4vw,var(--sp-8));
    }
    :where(.page-company-5s) .p-5s-def__item {
      display:grid; grid-column:1 / -1;
      grid-template-columns:subgrid;
      gap:clamp(1.5rem,4vw,var(--sp-8)); align-items:center;
      padding-block:clamp(1.5rem,3vw,2.5rem);
      background-image:linear-gradient(#d4e0ea, #d4e0ea);
      background-size:100% 1px; background-position:bottom left; background-repeat:no-repeat;
    }
    :where(.page-company-5s) .p-5s-def__item:last-child { background-image:none; }
    @supports not (grid-template-columns:subgrid) {
      :where(.page-company-5s) .p-5s-def { display:block; }
      :where(.page-company-5s) .p-5s-def__item { grid-template-columns:clamp(7.5rem,13vw,12rem) 1px minmax(0,1fr); }
    }
    :where(.page-company-5s) .p-5s-def__kanji {
      font-family:var(--ff-serif); font-weight: var(--fw-semibold);
      font-size:clamp(2.25rem, 3.9vw, 3.5rem); line-height:1.15; color:var(--c-sky);
      white-space:nowrap;
    }
    :where(.page-company-5s) .p-5s-def__roma {
      margin-top:var(--sp-2); font-weight: var(--fw-bold);
      font-size:15px; letter-spacing:.12em; color:var(--c-ink);
    }
    :where(.page-company-5s) .p-5s-def__roma em { font-style:normal; color:var(--c-sky); }
    /* 縦の区切り線。ボーダーではなく独立した要素として置く */
    :where(.page-company-5s) .p-5s-def__sep { display:block; width:1px; align-self:stretch; background:var(--c-sky); }
    :where(.page-company-5s) .p-5s-def__text { font-size:clamp(1rem, 1.25vw, 1.125rem); line-height:1.9; }
    /* 結びだけ l-narrow を越えてコンテンツ幅まで広げる（2行に収めるため）。
         親より広いので margin:auto では中央にならず、左半分ずらして中央に戻す */
    :where(.page-company-5s) .p-5s-def__close {
      margin:clamp(2.5rem,5vw,75px) 0 0; text-align:center;
      width:min(var(--container,1120px) - var(--pad) * 2, 92vw);
      position:relative; left:50%; transform:translateX(-50%);
    }
    :where(.page-company-5s) .p-5s-def__close p:not(.p-5s-def__strong) { font-size:clamp(1rem, 1.25vw, 1.125rem); }
    :where(.page-company-5s) .p-5s-def__close p.p-5s-def__strong {
      margin-top:14px; font-family:var(--ff-serif); font-weight: var(--fw-semibold);
      font-size:clamp(1.5rem, 2.2vw, 2rem); line-height:1.45; color:var(--c-ink);
    }
    :where(.page-company-5s) .p-5s-def__strong em { font-style:normal; color:var(--c-sky); }
    /* ---- 04 5S IN ACTION：3場面。同じ型で繰り返さない ---- */
    :where(.page-company-5s) .p-5s-act { margin-top:var(--sp-7); }
    :where(.page-company-5s) .p-5s-act__scene + .p-5s-act__scene { margin-top:var(--sp-8); }
    :where(.page-company-5s) .p-5s-act__h {
      font-family:var(--ff-serif); font-weight: var(--fw-semibold);
      font-size:var(--fs-h3); line-height:1.5; color:var(--c-ink);
    }
    :where(.page-company-5s) .p-5s-act__t { margin-top:1.1rem; font-size:1rem; line-height:2; }
    /* A：実物と社員の言葉を並べる */
    :where(.page-company-5s) .p-5s-act--a {
      display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1fr);
      gap:var(--sp-6); align-items:center;
    }
    :where(.page-company-5s) .p-5s-act__fig { margin:0; background:var(--c-ph); aspect-ratio:4 / 3; overflow:hidden; }
    :where(.page-company-5s) .p-5s-act__fig img { width:100%; height:100%; object-fit:cover; display:block; }
    :where(.page-company-5s) .p-5s-quote { margin:var(--sp-5) 0 0; }
    :where(.page-company-5s) .p-5s-quote__text {
      font-family:var(--ff-serif); font-size:1.0625rem; line-height:2;
      color:var(--c-ink);
    }
    :where(.page-company-5s) .p-5s-quote__mark { color:var(--c-brand-800); font-weight: var(--fw-bold); }
    :where(.page-company-5s) .p-5s-quote__name { margin-top:var(--sp-4); font-size:.9375rem; color:var(--c-text-muted); }
    /* B+C：左にテキスト2件、右に写真、下段中央にボタン */
    :where(.page-company-5s) .p-5s-act--bc {
      display:grid;
      grid-template-columns:minmax(0,1fr) minmax(0,.82fr);
      column-gap:var(--sp-6); row-gap:var(--sp-6); align-items:stretch;
    }
    :where(.page-company-5s) .p-5s-act__texts { display:grid; gap:var(--sp-7); align-content:start; }
    /* 写真はテキスト列と同じ高さにそろえる */
    :where(.page-company-5s) .p-5s-act__fig--bc { aspect-ratio:auto; height:100%; }
    :where(.page-company-5s) .p-5s-act--bc .p-5s-act__link { grid-column:1 / -1; margin-top:var(--sp-6); text-align:center; }
    /* C：07への導線 */
    :where(.page-company-5s) .p-5s-act__link { margin-top:var(--sp-5); }
    /* ---- 05 5S CONTEST：引用が主役 ---- */
    :where(.page-company-5s) .p-5s-contest { text-align:center; }
    /* 5S CONTEST：写真を背景に敷き、白を重ねて本文の可読性を確保する */
    :where(.page-company-5s) #contest { position:relative; isolation:isolate; }
    :where(.page-company-5s) #contest::before {
      content:""; position:absolute; inset:0; z-index:-1;
      background-image:
        linear-gradient(180deg, rgba(246,250,247,.88) 0%, rgba(246,250,247,.77) 45%, rgba(246,250,247,.86) 100%),
        url("/wp-content/uploads/c6-contest-bg.jpg");
      background-size:cover, cover;
      background-position:center, center 38%;
      background-repeat:no-repeat, no-repeat;
    }
    :where(.page-company-5s) .p-5s-h2--key { font-size:clamp(1.75rem, 2.6vw + .6rem, 3rem); line-height:1.5; }
    :where(.page-company-5s) .p-5s-h2--key em { font-style:normal; color:var(--c-sky); }
    :where(.page-company-5s) .p-5s-contest__body { margin-top:var(--sp-5); font-size:1.0625rem; line-height:2.05; }
    :where(.page-company-5s) .p-5s-pull {
      position:relative; margin:var(--sp-7) auto 0; max-width:24em;
      --bk-off:clamp(10px, 4vw, 72px);
      font-family:var(--ff-serif); font-weight: var(--fw-semibold);
      font-size:clamp(1.5rem, 2vw + 1rem, 2.5rem); line-height:1.65; color:var(--c-sky);
    }
    /* 鉤括弧の線（56×104）。ボーダーではなく1pxのグラデーションで描く */
    :where(.page-company-5s) .p-5s-pull::before,
    :where(.page-company-5s) .p-5s-pull::after {
      content:""; position:absolute; width:56px; height:104px;
      background-image:linear-gradient(var(--c-sky),var(--c-sky)),
                       linear-gradient(var(--c-sky),var(--c-sky));
      background-size:56px 1px, 1px 104px; background-repeat:no-repeat; pointer-events:none;
    }
    :where(.page-company-5s) .p-5s-pull::before { left:calc(var(--bk-off) * -1); top:0; background-position:left top, left top; }
    :where(.page-company-5s) .p-5s-pull::after { right:calc(var(--bk-off) * -1); bottom:0; background-position:right bottom, right bottom; }
    :where(.page-company-5s) .p-5s-pull__name {
      margin-top:var(--sp-5); font-family:var(--ff-sans); font-weight: var(--fw-regular);
      font-size:.9375rem; color:var(--c-text-muted);
    }
    :where(.page-company-5s) .p-5s-tbd {
      display:inline-block; margin-left:.4em; padding:.15em .6em; border-radius:3px;
      background:var(--c-brand-100); font-size:.8125rem; color:var(--c-brand-900);
    }
    /* ---- 06 VOICE ---- */
    /* 左カラムを固定し、右のコメントだけがスクロールで流れる */
    :where(.page-company-5s) .p-5s-voicewrap {
      margin-top:0; display:grid;
      grid-template-columns:minmax(0,1fr) minmax(0,1fr);
      column-gap:clamp(1.6rem,3.4vw,3.2rem); align-items:stretch;
    }
    :where(.page-company-5s) .p-5s-voice-aside { min-width:0; }
    :where(.page-company-5s) .p-5s-voice-aside__inner {
      position:sticky;
      top:calc(var(--header-h) + var(--sp-6));
    }
    @media (min-width:761px) and (max-height:820px) {
      :where(.page-company-5s) .p-5s-voice-aside__inner { top:calc(var(--header-h) + .5rem); }
    }
    /* スタックのため block。カード間・末尾の余白は要素で確保する
         （margin / padding だと sticky の可動域が生まれないため） */
    :where(.page-company-5s) .p-5s-voice { margin-top:0; display:block; }
    :where(.page-company-5s) .p-5s-voice__gap { display:block; height:46vh; }
    :where(.page-company-5s) .p-5s-voice__tail { display:block; height:75vh; }
    /* カードスタック：同じ位置に貼り付き、次のカードが上に重なってくる */
    :where(.page-company-5s) .p-5s-voice__item {
      position:sticky; height:auto;
      top:calc(var(--header-h) + var(--sp-6));
      min-height:var(--voice-h, 72svh);
    }
    @media (min-width:761px) and (max-height:820px) {
      :where(.page-company-5s) .p-5s-voice__item { top:calc(var(--header-h) + .5rem); }
    }
    /* 重なったときに下のカードが透けないよう、影で境目をつける */
    :where(.page-company-5s) .p-5s-voice__item { box-shadow:0 -12px 28px rgba(20,30,50,.07); }
    /* 重なりながらフェードインする */
    .is-js:where(:has(> .page-company-5s)) .p-5s-voice__item {
      opacity:0; transform:translateY(18px);
      transition:opacity .5s cubic-bezier(.2,.7,.3,1), transform .5s cubic-bezier(.2,.7,.3,1);
    }
    .is-js:where(:has(> .page-company-5s)) .p-5s-voice__item.is-shown { opacity:1; transform:none; }
    @media (prefers-reduced-motion: reduce) {
      .is-js:where(:has(> .page-company-5s)) .p-5s-voice__item { opacity:1; transform:none; transition:none; }
    }
    /* 左カラムに入ったので、アンケート部分は左揃え・幅の飛び出しを解除 */
    :where(.page-company-5s) .p-5s-voice-aside .p-5s-survey,
    :where(.page-company-5s) .p-5s-voice-aside .p-5s-survey__text { text-align:left; }
    /* 2行目を1行に収めるため縮小 */
    :where(.page-company-5s) .p-5s-voice-aside .p-5s-survey__text { font-size:clamp(1.25rem, 1.7vw, 1.5rem); }
    :where(.page-company-5s) .p-5s-voice-aside .p-5s-survey__note {
      width:auto; position:static;
      left:auto; transform:none;
    }
    :where(.page-company-5s) .p-5s-voice__item {
      display:flex; flex-direction:column;
      padding:clamp(1.4rem,2.6vw,2.2rem);
      border:1px solid var(--c-line); border-radius:12px; background:var(--c-bg);
    }
    :where(.page-company-5s) .p-5s-voice__pull {
      font-family:var(--ff-serif); font-weight: var(--fw-semibold);
      font-size:clamp(1.05rem, .7vw + .75rem, 1.4rem); line-height:1.6; color:var(--c-ink);
    }
    @media (max-width:760px) {
      /* SPは縦積み。並び順は Voice見出し → コメント → アンケート */
      :where(.page-company-5s) .p-5s-voicewrap { display:flex; flex-direction:column; gap:0; }
      :where(.page-company-5s) .p-5s-voice-aside,
      :where(.page-company-5s) .p-5s-voice-aside__inner { display:contents; }
      :where(.page-company-5s) .p-5s-voice-aside__inner > * { order:1; }
      :where(.page-company-5s) .p-5s-voice {
        order:2; margin-top:var(--sp-7);
        display:grid; grid-template-columns:minmax(0,1fr); gap:clamp(1.2rem,2.4vw,var(--sp-6));
    }
      :where(.page-company-5s) .p-5s-voice__gap,
      :where(.page-company-5s) .p-5s-voice__tail { display:none; }
      :where(.page-company-5s) .p-5s-voice__item { position:static; min-height:0; box-shadow:none; }
      :where(.page-company-5s) .p-5s-survey { order:3; }
    }
    :where(.page-company-5s) .p-5s-voice__body { margin-top:var(--sp-5); font-size:1rem; line-height:2; }
    :where(.page-company-5s) .p-5s-voice__body p + p { margin-top:var(--sp-4); }
    :where(.page-company-5s) .p-5s-voice__name { margin-top:auto; padding-top:1.1rem; font-size:.9375rem; color:var(--c-text-muted); }
    /* 2026-10-14 修正シートNo.11：カードが重なりながら流れる演出を廃止し、1画面内に固定表示。
         カードは右カラムに上下2段でコンパクトに並べ、縦の間延びをなくす */
    :where(.page-company-5s) .p-5s-voicewrap { align-items:center; }
    :where(.page-company-5s) .p-5s-voice-aside__inner { position:static; }
    :where(.page-company-5s) .p-5s-voice { display:grid; grid-template-columns:minmax(0,1fr); gap:clamp(1rem,1.6vw,1.25rem); }
    :where(.page-company-5s) .p-5s-voice__gap,
    :where(.page-company-5s) .p-5s-voice__tail { display:none; }
    :where(.page-company-5s) .p-5s-voice__item {
      position:static; min-height:0; box-shadow:none;
      padding:clamp(1.2rem,2vw,1.6rem) clamp(1.3rem,2.2vw,1.8rem);
    }
    .is-js:where(:has(> .page-company-5s)) .p-5s-voice__item { opacity:1; transform:none; transition:none; }
    :where(.page-company-5s) .p-5s-voice__pull { font-size:clamp(1.05rem, .5vw + .8rem, 1.25rem); line-height:1.55; }
    :where(.page-company-5s) .p-5s-voice__body { margin-top:.8rem; font-size:.9375rem; line-height:1.85; }
    :where(.page-company-5s) .p-5s-voice__body p + p { margin-top:.6rem; }
    :where(.page-company-5s) .p-5s-voice__name { padding-top:.8rem; font-size:.875rem; }
    :where(.page-company-5s) .p-5s-survey { margin-top:var(--sp-7); text-align:center; }
    /* 注釈だけ l-narrow を越えてコンテンツ幅いっぱいに広げる。
         親より広いので margin:auto では中央にならず、左半分ずらして中央に戻す */
    :where(.page-company-5s) .p-5s-survey__note {
      width:min(var(--container,1120px) - var(--pad) * 2, 92vw);
      position:relative; left:50%; transform:translateX(-50%);
    }
    /* 03セクション末尾の結び（.p-5s-def__strong）と同じ扱い */
    :where(.page-company-5s) .p-5s-survey__text {
      font-family:var(--ff-serif); font-weight: var(--fw-semibold);
      font-size:clamp(1.5rem, 2.2vw, 2rem); line-height:1.45; color:var(--c-ink);
      text-align:center;
    }
    :where(.page-company-5s) .p-5s-survey__text em { font-style:normal; color:var(--c-sky); }
    :where(.page-company-5s) .p-5s-survey__btn { margin-top:clamp(1.5rem,3vw,2.25rem); }
    /* 注釈はボタンの下。1行に収まるよう幅の制限を外す */
    :where(.page-company-5s) .p-5s-survey__note {
      margin-top:clamp(1.5rem,3vw,2.25rem); max-width:none;
      font-size:.8125rem; line-height:1.8; color:var(--c-text-subtle);
    }
    /* ---- 07 WORKPLACE SAFETY：濃色面は部分的にここだけ ---- */
    /* 背景写真を固定（スクロールしても動かない）。文字が読めるよう濃紺を重ねる */
    :where(.page-company-5s) .p-5s-safety {
      color:var(--c-text-invert); background-color:var(--c-navy);
      background-image:linear-gradient(rgba(24,36,60,.88), rgba(24,36,60,.94)),
        url("/wp-content/uploads/5s-what-bg.jpg");
      background-size:cover, cover; background-position:center, center;
      background-repeat:no-repeat, no-repeat;
      background-attachment:scroll, fixed;
    }
    @media (max-width:900px) {
      :where(.page-company-5s) .p-5s-safety { background-attachment:scroll, scroll; }
    }
    :where(.page-company-5s) .p-5s-safety .t-eyebrow,
    :where(.page-company-5s) .p-5s-safety .is-style-eyebrow,
    :where(.page-company-5s) .p-5s-safety .is-style-eyebrow-invert { color:var(--c-brand-100); }
    /* 濃紺地では左右の線を白にする */
    :where(.page-company-5s) .p-5s-safety .t-eyebrow::before,
    :where(.page-company-5s) .p-5s-safety .t-eyebrow::after,
    :where(.page-company-5s) .p-5s-safety .is-style-eyebrow::before,
    :where(.page-company-5s) .p-5s-safety .is-style-eyebrow-invert::before,
    :where(.page-company-5s) .p-5s-safety .is-style-eyebrow::after,
    :where(.page-company-5s) .p-5s-safety .is-style-eyebrow-invert::after { background:var(--c-bg); opacity:.55; }
    /* 濃紺地で使うアクセント色（--c-sky は暗すぎるため明るい青にする） */
    :where(.page-company-5s) .p-5s-safety__h em,
    :where(.page-company-5s) .p-5s-safety__verbs em { font-style:normal; color:#76b9ea; }
    :where(.page-company-5s) .p-5s-safety__h {
      margin-top:.6rem; font-family:var(--ff-serif); font-weight: var(--fw-semibold);
      font-size:clamp(1.75rem, 2.6vw + .6rem, 3rem); line-height:1.5; color:var(--c-text-invert);
    }
    :where(.page-company-5s) .p-5s-safety__sub { margin-top:var(--sp-4); font-size:1.0625rem; color:var(--c-white-72); }
    :where(.page-company-5s) .p-5s-safety__lead { margin-top:1.4rem; font-size:var(--fs-lead); color:var(--c-text-invert); }
    /* 行の区切りは1pxのギャップで見せる。面は敷かず、固定した背景写真を透かす */
    :where(.page-company-5s) .p-5s-scenes { position:relative; margin-top:var(--sp-8); display:grid; gap:1px; }
    /* 左の点線の縦ライン（ボーダーではなく繰り返しグラデーションで描く） */
    :where(.page-company-5s) .p-5s-scenes::before {
      content:""; position:absolute; left:6px; top:.4rem; bottom:.4rem;
      width:1px; background-image:repeating-linear-gradient(to bottom,
        rgba(255,255,255,.55) 0 2px, rgba(255,255,255,0) 2px 5px); pointer-events:none;
    }
    :where(.page-company-5s) .p-5s-scene {
      position:relative; padding:var(--sp-6) 0;
      display:grid; grid-template-columns:minmax(0,.77fr) minmax(0,2.23fr);
      gap:var(--sp-5); align-items:start;
    }
    /* 区切り線は見出し＋本文側の幅だけに引く */
    :where(.page-company-5s) .p-5s-scene__body {
      padding-bottom:var(--sp-6);
      background-image:linear-gradient(rgba(255,255,255,.18), rgba(255,255,255,.18));
      background-size:100% 1px; background-position:bottom left; background-repeat:no-repeat;
    }
    :where(.page-company-5s) .p-5s-scene:last-child .p-5s-scene__body { background-image:none; padding-bottom:0; }
    :where(.page-company-5s) .p-5s-scene__when {
      position:relative; padding-left:2.1rem;
      font-weight: var(--fw-bold); font-size:clamp(1rem, .3vw + .95rem, 1.125rem);
      line-height:1.6; letter-spacing:.06em; color:var(--c-brand-100);
    }
    :where(.page-company-5s) .p-5s-scene__when::before {
      content:""; position:absolute; left:0; top:.42em;
      width:13px; height:13px; border-radius:50%; background:#76b9ea;
    }
    :where(.page-company-5s) .p-5s-scene__h {
      font-family:var(--ff-serif); font-weight: var(--fw-semibold);
      font-size:clamp(1.35rem, 1.3vw + .9rem, 2rem);
      line-height:1.5; color:var(--c-text-invert);
    }
    :where(.page-company-5s) .p-5s-scene__h em { font-style:normal; color:#76b9ea; }
    :where(.page-company-5s) .p-5s-scene__t { margin-top:var(--sp-4); font-size:1rem; line-height:2; color:rgba(255,255,255,.86); }
    :where(.page-company-5s) .p-5s-scene__term {
      margin-top:1.1rem; font-size:.875rem; line-height:1.8;
      color:rgba(255,255,255,.66);
    }
    :where(.page-company-5s) .p-5s-safety__close { margin-top:var(--sp-8); text-align:center; }
    :where(.page-company-5s) .p-5s-safety__verbs {
      font-family:var(--ff-serif); font-weight: var(--fw-semibold);
      font-size:clamp(1.5rem, 2.2vw + 1rem, 2.75rem); line-height:1.6; color:var(--c-text-invert);
      letter-spacing: var(--tr-ui);
    }
    :where(.page-company-5s) .p-5s-safety__closetext {
      margin-top:var(--sp-5); font-size:1rem; line-height:2;
      color:rgba(255,255,255,.86);
    }
    /* ---- 08 CLOSING：左に写真、右に箇条書きと本文 ---- */
    :where(.page-company-5s) .p-5s-close__h {
      margin-top:.8rem; font-family:var(--ff-serif); font-weight: var(--fw-semibold);
      font-size:clamp(1.75rem, 2.6vw + .6rem, 3rem); line-height:1.5; color:var(--c-ink);
    }
    :where(.page-company-5s) .p-5s-close__h em,
    :where(.page-company-5s) .p-5s-close__text em { font-style:normal; color:var(--c-sky); }
    :where(.page-company-5s) .p-5s-close__cols {
      margin-top:clamp(2rem,4.5vw,3.5rem);
      display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1fr);
      gap:clamp(1.75rem,4.5vw,4.5rem); align-items:center;
    }
    :where(.page-company-5s) .p-5s-close__fig { margin:0; aspect-ratio:1; background:#dde5ec; overflow:hidden; }
    :where(.page-company-5s) .p-5s-close__fig img {
      display:block; width:100%; height:100%; object-fit:cover;
      object-position:left center;
    }
    :where(.page-company-5s) .p-5s-close__items {
      list-style:none; margin:0; padding:0;
      display:flex; flex-direction:column; gap:clamp(.9rem,1.8vw,var(--sp-5));
    }
    :where(.page-company-5s) .p-5s-close__item {
      display:flex; align-items:center; gap:clamp(.5rem,1vw,.85rem);
      font-family:var(--ff-serif); font-weight: var(--fw-semibold);
      font-size:clamp(1.2rem,1.1vw + .85rem,1.75rem); line-height:1.5; color:var(--c-ink);
    }
    :where(.page-company-5s) .p-5s-close__item em { font-style:normal; color:var(--c-sky); }
    :where(.page-company-5s) .p-5s-close__label { min-width:0; }
    :where(.page-company-5s) .p-5s-close__dot {
      flex:none; width:.3em; height:.3em; border-radius:50%;
      background:var(--c-sky);
    }
    :where(.page-company-5s) .p-5s-close__text { margin-top:clamp(1.75rem,3.5vw,2.75rem); line-height:2; }
    :where(.page-company-5s) .p-5s-close__link { margin-top:clamp(1.25rem,2.5vw,var(--sp-6)); }
    /* ---- 09 NEXT：同格の2導線。主CTAは設けない ---- */
    :where(.page-company-5s) .p-5s-next__doors {
      margin-top:var(--sp-6); display:grid;
      grid-template-columns:repeat(2, minmax(0,1fr)); gap:1px; background:var(--c-line);
    }
    :where(.page-company-5s) .p-5s-next__door {
      background:var(--c-bg); padding:var(--sp-6);
      display:block; text-decoration:none; transition:background var(--dur) var(--ease);
    }
    /* セクション地（#eef4fa）と同化しないよう、ホバーは一段濃い面にする */
    :where(.page-company-5s) .p-5s-next__door:hover,
    :where(.page-company-5s) .p-5s-next__door:focus-visible {
      background:var(--c-brand-100);
      box-shadow:0 4px 18px rgba(26,95,180,.10);
    }
    :where(.page-company-5s) .p-5s-next__dh {
      font-family:var(--ff-serif); font-weight: var(--fw-semibold); font-size:var(--fs-h3);
      color:var(--c-ink);
    }
    :where(.page-company-5s) .p-5s-next__dt {
      margin-top:.8rem; font-size:.9375rem; line-height:1.8;
      color:var(--c-text-muted);
    }
    :where(.page-company-5s) .p-5s-next__links {
      margin-top:var(--sp-6); display:flex; flex-wrap:wrap;
      justify-content:center; gap:var(--sp-5);
    }
    :where(.page-company-5s) .p-5s-next__links a { font-size:.9375rem; font-weight: var(--fw-bold); color:var(--c-brand-900); }
    @media (max-width:900px) {
      :where(.page-company-5s) .p-5s-def-head { grid-template-columns:minmax(0,1fr); gap:var(--sp-4); }
      :where(.page-company-5s) .p-5s-def__item { gap:clamp(1rem,3vw,var(--sp-6)); }
      /* 900px以下は2列。線は出さない */
      :where(.page-company-5s) .p-5s-verbs {
        display:grid; grid-template-columns:repeat(2, minmax(0,1fr));
        row-gap:2.5rem; column-gap:clamp(1rem,3vw,var(--sp-6));
    }
      :where(.page-company-5s) .p-5s-verbs__item { padding-right:0; }
      :where(.page-company-5s) .p-5s-verbs__item + .p-5s-verbs__item::before { display:none; }
      :where(.page-company-5s) .p-5s-act--a { grid-template-columns:minmax(0,1fr); }
      :where(.page-company-5s) .p-5s-act--bc { grid-template-columns:minmax(0,1fr); }
      :where(.page-company-5s) .p-5s-act__fig--bc { aspect-ratio:16 / 9; height:auto; }
      :where(.page-company-5s) .p-5s-scene { grid-template-columns:minmax(0,1fr); gap:var(--sp-4); }
      :where(.page-company-5s) .p-5s-scene__body { padding-left:2.1rem; }
      :where(.page-company-5s) .p-5s-next__doors { grid-template-columns:minmax(0,1fr); }
    }
    @media (max-width:767px) {
      :where(.page-company-5s) .p-5s-fv { min-height:auto; padding-block:calc(var(--header-h) + var(--sp-7)) var(--sp-7); }
      :where(.page-company-5s) .p-5s-intro__body,
      :where(.page-company-5s) .p-5s-def__close p:not(.p-5s-def__strong),
      :where(.page-company-5s) .p-5s-contest__body,
      :where(.page-company-5s) .p-5s-close__text { font-size:1rem; }
      :where(.page-company-5s) .p-5s-close__cols { grid-template-columns:minmax(0,1fr); }
      /* SPは縦積み。縦罫は出さない */
      :where(.page-company-5s) .p-5s-def { display:block; }
      :where(.page-company-5s) .p-5s-def__item { grid-template-columns:minmax(0,1fr); gap:var(--sp-3); }
      :where(.page-company-5s) .p-5s-def__sep { display:none; }
    }
    /* ---- カテゴリ内リンク：小さな枠リンク（チップ）。番号は付けない ---- */
    :where(.page-company-faq) .p-faqnav { display:grid; grid-template-columns:repeat(3, minmax(0,1fr)); gap:var(--sp-3); }
    /* ナビとFAQ本体の間隔を詰める */
    :where(.page-company-faq) .p-faqnav-sec { padding-bottom:calc(var(--section-py) / 2); }
    :where(.page-company-faq) .p-faqnav-sec + .l-section { padding-top:calc(var(--section-py) / 2); }
    :where(.page-company-faq) .p-faqnav__item {
      display:flex; align-items:center; justify-content:center; gap:var(--sp-2);
      padding:.7rem 1.25rem; border-radius: var(--r-pill);
      border:1px solid var(--c-brand-700); background:var(--c-bg);
      font-size:1rem; font-weight: var(--fw-bold); color:var(--c-brand-900);
      text-decoration:none; transition:background var(--dur) var(--ease), border-color var(--dur) var(--ease);
    }
    :where(.page-company-faq) .p-faqnav__item:hover,
    :where(.page-company-faq) .p-faqnav__item:focus-visible { background:var(--c-brand-50); border-color:var(--c-brand-900); }
    :where(.page-company-faq) .p-faqnav__arrow { font-size:.85em; }
    /* ---- カテゴリ見出し ---- */
    :where(.page-company-faq) .p-faqcat { scroll-margin-top:calc(var(--header-h) + 1rem); }
    :where(.page-company-faq) .p-faqcat + .p-faqcat { margin-top:var(--sp-8); }
    :where(.page-company-faq) .p-faqcat__head { display:flex; align-items:baseline; gap:.9rem; flex-wrap:wrap; }
    :where(.page-company-faq) .p-faqcat__title {
      font-family:var(--ff-serif); font-weight: var(--fw-semibold);
      font-size:clamp(1.5rem, .8vw + 1.1rem, 1.875rem); color:var(--c-ink);
    }
    /* ---- アコーディオン本体 ----
         行の区切りは border ではなく、グリッドの1pxギャップを線色で見せる。 */
    :where(.page-company-faq) .p-faq {
      margin-top:var(--sp-5); display:grid; gap:1px;
      background:var(--c-line); border-radius:6px; overflow:hidden;
    }
    :where(.page-company-faq) .p-faq__item { background:var(--c-bg); }
    :where(.page-company-faq) .p-faq__q {
      width:100%; display:flex; align-items:flex-start; gap:var(--sp-4);
      padding:1.6625rem 1.875rem; background:transparent; border:0; cursor:pointer;
      font-family:var(--ff-sans); font-size:1.1875rem; font-weight: var(--fw-bold); line-height:1.7;
      color:var(--c-ink); text-align:left;
      transition:background var(--dur) var(--ease);
    }
    :where(.page-company-faq) .p-faq__q:hover { background:var(--c-brand-50); }
    :where(.page-company-faq) .p-faq__q:focus-visible { outline:2px solid var(--c-brand-800); outline-offset:-2px; }
    :where(.page-company-faq) .p-faq__mark {
      flex:none; font-family:var(--ff-sans); font-weight: var(--fw-bold);
      font-size:.95rem; line-height:1.9; color:var(--c-brand-800);
    }
    :where(.page-company-faq) .p-faq__qtext { flex:1; min-width:0; }
    :where(.page-company-faq) .p-faq__icon { flex:none; position:relative; width:18px; height:18px; margin-top:.35rem; }
    :where(.page-company-faq) .p-faq__icon::before,
    :where(.page-company-faq) .p-faq__icon::after {
      content:""; position:absolute; left:0; top:50%;
      width:18px; height:2px; background:var(--c-brand-800); border-radius:1px;
      transform:translateY(-50%); transition:transform .25s ease, opacity .25s ease;
    }
    :where(.page-company-faq) .p-faq__icon::after { transform:translateY(-50%) rotate(90deg); }
    :where(.page-company-faq) .p-faq__q[aria-expanded="true"] .p-faq__icon::after { transform:translateY(-50%) rotate(0deg); opacity:0; }
    /* 開いたときだけ薄い背景差でQ・Aのまとまりを見せる（囲みカードは作らない） */
    :where(.page-company-faq) .p-faq__panel {
      display:grid; grid-template-rows:0fr;
      transition:grid-template-rows .3s ease;
    }
    :where(.page-company-faq) .p-faq__item.is-open .p-faq__panel { grid-template-rows:1fr; }
    :where(.page-company-faq) .p-faq__item.is-open { background:var(--c-brand-50); }
    :where(.page-company-faq) .p-faq__inner { overflow:hidden; }
    :where(.page-company-faq) .p-faq__a { display:flex; gap:var(--sp-4); padding:0 1.875rem 1.8125rem; }
    :where(.page-company-faq) .p-faq__a .p-faq__mark { color:var(--c-text-muted); }
    :where(.page-company-faq) .p-faq__body { flex:1; min-width:0; font-size:1.0625rem; line-height:1.95; }
    :where(.page-company-faq) .p-faq__body p + p { margin-top:.8rem; }
    :where(.page-company-faq) .p-faq__note { margin-top:.8rem; font-size:.9375rem; color:var(--c-text-muted); }
    :where(.page-company-faq) .p-faq__links {
      margin-top:var(--sp-4); display:flex; flex-direction:column;
      align-items:flex-start; gap:var(--sp-2);
    }
    :where(.page-company-faq) .p-faq__link { font-size:.9375rem; font-weight: var(--fw-bold); color:var(--c-brand-900); }
    :where(.page-company-faq) .p-faq__ext {
      margin-left:.35em; font-size:.8125rem; font-weight: var(--fw-regular);
      color:var(--c-text-muted);
    }
    /* ---- ページ末尾の問い合わせ導線：軽い帯として置く ---- */
    :where(.page-company-faq) .p-faqend { text-align:center; }
    :where(.page-company-faq) .p-faqend__title {
      font-family:var(--ff-serif); font-weight: var(--fw-semibold);
      font-size:var(--fs-h3); color:var(--c-ink);
    }
    :where(.page-company-faq) .p-faqend__text { margin-top:var(--sp-4); font-size:1rem; line-height:1.95; color:var(--c-text-muted); }
    :where(.page-company-faq) .p-faqend__btn { margin-top:var(--sp-5); }
    @media (max-width:767px) {
      :where(.page-company-faq) .p-faq__q { padding:1.4625rem 1.625rem; font-size:1.0625rem; gap:var(--sp-3); }
      :where(.page-company-faq) .p-faq__a { padding:0 1.625rem 1.5625rem; gap:var(--sp-3); }
      :where(.page-company-faq) .p-faq__body { font-size:1rem; }
      :where(.page-company-faq) .p-faqnav { grid-template-columns:minmax(0,1fr); gap:var(--sp-2); }
      :where(.page-company-faq) .p-faqnav__item { padding:.6rem var(--sp-4); font-size:.9375rem; }
    }
    /* ---- 03 MESSAGE ---- */
    :where(.page-company) .p-c1-msg__body { margin-top:var(--sp-6); }
    :where(.page-company) .p-c1-msg__block + .p-c1-msg__block {
      margin-top:var(--sp-7); padding-top:var(--sp-6);
      border-top:1px solid var(--c-line);
    }
    :where(.page-company) .p-c1-msg__h {
      margin-top:0; font-family:var(--ff-serif); font-weight: var(--fw-semibold);
      font-size:var(--fs-h3); line-height:1.55; color:var(--c-ink);
    }
    :where(.page-company) .p-c1-msg__block p:not(.p-c1-msg__sign) { margin-top:1.1rem; font-size:1.0625rem; line-height:2; }
    :where(.page-company) .p-c1-msg__sign {
      margin-top:var(--sp-6); text-align:right;
      font-family:var(--ff-serif); font-size:1.15rem; color:var(--c-ink);
    }
    :where(.page-company) .p-c1-msg__sign small {
      display:block; font-family:var(--ff-sans); font-size:.9rem;
      color:var(--c-text-muted); margin-bottom:.3rem;
    }
    /* ---- 04 PHILOSOPHY｜理念→事業価値→行動規範の階層を文字サイズと余白で示す ---- */
    :where(.page-company) .p-c1-phil { margin-top:var(--sp-6); }
    :where(.page-company) .p-c1-phil__step + .p-c1-phil__step { margin-top:var(--sp-7); }
    :where(.page-company) .p-c1-phil__tier {
      display:inline-block; font-family:var(--ff-sans); font-weight: var(--fw-bold);
      font-size:1.0625rem; letter-spacing:.2em; color:var(--c-brand-800);
      padding-bottom:.4rem; border-bottom:2px solid var(--c-brand-800);
    }
    /* 第1階層：企業理念（最も大きく） */
    :where(.page-company) .p-c1-phil__lv1 {
      margin-top:var(--sp-5); font-family:var(--ff-serif); font-weight: var(--fw-semibold);
      font-size:clamp(1.75rem,3.2vw,2.75rem); line-height:1.45; color:var(--c-brand-900);
    }
    /* 第2階層：事業価値 */
    :where(.page-company) .p-c1-phil__lv2 {
      margin-top:var(--sp-5); font-family:var(--ff-serif); font-weight: var(--fw-semibold);
      font-size:clamp(1.375rem,2.2vw,1.875rem); line-height:1.5; color:var(--c-ink);
    }
    /* 第3階層：行動規範の見出し */
    :where(.page-company) .p-c1-phil__lv3 {
      font-family:var(--ff-serif); font-weight: var(--fw-semibold);
      font-size:1.25rem; line-height:1.5; color:var(--c-ink);
    }
    :where(.page-company) .p-c1-phil__list { margin-top:var(--sp-5); border-top:1px solid var(--c-line); }
    :where(.page-company) .p-c1-phil__list li {
      padding:var(--sp-4) var(--sp-1) var(--sp-4) 1.6rem; border-bottom:1px solid var(--c-line);
      font-size:1.0625rem; line-height:1.9; position:relative;
    }
    :where(.page-company) .p-c1-phil__list li::before {
      content:""; position:absolute; left:.2rem; top:1.5em;
      width:7px; height:7px; border-radius:50%; background:var(--c-brand-800);
    }
    /* 行動規範3つ：淡いグレーの面に「見出し｜区切り線｜箇条書き」の2カラム */
    :where(.page-company) .p-c1-code { margin-top:var(--sp-5); }
    :where(.page-company) .p-c1-code__item {
      background:#f2f5f9; border-radius:10px;
      padding:clamp(1.5rem,3vw,2.25rem) clamp(1.25rem,3vw,2.25rem);
      display:grid; grid-template-columns:minmax(0,180px) minmax(0,1fr);
      gap:clamp(1.25rem,3vw,2.25rem); align-items:center;
    }
    :where(.page-company) .p-c1-code__item + .p-c1-code__item { margin-top:var(--sp-4); }
    :where(.page-company) .p-c1-phil__lv3 {
      text-align:center; color:var(--c-brand-800);
      font-size:clamp(1.25rem,1.6vw,1.5rem); letter-spacing: var(--tr-wide);
    }
    :where(.page-company) .p-c1-code__body {
      border-left:1px solid #c5d2e0;
      padding-left:clamp(1.25rem,3vw,2.5rem);
    }
    :where(.page-company) .p-c1-code__tag {
      margin-bottom:.9rem; font-size:1.1875rem; line-height:1.75;
      font-weight: var(--fw-bold); color:var(--c-brand-800);
    }
    :where(.page-company) .p-c1-code__list li {
      position:relative; padding-left:var(--sp-6);
      font-size:1rem; line-height:1.9; color:var(--c-text);
    }
    :where(.page-company) .p-c1-code__list li + li { margin-top:.55rem; }
    :where(.page-company) .p-c1-code__list li::before {
      content:""; position:absolute; left:.25rem; top:.82em;
      width:6px; height:6px; border-radius:50%; background:var(--c-brand-700);
    }
    @media (max-width:640px) {
      :where(.page-company) .p-c1-code__item { grid-template-columns:1fr; gap:.9rem; align-items:start; }
      :where(.page-company) .p-c1-phil__lv3 { text-align:left; }
      :where(.page-company) .p-c1-code__body { border-left:0; padding-left:0; }
    }
    /* ---- 06 HISTORY｜縦ラインの年表。転換点は大きく、その他は小さいドットで（指示書■8） ---- */
    :where(.page-company) .p-c1-hist { margin-top:var(--sp-6); --rail:26px; --dot:16px; --yearcol:120px; }
    :where(.page-company) .p-c1-hist__era + .p-c1-hist__era { margin-top:0; }
    /* 時代ラベル：淡いブルーの帯 */
    :where(.page-company) .p-c1-hist__eralabel {
      display:block; margin-block:var(--sp-5); background:#eaf0f7; border-radius: var(--r-sm);
      padding:1.4rem clamp(1rem,2vw,1.75rem);
      font-family:var(--ff-sans); font-weight: var(--fw-medium); font-size:.9375rem;
      letter-spacing:.14em; color:var(--c-brand-900);
    }
    /* 縦ライン */
    :where(.page-company) .p-c1-hist__body { position:relative; padding:var(--sp-7) 0; }
    :where(.page-company) .p-c1-hist__body::before {
      content:""; position:absolute; left:var(--rail); top:0; bottom:0;
      width:2px; margin-left:-1px; background:var(--c-brand-800);
    }
    /* 転換点 */
    :where(.page-company) .p-c1-turn {
      display:grid; grid-template-columns:minmax(0,var(--yearcol)) minmax(0,1fr);
      gap:clamp(1rem,3vw,var(--sp-6)); align-items:start;
      padding:0 0 0 calc(var(--rail) + 40px); border-top:0; margin-top:0;
    }
    :where(.page-company) .p-c1-turn + .p-c1-turn,
    :where(.page-company) .p-c1-rows { margin-top:var(--sp-7); }
    /* 2026-09-24 年順に並べ替えて転換点と一覧が交互に来るため、
         どの組み合わせでも同じアキになるようにする */
    :where(.page-company) .p-c1-hist__body > * + * { margin-top:var(--sp-7); }
    :where(.page-company) .p-c1-turn__year {
      display:block; position:relative; font-family:var(--ff-serif);
      font-weight: var(--fw-semibold); line-height:1; font-size:clamp(2rem,3.6vw,3rem); color:var(--c-brand-900);
    }
    :where(.page-company) .p-c1-turn__year::before {
      content:""; position:absolute; top:50%;
      left:calc(-40px - var(--dot)/2); width:var(--dot); height:var(--dot);
      border-radius:50%; background:var(--c-brand-800); transform:translateY(-50%);
    }
    :where(.page-company) .p-c1-turn__wa {
      display:block; margin-top:.7rem; font-family:var(--ff-sans);
      font-size:.9rem; letter-spacing: var(--tr-wide); color:var(--c-text-muted);
    }
    :where(.page-company) .p-c1-turn__h {
      font-family:var(--ff-serif); font-weight: var(--fw-semibold); font-size:var(--fs-h3);
      line-height:1.5; color:var(--c-ink);
    }
    :where(.page-company) .p-c1-turn__txt { margin-top:.9rem; font-size:1.0625rem; line-height:1.95; color:var(--c-text); }
    /* その他の出来事：同じ軸の上に、小さいドットで */
    :where(.page-company) .p-c1-rows { border-top:0; }
    :where(.page-company) .p-c1-rows__row {
      display:grid; grid-template-columns:minmax(0,var(--yearcol)) minmax(0,1fr);
      gap:clamp(1rem,3vw,var(--sp-6)); align-items:start;
      padding:0 0 0 calc(var(--rail) + 40px); border-bottom:0;
    }
    /* 2026-09-24 本文が年号ブロック（年＋和暦）より短いときは上下中央に置く。
         年号側は start のままなので、ラインのドット位置は行頭で固定される */
    :where(.page-company) .p-c1-rows__txt { align-self:center; }
    :where(.page-company) .p-c1-rows__row + .p-c1-rows__row { margin-top:var(--sp-6); }
    :where(.page-company) .p-c1-rows__year {
      display:block; position:relative; font-family:var(--ff-serif);
      font-weight: var(--fw-semibold); line-height:1; font-size:1.75rem; color:#7d93ad;
    }
    :where(.page-company) .p-c1-rows__year::before {
      content:""; position:absolute; top:calc(.5em - .5px);
      left:calc(-40px - 5px); width:10px; height:10px; border-radius:50%;
      background:#b6c3d2; transform:translateY(-50%);
    }
    :where(.page-company) .p-c1-rows__year small {
      display:block; margin-top:.7rem; font-family:var(--ff-sans);
      font-weight: var(--fw-regular); font-size:.9rem; color:var(--c-text-muted); letter-spacing: var(--tr-wide);
    }
    /* 年号の字面の上端に、本文1行目の字面の上端を合わせる（半行送り分の8pxを詰める） */
    :where(.page-company) .p-c1-rows__txt {
      font-size:1rem; line-height:1.9; color:var(--c-text-muted);
      margin-top:-8px;
    }
    :where(.page-company) .p-c1-rows__txt span { display:block; }
    @media (max-width:768px) {
      :where(.page-company) .p-c1-hist { --rail:14px; --dot:12px; }
      :where(.page-company) .p-c1-turn,
      :where(.page-company) .p-c1-rows__row {
        grid-template-columns:1fr; gap:.8rem;
        padding-left:calc(var(--rail) + 24px);
    }
      :where(.page-company) .p-c1-turn__year::before { left:calc(-24px - var(--dot)/2); }
      :where(.page-company) .p-c1-rows__year::before { left:calc(-24px - 4px); width:8px; height:8px; }
      :where(.page-company) .p-c1-rows__row { gap:.3rem; }
      :where(.page-company) .p-c1-rows__year small { display:inline; margin-left:.6em; }
      :where(.page-company) .p-c1-rows__txt { margin-top:0; }
    }
    /* 01 FV：写真なしの静かな見出し帯。高さを抑え、フォームまでの距離を伸ばさない */
    :where(.page-contact) .p-pagehead--slim { min-height: 0; }
    :where(.page-contact) .p-pagehead--slim .p-pagehead__copy { padding-block: clamp(2.4rem, 5vw, 3.6rem); }
    :where(.page-contact) .p-pagehead--slim .p-pagehead__sub { color: var(--c-text-muted); }
    :where(.page-contact) .l-section--intro { padding-block: clamp(2.5rem, 5vw, 3.5rem) clamp(1.5rem, 3vw, var(--sp-6)); }
    :where(.page-contact) .l-section--form { padding-block: clamp(1.5rem, 3vw, var(--sp-6)) var(--section-py); }
    /* 02 INTRO：均等なカードにせず、細い罫線とテキストリンクだけの短い案内 */
    :where(.page-contact) .p-ct-intro__ttl { font-family: var(--ff-serif); font-weight: var(--fw-semibold); font-size: clamp(1.25rem, 2vw, 1.5rem); color: var(--c-ink); }
    :where(.page-contact) .p-ct-intro__lead { margin-top: .8rem; font-size: 1rem; line-height: 1.9; color: var(--c-text); }
    :where(.page-contact) .p-ct-guide { list-style: none; margin: 1.4rem 0 0; padding: 0; border-top: 1px solid var(--c-line); }
    :where(.page-contact) .p-ct-guide__item {
      display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: .3rem var(--sp-5);
      padding: var(--sp-4) 0; border-bottom: 1px solid var(--c-line);
    }
    :where(.page-contact) .p-ct-guide__ttl { font-weight: var(--fw-bold); color: var(--c-ink); }
    :where(.page-contact) .p-ct-intro__close { margin-top: 1.4rem; font-size: 1rem; line-height: 1.9; color: var(--c-text); }
    /* 03 FORM：見出し・進行表示 */
    :where(.page-contact) .p-ct-form__ttl { margin-top: var(--sp-2); font-family: var(--ff-serif); font-weight: var(--fw-semibold); font-size: clamp(1.5rem, 2.6vw, 2rem); color: var(--c-ink); }
    :where(.page-contact) .p-ct-form__lead { margin-top: .8rem; font-size: 1rem; line-height: 1.9; }
    :where(.page-contact) .p-ct-step { list-style: none; margin: 1.6rem 0 0; padding: 0; display: flex; gap: var(--sp-2); }
    :where(.page-contact) .p-ct-step__item {
      flex: 1; display: flex; align-items: center; justify-content: center; gap: .5em;
      padding: .7em .5em; background: #f2f5f8; color: var(--c-text-subtle); font-weight: var(--fw-bold); font-size: .95rem;
    }
    :where(.page-contact) .p-ct-step__no {
      display: inline-flex; align-items: center; justify-content: center; width: 1.6em; height: 1.6em; border-radius: 50%;
      border: 1px solid currentColor; font-size: .85em;
    }
    :where(.page-contact) .p-ct-step__item.is-current { background: var(--c-brand-800); color: var(--c-text-invert); }
    :where(.page-contact) .p-ct-panel { display: none; margin-top: var(--sp-5); }
    :where(.page-contact) .p-ct-panel.is-active { display: block; }
    :where(.page-contact) .p-ct-panel__ttl { font-family: var(--ff-serif); font-weight: var(--fw-semibold); font-size: clamp(1.25rem, 2vw, 1.5rem); color: var(--c-ink); }
    :where(.page-contact) .p-ct-panel__lead { margin-top: .8rem; line-height: 1.9; }
    /* 必須／任意ラベル（必須＝赤／任意＝控えめな色） */
    :where(.page-contact) .p-form__req,
    :where(.page-contact) .p-form__opt {
      display: inline-block; margin-left: .5em;
      font-family: var(--ff-sans); font-size: .75rem; font-weight: var(--fw-bold);
      letter-spacing: .06em; line-height: 1.6; padding: .05em .55em; vertical-align: middle;
    }
    :where(.page-contact) .p-form__req { color: var(--c-text-invert); background: #c0392b; }
    :where(.page-contact) .p-form__opt { color: var(--c-text-muted); background: #edf0f4; }
    :where(.page-contact) .p-form__field { margin-bottom: var(--sp-5); }
    :where(.page-contact) fieldset.p-form__field { border: 0; padding: 0; margin-inline: 0; min-width: 0; }
    :where(.page-contact) .p-form__input,
    :where(.page-contact) .p-form__textarea { min-height: 3.2em; border-radius: var(--r-sm); }
    :where(.page-contact) .p-form__input:focus,
    :where(.page-contact) .p-form__textarea:focus { outline: 2px solid var(--c-brand-800); outline-offset: 1px; }
    :where(.page-contact) .p-form__textarea { min-height: 200px; }
    /* 種別：全選択肢を一度に見せるラジオ */
    :where(.page-contact) .p-ct-radios { display: flex; flex-wrap: wrap; gap: .6rem; }
    :where(.page-contact) .p-ct-radio {
      display: flex; align-items: center; gap: .55em; padding: .75em 1.1em; border: 1px solid var(--c-line); border-radius: var(--r-sm);
      background: var(--c-bg); cursor: pointer;
    }
    :where(.page-contact) .p-ct-radio input { width: 1.15em; height: 1.15em; margin: 0; accent-color: var(--c-brand-800); }
    :where(.page-contact) .p-ct-radio:has(input:checked) { border-color: var(--c-brand-800); background: var(--c-brand-50); font-weight: var(--fw-bold); }
    /* エラー表示（入力内容は消さない） */
    :where(.page-contact) .p-ct-err { display: none; margin-top: .4rem; font-size: .9rem; color: #c0392b; font-weight: var(--fw-bold); }
    :where(.page-contact) .is-error .p-ct-err { display: block; }
    :where(.page-contact) .is-error .p-form__input,
    :where(.page-contact) .is-error .p-form__textarea { border-color: #c0392b; }
    /* 個人情報・スパム認証：それぞれ十分な余白を取る */
    :where(.page-contact) .p-ct-consent { margin-top: var(--sp-6); padding-top: var(--sp-5); border-top: 1px solid var(--c-line); }
    :where(.page-contact) .p-ct-consent__text { line-height: 1.9; }
    :where(.page-contact) .p-ct-consent__link { display: inline-block; margin-top: .3rem; color: var(--c-brand-900); font-weight: var(--fw-bold); text-decoration: underline; text-underline-offset: 3px; }
    :where(.page-contact) .p-ct-check { display: flex; align-items: center; gap: .55em; margin-top: var(--sp-4); font-weight: var(--fw-bold); cursor: pointer; }
    :where(.page-contact) .p-ct-check input { width: 1.3em; height: 1.3em; margin: 0; flex: none; accent-color: var(--c-brand-800); }
    :where(.page-contact) .p-ct-spam { margin-top: var(--sp-6); padding-top: var(--sp-5); border-top: 1px solid var(--c-line); }
    :where(.page-contact) .p-ct-spam__text { line-height: 1.9; }
    :where(.page-contact) .p-ct-captcha {
      margin-top: .9rem; width: 302px; max-width: 100%; border: 1px solid #d3d3d3; border-radius: 3px; background: #f9f9f9;
      display: flex; align-items: center; gap: .8rem; padding: .9rem var(--sp-4); text-align: left; font: inherit; cursor: pointer;
    }
    :where(.page-contact) .p-ct-captcha__box { width: 26px; height: 26px; border: 2px solid #c1c1c1; border-radius: 2px; background: var(--c-bg); flex: none; position: relative; }
    :where(.page-contact) .p-ct-captcha[aria-pressed="true"] .p-ct-captcha__box { border-color: #1f8f4e; }
    :where(.page-contact) .p-ct-captcha[aria-pressed="true"] .p-ct-captcha__box::after {
      content: ""; position: absolute; left: 7px; top: 2px; width: 7px; height: 13px;
      border-right: 3px solid #1f8f4e; border-bottom: 3px solid #1f8f4e; transform: rotate(45deg);
    }
    :where(.page-contact) .p-ct-captcha__txt { font-size: .82rem; line-height: 1.5; color: #3c4043; }
    :where(.page-contact) .p-ct-captcha__brand { margin-left: auto; text-align: center; font-size: .58rem; color: #9aa0a6; line-height: 1.4; }
    :where(.page-contact) .p-ct-captcha__brand b { display: block; font-size: .7rem; }
    :where(.page-contact) .p-ct-actions { margin-top: var(--sp-6); display: flex; justify-content: center; }
    :where(.page-contact) .p-ct-actions--2 { gap: var(--sp-4); flex-wrap: wrap; }
    :where(.page-contact) .p-form .c-btn,
    :where(.page-contact) .p-ct-actions .c-btn { padding: 1.2em 2.6em; }
    /* 確認画面：項目一覧 */
    :where(.page-contact) .p-ct-confirm { margin-top: var(--sp-5); border-top: 1px solid var(--c-line); }
    :where(.page-contact) .p-ct-confirm__row { display: grid; grid-template-columns: 12em minmax(0,1fr); gap: .3rem var(--sp-5); padding: var(--sp-4) 0; border-bottom: 1px solid var(--c-line); }
    :where(.page-contact) .p-ct-confirm dt { font-weight: var(--fw-bold); color: var(--c-ink); }
    :where(.page-contact) .p-ct-confirm dd { margin: 0; white-space: pre-wrap; word-break: break-word; }
    :where(.page-contact) .p-ct-confirm dd.is-empty { color: var(--c-text-subtle); }
    /* 04 TEL：フォームより控えめに */
    :where(.page-contact) .p-ct-tel { margin-top: var(--sp-7); padding-top: var(--sp-6); border-top: 1px solid var(--c-line); }
    :where(.page-contact) .p-ct-tel__ttl { font-family: var(--ff-sans); font-weight: var(--fw-bold); font-size: 1.0625rem; color: var(--c-ink); }
    :where(.page-contact) .p-ct-tel__text { margin-top: .4rem; color: var(--c-text-muted); }
    :where(.page-contact) .p-ct-tel__num { margin-top: var(--sp-2); font-family: var(--ff-serif); font-size: 1.4rem; color: var(--c-brand-900); }
    :where(.page-contact) .p-ct-tel__lbl { margin-right: .6em; font-family: var(--ff-sans); font-size: .85rem; font-weight: var(--fw-bold); letter-spacing: var(--tr-label); color: var(--c-text-subtle); }
    :where(.page-contact) .p-ct-tel__num a { color: inherit; }
    @media (max-width: 640px) {
      :where(.page-contact) .p-ct-guide__item { flex-direction: column; align-items: flex-start; }
      :where(.page-contact) .p-ct-radios { flex-direction: column; }
      :where(.page-contact) .p-ct-radio { width: 100%; }
      :where(.page-contact) .p-ct-step__item { font-size: .85rem; padding: .65em .3em; }
      :where(.page-contact) .p-ct-confirm__row { grid-template-columns: 1fr; }
      :where(.page-contact) .p-ct-actions--2 { flex-direction: column-reverse; }
      :where(.page-contact) .p-ct-actions .c-btn { width: 100%; justify-content: center; }
    }
    @media (min-width:861px) {
      :where(.page-contact) .p-ct-intro__lead,
      :where(.page-contact) .p-ct-intro__close,
      :where(.page-contact) .p-ct-form__lead,
      :where(.page-contact) .p-ct-panel__lead,
      :where(.page-contact) .p-ct-consent__text,
      :where(.page-contact) .p-ct-spam__text,
      :where(.page-contact) .p-ct-tel__text,
      :where(.page-contact) .p-ct-guide__item { font-size: 18px; }
    }
    @media (max-width:860px) {
      :where(.page-contact) .p-ct-guide__item,
      :where(.page-contact) .p-ct-consent__text,
      :where(.page-contact) .p-ct-spam__text,
      :where(.page-contact) .p-ct-tel__text,
      :where(.page-contact) .p-ct-panel__lead,
      :where(.page-contact) .p-ct-form__lead,
      :where(.page-contact) .p-ct-intro__lead,
      :where(.page-contact) .p-ct-intro__close,
      :where(.page-contact) .p-ct-confirm { font-size: 1rem; }
    }
    :where(.page-contact) .p-ct-intro__ttl,
    :where(.page-contact) .p-ct-form__ttl,
    :where(.page-contact) .p-ct-panel__ttl { font-size: clamp(1.5rem, .8vw + 1.1rem, 1.875rem); }
    @media (min-width:861px) {
      :where(.page-contact) .p-ct-confirm { font-size: 18px; }
    }
    /* 2026-10-20 案内3件：横並び（PC 3列／SP 縦積み）。リンクはボタン。
         ボタンはコンテンツ幅いっぱい（両端の列は外側に余白なし）。区切り線は列の間の余白の中央に、見出し＋ボタンの高さで引く */
    :where(.page-contact) .p-ct-guide {
      display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); grid-template-rows: auto auto;
      column-gap: var(--sp-7); row-gap: 0; border: 0;
    }
    /* 「お問い合わせの前に」は案内3件と同じ幅（最大 960px）。フォームは従来の l-narrow のまま */
    :where(.page-contact) .p-ct-intro { max-width: calc(960px + 2 * var(--pad)); }
    :where(.page-contact) .p-ct-guide__item {
      position: relative; display: grid; grid-row: span 2; grid-template-rows: subgrid; grid-template-columns: minmax(0,1fr);
      row-gap: .8rem; align-items: start; padding: 0; border: 0;
    }
    /* 2026-10-20 列の間の区切り線はなし（余白はそのまま）。見出しは左寄せ */
    :where(.page-contact) .p-ct-guide__ttl { text-align: left; }
    :where(.page-contact) .p-ct-guide__btn {
      align-self: stretch; justify-content: center; text-align: center; width: 100%; min-width: 0; white-space: normal;
      padding: .9em .8em; font-size: .95rem; line-height: 1.5; letter-spacing: var(--tr-ui);
    }
    @media (max-width: 860px) {
      :where(.page-contact) .p-ct-guide { grid-template-columns: 1fr; grid-template-rows: none; row-gap: 0; }
      :where(.page-contact) .p-ct-guide__item { grid-row: auto; grid-template-rows: none; row-gap: .7rem; padding: .35rem 0; }
      /* SP は見出しを出さずボタンだけを並べる（ボタンの文言で行き先が分かるため） */
      :where(.page-contact) .p-ct-guide__ttl { display: none; }
      :where(.page-contact) .p-ct-guide { margin-top: var(--sp-4); }
      :where(.page-contact) .p-ct-guide__item + .p-ct-guide__item::before { content: none; }
      :where(.page-contact) .p-ct-guide__ttl { text-align: left; }
    }
    /* 2026-10-20 フォーム：見出し・導入文はコンテンツ幅、フォームはコンテンツ幅のボックス内に従来の幅（720px）で */
    :where(.page-contact) .p-ct-box { margin-top: var(--sp-5); background: #f4f7fa; padding: clamp(1.5rem, 4vw, 3.5rem) clamp(1.1rem, 4vw, var(--sp-7)); }
    :where(.page-contact) .p-ct-box__inner { max-width: 720px; margin-inline: auto; }
    :where(.page-contact) .p-ct-box .p-ct-step { margin-top: 0; }
    :where(.page-contact) .p-ct-box .p-ct-radio,
    :where(.page-contact) .p-ct-box .p-form__input,
    :where(.page-contact) .p-ct-box .p-form__textarea { background: var(--c-bg); }
    :where(.page-contact) .p-ct-box .p-ct-consent,
    :where(.page-contact) .p-ct-box .p-ct-spam { border-top-color: #dfe5ec; }
    /* 2026-10-20 TEL：コンテンツ幅の枠線で囲み、中身を中央揃えに */
    :where(.page-contact) .p-ct-tel { margin-top: var(--sp-6); padding: clamp(1.6rem, 3.5vw, 2.4rem) clamp(1.1rem, 3vw, var(--sp-6)); border: 1px solid var(--c-line); text-align: center; }
    /* 2026-10-20 進行表示：区切りを矢印（シェブロン）形に。隣どうしは矢印の形で噛み合わせ、間に細いすき間 */
    :where(.page-contact) .p-ct-step { gap: 0; --ar: 16px; --sp: 4px; }
    :where(.page-contact) .p-ct-step__item {
      clip-path: polygon(0 0, calc(100% - var(--ar)) 0, 100% 50%, calc(100% - var(--ar)) 100%, 0 100%, var(--ar) 50%);
      padding-inline: calc(var(--ar) + .4em);
    }
    :where(.page-contact) .p-ct-step__item + .p-ct-step__item { margin-left: calc(var(--sp) - var(--ar)); }
    :where(.page-contact) .p-ct-step__item:first-child { clip-path: polygon(0 0, calc(100% - var(--ar)) 0, 100% 50%, calc(100% - var(--ar)) 100%, 0 100%); padding-left: .6em; }
    :where(.page-contact) .p-ct-step__item:last-child { clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%, var(--ar) 50%); padding-right: .6em; }
    @media (max-width: 640px) {
      :where(.page-contact) .p-ct-step { --ar: 10px; --sp: 3px; }
      /* SP は「送信完了」が折り返さないよう、番号の丸枠を外して左右の余白を詰める */
      :where(.page-contact) .p-ct-step__item { white-space: nowrap; gap: .25em; padding-inline: calc(var(--ar) + .15em); }
      :where(.page-contact) .p-ct-step__item:first-child { padding-left: .4em; }
      :where(.page-contact) .p-ct-step__item:last-child { padding-right: .4em; }
      :where(.page-contact) .p-ct-step__no { width: auto; height: auto; border: 0; border-radius: 0; font-size: 1em; }
    }
    /* 2026-10-20 進行表示はボックスの外へ。状態は3種：現在地＝紺／このあと＝薄い紺＋紺文字／通り過ぎた＝グレー */
    :where(.page-contact) .p-ct-step { margin-top: var(--sp-5); }
    :where(.page-contact) .p-ct-step__item { background: var(--c-brand-100); color: var(--c-brand-800); }
    :where(.page-contact) .p-ct-step__item.is-done { background: #eef1f5; color: var(--c-text-subtle); }
    :where(.page-contact) .p-ct-step__item.is-current { background: var(--c-brand-800); color: var(--c-text-invert); }
    :where(.page-contact) .p-ct-box { margin-top: var(--sp-4); }
    @media (max-width: 640px) {
      :where(.page-contact) .l-section--form { padding-bottom: var(--sp-6); }
    }
    /* ── バイヤー流入時（?from=buyer）に buyer-header.is-js を出す場合に必要な
            ヘッダー専用ルール。buyer.css は読み込まず、ここだけ移植する
            （本文デザインは共通デザインシステムのまま：指示書 0／2） ── */
    /* 直下の ul（第1階層）だけを横並びにする。
         .l-subnav（第2階層）に効かせると display:none が上書きされ全開してしまう */
    :where(.page-contact) .l-nav > ul { display: flex; align-items: center; gap: inherit; list-style: none; }
    :where(.page-contact) .l-nav > ul > li { display: flex; align-items: center; position: relative; }
    :where(.page-contact) .l-subnav li { list-style: none; }
    /* CTA（.c-btn）は除外。含めると .l-header__cta の padding .7em 1.3em を潰す */
    :where(.page-contact) .l-nav > ul > li > a:not(.c-btn),
    :where(.page-contact) .l-nav>ul> li > .wp-block-button > a:not(.c-btn),
    :where(.page-contact) .l-nav>ul> li > .wp-block-buttons > .wp-block-button > a:not(.c-btn) { font-family: var(--ff-sans); font-size: .95rem; font-weight: var(--fw-semibold); letter-spacing: var(--tr-ui); padding: .4em 0; display: inline-block; white-space: nowrap; }
    :where(.page-contact) .l-nav .has-sub { position: relative; }
    :where(.page-contact) .l-nav .l-subnav {
      display: none; position: absolute; top: 100%; left: 50%; transform: translateX(-50%);
      background: var(--c-bg); border: 1px solid var(--c-line);
      box-shadow: var(--sh-md); min-width: 250px; padding: .4rem 0; list-style: none;
    }
    :where(.page-contact) .l-nav .has-sub.is-open > .l-subnav,
    :where(.page-contact) .l-nav .has-sub:focus-within > .l-subnav { display: block; }
    :where(.page-contact) .l-subnav a { display: block; padding: .8em 1.4em; font-size: .9rem; font-weight: var(--fw-semibold); white-space: nowrap; }
    :where(.page-contact) .l-subnav a:hover { background: var(--c-bg-tint); }
    /* バイヤーヘッダーのSPドロワーは直下 a 構成 */
    :where(.page-contact) .l-drawer > a { display: block; padding: var(--sp-4) var(--pad); border-top: 1px solid var(--c-line); font-family: var(--ff-sans); font-weight: var(--fw-semibold); }
    :where(.page-contact) .l-drawer > a.is-child { padding-left: calc(var(--pad) + var(--sp-4)); font-weight: var(--fw-medium); color: var(--c-text-muted); font-size: .95rem; }
    @media (min-width:861px) {
      :where(.page-contact) .l-nav > ul > li > a:not(.c-btn),
      :where(.page-contact) .l-nav>ul> li > .wp-block-button > a:not(.c-btn),
      :where(.page-contact) .l-nav>ul> li > .wp-block-buttons > .wp-block-button > a:not(.c-btn) { font-size: 16.2px; }
      :where(.page-contact) .l-subnav a { font-size: 15.4px; }
    }
    @media (max-width:900px) {
      :where(.page-contact) .l-drawer > a.is-child { font-size: 16.2px; }
    }
    /* ── バイヤー流入時はヘッダーの見た目もバイヤーサイトに揃える
            （buyer.css のヘッダー該当値のみを html.is-from-buyer 配下に限定して移植。
              本文・フォーム・フッターは共通デザインシステムのまま） ── */
    html.is-from-buyer:where(:has(> .page-contact)) .l-header { --ff-sans: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Yu Gothic", "YuGothic", Meiryo, sans-serif; }
    html.is-from-buyer:where(:has(> .page-contact)) .l-nav { gap: clamp(1rem, 1.8vw, var(--sp-6)); }
    /* common.css は .l-nav__trigger/.l-nav__link に padding: .7em .5em を当てるが
         buyer.css は .4em 0。左右 .5em（16.2px相当）ぶん項目間が広がるため揃える */
    html.is-from-buyer:where(:has(> .page-contact)) .l-nav__trigger,
    html.is-from-buyer:where(:has(> .page-contact)) .l-nav__link { padding: .4em 0; }
    html.is-from-buyer:where(:has(> .page-contact)) .l-nav__trigger[aria-expanded="true"] { color: #273a78; }
    html.is-from-buyer:where(:has(> .page-contact)) .l-header__cta.c-btn--primary {
      background: #273a78; border: none; color: var(--c-text-invert);
      background-image: linear-gradient(135deg, rgba(255,255,255,.15), rgba(255,255,255,0) 60%);
    }
    html.is-from-buyer:where(:has(> .page-contact)) .l-header__cta.c-btn--primary:hover { background: #1c2a59; }
    html.is-from-buyer:where(:has(> .page-contact)) .l-nav a:not(.c-btn) { position: relative; }
    html.is-from-buyer:where(:has(> .page-contact)) .l-nav a:not(.c-btn):not(.l-nav__ig)::after {
      content: ""; position: absolute; left: 0; right: 100%; bottom: -2px;
      height: 2px; background: #273a78; transition: right .25s ease;
    }
    html.is-from-buyer:where(:has(> .page-contact)) .l-nav a:not(.c-btn):not(.l-nav__ig):hover::after { right: 0; }
    html.is-from-buyer:where(:has(> .page-contact)) .l-subnav a:hover { background: #eef1fa; }
    html.is-from-buyer:where(:has(> .page-contact)) .l-drawer > a.is-cta { color: #273a78; }
    /* hero / siteicon / ig 画像（このページ専用のリセット） */
    :where(.page-home) .l-hero__img { position:absolute; inset:0; width:100%; height:100%; object-fit:cover; }
    :where(.page-home) .c-ig img { aspect-ratio:1/1; object-fit:cover; width:100%; height:auto; }
    :where(.page-home) .c-siteicon { display:flex; align-items:center; justify-content:center; aspect-ratio:5/4; background:var(--c-brand-50); }
    :where(.page-home) .c-siteicon svg { width:44%; height:auto; }
    /* hero */
    :where(.page-home) .l-hero { position: relative; margin-top: var(--header-h); }
    :where(.page-home) .l-hero__media { position: relative; min-height: clamp(440px, 78vh, 760px); overflow: hidden; }
    :where(.page-home) .l-hero__copy {
      position: absolute; inset: 0;
      display: flex; align-items: center; justify-content: center;
      padding-inline: var(--pad);
    }
    :where(.page-home) .l-hero__inner { max-width: var(--container-narrow); margin-inline: auto; text-align: center; }
    :where(.page-home) .l-hero__kicker { display: block; font-family: var(--ff-sans); font-size: .78rem; font-weight: var(--fw-bold); letter-spacing: .34em; text-transform: uppercase; color: var(--c-text-muted); margin-bottom: var(--sp-4); }
    :where(.page-home) .l-hero__title { font-family: var(--ff-serif); font-size: var(--fs-display); line-height: 1.64; font-weight: var(--fw-regular); letter-spacing: var(--tr-ui); color: var(--c-ink); }
    :where(.page-home) .l-hero__sub { font-size: var(--fs-lead); margin-top: var(--sp-4); color: var(--c-ink); font-weight: var(--fw-medium); }
    :where(.page-home) .l-hero__btns { display: flex; flex-wrap: wrap; gap: var(--sp-4); margin-top: var(--sp-6); justify-content: center; }
    :where(.page-home) .l-hero__scroll { margin-top: var(--sp-6); font-size: .8rem; letter-spacing: .25em; color: var(--c-text-muted); font-family: var(--ff-sans); }
    /* three-site flow（ボーダー付きボックス＋線でつなぐ／01→線→02→線→03の順に出す） */
    /* OUR VALUE（代表メッセージ＋価値カード）はもう少しゆっくり出す */
    .is-js:where(:has(> .page-home)) .c-rep__photo.p-reveal,
    .is-js:where(:has(> .page-home)) .c-rep__body.p-reveal { transition-duration: 1.8s; }
    /* value items（代表メッセージに“添える”補足扱い：写真を低く・文字を控えめに） */
    /* 代表の言葉ゾーン＝共通TOP中盤の山場（カードにしない・エディトリアルに見せる／写真は右） */
    :where(.page-home) .c-rep { display: grid; grid-template-columns: 1fr minmax(0, 420px); gap: clamp(2rem, 5vw, var(--sp-8)); align-items: center; margin: clamp(2.5rem, 5vw, var(--sp-8)) 0 clamp(2.5rem, 5vw, 3.5rem); }
    :where(.page-home) .c-rep__photo { margin: 0; position: relative; }
    :where(.page-home) .c-rep__photo img { width: 100%; height: auto; display: block; position: relative; z-index: 1; box-shadow: 0 22px 50px rgba(20,30,50,.20); }
    /* 写真の“額装”＝箱ではなく、左下にずらした水色の細線フレーム */
    :where(.page-home) .c-rep__photo::before { content: ""; position: absolute; z-index: 0; left: -16px; top: 16px; right: 16px; bottom: -16px; border: 2px solid var(--c-sky); }
    :where(.page-home) .c-rep__quote { position: relative; font-family: var(--ff-serif); font-size: clamp(1.4rem, 1.4vw + 1rem, 1.95rem); line-height: 1.85; color: var(--c-ink); }
    :where(.page-home) .c-rep__quote::before { content: "\201C"; display: block; font-family: Georgia, "Times New Roman", serif; font-size: 4em; line-height: .55; color: var(--c-sky); opacity: .5; margin-bottom: .08em; }
    :where(.page-home) .c-rep__role { margin-top: var(--sp-5); font-family: var(--ff-sans); font-size: 1rem; color: var(--c-text-muted); }
    :where(.page-home) .c-rep__sign { margin-top: .15rem; font-family: var(--ff-serif); font-size: 1.85rem; color: var(--c-ink); }
    /* quote */
    :where(.page-home) .c-quote { padding: .4rem 0; font-family: var(--ff-serif); font-size: var(--fs-h3); line-height: 1.7; }
    :where(.page-home) .c-quote cite { display: block; margin-top: var(--sp-3); font-size: 1rem; font-style: normal; color: var(--c-text-muted); font-family: var(--ff-sans); }
    /* 予告編リール */
    :where(.page-home) .c-reel { margin-top: 2.5rem; }
    :where(.page-home) .c-reel__stage { position: relative; aspect-ratio: 16 / 9; overflow: hidden; background: var(--c-brand-50); }
    :where(.page-home) .c-reel__link { display: block; text-decoration: none; cursor: pointer; }
    /* 動画の上に載せる本文（見出し下の本文をここに移動） */
    :where(.page-home) .c-reel__slide { position: absolute; inset: 0; margin: 0; opacity: 0; transition: opacity .9s ease; }
    :where(.page-home) .c-reel__slide.is-active { opacity: 1; }
    :where(.page-home) .c-reel__slide img { width: 100%; height: 100%; object-fit: cover; display: block; }
    :where(.page-home) .c-reel__cap { position: absolute; inset: auto 0 0 0; padding: clamp(1rem, 3vw, 2.25rem); font-family: var(--ff-serif); font-size: var(--fs-h3); line-height: 1.6; color: var(--c-text-invert); background: linear-gradient(to top, rgba(8,20,32,.72), rgba(8,20,32,0)); text-shadow: 0 2px 10px rgba(0,0,0,.55); transform: translateY(14px); opacity: 0; transition: opacity .9s ease .15s, transform .9s ease .15s; }
    :where(.page-home) .c-reel__slide.is-active .c-reel__cap { transform: none; opacity: 1; }
    /* entry split（採用 / バイヤー） */
    :where(.page-home) .c-split { display: flex; width: 100%; min-height: 72vh; }
    :where(.page-home) .c-split__pane { position: relative; flex: 1 1 50%; display: flex; align-items: flex-end; min-height: 72vh; overflow: hidden; text-decoration: none; color: var(--c-text-invert); }
    :where(.page-home) .c-split__bg { position: absolute; inset: 0; background-size: cover; background-position: center; transition: transform .6s cubic-bezier(.2,.6,.2,1); }
    :where(.page-home) .c-split__bg--recruit { background-image: url(/wp-content/uploads/top-07.jpg); }
    :where(.page-home) .c-split__bg--buyer { background-image: url(/wp-content/uploads/top-08.jpg); }
    :where(.page-home) .c-split__pane::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(8,20,32,.72), rgba(8,20,32,.20) 55%, rgba(8,20,32,.05)); }
    :where(.page-home) .c-split__pane:hover .c-split__bg { transform: scale(1.05); }
    :where(.page-home) .c-split__overlay { position: relative; z-index: 1; padding: clamp(1.75rem, 4vw, 3.25rem); display: flex; flex-direction: column; gap: var(--sp-4); max-width: 40rem; }
    :where(.page-home) .c-split__title { font-family: var(--ff-serif); font-size: var(--fs-h3); font-weight: var(--fw-semibold); text-shadow: 0 2px 12px rgba(0,0,0,.55); }
    :where(.page-home) .c-split__lead { font-size: 1.05rem; line-height: 1.7; text-shadow: 0 1px 8px rgba(0,0,0,.55); }
    :where(.page-home) .c-split__cta { align-self: flex-start; pointer-events: none; }
    /* highlight photos */
    :where(.page-home) .c-photoset__label { margin-top: .7rem; font-weight: var(--fw-bold); font-family: var(--ff-sans); }
    :where(.page-home) .c-photoset__text { font-size: 1rem; color: var(--c-text-muted); line-height: 1.75; }
    /* 待遇 KW（横並び・罫線区切り、枠なし） */
    /* news */
    :where(.page-home) .c-news { display: flex; flex-direction: column; }
    :where(.page-home) .c-news__row { display: grid; grid-template-columns: auto 4.4em 1fr; gap: var(--sp-4); align-items: baseline; padding: var(--sp-4) 0; border-bottom: 1px solid var(--c-line); }
    :where(.page-home) .c-news__row:hover .c-news__title { color: var(--c-brand-800); }
    :where(.page-home) .c-news__date { font-family: var(--ff-sans); color: var(--c-text-muted); font-size: .95rem; }
    :where(.page-home) .c-news__tag { display: inline-block; text-align: center; font-size: .78rem; letter-spacing: .06em; background: var(--c-brand-100); color: var(--c-brand-900); padding: .15em .5em; white-space: nowrap; }
    :where(.page-home) .c-news__title { font-size: 1rem; transition: color var(--dur) var(--ease); }
    /* instagram */
    :where(.page-home) .c-ig { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--sp-3); }
    :where(.page-home) .c-ig img { transition: transform .5s ease; }
    :where(.page-home) .c-ig img:hover { transform: scale(1.06); }
    /* hero kenburns */
    .is-js:where(:has(> .page-home)) .l-hero__img { animation: kenburns 22s ease-out forwards; }
    @keyframes kenburns { from { transform: scale(1.06); } to { transform: scale(1); } }
    @media (max-width: 768px) {
      :where(.page-home) .c-rep { grid-template-columns: 1fr; gap: var(--sp-6); }
      :where(.page-home) .c-rep__photo { max-width: 300px; margin-inline: auto; }
      :where(.page-home) .c-rep__photo::before { left: -10px; top: 10px; right: 10px; bottom: -10px; }
      :where(.page-home) .c-reel__cap { font-size: 1.05rem; padding: var(--sp-4); }
      :where(.page-home) .l-hero__btns { flex-direction: column; align-items: stretch; gap: var(--sp-3); }
      :where(.page-home) .l-hero__btns .c-btn { width: 100%; justify-content: center; padding-block: 1.15em; }
      :where(.page-home) .c-split { flex-direction: column; min-height: 0; }
      :where(.page-home) .c-split__pane { min-height: 56vh; }
      /* オーバーレイが画面幅を超えて文字が切れていたため、幅を画面に収める */
      :where(.page-home) .c-split__overlay { max-width: 100%; width: 100%; }
      :where(.page-home) .c-split__overlay > * { min-width: 0; }
      :where(.page-home) .c-split__cta {
        align-self: stretch; white-space: normal; text-align: left;
        padding-inline: 1.25rem;
    }
      :where(.page-home) .c-news__row { grid-template-columns: auto 1fr; }
      :where(.page-home) .c-news__tag { grid-column: 1; }
    }
    /* ---- タグ・公開日（タイトルの上） ---- */
    :where(.single-news) .p-article__meta { display:flex; align-items:center; gap:var(--sp-4); flex-wrap:wrap; }
    /* ---- 本文 ---- */
    :where(.single-news) .p-article { max-width:38em; }
    :where(.single-news) .p-article h2 {
      margin-top:var(--sp-6); font-family:var(--ff-serif); font-weight: var(--fw-semibold);
      font-size:var(--fs-h3); line-height:1.6; color:var(--c-ink);
    }
    :where(.single-news) .p-article h3 {
      margin-top:var(--sp-5); font-family:var(--ff-sans); font-weight: var(--fw-bold);
      font-size:1.0625rem; line-height:1.7; color:var(--c-ink);
    }
    :where(.single-news) .p-article ul { margin-top:1.1rem; padding-left:0; list-style:none; }
    :where(.single-news) .p-article li {
      position:relative; padding-left:1.2em;
      font-size:1.0625rem; line-height:1.95; color:var(--c-text);
    }
    :where(.single-news) .p-article li::before { content:"・"; position:absolute; left:0; color:var(--c-brand-800); }
    :where(.single-news) .p-article li + li { margin-top:.4rem; }
    :where(.single-news) .p-article__file {
      display:inline-block; margin-top:1.2rem; font-weight: var(--fw-bold);
      color:var(--c-brand-900);
    }
    :where(.single-news) .p-article__ext {
      margin-left:.35em; font-size:.8125rem; font-weight: var(--fw-regular);
      color:var(--c-text-muted);
    }
    /* ---- 0件のとき ---- */
    :where(.post-type-archive-news) .p-news__empty {
      margin-top:var(--sp-6); text-align:center;
      font-size:1.0625rem; color:var(--c-text-muted);
    }
    /* ---- ページ送り ---- */
    :where(.post-type-archive-news) .p-pager {
      margin-top:var(--sp-7); display:flex; flex-wrap:wrap;
      justify-content:center; align-items:center; gap:var(--sp-2);
    }
    :where(.post-type-archive-news) .p-pager__item {
      min-width:2.75rem; padding:.6rem .9rem; text-align:center;
      font-family:var(--ff-sans); font-size:1rem; font-weight: var(--fw-bold);
      color:var(--c-brand-900); border:1px solid var(--c-brand-100);
      text-decoration:none; transition:background var(--dur) var(--ease), border-color var(--dur) var(--ease);
    }
    :where(.post-type-archive-news) .p-pager__item:hover { background:var(--c-brand-50); border-color:var(--c-brand-700); }
    :where(.post-type-archive-news) .p-pager__item[aria-current="page"] {
      background:var(--c-brand-800); color:var(--c-text-invert);
      border-color:var(--c-brand-800);
    }
    :where(.post-type-archive-news) .p-pager__item[aria-disabled="true"] {
      color:var(--c-text-subtle);
      border-color:var(--c-line); pointer-events:none;
    }
  }

  @layer main {
    /* ===== 系統別（旧：common.css / buyer.css / recruit.css の @layer 外） ===== */
    @media (max-width: 900px) {
      :where(.is-site-corporate) .l-nav,
      :where(.is-site-corporate) .l-header__cta { display: none; }
      :where(.is-site-corporate) .l-hamburger { display: flex; }
      :where(.is-site-corporate) .l-mega { display: none; }
    }
    @media (max-width: 768px) {
      :where(.is-site-corporate) .l-2col,
      :where(.is-site-corporate) .l-3col,
      :where(.is-site-corporate) .l-4col { grid-template-columns: 1fr; }
      :where(.is-site-corporate, .is-site-buyer) .l-footer__cols { grid-template-columns: 1fr 1fr; }
      :where(.is-site-corporate) .l-mega__cols { grid-template-columns: 1fr; }
      :where(.is-site-corporate) .l-mega__links { grid-template-columns: 1fr 1fr; }
    }
    @media (max-width: 520px) {
      /* フッターのリンク列は採用サイトと同じく SP でも2列を維持する */
      :where(.is-site-corporate) .l-footer__cols { grid-template-columns: 1fr 1fr; }
    }
    /* ===================================================================
       共通補助ページ共通スタイル（C1〜C4で共有）
       =================================================================== */
    :where(.is-site-corporate) .p-pagehead { position:relative;min-height:calc(clamp(280px,38vh,420px) + var(--header-h)); }
    @keyframes kenburns { from{transform:scale(1.06);}to{transform:scale(1);} }
    .p-pagehead__media { position:absolute;inset:0;overflow:hidden; }
    .p-pagehead__media img { width:100%;height:100%;object-fit:cover; }
    :where(.is-site-corporate) .p-pagehead__media::after { content:"";position:absolute;inset:0;background:linear-gradient(180deg,rgba(24,36,60,.30),rgba(24,36,60,.50)); }
    :where(.is-site-corporate) .p-pagehead__copy { position:relative;display:flex;flex-direction:column;justify-content:center;min-height:inherit;padding-block:calc(var(--sp-7) + var(--header-h)) var(--sp-7); }
    :where(.is-site-corporate) .p-pagehead__title { font-family:var(--ff-serif);font-size:clamp(2rem,4vw,2.875rem);line-height:1.4;color:var(--c-text-invert);font-weight: var(--fw-semibold); }
    .p-pagehead__sub { color:rgba(255,255,255,.92);font-size:var(--fs-lead);margin-top:var(--sp-4); }
    .p-lead { font-size:1.125rem;line-height:1.9;color:var(--c-text-muted); }
    .p-cond { border-top:1px solid var(--c-line);margin-top:var(--sp-5); }
    :where(.is-site-corporate) .p-cond__row { display:grid;grid-template-columns:200px 1fr;gap:var(--sp-5);padding:1.25rem var(--sp-1);border-bottom:1px solid var(--c-line);align-items:baseline; }
    :where(.is-site-corporate) .p-cond__term { font-family:var(--ff-serif);font-size:1.15rem;font-weight: var(--fw-semibold);color:var(--c-brand-900); }
    :where(.is-site-corporate) .p-cond__desc { font-size:1.125rem;line-height:1.85;color:var(--c-text); }
    :where(.is-site-corporate) .p-facilities { display:grid;grid-template-columns:repeat(auto-fill,minmax(220px,1fr));gap:0 var(--sp-5);margin-top:var(--sp-5);border-top:1px solid var(--c-line); }
    :where(.is-site-corporate) .p-facilities li { padding:.85rem var(--sp-1);border-bottom:1px solid var(--c-line);font-size:1.0625rem; }
    :where(.is-site-corporate) .p-map { margin-top:var(--sp-6); }
    :where(.is-site-corporate) .p-map iframe { width:100%;height:420px;border:0;display:block; }
    :where(.is-site-corporate) .p-news { border-top:1px solid var(--c-line);margin-top:var(--sp-5); }
    :where(.is-site-corporate) .p-news__row { display:grid;grid-template-columns:auto auto 1fr;gap:var(--sp-4);align-items:baseline;padding:var(--sp-4) var(--sp-1);border-bottom:1px solid var(--c-line); }
    :where(.is-site-corporate) .p-news__date { font-family:var(--ff-sans);color:var(--c-text-muted);font-size:1.0625rem; }
    :where(.is-site-corporate) .p-news__tag { font-size:.9rem;letter-spacing: var(--tr-ui);background:var(--c-brand-100);color:var(--c-brand-900);padding:.15em .9em;white-space:nowrap;align-self:center; }
    :where(.is-site-corporate) .p-news__title { font-size:1.125rem; }
    :where(.is-site-corporate) .p-article { font-size:1.125rem;line-height:1.95;color:var(--c-text); }
    :where(.is-site-corporate) .p-article__meta { display:flex;flex-wrap:wrap;gap:var(--sp-4);align-items:center;color:var(--c-text-muted);font-size:1.0625rem;margin-bottom:var(--sp-5); }
    :where(.is-site-corporate) .p-article p { margin-bottom:1.3em; }
    :where(.is-site-corporate) .p-article img { margin:1.6rem 0;width:100%; }
    :where(.is-site-corporate) .p-article__back { display:inline-block;margin-top:var(--sp-5);font-weight: var(--fw-bold);color:var(--c-brand-900); }
    .p-form { margin-top:var(--sp-5); }
    .p-form__field { margin-bottom:var(--sp-4); }
    .p-form__label { display:block;font-weight: var(--fw-bold);font-size:1.0625rem;margin-bottom:.4rem; }
    .p-form__input, .p-form__textarea { width:100%;font:inherit;font-size:1.0625rem;padding:.8em 1em;border:1px solid var(--c-line);background:var(--c-bg);color:var(--c-text); }
    .p-form__textarea { min-height:140px;resize:vertical; }
    :where(.is-site-corporate, .is-site-buyer) .p-contact-info { display:flex;flex-wrap:wrap;gap:var(--sp-6);justify-content:center;margin-top:var(--sp-6);padding-top:var(--sp-5);border-top:1px solid var(--c-line); }
    :where(.is-site-corporate, .is-site-buyer) .p-contact-info div { text-align:center; }
    :where(.is-site-corporate, .is-site-buyer) .p-contact-info b { display:block;font-family:var(--ff-sans);font-size:1rem;color:var(--c-text-subtle);font-weight: var(--fw-bold);letter-spacing:.06em; }
    :where(.is-site-corporate, .is-site-buyer) .p-contact-info span { font-family:var(--ff-serif);font-size:1.4rem;color:var(--c-brand-900); }
    :where(.is-site-corporate) .p-next { border-top:1px solid var(--c-line);margin-top:var(--sp-6);display:grid;grid-template-columns:max-content minmax(0,1fr); }
    :where(.is-site-corporate) .p-next__row { display:grid;grid-column:1 / -1;grid-template-columns:subgrid;align-items:baseline;gap:var(--sp-4) var(--sp-6);padding:1.15rem var(--sp-1);border-bottom:1px solid var(--c-line); }
    @supports not (grid-template-columns:subgrid) {
      :where(.is-site-corporate) .p-next__row { grid-template-columns:16em minmax(0,1fr); }
    }
    :where(.is-site-corporate) .p-next__row a { font-size:1.1875rem;font-weight: var(--fw-bold);color:var(--c-brand-900);white-space:nowrap; }
    :where(.is-site-corporate) .p-next__row span { color:var(--c-text-muted);font-size:1.0625rem; }
    @media (max-width:640px) {
      :where(.is-site-corporate, .is-site-buyer) .p-cond__row { grid-template-columns:1fr;gap:.4rem; }
      :where(.is-site-corporate) .p-news__row { grid-template-columns:auto 1fr; }
      :where(.is-site-corporate) .p-news__tag { grid-column:1; }
      :where(.is-site-corporate) .p-next { grid-template-columns:minmax(0,1fr); }
      :where(.is-site-corporate) .p-next__row { grid-template-columns:minmax(0,1fr);align-items:flex-start;gap:.3rem; }
      :where(.is-site-corporate) .p-next__row a { white-space:normal; }
    }
    /* ===================================================================
       デザインのあしらい（共通TOP・補助系）
       =================================================================== */
    /* 全体の微細テクスチャ（フィルムグレイン） */
    body:where(.is-site-corporate)::before { content:"";position:fixed;inset:0;pointer-events:none;z-index:0;opacity:.028;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }
    /* 見出しラベルの両側ライン */
    .t-eyebrow,
    .is-style-eyebrow,
    .is-style-eyebrow-invert { display:inline-flex;align-items:center;gap:.7em; }
    :where(.is-site-corporate) .t-eyebrow::before,
    :where(.is-site-corporate) .t-eyebrow::after,
    :where(.is-site-corporate) .is-style-eyebrow::before,
    :where(.is-site-corporate) .is-style-eyebrow-invert::before,
    :where(.is-site-corporate) .is-style-eyebrow::after,
    :where(.is-site-corporate) .is-style-eyebrow-invert::after { content:"";width:28px;height:2px;background:currentColor;opacity:.45; }
    :where(.is-site-corporate) .t-eyebrow:not(.t-eyebrow--warm):not(.t-eyebrow--invert)::before,
    :where(.is-site-corporate) .t-eyebrow:not(.t-eyebrow--warm):not(.t-eyebrow--invert)::after,
    :where(.is-site-corporate) .is-style-eyebrow:not(.t-eyebrow--warm):not(.t-eyebrow--invert)::before,
    :where(.is-site-corporate) .is-style-eyebrow-invert:not(.t-eyebrow--warm):not(.is-style-eyebrow-invert)::before,
    :where(.is-site-corporate) .is-style-eyebrow:not(.t-eyebrow--warm):not(.t-eyebrow--invert)::after,
    :where(.is-site-corporate) .is-style-eyebrow-invert:not(.t-eyebrow--warm):not(.is-style-eyebrow-invert)::after { background:var(--c-sky);opacity:.95; }
    /* 淡色セクションの微細ドット */
    :where(.is-site-corporate) .l-section--green,
    :where(.is-site-corporate) .l-section--warm { background-image:radial-gradient(rgba(20,80,126,.06) 1px,transparent 1.6px);background-size:22px 22px; }
    /* 本文画像のやわらかい影 */
    :where(.is-site-corporate) .l-grid img:not(.l-hero__img) { box-shadow:0 10px 30px var(--c-shadow); }
    /* 引用のあしらい */
    .p-voice { position:relative; }
    :where(.is-site-corporate) .p-voice::before { content:"\201C";position:absolute;left:-.05em;top:-.42em;font-family:Georgia,'Times New Roman',serif;font-size:3.4em;line-height:1;color:var(--c-brand-800);opacity:.13;pointer-events:none; }
    /* ===== あしらい 第2弾（共通） ===== */
    /* 塗りボタンに上質な質感（影は不使用） */
    :where(.is-site-corporate) .c-btn { box-shadow:none; }
    :where(.is-site-corporate) .c-btn--primary,
    :where(.is-site-corporate) .c-btn--accent,
    :where(.is-site-corporate) .c-btn--navy,
    :where(.is-site-corporate) .c-btn--invert { background-image:linear-gradient(180deg,rgba(255,255,255,.14),rgba(255,255,255,0) 50%,rgba(0,0,0,.07)); }
    /* コーポレートページのヘッダー採用CTA：フローティングCTAと同じ緑（グラデーションなし・トップと同一） */
    :where(.is-site-corporate) .l-header__cta.c-btn--primary { background:#8bc63c; border-color:#8bc63c; color:var(--c-text-invert); }
    :where(.is-site-corporate) .l-header__cta.c-btn--primary:hover { background:#7cb333; border-color:#7cb333; }
    /* アクセントボタン（メガメニューの「採用TOPへ」など）はトップと同じブルー・グラデーションなし */
    :where(.is-site-corporate) .c-btn--accent { background:var(--c-brand-800); border-color:var(--c-brand-800); }
    :where(.is-site-corporate) .c-btn--accent:hover { background:var(--c-brand-900); border-color:var(--c-brand-900); }
    :where(.is-site-corporate) .c-btn--primary { background:var(--c-action-primary); }
    :where(.is-site-corporate) .c-btn--navy,
    :where(.is-site-corporate) .c-btn--invert { background-image:none; }
    /* 下層ヒーロー底のブランドライン */
    /* 2026-10-15 FV直下の青いボーダーは削除（旧：.p-pagehead{border-bottom:3px solid var(--c-brand-800);}） */
    /* 定義リスト項目のアクセントドット */
    .p-cond__term { position:relative;padding-left:1.1rem; }
    :where(.is-site-corporate, .is-site-buyer) .p-cond__term::before { content:"";position:absolute;left:0;top:.62em;width:7px;height:7px;border-radius:50%;background:var(--c-brand-800); }
    /* Q&A を丸バッジに */
    :where(.is-site-corporate, .is-site-recruit) .p-faq__q,
    :where(.is-site-corporate, .is-site-recruit) .p-faq__a { display:flex;align-items:baseline; }
    :where(.is-site-corporate) .p-faq__q b,
    :where(.is-site-corporate) .p-faq__a b { flex:none;display:inline-flex;align-items:center;justify-content:center;width:1.7em;height:1.7em;border-radius:50%;background:var(--c-brand-800);color:var(--c-text-invert);font-size:.8em;margin-right:.6em;transform:translateY(.1em); }
    /* ===== あしらい 第3弾（共通） ===== */
    /* 関連リンクのアクセント下線 */
    :where(.is-site-corporate, .is-site-buyer) .p-next__row a { text-decoration:underline;text-decoration-color:var(--c-brand-800);text-underline-offset:3px;text-decoration-thickness:1px; }
    /* 引用の縦線をグラデに */
    .p-voice { border-left:none;position:relative;padding-left:1.4rem; }
    :where(.is-site-corporate, .is-site-buyer) .p-voice::after { content:"";position:absolute;left:0;top:.12em;bottom:.12em;width:3px;border-radius:3px;background:linear-gradient(180deg,var(--c-brand-800),rgba(20,80,126,0)); }
    /* ===== あしらい 第4弾（WABIKA風・共通） ===== */
    /* 画像右下のコーナーフォールド（紙めくれ） */
    .p-fig { position:relative;display:block;margin:0;line-height:0; }
    .p-fig img { display:block;width:100%;height:auto; }
    /* 右下の折り返し（三角）は不使用 */
    :where(.is-site-corporate) .p-fig::after { content:none; }
    :where(.is-site-corporate) .p-article .p-fig { margin:1.6rem 0; }
    /* ===== あしらい 第5弾（SVG・共通） ===== */
    /* 統計数字の手書き風 波下線 */
    :where(.is-site-corporate, .is-site-buyer) .c-stat__num { position:relative;display:inline-block; }
    :where(.is-site-corporate) .c-stat__num::after { content:"";position:absolute;left:0;right:0;bottom:-.14em;margin:auto;width:66%;height:6px;background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='80' height='6'%3E%3Cpath d='M0 3 Q10 0 20 3 T40 3 T60 3 T80 3' fill='none' stroke='%23b8571a' stroke-width='1.5'/%3E%3C/svg%3E") no-repeat center;background-size:contain; }
    /* ヒーローのスクロール矢印（モーション軽減対応） */
    :where(.is-site-corporate) .l-hero__scroll { position:relative; }
    :where(.is-site-corporate) .l-hero__scroll::after { content:"";display:block;width:16px;height:22px;margin:.6rem auto 0;background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='22'%3E%3Cpath d='M8 0V18M2 12L8 18L14 12' fill='none' stroke='%23ffffff' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat center;animation:hms-scroll 1.7s ease-in-out infinite; }
    @keyframes hms-scroll { 0%,100%{transform:translateY(0);opacity:.55;}50%{transform:translateY(5px);opacity:1;} }
    @media (prefers-reduced-motion:reduce) {
      :where(.is-site-corporate) .l-hero__scroll::after { animation:none; }
    }
    /* ===== 流れ・地続き感（セクション境界のソフト化） ===== */
    :where(.is-site-corporate) .l-section--warm,
    :where(.is-site-corporate) .l-section--green { box-shadow: inset 0 64px 48px -48px var(--c-bg), inset 0 -64px 48px -48px var(--c-bg); }
    /* 採用導線用：オレンジ枠のアウトラインボタン */
    :where(.is-site-corporate) .c-btn--outline.is-accent { color: var(--c-accent-700); border-color: var(--c-accent); }
    /* ===== あしらい 第6弾：reveal連動の線アニメ（SVG装飾の描画演出） ===== */
    /* 中央見出しの装飾ディバイダーが中央から左右に描かれる */
    .t-h2.p-reveal.t-h2--center-bar::after,
    .is-style-center.p-reveal.t-h2--center-bar::after,
    .is-style-center-bar.p-reveal.is-style-center-bar::after,
    .is-style-plain.p-reveal.t-h2--center-bar::after,
    .is-style-invert.p-reveal.t-h2--center-bar::after { transform:scaleX(0);transform-origin:center;transition:transform .75s cubic-bezier(.2,.7,.3,1) .15s; }
    .t-h2.p-reveal.is-in.t-h2--center-bar::after,
    .is-style-center.p-reveal.is-in.t-h2--center-bar::after,
    .is-style-center-bar.p-reveal.is-in.is-style-center-bar::after,
    .is-style-plain.p-reveal.is-in.t-h2--center-bar::after,
    .is-style-invert.p-reveal.is-in.t-h2--center-bar::after { transform:scaleX(1); }
    /* 英字ラベルの両側線が中央から外へ伸びる */
    .t-eyebrow.p-reveal::before, .t-eyebrow.p-reveal::after,
    .is-style-eyebrow.p-reveal::before,
    .is-style-eyebrow-invert.p-reveal::before,
    .is-style-eyebrow.p-reveal::after,
    .is-style-eyebrow-invert.p-reveal::after { transition:transform .6s ease .1s; }
    .t-eyebrow.p-reveal:not(.is-in)::before, .t-eyebrow.p-reveal:not(.is-in)::after,
    .is-style-eyebrow.p-reveal:not(.is-in)::before,
    .is-style-eyebrow-invert.p-reveal:not(.is-in)::before,
    .is-style-eyebrow.p-reveal:not(.is-in)::after,
    .is-style-eyebrow-invert.p-reveal:not(.is-in)::after { transform:scaleX(0); }
    .t-eyebrow.p-reveal::before,
    .is-style-eyebrow.p-reveal::before,
    .is-style-eyebrow-invert.p-reveal::before { transform-origin:right; }
    .t-eyebrow.p-reveal::after,
    .is-style-eyebrow.p-reveal::after,
    .is-style-eyebrow-invert.p-reveal::after { transform-origin:left; }
    @media (prefers-reduced-motion:reduce) {
      .t-h2.t-h2--center-bar::after, .t-eyebrow::before, .t-eyebrow::after,
      .is-style-center.t-h2--center-bar::after,
      .is-style-center-bar::after,
      .is-style-plain.t-h2--center-bar::after,
      .is-style-invert.t-h2--center-bar::after,
      .is-style-eyebrow::before,
      .is-style-eyebrow-invert::before,
      .is-style-eyebrow::after,
      .is-style-eyebrow-invert::after { transform:none !important;transition:none !important; }
    }
    /* ===== あしらい 第7弾：背景の極薄モチーフ（同心円＋ドット） ===== */
    :where(.is-site-corporate) .l-section--green,
    :where(.is-site-corporate) .l-section--warm {
      background-image:
        radial-gradient(rgba(20,80,126,.06) 1px, transparent 1.6px);
      background-repeat: repeat;
      background-position: 0 0;
      background-size: 22px 22px;
    }
    /* ===== あしらい 第8弾：ヒーロー曲線・隅ライン・見出しウォーターマーク ===== */
    .l-hero { position: relative; }
    /* ヒーロー底の波カーブ（次の白セクションへ柔らかく） */
    .l-hero::after {
      content:""; position:absolute; left:0; right:0; bottom:-1px; height:46px; z-index:4; pointer-events:none;
      background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 46' preserveAspectRatio='none'%3E%3Cpath d='M0,46 L0,24 Q360,0 720,20 T1440,18 L1440,46 Z' fill='%23ffffff'/%3E%3C/svg%3E") no-repeat center bottom / 100% 100%;
    }
    /* 見出し背後の極薄英字ウォーターマーク */
    .t-h2:has(> .t-h2__en),
    .is-style-center:has(> .t-h2__en),
    .is-style-center-bar:has(> .t-h2__en),
    .is-style-plain:has(> .t-h2__en),
    .is-style-invert:has(> .t-h2__en) { position: relative; }
    .t-h2 > .t-h2__en,
    .is-style-center > .t-h2__en,
    .is-style-center-bar > .t-h2__en,
    .is-style-plain > .t-h2__en,
    .is-style-invert > .t-h2__en{ position:absolute; left:0; top:50%; transform:translateY(-56%); font-family:var(--ff-sans); font-weight:800; font-size:clamp(3rem,7vw,6rem); letter-spacing:.03em; color:currentColor; opacity:.05; white-space:nowrap; pointer-events:none; }
    :where(.is-site-corporate, .is-site-recruit) .t-h2.t-h2--center-bar > .t-h2__en,
    :where(.is-site-corporate, .is-site-recruit) .is-style-center.t-h2--center-bar > .t-h2__en,
    :where(.is-site-corporate, .is-site-recruit) .is-style-center-bar.is-style-center-bar > .t-h2__en,
    :where(.is-site-corporate, .is-site-recruit) .is-style-plain.t-h2--center-bar > .t-h2__en,
    :where(.is-site-corporate, .is-site-recruit) .is-style-invert.t-h2--center-bar > .t-h2__en{ left:50%; transform:translate(-50%,-56%); }
    /* ===== 第8弾 調整：ウォーターマークの幅はみ出し対策 ===== */
    .l-section { overflow-x: clip; }
    @media (max-width: 768px) {
      :root { --header-h: 66px; }
      /* 76px → 66px */
      :where(.is-site-corporate) .l-sticky-cta { gap: .4rem; padding: .6rem var(--sp-2) calc(.6rem + env(safe-area-inset-bottom, 0px)); }
      :where(.is-site-corporate) .l-sticky-cta a {
        font-size: clamp(.8125rem, 2.6vw + .35rem, .9375rem);
        padding: .85em .4em;
        gap: .4em;
        white-space: nowrap;                 /* 「商品・品質を見る」の折返し防止 */
    }
      :where(.is-site-corporate) .l-sticky-cta a svg { width: 1.1em; height: 1.1em; }
      body:where(.is-site-corporate) { padding-bottom: 74px; }
      /* CTA実高に合わせる */
      :where(.is-site-corporate) .l-pagetop { bottom: calc(74px + 1rem); }
    }
    /* --- フッター：ブランド情報ブロック（メニューの左に配置。採用サイトと体裁を統一） --- */
    :where(.is-site-corporate, .is-site-buyer) .l-footer__top { display: grid; grid-template-columns: minmax(220px, 270px) 1fr; gap: var(--sp-7); align-items: start; }
    :where(.is-site-corporate, .is-site-buyer) .l-footer__brand { border: 1px solid rgba(255,255,255,.28); border-radius: var(--r-sm); padding: var(--sp-5); }
    :where(.is-site-corporate, .is-site-buyer) .l-footer__brand-logo { display: inline-block; }
    :where(.is-site-corporate, .is-site-buyer) .l-footer__brand-logo img { height: 32px; width: auto; filter: brightness(0) invert(1); }
    :where(.is-site-corporate, .is-site-buyer) .l-footer__brand-addr { font-size: .85rem; line-height: 1.6; color: var(--c-white-72); margin-top: .9rem; }
    :where(.is-site-corporate, .is-site-buyer) .l-footer__brand-sns { display: flex; gap: var(--sp-4); margin-top: .9rem; font-size: .85rem; }
    :where(.is-site-corporate, .is-site-buyer) .l-footer__brand-sns a { color: var(--c-white-82); }
    :where(.is-site-corporate, .is-site-buyer) .l-footer__brand-sns a:hover { color: var(--c-text-invert); text-decoration: underline; }
    :where(.is-site-corporate, .is-site-buyer) .l-footer__brand-btns { display: flex; flex-direction: column; gap: .6rem; margin-top: var(--sp-4); }
    :where(.is-site-corporate, .is-site-buyer) .l-footer__brand-btn {
      display: flex; align-items: center; justify-content: center; width: 100%;
      padding: var(--sp-3) .8rem; border: 1px solid rgba(255,255,255,.55); border-radius: 3px;
      font-size: .9rem; font-weight: var(--fw-bold); color: var(--c-text-invert); text-align: center; line-height: 1.4;
    }
    :where(.is-site-corporate, .is-site-buyer) .l-footer__brand-btn:hover { background: rgba(255,255,255,.1); }
    /* --- フッター最下段：コピーライトを左端、プライバシーポリシーを右端に --- */
    :where(.is-site-corporate, .is-site-buyer) .l-footer__bar { justify-content: space-between; }
    :where(.is-site-corporate, .is-site-buyer) .l-footer__copy { margin-right: auto; }
    :where(.is-site-corporate, .is-site-buyer) .l-footer__privacy { margin-left: auto; color: var(--c-white-72); }
    :where(.is-site-corporate, .is-site-buyer) .l-footer__privacy:hover { color: var(--c-text-invert); text-decoration: underline; }
    @media (max-width: 900px) {
      :where(.is-site-corporate, .is-site-buyer) .l-footer__top { grid-template-columns: 1fr; gap: var(--sp-6); }
      :where(.is-site-corporate, .is-site-buyer) .l-footer__cols { order: 1; }
      :where(.is-site-corporate, .is-site-buyer) .l-footer__brand { order: 2; }
    }
    @media (max-width: 1100px) {
      /* ページトップボタン（右下固定）と重ならないよう、最下段に余白を確保 */
      .l-footer__bar { padding-bottom: 3.4rem; }
    }
    @media (max-width: 360px) {
      /* 320px 級では2つが1行に収まらないため文字サイズを詰めて左右振り分けを維持する */
      .l-footer__bar { font-size: .78rem; gap: .4rem; }
    }
    /* --- フッター：SNSはInstagramロゴのみ（YouTubeリンクは削除） --- */
    .l-footer__brand-sns-link {
      display: inline-flex; align-items: center; justify-content: center;
      width: 24px; height: 24px; opacity: .82; transition: opacity var(--dur) var(--ease);
    }
    .l-footer__brand-sns-link:hover { opacity: 1; }
    .l-footer__brand-sns-link img { width: 24px; height: 24px; display: block; }
    @media (min-width:861px) {
      :root:where(:has(> .is-site-corporate)) { --fs-small:18px; }
    }
    @media (min-width:861px) {
      :root { --fs-eyebrow:14px; }
      .c-ph { font-size:15.4px; }
      .c-ph small { font-size:13px; }
      .c-btn { font-size:18px; }
      :where(.is-site-corporate, .is-site-recruit) .c-btn--sm { font-size:15.4px; }
      :where(.is-site-corporate) .l-nav__trigger,
      :where(.is-site-corporate) .l-nav__link { font-size:16.2px; }
      :where(.is-site-corporate, .is-site-buyer) .l-header__cta { font-size:15.4px; }
      :where(.is-site-corporate) .l-mega__lead p { font-size:16.2px; }
      :where(.is-site-corporate) .l-mega__links a { font-size:15.4px; }
      :where(.is-site-corporate) .l-drawer__head { font-size:18px; }
      :where(.is-site-corporate) .l-drawer__sub a { font-size:16.2px; }
      .l-footer h4 { font-size:15.4px; }
      .l-footer li { font-size:14px; }
      /* 2026-09-30 16.2px→14px */
      :where(.is-site-corporate) .l-footer__contact { font-size:15.72px; }
      .l-footer__bar { font-size:14.6px; }
      .l-sticky-cta a { font-size:18px; }
      :where(.is-site-corporate) .p-facilities li { font-size:18px; }
      :where(.is-site-corporate) .p-news__date { font-size:18px; }
      :where(.is-site-corporate) .p-news__tag { font-size:15.4px; }
      :where(.is-site-corporate) .p-article__meta { font-size:18px; }
      .p-form__label { font-size:18px; }
      .p-form__input, .p-form__textarea { font-size:18px; }
      :where(.is-site-corporate, .is-site-buyer) .p-contact-info b { font-size:18px; }
      :where(.is-site-corporate, .is-site-recruit) .p-next__row span { font-size:18px; }
      :where(.is-site-corporate, .is-site-buyer) .l-footer__brand-addr { font-size:14.6px; }
      :where(.is-site-corporate, .is-site-buyer) .l-footer__brand-sns { font-size:14.6px; }
      :where(.is-site-corporate, .is-site-buyer) .l-footer__brand-btn { font-size:15.4px; }
      :where(.is-site-corporate) .l-mega__links { grid-template-columns:repeat(3,max-content); }
      /* 「林牧場について」は4項目。3列だとFAQだけ2行目に落ちるため4列にする */
      :where(.is-site-corporate) .l-mega__links--4 { grid-template-columns:repeat(4,max-content); }
      :where(.is-site-corporate) .l-mega__links a { white-space:nowrap; }
    }
    /* ロゴは縦横比を固定する（flexで潰れないようにする） */
    .l-logo { flex:0 0 auto; }
    .l-logo img {
      flex:none; width:auto; height:clamp(30px,2.6vw + 8px,38px);
      aspect-ratio:1263 / 284; object-fit:contain; max-width:none;
    }
    .l-footer__brand-logo img {
      flex:none; width:auto; height:32px;
      aspect-ratio:1263 / 284; object-fit:contain; max-width:none;
    }
    /* グローバルナビの項目は折り返さない */
    :where(.is-site-corporate) .l-nav__link,
    :where(.is-site-corporate) .l-nav__trigger { white-space:nowrap; }
    :where(.is-site-corporate) .l-nav { flex-wrap:nowrap; }
    @media (max-width:999px) {
      :where(.is-site-corporate, .is-site-buyer) .l-nav,
      :where(.is-site-corporate, .is-site-buyer) .l-header__cta { display:none; }
      :where(.is-site-corporate, .is-site-buyer) .l-hamburger { display:flex; }
    }
    @media (min-width:861px) {
      :where(.is-site-corporate) .l-nav__link,
      :where(.is-site-corporate) .l-nav__trigger,
      :where(.is-site-corporate) .l-nav > li > a { font-size:14px; }
      :where(.is-site-corporate) .l-header__cta { font-size:14.4px; }
    }
    @media (min-width:1120px) {
      .l-nav {
        min-width:calc(701.2px + 5 * clamp(.4rem, 1.4vw, 1.4rem));
        justify-content:space-between;
    }
      .l-nav > ul { flex:1 1 auto; justify-content:space-between; }
    }
    /* ===== 2026-09-24 フッター列見出しを各TOPページへのリンクにする ===== */
    .l-footer__colhead {
      color:var(--c-text-invert); font-weight:inherit; letter-spacing:inherit;
      text-decoration:none; display:inline-block; transition:opacity var(--dur) var(--ease);
    }
    .l-footer__colhead:hover, .l-footer__colhead:focus-visible {
      opacity:.7; text-decoration:underline;
      text-underline-offset:.25em;
    }
    @media (min-width:901px) {
      :where(.is-site-corporate) .l-footer__top { grid-template-columns:240px 1fr; }
    }
    @media (min-width:769px) {
      :where(.is-site-corporate) .l-footer__cols {
        grid-template-columns:repeat(3, minmax(0,max-content) 1px) minmax(0,max-content);
        justify-content:space-between; row-gap:0; column-gap:1.25rem; align-self:stretch;
    }
    }
    @media (min-width:769px) {
      .l-footer__col { padding-inline:0; }
      .l-footer__colsep { display:block; width:1px; align-self:stretch; background:rgba(255,255,255,.22); }
    }
    @media (max-width:768px) {
      .l-footer__colsep { display:none; }
    }
    @media (min-width:769px) {
      :where(.is-site-corporate) .l-mega__links--grouped {
        grid-template-columns:repeat(4, minmax(0,max-content));
        justify-content:space-between; row-gap:0; column-gap:var(--sp-5); align-items:start;
    }
      :where(.is-site-corporate) .l-mega__links--grouped a { white-space:nowrap; }
    }
    :where(.is-site-corporate) .l-mega__ghead {
      margin:0 0 .4rem; padding:0 .3em; font-size:.95rem; font-weight: var(--fw-bold);
      line-height:1.6; color:var(--c-ink);
    }
    @media (max-width:768px) {
      :where(.is-site-corporate) .l-mega__links--grouped { grid-template-columns:1fr 1fr; column-gap:clamp(1.5rem,3vw,2.5rem); row-gap:1.4rem; }
    }
    /* 2026-10-03 メガナビ：リンク群の一番上に「採用TOP」「お取引TOP」。
       左側にあった「トップへ」のボタンは廃止 */
    :where(.is-site-corporate) .l-mega__links .l-mega__top {
      grid-column:1 / -1; justify-self:start;
      margin:0 0 2.2rem; padding:0 .3em .85em;
      font-size:.95rem; font-weight: var(--fw-bold); line-height:1.6; color:var(--c-ink);
      text-decoration:none;
    }
    :where(.is-site-corporate) .l-mega__links .l-mega__top:hover,
    :where(.is-site-corporate) .l-mega__links .l-mega__top:focus-visible { text-decoration:none; }
    @media (max-width:768px) {
      :where(.is-site-corporate) .l-mega__links .l-mega__top { margin-bottom:1.8rem; }
    }
    @media (max-width:640px) {
      html:where(:has(> :is(.is-site-corporate, .is-site-buyer))) { font-size: calc(min(100vw, 430px) / 375 * 16); }
    }
    @media (max-width:640px) {
      :where(.is-site-corporate, .is-site-buyer) .l-footer { padding-bottom:var(--sp-5); }
    }
    /* 2026-10-14 SP：ドロワー内「採用情報を見る」
       ・width:100% と左右marginの併用で右にはみ出していたため幅を自動に
       ・色はPCヘッダーの採用CTAと同じ緑（グラデーションなし） */
    :where(.is-site-corporate) .l-drawer__cta { width:auto; display:flex; }
    :where(.is-site-corporate) .l-drawer__cta.c-btn--primary { background:#8bc63c; border-color:#8bc63c; color:var(--c-text-invert); }
    :where(.is-site-corporate) .l-drawer__cta.c-btn--primary:hover { background:#7cb333; border-color:#7cb333; }
    @media (max-width:640px) {
      body:where(.is-site-corporate, .is-site-buyer) { font-size:.9375rem; }
      html:where(:has(> .is-site-corporate)) body :is(.p-c1-msg__block p, .p-c1-phil__list li, .p-c1-turn__txt, .p-cond__desc, .p-5s-quote__text, .p-5s-safety__sub, .p-other__text, .p-news__title, .p-news__date, .p-article, .p-article li, .p-article__meta, .p-next__row span, .p-facilities li) { font-size:.9375rem; }
      html:where(:has(> .is-site-corporate)) body :is(.p-lead, .p-pagehead__sub, .p-5s-fv__sub, .p-5s-safety__lead, .p-5s-def-head__lead) { font-size:1rem; }
    }
    /* ===================================================================
       2026-10-14 修正シートNo.15：写真なしのページ見出し（FAQで使用）
       ・コピーは中央揃え。背景はサイトの淡い青〜淡い緑のグラデーション
       =================================================================== */
    :where(.is-site-corporate) .p-pagehead--plain { background:linear-gradient(120deg, #dcebf6 0%, var(--c-brand-50) 48%, #eef5e3 100%); }
    :where(.is-site-corporate) .p-pagehead--plain .p-pagehead__media { display:none; }
    :where(.is-site-corporate) .p-pagehead--plain .p-pagehead__copy { align-items:center; text-align:center; }
    :where(.is-site-corporate) .p-pagehead--plain .p-pagehead__title { color:var(--c-ink); }
    :where(.is-site-corporate) .p-pagehead--plain .p-pagehead__sub { color:var(--c-text-muted); }
    @media (max-width:640px) {
      .is-sp-acc .js-sp-acc-head {
        position:relative; cursor:pointer; padding-right:2.4rem;
        -webkit-tap-highlight-color:transparent;
    }
      .is-sp-acc .js-sp-acc-head::after {
        content:""; position:absolute; right:.9rem; top:50%;
        width:.55rem; height:.55rem; margin-top:-.4rem;
        border-right:2px solid currentColor; border-bottom:2px solid currentColor;
        transform:rotate(45deg); transition:transform .25s ease, margin-top .25s ease; opacity:.7;
    }
      .is-sp-acc .is-open > .js-sp-acc-head::after, .is-sp-acc .is-open .js-sp-acc-head::after { transform:rotate(-135deg); margin-top:-.1rem; }
      .is-sp-acc .js-sp-acc-body[hidden] { display:none; }
      .js-sp-swipe { flex-wrap:nowrap; overflow-x:auto; overscroll-behavior-x:contain; scroll-snap-type:x mandatory; -webkit-overflow-scrolling:touch; scrollbar-width:none; margin-inline:calc(-1 * var(--pad)); padding-inline:var(--pad); scroll-padding-inline:var(--pad); }
      .js-sp-swipe::-webkit-scrollbar { display:none; }
      .js-sp-swipe > * { flex:0 0 84%; max-width:none; min-width:0; scroll-snap-align:start; }
      :is(.p-access__note, .p-faq__note, .p-form__note, #__sp-note):where(.is-site-corporate, .is-site-corporate *) { font-size:.75rem; line-height:1.7; }
      :where(.is-site-corporate, .is-site-buyer) .c-btn:not(.c-btn--lg):not(.l-drawer__cta):not(.l-header__cta) {
        min-height:3rem; padding-block:.35rem; padding-inline:1.3em;
        font-size:.84375rem; line-height:1.4; align-items:center; box-sizing:border-box;
    }
      :is(.l-footer__brand, #__sp-text) { display:grid; grid-template-columns:minmax(0,1fr) auto; column-gap:var(--sp-3); padding:var(--sp-5) calc(var(--sp-5) - 5px); }
      :is(.l-footer__brand, #__sp-text) .l-footer__brand-logo { grid-column:1; grid-row:1; justify-self:start; align-self:center; }
      :is(.l-footer__brand, #__sp-text) .l-footer__brand-addr { grid-column:1 / -1; grid-row:2; margin-top:var(--sp-4); }
      :is(.l-footer__brand, #__sp-text) .l-footer__brand-sns { grid-column:2; grid-row:1; align-self:center; margin-top:0; }
      :is(.l-footer__brand, #__sp-text) .l-footer__brand-btns { grid-column:1 / -1; flex-direction:row; gap:.5rem; margin-top:1.1rem; }
      :is(.l-footer__brand, #__sp-text):where(.is-site-corporate, .is-site-buyer, :is(.is-site-corporate, .is-site-buyer) *) .l-footer__brand-btn { flex:1 1 0; min-width:0; width:auto; padding:.3rem .35rem; min-height:2.75rem; line-height:1.4; font-size:.8125rem; white-space:nowrap; }
      :is(.l-footer__bar, #__sp-text) { flex-direction:column; align-items:flex-start; justify-content:flex-start; gap:.35rem; text-align:left; padding-bottom:0; }
      :is(.l-footer__bar, #__sp-text) > * { margin:0; text-align:left; align-self:flex-start; }
      :is(.l-footer__bar, #__sp-text) .l-footer__privacy { order:-1; }
      :is(.l-pagetop, #__sp-text) { width:40px; height:40px; }
      :is(.l-pagetop, #__sp-text) .l-pagetop__arrow { width:10px; height:10px; }
    }
    /* 2026-10-16 SP：フッターのリンクを縦積みにし、各グループをアコーディオンで開閉（js/*footer.is-js と対） */
    .l-footer__acc-btn { display:none; }
    @media (max-width:640px) {
      :is(.l-footer__cols, #__sp-text) { display:block; }
      :is(.l-footer__cols, #__sp-text) .l-footer__colsep { display:none; }
      :is(.l-footer__cols, #__sp-text) > :is(.l-footer__col, .l-footer__colstop) { margin:0; padding:0; border-top:1px solid rgba(255,255,255,.18); }
      :is(.l-footer__cols, #__sp-text) > :is(.l-footer__col, .l-footer__colstop):last-child { border-bottom:1px solid rgba(255,255,255,.18); }
      :is(.l-footer__cols, #__sp-text) h4 { display:flex; align-items:center; justify-content:space-between; gap:.5rem; margin:0; padding:.85rem 0; min-height:3rem; box-sizing:border-box; }
      :is(.l-footer__cols, #__sp-text) .has-acc h4:not(:has(a)) { cursor:pointer; }
      :is(.l-footer__cols, #__sp-text) .l-footer__acc-btn { display:block; position:relative; flex:none; width:2rem; height:2rem; margin:-.4rem -.4rem -.4rem 0; padding:0; border:0; background:none; color:inherit; cursor:pointer; }
      :is(.l-footer__cols, #__sp-text) .l-footer__acc-btn::before, :is(.l-footer__cols, #__sp-text) .l-footer__acc-btn::after { content:""; position:absolute; left:50%; top:50%; width:12px; height:1.5px; margin:-.75px 0 0 -6px; background:currentColor; transition:transform .25s ease; }
      :is(.l-footer__cols, #__sp-text) .l-footer__acc-btn::after { transform:rotate(90deg); }
      :is(.l-footer__cols, #__sp-text) .is-open .l-footer__acc-btn::after { transform:rotate(0deg); }
      :is(.l-footer__cols, #__sp-text) .has-acc:not(.is-open) ul { display:none; }
      :is(.l-footer__cols, #__sp-text) .has-acc ul { margin:0; padding:0 0 .9rem .9rem; }
      :is(.l-footer__cols, #__sp-text) .has-acc ul li { margin:0; }
      :is(.l-footer__cols, #__sp-text) .has-acc ul li + li { margin-top:.55rem; }
      :is(.l-footer, #__sp-text) { padding-top:0; }
      :is(.l-footer__cols, #__sp-text) { margin-inline:-1.25rem; }
      :is(.l-footer__cols, #__sp-text) > :is(.l-footer__col, .l-footer__colstop) { padding-inline:1.25rem; }
      :is(.l-footer__cols, #__sp-text) > :is(.l-footer__col, .l-footer__colstop):first-child { border-top:0; }
      :is(.l-footer__bar, #__sp-text):where(.is-site-corporate, .is-site-buyer, :is(.is-site-corporate, .is-site-buyer) *) { margin-top:1.875rem; }
      :is(.l-pagetop, #__sp-text):where(.is-site-corporate, .is-site-buyer, :is(.is-site-corporate, .is-site-buyer) *) { bottom:4.3125rem; }
      :is(.l-sticky-cta, #__sp-text):where(.is-site-corporate, .is-site-corporate *) { gap:0; padding:0; background:transparent; }
      :is(.l-sticky-cta, #__sp-text):where(.is-site-corporate, .is-site-corporate *) a { min-height:3.25rem; box-sizing:content-box; padding:0 .4em env(safe-area-inset-bottom, 0px); }
      /* 固定ボタン（3サイト共通で375px時52px）に合わせてページ下の余白を確保。1〜2px小さくして白い隙間が出ないように */
      body:where(.is-site-corporate, .is-site-buyer) { padding-bottom:calc(3.25rem - 2px + env(safe-area-inset-bottom, 0px)); }
    }
    /* 2026-10-16 ページトップボタン：フッターと重なっている間は白地＋青矢印に反転（PC・SP共通／js/footer.is-js で is-on-footer を付与） */
    :where(.is-site-corporate) .l-pagetop { transition:opacity .3s ease, visibility .3s ease, transform .3s ease, background-color .25s ease; }
    :where(.is-site-corporate) .l-pagetop.is-on-footer,
    :where(.is-site-corporate) .l-pagetop.is-on-footer:hover { background:var(--c-bg); }
    :where(.is-site-corporate) .l-pagetop.is-on-footer .l-pagetop__arrow { border-top-color:var(--c-brand-800, var(--c-brand-800)); border-right-color:var(--c-brand-800, var(--c-brand-800)); }
    @media (max-width:640px) {
      :is(.l-sticky-cta, #__sp-text):where(.is-site-corporate, .is-site-corporate *) a.is-recruit { flex:1 1 0; }
      :is(.l-sticky-cta, #__sp-text):where(.is-site-corporate, .is-site-corporate *) a.is-buyer { flex:1.3 1 0; }
      :where(.is-site-corporate) .l-section:has(> .l-container > .p-next, > .l-container > .p-5s-next__doors),
      :where(.is-site-corporate) .l-section#next:has(.p-5s-next__doors) { padding-block:calc(var(--section-py) * .6); }
      :where(.is-site-corporate, .is-site-buyer) .c-btn:not(:where(.l-header, .l-footer, .l-drawer, .l-sticky-cta, #header, #footer) *) { display:flex; width:100%; max-width:none; justify-content:center; text-align:center; box-sizing:border-box; }
      html:where(:has(> .is-site-corporate)) body :is(.p-c1-msg__block > p, .p-lead):is(p + p) { margin-top:.6em; }
    }
    @media (min-width:769px) {
      :root { --header-h:59px; }
      /* 白い帯をなくし、ボタンを画面幅いっぱいのベタ塗りに（採用・バイヤーと同じ形） */
      :where(.is-site-corporate) .l-sticky-cta { gap:0; padding:0 0 env(safe-area-inset-bottom, 0px); background:transparent; }
      :where(.is-site-corporate) .l-sticky-cta a { height:60px; padding-block:0; border-radius:0; }
      body:where(.is-site-corporate) { padding-bottom:60px; }
      html body .l-header .l-logo img { height:32px; }
      /* ヘッダー下線（1px）の上にもかぶせて、ボタンの下に線が見えないようにする */
      html body .l-header .l-header__cta {
        height:calc(var(--header-h) + 1px); margin-block:0 -1px; padding-block:0; border-radius:0; position:relative; z-index:1;
        display:inline-flex; align-items:center; justify-content:center; box-sizing:border-box;
    }
      html body .l-header .l-nav__ctas { align-self:stretch; align-items:stretch; }
    }
    @media (max-width:768px) {
      :root { --header-h:58px; } /* 11-05 63px → 58px */
      html body .l-sticky-cta a { display:flex; align-items:center; justify-content:center; box-sizing:content-box; height:50px; padding-top:0; padding-bottom:env(safe-area-inset-bottom, 0px); }
      html body { padding-bottom:calc(50px - 3px + env(safe-area-inset-bottom, 0px)); }
    }

    /* ===== ページ別（旧：各HTMLの <head> 内の <style>） ===== */
    /* FV：画面下部の豚舎群が映るよう表示位置を下寄せ（レイヤー外＝common.cssより優先） */
    :where(.page-access) .p-pagehead .p-pagehead__media img { object-position:center 82%; }
    @media (max-width:640px) {
      :where(.page-access) .p-c2-count { display:flex; flex-direction:column; }
      :where(.page-access) .p-c2-count__area { line-height:1.45; }
      :where(.page-access) .p-c2-count__sub { line-height:1.45; }
      :where(.page-access) .p-c2-count__num { margin-top:auto; padding-top:.4rem; }
    }
    /* 2026-10-22 SP：エリア別の農場数とマップの間を詰める／マップの拡大ボタンとモーダル */
    :where(.page-access) .p-c2-map__fig { position:relative; }
    :where(.page-access) .p-c2-map__zoom { display:none; }
    :where(.page-access) .p-c2-mapmodal { display:none; }
    @media (max-width:640px) {
      :where(.page-access) .p-c2-map { margin-top:var(--sp-5); }
      :where(.page-access) .p-c2-map__zoom {
        display:inline-flex; align-items:center; gap:.35em; position:absolute; right:.5rem; bottom:.5rem;
        padding:.45em .85em; border:1px solid var(--c-brand-800); border-radius: var(--r-pill); background:rgba(255,255,255,.94);
        color:var(--c-brand-800); font-family:var(--ff-sans); font-size:.75rem; font-weight: var(--fw-bold); letter-spacing: var(--tr-ui);
        line-height:1.2; box-shadow:0 2px 8px rgba(20,40,70,.12); cursor:pointer; -webkit-appearance:none; appearance:none;
    }
      :where(.page-access) .p-c2-mapmodal[open] {
        display:flex; flex-direction:column; position:fixed; inset:0; width:100vw; height:100svh;
        max-width:none; max-height:none; margin:0; padding:0; border:0; background:#0f1a2b; color:var(--c-text-invert);
    }
      :where(.page-access) .p-c2-mapmodal::backdrop { background:rgba(10,18,30,.85); }
      :where(.page-access) .p-c2-mapmodal__bar {
        display:flex; align-items:center; justify-content:space-between; gap:var(--sp-4);
        padding:var(--sp-3) var(--sp-4); flex:none;
    }
      :where(.page-access) .p-c2-mapmodal__hint { margin:0; font-size:.75rem; color:rgba(255,255,255,.75); }
      :where(.page-access) .p-c2-mapmodal__close {
        flex:none; padding:.45em .9em; border:1px solid rgba(255,255,255,.7); border-radius: var(--r-pill);
        background:transparent; color:var(--c-text-invert); font-size:.8125rem; font-weight: var(--fw-bold); cursor:pointer;
    }
      :where(.page-access) .p-c2-mapmodal__scroll {
        flex:1; overflow:auto; display:flex; align-items:center; -webkit-overflow-scrolling:touch;
        touch-action:pan-x pan-y pinch-zoom;
    }
      :where(.page-access) .p-c2-mapmodal__scroll img { display:block; width:220vw; max-width:none; height:auto; background:var(--c-bg); }
    }
    @keyframes heroFade { 0%{opacity:0;} 5.7%{opacity:1;} 33.3%{opacity:1;} 39%{opacity:0;} 100%{opacity:0;} }
    @keyframes heroZoomOut {
      0%{transform:scale(1.12);} 39%{transform:scale(1.00);}
      45%{transform:scale(1.12);} 100%{transform:scale(1.12);}
    }
    @keyframes heroZoomIn {
      0%{transform:scale(1.00);} 39%{transform:scale(1.12);}
      45%{transform:scale(1.00);} 100%{transform:scale(1.00);}
    }
    @keyframes heroPan {
      0%{transform:scale(1.10) translateX(1.1%);} 39%{transform:scale(1.02) translateX(-1.1%);}
      45%{transform:scale(1.10) translateX(1.1%);} 100%{transform:scale(1.10) translateX(1.1%);}
    }
    /* 2026-10-21 FV動画 */
    :where(.page-buyer, .page-home) .l-hero__video { position:absolute; inset:0; width:100%; height:100%; object-fit:cover; display:block; z-index:0; }
    :where(.page-buyer, .page-home) .l-hero__img--fallback { display:none; }
    @media (max-width:900px) {
      /* 01 INTRO｜4項目は1つの流れ。2×2をやめ、縦1列＋縦の区切り線にする */
      :where(.page-company-5s) .p-5s-verbs {
        --vgap:clamp(2rem,6vw,2.75rem); --vdash:28px;
        display:grid; grid-template-columns:minmax(0,1fr); row-gap:var(--vgap); column-gap:0;
    }
      :where(.page-company-5s) .p-5s-verbs__item { padding-right:0; }
      :where(.page-company-5s) .p-5s-verbs__v { min-height:0; }
      :where(.page-company-5s) .p-5s-verbs__t { min-height:0; }
      :where(.page-company-5s) .p-5s-verbs__item + .p-5s-verbs__item::before {
        display:block; content:"";
        position:absolute; left:calc(50% - .5px); top:calc((var(--vgap) + var(--vdash)) / -2);
        width:1px; height:var(--vdash); background:var(--c-sky); transform:none;
    }
      .is-js:where(:has(> .page-company-5s)) .p-5s-verbs .p-5s-verbs__item + .p-5s-verbs__item::before { transform:scaleY(0); transform-origin:top center; }
      .is-js:where(:has(> .page-company-5s)) .p-5s-verbs.is-drawn .p-5s-verbs__item + .p-5s-verbs__item::before { transform:scaleY(1); }
      @media (prefers-reduced-motion:reduce) {
        .is-js:where(:has(> .page-company-5s)) .p-5s-verbs .p-5s-verbs__item + .p-5s-verbs__item::before { transform:none; }
      }
      /* 04 5S IN ACTION｜写真は「いつもと違うことに、気づく。」の上に置く */
      :where(.page-company-5s) .p-5s-act__fig--bc { order:-1; }
      /* 05 5S CONTEST｜鉤括弧を画面幅に合わせて縮め、本文に重ならない位置に置く */
      :where(.page-company-5s) .p-5s-pull {
        --bk-off:clamp(8px,3.2vw,18px); max-width:none;
        padding-inline:calc(var(--bk-off) + 36px);
    }
      @media (max-width:640px) {
        :where(.page-company-5s) .p-5s-pull { --bk-off:-12px; padding-inline:18px; margin-top:2.25rem; }
        :where(.page-company-5s) .p-5s-next__door { padding:1.25rem var(--sp-5) 1.3rem; }
        :where(.page-company-5s) .p-5s-next__dh { line-height:1.4; }
        :where(.page-company-5s) .p-5s-next__dt { margin-top:.1rem; }
      }
      /* 鉤括弧は枠の内側12pxの位置に */
      :where(.page-company-5s) .p-5s-pull::before,
      :where(.page-company-5s) .p-5s-pull::after {
        width:32px; height:68px;
        background-size:32px 1px, 1px 68px;
    }
      /* 07 WORKPLACE SAFETY｜背景写真は固定のまま */
      :where(.page-company-5s) .p-5s-safety { background-attachment:scroll, fixed; }
    }
    @media (max-width:767px) {
      /* 03 WHAT IS 5S｜見出しの横に説明文を置き、説明文の左端を全項目でそろえる */
      :where(.page-company-5s) .p-5s-def__item {
        display:grid;
        grid-template-columns:clamp(6.5rem,30vw,8.5rem) minmax(0,1fr);
        column-gap:clamp(.9rem,3.5vw,var(--sp-5)); align-items:center;
    }
      :where(.page-company-5s) .p-5s-def__word { grid-column:1; }
      :where(.page-company-5s) .p-5s-def__text { grid-column:2; }
    }
    /* WORKPLACE SAFETY：英字見出しの左右の線を白にする（common.css がレイヤー外のためここも外に置く） */
    :where(.page-company-5s) .p-5s-safety .t-eyebrow:not(.t-eyebrow--warm):not(.t-eyebrow--invert)::before,
    :where(.page-company-5s) .p-5s-safety .t-eyebrow:not(.t-eyebrow--warm):not(.t-eyebrow--invert)::after,
    :where(.page-company-5s) .p-5s-safety .is-style-eyebrow:not(.t-eyebrow--warm):not(.t-eyebrow--invert)::before,
    :where(.page-company-5s) .p-5s-safety .is-style-eyebrow-invert:not(.t-eyebrow--warm):not(.is-style-eyebrow-invert)::before,
    :where(.page-company-5s) .p-5s-safety .is-style-eyebrow:not(.t-eyebrow--warm):not(.t-eyebrow--invert)::after,
    :where(.page-company-5s) .p-5s-safety .is-style-eyebrow-invert:not(.t-eyebrow--warm):not(.is-style-eyebrow-invert)::after { background:var(--c-bg); opacity:.75; }
    @media (max-width:640px) {
      /* 2026-10-22 メインコピーを大きく（「キレイな現場は、」が1行に収まる範囲で画面幅に合わせる）、下線は細く */
      :where(.page-company-5s) .p-5s-fv__inner { padding-inline:var(--sp-3); }
      :where(.page-company-5s) .p-5s-fv__main { font-size:min(2.375rem, 9vw); }
      :where(.page-company-5s) .p-5s-fv__key { text-decoration-thickness:2px; }
      /* INTROの4項目：動詞（左）と説明（右）を横に並べて高さを抑える。区切りの縦線は動詞の列の中央に */
      :where(.page-company-5s) .p-5s-verbs { --vw:130px; --vgap:1.5rem; --vdash:14px; }
      /* --vw：動詞の列幅（「改善する。」が1行に入る幅） */
      :where(.page-company-5s) .p-5s-verbs__item { display:grid; grid-template-columns:var(--vw) minmax(0,1fr); column-gap:.9rem; align-items:center; text-align:left; }
      :where(.page-company-5s) .p-5s-verbs__v { text-align:center; }
      :where(.page-company-5s) .p-5s-verbs__t { margin-top:0; text-align:left; align-items:flex-start; }
      :where(.page-company-5s) .p-5s-verbs__t .p-5s-ln--p { text-indent:0; }
      :where(.page-company-5s) .p-5s-verbs__item + .p-5s-verbs__item::before { left:calc(var(--vw) / 2 - .5px); }
      /* WHAT IS 5S：リードは折り返す（はみ出していたため）。英字ラベルと見出しの間を詰める */
      :where(.page-company-5s) .p-5s-def-head__lead { white-space:normal; }
      :where(.page-company-5s) .p-5s-def-sec .p-5s-def-head { gap:.6rem; }
      :where(.page-company-5s) .p-5s-def-head__h { line-height:1.25; }
      /* 英字ラベルと見出しの間は、ほかのコーポレートページと同じ約17px（ラベルの下余白のみ）にそろえる */
      /* 文節の途中で折り返さない（引用など） */
      :where(.page-company-5s) .p-5s-ph { display:inline-block; }
      /* 各セクションの上下余白を少しだけ縮める（基準値を0.85倍にし、セクションごとの比率は保つ） */
      :root:where(:has(> .page-company-5s)) { --section-py:calc(clamp(4rem, 8vw, 7rem) * .85); }
      html:where(:has(> .page-company-5s)) body .t-eyebrow + :is(h2, h3),
      html:where(:has(> .page-company-5s)) body .is-style-eyebrow + :is(h2, h3),
      html:where(:has(> .page-company-5s)) body .is-style-eyebrow-invert + :is(h2, h3) {

    }
      /* HTML側のstyle属性（margin-top:.6rem）も上書き */
      /* 5S IN ACTION：見出しの上下、ボタンの上下を詰める */
      :where(.page-company-5s) .p-5s-act__texts { gap:1.75rem; }
      :where(.page-company-5s) .p-5s-act__t { margin-top:.6rem; }
      :where(.page-company-5s) .p-5s-act .p-5s-act__link { margin-top:0; }
      /* 上のアキはグリッドの間隔（約32px）だけにする */
      :where(.page-company-5s) .l-section:has(.p-5s-act--bc) { padding-bottom:calc(var(--section-py) * .6); }
      :where(.page-company-5s) .p-5s-scenes.js-sp-swipe .p-5s-scene { display:flex; flex-direction:column; }
    }
    /* 2026-10-22 SP：VOICEのコメントはアコーディオン（見出しと名前だけ表示し、「詳しく見る」で本文を開く）。
       コメント欄の上の余白も詰める */
    :where(.page-company-5s) .p-5s-voice__more { display:none; }
    @media (max-width:640px) {
      :where(.page-company-5s) .p-5s-voice { margin-top:1.75rem; }
      /* アンケート部分：中央揃え、上の余白を詰める */
      html:where(:has(> .page-company-5s)) body .p-5s-voicewrap .p-5s-survey { margin-top:0; padding-top:var(--sp-6); }
      /* アンケートの一文は「5Sとは」の結び（林牧場にとって5Sは〜）と同じ文字サイズに */
      html:where(:has(> .page-company-5s)) body .p-5s-voicewrap .p-5s-survey__text { font-size:24.96px; font-size:1.5rem; line-height:1.45; }
      html:where(:has(> .page-company-5s)) body .p-5s-voicewrap :is(.p-5s-survey, .p-5s-survey__text, .p-5s-survey__note) { text-align:center; }
      :where(.page-company-5s) .p-5s-voice__item { padding-top:1.1rem; }
      :where(.page-company-5s) .p-5s-voice.is-acc .p-5s-voice__item:not(.is-open) .p-5s-voice__body { display:none; }
      :where(.page-company-5s) .p-5s-voice.is-acc .p-5s-voice__name { padding-top:.6rem; }
      :where(.page-company-5s) .p-5s-voice.is-acc .p-5s-voice__more {
        display:flex; align-items:center; justify-content:center; gap:.4em;
        width:100%; margin-top:.9rem; padding:.45em 1.1em; border:1px solid currentColor; border-radius: var(--r-pill);
        background:transparent; color:var(--c-brand-800); font-size:.8125rem; font-weight: var(--fw-bold); letter-spacing: var(--tr-ui);
        line-height:1.4; cursor:pointer; -webkit-appearance:none; appearance:none;
    }
      :where(.page-company-5s) .p-5s-voice.is-acc .p-5s-voice__more::after {
        content:""; width:.42em; height:.42em; margin-top:-.2em;
        border-right:1.5px solid currentColor; border-bottom:1.5px solid currentColor; transform:rotate(45deg);
    }
      :where(.page-company-5s) .p-5s-voice.is-acc .is-open .p-5s-voice__more::after { transform:rotate(-135deg); margin-top:.2em; }
    }
    /* 2026-10-22 SP：安全のしくみ（4場面）は横スワイプをやめて縦に積み、本文はアコーディオン
       （場面名と見出しだけ表示し、「詳しく見る」で説明を開く） */
    :where(.page-company-5s) .p-5s-scene__more { display:none; }
    @media (max-width:640px) {
      :where(.page-company-5s) .p-5s-scenes.is-acc .p-5s-scene { padding-block:1.4rem; }
      :where(.page-company-5s) .p-5s-scenes.is-acc .p-5s-scene__body { padding-bottom:0; }
      /* 見出し：入る幅なら1行に（改行を外し、約物の空きを詰める）。場面名との間を詰める */
      :where(.page-company-5s) .p-5s-scene__br { display:none; }
      :where(.page-company-5s) .p-5s-scene__h { letter-spacing: var(--tr-body); font-feature-settings:"palt"; }
      /* 場面名は少しだけ小さく */
      :where(.page-company-5s) .p-5s-scene__when { font-size:.9375rem; }
      /* 区切り線：ボタンの幅（本文の左端〜右端）に合わせ、ボタンとの間をあける */
      :where(.page-company-5s) .p-5s-scenes.is-acc .p-5s-scene__body { padding-bottom:1.4rem; background-size:calc(100% - 2.1rem) 1px; background-position:right bottom; }
      :where(.page-company-5s) .p-5s-scenes.is-acc .p-5s-scene:last-child .p-5s-scene__body { padding-bottom:0; }
      :where(.page-company-5s) .p-5s-scenes.is-acc .p-5s-scene { padding-bottom:0; }
      /* 締めの「知る。確認する。〜」の上下を詰める */
      :where(.page-company-5s) .p-5s-safety__close { margin-top:2.5rem; }
      :where(.page-company-5s) .l-section.p-5s-safety { padding-bottom:2.5rem; }
      :where(.page-company-5s) .p-5s-scenes .p-5s-scene { gap:.45rem; }
      :where(.page-company-5s) .p-5s-scenes.is-acc .p-5s-scene:not(.is-open) :is(.p-5s-scene__t, .p-5s-scene__term) { display:none; }
      :where(.page-company-5s) .p-5s-scenes.is-acc .p-5s-scene__more {
        display:flex; align-items:center; justify-content:center; gap:.4em;
        width:100%; margin-top:var(--sp-4); padding:.45em 1.1em; border:1px solid var(--c-white-60); border-radius: var(--r-pill);
        background:transparent; color:var(--c-text-invert); font-size:.8125rem; font-weight: var(--fw-bold); letter-spacing: var(--tr-ui); line-height:1.4;
        cursor:pointer; -webkit-appearance:none; appearance:none;
    }
      :where(.page-company-5s) .p-5s-scenes.is-acc .p-5s-scene__more::after {
        content:""; width:.42em; height:.42em; margin-top:-.2em;
        border-right:1.5px solid currentColor; border-bottom:1.5px solid currentColor; transform:rotate(45deg);
    }
      :where(.page-company-5s) .p-5s-scenes.is-acc .is-open .p-5s-scene__more::after { transform:rotate(-135deg); margin-top:.2em; }
      :where(.page-company-faq) .p-faq { padding-block:1px; border-radius:0; }
      /* FVは高さを抑える（最小高さを外し、上下の余白を詰める） */
      :where(.page-company-faq) .p-pagehead.p-pagehead--plain { min-height:calc(var(--header-h) + 14.75rem); }
    }
    /* =====================================================================
       C3｜お知らせ詳細 ページ固有スタイル
       ・一覧（news.html）と同じタグ表示を使う。
       ・本文の読みやすさを優先し、1行が長くなりすぎないようにする。
       ===================================================================== */
    /* common.css の .p-news__tag / .p-fig はレイヤー外のため、ここもレイヤー外で上書きする */
    :where(.single-news) .p-news__tag {
      background:transparent; border:1px solid currentColor;
      border-radius:2px; font-weight: var(--fw-bold);
    }
    :where(.single-news) .p-article-sec { padding-top:calc(var(--section-py) / 2); }
    /* =====================================================================
       C3｜お知らせ ページ固有スタイル
       ・共通TOP／C1・C2と同じデザインシステム（common.css）を使用する。
         C3独自のヘッダー・配色・フォントは作らない。
       ・一覧は大きなカードにせず、横罫線で区切ったシンプルなリスト。
         サムネイル・本文抜粋・背景色・アイコンは使わない。
       ===================================================================== */
    /* common.css の .p-news__row / .p-news__tag はレイヤー外のため、
       ここもレイヤー外に置いて上書きする（@layer pages では負ける） */
    /* ---- 一覧の行：公開日 → タグ → タイトル → 矢印 ---- */
    /* 行をまたいで列幅を共有する。タグ列は最も長いカテゴリ名に自動で揃う */
    :where(.post-type-archive-news) .p-news { display:grid; grid-template-columns:auto auto minmax(0,1fr) auto; }
    :where(.post-type-archive-news) .p-news__row {
      grid-column:1 / -1; grid-template-columns:subgrid; align-items:center;
      padding-block:calc(var(--sp-4) + 4px);
      transition:background var(--dur) var(--ease);
    }
    :where(.post-type-archive-news) .p-news__row:hover { background:rgba(20,80,126,.04); }
    @supports not (grid-template-columns:subgrid) {
      :where(.post-type-archive-news) .p-news { display:block; }
      :where(.post-type-archive-news) .p-news__row { grid-template-columns:auto auto minmax(0,1fr) auto; }
      :where(.post-type-archive-news) .p-news__tag { min-width:6em; }
    }
    :where(.post-type-archive-news) .p-news__arrow {
      align-self:center; justify-self:end; color:var(--c-brand-800);
      font-size:1rem; transition:transform var(--dur) var(--ease);
    }
    :where(.post-type-archive-news) .p-news__row:hover .p-news__arrow { transform:translateX(3px); }
    /* ---- タグ：小さな淡い枠。色だけで区別せず、必ず文字ラベルを表示する ---- */
    :where(.post-type-archive-news) .p-news__tag {
      background:transparent; border:1px solid currentColor;
      border-radius:2px; font-weight: var(--fw-bold);
      /* カテゴリ名の文字数が違っても幅を揃える */
      display:block; box-sizing:border-box; width:100%;
      padding:.3em .88em; text-align:center;
    }
    :where(.post-type-archive-news) .p-news-sec { padding-top:calc(var(--section-py) / 2); }
    :where(.single-news, .post-type-archive-news) .p-news__tag--recruit { color:#4f7d12; }
    /* 黄緑寄りのグリーン */
    :where(.single-news, .post-type-archive-news) .p-news__tag--buyer { color:#273a78; }
    /* バイヤーサイトの主要アクション色と同値 */
    :where(.single-news, .post-type-archive-news) .p-news__tag--corp { color:#6b7585; }
    /* 本文中の写真：右下の折り返し装飾は使わない */
    :where(.single-news) .p-article .p-fig::after { display:none; }
    @media (max-width:640px) {
      :where(.single-news) .p-pagehead.p-pagehead--plain { min-height:0; }
    }
    @media (max-width:767px) {
      /* 1行目に公開日とタグ、2行目にタイトル。矢印は右端で上下中央に固定 */
      :where(.post-type-archive-news) .p-news { display:grid; grid-template-columns:auto auto minmax(0,1fr); }
      :where(.post-type-archive-news) .p-news__row { grid-template-columns:subgrid; align-items:center; }
      :where(.post-type-archive-news) .p-news__date { grid-column:1; grid-row:1; }
      :where(.post-type-archive-news) .p-news__tag { grid-column:2; grid-row:1; }
      :where(.post-type-archive-news) .p-news__title { grid-column:1 / 3; grid-row:2; }
      :where(.post-type-archive-news) .p-news__arrow { grid-column:3; grid-row:1 / 3; align-self:center; justify-self:end; }
    }
    @media (max-width:640px) {
      :where(.post-type-archive-news) .p-pagehead.p-pagehead--plain { min-height:calc(var(--header-h) + 14.75rem); }
      /* FAQ・お知らせ・記事詳細で同じ高さに */
      :where(.page-company-faq, .single-news, .post-type-archive-news) .p-pagehead.p-pagehead--plain .p-pagehead__copy { padding-block:calc(var(--header-h) + 2.25rem) 2.25rem; }
      /* カテゴリボタンの上下のアキを詰める */
      :where(.page-company-faq) .l-section.p-faqnav-sec { padding-top:var(--sp-6); padding-bottom:0; }
      /* カテゴリボタン：矢印は右端に寄せ、文字だけで中央揃え */
      :where(.page-company-faq) .p-faqnav__item { position:relative; }
      :where(.page-company-faq) .p-faqnav__arrow { position:absolute; right:1.25rem; top:50%; transform:translateY(-50%); }
      :where(.page-company-faq) .p-faqend__btn .c-btn { display:flex; width:100%; justify-content:center; }
      /* ボタンはコンテンツ幅いっぱい */
      /* 「お問い合わせフォームからご連絡ください。」を1行に（文字サイズは変えず、字間と約物の詰めだけで） */
      :where(.page-company-faq) .p-faqend__text { letter-spacing: var(--tr-heading); font-feature-settings:"palt"; }
    }
    /* --- レイヤー外の上書き（common.css の非レイヤー宣言より後ろに置く必要がある） --- */
    /* 企業理念「キレイでカッコイイ養豚を実現します」を1行に収める */
    :where(.page-company) .p-c1-phil__lv1 { font-size:clamp(1.5rem,3vw,2.5rem); }
    /* 「公共交通でお越しの方」が2行になるため、定義リストの見出し列を広げる */
    :where(.page-company) .p-cond__row { grid-template-columns:240px 1fr; }
    @media (max-width:640px) {
      :where(.page-company) .p-cond__row { grid-template-columns:1fr; }
    }
    /* 会社概要：項目名の先頭にある●を削除し、字下げも詰める（このページのみ） */
    :where(.page-company) .p-cond__term { padding-left:0; }
    :where(.page-company) .p-cond__term::before { content:none; }
    /* 本社アクセス：所要時間の注記 */
    :where(.page-company) .p-access__note {
      margin-top:clamp(.9rem,1.8vw,1.25rem);
      font-size:.8125rem; line-height:1.8; color:var(--c-text-muted);
    }
    @media (max-width:640px) {
      :where(.page-company) .p-c1-hist__eralabel { margin-block:var(--sp-3); padding:1.05rem var(--sp-4); letter-spacing:.06em; }
      :where(.page-company) .p-c1-hist__body { padding-block:1.75rem; }
      :where(.page-company) .p-c1-hist__body > * + * { margin-top:var(--sp-6); }
      :where(.page-company) .p-c1-turn__h { font-size:1.125rem; }
      :where(.page-company) .p-c1-turn__txt { font-size:.9375rem; }
      :where(.page-company) .p-c1-rows__row { grid-template-columns:4.6rem minmax(0,1fr); gap:.9rem; }
      :where(.page-company) .p-c1-rows__row + .p-c1-rows__row { margin-top:1.4rem; }
      :where(.page-company) .p-c1-rows__year { font-size:1.375rem; }
      :where(.page-company) .p-c1-rows__year small { margin-top:.45rem; font-size:.75rem; letter-spacing: var(--tr-body); }
      :where(.page-company) .p-c1-rows__txt { margin-top:-.2rem; align-self:start; font-size:.9375rem; line-height:1.8; }
      :where(.page-company) .p-c1-code.is-sp-acc .p-c1-phil__lv3 { display:block; }
    }
    /* 2026-10-21 社長名は手書きの画像（images/president-name.svg）。高さは従来の文字サイズ（1.75rem）に合わせる */
    :where(.page-company) .p-c1-msg__sign .p-c1-msg__name { font-size:1.75rem; }
    :where(.page-company) .p-c1-msg__name-img { display:block; height:1em; width:auto; }
    /* 「代表取締役」を名前の左に並べる（TOPと同じ並び） */
    :where(.page-company) .p-c1-msg__sign { display:flex; align-items:baseline; justify-content:flex-end; gap:.9rem; }
    :where(.page-company) .p-c1-msg__sign small { display:inline; margin-bottom:0; }
    /* 2026-10-21 沿革：最初の時代ラベルの上に、創業期の写真4点を横並び（SPは2列） */
    :where(.page-company) .p-c1-hist__photos { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:8px; }
    :where(.page-company) .p-c1-hist__photos img { display:block; width:100%; height:auto; aspect-ratio:4/3; object-fit:cover; }
    @media (max-width:640px) {
      :where(.page-company) .p-c1-hist__photos { grid-template-columns:repeat(2,minmax(0,1fr)); gap:4px; }
      :where(.page-company) .p-c1-phil__list li { padding-left:1.15rem; line-height:1.75; }
      :where(.page-company) .p-c1-phil__list li::before { left:.15rem; top:calc(1rem + .875em - 3.5px); }
      /* 行動規範のリストも同じく：●を1行目の上下中央に、●と文字の間を詰める、行間を少し詰める */
      :where(.page-company) .p-c1-code__list li { padding-left:1.15rem; line-height:1.75; }
      :where(.page-company) .p-c1-code__list li::before { left:.15rem; top:calc(.875em - 3px); }
      :where(.page-company) .p-c1-turn > div:first-child { display:flex; align-items:baseline; gap:var(--sp-3); }
      :where(.page-company) .p-c1-turn__wa { margin-top:0; }
      :where(.page-company) .p-c1-rows__year small { display:block; margin-left:0; }
      /* 見出しと本文の間は4px。本文の行間は見出しの行と行のアキ（約9px）に合わせる */
      :where(.page-company) .p-c1-turn__txt { margin-top:4px; line-height:1.6; }
      /* 小さい年号の一覧が時代の先頭に来るときは、上の余白（項目間のアキ）を取らない */
      :where(.page-company) .p-c1-hist__body > .p-c1-rows:first-child { margin-top:0; }
      :where(.page-company) .p-c1-code .p-c1-code__item {
        position:relative; grid-template-columns:auto minmax(0,1fr);
        column-gap:0; row-gap:0; align-items:center;
    }
      :where(.page-company) .p-c1-code .p-c1-code__body { display:contents; }
      :where(.page-company) .p-c1-code.is-sp-acc .p-c1-phil__lv3 { grid-column:1; grid-row:1; padding-left:var(--code-in); padding-right:var(--sp-5); }
      @media (max-width:359px) {
        :where(.page-company) .p-c1-code .p-c1-code__item { --code-in:.15rem; }
        :where(.page-company) .p-c1-code.is-sp-acc .p-c1-phil__lv3 { padding-right:1.1rem; }
      }
      :where(.page-company) .p-c1-code.is-sp-acc .p-c1-phil__lv3::after { content:none; }
      :where(.page-company) .p-c1-code .p-c1-code__tag {
        grid-column:2; grid-row:1; margin:0; position:relative;
        border-left:1px solid #c5d2e0; padding:.1rem 0 .1rem 1.1rem; cursor:pointer;
    }
      :where(.page-company) .p-c1-code .p-c1-code__ph { display:inline-block; }
      /* 文節の途中で折り返さない */
      /* スローガンは少し小さくし、最大2行に収める（320px幅でも「養豚は、ビジネスであり」が1行に入る大きさ） */
      :where(.page-company) .p-c1-code .p-c1-code__tag { font-size:min(1.0625rem, 4.4vw); }
      :where(.page-company) .p-c1-code.is-sp-acc .p-c1-phil__lv3 { line-height:1.35; }
      /* --code-in：見出し（プロ／意識）の文字の左端。箇条書き・ボタンも同じだけ内側に入れて左右のツラを合わせる */
      :where(.page-company) .p-c1-code .p-c1-code__item { padding-inline:1.25rem; --code-in:.5rem; }
      :where(.page-company) .p-c1-code.is-sp-acc .p-c1-code__tag::after {
        content:none; position:absolute; right:.2rem; top:50%;
        width:.55rem; height:.55rem; margin-top:-.4rem;
        border-right:2px solid currentColor; border-bottom:2px solid currentColor;
        transform:rotate(45deg); transition:transform .25s ease, margin-top .25s ease; opacity:.7;
    }
      :where(.page-company) .p-c1-code.is-sp-acc .is-open .p-c1-code__tag::after { transform:rotate(-135deg); margin-top:-.1rem; }
      :where(.page-company) .p-c1-code .p-c1-code__list { grid-column:1 / 3; grid-row:2; margin-top:var(--sp-4); margin-inline:var(--code-in); }
      /* 開閉は矢印ではなく「詳しく見る」ボタンで（閉じているときは見出しのすぐ下、開くと箇条書きの下で「閉じる」） */
      :where(.page-company) .p-c1-code__more { display:none; }
      :where(.page-company) .p-c1-code.is-sp-acc .p-c1-code__more {
        display:flex; grid-column:1 / 3; grid-row:3; justify-self:stretch; justify-content:center;
        align-items:center; gap:.4em; margin-top:.9rem; margin-inline:var(--code-in); padding:.45em 1.1em; border:1px solid currentColor;
        border-radius: var(--r-pill); background:transparent; color:var(--c-brand-800); font-size:.8125rem; font-weight: var(--fw-bold);
        letter-spacing: var(--tr-ui); line-height:1.4; cursor:pointer; -webkit-appearance:none; appearance:none;
    }
      :where(.page-company) .p-c1-code.is-sp-acc .p-c1-code__more::after {
        content:""; width:.42em; height:.42em; margin-top:-.2em;
        border-right:1.5px solid currentColor; border-bottom:1.5px solid currentColor; transform:rotate(45deg);
    }
      :where(.page-company) .p-c1-code.is-sp-acc .is-open .p-c1-code__more::after { transform:rotate(-135deg); margin-top:.2em; }
    }
    /* 2026-10-23 PC・SP共通：小さい年号の一覧が時代の先頭に来るときは、上の余白（項目間のアキ）を取らない。
       大きい年号が先頭のときと同じく、縦ラインの上端からの余白だけにする */
    :where(.page-company) .p-c1-hist__body > .p-c1-rows:first-child { margin-top:0; }
    /* 2026-10-26 No.414 ごあいさつ「これから」の右に社長の写真（PC）。SPは本文の下に置く */
    :where(.page-company) .p-c1-msg__photo { margin:0; }
    :where(.page-company) .p-c1-msg__photo img { display:block; width:100%; height:auto; }
    @media (min-width:861px) {
      :where(.page-company) .p-c1-msg__block--photo {
        display:grid; grid-template-columns:minmax(0,1fr) clamp(240px,24vw,320px);
        column-gap:clamp(2rem,4vw,3.5rem); align-items:start;
    }
      :where(.page-company) .p-c1-msg__block--photo > *:not(.p-c1-msg__photo) { grid-column:1; }
      /* PC：テキストの高さいっぱいの縦長に切り抜く */
      /* 見出し（これから）の行は含めず、本文1段落目の上端（段落の上マージン分下げる）から署名の下端まで */
      :where(.page-company) .p-c1-msg__block--photo > .p-c1-msg__photo { grid-column:2; grid-row:2 / span 20; align-self:stretch; position:relative; margin-top:calc(1.1 * 1.0625rem + 7px); }
      /* +7px：行間の上側の空きぶん、文字の上端にそろえる */
      :where(.page-company) .p-c1-msg__block--photo > .p-c1-msg__photo img { position:absolute; inset:0; width:100%; height:100%; object-fit:cover; object-position:50% 30%; }
    }
    @media (max-width:860px) {
      /* SP：本文の幅いっぱいの横長（FVで使っていた横長の写真） */
      :where(.page-company) .p-c1-msg__photo { width:100%; margin:var(--sp-6) 0 0; aspect-ratio:16 / 9; overflow:hidden; }
      :where(.page-company) .p-c1-msg__photo img {
        width:100%; height:100%; object-fit:cover; object-position:50% 40%;
        transform:translateY(-8%) scale(1.6); transform-origin:51% 42%;
    }
    }
    @media (min-width:861px) {
      :where(.page-contact) .p-ct-guide .c-btn.p-ct-guide__btn { font-size:16px; }
    }
    :where(.page-contact) .p-pagehead.p-pagehead--slim { min-height:0; }
    :where(.page-contact) .p-pagehead.p-pagehead--slim .p-pagehead__copy { padding-block:calc(var(--header-h) + clamp(2rem,4vw,var(--sp-7))) clamp(2rem,4vw,var(--sp-7)); }
    /* 2026-10-20 バイヤー流入時（?from=buyer）のヘッダーを buyer.css の現行値に完全一致させる
       （@layer 内の移植ルールは共通 common.css に負けるため、ここで上書き） */
    html.is-from-buyer:where(:has(> .page-contact)) .l-header { font-family:"Noto Sans JP","Hiragino Kaku Gothic ProN","Yu Gothic","YuGothic",Meiryo,sans-serif; background:var(--c-white-97); color:var(--c-text); }
    html.is-from-buyer:where(:has(> .page-contact)) .l-logo { gap:normal; }
    html.is-from-buyer:where(:has(> .page-contact)) .l-nav,
    html.is-from-buyer:where(:has(> .page-contact)) .l-nav > ul { gap:clamp(.4rem,1.4vw,1.4rem); }
    html.is-from-buyer:where(:has(> .page-contact)) .l-nav li > .l-nav__link,
    html.is-from-buyer:where(:has(> .page-contact)) .l-nav li > .l-nav__trigger { display:inline-flex; align-items:center; padding:.7em .5em; min-width:0; color:var(--c-text); }
    html.is-from-buyer:where(:has(> .page-contact)) .l-nav__trigger[aria-expanded="true"] { color:#273a78; }
    html.is-from-buyer:where(:has(> .page-contact)) .l-nav li > a.l-nav__ig { display:flex; padding:0; font-size:18px; font-weight: var(--fw-regular); letter-spacing: var(--tr-body); line-height:1.9; }
    html.is-from-buyer:where(:has(> .page-contact)) .l-nav__ig img { min-width:auto; }
    html.is-from-buyer:where(:has(> .page-contact)) .l-header__cta.c-btn--primary {
      display:inline-flex; justify-content:center; text-align:center;
      background-color:#273a78; background-image:linear-gradient(135deg,rgba(255,255,255,.15),rgba(255,255,255,0) 60%);
      box-shadow:0 2px 8px rgba(20,30,50,.12);
    }
    html.is-from-buyer:where(:has(> .page-contact)) .l-header__cta.c-btn--primary:hover { background-color:#1c2a59; }
    @media (min-width:861px) {
      html.is-from-buyer:where(:has(> .page-contact)) .l-header__cta { min-width:141.5px; }
    }
    /* SPドロワー：親カテゴリ見出し・子リンク */
    html.is-from-buyer:where(:has(> .page-contact)) .l-drawer__cat {
      display:block; padding:var(--sp-4) var(--pad) .4rem; border-top:1px solid var(--c-line);
      font-weight: var(--fw-bold); font-size:.82rem; letter-spacing: var(--tr-ui); line-height:1.9; color:var(--c-text-muted);
    }
    html.is-from-buyer:where(:has(> .page-contact)) .l-drawer__cat + .is-child { border-top:none; }
    html.is-from-buyer:where(:has(> .page-contact)) .l-drawer > a.is-child { font-size:16.2px; }
    @media (max-width:640px) {
      html.is-from-buyer:where(:has(> .page-contact)) .l-drawer > a { font-size:.9375rem; padding-block:.9375rem; }
      html.is-from-buyer:where(:has(> .page-contact)) .l-drawer > a.is-child { font-size:.890625rem; padding-left:calc(var(--pad) + .9375rem); }
      html.is-from-buyer:where(:has(> .page-contact)) .l-drawer__cat { font-size:.76875rem; padding-top:.9375rem; padding-bottom:.375rem; }
    }
    /* 2026-10-23 PC・SP：スパム防止認証（説明文・認証ボックス・エラー文）を中央にそろえる */
    :where(.page-contact) .p-ct-spam { text-align:center; }
    :where(.page-contact) .p-ct-spam .p-ct-captcha { margin-left:auto; margin-right:auto; text-align:left; }
    :where(.page-home) .c-reel__video { position:absolute; inset:0; width:100%; height:100%; object-fit:cover; display:block; }
    :where(.page-home) .c-reel__fallback { display:none; }
    @media (prefers-reduced-motion:reduce) {
      :where(.page-home) .l-hero__video,
      :where(.page-home) .c-reel__video { display:none; }
      :where(.page-home) .l-hero__img--fallback,
      :where(.page-home) .c-reel__fallback { display:block; }
    }
    /* 2026-10 共通TOP正式コピー：数字3つ／企業理念タイル */
    :where(.page-home) .c-stats {
      margin:clamp(2.5rem,4.4vw,var(--sp-7)) 0 0; display:grid; grid-template-columns:repeat(3,minmax(0,1fr));
      gap:clamp(1.25rem,2.6vw,var(--sp-6));
    }
    :where(.page-home) .c-stats__item { position:relative; text-align:center; padding-block:clamp(1.25rem,2.4vw,1.9rem); }
    /* 区切り線：各項目の左、最後の項目だけ右にも引く（両端＋間の計4本） */
    :where(.page-home) .c-stats__item::before,
    :where(.page-home) .c-stats__item:last-child::after {
      content:""; position:absolute; top:0; bottom:0;
      width:1px; background:var(--c-line);
    }
    :where(.page-home) .c-stats__item::before { left:calc(clamp(1.25rem,2.6vw,2rem) / -2); }
    /* 両端の線はコンテナの端にそろえる */
    :where(.page-home) .c-stats__item:first-child::before { left:0; }
    :where(.page-home) .c-stats__item:last-child::after { right:0; }
    :where(.page-home) .c-stats__num {
      font-family:var(--ff-serif); font-weight: var(--fw-regular); color:var(--c-brand-700);
      font-size:clamp(2.75rem,5.4vw,4.25rem); line-height:1.1; letter-spacing: var(--tr-body);
    }
    :where(.page-home) .c-stats__about { font-size:.42em; margin-right:.12em; }
    :where(.page-home) .c-stats__unit {
      font-family:var(--ff-sans); font-size:.3em; font-weight: var(--fw-bold); margin-left:.3em;
      letter-spacing: var(--tr-ui);
    }
    :where(.page-home) .c-stats__note { margin:.7rem 0 0; font-size:.95rem; line-height:1.7; color:var(--c-text-muted); }
    :where(.page-home) .c-stats__br { display:none; }
    @media (max-width:768px) {
      :where(.page-home) .c-stats { grid-template-columns:1fr; gap:0; }
      /* SPは縦積みなので、区切り線も横向きにする（上下端＋項目間） */
      :where(.page-home) .c-stats__item::before,
      :where(.page-home) .c-stats__item:last-child::after {
        top:auto; bottom:auto; left:0; right:0;
        width:auto; height:1px;
    }
      :where(.page-home) .c-stats__item::before { top:0; }
      :where(.page-home) .c-stats__item:last-child::after { bottom:0; }
    }
    :where(.page-home) .c-phil {
      margin-top:clamp(2.25rem,4.4vw,3.25rem); display:grid;
      grid-template-columns:repeat(3,minmax(0,1fr)); gap:clamp(1rem,2.2vw,1.75rem);
    }
    :where(.page-home) .c-phil__item {
      margin:0; background:var(--c-bg); padding:clamp(1.6rem,2.6vw,2.25rem);
      font-size:clamp(1rem,.45vw + .88rem,1.1rem); line-height:2.05; color:var(--c-ink);
    }
    @media (max-width:860px) {
      :where(.page-home) .c-phil { grid-template-columns:1fr; }
    }
    :where(.page-home) .l-hero__media { position:relative; }
    :where(.page-home) .l-hero__media::after { content:"";position:absolute;inset:0;background:linear-gradient(180deg,rgba(18,28,48,.30),rgba(18,28,48,.56));z-index:1; }
    :where(.page-home) .c-value-curve { position:absolute; left:0; right:0; top:0; transform:translateY(-100%); line-height:0; }
    :where(.page-home) .c-value-curve svg { display:block; width:100%; height:88px; }
    @media (max-width:768px) {
      :where(.page-home) .c-value-curve svg { height:48px; }
    }
    :where(.page-home) .l-hero__copy { z-index:2; }
    :where(.page-home) .l-hero__title,
    :where(.page-home) .l-hero__sub { color:var(--c-text-invert);text-shadow:0 2px 14px rgba(0,0,0,.55),0 1px 4px rgba(0,0,0,.35); }
    :where(.page-home) .l-hero__kicker { color:rgba(255,255,255,.92);text-shadow:0 1px 6px rgba(0,0,0,.5); }
    :where(.page-home) .l-hero__scroll { color:var(--c-white-85);text-shadow:0 1px 6px rgba(0,0,0,.5); }
    /* FIND YOUR DOOR：入口で行き先の世界観を予感（採用=緑／取引=エンジ） */
    :where(.page-home) .c-split__pane--recruit::after { background:linear-gradient(to top, rgba(24,36,60,.82), rgba(24,36,60,.24) 55%, rgba(24,36,60,.06)); }
    :where(.page-home) .c-split__pane--buyer::after { background:linear-gradient(to top, rgba(24,36,60,.82), rgba(24,36,60,.24) 55%, rgba(24,36,60,.06)); }
    /* 入口CTAは白ボタン＋行き先を示す小さな色ドット（採用=黄緑／バイヤー=ネイビー） */
    :where(.page-home) .c-split__pane .c-btn { background:var(--c-bg); color:var(--c-ink); border:none; border-left:6px solid transparent; }
    :where(.page-home) .c-split__pane .c-btn:hover { background:var(--c-brand-50); }
    :where(.page-home) .c-split__pane--recruit .c-btn--accent { background:var(--c-bg); }
    :where(.page-home) .c-split__pane--recruit .c-btn { border-left-color:#8bc34a; }
    :where(.page-home) .c-split__pane--recruit .c-btn__arrow { color:#61a326; }
    :where(.page-home) .c-split__pane--buyer .c-btn--primary { background:var(--c-bg); }
    :where(.page-home) .c-split__pane--buyer .c-btn { border-left-color:var(--c-navy); }
    :where(.page-home) .c-split__pane--buyer .c-btn__arrow { color:var(--c-navy); }
    /* 予告リール：採用ゾーン=緑トーン／品質ゾーン=エンジトーン */
    :where(.page-home) .p-zone-recruit .c-reel__cap { background:linear-gradient(to top, rgba(24,36,60,.78), rgba(24,36,60,0)); }
    :where(.page-home) .p-zone-quality .c-reel__cap { background:linear-gradient(to top, rgba(24,36,60,.78), rgba(24,36,60,0)); }
    /* 共通TOPは水色ベースに統一：CTA/アウトライン/スティッキーはすべて水色（AA安全なUI水色） */
    :where(.page-home) .c-btn--primary { background:var(--c-brand-800); border-color:var(--c-brand-800); }
    :where(.page-home) .c-btn--primary:hover { background:var(--c-brand-900); border-color:var(--c-brand-900); }
    :where(.page-home) .c-btn--outline.is-accent { color:var(--c-brand-800); border-color:var(--c-brand-800); }
    :where(.page-home) .c-btn--outline.is-buyer { color:var(--c-brand-800); border-color:var(--c-brand-800); }
    :where(.page-home) .l-sticky-cta a.is-recruit { background:#8bc63c; color:var(--c-text-invert); }
    :where(.page-home) .l-sticky-cta a.is-buyer { background:#273a78; color:var(--c-text-invert); }
    /* OUR VALUE（代表）＝深めの水色ベースで中盤の山場に（:has で該当セクションだけ） */
    :where(.page-home) .l-section:has(.c-rep) { background:#bfe0f4; box-shadow: inset 0 -64px 48px -48px var(--c-bg); }
    /* ニュースのタグを水色に */
    :where(.page-home) .c-news__tag { background:var(--c-brand-800); color:var(--c-text-invert); }
    /* ハイライト＝予告（トレーラー）：黒背景コピー→写真→…のシンプル展開／高さ控えめ */
    :where(.page-home) .is-trailer.l-section { padding-block: clamp(1.5rem,4vw,2.5rem); }
    :where(.page-home) .p-rc-trailer { position: relative; margin-top: 1.25rem; max-width: var(--container, 1120px); margin-inline:auto; }
    :where(.page-home) .p-rc-trailer__cta { position:absolute; right:clamp(.75rem,2vw,1.5rem); bottom:clamp(.75rem,2vw,1.5rem); z-index:2; background:var(--c-bg); }
    :where(.page-home) .is-trailer .c-reel__stage { aspect-ratio: 3/1; max-height: none; }
    /* 写真は下→上へゆっくりパン（クロップで何も見えない問題の解消／スクロールする感じ） */
    @keyframes rcPan { 0%{ object-position:center 88%; } 100%{ object-position:center 12%; } }
    :where(.page-home) .is-trailer .c-reel__slide img { animation: rcPan 9s ease-in-out infinite alternate; }
    @media (prefers-reduced-motion: reduce) {
      :where(.page-home) .is-trailer .c-reel__slide img { animation:none; object-position:center 62%; }
    }
    :where(.page-home) .c-reel__slide--copy { display:flex; align-items:center; justify-content:center; background:#101417; }
    :where(.page-home) .p-zone-recruit .c-reel__slide--copy { background:#10231a; }
    :where(.page-home) .p-zone-quality .c-reel__slide--copy { background:#0f1f2e; }
    :where(.page-home) .p-rc-trailer__copy { font-family: var(--ff-serif, serif); color:var(--c-text-invert); font-size: clamp(1.4rem, 3.6vw, 2.3rem); line-height:1.6; text-align:center; padding: 1.25rem 1.75rem; margin:0; }
    /* 連続クロスフェードに重ねる下寄せキャプション（黒コピー面を廃止したぶんの文言） */
    :where(.page-home) .p-rc-trailer .c-reel__cap { font-family: var(--ff-serif); font-size: clamp(1.1rem, 2.6vw, 1.85rem); line-height:1.5; padding: clamp(1rem,3vw,var(--sp-6)) clamp(1.1rem,3vw,2.25rem); padding-right: 42%; }
    @media (max-width: 768px) {
      :where(.page-home) .p-rc-trailer .c-reel__cap { padding-right: clamp(1.1rem,3vw,2.25rem); font-size: 1.05rem; }
    }
    @media (min-width:861px) {
      :where(.page-home) .l-hero__kicker { font-size:13.48px; }
      :where(.page-home) .l-hero__scroll { font-size:13.8px; }
      :where(.page-home) .c-rep__role { font-size:18px; }
      :where(.page-home) .c-quote cite { font-size:18px; }
      :where(.page-home) .c-split__lead { font-size:18px; }
      :where(.page-home) .c-photoset__text { font-size:18px; }
      :where(.page-home) .c-news__date { font-size:16.2px; }
      :where(.page-home) .c-news__tag { font-size:13.48px; }
      :where(.page-home) .c-news__title { font-size:18px; }
    }
    /* 動画の上に載せる本文（RECRUIT／FOR BUYERS）＝既存キャプションの書体・サイズを踏襲 */
    /* 原稿どおりの改行で表示するため、CTA回避用の右padding（42%）は使わない */
    :where(.page-home) .p-rc-trailer .c-reel__cap--body {
      padding-right:clamp(1.1rem,3vw,2.25rem);
      font-size:clamp(1rem,1.65vw,1.5rem); line-height:1.8;
    }
    @media (max-width:768px) {
      /* 本文が収まるよう、SPのみ動画枠を高くする */
      :where(.page-home) .is-trailer .c-reel__stage { aspect-ratio:4/3; }
      :where(.page-home) .p-rc-trailer .c-reel__cap--body { padding-bottom:4.6rem; }
      /* CTAは動画の下端中央に置き、本文と重ねない */
      :where(.page-home) .p-rc-trailer__cta {
        left:clamp(.75rem,3vw,1.5rem); right:clamp(.75rem,3vw,1.5rem);
        justify-content:center;
    }
    }
    @media (max-width:640px) {
      :where(.page-home) .p-rc-trailer__cta { position:static; display:flex; width:100%; margin-top:var(--sp-4); }
      :where(.page-home) .p-rc-trailer .c-reel__cap--body {
        font-size:.95rem; line-height:1.8; padding-bottom:1.1rem;
        /* 視認性：暗いグラデーションを本文の上まで広げ、文字の影を強める */
        padding-top:var(--sp-6);
        background:linear-gradient(to top, rgba(24,36,60,.7) 0%, rgba(24,36,60,.45) 60%, rgba(24,36,60,0) 100%);
        text-shadow:0 1px 3px rgba(0,0,0,.75), 0 0 12px rgba(0,0,0,.5);
    }
    }
    /* OUR VALUE（2026-10 デザイン調整） */
    /* 理念：白背景をやめ、線のみ。明朝20px。一部を強調 */
    :where(.page-home) .c-phil__item {
      background:transparent; border:1px solid rgba(39,58,120,.28);
      font-family:var(--ff-serif); font-size:20px; line-height:1.95;
    }
    :where(.page-home) .c-phil__item strong { font-weight: var(--fw-bold); color:var(--c-brand-700); }
    @media (max-width:860px) {
      :where(.page-home) .c-phil__item { font-size:18px; }
    }
    @media (max-width:640px) {
      :where(.page-home) .c-phil__item { font-size:.94rem; }
    }
    /* 代表メッセージ：白パネルに写真を重ねる */
    :where(.page-home) .c-rep {
      --rep-overlap:clamp(40px,5.2vw,75px); --rep-drop:clamp(28px,4vw,58px); --rep-pad-b:clamp(24px,3.6vw,52px);
      display:grid; align-items:start; gap:0;
      grid-template-columns:minmax(0,1fr) minmax(0,352px);
      padding-bottom:var(--rep-pad-b); margin-bottom:clamp(1rem,1.7vw,24px);
    }
    :where(.page-home) .c-rep__body {
      grid-column:1 / 2; grid-row:1; position:relative; z-index:0;
      background:var(--c-bg);
      padding:clamp(2rem,4vw,3.5rem);
      padding-right:calc(var(--rep-overlap) + clamp(1.5rem,3.2vw,var(--sp-7)));
    }
    :where(.page-home) .c-rep__photo {
      grid-column:2 / 3; grid-row:1; position:relative; z-index:1;
      margin-left:calc(-1 * var(--rep-overlap)); width:calc(100% + var(--rep-overlap));
      margin-top:var(--rep-drop);
    }
    :where(.page-home) .c-rep__photo::before { content:none; }
    /* 写真うしろの枠線を消す */
    :where(.page-home) .c-rep__cta { margin-top:0; }
    @media (max-width:860px) {
      :where(.page-home) .c-rep__cta { margin-top:var(--sp-6); }
    }
    :where(.page-home) .c-rep__quote {
      font-family:var(--ff-sans); font-size:20px; line-height:2.1;
      padding-top:clamp(2.2rem,4vw,3.2rem);
    }
    :where(.page-home) .c-rep__quote::before { position:absolute; top:0; left:0; }
    :where(.page-home) .c-rep__name {
      margin-top:clamp(1.5rem,3vw,2.25rem); text-align:right;
      display:flex; align-items:baseline; justify-content:flex-end; gap:.9rem;
    }
    :where(.page-home) .c-rep__name .c-rep__role { margin-top:0; font-size:16px; }
    :where(.page-home) .c-rep__name .c-rep__sign { margin-top:0; font-size:1.85rem; }
    @media (max-width:860px) {
      :where(.page-home) .c-rep { grid-template-columns:minmax(0,1fr); padding-bottom:0; }
      :where(.page-home) .c-rep__body { padding-right:clamp(2rem,4vw,3.5rem); }
      :where(.page-home) .c-rep__body { grid-column:1; grid-row:2; }
      :where(.page-home) .c-rep__photo {
        grid-column:1; grid-row:1; max-width:300px; width:auto;
        margin-inline:auto; margin-left:auto; margin-top:0;
    }
      :where(.page-home) .c-rep__quote { font-size:17px; line-height:2; }
      :where(.page-home) .c-rep__name { gap:.7rem; }
      :where(.page-home) .c-rep__name .c-rep__sign { font-size:1.5rem; }
    }
    @media (max-width:640px) {
      :where(.page-home) .c-rep { --rep-sp-overlap:3.5rem; }
      :where(.page-home) .c-rep__photo { margin-bottom:calc(-1 * var(--rep-sp-overlap)); }
      :where(.page-home) .c-rep__body { padding-top:calc(var(--rep-sp-overlap) + 1.25rem); padding-inline:var(--sp-5); }
      :where(.page-home) .c-rep__quote { font-size:1.0625rem; }
      /* 17px相当。画面幅に比例 */
      :where(.page-home) .c-rep__name { margin-top:var(--sp-3); }
    }
    @media (max-width:768px) {
      /* 数字3つは横並びのまま */
      :where(.page-home) .c-stats { grid-template-columns:repeat(3,minmax(0,1fr)); gap:clamp(.5rem,2.6vw,1.25rem); }
      :where(.page-home) .c-stats__item { padding-block:clamp(1rem,3.4vw,var(--sp-5)); }
      /* 画面幅に比例して縮小し、改行位置が変わらないようにする */
      :where(.page-home) .c-stats__num { font-size:min(8.6vw,36px); }
      :where(.page-home) .c-stats__unit { font-size:.34em; margin-left:.18em; }
      :where(.page-home) .c-stats__about { font-size:.44em; margin-right:.06em; }
      :where(.page-home) .c-stats__note { margin-top:var(--sp-2); font-size:min(3.4vw,15px); line-height:1.7; }
      :where(.page-home) .c-stats__br { display:inline; }
      /* 区切り線は縦向きに戻す（両端＋項目間の計4本） */
      :where(.page-home) .c-stats__item::before,
      :where(.page-home) .c-stats__item:last-child::after {
        top:0; bottom:0; left:auto; right:auto;
        width:1px; height:auto;
    }
      :where(.page-home) .c-stats__item::before { left:calc(clamp(.5rem,2.6vw,1.25rem) / -2); }
      :where(.page-home) .c-stats__item:first-child::before { left:0; }
      :where(.page-home) .c-stats__item:last-child::after { right:0; }
      /* お知らせ：日付とカテゴリを同じ行に、タイトルは次の行 */
      :where(.page-home) .c-news__row {
        grid-template-columns:auto auto; justify-content:start;
        column-gap:var(--sp-3); row-gap:.4rem; align-items:center;
    }
      :where(.page-home) .c-news__date { grid-column:1; grid-row:1; }
      :where(.page-home) .c-news__tag { grid-column:2; grid-row:1; }
      :where(.page-home) .c-news__title { grid-column:1 / 3; grid-row:2; }
    }
    /* 2026-10-21 社長名は手書きの画像（images/president-name.svg）。高さは従来の文字サイズ（1em）に合わせる */
    :where(.page-home) .c-rep__sign-img { display:block; height:1em; width:auto; }
    @media (max-width:640px) {
      html:where(:has(> .page-home)) body .c-news .c-news__row { column-gap:var(--sp-3); row-gap:.4rem; }
      html:where(:has(> .page-home)) body .c-news .c-news__tag {
        background:transparent; border:1px solid currentColor; border-radius:2px;
        font-size:.8rem; font-weight: var(--fw-bold); line-height:1.5; letter-spacing: var(--tr-ui); padding:.3em .8em;
    }
      html:where(:has(> .page-home)) body .c-news .c-news__tag--recruit { color:#4f7d12; }
      html:where(:has(> .page-home)) body .c-news .c-news__tag--buyer { color:#273a78; }
      html:where(:has(> .page-home)) body .c-news .c-news__tag--corp { color:#6b7585; }
      html:where(:has(> .page-home)) body .c-news .c-news__title { font-size:1.0625rem; }
      /* お知らせ一覧の区切り線を画面幅いっぱいに（中身は左右の余白を保つ） */
      :where(.post-type-archive-news) .p-news { margin-inline:calc(-1 * var(--pad)); margin-top:0; }
      :where(.post-type-archive-news) .p-news__row { padding-inline:var(--pad); }
      :where(.post-type-archive-news) .l-section.p-news-sec { padding-top:0; }
      /* FV直下から一覧を始める */
      /* ページ送りの上下の余白を少し詰めて同じ値に */
      :where(.post-type-archive-news) .l-section.p-news-sec { padding-bottom:2.5rem; }
      :where(.post-type-archive-news) .p-news-sec .p-pager { margin-top:2.5rem; }
      /* カテゴリは文字を少し小さく・高さを低く／タイトルは少し大きく */
      html:where(:has(> .post-type-archive-news)) body .p-news-sec .p-news__tag { font-size:.8rem; line-height:1.5; padding:.3em .8em; }
      html:where(:has(> .post-type-archive-news)) body .p-news-sec .p-news__title { font-size:1.0625rem; }
      /* カテゴリを日付のすぐ右へ。タイトルが日付＋カテゴリの列を押し広げないよう、矢印用の列を分けてタイトルを広げる */
      :where(.post-type-archive-news) .p-news { grid-template-columns:auto auto minmax(0,1fr) auto; }
      :where(.post-type-archive-news) .p-news__row { column-gap:var(--sp-3); row-gap:.4rem; }
      /* 日付・カテゴリの行とタイトルの間を詰める */
      :where(.post-type-archive-news) .p-news__title { grid-column:1 / 4; }
      :where(.post-type-archive-news) .p-news__arrow { grid-column:4; }
    }
    @keyframes rl-strip { from{ transform:translateX(0); } to{ transform:translateX(-100%); } }

    /* ===== 足跡アニメーション（旧：footprints.is-js が注入していたCSS） ===== */
    .p-fp-layer { position:absolute;pointer-events:none;z-index:1;overflow:visible }
    .p-fp-layer svg { width:100%;height:100%;display:block;overflow:visible }
    .p-fp-foot { transition:opacity .5s ease }
    .p-fp-hero-top { left:50%;width:clamp(52px,6vw,76px);height:clamp(76px,9vw,104px);transform:translateX(-50%);overflow:visible;top:clamp(14px,2vw,24px); }
    .p-fp-hero-top .p-fp-foot { fill:var(--c-text-invert) }
    .p-fp-band { position:relative;height:clamp(150px,20vw,240px);margin:0 auto;max-width:var(--container,1200px);overflow:hidden }
    .p-fp-band .p-fp-layer { inset:0;width:100%;height:100% }
    .p-fp-band .p-fp-foot { fill:var(--c-navy,var(--c-ink)) }
    .p-fp-band--above-cta { transform:translateY(-50px) }
    @media (max-width:680px) {
      .p-fp-hero-top { height:clamp(60px,20vw,84px) }
      .p-fp-band { height:clamp(170px,42vw,230px) }
    }
    .p-fp-band .p-fp-sp { display:none }
    @media (max-width:640px) {
      .p-fp-band .p-fp-pc { display:none }
      .p-fp-band .p-fp-sp { display:block }
      .p-fp-band { height:auto }
      .p-fp-band .p-fp-layer { position:relative;inset:auto }
      .p-fp-band .p-fp-sp { height:auto;aspect-ratio:600/150 }
      .p-fp-band--above-cta { transform:translateY(-30px);margin-bottom:-14px }
    }

    /* ===== ページ別（旧：各HTMLの <body> 内の <style>） ===== */
    @keyframes fgPigStay {
      from{ opacity:0; transform:translateX(-8px); }
      to{   opacity:1; transform:none; }
    }
    /* 乗り込む豚：等速で歩き、荷台に入って消える */
    @keyframes fgPigWalk {
      0%   { opacity:0; transform:translate(-12px,0); }
      10%  { opacity:1; transform:translate(-8px,-.6px); }
      22%  { opacity:1; transform:translate(-4px,0); }
      34%  { opacity:1; transform:translate(1px,-.6px); }
      46%  { opacity:1; transform:translate(6px,0); }
      58%  { opacity:1; transform:translate(12px,-.6px); }
      70%  { opacity:1; transform:translate(18px,0); }
      82%  { opacity:1; transform:translate(25px,-.6px); }
      92%  { opacity:.45; transform:translate(31px,0); }
      100% { opacity:0; transform:translate(35px,0); }
    }
    @keyframes fgTruckIn {
      from{ opacity:0; transform:translateX(-22px) scale(.95); }
      to{   opacity:1; transform:none; }
    }
    @media (max-width:640px) {
      :where(.page-company-5s) .p-5s-scene__h { font-size:1.27rem; }
      /* FV下〜ABOUTの余白を約半分に */
      :where(.page-home) #about { padding-top:1.9rem; }
      /* 数字リスト：写真との間とボタンとの間を同じにして詰める */
      :where(.page-home) #about .c-stats { margin-top:var(--sp-5); }
      :where(.page-home) #about .c-stats__item { padding-block:var(--sp-3); }
      /* 理念ボックスの上下余白を5pxずつ縮める */
      :where(.page-home) .c-phil__item { padding-block:calc(1.6rem - 5px); }
      /* 代表写真を小さく */
      :where(.page-home) .c-rep__photo { max-width:240px; margin-inline:auto; }
      /* MORE上の余白を約2/3に、インスタ下の余白は左右余白（1.25rem）と同じに */
      :where(.page-home) #contact { padding-top:2.7rem; padding-bottom:1.25rem; }
      /* お知らせ一覧を見る：ほかの全幅ボタン（採用情報を見る など）と同じく横幅いっぱいに */
      :where(.page-home) #contact .c-news + .u-mt-150 .c-btn { display:flex; width:100%; justify-content:center; box-sizing:border-box; }
    }

    /* ===== 旧インライン style（style="..."）を置き換えたクラス ===== */
    :where(.page-access) .p-lead--narrow { max-width: 48em; }
    :where(.page-company) .p-lead--follow { margin-top: .6em; }
    :where(.page-company) .p-textlink { color: var(--c-brand-900); font-weight: var(--fw-bold); text-decoration: underline; text-underline-offset: 3px; }
  }

  /* ===== 他より優先させる指定（旧 !important） ===== */
  @media (max-width:640px) {
    .js-sp-swipe { display:flex; gap:var(--sp-3); grid-template-columns:none; }
    .js-sp-swipe > * { margin:0; }
  }
  @media (max-width:768px) {
    html body .l-sticky-cta a { min-height:0; }
  }

  /* ===== 2026-10-29 修正シート No.175 文字サイズ・行間の調整（コーポレート） =====
     _work/文字サイズ調整_1_コーポレート.xlsx で「する」にした行。数字は表の No. と対応。
     本文は1px小さく（SPの下限14px）、注釈・名前などの補足は1px小さく（下限12px）。
     行間 1.90→1.80／1.95〜2.00→1.85／2.05以上→1.90。カードの中（農場・施設のカード、FAQの答え）は元のまま。
     641px以上はPCの値、640px以下はSPの値 */
  @media (min-width:641px) {
      :where(.page-company-5s) .p-5s-fv__sub { font-size:20.8px; line-height:1.8; } /* A16 21.8→20.8px・1.9→1.8 */
      :where(.page-company-5s) .p-5s-intro__body p { font-size:17px; line-height:1.8; } /* A17 18→17px・1.9→1.8 */
      :where(.page-company-5s) .p-5s-def__text { font-size:17px; line-height:1.8; } /* A18 18→17px・1.9→1.8 */
      :where(.page-company-5s) .p-5s-def__close p:not(.p-5s-def__strong) { font-size:17px; line-height:1.8; } /* A19 18→17px・1.9→1.8 */
      :where(.page-company-5s) .p-5s-act__t { font-size:15px; line-height:1.85; } /* A20 16→15px・2→1.85 */
      :where(.page-company-5s) .p-5s-quote__text { font-size:16px; line-height:1.85; } /* A21 17→16px・2→1.85 */
      :where(.page-company-5s) .p-5s-contest__body p { font-size:16px; line-height:1.9; } /* A22 17→16px・2.05→1.9 */
      :where(.page-company-5s) .p-5s-safety__sub { font-size:16px; line-height:1.8; } /* A23 17→16px・1.9→1.8 */
      :where(.page-company-5s) .p-5s-safety__lead { font-size:20.8px; line-height:1.8; } /* A24 21.8→20.8px・1.9→1.8 */
      :where(.page-company-5s) .p-5s-scene__when { font-size:17px; line-height:1.6; } /* A25 18→17px・1.6→1.6 */
      :where(.page-company-5s) .p-5s-scene__t { font-size:15px; line-height:1.85; } /* A26 16→15px・2→1.85 */
      :where(.page-company-5s) .p-5s-safety__closetext { font-size:15px; line-height:1.85; } /* A27 16→15px・2→1.85 */
      :where(.page-company-5s) .p-5s-close__text { font-size:17px; line-height:1.85; } /* A28 18→17px・2→1.85 */
      :where(.page-company-5s) .p-5s-quote__name { font-size:14px; line-height:1.8; } /* B12 15→14px・1.9→1.8 */
      :where(.page-company-5s) .p-5s-pull__name { font-size:14px; line-height:1.8; } /* B13 15→14px・1.9→1.8 */
      :where(.page-company-5s) .p-5s-survey__note { font-size:12px; line-height:1.8; } /* B14 13→12px・1.8→1.8 */
      :where(.page-company-5s) .p-5s-voice__body p { font-size:14px; line-height:1.85; } /* B15 15→14px・1.85→1.85 */
      :where(.page-company-5s) .p-5s-voice__name { font-size:13px; line-height:1.8; } /* B16 14→13px・1.9→1.8 */
      :where(.page-company-5s) .p-5s-scene__term { font-size:13px; line-height:1.8; } /* B17 14→13px・1.8→1.8 */
      :where(.page-company-5s) .p-5s-next__dt { font-size:14px; line-height:1.8; } /* B18 15→14px・1.8→1.8 */
      :where(.page-company-5s) .p-5s-tbd { font-size:12px; line-height:1.8; } /* C09 13→12px・1.9→1.8 */
      :where(.page-company-faq) .p-faqend__text { font-size:15px; line-height:1.85; } /* A30 16→15px・1.95→1.85 */
      :where(.page-home) .t-muted { font-size:17px; line-height:1.8; } /* A01 18→17px・1.9→1.8 */
      :where(.page-home) .c-split__lead { font-size:17px; line-height:1.7; } /* A03 18→17px・1.7→1.7 */
      :where(.page-home) .c-news__date { font-size:15.2px; line-height:1.8; } /* B02 16.2→15.2px・1.9→1.8 */
      :where(.post-type-archive-news, .single-news) .p-news__date { font-size:17px; line-height:1.8; } /* A37 18→17px・1.9→1.8 */
      :where(.post-type-archive-news, .single-news) .p-news__tag { font-size:14.4px; line-height:1.8; } /* B21 15.4→14.4px・1.9→1.8 */
      :where(.single-news) .p-article p { font-size:17px; line-height:1.85; } /* A38 18→17px・1.95→1.85 */
      :where(.single-news) .p-article li { font-size:16px; line-height:1.85; } /* A39 17→16px・1.95→1.85 */
      :where(.single-news) .p-article a { font-size:17px; line-height:1.85; } /* A40 18→17px・1.95→1.85 */
      :where(.single-news) .p-article__ext { font-size:12px; line-height:1.85; } /* B22 13→12px・1.95→1.85 */
      :where(.single-news) .p-article__file { font-size:17px; line-height:1.85; } /* C30 18→17px・1.95→1.85 */
      :where(.single-news) .p-article__back { font-size:17px; line-height:1.85; } /* C31 18→17px・1.95→1.85 */
      :where(.page-contact) .p-ct-intro__lead { font-size:17px; line-height:1.8; } /* A31 18→17px・1.9→1.8 */
      :where(.page-contact) .p-ct-intro__close { font-size:17px; line-height:1.8; } /* A32 18→17px・1.9→1.8 */
      :where(.page-contact) .p-ct-form__lead { font-size:17px; line-height:1.8; } /* A33 18→17px・1.9→1.8 */
      :where(.page-contact) .p-ct-consent__text { font-size:17px; line-height:1.8; } /* A34 18→17px・1.9→1.8 */
      :where(.page-contact) .p-ct-spam__text { font-size:17px; line-height:1.8; } /* A35 18→17px・1.9→1.8 */
      :where(.page-contact) .p-ct-tel__text { font-size:17px; line-height:1.8; } /* A36 18→17px・1.9→1.8 */
      :where(.page-access) .p-c2-next__body span { font-size:15px; line-height:1.85; } /* A15 16→15px・1.85→1.85 */
      :where(.page-company) .p-c1-msg__block p:not(.p-c1-msg__sign) { font-size:16px; line-height:1.85; } /* A06 17→16px・2→1.85 */
      :where(.page-company) .p-c1-phil__list li { font-size:16px; line-height:1.8; } /* A07 17→16px・1.9→1.8 */
      :where(.page-company) .p-c1-code__list li { font-size:15px; line-height:1.8; } /* A08 16→15px・1.9→1.8 */
      :where(.page-company) .p-cond__desc { font-size:17px; line-height:1.85; } /* A09 18→17px・1.85→1.85 */
      :where(.page-company) .p-c1-turn__txt { font-size:16px; line-height:1.85; } /* A10 17→16px・1.95→1.85 */
      :where(.page-company) .p-c1-rows__txt { font-size:15px; line-height:1.8; } /* A11 16→15px・1.9→1.8 */
      :where(.page-company) .p-c1-rows__txt span { font-size:15px; line-height:1.8; } /* A12 16→15px・1.9→1.8 */
      :where(.page-access, .page-company) .p-next__row span { font-size:17px; line-height:1.8; } /* A13 18→17px・1.9→1.8 */
      :where(.page-access, .page-company, .page-company-5s) .p-lead { font-size:17px; line-height:1.8; } /* A05 18→17px・1.9→1.8 */
      :where(.page-access, .page-company, .page-company-faq, .page-contact, .post-type-archive-news) .p-pagehead__sub { font-size:20.8px; line-height:1.8; } /* A04 21.8→20.8px・1.9→1.8 */
      /* 行動規範の「詳しく見る」はSPのアコーディオン用。PCでは出さない（SP用の指定しかなく、PCで素のボタンが出ていた） */
      :where(.page-company) .p-c1-code__more { display:none; }
      /* 社長名の上の余白を広げる（17.6px → 40px） */
      :where(.page-company) .p-c1-msg__sign { margin-top:2.5rem; }
  }
  @media (max-width:640px) {
      :where(.page-company-5s) .p-5s-fv__sub { font-size:15px; line-height:1.8; } /* A16 16→15px・1.9→1.8 */
      :where(.page-company-5s) .p-5s-intro__body p { font-size:15px; line-height:1.8; } /* A17 16→15px・1.9→1.8 */
      :where(.page-company-5s) .p-5s-def__text { font-size:15px; line-height:1.8; } /* A18 16→15px・1.9→1.8 */
      :where(.page-company-5s) .p-5s-def__close p:not(.p-5s-def__strong) { font-size:15px; line-height:1.8; } /* A19 16→15px・1.9→1.8 */
      :where(.page-company-5s) .p-5s-act__t { font-size:15px; line-height:1.85; } /* A20 16→15px・2→1.85 */
      :where(.page-company-5s) .p-5s-quote__text { font-size:14px; line-height:1.85; } /* A21 15→14px・2→1.85 */
      :where(.page-company-5s) .p-5s-contest__body p { font-size:15px; line-height:1.9; } /* A22 16→15px・2.05→1.9 */
      :where(.page-company-5s) .p-5s-safety__sub { font-size:14px; line-height:1.8; } /* A23 15→14px・1.9→1.8 */
      :where(.page-company-5s) .p-5s-safety__lead { font-size:15px; line-height:1.8; } /* A24 16→15px・1.9→1.8 */
      :where(.page-company-5s) .p-5s-scene__when { font-size:14px; line-height:1.6; } /* A25 15→14px・1.6→1.6 */
      :where(.page-company-5s) .p-5s-scene__t { font-size:15px; line-height:1.85; } /* A26 16→15px・2→1.85 */
      :where(.page-company-5s) .p-5s-safety__closetext { font-size:15px; line-height:1.85; } /* A27 16→15px・2→1.85 */
      :where(.page-company-5s) .p-5s-close__text { font-size:15px; line-height:1.85; } /* A28 16→15px・2→1.85 */
      :where(.page-company-5s) .p-5s-quote__name { font-size:14px; line-height:1.8; } /* B12 15→14px・1.9→1.8 */
      :where(.page-company-5s) .p-5s-pull__name { font-size:14px; line-height:1.8; } /* B13 15→14px・1.9→1.8 */
      :where(.page-company-5s) .p-5s-survey__note { font-size:12px; line-height:1.8; } /* B14 13→12px・1.8→1.8 */
      :where(.page-company-5s) .p-5s-voice__name { font-size:13px; line-height:1.8; } /* B16 14→13px・1.9→1.8 */
      :where(.page-company-5s) .p-5s-next__dt { font-size:14px; line-height:1.8; } /* B18 15→14px・1.8→1.8 */
      :where(.page-company-5s) .p-5s-tbd { font-size:12px; line-height:1.8; } /* C09 13→12px・1.9→1.8 */
      :where(.page-company-faq) .p-faqend__text { font-size:15px; line-height:1.85; } /* A30 16→15px・1.95→1.85 */
      :where(.page-home) .t-muted { font-size:14px; line-height:1.8; } /* A01 15→14px・1.9→1.8 */
      :where(.page-home) .c-split__lead { font-size:15.8px; line-height:1.7; } /* A03 16.8→15.8px・1.7→1.7 */
      :where(.page-home) .c-news__date { font-size:14.2px; line-height:1.8; } /* B02 15.2→14.2px・1.9→1.8 */
      :where(.page-home) .c-rep__quote { font-size:16px; line-height:1.85; } /* D06 17→16px・2→1.85 */
      :where(.post-type-archive-news, .single-news) .p-news__date { font-size:14px; line-height:1.8; } /* A37 15→14px・1.9→1.8 */
      :where(.post-type-archive-news, .single-news) .p-news__tag { font-size:12px; line-height:1.5; } /* B21 12.8→12px・1.5→1.5 */
      :where(.single-news) .p-article p { font-size:14px; line-height:1.85; } /* A38 15→14px・1.95→1.85 */
      :where(.single-news) .p-article li { font-size:14px; line-height:1.85; } /* A39 15→14px・1.95→1.85 */
      :where(.single-news) .p-article a { font-size:14px; line-height:1.85; } /* A40 15→14px・1.95→1.85 */
      :where(.single-news) .p-article__ext { font-size:12px; line-height:1.85; } /* B22 13→12px・1.95→1.85 */
      :where(.single-news) .p-article__file { font-size:14px; line-height:1.85; } /* C30 15→14px・1.95→1.85 */
      :where(.single-news) .p-article__back { font-size:14px; line-height:1.85; } /* C31 15→14px・1.95→1.85 */
      :where(.page-contact) .p-ct-intro__lead { font-size:15px; line-height:1.8; } /* A31 16→15px・1.9→1.8 */
      :where(.page-contact) .p-ct-intro__close { font-size:15px; line-height:1.8; } /* A32 16→15px・1.9→1.8 */
      :where(.page-contact) .p-ct-form__lead { font-size:15px; line-height:1.8; } /* A33 16→15px・1.9→1.8 */
      :where(.page-contact) .p-ct-consent__text { font-size:15px; line-height:1.8; } /* A34 16→15px・1.9→1.8 */
      :where(.page-contact) .p-ct-spam__text { font-size:15px; line-height:1.8; } /* A35 16→15px・1.9→1.8 */
      :where(.page-contact) .p-ct-tel__text { font-size:15px; line-height:1.8; } /* A36 16→15px・1.9→1.8 */
      :where(.page-access) .p-c2-next__body span { font-size:15px; line-height:1.85; } /* A15 16→15px・1.85→1.85 */
      :where(.page-company) .p-c1-msg__block p:not(.p-c1-msg__sign) { font-size:14px; line-height:1.85; } /* A06 15→14px・2→1.85 */
      :where(.page-company) .p-c1-phil__list li { font-size:14px; line-height:1.75; } /* A07 15→14px・1.75→1.75 */
      :where(.page-company) .p-c1-code__list li { font-size:15px; line-height:1.75; } /* A08 16→15px・1.75→1.75 */
      :where(.page-company) .p-cond__desc { font-size:14px; line-height:1.85; } /* A09 15→14px・1.85→1.85 */
      :where(.page-company) .p-c1-turn__txt { font-size:14px; line-height:1.6; } /* A10 15→14px・1.6→1.6 */
      :where(.page-company) .p-c1-rows__txt { font-size:14px; line-height:1.8; } /* A11 15→14px・1.8→1.8 */
      :where(.page-access, .page-company) .p-next__row span { font-size:14px; line-height:1.8; } /* A13 15→14px・1.9→1.8 */
      :where(.page-access, .page-company, .page-company-5s) .p-lead { font-size:15px; line-height:1.8; } /* A05 16→15px・1.9→1.8 */
      :where(.page-access, .page-company, .page-company-faq, .page-contact, .post-type-archive-news) .p-pagehead__sub { font-size:15px; line-height:1.8; } /* A04 16→15px・1.9→1.8 */
      :where(.page-company) .p-c1-msg__sign { margin-top:1.5rem; } /* 社長名の上の余白（9px → 24px） */
  }

  /* ===== 2026-10-29 SPの長文の文字サイズをそろえる =====
     カード以外の長文：トップ「創業以来〜」と同じ14px（375px幅のとき）
     カードの中の長文：設備・生産環境「温度センサーを〜」と同じ13.44px（375px幅のとき）
     行間はどちらも1.8。画面幅に合わせて伸び縮みするよう rem で指定 */
  @media (max-width:640px) {
    /* カード以外の長文 → 14px */
    html:where(:has(> :is(.page-access, .page-company, .page-company-faq, .page-contact, .post-type-archive-news))) body :is(.p-pagehead__sub, #__lnsp) { font-size:0.875rem; line-height:1.8; }
    html:where(:has(> :is(.page-access, .page-company, .page-company-5s))) body :is(.p-lead, #__lnsp) { font-size:0.875rem; line-height:1.8; }
    html:where(:has(> :is(.page-company-5s))) body :is(.p-5s-intro__body p, #__lnsp) { font-size:0.875rem; line-height:1.8; }
    html:where(:has(> :is(.page-company-5s))) body :is(.p-5s-def-head__lead, #__lnsp) { font-size:0.875rem; line-height:1.8; }
    html:where(:has(> :is(.page-company-5s))) body :is(.p-5s-def__text, #__lnsp) { font-size:0.875rem; line-height:1.8; }
    html:where(:has(> :is(.page-company-5s))) body :is(.p-5s-def__close p:not(.p-5s-def__strong), #__lnsp) { font-size:0.875rem; line-height:1.8; }
    html:where(:has(> :is(.page-company-5s))) body :is(.p-5s-act__t, #__lnsp) { font-size:0.875rem; line-height:1.8; }
    html:where(:has(> :is(.page-company-5s))) body :is(.p-5s-quote__text, #__lnsp) { font-size:0.875rem; line-height:1.8; }
    html:where(:has(> :is(.page-company-5s))) body :is(.p-5s-contest__body p, #__lnsp) { font-size:0.875rem; line-height:1.8; }
    html:where(:has(> :is(.page-company-5s))) body :is(.p-5s-safety__lead, #__lnsp) { font-size:0.875rem; line-height:1.8; }
    html:where(:has(> :is(.page-company-5s))) body :is(.p-5s-safety__closetext, #__lnsp) { font-size:0.875rem; line-height:1.8; }
    html:where(:has(> :is(.page-company-5s))) body :is(.p-5s-close__text, #__lnsp) { font-size:0.875rem; line-height:1.8; }
    html:where(:has(> :is(.page-company-faq))) body :is(.p-faqend__text, #__lnsp) { font-size:0.875rem; line-height:1.8; }
    html:where(:has(> :is(.page-company))) body :is(.p-c1-msg__block p, #__lnsp) { font-size:0.875rem; line-height:1.8; }
    html:where(:has(> :is(.page-company))) body :is(.p-c1-phil__list li, #__lnsp) { font-size:0.875rem; line-height:1.8; }
    html:where(:has(> :is(.page-contact))) body :is(.p-ct-intro__lead, #__lnsp) { font-size:0.875rem; line-height:1.8; }
    html:where(:has(> :is(.page-contact))) body :is(.p-ct-intro__close, #__lnsp) { font-size:0.875rem; line-height:1.8; }
    html:where(:has(> :is(.page-contact))) body :is(.p-ct-form__lead, #__lnsp) { font-size:0.875rem; line-height:1.8; }
    html:where(:has(> :is(.single-news))) body :is(.p-article p, #__lnsp) { font-size:0.875rem; line-height:1.8; }
    html:where(:has(> :is(.single-news))) body :is(.p-article li, #__lnsp) { font-size:0.875rem; line-height:1.8; }
    /* カードの中の長文 → 13.44px */
    html:where(:has(> :is(.page-access))) body :is(.p-c2-card__txt, #__lnsp) { font-size:0.84rem; line-height:1.8; }
    html:where(:has(> :is(.page-access))) body :is(.p-c2-next__body span, #__lnsp) { font-size:0.84rem; line-height:1.8; }
    html:where(:has(> :is(.page-company-faq))) body :is(.p-faq__body p:not(.p-faq__note), #__lnsp) { font-size:0.84rem; line-height:1.8; }
    html:where(:has(> :is(.page-company))) body :is(.p-c1-code__list li, #__lnsp) { font-size:0.84rem; line-height:1.8; }
    html:where(:has(> :is(.page-contact))) body :is(.p-ct-consent__text, #__lnsp) { font-size:0.84rem; line-height:1.8; }
    html:where(:has(> :is(.page-home))) body :is(.c-phil__item, #__lnsp) { font-size:0.84rem; line-height:1.8; }
  }

  /* ===== 2026-10-30 注釈（※・出典）の文字サイズを12pxにそろえる =====
     PCは12px。SPは375px幅のとき12px（画面幅に合わせて伸び縮みするよう rem で指定）。行間は変えない */
  @media (min-width:641px) {
    html:where(:has(> :is(.page-company-5s))) body :is(.p-5s-survey__note, #__note12) { font-size:12px; }
    html:where(:has(> :is(.page-company-faq))) body :is(.p-faq__note, #__note12) { font-size:12px; }
    html:where(:has(> :is(.page-company))) body :is(.p-access__note, #__note12) { font-size:12px; }
  }
  @media (max-width:640px) {
    html:where(:has(> :is(.page-company-5s))) body :is(.p-5s-survey__note, #__note12) { font-size:0.75rem; }
    html:where(:has(> :is(.page-company-faq))) body :is(.p-faq__note, #__note12) { font-size:0.75rem; }
    html:where(:has(> :is(.page-company))) body :is(.p-access__note, #__note12) { font-size:0.75rem; }
  }

  /* =====================================================================
     C7｜個人情報保護方針 ページ固有スタイル（2026-10-30）
     ・お知らせ・FAQと同じシンプルなトーン。写真・アイコン・表示アニメーションは使わない
     ・本文はPC 16px・行間1.8、SP 14px（375px幅のとき）・行間1.8（原稿の目安）
     ===================================================================== */
  :where(.page-privacy-policy) .p-pagehead.p-pagehead--plain { min-height:calc(var(--header-h) + 14.75rem); }
  :where(.page-privacy-policy) .p-pp { color:var(--c-text); }
  :where(.page-privacy-policy) .p-pp p:not([class*="p-cond__"]),
  :where(.page-privacy-policy) .p-pp li,
  :where(.page-privacy-policy) .p-pp__table th,
  :where(.page-privacy-policy) .p-pp__table td { font-size:16px; line-height:1.8; }
  :where(.page-privacy-policy) .p-pp p + p:not([class*="p-cond__"]) { margin-top:1em; } /* 2026-11-02 WP では概要の表の項目が p になるため除く */
  /* 項目：番号つきの見出し＋下線。項目どうしは広めに離す */
  :where(.page-privacy-policy) .p-pp__item { margin-top:var(--sp-8); }
  :where(.page-privacy-policy) .p-pp__title {
    display:flex; align-items:baseline; gap:.75em;
    padding-bottom:var(--sp-3); margin-bottom:var(--sp-5); border-bottom:1px solid var(--c-line);
    font-family:var(--ff-serif); font-size:1.375rem; line-height:1.5; font-weight:var(--fw-semibold); color:var(--c-brand-900);
  }
  :where(.page-privacy-policy) .p-pp__no { font-family:var(--ff-num); font-size:.875rem; font-weight:var(--fw-bold); letter-spacing:.08em; color:var(--c-brand-800); }
  :where(.page-privacy-policy) .p-pp__sub { margin-top:var(--sp-5); margin-bottom:.4rem; font-size:1.0625rem; line-height:1.6; font-weight:var(--fw-bold); color:var(--c-brand-900); }
  :where(.page-privacy-policy) .p-pp__title + .p-pp__sub { margin-top:0; }
  /* 箇条書き：「・」で揃える */
  :where(.page-privacy-policy) .p-pp__list { margin-top:.8rem; padding-left:0; list-style:none; }
  :where(.page-privacy-policy) .p-pp__list li { position:relative; padding-left:1.1em; }
  :where(.page-privacy-policy) .p-pp__list li::before { content:"・"; position:absolute; left:0; color:var(--c-brand-800); }
  :where(.page-privacy-policy) .p-pp__list li + li { margin-top:.3rem; }
  :where(.page-privacy-policy) .p-pp__cond { margin-top:var(--sp-5); }
  :where(.page-privacy-policy) .p-pp__cond .p-cond__row { grid-template-columns:160px 1fr; }
  :where(.page-privacy-policy) .p-pp__cond .p-cond__term { font-size:16px; }
  :where(.page-privacy-policy) .p-pp__cond .p-cond__desc { font-size:16px; line-height:1.8; }
  /* 利用目的の表 */
  :where(.page-privacy-policy) .p-pp__table { width:100%; margin-block:var(--sp-5); border-collapse:collapse; border-top:1px solid var(--c-line); }
  :where(.page-privacy-policy) .p-pp__table th,
  :where(.page-privacy-policy) .p-pp__table td { padding:1rem var(--sp-4); border-bottom:1px solid var(--c-line); text-align:left; vertical-align:top; }
  :where(.page-privacy-policy) .p-pp__table thead th { padding-block:.7rem; background:var(--c-brand-50); font-size:14px; font-weight:var(--fw-bold); color:var(--c-brand-900); }
  :where(.page-privacy-policy) .p-pp__table tbody th { width:32%; font-weight:var(--fw-bold); color:var(--c-brand-900); }
  :where(.page-privacy-policy) .p-pp__table .p-pp__list { margin-top:0; }
  /* 窓口：強いCTAにしない、線で囲んだ静かなブロック */
  :where(.page-privacy-policy) .p-pp__contact { padding:var(--sp-5) var(--sp-6); border:1px solid var(--c-line); background:#fff; }
  :where(.page-privacy-policy) .p-pp .p-pp__contact-name { margin-top:var(--sp-4); font-weight:var(--fw-bold); color:var(--c-brand-900); }
  :where(.page-privacy-policy) .p-pp .p-pp__contact-tel { margin-top:.2rem; }
  :where(.page-privacy-policy) .p-pp__contact-tel a { color:inherit; text-decoration:none; }
  :where(.page-privacy-policy) .p-pp__contact-btn { margin-top:var(--sp-5); }
  /* 制定日・改定日 */
  :where(.page-privacy-policy) .p-pp__dates { margin-top:var(--sp-7); text-align:right; font-size:14px; line-height:1.8; color:var(--c-text-muted); }
  :where(.page-privacy-policy) .p-pp__dates div { display:flex; justify-content:flex-end; gap:1em; }
  @media (max-width:640px) {
    :where(.page-privacy-policy) .p-pagehead.p-pagehead--plain .p-pagehead__copy { padding-block:calc(var(--header-h) + 2.25rem) 2.25rem; }
    :where(.page-privacy-policy) .p-pp p:not([class*="p-cond__"]),
    :where(.page-privacy-policy) .p-pp li,
    :where(.page-privacy-policy) .p-pp__table th,
    :where(.page-privacy-policy) .p-pp__table td,
    :where(.page-privacy-policy) .p-pp__cond .p-cond__term,
    :where(.page-privacy-policy) .p-pp__cond .p-cond__desc { font-size:.875rem; }
    :where(.page-privacy-policy) .p-pp__item { margin-top:var(--sp-7); }
    :where(.page-privacy-policy) .p-pp__title { font-size:1.1875rem; margin-bottom:var(--sp-4); }
    :where(.page-privacy-policy) .p-pp__sub { font-size:.9375rem; }
    :where(.page-privacy-policy) .p-pp__cond .p-cond__row { grid-template-columns:1fr; }
    /* 表は1カラムに積む（場面 → 目的） */
    :where(.page-privacy-policy) .p-pp__table thead { display:none; }
    :where(.page-privacy-policy) .p-pp__table tr,
    :where(.page-privacy-policy) .p-pp__table th,
    :where(.page-privacy-policy) .p-pp__table td { display:block; width:auto; }
    :where(.page-privacy-policy) .p-pp__table tbody th { width:auto; padding:1rem var(--sp-1) .3rem; border-bottom:0; }
    :where(.page-privacy-policy) .p-pp__table td { padding:0 var(--sp-1) 1rem; }
    :where(.page-privacy-policy) .p-pp__contact { padding:var(--sp-5) var(--sp-4); }
    :where(.page-privacy-policy) .p-pp__contact-btn .c-btn { display:flex; width:100%; justify-content:center; }
    :where(.page-privacy-policy) .p-pp__dates { font-size:.75rem; }
  }

  /* ===== 2026-10-30 ヘッダーメニュー：SPメニューを全画面に・下部にほかのサイトへ移るボタン ===== */
  /* 開いている間は後ろのページをスクロールさせず、下の追従CTA（200）より上に出して隠す */
  html.is-drawer-open { overflow:hidden; }
  .l-header:has(.l-drawer.is-open) { z-index:210; }
  /* 高さは js（各ヘッダー）で画面の下端までに合わせる。中身が多いときはメニューの中だけスクロール */
  .l-drawer.is-open { display:flex; flex-direction:column; max-height:none; overflow-y:auto; overscroll-behavior:contain; border-bottom:0; }
  .l-drawer.is-open > * { flex-shrink:0; }
  /* 下部のボタン2つ：フッターのボタン（.l-footer__brand-btn のSP）と同じ形。帯の色は各サイトのフッターと同じ */
  .l-drawer__sites {
    display:flex; gap:.5rem; margin-top:auto;
    padding:1.25rem var(--pad) calc(1.25rem + env(safe-area-inset-bottom, 0px));
    background:var(--c-brand-800);
  }
  :where(.is-site-buyer, .is-site-recruit) .l-drawer__sites { background:#1a6299; }
  .l-drawer .l-drawer__site {
    flex:1 1 0; min-width:0; display:flex; align-items:center; justify-content:center; box-sizing:border-box;
    min-height:2.75rem; padding:.3rem .35rem; border:1px solid rgba(255,255,255,.55); border-radius:3px;
    font-size:.8125rem; font-weight:var(--fw-bold); line-height:1.4; letter-spacing:.03em;
    color:var(--c-text-invert); text-align:center; white-space:nowrap; background:transparent;
  }
  .l-drawer .l-drawer__site:hover { background:rgba(255,255,255,.1); color:var(--c-text-invert); }
  /* 2026-10-30 帯は白背景に。ボタンは各サイトのフッターと同じ青の枠・文字にする */
  .l-drawer__sites { background:var(--c-bg); border-top:1px solid var(--c-line); --drawer-site:var(--c-brand-800); }
  :where(.is-site-buyer, .is-site-recruit) .l-drawer__sites { background:var(--c-bg); --drawer-site:#1a6299; }
  .l-drawer .l-drawer__site { border-color:var(--drawer-site); color:var(--drawer-site); }
  .l-drawer .l-drawer__site:hover { background:var(--drawer-site); color:var(--c-text-invert); }
  /* 2026-10-30 採用・バイヤー：カテゴリ名（働く価値・現場 など）と最初のリンクの間を詰める（21px → 約9px） */
  .l-drawer .l-drawer__cat + .is-child { padding-top:.2rem; }
  /* 2026-10-30 下部のまとまり：申し込み系のボタン（コーポレート＝新卒採用／中途採用、バイヤー＝お問い合わせ）を、サイト切替ボタンのすぐ上に置く。帯の上の線はなし */
  .l-drawer__sites { border-top:0; }
  .l-drawer .l-drawer__ctas {
    display:grid; grid-template-columns:none; grid-auto-flow:column; grid-auto-columns:1fr; gap:.5rem;
    margin:auto 0 0; padding:1.25rem var(--pad) 0; background:var(--c-bg);
  }
  /* 2026-10-30 お問い合わせなどのボタンと、下のサイト切替ボタンの間を少し広げる（8px → 16px） */
  .l-drawer .l-drawer__ctas + .l-drawer__sites { margin-top:0; padding-top:1rem; }
  /* ボタンの段が2つ続くとき（コーポレート：新卒採用／中途採用 → お問い合わせ）は、段の間を8pxに */
  .l-drawer .l-drawer__ctas + .l-drawer__ctas { margin-top:0; padding-top:.5rem; }
  /* 2026-10-30 リンク一覧の最後のリンクの下にも線を引く（下のボタンのまとまりの直前のリンク） */
  .l-drawer > a:has(+ :is(.l-drawer__ctas, .l-drawer__sites)) { border-bottom:1px solid var(--c-line); }
  .l-drawer .l-drawer__ctas .l-drawer__cta {
    display:flex; flex-direction:column; align-items:center; justify-content:center; box-sizing:border-box;
    width:auto; min-height:3.25rem; margin:0; padding:.6em .5em; border-top:0;
    line-height:1.3; text-align:center; white-space:nowrap; color:var(--c-text-invert);
  }
  /* お問い合わせページ（バイヤーから来たとき）：バイヤーのヘッダーなので、ボタンもバイヤーと同じ青に */
  html.is-from-buyer:where(:has(> .page-contact)) .l-drawer__cta.c-btn--primary { background:#273a78; border-color:#273a78; }
  /* コーポレートのお問い合わせボタン：バイヤーのお問い合わせボタンと同じ紺 */
  :where(.is-site-corporate) .l-drawer__cta.is-contact { background:#273a78; border-color:#273a78; color:var(--c-text-invert); }
  :where(.is-site-corporate) .l-drawer__cta.is-contact:hover { background:#1c2a59; border-color:#1c2a59; }
  /* 2026-10-30 新卒採用／中途採用：メニューの最下部にベタ付け（左右・下・2つの間の余白なし、角丸なし） */
  .l-drawer .l-drawer__sites:has(+ .l-drawer__ctas--flush) { padding-bottom:1.25rem; }
  .l-drawer .l-drawer__ctas--flush { margin-top:0; padding:0; gap:0; }
  /* 2026-10-30 SPメニューのリンク（アコーディオンをやめた分）：文字の大きさは前の見出し（.l-drawer__head）と同じ */
  :where(.is-site-corporate) .l-drawer .l-drawer__link { font-size:1rem; }
  .l-drawer .l-drawer__ctas--flush .l-drawer__cta {
    min-height:3.75rem; border-radius:0; border:0;
    padding:.6em .5em calc(.6em + env(safe-area-inset-bottom, 0px));
  }

  /* ===== 2026-10-30 コーポレート：「採用情報を見る」を新卒採用（1日体験）／中途採用の2つに（採用ページのヘッダーと同じ形） ===== */
  :where(.is-site-corporate) .l-nav__ctas { display:grid; grid-auto-flow:column; grid-auto-columns:1fr; flex:0 0 auto; }
  :where(.is-site-corporate) .l-nav__ctas .l-header__cta,
  :where(.is-site-corporate) .l-drawer__ctas .l-drawer__cta {
    flex-direction:column; justify-content:center; gap:0; line-height:1.3; text-align:center; white-space:nowrap;
  }
  :where(.is-site-corporate) .l-nav__ctas .l-header__cta { padding:.6em 1.1em; }
  :where(.is-site-corporate) .l-header__cta-l1,
  :where(.is-site-corporate) .l-header__cta-l2 { display:block; }
  :where(.is-site-corporate) .l-header__cta-l2 { font-size:.86em; }
  :where(.is-site-corporate) :is(.l-header__cta, .l-drawer__cta).c-btn--navy { background:#273a78; border-color:#273a78; color:var(--c-text-invert); }
  :where(.is-site-corporate) :is(.l-header__cta, .l-drawer__cta).c-btn--navy:hover { background:#1c2a59; border-color:#1c2a59; }
  /* SPメニュー内の2つ：横に並べる */
  :where(.is-site-corporate) .l-drawer__ctas { display:grid; grid-template-columns:1fr 1fr; gap:.5rem; margin:var(--sp-4) var(--pad); }
  :where(.is-site-corporate) .l-drawer__ctas .l-drawer__cta { display:flex; width:auto; margin:0; padding:.7em .5em; }
  /* フッター：「その他」をTOP列に統合して3列になったため、列の並びを3列に */
  @media (min-width:769px) {
    :where(.is-site-corporate) .l-footer__cols { grid-template-columns:repeat(2, minmax(0,max-content) 1px) minmax(0,max-content); }
  }
  /* 2026-10-30 ベタ付けの新卒採用／中途採用：「新卒採用（1日体験）」を1行にし、高さを低く（375px幅で48px）。
     下の一般的なボタン指定より後に効くよう、クラスを重ねて強くしている */
  .l-drawer .l-drawer__ctas.l-drawer__ctas--flush .l-drawer__cta {
    flex-direction:row; flex-wrap:nowrap; gap:0; border-radius:0; border:0;
    min-height:calc(min(100vw, 430px) / 375 * 48);
    padding:.3em .5em calc(.3em + env(safe-area-inset-bottom, 0px)); line-height:1.3;
  }
  .l-drawer .l-drawer__ctas.l-drawer__ctas--flush .l-header__cta-l1,
  .l-drawer .l-drawer__ctas.l-drawer__ctas--flush .l-header__cta-l2 { display:inline; font-size:1em; }
  /* 2026-10-30 5S CONTEST（SP）：縦長の枠では写真が高さいっぱいに表示され、写真上端の濃いグレーの帯が見えていた。
     写真を少しだけ大きくして下端そろえにし、上端の帯を枠の外に出す（PCは変更なし） */
  @media (max-width:640px) {
    :where(.page-company-5s) #contest::before { background-size:cover, auto 106%; background-position:center, 50% 100%; }
  }

  /* 2026-10-30 TOP「あなたが知りたい林牧場へ。」：2つのリンクの下に、4つのページへのリンク
     上の2つ（.c-split）と同じフルブリード。写真の上にリンク名を白い文字で置く */
  /* 2026-10-30 4つの間・上の2つとの間・左右に4pxのすき間 */
  :where(.page-home) .p-doors { display:grid; grid-template-columns:repeat(4, minmax(0,1fr)); gap:4px; width:100%; margin-top:4px; padding-inline:4px; box-sizing:border-box; }
  :where(.page-home) .p-doors__pane {
    position:relative; display:flex; align-items:flex-end; overflow:hidden;
    min-height:clamp(200px, 19vw, 280px); padding:clamp(1rem, 1.8vw, 1.5rem);
    color:var(--c-text-invert); text-decoration:none;
  }
  :where(.page-home) .p-doors__img {
    /* 2026-10-30 幅が端数（182.5pxなど）になると縁に細い線が出るため、写真を上下左右1pxずつはみ出させて覆う */
    position:absolute; inset:-1px; width:calc(100% + 2px); height:calc(100% + 2px); max-width:none; object-fit:cover;
    transition:transform .6s cubic-bezier(.2,.6,.2,1);
  }
  /* 写真を少し暗くしてボタンを読みやすく（上の2つと同じグラデーション） */
  :where(.page-home) .p-doors__pane::after {
    content:""; position:absolute; inset:-1px; pointer-events:none;
    background:linear-gradient(to top, rgba(24,36,60,.70), rgba(24,36,60,.18) 55%, rgba(24,36,60,.04));
  }
  :where(.page-home) .p-doors__pane:hover .p-doors__img { transform:scale(1.05); }
  /* 2026-10-30 FAQ：「？」が小さく見えるため、写真を拡大して表示（「？」のあたりを中心に。マウスを乗せたときの拡大はこの上に重なる） */
  :where(.page-home) .p-doors__img--faq { scale:1.3; transform-origin:50% 55%; }
  :where(.page-home) .p-doors__label {
    position:relative; z-index:1; display:flex; align-items:center; justify-content:space-between; gap:.6em; width:100%;
    font-family:var(--ff-sans); font-weight:var(--fw-bold); font-size:1.125rem; line-height:1.4; letter-spacing:.04em;
    color:var(--c-text-invert); text-shadow:0 1px 8px rgba(0,0,0,.45);
  }
  :where(.page-home) .p-doors__arrow { flex:none; transition:transform var(--dur) var(--ease); }
  :where(.page-home) .p-doors__pane:hover .p-doors__arrow { transform:translateX(4px); }
  @media (max-width:768px) {
    :where(.page-home) .p-doors { grid-template-columns:repeat(2, minmax(0,1fr)); }
    :where(.page-home) .p-doors__pane { min-height:0; aspect-ratio:4 / 3; }
  }
  @media (max-width:640px) {
    :where(.page-home) .p-doors__pane { padding:.75rem; }
    :where(.page-home) .p-doors__label { font-size:.875rem; }
  }
  /* 2026-10-30 SP：カードの中の文（10/29に13.44px・行間1.8にそろえたもの）のうち、指定の箇所の行間を1.6に詰める（No.は確認用の通し番号） */
  @media (max-width:640px) {
    html:where(:has(> :is(.page-company))) body :is(.p-c1-code__list li, #__lh16) { line-height:1.6; } /* No.2 */
    html:where(:has(> :is(.page-access))) body :is(.p-c2-card__txt, #__lh16) { line-height:1.6; } /* No.3 */
    html:where(:has(> :is(.page-access))) body :is(.p-c2-next__body span, #__lh16) { line-height:1.6; } /* No.4 */
    html:where(:has(> :is(.page-contact))) body :is(.p-ct-consent__text, #__lh16) { line-height:1.6; } /* No.6 */
  }
  /* 2026-10-30 トップ OUR VALUE（SP）：3つの考えのボックス。行間1.8→1.6、ボックス内の上下余白 約20.6→14px、ボックスの間 16→10px */
  @media (max-width:640px) {
    html:where(:has(> :is(.page-home))) body :is(.c-phil, #__phil) { gap:.625rem; }
    html:where(:has(> :is(.page-home))) body :is(.c-phil__item, #__phil) { line-height:1.6; padding-top:.875rem; padding-bottom:.875rem; }
  }

  /* ===== 2026-10-31 SP：セクションの境目の余白をそろえる（中途採用ページに合わせる） =====
     境目ごとに「前のセクションの最後の要素の下」と「次のセクションの最初の文字の上」を測り、
     大きい方にそろえる（狭めない）。44px未満のときは44px（中途採用ページと同じ）にする。数値は375px幅で測った値。
     FVの下・飾りの区切り・CTA帯・写真が画面の端まで来る所は対象外 */
  @media (max-width:640px) {
    /* トップ：#about→#dn-01 下64/上42 は対象外（utilities.css の「OUR VALUE上の余白を約半分に」を優先）、#dn-01→#dn-02 下64/上36→64、#dn-02→#dn-03 下24/上36→44、#dn-03→#dn-04 下24/上76→76、#dn-04→#contact 下79/上55→79 */
    html:where(:has(> :is(.page-home))) body :is(#dn-02, #__secgap) { padding-bottom:4rem; } /* 2026-11-01 境目の上下を同じに：「採用情報を見る」の下〜境目＝境目〜FOR BUYERS の文字（375pxで約64px） */
    html:where(:has(> :is(.page-home))) body :is(#dn-03, #__secgap) { padding-bottom:4.75rem; }
    html:where(:has(> :is(.page-home))) body :is(#dn-02, #__secgap) { padding-top:3.25rem; }
    html:where(:has(> :is(.page-home))) body :is(#dn-03, #__secgap) { padding-top:3.3rem; } /* 2026-11-01 境目の上下を同じに（文字の上の行間の分を引いた値） */
    html:where(:has(> :is(.page-home))) body :is(#contact, #__secgap) { padding-top:2.1rem; } /* 2026-11-01 境目の上下を同じに：上（最後のリンクの下〜境目）に合わせ、境目〜MOREの文字を同じ幅に（文字の上の行間の分を引いた値） */
    /* 林牧場について：main > :nth-child(2)→#dn-01 下70/上76→76、#dn-01→#dn-02 下64/上76→76、#dn-02→#dn-03 下64/上76→76、#dn-03→#dn-04 下64/上76→76、#dn-04→#dn-05 下76/上76→76、#dn-05→main > :nth-child(8) 下64/上45→64 */
    html:where(:has(> :is(.page-company))) body :is(main > :nth-child(2), #__secgap) { padding-bottom:4.375rem; }
    html:where(:has(> :is(.page-company))) body :is(#dn-01, #__secgap) { padding-bottom:4.75rem; }
    html:where(:has(> :is(.page-company))) body :is(#dn-02, #__secgap) { padding-bottom:4.75rem; }
    html:where(:has(> :is(.page-company))) body :is(#dn-03, #__secgap) { padding-bottom:4.75rem; }
    html:where(:has(> :is(.page-company))) body :is(main > :nth-child(8), #__secgap) { padding-top:3.5875rem; }
    /* 農場・施設：main > :nth-child(2)→#dn-01 下70/上76→76、#dn-01→#dn-02 下69/上76→76、#dn-02→#dn-03 下64/上76→76、#dn-03→main > :nth-child(8) 下68/上38→68 */
    html:where(:has(> :is(.page-access))) body :is(main > :nth-child(2), #__secgap) { padding-bottom:4.375rem; }
    html:where(:has(> :is(.page-access))) body :is(#dn-01, #__secgap) { padding-bottom:4.4375rem; }
    html:where(:has(> :is(.page-access))) body :is(#dn-02, #__secgap) { padding-bottom:4.75rem; }
    html:where(:has(> :is(.page-access))) body :is(main > .l-section:has(> .l-container > .p-c2-next__main), #__secgap) { padding-top:4.275rem; } /* 2026-11-06 「main > :nth-child(8)」だと、WPでは本文の<script>が消えて番号がずれ効かなかったため、最後の「採用情報を見る」のセクションを直接指す */
    /* 5S・労働安全：#intro→#what-is-5s 下61/上66→66、#what-is-5s→#in-action 下60/上66→66、#in-action→#contest 下33/上66→66、#contest→#voice 下62/上60→62、#voice→#safety 下59/上66→66、#safety→#closing 下46/上66→66、#closing→#next 下54/上39→54 */
    html:where(:has(> :is(.page-company-5s))) body :is(#intro, #__secgap) { padding-bottom:3.7125rem; }
    html:where(:has(> :is(.page-company-5s))) body :is(#what-is-5s, #__secgap) { padding-bottom:3.775rem; }
    html:where(:has(> :is(.page-company-5s))) body :is(#in-action, #__secgap) { padding-bottom:4.1025rem; }
    html:where(:has(> :is(.page-company-5s))) body :is(#voice, #__secgap) { padding-bottom:3.8375rem; }
    html:where(:has(> :is(.page-company-5s))) body :is(#safety, #__secgap) { padding-bottom:3.75rem; }
    html:where(:has(> :is(.page-company-5s))) body :is(#voice, #__secgap) { padding-top:3.525rem; }
    html:where(:has(> :is(.page-company-5s))) body :is(#next, #__secgap) { padding-top:2.9775rem; }
    /* お問い合わせ：main > :nth-child(2)→#contactForm 下30/上38→44 */
    html:where(:has(> :is(.page-contact))) body :is(main > :nth-child(2), #__secgap) { padding-bottom:2.375rem; }
    html:where(:has(> :is(.page-contact))) body :is(#contactForm, #__secgap) { padding-top:1.875rem; }
  }
}

/* ===== 2026-10-31 英字ラベルと見出しの間を近づける（PC・SP共通・全ページ） =====
   英字ラベル（t-eyebrow など）の文字の下端から、見出しの文字の上端までを、今の約7割にする（最小18px。もともと18px以下の所はそのまま）。
   見出しの上の余白が u-mt-060 などのユーティリティで付いている所があるため、このブロックは utilities レイヤーに置く。
   数値は PC＝1280px幅、SP＝375px幅で測った値（SPは画面幅に合わせて伸び縮みするよう rem） */
@layer utilities {
  @media (min-width:641px) {
      /* access：.t-eyebrow → .p-pagehead__title　41px→29px */
      html:where(:has(> .page-access)) body :is(.t-eyebrow, #__eb):has(+ .p-pagehead__title) { margin-bottom:0; }
      html:where(:has(> .page-access)) body :is(.t-eyebrow, #__eb) + .p-pagehead__title { margin-top:4px; }
      /* access：.t-eyebrow → .t-h2.t-h2--center-bar　40px→28px */
      html:where(:has(> .page-access)) body :is(.t-eyebrow, #__eb):has(+ .t-h2.t-h2--center-bar) { margin-bottom:0; }
      html:where(:has(> .page-access)) body :is(.t-eyebrow, #__eb) + .t-h2.t-h2--center-bar { margin-top:4px; }
      /* company：.t-eyebrow → .p-pagehead__title　41px→29px */
      html:where(:has(> .page-company)) body :is(.t-eyebrow, #__eb):has(+ .p-pagehead__title) { margin-bottom:0; }
      html:where(:has(> .page-company)) body :is(.t-eyebrow, #__eb) + .p-pagehead__title { margin-top:4px; }
      /* company：.t-eyebrow → .t-h2　40px→28px */
      html:where(:has(> .page-company)) body :is(.t-eyebrow, #__eb):has(+ .t-h2) { margin-bottom:0; }
      html:where(:has(> .page-company)) body :is(.t-eyebrow, #__eb) + .t-h2 { margin-top:4px; }
      /* company：.t-eyebrow → .t-h2.t-h2--center-bar　40px→28px */
      html:where(:has(> .page-company)) body :is(.t-eyebrow, #__eb):has(+ .t-h2.t-h2--center-bar) { margin-bottom:0; }
      html:where(:has(> .page-company)) body :is(.t-eyebrow, #__eb) + .t-h2.t-h2--center-bar { margin-top:4px; }
      /* company-5s：.t-eyebrow → .t-h2　50px→35px */
      html:where(:has(> .page-company-5s)) body :is(.t-eyebrow, #__eb):has(+ .t-h2) { margin-bottom:0; }
      html:where(:has(> .page-company-5s)) body :is(.t-eyebrow, #__eb) + .t-h2 { margin-top:10.59px; }
      /* company-5s：.t-eyebrow → .p-5s-safety__h　53px→37px */
      html:where(:has(> .page-company-5s)) body :is(.t-eyebrow, #__eb):has(+ .p-5s-safety__h) { margin-bottom:0; }
      html:where(:has(> .page-company-5s)) body :is(.t-eyebrow, #__eb) + .p-5s-safety__h { margin-top:9.59px; }
      /* company-5s：.t-eyebrow → .p-5s-close__h　56px→39px */
      html:where(:has(> .page-company-5s)) body :is(.t-eyebrow, #__eb):has(+ .p-5s-close__h) { margin-bottom:0; }
      html:where(:has(> .page-company-5s)) body :is(.t-eyebrow, #__eb) + .p-5s-close__h { margin-top:11.8px; }
      /* company-5s：.t-eyebrow → .t-h2.p-5s-h2--key　53px→37px */
      html:where(:has(> .page-company-5s)) body :is(.t-eyebrow, #__eb):has(+ .t-h2.p-5s-h2--key) { margin-bottom:0; }
      html:where(:has(> .page-company-5s)) body :is(.t-eyebrow, #__eb) + .t-h2.p-5s-h2--key { margin-top:9.59px; }
      /* company-faq：.t-eyebrow → .p-pagehead__title　41px→29px */
      html:where(:has(> .page-company-faq)) body :is(.t-eyebrow, #__eb):has(+ .p-pagehead__title) { margin-bottom:0; }
      html:where(:has(> .page-company-faq)) body :is(.t-eyebrow, #__eb) + .p-pagehead__title { margin-top:4px; }
      /* contact：.t-eyebrow → .p-pagehead__title　40px→28px */
      html:where(:has(> .page-contact)) body :is(.t-eyebrow, #__eb):has(+ .p-pagehead__title) { margin-bottom:0; }
      html:where(:has(> .page-contact)) body :is(.t-eyebrow, #__eb) + .p-pagehead__title { margin-top:4px; }
      /* index：.l-hero__kicker → .l-hero__title　57px→40px */
      html:where(:has(> .page-home)) body :is(.l-hero__kicker, #__eb):has(+ .l-hero__title) { margin-bottom:0; }
      html:where(:has(> .page-home)) body :is(.l-hero__kicker, #__eb) + .l-hero__title { margin-top:-1px; }
      /* index：.t-eyebrow → .t-h2　40px→28px */
      html:where(:has(> .page-home)) body :is(.t-eyebrow, #__eb):has(+ .t-h2) { margin-bottom:0; }
      html:where(:has(> .page-home)) body :is(.t-eyebrow, #__eb) + .t-h2 { margin-top:4px; }
      /* news：.t-eyebrow → .p-pagehead__title　41px→29px */
      html:where(:has(> .post-type-archive-news)) body :is(.t-eyebrow, #__eb):has(+ .p-pagehead__title) { margin-bottom:0; }
      html:where(:has(> .post-type-archive-news)) body :is(.t-eyebrow, #__eb) + .p-pagehead__title { margin-top:4px; }
      /* news-detail：.t-eyebrow → .p-pagehead__title　41px→29px */
      html:where(:has(> .single-news)) body :is(.t-eyebrow, #__eb):has(+ .p-pagehead__title) { margin-bottom:0; }
      html:where(:has(> .single-news)) body :is(.t-eyebrow, #__eb) + .p-pagehead__title { margin-top:4px; }
      /* privacy-policy：.t-eyebrow → .p-pagehead__title　41px→29px */
      html:where(:has(> .page-privacy-policy)) body :is(.t-eyebrow, #__eb):has(+ .p-pagehead__title) { margin-bottom:0; }
      html:where(:has(> .page-privacy-policy)) body :is(.t-eyebrow, #__eb) + .p-pagehead__title { margin-top:4px; }
  }
  @media (max-width:640px) {
      /* access：.t-eyebrow → .p-pagehead__title　34px→24px */
      html:where(:has(> .page-access)) body :is(.t-eyebrow, #__eb):has(+ .p-pagehead__title) { margin-bottom:0; }
      html:where(:has(> .page-access)) body :is(.t-eyebrow, #__eb) + .p-pagehead__title { margin-top:0.375rem; }
      /* access：.t-eyebrow → .t-h2.t-h2--center-bar　34px→24px */
      html:where(:has(> .page-access)) body :is(.t-eyebrow, #__eb):has(+ .t-h2.t-h2--center-bar) { margin-bottom:0; }
      html:where(:has(> .page-access)) body :is(.t-eyebrow, #__eb) + .t-h2.t-h2--center-bar { margin-top:0.375rem; }
      /* company：.t-eyebrow → .p-pagehead__title　34px→24px */
      html:where(:has(> .page-company)) body :is(.t-eyebrow, #__eb):has(+ .p-pagehead__title) { margin-bottom:0; }
      html:where(:has(> .page-company)) body :is(.t-eyebrow, #__eb) + .p-pagehead__title { margin-top:0.375rem; }
      /* company：.t-eyebrow → .t-h2　34px→24px */
      html:where(:has(> .page-company)) body :is(.t-eyebrow, #__eb):has(+ .t-h2) { margin-bottom:0; }
      html:where(:has(> .page-company)) body :is(.t-eyebrow, #__eb) + .t-h2 { margin-top:0.375rem; }
      /* company：.t-eyebrow → .t-h2.t-h2--center-bar　34px→24px */
      html:where(:has(> .page-company)) body :is(.t-eyebrow, #__eb):has(+ .t-h2.t-h2--center-bar) { margin-bottom:0; }
      html:where(:has(> .page-company)) body :is(.t-eyebrow, #__eb) + .t-h2.t-h2--center-bar { margin-top:0.375rem; }
      /* company-5s：.t-eyebrow → .t-h2　34px→24px */
      html:where(:has(> .page-company-5s)) body :is(.t-eyebrow, #__eb):has(+ .t-h2) { margin-bottom:0; }
      html:where(:has(> .page-company-5s)) body :is(.t-eyebrow, #__eb) + .t-h2 { margin-top:0.375rem; }
      /* company-5s：.t-eyebrow → .p-5s-safety__h　36px→25px */
      html:where(:has(> .page-company-5s)) body :is(.t-eyebrow, #__eb):has(+ .p-5s-safety__h) { margin-bottom:0; }
      html:where(:has(> .page-company-5s)) body :is(.t-eyebrow, #__eb) + .p-5s-safety__h { margin-top:0.3125rem; }
      /* company-5s：.t-eyebrow → .p-5s-close__h　36px→25px */
      html:where(:has(> .page-company-5s)) body :is(.t-eyebrow, #__eb):has(+ .p-5s-close__h) { margin-bottom:0; }
      html:where(:has(> .page-company-5s)) body :is(.t-eyebrow, #__eb) + .p-5s-close__h { margin-top:0.3125rem; }
      /* company-5s：.t-eyebrow → .t-h2.p-5s-h2--key　36px→25px */
      html:where(:has(> .page-company-5s)) body :is(.t-eyebrow, #__eb):has(+ .t-h2.p-5s-h2--key) { margin-bottom:0; }
      html:where(:has(> .page-company-5s)) body :is(.t-eyebrow, #__eb) + .t-h2.p-5s-h2--key { margin-top:0.3125rem; }
      /* company-faq：.t-eyebrow → .p-pagehead__title　34px→24px */
      html:where(:has(> .page-company-faq)) body :is(.t-eyebrow, #__eb):has(+ .p-pagehead__title) { margin-bottom:0; }
      html:where(:has(> .page-company-faq)) body :is(.t-eyebrow, #__eb) + .p-pagehead__title { margin-top:0.375rem; }
      /* contact：.t-eyebrow → .p-pagehead__title　34px→24px */
      html:where(:has(> .page-contact)) body :is(.t-eyebrow, #__eb):has(+ .p-pagehead__title) { margin-bottom:0; }
      html:where(:has(> .page-contact)) body :is(.t-eyebrow, #__eb) + .p-pagehead__title { margin-top:0.375rem; }
      /* index：.l-hero__kicker → .l-hero__title　42px→29px */
      html:where(:has(> .page-home)) body :is(.l-hero__kicker, #__eb):has(+ .l-hero__title) { margin-bottom:0; }
      html:where(:has(> .page-home)) body :is(.l-hero__kicker, #__eb) + .l-hero__title { margin-top:0.1875rem; }
      /* index：.t-eyebrow → .t-h2　34px→24px */
      html:where(:has(> .page-home)) body :is(.t-eyebrow, #__eb):has(+ .t-h2) { margin-bottom:0; }
      html:where(:has(> .page-home)) body :is(.t-eyebrow, #__eb) + .t-h2 { margin-top:0.375rem; }
      /* news：.t-eyebrow → .p-pagehead__title　34px→24px */
      html:where(:has(> .post-type-archive-news)) body :is(.t-eyebrow, #__eb):has(+ .p-pagehead__title) { margin-bottom:0; }
      html:where(:has(> .post-type-archive-news)) body :is(.t-eyebrow, #__eb) + .p-pagehead__title { margin-top:0.375rem; }
      /* news-detail：.t-eyebrow → .p-pagehead__title　34px→24px */
      html:where(:has(> .single-news)) body :is(.t-eyebrow, #__eb):has(+ .p-pagehead__title) { margin-bottom:0; }
      html:where(:has(> .single-news)) body :is(.t-eyebrow, #__eb) + .p-pagehead__title { margin-top:0.375rem; }
      /* privacy-policy：.t-eyebrow → .p-pagehead__title　34px→24px */
      html:where(:has(> .page-privacy-policy)) body :is(.t-eyebrow, #__eb):has(+ .p-pagehead__title) { margin-bottom:0; }
      html:where(:has(> .page-privacy-policy)) body :is(.t-eyebrow, #__eb) + .p-pagehead__title { margin-top:0.375rem; }
  }
}

/* 2026-10-31 英字ラベルと見出しの間（追加）：5S「What is 5S」は見出しが箱（.p-5s-def-head）の中にあるため、箱の上の余白で詰める（PC 63→44px／SP 30→21px） */
@layer utilities {
  @media (min-width:641px) { html:where(:has(> .page-company-5s)) body :is(.t-eyebrow, #__eb) + .p-5s-def-head { margin-top:-3px; } }
  @media (max-width:640px) { html:where(:has(> .page-company-5s)) body :is(.t-eyebrow, #__eb) + .p-5s-def-head { margin-top:-.5625rem; } }
}

/* 2026-10-31 コーポレート：ヘッダーの新卒採用（1日体験）／中途採用ボタンを、採用ページのヘッダーと同じ幅・文字・ホバーに（PC）
   採用：1つ96px（文字12.8px・左右の余白1.1em・上下0）。ホバーは 新卒＝濃い緑 #6cb733、中途＝少し明るく（brightness 1.15） */
@layer pages {
  @media (min-width:641px) {
    html:where(:has(> .is-site-corporate)) body .l-nav__ctas .l-header__cta { font-size:12.8px; line-height:1.3; padding:0 1.1em; }
    html:where(:has(> .is-site-corporate)) body .l-nav__ctas .l-header__cta.c-btn--primary:hover { background:#6cb733; border-color:#6cb733; }
    html:where(:has(> .is-site-corporate)) body .l-nav__ctas .l-header__cta.c-btn--navy:hover { background:#273a78; border-color:#273a78; filter:brightness(1.15); }
  }
}

/* 2026-10-31 コーポレート：ヘッダーのInstagramアイコンの位置を採用ページと同じに（右のボタンとの間を詰める。ナビの項目は均等に並ぶため、-15pxで約10px寄る。1120px以上） */
@layer pages {
  @media (min-width:1120px) {
    html:where(:has(> .is-site-corporate)) body .l-nav > .l-nav__ig { margin-right:-15px; }
  }
}

/* 2026-10-31 reCAPTCHAの見本：「私はロボットではありません」を1行に（本物のreCAPTCHAと同じ見え方）。
   画面幅で文字が大きくなると折り返していたため、文字を12pxに固定し、枠の中の間隔を少し詰め、右のロゴ部分は2行で収める */
@layer pages {
  html:where(:has(> :is(.page-contact, .page-recruit-entry))) body :is(.p-ct-captcha__txt, .p-a9captcha__txt, #__cap) { font-size:12px; line-height:1.4; white-space:nowrap; }
  html:where(:has(> :is(.page-contact, .page-recruit-entry))) body :is(.p-ct-captcha, .p-a9captcha, #__cap) { gap:.5rem; padding-inline:.75rem; }
  html:where(:has(> :is(.page-contact, .page-recruit-entry))) body :is(.p-ct-captcha__brand, .p-a9captcha__brand, #__cap) { font-size:8px; line-height:1.4; flex:none; }
  html:where(:has(> :is(.page-contact, .page-recruit-entry))) body :is(.p-ct-captcha__brand, .p-a9captcha__brand, #__cap) b { font-size:10px; }
  /* 360px未満の画面では枠そのものが狭くなるため、はみ出さないよう折り返しを許す */
  @media (max-width:359px) {
    html:where(:has(> :is(.page-contact, .page-recruit-entry))) body :is(.p-ct-captcha__txt, .p-a9captcha__txt, #__cap) { white-space:normal; }
  }
}

/* 2026-10-31 明朝体は大きい見出しだけに残し、それ以外の小さい項目はゴシックにする（採用ページと同じ方針）。
   大きい数字・大きい飾りの言葉・理念・小さめの見出し（h3 など）は明朝のまま */
@layer utilities {
  html body :is(
    .p-cond__term,                 /* 会社概要・プライバシーポリシーの項目名（商号・事業者名など） */
    .p-pp__no, .p-pp__sub,         /* プライバシーポリシーの番号・小見出し */
    .p-ct-tel__num a,              /* お問い合わせの電話番号 */
    /* 2026-10-31 追加：一覧に入れていなかった小さい項目 */
    .c-phil__item, .c-reel__cap,   /* TOP：理念の箇条、動画の下の一文 */
    .p-c2-card__name, .p-c2-count__num i, .p-c2-next__body b,  /* 農場・施設：拠点カードの名前、数字の後ろの「農場」、「採用情報を見る →」 */
    .p-5s-quote__mark, .p-5s-quote__text, .p-5s-voice__pull, .p-5s-survey__text, .p-5s-def__strong, .p-5s-next__dh, .p-5s-close__label,  /* 5S */
    #__goth) { font-family:var(--ff-sans); }
}

/* 2026-10-31 コーポレートに残っていた明朝体（見出し・大きい数字・飾りの言葉・理念・小さめの見出し、5S の FV など）を、細めのゴシックにする。
   明朝体はすべて var(--ff-serif) で指定されているため、コーポレートでだけこの値を「細いゴシック」に置き換える。
   太字の指定があっても細い字で出るよう、細い字（W3／Medium）だけを全部の太さとして登録した書体を作って使う */
@font-face {
  font-family:"Corp Gothic Light";
  src:local("HiraginoSans-W3"), local("Hiragino Sans W3"), local("HiraKakuProN-W3"), local("Hiragino Kaku Gothic ProN W3"),
      local("YuGothic-Medium"), local("Yu Gothic Medium"), local("NotoSansJP-Regular"), local("Noto Sans JP Regular"), local("Meiryo");
  font-weight:100 900;
}
@layer utilities {
  .is-site-corporate { --ff-serif: "Corp Gothic Light", var(--ff-sans); }
}
/* 2026-10-31 小さめの見出し（h3 や小さい h2：「原点」など）は、細いゴシックではなく太字のゴシックにする */
@layer utilities {
  html body :is(
    .p-c1-msg__h, .p-c1-phil__lv3, .p-c1-turn__h,        /* 会社：原点など・理念の3段目・沿革の見出し */
    .c-split__title, .t-h3,                             /* TOP：林牧場で働く など・お知らせ */
    .p-5s-act__h, .p-5s-scene__h,                       /* 5S：見ればわかる。など */
    .p-faqcat__title, .p-faqend__title,                 /* FAQ */
    .p-ct-intro__ttl, .p-ct-form__ttl,                  /* お問い合わせ */
    .p-pp__title,                                       /* プライバシーポリシー */
    .single-news .l-section h2:not(.t-h2),              /* お知らせ詳細：本文の見出し */
    #__corph) { font-family:var(--ff-sans); font-weight:700; }
}
/* 2026-10-31 会社 沿革の年号（1953 など）：細いゴシックにしたら明朝より数字の幅が広くなり、年号の列に入らず「195／3」と改行していた。改行させない */
@layer utilities {
  html:where(:has(> .page-company)) body :is(.p-c1-turn__year, .p-c1-rows__year, #__yr) { white-space:nowrap; }
}
/* 2026-10-31 5S：「整える。気づく。改善する。安全につなげる。」の4語を青に（間の線と同じ、ロゴ由来の青）。
   「入社時から、安全を学ぶ。」などの写真の上の見出しは太字にしない */
@layer utilities {
  html:where(:has(> .page-company-5s)) body :is(.p-5s-verbs__v, #__5s) { color:var(--c-sky); }
  html:where(:has(> .page-company-5s)) body :is(.p-5s-scene__h, #__5s) { font-weight:400; }
}
/* 2026-10-31 5S 労働安全（PC）：左のラベル（入社時・部署異動時 など）と右の見出しの上下の中心を合わせる。
   上端がそろっていて見出しの方が大きいため、見出しの1行目の中心がラベルより下に来ていた。ラベル（と青い点）を差の半分だけ下げる */
@layer utilities {
  @media (min-width:901px) {
    html:where(:has(> .page-company-5s)) body :is(.p-5s-scene__when, #__5s) {
      margin-top:calc((1.5 * clamp(1.35rem, 1.3vw + .9rem, 2rem) - 1.6em) / 2);
    }
  }
}
/* 2026-10-31 5S「キレイは、仕事の土台です。」：太字にする（「林牧場にとって5Sは、…」と同じ太さ）。大きさ・行間は元のまま */
@layer utilities {
  html:where(:has(> .page-company-5s)) body :is(.p-5s-intro__last, #__5s) { font-family:var(--ff-sans); font-weight:var(--fw-semibold); }
}
/* 2026-10-31 5S：締めの4項目（きれいな豚舎 など）と、次のページへのリンク（林牧場で働く → など）は太字にしない */
@layer utilities {
  html:where(:has(> .page-company-5s)) body :is(.p-5s-close__label, .p-5s-close__label em, .p-5s-next__dh, #__5s) { font-weight:400; }
}
/* 2026-10-31 農場・施設の「採用情報を見る →」と、FAQ のカテゴリ見出し（採用について など）は太字にしない */
@layer utilities {
  html body :is(.p-c2-next__body b, .p-faqcat__title, #__nb) { font-weight:400; }
}
/* 2026-11-01 TOP SP調整：数字の説明文を少し小さく・行間を詰める／理念ボックスの上下（説明文との間・代表写真との間）を詰める／お知らせのタイトルを少し小さく・カテゴリの枠を低く */
@layer utilities {
  @media (max-width:640px) {
    html:where(:has(> .page-home)) body :is(.c-stats__note, #__sp1101) { font-size:min(3.1vw,12px); line-height:1.5; } /* 2026-11-01 上限13.5px→12px（本文14pxより小さく） */
    /* 2026-11-01 説明文の下とボックスの上、ボックスの下と代表写真の上の見た目の余白をそろえる（説明文は行間の分だけ広く見えるため、その分を引く） */
    html:where(:has(> .page-home)) body :is(.c-phil, #__sp1101) { margin-top:1.2rem; }
    html:where(:has(> .page-home)) body :is(.c-phil + .c-rep, #__sp1101) { margin-top:1.5rem; }
    html:where(:has(> .page-home)) body .c-news :is(.c-news__title, #__sp1101) { font-size:.9375rem; }
    html:where(:has(> .page-home)) body .c-news :is(.c-news__tag, #__sp1101) { padding-block:.12em; font-size:.72rem; }
    /* 2026-11-01 「お知らせ」見出しの下を少し詰める */
    html:where(:has(> .page-home)) body :is(.t-h3:has(+ .c-news), #__sp1101) { margin-bottom:.5rem; }
    /* 2026-11-01 お知らせタイトルの上（日付・カテゴリとの間）を少し詰める */
    html:where(:has(> .page-home)) body .c-news :is(.c-news__row, #__sp1101) { row-gap:.15rem; }
    /* 2026-11-01 RECRUIT の動画・FOR BUYERS の写真の上の文章：少し小さく・行間を詰める */
    html:where(:has(> .page-home)) body :is(#dn-02, #dn-03) :is(.c-reel__cap--body, #__sp1101) { font-size:.875rem; line-height:1.45; }
  }
}
/* 2026-11-01 TOP「お取引をご希望の方へ →」ボタンの左の線：下に固定しているバイヤーボタンと同じ色に（PC・SP共通） */
@layer utilities {
  html:where(:has(> .page-home)) body .c-split__pane--buyer :is(.c-btn, #__sp1101) { border-left-color:#5b74c8; } /* 2026-11-01 暗い写真の上で見えにくいため、さらに明るい青に（#3e52a0→#5b74c8。比較画像の案B） */
}
/* 2026-11-01 お知らせ一覧 SP：TOPのお知らせと同じに（タイトルを少し小さく・カテゴリの文字を小さく枠を低く・日付行とタイトルの間を詰める） */
@layer utilities {
  @media (max-width:640px) {
    html:where(:has(> .post-type-archive-news)) body :is(.p-news__title, #__sp1101) { font-size:.9375rem; }
    html:where(:has(> .post-type-archive-news)) body :is(.p-news__tag, #__sp1101) { font-size:.72rem; padding:.12em .8em; }
    html:where(:has(> .post-type-archive-news)) body :is(.p-news__row, #__sp1101) { row-gap:.15rem; padding-block:1rem; } /* 2026-11-01 1件分の上下の余白を少し縮める（約20px→16px） */
  }
}
/* 2026-11-01 お知らせ一覧 SP：ページ送り（前へ・1・2・3・次へ）を小さく（文字16px→14px、高さ約52px→約40px） */
@layer utilities {
  @media (max-width:640px) {
    html:where(:has(> .post-type-archive-news)) body :is(.p-pager__item, #__sp1101) { font-size:.875rem; line-height:1.6; padding:.55rem .7rem; min-width:2.5rem; }
  }
}
/* 2026-11-01 お知らせ一覧 SP：ページ送りの上下の余白を少し詰める（上下とも40px→28px。上下は同じ値のまま） */
@layer utilities {
  @media (max-width:640px) {
    html:where(:has(> .post-type-archive-news)) body .p-news-sec :is(.p-pager, #__sp1101) { margin-top:1.75rem; }
    html:where(:has(> .post-type-archive-news)) body :is(.l-section.p-news-sec, #__sp1101) { padding-bottom:1.75rem; }
  }
}
/* 2026-11-01 お知らせ詳細：戻るリンクをボタンに（文字の大きさ・色はボタンの指定を使う）。SPはTOPの「お知らせ一覧を見る」と同じく横幅いっぱい
   SP：カテゴリ・日付とタイトルの間を詰める（約24px→約12px） */
@layer utilities {
  html:where(:has(> .single-news)) body :is(.p-article__back.c-btn, #__sp1101) { font-size:.9rem; line-height:inherit; }
  html:where(:has(> .single-news)) body :is(.p-article__back.c-btn, #__sp1101):not(:hover) { color:var(--c-brand-800); }
  @media (max-width:640px) {
    html:where(:has(> .single-news)) body :is(.p-article__back.c-btn, #__sp1101) { display:flex; width:100%; justify-content:center; box-sizing:border-box; }
    html:where(:has(> .single-news)) body :is(.p-article__meta + .t-h2, #__sp1101) { margin-top:.25rem; }
    html:where(:has(> .single-news)) body :is(.p-article__meta, #__sp1101) { margin-bottom:0; }
  }
}
/* 2026-11-01 SP：林牧場について・農場・施設のFVの高さを、FAQ・お知らせと同じに（PCはもともと同じ高さ） */
@layer utilities {
  @media (max-width:640px) {
    html:where(:has(> :is(.page-company, .page-access))) body :is(.p-pagehead, #__sp1101) { min-height:calc(var(--header-h) + 14.75rem); }
    /* 林牧場についてはリード文が2行で約2px高くなるため、下の余白を少しだけ減らして同じ高さに */
    html:where(:has(> .page-company)) body :is(.p-pagehead__copy, #__sp1101) { padding-bottom:2.75rem; }
  }
}
/* 2026-11-01 農場・施設 SP：絞り込みボタンと「〇件の農場・施設を表示しています。」の間を詰める／「採用情報を見る →」の説明文を下のリンクの説明文と同じ14pxに／下のリンクの説明文の行間を詰める／カードのエリア名（本社・他施設 など）の枠を低く */
@layer utilities {
  @media (max-width:640px) {
    html:where(:has(> .page-access)) body :is(.p-c2-tags + .p-c2-count-live, #__sp1101) { margin-top:.75rem; }
    html:where(:has(> .page-access)) body .p-c2-next__body :is(span, #__sp1101) { font-size:14px; }
    html:where(:has(> .page-access)) body .p-next__row :is(span, #__sp1101) { line-height:1.6; }
    html:where(:has(> .page-access)) body :is(.p-c2-card__area, #__sp1101) { padding-block:.15em; line-height:1.6; }
  }
}
/* 2026-11-01 農場・施設 SP：「採用情報を見る →」のボックスの高さを減らす（上下の余白・見出しの下を詰める）／下のリンク（林牧場について見る → など）の文字を少し小さく */
@layer utilities {
  @media (max-width:640px) {
    html:where(:has(> .page-access)) body :is(.p-c2-next__body, #__sp1101) { padding-block:1rem; }
    html:where(:has(> .page-access)) body .p-c2-next__body :is(b, #__sp1101) { line-height:1.4; }
    html:where(:has(> .page-access)) body .p-c2-next__body :is(span, #__sp1101) { margin-top:.35rem; }
    html:where(:has(> .page-access)) body .p-next__row :is(a, #__sp1101) { font-size:1.0625rem; }
  }
}
/* 2026-11-01 農場・施設 SP：セクション間の余白を約150px→約120pxに（境目の上下はそれぞれ約60pxで同じ。375px幅で測った値） */
@layer utilities {
  @media (max-width:640px) {
    html:where(:has(> .page-access)) body :is(main > :nth-child(2), #__ac1101) { padding-bottom:3.375rem; }
    html:where(:has(> .page-access)) body :is(#dn-01, #__ac1101) { padding-top:3.0625rem; padding-bottom:3.4375rem; }
    html:where(:has(> .page-access)) body :is(#dn-02, #__ac1101) { padding-top:3.0625rem; padding-bottom:3.75rem; }
    html:where(:has(> .page-access)) body :is(#dn-03, #__ac1101) { padding-top:3.0625rem; padding-bottom:3.4375rem; }
    html:where(:has(> .page-access)) body :is(main > .l-section:has(> .l-container > .p-c2-next__main), #__ac1101) { padding-top:3.75rem; } /* 2026-11-06 「main > :nth-child(8)」だと、WPでは本文の<script>が消えて番号がずれ効かなかったため、最後の「採用情報を見る」のセクションを直接指す */
  }
}
/* 2026-11-01 農場・施設 SP：カードの名前とエリア名（本社・他施設 など）を少し小さく */
@layer utilities {
  @media (max-width:640px) {
    /* 大きいカード（本社・宮崎の1枚目）20px→18px、小さいカード 16px→15px */
    html:where(:has(> .page-access)) body :is(.p-c2-card__name, #__ac1101) { font-size:.9375rem; }
    html:where(:has(> .page-access)) body :is(.p-c2-card--key, .p-c2-miya:not(.p-c2-miya--2)) :is(.p-c2-card__name, #__ac1101) { font-size:1.125rem; }
    html:where(:has(> .page-access)) body :is(.p-c2-card__area, #__ac1101) { font-size:.6875rem; }
  }
}
/* 2026-11-01 農場・施設 SP：FVのすぐ下〜最初の見出しの文字を約70px→60pxに（セクションの境目の片側と同じ） */
@layer utilities {
  @media (max-width:640px) {
    html:where(:has(> .page-access)) body :is(main > :nth-child(2), #__ac1101) { padding-top:3.375rem; }
  }
}
/* 2026-11-01 林牧場について SP：FVのすぐ下〜最初の見出しの文字を約70px→60pxに（農場・施設と同じ） */
@layer utilities {
  @media (max-width:640px) {
    html:where(:has(> .page-company)) body :is(.p-pagehead + .l-section, #__ac1101) { padding-top:3.375rem; }
  }
}
/* 2026-11-01 林牧場について SP：会社概要は見出し（商号 など）とテキストを横並びに。テキストの左端はそろえる（見出しの列幅を固定）。見出しは少し小さく
   アクセスの表（同じ部品）は見出しが長いので対象外 */
@layer utilities {
  @media (max-width:640px) {
    html:where(:has(> .page-company)) body #dn-03 :is(.p-cond__row, #__co1101) { grid-template-columns:6rem minmax(0,1fr); column-gap:.75rem; row-gap:0; align-items:baseline; }
    html:where(:has(> .page-company)) body #dn-03 :is(.p-cond__term, #__co1101) { font-size:.875rem; line-height:1.6; }
    html:where(:has(> .page-company)) body #dn-03 :is(.p-cond__desc, #__co1101) { line-height:1.6; } /* 2026-11-01 見出し15→14px、テキストの行間1.85→1.6 */
  }
}
/* 2026-11-01 林牧場について SP：沿革の年号の横の和暦（昭和28年 など）を年号の上下中央に／時代ラベル（1953 — 1989 創業から…）の行間を詰め、高さを少し縮める */
@layer utilities {
  @media (max-width:640px) {
    html:where(:has(> .page-company)) body :is(div:has(> .p-c1-turn__year), #__co1101) { align-items:center; }
    html:where(:has(> .page-company)) body :is(.p-c1-hist__eralabel, #__co1101) { line-height:1.55; padding-block:.85rem; }
  }
}
/* 2026-11-01 林牧場について SP：セクション間の余白を約150px→約120pxに（農場・施設と同じ。境目の上下はそれぞれ約60pxで同じ。375px幅で測った値） */
@layer utilities {
  @media (max-width:640px) {
    html:where(:has(> .page-company)) body :is(.p-pagehead + .l-section, #__co1101) { padding-bottom:3.375rem; }
    html:where(:has(> .page-company)) body :is(#dn-01, #dn-02, #dn-03, #dn-05, #__co1101) { padding-top:3.0625rem; padding-bottom:3.75rem; }
    html:where(:has(> .page-company)) body :is(#dn-04, #__co1101) { padding-top:3.0625rem; padding-bottom:3rem; }
    html:where(:has(> .page-company)) body :is(#dn-05 + .l-section, #__co1101) { padding-top:3.3375rem; }
  }
}
/* 2026-11-01 林牧場について SP：本社アクセスの見出し（株式会社 林牧場　本社 など）を小さく・見出しの下を詰める／下のリンク（お取引をご希望の方へ → など）を農場・施設と同じに（見出し17px・説明文の行間1.6）
   住所は郵便番号の後ろで改行（company.html に br.u-sp を追加） */
@layer utilities {
  @media (max-width:640px) {
    html:where(:has(> .page-company)) body #dn-05 :is(.p-cond__term, #__co1101) { font-size:.9375rem; line-height:1.5; }
    html:where(:has(> .page-company)) body #dn-05 :is(.p-cond__row, #__co1101) { row-gap:.2rem; }
    html:where(:has(> .page-company)) body .p-next__row :is(a, #__co1101) { font-size:1.0625rem; }
    html:where(:has(> .page-company)) body .p-next__row :is(span, #__co1101) { line-height:1.6; }
  }
}
/* 2026-11-01 林牧場について SP：会社概要の各行の上下の余白を詰める（20px→14px） */
@layer utilities {
  @media (max-width:640px) {
    html:where(:has(> .page-company)) body #dn-03 :is(.p-cond__row, #__co1101) { padding-block:.875rem; }
  }
}
/* 2026-11-01 TOP PC：「採用情報を見る →」と「お取引をご希望の方へ →」のボタン幅をそろえる（これまでは上の説明文の幅で決まり、1280pxで約347px／約450pxと違っていた） */
@layer utilities {
  @media (min-width:769px) {
    html:where(:has(> .page-home)) body :is(.c-split__cta, #__sp1101) { width:22.5rem; } /* 768px以下はもともと2つとも横幅いっぱいでそろっている */
  }
}
/* 2026-11-01 FAQ SP：質問の文字を少し小さく（17px→15px）／＋を上下中央に／Qの左・＋の右の余白を詰める（26px→14px） */
@layer utilities {
  @media (max-width:640px) {
    html:where(:has(> .page-company-faq)) body :is(.p-faq__q, #__fq1101) { padding-inline:.875rem; }
    html:where(:has(> .page-company-faq)) body :is(.p-faq__qtext, #__fq1101) { font-size:.9375rem; }
    html:where(:has(> .page-company-faq)) body :is(.p-faq__icon, #__fq1101) { align-self:center; margin-top:0; }
    /* 「Q」の行の高さを質問文と同じにして、＋が文字の上下中央に来るように */
    html:where(:has(> .page-company-faq)) body :is(.p-faq__mark, #__fq1101) { line-height:calc(.9375rem * 1.7); }
  }
}
/* 2026-11-01 FAQ：答えの中のリンク（〜を見る → など）を枠線のボタンに（SPは横幅いっぱい） */
@layer utilities {
  html:where(:has(> .page-company-faq)) body :is(.p-faq__link, #__fq1101) {
    display:inline-flex; flex-wrap:wrap; align-items:baseline; justify-content:center; column-gap:.35em;
    padding:.7em 1.3em; border:1px solid var(--c-brand-800); color:var(--c-brand-800); text-decoration:none; text-align:center; line-height:1.5;
    transition:background-color .22s ease, color .22s ease;
  }
  html:where(:has(> .page-company-faq)) body :is(.p-faq__link, #__fq1101):hover { background:var(--c-brand-800); color:var(--c-text-invert); }
  html:where(:has(> .page-company-faq)) body :is(.p-faq__link:hover .p-faq__ext, #__fq1101) { color:inherit; }
  html:where(:has(> .page-company-faq)) body :is(.p-faq__ext, #__fq1101) { margin-left:0; }
  @media (max-width:640px) {
    html:where(:has(> .page-company-faq)) body :is(.p-faq__links, #__fq1101) { align-items:stretch; }
    html:where(:has(> .page-company-faq)) body :is(.p-faq__link, #__fq1101) { display:flex; font-size:.875rem; }
  }
}
/* 2026-11-01 FAQ SP：＋を小さく（18px→14px）／上のカテゴリ3つを1列（横並び）に。「〇〇／について」の2行に（↓は表示しない） */
@layer utilities {
  @media (max-width:640px) {
    html:where(:has(> .page-company-faq)) body :is(.p-faq__icon, #__fq1101) { width:14px; height:14px; }
    html:where(:has(> .page-company-faq)) body .p-faq__icon:is(::before, ::after) { width:14px; height:1.5px; }
    html:where(:has(> .page-company-faq)) body :is(.p-faqnav, #__fq1101) { grid-template-columns:repeat(3, minmax(0,1fr)); gap:.5rem; }
    html:where(:has(> .page-company-faq)) body :is(.p-faqnav__item, #__fq1101) { flex-direction:column; padding:.6rem .25rem; border-radius:10px; font-size:.875rem; line-height:1.4; gap:.1rem; text-align:center; letter-spacing:0; }
    html:where(:has(> .page-company-faq)) body :is(.p-faqnav__txt, #__fq1101) { white-space:nowrap; }
    html:where(:has(> .page-company-faq)) body :is(.p-faqnav__arrow, #__fq1101) { display:none; } /* 2026-11-01 ↓はなしに */
  }
}
/* 2026-11-01 FAQ SP：質問の行の上下の余白を少しだけ詰める（約23px→18px）／答えのAと本文の左端を、質問のQと質問文にそろえる */
@layer utilities {
  @media (max-width:640px) {
    html:where(:has(> .page-company-faq)) body :is(.p-faq__q, #__fq1101) { padding-block:1.125rem; }
    html:where(:has(> .page-company-faq)) body :is(.p-faq__a, #__fq1101) { padding-inline:.875rem; }
    html:where(:has(> .page-company-faq)) body :is(.p-faq__mark, #__fq1101) { flex:none; width:13px; }
  }
}
/* 2026-11-01 FAQ SP：質問リストの最後〜問い合わせの帯の境目を、ほかのページと同じ上下60pxずつ（計120px）に（約134px→120px。375px幅で測った値） */
@layer utilities {
  @media (max-width:640px) {
    html:where(:has(> .page-company-faq)) body :is(.p-faqnav-sec + .l-section, #__fq1101) { padding-bottom:3.6875rem; }
    html:where(:has(> .page-company-faq)) body :is(.l-section.l-section--green, #__fq1101) { padding-top:3.4375rem; }
  }
}

/* 2026-11-02 TOP SP：代表の言葉（私たちの事業価値とは、…）と、下の2つの案内文（林牧場で働くことを、… など）を少し小さく（375px幅で 16→15px、15.8→14.5px） */
@layer utilities {
  @media (max-width:640px) {
    html:where(:has(> .page-home)) body :is(.c-rep__quote, #__tp1102) { font-size:.9375rem; }
    html:where(:has(> .page-home)) body :is(.c-split__lead, #__tp1102) { font-size:.9063rem; }
  }
}

/* 2026-11-02 コーポレート SP：画面下の2つのボタン（採用情報を見る／お取引をご希望の方へ）の幅を半分ずつに。文字を少し小さく（1行に収まるように） */
@layer utilities {
  @media (max-width:640px) {
    html:where(:has(> .is-site-corporate)) body :is(.l-sticky-cta, #__sc1102) { display:grid; grid-template-columns:1fr 1fr; }
    html:where(:has(> .is-site-corporate)) body :is(.l-sticky-cta a, #__sc1102) { min-width:0; font-size:.875rem; gap:.3em; white-space:nowrap; }
  }
}

/* 2026-11-05 SPの注記を全サイト 11px にそろえる（.75rem＝約11.9px だった） */
@layer utilities {
  @media (max-width:640px) {
    html:where(:has(> .page-company-faq)) body :is(.p-faq__note, #__note11) { font-size:11px; }
    html:where(:has(> .page-company)) body :is(.p-access__note, #__note11) { font-size:11px; }
  }
}

/* 2026-11-05 コーポレートのSPメニュー：TOP以外を右に下げる（採用・取引先の .is-child と同じ形。
   下げ幅は +15px、文字はTOPの 0.95倍・太さ中・薄い色） */
@layer utilities {
  html:where(:has(> .is-site-corporate)) body :is(.l-drawer > a.l-drawer__link.is-child, #__dr1105) {
    padding-left:calc(20px + 15px); font-weight:var(--fw-medium); color:var(--c-text-muted); font-size:.95em;
  }
}

/* 2026-11-05 SPメニューの行の高さを少し狭める（上下の余白 1.1rem＝17.6px → 12px。取引先から来たお問い合わせページは 15px → 12px） */
@layer utilities {
  html:where(:has(> .is-site-corporate)) body :is(.l-drawer > a.l-drawer__link, #__dr1105) { padding-block:10px; } /* 11-05 14px → 12px → 10px（採用・取引先と同じ） */
  /* 11-05 メニュー下部（お問い合わせ・採用情報／お取引のボタン）の上下の余白を詰める
     お問い合わせの上 約19.8px → 12px／サイト切替ボタンの上 約15.8px → 10px・下 約19.8px → 12px */
  html:where(:has(> .is-site-corporate)) body :is(.l-drawer__ctas:not(.l-drawer__ctas--flush), #__dr1105) { padding-top:12px; }
  html:where(:has(> .is-site-corporate)) body :is(.l-drawer__sites, #__dr1105) { padding-top:10px; padding-bottom:12px; }
  html.is-from-buyer:where(:has(> .page-contact)) body :is(.l-drawer > a, #__dr1105) { padding-block:10px; } /* 11-05 12px → 10px */
}

/* 2026-11-05 個人情報保護方針：01〜07 の項ごとに、背景を白と薄い水色（--c-brand-50）で交互にする
   01・03・05・07 が水色、02・04・06 が白。色は画面の端まで。項の間の余白（PC 4rem・SP 3rem）は、項の上下の内側の余白にする */
@layer utilities {
  html:where(:has(> .page-privacy-policy)) body :is(.p-pp > .p-pp__item, #__pp1105) { margin-top:0; padding-block:var(--sp-8); }
  html:where(:has(> .page-privacy-policy)) body :is(.p-pp > section.p-pp__item:nth-of-type(odd), #__pp1105) {
    background:var(--pp-band); box-shadow:0 0 0 100vmax var(--pp-band); clip-path:inset(0 -100vmax);
  }
  html:where(:has(> .page-privacy-policy)) body :is(.p-pp__intro, #__pp1105) { margin-bottom:var(--sp-8); }
  @media (max-width:640px) {
    html:where(:has(> .page-privacy-policy)) body :is(.p-pp > .p-pp__item, #__pp1105) { padding-block:var(--sp-7); }
    html:where(:has(> .page-privacy-policy)) body :is(.p-pp__intro, #__pp1105) { margin-bottom:var(--sp-7); }
  }
}

/* 2026-11-05 個人情報保護方針（続き）
   ・最後の制定日・改定日から下（フッターの手前まで）も水色にする（07 と続けて1つの帯に見せる）
   ・水色の項の中の線（01 の事業者情報の表、07 のお問い合わせの枠）を少し濃くする（#e3e7ee → メインの青を22%混ぜた色） */
@layer utilities {
  html:where(:has(> .page-privacy-policy)) body :is(.p-pp-sec, #__pp1105) { padding-bottom:0; }
  html:where(:has(> .page-privacy-policy)) body :is(.p-pp > .p-pp__dates, #__pp1105) {
    margin-top:0; padding-bottom:var(--section-py);
    background:var(--pp-band); box-shadow:0 0 0 100vmax var(--pp-band); clip-path:inset(0 -100vmax);
  }
  html:where(:has(> .page-privacy-policy)) body :is(.p-pp > section.p-pp__item:nth-of-type(odd) :is(.p-cond, .p-cond__row, .p-pp__contact), #__pp1105) {
    border-color:color-mix(in srgb, var(--c-brand-800) 22%, #fff);
  }
}

/* 2026-11-05 個人情報保護方針：水色の帯をもう少し薄く（#eef4fa → その色を白に4割混ぜた色 ≒ #f5f8fc） */
@layer utilities {
  html:where(:has(> .page-privacy-policy)) body { --pp-band:color-mix(in srgb, var(--c-brand-50) 60%, #fff); }
}

/* 2026-11-05 個人情報保護方針：導入文の上の余白を、下の余白（01 の水色の帯まで）と同じにする（PC 4rem・SP 3rem。各項の帯の上下の余白とも同じ） */
@layer utilities {
  html:where(:has(> .page-privacy-policy)) body :is(.p-pp-sec, #__pp1105) { padding-top:var(--sp-8); }
  @media (max-width:640px) {
    html:where(:has(> .page-privacy-policy)) body :is(.p-pp-sec, #__pp1105) { padding-top:var(--sp-7); }
  }
}

/* 2026-11-11 お知らせのカテゴリー：TOP とお知らせ詳細を、お知らせ一覧と同じ見た目にそろえる（先方の修正。TOP の PC だけ青の塗りつぶし・SP は幅がまちまち・詳細の SP は文字が小さかった）
   線で囲む・カテゴリーごとの色・太字・文字の大きさ・余白は一覧と同じ値。
   幅は一覧と同じく、いちばん長い「会社情報」に合わせて3つ同じにする（4文字＋字間＋左右の余白＋線） */
@layer utilities {
  html:where(:has(> .page-home)) body .c-news :is(.c-news__tag, #__nw1111),
  html:where(:has(> .single-news)) body .p-article__meta :is(.p-news__tag, #__nw1111) {
    display:inline-block; box-sizing:border-box; text-align:center; white-space:nowrap; align-self:center;
    background:transparent; border:1px solid currentColor; border-radius:2px; font-weight: var(--fw-bold);
    font-size:14.4px; line-height:1.8; letter-spacing:.04em; padding:.3em .88em;
    min-width:calc(5.92em + 2px);
  }
  html:where(:has(> .page-home)) body .c-news :is(.c-news__tag--corp, #__nw1111) { color:#6b7585; }
  html:where(:has(> .page-home)) body .c-news :is(.c-news__tag--recruit, #__nw1111) { color:#4f7d12; }
  html:where(:has(> .page-home)) body .c-news :is(.c-news__tag--buyer, #__nw1111) { color:#273a78; }
  /* PC の TOP：カテゴリーの列が固定幅（4.4em）で狭かったので、カテゴリーの幅に合わせる */
  @media (min-width:769px) {
    html:where(:has(> .page-home)) body .c-news :is(.c-news__row, #__nw1111) { grid-template-columns:auto auto 1fr; }
    /* タイトルが2行になると、カテゴリーが2行の真ん中に下がって見えたので、日付・タイトルの1行目にそろえる（作業者の指摘） */
    html:where(:has(> .page-home)) body .c-news :is(.c-news__tag, #__nw1111) { align-self:baseline; }
  }
  /* 768px 以下の TOP：2行目のタイトルが長いと、カテゴリーの列まで押し広げていた（「会社情報」だけ横に伸びていた）ので、タイトル用の列を分ける */
  @media (max-width:768px) {
    html:where(:has(> .page-home)) body .c-news :is(.c-news__row, #__nw1111) { grid-template-columns:auto auto minmax(0,1fr); }
    html:where(:has(> .page-home)) body .c-news :is(.c-news__title, #__nw1111) { grid-column:1 / -1; }
  }
  @media (max-width:640px) {
    html:where(:has(> .page-home)) body .c-news :is(.c-news__tag, #__nw1111),
    html:where(:has(> .single-news)) body .p-article__meta :is(.p-news__tag, #__nw1111) {
      font-size:.72rem; line-height:1.5; padding:.12em .8em; min-width:calc(5.76em + 2px);
    }
  }
}

/* 2026-11-11 お知らせ一覧の 641〜767px：2行目のタイトルが日付とカテゴリーの列を押し広げ、カテゴリーの枠が横に伸び、日付との間もあきすぎていた（作業者の指摘）。
   640px 以下と同じく、矢印用の列を分けてタイトルを広げる。
   一覧の行の指定はレイヤーの外（common.css の上書きのため）にあるので、ここもレイヤーの外に置く */
@media (min-width:641px) and (max-width:767px) {
  html body:where(.post-type-archive-news) .p-news { grid-template-columns:auto auto minmax(0,1fr) auto; }
  html body:where(.post-type-archive-news) .p-news__title { grid-column:1 / 4; }
  html body:where(.post-type-archive-news) .p-news__arrow { grid-column:4; }
}

/* 2026-11-12 TOP の SP（640px 以下）：「お知らせ一覧を見る」の上下をあける（作業者の指示。押すときに、上のお知らせの行と取り違えにくくする）
   ・お知らせの最後の行 → ボタン：1.5rem → 2rem
   ・ボタン → Instagram：グリッドの行の間 約1.6rem → 2.5rem
   u-mt-150（utilities のレイヤー）より強くするため、レイヤーの外に置く */
@media (max-width:640px) {
  html body:where(.page-home) #contact .c-news + .u-mt-150 { margin-top:2rem; }
  html body:where(.page-home) #contact .l-grid { row-gap:2.5rem; }
}
