/* リセット・基本 */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --green:      #4a7c59;
  --green-dark: #2e5339;
  --green-light:#f0f5f1;
  --beige:      #f7f3ed;
  --brown:      #6b4c2a;
  --text:       #2d2d2d;
  --text-light: #666;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Zen Maru Gothic', sans-serif;
  color: var(--text);
  background: #fff;
  line-height: 1.8;
}

/* ヘッダー */
header {
  position: fixed;
  top: 0; left: 0; right: 0;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid #e8e0d5;
  z-index: 100;
}
.header-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 2rem;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.logo {
  font-family: 'Zen Maru Gothic', sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--green-dark);
}
nav { display: flex; gap: 2rem; }
nav a {
  text-decoration: none;
  color: var(--text-light);
  font-size: 0.9rem;
  transition: color 0.2s;
}
nav a:hover { color: var(--green); }

/* ヒーロー */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 80px 2rem 2rem;
  overflow: hidden;
  background: #1a2e1d;
}

/* 動画を中央80%だけ表示 */
.hero-video-wrap {
  position: absolute;
  inset: -12.5%;  /* (100% - 80%) / 2 = 10% → 少し余裕を持たせて12.5% */
  overflow: hidden;
}
.hero-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.45);
}
.hero-content {
  position: relative;
  z-index: 1;
}
.hero-sub {
  color: #b8d9be;
  font-size: clamp(0.8rem, 2.5vw, 1rem);
  letter-spacing: 0.12em;
  margin-bottom: 1rem;
}
.hero h1 {
  font-family: 'Zen Maru Gothic', sans-serif;
  font-size: clamp(1.8rem, 5vw, 3.5rem);
  color: #fff;
  line-height: 1.6;
  margin-bottom: 2rem;
  font-weight: 700;
}
.btn {
  display: inline-block;
  padding: 0.8rem 2.5rem;
  background: var(--green);
  color: #fff;
  text-decoration: none;
  border-radius: 2px;
  font-size: 0.95rem;
  letter-spacing: 0.05em;
  transition: background 0.2s;
  border: none;
  cursor: pointer;
}
.btn:hover { background: var(--green-dark); }

/* セクション共通 */
.section { padding: 5rem 2rem; }
.section-alt { background: var(--beige); }
.container { max-width: 1000px; margin: 0 auto; }
.section-title {
  font-family: 'Zen Maru Gothic', sans-serif;
  font-size: clamp(1.5rem, 4vw, 2rem);
  color: var(--green-dark);
  text-align: center;
  margin-bottom: 1rem;
}
.section-title::after {
  content: '';
  display: block;
  width: 40px;
  height: 2px;
  background: var(--green);
  margin: 0.8rem auto 0;
}
.section-lead {
  text-align: center;
  color: var(--text-light);
  margin-bottom: 3rem;
  line-height: 2;
}

/* 特徴グリッド */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}
.feature-item {
  background: var(--green-light);
  padding: 2rem;
  border-radius: 4px;
  text-align: center;
}
.feature-icon { font-size: 2.5rem; margin-bottom: 1rem; }
.feature-item h3 {
  font-family: 'Zen Maru Gothic', sans-serif;
  color: var(--green-dark);
  margin-bottom: 0.8rem;
}

/* お米グリッド */
.rice-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}
.rice-card {
  background: #fff;
  border: 1px solid #e8e0d5;
  border-radius: 4px;
  padding: 2rem;
  text-align: center;
}
.rice-img { font-size: 3rem; margin-bottom: 1rem; }
.rice-card h3 {
  font-family: 'Zen Maru Gothic', sans-serif;
  color: var(--green-dark);
  font-size: 1.3rem;
  margin-bottom: 0.8rem;
}
.rice-card p { color: var(--text-light); }

/* 生産者 */
.story-block {
  max-width: 700px;
  margin: 0 auto;
  background: var(--green-light);
  border-left: 4px solid var(--green);
  padding: 2.5rem;
  border-radius: 0 4px 4px 0;
}
.story-text p {
  margin-bottom: 1rem;
  line-height: 2;
}
.story-text p:first-child {
  font-family: 'Zen Maru Gothic', sans-serif;
  font-size: 1.2rem;
  color: var(--green-dark);
  font-weight: 700;
}
.story-name {
  text-align: right;
  color: var(--text-light);
  font-size: 0.9rem;
}

/* アクセス */
.access-info {
  text-align: center;
  font-size: 1.1rem;
  color: var(--text-light);
  line-height: 2.5;
}

/* お問い合わせ */
.contact-form {
  max-width: 600px;
  margin: 0 auto;
}
.form-group { margin-bottom: 1.5rem; }
.form-group label {
  display: block;
  margin-bottom: 0.4rem;
  font-size: 0.9rem;
  color: var(--text-light);
}
.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.8rem 1rem;
  border: 1px solid #ddd;
  border-radius: 2px;
  font-family: inherit;
  font-size: 1rem;
  outline: none;
  transition: border-color 0.2s;
}
.form-group input:focus,
.form-group textarea:focus { border-color: var(--green); }
.contact-form .btn { width: 100%; }

/* フッター */
footer {
  background: var(--green-dark);
  color: rgba(255,255,255,0.6);
  text-align: center;
  padding: 2rem;
  font-size: 0.85rem;
}

/* レスポンシブ */
@media (max-width: 768px) {
  nav { display: none; }
  .section { padding: 3rem 1.2rem; }

  /* ヒーロー スマホ */
  .hero {
    min-height: 100svh;
    padding: 80px 1.2rem 2rem;
  }
  .hero-video-wrap {
    inset: 0;
  }
  .hero-video {
    object-position: center 30%;
  }
  .hero-sub {
    font-size: 0.8rem;
  }
  .hero h1 {
    font-size: 1.8rem;
    line-height: 1.7;
  }
  .btn {
    padding: 0.75rem 2rem;
    font-size: 0.9rem;
  }
}
