/* メインイメージ */
.fv-wrapper {
  position: relative;
  width: 100%;
  height: 450px; /* 必要に応じて調整 */
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  padding-bottom: 80px; /* ロゴ帯の高さ分だけ余白を */
  margin-bottom: 150px;
}

.fv-inner {
  position: absolute;
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  color: #333;
  z-index: 2;
}

.fv-text h2 {
  font-size: 44px !important;
  line-height: 1.5;
  margin-bottom: 0.5em;
  font-family: "Zen Old Mincho", serif;
  letter-spacing: 5px;
}

.fv-text p {
  font-size: 24px;
  color: #555;
  font-family: "Zen Old Mincho", serif;
  letter-spacing: 4px;
}

/* 背景画像切り替え（PC） */
@media screen and (min-width: 768px) {
  .fv-wrapper {
    background-image: url('https://img21.shop-pro.jp/PA01514/023/etc_base64/ZnYtYmctcGM.jpg?cmsp_timestamp=20250524182355');
  }
}

/* 背景画像切り替え（SP） */
@media screen and (max-width: 767px) {
  .fv-wrapper {
    background-image: url('https://img21.shop-pro.jp/PA01514/023/etc_base64/ZnYtYmctc3A.jpg?cmsp_timestamp=20250524182355');
    height: 400px; /* 必要に応じて調整 */
  }
  .sp-only {
    display: inline;
  }
	.fv-text h2 {
	  font-size: 30px !important;
	}
	
	.fv-text p {
	  font-size: 18px;
	}
}

/* PCでのみ改行タグを非表示 */
@media screen and (min-width: 768px) {
  .sp-only {
    display: none;
  }
}

/* ロゴスクロール */
.logo-carousel-wrapper {
  position: absolute;
  bottom: -40px; /* 少し下にはみ出す */
  
  width: 100vw; /* ← ブラウザ幅に強制 */
  z-index: 2;
}

.logo-carousel {
  width: 100%;
  overflow: hidden;
  display: flex;
  justify-content: center;
}

.logo-track {
  display: flex;
  gap: 50px;
  will-change: transform;
  width: max-content;
  box-sizing: border-box;
  transform: translateX(0); /* JSで上書きされるので初期位置でも中央になる */
  align-items: center;     /* 縦方向の中央揃え */
}

.logo-track img {
  height: 80px;
  flex-shrink: 0;
  object-fit: contain;
}
.logo-track img.small-1 {
  height: 50px;
}
.logo-track img.small-2 {
  height: 40px;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: scale(0.98);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

.fade-in {
  animation: fadeIn 0.8s ease-out;
}

/* overlay-card */
.overlay-card {
  background-size: cover;
  background-position: center;
  height: 280px;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}

.overlay-card:hover {
  cursor: pointer;
  text-decoration: none;
}

.overlay-content {
  position: relative;
  z-index: 2;
  padding: 20px;
}

/* ← 中央ブロックのみに背景を出す */
.overlay-box {
  position: relative;
  padding: 40px 30px;
  background-color: rgba(0, 0, 0, 0);
  transition: background-color 0.4s ease;
}

/* ← ホバーで中央だけ背景が表示 */
.overlay-card:hover .overlay-box {
  background-color: rgba(0, 0, 0, 0.5);
}

.overlay-card .overlay-box .en{
	font-family: "Jost", sans-serif;
	letter-spacing: 2px;
	font-weight: 400;
	font-size: 14px;
}

.overlay-card .overlay-box .title{
  font-family: "Zen Old Mincho", serif;
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 5px;
  line-height: 1.6;
}

.divider {
  width: 30px;
  height: 2px;
  background-color: white;
  margin: 8px auto;
}

@media screen and (max-width: 768px) {
	.overlay-card {
		height: 206px;
	}
	.overlay-content {
	  padding: 20px 0;
	}
	.overlay-box{
		padding: 20px 10px; 
	}
	.overlay-card .overlay-box .en{
		font-size: 12px;
	}
	
	.overlay-card .overlay-box .title{
	  font-size: 15px;
	}
}

h2{
    border-bottom: 0;
}
h3{
    font-size: 20px !important;
}

/* 720ml, 1.8Lの商品リストの表示件数 */
/* 共通：最初に全て非表示にしておく */
.product {
  display: none;
}
/* スマホ（最大6件表示：2列 × 3行） */
@media (max-width: 767.98px) {
  .product:nth-child(-n+6) {
    display: block;
  }
}
/* タブレット以上（最大4件表示：4列 × 1行） */
@media (min-width: 768px) {
  .product:nth-child(-n+4) {
    display: block;
  }
}

.makers a{
  display: block;
  text-decoration: none;
  color: #000000;
  margin-bottom: 20px;
}
.makers a:hover{
  opacity: 0.7;
}