/* EZO HAZEL PLANTNER 公式サイト。コンセプト：ナッツ安全保障に異様に真剣なリスたちが作った、1970年代のアメリカ農業フィールドマニュアル。
   色・寸法は docs/website/official-site-design-tokens-v1.json。外部のフォント・画像は読み込まない（プライバシー：docs/website/official-site-implementation-spec-v1.md §22）。 */
:root {
  --paper: #F3E6C6; --paper-light: #FBF4DE; --paper-deep: #E6D2A8;
  --forest: #173D2B; --forest-2: #28543A; --olive: #657052; --ochre: #B68A3D;
  --rust: #A44728; --rust-dark: #7D321F; --navy: #263B46; --charcoal: #262A25; --ink-muted: #5D5B4D; --line: #8A8068;
  --danger: #A43A2D;
  --f-body: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Hiragino Sans", "Yu Gothic UI", "Yu Gothic", Meiryo, system-ui, sans-serif;
  --f-head: "Noto Serif JP", "Hiragino Mincho ProN", "Yu Mincho", "YuMincho", "Hiragino Mincho Pro", serif;
  --f-display: Rockwell, "Roboto Slab", "Rockwell Nova", Georgia, "Noto Serif", "DejaVu Serif", "Times New Roman", serif;
  --f-util: "Arial Narrow", "Roboto Condensed", "Helvetica Neue", Arial, sans-serif;
  --maxw: 1320px; --gut: 18px; --r-card: 6px; --r-media: 8px;
}
@media (min-width: 768px) { :root { --gut: 24px; } }
@media (min-width: 1024px) { :root { --gut: 32px; } }
@media (min-width: 1440px) { :root { --gut: 56px; } }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 96px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation: none !important; transition: none !important; } }
body { margin: 0; background: var(--paper); color: var(--charcoal); font: 400 16px/1.8 var(--f-body); position: relative; overflow-x: hidden; }
@media (min-width: 900px) { body { font-size: 17px; } }
/* 紙の質感：ごく薄いノイズ（装飾。本文のコントラストは下げない） */
body::before { content: ""; position: fixed; inset: 0; z-index: -1; pointer-events: none; opacity: .07;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .2 0 0 0 0 .16 0 0 0 0 .08 0 0 0 .9 0'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)'/%3E%3C/svg%3E"); }
img, svg { max-width: 100%; height: auto; }
a { color: var(--forest); text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { color: var(--rust-dark); }
:focus-visible { outline: 3px solid var(--forest-2); outline-offset: 3px; border-radius: 2px; }
.wrap { width: 100%; max-width: calc(var(--maxw) + var(--gut) * 2); margin: 0 auto; padding: 0 var(--gut); }
.skip { position: absolute; left: -999px; top: 8px; background: var(--forest); color: var(--paper-light); padding: 10px 16px; z-index: 100; border-radius: 4px; }
.skip:focus { left: 8px; }

h1, h2, h3, .hero-lead, .lead, .lead-s { text-wrap: balance; word-break: auto-phrase; }
h1, h2, h3 { font-family: var(--f-head); color: var(--forest); line-height: 1.3; margin: 0 0 .5em; font-weight: 700; }
h2 { font-size: clamp(26px, 3.4vw, 38px); }
h3 { font-size: clamp(19px, 2vw, 23px); }
.en { font-family: var(--f-util); font-weight: 400; letter-spacing: .06em; color: var(--ink-muted); font-size: .72em; }
.utility { font: 700 13px/1.4 var(--f-util); letter-spacing: .16em; text-transform: uppercase; color: var(--rust-dark); margin: 0 0 .6em; }
.small { font-size: 14px; }
.num { font: 700 28px/1 var(--f-display); color: var(--rust); margin: 14px 0 6px; letter-spacing: .02em; }

/* ボタン */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 4px; min-height: 48px; padding: 10px 22px; border-radius: 5px; font: 700 16px/1.3 var(--f-body); text-decoration: none; border: 1px solid transparent; cursor: pointer; transition: background .15s, color .15s; }
.btn-primary { background: var(--rust-dark); color: #FFF7E6; border-color: #5f2515; box-shadow: 0 1px 0 rgba(0,0,0,.25); }
.btn-primary:hover { background: #5f2515; color: #fff; }
.btn-secondary { background: var(--paper-light); color: var(--forest); border-color: var(--forest); }
.btn-secondary:hover { background: var(--forest); color: var(--paper-light); }

/* ヘッダー */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--paper); border-bottom: 1px solid var(--line); }
.header-in { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 72px; position: relative; }
.brand { display: block; line-height: 0; flex: none; }
.brand img { width: clamp(180px, 22vw, 290px); height: auto; }
.site-nav { display: flex; align-items: center; gap: clamp(10px, 1.6vw, 26px); }
.site-nav a:not(.btn) { display: inline-flex; flex-direction: column; align-items: center; min-height: 44px; justify-content: center; padding: 2px 4px; text-decoration: none; color: var(--charcoal); border-bottom: 2px solid transparent; font-weight: 500; font-size: 15px; line-height: 1.25; }
.site-nav a:not(.btn) .en { font-size: 11px; letter-spacing: .12em; text-transform: uppercase; }
.site-nav a:not(.btn):hover { color: var(--rust-dark); border-bottom-color: var(--forest); }
.site-nav a[aria-current="page"] { color: var(--rust-dark); border-bottom: 3px solid var(--rust); font-weight: 700; }
.nav-cta { white-space: nowrap; }
.nav-toggle, .nav-btn { display: none; }
@media (max-width: 1199px) {
  .site-nav a:not(.btn) .en { display: none; }
  .nav-cta { padding: 8px 14px; }
}
@media (max-width: 1023px) {
  .header-in { min-height: 64px; }
  .nav-btn { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; min-width: 44px; padding: 0 12px; border: 1px solid var(--forest); border-radius: 5px; background: var(--paper-light); color: var(--forest); font-weight: 700; font-size: 14px; }
  .nav-btn .bars, .nav-btn .bars::before, .nav-btn .bars::after { display: block; width: 20px; height: 2px; background: var(--forest); content: ""; position: relative; }
  .nav-btn .bars::before { position: absolute; top: -6px; } .nav-btn .bars::after { position: absolute; top: 6px; }
  .nav-toggle { display: block; position: absolute; right: var(--gut); top: 50%; transform: translateY(-50%); width: 104px; height: 44px; margin: 0; opacity: 0; cursor: pointer; z-index: 2; }
  .nav-toggle:focus-visible + .nav-btn { outline: 3px solid var(--forest-2); outline-offset: 3px; }
  .site-nav { display: none; position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; align-items: stretch; gap: 0; background: var(--paper-light); border-bottom: 1px solid var(--line); padding: 12px var(--gut) 18px; box-shadow: 0 10px 0 -9px rgba(0,0,0,.18); }
  .nav-toggle:checked ~ .site-nav { display: flex; }
  .site-nav .nav-cta { order: -1; margin-bottom: 8px; min-height: 52px; font-size: 17px; }
  .site-nav a:not(.btn) { flex-direction: row; justify-content: flex-start; min-height: 48px; font-size: 17px; border-bottom: 1px solid var(--paper-deep); }
  .site-nav a[aria-current="page"] { border-bottom: 3px solid var(--rust); }
}

/* セクション */
.section { padding: clamp(44px, 6vw, 84px) 0; border-top: 1px solid rgba(138,128,104,.45); }
.section.alt { background: var(--paper-light); }
.lead-s { max-width: 760px; font-size: 1.04em; }
.more { margin: 28px 0 0; text-align: center; }
.page-hero { padding: clamp(40px, 6vw, 80px) 0 clamp(28px, 4vw, 44px); }
.page-hero h1 { font-size: clamp(38px, 5.6vw, 64px); margin-bottom: .25em; }
.page-hero .lead { max-width: 760px; font-size: clamp(17px, 1.6vw, 20px); margin: 0; color: var(--charcoal); }
.page-hero.short { padding: 32px 0 20px; } .page-hero.short h1 { font-size: clamp(32px, 4.4vw, 46px); }
.card { background: var(--paper-light); border: 1px solid var(--line); border-radius: var(--r-card); padding: 16px 16px 20px; }
.section.alt .card { background: #FFFBEC; }
.plate { border: 1px solid var(--line); border-radius: var(--r-media); background: #fff; overflow: hidden; box-shadow: 0 2px 0 rgba(23,61,43,.14); }
.plate img { display: block; width: 100%; height: auto; }

/* Home：ヒーロー */
.hero { position: relative; isolation: isolate; border-bottom: 1px solid var(--line); background: var(--paper-light); }
.hero-bg { display: block; width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; object-position: 78% 50%; }
.hero-grid { display: grid; padding-top: 24px; padding-bottom: 32px; }
.hero h1 { font-family: var(--f-display); font-size: clamp(44px, 6.4vw, 84px); line-height: 1.02; letter-spacing: -.01em; margin: 0 0 .3em; color: var(--forest); }
.hero-lead { font: 700 clamp(20px, 2.4vw, 27px)/1.5 var(--f-head); color: var(--rust-dark); margin: 0 0 .7em; }
.hero-body { max-width: 560px; margin: 0 0 1.4em; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; }
/* 広い画面：絵を全幅の背景にして、左の空と湖の上にコピーを重ねる（左に紙色のやわらかい覆い） */
@media (min-width: 1000px) {
  .hero { min-height: clamp(520px, 40vw, 640px); display: flex; align-items: center; }
  .hero-bg { position: absolute; inset: 0; z-index: -2; height: 100%; aspect-ratio: auto; object-position: 70% 50%; }
  .hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, color-mix(in srgb, var(--paper-light) 90%, transparent) 0%, color-mix(in srgb, var(--paper-light) 80%, transparent) 40%, transparent 68%); }
  .hero-grid { width: 100%; padding-top: 56px; padding-bottom: 56px; }
  .hero-copy { max-width: 600px; }
}

/* World / Crew / Start */
.world-grid { display: grid; gap: 28px; align-items: center; }
@media (min-width: 900px) { .world-grid { grid-template-columns: 7fr 4fr; } }
.world-copy p { max-width: 640px; }
.punch { font: 700 clamp(24px, 3vw, 34px)/1.3 var(--f-display); color: var(--rust-dark); margin: 1em 0 0; }
.punch.small { font-size: 22px; }
.world-art { color: var(--forest); }
.feat-grid, .module-grid, .step-grid { list-style: none; margin: 28px 0 0; padding: 0; display: grid; gap: 22px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .feat-grid, .module-grid, .step-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1200px) { .feat-grid { grid-template-columns: repeat(6, 1fr); } .feat-grid .feat { grid-column: span 2; } .feat-grid .feat:nth-child(4):nth-last-child(2) { grid-column: 2 / span 2; } .feat-grid .feat:nth-child(5):last-child { grid-column: 4 / span 2; } .feat-grid .feat:nth-child(7):nth-last-child(2) { grid-column: 2 / span 2; } .feat-grid .feat:nth-child(8):last-child { grid-column: 4 / span 2; } /* 5枚のときだけ、2段目を中央に */ /* 11/2：8枚のとき、3段目の2枚を中央に */
  .module-grid { grid-template-columns: repeat(3, 1fr); } .step-grid { grid-template-columns: repeat(3, 1fr); } }
.feat .plate, .module .plate, .step .plate { aspect-ratio: 4 / 3; display: flex; align-items: flex-start; }
.feat .plate img, .module .plate img, .step .plate img { height: 100%; object-fit: cover; object-position: top left; }
.feat p, .module p, .step p { margin: 0 0 .6em; }
.feat .num, .module .num, .step .num { margin: 16px 0 6px; }
.points { margin: .4em 0 0; padding-left: 1.2em; font-size: 15.5px; }
.points li { margin: .35em 0; }
.crew-grid { list-style: none; margin: 24px 0 0; padding: 0; display: grid; gap: 14px; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 640px) { .crew-grid { grid-template-columns: repeat(4, 1fr); } }
.crew-card { background: var(--paper-light); border: 1px solid var(--line); border-radius: var(--r-card); padding: 12px; text-align: center; }
.crew-pic { position: relative; border: 2px solid var(--forest); outline: 1px solid var(--forest); outline-offset: 3px; background: var(--paper); margin: 4px; }
.crew-pic img { display: block; width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; }
.crew-no { position: absolute; left: 0; top: 0; background: var(--forest); color: var(--paper-light); font-family: var(--f-util); font-size: 12px; line-height: 1.5; letter-spacing: .1em; padding: 2px 8px; }
.crew-name { margin: 8px 0 0; font-weight: 700; line-height: 1.4; } .crew-name span { font-family: var(--f-util); font-weight: 400; letter-spacing: .08em; font-size: 13px; color: var(--ink-muted); }
.crew-role { margin: 4px 0 0; font-size: 12px; color: var(--ink-muted); letter-spacing: .1em; }
.assoc-label { margin-top: 22px; }
.start-grid { display: grid; gap: 28px; align-items: center; }
@media (min-width: 900px) { .start-grid { grid-template-columns: 5fr 6fr; } }

/* CTA 帯 */
.cta-band { background: var(--forest); color: var(--paper-light); padding: clamp(36px, 5vw, 60px) 0; }
.cta-band h2 { color: var(--paper-light); margin-bottom: .3em; } .cta-band .utility { color: var(--ochre); } .cta-band p { margin: 0; }
.cta-in { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 22px; }
.cta-band .btn-primary { background: var(--rust); border-color: var(--rust-dark); } .cta-band .btn-primary:hover { background: var(--rust-dark); }
.cta-band :focus-visible { outline-color: var(--ochre); }

/* Features / How to */
.mode-grid { display: grid; gap: 22px; margin-top: 24px; } @media (min-width: 900px) { .mode-grid { grid-template-columns: 1fr 1fr; } }
.mode .plate { margin-bottom: 14px; } .mode h3 { margin-bottom: .3em; } .mode p { margin: 0; }
.tip-list { margin: 20px 0 0; padding: 0; list-style: none; counter-reset: tip; display: grid; gap: 12px; max-width: 820px; }
.tip-list li { counter-increment: tip; position: relative; padding: 12px 16px 12px 58px; background: #FFFBEC; border: 1px solid var(--line); border-radius: var(--r-card); }
.tip-list li::before { content: counter(tip, decimal-leading-zero); position: absolute; left: 14px; top: 50%; transform: translateY(-50%); font: 700 22px/1 var(--f-display); color: var(--rust); }

/* FAQ */
.faq-grid { display: grid; gap: 32px; } @media (min-width: 1000px) { .faq-grid { grid-template-columns: minmax(0, 1fr) 340px; align-items: start; } }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 20px; } .chips[hidden] { display: none; }
.chip { min-height: 44px; padding: 8px 16px; border-radius: 999px; border: 1px solid var(--forest); background: var(--paper-light); color: var(--forest); font: 500 15px/1.2 var(--f-body); cursor: pointer; }
.chip[aria-pressed="true"] { background: var(--forest); color: var(--paper-light); font-weight: 700; box-shadow: inset 0 0 0 1px var(--paper-light); }
.chip[aria-pressed="true"]::before { content: "✓ "; }
.faq-item { background: var(--paper-light); border: 1px solid var(--line); border-radius: var(--r-card); margin: 0 0 12px; }
.faq-item[hidden] { display: none; }
.faq-item summary { list-style: none; display: flex; gap: 12px; align-items: flex-start; cursor: pointer; padding: 14px 52px 14px 16px; min-height: 56px; font-weight: 700; position: relative; font-family: var(--f-head); font-size: 18px; line-height: 1.5; color: var(--forest); }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: ""; position: absolute; right: 20px; top: 50%; transform: translateY(-50%); width: 18px; height: 18px; background: linear-gradient(currentColor, currentColor) center / 18px 2px no-repeat, linear-gradient(currentColor, currentColor) center / 2px 18px no-repeat; }
.faq-item[open] summary::after { width: 12px; height: 12px; right: 23px; background: none; border-left: 2px solid currentColor; border-top: 2px solid currentColor; transform: translateY(-25%) rotate(45deg); }
.faq-item[open] { border-color: var(--forest); }
.q-cat { flex: none; display: grid; place-items: center; width: 28px; height: 28px; border-radius: 4px; background: var(--rust-dark); color: #fff; font: 700 15px/1 var(--f-display); margin-top: 2px; }
.faq-a { padding: 2px 18px 18px 56px; } .faq-a p { margin: 0 0 .8em; max-width: 720px; }
.faq-side { display: grid; gap: 22px; }
.faq-side h2 { font-size: 22px; } .faq-side .try .btn { margin-top: 14px; }

/* Privacy */
.legal-grid { display: grid; gap: 28px; } .legal-grid > * { min-width: 0; } @media (min-width: 900px) { .legal-grid { grid-template-columns: 240px minmax(0, 820px); align-items: start; } }
.toc { position: sticky; top: 96px; background: var(--paper-light); border: 1px solid var(--line); border-radius: var(--r-card); padding: 14px 16px; }
.toc ol { margin: 0; padding-left: 1.4em; font-size: 15px; } .toc li { margin: .3em 0; } @media (max-width: 899px) { .toc { position: static; } }
.legal-body { background: var(--paper-light); border: 1px solid var(--line); border-radius: var(--r-card); padding: clamp(18px, 3vw, 36px); max-width: 820px; line-height: 1.75; }
.legal-body h2 { font-size: clamp(21px, 2.4vw, 26px); border-bottom: 1px solid var(--line); padding-bottom: .25em; margin-top: 1.6em; } .legal-body h2:first-child { margin-top: 0; }
.legal-body ul, .legal-body ol { padding-left: 1.4em; } .legal-body li { margin: .35em 0; }
.table-wrap { overflow-x: auto; margin: 1em 0; } .legal-body table { border-collapse: collapse; width: 100%; font-size: 15px; min-width: 560px; }
.legal-body .ai-legal { font-size: 14px; margin: 1.8em 0 0; }
.legal-body th, .legal-body td { border: 1px solid var(--line); padding: 8px 10px; text-align: left; vertical-align: top; } .legal-body th { background: var(--paper-deep); }
body.p-privacy::before { opacity: .035; }

/* フッター */
.site-footer { background: var(--forest); color: var(--paper-light); font-size: 14px; line-height: 1.6; padding: 36px 0 24px; border-top: 4px solid var(--ochre); }
.site-footer a { color: var(--paper-light); } .site-footer a:hover { color: var(--ochre); } .site-footer :focus-visible { outline-color: var(--ochre); }
.footer-in { display: grid; gap: 24px; } @media (min-width: 900px) { .footer-in { grid-template-columns: 1.2fr 1fr 1.2fr; } }
.foot-brand img { background: var(--paper); padding: 8px 12px; border-radius: 4px; display: block; } .foot-brand .utility { color: var(--ochre); margin: 12px 0 4px; } .foot-tag { margin: 0; font: 700 16px var(--f-display); }
.foot-links { display: flex; flex-wrap: wrap; gap: 4px 20px; align-content: flex-start; } .foot-links a { font-size: 14px; min-height: 44px; display: inline-flex; align-items: center; }
.foot-meta p { margin: .3em 0; }

.plate img.contain { object-fit: contain; object-position: center; background: var(--paper); padding: 8px; }

.world-art { margin: 0; }
.world-art img { display: block; width: 100%; height: auto; border-radius: 4px; box-shadow: 0 10px 24px rgba(40, 30, 10, .22); transform: rotate(1.2deg); }
.world-art figcaption { margin-top: 12px; text-align: center; color: var(--ink-muted); }
.still { border-top: 3px double var(--forest); border-bottom: 3px double var(--forest); background: var(--paper); line-height: 0; }
.still img { display: block; width: 100%; height: auto; max-height: 520px; object-fit: cover; object-position: 60% 50%; }

/* 見出し帯（絵つき） */
.page-hero.has-art { padding: 0; position: relative; isolation: isolate; border-bottom: 3px double var(--forest); background: var(--paper-light); }
.ph-bg { display: block; width: 100%; height: auto; aspect-ratio: 3 / 1; object-fit: cover; }
.ph-wrap { padding-top: 22px; padding-bottom: 26px; }
.ph-copy .lead { max-width: 640px; }
@media (min-width: 900px) {
  .page-hero.has-art { min-height: 400px; display: flex; align-items: center; }
  .ph-bg { position: absolute; inset: 0; height: 100%; aspect-ratio: auto; z-index: -1; }
  .ph-wrap { width: 100%; padding-top: 40px; padding-bottom: 40px; display: flex; }
  .ph-copy { max-width: 560px; background: color-mix(in srgb, var(--paper-light) 93%, transparent); border: 2px solid var(--forest); outline: 1px solid var(--forest); outline-offset: 4px; padding: 26px 30px; box-shadow: 0 10px 26px rgba(40, 30, 10, .25); }
  .at-center .ph-wrap { justify-content: center; }
  .at-right .ph-wrap { justify-content: flex-end; }
  .ph-copy h1 { font-size: clamp(34px, 4vw, 52px); }
}
/* クルー見出し：小さな看板（飾り）＋中タイトル＋文 */
.crew-head { display: flex; gap: 18px; align-items: center; }
.crew-sign { flex: none; width: clamp(84px, 14vw, 130px); line-height: 0; }
.crew-sign img { width: 100%; height: auto; }
.crew-text h2 { font-size: clamp(22px, 2.6vw, 28px); letter-spacing: .08em; margin: 0 0 .3em; }
.crew-text .lead-s { margin: 0; }
.features .wrap, .start-grid { position: relative; }
/* FAQ のリス */
.card.support { overflow: hidden; }
.cameo { float: right; width: 96px; height: auto; margin: -4px -6px 6px 10px; shape-outside: inset(0); }
.site-footer .utility { font-size: 12px; } .site-footer .foot-tag { font-size: 14px; } .site-footer .small { font-size: 12px; }

.guide { margin: 0; }
.guide img { display: block; width: 100%; height: auto; border: 2px solid var(--forest); outline: 1px solid var(--forest); outline-offset: 3px; box-shadow: 0 8px 20px rgba(40, 30, 10, .2); }
.hero-lead .nb { display: block; }
.lead-s .nb { display: block; }

.tips-grid { display: grid; gap: 24px; align-items: center; }
@media (min-width: 900px) { .tips-grid { grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: 40px; } }
.chase { margin: 0; }
.chase img { display: block; width: 100%; height: auto; border: 2px solid var(--forest); outline: 1px solid var(--forest); outline-offset: 4px; margin: 4px; max-width: calc(100% - 8px); box-shadow: 0 10px 26px rgba(40, 30, 10, .22); }
.tips-text .tip-list { max-width: none; }

/* 言語の切り替え（日本語 ⇄ English）と、英語版の調整 */
.site-nav a.lang-sw:not(.btn) { border: 1px solid var(--forest); border-radius: 999px; padding: 4px 14px; min-height: 40px; font-size: 14px; font-weight: 700; color: var(--forest); background: var(--paper-light); white-space: nowrap; }
.site-nav a.lang-sw:not(.btn):hover { background: var(--forest); color: var(--paper-light); border-color: var(--forest); }
@media (max-width: 1023px) { .site-nav a.lang-sw:not(.btn) { align-self: flex-start; margin: 8px 0; } }
.gloss { margin: .5em 0 0; font-size: 16px; color: var(--ink-muted); letter-spacing: .02em; }
html[lang="en"] body { font-family: "Noto Sans", "Helvetica Neue", Arial, system-ui, sans-serif; line-height: 1.7; }
html[lang="en"] h1, html[lang="en"] h2, html[lang="en"] h3, html[lang="en"] .hero-lead { font-family: "Noto Serif", Georgia, "Times New Roman", serif; word-break: normal; }
html[lang="en"] .btn { font-family: "Noto Sans", "Helvetica Neue", Arial, sans-serif; }
html[lang="en"] .utility { letter-spacing: .12em; }
html[lang="en"] .site-nav a:not(.btn) { font-size: 15px; }

/* 11/2：ツール紹介の「3D ジオラマ」 */
.dio-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); gap: 24px; margin-top: 24px; }
.dio-shot { margin: 0; }
.dio-shot .plate img { width: 100%; height: auto; aspect-ratio: 1190 / 726; object-fit: cover; display: block; border-radius: 12px; } /* 11/2 15:01：2 枚の高さをそろえる */
.dio-shot figcaption { margin-top: 10px; font-size: 0.95rem; color: var(--ink-muted); }
.dio-points { margin-top: 24px; columns: 2 320px; column-gap: 32px; }
.dio-points li { break-inside: avoid; }

/* 紹介動画（11/7）：16:9 の枠にサイトの絵と再生ボタン。押すと YouTube の再生画面に置き換わる */
.promo .promo-frame { position: relative; aspect-ratio: 16 / 9; max-width: 1000px; margin: 18px auto 0; border-radius: 14px; overflow: hidden; background: #2d3a2a; border: 1px solid rgba(138,128,104,.45); }
.promo .promo-frame > a, .promo .promo-frame > iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; display: block; }
.promo .promo-frame img { width: 100%; height: 100%; object-fit: cover; display: block; filter: brightness(.92); transition: filter .2s; }
.promo .promo-play:hover img, .promo .promo-play:focus-visible img { filter: brightness(1); }
.promo .promo-btn { position: absolute; left: 50%; top: 80%; width: clamp(44px, 8vw, 76px); height: clamp(44px, 8vw, 76px); transform: translate(-50%, -50%); box-shadow: 0 2px 10px rgba(0,0,0,.25); border-radius: 50%; background: rgba(255,255,255,.94); color: #2f6b45; display: grid; place-items: center; }
.promo .promo-btn svg { width: 47%; height: 47%; }
.promo .promo-btn svg { margin-left: 6%; } /* 再生ボタンは下寄り（サムネイルの真ん中のロゴに重ねない。11/7） */
.promo .promo-play:focus-visible { outline: 3px solid #2f6b45; outline-offset: -3px; }
.promo .promo-note { text-align: center; font-size: .9em; margin-top: 10px; opacity: .8; }

/* 品種のページ（一覧・品種ごと。docs/website/variety-pages-spec.md） */
.var-narrow { max-width: calc(860px + var(--gut) * 2); }
.var-table, .var-facts { border-collapse: collapse; width: 100%; background: var(--paper-light); font-size: 15px; }
.var-table { min-width: 720px; }
.var-table th, .var-table td, .var-facts th, .var-facts td { border: 1px solid var(--line); padding: 10px 12px; text-align: left; vertical-align: top; }
.var-table thead th { background: var(--paper-deep); font-family: var(--f-util); letter-spacing: .04em; }
.var-table tbody th { font-weight: 700; min-width: 190px; } .var-table tbody th a { display: inline-block; min-height: 24px; }
.var-facts th { width: 42%; background: var(--paper-deep); font-weight: 700; }
.var-en { display: block; font: 400 12px/1.4 var(--f-util); color: var(--ink-muted); letter-spacing: .04em; }
.var-note { display: block; font-size: 13px; color: var(--ink-muted); line-height: 1.6; }
.var-count { display: inline-block; margin-left: .6em; padding: 0 .6em; font: 700 15px/1.8 var(--f-util); background: var(--forest); color: var(--paper-light); border-radius: 999px; vertical-align: middle; }
.var-h1-en { display: block; font: 700 clamp(15px, 1.8vw, 19px)/1.5 var(--f-util); letter-spacing: .1em; color: var(--ink-muted); margin-top: .3em; }
.var-badges { display: flex; flex-wrap: wrap; gap: 8px; margin: 14px 0 0; }
.var-badge { display: inline-block; padding: 2px 12px; border-radius: 999px; font: 700 14px/1.9 var(--f-body); border: 1px solid var(--forest); }
.var-badge.confirmed { background: var(--forest); color: var(--paper-light); }
.var-badge.review { background: #FFF1CC; color: var(--rust-dark); border-color: var(--rust); }
.var-badge.plain { background: var(--paper-light); color: var(--charcoal); border-color: var(--line); }
.var-review { padding: 0 0 8px; border-top: 0; }
.var-reviewbox { margin: 0; padding: 14px 18px; background: #FFF1CC; border: 1px solid var(--rust); border-left-width: 6px; border-radius: var(--r-card); font-weight: 700; }
.var-list { padding-left: 1.3em; margin: .6em 0; } .var-list li { margin: .45em 0; }
.var-chips { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; padding: 0; margin: .6em 0 1.2em; }
.var-chips li { background: var(--paper-light); border: 1px solid var(--line); border-radius: var(--r-card); padding: 6px 12px; min-height: 44px; display: flex; flex-direction: column; justify-content: center; }
.section.alt .var-chips li { background: #FFFBEC; }
.var-chips.ng li { border-color: var(--danger); }
.p-varieties h3 { font-size: clamp(18px, 2vw, 21px); margin: 1.4em 0 .3em; }
.cta-band .var-back { color: var(--paper-light); display: inline-block; margin-top: 12px; min-height: 44px; line-height: 44px; }
/* メニューが7つになったので、中くらいの幅（1024〜1199px）では、文字を少し小さくして折り返さない */
@media (min-width: 1024px) and (max-width: 1199px) { .site-nav { gap: 6px; } .site-nav a:not(.btn) { font-size: 13.5px; white-space: nowrap; padding: 2px 3px; } .site-nav .nav-cta { padding-left: 12px; padding-right: 12px; font-size: 14px; white-space: nowrap; } .site-nav .lang-sw { font-size: 13px; } .site-header .brand img { width: 190px; height: auto; } }

/* 品種情報（ツールの 7 つのタブ。緑基調。仕様 variety-pages-spec 9 章）。中の表・図の決まりは assets/variety-info.css（ツールの CSS から抜き出したもの） */
.vi-site { background: #f7fbf1; color: #1a1c18; padding: 28px 0 56px; line-height: 1.6; font-size: 16px; }
.vi-site.vi-site-top { padding: 0; border-bottom: 1px solid #c2c9bd; }
.vi-site h1, .vi-site h2, .vi-site h3 { font-family: var(--f-body); color: #1a1c18; }
.vi-site-kicker { margin: 0 0 10px; font: 700 14px/1.4 var(--f-body); color: #146c2e; }
.vi-site-h1 { font-size: clamp(24px, 3vw, 32px); margin: 0 0 .5em; }
.vi-site-sub { display: block; font-size: 20px; font-weight: 400; color: #146c2e; margin-top: 4px; }
.vi-site-lead { margin: 0 0 18px; color: #42493f; max-width: 900px; }
.vi-site .vi-tabs { position: static; margin: 0 0 20px; background: #ffffff; border-radius: 12px 12px 0 0; padding: 4px 8px 0; }
.vi-site.vi-site-top .vi-tabs { margin: 0; border-bottom: 0; background: transparent; }
.vi-site a.vi-tab { display: inline-flex; align-items: center; text-decoration: none; color: #42493f; }
.vi-site a.vi-tab[aria-current="page"] { color: #0c4a1c; background: #dcebd5; border-bottom-color: #146c2e; font-weight: 700; }
.vi-site a.vi-namebtn { text-decoration: none; color: inherit; }
/* 公式サイト仕様 9.7：品種一覧・相性の判定の表は、枠の中で縦横にスクロールし、見出しと左の列を固定する（ページは横にスクロールさせない）。.vi-panel を付けて、variety-info.css より強くする */
.vi-site { --vi-tabs-h: 0px; }
.vi-site .vi-panel .vi-scroll:has(> .vi-mx), .vi-site .vi-panel .vi-lscroll { max-height: max(360px, calc(100vh - 96px)); overflow: auto; }
.vi-site .vi-panel .vi-lscroll { width: auto; min-width: 0; }
.vi-site .vi-panel .vi-scroll:has(> .vi-mx)::-webkit-scrollbar, .vi-site .vi-panel .vi-lscroll::-webkit-scrollbar { width: 14px; height: 14px; }
.vi-site .vi-panel .vi-scroll:has(> .vi-mx)::-webkit-scrollbar-track, .vi-site .vi-panel .vi-lscroll::-webkit-scrollbar-track { background: #e8ece4; }
.vi-site .vi-panel .vi-scroll:has(> .vi-mx)::-webkit-scrollbar-thumb, .vi-site .vi-panel .vi-lscroll::-webkit-scrollbar-thumb { background: #727970; border-radius: 7px; border: 3px solid #e8ece4; }
.vi-site .vi-panel h2 { margin-top: 8px; }
.vi-site button, .vi-site select { font-family: inherit; }
.vi-site-foot { margin: 28px 0 0; font-size: 14px; color: #42493f; }
.vi-site-tool { display: inline-block; margin-left: 8px; color: #146c2e; font-weight: 700; }
.vi-site .var-table { background: #ffffff; } .vi-site .var-table thead th { background: #dcebd5; } .vi-site .var-table th, .vi-site .var-table td { border-color: #c2c9bd; }
.vi-site .var-table a { color: #146c2e; } .vi-site .var-count { background: #146c2e; color: #fff; }
/* 品種ごとのページも、同じ緑に合わせる */
.p-varieties:not(.p-vinfo) main { background: #f7fbf1; }
.p-varieties:not(.p-vinfo) main h1, .p-varieties:not(.p-vinfo) main h2, .p-varieties:not(.p-vinfo) main h3 { font-family: var(--f-body); color: #1a1c18; }
.p-varieties:not(.p-vinfo) .section { border-top-color: #dde4d6; } .p-varieties:not(.p-vinfo) .section.alt { background: #ffffff; }
.p-varieties:not(.p-vinfo) .utility, .p-varieties:not(.p-vinfo) main a { color: #146c2e; }
.p-varieties:not(.p-vinfo) .var-facts { background: #ffffff; } .p-varieties:not(.p-vinfo) .var-facts th { background: #dcebd5; } .p-varieties:not(.p-vinfo) .var-facts th, .p-varieties:not(.p-vinfo) .var-facts td { border-color: #c2c9bd; }
.p-varieties:not(.p-vinfo) .var-badge { border-color: #146c2e; } .p-varieties:not(.p-vinfo) .var-badge.confirmed { background: #146c2e; color: #fff; }
.p-varieties:not(.p-vinfo) .var-badge.plain { background: #ffffff; border-color: #c2c9bd; }
.p-varieties:not(.p-vinfo) .var-chips li { background: #ffffff; border-color: #c2c9bd; } .p-varieties:not(.p-vinfo) .section.alt .var-chips li { background: #f7fbf1; }
.p-varieties:not(.p-vinfo) .var-chips.ng li { border-color: #ba1a1a; }
.p-varieties .cta-band { background: #146c2e; } .p-varieties .cta-band .utility { color: #bff2c3; } .p-varieties .cta-band .btn-primary { background: #ffffff; color: #146c2e; border-color: #ffffff; } .p-varieties .cta-band .btn-primary:hover { background: #dcebd5; }
.p-varieties .cta-band a.var-back { color: #ffffff; }
.vi-pages { margin-top: 40px; padding-top: 24px; border-top: 1px solid #c2c9bd; } .vi-pages[hidden] { display: none; }
.vi-pages h2 { font-size: 24px; margin: 0 0 .3em; } .vi-pages h3 { font-size: 20px; margin: 1.4em 0 .2em; } .vi-pages .vi-lead { color: #42493f; margin: 0 0 .6em; }
/* 耐寒ゾーンのページの日本の白地図（仕様 9.6） */
.vi-jpmap { margin: 0 0 28px; padding: 16px 18px 18px; background: #ffffff; border: 1px solid #c2c9bd; border-radius: 12px; }
.vi-jpmap-h { font-size: 20px; font-weight: 700; margin: 0 0 10px; color: #1a1c18; }
.vi-jpmap img { display: block; width: 100%; max-width: 400px; height: auto; margin: 0 auto; }
.vi-jpmap-key { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 16px; padding: 0; margin: 12px 0 8px; font-size: 15px; }
.vi-jpmap-key li { display: flex; align-items: center; gap: 8px; }
.vi-jpmap-chip { display: inline-block; width: 22px; height: 16px; border: 1px solid #72796f; border-radius: 3px; background: #ffffff; }
.vi-jpmap-note { margin: 4px 0; font-size: 14px; color: #42493f; } .vi-jpmap-src { margin: 8px 0 0; font-size: 12.5px; color: #5c6359; }
/* はじめての栽培（初心者向けの手引き。docs/website/beginner-guide-spec.md 6.3。依頼 038「紙の栽培手引き・9 図版」。色は世界観のトークンだけ。共通ヘッダー・フッターは変えない） */
.guide-page { background: var(--paper); padding: 56px 0 72px; }
.guide-wrap { width: min(1216px, calc(100% - 80px)); margin-inline: auto; }
.guide-mast { border-top: 4px double var(--forest); border-bottom: 4px double var(--forest); display: grid; grid-template-columns: 1fr auto; gap: 32px; align-items: center; padding: 32px 0 30px; margin-bottom: 42px; }
.guide-kicker { font: 700 14px/1.6 var(--f-util); letter-spacing: .15em; color: var(--rust-dark); margin: 0 0 12px; }
.guide-page h1 { font: 700 clamp(30px, 3.4vw, 48px)/1.45 var(--f-head); letter-spacing: .025em; margin: 0 0 16px; color: var(--forest); }
.guide-lead { font-size: 20px; line-height: 1.8; margin: 0; color: var(--charcoal); }
/* 扉の札「9 つの手順」：数字の上のすき間と、文字の下のすき間を同じにする（数字の上下の余白は切り落とす。6.4） */
.guide-seal { border: 4px double var(--line); color: var(--forest); min-width: 136px; padding: 20px 20px 16px; text-align: center; background: var(--paper-light); }
.guide-seal b { display: block; font: 700 76px/1 var(--f-display); text-box: trim-both cap alphabetic; }
.guide-seal span { display: block; font: 700 14px/1 var(--f-body); margin-top: 14px; }
.guide-steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 42px 28px; }
.guide-step { min-width: 0; padding-bottom: 28px; border-bottom: 1px solid var(--line); }
.guide-figure { margin: 0 0 22px; padding: 6px; border: 4px double var(--line); background: var(--paper-light); }
.guide-figure img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: contain; }
.guide-heading { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 12px; margin: 0 0 14px; }
/* 番号の札：数字を札の上下の真ん中に（文字の上下の余白を切り落として、上下中央にそろえる。6.4） */
.guide-num { flex: none; display: inline-flex; align-items: center; gap: 5px; border: 1px solid var(--line); background: var(--paper-deep); color: var(--forest); padding: 8px 9px; font: 700 24px/1 var(--f-display); }
.guide-num small { font: 700 11px/1 var(--f-util); letter-spacing: .04em; text-box: trim-both cap alphabetic; }
.guide-num b { font: inherit; text-box: trim-both cap alphabetic; }
.guide-page h2 { font: 700 24px/1.55 var(--f-head); color: var(--forest); margin: 0; }
.guide-step p { font-size: 18px; line-height: 1.95; margin: 0; color: var(--charcoal); overflow-wrap: anywhere; }
.guide-step p.guide-note { font-size: 16px; line-height: 1.8; margin-top: 6px; }
.guide-cta { border: 4px double var(--forest); background: var(--paper-light); margin: 48px 0 0; padding: 30px 36px; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 24px 36px; align-items: center; }
.guide-cta h2 { font-size: 28px; margin-bottom: 12px; }
.guide-cta p { font-size: 18px; line-height: 1.95; margin: 0; max-width: 690px; }
.guide-btns { display: flex; flex-direction: column; gap: 10px; align-items: stretch; min-width: 210px; }
.guide-btns .btn { min-height: 52px; padding: 13px 22px; font-size: 18px; }
.guide-more { display: flex; align-items: center; justify-content: center; min-height: 44px; font-size: 17px; color: var(--forest); }
.guide-src { margin-top: 48px; padding-top: 28px; border-top: 4px double var(--line); }
.guide-src h2 { font-size: 24px; margin-bottom: 12px; }
.guide-src p, .guide-src li { font-size: 17px; line-height: 1.9; }
.guide-src p { margin: 0 0 12px; }
.guide-src ul { padding-left: 1.2em; margin: 0; }
.guide-src li + li { margin-top: 8px; }
.guide-src a { display: block; min-height: 44px; padding-block: 4px; overflow-wrap: anywhere; }
@media (max-width: 1099px) {
  .guide-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .guide-mast { grid-template-columns: 1fr; }
  .guide-seal { display: none; }
  .guide-cta { grid-template-columns: 1fr; }
  .guide-btns { align-items: flex-start; }
}
@media (max-width: 699px) {
  .guide-page { padding: 28px 0 44px; }
  .guide-wrap { width: calc(100% - 36px); }
  .guide-mast { padding: 24px 0; margin-bottom: 30px; }
  .guide-page h1 { font-size: 30px; line-height: 1.5; margin-bottom: 14px; }
  .guide-lead { font-size: 18px; }
  .guide-steps { grid-template-columns: 1fr; gap: 32px; }
  .guide-figure { margin-bottom: 18px; padding: 4px; }
  .guide-heading { flex-wrap: nowrap; align-items: flex-start; gap: 12px; margin-bottom: 12px; }
  .guide-page h2 { line-height: 1.5; }
  .guide-num { margin-top: 2px; }
  .guide-step { padding-bottom: 26px; }
  .guide-cta { display: block; margin-top: 36px; padding: 24px 18px; }
  .guide-cta h2 { font-size: 26px; }
  .guide-btns { align-items: stretch; margin-top: 22px; min-width: 0; }
  .guide-src { margin-top: 36px; padding-top: 24px; }
}
/* はじめての栽培：ここまで */
@media (min-width: 1024px) and (max-width: 1199px) { .site-nav { gap: 4px; } .site-nav a:not(.btn) { font-size: 13px; padding: 2px 2px; } .site-header .brand img { width: 170px; } }
/* メニューが8つになったので（手引き）、広い画面でも項目を折り返さず、すき間をつめる */
@media (min-width: 1200px) { .site-nav { gap: clamp(6px, 1vw, 20px); } .site-nav a:not(.btn) { white-space: nowrap; } }
@media (min-width: 1200px) and (max-width: 1399px) { .site-nav a:not(.btn) { font-size: 14px; padding: 2px 2px; } .site-nav .nav-cta { padding-left: 14px; padding-right: 14px; } .site-header .brand img { width: 220px; height: auto; } }
