/* ============================================================
   霧珠ファーム / KISHU FARM  corporate site
   Palette:
     --ink        #182420  green-tinted ink (text)
     --grape      #5C4059  grape purple (primary brand accent)
     --grape-deep #463044  dark grape (footer / hover)
     --moss       #35624D  moss green (land / mist secondary accent)
     --moss-deep  #24513F  dark moss (fog accent)
     --fog        #EEF2EF  pale fog white-green (hero fog layer)
     --mist       #F3EEF2  mist grey-purple (section bands)
     --line       #DCE3DD  hairline
   Type:
     display: "Shippori Mincho" 500/600 — 見出しと農の語彙（Webフォント）。
              h1 / h2.title / .cta-band h2 / .member-band h2 / 工程名(.yl-n) /
              プラン名(.plan-name) / 会員権の価格 / 選べる数(.plan-pick b)。
              特典の項目名はゴシック — 読んで選ぶためのリストなので走査性を優先する。
              700は使わない（明朝は太らせると横画が潰れる）。
     body:    システムフォント（Hiragino/Yu Gothic/Meiryo等）— 本文・UIラベル、表示速度優先
     mono:    システムのモノスペース（ui-monospace等）— 「ものさし」的な数値（日付・breadcrumb・
              番号・kg数・年数）。運用ルール: 今後増える場合も必ず --font-mono を使い、
              文章中の地の文の数字には使わない。
              例外: membership.html の会員権の価格（.hero-fact .num / .plan-price）は
              ページの主役なので明朝。同じページでも日付(2026.11)は mono のまま。
   Signature: 亀岡の霧 — flat色面のmist帯, hero::afterの微細なノイズ,
              「珠」= pearl-dot eyebrow markers + .mist-divider（セクション間の一呼吸）
                    + トップheroの紫の球体2つ（.grape-orb）
   注意: グラデーション(linear-gradient/radial-gradient/SVGのlinearGradient・radialGradient要素含む)
         はサイト全体で使用禁止。陰影・面の切り替えはすべて単色(flat color)+box-shadowで表現する。
   例外: トップheroの球体(.grape-orb.gd-1/.gd-2)のSVG内 radialGradient のみ。
         2026-08-02承認 → 2026-08-15に一度撤回・単色版へ差し替え →
         同日中に「気持ち悪い」「まだ違う」と不評が続き、結局「2日前のヒーローに戻して」と
         明確に指示され、この球体に限り例外を再承認・確定。経緯は docs/bluebank-wandy-quality-log.md。
         他の箇所は禁止のまま（今後もこの球体以外に例外を広げない）。
   ============================================================ */

:root {
  --ink: #182420;
  --ink-soft: #4c5a53;
  --grape: #5c4059;
  --grape-deep: #463044;
  --moss: #35624d;
  --moss-deep: #24513f;
  --fog: #eef2ef;
  --mist: #f3eef2;
  --line: #dce3dd;
  --paper: #ffffff;
  --surface: #f1f0ee;
  --max: 1120px;
  --radius: 6px;
  --font-display: "Shippori Mincho", serif;
  --font-body: -apple-system, BlinkMacSystemFont, "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Yu Gothic", YuGothic, Meiryo, sans-serif;
  --font-mono: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}
@supports (background: color-mix(in srgb, red, blue)) {
  :root { --surface: color-mix(in srgb, var(--fog) 65%, var(--mist) 35%); }
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation: none !important; transition: none !important; }
}

body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.9;
  font-size: 16px;
  letter-spacing: 0.02em;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
a:focus-visible, button:focus-visible {
  outline: 2px solid var(--grape);
  outline-offset: 3px;
}

/* skip link — キーボード操作時のみ表示 */
.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 100;
  background: var(--grape); color: #fff;
  padding: 10px 18px; border-radius: 0 0 var(--radius) 0;
  font-size: 13px;
}
.skip-link:focus { left: 0; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 24px; }

/* ---------- header ---------- */
.header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  max-width: var(--max); margin: 0 auto; padding: 0 24px;
  display: flex; align-items: center; justify-content: space-between;
  height: 68px;
}
.brand { display: flex; align-items: baseline; gap: 10px; }
.brand-name {
  font-family: var(--font-display);
  font-size: 20px; font-weight: 700; letter-spacing: 0.14em;
}
.brand-en {
  font-family: var(--font-mono);
  font-size: 10px; letter-spacing: 0.22em; color: var(--ink-soft);
}
.nav { display: flex; align-items: center; gap: 26px; }
.nav a { font-size: 13.5px; letter-spacing: 0.06em; position: relative; }
.nav a:not(.btn)::after {
  content: ""; position: absolute; left: 0; bottom: -6px;
  width: 100%; height: 1.5px; background: var(--grape);
  transform: scaleX(0); transform-origin: left;
  transition: transform .25s ease;
}
.nav a:not(.btn):hover::after,
.nav a:not(.btn)[aria-current="page"]::after { transform: scaleX(1); }

/* 「事業者の方へ」の .nav-pill は 2026-08-15 に廃止。さらに 2026-08-22、Web制作・AEO 事業
   そのものをサイトから取り下げたため、web-aeo.html へのナビ・フッター導線も全ページから外した
   （ファイル自体は noindex で残置）。preview-*.html が使う .utility-bar / .web-aeo-pill は
   別系統なので下に残してある。 */

.btn {
  display: inline-block;
  background: var(--grape); color: #fff;
  padding: 11px 26px; border-radius: var(--radius);
  font-size: 13.5px; letter-spacing: 0.08em;
  border: 1px solid var(--grape);
  transition: background .2s ease;
}
.btn:hover { background: var(--grape-deep); border-color: var(--grape-deep); }
.btn-outline {
  background: transparent; color: var(--grape);
}
.btn-outline:hover { background: var(--grape); color: #fff; }
.btn-grape { background: var(--grape); border-color: var(--grape); }
.btn-grape:hover { background: var(--grape-deep); border-color: var(--grape-deep); }

.menu-toggle {
  display: none; background: none; border: 0; cursor: pointer;
  font-family: var(--font-mono); font-size: 12px; letter-spacing: .18em;
  color: var(--ink); padding: 8px;
}

/* ---------- utility bar (Web/AEO事業者向け導線) ---------- */
.utility-bar { background: var(--mist); border-bottom: 1px solid var(--line); padding: 7px 0; }
.utility-bar .wrap { display: flex; justify-content: flex-end; }
.web-aeo-pill {
  font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.04em;
  color: var(--ink-soft); border: 1px solid var(--line); border-radius: var(--radius-full);
  padding: 4px 14px; transition: border-color .2s ease, color .2s ease;
}
.web-aeo-pill:hover { border-color: var(--grape); color: var(--grape); }

/* ---------- 準備中プレースホルダー（EC導線） ---------- */
.nav-pending { opacity: .5; cursor: default; pointer-events: none; }

/* ---------- hero (top page) ----------
   明るい無地の面に、発光する紫の球体2つが浮かぶ構図。overflow:hidden は球体が
   右上にはみ出す分の横スクロールを止めるため必須。 */
.hero {
  position: relative; min-height: 76vh; overflow: hidden;
  display: flex; align-items: center;
  background: var(--surface);
  color: var(--ink);
}
/* 霧の粒子感 — 均質な色面に微細な粒状のノイズを重ね、量産テンプレート的な平坦さを崩す。
   サイト内でHeroだけに使う装飾のため、他ページのpage-heroには適用しない。 */
.hero::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix type='matrix' values='0 0 0 0 0.09 0 0 0 0 0.14 0 0 0 0 0.13 0 0 0 0.05 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
/* z-index は球体(.grape-cluster: 0)より前面に出すため明示指定。
   DOM順（球体→本文）に暗黙依存させると、将来HTMLの順序が変わった時に
   球体がCTAの手前に出てしまう。 */
.hero-inner { position: relative; z-index: 1; max-width: var(--max); margin: 0 auto; padding: 120px 24px 160px; width: 100%; }
.hero .eyebrow { color: var(--ink); }
.hero .eyebrow::before { background: var(--ink); }
.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(30px, 4.6vw, 52px);
  font-weight: 500; line-height: 1.32; letter-spacing: 0.03em;
}
.hero p.lead {
  margin-top: 26px; max-width: 34em;
  font-size: 15px; color: var(--ink-soft);
}
.hero-cta { margin-top: 38px; display: flex; gap: 14px; flex-wrap: wrap; }
/* background は透過を塞ぐため必須。球体はCTAの裏側を通ってよい（ユーザー承認済み）が、
   .btn-outline の既定は background:transparent のため、球体がボタンの面を透けて見えてしまう。
   ヒーローの無地面と同色を敷いて「ボタンの裏を通る」状態にする。hover時は既存の紫塗りが勝つ。
   写真上・暗色帯で .btn-outline を使う他ページに影響させないため .hero 配下に限定。 */
.hero .hero-cta .btn-outline { background: var(--surface); color: var(--ink); border-color: rgba(24, 36, 32, .35); }
/* hover も半透明にすると球体が透けるため、同じ見た目を不透明色で作る
   （旧: rgba(24,36,32,.06) を --surface に重ねた状態と等価）。
   color-mix 非対応環境では宣言ごと無効になり、上の不透明な --surface が残る。 */
.hero .hero-cta .btn-outline:hover { background: color-mix(in srgb, var(--ink) 6%, var(--surface)); border-color: var(--ink); }

/* 珠 — ヒーローの球体。BlueBank本家の「明るい無地面に発光する大きなガラス球」を紫2トーンで再現。
   球体の陰影のみ radial-gradient を使う（house rule の例外）。
   2026-08-15、一度この例外を撤回して単色+box-shadow版に置き換えたが、「気持ち悪い」
   「平面すぎる」といずれも不評で、結局「2日前（この実装）に戻して」と明確に指示された。
   単一div+単一gradientでは「ハイライトだけ大きく柔らかい／輪郭は締まる」という階調が出せず、
   インラインSVGの4層構成（にじみ / 芯 / リムライト / 面光源ハイライト）で各層のぼかし量を
   個別に変えている。詳細は docs/bluebank-wandy-quality-log.md Run8。
   今後この球体以外の箇所ではグラデーションを使わないこと（house ruleは維持）。 */
.grape-cluster {
  position: absolute;
  right: -14%; top: -6%;
  width: min(820px, 68vw);
  aspect-ratio: 1;
  pointer-events: none;
}
/* 自転(70s)は本家の circle-anim（0→360→0 / ease-in-out）準拠。
   浮遊(48s)は独自演出で、周期を自転と揃えないことで単純な同期反復に見せない。 */
.grape-orb {
  position: absolute; display: block; overflow: visible;
  animation: grape-float 48s ease-in-out infinite, grape-spin 70s ease-in-out infinite;
}
.grape-orb.gd-1 { width: 78%; height: 78%; left: 14%; top: -8%; animation-delay: 0s; }
.grape-orb.gd-2 { width: 32%; height: 32%; left: 4%; top: 62%; opacity: .94; animation-delay: -35s, -12s; }
@keyframes grape-float {
  0%   { translate: 0% 0%; }
  14%  { translate: 22% -18%; }
  28%  { translate: -10% -42%; }
  42%  { translate: -46% -10%; }
  56%  { translate: -28% 30%; }
  70%  { translate: 14% 40%; }
  84%  { translate: 38% 8%; }
  100% { translate: 0% 0%; }
}
/* 狭幅では球体がCTAボタンのすぐ下に来るため、同じ軌道のまま振幅だけ約1/3に抑える。
   これがないと浮遊の上位相でボタンに食い込む（375pxで実測確認）。 */
@keyframes grape-float-narrow {
  0%   { translate: 0% 0%; }
  14%  { translate: 7% -6%; }
  28%  { translate: -3% -14%; }
  42%  { translate: -15% -3%; }
  56%  { translate: -9% 10%; }
  70%  { translate: 5% 13%; }
  84%  { translate: 13% 3%; }
  100% { translate: 0% 0%; }
}
@keyframes grape-spin {
  0% { rotate: 0deg; }
  50% { rotate: 360deg; }
  100% { rotate: 0deg; }
}

/* hero直下のベネフィット箇条書き（membership.html） */
/* 会員権ヒーローの事実行。価格(.num)はページの主役なので明朝、
   日付(.num-mono)は「ものさし」の数値なので mono のまま。 */
.hero-fact { margin-top: 22px; font-size: 13.5px; color: var(--ink-soft); }
.hero-fact .num {
  font-family: var(--font-display); font-weight: 500;
  font-size: 22px; color: var(--ink); letter-spacing: 0.04em;
}
.hero-fact .num .yen { font-size: 0.64em; margin-right: 1px; }
.hero-fact .num-mono {
  font-family: var(--font-mono); font-size: 15px; color: var(--ink);
  font-variant-numeric: tabular-nums; letter-spacing: 0.02em;
}
.hero-sub { margin-top: 16px; font-size: 12.5px; color: var(--ink-soft); }

/* モバイル用スティッキーCTAバー（membership.html） */
.sticky-cta {
  display: none; position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
  background: #fff; border-top: 1px solid var(--line);
  padding: 12px 20px; align-items: center; justify-content: space-between; gap: 14px;
  box-shadow: var(--shadow-lg);
}
.sticky-cta p { font-size: 12px; color: var(--ink-soft); }
.sticky-cta .btn { white-space: nowrap; padding: 10px 20px; font-size: 13px; }

/* subpage hero — carries the 霧 signature down to every page（単色のmist面のみ、グラデーション不使用） */
.page-hero {
  background: var(--mist);
  border-bottom: 1px solid var(--line);
  padding: 64px 0 60px;
}

/* breadcrumb */
.breadcrumb ol {
  list-style: none; display: flex; flex-wrap: wrap; gap: 8px;
  font-family: var(--font-mono); font-size: 11.5px; letter-spacing: 0.08em;
  color: var(--ink-soft); margin-bottom: 22px;
}
.breadcrumb li + li::before { content: "/"; margin-right: 8px; opacity: .5; }
.breadcrumb a:hover { color: var(--grape); }
.page-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(26px, 3.4vw, 38px);
  font-weight: 600; letter-spacing: 0.12em; line-height: 1.5;
}
.page-hero p { margin-top: 14px; color: var(--ink-soft); max-width: 40em; }

/* ---------- sections ---------- */
.section { padding: 96px 0; }
.section.mist { background: var(--mist); }

/* 霧珠 divider — セクション間の一呼吸。霧のグラデーションに珠（雫）を一粒置く。
   Signature element。装飾は情報を持たないため aria-hidden で読み上げから除外する。 */
.mist-divider {
  position: relative;
  height: 72px;
}
.mist-divider::before {
  content: "";
  position: absolute; left: 50%; top: 50%;
  width: 10px; height: 10px; border-radius: 50%;
  background: var(--grape);
  transform: translate(-50%, -50%);
  box-shadow: 0 0 0 6px rgba(92, 64, 89, .08);
}

/* 珠 — pearl-dot eyebrow */
.eyebrow {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 12px; letter-spacing: 0.22em;
  color: var(--grape);
  display: flex; align-items: center; gap: 10px;
  margin-bottom: 18px; text-transform: uppercase;
}
.eyebrow::before {
  content: ""; width: 7px; height: 7px; border-radius: 50%;
  background: var(--grape); flex: none;
}
/* 見出しは明朝。ゴシック太字の大見出しは量産テンプレートの最大の特徴で、
   小見出し（.yl-n など）が既に明朝だったため主従も逆転していた。
   明朝は 700 まで太らせると横画が潰れるので 600 止まり、字間は 0.10em まで開ける。 */
h2.title {
  font-family: var(--font-display);
  font-size: clamp(24px, 3vw, 34px);
  font-weight: 600; letter-spacing: 0.10em; line-height: 1.7;
}
.section-head { margin-bottom: 52px; }
.section-head p.desc { margin-top: 16px; color: var(--ink-soft); max-width: 42em; }

/* ---------- cards / grids ---------- */
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.grid-4 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }

.biz-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; display: flex; flex-direction: column;
  transition: box-shadow .25s ease, transform .25s ease;
}
.biz-card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }
.biz-card .thumb { aspect-ratio: 16 / 9; background: var(--mist); object-fit: cover; width: 100%; height: auto; display: block; }
.biz-card .body { padding: 26px 26px 30px; flex: 1; display: flex; flex-direction: column; }
.biz-card .tag {
  font-family: var(--font-mono); font-size: 10.5px; letter-spacing: 0.2em;
  color: var(--grape); margin-bottom: 10px;
}
.biz-card h3 {
  font-family: var(--font-body); font-size: 19px; font-weight: 700;
  letter-spacing: 0.04em; line-height: 1.6;
}
.biz-card p { margin-top: 10px; font-size: 13.5px; color: var(--ink-soft); flex: 1; }
.biz-card .more {
  margin-top: 18px; font-size: 13px; color: var(--grape); letter-spacing: 0.08em;
}
.biz-card .more::after { content: " →"; }

/* ---------- 珠の連なり（トップページ ABOUT セクション内）
   4事業がいきなり並列に並ぶと「何屋か」が伝わらないため、事業カードの前に
   「育てる / 届ける / 続ける」を置いて4事業を一本の理由でつなぐ。

   カードグリッドにしない: 直下の .biz-compact もカードで、同じ形が続くと
   量産テンプレートに見える（2026-08-15にユーザー指摘）。代わりにサイトの署名である
   「珠」を節点にして一本のヘアラインへ打つ。ぶどうの房の軸に粒が連なる形。
   番号(01/02/03)は使わない: 育てる→届ける→続けるは順序ではなく循環で、
   番号は内容について嘘をつく。 ---------- */
.chain { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 44px; margin-top: 72px; }
.chain-node { position: relative; padding-top: 38px; }
/* 節点をつなぐ軸。右端は gap を跨いで次の珠まで伸ばす。 */
.chain-node::before {
  content: ""; position: absolute; top: 5px; left: 0; right: -44px;
  height: 1px; background: var(--line);
}
/* 最後の節点から先へ線を垂らさない。軸は 珠→珠→珠 で終わる。 */
.chain-node:last-child::before { display: none; }
/* 珠。.eyebrow::before と同じ語彙だが、節点なので一回り大きい。 */
.chain-node::after {
  content: ""; position: absolute; top: 0; left: 0;
  width: 11px; height: 11px; border-radius: 50%; background: var(--grape);
}
.chain-node h3 { font-family: var(--font-body); font-weight: 700; font-size: 18px; letter-spacing: 0.1em; }
.chain-node p { margin-top: 14px; font-size: 13.5px; color: var(--ink-soft); line-height: 1.95; }
.chain-node .more { display: inline-block; margin-top: 18px; font-size: 12.5px; }

/* ---------- 4つの事業（コンパクト表示）
   会員権を主軸に据えたトップでは、事業一覧は「4事業ある会社だ」という裏付けの役割。
   大きな写真カード(.biz-card)ではなく小サムネ+タイトルのみに圧縮する。
   .section.mist の上に置くため、チップは白地+hairlineで抜く。 ---------- */
.biz-compact { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 14px; }
.biz-compact-item {
  display: flex; align-items: center; gap: 14px; padding: 14px;
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
  transition: border-color .2s ease;
}
.biz-compact-item:hover { border-color: var(--grape); }
.biz-compact-item img {
  width: 56px; height: 56px; object-fit: cover; border-radius: var(--radius); flex: none;
}
/* 写真が未用意の事業は、仮画像を置かずサムネ枠に「準備中」を出す。 */
.biz-compact-item .thumb-pending {
  width: 56px; height: 56px; flex: none; border-radius: var(--radius);
  background: var(--mist); border: 1px solid var(--line);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.06em; color: var(--ink-soft);
}
.biz-compact-item h3 {
  font-family: var(--font-body); font-size: 14px; font-weight: 700;
  letter-spacing: 0.02em; line-height: 1.5;
}
.biz-compact-item .biz-badge {
  display: block; margin-top: 3px;
  font-size: 11px; letter-spacing: 0.02em; color: var(--grape);
}

/* ---------- membership band (top page) ---------- */
.member-band {
  background: var(--grape-deep);
  color: #fff; border-radius: var(--radius-lg); overflow: hidden;
  display: grid; grid-template-columns: 1.15fr 1fr;
}
.member-band .text { padding: 60px 56px; }
.member-band .eyebrow { color: #cfe0d4; }
.member-band .eyebrow::before { background: #cfe0d4; }
/* h2.title と同じ明朝に揃える。ここは --font-body を明示しており、
   かつ h2.title より後に定義されているため、h2.title だけ直すと取り残される。 */
.member-band h2 {
  font-family: var(--font-display); font-size: clamp(22px, 2.6vw, 30px);
  font-weight: 600; letter-spacing: 0.08em; line-height: 1.7;
}
.member-band p { margin-top: 16px; font-size: 14px; color: #e4ece6; max-width: 32em; }
.member-band .photo { background: url("images/grape-vineyard.webp") center / cover; min-height: 280px; }
/* 会員権の確定事実（価格レンジ・募集開始時期・登録コスト）。membership.html の表記と揃える。
   紫帯の上なので --ink-soft は使えず、member-band 既存の #cfe0d4 を流用する。 */
.fact-row {
  display: flex; flex-wrap: wrap; gap: 8px 20px;
  margin-top: 20px; padding-top: 18px; border-top: 1px solid rgba(255,255,255,.18);
}
.fact-item { font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.06em; color: #cfe0d4; }

/* ---------- estate band（membership.html の畑の一枚絵） ----------
   会員権ページは帯が mist→白→mist→白→mist と全部淡色で、濃い面が1つも無かった。
   写真を1枚だけ入れて濃色の錨を作る。写真の上に文字は重ねない（可読性のために
   半透明の面を敷くことになり、単色で面を作るハウスルールから外れるため）。
   色は --moss-deep。index の紫帯(.member-band)・フッター(--grape-deep)と分ける。
   .member-band と違い角丸は付けない — 全幅の帯として扱う。 */
.estate-band {
  background: var(--moss-deep); color: #fff;
  display: grid; grid-template-columns: 1.4fr 1fr;
}
.estate-photo {
  /* 実写真が届いたら、この1行の画像だけ差し替える。
     hero-mist-vineyard.webp は名前に反して「麦畑の夕景」で、作物も色温度も合わないため使わない。
     index の .member-band と同じ画像だが、あちらは右の小さい面（1fr / min-height 280px）で
     こちらは左の大きい面（1.4fr / 480px）。拡大率とトリミングが違うので反復には見えない。 */
  background: url("images/grape-vineyard.webp") center 45% / cover no-repeat;
  min-height: 480px;
}
.estate-text { padding: 72px clamp(28px, 4vw, 56px); align-self: center; }
.estate-text .eyebrow { color: #cfe0d4; }
.estate-text .eyebrow::before { background: #cfe0d4; }
/* この帯の中身は「誰が育てているか」。標語を置く場所ではないので、
   見出しは作り手の名前そのものにする。写真も人の手なので対になる。 */
.estate-text h2.title { font-size: clamp(26px, 2.6vw, 33px); letter-spacing: 0.16em; }
.estate-text .estate-role {
  margin-top: 10px; font-size: 12px; letter-spacing: 0.12em; color: #a9c2b2;
}
.estate-text p { margin-top: 20px; font-size: 14.5px; color: #e4ece6; line-height: 2.05; }
.estate-text .estate-role + p {
  margin-top: 26px; padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, .18);
}

/* ---------- photo strip（about の3枚組。実写真受領後に画像だけ差し替える） ---------- */
.photo-strip { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; margin-top: 56px; }
.photo-strip figure { margin: 0; }
.photo-strip img {
  border-radius: var(--radius); aspect-ratio: 4 / 3; object-fit: cover;
  width: 100%; height: auto; background: var(--mist);
}
.photo-strip figcaption {
  font-family: var(--font-mono); font-size: 11.5px; letter-spacing: 0.14em;
  color: var(--ink-soft); margin-top: 14px;
}

/* ---------- tables ---------- */
.spec-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.spec-table th, .spec-table td {
  text-align: left; padding: 16px 8px; border-bottom: 1px solid var(--line);
  vertical-align: top;
}
.spec-table th { width: 200px; font-weight: 500; color: var(--ink-soft); letter-spacing: 0.06em; }

/* ---------- membership page ---------- */
.plan-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }
.plan {
  border: 1px solid var(--line); border-radius: var(--radius);
  padding: 36px 32px 40px; background: #fff; position: relative;
}
.plan.featured { border: 2px solid var(--grape); }
.plan .badge {
  position: absolute; top: -13px; left: 28px;
  background: var(--grape); color: #fff;
  font-size: 11px; letter-spacing: 0.14em; padding: 3px 14px; border-radius: var(--radius-full);
}
.plan h3 { font-family: var(--font-body); font-weight: 700; font-size: 19px; letter-spacing: 0.04em; }
.plan .price {
  margin-top: 18px; font-family: var(--font-mono);
  font-size: 30px; letter-spacing: 0.02em;
}
.plan .price small { font-size: 13px; font-family: var(--font-body); color: var(--ink-soft); letter-spacing: 0.06em; }
.plan ul { margin-top: 22px; list-style: none; }
.plan li {
  padding: 10px 0 10px 24px; border-bottom: 1px dashed var(--line);
  font-size: 13.5px; position: relative;
}
.plan li::before {
  content: ""; position: absolute; left: 4px; top: 19px;
  width: 6px; height: 6px; border-radius: 50%; background: var(--grape);
}
.note { font-size: 12px; color: var(--ink-soft); margin-top: 18px; }
/* 募集本数の限定は「読み飛ばしてよい注記」ではないので .note と重みを分ける。
   本文の色・サイズで、上に罫線を1本引いて表から切り離す。 */
.limited {
  margin-top: 34px; padding-top: 20px; border-top: 1px solid var(--line);
  max-width: 660px; font-size: 14px; color: var(--ink); line-height: 2.0;
}

/* ============================================================
   membership page
   署名は「一年の帯」。月を実寸の目盛に取り、5工程を実際の月の位置に置く。
   間隔の不揃いさ（冬に1回・春に2回・秋に集中）そのものが情報なので、
   等分割のグリッドに戻さないこと。
   ============================================================ */

.year-band { background: var(--paper); border-bottom: 1px solid var(--line); padding: 52px 0 56px; }
.year-lead {
  font-family: var(--font-display); font-weight: 600;
  font-size: clamp(16px, 2vw, 20px); letter-spacing: 0.1em; line-height: 1.6;
  margin-bottom: 34px;
}

/* 月の目盛。12列で .year-line と桁を合わせる */
.year-scale {
  list-style: none; display: grid; grid-template-columns: repeat(12, 1fr);
  font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.06em;
  color: var(--ink-soft); border-bottom: 1px solid var(--line);
}
.year-scale li { padding: 0 0 6px 6px; border-left: 1px solid var(--line); }
.year-scale li:first-child { border-left: 0; padding-left: 0; }

.year-line {
  list-style: none; display: grid; grid-template-columns: repeat(12, 1fr);
  row-gap: 22px; margin-top: 18px;
}
.yl { grid-column: var(--a) / var(--b); grid-row: var(--r); position: relative; padding: 13px 12px 0 0; }
/* 帯の長さ＝その工程にかかる月数。1月の傘掛けは短く、2月にまたがる剪定は長い */
.yl::before {
  content: ""; position: absolute; left: 0; top: 0; right: 12px;
  height: 2px; background: var(--moss);
}
.yl-m {
  display: block; font-family: var(--font-mono);
  font-size: 10.5px; letter-spacing: 0.08em; color: var(--moss);
}
.yl-n {
  display: block; margin-top: 5px;
  font-family: var(--font-display); font-weight: 600;
  font-size: clamp(15px, 1.5vw, 18px); letter-spacing: 0.06em; line-height: 1.5;
}
.year-note { margin-top: 30px; font-size: 12.5px; color: var(--ink-soft); }

/* 狭い幅では12列に日本語が入らないので、月を左に置く縦のリストへ倒す */
@media (max-width: 820px) {
  .year-scale { display: none; }
  .year-line { grid-template-columns: 1fr; row-gap: 0; margin-top: 4px; }
  .yl {
    grid-column: 1 / -1; grid-row: auto;
    display: flex; align-items: baseline; gap: 16px;
    padding: 14px 0; border-bottom: 1px solid var(--line);
  }
  .yl::before { display: none; }
  .yl-m { flex: none; width: 5.5em; color: var(--ink-soft); }
  .yl-n { margin-top: 0; }
}

/* プランごとに1ブロック。特典の一覧とプラン表を別々に置くと、読み手が
   「8項目」と「2個/4個/6個」を頭の中で突き合わせることになり、
   ¥30,000で何がもらえるのかが読み取れなかった。他社（ピノ・コッリーナ等）は
   どこもプランごとに特典を並べ直している。
   ただし同じ8項目を3回繰り返すとページが伸びるので、群ごとに1行へ畳む。 */
.plan-block { padding: 34px 0 38px; border-top: 1px solid var(--line); }
.plan-block:first-of-type { border-top: 1px solid var(--ink); }

.plan-head { display: flex; align-items: baseline; justify-content: space-between; gap: 8px 24px; flex-wrap: wrap; }
.plan-name {
  font-family: var(--font-display); font-weight: 600;
  font-size: 21px; letter-spacing: 0.1em;
}
.plan-price {
  font-family: var(--font-display); font-weight: 500;
  font-size: 27px; letter-spacing: 0.04em; white-space: nowrap;
}
.plan-price .yen { font-size: 0.62em; margin-right: 1px; }
.plan-price small {
  font-family: var(--font-body); font-size: 12px;
  letter-spacing: 0.06em; color: var(--ink-soft); margin-left: 6px;
}
/* プラン間の実質的な違いは選べる数だけ。記号を使わず普通の文で書き、
   数字だけを明朝で大きくする（「2つ ／7つ中」のような省略表記は読めなかった）。 */
.plan-pick {
  margin-top: 10px; font-size: 13px; color: var(--ink-soft); letter-spacing: 0.04em;
}
.plan-pick b {
  font-family: var(--font-display); font-weight: 600;
  font-size: 19px; letter-spacing: 0.04em; color: var(--grape); margin: 0 2px;
}

/* 特典は1項目=1行。空白だけで区切ると、どこまでが1項目か読めない。
   縦に8行積むとプラン3つぶんで長くなるので、3群を横に並べて高さを4行に抑える。 */
.plan-perks {
  margin-top: 22px;
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px 32px; align-items: start;
}
.pg h4 {
  font-family: var(--font-body); font-weight: 700;
  font-size: 11px; letter-spacing: 0.18em; color: var(--grape);
  padding-bottom: 10px; border-bottom: 1px solid var(--line);
}
.pg ul { list-style: none; margin-top: 12px; }
.pg li {
  position: relative; padding: 5px 0 5px 18px;
  font-size: 15px; letter-spacing: 0.04em; line-height: 1.75;
}
/* 珠 — サイトの署名モチーフ。「選ぶもの」が並んでいることを示す印を兼ねる */
.pg li::before {
  content: ""; position: absolute; left: 0; top: 15px;
  width: 6px; height: 6px; border-radius: 50%; background: var(--grape);
}

@media (max-width: 700px) {
  .plan-perks { grid-template-columns: 1fr 1fr; gap: 20px 24px; }
  /* 「記念品」は2列だと下に取り残されるので全幅に伸ばす */
  .plan-perks .pg:last-child { grid-column: 1 / -1; }
  .plan-perks .pg:last-child ul { display: grid; grid-template-columns: 1fr 1fr; gap: 0 24px; }
}
@media (max-width: 420px) {
  .plan-perks { gap: 18px 16px; }
  /* 320pxでは「ネームプレート作成」が2列に収まらず折り返すので1列へ落とす */
  .plan-perks .pg:last-child ul { grid-template-columns: 1fr; }
  .pg li { font-size: 13.5px; padding-left: 15px; }
  .pg li::before { width: 5px; height: 5px; top: 14px; }
}

.flow { counter-reset: step; list-style: none; }
.flow li {
  counter-increment: step; position: relative;
  padding: 0 0 34px 64px; border-left: 1px solid var(--line);
  margin-left: 20px;
}
.flow li:last-child { border-left-color: transparent; padding-bottom: 0; }
.flow li::before {
  content: counter(step, decimal-leading-zero);
  position: absolute; left: -21px; top: -2px;
  width: 42px; height: 42px; border-radius: 50%;
  background: #fff; border: 1px solid var(--grape); color: var(--grape);
  font-family: var(--font-mono); font-size: 13px;
  display: flex; align-items: center; justify-content: center;
}
.flow h3 { font-size: 16px; font-weight: 700; letter-spacing: 0.06em; }
.flow p { margin-top: 6px; font-size: 13.5px; color: var(--ink-soft); }

/* FAQ */
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  cursor: pointer; padding: 22px 8px; font-weight: 500;
  list-style: none; display: flex; gap: 14px; align-items: baseline;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::before { content: "Q"; font-family: var(--font-mono); color: var(--grape); }
.faq .a { padding: 0 8px 24px 34px; font-size: 14px; color: var(--ink-soft); }

/* ---------- people ---------- */
.person { display: grid; grid-template-columns: 220px 1fr; gap: 34px; align-items: start; }
.person .face {
  aspect-ratio: 1; border-radius: var(--radius); object-fit: cover; width: 100%;
  background: var(--mist);
}
.face-placeholder {
  display: flex; align-items: center; justify-content: center;
  background: var(--mist);
}
.face-placeholder span {
  font-family: var(--font-display); font-size: 64px; color: var(--grape); opacity: .55;
}
.person .role { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.2em; color: var(--grape); }
.person h3 { font-family: var(--font-body); font-weight: 700; font-size: 21px; margin-top: 8px; letter-spacing: 0.04em; }
.person p { margin-top: 12px; font-size: 14px; color: var(--ink-soft); }

/* ---------- contact form ---------- */
.form { max-width: 680px; }
.form .field { margin-bottom: 26px; }
.form label { display: block; font-size: 13.5px; font-weight: 500; margin-bottom: 8px; letter-spacing: 0.06em; }
.form label .req {
  font-size: 10.5px; color: #fff; background: var(--grape);
  border-radius: 3px; padding: 1px 7px; margin-left: 8px; letter-spacing: 0.1em;
}
.form input[type="text"], .form input[type="email"], .form input[type="tel"],
.form select, .form textarea {
  width: 100%; padding: 13px 14px; font-size: 14px;
  font-family: var(--font-body);
  border: 1px solid var(--line); border-radius: var(--radius);
  background: #fff; color: var(--ink);
}
.form input:focus, .form select:focus, .form textarea:focus {
  outline: 2px solid var(--grape); outline-offset: 0; border-color: var(--grape);
}
.form textarea { min-height: 170px; resize: vertical; }

/* ---------- map ---------- */
.map-frame {
  width: 100%; aspect-ratio: 16 / 7; border: 0; border-radius: var(--radius);
  display: block; background: var(--mist);
}

/* ---------- CTA band ---------- */
.cta-band { background: var(--mist); border-top: 1px solid var(--line); padding: 88px 0; text-align: center; }
.cta-band h2 { font-family: var(--font-display); font-size: clamp(22px, 2.8vw, 30px); letter-spacing: 0.10em; font-weight: 600; line-height: 1.7; }
.cta-band p { margin-top: 14px; color: var(--ink-soft); }
.cta-band .hero-cta { justify-content: center; }
/* 主ボタン（会員権）の下に置く、卸・その他向けの軽量リンク。
   塗りボタンを並列させると選択肢過多で決定回避を招くため、重みを落として並べる。 */
.contact-routes {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 24px; margin-top: 22px;
}
.contact-routes a {
  font-size: 13px; color: var(--ink-soft);
  border-bottom: 1px solid var(--line); padding-bottom: 2px;
  transition: color .2s ease, border-color .2s ease;
}
.contact-routes a:hover { color: var(--grape); border-bottom-color: var(--grape); }

/* ---------- contact: フォーム＋案内の2カラム ---------- */
.contact-layout {
  display: grid; grid-template-columns: minmax(0, 680px) 1fr;
  gap: 56px; align-items: start;
}
.contact-aside {
  border: 1px solid var(--line); border-radius: var(--radius);
  background: var(--mist); padding: 32px 28px;
}
.contact-aside + * { margin-top: 0; }
.contact-aside h2 {
  font-family: var(--font-body); font-size: 15px; font-weight: 700;
  letter-spacing: 0.08em; margin-bottom: 10px;
}
.contact-aside h2 + p { font-size: 13.5px; color: var(--ink-soft); }
.contact-aside .aside-block + .aside-block {
  margin-top: 26px; padding-top: 26px; border-top: 1px solid var(--line);
}
.contact-aside ul { list-style: none; }
.contact-aside li { margin-top: 10px; font-size: 13.5px; }

/* ---------- inline style の置き換え用 ---------- */
.link-grape { color: var(--grape); letter-spacing: 0.08em; }
.btn-on-dark { background: #fff; color: var(--grape-deep); border-color: #fff; }
.btn-on-dark:hover { background: var(--fog); color: var(--grape-deep); border-color: var(--fog); }

/* ---------- policy（privacy.html の長文ページ） ---------- */
.policy { max-width: 760px; }
.policy h2 {
  font-family: var(--font-body); font-size: 17px; font-weight: 700;
  letter-spacing: 0.06em; line-height: 1.7;
  margin: 48px 0 14px; padding-top: 24px; border-top: 1px solid var(--line);
}
.policy h2:first-child { margin-top: 0; padding-top: 0; border-top: 0; }
.policy p { font-size: 14.5px; color: var(--ink-soft); margin-top: 12px; }
.policy .spec-table { margin-top: 18px; }
.policy-list { list-style: none; margin-top: 14px; }
.policy-list li {
  position: relative; padding: 6px 0 6px 22px;
  font-size: 14.5px; color: var(--ink-soft);
}
.policy-list li::before {
  content: ""; position: absolute; left: 2px; top: 17px;
  width: 6px; height: 6px; border-radius: 50%; background: var(--grape);
}

/* ---------- footer ---------- */
.footer { background: var(--grape-deep); color: #d9e3dc; padding: 72px 0 36px; }
.footer a:hover { color: #fff; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 48px; }
.footer .brand-name { color: #fff; }
.footer .brand-en { color: #9fb5a8; }
.footer p.addr { margin-top: 18px; font-size: 13px; color: #b7c6bc; }
.footer h4 { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.24em; color: #9fb5a8; margin-bottom: 16px; }
.footer ul { list-style: none; }
.footer li { margin-bottom: 10px; font-size: 13.5px; }
.footer .legal {
  margin-top: 60px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.14);
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px;
  font-size: 12px; color: #9fb5a8;
}
.footer .legal a { border-bottom: 1px solid rgba(255,255,255,.28); padding-bottom: 1px; }
.footer .legal a:hover { border-bottom-color: #fff; }
.store-note {
  display: inline-block; font-size: 10.5px; color: #9fb5a8;
  border: 1px solid rgba(255,255,255,.25); border-radius: var(--radius-full);
  padding: 0 8px; margin-left: 8px;
}

/* ---------- 見出しの折り返し ----------
   2026-08-22、見出しとヒーローのリードから句読点を廃止した。区切りは半角スペース
   だけになったので、折り返しもそのスペース位置で起きるように keep-all を効かせる。
   スペースを含まない長い見出し（例: 事業についてよくあるご質問）が1行に収まらない
   場合は overflow-wrap が働いて従来どおり折り返す。 */
h1, h2, h3, .title, .hero .lead, .page-hero p {
  word-break: keep-all;
  overflow-wrap: break-word;
}

/* ---------- reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ---------- responsive ---------- */
@media (max-width: 600px) {
  .biz-compact { grid-template-columns: 1fr; }
}

@media (max-width: 900px) {
  .grid-2, .grid-3, .grid-4, .plan-grid, .footer-grid { grid-template-columns: 1fr; }
  /* 写真はDOM順で先にあるので、1カラムに倒すと自動的に上へ来る */
  .estate-band { grid-template-columns: 1fr; }
  .estate-photo { min-height: 260px; }
  .estate-text { padding: 48px 24px 52px; }
  .contact-layout { grid-template-columns: 1fr; gap: 36px; }
  .photo-strip { grid-template-columns: 1fr; gap: 20px; }

  /* 珠の連なりは軸を縦に倒す。最後の節点から下へ線が垂れないよう末尾は消す。 */
  .chain { grid-template-columns: 1fr; gap: 0; margin-top: 48px; }
  .chain-node { padding: 0 0 34px 30px; }
  .chain-node::before { top: 5px; bottom: 0; left: 5px; right: auto; width: 1px; height: auto; }
  .chain-node:last-child { padding-bottom: 0; }
  .chain-node:last-child::before { display: none; }

  /* 見出しが画面幅いっぱいまで伸びるこの幅では、68vw基準の球体を右上に置くと
     h1・CTAボタンに重なる（768pxで実測確認）。
     縦の分離（下端に沈める）は375pxだと成立しない — ボタンを避けるまで下げると
     球体がheroの外に出て消えてしまう。代わりに右下へ寄せ、左寄せのCTAボタンとは
     水平方向で分離する。浮遊の振幅も狭幅用に約1/3へ落とす。 */
  .hero { min-height: 62vh; }
  .hero-inner { padding: 88px 24px 104px; }
  .grape-cluster {
    width: min(230px, 62vw);
    top: auto; bottom: -20%;
    right: -20%; left: auto; translate: none;
  }
  .grape-orb { animation-name: grape-float-narrow, grape-spin; }
  .mist-divider { height: 56px; }
  .section-head { margin-bottom: 32px; }
  .member-band .text { padding: 36px 24px 40px; }
  .cta-band { padding: 60px 0; }
  .member-band { grid-template-columns: 1fr; }
  .member-band .photo { min-height: 200px; order: -1; }
  .person { grid-template-columns: 1fr; }
  .person .face { max-width: 220px; }
  .section { padding: 56px 0; }

  .menu-toggle { display: block; }
  .nav {
    position: fixed; inset: 68px 0 auto 0;
    background: #fff; border-bottom: 1px solid var(--line);
    flex-direction: column; align-items: stretch; gap: 0;
    padding: 12px 24px 24px;
    display: none;
  }
  .nav.open { display: flex; }
  .nav a { padding: 14px 4px; border-bottom: 1px solid var(--line); }
  .nav a.btn { margin-top: 16px; text-align: center; border-bottom: 0; }
  .spec-table th { width: 120px; }
  .sticky-cta { display: flex; }
}
