/* =========================
   HERO / CAROUSEL 基本
========================= */

.hero-image-area{
  position: relative;
  width: 100%;
}

#carouselSlides .carousel-item{
  position: relative !important;
  height: 730px;
  overflow: hidden;
}

#carouselSlides .carousel-inner{
  height: 100%;
}

#carouselSlides .carousel-item picture,
#carouselSlides .carousel-item img{
  width: 100%;
  height: 100%;
  display: block;
}

.hero-image{
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* =========================
   HERO COPY
========================= */

.hero-copy{
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  z-index: 20;
  text-align: center;
  background: rgba(255,255,255,0.55);
  backdrop-filter: blur(8px);
  padding: 18px;
  border-radius: 16px;
  max-width: 560px;
  width: calc(100% - 32px);
  color: #111;
  box-shadow: 0 8px 30px rgba(0,0,0,0.08);
}

.hero-title{
  margin: 0 0 8px;
  font-size: 1.55rem;
  line-height: 1.35;
  font-weight: 600;
}

.hero-sub{
  margin: 0 0 12px;
  font-size: 1.05rem;
}

.hero-note{
  margin: 10px 0 0;
  font-size: .85rem;
  opacity: .85;
}

.hero-cta{
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

.hero-global{
  margin-top: 10px;
  font-size: 0.9rem;
  opacity: 0.8;
}

.hero-global span{
  display: block;
  font-size: 0.85rem;
  opacity: 0.7;
  margin-top: 4px;
}

.btn-overseas{
  background: #111;
  color: #fff;
  border-radius: 999px;
}

.btn-overseas:hover{
  background: #000;
  color: #fff;
}

/* =========================
   1枚目（畑）特別処理
========================= */

#carouselSlides .carousel-item.is-hero-top .hero-image.is-hero-top-img{
  transform: scale(1.18);
  transform-origin: center;
  object-position: 50% 35%;
}

#carouselSlides .carousel-item.is-hero-top::after{
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.20);
  z-index: 10;
  pointer-events: none;
}

/* =========================
   個別ズーム
========================= */

#carouselSlides .hero-image.is-zoom-product{
  transform: scale(1.40);
  transform-origin: center;
}

#carouselSlides .hero-image.is-zoom-027,
#carouselSlides .hero-image.is-zoom-making{
  transform: scale(1.28);
  transform-origin: center;
  object-position: 50% 35%;
}

/* =========================
   1枚目コピー切替
========================= */

.hero-copy-common{ display: block; }
.hero-copy-top{ display: none; }

#carouselSlides.is-first .hero-copy-top{ display: block; }
#carouselSlides.is-first + .hero-copy-common{ display: none; }

#carouselSlides:not(.is-first) .hero-copy-top{ display: none; }
#carouselSlides:not(.is-first) + .hero-copy-common{ display: block; }

/* =========================
   今月限定セール導線
========================= */

.campaign-box{
  margin: 28px auto 36px;
  max-width: 1100px;
  padding-left: 20px;
  padding-right: 20px;
}

.campaign-inner{
  background: linear-gradient(135deg, #fff8f1 0%, #fff1df 100%);
  border: 1px solid #f0dcc2;
  border-radius: 20px;
  padding: 28px 24px;
  text-align: center;
  box-shadow: 0 8px 24px rgba(0,0,0,0.06);
}

.campaign-label{
  display: inline-block;
  margin-bottom: 12px;
  padding: 6px 12px;
  border-radius: 999px;
  background: #8b5e3c;
  color: #fff;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: .05em;
}

.campaign-title{
  margin: 0 0 12px;
  font-size: 2rem;
  line-height: 1.3;
  font-weight: 700;
  color: #3d2a1e;
}

.campaign-text{
  margin: 0 auto 18px;
  max-width: 760px;
  font-size: 1rem;
  line-height: 1.8;
  color: #4b3a2f;
}

.campaign-buttons{
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

/* =========================
   コンテナ最大幅
========================= */

.container,
.container-xl,
.container-lg{
  max-width: 1100px;
  margin: 0 auto;
  padding-left: 20px;
  padding-right: 20px;
}

.key-text,
.news-board,
.featured-content{
  max-width: 1100px;
  margin-left: auto;
  margin-right: auto;
}

.key-text p,
.news-body{
  max-width: 780px;
  margin-left: auto;
  margin-right: auto;
}

.news-board{
  max-width: 820px;
  margin-left: auto;
  margin-right: auto;
}

.featured-content .card-text{
  max-width: 32em;
}

/* =========================
   人気商品：3列・中央揃え
========================= */

.shop-items-list{
  justify-content: center !important;
}

.shop-items-list > .col{
  flex: 0 0 auto !important;
  width: 33.3333% !important;
  max-width: 360px !important;
}

/* =========================
   こだわり3枚：3列・中央揃え
========================= */

.featured-content{
  display: flex !important;
  flex-wrap: wrap !important;
  justify-content: center !important;
  margin-left: auto !important;
  margin-right: auto !important;
  max-width: 1100px !important;
}

.featured-content > .col,
.featured-content > article.col{
  flex: 0 0 auto !important;
  width: calc(33.3333% - 24px) !important;
  max-width: 340px !important;
  padding-left: 12px !important;
  padding-right: 12px !important;
}

/* =========================
   スマホ最適化
========================= */

@media (max-width: 767px){

  #carouselSlides .carousel-item{
    height: 520px;
  }

  .hero-copy{
    top: 12px;
    bottom: 12px;
    left: 50%;
    transform: translateX(-50%);
    padding: 12px 14px;
    width: calc(100% - 24px);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }

  .hero-title{
    font-size: 1.1rem;
    line-height: 1.35;
    margin: 0 0 6px;
  }

  .hero-sub{
    font-size: 0.95rem;
    margin: 0 0 8px;
  }

  .hero-cta{
    flex-direction: column;
    gap: 10px;
  }

  .hero-cta .btn{
    width: 100%;
    font-size: 1rem;
    padding: 12px 0;
  }

  .hero-note{
    font-size: 0.75rem;
    line-height: 1.4;
    margin: 10px 0 0;
  }

  .campaign-box{
    margin: 20px 0 28px;
  }

  .campaign-inner{
    padding: 20px 16px;
  }

  .campaign-title{
    font-size: 1.4rem;
  }

  .campaign-text{
    font-size: 0.95rem;
    line-height: 1.7;
  }

  .campaign-buttons{
    flex-direction: column;
  }

  .campaign-buttons .btn{
    width: 100%;
  }

  /* 人気商品：スマホは2列 */
  .shop-items-list > .col{
    width: 50% !important;
    max-width: none !important;
  }

  /* こだわり：スマホは1列 */
  .featured-content > .col,
  .featured-content > article.col{
    width: 100% !important;
    max-width: none !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
  }

}