@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@400;500;700&family=Noto+Serif+JP:wght@400;600;700&display=swap');

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

:root {
  --green:       #4a7c3f;
  --green-dark:  #355c2d;
  --green-light: #8ab57a;
  --green-pale:  #eef4eb;
  --brown:       #6b4c2a;
  --cream:       #faf8f3;
  --text:        #3a3028;
  --text-light:  #6b6056;
  --border:      #d9d0c4;
}

body {
  font-family: 'Noto Sans JP', sans-serif;
  background: var(--cream);
  color: var(--text);
  line-height: 1.7;
}

img { max-width: 100%; display: block; }
a  { text-decoration: none; color: inherit; }

/* ===== ヘッダー ===== */
header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: #fff;
  border-bottom: 1px solid var(--border);
  padding: 12px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: 'Noto Serif JP', serif;
  font-weight: 700;
  font-size: 1rem;
  line-height: 1.3;
  color: var(--green-dark);
}

.logo-icon { font-size: 1.6rem; }

nav { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }

nav a {
  font-size: 0.88rem;
  padding: 6px 10px;
  color: var(--text);
  border-radius: 4px;
  transition: color 0.2s;
}
nav a:hover { color: var(--green); }

.btn {
  display: inline-block;
  padding: 10px 20px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.88rem;
  cursor: pointer;
  transition: opacity 0.2s, transform 0.15s;
  border: none;
}
.btn:hover { opacity: 0.85; transform: translateY(-1px); }

.btn-primary { background: var(--green); color: #fff; }
.btn-outline  { background: transparent; color: var(--green); border: 2px solid var(--green); }

/* ===== ヒーロー ===== */
.hero {
  position: relative;
  min-height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  background: #c8d8c0;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-image: url('../images/hero.jpg');
  background-size: cover;
  background-position: center;
  filter: brightness(0.55);
}

.hero-content {
  position: relative;
  z-index: 1;
  color: #fff;
  padding: 48px 24px;
}

.hero-sub {
  font-size: 0.95rem;
  letter-spacing: 0.12em;
  margin-bottom: 16px;
  opacity: 0.9;
}

.hero-title {
  font-family: 'Noto Serif JP', serif;
  font-size: clamp(2rem, 6vw, 3.2rem);
  font-weight: 700;
  line-height: 1.35;
  margin-bottom: 16px;
}

.hero-desc {
  font-size: 1rem;
  line-height: 1.8;
  opacity: 0.9;
  margin-bottom: 32px;
}

.hero-buttons { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.hero-buttons .btn-outline { color: #fff; border-color: #fff; }

/* ===== セクション共通 ===== */
.section { padding: 72px 24px; }
.section-inner { max-width: 960px; margin: 0 auto; }

.section-title {
  font-family: 'Noto Serif JP', serif;
  font-size: 1.6rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 8px;
  color: var(--green-dark);
}

.section-title::before,
.section-title::after {
  content: '— ';
}
.section-title::after { content: ' —'; }

.section-lead {
  text-align: center;
  color: var(--text-light);
  margin-bottom: 48px;
  font-size: 0.95rem;
}

/* ===== 新着情報（トップ） ===== */
.news-section { background: #fff; }

.news-list { list-style: none; }
.news-list li {
  display: flex;
  gap: 16px;
  align-items: baseline;
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.95rem;
}
.news-list li:first-child { border-top: 1px solid var(--border); }

.news-date {
  color: var(--text-light);
  font-size: 0.85rem;
  white-space: nowrap;
  min-width: 90px;
}

.news-tag {
  background: var(--green-pale);
  color: var(--green);
  font-size: 0.75rem;
  padding: 2px 8px;
  border-radius: 999px;
  white-space: nowrap;
}

/* ===== 商品カード ===== */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 32px;
}

.product-card {
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0,0,0,0.07);
  transition: transform 0.2s;
}
.product-card:hover { transform: translateY(-4px); }

.product-img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  background: var(--green-pale);
}

.product-img-placeholder {
  width: 100%;
  height: 220px;
  background: linear-gradient(135deg, var(--green-pale), #d4e8cd);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
}

.product-body { padding: 24px; }

.product-tag {
  display: inline-block;
  background: var(--green-pale);
  color: var(--green);
  font-size: 0.78rem;
  padding: 3px 10px;
  border-radius: 999px;
  margin-bottom: 10px;
}

.product-name {
  font-family: 'Noto Serif JP', serif;
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--text);
}

.product-desc {
  font-size: 0.9rem;
  color: var(--text-light);
  line-height: 1.75;
  margin-bottom: 20px;
}

/* ===== 農園について ===== */
.about-section { background: var(--green-pale); }

.about-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.about-img {
  border-radius: 16px;
  overflow: hidden;
  height: 320px;
  background: linear-gradient(135deg, #b8d4b0, #8ab57a);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 4rem;
}

.about-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-label {
  font-size: 0.85rem;
  color: var(--green);
  font-weight: 700;
  letter-spacing: 0.1em;
  margin-bottom: 12px;
}

.about-title {
  font-family: 'Noto Serif JP', serif;
  font-size: 1.8rem;
  font-weight: 700;
  line-height: 1.4;
  margin-bottom: 20px;
  color: var(--green-dark);
}

.about-text {
  font-size: 0.95rem;
  color: var(--text-light);
  line-height: 1.9;
  margin-bottom: 28px;
}

/* ===== フッター ===== */
footer {
  background: var(--green-dark);
  color: rgba(255,255,255,0.85);
  padding: 48px 24px 24px;
}

.footer-inner {
  max-width: 960px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 32px;
  border-bottom: 1px solid rgba(255,255,255,0.15);
}

.footer-logo {
  font-family: 'Noto Serif JP', serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 12px;
}

.footer-desc { font-size: 0.88rem; line-height: 1.8; }

.footer-nav h4 {
  color: #fff;
  font-size: 0.9rem;
  margin-bottom: 12px;
}

.footer-nav ul { list-style: none; }
.footer-nav li { margin-bottom: 8px; }
.footer-nav a { font-size: 0.85rem; opacity: 0.8; transition: opacity 0.2s; }
.footer-nav a:hover { opacity: 1; }

.footer-bottom {
  max-width: 960px;
  margin: 24px auto 0;
  text-align: center;
  font-size: 0.8rem;
  opacity: 0.6;
}

/* ===== お問い合わせフォーム ===== */
.contact-form {
  background: #fff;
  border-radius: 16px;
  padding: 40px;
  max-width: 640px;
  margin: 0 auto;
  box-shadow: 0 2px 12px rgba(0,0,0,0.07);
}

.form-group { margin-bottom: 24px; }

.form-group label {
  display: block;
  font-size: 0.9rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--text);
}

.required {
  color: #c0392b;
  margin-left: 4px;
  font-size: 0.8rem;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid var(--border);
  border-radius: 8px;
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 0.95rem;
  background: var(--cream);
  color: var(--text);
  transition: border-color 0.2s;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--green);
}

.form-group textarea { height: 140px; resize: vertical; }

.form-submit { text-align: center; margin-top: 32px; }
.form-submit .btn { padding: 14px 48px; font-size: 1rem; }

/* ===== プライバシーポリシー ===== */
.policy-content {
  background: #fff;
  border-radius: 16px;
  padding: 48px;
  max-width: 760px;
  margin: 0 auto;
  box-shadow: 0 2px 12px rgba(0,0,0,0.07);
}

.policy-content h2 {
  font-family: 'Noto Serif JP', serif;
  font-size: 1.2rem;
  color: var(--green-dark);
  margin: 32px 0 12px;
  padding-left: 12px;
  border-left: 4px solid var(--green);
}

.policy-content p,
.policy-content li {
  font-size: 0.92rem;
  color: var(--text-light);
  line-height: 1.85;
  margin-bottom: 10px;
}

.policy-content ul { padding-left: 1.4em; }
.policy-content .updated { font-size: 0.85rem; color: var(--text-light); margin-bottom: 24px; }

/* ===== レスポンシブ（スマホ対応） ===== */
@media (max-width: 768px) {
  header { padding: 10px 16px; }
  nav a { display: none; }
  nav .btn { display: inline-block; }

  .hero { min-height: 60vh; }
  .hero-title { font-size: 1.9rem; }

  .about-inner { grid-template-columns: 1fr; }
  .about-img { height: 220px; }

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

  .contact-form { padding: 24px 20px; }
  .policy-content { padding: 28px 20px; }
}
