:root {
  --primary-color: #2f855a;
  --secondary-color: #22543d;
  --accent-color: #f6ad55;
  --background-color: #f3f7f4;
  --surface-color: #ffffff;
  --surface-muted: #edf2ed;
  --text-dark: #243026;
  --text-muted: #5a6a5d;
  --border-color: #d7e3da;
  --shadow-soft: 0 18px 40px rgba(36, 48, 38, 0.18);
  --font-base: 'Helvetica Neue', Arial, 'Hiragino Kaku Gothic ProN', 'Hiragino Sans', Meiryo, sans-serif;
  --font-heading: 'Playfair Display', 'Times New Roman', serif;
  --max-width: 1180px;
  --header-height: 72px;
  --transition: all 0.3s ease;
}

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

body {
  font-family: var(--font-base);
  color: var(--text-dark);
  background-color: var(--background-color);
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--primary-color);
  text-decoration: none;
  transition: color 0.2s ease;
}

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

img {
  max-width: 100%;
  display: block;
  border-radius: 18px;
}

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

.header {
  position: sticky;
  top: 0;
  z-index: 999;
  backdrop-filter: blur(12px);
  background-color: rgba(243, 247, 244, 0.92);
  border-bottom: 1px solid rgba(215, 227, 218, 0.7);
  transition: box-shadow var(--transition), background-color var(--transition);
}

.header.scrolled {
  background-color: rgba(243, 247, 244, 0.98);
  box-shadow: 0 12px 24px rgba(36, 48, 38, 0.12);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-height);
}

.logo a {
  font-family: var(--font-heading);
  font-size: 1.7rem;
  font-weight: 600;
  color: var(--secondary-color);
  letter-spacing: 0.03em;
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: 1.1rem;
  align-items: center;
  flex-wrap: wrap;
  justify-content: flex-end;
  max-width: 860px;
}

.nav-item a {
  padding: 0.45rem 0.95rem;
  border-radius: 999px;
  font-size: 0.94rem;
  font-weight: 500;
  color: var(--secondary-color);
  background: rgba(255, 255, 255, 0.64);
  border: 1px solid transparent;
  transition: var(--transition);
}

.nav-item a:hover,
.nav-item a.active {
  background: linear-gradient(120deg, rgba(47, 133, 90, 0.18), rgba(246, 173, 85, 0.24));
  border-color: rgba(47, 133, 90, 0.35);
  color: var(--secondary-color);
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 0.4rem;
  border-radius: 10px;
  border: 1px solid transparent;
}

.hamburger:focus-visible {
  outline: 2px solid var(--accent-color);
  outline-offset: 4px;
}

.hamburger span {
  width: 26px;
  height: 3px;
  background-color: var(--secondary-color);
  border-radius: 3px;
  transition: var(--transition);
}

.hero {
  position: relative;
  margin-top: 16px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
  align-items: center;
  background: radial-gradient(circle at top left, rgba(47, 133, 90, 0.18), rgba(34, 84, 61, 0.08));
  padding: 3.5rem 0;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url('../images/leaf-texture.svg');
  background-size: 480px;
  background-repeat: no-repeat;
  background-position: right 5% top 15%;
  opacity: 0.12;
  pointer-events: none;
}

.hero img {
  width: 100%;
  box-shadow: var(--shadow-soft);
  border-radius: 24px;
}

.hero-content {
  position: relative;
  z-index: 1;
  padding: 0 26px;
}

.hero-content h1 {
  font-family: var(--font-heading);
  font-size: clamp(2.4rem, 3.4vw, 3.2rem);
  line-height: 1.2;
  color: var(--secondary-color);
  margin-bottom: 1.2rem;
  text-shadow: 0 2px 8px rgba(255, 255, 255, 0.9), 0 1px 4px rgba(36, 48, 38, 0.25);
}

.hero-content p {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 540px;
  text-shadow: 0 1px 6px rgba(255, 255, 255, 0.85), 0 1px 3px rgba(36, 48, 38, 0.2);
}

.badge {
  display: inline-block;
  background: rgba(47, 133, 90, 0.16);
  color: var(--secondary-color);
  font-weight: 600;
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  font-size: 0.8rem;
  letter-spacing: 0.04em;
  margin-bottom: 1rem;
  text-shadow: 0 1px 4px rgba(255, 255, 255, 0.7);
}

.section {
  padding: 3.5rem 0;
}

.section-title {
  font-family: var(--font-heading);
  font-size: 2rem;
  color: var(--secondary-color);
  margin-bottom: 1.6rem;
}

.lead-paragraph {
  font-size: 1.1rem;
  color: var(--text-muted);
  margin-bottom: 2rem;
}

.grid-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.8rem;
}

.card {
  background: var(--surface-color);
  border-radius: 22px;
  border: 1px solid rgba(215, 227, 218, 0.75);
  padding: 1.8rem;
  display: grid;
  gap: 1rem;
  position: relative;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card::after {
  content: '';
  position: absolute;
  inset: auto -20% -30% auto;
  width: 160px;
  height: 160px;
  background: radial-gradient(circle, rgba(246, 173, 85, 0.35), transparent 70%);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-soft);
}

.card:hover::after {
  opacity: 1;
}

.card .tag {
  display: inline-flex;
  align-self: flex-start;
  padding: 0.25rem 0.7rem;
  border-radius: 999px;
  background: rgba(246, 173, 85, 0.18);
  color: var(--secondary-color);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.05em;
}

.card h3 {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  color: var(--secondary-color);
}

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

.card a {
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.card a::after {
  content: '→';
  font-size: 0.9rem;
}

.news-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

.news-item {
  background: var(--surface-muted);
  border-radius: 20px;
  padding: 1.4rem;
  border: 1px solid rgba(215, 227, 218, 0.6);
  display: grid;
  gap: 0.8rem;
}

.news-item h4 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--secondary-color);
}

.news-meta {
  display: flex;
  justify-content: space-between;
  font-size: 0.78rem;
  color: var(--text-muted);
}

.data-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
}

.data-card {
  background: var(--surface-color);
  border-radius: 18px;
  padding: 1.8rem;
  border: 1px solid rgba(47, 133, 90, 0.14);
  box-shadow: 0 10px 24px rgba(36, 48, 38, 0.08);
  display: grid;
  gap: 0.6rem;
}

.data-card h4 {
  font-size: 0.95rem;
  letter-spacing: 0.06em;
  color: var(--text-muted);
  text-transform: uppercase;
}

.data-card .data-value {
  font-family: var(--font-heading);
  font-size: 2.4rem;
  color: var(--secondary-color);
}

.highlight-box {
  background: linear-gradient(135deg, rgba(47, 133, 90, 0.12), rgba(246, 173, 85, 0.08));
  border: 1px solid rgba(47, 133, 90, 0.16);
  border-radius: 24px;
  padding: 1.6rem;
  display: grid;
  gap: 0.75rem;
  margin: 2rem 0;
}

.highlight-box h3 {
  font-family: var(--font-heading);
  color: var(--secondary-color);
}

.page-wrapper {
  padding: 3rem 0 4rem;
}

.main-layout {
  display: grid;
  grid-template-columns: minmax(0, 720px) minmax(0, 300px);
  gap: 2.5rem;
  align-items: start;
}

.article {
  background: var(--surface-color);
  border-radius: 28px;
  box-shadow: var(--shadow-soft);
  padding: 2.4rem;
  border: 1px solid rgba(215, 227, 218, 0.6);
  display: grid;
  gap: 2.2rem;
}

.article header {
  border-bottom: 1px solid rgba(215, 227, 218, 0.6);
  padding-bottom: 1.2rem;
}

.article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.article h2 {
  font-family: var(--font-heading);
  font-size: 1.75rem;
  color: var(--secondary-color);
  margin-bottom: 1rem;
}

.article p {
  color: var(--text-dark);
}

.article ul {
  padding-left: 1.4rem;
  color: var(--text-dark);
  display: grid;
  gap: 0.4rem;
}

blockquote {
  border-left: 4px solid var(--accent-color);
  padding-left: 1rem;
  color: var(--text-muted);
  font-style: italic;
  margin: 1.6rem 0;
}

.table-scroll {
  margin: 1.5rem 0;
  overflow-x: auto;
  border-radius: 18px;
  border: 1px solid rgba(215, 227, 218, 0.7);
}

.table-scroll table {
  min-width: 520px;
  border-collapse: collapse;
  width: 100%;
}

.table-scroll th,
.table-scroll td {
  padding: 0.85rem 1rem;
  border-bottom: 1px solid rgba(215, 227, 218, 0.6);
  text-align: left;
  font-size: 0.92rem;
}

.sidebar {
  display: grid;
  gap: 1.6rem;
  position: sticky;
  top: calc(var(--header-height) + 20px);
}

.sidebar-card,
.toc {
  background: var(--surface-muted);
  border-radius: 20px;
  padding: 1.6rem;
  border: 1px solid rgba(215, 227, 218, 0.6);
  display: grid;
  gap: 0.9rem;
}

.toc ul {
  list-style: none;
  display: grid;
  gap: 0.6rem;
}

.toc a {
  color: var(--secondary-color);
  font-weight: 500;
}

.footer {
  margin-top: 4rem;
  background: linear-gradient(120deg, rgba(34, 84, 61, 0.94), rgba(47, 133, 90, 0.88));
  color: #f5f8f6;
  padding: 3.5rem 0;
}

.footer-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 26px;
  display: grid;
  gap: 1.5rem;
}

.footer-inner h4 {
  font-family: var(--font-heading);
  font-weight: 600;
  letter-spacing: 0.08em;
}

.footer-inner ul {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-inner a {
  color: #f5f8f6;
  opacity: 0.85;
}

.footer-inner a:hover {
  opacity: 1;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.85rem;
  opacity: 0.8;
}

.cta-banner {
  background: linear-gradient(135deg, #2f855a, #f6ad55);
  border-radius: 26px;
  padding: 2.1rem;
  color: #fff;
  display: grid;
  gap: 1rem;
  align-items: center;
  box-shadow: 0 24px 46px rgba(36, 48, 38, 0.25);
}

.cta-button {
  justify-self: start;
  padding: 0.75rem 1.7rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  color: var(--secondary-color);
  font-weight: 600;
  transition: var(--transition);
}

.cta-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 28px rgba(36, 48, 38, 0.2);
}


.cta-note {
  font-weight: 600;
  color: rgba(255, 255, 255, 0.9);
  margin: 0;
}
@media (max-width: 1024px) {
  .hero {
    grid-template-columns: 1fr;
    gap: 2.2rem;
  }

  .hero-content {
    padding: 0 20px;
  }

  .main-layout {
    grid-template-columns: 1fr;
    display: flex;
    flex-direction: column;
  }

  .article {
    order: 2;
  }

  .sidebar {
    position: static;
    order: 1;
  }
}

@media (max-width: 860px) {
  .nav-menu {
    display: none;
    flex-direction: column;
    background: rgba(243, 247, 244, 0.98);
    border: 1px solid rgba(215, 227, 218, 0.9);
    border-radius: 18px;
    padding: 1.4rem;
    position: absolute;
    right: 26px;
    left: 26px;
    top: calc(var(--header-height) + 12px);
    box-shadow: var(--shadow-soft);
  }

  .nav-menu.active {
    display: flex;
  }

  .hamburger {
    display: flex;
  }

  .hamburger.active span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
  }

  .hamburger.active span:nth-child(2) {
    opacity: 0;
  }

  .hamburger.active span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
  }
}

@media (max-width: 600px) {
  .section {
    padding: 2.8rem 0;
  }

  .article,
  .sidebar-card,
  .toc {
    padding: 1.6rem;
  }

  .hero-content h1 {
    font-size: 2.2rem;
  }

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

  .cta-button {
    justify-self: center;
  }
}
