/* ==========================================
   ベースのスタイル設定
   ========================================== */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
body {
  font-family: 'Georgia', 'Times New Roman', 'Hiragino Mincho ProN', 'Yu Mincho', serif;
  color: #3e3a35;
  background-color: #fcfaf2;
  line-height: 1.8;
}
section {
  padding: 100px 20px;
  max-width: 1100px;
  margin: 0 auto;
}
.section-title {
  text-align: center;
  font-size: 2.2rem;
  color: #2b4c2d;
  margin-bottom: 50px;
  letter-spacing: 0.1em;
}
.section-title::after {
  content: '';
  display: block;
  width: 40px;
  height: 2px;
  background-color: #d97724;
  margin: 15px auto 0;
}

/* ==========================================
   ① ヒーロービュー（北欧カフェ風）
   ========================================== */
.hero {
  height: 100vh;
  position: relative;
  background-image: url('../images/image_88e92d92.jpg'); 
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding-left: 8%;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to right, rgba(252, 250, 242, 0.85) 30%, rgba(252, 250, 242, 0) 70%);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: flex-start;
  padding-top: 20px;
  gap: 40px;
  opacity: 0;
  transform: translateX(-20px);
  animation: fadeIn 1.5s ease forwards;
  margin-left: 10%;
}

.hero-title {
  writing-mode: vertical-rl;
  font-size: 1.8rem;
  font-weight: 600;
  color: #2b4c2d;
  letter-spacing: 0.4em;
  line-height: 1.4;
}

.hero-subtitle {
  writing-mode: vertical-rl;
  font-size: 1.1rem;
  color: #d97724;
  letter-spacing: 0.3em;
  font-weight: 500;
  padding-top: 10px;
}

@keyframes fadeIn {
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* スマホ用のレスポンシブ対応 */
@media (max-width: 768px) {
  .hero {
    justify-content: center;
    padding-left: 20px;
    padding-right: 20px;
    background-position: 35% center;
  }
  .hero::before {
    background: rgba(252, 250, 242, 0.75);
  }
  .hero-content {
    gap: 20px;
  }
  .hero-title {
    font-size: 2.2rem;
  }
  .hero-subtitle {
    font-size: 0.9rem;
  }
}

/* ==========================================
   ② 名産地紹介（格子レイアウト）
   ========================================== */
.grid-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 40px;
}
.place-card {
  background: #fff;
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(62,58,53,0.04);
  border-top: 3px solid #2b4c2d;
  transition: transform 0.3s;
}
.place-card:hover {
  transform: translateY(-5px);
}
.place-info {
  padding: 35px 30px;
}
.place-name {
  font-size: 1.25rem;
  color: #d97724;
  margin-bottom: 15px;
  font-weight: 600;
}
.place-info p {
  font-size: 0.95rem;
  color: #615c55;
  font-family: sans-serif;
}

/* ==========================================
   ③ 品種紹介（マガジンスタイル）
   ========================================== */
.variety-item {
  display: flex;
  flex-wrap: wrap;
  background: #fff;
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(62,58,53,0.04);
  margin-bottom: 60px;
}
.variety-item:nth-child(even) {
  flex-direction: row-reverse;
}
.variety-img-placeholder {
  flex: 1 1 450px;
  background: #eae6df;
  min-height: 300px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #9c9589;
  font-size: 0.9rem;
  letter-spacing: 0.1em;
}
.variety-img-placeholder img {
  width: 100%;
  height: 100%;
  max-height: 350px;
  object-fit: cover; /* 枠線に合わせて画像を綺麗にトリミング・フィットさせます */
  display: block;
}

.variety-text {
  flex: 1 1 450px;
  padding: 50px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.variety-name {
  font-size: 1.6rem;
  color: #2b4c2d;
  margin-bottom: 20px;
  position: relative;
}
.variety-text p {
  font-size: 0.95rem;
  color: #615c55;
  font-family: sans-serif;
}

/* ==========================================
   ④ アコーディオン（豆知識）
   ========================================== */
.accordion-container {
  max-width: 800px;
  margin: 0 auto;
}
.accordion-item {
  background: #fff;
  margin-bottom: 20px;
  border-radius: 4px;
  box-shadow: 0 5px 15px rgba(62,58,53,0.02);
  overflow: hidden;
}
.accordion-header {
  padding: 24px 30px;
  font-weight: 600;
  color: #2b4c2d;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.accordion-header::after {
  content: '+';
  font-size: 1.4rem;
  color: #d97724;
  transition: transform 0.3s;
}
.accordion-item.active .accordion-header::after {
  transform: rotate(45deg);
}
.accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease-out;
}
.accordion-text {
  padding: 0 30px 34px 30px;
  color: #615c55;
  font-size: 0.95rem;
  font-family: sans-serif;
}

/* フッター */
footer {
  background-color: #2b4c2d;
  color: #eae6df;
  text-align: center;
  padding: 40px;
  font-size: 0.85rem;
  letter-spacing: 0.05em;
}
