@charset "UTF-8";
/* ============================================================
   （公財）鹿沼市農業公社　下層ページ共通スタイル
   （トップページ index.html と同じ雰囲気：緑・オレンジ・土の茶色）
   ============================================================ */

:root {
  --green: #2f6e3b;
  --green-dark: #1d4a27;
  --green-soft: #e3f0df;
  --leaf: #7cc06a;
  --orange: #e8772e;
  --orange-soft: #fde9d8;
  --soil: #6b4a2b;
  --soil-soft: #f1e6d6;
  --sky: #e2f2f6;
  --cream: #fbf8ef;
  --paper: #ffffff;
  --ink: #2a2b26;
  --muted: #6a6a60;
  --line: #e5ddc9;
  --radius: 20px;
  --shadow: 0 10px 30px rgba(40, 60, 35, .10);
  --round: "Zen Maru Gothic", "Hiragino Maru Gothic ProN", "HG丸ｺﾞｼｯｸM-PRO", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: "Zen Kaku Gothic New", "Hiragino Kaku Gothic ProN", "Yu Gothic", "Meiryo", sans-serif;
  font-size: 16px;
  line-height: 1.9;
  color: var(--ink);
  background: var(--cream);
}
img, svg { max-width: 100%; vertical-align: middle; }
img { height: auto; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
a { color: var(--green); }
h1, h2, h3, h4 { margin: 0; line-height: 1.5; }
ul, ol, dl, dd { margin: 0; padding: 0; list-style: none; }
section[id] { scroll-margin-top: 84px; }
.nb { display: inline-block; }
.center { text-align: center; }
.note { font-size: 14px; color: var(--muted); }

.wrap { width: min(1120px, 100% - 40px); margin-inline: auto; }
.narrow { width: min(900px, 100% - 40px); margin-inline: auto; }

/* ---------- ボタン ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5em;
  min-height: 50px;
  padding: 10px 26px;
  border-radius: 999px;
  border: 2px solid var(--green);
  background: var(--green);
  color: #fff;
  font-weight: 700;
  line-height: 1.4;
  text-decoration: none;
  transition: transform .2s, box-shadow .2s;
}
.btn::after { content: "→"; font-weight: 400; }
.btn:hover { transform: translateY(-2px); box-shadow: 0 8px 18px rgba(47, 110, 59, .28); }
.btn.ghost { background: #fff; color: var(--green); }
.btn.orange { background: var(--orange); border-color: var(--orange); }
.btn-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 28px; }
.textlink { font-weight: 700; text-underline-offset: 4px; }
.textlink::after { content: " →"; }

/* ---------- ヘッダー ---------- */
.header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(251, 248, 239, .94);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.header-in { display: flex; align-items: center; gap: 16px; min-height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; margin-right: auto; }
.brand svg { width: 44px; height: 44px; flex: none; }
.brand-sub { display: block; font-size: 11px; font-weight: 700; color: var(--green); letter-spacing: .1em; }
.brand-name { display: block; font-family: var(--round); font-size: 20px; font-weight: 700; line-height: 1.25; white-space: nowrap; }

.gnav ul { display: flex; gap: 2px; }
.gnav a {
  display: block;
  padding: 8px 8px;
  border-radius: 8px;
  color: var(--ink);
  font-size: 13.5px;
  font-weight: 500;
  text-decoration: none;
  white-space: nowrap;
}
.gnav a:hover { background: var(--green-soft); color: var(--green-dark); }
.gnav a[aria-current="page"] { color: var(--green); font-weight: 700; box-shadow: inset 0 -2px 0 var(--orange); border-radius: 0; }

.tel {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  border-radius: 999px;
  background: var(--green);
  color: #fff;
  text-decoration: none;
  line-height: 1.2;
  white-space: nowrap;
}
.tel svg { width: 18px; height: 18px; }
.tel small { display: block; font-size: 10px; opacity: .85; }
.tel b { font-size: 17px; letter-spacing: .04em; }

.menu-btn {
  display: none;
  width: 46px;
  height: 46px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  cursor: pointer;
}
.menu-btn span, .menu-btn span::before, .menu-btn span::after {
  display: block;
  width: 20px;
  height: 2px;
  margin: auto;
  background: var(--green-dark);
  border-radius: 2px;
  transition: transform .25s, background .25s;
}
.menu-btn span { position: relative; }
.menu-btn span::before, .menu-btn span::after { content: ""; position: absolute; left: 0; }
.menu-btn span::before { top: -6px; }
.menu-btn span::after { top: 6px; }
.menu-btn[aria-expanded="true"] span { background: transparent; }
.menu-btn[aria-expanded="true"] span::before { transform: translateY(6px) rotate(45deg); }
.menu-btn[aria-expanded="true"] span::after { transform: translateY(-6px) rotate(-45deg); }

/* ---------- ページタイトル ---------- */
.page-hero { position: relative; overflow: hidden; background: linear-gradient(#d7eef4 0%, #e9f5e6 60%, #fbf8ef 100%); text-align: center; }
.page-hero-in { position: relative; z-index: 2; padding: 44px 0 0; }
.crumb { display: flex; justify-content: center; flex-wrap: wrap; gap: 0 .6em; font-size: 13px; color: var(--muted); }
.crumb a { color: var(--muted); }
.crumb li + li::before { content: "›"; margin-right: .6em; }
.head-en { display: block; margin-top: 14px; color: var(--orange); font-size: 13px; font-weight: 700; letter-spacing: .3em; }
.page-hero h1 { font-family: var(--round); font-size: clamp(27px, 5vw, 42px); letter-spacing: .08em; }
.page-hero p { margin-top: 6px; color: var(--muted); }
.landscape { position: relative; z-index: 1; display: block; width: 100%; height: clamp(110px, 16vw, 200px); margin-top: -8px; }
.cloud { animation: drift 40s linear infinite alternate; }
@keyframes drift { from { transform: translateX(-30px); } to { transform: translateX(50px); } }
@media (prefers-reduced-motion: reduce) { .cloud { animation: none; } html { scroll-behavior: auto; } }

/* ---------- 見出し ---------- */
.section { padding: 60px 0; }
.section.first { padding-top: 28px; }
.section.white { background: var(--paper); border-block: 1px solid var(--line); }
.head { margin-bottom: 30px; text-align: center; }
.head .head-en { margin-top: 0; }
.head h2 { font-family: var(--round); font-size: clamp(23px, 3.6vw, 31px); letter-spacing: .06em; }
.head svg { display: block; width: 80px; height: 22px; margin: 10px auto 0; }
.head p { margin-top: 12px; color: var(--muted); }

.sub-title {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 16px;
  font-family: var(--round);
  font-size: clamp(20px, 3vw, 24px);
}
.sub-title::before { content: ""; flex: none; width: 8px; height: 1.4em; border-radius: 4px; background: var(--orange); }
.block:not(:first-child) { margin-top: 48px; }

.card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.lead { margin-bottom: 28px; font-size: 17px; text-align: center; }
.lead b { color: var(--green-dark); }

/* ---------- しくみの図（貸す人・公社・借りる人） ---------- */
.flow {
  display: grid;
  grid-template-columns: 1fr 150px 1.1fr 150px 1fr;
  align-items: center;
  gap: 8px;
  padding: 26px 22px;
}
.flow-box { padding: 16px 10px 14px; border-radius: 16px; text-align: center; font-weight: 700; line-height: 1.5; }
.flow-box svg { display: block; width: 84px; height: 84px; margin: 0 auto 6px; }
.flow-box small { display: block; color: var(--muted); font-size: 12px; font-weight: 700; letter-spacing: .1em; }
.flow-box.a { background: var(--orange-soft); }
.flow-box.k { background: var(--green-soft); border: 2px solid var(--green); }
.flow-box.b { background: var(--sky); }
.flow-arrows { display: grid; gap: 14px; font-size: 12.5px; font-weight: 700; line-height: 1.4; text-align: center; }
.flow-arrows span { position: relative; display: block; padding: 6px 4px 12px; color: var(--soil); }
.flow-arrows span::after {
  content: "";
  position: absolute;
  left: 4px;
  right: 10px;
  bottom: 2px;
  height: 4px;
  border-radius: 2px;
  background: #f2a3b4;
}
.flow-arrows span::before {
  content: "";
  position: absolute;
  right: 2px;
  bottom: -3px;
  border-left: 12px solid #f2a3b4;
  border-top: 7px solid transparent;
  border-bottom: 7px solid transparent;
}
.flow-arrows span.back::after { left: 10px; right: 4px; }
.flow-arrows span.back::before { right: auto; left: 2px; border-left: 0; border-right: 12px solid #f2a3b4; }
.flow-caption { margin-top: 12px; font-family: var(--round); font-size: 19px; font-weight: 700; text-align: center; color: var(--green-dark); }

/* ---------- 農地バンク事業のしくみ図 ---------- */
.bank-flow {
  display: grid;
  grid-template-columns: 1fr 120px 1.35fr 120px 1fr;
  align-items: start;
  gap: 8px;
  padding: 26px 22px;
}
.bank-flow .flow-box.a, .bank-flow .flow-box.b { margin-top: 10px; }
.bank-flow .flow-arrows { margin-top: 64px; }
.flow-box.hl { box-shadow: 0 0 0 3px var(--orange); }
.tags { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px; margin-top: 8px; }
.tags li { padding: 0 9px; border-radius: 999px; background: rgba(255, 255, 255, .85); font-size: 12px; line-height: 1.8; }
.bank-col { display: grid; justify-items: stretch; }
.flow-box.bank { background: #fff3e6; border: 2px solid var(--orange); }
.flow-box.bank p, .flow-box.window p { margin: 6px 0 0; font-size: 13px; font-weight: 500; line-height: 1.6; color: var(--ink); }
.link-line { position: relative; height: 46px; display: grid; place-items: center; }
.link-line::before { content: ""; position: absolute; top: 0; bottom: 0; left: 50%; width: 4px; margin-left: -2px; background: #b9b9b0; border-radius: 2px; }
.link-line span { position: relative; padding: 0 10px; background: #fff; color: var(--muted); font-size: 12px; font-weight: 700; }
.flow-box.window {
  display: flex;
  flex-direction: column;
  gap: 4px;
  align-items: center;
  padding: 12px 14px;
  background: #fff8c9;
  border: 2px solid #e6c84a;
  text-align: center;
}
.flow-box.window svg.mini { flex: none; width: 56px; height: 56px; margin: 0; }
.flow-box.window small { color: #8a6d00; }

.notes { padding: 22px 26px; }
.notes li { position: relative; padding-left: 1.3em; font-size: 15px; line-height: 1.8; }
.notes li + li { margin-top: 10px; }
.notes li::before { content: "■"; position: absolute; left: 0; color: var(--green); font-size: .8em; top: .25em; }
.support-box { padding: 24px 26px; }
.support-box .check { margin: 12px 0; }
.support-box .check li { font-size: 15px; }
.support-box .max { margin: 4px 0 6px; padding: 8px 14px; border-radius: 10px; background: var(--orange-soft); font-weight: 700; }
.support-box .max b { color: #9a4310; font-size: 1.2em; }

/* ---------- 説明の表（dl） ---------- */
.info { padding: 6px 30px; }
.info-row { display: grid; grid-template-columns: 160px minmax(0, 1fr); gap: 20px; padding: 20px 0; border-bottom: 1px dashed var(--line); }
.info-row:last-child { border-bottom: 0; }
.info dt { display: flex; align-items: flex-start; gap: 10px; font-weight: 700; color: var(--green-dark); line-height: 1.6; }
.info dt svg { flex: none; width: 36px; height: 36px; }
.info dd { line-height: 1.85; }
.check li, .nums li { position: relative; padding-left: 1.7em; }
.check li + li, .nums li + li { margin-top: 6px; }
.check li::before {
  content: "";
  position: absolute;
  left: .2em;
  top: .45em;
  width: 1em;
  height: 1em;
  border-radius: 50%;
  background: var(--green) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.5l2.5 2.5L12 5.5' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 100% no-repeat;
}
.nums { counter-reset: n; }
.nums li { counter-increment: n; }
.nums li::before {
  content: counter(n);
  position: absolute;
  left: 0;
  top: .2em;
  display: grid;
  place-content: center;
  width: 1.45em;
  height: 1.45em;
  border-radius: 50%;
  background: var(--orange);
  color: #fff;
  font-size: .8em;
  font-weight: 700;
  line-height: 1;
}
.nums small { display: block; color: var(--muted); font-size: 14px; }

/* メリット */
.merits { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 16px; }
.merit { display: flex; gap: 14px; align-items: flex-start; padding: 20px; }
.merit svg { flex: none; width: 46px; height: 46px; }
.merit p { font-size: 15px; line-height: 1.75; }

/* ---------- 表 ---------- */
.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; border-radius: 14px; border: 1px solid var(--line); background: #fff; }
.tbl { width: 100%; border-collapse: collapse; font-size: 15px; }
.tbl th, .tbl td { padding: 13px 16px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: middle; }
.tbl tr:last-child th, .tbl tr:last-child td { border-bottom: 0; }
.tbl thead th { background: var(--green); color: #fff; font-size: 14px; text-align: center; white-space: nowrap; }
.tbl tbody th { background: var(--cream); color: var(--green-dark); font-weight: 700; }
.tbl .num { text-align: right; font-weight: 700; font-size: 17px; color: var(--green-dark); white-space: nowrap; font-variant-numeric: tabular-nums; }
.tbl-note { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 4px 16px; margin-top: 8px; font-size: 14px; color: var(--muted); }
.unit { margin-bottom: 6px; text-align: right; font-size: 13px; color: var(--muted); }

/* ---------- 交付金・補助金 ---------- */
.grant { padding: 28px 30px; }
.grant + .grant { margin-top: 24px; }
.grant-head { display: flex; gap: 16px; align-items: center; margin-bottom: 16px; }
.grant-head svg { flex: none; width: 64px; height: 64px; }
.grant-head h2 { font-family: var(--round); font-size: clamp(20px, 3vw, 25px); }
.grant-head .amount { display: inline-block; margin-top: 2px; padding: 0 12px; border-radius: 8px; background: var(--orange-soft); color: #9a4310; font-size: 14px; font-weight: 700; }
.ask-box { margin-top: 18px; padding: 14px 18px; border-radius: 12px; background: var(--cream); font-size: 15px; }

/* ---------- 設立概要 ---------- */
.share { margin-top: 6px; }
.share-bar { display: flex; height: 30px; border-radius: 999px; overflow: hidden; font-size: 13px; font-weight: 700; color: #fff; line-height: 30px; text-align: center; }
.share-bar span:first-child { flex: 2; background: var(--green); }
.share-bar span:last-child { flex: 1; background: var(--orange); }
.share-legend { display: flex; flex-wrap: wrap; gap: 4px 20px; margin-top: 8px; font-size: 15px; }
.share-legend i { display: inline-block; width: 12px; height: 12px; margin-right: 6px; border-radius: 3px; background: var(--green); }
.share-legend li:last-child i { background: var(--orange); }
.biz { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 14px; counter-reset: biz; }
.biz li {
  display: flex;
  gap: 14px;
  align-items: center;
  padding: 16px 18px;
  border-radius: 16px;
  background: var(--paper);
  border: 1px solid var(--line);
  font-weight: 700;
  line-height: 1.5;
  counter-increment: biz;
}
.biz li::before {
  content: counter(biz);
  flex: none;
  display: grid;
  place-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--green-soft);
  color: var(--green-dark);
  font-family: var(--round);
  font-size: 18px;
}
.biz li:nth-child(2n)::before { background: var(--orange-soft); color: #9a4310; }

/* ---------- 地図 ---------- */
.map { display: block; padding: 10px; }
.map img { display: block; width: 100%; border-radius: 10px; }
.access { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.access-item { display: flex; gap: 16px; align-items: center; padding: 20px 22px; }
.access-item svg { flex: none; width: 60px; height: 60px; }
.access-item b { display: block; color: var(--green-dark); }

/* ---------- 情報公開 ---------- */
.docs { display: grid; gap: 12px; }
.doc {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 20px;
  border-radius: 14px;
  background: var(--paper);
  border: 1px solid var(--line);
  color: var(--ink);
  font-weight: 700;
  text-decoration: none;
  transition: border-color .2s, transform .2s;
}
.doc:hover { border-color: var(--green); transform: translateY(-2px); }
.doc svg, .pdf svg { flex: none; width: 30px; height: 30px; }
.doc::after { content: "→"; margin-left: auto; color: var(--green); }
.years { display: grid; gap: 14px; }
.year { display: grid; grid-template-columns: 130px minmax(0, 1fr); gap: 16px; align-items: center; padding: 18px 22px; }
.year h3 { font-family: var(--round); font-size: 19px; color: var(--green-dark); }
.year h3 small { display: block; font-size: 12px; color: var(--muted); font-weight: 700; }
.pdfs { display: flex; flex-wrap: wrap; gap: 8px; }
.pdf {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px 6px 8px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--cream);
  color: var(--ink);
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
}
.pdf svg { width: 22px; height: 22px; }
.pdf:hover { border-color: var(--green); color: var(--green-dark); }

/* ---------- 問い合わせ枠 ---------- */
.contact-box { margin-top: 36px; padding: 26px 30px; border-radius: var(--radius); background: var(--green-soft); }
.contact-box > p:first-child { font-family: var(--round); font-size: 19px; font-weight: 700; text-align: center; color: var(--green-dark); }
.contact-box address { margin-top: 10px; font-style: normal; text-align: center; line-height: 2; }

/* ---------- お問い合わせ（帯） ---------- */
.contact { position: relative; overflow: hidden; background: var(--green); color: #fff; text-align: center; }
.contact-in { position: relative; z-index: 1; padding: 48px 0; }
.contact h2 { font-family: var(--round); font-size: clamp(22px, 3.4vw, 30px); letter-spacing: .06em; }
.contact-tel {
  display: inline-block;
  margin: 6px 0 2px;
  color: #fff;
  font-family: var(--round);
  font-size: clamp(32px, 7vw, 46px);
  font-weight: 700;
  letter-spacing: .04em;
  line-height: 1.3;
  text-decoration: none;
}
.contact p { opacity: .92; }
.contact-btns { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 22px; }
.contact .btn { background: #fff; color: var(--green-dark); border-color: #fff; }
.contact-deco { position: absolute; right: -20px; bottom: -30px; width: 260px; opacity: .14; }

/* ---------- フッター ---------- */
.footer-hill { display: block; width: 100%; height: clamp(50px, 8vw, 110px); background: var(--green); }
.footer { background: var(--green-dark); color: #e6f0e4; }
.footer a { color: #fff; }
.footer-in { display: grid; grid-template-columns: 1.2fr 1fr; gap: 32px; padding: 20px 0 36px; }
.footer .brand { color: #fff; margin-bottom: 14px; }
.footer .brand-sub { color: #bfe3b6; }
.footer address { font-style: normal; font-size: 15px; line-height: 2; }
.footer-tel { font-family: var(--round); font-size: 28px; font-weight: 700; text-decoration: none; letter-spacing: .04em; }
.footer-links { display: grid; grid-template-columns: 1fr 1fr; gap: 4px 20px; align-content: start; font-size: 14px; }
.footer-links a { display: block; padding: 6px 0; border-bottom: 1px solid rgba(255, 255, 255, .16); text-decoration: none; }
.footer-links a:hover { text-decoration: underline; }
.copy { padding: 14px 0; border-top: 1px solid rgba(255, 255, 255, .16); text-align: center; font-size: 12px; opacity: .8; }

/* ---------- タブレット ---------- */
@media (max-width: 1180px) {
  .menu-btn { display: block; }
  .gnav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    display: none;
    padding: 10px 20px 20px;
    background: var(--cream);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 20px 30px rgba(0, 0, 0, .10);
  }
  .gnav.open { display: block; }
  .gnav ul { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
  .gnav a { padding: 14px 6px; border-bottom: 1px solid var(--line); border-radius: 0; font-size: 15px; white-space: normal; }
  .gnav a[aria-current="page"] { box-shadow: none; }
}

@media (max-width: 900px) {
  .footer-in { grid-template-columns: 1fr; }
  .flow { grid-template-columns: 1fr; gap: 4px; max-width: 420px; margin-inline: auto; }
  .flow-arrows { grid-template-columns: 1fr 1fr; gap: 10px; padding: 6px 0; }
  .flow-arrows span { padding: 4px 26px 4px 4px; }
  .flow-arrows span::after { top: 0; bottom: 0; left: auto; right: 9px; width: 4px; height: auto; }
  .flow-arrows span::before { top: auto; bottom: -6px; right: 3px; left: auto; border: 0; border-top: 12px solid #f2a3b4; border-left: 8px solid transparent; border-right: 8px solid transparent; }
  .flow-arrows span.back { padding: 4px 4px 4px 26px; }
  .flow-arrows span.back::after { right: auto; left: 9px; }
  .flow-arrows span.back::before { right: auto; left: 3px; bottom: auto; top: -6px; border-top: 0; border-bottom: 12px solid #f2a3b4; border-left: 8px solid transparent; border-right: 8px solid transparent; }
  .access { grid-template-columns: 1fr; }
  .bank-flow { grid-template-columns: 1fr; gap: 4px; max-width: 440px; margin-inline: auto; }
  .bank-flow .flow-box.a, .bank-flow .flow-box.b { margin-top: 0; }
  .bank-flow .flow-arrows { margin-top: 0; }
  .flow-box.window { flex-direction: row; gap: 10px; text-align: left; }
}

/* ---------- スマホ ---------- */
@media (max-width: 600px) {
  body { font-size: 15.5px; }
  .wrap, .narrow { width: calc(100% - 32px); }
  .section { padding: 46px 0; }
  .section.first { padding-top: 20px; }
  .head { margin-bottom: 24px; }
  .header-in { min-height: 60px; gap: 10px; }
  .brand svg { width: 38px; height: 38px; }
  .brand-name { font-size: 17px; }
  .brand-sub { font-size: 10px; letter-spacing: .04em; }
  .tel { width: 46px; height: 46px; padding: 0; justify-content: center; }
  .tel span { display: none; }
  .tel svg { width: 22px; height: 22px; }
  .gnav ul { grid-template-columns: 1fr; }

  .page-hero-in { padding-top: 30px; }
  .lead { text-align: left; font-size: 16px; }
  .block:not(:first-child) { margin-top: 40px; }
  .flow { padding: 18px 14px; }
  .info { padding: 4px 18px; }
  .info-row { grid-template-columns: 1fr; gap: 8px; padding: 16px 0; }
  .merit { padding: 16px; }
  .tbl th, .tbl td { padding: 10px 12px; }
  .tbl { font-size: 14px; }
  .tbl .num { font-size: 15.5px; }
  .grant { padding: 22px 18px; }
  .grant-head svg { width: 52px; height: 52px; }
  .year { grid-template-columns: 1fr; gap: 8px; padding: 16px 16px; }
  .contact-box { padding: 22px 18px; }
  .contact-in { padding: 40px 0; }
  .contact .btn { flex: 1 1 100%; }
  .footer-tel { font-size: 24px; }
  .footer-links { grid-template-columns: 1fr; }
}

/* ---------- 沿革 ---------- */
.h-photos { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-bottom: 30px; }
.h-photos figure { margin: 0; }
.h-photos img { display: block; width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: 16px; border: 6px solid #fff; box-shadow: var(--shadow); }
.h-photos figcaption { margin-top: 6px; font-size: 13px; color: var(--muted); text-align: center; }
.history { position: relative; margin: 0; padding: 0; list-style: none; }
.history::before { content: ""; position: absolute; left: 141px; top: 8px; bottom: 8px; width: 3px; border-radius: 2px; background: var(--green-soft); }
.h-row { position: relative; display: grid; grid-template-columns: 120px 76px minmax(0, 1fr); gap: 0 12px; padding: 10px 0; border-top: 1px dashed var(--line); }
.h-row.same { border-top: 0; padding-top: 0; }
.h-row::before { content: ""; position: absolute; left: 136px; top: 17px; width: 13px; height: 13px; border-radius: 50%; background: #fff; border: 3px solid var(--green); }
.h-year { text-align: right; padding-right: 30px; line-height: 1.4; }
.h-year b { display: block; font-family: var(--round); font-size: 17px; color: var(--green-dark); white-space: nowrap; }
.h-year small { display: block; font-size: 12px; color: var(--muted); }
.h-month { padding-left: 28px; font-weight: 700; color: var(--orange); white-space: nowrap; }
.h-items { margin: 0; padding: 0; list-style: none; }
.h-items li { line-height: 1.75; }
.h-items li + li { margin-top: 4px; }
.h-items li.hl { font-weight: 700; color: var(--green-dark); }
.h-items li.hl::before { content: "★ "; color: var(--orange); }
@media (max-width: 600px) {
  .h-photos { gap: 10px; }
  .history::before { left: 7px; }
  .h-row { grid-template-columns: 52px minmax(0, 1fr); padding: 10px 0 10px 26px; }
  .h-row::before { left: 2px; top: 16px; width: 11px; height: 11px; }
  .h-row.same::before { display: none; }
  .h-year { grid-column: 1 / -1; display: flex; gap: 8px; align-items: baseline; text-align: left; padding: 0 0 2px; }
  .h-year.cont { display: none; }
  .h-month { padding-left: 0; }
}

/* ---------- 改革について（PDFリンク） ---------- */
.reform { display: flex; gap: 18px; align-items: center; padding: 22px 24px; color: var(--ink); text-decoration: none; border: 2px solid transparent; transition: border-color .2s, transform .2s; }
.reform:hover { border-color: var(--orange); transform: translateY(-2px); }
.reform svg { flex: none; width: 64px; height: 64px; }
.reform-body b { display: block; font-family: var(--round); font-size: 19px; color: var(--green-dark); }
.reform-list { display: block; margin-top: 6px; font-size: 14px; line-height: 1.8; color: var(--muted); }
.reform-more { display: inline-block; margin-top: 8px; font-weight: 700; color: var(--orange); }
@media (max-width: 600px) { .reform { align-items: flex-start; padding: 18px 16px; gap: 12px; } .reform svg { width: 48px; height: 48px; } }

/* ---------- 設立と改革について（sub_kaikaku.html） ---------- */
.k-toc { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin-bottom: 28px; }
.k-toc a { display: inline-flex; align-items: center; gap: 6px; padding: 6px 14px 6px 6px; border-radius: 999px; background: var(--paper); border: 1px solid var(--line); color: var(--ink); font-size: 14px; font-weight: 700; text-decoration: none; }
.k-toc a span { display: grid; place-content: center; width: 24px; height: 24px; border-radius: 50%; background: var(--green); color: #fff; font-size: 12px; }
.k-toc a:hover { border-color: var(--green); }
.k-sec { padding: 26px 30px 28px; scroll-margin-top: 84px; }
.k-sec + .k-sec { margin-top: 24px; }
.k-title { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; padding-bottom: 12px; border-bottom: 2px solid var(--green-soft); font-family: var(--round); font-size: clamp(20px, 3vw, 24px); color: var(--green-dark); }
.k-no { display: grid; place-content: center; flex: none; width: 40px; height: 40px; border-radius: 12px; background: var(--green); color: #fff; font-size: 20px; }
.k-num { margin: 10px 0 0; }
.k-num li { display: flex; gap: 8px; padding: 8px 12px; border-radius: 10px; background: var(--cream); }
.k-num li + li { margin-top: 6px; }
.k-num li span { flex: none; color: var(--orange); font-weight: 700; }
.mini-title { margin: 18px 0 8px; font-weight: 700; color: var(--green-dark); }
.mini-title small { font-weight: 500; color: var(--muted); font-size: 12px; }
.farm-mix { margin-top: 6px; }
.mix-row { display: grid; grid-template-columns: 76px minmax(0, 1fr); gap: 10px; align-items: center; margin-top: 8px; font-size: 13px; }
.mix { display: flex; overflow: hidden; border-radius: 10px; font-weight: 700; line-height: 1.3; }
.mix span { padding: 8px 8px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mix-a { background: var(--green); color: #fff; }
.mix-b { background: var(--orange-soft); color: #9a4310; }
.k-results { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.k-results li { display: flex; gap: 10px; align-items: flex-start; padding: 12px 14px; border-radius: 14px; background: var(--green-soft); font-weight: 500; line-height: 1.6; }
.k-check { flex: none; display: grid; place-content: center; width: 26px; height: 26px; border-radius: 50%; background: #fff; color: var(--green); font-weight: 700; }
.needs { display: grid; gap: 10px; margin-top: 8px; }
.need { border: 1px solid var(--line); border-radius: 14px; background: var(--cream); }
.need summary { display: flex; gap: 10px; align-items: flex-start; padding: 12px 16px; cursor: pointer; font-weight: 700; line-height: 1.6; list-style: none; }
.need summary::-webkit-details-marker { display: none; }
.need summary::after { content: "＋"; margin-left: auto; padding-left: 10px; color: var(--green); }
.need[open] summary::after { content: "－"; }
.need-no { flex: none; color: var(--orange); }
.need-body { padding: 0 18px 16px 42px; font-size: 15px; }
.need-body ul li { position: relative; padding-left: 1em; margin-top: 4px; }
.need-body ul li::before { content: "・"; position: absolute; left: 0; }
.bars { display: grid; gap: 8px; }
.bar-row { display: grid; grid-template-columns: 130px minmax(0, 1fr) 128px; gap: 10px; align-items: center; font-size: 14px; }
.bar-label { color: var(--muted); font-weight: 700; }
.bar-track { height: 16px; border-radius: 999px; background: #fff; border: 1px solid var(--line); overflow: hidden; }
.bar-fill { display: block; height: 100%; border-radius: 999px; }
.bar-fill.orange { background: var(--orange); }
.bar-fill.green { background: var(--green); }
.bar-val { font-weight: 700; font-variant-numeric: tabular-nums; }
.bar-row.note .bar-label::before { content: "※"; }
.stat { margin-top: 10px; }
.stat b { font-size: 20px; color: var(--green-dark); }
.reform-chart { margin: 22px 0; padding: 20px; border-radius: 18px; background: var(--cream); border: 1px solid var(--line); }
.chart-label { margin: 0 0 10px; font-weight: 700; color: var(--green-dark); }
.chart-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.org { padding: 14px 16px; border-radius: 14px; background: #fff; border-top: 6px solid; font-size: 15px; }
.org b { display: block; margin-bottom: 6px; font-family: var(--round); font-size: 17px; }
.org li { margin-top: 3px; }
.org.gray { border-color: #9fb0bf; }
.org.green { border-color: var(--green); }
.org.orange { border-color: var(--orange); }
.org .formula { margin: 4px 0 8px; padding: 4px 10px; border-radius: 8px; background: var(--green-soft); font-weight: 700; text-align: center; }
.org.orange .formula { background: var(--orange-soft); }
.org .small-label { margin: 0 0 2px; font-size: 13px; font-weight: 700; color: var(--muted); }
.org .role { margin: 8px 0 0; font-weight: 700; text-align: center; color: var(--muted); }
.chart-arrow { position: relative; margin: 14px 0; text-align: center; }
.chart-arrow span { position: relative; display: inline-block; padding: 6px 18px 18px; background: var(--orange); color: #fff; font-weight: 700; font-size: 14px; clip-path: polygon(0 0, 100% 0, 100% 62%, 50% 100%, 0 62%); }
.now { padding: 14px 18px; border-left: 5px solid var(--green); border-radius: 0 12px 12px 0; background: var(--green-soft); }
@media (max-width: 700px) {
  .k-results, .chart-row { grid-template-columns: 1fr; }
  .bar-row { grid-template-columns: 1fr auto; }
  .bar-row .bar-track { grid-column: 1 / -1; grid-row: 2; }
}
@media (max-width: 600px) {
  .k-sec { padding: 20px 16px 22px; }
  .k-no { width: 34px; height: 34px; font-size: 17px; }
  .need-body { padding: 0 14px 14px 16px; }
  .reform-chart { padding: 14px; }
  .mix-row { grid-template-columns: 1fr; gap: 4px; }
  .mix span { font-size: 12px; }
}
.mix-note { grid-column: 2; font-size: 12.5px; color: var(--muted); }
@media (max-width: 600px) { .mix-note { grid-column: 1; } }
