@charset "UTF-8";
/* =========================================================
   タニグチ農産 - スタイルシート
   色 / タイポグラフィ / レイアウトの基本トークン
   ========================================================= */
:root {
  --cream: #FFFFFF;
  --paper: #FFFFFF;
  --sage-l: #EAF3E2;
  --sage: #AFCB93;
  --moss: #6FA84C;
  --moss-d: #4C8531;
  --moss-dd: #2C5A22;
  --gold: #F2A93C;
  --gold-d: #DD8E1F;
  --clay: #C98A5B;
  --ink: #2A2A26;
  --inkbk: #191917;
  --ink-soft: #191917;
  --line: #E4E7DE;

  --sans: "Zen Kaku Gothic New", "Hiragino Sans", "Noto Sans JP", sans-serif;

  --max: 1160px;
  --max-header: 1320px;
  --radius: 22px;
  --radius-sm: 12px;
  --shadow: 0 18px 40px -22px rgba(44, 90, 34, 0.28);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--sans);
  color: var(--inkbk);
  background: var(--cream);
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
}

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

a { color: inherit; text-decoration: none; }

ul { list-style: none; margin: 0; padding: 0; }

h1, h2, h3, h4 {
  font-family: var(--sans);
  color: var(--moss-dd);
  margin: 0;
  line-height: 1.55;
  font-weight: 800;
  letter-spacing: 0.01em;
}

p { margin: 0; }

.wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 28px;
}

section { position: relative; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}

:focus-visible {
  outline: 3px solid var(--gold-d);
  outline-offset: 3px;
}

/* -------------------- 共通パーツ -------------------- */

.kicker {
  display: inline-block;
  font-family: var(--sans); font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.14em;
  color: var(--moss);
  margin-bottom: 10px;
}

.lead {
  color: var(--ink-soft);
  font-size: 1.02rem;
/*   max-width: 60ch; */
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.98rem;
  border: 1px solid transparent;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
  cursor: pointer;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--moss-dd); color: var(--paper); box-shadow: var(--shadow); }
.btn-primary:hover { background: var(--moss-d); }
.btn-outline { background: transparent; color: var(--moss-dd); border-color: var(--moss-dd); }
.btn-outline:hover { background: var(--sage-l); }
.btn-gold { background: var(--gold); color: var(--moss-dd); }
.btn-gold:hover { background: var(--gold-d); color: var(--paper); }
.btn-sm { padding: 10px 50px; font-size: 0.9rem; }

.arrow { transition: transform 0.18s ease; }
.btn:hover .arrow { transform: translateX(3px); }

.pill {
  display: inline-block;
  padding: 6px 16px;
  border-radius: 999px;
  background: var(--sage-l);
  color: var(--moss-d);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

/* -------------------- ヘッダー -------------------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.97);
  border-bottom: 1px solid var(--line);
}

.wrap-header { max-width: var(--max-header); }

.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 84px;
  gap: 16px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  color: var(--moss-dd);
  flex-shrink: 0;
}
.brand-mark {
  width: 42px; height: 42px;
  border-radius: 12px;
  background: var(--moss-dd);
  display: flex; align-items: center; justify-content: center;
  color: var(--gold);
  font-size: 1.15rem;
  flex-shrink: 0;
}
.brand-logo { height: 60px; width: auto; }
.brand-text { display: flex; flex-direction: column; line-height: 1.25; }
.brand-text small { font-family: var(--sans); font-size: 0.64rem; letter-spacing: 0.1em; color: var(--ink-soft); font-weight: 500; }
.brand-text span { font-size: 1.04rem; white-space: nowrap; }

.nav-primary { display: flex; align-items: center; gap: 22px; flex-wrap: nowrap; }
.nav-primary li:not(.nav-mobile-cta) a {
  font-size: 0.87rem;
  font-weight: 500;
  color: var(--ink);
  position: relative;
  padding: 6px 0;
  white-space: nowrap;
}
.nav-primary li:not(.nav-mobile-cta) a::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -2px;
  height: 2px;
  background: var(--moss);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.2s ease;
}
.nav-primary li:not(.nav-mobile-cta) a:hover::after, .nav-primary li:not(.nav-mobile-cta) a[aria-current="page"]::after { transform: scaleX(1); }
.nav-primary li:not(.nav-mobile-cta) a[aria-current="page"] { color: var(--moss-dd); font-weight: 700; }

.header-actions { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.header-actions .btn-sm { padding: 10px 18px; font-size: 0.85rem; }

.nav-mobile-cta { display: none; }

/* ヘッダーSNSアイコン */
.header-sns { display: flex; align-items: center; gap: 6px; }
.header-sns a, .nav-mobile-sns a {
  width: 36px; height: 36px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: var(--sage-l);
  color: var(--moss-dd);
  transition: background 0.2s ease, color 0.2s ease;
}
.header-sns a:hover, .nav-mobile-sns a:hover { background: var(--moss-dd); color: var(--paper); }
.header-sns svg { width: 18px; height: 18px; }
.nav-mobile-sns { display: flex; justify-content: center; gap: 12px; margin-top: 10px; }
.nav-mobile-sns a { width: 46px; height: 46px; }
.nav-mobile-sns svg { width: 22px; height: 22px; }

/* ハンバーガー：緑の角丸ボタン + MENU/CLOSEラベル */
.hamburger {
  display: none;
  width: 60px; height: 52px;
  border-radius: 12px;
  border: none;
  background: var(--moss-dd);
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  cursor: pointer;
  flex-shrink: 0;
  position: relative;
  z-index: 1002;
}
.hamburger .hb-icon { display: flex; flex-direction: column; align-items: center; gap: 5px; }
.hamburger .hb-icon span { width: 22px; height: 2px; background: var(--paper); transition: transform 0.25s ease, opacity 0.25s ease; display: block; }
.hamburger .hb-label { font-size: 0.6rem; letter-spacing: 0.08em; color: var(--paper); font-weight: 700; }
.hamburger.is-open .hb-icon span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.is-open .hb-icon span:nth-child(2) { opacity: 0; }
.hamburger.is-open .hb-icon span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.nav-overlay { display: none; }

/* -------------------- パンくず -------------------- */
.crumb {
  padding-top: 18px;
  font-size: 0.85rem;
  color: var(--ink-soft);
}
.crumb a { color: var(--moss-d); }

/* -------------------- ページヒーロー(下層) -------------------- */
.page-hero {
  padding: 0 0 64px;
}
.page-hero.page-hero-only { padding-bottom: 0; }

/* ページタイトル帯 */
.page-hero-band {
  position: relative;
  overflow: hidden;
  background: var(--sage-l);
  padding: 64px 0 76px;
  border-bottom-left-radius: 50% 44px;
  border-bottom-right-radius: 50% 44px;
}
/* 右側：田んぼの畝をイメージした斜めストライプ */
.page-hero-band::after {
  content: "";
  position: absolute;
  top: 0; right: 0; bottom: 0;
  width: 46%;
  background: repeating-linear-gradient(-12deg,
    rgba(175, 203, 147, 0.45) 0 14px,
    transparent 14px 36px);
  -webkit-mask-image: linear-gradient(to left, #000 20%, transparent);
          mask-image: linear-gradient(to left, #000 20%, transparent);
  pointer-events: none;
}
.page-hero-band .wrap { position: relative; z-index: 1; }
.page-hero-en {
  display: flex; align-items: center; gap: 12px;
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.18em;
  color: var(--moss);
}
.page-hero-en::before {
  content: "";
  width: 28px; height: 2px;
  background: var(--moss);
}
.page-hero .page-hero-title {
  margin-top: 10px;
  font-size: clamp(1.9rem, 3.8vw, 2.8rem);
  font-weight: 900;
  line-height: 1.4;
  letter-spacing: 0.04em;
  color: var(--moss-dd);
}

/* タイトル下の導入文 */
.page-hero-intro { margin-top: 36px; }
/* .page-hero-intro > * { max-width: 46em; } */
.page-hero-catch {
  font-weight: 800;
  font-size: clamp(1.35rem, 2.4vw, 1.75rem);
  line-height: 1.6;
  color: var(--moss-dd);
  margin-bottom: 12px;
}
.page-hero-media {
  margin-top: 36px;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.page-hero-media img { width: 100%; height: auto; }

/* -------------------- セクション区切り(曲線) -------------------- */
.curve-top {
  display: block;
  width: 100%;
  height: auto;
  margin-bottom: -2px;
}
.curve-bottom {
  display: block;
  width: 100%;
  height: auto;
  margin-top: -2px;
}

.section { padding: 88px 0; }
.section-tight { padding: 60px 0; }
.bg-sage { background: var(--sage-l); }
.bg-moss { background: var(--moss-dd); color: var(--cream); }
.bg-moss h2, .bg-moss h3, .bg-moss .kicker { color: var(--gold); }
.bg-moss .lead { color: rgba(250,247,238,0.85); }
.bg-paper { background: var(--paper); }

.section-head { /* max-width: 640px; */ margin-bottom: 44px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head h2 { font-size: clamp(1.6rem, 3vw, 2.15rem); margin-bottom: 14px; }

/* -------------------- フッター -------------------- */
.site-footer {
  background: var(--moss-dd);
  color: rgba(250,247,238,0.88);
  padding: 64px 0 28px;
}
.footer-top {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(250,247,238,0.16);
}
.footer-brand { margin-bottom: 18px; }
.footer-logo { height: 64px; width: auto; }
.footer-desc { color: rgba(250,247,238,0.7); font-size: 0.9rem; max-width: 32ch; }
.footer-sns { margin-top: 16px; display: flex; gap: 10px; }
.footer-sns a {
  width: 42px; height: 42px; border-radius: 50%;
  background: rgba(250,247,238,0.12);
  color: var(--cream);
  display: flex; align-items: center; justify-content: center;
  transition: background 0.2s ease, color 0.2s ease;
}
.footer-sns a:hover { background: #fff; color: var(--moss-dd); }
.footer-sns svg { width: 20px; height: 20px; }
.footer-col h4 { color: #fff; font-family: var(--sans); font-size: 0.85rem; letter-spacing: 0.06em; margin-bottom: 16px; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col a { color: rgba(250,247,238,0.82); font-size: 0.92rem; }
.footer-col a:hover { color: var(--gold); }
.footer-bottom {
  display: flex; justify-content: space-between; align-items: center;
  padding-top: 24px; font-size: 0.82rem; color: rgba(250,247,238,0.55);
  flex-wrap: wrap; gap: 10px;
}

/* -------------------- ホーム: ヒーロー(メインビュー) -------------------- */
.hero {
  position: relative;
  overflow: hidden;
  padding: 0 0 80px;
}
/* 左上の装飾シェイプ */
.hero-blob {
  position: absolute;
  top: -140px; left: -160px;
  width: 460px; height: 420px;
  border-radius: 58% 42% 62% 38% / 50% 58% 42% 50%;
  background: linear-gradient(150deg, var(--sage-l) 25%, rgba(175, 203, 147, 0.22) 100%);
  transform: rotate(-18deg);
  pointer-events: none;
  z-index: 0;
}
.hero-grid {
  position: relative;
  z-index: 1;
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 40px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  grid-template-rows: auto auto 1fr;
  grid-template-areas:
    "copy    main"
    "actions main"
    "subs    main";
  column-gap: clamp(24px, 2.6vw, 40px);
}
.hero-copy { grid-area: copy; padding-top: clamp(40px, 5.4vw, 80px); }
.hero-copy h1 {
  color: var(--ink);
  font-weight: 900;
  font-size: clamp(2rem, 3.9vw, 3.4rem);
  line-height: 1.5;
  letter-spacing: 0.02em;
}
.hero-line { display: block; white-space: nowrap; }
.hero-copy h1 em { font-style: normal; color: var(--moss-d); }
.hero-sub {
  margin-top: 22px;
  color: var(--moss-d);
  font-weight: 700;
  font-size: clamp(0.95rem, 1.2vw, 1.1rem);
  letter-spacing: 0.16em;
}
/*
.hero-actions {
  grid-area: actions;
  display: flex; gap: 14px; flex-wrap: wrap;
  margin: 30px 0 36px;
}
*/
.hero-subs {
  grid-area: subs;
  align-self: end;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(16px, 2.4vw, 30px);
}
.hero-subs figure, .hero-main-img { margin: 0; overflow: hidden; }
.hero-sub-img { aspect-ratio: 1 / 1; border-radius: var(--radius); }
.hero-main-img {
  grid-area: main;
  min-height: clamp(440px, 46vw, 700px);
  border-radius: var(--radius);
  margin-top: 8px;
}
.hero-subs img, .hero-main-img img {
  width: 100%; height: 100%;
  object-fit: cover;
}
.hero-main-img img { object-position: 45% center; }

/* -------------------- ストーリー(左右画像) -------------------- */
.story {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}
.story-media { position: relative; }
.story-media .img-a { border-radius: var(--radius); box-shadow: var(--shadow); width: 78%; }
.story-media .img-b {
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow);
  width: 46%;
  position: absolute;
  right: -6%; bottom: -12%;
  border: 6px solid var(--cream);
}
.story-copy h2 { font-size: clamp(1.7rem, 3vw, 2.3rem); margin: 10px 0 18px; }
.story-copy p + p { margin-top: 14px; }
.story-links { display: flex; gap: 14px; margin-top: 28px; flex-wrap: wrap; }

.story.reverse { grid-template-columns: 1fr 1fr; }
.story.reverse .story-media { order: 2; }
.story.reverse .story-copy { order: 1; }
.story.reverse .story-media .img-b { left: -6%; right: auto; }

/* -------------------- こだわり3カード -------------------- */
.feature-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}
.feature-card {
  background: var(--paper);
  border-radius: var(--radius);
  padding: 30px 26px;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.feature-card .num { font-family: var(--sans); font-weight: 700; color: var(--sage); font-size: 2.1rem; }
.feature-thumb { border-radius: var(--radius-sm); overflow: hidden; }
.feature-card h3 { font-size: 1.12rem; }
.feature-card p { color: var(--ink-soft); font-size: 0.94rem; }
.feature-card .btn-sm {
  margin-top: auto;
  width: 100%;
  justify-content: center;
  padding: 10px 22px; font-size: 0.85rem;
}

/* -------------------- 田んぼだより(カルーセル風) -------------------- */
.diary-rail {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(240px, 1fr);
  gap: 22px;
  overflow-x: auto;
  padding-bottom: 12px;
  scroll-snap-type: x proximity;
}
.diary-rail::-webkit-scrollbar { height: 6px; }
.diary-rail::-webkit-scrollbar-thumb { background: var(--sage); border-radius: 6px; }
.diary-card {
  scroll-snap-align: start;
  background: var(--paper);
  border-radius: var(--radius-sm);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.diary-card img { aspect-ratio: 4/3; object-fit: cover; }
.diary-card-body { padding: 16px 18px 20px; }
.diary-card-body time { font-size: 0.78rem; color: var(--moss-d); font-weight: 700; }
.diary-card-body h4 { font-size: 0.98rem; margin-top: 6px; font-family: var(--sans); font-weight: 700; }
.rail-controls { display: flex; gap: 10px; margin-top: 20px; justify-content: flex-end; }
.rail-btn {
  width: 42px; height: 42px; border-radius: 50%;
  border: 1px solid var(--line); background: var(--paper);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
}
.rail-btn:hover { background: var(--sage-l); }

/* -------------------- 2カラム汎用 -------------------- */
.split-two {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 40px;
  align-items: start;
}
/* -------------------- お知らせ一覧(会社概要ページで使用) -------------------- */
.news-list { border-top: 1px solid var(--line); }
.news-item {
  display: flex; gap: 18px; align-items: baseline;
  padding: 18px 0; border-bottom: 1px solid var(--line);
}
.news-item time { font-size: 0.82rem; color: var(--moss-d); flex-shrink: 0; width: 92px; font-weight: 700; }
.news-item p { font-size: 0.95rem; }

/* -------------------- 収穫・出荷の目安カレンダー -------------------- */
.cal-steps {
  list-style: none; margin: 0; padding: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
  counter-reset: cal;
  position: relative;
}
/* ステップをつなぐ線 */
.cal-steps::before {
  content: "";
  position: absolute;
  left: 12.5%; right: 12.5%;
  top: 34px;
  height: 2px;
  background: var(--sage);
  z-index: 0;
}
.cal-step {
  position: relative;
  z-index: 1;
  display: flex; flex-direction: column; align-items: center;
  text-align: center;
  background: var(--sage-l);
  border-radius: var(--radius);
  padding: 22px 16px 26px;
  counter-increment: cal;
}
.cal-step::before {
  content: counter(cal);
  width: 26px; height: 26px;
  border-radius: 50%;
  background: var(--paper);
  border: 2px solid var(--moss);
  color: var(--moss-d);
  font-size: 0.8rem; font-weight: 700; line-height: 1;
  display: grid; place-items: center;
  margin-bottom: 14px;
}
.cal-step-name { font-weight: 700; color: var(--moss-dd); font-size: 1rem; }
.cal-step-month {
  margin-top: 4px;
  font-weight: 900;
  font-size: clamp(1.5rem, 2.4vw, 2rem);
  color: var(--moss-d);
  line-height: 1.3;
  white-space: nowrap;
}
.cal-step.is-ship { background: var(--moss-dd); }
.cal-step.is-ship::before { border-color: #fff; color: var(--moss-dd); background: #fff; }
.cal-step.is-ship .cal-step-name { color: var(--paper); }
.cal-step.is-ship .cal-step-month { color: #fff; }
.nowrap { display: inline-block; }
.cal-note { font-size: 0.82rem; color: var(--ink-soft); margin-top: 16px; }

/* -------------------- 商品カード -------------------- */
.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}
.product-card {
  background: var(--paper);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  display: flex; flex-direction: column;
}
.product-card img { aspect-ratio: 4/5; object-fit: cover; }
.product-card-body { padding: 20px 22px 24px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.product-card-body h3 { font-size: 1.15rem; }
.product-card-body .note { font-size: 0.86rem; color: var(--ink-soft); }
.product-card-body .fit { font-size: 0.82rem; color: var(--moss-d); font-weight: 700; }
.product-card-body .price { margin-top: auto; padding-top: 12px; font-family: var(--sans); font-weight: 700; font-size: 1.2rem; color: var(--moss-dd); border-top: 1px dashed var(--line); }

/* -------------------- お問い合わせ導線カード -------------------- */
.cta-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.cta-card {
  background: var(--paper);
  border-radius: var(--radius);
  padding: 34px 26px 30px;
  box-shadow: var(--shadow);
  display: flex; flex-direction: column; align-items: center;
  text-align: center;
}
/* モノクロ線画アイコン */
.cta-icon {
  width: 84px; height: 84px;
  border-radius: 50%;
  background: #FFFFFF;
  border: 1.5px solid #1B1B1B;
  color: #1B1B1B;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 18px;
}
.cta-icon svg { width: 54px; height: 54px; }
.cta-card h3 { font-size: 1.08rem; margin-bottom: 8px; }
.cta-card p { color: var(--ink-soft); font-size: 0.92rem; margin-bottom: 20px; flex-grow: 1; text-wrap: balance; }
/* ボタン：ヘッダーの「お問い合わせ」と同じデザイン */
.cta-card .btn-sm {
  width: 220px; max-width: 100%;
  justify-content: center;
  padding: 10px 22px; font-size: 0.85rem;
}

/* -------------------- コラム -------------------- */
.column-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 26px;
}
.column-card { display: flex; gap: 18px; background: var(--paper); border-radius: var(--radius-sm); padding: 16px; box-shadow: var(--shadow); }
.column-card img { width: 110px; height: 110px; object-fit: cover; border-radius: 10px; flex-shrink: 0; }
.column-card time { font-size: 0.76rem; color: var(--moss-d); font-weight: 700; }
.column-card h4 { font-size: 0.98rem; margin-top: 6px; font-family: var(--sans); font-weight: 700; line-height: 1.5; }

/* -------------------- フッターCTA帯 -------------------- */
.foot-cta {
  background: var(--paper);
  border: 1px solid var(--sage);
  border-radius: var(--radius);
  padding: 56px 48px;
  text-align: center;
  box-shadow: var(--shadow);
}
.foot-cta h2 { color: var(--moss-dd); font-size: clamp(1.4rem, 2.6vw, 1.9rem); }
.foot-cta p { color: var(--ink-soft); margin: 12px auto 0; max-width: 46em; }
.foot-cta-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 280px));
  justify-content: center;
  gap: 16px;
  margin-top: 30px;
}
.foot-cta-actions .btn { justify-content: center; }

/* =========================================================
   下層ページ共通コンポーネント
   ========================================================= */

/* こだわりページ: 番号付きブロック */
.commit-block {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 54px;
  align-items: center;
  padding: 64px 0;
  border-bottom: 1px solid var(--line);
}
.commit-block:last-of-type { border-bottom: none; }
.commit-num { font-family: var(--sans); font-weight: 700; font-size: 2rem; color: var(--moss); letter-spacing: 0.1em; }
.commit-block h2 { font-size: clamp(1.5rem, 2.6vw, 2rem); margin: 10px 0 18px; }
.commit-block p + p { margin-top: 12px; }
.commit-media { display: grid; grid-template-columns: 1.2fr 1fr; gap: 16px; }
.commit-media img { border-radius: var(--radius-sm); box-shadow: var(--shadow); }
.commit-media img:nth-child(2) { margin-top: 28px; }
.commit-stats { display: flex; gap: 24px; margin-top: 24px; }
.commit-stat { }
.commit-stat strong { display: block; font-family: var(--sans); font-weight: 700; font-size: 1.5rem; color: var(--moss-dd); }
.commit-stat span { font-size: 0.78rem; color: var(--ink-soft); }
.commit-block.reverse { grid-template-columns: 1.1fr 0.9fr; }
.commit-block.reverse .commit-media { order: 1; }
.commit-block.reverse .commit-copy { order: 2; }

/* 生産者紹介: ご挨拶 */
.greeting {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 52px;
  align-items: center;
}
.greeting-media img { border-radius: var(--radius); box-shadow: var(--shadow); }
.greeting-copy p + p { margin-top: 16px; }
.greeting-sign { margin-top: 26px; font-family: var(--sans); font-weight: 700; font-size: 1.05rem; color: var(--moss-dd); }

/* 沿革タイムライン */
.timeline { position: relative; padding-left: 34px; }
.timeline::before { content:""; position:absolute; left:9px; top:6px; bottom:6px; width:2px; background: var(--sage); }
.tl-item { position: relative; padding-bottom: 48px; }
.tl-item:last-child { padding-bottom: 0; }
.tl-item::before { content:""; position:absolute; left:-34px; top:4px; width:20px; height:20px; border-radius:50%; background: var(--moss-dd); border: 4px solid var(--sage-l); }
.tl-tag { font-size: 0.8rem; color: var(--gold-d); font-weight: 700; }
.tl-item h3 { font-size: 1.1rem; margin: 6px 0 12px; }
.tl-grid { display: grid; grid-template-columns: 1fr 1.3fr; gap: 22px; align-items: center; }
.tl-grid img { border-radius: var(--radius-sm); box-shadow: var(--shadow); }
.tl-quote {
  margin-top: 40px; padding: 30px 34px; background: var(--sage-l); border-radius: var(--radius);
  font-family: var(--sans); font-weight: 700; font-size: 1.15rem; color: var(--moss-dd); line-height: 1.9;
}
.tl-quote cite { display: block; margin-top: 14px; font-family: var(--sans); font-size: 0.85rem; color: var(--ink-soft); font-style: normal; }

.team-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 26px; }
.team-card img { border-radius: var(--radius-sm); box-shadow: var(--shadow); aspect-ratio: 1/1; object-fit: cover; }
.team-card h4 { margin-top: 16px; font-size: 1.02rem; }
.team-card p { margin-top: 6px; color: var(--ink-soft); font-size: 0.88rem; }

/* 導入実績: 飲食店カード */
.voice-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 26px; }
.voice-card { background: var(--paper); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.voice-card img { aspect-ratio: 16/10; object-fit: cover; }
.voice-body { padding: 26px 28px 28px; }
.voice-tag { color: var(--moss-d); font-weight: 700; font-size: 0.86rem; }
.voice-quote { font-family: var(--sans); font-weight: 700; font-size: 1.08rem; color: var(--ink); margin: 14px 0; line-height: 1.9; }
.voice-cite { font-size: 0.82rem; color: var(--ink-soft); display: flex; align-items: center; gap: 8px; }
.voice-cite .tag-tentative { background: var(--sage-l); color: var(--moss-d); font-size: 0.72rem; padding: 3px 9px; border-radius: 999px; font-weight: 700; }

/* お取引: フロー */
.flow-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; counter-reset: flow; }
.flow-card { background: var(--paper); border-radius: var(--radius); padding: 28px 22px; box-shadow: var(--shadow); position: relative; }
.flow-card .fnum { font-family: var(--sans); font-weight: 700; font-size: 1.8rem; color: var(--sage); }
.flow-card h3 { font-size: 1.02rem; margin: 10px 0 10px; }
.flow-card p { font-size: 0.88rem; color: var(--ink-soft); }
.flow-card:not(:last-child)::after {
  content: "→";
  position: absolute; right: 0; top: 50%;
  transform: translate(50%, -50%);
  width: 32px; height: 32px;
  border-radius: 50%;
  background: var(--paper);
  color: var(--moss-d);
  font-size: 1.05rem; font-weight: 700;
  display: none;
  align-items: center; justify-content: center;
  box-shadow: var(--shadow);
  z-index: 1;
}
@media (min-width: 981px) { .flow-card:not(:last-child)::after { display: flex; } }

/* FAQ アコーディオン */
.faq-list { border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-q {
  width: 100%; text-align: left; background: none; border: none; cursor: pointer;
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: 22px 4px; font-family: var(--sans); font-weight: 700; font-size: 1.02rem; color: var(--moss-dd);
}
.faq-q .plus { font-size: 1.3rem; color: var(--moss); transition: transform 0.22s ease; flex-shrink: 0; }
.faq-item.is-open .faq-q .plus { transform: rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height 0.28s ease; }
.faq-a p { padding: 0 4px 22px; color: var(--ink-soft); font-size: 0.95rem; max-width: 68ch; }

/* 会社概要テーブル */
.info-table { width: 100%; border-collapse: collapse; }
.info-table tr { border-bottom: 1px solid var(--line); }
.info-table th, .info-table td { text-align: left; padding: 18px 16px; vertical-align: top; }
.info-table th { width: 160px; font-family: var(--sans); font-weight: 700; color: var(--moss-d); font-size: 0.95rem; }
.about-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 48px; align-items: start; }
.about-grid img { border-radius: var(--radius); box-shadow: var(--shadow); }

/* お問い合わせ */
.contact-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 48px; align-items: start; }
.contact-info-card { background: var(--paper); border-radius: var(--radius); box-shadow: var(--shadow); padding: 30px 28px; }
.contact-info-card + .contact-info-card { margin-top: 20px; }
.contact-info-card h3 { font-size: 1rem; margin-bottom: 10px; }
.contact-info-card p { color: var(--ink-soft); font-size: 0.95rem; }
.contact-form-shell {
  background: var(--paper); border-radius: var(--radius); box-shadow: var(--shadow); padding: 34px;
}
.form-row { margin-bottom: 20px; }
.form-row label { display: block; font-size: 0.9rem; font-weight: 700; margin-bottom: 8px; color: var(--moss-dd); }
.form-row .req { color: var(--clay); font-size: 0.76rem; margin-left: 6px; }
.form-row input, .form-row select, .form-row textarea {
  width: 100%; padding: 13px 15px; border-radius: 10px; border: 1px solid var(--line);
  background: var(--cream); font-family: var(--sans); font-size: 0.95rem; color: var(--ink);
}
.form-row textarea { min-height: 130px; resize: vertical; }
.form-note { font-size: 0.82rem; color: var(--ink-soft); margin-top: -6px; margin-bottom: 22px; }
.form-embed-note {
  border: 1px dashed var(--sage); border-radius: var(--radius-sm); padding: 22px;
  background: var(--sage-l); color: var(--moss-d); font-size: 0.88rem; margin-bottom: 24px;
}

/* プライバシー/特商法 */
.legal-body h2 { font-size: 1.15rem; margin: 34px 0 12px; }
.legal-body h2:first-child { margin-top: 0; }
.legal-body p { color: var(--ink-soft); margin-bottom: 10px; }

/* -------------------- レスポンシブ -------------------- */
/* -------------------- ヘッダー：画面幅ごとの調整 -------------------- */
@media (max-width: 1240px) {
  .site-header .wrap { gap: 12px; }
  .brand-logo { height: 54px; }
  .nav-primary { gap: 16px; }
  .nav-primary li:not(.nav-mobile-cta) a { font-size: 0.82rem; }
  .header-actions { gap: 8px; }
  .header-actions .btn-sm { padding: 9px 14px; font-size: 0.8rem; }
  .header-sns a { width: 34px; height: 34px; }
  .header-sns svg { width: 16px; height: 16px; }
}
@media (max-width: 1100px) {
  .nav-primary { gap: 13px; }
  .nav-primary li:not(.nav-mobile-cta) a { font-size: 0.78rem; }
  .brand-logo { height: 48px; }
}
/* 1024px以下はハンバーガーメニュー */
@media (max-width: 1024px) {
  .nav-primary { display: none; }
  .header-actions .desktop-only { display: none; }
  .hamburger { display: flex; }

  /* ハンバーガーを開くと画面全体を覆うメニューを表示 */
  .site-header.is-open .nav-primary {
    display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px;
    position: fixed; top: 0; left: 0; right: 0; bottom: 0;
    background: var(--paper); padding: 60px 28px 40px;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    z-index: 1001;
    text-align: center;
  }
  .site-header.is-open .nav-primary li:not(.nav-mobile-cta) { width: 100%; max-width: 320px; }
  .site-header.is-open .nav-primary li:not(.nav-mobile-cta) a {
    display: block;
    padding: 16px 0; width: 100%;
    font-size: 1.28rem; font-weight: 700; color: var(--moss-dd);
    text-align: center;
  }
  .site-header.is-open .nav-mobile-cta {
    display: flex; flex-direction: column; gap: 12px;
    width: 100%; max-width: 320px;
    margin-top: 22px; padding-top: 10px;
  }
  .site-header.is-open .nav-mobile-cta .btn { width: 100%; justify-content: center; }

  /* メニュー開放時の背景マスク */
  .site-header.is-open .nav-overlay {
    display: block;
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(20, 26, 16, 0.42);
    z-index: 999;
  }

}

@media (max-width: 980px) {
  .story, .story.reverse, .greeting, .commit-block, .commit-block.reverse,
  .about-grid, .contact-grid, .split-two { grid-template-columns: 1fr; }
  .story-media, .story.reverse .story-media { order: -1; }
  .story-media .img-b { right: 0; }
  .story.reverse .story-media .img-b { left: 0; }
  .commit-media, .commit-block.reverse .commit-media { order: -1; margin-bottom: 8px;}
  .commit-block, .commit-block.reverse { grid-template-columns: 1fr; }
  .feature-row, .product-grid, .cta-grid, .column-grid, .voice-grid, .team-grid { grid-template-columns: repeat(2, 1fr); }
  .flow-grid { grid-template-columns: repeat(2, 1fr); }
  .tl-grid { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 30px 20px; }
}

@media (max-width: 720px) {
  .brand-logo { height: 50px; }

  .section { padding: 60px 0; }
  .feature-row, .product-grid, .cta-grid, .column-grid, .voice-grid, .team-grid, .flow-grid { grid-template-columns: 1fr; }
  .foot-cta { padding: 40px 22px; }
  .foot-cta p { text-align: left; font-size: 0.92rem; }
  .foot-cta-actions { grid-template-columns: minmax(0, 1fr); gap: 12px; margin-top: 24px; }
  .foot-cta-actions .btn { white-space: normal; }

  .cal-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .cal-steps::before { display: none; }
  .cal-step { padding: 18px 10px 20px; }
  .cal-step::before { margin-bottom: 10px; }
  .cal-step-name { font-size: 0.92rem; }
  .footer-top { grid-template-columns: 1fr; }

  /* メインビュー(スマホ) */
  .hero { padding-bottom: 56px; }
  .hero-blob { top: -120px; left: -150px; width: 300px; height: 280px; }
  .hero-grid {
    padding: 0;
    grid-template-columns: 38% minmax(0, 1fr);
    grid-template-rows: auto auto auto;
    grid-template-areas:
      "copy    copy"
      "subs    main"
      "actions actions";
    column-gap: 10px;
  }
  .hero-copy { padding: 44px 20px 36px; text-align: center; }
  .hero-copy h1 { line-height: 1.45; }
  .hero-line-1 { font-size: clamp(1.45rem, 6.6vw, 1.9rem); }
  .hero-line-2 { font-size: clamp(2rem, 9.4vw, 2.7rem); }
  .hero-sub { margin-top: 16px; font-size: 0.82rem; letter-spacing: 0.12em; }
  .hero-subs { align-self: stretch; grid-template-columns: 1fr; grid-template-rows: 1fr 1fr; gap: 10px; }
  .hero-sub-img { aspect-ratio: auto; position: relative; min-height: 0; border-radius: 0 16px 16px 0; }
  .hero-sub-img img { position: absolute; inset: 0; }
  .hero-main-img { aspect-ratio: 1 / 1.12; min-height: 0; margin-top: 0; border-radius: 16px 0 0 16px; }
  .hero-main-img img { object-position: 40% center; }
/*   .hero-actions { justify-content: center; margin: 32px 20px 0; } */
/*   .hero-actions .btn { flex: 1 1 220px; justify-content: center; max-width: 320px; } */
  .page-hero { padding-bottom: 48px; }
  .page-hero-band { padding: 40px 0 52px; border-bottom-left-radius: 50% 24px; border-bottom-right-radius: 50% 24px; }
  .page-hero-band::after { width: 60%; opacity: 0.7; }
  .page-hero-en { font-size: 0.78rem; }
  .page-hero .page-hero-title { font-size: clamp(1.55rem, 7vw, 1.9rem); margin-top: 6px; }
  .page-hero-intro { margin-top: 26px; }
  .story-media .img-b { position: static; width: 60%; margin-top: -40px; margin-left: auto; }
  .diary-rail { grid-auto-columns: minmax(210px, 1fr); }
}
