/* ============================================================
   ジビエ産業現況レポート 共通スタイル
   テーマ: 山の恵みを感じるアースカラー / クラフト感のある質実なデザイン
   生成り #e9e2d0 / ハンターグリーン #4a5d23 / 土色 #8b5e34 / 深い森 #17240f
   ============================================================ */

:root {
  --ink: #17240f;
  --green: #4a5d23;
  --green-dark: #38481a;
  --brown: #8b5e34;
  --brown-dark: #6e4a28;
  --cream: #e9e2d0;
  --cream-light: #f6f1e4;
  --paper: #f0ead9;
  --line: #c8bda0;
  --accent: #d9a441;
  --font-serif: 'Noto Serif JP', 'Hiragino Mincho ProN', serif;
  --font-sans: 'Noto Sans JP', 'Hiragino Kaku Gothic ProN', sans-serif;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
}

body {
  font-family: var(--font-sans);
  color: var(--ink);
  background-color: var(--cream);
  background-image: repeating-linear-gradient(
    45deg,
    rgba(139, 94, 52, 0.03) 0,
    rgba(139, 94, 52, 0.03) 1px,
    transparent 1px,
    transparent 7px
  );
  line-height: 1.9;
  font-size: 16px;
}

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

a {
  color: var(--green);
}

a:hover {
  color: var(--brown);
}

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

/* ---------------- ヘッダー ---------------- */
.site-header {
  background: var(--ink);
  color: var(--cream);
  border-bottom: 4px solid var(--brown);
  position: sticky;
  top: 0;
  z-index: 100;
}

.header-inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 14px 20px 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  position: relative;
}

.brand {
  text-align: center;
}

.brand-title {
  font-family: var(--font-serif);
  font-weight: 900;
  font-size: 1.5rem;
  letter-spacing: 0.06em;
  line-height: 1.3;
}

.brand-title a {
  color: var(--cream);
  text-decoration: none;
}

.brand-title a:hover {
  color: var(--accent);
}

.brand-sub {
  display: block;
  font-size: 0.72rem;
  color: #b9ae91;
  letter-spacing: 0.14em;
  margin-top: 2px;
}

.nav-toggle {
  display: none;
  position: absolute;
  right: 20px;
  top: 22px;
  width: 44px;
  height: 38px;
  background: transparent;
  border: 2px solid var(--cream);
  border-radius: 4px;
  cursor: pointer;
  padding: 8px 9px;
}

.nav-toggle .bar {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--cream);
  margin: 4px 0;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.nav-toggle.is-active .bar:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.nav-toggle.is-active .bar:nth-child(2) {
  opacity: 0;
}

.nav-toggle.is-active .bar:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

.global-nav ul {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  max-width: 900px;
  margin: 0 auto;
  gap: 2px 4px;
}

.global-nav li a {
  display: block;
  color: var(--cream);
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 700;
  padding: 4px 11px;
  border-radius: 3px;
  white-space: nowrap;
  border: 1px solid transparent;
}

.global-nav li a:hover,
.global-nav li a.is-current {
  background: var(--green);
  border-color: var(--accent);
  color: #fff;
}

/* ---------------- ヒーロー ---------------- */
.hero {
  position: relative;
  overflow: hidden;
  border-bottom: 6px double var(--brown);
}

.hero-img {
  width: 100%;
  height: 460px;
  object-fit: cover;
}

.hero-text {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 0 20px;
}

.hero-text h1 {
  font-family: var(--font-serif);
  font-weight: 900;
  font-size: 2.6rem;
  color: #fdf9ee;
  letter-spacing: 0.08em;
  line-height: 1.4;
  text-shadow: 0 2px 6px rgba(10, 18, 5, 0.9), 0 0 24px rgba(10, 18, 5, 0.75);
}

.hero-text .hero-lead {
  margin-top: 14px;
  font-size: 1.05rem;
  font-weight: 700;
  color: #f3ecd9;
  text-shadow: 0 1px 4px rgba(10, 18, 5, 0.95), 0 0 16px rgba(10, 18, 5, 0.8);
}

.hero-badge {
  display: inline-block;
  margin-bottom: 16px;
  padding: 4px 18px;
  border: 2px solid #f3ecd9;
  border-radius: 3px;
  color: #f3ecd9;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.28em;
  text-shadow: 0 1px 4px rgba(10, 18, 5, 0.95);
  background: rgba(23, 36, 15, 0.45);
}

/* ---------------- ページヒーロー（下層） ---------------- */
.page-hero {
  position: relative;
  overflow: hidden;
  border-bottom: 4px solid var(--brown);
}

.page-hero-img {
  width: 100%;
  height: 280px;
  object-fit: cover;
}

.page-hero-text {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 0 20px;
}

.page-hero-text h1 {
  font-family: var(--font-serif);
  font-weight: 900;
  font-size: 2rem;
  color: #fdf9ee;
  letter-spacing: 0.08em;
  line-height: 1.4;
  text-shadow: 0 2px 6px rgba(10, 18, 5, 0.9), 0 0 20px rgba(10, 18, 5, 0.8);
}

.page-hero-text .page-lead {
  margin-top: 8px;
  font-size: 0.95rem;
  font-weight: 700;
  color: #f3ecd9;
  text-shadow: 0 1px 4px rgba(10, 18, 5, 0.95);
}

.breadcrumb {
  font-size: 0.8rem;
  padding: 10px 0;
  color: var(--brown-dark);
}

.breadcrumb ol {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
}

.breadcrumb li + li::before {
  content: "›";
  margin: 0 6px;
  color: var(--line);
}

/* ---------------- 本文レイアウト ---------------- */
.page-body {
  padding: 24px 0 64px;
}

.layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 44px;
  align-items: start;
}

.main-col {
  min-width: 0;
}

.main-col > .intro {
  font-size: 1.02rem;
  background: var(--cream-light);
  border: 2px solid var(--line);
  border-left: 6px solid var(--green);
  padding: 18px 22px;
  margin-bottom: 36px;
}

.main-col h2 {
  font-family: var(--font-serif);
  font-weight: 900;
  font-size: 1.5rem;
  letter-spacing: 0.05em;
  color: var(--ink);
  border-bottom: 3px solid var(--green);
  padding: 6px 0 8px 16px;
  position: relative;
  margin: 48px 0 20px;
}

.main-col h2::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  bottom: 10px;
  width: 8px;
  background: var(--brown);
}

.main-col h3 {
  font-weight: 800;
  font-size: 1.12rem;
  color: var(--green-dark);
  margin: 30px 0 12px;
  padding-left: 12px;
  border-left: 4px solid var(--accent);
}

.main-col p {
  margin-bottom: 16px;
}

.main-col ul,
.main-col ol {
  margin: 0 0 18px 24px;
}

.main-col li {
  margin-bottom: 6px;
}

/* 統計カード */
.stat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 14px;
  margin: 22px 0 28px;
}

.stat-card {
  background: var(--cream-light);
  border: 2px solid var(--green);
  border-radius: 4px;
  padding: 16px 14px 12px;
  text-align: center;
  box-shadow: 3px 3px 0 rgba(74, 93, 35, 0.25);
}

.stat-card .stat-value {
  font-family: var(--font-serif);
  font-weight: 900;
  font-size: 1.7rem;
  color: var(--green-dark);
  line-height: 1.2;
}

.stat-card .stat-value small {
  font-size: 0.9rem;
}

.stat-card .stat-label {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--brown-dark);
  margin-top: 6px;
  line-height: 1.5;
}

.stat-card .stat-note {
  font-size: 0.68rem;
  color: #7a6f57;
  margin-top: 4px;
}

/* データ表 */
.table-wrap {
  overflow-x: auto;
  margin: 20px 0 28px;
}

.data-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
  background: var(--cream-light);
  min-width: 560px;
}

.data-table caption {
  caption-side: top;
  text-align: left;
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--brown-dark);
  padding-bottom: 6px;
}

.data-table th,
.data-table td {
  border: 1px solid var(--line);
  padding: 9px 12px;
  text-align: left;
  vertical-align: top;
}

.data-table thead th {
  background: var(--green);
  color: #fdf9ee;
  font-weight: 700;
  white-space: nowrap;
}

.data-table tbody th {
  background: rgba(139, 94, 52, 0.12);
  font-weight: 700;
  white-space: nowrap;
}

/* CSS横棒グラフ */
.bar-chart {
  list-style: none;
  margin: 20px 0 28px;
  border: 2px solid var(--line);
  background: var(--cream-light);
  padding: 18px 20px;
}

.bar-chart li {
  margin-bottom: 12px;
}

.bar-chart li:last-child {
  margin-bottom: 0;
}

.bar-chart .bar-label {
  display: flex;
  justify-content: space-between;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 3px;
}

.bar-chart .bar-track {
  background: rgba(200, 189, 160, 0.4);
  border-radius: 2px;
  height: 16px;
  overflow: hidden;
}

.bar-chart .bar-fill {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, var(--green), var(--brown));
  border-radius: 2px;
}

.bar-fill.w10 { width: 10%; }
.bar-fill.w15 { width: 15%; }
.bar-fill.w20 { width: 20%; }
.bar-fill.w25 { width: 25%; }
.bar-fill.w30 { width: 30%; }
.bar-fill.w35 { width: 35%; }
.bar-fill.w40 { width: 40%; }
.bar-fill.w45 { width: 45%; }
.bar-fill.w50 { width: 50%; }
.bar-fill.w55 { width: 55%; }
.bar-fill.w60 { width: 60%; }
.bar-fill.w65 { width: 65%; }
.bar-fill.w70 { width: 70%; }
.bar-fill.w75 { width: 75%; }
.bar-fill.w80 { width: 80%; }
.bar-fill.w85 { width: 85%; }
.bar-fill.w90 { width: 90%; }
.bar-fill.w95 { width: 95%; }
.bar-fill.w100 { width: 100%; }

/* Amazonテキストバナー */
.amazon-banner a {
  display: block;
  border: 2px solid var(--brown);
  border-radius: 4px;
  background: #fff;
  color: var(--brown-dark);
  font-weight: 700;
  font-size: 0.88rem;
  text-decoration: none;
  padding: 16px 12px;
}

.amazon-banner a:hover {
  background: var(--brown);
  color: #fdf9ee;
}

.chart-note {
  font-size: 0.72rem;
  color: #7a6f57;
  margin-top: -20px;
  margin-bottom: 28px;
}

/* フロー図 */
.flow-list {
  list-style: none;
  margin: 22px 0 30px;
  counter-reset: flow;
}

.flow-list li {
  counter-increment: flow;
  position: relative;
  background: var(--cream-light);
  border: 2px solid var(--line);
  border-left: 6px solid var(--brown);
  padding: 12px 16px 12px 58px;
  margin-bottom: 14px;
}

.flow-list li::before {
  content: counter(flow, decimal-leading-zero);
  position: absolute;
  left: 14px;
  top: 12px;
  font-family: var(--font-serif);
  font-weight: 900;
  font-size: 1.2rem;
  color: var(--brown);
}

.flow-list li:not(:last-child)::after {
  content: "▼";
  position: absolute;
  left: 50%;
  bottom: -15px;
  transform: translateX(-50%);
  color: var(--green);
  font-size: 0.7rem;
}

.flow-list .flow-title {
  font-weight: 800;
  color: var(--green-dark);
  display: block;
}

/* ポイント囲み */
.point-box {
  border: 2px dashed var(--brown);
  background: rgba(233, 226, 208, 0.6);
  padding: 16px 20px;
  margin: 22px 0 28px;
  border-radius: 4px;
}

.point-box .point-title {
  font-weight: 900;
  font-family: var(--font-serif);
  color: var(--brown-dark);
  font-size: 1rem;
  margin-bottom: 8px;
  letter-spacing: 0.08em;
}

.point-box p:last-child {
  margin-bottom: 0;
}

/* 本文内広告 */
.ad-inline {
  margin: 30px auto;
  text-align: center;
  max-width: 100%;
  overflow: hidden;
}

.ad-inline img {
  display: inline-block;
  max-width: 100%;
  height: auto;
}

/* ページ送り */
.page-nav {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  margin-top: 52px;
  border-top: 3px double var(--brown);
  padding-top: 22px;
}

.page-nav a {
  display: block;
  flex: 1;
  border: 2px solid var(--green);
  background: var(--cream-light);
  text-decoration: none;
  padding: 12px 16px;
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--green-dark);
  border-radius: 4px;
}

.page-nav a:hover {
  background: var(--green);
  color: #fdf9ee;
}

.page-nav .next {
  text-align: right;
}

/* ---------------- サイドバー ---------------- */
.sidebar {
  display: flex;
  flex-direction: column;
  gap: 26px;
}

.side-box {
  background: var(--cream-light);
  border: 2px solid var(--line);
  border-radius: 4px;
  padding: 18px 18px 16px;
}

.side-box h2 {
  font-family: var(--font-serif);
  font-weight: 900;
  font-size: 1.02rem;
  color: var(--ink);
  border-bottom: 2px solid var(--brown);
  padding-bottom: 8px;
  margin-bottom: 12px;
  letter-spacing: 0.08em;
}

.side-box ul {
  list-style: none;
}

.side-box li {
  border-bottom: 1px dashed var(--line);
}

.side-box li:last-child {
  border-bottom: none;
}

.side-box li a {
  display: block;
  padding: 8px 2px;
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--green-dark);
}

.side-box li a:hover {
  color: var(--brown);
}

.toc li a::before {
  content: "▸ ";
  color: var(--brown);
}

.ad-side {
  text-align: center;
  overflow: hidden;
}

.ad-side img {
  display: inline-block;
  max-width: 100%;
  height: auto;
}

.ad-label {
  font-size: 0.65rem;
  color: #9a8f74;
  text-align: center;
  letter-spacing: 0.2em;
  margin-bottom: 6px;
}

/* ---------------- トップページ ---------------- */
.section-title {
  font-family: var(--font-serif);
  font-weight: 900;
  font-size: 1.7rem;
  text-align: center;
  letter-spacing: 0.1em;
  margin-bottom: 8px;
  color: var(--ink);
}

.section-title-en {
  display: block;
  text-align: center;
  font-size: 0.72rem;
  letter-spacing: 0.3em;
  color: var(--brown);
  font-weight: 700;
  margin-bottom: 34px;
}

.home-section {
  padding: 56px 0 8px;
}

.home-about {
  max-width: 820px;
  margin: 0 auto;
  background: var(--cream-light);
  border: 2px solid var(--line);
  border-top: 6px solid var(--green);
  padding: 28px 32px;
}

.home-about p {
  margin-bottom: 14px;
}

.home-about p:last-child {
  margin-bottom: 0;
}

/* ニュースリスト */
.news-list {
  list-style: none;
  max-width: 860px;
  margin: 0 auto;
  border-top: 2px solid var(--brown);
}

.news-list li {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 18px;
  align-items: baseline;
  border-bottom: 1px dashed var(--line);
  padding: 14px 6px;
  font-size: 0.92rem;
}

.news-list time {
  font-family: var(--font-serif);
  font-weight: 700;
  color: var(--brown-dark);
  white-space: nowrap;
}

.news-tag {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 700;
  color: #fdf9ee;
  background: var(--green);
  border-radius: 2px;
  padding: 1px 10px;
  white-space: nowrap;
}

.news-list a {
  color: var(--ink);
  text-decoration: none;
}

.news-list a:hover {
  color: var(--brown);
  text-decoration: underline;
}

/* ページ紹介カード */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  margin-bottom: 40px;
}

.page-card {
  background: var(--cream-light);
  border: 2px solid var(--line);
  border-radius: 4px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 4px 4px 0 rgba(139, 94, 52, 0.18);
  transition: transform 0.2s ease;
}

.page-card:hover {
  transform: translateY(-4px);
}

.page-card img {
  width: 100%;
  height: 150px;
  object-fit: cover;
  border-bottom: 3px solid var(--green);
}

.page-card .card-body {
  padding: 16px 18px 20px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.page-card .card-no {
  font-family: var(--font-serif);
  font-weight: 900;
  font-size: 0.75rem;
  letter-spacing: 0.25em;
  color: var(--brown);
}

.page-card h3 {
  font-family: var(--font-serif);
  font-weight: 900;
  font-size: 1.08rem;
  margin: 4px 0 8px;
  line-height: 1.5;
}

.page-card h3 a {
  color: var(--ink);
  text-decoration: none;
}

.page-card h3 a:hover {
  color: var(--green);
}

.page-card p {
  font-size: 0.85rem;
  color: #4c4331;
  flex: 1;
}

.page-card .card-link {
  margin-top: 12px;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--green-dark);
  text-decoration: none;
  border: 2px solid var(--green);
  border-radius: 3px;
  text-align: center;
  padding: 6px;
}

.page-card .card-link:hover {
  background: var(--green);
  color: #fdf9ee;
}

/* トップのブログ導線 */
.blog-lead-box {
  max-width: 860px;
  margin: 0 auto 48px;
  border: 2px dashed var(--brown);
  background: rgba(246, 241, 228, 0.9);
  padding: 24px 28px;
  text-align: center;
}

.blog-lead-box h3 {
  font-family: var(--font-serif);
  font-weight: 900;
  font-size: 1.2rem;
  margin-bottom: 10px;
}

.blog-lead-box .card-link {
  display: inline-block;
  margin-top: 14px;
  font-weight: 700;
  color: #fdf9ee;
  background: var(--brown);
  text-decoration: none;
  padding: 9px 34px;
  border-radius: 3px;
}

.blog-lead-box .card-link:hover {
  background: var(--green);
  color: #fdf9ee;
}

/* ---------------- フッター ---------------- */
.site-footer {
  background: var(--ink);
  color: #cfc6ac;
  margin-top: 40px;
  border-top: 6px double var(--brown);
  padding: 44px 0 26px;
  font-size: 0.86rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 34px;
  margin-bottom: 30px;
}

.footer-brand h2 {
  font-family: var(--font-serif);
  font-weight: 900;
  font-size: 1.15rem;
  color: var(--cream);
  margin-bottom: 10px;
  letter-spacing: 0.06em;
}

.footer-brand p {
  font-size: 0.8rem;
  line-height: 1.8;
}

.footer-col h3 {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: 0.14em;
  border-bottom: 1px solid rgba(217, 164, 65, 0.4);
  padding-bottom: 6px;
  margin-bottom: 10px;
}

.footer-col ul {
  list-style: none;
}

.footer-col li {
  margin-bottom: 4px;
}

.footer-col a {
  color: #cfc6ac;
  text-decoration: none;
  font-size: 0.82rem;
}

.footer-col a:hover {
  color: var(--cream);
  text-decoration: underline;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 26px;
  border-top: 1px solid rgba(200, 189, 160, 0.25);
  padding-top: 20px;
  margin-bottom: 14px;
}

.footer-links a {
  color: var(--cream);
  font-size: 0.82rem;
  text-decoration: none;
}

.footer-links a:hover {
  color: var(--accent);
  text-decoration: underline;
}

.copyright {
  text-align: center;
  font-size: 0.78rem;
  color: #9a8f74;
}

/* ---------------- レスポンシブ ---------------- */
@media (max-width: 960px) {
  .layout {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}

@media (max-width: 768px) {
  html {
    scroll-padding-top: 76px;
  }

  .header-inner {
    align-items: flex-start;
    padding: 12px 20px;
  }

  .brand {
    text-align: left;
  }

  .brand-title {
    font-size: 1.15rem;
  }

  .brand-sub {
    font-size: 0.62rem;
  }

  .nav-toggle {
    display: block;
    top: 16px;
  }

  .global-nav {
    display: none;
    width: 100%;
  }

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

  .global-nav ul {
    flex-direction: column;
    gap: 0;
    max-width: none;
  }

  .global-nav li a {
    padding: 11px 8px;
    border-bottom: 1px solid rgba(200, 189, 160, 0.25);
    white-space: normal;
    font-size: 0.92rem;
  }

  .hero-img {
    height: 380px;
  }

  .hero-text h1 {
    font-size: 1.65rem;
  }

  .hero-text .hero-lead {
    font-size: 0.9rem;
  }

  .page-hero-img {
    height: 220px;
  }

  .page-hero-text h1 {
    font-size: 1.4rem;
  }

  .main-col h2 {
    font-size: 1.25rem;
  }

  .page-nav {
    flex-direction: column;
  }

  .page-nav .next {
    text-align: left;
  }
}

/* Mobile content-width baseline. Blog-specific rules live in blog/blog.css. */
@media (max-width: 768px) {
  .page-content, .two-col-layout { padding-inline: 16px; }
  .two-col-layout, .blog-main { min-width: 0; }
  .sidebar { position: static; order: 2; }
}
