/* ============================================
   自給家族ネットワーク
   ほのぼのトーンの静的サイト
   ============================================ */

:root {
  --color-bg: #FAF6EB;          /* 生成り */
  --color-bg-alt: #F2EAD3;      /* うすい麦わら */
  --color-text: #3A3128;        /* 温かい黒 */
  --color-text-soft: #6B5D4D;   /* 柔らかい茶 */
  --color-accent: #C48A2E;      /* 稲穂 */
  --color-accent-deep: #8B6F47; /* 土 */
  --color-green: #4A5D3F;       /* 棚田の緑 */
  --color-green-soft: #7A8A5E;  /* やわらかい若葉 */
  --color-line: #D9CDB3;        /* 区切り線 */

  --font-body: 'Zen Kaku Gothic New', 'Hiragino Sans', 'Meiryo', sans-serif;
  --font-heading: 'Shippori Mincho', 'Hiragino Mincho ProN', 'Yu Mincho', serif;

  --max-w: 820px;
  --radius: 14px;
}

/* ---------- reset ---------- */
*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.9;
  color: var(--color-text);
  background-color: var(--color-bg);
  background-image:
    radial-gradient(circle at 20% 10%, rgba(196, 138, 46, 0.06) 0, transparent 40%),
    radial-gradient(circle at 80% 70%, rgba(74, 93, 63, 0.05) 0, transparent 40%);
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: var(--color-accent-deep);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
}
a:hover { color: var(--color-accent); }

/* ---------- layout ---------- */
.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
}

section {
  padding: 72px 0;
  border-top: 1px solid var(--color-line);
}
section:first-of-type { border-top: none; }

/* ---------- header ---------- */
.site-header {
  padding: 20px 0;
  background-color: rgba(250, 246, 235, 0.85);
  backdrop-filter: blur(6px);
  position: sticky;
  top: 0;
  z-index: 10;
  border-bottom: 1px solid var(--color-line);
}

.site-header .inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
}

.site-logo {
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 600;
  color: var(--color-green);
  text-decoration: none;
  letter-spacing: 0.05em;
}

.nav-list {
  list-style: none;
  display: flex;
  gap: 22px;
  margin: 0;
  padding: 0;
  font-size: 14px;
}
.nav-list a {
  color: var(--color-text-soft);
  text-decoration: none;
}
.nav-list a:hover { color: var(--color-accent); }

/* ---------- hero ---------- */
.hero {
  padding: 88px 0 80px;
  text-align: center;
  position: relative;
}

.hero-eyebrow {
  display: inline-block;
  font-size: 13px;
  letter-spacing: 0.2em;
  color: var(--color-green);
  margin-bottom: 14px;
}

.hero h1 {
  font-family: var(--font-heading);
  font-size: clamp(30px, 5vw, 46px);
  line-height: 1.45;
  font-weight: 600;
  margin: 0 0 22px;
  color: var(--color-text);
}
.hero h1 .accent {
  color: var(--color-accent);
}

.hero-lead {
  font-size: 17px;
  color: var(--color-text-soft);
  max-width: 620px;
  margin: 0 auto;
}

.hero-decoration {
  margin: 40px auto 0;
  width: 52px;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--color-accent), transparent);
}

/* ---------- section heading ---------- */
.section-label {
  display: block;
  font-size: 12px;
  letter-spacing: 0.2em;
  color: var(--color-accent);
  margin-bottom: 10px;
  text-transform: uppercase;
}

h2 {
  font-family: var(--font-heading);
  font-size: clamp(24px, 3.5vw, 32px);
  font-weight: 600;
  margin: 0 0 28px;
  color: var(--color-text);
  line-height: 1.5;
}

h3 {
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 600;
  margin: 32px 0 14px;
  color: var(--color-green);
}

p { margin: 0 0 1.2em; }

/* ---------- cards / grid ---------- */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
  margin-top: 32px;
}

.card {
  background-color: #fff;
  border: 1px solid var(--color-line);
  border-radius: var(--radius);
  padding: 24px 22px;
  box-shadow: 0 2px 0 rgba(139, 111, 71, 0.04);
}

.card h3 {
  margin-top: 0;
  font-size: 18px;
}

.card p { color: var(--color-text-soft); font-size: 15px; margin-bottom: 0; }

/* ---------- qa ---------- */
.qa-list {
  margin-top: 28px;
  border-top: 1px solid var(--color-line);
}

.qa-item {
  border-bottom: 1px solid var(--color-line);
  padding: 22px 4px;
}

.qa-q {
  font-family: var(--font-heading);
  font-size: 17px;
  font-weight: 600;
  color: var(--color-green);
  margin: 0 0 10px;
  display: flex;
  gap: 10px;
  align-items: baseline;
}
.qa-q::before {
  content: "Q.";
  color: var(--color-accent);
  font-weight: 700;
  flex-shrink: 0;
}

.qa-a {
  color: var(--color-text-soft);
  margin: 0 0 0 22px;
  font-size: 15px;
  line-height: 1.85;
}

/* ---------- video ---------- */
.video-wrap {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  border-radius: var(--radius);
  background-color: var(--color-bg-alt);
  margin-top: 24px;
  border: 1px solid var(--color-line);
}
.video-wrap iframe,
.video-wrap .video-placeholder {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
}
.video-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 8px;
  color: var(--color-text-soft);
  font-size: 14px;
  text-align: center;
  padding: 20px;
}
.video-placeholder::before {
  content: "▶";
  font-size: 32px;
  color: var(--color-accent);
}

/* ---------- network section ---------- */
.network-section { background-color: var(--color-bg-alt); }

.network-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  margin: 32px 0 8px;
  justify-content: center;
}
.stat {
  text-align: center;
}
.stat-num {
  font-family: var(--font-heading);
  font-size: 38px;
  color: var(--color-accent);
  line-height: 1;
  display: block;
}
.stat-label {
  font-size: 13px;
  color: var(--color-text-soft);
  margin-top: 6px;
  display: block;
}

/* ---------- footer ---------- */
.site-footer {
  padding: 48px 0 64px;
  background-color: var(--color-green);
  color: #F2EAD3;
  text-align: center;
}
.site-footer p { margin: 6px 0; font-size: 14px; color: #D9CDB3; }
.site-footer .footer-title {
  font-family: var(--font-heading);
  font-size: 18px;
  color: #FAF6EB;
}
.site-footer a { color: #E8B84E; }

/* ---------- small utilities ---------- */
.center { text-align: center; }
.muted { color: var(--color-text-soft); font-size: 14px; }
.seal {
  display: inline-block;
  margin-top: 24px;
  padding: 6px 14px;
  border: 1px solid var(--color-line);
  border-radius: 999px;
  font-size: 12px;
  color: var(--color-text-soft);
  background-color: #fff;
}

/* ---------- responsive ---------- */
@media (max-width: 720px) {
  body { font-size: 16px; }
  section { padding: 56px 0; }
  .hero { padding: 56px 0 48px; }
  .hero h1 { font-size: 27px; line-height: 1.6; }
  .hero-lead { font-size: 15px; }
  .site-logo { font-size: 15px; }
  /* 1ページスクロールのランディングなので、モバイルはナビ非表示でシンプルに */
  .site-header nav { display: none; }
  .site-header .inner { justify-content: center; }
  .network-stats { gap: 20px; }
  .stat-num { font-size: 32px; }
  h2 { margin-bottom: 22px; }
  .card-grid { gap: 16px; }
}
