@charset "UTF-8";
/* ============================================================
   （有）農業生産法人かぬま　下層ページ共通スタイル
   （index.htm と同じ雰囲気：緑・生成り・麦色）
   ============================================================ */

:root {
  --green: #2f6b4a;
  --green-dark: #1f4a34;
  --green-soft: #e4efe3;
  --gold: #c08a1e;
  --gold-soft: #f4e6c0;
  --cream: #fbf7ec;
  --paper: #ffffff;
  --ink: #2b2a26;
  --muted: #6d6a60;
  --line: #e6dfcc;
  --red: #d2453c;
  --pink-soft: #fdeeee;
  --radius: 18px;
  --shadow: 0 10px 30px rgba(47, 62, 40, .10);
  --mincho: "Shippori Mincho", "Hiragino Mincho ProN", "Yu Mincho", 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 { 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(880px, 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, 107, 74, .28); }
.btn.ghost { background: #fff; color: var(--green); }
.btn.gold { background: var(--gold); border-color: var(--gold); }
.btn.mini { min-height: 42px; padding: 6px 18px; font-size: 14px; }
.btn.plain::after { content: none; }
.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, 247, 236, .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: 42px; height: 42px; flex: none; }
.brand-name { display: block; font-family: var(--mincho); font-size: 19px; font-weight: 700; line-height: 1.25; white-space: nowrap; }
.brand-sub { display: block; font-size: 11px; letter-spacing: .14em; color: var(--green); font-weight: 700; }

.gnav ul { display: flex; gap: 2px; }
.gnav a {
  display: block;
  padding: 8px 7px;
  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(--gold); 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(#dff0ee 0%, #eef6e9 60%, #fbf7ec 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(--gold); font-size: 13px; font-weight: 700; letter-spacing: .3em; }
.page-hero h1 { font-family: var(--mincho); font-size: clamp(27px, 5vw, 44px); letter-spacing: .1em; }
.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: 64px 0; }
.section.first { padding-top: 28px; }
.section.tint { background: var(--paper); border-block: 1px solid var(--line); }
.section.pink { background: linear-gradient(#fdeeee, #fbf7ec); }
.head { margin-bottom: 32px; text-align: center; }
.head .head-en { margin-top: 0; }
.head h2 { font-family: var(--mincho); font-size: clamp(24px, 3.6vw, 32px); letter-spacing: .08em; }
.head svg { display: block; width: 74px; height: 22px; margin: 10px auto 0; }
.head p { margin-top: 12px; color: var(--muted); }

.card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.lead { margin-bottom: 28px; text-align: center; }

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

/* ---------- 会社概要 ---------- */
.profile { padding: 12px 34px; }
.profile-name {
  padding: 22px 0 18px;
  border-bottom: 2px solid var(--green);
  font-family: var(--mincho);
  font-size: clamp(22px, 3.4vw, 30px);
  font-weight: 700;
  text-align: center;
  letter-spacing: .06em;
}
.profile-row {
  display: grid;
  grid-template-columns: 170px minmax(0, 1fr);
  gap: 20px;
  align-items: center;
  padding: 18px 4px;
  border-bottom: 1px dashed var(--line);
}
.profile-row:last-child { border-bottom: 0; }
.profile dt { display: flex; align-items: center; gap: 12px; font-weight: 700; color: var(--green-dark); }
.profile dt svg { flex: none; width: 40px; height: 40px; }
.profile dd { font-size: 17px; }
.profile dd small { display: block; font-size: 14px; color: var(--muted); }

.work-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; counter-reset: work; }
.work {
  position: relative;
  padding: 26px 20px 22px;
  border-radius: var(--radius);
  background: var(--cream);
  border: 1px solid var(--line);
  text-align: center;
  font-weight: 700;
  line-height: 1.6;
  counter-increment: work;
}
.work::before {
  content: "（" counter(work) "）";
  position: absolute;
  top: 10px;
  left: 12px;
  font-family: var(--mincho);
  font-size: 15px;
  color: var(--gold);
}
.work svg { display: block; width: 72px; height: 72px; margin: 0 auto 12px; }

.photos { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; align-items: center; }
.photos figure { margin: 0; }
.photos img {
  display: block;
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  border: 7px solid #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.photos figure:first-child { transform: rotate(-1.5deg); }
.photos figure:last-child { transform: rotate(1.5deg); }

/* ---------- お買い物ボタン ---------- */
.shopbar { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }

/* ---------- 商品 ---------- */
.goods { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 22px; }
.goods.few { grid-template-columns: repeat(auto-fit, minmax(240px, 270px)); justify-content: center; }
.good { display: flex; flex-direction: column; overflow: hidden; }
.good-photo {
  position: relative;
  display: block;
  aspect-ratio: 1;
  background: linear-gradient(160deg, #f6efe6, #fbf7ec);
}
.good-photo img { position: absolute; inset: 0; width: 100%; height: 100%; padding: 14px; object-fit: contain; }
.good-photo.dark { background: #10121f; }
.good-photo.dark img { padding: 0; }
.zoom {
  position: absolute;
  right: 10px;
  bottom: 10px;
  padding: 2px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .92);
  color: var(--green-dark);
  font-size: 12px;
  font-weight: 700;
}
.brand-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 2px solid #fff;
  background: #fff url("../hatomugijpg/brandmark.jpg") center / 88% no-repeat;
  box-shadow: 0 2px 8px rgba(0, 0, 0, .18);
}
.good-body { display: flex; flex-direction: column; flex: 1; padding: 18px 20px 20px; }
.good-body h3 { font-family: var(--mincho); font-size: 18px; }
.good-price { margin: 4px 0 8px; font-size: 22px; font-weight: 700; color: var(--green-dark); line-height: 1.4; }
.good-price small { font-size: 12px; font-weight: 500; color: var(--muted); }
.good-desc { margin-bottom: 14px; font-size: 14px; line-height: 1.7; color: var(--muted); }
.good-desc li::before { content: "・"; }
.good-body .btn { margin-top: auto; }

.callout {
  display: flex;
  gap: 14px;
  align-items: center;
  margin-top: 26px;
  padding: 16px 20px;
  border-radius: 14px;
  background: var(--gold-soft);
  font-size: 15px;
}
.callout > svg, .callout > img { flex: none; width: 44px; height: 44px; }
.callout > img { border-radius: 50%; background: #fff; }
.callout.strong { justify-content: center; font-weight: 700; background: var(--pink-soft); color: #8f2a23; }

/* ---------- 説明の箱・番号つき ---------- */
.box { padding: 26px 30px; }
.pay { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.pay-item { padding: 24px 26px; }
.pay-item h3 { display: flex; align-items: center; gap: 12px; margin-bottom: 10px; font-family: var(--mincho); font-size: 20px; }
.pay-item h3 span {
  display: grid;
  place-content: center;
  flex: none;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--green);
  color: #fff;
  font-size: 17px;
}
.pay-item .formula { margin: 10px 0; padding: 8px 14px; border-radius: 10px; background: var(--green-soft); font-weight: 700; text-align: center; }
.dots li { position: relative; padding-left: 1.2em; }
.dots li::before { content: ""; position: absolute; left: .2em; top: .8em; width: 7px; height: 7px; border-radius: 50%; background: var(--gold); }

/* ---------- 表 ---------- */
.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 caption { padding: 12px 16px; background: var(--green); color: #fff; font-family: var(--mincho); font-size: 18px; font-weight: 700; letter-spacing: .08em; text-align: center; }
.tbl caption small { display: block; font-family: inherit; font-size: 13px; font-weight: 500; letter-spacing: 0; opacity: .9; }
.tbl th, .tbl td { padding: 12px 14px; 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-soft); color: var(--green-dark); font-size: 13px; text-align: center; white-space: nowrap; line-height: 1.4; }
.tbl tbody th { background: var(--cream); color: var(--green-dark); font-weight: 700; white-space: nowrap; }
.tbl .num { text-align: right; font-weight: 700; white-space: nowrap; font-variant-numeric: tabular-nums; }
.tbl .price { font-size: 17px; color: var(--green-dark); }
.tbl.ship th, .tbl.ship td { padding: 10px 12px; }
.tbl.ship td { text-align: right; font-variant-numeric: tabular-nums; }
.work-ico { display: inline-block; width: 34px; height: 34px; margin-right: 8px; vertical-align: middle; }

/* ---------- はとむぎ製品の使い方 ---------- */
.usage { display: grid; gap: 20px; }
.usage-item { display: grid; grid-template-columns: 150px 220px minmax(0, 1fr); gap: 26px; align-items: center; padding: 22px 26px; }
.usage-photo { aspect-ratio: 3 / 4; border-radius: 12px; background: linear-gradient(160deg, #f6efe6, #fbf7ec); overflow: hidden; }
.usage-photo img { width: 100%; height: 100%; object-fit: contain; padding: 8px; }
.usage-spec h3 { font-family: var(--mincho); font-size: 20px; }
.usage-spec h3 small { display: block; font-size: 14px; }
.usage-spec ul { margin: 6px 0; font-size: 14px; line-height: 1.7; color: var(--muted); }
.usage-spec b { font-size: 22px; color: var(--green-dark); }
.usage-how { padding-left: 26px; border-left: 2px dashed var(--line); font-size: 15px; }
.usage-how::before { content: "召し上がり方"; display: block; margin-bottom: 4px; color: var(--gold); font-size: 13px; font-weight: 700; letter-spacing: .1em; }

/* ---------- 地図 ---------- */
.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); }
.info { padding: 8px 30px; }
.info-row { display: grid; grid-template-columns: 110px minmax(0, 1fr); gap: 16px; padding: 14px 0; border-bottom: 1px dashed var(--line); }
.info-row:last-child { border-bottom: 0; }
.info dt { font-weight: 700; color: var(--green-dark); }

/* ---------- 法定表示・個人情報 ---------- */
.legal { padding: 10px 32px; counter-reset: legal; }
.legal-row { display: grid; grid-template-columns: 230px minmax(0, 1fr); gap: 20px; padding: 16px 0; border-bottom: 1px dashed var(--line); counter-increment: legal; }
.legal-row:last-child { border-bottom: 0; }
.legal dt { font-weight: 700; color: var(--green-dark); }
.legal dt::before { content: counter(legal) ". "; color: var(--gold); font-family: var(--mincho); }
.policy { counter-reset: policy; }
.policy-item { padding: 22px 28px; counter-increment: policy; }
.policy-item + .policy-item { margin-top: 16px; }
.policy-item h3 { display: flex; gap: 12px; align-items: baseline; margin-bottom: 6px; font-size: 18px; }
.policy-item h3::before { content: counter(policy); flex: none; font-family: var(--mincho); font-size: 26px; color: var(--gold); line-height: 1; }
.contact-box { margin-top: 32px; padding: 26px 30px; border-radius: var(--radius); background: var(--green-soft); text-align: center; }
.contact-box b { font-family: var(--mincho); font-size: 19px; }

/* ---------- お問い合わせ ---------- */
.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(--mincho); font-size: clamp(22px, 3.4vw, 30px); letter-spacing: .06em; }
.contact-tel {
  display: inline-block;
  margin: 8px 0 4px;
  color: #fff;
  font-family: var(--mincho);
  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: -30px; bottom: -40px; width: 300px; opacity: .14; }

/* ---------- フッター ---------- */
.footer-hill { display: block; width: 100%; height: clamp(50px, 8vw, 110px); background: var(--green); }
.footer { background: var(--green-dark); color: #e9f1e9; }
.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: #bfe0c6; }
.footer address { font-style: normal; font-size: 15px; line-height: 2; }
.footer-tel { font-family: var(--mincho); font-size: 30px; 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) {
  .work-grid { grid-template-columns: 1fr 1fr; }
  .footer-in { grid-template-columns: 1fr; }
  .usage-item { grid-template-columns: 120px minmax(0, 1fr); gap: 16px 20px; }
  .usage-how { grid-column: 1 / -1; padding: 14px 0 0; border-left: 0; border-top: 2px dashed var(--line); }
  .legal-row { grid-template-columns: 1fr; gap: 4px; }
}

/* ---------- スマホ ---------- */
@media (max-width: 600px) {
  body { font-size: 15.5px; }
  .wrap, .narrow { width: calc(100% - 32px); }
  .section { padding: 48px 0; }
  .section.first { padding-top: 20px; }
  .head { margin-bottom: 24px; }
  .header-in { min-height: 60px; gap: 10px; }
  .brand svg { width: 36px; height: 36px; }
  .brand-name { font-size: 16px; }
  .brand-sub { font-size: 10px; letter-spacing: .08em; }
  .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; }
  .block:not(:first-child) { margin-top: 36px; }
  .tbl.ship caption { text-align: left; }

  .profile { padding: 6px 18px; }
  .profile-row { grid-template-columns: 1fr; gap: 6px; padding: 16px 0; }
  .profile dt svg { width: 34px; height: 34px; }
  .profile dd { padding-left: 46px; font-size: 16px; }
  .work-grid { gap: 12px; }
  .work { padding: 30px 10px 16px; font-size: 14px; }
  .work svg { width: 58px; height: 58px; margin-bottom: 8px; }
  .photos { gap: 14px; }
  .photos img { border-width: 5px; border-radius: 12px; }

  .shopbar .btn { flex: 1 1 45%; padding-inline: 8px; }
  .goods, .goods.few { grid-template-columns: 1fr; gap: 14px; }
  .good { flex-direction: row; }
  .good-photo { flex: none; width: 128px; aspect-ratio: auto; min-height: 150px; }
  .good-photo img { padding: 8px; }
  .zoom { right: 6px; bottom: 6px; padding: 1px 9px; font-size: 11px; }
  .brand-badge { top: 6px; left: 6px; width: 36px; height: 36px; }
  .good-body { padding: 14px 14px 16px; }
  .good-body h3 { font-size: 16.5px; }
  .good-price { font-size: 20px; }
  .good-desc { margin-bottom: 10px; font-size: 13px; }
  .good-body .btn { min-height: 44px; padding: 6px 10px; font-size: 14px; }
  .callout { padding: 14px 16px; }

  .box { padding: 20px 18px; }
  .pay, .access { grid-template-columns: 1fr; gap: 14px; }
  .pay-item { padding: 20px 18px; }
  .tbl th, .tbl td { padding: 10px 10px; }
  .tbl { font-size: 14px; }
  .tbl .price { font-size: 15.5px; }
  .work-ico { display: block; margin: 0 auto 2px; }
  .tbl tbody th.ico { text-align: center; }

  .usage-item { grid-template-columns: 96px minmax(0, 1fr); padding: 18px 16px; }
  .usage-spec h3 { font-size: 18px; }
  .access-item { padding: 16px 18px; }
  .access-item svg { width: 50px; height: 50px; }
  .info { padding: 4px 18px; }
  .info-row { grid-template-columns: 84px minmax(0, 1fr); gap: 10px; }
  .legal { padding: 4px 18px; }
  .policy-item { padding: 18px 18px; }
  .contact-box { padding: 22px 18px; }

  .contact-in { padding: 40px 0; }
  .contact .btn { flex: 1 1 100%; }
  .footer-tel { font-size: 26px; }
  .footer-links { grid-template-columns: 1fr; }
}
