@import url("https://fonts.googleapis.com/css2?family=Zen+Old+Mincho:wght@600;700;900&family=Zen+Kaku+Gothic+New:wght@400;500;700&family=Fraunces:ital,opsz,wght@0,9..144,500;0,9..144,600;1,9..144,500&display=swap");

/* =========================================================
   harunami plant base — 植物手帖 (Botanical Field Notebook)
   案内役: はるにゃさん / クラフト紙の図鑑・手帖を思わせる editorial design
   ========================================================= */

:root {
  /* paper & ink */
  --paper: #f4ecd8;
  --paper-2: #efe6cf;
  --surface: #fbf6ea;
  --surface-2: #f7f0df;
  --ink: #2f3228;
  --ink-soft: #6a6a55;
  --heading: #23271d;

  /* botanical greens */
  --leaf: #3a6b3a;
  --leaf-deep: #2a5230;
  --leaf-ink: #21401f;
  --leaf-soft: #e6eed7;
  --leaf-line: #cdd9b6;

  /* accents */
  --clay: #b9603a;      /* terracotta — signature accent */
  --clay-soft: #f3e1d3;
  --ochre: #c2902f;     /* gold/ochre */
  --ochre-soft: #f3e7c6;
  --plum: #a85574;      /* 梅 — reserved for はるにゃメモ */
  --plum-soft: #f3dfe6;
  --sky: #4f7e95;

  --line: #ddcfa9;
  --line-strong: #cbb98a;
  --rule: #b7a576;

  --font-display: "Zen Old Mincho", "Yu Mincho", "Hiragino Mincho ProN", serif;
  --font-accent: "Fraunces", "Zen Old Mincho", serif;
  --font-body: "Zen Kaku Gothic New", "Noto Sans JP", sans-serif;

  --radius-xl: 8px;
  --radius-lg: 6px;
  --radius-md: 5px;
  --radius-sm: 4px;

  --shadow-sm: 0 1px 0 rgba(120, 96, 50, 0.06);
  --shadow-md: 0 10px 24px -18px rgba(70, 54, 22, 0.5);
  --shadow-lg: 0 26px 50px -30px rgba(70, 54, 22, 0.6);

  --maxw: 1000px;
  --readw: 720px;

  --sprig: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 22c0-6 0-9 0-12M12 13c-3 0-5-1-6-4 3-1 5 0 6 3 1-3 3-4 6-3-1 3-3 4-6 4Z' fill='black'/%3E%3C/svg%3E");
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.92;
  font-feature-settings: "palt" 1;
  -webkit-font-smoothing: antialiased;
  background-color: var(--paper);
  background-image:
    radial-gradient(40rem 30rem at 88% -8%, rgba(58, 107, 58, 0.08), transparent 60%),
    radial-gradient(36rem 26rem at -6% 4%, rgba(185, 96, 58, 0.07), transparent 60%),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180' viewBox='0 0 180 180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix type='matrix' values='0 0 0 0 0.42 0 0 0 0 0.34 0 0 0 0 0.16 0 0 0 0.05 0'/%3E%3C/filter%3E%3Crect width='180' height='180' filter='url(%23n)'/%3E%3C/svg%3E");
  background-attachment: fixed, fixed, fixed;
}

a { color: var(--leaf-deep); text-decoration: none; }
a:hover { color: var(--clay); }

img { display: block; max-width: 100%; }

h1, h2, h3, p, ul, ol, figure { margin: 0; }

.rounded,
h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: 0.01em;
}

/* ---------- entrance motion ---------- */
@keyframes rise {
  from { opacity: 0; transform: translateY(14px); }
  to   { opacity: 1; transform: translateY(0); }
}
.shell > *,
.article-body > * {
  animation: rise 0.7s cubic-bezier(0.2, 0.7, 0.2, 1) both;
}
.shell > *:nth-child(2) { animation-delay: 0.05s; }
.shell > *:nth-child(3) { animation-delay: 0.10s; }
.shell > *:nth-child(4) { animation-delay: 0.15s; }
.shell > *:nth-child(5) { animation-delay: 0.20s; }
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; scroll-behavior: auto; }
}

/* ---------- header / nav ---------- */
.topbar {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(244, 236, 216, 0.86);
  backdrop-filter: saturate(140%) blur(10px);
  -webkit-backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid var(--line);
}
.topbar::after {
  content: "";
  display: block;
  height: 2px;
  background: repeating-linear-gradient(90deg, var(--leaf) 0 14px, transparent 14px 24px);
  opacity: 0.5;
}

.topbar-inner {
  width: min(100% - 32px, var(--maxw));
  margin: 0 auto;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.brand { display: inline-flex; align-items: center; gap: 12px; color: var(--heading); }
.brand:hover { color: var(--heading); }

.brand-icon {
  width: 42px; height: 42px;
  border-radius: 50%;
  overflow: hidden;
  background: var(--leaf-soft);
  border: 1.5px solid var(--leaf);
  box-shadow: 0 0 0 3px var(--surface), var(--shadow-sm);
  flex: none;
}
.brand-icon img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 4%; }

.brand-copy { display: grid; line-height: 1.15; }
.brand-copy small {
  font-family: var(--font-accent);
  font-style: italic;
  color: var(--clay);
  font-size: 0.74rem;
  letter-spacing: 0.06em;
}
.brand-copy strong {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 1.06rem;
  letter-spacing: 0.02em;
}

.nav { display: flex; gap: 4px; }
.nav a {
  padding: 8px 14px;
  border-radius: 999px;
  color: var(--ink-soft);
  font-weight: 700;
  font-size: 0.9rem;
}
.nav a:hover { color: var(--leaf-deep); background: var(--leaf-soft); }
.nav a.is-active { background: var(--leaf); color: #fff; }

/* ---------- shells ---------- */
.shell {
  width: min(100% - 32px, var(--maxw));
  margin: 0 auto;
  padding: 30px 0 80px;
}
.shell-read { width: min(100% - 32px, var(--readw)); }

/* specimen-card frame shared by panels */
.hero, .article-card, .about, .pest-card, .zukan-card,
.figure, .meow, .points, .factbox, .next-card,
.toc, .measure, .hormone-item, .table-scroll, .zukan-hero {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}

/* ---------- home hero ---------- */
.hero {
  margin-top: 10px;
  padding: 36px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  align-items: center;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 10px;
  border: 1px solid var(--leaf-line);
  border-radius: 3px;
  pointer-events: none;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-accent);
  font-style: italic;
  color: var(--clay);
  font-size: 0.92rem;
  letter-spacing: 0.02em;
}
.hero-eyebrow::after {
  content: "";
  width: 46px; height: 1px;
  background: var(--clay);
  opacity: 0.5;
}

.hero h1 {
  margin-top: 18px;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(2rem, 5.2vw, 3.1rem);
  line-height: 1.32;
  color: var(--heading);
  letter-spacing: 0.02em;
}
.hero h1 .accent {
  color: var(--leaf-deep);
  background-image: linear-gradient(transparent 68%, rgba(194, 144, 47, 0.34) 0);
}

.hero-lead {
  margin-top: 18px;
  color: var(--ink-soft);
  font-size: 1rem;
  line-height: 2;
}

.tag-row { margin-top: 22px; display: flex; flex-wrap: wrap; gap: 9px; }
.tag {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 7px 14px;
  border-radius: 999px;
  background: var(--surface-2);
  border: 1px solid var(--leaf-line);
  color: var(--leaf-deep);
  font-weight: 700;
  font-size: 0.84rem;
}

.hero-mascot { justify-self: center; }
.hero-mascot img {
  width: 230px; max-width: 58vw;
  filter: drop-shadow(0 16px 20px rgba(70, 54, 22, 0.22));
}
.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.hero-banner {
  width: 100%; height: auto; display: block;
  border-radius: 10px; border: 1px solid var(--line);
}
.hero-copy { text-align: center; max-width: 760px; margin: 0 auto; }
.hero .tag-row { justify-content: center; }

/* ---------- section heads ---------- */
.section { margin-top: 46px; }
.section-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 1.5px solid var(--rule);
}
.section-head h2,
.subsection-title {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 1.5rem;
  color: var(--heading);
  display: inline-flex;
  align-items: center;
  gap: 12px;
  letter-spacing: 0.02em;
}
.section-head h2::before,
.subsection-title::before {
  content: "";
  width: 22px; height: 22px;
  flex: none;
  background: var(--leaf-deep);
  -webkit-mask: var(--sprig) center / contain no-repeat;
  mask: var(--sprig) center / contain no-repeat;
}
.subsection-title { margin: 40px 0 14px; }
.subsection-title.bug::before { background: var(--clay); }
.subsection-title.sick::before { background: var(--sky); }
.section-head .label {
  font-family: var(--font-accent);
  font-style: italic;
  color: var(--ink-soft);
  font-size: 0.86rem;
}

/* ---------- article cards (home) ---------- */
.card-list { display: grid; gap: 18px; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.article-card {
  display: grid;
  grid-template-columns: 1fr;
  grid-template-rows: auto 1fr;
  overflow: hidden;
  transition: transform 0.25s cubic-bezier(0.2, 0.7, 0.2, 1), box-shadow 0.25s, border-color 0.25s;
}
.article-card:hover {
  transform: translateY(-4px) rotate(-0.3deg);
  border-color: var(--leaf);
  box-shadow: var(--shadow-lg);
}
.article-thumb {
  aspect-ratio: 16 / 10;
  background: var(--leaf-soft);
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}
.article-thumb img { width: 100%; height: 100%; object-fit: cover; object-position: center top; transition: transform 0.5s ease; }
.article-card:hover .article-thumb img { transform: scale(1.04); }

.article-card-body { padding: 13px 15px 15px; display: grid; align-content: start; gap: 8px; }
.pill-row { display: flex; flex-wrap: wrap; gap: 8px; }
.pill {
  padding: 4px 11px;
  border-radius: 999px;
  background: var(--leaf-soft);
  border: 1px solid var(--leaf-line);
  color: var(--leaf-deep);
  font-size: 0.74rem;
  font-weight: 700;
}
.article-card-body h3 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.02rem;
  line-height: 1.45;
  color: var(--heading);
}
.article-card-body p { color: var(--ink-soft); font-size: 0.95rem; line-height: 1.85; }
.read-more {
  margin-top: 2px;
  font-family: var(--font-accent);
  font-style: italic;
  color: var(--clay);
  font-weight: 600;
  font-size: 0.98rem;
}

/* ---------- zukan feature (図鑑・目玉) ---------- */
.zukan-feature { margin-top: 22px; }
.zukan-feature-card {
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  align-items: stretch;
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--leaf);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  transition: transform 0.25s cubic-bezier(0.2, 0.7, 0.2, 1), box-shadow 0.25s, border-color 0.25s;
}
.zukan-feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--leaf-deep);
}
.zukan-feature-visual {
  overflow: hidden;
  border-right: 1px solid var(--leaf-line);
  background: var(--leaf-soft);
}
.zukan-feature-visual img {
  width: 100%; height: 100%;
  object-fit: cover; object-position: center;
  display: block;
  transition: transform 0.5s ease;
}
.zukan-feature-card:hover .zukan-feature-visual img { transform: scale(1.03); }
.zukan-feature-copy {
  padding: 30px 32px;
  display: grid; align-content: center; gap: 13px;
  background: linear-gradient(180deg, var(--surface), var(--leaf-soft) 360%);
}
.zukan-feature-copy h2 {
  font-family: var(--font-display); font-weight: 800;
  font-size: clamp(1.7rem, 4vw, 2.3rem); line-height: 1.3; color: var(--heading);
}
.zukan-feature-copy p { color: var(--ink-soft); font-size: 0.98rem; line-height: 1.9; }
.zukan-feature-cta {
  justify-self: start; margin-top: 4px;
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 22px; border-radius: 999px;
  background: var(--leaf-deep); color: #fbf6ea;
  font-family: var(--font-display); font-weight: 700; font-size: 0.96rem;
  transition: background 0.2s, transform 0.2s;
}
.zukan-feature-card:hover .zukan-feature-cta { background: var(--clay); transform: translateY(-2px); }

/* ---------- about (home) ---------- */
.about {
  margin-top: 46px;
  display: grid;
  grid-template-columns: 152px minmax(0, 1fr);
  gap: 26px;
  align-items: center;
  padding: 28px 30px;
  background:
    linear-gradient(180deg, var(--plum-soft), transparent 70%),
    var(--surface);
}
.about-avatar {
  width: 152px; height: 152px;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid var(--leaf);
  box-shadow: 0 0 0 6px var(--surface), var(--shadow-md);
  background: var(--leaf-soft);
  justify-self: center;
}
.about-avatar img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 3%; }
.about h2 { font-family: var(--font-display); font-weight: 900; font-size: 1.4rem; color: var(--heading); }
.about p { margin-top: 12px; color: var(--ink-soft); font-size: 0.96rem; }

/* ---------- article page ---------- */
.crumb {
  display: inline-flex; align-items: center; gap: 6px;
  font-family: var(--font-accent);
  font-style: italic;
  color: var(--clay);
  font-weight: 600;
  font-size: 0.96rem;
}

.article-head { margin-top: 22px; padding-bottom: 24px; border-bottom: 2px solid var(--rule); }
.article-head .kicker {
  font-family: var(--font-accent);
  font-style: italic;
  color: var(--clay);
  font-weight: 600;
  font-size: 0.92rem;
  letter-spacing: 0.02em;
}
.article-head h1 {
  margin-top: 10px;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(1.9rem, 5.4vw, 2.7rem);
  line-height: 1.4;
  color: var(--heading);
  letter-spacing: 0.02em;
}
.article-head .lead { margin-top: 18px; color: var(--ink-soft); font-size: 1.04rem; line-height: 2; }
.article-meta { margin-top: 18px; display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }

/* table of contents */
.toc { margin-top: 28px; padding: 20px 24px; background: var(--surface-2); }
.toc strong {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--heading);
  font-size: 1rem;
}
.toc ol { margin: 14px 0 0; padding-left: 1.3em; display: grid; gap: 8px; }
.toc ol li::marker { color: var(--clay); }
.toc a { color: var(--ink-soft); font-size: 0.94rem; font-weight: 500; }
.toc a:hover { color: var(--leaf-deep); }

/* article body */
.article-body { margin-top: 10px; }
.article-body h2 {
  scroll-margin-top: 84px;
  margin-top: 50px;
  padding-bottom: 12px;
  border-bottom: 1.5px solid var(--leaf-line);
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 1.5rem;
  line-height: 1.5;
  color: var(--heading);
  letter-spacing: 0.02em;
}
.article-body h3 {
  margin-top: 32px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.16rem;
  color: var(--leaf-deep);
}
.article-body p { margin-top: 17px; color: var(--ink); line-height: 2.05; }
.article-body strong {
  color: var(--heading);
  font-weight: 700;
  background-image: linear-gradient(transparent 62%, rgba(194, 144, 47, 0.30) 0);
}

/* hormone quick list */
.hormone-list { margin-top: 22px; display: grid; gap: 12px; }
.hormone-item {
  display: grid;
  grid-template-columns: 120px minmax(0, 1fr);
  gap: 18px;
  align-items: center;
  padding: 16px 20px;
  border-left: 4px solid var(--leaf);
}
.hormone-item:nth-child(1) { border-left-color: #5a8a3d; }
.hormone-item:nth-child(2) { border-left-color: var(--leaf); }
.hormone-item:nth-child(3) { border-left-color: #2f8f72; }
.hormone-item:nth-child(4) { border-left-color: var(--ochre); }
.hormone-item:nth-child(5) { border-left-color: var(--sky); }
.hormone-name { font-family: var(--font-display); font-weight: 700; color: var(--heading); font-size: 1.04rem; line-height: 1.45; }
.hormone-name small { display: block; color: var(--ink-soft); font-size: 0.74rem; font-weight: 500; font-family: var(--font-body); }
.hormone-item p { margin: 0; font-size: 0.95rem; line-height: 1.85; color: var(--ink-soft); }

/* figure — herbarium plate */
.figure { margin: 32px 0 8px; padding: 14px; }
.figure-frame {
  border-radius: 3px;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--leaf-line);
}
.figure-frame img { width: 100%; height: auto; }
.figure figcaption {
  display: flex; gap: 8px;
  padding: 13px 6px 4px;
  color: var(--ink-soft);
  font-size: 0.88rem;
  line-height: 1.75;
}
.figure figcaption .fig-no { flex: none; font-family: var(--font-accent); font-style: italic; color: var(--clay); font-weight: 600; }

/* はるにゃさんメモ */
.meow {
  margin: 28px 0;
  display: grid;
  grid-template-columns: 66px minmax(0, 1fr);
  gap: 16px;
  align-items: start;
  padding: 20px 22px;
  background: linear-gradient(180deg, var(--plum-soft), transparent 75%), var(--surface);
  border-color: #e2c4ce;
}
.meow::before {
  content: "";
  position: absolute;
  inset: 7px;
  border: 1px dashed #dcb6c2;
  border-radius: 3px;
  pointer-events: none;
}
.meow-avatar {
  width: 66px; height: 66px;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid var(--plum);
  box-shadow: 0 0 0 4px var(--surface);
  background: var(--leaf-soft);
}
.meow-avatar img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 3%; }
.meow-body strong {
  display: inline-flex; align-items: center; gap: 6px;
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--plum);
  font-size: 0.94rem;
  background: none;
}
.meow-body p { margin-top: 6px; color: var(--ink); font-size: 0.96rem; line-height: 1.85; }

/* key points box */
.points { margin-top: 24px; padding: 22px 24px; background: linear-gradient(180deg, var(--leaf-soft), transparent 80%), var(--surface); border-color: var(--leaf-line); }
.points strong {
  display: inline-flex; align-items: center; gap: 7px;
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--leaf-deep);
  background: none;
}
.points ul { margin-top: 14px; padding-left: 1.3em; display: grid; gap: 9px; }
.points ul li::marker { color: var(--leaf); }
.points li { line-height: 1.9; color: var(--ink); }

/* next / related */
.next-card {
  margin-top: 44px;
  display: flex; flex-wrap: wrap; gap: 14px;
  align-items: center; justify-content: space-between;
  padding: 22px 26px;
  border-style: dashed;
  border-color: var(--line-strong);
}
.next-card p { color: var(--ink-soft); font-size: 0.95rem; }
.next-card strong { color: var(--heading); font-family: var(--font-display); font-weight: 700; }
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 22px;
  border-radius: 999px;
  background: var(--leaf-deep);
  color: #fbf6ea;
  font-weight: 700;
  font-size: 0.94rem;
  white-space: nowrap;
  box-shadow: var(--shadow-sm);
  transition: background 0.2s, transform 0.2s;
}
.btn:hover { background: var(--clay); color: #fff; transform: translateY(-2px); }

/* footer */
.footer {
  margin-top: 60px;
  padding-top: 22px;
  border-top: 2px solid var(--rule);
  display: flex; flex-wrap: wrap; gap: 10px 18px;
  align-items: center; justify-content: space-between;
  color: var(--ink-soft); font-size: 0.85rem;
}
.footer .brand-copy strong { font-size: 0.95rem; }

/* ---------- pest & disease / vegetables grids ---------- */
.pest-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.pest-card {
  display: grid; grid-template-rows: auto 1fr;
  overflow: hidden;
  transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
}
.pest-card:hover { transform: translateY(-4px) rotate(-0.3deg); border-color: var(--leaf); box-shadow: var(--shadow-lg); }
.pest-thumb { aspect-ratio: 16 / 10; background: var(--leaf-soft); overflow: hidden; border-bottom: 1px solid var(--line); }
.pest-thumb img { width: 100%; height: 100%; object-fit: cover; object-position: center top; }
.pest-card-body { padding: 16px 18px; display: grid; align-content: start; gap: 8px; }
.pest-card-body h3 { font-family: var(--font-display); font-weight: 700; font-size: 1.18rem; color: var(--heading); }
.pest-card-body p { color: var(--ink-soft); font-size: 0.9rem; line-height: 1.75; }

.tag-bug, .tag-sick, .tag-veg {
  width: fit-content;
  padding: 4px 11px;
  border-radius: 999px;
  font-size: 0.74rem;
  font-weight: 800;
  border: 1px solid transparent;
}
.tag-bug  { background: var(--clay-soft);  color: #9a4a26; border-color: #e6c6b3; }
.tag-sick { background: #dce8ec;           color: #2f6377; border-color: #c2d6dd; }
.tag-veg  { background: var(--leaf-soft);  color: var(--leaf-deep); border-color: var(--leaf-line); }
.diff-stars { color: var(--ochre); font-weight: 800; letter-spacing: 1px; }

/* fact box (individual pages) */
.factbox { margin-top: 22px; padding: 8px 22px; }
.factbox dl { margin: 0; display: grid; grid-template-columns: max-content 1fr; }
.factbox dt {
  padding: 13px 0; padding-right: 18px;
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--leaf-deep);
  border-bottom: 1px solid var(--leaf-line);
  white-space: nowrap;
}
.factbox dd { margin: 0; padding: 13px 0; color: var(--ink); border-bottom: 1px solid var(--leaf-line); }
.factbox dl > dt:last-of-type, .factbox dl > dd:last-of-type { border-bottom: 0; }

/* prevent / remove split */
.measure-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-top: 22px; }
.measure { padding: 20px 22px; }
.measure.prevent { background: linear-gradient(180deg, var(--leaf-soft), transparent 80%), var(--surface); border-color: var(--leaf-line); }
.measure.remove  { background: linear-gradient(180deg, var(--clay-soft), transparent 80%), var(--surface); border-color: #e6c6b3; }
.measure strong { display: inline-flex; align-items: center; gap: 7px; font-family: var(--font-display); font-weight: 700; }
.measure.prevent strong { color: var(--leaf-deep); }
.measure.remove strong { color: var(--clay); }
.measure ul { margin-top: 12px; padding-left: 1.2em; display: grid; gap: 8px; }
.measure li { line-height: 1.85; color: var(--ink); }
.measure.prevent li::marker { color: var(--leaf); }
.measure.remove li::marker { color: var(--clay); }

/* ---------- プラント アニマルズ (zukan) ---------- */
.zukan-nav {
  position: static;
  margin: 24px 0 8px; padding: 11px 14px;
  display: flex; flex-wrap: wrap; gap: 7px;
  background: rgba(244, 236, 216, 0.92);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  box-shadow: var(--shadow-sm);
}
.zukan-nav a {
  padding: 6px 14px; border-radius: 999px;
  background: var(--surface-2);
  border: 1px solid var(--leaf-line);
  color: var(--leaf-deep);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.9rem;
}
.zukan-nav a:hover { background: var(--leaf); color: #fff; }

.zukan-section { scroll-margin-top: 132px; margin-top: 38px; }
.zukan-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(168px, 1fr)); gap: 18px; margin-top: 16px; }
.zukan-card { overflow: hidden; transition: transform 0.18s, box-shadow 0.18s, border-color 0.18s; }
.zukan-card:hover { transform: translateY(-4px) rotate(-0.4deg); border-color: var(--leaf); box-shadow: var(--shadow-lg); }
.zukan-thumb { aspect-ratio: 1 / 1; background: var(--leaf-soft); overflow: hidden; border-bottom: 1px solid var(--line); }
.zukan-thumb img { width: 100%; height: 100%; object-fit: cover; object-position: center top; }
.zukan-body { padding: 12px 14px 15px; }
.zukan-name { font-family: var(--font-display); font-weight: 700; font-size: 1.05rem; color: var(--heading); }
.zukan-desc { margin-top: 6px; color: var(--ink-soft); font-size: 0.82rem; line-height: 1.7; }

.zukan-hero { margin: 18px 0 6px; overflow: hidden; padding: 0; }
.zukan-hero img { width: 100%; height: auto; display: block; }
.zukan-sub { margin-top: 8px; font-family: var(--font-accent); font-style: italic; color: var(--leaf-deep); font-weight: 600; }

/* ---------- compare table / spec table ---------- */
.table-scroll { margin-top: 20px; overflow-x: auto; -webkit-overflow-scrolling: touch; padding: 0; }
.compare-table { width: 100%; border-collapse: collapse; min-width: 460px; background: transparent; }
.compare-table th, .compare-table td {
  text-align: left; vertical-align: top;
  padding: 12px 15px;
  border-bottom: 1px solid var(--leaf-line);
  border-right: 1px solid var(--leaf-line);
  line-height: 1.7; font-size: 0.92rem;
}
.compare-table th:last-child, .compare-table td:last-child { border-right: 0; }
.compare-table thead th {
  background: var(--leaf-deep); color: #fbf6ea;
  font-family: var(--font-display); font-weight: 700;
  white-space: nowrap; position: sticky; top: 0;
}
.compare-table tbody th {
  background: var(--leaf-soft); color: var(--leaf-deep);
  font-family: var(--font-display); font-weight: 700; white-space: nowrap;
}
.compare-table tbody tr:last-child th, .compare-table tbody tr:last-child td { border-bottom: 0; }
.compare-table strong { color: var(--leaf-deep); background-image: linear-gradient(transparent 60%, rgba(58, 107, 58, 0.18) 0); }

.spec-table { width: 100%; border-collapse: collapse; margin-top: 22px; overflow: hidden; background: var(--surface); border: 1px solid var(--line-strong); border-radius: var(--radius-lg); }
.spec-table th, .spec-table td {
  text-align: left; vertical-align: top;
  padding: 12px 18px;
  border-bottom: 1px solid var(--leaf-line);
  line-height: 1.7;
}
.spec-table th {
  width: 38%;
  background: var(--leaf-soft); color: var(--leaf-deep);
  font-family: var(--font-display); font-weight: 700;
  font-size: 0.92rem; white-space: nowrap;
}
.spec-table td { color: var(--ink); font-size: 0.95rem; }
.spec-table tr:last-child th, .spec-table tr:last-child td { border-bottom: 0; }

/* ---------- responsive ---------- */
@media (max-width: 820px) {
  .hero { grid-template-columns: 1fr; padding: 28px 22px; text-align: center; }
  .hero-eyebrow { justify-content: center; }
  .tag-row { justify-content: center; }
  .hero-mascot { order: -1; }
  .hero-mascot img { width: 170px; }
  .card-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .zukan-feature-card { grid-template-columns: 1fr; }
  .zukan-feature-visual { border-right: 0; border-bottom: 1px solid var(--leaf-line); aspect-ratio: 16 / 9; }
  .zukan-feature-copy { padding: 22px 20px; text-align: center; }
  .zukan-feature-cta { justify-self: center; }
  .about { grid-template-columns: 1fr; text-align: center; padding: 24px 20px; }
  .about-avatar { width: 122px; height: 122px; }
}

@media (max-width: 560px) {
  body { font-size: 15.5px; }
  .topbar-inner { height: 58px; }
  .brand-copy small { display: none; }
  .card-list { gap: 12px; }
  .article-card-body { padding: 11px 12px 13px; gap: 6px; }
  .article-card-body h3 { font-size: 0.95rem; line-height: 1.4; }
  .pill { font-size: 0.68rem; padding: 3px 9px; }
  .section-head { flex-direction: column; align-items: flex-start; gap: 4px; }
  .hormone-item { grid-template-columns: 1fr; gap: 8px; }
  .meow { grid-template-columns: 1fr; justify-items: center; text-align: center; }
  .pest-grid, .measure-grid { grid-template-columns: 1fr; }
  .factbox dl { grid-template-columns: 1fr; }
  .factbox dt { padding-bottom: 2px; border-bottom: 0; }
  .factbox dd { padding-top: 2px; }
  .zukan-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .spec-table th, .spec-table td { display: block; width: 100%; white-space: normal; }
  .spec-table th { border-bottom: 0; padding-bottom: 2px; font-size: 0.86rem; }
  .spec-table td { padding-top: 2px; }

  /* full-bleed figures on phones */
  .figure {
    width: 100vw; margin-left: calc(50% - 50vw); margin-right: calc(50% - 50vw);
    border-radius: 0; border-left: 0; border-right: 0; padding: 0;
  }
  .figure-frame { border-radius: 0; border-left: 0; border-right: 0; }
  .figure figcaption { padding: 13px 16px 14px; }
}
