/* ===============================
   ベーススタイル
================================= */
body {
  margin: 0;
  padding: 0;
  font-family: 'Kiwi Maru', serif;
  font-size: 18px;
  line-height: 1.8;
  color: #444;
  background-color: #f9f9f7;;
}

/* ===============================
   ヘッダー関連
================================= */
header {
 width: 100%;               /* 横幅をブラウザいっぱいに */
  height: 140px;             /* 高さはお好みに応じて */
  text-align: center;
  display: flex;
  color: #4b6043;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  margin-bottom: 2em;
}

.hero-section h1 {
  font-size: 1.4rem;            /* やさしい存在感に */
  line-height: 1.5;             /* 行間でゆとりを持たせる */
  letter-spacing: 0.03em;       /* 文字間のゆるやかな広がりで、ふんわり感を */
}


header ul {
  background-color: rgba(255, 255, 255, 0.6); /* 白に透け感（露のヴェール） */
  border-radius: 12px;
  padding: 0.5em 1em;
  display: flex;
  list-style: none;
  padding: 0;
  margin: 0;


}

header li {
  padding: 0.6em 1.2em;
  border-radius: 12px;
  font-weight: bold;
  color: #3cbf3c;
  background-color: #fffdf5;
  box-shadow: 0 4px 6px rgba(0,0,0,0.1); /* ふわっと影を落とす */
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

header li:hover {
  transform: translateY(-2px);          /* ふわっと持ち上がる感覚 */
  box-shadow: 0 6px 8px rgba(0,0,0,0.2); /* 影に濃淡をつけてリアルに */
  background-color: #e4fbd5;
  color: #2b5e2a;
}

@media (max-width: 600px) {
  header {
    height: auto;
    flex-direction: column;
    padding: 1em;
  }
  header ul {
    flex-direction: column;
    gap: 0.5em;
    padding: 1em;
  }
}

.farm-scene {
  display: flex;
  flex-wrap: wrap;         /* 折り返し可能にすることで自然な流れに */
  justify-content: center; /* 写真群を中央に整列 */
  gap: 24px;               /* 写真間のゆるやかな間隔 */
  padding: 2em;
}

.scene-item {
  width: 220px;            /* 写真の大きさに応じて調整可能 */
  text-align: center;
  font-size: 14px;
  color: black;
}

.scene-item img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
  object-fit: cover;
}

/* ===============================
   スクロールギャラリー関連
================================= */
#gallery {
  overflow: hidden;
  background: url('昭和風の木目テクスチャ画像') repeat;
  border-radius: 24px;
  box-shadow: 0 10px 24px rgba(0,0,0,0.4);
  border: 8px solid #5a3e2b;
}

.track {
  display: flex;
  gap: 16px;
  animation: scroll-loop 60s linear infinite; /* ←ここで速度調整！ */
}

/* 画像のサイズを画面幅に応じて変化させる */
#gallery img {
  height: 30vw;              /* 画面幅の30%を目安に高さを調整 */
  max-height: 180px;         /* 高すぎないよう上限を設定 */
  border-radius: 8px;
  object-fit: cover;
  flex-shrink: 0;
}

/* 画像列の幅を調整して無限スクロール */
@keyframes scroll-loop {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

@media (max-width: 600px) {
  #gallery {
    border-width: 4px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
  }
}

/* ===============================
   農園紹介
================================= */
.farm-info {
  background-image: url('your-image.jpg'); /* ← 写真のパスに置き換えてください */
  background-size: cover;
  background-position: center;
  padding: 60px;
  color: #fff; /* 背景に合わせて文字色も調整できます */
}

.farm-info h1 {
  font-size: 2em;
  margin-bottom: 1em;
  color: #6a8e4d;
  font-family: 'Kiwi Maru', serif;
  text-align: center;
}

.farm-info p {
  font-size: 1.2em;
  line-height: 1.8;
  color: #444;
  font-family: 'Kiwi Maru', serif;
  text-align: center;
}

/* footer部分 */
.site-footer {
  background-color: #f5f5e9;
  padding: 2em;
  text-align: center;
  font-family: sans-serif;
  color: #3d6030;
}

.site-footer .message {
  margin-bottom: 1em;
  font-size: 1rem;
  line-height: 1.6;
}

.footer-nav ul {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;       /* スマホ対応で折り返しも可能に */
  gap: 1.5em;             /* 項目にゆったりとした余白 */
  list-style: none;
  padding: 0;
  margin: 1em 0;
}

.footer-nav a {
  color: #3d6030;
  text-decoration: none;
  font-weight: bold;
  font-size: 0.95rem;
}

.footer-nav a:hover {
  text-decoration: underline;
}
