/* スタティックヒーローエリア */
.page-hero.spa-hero {
  position: relative;
  height: 90vh;
  background: url('images/haikeisuraido05.jpg') center/cover no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Base Styles for マルシェページ */
.marche-page {
  background-color: #fff;
  padding-bottom: 4rem;
}

/* マルシェ紹介セクション */
.marche-intro {
  padding: 4rem 1rem;
  text-align: center;
  background-color: #fdfdfd;
}
.marche-intro .container {
  max-width: 1200px;
  margin: 0 auto;
}
.marche-intro h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  color: #333;
}
.marche-intro p {
  font-size: 1.2rem;
  line-height: 1.6;
  color: #555;
}

/* おすすめ商品セクション */
.marche-products {
  padding: 3rem 1rem;
  background-color: #f7f7f7;
}
.marche-products .container {
  max-width: 1200px;
  margin: 0 auto;
}
.marche-products h3 {
  font-size: 2rem;
  text-align: center;
  margin-bottom: 2rem;
  color: #333;
}
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
}
.product-item {
  background-color: #fff;
  border: 1px solid #ddd;
  border-radius: 8px;
  overflow: hidden;
  text-align: center;
  padding: 1rem;
  transition: box-shadow 0.3s ease;
}
.product-item:hover {
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}
.product-item img {
  width: 100%;
  height: auto;
  border-bottom: 1px solid #ddd;
  margin-bottom: 1rem;
}
.product-item h4 {
  font-size: 1.5rem;
  margin: 0.5rem 0;
  color: #222;
}
.product-item p {
  font-size: 1rem;
  color: #666;
}

/* 店舗情報セクション */
.marche-info {
  background-color: #fff;
  padding: 4rem 1rem;
}
.marche-info .container {
  max-width: 800px;
  margin: 0 auto;
}
.marche-info h2 {
  font-size: 2rem;
  margin-bottom: 1.5rem;
  text-align: center;
  color: #333;
}
.marche-info .info-card {
  background-color: #f9f9f9;
  padding: 2rem;
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}
.marche-info .info-card h3 {
  font-size: 1.8rem;
  margin-bottom: 1rem;
  color: #333;
}
.marche-info .info-list {
  list-style: none;
  padding: 0;
  margin: 0 0 1.5rem 0;
}
.marche-info .info-list li {
  font-size: 1.1rem;
  line-height: 1.8;
  color: #555;
  margin-bottom: 0.8rem;
}
.marche-info .info-card p {
  font-size: 1.1rem;
  line-height: 1.8;
  color: #555;
}

/* 新規追加: 店舗案内セクション */
.store-guide {
  background-color: #f9f9f9;
  padding: 3rem 1rem;
  margin-bottom: 4rem;
}
.store-guide .container {
  max-width: 1200px;
  margin: 0 auto;
}
.store-guide h2 {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 2rem;
  color: #333;
}
.store-guide-content {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  align-items: center;
  justify-content: center;
}
.store-guide-image {
  flex: 1 1 300px;
  max-width: 500px;
}
.store-guide-image img {
  width: 100%;
  border-radius: 8px;
}
.store-guide-details {
  flex: 1 1 300px;
  max-width: 600px;
  color: #333;
}
.store-guide-details h3 {
  font-size: 1.8rem;
  margin-bottom: 1rem;
}
.store-guide-details p {
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 0.8rem;
}
.map-btn {
  display: inline-block;
  margin-top: 1rem;
  padding: 0.8rem 1.5rem;
  background-color: #008f00;
  color: #fff;
  text-decoration: none;
  border-radius: 4px;
  transition: background-color 0.3s ease;
}
.map-btn:hover {
  background-color: #006d00;
}

/* 各セクションのアニメーション */
.marche-page section {
  opacity: 0;
  transform: translateY(50px);
  transition: opacity 1s ease-out, transform 1s ease-out;
}
.marche-page section.animate {
  opacity: 1;
  transform: translateY(0);
}

/* ========================================================= */
/* Responsive adjustments */

/* ----- For screens 1024px and below ----- */
/* 1024px 以下 - Portrait */
@media (max-width: 1024px) and (orientation: portrait) {
.marche-intro {
  padding: 3.8rem 1rem;
}
.marche-intro h2 {
  font-size: 2.3rem;
}
.marche-products {
  padding: 3rem 1rem;
}
.product-item h4 {
  font-size: 1.4rem;
}
.store-guide {
  padding: 3rem 1rem;
  margin-bottom: 4rem;
}
.store-guide h2 {
  font-size: 2.3rem;
}
}

/* 1024px 以下 - Landscape */
@media (max-width: 1024px) and (orientation: landscape) {
.marche-intro {
  padding: 4rem 1.2rem;
}
.marche-intro h2 {
  font-size: 2.5rem;
}
.marche-products {
  padding: 3.2rem 1.2rem;
}
.product-item h4 {
  font-size: 1.45rem;
}
.store-guide {
  padding: 3.2rem 1.2rem;
  margin-bottom: 4.2rem;
}
.store-guide h2 {
  font-size: 2.5rem;
}
}

/* ----- For screens 768px and below ----- */
@media (max-width: 768px) {
.marche-intro {
  padding: 3rem 1rem;
}
.marche-intro h2 {
  font-size: 2rem;
}
.marche-intro p {
  font-size: 1rem;
}

.marche-products {
  padding: 2.5rem 1rem;
}
.marche-products h3 {
  font-size: 1.8rem;
}
.products-grid {
  gap: 1rem;
}
.product-item {
  padding: 0.8rem;
}
.product-item h4 {
  font-size: 1.3rem;
}
.product-item p {
  font-size: 0.9rem;
}

.marche-info {
  padding: 3rem 1rem;
}
.marche-info h2 {
  font-size: 1.8rem;
}
.marche-info .info-card {
  padding: 1.5rem;
}
.marche-info .info-card h3 {
  font-size: 1.6rem;
}
.marche-info .info-list li,
.marche-info .info-card p {
  font-size: 1rem;
}

.store-guide {
  padding: 2.5rem 1rem;
  margin-bottom: 3rem;
}
.store-guide h2 {
  font-size: 2rem;
}
.store-guide-content {
  flex-direction: column;
  gap: 1rem;
}
.store-guide-image,
.store-guide-details {
  flex: 1 1 100%;
  max-width: 100%;
  text-align: center;
}
.store-guide-details h3 {
  font-size: 1.6rem;
}
.store-guide-details p {
  font-size: 0.95rem;
}
.map-btn {
  padding: 0.6rem 1rem;
  font-size: 0.85rem;
}
}

/* Orientation for 768px and below */
/* 768px 以下 - Portrait */
@media (max-width: 768px) and (orientation: portrait) {
/* 基本768px以下設定をそのまま使用 */
.marche-intro {
  padding: 3rem 1rem;
}
.marche-intro h2 {
  font-size: 2rem;
}
.marche-products {
  padding: 2.5rem 1rem;
}
.product-item h4 {
  font-size: 1.3rem;
}
.store-guide {
  padding: 2.5rem 1rem;
  margin-bottom: 3rem;
}
}
/* 768px 以下 - Landscape */
@media (max-width: 768px) and (orientation: landscape) {
/* Landscape時は若干大きめに調整 */
.marche-intro {
  padding: 3.2rem 1rem;
}
.marche-intro h2 {
  font-size: 2.1rem;
}
.marche-products {
  padding: 2.7rem 1rem;
}
.product-item h4 {
  font-size: 1.35rem;
}
.store-guide {
  padding: 2.7rem 1rem;
  margin-bottom: 3.2rem;
}
}

/* ----- For screens 480px and below ----- */
@media (max-width: 480px) {
.marche-intro {
  padding: 2.5rem 0.5rem;
}
.marche-intro h2 {
  font-size: 1.8rem;
}
.marche-intro p {
  font-size: 0.95rem;
}

.marche-products {
  padding: 2rem 0.5rem;
}
.marche-products h3 {
  font-size: 1.6rem;
}
.product-item {
  padding: 0.5rem;
}
.product-item h4 {
  font-size: 1.2rem;
}
.product-item p {
  font-size: 0.85rem;
}

.marche-info {
  padding: 2.5rem 0.5rem;
}
.marche-info h2 {
  font-size: 1.6rem;
}
.marche-info .info-card {
  padding: 1.2rem;
}
.marche-info .info-card h3 {
  font-size: 1.5rem;
}
.marche-info .info-list li,
.marche-info .info-card p {
  font-size: 0.95rem;
}

.store-guide {
  padding: 2rem 0.5rem;
  margin-bottom: 2.5rem;
}
.store-guide h2 {
  font-size: 2rem;
}
.store-guide-details h3 {
  font-size: 1.4rem;
}
.store-guide-details p {
  font-size: 0.9rem;
}
.map-btn {
  padding: 0.6rem 1rem;
  font-size: 0.85rem;
}
}

/* Orientation for 480px and below */
/* 480px 以下 - Portrait */
@media (max-width: 480px) and (orientation: portrait) {
/* 基本480px以下設定をそのまま使用 */
.marche-intro {
  padding: 2.5rem 0.5rem;
}
.marche-intro h2 {
  font-size: 1.8rem;
}
.marche-products {
  padding: 2rem 0.5rem;
}
.product-item h4 {
  font-size: 1.2rem;
}
.store-guide {
  padding: 2rem 0.5rem;
  margin-bottom: 2.5rem;
}
}
/* 480px 以下 - Landscape */
@media (max-width: 480px) and (orientation: landscape) {
/* Landscape時は若干大きめに調整 */
.marche-intro {
  padding: 2.7rem 0.5rem;
}
.marche-intro h2 {
  font-size: 1.9rem;
}
.marche-products {
  padding: 2.2rem 0.5rem;
}
.product-item h4 {
  font-size: 1.25rem;
}
.store-guide {
  padding: 2.2rem 0.5rem;
  margin-bottom: 2.7rem;
}
}
