:root {
  --ink: #1f2a24;
  --muted: #657269;
  --line: #dce5dc;
  --paper: #fffdf8;
  --soft: #f3f7ef;
  --green: #1f7a4d;
  --green-dark: #125336;
  --gold: #d29b2d;
  --tomato: #bf4f37;
  --white: #ffffff;
  --shadow: 0 18px 46px rgba(31, 42, 36, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Hiragino Kaku Gothic ProN", "Yu Gothic", "Meiryo", sans-serif;
  line-height: 1.7;
}

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

button,
input,
select {
  font: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  gap: 24px;
  min-height: 82px;
  padding: 14px clamp(18px, 4vw, 56px);
  background: rgba(255, 253, 248, 0.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: max-content;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  color: var(--white);
  background: var(--green);
  border-radius: 8px;
  font-weight: 800;
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  font-size: 20px;
  letter-spacing: 0;
}

.brand small {
  color: var(--muted);
  font-size: 12px;
}

.global-nav {
  display: flex;
  justify-content: flex-end;
  gap: 24px;
  width: 100%;
  color: #3a463f;
  font-weight: 700;
  font-size: 14px;
}

.global-nav a {
  padding: 8px 0;
}

.header-cta,
.search-panel button,
.notice-bar a,
.action-panel a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  color: var(--white);
  background: var(--green);
  border-radius: 6px;
  font-weight: 800;
}

.header-cta {
  min-width: 112px;
}

.menu-button {
  display: none;
  width: 44px;
  height: 44px;
  margin-left: auto;
  padding: 10px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 6px;
}

.menu-button span {
  display: block;
  height: 2px;
  margin: 5px 0;
  background: var(--ink);
}

.hero {
  position: relative;
  min-height: calc(100vh - 82px);
  padding: clamp(56px, 7vw, 92px) clamp(18px, 4vw, 56px) 72px;
  overflow: hidden;
}

.hero-media {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(255, 253, 248, 0.96) 0%, rgba(255, 253, 248, 0.86) 44%, rgba(255, 253, 248, 0.36) 74%),
    url("https://images.unsplash.com/photo-1506368249639-73a05d6f6488?auto=format&fit=crop&w=1800&q=80") center / cover;
}

.hero-content {
  position: relative;
  width: min(980px, 100%);
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--green);
  font-weight: 800;
  font-size: 13px;
  text-transform: uppercase;
}

h1,
h2 {
  margin: 0;
  line-height: 1.35;
  letter-spacing: 0;
}

h1 {
  width: min(780px, 100%);
  font-size: clamp(34px, 5vw, 64px);
}

h2 {
  font-size: clamp(24px, 3vw, 36px);
}

.hero-copy {
  width: min(680px, 100%);
  margin: 22px 0 34px;
  color: #425047;
  font-size: 18px;
}

.search-panel {
  display: grid;
  grid-template-columns: minmax(220px, 1.5fr) minmax(150px, 0.8fr) minmax(170px, 0.9fr) auto;
  gap: 12px;
  width: min(1060px, 100%);
  padding: 16px;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.search-panel label {
  display: grid;
  gap: 6px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.search-panel input,
.search-panel select {
  width: 100%;
  min-height: 48px;
  padding: 0 12px;
  color: var(--ink);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 6px;
}

.search-panel button {
  align-self: end;
  min-height: 48px;
  border: 0;
  cursor: pointer;
}

.notice-bar {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 18px clamp(18px, 4vw, 56px);
  color: var(--white);
  background: var(--green-dark);
}

.notice-bar span {
  flex: 1;
}

.notice-bar a {
  color: var(--green-dark);
  background: var(--white);
}

.section {
  padding: 78px clamp(18px, 4vw, 56px);
}

.section-muted {
  background: var(--soft);
}

.section-heading {
  width: min(1120px, 100%);
  margin: 0 auto 28px;
}

.section-heading.split {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
}

.region-grid,
.category-cloud,
.maker-grid,
.article-list,
.faq-list {
  width: min(1120px, 100%);
  margin: 0 auto;
}

.region-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.region-grid button,
.category-cloud button {
  min-height: 58px;
  padding: 0 18px;
  color: var(--ink);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 6px;
  box-shadow: 0 8px 20px rgba(31, 42, 36, 0.06);
  cursor: pointer;
}

.region-grid button {
  position: relative;
  text-align: left;
  font-weight: 800;
}

.region-grid button::after {
  position: absolute;
  right: 18px;
  content: ">";
  color: var(--green);
}

.category-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.category-cloud button {
  min-height: 46px;
  font-weight: 700;
}

.maker-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.maker-card {
  display: grid;
  gap: 14px;
  padding: 20px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 10px 28px rgba(31, 42, 36, 0.08);
}

.maker-card h3 {
  margin: 0;
  font-size: 20px;
  line-height: 1.45;
}

.maker-card p {
  margin: 0;
  color: var(--muted);
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tag-row span {
  padding: 4px 9px;
  color: var(--green-dark);
  background: #e5f1e7;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
}

.maker-meta {
  display: grid;
  gap: 6px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
  color: #435047;
  font-size: 14px;
}

.result-count,
.text-link {
  color: var(--green);
  font-weight: 800;
}

.empty-state {
  grid-column: 1 / -1;
  padding: 28px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  text-align: center;
}

.two-column {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  padding: 78px clamp(18px, 4vw, 56px);
}

.action-panel {
  min-height: 320px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: clamp(26px, 4vw, 44px);
  color: var(--white);
  background: var(--green-dark);
  border-radius: 8px;
  overflow: hidden;
}

.action-panel .eyebrow,
.action-panel p {
  color: rgba(255, 255, 255, 0.86);
}

.action-panel a {
  width: fit-content;
  color: var(--green-dark);
  background: var(--white);
}

.supplier-panel {
  background: #5b3d22;
}

.supplier-panel a {
  color: #5b3d22;
}

.article-list {
  display: grid;
  gap: 12px;
}

.article-list a {
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 18px;
  padding: 18px 20px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 6px;
}

.article-list time {
  color: var(--muted);
  font-weight: 700;
}

.faq-section {
  background: var(--paper);
}

.faq-list {
  display: grid;
  gap: 12px;
}

details {
  padding: 18px 20px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 6px;
}

summary {
  cursor: pointer;
  font-weight: 800;
}

details p {
  margin: 12px 0 0;
  color: var(--muted);
}

.site-footer {
  display: grid;
  grid-template-columns: 1.4fr 1fr auto;
  gap: 28px;
  padding: 48px clamp(18px, 4vw, 56px);
  color: rgba(255, 255, 255, 0.78);
  background: #18231d;
}

.site-footer .brand-mark {
  background: var(--gold);
}

.site-footer strong {
  color: var(--white);
}

.site-footer nav {
  display: grid;
  gap: 10px;
}

.site-footer small {
  align-self: end;
}

@media (max-width: 920px) {
  .site-header {
    flex-wrap: wrap;
  }

  .menu-button {
    display: block;
  }

  .global-nav,
  .header-cta {
    display: none;
  }

  .site-header.is-open .global-nav,
  .site-header.is-open .header-cta {
    display: flex;
    width: 100%;
  }

  .site-header.is-open .global-nav {
    flex-direction: column;
    gap: 4px;
  }

  .search-panel,
  .maker-grid,
  .two-column,
  .site-footer {
    grid-template-columns: 1fr;
  }

  .region-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .hero {
    min-height: auto;
    padding-top: 42px;
  }

  .hero-media {
    background:
      linear-gradient(180deg, rgba(255, 253, 248, 0.98) 0%, rgba(255, 253, 248, 0.86) 70%, rgba(255, 253, 248, 0.94) 100%),
      url("https://images.unsplash.com/photo-1506368249639-73a05d6f6488?auto=format&fit=crop&w=1000&q=80") center / cover;
  }

  .hero-copy {
    font-size: 16px;
  }

  .notice-bar,
  .section-heading.split {
    align-items: flex-start;
    flex-direction: column;
  }

  .region-grid {
    grid-template-columns: 1fr;
  }

  .article-list a {
    grid-template-columns: 1fr;
    gap: 4px;
  }
}
