@charset "UTF-8";
/* ============================================================================
   株式会社荒畑園 コーポレートサイト
   共通スタイルシート  ver.2  ─ 2026.08
   ----------------------------------------------------------------------------
   設計方針
     ・「余白・罫線・明朝」で組む編集的レイアウト。装飾より情報の格を優先する
     ・箱（カード枠）を減らし、写真と余白でリズムをつくる
     ・演出は CSS 主導。JS は「状態クラスを付ける」だけに留める
     ・prefers-reduced-motion では全アニメーションを無効化する
   ----------------------------------------------------------------------------
   目次
     01 変数 / 02 リセット / 03 タイポグラフィ / 04 レイアウト部品
     05 見出し / 06 ボタン / 07 画像 / 08 ローダー / 09 ヘッダー
     10 メガメニュー / 11 ドロワー / 12 スクロールUI / 13 ヒーロー
     14 セクション意匠 / 15 カード・グリッド / 16 交互レイアウト
     17 数値 / 18 表 / 19 沿革 / 20 理念 / 21 工程 / 22 受賞
     23 SDGs / 24 商品 / 25 採用 / 26 問い合わせ / 27 CTA / 28 ページ送り
     29 フッター / 30 下層ヘッダー / 31 目次 / 32 アニメーション / 33 ユーティリティ
   ========================================================================== */

/* ------------------------------------------------------------------ 01 変数 */
:root {
  /* 緑 ─ 茶園と深むし茶の色 */
  --c-green-900: #0D2318;
  --c-green-800: #143222;
  --c-green-700: #1D4A33;
  --c-green-600: #2A6746;
  --c-green-500: #3E8259;
  --c-matcha:    #7FA34F;   /* 罫線・図形など、文字以外に使う */
  --c-matcha-lt: #A9C77E;   /* 濃色背景の上の文字用 */
  --c-matcha-tx: #55742C;   /* 白・生成り背景の上の文字用（AA を満たす濃さ） */

  /* 金 ─ 受賞・格式 */
  --c-gold:      #9A7B3C;
  --c-gold-tx:   #6E5622;   /* 淡い金地の上の文字用 */
  --c-gold-lt:   #C9AC6B;
  --c-gold-pale: #F3EBD8;

  /* 墨 */
  --c-ink:       #1B221D;
  --c-ink-2:     #4B554E;
  --c-ink-3:     #656E67;   /* 注釈・キャプション。AA を満たす濃さ */
  --c-ink-4:     #8A928B;   /* 罫線寄りの淡色。文字には使わない */

  /* 紙 */
  --c-paper:     #FBFAF6;
  --c-paper-2:   #F4F1E7;
  --c-paper-3:   #EAE5D6;
  --c-white:     #FFFFFF;
  --c-line:      #E2DCCC;
  --c-line-soft: #EFEBE0;

  /* 書体 */
  --ff-mincho: "Shippori Mincho B1", "Yu Mincho", "YuMincho", "Hiragino Mincho ProN",
               "Hiragino Mincho Pro", "MS PMincho", serif;
  --ff-gothic: "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Yu Gothic Medium",
               "Yu Gothic", "YuGothic", "Meiryo", system-ui, sans-serif;
  --ff-latin:  "Cormorant Garamond", "Times New Roman", serif;

  /* 寸法 */
  --w-max:    1180px;
  --w-read:   760px;
  --w-wide:   1440px;
  --gutter:   clamp(20px, 5vw, 48px);
  --header-h: 78px;
  --header-h-min: 62px;

  /* イージング */
  --e-out:  cubic-bezier(.16, 1, .3, 1);
  --e-io:   cubic-bezier(.65, 0, .35, 1);
  --e-soft: cubic-bezier(.25, .46, .45, .94);
}

@media (max-width: 900px) {
  :root { --header-h: 62px; --header-h-min: 56px; }
}

/* --------------------------------------------------------------- 02 リセット */
*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 24px);
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--ff-gothic);
  font-size: 16px;
  line-height: 2;
  color: var(--c-ink);
  background: var(--c-white);
  letter-spacing: .04em;
  font-feature-settings: "palt" 1;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
body.is-locked { overflow: hidden; }

img, svg, video { max-width: 100%; height: auto; display: block; }
figure { margin: 0; }
table { border-collapse: collapse; width: 100%; }
ul, ol { padding-left: 1.35em; }
button { font: inherit; color: inherit; }

a {
  color: var(--c-green-700);
  text-decoration: none;
  transition: color .3s var(--e-out), opacity .3s var(--e-out);
}

::selection { background: var(--c-green-700); color: #fff; }

:focus-visible {
  outline: 2px solid var(--c-matcha);
  outline-offset: 3px;
  border-radius: 2px;
}

/* --------------------------------------------------------- 03 タイポグラフィ */
h1, h2, h3, h4, h5 {
  margin: 0;
  font-family: var(--ff-mincho);
  font-weight: 500;
  line-height: 1.6;
  letter-spacing: .08em;
}
p { margin: 0 0 1.4em; }
p:last-child { margin-bottom: 0; }

.lead {
  font-size: clamp(15.5px, 1.55vw, 17.5px);
  line-height: 2.15;
  color: var(--c-ink-2);
}
.note {
  font-size: 13px;
  line-height: 1.9;
  color: var(--c-ink-3);
  letter-spacing: .02em;
}
.note--indent { padding-left: 1em; text-indent: -1em; }

/* 縦組みラベル ─ セクション脇の英字レール */
.vlabel {
  writing-mode: vertical-rl;
  font-family: var(--ff-latin);
  font-size: 12px;
  letter-spacing: .32em;
  text-transform: uppercase;
  color: var(--c-ink-3);
  white-space: nowrap;
}

/* 引用・言葉 */
.quote {
  font-family: var(--ff-mincho);
  font-size: clamp(19px, 2.6vw, 27px);
  line-height: 2.05;
  letter-spacing: .1em;
  color: var(--c-green-800);
}
.quote--white { color: #fff; }

/* -------------------------------------------------------- 04 レイアウト部品 */
.wrap  { width: min(100% - var(--gutter) * 2, var(--w-max)); margin-inline: auto; }
.wrap--wide { width: min(100% - var(--gutter) * 2, var(--w-wide)); margin-inline: auto; }
.wrap--read { width: min(100% - var(--gutter) * 2, var(--w-read)); margin-inline: auto; }

.section       { padding: clamp(72px, 9vw, 128px) 0; position: relative; }
.section--tight{ padding: clamp(48px, 6vw, 80px) 0; }
.section--flush{ padding-top: 0; }
.section--paper{ background: var(--c-paper); }
.section--paper2 { background: var(--c-paper-2); }
.section--dark {
  background: var(--c-green-900);
  color: rgba(255,255,255,.88);
}
.section--dark h1, .section--dark h2, .section--dark h3, .section--dark h4 { color: #fff; }
/* ボタンは自前で文字色を持つため除外する。
   除外しないと .section--dark a（詳細度が上）が .btn--light の文字色を上書きし、
   白いボタンに淡い緑の文字が乗ってしまう。 */
.section--dark a:not(.btn) { color: var(--c-matcha-lt); }
.section--dark .note { color: rgba(255,255,255,.55); }
.section--dark .lead { color: rgba(255,255,255,.78); }

/* 和紙のような微細な地紋（重くならない SVG ノイズ） */
.section--paper::before,
.section--paper2::before {
  content: "";
  position: absolute; inset: 0;
  pointer-events: none;
  opacity: .5;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3'/%3E%3C/filter%3E%3Crect width='120' height='120' filter='url(%23n)' opacity='.035'/%3E%3C/svg%3E");
}
.section > .wrap, .section > .wrap--wide, .section > .wrap--read { position: relative; z-index: 1; }

.divider { height: 1px; background: var(--c-line); border: 0; margin: 0; }

/* ------------------------------------------------------------- 05 見出し */
.hd { margin-bottom: clamp(36px, 4.5vw, 60px); }

.hd__en {
  display: block;
  font-family: var(--ff-latin);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: var(--c-matcha-tx);
  margin-bottom: 14px;
  padding-left: 34px;
  position: relative;
}
.hd__en::before {
  content: "";
  position: absolute;
  left: 0; top: 50%;
  width: 22px; height: 1px;
  background: var(--c-matcha);
  transform-origin: left;
  transform: scaleX(0);
  transition: transform .9s var(--e-out) .1s;
}
.is-in .hd__en::before, .hd__en.is-in::before { transform: scaleX(1); }

.hd__ja {
  font-size: clamp(24px, 3.6vw, 40px);
  line-height: 1.55;
  letter-spacing: .09em;
}
.hd__ja em { font-style: normal; color: var(--c-green-600); }
.hd__lead { margin-top: 22px; color: var(--c-ink-2); font-size: 15.5px; }

.hd--center { text-align: center; }
.hd--center .hd__en { padding-left: 0; padding-top: 0; }
.hd--center .hd__en::before { display: none; }
.hd--center .hd__ja::after {
  content: "";
  display: block;
  width: 34px; height: 1px;
  background: var(--c-matcha);
  margin: 26px auto 0;
}
.hd--center .hd__lead { margin-inline: auto; max-width: 42em; }

.section--dark .hd__en { color: var(--c-matcha-lt); }
.section--dark .hd__en::before { background: var(--c-matcha-lt); }
.section--dark .hd--center .hd__ja::after { background: var(--c-matcha-lt); }

/* 小見出し */
.h3 { font-size: clamp(19px, 2.1vw, 23px); margin-bottom: 16px; letter-spacing: .07em; }
.h4 { font-size: 17px; margin-bottom: 10px; letter-spacing: .06em; }

.h-bar {
  font-size: clamp(19px, 2.1vw, 23px);
  padding-left: 18px;
  margin-bottom: 24px;
  position: relative;
}
.h-bar::before {
  content: "";
  position: absolute; left: 0; top: .28em; bottom: .28em;
  width: 3px;
  background: linear-gradient(var(--c-matcha), var(--c-green-600));
}

/* 番号付き見出し */
.h-num { display: flex; align-items: baseline; gap: 16px; margin-bottom: 20px; }
.h-num__no {
  font-family: var(--ff-latin);
  font-size: 15px;
  letter-spacing: .18em;
  color: var(--c-matcha-tx);
  flex-shrink: 0;
}
.h-num__ja { font-size: clamp(19px, 2.1vw, 23px); letter-spacing: .07em; }

/* --------------------------------------------------------------- 06 ボタン */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 16px 30px 16px 32px;
  font-family: var(--ff-gothic);
  font-size: 14.5px;
  letter-spacing: .1em;
  line-height: 1.4;
  color: #fff;
  background: var(--c-green-700);
  border: 1px solid var(--c-green-700);
  border-radius: 999px;
  overflow: hidden;
  isolation: isolate;
  transition: color .4s var(--e-out), border-color .4s var(--e-out);
}
.btn::before {
  content: "";
  position: absolute; inset: 0;
  z-index: -1;
  background: var(--c-green-900);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform .5s var(--e-out);
}
.btn:hover::before, .btn:focus-visible::before { transform: scaleX(1); transform-origin: left; }
.btn__arrow { position: relative; width: 18px; height: 1px; background: currentColor; flex-shrink: 0; }
.btn__arrow::after {
  content: "";
  position: absolute; right: 0; top: 50%;
  width: 6px; height: 6px;
  border-top: 1px solid currentColor;
  border-right: 1px solid currentColor;
  transform: translateY(-50%) rotate(45deg);
  transform-origin: right center;
}
.btn:hover .btn__arrow { animation: arrow-slide .5s var(--e-out); }
@keyframes arrow-slide {
  50%  { transform: translateX(6px); opacity: 0; }
  51%  { transform: translateX(-6px); opacity: 0; }
  100% { transform: translateX(0); opacity: 1; }
}

.btn--ghost { background: transparent; color: var(--c-green-700); }
.btn--ghost:hover, .btn--ghost:focus-visible { color: #fff; border-color: var(--c-green-900); }

.btn--light { background: #fff; color: var(--c-green-900); border-color: #fff; }
.btn--light::before { background: var(--c-matcha-lt); }
.btn--light:hover, .btn--light:focus-visible { color: var(--c-green-900); border-color: var(--c-matcha-lt); }

.btn--outline-light { background: transparent; color: #fff; border-color: rgba(255,255,255,.5); }
.btn--outline-light::before { background: #fff; }
.btn--outline-light:hover, .btn--outline-light:focus-visible { color: var(--c-green-900); border-color: #fff; }

.btn--sm { padding: 11px 22px 11px 24px; font-size: 13.5px; gap: 10px; }

.btn-row { display: flex; flex-wrap: wrap; gap: 16px; }
.btn-row--center { justify-content: center; }

/* テキストリンク */
.tlink {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 14.5px;
  letter-spacing: .08em;
  color: var(--c-green-700);
  padding-bottom: 4px;
  background-image: linear-gradient(currentColor, currentColor);
  background-size: 100% 1px;
  background-repeat: no-repeat;
  background-position: 0 100%;
  transition: background-size .45s var(--e-out);
}
.tlink:hover { background-size: 0 1px; background-position: 100% 100%; }
.tlink::after { content: "→"; font-size: 12px; }
.tlink--ext::after { content: "↗"; }

/* --------------------------------------------------------------- 07 画像 */
.media {
  position: relative;
  overflow: hidden;
  background: var(--c-paper-3);
}
.media > img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 1.4s var(--e-out);
}

/* マスクで下から立ち上がる画像 */
.media--reveal > img {
  clip-path: inset(0 0 100% 0);
  transform: scale(1.12);
  transition: clip-path 1.2s var(--e-out), transform 1.6s var(--e-out);
}
.is-in .media--reveal > img,
.media--reveal.is-in > img { clip-path: inset(0 0 0 0); transform: scale(1); }

.ratio-21x9 { aspect-ratio: 21 / 9; }
.ratio-16x9 { aspect-ratio: 16 / 9; }
.ratio-3x2  { aspect-ratio: 3 / 2; }
.ratio-4x3  { aspect-ratio: 4 / 3; }
.ratio-1x1  { aspect-ratio: 1 / 1; }
.ratio-4x5  { aspect-ratio: 4 / 5; }

/* 写真キャプション */
.cap {
  margin-top: 12px;
  font-size: 12.5px;
  line-height: 1.8;
  letter-spacing: .04em;
  color: var(--c-ink-3);
  padding-left: 16px;
  position: relative;
}
.cap::before {
  content: "";
  position: absolute; left: 0; top: .85em;
  width: 8px; height: 1px; background: var(--c-ink-4);
}
.section--dark .cap { color: rgba(255,255,255,.5); }
.section--dark .cap::before { background: rgba(255,255,255,.35); }

/* --------------------------------------------------------- 07b 映像（動画） */
/* 方針：音声なし・ループ・インライン再生。自動再生は
   「画面に入ったとき／768px以上／動きを減らす設定でない／通信節約でない」
   の条件をすべて満たす場合のみ。それ以外はポスター画像＋再生ボタンで待機する。 */
.media--video { background: var(--c-green-900); }
/* poster 属性の画像がそのまま待機画面になるので、video は常に表示しておく */
.media--video > video {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
}

/* 再生・一時停止ボタン */
.vbtn {
  position: absolute; right: 14px; bottom: 14px;
  width: 44px; height: 44px;
  border: 1px solid rgba(255,255,255,.55);
  border-radius: 50%;
  background: rgba(9,26,17,.45);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  cursor: pointer;
  transition: background-color .35s var(--e-out), border-color .35s var(--e-out), transform .35s var(--e-out);
  z-index: 2;
}
.vbtn:hover { background: rgba(9,26,17,.72); border-color: #fff; transform: scale(1.06); }
/* ▶（停止中） */
.vbtn::before {
  content: "";
  position: absolute; top: 50%; left: 50%;
  transform: translate(-42%, -50%);
  border-style: solid;
  border-width: 6px 0 6px 10px;
  border-color: transparent transparent transparent #fff;
}
/* ▮▮（再生中） */
.vbtn::after {
  content: "";
  position: absolute; top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 10px; height: 12px;
  border-left: 3px solid #fff; border-right: 3px solid #fff;
  opacity: 0;
}
.is-playing .vbtn::before { opacity: 0; }
.is-playing .vbtn::after { opacity: 1; }

/* 停止中はポスターの上にうっすら暗幕をかけ、再生ボタンの存在を示す */
.media--video::before {
  content: "";
  position: absolute; inset: 0;
  background: rgba(9,26,17,.16);
  opacity: 1;
  transition: opacity .8s var(--e-soft);
  pointer-events: none;
  z-index: 1;
}
.media--video.is-playing::before { opacity: 0; }

/* 写真がまだ無い枠 ─ 崩れて見えない意匠にする */
.media--pending { background: var(--c-paper-2); }
.media--pending::after {
  content: attr(data-note);
  position: absolute; inset: 0;
  display: grid; place-items: center;
  padding: 24px;
  text-align: center;
  font-family: var(--ff-mincho);
  font-size: 13px;
  line-height: 2;
  letter-spacing: .12em;
  color: var(--c-ink-4);
  background-image:
    linear-gradient(var(--c-line-soft) 1px, transparent 1px),
    linear-gradient(90deg, var(--c-line-soft) 1px, transparent 1px);
  background-size: 28px 28px;
}

/* 地図 */
.map-embed { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: var(--c-paper-2); }
.map-embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* ------------------------------------------------------------- 08 ローダー */
/* 既定は非表示。JS が動いている（= .js-anim が付く）ときだけ出す。
   JS 無効時や main.js の読み込み失敗時に、画面を覆ったまま残らないようにするため。 */
.loader { display: none; }
.js-anim .loader {
  position: fixed; inset: 0; z-index: 9999;
  display: grid; place-items: center;
  background: var(--c-green-900);
  transition: opacity .6s var(--e-out), visibility .6s;
}
.loader__mark {
  width: clamp(120px, 22vw, 190px);
  opacity: 0;
  transform: translateY(10px);
  animation: loader-in 1.1s var(--e-out) .1s forwards;
}
@keyframes loader-in { to { opacity: 1; transform: none; } }
.loader__bar {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 2px;
  background: rgba(255,255,255,.12);
}
.loader__bar::after {
  content: "";
  position: absolute; inset: 0;
  background: var(--c-matcha);
  transform-origin: left;
  transform: scaleX(0);
  animation: loader-bar 1.4s var(--e-io) forwards;
}
@keyframes loader-bar { to { transform: scaleX(1); } }
.loader.is-done { opacity: 0; visibility: hidden; }

/* --------------------------------------------------------------- 09 ヘッダー */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 200;
  height: var(--header-h);
  transition: height .45s var(--e-out), background-color .45s var(--e-out),
              box-shadow .45s var(--e-out), transform .5s var(--e-out);
}
.header::before {
  content: "";
  position: absolute; inset: 0;
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--c-line);
  opacity: 0;
  transition: opacity .45s var(--e-out);
}
.header.is-solid::before { opacity: 1; }
.header.is-solid { height: var(--header-h-min); }
.header.is-hidden { transform: translateY(-100%); }

/* position は指定しない。指定すると .mega（absolute）の基準がここになり、
   メガメニューが画面幅いっぱいに広がらなくなる。基準は .header に置く。 */
.header__inner {
  /* .header::before（白い下地）は配置済み要素なので、
     position を指定しないとロゴ画像がその下に隠れてしまう */
  position: relative;
  z-index: 1;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.logo { display: flex; align-items: center; flex-shrink: 0; }
.logo img { height: 42px; width: auto; transition: height .45s var(--e-out), opacity .3s; }
.logo__white { display: none; }
.header.is-solid .logo img { height: 34px; }

/* ヒーロー上（透過状態）は白ロゴ */
.header:not(.is-solid) .logo__dark { display: none; }
.header:not(.is-solid) .logo__white { display: block; }
body.no-hero .header .logo__dark { display: block; }
body.no-hero .header .logo__white { display: none; }
body.no-hero .header::before { opacity: 1; }

@media (max-width: 420px) { .logo img { height: 32px; } }

/* グローバルナビ（PC） */
.gnav > ul {
  display: flex; align-items: center; gap: clamp(16px, 2vw, 30px);
  list-style: none; margin: 0; padding: 0;
}
.gnav__link {
  position: relative;
  display: block;
  padding: 8px 2px;
  font-size: 14px;
  letter-spacing: .08em;
  color: var(--c-ink);
  white-space: nowrap;
}
.gnav__link::after {
  content: "";
  position: absolute; left: 0; right: 0; bottom: 0;
  height: 1px; background: var(--c-green-600);
  transform: scaleX(0); transform-origin: right;
  transition: transform .45s var(--e-out);
}
.gnav__link:hover::after,
.gnav__link[aria-current="page"]::after { transform: scaleX(1); transform-origin: left; }
.gnav__link[aria-current="page"] { color: var(--c-green-700); }

.header:not(.is-solid) .gnav__link { color: #fff; text-shadow: 0 1px 12px rgba(0,0,0,.28); }
.header:not(.is-solid) .gnav__link::after { background: #fff; }
body.no-hero .header .gnav__link { color: var(--c-ink); text-shadow: none; }
body.no-hero .header .gnav__link::after { background: var(--c-green-600); }
body.no-hero .header .gnav__link[aria-current="page"] { color: var(--c-green-700); }

/* オンラインショップ（外部サイト・公式通販） */
.gnav__shop .gnav__link {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 10px 20px;
  border: 1px solid var(--c-green-800);
  border-radius: 999px;
  background: var(--c-green-800);
  color: #fff;
  transition: background-color .4s var(--e-out), border-color .4s var(--e-out), color .4s var(--e-out);
}
.gnav__shop .gnav__link::after { display: none; }
.gnav__shop .gnav__link:hover { background: var(--c-green-600); border-color: var(--c-green-600); color: #fff; }
.gnav__ext {
  width: 9px; height: 9px; flex-shrink: 0;
  border-top: 1px solid currentColor; border-right: 1px solid currentColor;
  transform: rotate(45deg) translate(-1px, 1px);
  transition: transform .4s var(--e-out);
}
.gnav__shop .gnav__link:hover .gnav__ext { transform: rotate(45deg) translate(1px, -1px); }
/* ヒーロー上（透過ヘッダー）では白フチのゴーストにして、写真の上でも浮かせる */
.header:not(.is-solid) .gnav__shop .gnav__link {
  background: rgba(9,26,17,.42);
  border-color: rgba(255,255,255,.75);
  color: #fff;
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}
.header:not(.is-solid) .gnav__shop .gnav__link:hover { background: #fff; border-color: #fff; color: var(--c-green-900); text-shadow: none; }
body.no-hero .header .gnav__shop .gnav__link { background: var(--c-green-800); border-color: var(--c-green-800); color: #fff; }
body.no-hero .header .gnav__shop .gnav__link:hover { background: var(--c-green-600); border-color: var(--c-green-600); }
.gnav__shop .gnav__link[aria-current="page"] { color: #fff; }

.gnav__cta .gnav__link {
  padding: 10px 22px;
  border: 1px solid var(--c-green-700);
  border-radius: 999px;
  color: var(--c-green-700);
  transition: background-color .4s var(--e-out), color .4s var(--e-out);
}
.gnav__cta .gnav__link::after { display: none; }
.gnav__cta .gnav__link:hover { background: var(--c-green-700); color: #fff; }
.header:not(.is-solid) .gnav__cta .gnav__link {
  border-color: rgba(255,255,255,.6); color: #fff;
}
.header:not(.is-solid) .gnav__cta .gnav__link:hover { background: #fff; color: var(--c-green-900); text-shadow: none; }
body.no-hero .header .gnav__cta .gnav__link { border-color: var(--c-green-700); color: var(--c-green-700); }
body.no-hero .header .gnav__cta .gnav__link:hover { background: var(--c-green-700); color: #fff; }

/* ------------------------------------------------------------ 10 メガメニュー */
.gnav__item--mega { position: static; }
.gnav__toggle {
  display: inline-flex; align-items: center; gap: 7px;
  background: none; border: 0; padding: 8px 2px; cursor: pointer;
}
.gnav__toggle::after {
  content: ""; width: 5px; height: 5px;
  border-right: 1px solid currentColor; border-bottom: 1px solid currentColor;
  transform: translateY(-2px) rotate(45deg);
  transition: transform .35s var(--e-out);
}
.gnav__toggle[aria-expanded="true"]::after { transform: translateY(1px) rotate(-135deg); }

.mega {
  position: absolute;
  top: 100%; left: 0; right: 0;
  background: rgba(255,255,255,.98);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-top: 1px solid var(--c-line);
  border-bottom: 1px solid var(--c-line);
  box-shadow: 0 24px 48px -24px rgba(13,35,24,.22);
  opacity: 0; visibility: hidden;
  transform: translateY(-8px);
  transition: opacity .4s var(--e-out), transform .4s var(--e-out), visibility .4s;
}
.mega.is-open { opacity: 1; visibility: visible; transform: none; }
.mega__inner {
  display: grid;
  grid-template-columns: 1fr 2.2fr;
  gap: clamp(32px, 5vw, 72px);
  padding: 48px 0 52px;
}
.mega__intro .vlabel { margin-bottom: 14px; }
.mega__title { font-size: 22px; margin-bottom: 12px; }
.mega__text { font-size: 13.5px; line-height: 1.95; color: var(--c-ink-2); }
.mega__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px 32px; }
.mega__col h3 {
  font-family: var(--ff-latin);
  font-size: 12px; font-weight: 600; letter-spacing: .24em;
  color: var(--c-matcha-tx); margin-bottom: 12px; text-transform: uppercase;
}
.mega__col ul { list-style: none; margin: 0 0 26px; padding: 0; }
.mega__col li + li { margin-top: 2px; }
.mega__col a {
  display: block;
  padding: 7px 0 7px 16px;
  font-size: 14px;
  color: var(--c-ink);
  position: relative;
  transition: padding-left .35s var(--e-out), color .35s var(--e-out);
}
.mega__col a::before {
  content: "";
  position: absolute; left: 0; top: 50%;
  width: 7px; height: 1px; background: var(--c-ink-4);
  transition: width .35s var(--e-out), background-color .35s var(--e-out);
}
.mega__col a:hover { padding-left: 22px; color: var(--c-green-700); }
.mega__col a:hover::before { width: 13px; background: var(--c-green-600); }
.mega__col a small { display: block; font-size: 11.5px; color: var(--c-ink-3); letter-spacing: .04em; }

@media (max-width: 1180px) { .gnav, .gnav__toggle { display: none; } }
/* PCナビに切り替わった直後（〜1320px）は項目が9つ並ぶため、
   字送りと余白を少しだけ詰めてロゴとの間にゆとりを残す。 */
@media (min-width: 1181px) and (max-width: 1320px) {
  .gnav > ul { gap: 15px; }
  .gnav__link { font-size: 13.5px; letter-spacing: .04em; }
  .gnav__shop .gnav__link { padding: 9px 15px; }
  .gnav__cta .gnav__link { padding: 9px 17px; }
}

/* --------------------------------------------------------------- 11 ドロワー */
.nav-toggle {
  display: none;
  position: relative;
  width: 46px; height: 46px;
  border: 0; background: transparent; padding: 0; cursor: pointer;
  z-index: 3;
}
.nav-toggle span {
  display: block; width: 26px; height: 1.5px; margin: 6px auto;
  background: var(--c-ink);
  transition: transform .45s var(--e-out), opacity .3s var(--e-out), background-color .3s;
}
.header:not(.is-solid) .nav-toggle span { background: #fff; }
body.no-hero .header .nav-toggle span { background: var(--c-ink); }
.nav-toggle[aria-expanded="true"] span { background: var(--c-ink) !important; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

.drawer {
  position: fixed;
  inset: 0;
  z-index: 190;
  background: var(--c-paper);
  padding: calc(var(--header-h) + 24px) var(--gutter) 60px;
  overflow-y: auto;
  overscroll-behavior: contain;
  opacity: 0; visibility: hidden;
  clip-path: circle(0% at calc(100% - 46px) 40px);
  transition: clip-path .7s var(--e-out), opacity .4s var(--e-out), visibility .7s;
}
.drawer.is-open { opacity: 1; visibility: visible; clip-path: circle(150% at calc(100% - 46px) 40px); }

.drawer__list { list-style: none; margin: 0 0 32px; padding: 0; }
.drawer__list li { border-bottom: 1px solid var(--c-line); }
.drawer__list a {
  display: flex; align-items: baseline; gap: 14px;
  padding: 18px 4px;
  color: var(--c-ink);
  opacity: 0; transform: translateY(14px);
}
.drawer.is-open .drawer__list a { animation: drawer-item .6s var(--e-out) forwards; }
@keyframes drawer-item { to { opacity: 1; transform: none; } }
.drawer__list li:nth-child(1) a { animation-delay: .18s; }
.drawer__list li:nth-child(2) a { animation-delay: .24s; }
.drawer__list li:nth-child(3) a { animation-delay: .30s; }
.drawer__list li:nth-child(4) a { animation-delay: .36s; }
.drawer__list li:nth-child(5) a { animation-delay: .42s; }
.drawer__list li:nth-child(6) a { animation-delay: .48s; }
.drawer__list li:nth-child(7) a { animation-delay: .54s; }
.drawer__list li:nth-child(8) a { animation-delay: .60s; }
.drawer__list li:nth-child(9) a { animation-delay: .66s; }
.drawer__ja { font-family: var(--ff-mincho); font-size: 19px; letter-spacing: .08em; }
.drawer__en {
  font-family: var(--ff-latin); font-size: 11.5px; letter-spacing: .22em;
  color: var(--c-matcha-tx); text-transform: uppercase;
}
.drawer__foot { display: grid; gap: 14px; }
.drawer__foot .btn { justify-content: center; }

@media (max-width: 1180px) { .nav-toggle { display: block; } }
@media (min-width: 1181px) { .drawer { display: none; } }

/* ------------------------------------------------------------ 12 スクロールUI */
/* 進捗バー */
.progress {
  position: fixed; top: 0; left: 0; right: 0;
  height: 2px; z-index: 210;
  background: transparent;
  pointer-events: none;
}
.progress__bar {
  height: 100%;
  background: linear-gradient(90deg, var(--c-matcha), var(--c-green-500));
  transform-origin: left;
  transform: scaleX(0);
}

/* セクションインジケーター（右端の縦レール） */
.rail {
  position: fixed;
  right: 26px; top: 50%;
  transform: translateY(-50%);
  z-index: 150;
  display: grid; gap: 16px;
  opacity: 0; visibility: hidden;
  transition: opacity .5s var(--e-out), visibility .5s;
}
.rail.is-visible { opacity: 1; visibility: visible; }
.rail a {
  display: flex; align-items: center; justify-content: flex-end;
  gap: 10px;
  color: var(--c-ink-3);
}
.rail__dot {
  width: 7px; height: 7px; border-radius: 50%;
  border: 1px solid currentColor;
  flex-shrink: 0;
  transition: background-color .35s var(--e-out), transform .35s var(--e-out);
}
.rail__name {
  font-size: 11px; letter-spacing: .1em; white-space: nowrap;
  opacity: 0; transform: translateX(6px);
  transition: opacity .35s var(--e-out), transform .35s var(--e-out);
}
.rail a:hover .rail__name { opacity: 1; transform: none; }
.rail a.is-current { color: var(--c-green-700); }
.rail a.is-current .rail__dot { background: var(--c-green-600); transform: scale(1.25); }
.rail a.is-current .rail__name { opacity: 1; transform: none; }
@media (max-width: 1280px) { .rail { display: none; } }

/* ページトップ */
.totop {
  position: fixed;
  right: 22px; bottom: 22px;
  z-index: 150;
  width: 50px; height: 50px;
  display: grid; place-items: center;
  border-radius: 50%;
  border: 1px solid var(--c-line);
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(6px);
  color: var(--c-green-700);
  cursor: pointer;
  opacity: 0; visibility: hidden; transform: translateY(10px);
  transition: opacity .4s var(--e-out), visibility .4s, transform .4s var(--e-out),
              background-color .3s, color .3s;
}
.totop.is-visible { opacity: 1; visibility: visible; transform: none; }
.totop:hover { background: var(--c-green-700); color: #fff; border-color: var(--c-green-700); }
.totop::before {
  content: ""; width: 8px; height: 8px;
  border-top: 1px solid currentColor; border-left: 1px solid currentColor;
  transform: translateY(2px) rotate(45deg);
}
@media (max-width: 600px) { .totop { width: 44px; height: 44px; right: 14px; bottom: 14px; } }

/* --------------------------------------------------------------- 13 ヒーロー */
.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  align-items: center;
  overflow: hidden;
  background: var(--c-green-900);
}
.hero__bg { position: absolute; inset: 0; }
.hero__slide {
  position: absolute; inset: 0;
  opacity: 0;
  transition: opacity 2s var(--e-soft);
}
.hero__slide img { width: 100%; height: 100%; object-fit: cover; }
.hero__slide.is-active { opacity: 1; }
.hero__slide.is-active img { animation: kenburns 9s var(--e-soft) forwards; }
@keyframes kenburns {
  from { transform: scale(1.06) translate3d(0,0,0); }
  to   { transform: scale(1.14) translate3d(-1.2%, -1%, 0); }
}
/* ヒーローの映像レイヤー。
   条件を満たしたときだけ JS が読み込んで再生し、写真スライドの上に重ねる。
   読み込まない／再生できない環境では、これまでどおり写真3枚が流れる。 */
.hero__video {
  position: absolute; inset: 0;
  opacity: 0;
  transition: opacity 1.6s var(--e-soft);
  pointer-events: none;
}
.hero.is-video .hero__video { opacity: 1; }
.hero__video video {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  transform: scale(1.04);
}
/* 映像が動いている間は、写真スライドの切り替えとKen Burnsを止める */
.hero.is-video .hero__slide { opacity: 0; }
.hero.is-video .hero__slide img { animation: none; }
.hero.is-video .hero__count { opacity: 0; pointer-events: none; }

/* 映像の一時停止ボタン（WCAG 2.2.2：5秒を超える自動再生を止められるように） */
.hero__vbtn {
  position: absolute; right: var(--gutter); bottom: 34px;
  z-index: 3;
  display: none;
  align-items: center; gap: 9px;
  padding: 9px 16px 9px 13px;
  border: 1px solid rgba(255,255,255,.5);
  border-radius: 999px;
  background: rgba(9,26,17,.4);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  color: #fff;
  font-family: var(--ff-latin);
  font-size: 11px; letter-spacing: .2em; text-transform: uppercase;
  cursor: pointer;
  transition: background-color .35s var(--e-out), border-color .35s var(--e-out);
}
.hero.is-video .hero__vbtn { display: inline-flex; }
.hero__vbtn:hover { background: rgba(9,26,17,.7); border-color: #fff; }
.hero__vbtn i {
  width: 9px; height: 11px; position: relative; display: block;
}
.hero__vbtn i::before {
  content: ""; position: absolute; inset: 0;
  border-left: 3px solid #fff; border-right: 3px solid #fff;
}
.hero__vbtn.is-paused i::before {
  border: 0;
  border-style: solid;
  border-width: 5.5px 0 5.5px 9px;
  border-color: transparent transparent transparent #fff;
}
@media (max-width: 700px) { .hero__vbtn { display: none !important; } }

.hero__bg::after {
  content: "";
  position: absolute; inset: 0;
  background:
    linear-gradient(105deg, rgba(9,26,17,.86) 0%, rgba(9,26,17,.55) 46%, rgba(9,26,17,.18) 100%),
    linear-gradient(0deg, rgba(9,26,17,.5) 0%, transparent 34%),
    /* ヘッダーの白文字を、明るい写真の上でも読めるようにする上部の暗幕 */
    linear-gradient(180deg, rgba(9,26,17,.62) 0%, rgba(9,26,17,.28) 9%, transparent 18%);
}

.hero__inner { position: relative; z-index: 2; color: #fff; padding: calc(var(--header-h) + 40px) 0 120px; }

.hero__sub {
  font-family: var(--ff-latin);
  font-size: 13px; letter-spacing: .34em;
  color: var(--c-matcha-lt);
  margin-bottom: 26px;
  display: flex; align-items: center; gap: 16px;
}
.hero__sub::before { content: ""; width: 46px; height: 1px; background: currentColor; }

.hero__title {
  font-size: clamp(34px, 7vw, 78px);
  line-height: 1.42;
  letter-spacing: .1em;
  font-weight: 500;
}
/* ヒーローの初期状態は .js-anim の内側にのみ置く。
   JS 無効・読み込み失敗時は .js-anim が付かない（または外れる）ため、
   見出し・リード・ボタンは最初から表示される。 */
.hero__title .line { display: block; overflow: hidden; }
.js-anim .hero__title .line > span {
  display: block;
  transform: translateY(110%);
  transition: transform 1.2s var(--e-out);
}
.js-anim .hero.is-in .hero__title .line > span { transform: none; }
.js-anim .hero.is-in .hero__title .line:nth-child(2) > span { transition-delay: .12s; }

.hero__lead {
  margin-top: 32px;
  max-width: 30em;
  font-size: clamp(14.5px, 1.7vw, 16.5px);
  line-height: 2.15;
  color: rgba(255,255,255,.9);
}
.js-anim .hero__lead {
  opacity: 0; transform: translateY(16px);
  transition: opacity 1s var(--e-out) .45s, transform 1s var(--e-out) .45s;
}
.js-anim .hero.is-in .hero__lead { opacity: 1; transform: none; }

.hero__btns { margin-top: 42px; }
.js-anim .hero__btns {
  opacity: 0; transform: translateY(16px);
  transition: opacity 1s var(--e-out) .6s, transform 1s var(--e-out) .6s;
}
.js-anim .hero.is-in .hero__btns { opacity: 1; transform: none; }

/* 縦組みのサイドコピー */
.hero__vertical {
  position: absolute;
  right: clamp(20px, 4vw, 54px);
  top: calc(var(--header-h) + 40px);
  z-index: 2;
  writing-mode: vertical-rl;
  font-family: var(--ff-mincho);
  font-size: 14px;
  letter-spacing: .34em;
  color: rgba(255,255,255,.72);
  height: min(46vh, 340px);
}
.js-anim .hero__vertical { opacity: 0; transition: opacity 1.2s var(--e-out) .8s; }
.js-anim .hero.is-in .hero__vertical { opacity: 1; }
@media (max-width: 900px) { .hero__vertical { display: none; } }

/* スクロールヒント */
.hero__scroll {
  position: absolute;
  left: 50%; bottom: 28px;
  transform: translateX(-50%);
  z-index: 2;
  display: grid; justify-items: center; gap: 10px;
  font-family: var(--ff-latin);
  font-size: 10.5px; letter-spacing: .3em;
  color: rgba(255,255,255,.7);
}
.js-anim .hero__scroll { opacity: 0; transition: opacity 1s var(--e-out) 1s; }
.js-anim .hero.is-in .hero__scroll { opacity: 1; }
.hero__scroll i {
  display: block; width: 1px; height: 52px;
  background: rgba(255,255,255,.28);
  position: relative; overflow: hidden;
}
.hero__scroll i::after {
  content: ""; position: absolute; inset: 0;
  background: #fff;
  animation: scroll-line 2.2s var(--e-io) infinite;
}
@keyframes scroll-line {
  0%   { transform: translateY(-100%); }
  50%  { transform: translateY(0); }
  100% { transform: translateY(100%); }
}

/* スライド番号 */
.hero__count {
  position: absolute;
  left: var(--gutter); bottom: 30px;
  z-index: 2;
  display: flex; align-items: center; gap: 12px;
  font-family: var(--ff-latin); font-size: 12px; letter-spacing: .2em;
  color: rgba(255,255,255,.6);
}
.js-anim .hero__count { opacity: 0; transition: opacity 1s var(--e-out) 1s; }
.js-anim .hero.is-in .hero__count { opacity: 1; }
.hero__count b { color: #fff; font-weight: 500; }
.hero__count i { display: block; width: 40px; height: 1px; background: rgba(255,255,255,.3); position: relative; }
.hero__count i::after {
  content: ""; position: absolute; inset: 0; background: #fff;
  transform-origin: left; transform: scaleX(0);
  animation: hero-count 6s linear infinite;
}
@keyframes hero-count { to { transform: scaleX(1); } }
@media (max-width: 900px) { .hero__count { display: none; } }

/* 流れるテロップ */
.marquee {
  overflow: hidden;
  border-top: 1px solid var(--c-line);
  border-bottom: 1px solid var(--c-line);
  padding: 18px 0;
  background: var(--c-paper);
}
.marquee__track {
  display: flex; width: max-content;
  animation: marquee 42s linear infinite;
}
.marquee__track span {
  font-family: var(--ff-latin);
  font-size: clamp(20px, 2.6vw, 30px);
  letter-spacing: .16em;
  color: var(--c-paper-3);
  padding-right: 44px;
  white-space: nowrap;
}
.marquee__track span::after { content: "—"; padding-left: 44px; color: var(--c-line); }
@keyframes marquee { to { transform: translateX(-50%); } }
.marquee:hover .marquee__track { animation-play-state: paused; }

/* ---------------------------------------------------------- 14 セクション意匠 */
/* 大判の帯写真（パララックス） */
.band {
  position: relative;
  height: clamp(280px, 46vw, 520px);
  overflow: hidden;
  background: var(--c-green-900);
}
.band__img { position: absolute; inset: -12% 0; }
.band__img img { width: 100%; height: 100%; object-fit: cover; }
.band::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(9,26,17,.42), rgba(9,26,17,.18));
}
.band__body {
  position: absolute; inset: 0; z-index: 2;
  display: grid; place-items: center;
  text-align: center; color: #fff;
  padding: 0 var(--gutter);
}
.band__title { font-size: clamp(20px, 3.2vw, 34px); letter-spacing: .14em; line-height: 1.9; }

/* 2カラム：縦ラベル＋本文 */
.railed { display: grid; grid-template-columns: 42px 1fr; gap: clamp(20px, 3vw, 44px); }
@media (max-width: 700px) { .railed { grid-template-columns: 1fr; } .railed > .vlabel { display: none; } }

/* --------------------------------------------------------- 15 カード・グリッド */
.grid { display: grid; gap: clamp(24px, 3vw, 40px); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 940px) { .grid--3, .grid--4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .grid--2, .grid--3, .grid--4 { grid-template-columns: 1fr; } }

/* 枠を持たないカード ─ 罫線と余白で見せる */
.card {
  display: flex; flex-direction: column;
  color: var(--c-ink);
  position: relative;
}
.card__media { overflow: hidden; position: relative; }
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--e-out); }
.card__media::after {
  content: ""; position: absolute; inset: 0;
  background: rgba(13,35,24,.16);
  opacity: 0; transition: opacity .5s var(--e-out);
}
a.card:hover .card__media img { transform: scale(1.07); }
a.card:hover .card__media::after { opacity: 1; }

.card__body { padding: 22px 0 0; flex: 1; display: flex; flex-direction: column; }
.card__label {
  font-family: var(--ff-latin);
  font-size: 12px; letter-spacing: .22em; color: var(--c-matcha-tx);
  margin-bottom: 10px; text-transform: uppercase;
}
.card__title { font-size: 20px; margin-bottom: 12px; letter-spacing: .06em; }
.card__text { font-size: 14.5px; line-height: 1.95; color: var(--c-ink-2); margin-bottom: 18px; }
.card__more {
  margin-top: auto;
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 13.5px; letter-spacing: .08em; color: var(--c-green-700);
}
.card__more i { display: block; width: 22px; height: 1px; background: currentColor; transition: width .45s var(--e-out); }
a.card:hover .card__more i { width: 36px; }

.section--dark .card { color: rgba(255,255,255,.85); }
.section--dark .card__title { color: #fff; }
.section--dark .card__text { color: rgba(255,255,255,.7); }
.section--dark .card__more { color: var(--c-matcha-lt); }

/* 囲みのあるカード（表組み的な情報向け） */
.box {
  background: #fff;
  border: 1px solid var(--c-line);
  padding: clamp(24px, 3vw, 36px);
}
.box--paper { background: var(--c-paper); }
.box--flat { border: 0; background: var(--c-paper); }

/* 番号付きの並び（強み等） */
.numbers { display: grid; gap: 1px; background: var(--c-line); border-block: 1px solid var(--c-line); }
.numbers__item {
  background: #fff;
  padding: clamp(28px, 3.4vw, 44px) clamp(20px, 2.6vw, 34px);
  display: grid; gap: 14px;
  transition: background-color .5s var(--e-out);
}
.numbers__item:hover { background: var(--c-paper); }
.numbers__no {
  font-family: var(--ff-latin); font-size: 13px; letter-spacing: .22em; color: var(--c-matcha-tx);
}
.numbers__title { font-size: 19px; letter-spacing: .06em; }
.numbers__text { font-size: 14px; line-height: 1.95; color: var(--c-ink-2); }
@media (min-width: 760px) { .numbers--3 { grid-template-columns: repeat(3, 1fr); } }

/* ------------------------------------------------------- 16 交互レイアウト */
.alt {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 5vw, 76px);
  align-items: center;
}
.alt + .alt { margin-top: clamp(56px, 8vw, 110px); }
.alt--rev .alt__media { order: 2; }
.alt--wide-media { grid-template-columns: 1.15fr 1fr; }
.alt--wide-body  { grid-template-columns: 1fr 1.15fr; }
.alt__num {
  font-family: var(--ff-latin);
  font-size: 13px; letter-spacing: .24em; color: var(--c-matcha-tx);
  margin-bottom: 14px;
}
@media (max-width: 860px) {
  .alt, .alt--wide-media, .alt--wide-body { grid-template-columns: 1fr; gap: 28px; }
  .alt + .alt { margin-top: 56px; }
  .alt--rev .alt__media { order: 0; }
}

/* 写真を紙面から少しはみ出させる */
.alt__media--bleed { position: relative; }
@media (min-width: 861px) {
  .alt__media--bleed { margin-left: calc(var(--gutter) * -1); }
  .alt--rev .alt__media--bleed { margin-left: 0; margin-right: calc(var(--gutter) * -1); }
}

/* --------------------------------------------------------------- 17 数値 */
.facts {
  display: grid; grid-template-columns: repeat(6, 1fr);
  gap: 1px; background: var(--c-line);
  border: 1px solid var(--c-line);
}
.fact { background: #fff; padding: clamp(24px, 3vw, 34px) 12px; text-align: center; }
.fact__label {
  font-size: 11.5px; letter-spacing: .14em; color: var(--c-ink-3); margin-bottom: 10px;
}
.fact__num {
  font-family: var(--ff-latin);
  font-size: clamp(30px, 4vw, 46px);
  font-weight: 500;
  line-height: 1;
  color: var(--c-green-700);
  letter-spacing: .02em;
}
.fact__unit {
  font-family: var(--ff-gothic); font-size: 13px; margin-left: 4px; color: var(--c-ink-2);
  letter-spacing: .04em;
}
@media (max-width: 940px) { .facts { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 520px) { .facts { grid-template-columns: repeat(2, 1fr); } }

/* --------------------------------------------------------------- 18 表 */
.deftable { border-top: 1px solid var(--c-line); }
.deftable th, .deftable td {
  text-align: left; vertical-align: top;
  padding: 20px 6px;
  border-bottom: 1px solid var(--c-line);
  font-size: 15px; font-weight: normal; line-height: 1.95;
}
.deftable th {
  width: 200px;
  font-family: var(--ff-mincho);
  color: var(--c-green-700);
  letter-spacing: .08em;
}
.deftable td { color: var(--c-ink-2); }
.deftable td p { margin-bottom: .5em; }
@media (max-width: 640px) {
  .deftable, .deftable tbody, .deftable tr, .deftable th, .deftable td { display: block; width: auto; }
  .deftable tr { border-bottom: 1px solid var(--c-line); }
  .deftable th, .deftable td { border-bottom: 0; }
  .deftable th { padding: 18px 4px 2px; font-size: 14px; }
  .deftable td { padding: 0 4px 18px; }
}

/* --------------------------------------------------------------- 19 沿革 */
.history { position: relative; margin: 0; padding: 0 0 0 8px; list-style: none; }
.history::before {
  content: ""; position: absolute;
  left: 0; top: 12px; bottom: 12px; width: 1px;
  background: var(--c-line);
}
/* スクロールに合わせて伸びる線 */
.history::after {
  content: ""; position: absolute;
  left: 0; top: 12px; width: 1px;
  height: var(--line-h, 0%);
  background: linear-gradient(var(--c-matcha), var(--c-green-600));
  transition: height .2s linear;
}
.history__item {
  position: relative;
  display: grid; grid-template-columns: 180px 1fr; gap: 24px;
  padding: 0 0 34px 32px;
}
.history__item::before {
  content: ""; position: absolute;
  left: -5px; top: 12px;
  width: 11px; height: 11px; border-radius: 50%;
  background: #fff; border: 1.5px solid var(--c-line);
  transition: border-color .5s var(--e-out), background-color .5s var(--e-out), transform .5s var(--e-out);
  z-index: 1;
}
.history__item.is-in::before { border-color: var(--c-matcha-tx); }
.history__item--major::before { width: 13px; height: 13px; left: -6px; }
.history__item--major.is-in::before { background: var(--c-green-700); border-color: var(--c-green-700); transform: scale(1.1); }
.history__year {
  font-family: var(--ff-mincho); font-size: 16.5px;
  color: var(--c-green-700); letter-spacing: .06em;
}
.history__year small {
  display: block; font-family: var(--ff-latin); font-size: 12.5px;
  color: var(--c-ink-3); letter-spacing: .12em;
}
.history__body { font-size: 15px; color: var(--c-ink-2); line-height: 1.95; }
.history__body ul { margin: 0; padding-left: 1.15em; }
.history__body li + li { margin-top: 6px; }
.history__body strong { color: var(--c-ink); font-weight: 600; }
@media (max-width: 720px) {
  .history__item { grid-template-columns: 1fr; gap: 6px; padding-left: 26px; }
  .history__year small { display: inline; margin-left: 10px; }
}

/* 三代の歩み */
.gens { display: grid; gap: 1px; background: var(--c-line); border-block: 1px solid var(--c-line); }
@media (min-width: 820px) { .gens { grid-template-columns: repeat(3, 1fr); } }
.gen { background: #fff; padding: clamp(26px, 3vw, 38px); }
.gen__no {
  font-family: var(--ff-latin); font-size: 12px; letter-spacing: .24em;
  color: var(--c-matcha-tx); margin-bottom: 12px;
}
.gen__name { font-size: 21px; margin-bottom: 4px; letter-spacing: .1em; }
.gen__role { font-size: 12.5px; color: var(--c-ink-3); letter-spacing: .08em; margin-bottom: 16px; }
.gen__text { font-size: 14.5px; line-height: 1.95; color: var(--c-ink-2); }

/* --------------------------------------------------------------- 20 理念 */
.creed { counter-reset: creed; border-top: 1px solid var(--c-line); }
.creed__item {
  display: grid; grid-template-columns: 76px 1fr; gap: 18px;
  padding: 24px 6px;
  border-bottom: 1px solid var(--c-line);
  align-items: start;
  transition: background-color .5s var(--e-out), padding-left .5s var(--e-out);
}
.creed__item:hover { background: var(--c-paper); }
.creed__item::before {
  content: "一、";
  font-family: var(--ff-mincho); font-size: 15px;
  color: var(--c-matcha-tx); letter-spacing: .12em;
}
.creed__text {
  font-family: var(--ff-mincho);
  font-size: clamp(16px, 1.9vw, 18.5px);
  line-height: 2.05; letter-spacing: .07em;
}
@media (max-width: 560px) { .creed__item { grid-template-columns: 44px 1fr; gap: 10px; } }

/* モットー（大きく組む言葉） */
.motto {
  display: grid; gap: clamp(28px, 4vw, 48px);
}
@media (min-width: 820px) { .motto { grid-template-columns: repeat(2, 1fr); } }
.motto__item {
  position: relative;
  padding: clamp(30px, 4vw, 46px);
  background: var(--c-paper);
  border-top: 2px solid var(--c-green-700);
}
/* 見出しの背後に薄く敷く装飾番号。読み上げ対象ではないため
   HTML 側で aria-hidden を付けている。 */
.motto__no {
  position: absolute; right: 22px; top: 18px;
  font-family: var(--ff-latin); font-size: 46px; line-height: 1;
  color: var(--c-line);
}
.motto__title {
  font-size: clamp(21px, 2.8vw, 28px);
  line-height: 1.8; letter-spacing: .1em;
  margin-bottom: 18px;
  color: var(--c-green-800);
}
.motto__text { font-size: 14.5px; line-height: 2; color: var(--c-ink-2); }

/* --------------------------------------------------------------- 21 工程 */
.flow { display: grid; grid-template-columns: repeat(5, 1fr); gap: 1px; background: var(--c-line); border: 1px solid var(--c-line); }
.flow__step {
  position: relative; background: #fff;
  padding: clamp(22px, 2.6vw, 30px) 18px;
  text-align: center;
  transition: background-color .5s var(--e-out);
}
.flow__step:hover { background: var(--c-paper); }
.flow__no { font-family: var(--ff-latin); font-size: 12px; letter-spacing: .2em; color: var(--c-matcha-tx); }
.flow__title { font-size: 17px; margin: 8px 0 10px; letter-spacing: .06em; }
.flow__text { font-size: 13px; line-height: 1.85; color: var(--c-ink-2); }
@media (max-width: 940px) { .flow { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 500px) { .flow { grid-template-columns: 1fr; } }

/* 工程を写真つきで見せる縦の流れ */
.process { display: grid; gap: clamp(40px, 5vw, 72px); counter-reset: proc; }
.process__item {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: clamp(24px, 4vw, 56px); align-items: center;
}
.process__item:nth-child(even) .process__media { order: 2; }
.process__no {
  font-family: var(--ff-latin); font-size: 13px; letter-spacing: .24em;
  color: var(--c-matcha-tx); margin-bottom: 12px;
}
.process__title { font-size: clamp(20px, 2.4vw, 25px); margin-bottom: 14px; letter-spacing: .07em; }
.process__text { font-size: 14.5px; line-height: 2; color: var(--c-ink-2); }
@media (max-width: 860px) {
  .process__item { grid-template-columns: 1fr; gap: 22px; }
  .process__item:nth-child(even) .process__media { order: 0; }
}

/* --------------------------------------------------------------- 22 受賞 */
.awards { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--c-line); }
.awards li {
  display: grid; grid-template-columns: 160px 1fr; gap: 24px;
  padding: 18px 6px;
  border-bottom: 1px solid var(--c-line);
  font-size: 15px;
  transition: background-color .4s var(--e-out);
}
.awards li:hover { background: var(--c-paper); }
.awards__year { font-family: var(--ff-mincho); color: var(--c-green-700); letter-spacing: .06em; }
.awards__year small { font-family: var(--ff-latin); font-size: 12.5px; color: var(--c-ink-3); letter-spacing: .1em; }
.awards__body { color: var(--c-ink-2); line-height: 1.9; }
.awards__body strong { color: var(--c-ink); font-weight: 600; }
@media (max-width: 640px) { .awards li { grid-template-columns: 1fr; gap: 4px; } }

.prize-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 1px; background: var(--c-line); border: 1px solid var(--c-line); }
.prize {
  background: linear-gradient(180deg, #fff, var(--c-gold-pale));
  padding: 24px 22px 22px;
  transition: transform .5s var(--e-out);
}
.prize:hover { transform: translateY(-3px); }
.prize__year { font-family: var(--ff-latin); font-size: 13px; color: var(--c-gold-tx); letter-spacing: .2em; }
.prize__title { font-size: 14.5px; line-height: 1.85; margin-top: 8px; letter-spacing: .03em; }
.prize__title strong { color: var(--c-green-800); font-weight: 600; }

.judge { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--c-line); border: 1px solid var(--c-line); }
.judge__item { background: #fff; padding: 26px 22px; }
.judge__name { font-size: 19px; color: var(--c-green-700); margin-bottom: 10px; letter-spacing: .1em; }
.judge__text { font-size: 13.5px; line-height: 1.9; color: var(--c-ink-2); }
@media (max-width: 820px) { .judge { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .judge { grid-template-columns: 1fr; } }

/* --------------------------------------------------------------- 23 SDGs */
.sdg-goals { display: flex; flex-wrap: wrap; gap: 8px; }
.sdg-goal {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 14px 8px 9px;
  color: #fff; font-size: 12.5px; letter-spacing: .04em; line-height: 1.4;
  transition: transform .4s var(--e-out);
}
.sdg-goal:hover { transform: translateY(-2px); }
.sdg-goal b { font-family: var(--ff-latin); font-size: 17px; font-weight: 600; }
/* 背景は国連が定めるSDGsの色をそのまま使い、文字色だけを
   その色に対してコントラスト比 4.5:1 以上になる側へ振り分ける。 */
.sdg-05 { background: #ff3a21; color: var(--c-ink); }
.sdg-08 { background: #a21942; color: #fff; }
.sdg-11 { background: #fd9d24; color: var(--c-ink); }
.sdg-12 { background: #bf8b2e; color: var(--c-ink); }
.sdg-13 { background: #3f7e44; color: #fff; }
.sdg-15 { background: #56c02b; color: var(--c-ink); }

/* SDGs の正規ロゴ・アイコン画像版
   ─ 国連が定める配色・比率のまま使い、色や文字の改変はしない。
     アイコンは正方形、周囲には最低でもアイコン1/2幅の余白をとる。 */
.sdg-logo { display: block; width: clamp(180px, 26vw, 260px); height: auto; }
.sdg-logo--center { margin-inline: auto; }
.section--dark .sdg-logo { filter: brightness(0) invert(1); }

.sdg-icons {
  display: flex; flex-wrap: wrap; gap: 10px;
  list-style: none; margin: 0; padding: 0;
}
.sdg-icons--center { justify-content: center; }
.sdg-icons li { margin: 0; }
.sdg-icon {
  display: block;
  width: 88px; height: 88px;
  border-radius: 2px;
}
.sdg-icons--sm .sdg-icon { width: 64px; height: 64px; }
@media (max-width: 560px) {
  .sdg-icon { width: 72px; height: 72px; }
  .sdg-icons--sm .sdg-icon { width: 58px; height: 58px; }
}

/* --------------------------------------------------------------- 24 商品 */
.series { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(24px, 3vw, 40px); }
@media (max-width: 940px) { .series { grid-template-columns: 1fr; } }

.ingredient-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 1px; background: var(--c-line); border: 1px solid var(--c-line); }
.ingredient-list li {
  display: grid; grid-template-columns: 210px 1fr; gap: 20px;
  padding: 18px 22px; background: #fff; font-size: 14.5px;
  transition: background-color .4s var(--e-out);
}
.ingredient-list li:hover { background: var(--c-paper); }
.ingredient-list b {
  font-family: var(--ff-mincho); font-size: 16px; color: var(--c-green-700); font-weight: 600;
  letter-spacing: .06em;
}
.ingredient-list span { color: var(--c-ink-2); line-height: 1.9; }
@media (max-width: 640px) { .ingredient-list li { grid-template-columns: 1fr; gap: 4px; } }

.shops { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--c-line); border: 1px solid var(--c-line); }
/* 2026.09.24 ロゴを主役に：ロゴの表示を大きくし、店名は控えめな添え書きに。
   ロゴごとの高さは HTML の style="--h:◯px" で指定（横長のロゴほど低くして見た目の大きさを揃える）。
   ホバーでも白地のままにして、各モールの配色をそのまま見せる。 */
.shop {
  position: relative;
  display: grid;
  grid-template-rows: 1fr auto;
  gap: 18px;
  padding: 34px 26px 18px;
  background: #fff; font-size: 13px; color: var(--c-ink-3);
  letter-spacing: .04em;
  transition: background-color .4s var(--e-out), color .4s var(--e-out), box-shadow .4s var(--e-out);
}
.shop__logo {
  display: grid; place-items: center;
  min-height: 92px;
}
.shop__logo img {
  width: auto; height: auto;
  max-width: 100%; max-height: var(--h, 52px);
  transition: transform .6s var(--e-out);
}
.shop__name {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  padding-top: 12px;
  border-top: 1px solid var(--c-line-soft);
  transition: border-color .4s var(--e-out), color .4s var(--e-out);
}
.shop__name::after { content: "↗"; font-size: 13px; color: var(--c-matcha-tx); transition: color .4s; }
.shop:hover { color: var(--c-green-700); box-shadow: inset 0 0 0 2px var(--c-green-600); z-index: 1; }
.shop:hover .shop__name { border-top-color: var(--c-line); }
.shop:hover .shop__logo img { transform: scale(1.05); }

.shop--main { background: var(--c-green-800); color: rgba(255,255,255,.85); }
.shop--main .shop__name { border-top-color: rgba(255,255,255,.28); }
.shop--main .shop__name::after { color: var(--c-matcha-lt); }
.shop--main:hover { background: var(--c-green-900); color: #fff; box-shadow: none; }
.shop--main:hover .shop__name { border-top-color: rgba(255,255,255,.28); }

@media (max-width: 880px) { .shops { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) {
  .shops { grid-template-columns: 1fr; }
  .shop { grid-template-columns: 1fr; padding: 26px 22px 16px; gap: 14px; }
  .shop__logo { min-height: 72px; }
  .shop__logo img { max-height: calc(var(--h, 52px) * .85); }
}

/* --------------------------------------------------------------- 25 採用 */
.job { background: #fff; border: 1px solid var(--c-line); overflow: hidden; display: flex; flex-direction: column; }
.job__media { overflow: hidden; }
.job__media img { transition: transform 1.1s var(--e-out); }
.job:hover .job__media img { transform: scale(1.05); }
.job__body { padding: clamp(24px, 3vw, 32px); flex: 1; }
.job__cat { font-family: var(--ff-latin); font-size: 12px; letter-spacing: .22em; color: var(--c-matcha-tx); text-transform: uppercase; }
.job__title { font-size: 22px; margin: 10px 0 14px; letter-spacing: .08em; }
.job__catch { font-size: 14.5px; color: var(--c-green-700); margin-bottom: 12px; font-family: var(--ff-mincho); }
.job__text { font-size: 14.5px; color: var(--c-ink-2); line-height: 1.95; }

/* 会社紹介カード（採用ページ：荒畑園・荒畑農園の2社） */
.co .job__body { display: flex; flex-direction: column; }
.co .job__text { flex: 1; }   /* 2枚のカードで数字の段の高さをそろえる */
.co .facts { grid-template-columns: repeat(3, 1fr); margin: 22px 0 20px; }
.co .fact { padding: 16px 6px; background: var(--c-paper); }
.co .fact__label { margin-bottom: 8px; }
.co .fact__num { font-size: clamp(26px, 2.6vw, 34px); }
.co .fact__unit { font-size: 12px; margin-left: 2px; }
.co__meta {
  display: grid; grid-template-columns: auto 1fr; gap: 6px 18px;
  margin: 0; font-size: 13.5px; line-height: 1.8;
}
.co__meta dt { color: var(--c-ink-3); letter-spacing: .08em; }
.co__meta dd { margin: 0; color: var(--c-ink-2); }

.steps { counter-reset: step; list-style: none; margin: 0; padding: 0; display: grid; gap: 1px; background: var(--c-line); border: 1px solid var(--c-line); }
.steps li {
  counter-increment: step;
  display: grid; grid-template-columns: 52px 1fr; gap: 20px; align-items: center;
  padding: 20px 24px; background: #fff;
}
.steps li::before {
  content: counter(step, decimal-leading-zero);
  display: grid; place-items: center;
  width: 40px; height: 40px;
  background: var(--c-green-700); color: #fff;
  font-family: var(--ff-latin); font-size: 14px; letter-spacing: .06em;
  border-radius: 50%;
}
.steps b { font-family: var(--ff-mincho); font-size: 17px; letter-spacing: .06em; }
.steps span { display: block; font-size: 13.5px; color: var(--c-ink-2); }

/* --------------------------------------------------------- 26 問い合わせ */
.contact-card {
  background: #fff; border: 1px solid var(--c-line);
  padding: clamp(28px, 3.4vw, 38px);
  display: flex; flex-direction: column;
  transition: border-color .5s var(--e-out), transform .5s var(--e-out);
}
.contact-card:hover { border-color: var(--c-green-600); transform: translateY(-3px); }
.contact-card__no {
  font-family: var(--ff-latin); font-size: 12px; letter-spacing: .24em;
  color: var(--c-matcha-tx); margin-bottom: 14px;
}
.contact-card__title { font-size: 20px; margin-bottom: 12px; letter-spacing: .07em; }
.contact-card__text { font-size: 14.5px; color: var(--c-ink-2); margin-bottom: 24px; flex: 1; line-height: 1.95; }
.mail-link { font-size: 15px; letter-spacing: .02em; word-break: break-all; }
/* 電話番号（採用ページの応募方法） */
.tel-link { font-family: var(--ff-latin); font-size: 26px; font-weight: 500; letter-spacing: .06em; line-height: 1.2; font-variant-numeric: lining-nums; }
.tel-link a { color: var(--c-green-700); }

/* --------------------------------------------------------------- 27 CTA */
.cta-band {
  position: relative;
  background: var(--c-green-800);
  color: #fff;
  padding: clamp(56px, 7vw, 92px) 0;
  overflow: hidden;
}
.cta-band__bg { position: absolute; inset: 0; opacity: .22; }
.cta-band__bg img { width: 100%; height: 100%; object-fit: cover; }
.cta-band::after {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(80% 130% at 12% 100%, rgba(127,163,79,.4), transparent 62%);
}
.cta-band__inner {
  position: relative; z-index: 2;
  display: flex; align-items: center; justify-content: space-between;
  gap: 40px; flex-wrap: wrap;
}
.cta-band__title { font-size: clamp(21px, 3.1vw, 32px); margin-bottom: 14px; line-height: 1.75; }
.cta-band__text { color: rgba(255,255,255,.82); font-size: 15px; }

/* --------------------------------------------------------- 28 ページ送り */
.pagenav {
  display: grid; grid-template-columns: 1fr 1fr;
  border-top: 1px solid var(--c-line);
}
.pagenav__item {
  padding: clamp(26px, 3.4vw, 40px) clamp(20px, 3vw, 34px);
  display: grid; gap: 8px;
  color: var(--c-ink);
  transition: background-color .5s var(--e-out);
}
.pagenav__item:hover { background: var(--c-paper); }
.pagenav__item + .pagenav__item { border-left: 1px solid var(--c-line); }
.pagenav__dir {
  font-family: var(--ff-latin); font-size: 11.5px; letter-spacing: .24em;
  color: var(--c-matcha-tx); text-transform: uppercase;
}
.pagenav__ja { font-family: var(--ff-mincho); font-size: clamp(17px, 2.1vw, 21px); letter-spacing: .07em; }
.pagenav__item--next { text-align: right; }
@media (max-width: 620px) {
  .pagenav { grid-template-columns: 1fr; }
  .pagenav__item + .pagenav__item { border-left: 0; border-top: 1px solid var(--c-line); }
}

/* --------------------------------------------------------------- 29 フッター */
.footer { background: var(--c-green-900); color: rgba(255,255,255,.72); font-size: 14px; }
.footer a:not(.btn) { color: rgba(255,255,255,.72); }
.footer a:not(.btn):hover { color: #fff; }

.footer__top {
  display: grid; grid-template-columns: 1.1fr 2fr;
  gap: clamp(36px, 5vw, 64px);
  padding: clamp(56px, 7vw, 88px) 0 clamp(36px, 4vw, 52px);
  border-bottom: 1px solid rgba(255,255,255,.13);
}
.footer__logo { margin-bottom: 24px; }
.footer__logo img { height: 50px; width: auto; }
.footer__addr { font-size: 13.5px; line-height: 2; color: rgba(255,255,255,.66); }
.footer__addr strong { color: #fff; font-weight: 600; }

.footer__nav { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.footer__nav h3 {
  font-family: var(--ff-latin); font-size: 12px; letter-spacing: .24em;
  color: var(--c-matcha-lt); margin-bottom: 16px; text-transform: uppercase;
}
.footer__nav ul { list-style: none; margin: 0; padding: 0; }
.footer__nav li + li { margin-top: 11px; }
.footer__nav a {
  font-size: 13.5px; display: inline-block;
  transition: transform .4s var(--e-out), color .3s;
}
.footer__nav a:hover { transform: translateX(4px); }

.footer__bottom {
  display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap;
  padding: 24px 0 28px;
  font-size: 12.5px; color: rgba(255,255,255,.5);
}
.footer__bottom p { margin: 0; }
@media (max-width: 880px) {
  .footer__top { grid-template-columns: 1fr; }
  .footer__nav { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) { .footer__nav { grid-template-columns: 1fr; } }

/* ---------------------------------------------------------- 30 下層ヘッダー */
.page-head {
  position: relative;
  min-height: clamp(280px, 34vw, 420px);
  display: grid; align-items: center;
  padding: calc(var(--header-h) + 48px) 0 56px;
  background: var(--c-green-900);
  overflow: hidden;
  color: #fff;
}
.page-head__bg { position: absolute; inset: 0; }
.page-head__bg img { width: 100%; height: 100%; object-fit: cover; opacity: .5; }
.page-head__bg::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(100deg, rgba(9,26,17,.82), rgba(9,26,17,.42));
}
.page-head__inner { position: relative; z-index: 2; }
.page-head__en {
  font-family: var(--ff-latin); font-size: 13px; letter-spacing: .32em;
  color: var(--c-matcha-lt); text-transform: uppercase;
  display: flex; align-items: center; gap: 14px;
}
.page-head__en::before { content: ""; width: 40px; height: 1px; background: currentColor; }
.page-head__ja { font-size: clamp(28px, 4.6vw, 48px); margin-top: 16px; letter-spacing: .1em; }
.page-head__lead { margin-top: 22px; max-width: 44em; color: rgba(255,255,255,.82); font-size: 15.5px; }

.breadcrumb { background: var(--c-paper); border-bottom: 1px solid var(--c-line); font-size: 12.5px; }
.breadcrumb ol {
  display: flex; flex-wrap: wrap; gap: 10px; list-style: none;
  margin: 0; padding: 14px 0; color: var(--c-ink-3); letter-spacing: .04em;
}
.breadcrumb li + li::before { content: "／"; margin-right: 10px; color: var(--c-line); }
.breadcrumb a { color: var(--c-ink-3); }
.breadcrumb a:hover { color: var(--c-green-700); }

/* --------------------------------------------------------------- 31 目次 */
.toc {
  position: sticky;
  top: calc(var(--header-h) + 20px);
  align-self: start;
}
.toc__title {
  font-family: var(--ff-latin); font-size: 11.5px; letter-spacing: .24em;
  color: var(--c-matcha-tx); text-transform: uppercase; margin-bottom: 16px;
}
.toc ul { list-style: none; margin: 0; padding: 0; border-left: 1px solid var(--c-line); }
.toc li a {
  display: block; padding: 10px 0 10px 18px;
  font-size: 13.5px; color: var(--c-ink-2); letter-spacing: .04em;
  position: relative;
  transition: color .35s var(--e-out), padding-left .35s var(--e-out);
}
.toc li a::before {
  content: ""; position: absolute; left: -1px; top: 8px; bottom: 8px;
  width: 1px; background: var(--c-green-600);
  transform: scaleY(0); transform-origin: top;
  transition: transform .4s var(--e-out);
}
.toc li a:hover { color: var(--c-green-700); padding-left: 22px; }
.toc li a.is-current { color: var(--c-green-700); }
.toc li a.is-current::before { transform: scaleY(1); }

.with-toc { display: grid; grid-template-columns: 220px 1fr; gap: clamp(32px, 5vw, 72px); align-items: start; }
@media (max-width: 940px) {
  .with-toc { grid-template-columns: 1fr; }
  .toc { position: static; }
  .toc ul { display: flex; flex-wrap: wrap; gap: 4px 0; border-left: 0; border-top: 1px solid var(--c-line); padding-top: 8px; }
  .toc li a { padding: 8px 16px 8px 0; }
  .toc li a::before { display: none; }
}

/* ---------------------------------------------------------- 32 アニメーション */
/* JS 有効時のみ .js-anim が付く。無効時は最初から見えている */
.js-anim [data-anim] { opacity: 0; }
.js-anim [data-anim="up"]    { transform: translateY(30px); }
.js-anim [data-anim="left"]  { transform: translateX(-30px); }
.js-anim [data-anim="right"] { transform: translateX(30px); }
.js-anim [data-anim="scale"] { transform: scale(.96); }
.js-anim [data-anim] {
  transition: opacity 1s var(--e-out), transform 1.1s var(--e-out);
}
.js-anim [data-anim].is-in { opacity: 1; transform: none; }

/* 子要素を順に出す */
.js-anim [data-stagger] > * { opacity: 0; transform: translateY(26px); transition: opacity .9s var(--e-out), transform 1s var(--e-out); }
.js-anim [data-stagger].is-in > * { opacity: 1; transform: none; }
.js-anim [data-stagger].is-in > *:nth-child(1) { transition-delay: 0s; }
.js-anim [data-stagger].is-in > *:nth-child(2) { transition-delay: .09s; }
.js-anim [data-stagger].is-in > *:nth-child(3) { transition-delay: .18s; }
.js-anim [data-stagger].is-in > *:nth-child(4) { transition-delay: .27s; }
.js-anim [data-stagger].is-in > *:nth-child(5) { transition-delay: .36s; }
.js-anim [data-stagger].is-in > *:nth-child(6) { transition-delay: .45s; }
.js-anim [data-stagger].is-in > *:nth-child(7) { transition-delay: .54s; }
.js-anim [data-stagger].is-in > *:nth-child(8) { transition-delay: .63s; }
.js-anim [data-stagger].is-in > *:nth-child(n+9) { transition-delay: .72s; }

/* 1行ずつせり上がる見出し */
.js-anim .line-up { display: block; overflow: hidden; }
.js-anim .line-up > span { display: block; transform: translateY(105%); transition: transform 1.1s var(--e-out); }
.js-anim .line-up.is-in > span,
.js-anim .is-in .line-up > span { transform: none; }
.js-anim .is-in .line-up:nth-of-type(2) > span { transition-delay: .1s; }
.js-anim .is-in .line-up:nth-of-type(3) > span { transition-delay: .2s; }

/* 動きを減らす設定のときは全て無効 */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
    scroll-behavior: auto !important;
  }
  .js-anim [data-anim],
  .js-anim [data-stagger] > * { opacity: 1 !important; transform: none !important; }
  .js-anim .line-up > span,
  .hero__title .line > span { transform: none !important; }
  .hero__lead, .hero__btns, .hero__scroll, .hero__vertical, .hero__count { opacity: 1 !important; transform: none !important; }
  .media--reveal > img { clip-path: none !important; transform: none !important; }
  .loader, .js-anim .loader { display: none; }
}

/* --------------------------------------------------------- 33 ユーティリティ */
.mt-8  { margin-top: 8px; }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mt-32 { margin-top: 32px; }
.mt-40 { margin-top: 40px; }
.mt-56 { margin-top: 56px; }
.mt-72 { margin-top: 72px; }
.mb-0  { margin-bottom: 0; }
.mb-24 { margin-bottom: 24px; }
.mb-40 { margin-bottom: 40px; }
.center { text-align: center; }
/* 文中の下線付きリンク */
.u-link { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .22em; }
.u-link:hover { text-decoration-color: transparent; }

.visually-hidden {
  position: absolute; width: 1px; height: 1px;
  margin: -1px; padding: 0; overflow: hidden;
  clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; border: 0;
}

/* 画面上部へ飛ぶスキップリンク */
.skip {
  position: absolute; left: 12px; top: -60px; z-index: 999;
  background: var(--c-green-800); color: #fff;
  padding: 12px 20px; font-size: 14px;
  transition: top .3s var(--e-out);
}
.skip:focus { top: 12px; }

/* 印刷 */
/* ==========================================================================
   33 経営理念ページの追補（2026.09）
   ・モットーを写真つきの全幅レイアウトで見せる .mottov
   ・代表メッセージの直筆風書体と直筆署名
   ========================================================================== */

:root {
  /* 直筆風。読み込み前・失敗時は端末の明朝体に落ちます */
  --ff-hand: "Klee One", "Yu Mincho", "YuMincho", "Hiragino Mincho ProN",
             "Hiragino Mincho Pro", serif;
}

/* ------------------------------------------------- モットー（全幅・写真つき） */
.section--motto { padding-bottom: 0; }
.mottov { margin-top: clamp(44px, 6vw, 80px); }
.mottov__item {
  position: relative;
  display: flex; align-items: center;
  min-height: clamp(400px, 64vh, 620px);
  padding: clamp(48px, 7vw, 96px) 0;
  /* 写真の読み込み前でも白文字が読めるよう、下地に濃緑を敷いています */
  background: var(--c-green-900);
  overflow: hidden;
  isolation: isolate;
}
.mottov__media { position: absolute; inset: 0; z-index: -1; }
.mottov__media img {
  width: 100%; height: 100%; object-fit: cover;
  transform: scale(1.04);
  transition: transform 2.4s var(--e-out);
}
.mottov__item:hover .mottov__media img { transform: scale(1); }
/* 文字側を暗く、反対側を抜く斜めのグラデーション */
.mottov__media::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(100deg, rgba(8,22,14,.92) 0%, rgba(8,22,14,.82) 40%, rgba(8,22,14,.34) 72%, rgba(8,22,14,.12) 100%),
    linear-gradient(to top, rgba(8,22,14,.45), rgba(8,22,14,0) 45%);
}
.mottov__item--rev .mottov__media::after {
  background:
    linear-gradient(260deg, rgba(8,22,14,.92) 0%, rgba(8,22,14,.82) 40%, rgba(8,22,14,.34) 72%, rgba(8,22,14,.12) 100%),
    linear-gradient(to top, rgba(8,22,14,.45), rgba(8,22,14,0) 45%);
}

.mottov__inner { position: relative; color: #fff; }
.mottov__item--rev .mottov__inner { text-align: right; }
.mottov__no {
  font-family: var(--ff-latin);
  font-size: clamp(56px, 9vw, 120px); line-height: .9;
  letter-spacing: .02em;
  color: transparent;
  -webkit-text-stroke: 1px rgba(255,255,255,.55);
  margin-bottom: clamp(8px, 1.4vw, 18px);
}
.mottov__title {
  font-family: var(--ff-mincho);
  font-size: clamp(30px, 5.2vw, 62px);
  line-height: 1.5; letter-spacing: .1em;
  color: #fff;
  text-shadow: 0 2px 26px rgba(8,22,14,.5);
  margin-bottom: clamp(18px, 2.4vw, 30px);
}
.mottov__text {
  max-width: 30em;
  font-size: clamp(14.5px, 1.2vw, 16px); line-height: 2.1;
  color: rgba(255,255,255,.88);
  text-shadow: 0 1px 14px rgba(8,22,14,.5);
}
.mottov__item--rev .mottov__text { margin-left: auto; }
/* 02 は文字の塊ごと右に寄せ、中の行は左そろえにします（2026.09.23）。
   右そろえだと、折り返した最後の数文字だけが右端にぽつんと残るためです。
   本文は .mottov__ph（文節のまとまり）の途中では折り返しません */
.mottov__item--rev .mottov__inner { display: grid; justify-content: end; text-align: left; }
.mottov__item--rev .mottov__text { margin-left: 0; }
.mottov__ph { display: inline-block; }

@media (max-width: 720px) {
  .mottov__item { min-height: 0; padding: clamp(56px, 12vw, 80px) 0; }
  .mottov__item--rev .mottov__inner { text-align: left; justify-content: stretch; }
  .mottov__item--rev .mottov__text { margin-left: 0; }
  .mottov__media::after,
  .mottov__item--rev .mottov__media::after {
    background: linear-gradient(to top, rgba(8,22,14,.92) 8%, rgba(8,22,14,.62) 55%, rgba(8,22,14,.3) 100%);
  }
}

/* --------------------------------------------------- 代表メッセージ（直筆風） */
.quote--hand {
  font-family: var(--ff-hand);
  font-weight: 600;
  letter-spacing: .06em;
  line-height: 1.95;
}
.msg-hand p {
  font-family: var(--ff-hand);
  font-size: 16.5px;
  line-height: 2.25;
  letter-spacing: .04em;
  color: var(--c-ink);
}
.msg-hand p + p { margin-top: 1.5em; }

.msg-sign {
  margin-top: clamp(36px, 5vw, 56px);
  text-align: right;
}
.msg-sign__co {
  display: block;
  font-family: var(--ff-mincho);
  font-size: 15px; letter-spacing: .12em;
  color: var(--c-ink-2);
  margin-bottom: 10px;
}
.msg-sign__img {
  display: inline-block;
  width: clamp(220px, 32vw, 322px); height: auto;
}
@media (max-width: 560px) {
  .msg-hand p { font-size: 16px; line-height: 2.15; }
}


/* ==========================================================================
   34 会社概要ページの追補（2026.09）
   ・会社概要の表に写真のアクセントを添える .outline
   ・事業所カードの写真 .card--office
   ========================================================================== */

/* ------------------------------------------- 会社概要（表＋写真の2カラム） */
/* 写真は本社の入口（縦長 4:5・company-entrance.jpg）。2026.09.23 */
.outline {
  display: grid;
  grid-template-columns: minmax(0, 300px) minmax(0, 1fr);
  gap: clamp(28px, 4.5vw, 64px);
  align-items: start;
}
.outline__media { position: sticky; top: calc(var(--header-h-min) + 28px); }
.outline__shot { position: relative; margin: 0; }
.outline__shot img {
  display: block; width: 100%; height: auto;
  aspect-ratio: 4 / 5; object-fit: cover;
}
/* 写真の右上にかかる「Since 1948」の箔押し風の印 */
.outline__seal {
  position: absolute; right: -18px; top: -18px;
  display: grid; place-content: center; gap: 2px;
  width: 92px; height: 92px; border-radius: 50%;
  background: var(--c-green-800);
  color: #fff; text-align: center;
  font-family: var(--ff-latin); font-size: 21px; letter-spacing: .06em; line-height: 1;
  box-shadow: 0 10px 26px -12px rgba(13, 35, 24, .7);
}
.outline__seal small {
  display: block;
  font-size: 9.5px; letter-spacing: .26em; text-transform: uppercase;
  color: var(--c-matcha-lt);
}
.outline__cap { margin-top: 14px; }
.outline__table { margin-top: 0; }

@media (max-width: 900px) {
  .outline { grid-template-columns: 1fr; }
  /* 縦長の写真なので、1段組では幅を抑えて縦に伸びすぎないようにします */
  .outline__media { position: static; max-width: 300px; }
  .outline__seal { width: 76px; height: 76px; font-size: 18px; right: -10px; top: -10px; }
}

/* --------------------------------------------------- 事業所カードの写真 */
.grid--offices { gap: clamp(22px, 2.6vw, 34px) clamp(20px, 2.4vw, 32px); }
.card--office .card__media {
  /* 支給写真の比率にそろえています（旧サイトの素材は 320〜380px 程度） */
  aspect-ratio: 2.25 / 1;
  background: var(--c-paper-2);
}
.card--office .card__body { padding-top: 16px; }
.card--office .card__title { font-size: 18.5px; margin-bottom: 8px; }
.card--office .card__text { font-size: 14px; margin-bottom: 0; }


@media print {
  .header, .drawer, .rail, .totop, .progress, .loader, .cta-band, .hero__scroll { display: none !important; }
  body { color: #000; }
  .section { padding: 24px 0; }
  [data-anim], [data-stagger] > * { opacity: 1 !important; transform: none !important; }
}

/* --------------------------------------------------------- 33 最新カタログ
   商品・販売サイト一覧（products.html）の #catalog で使います。
   表紙の画像と、デジタルカタログ（外部サイト）への導線の2段組です。
   2026.09.22 追加。 */
.catalog {
  display: grid; grid-template-columns: clamp(150px, 17vw, 220px) minmax(0, 1fr);
  gap: clamp(28px, 4vw, 60px); align-items: center;
  padding: clamp(28px, 4vw, 52px);
  border: 1px solid var(--c-line); border-radius: 20px;
  background: #fff;
}
.catalog__cover {
  display: block; overflow: hidden; border-radius: 6px;
  box-shadow: 0 14px 34px -18px rgba(8, 20, 13, .55);
  transition: transform .6s var(--e-out), box-shadow .6s var(--e-out);
}
.catalog__cover img { display: block; width: 100%; height: auto; }
.catalog:hover .catalog__cover { transform: translateY(-4px); box-shadow: 0 20px 42px -18px rgba(8, 20, 13, .55); }

.catalog__title {
  margin: 14px 0 0;
  font-size: clamp(22px, 2.6vw, 30px); line-height: 1.6;
}
.catalog__text { margin: 16px 0 0; font-size: 15px; color: var(--c-ink-2); }
.catalog .btn-row { margin-top: 28px; }

@media (max-width: 640px) {
  .catalog { grid-template-columns: 1fr; justify-items: start; gap: 24px; padding: 24px 20px; }
  .catalog__cover { width: 148px; }
}

/* --------------------------------------------------------- 34 代表の顔写真
   philosophy.html の代表メッセージで使います。写真の下に手書き風の一文が続きます。
   2026.09.22 追加。 */
/* 写真は切り抜かず、元の縦横比（2:3）のまま全体を見せます（2026.09.23）。
   そのぶん縦に長くなるので、PC でも幅を 360px までに抑えています */
.portrait { margin: 0 0 clamp(24px, 3vw, 36px); max-width: 360px; }
.portrait img {
  display: block; width: 100%; height: auto;
  border-radius: 18px;
}
.portrait__cap {
  margin-top: 14px;
  font-size: 13px; letter-spacing: .06em; color: var(--c-ink-2);
}
/* 写真の列を写真の幅に合わせ、本文との間が空きすぎないようにします */
.section--message .alt--wide-body { grid-template-columns: minmax(0, 360px) minmax(0, 1fr); }
@media (max-width: 860px) {
  .section--message .alt--wide-body { grid-template-columns: 1fr; }
  .portrait { max-width: 320px; }
}

/* ------------------------------------------------- 35 世界農業遺産の認定マーク
   commitment.html の #chagusaba で使います。支給データ（茶草場農法.gif）は
   白地に黒文字のため、濃い背景のセクションでは白い台紙に載せて置きます。
   2026.09.22 追加。 */
.heritage-mark { margin: clamp(24px, 3vw, 34px) 0 0; }
.heritage-mark img {
  display: block; width: clamp(150px, 17vw, 210px); height: auto;
  padding: 14px 18px; border-radius: 12px;
  background: #fff;
}
