/* ============================================================
   みのり農園 MINORI FARM — 架空のクラフト農園 (Web Design Lab showcase)
   高明度 warm kraft / risograph・手描きSVGイラスト・紙のコラージュ
   スクロールストーリー「畑から食卓へ」／ 紙めくりホバー
   ============================================================ */
:root {
  --paper:    #f3ece0;   /* クラフト紙 off-white */
  --paper-2:  #ece0cd;   /* 一段深い紙 */
  --paper-3:  #e3d3b6;   /* 罫・厚紙 */
  --cream:    #fbf7ef;   /* いちばん明るい紙 */
  --board:    #e8dcc6;   /* セクション地 */
  --ink:      #43382a;   /* 温かい茶インク（本文） */
  --ink-2:    #6f6046;   /* 薄インク */
  --ink-3:    rgba(67,56,42,.55);
  --line:     rgba(67,56,42,.16);
  --line-2:   rgba(67,56,42,.28);

  --terra:    #c26a45;   /* テラコッタ */
  --terra-d:  #a9552f;
  --olive:    #7c8a3e;   /* オリーブ */
  --olive-d:  #5f6c2c;
  --mustard:  #d9a441;   /* マスタード */
  --tomato:   #c1503f;   /* トマト赤（差し色） */
  --sage:     #8bab9b;   /* riso overprint teal */

  --slab: 'Zilla Slab', Georgia, serif;         /* 英字ディスプレイ・ラベル・数字 */
  --hand: 'Klee One', 'Zen Maru Gothic', cursive; /* 手書き見出し・一筆 */
  --body: 'Zen Maru Gothic', system-ui, sans-serif; /* 丸ゴシック本文 */

  --maxw: 1160px;
  --ease: cubic-bezier(.22, 1, .36, 1);
  --spring: cubic-bezier(.34, 1.56, .64, 1);  /* 少しオーバーシュートするバネ */
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--body);
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
  line-height: 1.9;
  font-weight: 400;
  letter-spacing: .01em;
}
a { color: inherit; text-decoration: none; }
img, svg { max-width: 100%; display: block; }
::selection { background: rgba(194,106,69,.22); color: var(--ink); }
.defs { position: absolute; }

/* 紙のグレイン（overprint感） */
.grain {
  content: ""; position: fixed; inset: 0; z-index: 1; pointer-events: none;
  opacity: .5; mix-blend-mode: multiply;
  background-image:
    radial-gradient(circle at 18% 24%, rgba(120,90,50,.05) 0 1px, transparent 1.4px),
    radial-gradient(circle at 62% 58%, rgba(120,90,50,.045) 0 1px, transparent 1.4px),
    radial-gradient(circle at 84% 82%, rgba(120,90,50,.05) 0 1px, transparent 1.4px);
  background-size: 6px 6px, 9px 9px, 7px 7px;
}

/* ===== scroll progress（麻ひも色） ===== */
.scroll-progress {
  position: fixed; left: 0; top: 0; height: 3px; width: 0; z-index: 400;
  background: linear-gradient(90deg, var(--olive), var(--mustard) 60%, var(--terra));
  box-shadow: 0 1px 3px rgba(67,56,42,.2);
}

/* ============================================================
   共通：紙カード / 破れ紙エッジ
   ============================================================ */
.paper {
  position: relative; background: var(--cream);
  box-shadow: 0 10px 30px -14px rgba(67,56,42,.4), 0 1px 0 rgba(255,255,255,.6) inset;
  border-radius: 5px;
}
/* 破れ紙の縁（solidな色レイヤーをfeDisplacementで揺らす） */
.paper::before {
  content: ""; position: absolute; inset: -3px; z-index: -1;
  background: var(--cream);
  filter: url(#torn);
  border-radius: 5px;
}

.btn {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--body); font-weight: 700; font-size: 15px; letter-spacing: .02em;
  padding: 13px 26px; border-radius: 40px; cursor: pointer; border: 0;
  transition: transform .3s var(--spring), box-shadow .3s var(--ease), background .3s;
}
.btn span { display: inline-block; }
.btn-primary {
  color: var(--cream); background: var(--terra);
  box-shadow: 0 8px 18px -8px rgba(169,85,47,.8), 0 2px 0 var(--terra-d);
}
.btn-primary:hover { transform: translateY(-3px) rotate(-1deg); box-shadow: 0 14px 26px -10px rgba(169,85,47,.85), 0 2px 0 var(--terra-d); }
.btn-ghost {
  color: var(--ink); background: transparent;
  border: 2px solid var(--line-2); box-shadow: none;
}
.btn-ghost:hover { transform: translateY(-3px) rotate(1deg); border-color: var(--olive); color: var(--olive-d); }

/* ===== reveal（バネで下からふわり） ===== */
[data-reveal] { opacity: 0; transform: translateY(26px); transition: opacity .8s var(--ease), transform .8s var(--spring); }
[data-reveal].in { opacity: 1; transform: none; }

/* ===== 手描きイラスト共通（色は器から継承） ===== */
.ill { position: relative; color: inherit; pointer-events: none; }
.ill svg { width: 100%; height: 100%; overflow: visible; }
.ill svg .draw {
  fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round;
  stroke-dasharray: 100; stroke-dashoffset: 100; transition: stroke-dashoffset 1.5s var(--ease);
}
.ill svg .fill { opacity: 0; transition: opacity .7s ease .5s; }
.ill.drawn svg .draw { stroke-dashoffset: 0; }
.ill.drawn svg .fill { opacity: 1; }

/* やわらかい揺れ */
@keyframes sway {
  0%, 100% { transform: rotate(calc(var(--rot, 0deg) - 1.4deg)); }
  50%      { transform: rotate(calc(var(--rot, 0deg) + 1.4deg)); }
}
.sway { animation: sway var(--dur, 7s) var(--ease) infinite; transform-origin: 50% 90%; }

/* ============================================================
   nav
   ============================================================ */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 300;
  display: flex; align-items: center; gap: 22px;
  padding: 18px clamp(16px, 4vw, 48px);
  transition: padding .4s var(--ease), background .4s, box-shadow .4s, border-color .4s;
  border-bottom: 1px solid transparent;
}
.nav.solid {
  padding: 10px clamp(16px, 4vw, 48px);
  background: rgba(243,236,224,.86);
  backdrop-filter: blur(12px) saturate(120%);
  -webkit-backdrop-filter: blur(12px) saturate(120%);
  border-bottom: 1px dashed var(--line-2);
}
.brand { display: flex; align-items: center; gap: 11px; }
.brand-seal {
  width: 38px; height: 38px; display: grid; place-items: center; border-radius: 50%;
  background: var(--olive); color: var(--cream);
  box-shadow: 0 3px 0 var(--olive-d); transform: rotate(-4deg);
}
.brand-seal svg { width: 24px; height: 24px; fill: none; stroke: var(--cream); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.brand-name { display: grid; line-height: 1.05; }
.brand-name b { font-family: var(--hand); font-weight: 600; font-size: 21px; letter-spacing: .04em; color: var(--ink); }
.brand-name i { font-family: var(--slab); font-style: normal; font-weight: 500; font-size: 10px; letter-spacing: .24em; color: var(--ink-3); }
.nav-links { display: flex; gap: 26px; margin-left: auto; }
.nav-links a {
  font-family: var(--body); font-weight: 500; font-size: 15px; color: var(--ink-2);
  position: relative; padding: 4px 2px;
}
.nav-links a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px;
  background: var(--terra); border-radius: 2px;
  transform: scaleX(0); transform-origin: right; transition: transform .4s var(--ease);
}
.nav-links a:hover { color: var(--ink); }
.nav-links a:hover::after { transform: scaleX(1); transform-origin: left; }
.nav-cta {
  font-family: var(--body); font-weight: 700; font-size: 14px; color: var(--cream);
  padding: 9px 20px; border-radius: 40px; background: var(--terra);
  box-shadow: 0 4px 0 var(--terra-d); transition: transform .25s var(--spring);
}
.nav-cta:hover { transform: translateY(-2px) rotate(-1.5deg); }
.nav-burger { display: none; background: none; border: 0; width: 40px; height: 40px; cursor: pointer; }
.nav-burger i { display: block; width: 24px; height: 2px; margin: 6px auto; background: var(--ink); border-radius: 2px; transition: .35s var(--ease); }

/* ============================================================
   1. HERO
   ============================================================ */
.hero {
  position: relative; min-height: 100svh; display: grid; align-items: start;
  overflow: hidden; isolation: isolate; padding: clamp(116px, 15vh, 158px) 0 84px;
  background:
    radial-gradient(120% 90% at 78% 8%, rgba(217,164,65,.20), transparent 55%),
    radial-gradient(120% 90% at 10% 90%, rgba(139,171,155,.22), transparent 55%),
    linear-gradient(180deg, var(--cream), var(--paper));
}
.hero-band {
  position: absolute; left: -8%; right: -8%; top: 30%; height: 42%; z-index: 0;
  background: repeating-linear-gradient(180deg, rgba(194,106,69,.05) 0 3px, transparent 3px 26px);
  transform: rotate(-2deg);
}
.hero-motes { position: absolute; inset: 0; z-index: 1; pointer-events: none; }
.mote {
  position: absolute; width: 10px; height: 10px; color: var(--olive); opacity: .5;
  animation: drift linear infinite;
}
.mote svg { width: 100%; height: 100%; }
@keyframes drift {
  0%   { transform: translate(0, 0) rotate(0deg); }
  100% { transform: translate(var(--dx, 40px), 110vh) rotate(360deg); }
}

.hero-inner {
  position: relative; z-index: 3; max-width: var(--maxw); width: 100%;
  margin: 0 auto; padding: 0 clamp(20px, 5vw, 56px);
}
.hero-kicker {
  display: inline-flex; align-items: center; gap: 9px;
  font-family: var(--slab); font-weight: 600; font-size: 12.5px; letter-spacing: .16em;
  color: var(--ink-2); background: var(--paper-2); border: 1px dashed var(--line-2);
  padding: 6px 15px; border-radius: 40px; margin-bottom: 22px;
}
.hero-kicker .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--terra); box-shadow: 0 0 0 3px rgba(194,106,69,.2); }
.hero-title {
  font-family: var(--hand); font-weight: 600; font-size: clamp(44px, 7.6vw, 92px);
  line-height: 1.1; letter-spacing: .01em; color: var(--ink); margin-bottom: 14px;
  text-shadow: 2px 3px 0 rgba(217,164,65,.28);
}
.hero-roman {
  font-family: var(--slab); font-style: italic; font-weight: 500; font-size: clamp(15px, 2vw, 20px);
  color: var(--terra-d); letter-spacing: .02em; margin-bottom: 22px;
}
.hero-lead { max-width: 460px; font-size: 16px; color: var(--ink-2); margin-bottom: 28px; }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; }

/* 破れ紙の下端 */
.hero-torn {
  position: absolute; left: 0; right: 0; bottom: -1px; height: 46px; z-index: 2;
  background: var(--board); filter: url(#torn-soft);
}
.scroll-cue {
  position: absolute; left: 50%; bottom: 20px; transform: translateX(-50%); z-index: 4;
  display: grid; justify-items: center; gap: 7px;
  font-family: var(--slab); font-size: 10.5px; letter-spacing: .3em; color: var(--ink-3);
}
.scroll-cue span { width: 1.5px; height: 30px; background: linear-gradient(var(--ink-3), transparent); animation: cue 1.9s var(--ease) infinite; }
@keyframes cue { 0% { transform: scaleY(0); transform-origin: top; } 45% { transform: scaleY(1); transform-origin: top; } 55% { transform: scaleY(1); transform-origin: bottom; } 100% { transform: scaleY(0); transform-origin: bottom; } }

/* hero イラスト配置 */
.hero .ill--sun { position: absolute; z-index: 2; top: clamp(80px, 12vh, 130px); right: clamp(20px, 8vw, 130px); width: clamp(90px, 15vw, 180px); aspect-ratio: 1; color: var(--mustard); }
.hero .ill--sprig-l { position: absolute; z-index: 2; bottom: 12%; left: clamp(10px, 3vw, 60px); width: clamp(70px, 10vw, 130px); aspect-ratio: .7; color: var(--olive); }
.hero .ill--carrot { position: absolute; z-index: 2; bottom: 18%; right: clamp(30px, 12vw, 200px); width: clamp(60px, 8vw, 100px); aspect-ratio: .8; color: var(--terra); }
.hero .ill--tomato { position: absolute; z-index: 2; top: 34%; left: clamp(30px, 14vw, 240px); width: clamp(56px, 7vw, 90px); aspect-ratio: 1; color: var(--tomato); }

/* ============================================================
   セクション共通
   ============================================================ */
.section { position: relative; z-index: 2; padding: clamp(70px, 11vh, 130px) clamp(20px, 5vw, 56px); }
.sec-head { max-width: var(--maxw); margin: 0 auto 44px; text-align: center; }
.sec-en {
  font-family: var(--slab); font-weight: 600; font-style: italic; font-size: 14px;
  letter-spacing: .12em; color: var(--terra); margin-bottom: 8px;
}
.sec-jp {
  font-family: var(--hand); font-weight: 600; font-size: clamp(28px, 4.6vw, 48px);
  line-height: 1.25; color: var(--ink); letter-spacing: .02em;
}
.sec-note { font-size: 15px; color: var(--ink-2); margin-top: 12px; max-width: 560px; margin-inline: auto; }
.hand { font-family: var(--hand); }

/* ===== 2. STORY ===== */
.story { background: var(--board); }
.story-tape {
  position: absolute; top: -14px; left: 50%; transform: translateX(-50%) rotate(-2.5deg);
  width: 130px; height: 34px; background: rgba(217,164,65,.5);
  border-left: 1px dashed rgba(67,56,42,.2); border-right: 1px dashed rgba(67,56,42,.2);
  box-shadow: 0 4px 10px -4px rgba(67,56,42,.4); z-index: 3;
}
.story-paper { max-width: 760px; margin: 0 auto; padding: clamp(36px, 6vw, 64px); }
.story-body { text-align: center; }
.story-lead { font-family: var(--hand); font-weight: 600; font-size: clamp(22px, 3.4vw, 34px); color: var(--terra-d); margin-bottom: 24px; }
.story-line { font-size: clamp(15px, 1.9vw, 18px); color: var(--ink); line-height: 2.1; margin: 4px 0; }
.story-sign { margin-top: 26px; font-size: 15px; color: var(--ink-2); }
.story-paper .ill--sprout { position: absolute; right: 6%; bottom: -10px; width: clamp(50px, 8vw, 84px); aspect-ratio: .8; color: var(--olive); }

/* ===== 3. HARVEST CALENDAR ===== */
.cal-grid {
  max-width: var(--maxw); margin: 0 auto;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(14px, 2vw, 24px);
}
.cal-card {
  position: relative; background: var(--cream); border-radius: 6px; padding: 26px 22px 24px;
  box-shadow: 0 10px 26px -16px rgba(67,56,42,.45); overflow: hidden;
  border-top: 6px solid var(--sc, var(--olive));
  transition: transform .35s var(--spring), box-shadow .35s var(--ease);
}
.cal-card:hover { transform: translateY(-6px) rotate(var(--tilt, -1deg)); box-shadow: 0 20px 34px -18px rgba(67,56,42,.5); }
.cal-season { display: flex; align-items: baseline; gap: 8px; margin-bottom: 4px; }
.cal-kanji { font-family: var(--hand); font-weight: 600; font-size: 30px; color: var(--sc, var(--olive)); }
.cal-en { font-family: var(--slab); font-style: italic; font-size: 12px; letter-spacing: .1em; color: var(--ink-3); }
.cal-months { font-family: var(--slab); font-size: 12px; letter-spacing: .06em; color: var(--ink-2); margin-bottom: 14px; }
.cal-veg { list-style: none; display: flex; flex-direction: column; gap: 9px; }
.cal-veg li { display: flex; align-items: center; gap: 10px; font-size: 14.5px; color: var(--ink); }
.cal-ico { width: 26px; height: 26px; flex: 0 0 26px; color: var(--sc, var(--olive)); }
.cal-ico svg { width: 100%; height: 100%; }
.cal-ico svg .draw { stroke-width: 3; stroke-dasharray: none; stroke-dashoffset: 0; }
.cal-ico svg .fill { opacity: 1; }
.cal-foot { text-align: center; max-width: var(--maxw); margin: 26px auto 0; font-size: 13.5px; color: var(--ink-2); }

/* ===== 4. JOURNEY（スクロールストーリー） ===== */
.journey { background: linear-gradient(180deg, var(--paper), var(--board)); }
.journey-wrap { position: relative; max-width: 900px; margin: 20px auto 0; }
.journey-path {
  position: absolute; left: 50%; top: 0; transform: translateX(-50%);
  width: clamp(140px, 22vw, 200px); height: 100%; z-index: 0; pointer-events: none;
}
.journey-path path { fill: none; stroke-linecap: round; }
.journey-path .road-bg { stroke: var(--paper-3); stroke-width: 11; }
.journey-path .road-fg {
  stroke: var(--terra); stroke-width: 5; stroke-dasharray: 3 7;
  stroke-dashoffset: 100; /* JSでscrollに応じて 100→0 */
}
.journey-steps { position: relative; z-index: 2; list-style: none; display: grid; gap: clamp(40px, 8vh, 90px); }
.j-step { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: clamp(20px, 4vw, 48px); }
.j-step:nth-child(even) { direction: rtl; }
.j-step:nth-child(even) > * { direction: ltr; }
.j-ill {
  justify-self: center; width: clamp(120px, 20vw, 190px); aspect-ratio: 1;
  display: grid; place-items: center; background: var(--cream); border-radius: 50%;
  box-shadow: 0 12px 30px -16px rgba(67,56,42,.5); padding: 22px;
  border: 2px dashed var(--line-2); color: var(--sc, var(--olive));
}
.j-ill .ill { width: 100%; height: 100%; }
.j-card { position: relative; }
.j-no { font-family: var(--slab); font-weight: 700; font-style: italic; font-size: 42px; color: var(--sc, var(--olive)); opacity: .5; line-height: 1; }
.j-title { font-family: var(--hand); font-weight: 600; font-size: clamp(20px, 2.6vw, 27px); color: var(--ink); margin: 2px 0 8px; }
.j-desc { font-size: 15px; color: var(--ink-2); }
.j-tag { display: inline-block; margin-top: 12px; font-family: var(--slab); font-size: 11.5px; letter-spacing: .08em; color: var(--cream); background: var(--sc, var(--olive)); padding: 4px 12px; border-radius: 40px; transform: rotate(-1.5deg); }

/* ===== 5. LINEUP ===== */
.lineup-grid {
  max-width: var(--maxw); margin: 0 auto;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(18px, 2.6vw, 30px);
}
.prod {
  position: relative; background: var(--cream); border-radius: 8px; padding: 26px 24px 22px;
  box-shadow: 0 12px 28px -18px rgba(67,56,42,.5); overflow: hidden;
  transform: rotate(var(--r, 0deg));
  transition: transform .4s var(--spring), box-shadow .4s var(--ease);
}
.prod::after { /* 紙の折り目 */
  content: ""; position: absolute; top: 0; right: 0; border-width: 0 26px 26px 0;
  border-style: solid; border-color: var(--paper-2) var(--paper) ; opacity: .9;
}
.prod:hover { transform: translateY(-10px) rotate(0deg); box-shadow: 0 26px 44px -20px rgba(67,56,42,.55); }
.prod-ill { width: 100%; aspect-ratio: 1.5; display: grid; place-items: center; margin-bottom: 12px; color: var(--pc, var(--olive)); }
.prod-ill .ill { width: 62%; height: 90%; }
.prod-stamp {
  position: absolute; top: 16px; left: 16px; z-index: 3;
  font-family: var(--slab); font-weight: 700; font-size: 11px; letter-spacing: .04em;
  color: var(--pc, var(--olive)); border: 2px solid var(--pc, var(--olive)); border-radius: 50%;
  width: 52px; height: 52px; display: grid; place-items: center; text-align: center; line-height: 1.1;
  transform: rotate(-12deg); opacity: .85;
}
.prod-name { font-family: var(--hand); font-weight: 600; font-size: 21px; color: var(--ink); }
.prod-name small { display: block; font-family: var(--slab); font-style: italic; font-size: 11.5px; letter-spacing: .08em; color: var(--ink-3); font-weight: 500; }
.prod-desc { font-size: 13.5px; color: var(--ink-2); margin: 8px 0 12px; line-height: 1.75; }
.prod-foot { display: flex; align-items: baseline; justify-content: space-between; border-top: 1px dashed var(--line-2); padding-top: 12px; }
.prod-price { font-family: var(--slab); font-weight: 700; font-size: 22px; color: var(--terra-d); }
.prod-price small { font-size: 12px; font-weight: 500; color: var(--ink-3); margin-left: 3px; }
.prod-unit { font-size: 12.5px; color: var(--ink-3); }

/* ===== 6. MAKER ===== */
.maker { background: var(--board); }
.maker-grid { max-width: var(--maxw); margin: 0 auto; display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.maker-portrait {
  position: relative; aspect-ratio: 1; display: grid; place-items: center;
  padding: 30px; transform: rotate(-2deg);
}
.maker-portrait .ill--farmer { width: 80%; height: 80%; color: var(--ink); }
.maker-stamp {
  position: absolute; right: 14px; bottom: 14px; z-index: 3;
  font-family: var(--hand); font-weight: 600; font-size: 15px; line-height: 1; text-align: center; color: var(--cream);
  width: 50px; height: 50px; display: grid; place-items: center; border-radius: 6px;
  background: var(--tomato); transform: rotate(6deg); box-shadow: 0 4px 10px -4px rgba(67,56,42,.5);
}
.scrap { position: absolute; z-index: 2; filter: url(#torn-soft); }
.scrap-1 { top: -14px; left: 8%; width: 90px; height: 30px; background: rgba(139,171,155,.6); transform: rotate(-6deg); }
.scrap-2 { bottom: 10%; right: -12px; width: 40px; height: 70px; background: rgba(217,164,65,.5); transform: rotate(8deg); }
.maker-name { font-family: var(--hand); font-weight: 600; font-size: clamp(26px, 3.6vw, 38px); color: var(--ink); margin-bottom: 4px; }
.maker-name-en { font-family: var(--slab); font-style: italic; font-weight: 500; font-size: 14px; letter-spacing: .06em; color: var(--ink-3); margin-left: 12px; }
.maker-quote { font-family: var(--hand); font-weight: 600; font-size: clamp(18px, 2.4vw, 23px); color: var(--terra-d); line-height: 1.8; margin: 12px 0 16px; padding-left: 18px; border-left: 4px solid var(--mustard); }
.maker-body { font-size: 15px; color: var(--ink-2); margin-bottom: 20px; }
.maker-facts { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.maker-facts li { background: var(--cream); border-radius: 6px; padding: 14px 12px; text-align: center; box-shadow: 0 8px 20px -14px rgba(67,56,42,.4); }
.maker-facts b { display: block; font-family: var(--slab); font-weight: 700; font-size: 24px; color: var(--olive-d); }
.maker-facts span { font-size: 12px; color: var(--ink-2); }

/* ===== 7. ORDER ===== */
.order { background: linear-gradient(180deg, var(--board), var(--paper)); }
.order-inner { max-width: var(--maxw); margin: 0 auto; }
.order-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(16px, 2.4vw, 26px); margin-bottom: 40px; }
.plan {
  position: relative; background: var(--cream); border-radius: 10px; padding: 30px 26px 28px;
  box-shadow: 0 12px 30px -18px rgba(67,56,42,.5); text-align: center;
  border: 2px solid transparent; transition: transform .35s var(--spring), border-color .3s, box-shadow .35s;
}
.plan:hover { transform: translateY(-8px); box-shadow: 0 24px 40px -20px rgba(67,56,42,.55); }
.plan.featured { border-color: var(--terra); }
.plan-ribbon {
  position: absolute; top: -12px; left: 50%; transform: translateX(-50%) rotate(-2deg);
  font-family: var(--slab); font-weight: 700; font-size: 11.5px; letter-spacing: .06em; color: var(--cream);
  background: var(--terra); padding: 4px 16px; border-radius: 40px; box-shadow: 0 4px 0 var(--terra-d);
}
.plan-box { width: 70px; height: 60px; margin: 0 auto 14px; color: var(--mustard); }
.plan-box svg { width: 100%; height: 100%; }
.plan-name { font-family: var(--hand); font-weight: 600; font-size: 22px; color: var(--ink); }
.plan-sub { font-size: 13px; color: var(--ink-2); margin: 2px 0 12px; }
.plan-price { font-family: var(--slab); font-weight: 700; font-size: 30px; color: var(--terra-d); }
.plan-price small { font-size: 13px; font-weight: 500; color: var(--ink-3); }
.plan-feat { list-style: none; margin: 14px 0 0; display: grid; gap: 7px; font-size: 13.5px; color: var(--ink-2); }
.plan-feat li::before { content: "✿ "; color: var(--olive); }

.order-form {
  position: relative; display: grid; grid-template-columns: auto 1fr; gap: clamp(20px, 4vw, 44px);
  align-items: center; background: var(--cream); border-radius: 12px; padding: clamp(24px, 4vw, 40px);
  box-shadow: 0 14px 34px -20px rgba(67,56,42,.5); overflow: hidden;
}
.order-form::before { content: ""; position: absolute; inset: 0; background: repeating-linear-gradient(135deg, rgba(217,164,65,.05) 0 8px, transparent 8px 18px); pointer-events: none; }
.order-form .ill--crate { width: clamp(120px, 18vw, 180px); aspect-ratio: 1.1; color: var(--terra); justify-self: center; }
.order-form-body h3 { font-family: var(--hand); font-weight: 600; font-size: clamp(20px, 2.6vw, 26px); color: var(--ink); margin-bottom: 6px; }
.order-form-body > p { font-size: 14px; color: var(--ink-2); margin-bottom: 16px; }
.of-row { display: flex; gap: 10px; flex-wrap: wrap; }
.of-row input {
  flex: 1 1 180px; min-width: 0; font-family: var(--body); font-size: 15px; color: var(--ink);
  background: var(--paper); border: 2px solid var(--line-2); border-radius: 40px; padding: 12px 20px;
  transition: border-color .3s;
}
.of-row input:focus { outline: none; border-color: var(--olive); }
.of-row .btn { flex: 0 0 auto; }
.of-note { min-height: 20px; margin-top: 12px; font-family: var(--hand); font-size: 15px; color: var(--olive-d); }

/* ============================================================
   footer
   ============================================================ */
.footer { position: relative; background: var(--olive-d); color: var(--paper); padding: 70px clamp(20px, 5vw, 56px) 44px; z-index: 2; }
.footer-torn { position: absolute; left: 0; right: 0; top: -1px; height: 40px; background: var(--olive-d); filter: url(#torn-soft); transform: translateY(-38px); }
.footer-inner { max-width: var(--maxw); margin: 0 auto; text-align: center; }
.footer-top { display: flex; flex-direction: column; align-items: center; gap: 12px; margin-bottom: 22px; }
.footer-seal { width: 52px; height: 52px; display: grid; place-items: center; border-radius: 50%; background: rgba(251,247,239,.14); }
.footer-seal svg { width: 32px; height: 32px; fill: none; stroke: var(--paper); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.footer-tag { font-size: clamp(20px, 3vw, 28px); color: var(--cream); }
.footer-nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 22px; margin-bottom: 24px; }
.footer-nav a { font-size: 14px; color: rgba(251,247,239,.85); transition: color .25s; }
.footer-nav a:hover { color: var(--mustard); }
.footer-note { font-size: 12.5px; color: rgba(251,247,239,.6); max-width: 620px; margin: 0 auto 8px; line-height: 1.7; }
.footer-copy { font-family: var(--slab); font-size: 12px; letter-spacing: .04em; color: rgba(251,247,239,.55); }

/* ============================================================
   レスポンシブ
   ============================================================ */
@media (max-width: 900px) {
  .nav-links, .nav-cta { display: none; }
  .nav-burger { display: block; }
  .nav.open { flex-wrap: wrap; background: rgba(243,236,224,.96); backdrop-filter: blur(12px); }
  .nav.open .nav-links { display: flex; flex-direction: column; gap: 4px; width: 100%; margin: 12px 0 4px; }
  .nav.open .nav-cta { display: inline-block; }
  .cal-grid { grid-template-columns: repeat(2, 1fr); }
  .lineup-grid { grid-template-columns: repeat(2, 1fr); }
  .order-grid { grid-template-columns: 1fr; max-width: 420px; margin-inline: auto; }
  .maker-grid { grid-template-columns: 1fr; }
  .maker-portrait { max-width: 340px; margin: 0 auto; }
  .order-form { grid-template-columns: 1fr; text-align: center; }
  .order-form .ill--crate { margin-bottom: 8px; }
}
@media (max-width: 640px) {
  .hero .ill--tomato, .hero .ill--carrot { display: none; }
  .cal-grid { grid-template-columns: 1fr; }
  .lineup-grid { grid-template-columns: 1fr; max-width: 380px; margin-inline: auto; }
  .j-step, .j-step:nth-child(even) { grid-template-columns: 1fr; direction: ltr; gap: 14px; }
  .j-ill { width: clamp(110px, 40vw, 150px); }
  .journey-path { opacity: .35; }
  .maker-facts { grid-template-columns: repeat(3, 1fr); gap: 8px; }
  .of-row .btn { width: 100%; justify-content: center; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation: none !important; }
  [data-reveal] { opacity: 1; transform: none; transition: none; }
  .ill svg .draw { stroke-dashoffset: 0; transition: none; }
  .ill svg .fill { opacity: 1; transition: none; }
  .journey-path .road-fg { stroke-dashoffset: 0; }
  .scroll-cue span { display: none; }
}
