/* =========================================
   〇〇農業法人 共通スタイルシート
   ========================================= */
:root {
  --primary: #2e6b3e;       /* 深い稲穂・森林グリーン */
  --primary-dark: #1f4d2b;
  --accent: #c88a2b;        /* 稲穂ゴールド */
  --bg-light: #f6f8f4;      /* 自然なオフホワイト */
  --text-main: #2b2b2b;
  --text-muted: #666666;
  --border: #dfe5dc;
  --white: #ffffff;
  --radius: 8px;
  --shadow: 0 4px 14px rgba(0, 0, 0, 0.06);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: "Hiragino Kaku Gothic ProN", "Yu Gothic", "Meiryo", sans-serif;
  color: var(--text-main);
  line-height: 1.75;
  background-color: var(--white);
}

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

ul {
  list-style: none;
}

.container {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 20px;
}

.container-narrow {
  max-width: 740px;
}

.section {
  padding: 72px 0;
}

.bg-light {
  background-color: var(--bg-light);
}

.text-center {
  text-align: center;
}

.mt-40 {
  margin-top: 40px;
}

.mb-60 {
  margin-bottom: 60px;
}

/* =========================================
   ヘッダー・ナビゲーション
   ========================================= */
.site-header {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 76px;
}

.logo {
  display: flex;
  flex-direction: column;
}

.logo-sub {
  font-size: 11px;
  color: var(--primary);
  font-weight: bold;
  letter-spacing: 0.08em;
}

.logo-main {
  font-size: 22px;
  font-weight: bold;
  color: var(--text-main);
  letter-spacing: 0.04em;
}

.global-nav ul {
  display: flex;
  align-items: center;
  gap: 24px;
}

.global-nav a {
  font-size: 15px;
  font-weight: 600;
  padding: 6px 4px;
  transition: color 0.2s;
}

.global-nav a:hover,
.global-nav a.active {
  color: var(--primary);
}

.global-nav a.nav-cta {
  background: var(--primary);
  color: var(--white);
  padding: 10px 18px;
  border-radius: 50px;
}

.global-nav a.nav-cta:hover {
  background: var(--primary-dark);
  color: var(--white);
}

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
}

.menu-toggle span {
  width: 26px;
  height: 2px;
  background: var(--text-main);
  display: block;
}

/* =========================================
   ヒーローセクション
   ========================================= */
.hero {
  position: relative;
  background: linear-gradient(135deg, #275c35 0%, #4d854b 55%, #8aa856 100%);
  background-image: url('../images/taraino-mv.jpeg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  color: var(--white);
  padding: 110px 0;
  text-align: center;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.38);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
}

.hero-catch {
  display: inline-block;
  background: rgba(255, 255, 255, 0.18);
  padding: 6px 18px;
  border-radius: 50px;
  font-size: 14px;
  margin-bottom: 18px;
}

.hero h1 {
  font-size: clamp(24px, 4vw, 38px);
  line-height: 1.45;
  margin-bottom: 32px;
  letter-spacing: 0.04em;
}

.hero-actions {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

/* =========================================
   ボタン
   ========================================= */
.btn {
  display: inline-block;
  padding: 12px 26px;
  border-radius: 6px;
  font-weight: bold;
  font-size: 15px;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all 0.2s;
  text-align: center;
}

.btn-primary {
  background: var(--primary);
  color: var(--white);
}

.btn-primary:hover {
  background: var(--primary-dark);
}

.btn-secondary {
  background: var(--white);
  color: var(--primary);
  border-color: var(--primary);
}

.btn-secondary:hover {
  background: var(--primary);
  color: var(--white);
}

.btn-outline {
  border-color: var(--white);
  color: var(--white);
  background: transparent;
}

.btn-outline:hover {
  background: var(--white);
  color: var(--primary);
}

.btn-block {
  display: block;
  width: 100%;
}

/* =========================================
   お知らせバー
   ========================================= */
.news-bar {
  background: var(--bg-light);
  border-bottom: 1px solid var(--border);
  padding: 14px 0;
}

.news-inner {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.news-label {
  background: var(--accent);
  color: var(--white);
  font-size: 12px;
  font-weight: bold;
  padding: 3px 12px;
  border-radius: 4px;
}

.news-list {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  font-size: 14px;
}

.news-list time {
  color: var(--text-muted);
  margin-right: 8px;
}

/* =========================================
   セクション見出し・グリッド・カード
   ========================================= */
.section-header {
  text-align: center;
  margin-bottom: 44px;
}

.en-title {
  display: block;
  font-size: 12px;
  font-weight: bold;
  letter-spacing: 0.16em;
  color: var(--primary);
  margin-bottom: 6px;
}

.section-header h2 {
  font-size: 28px;
  color: var(--text-main);
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.feature-card {
  padding: 28px;
}

.feature-num {
  font-size: 26px;
  font-weight: bold;
  color: var(--accent);
  margin-bottom: 8px;
}

.feature-card h3 {
  font-size: 19px;
  margin-bottom: 12px;
  color: var(--primary-dark);
}

/* 商品カード */
.product-thumb {
  height: 180px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  color: var(--white);
  font-size: 17px;
  padding: 16px;
  text-align: center;
}

.thumb-rice {
  background: linear-gradient(135deg, #b88a36, #d9b15f);
}

.thumb-veg {
  background: linear-gradient(135deg, #3c7d44, #68a658);
}

.thumb-proc {
  background: linear-gradient(135deg, #8c5a3c, #b57e58);
}

.product-body {
  padding: 22px;
}

.badge {
  display: inline-block;
  font-size: 12px;
  background: var(--bg-light);
  color: var(--primary);
  border: 1px solid var(--primary);
  padding: 2px 10px;
  border-radius: 50px;
  margin-bottom: 10px;
  font-weight: bold;
}

.product-body h3 {
  font-size: 18px;
  margin-bottom: 10px;
}

.product-desc {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 16px;
}

.product-price {
  font-size: 20px;
  font-weight: bold;
  color: var(--primary-dark);
  margin-bottom: 16px;
}

.product-price span {
  font-size: 13px;
  font-weight: normal;
  color: var(--text-muted);
}

/* 2カラムバナー */
.split-banner {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 40px;
  align-items: center;
}

.split-text h2 {
  font-size: 26px;
  margin-bottom: 16px;
}

.split-text p {
  margin-bottom: 16px;
}

.split-links {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 24px;
}

.visual-box {
  background: var(--bg-light);
  border: 2px dashed var(--border);
  border-radius: var(--radius);
  height: 260px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--text-muted);
  padding: 20px;
  font-weight: bold;
}

.visual-box span {
  font-size: 12px;
  font-weight: normal;
  margin-top: 6px;
}

/* サブページ共通ヘッダー */
.page-header {
  background: var(--bg-light);
  border-bottom: 1px solid var(--border);
  padding: 52px 0;
  text-align: center;
}

.page-header h1 {
  font-size: 30px;
  margin-bottom: 8px;
}

.page-header p {
  color: var(--text-muted);
}

/* 商品フィルターバー */
.filter-bar {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 36px;
}

.filter-btn {
  padding: 9px 20px;
  border: 1px solid var(--primary);
  background: var(--white);
  color: var(--primary);
  border-radius: 50px;
  font-weight: bold;
  cursor: pointer;
  transition: all 0.2s;
}

.filter-btn.active,
.filter-btn:hover {
  background: var(--primary);
  color: var(--white);
}

.info-box {
  background: var(--bg-light);
  border-left: 4px solid var(--primary);
  padding: 24px;
  border-radius: 6px;
}

.info-box h3 {
  margin-bottom: 12px;
  color: var(--primary-dark);
}

.info-box ul li {
  margin-bottom: 6px;
  font-size: 15px;
}

/* テーブル（法人概要） */
.data-table {
  width: 100%;
  border-collapse: collapse;
}

.data-table th,
.data-table td {
  border-bottom: 1px solid var(--border);
  padding: 16px;
  text-align: left;
}

.data-table th {
  width: 28%;
  background: var(--bg-light);
  color: var(--primary-dark);
}

/* 生産者カード */
.farmer-list {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.farmer-card {
  display: grid;
  grid-template-columns: 240px 1fr;
}

.farmer-photo {
  background: #dce5d8;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  color: var(--primary-dark);
  min-height: 200px;
}

.farmer-info {
  padding: 28px;
}

.farmer-info h3 {
  font-size: 20px;
  margin-bottom: 12px;
}

/* お問い合わせフォーム */
.contact-form .form-group {
  margin-bottom: 22px;
}

.contact-form label {
  display: block;
  font-weight: bold;
  margin-bottom: 8px;
}

.req {
  background: #c94a4a;
  color: var(--white);
  font-size: 11px;
  padding: 2px 6px;
  border-radius: 3px;
  margin-left: 6px;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  padding: 12px;
  border: 1px solid var(--border);
  border-radius: 6px;
  font-size: 15px;
  font-family: inherit;
}

.form-note {
  font-size: 13px;
  color: var(--text-muted);
  margin-top: 14px;
}

/* フッター */
.site-footer {
  background: #1f3324;
  color: #e4ece6;
  padding-top: 48px;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
  padding-bottom: 36px;
}

.footer-logo {
  font-size: 20px;
  font-weight: bold;
  color: var(--white);
  margin-bottom: 12px;
}

.footer-info p {
  font-size: 14px;
  line-height: 1.8;
}

.footer-nav ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 14px;
}

.footer-nav a:hover {
  text-decoration: underline;
}

.copyright {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  text-align: center;
  padding: 16px 0;
  font-size: 13px;
}

/* =========================================
   レスポンシブ対応（スマートフォン・タブレット）
   ========================================= */
@media (max-width: 840px) {
  .grid-3 {
    grid-template-columns: 1fr;
  }

  .split-banner,
  .farmer-card {
    grid-template-columns: 1fr;
  }

  .menu-toggle {
    display: flex;
  }

  .global-nav {
    display: none;
    position: absolute;
    top: 76px;
    left: 0;
    width: 100%;
    background: var(--white);
    border-bottom: 1px solid var(--border);
    padding: 20px;
  }

  .global-nav.open {
    display: block;
  }

  .global-nav ul {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
  }
}
