@charset "utf-8";


/* FUTURESHOP内のフォントファイルを定義 */
@font-face {
    font-family: 'My Imperial Script';
    /* 置換文字を直接url()の中に記述します */
    src: url('https://epicurean.itembox.cloud/item/ImperialScript-Regular.ttf') format('truetype');
    font-style: normal;
    font-weight: normal;
    font-display: swap;
}


  /* -----------------------------------------------------------------
     共通・コンテナ
  ----------------------------------------------------------------- */
  .champagne-search-container {
    max-width: 1200px;
    margin: 40px auto;
    padding: 0 20px;
    font-family: "vd-logomin-r", "Yu Mincho", "YuMincho", "Hiragino Mincho ProN",
    color: #1a1a1a;
  }

/* -----------------------------------------------------------------
     アコーディオン制御（チェックボックス非表示）
  ----------------------------------------------------------------- */
  .accordion-check {
    display: none;
  }

  /* セクションタイトル（中央揃え・右端アイコン用の3段構造） */
  .champagne-search-title {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0;
    padding-bottom: 20px;
    border-bottom: 1px solid #eaeaea;
    cursor: pointer;
    user-select: none;
    transition: border-color 0.3s ease;
  }

  /* タイトルテキストを完全に中央に配置するためのダミースペース */
  .champagne-search-title::before {
    content: '';
    width: 24px; /* アイコンの幅と同じサイズにして左右のバランスを取る */
    display: block;
  }

  .champagne-search-title span {
    text-align: center;
    font-size: 20px;
    font-weight: bold;
    letter-spacing: 0.15em;
  }

  /* -----------------------------------------------------------------
     「＋」「ー」アイコン（サイズを大きく変更）
  ----------------------------------------------------------------- */
  .accordion-icon {
    position: relative;
    width: 24px;   /* 16px から 24px に拡大 */
    height: 24px;  /* 16px から 24px に拡大 */
    display: block;
  }
  
  /* 横線（＋とーの共通パーツ） */
  .accordion-icon::before,
  /* 縦線（＋だけのパーツ） */
  .accordion-icon::after {
    content: '';
    position: absolute;
    background-color: #d4af37; /* シャンパンゴールド */
    transition: transform 0.3s ease, opacity 0.3s ease;
  }
  
  /* 横線 */
  .accordion-icon::before {
    top: 11px; /* 24pxの中央 */
    left: 0;
    width: 24px;
    height: 2px;
  }
  
  /* 縦線 */
  .accordion-icon::after {
    top: 0;
    left: 11px; /* 24pxの中央 */
    width: 2px;
    height: 24px;
  }

  /* -----------------------------------------------------------------
     開閉時の動き
  ----------------------------------------------------------------- */
  .accordion-content {
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: max-height 0.4s ease, opacity 0.3s ease, margin 0.4s ease;
    margin-top: 0;
  }

  /* 開いた（チェック時）のスタイル */
  .accordion-check:checked ~ .accordion-content {
    max-height: 3000px;
    opacity: 1;
    margin-top: 40px;
  }

  .accordion-check:checked ~ .champagne-search-title {
    border-bottom-color: #d4af37;
  }

  /* 開いた時に縦線を回転・消去して「ー」にする */
  .accordion-check:checked ~ .champagne-search-title .accordion-icon::after {
    transform: rotate(90deg);
    opacity: 0;
  }
  .accordion-check:checked ~ .champagne-search-title .accordion-icon::before {
    transform: rotate(180deg);
  }

  /* -----------------------------------------------------------------
     中身：味わいグループのグリッド配置
  ----------------------------------------------------------------- */
  .taste-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 30px;
  }

  /* 味わい分類カード */
  .taste-card {
    background-color: #fff;
    border: 1px solid #eaeaea;
    padding: 25px;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
  }
  .taste-card:hover {
    border-color: #c5a059;
    box-shadow: 0 4px 15px rgba(197, 160, 89, 0.08);
  }

  .taste-name {
    font-size: 15px;
    font-weight: 600;
    line-height: 1.6;
    letter-spacing: 0.05em;
    margin-bottom: 20px;
    color: #222;
    min-height: 48px;
    display: flex;
    align-items: center;
    border-left: 2px solid #d4af37;
    padding-left: 12px;
  }

  /* 価格帯・ボトルタイプ共通ボタン */
  .price-btn-group {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }

  .price-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #faf9f6;
    border: 1px solid #e1ded8;
    color: #4a4a4a;
    font-size: 13px;
    font-weight: 400;
    letter-spacing: 0.03em;
    padding: 12px 10px;
    text-decoration: none;
    transition: all 0.3s ease;
  }

  .price-btn.full-width {
    grid-column: span 2;
    background-color: #1a1a1a;
    border-color: #1a1a1a;
    color: #fff;
  }

  .price-btn:hover {
    background-color: #c5a059;
    border-color: #c5a059;
    color: #fff;
    opacity: 0.95;
  }
  .price-btn.full-width:hover {
    background-color: #333;
    border-color: #333;
  }

  @media (max-width: 480px) {
    .taste-grid {
      grid-template-columns: 1fr;
      gap: 20px;
    }
    .taste-name {
      min-height: auto;
      margin-bottom: 15px;
    }
    .champagne-search-title {
      font-size: 17px;
    }
  }
  
  

/* 全体コンテナ */
.champagne-slider-unique {
  position: relative;
  max-width: 1200px;
  margin: 40px auto;
  padding: 0; /* センターモードの均等見切れを実現するため、左右余白はJavaScript側に委ねます */
  box-sizing: border-box;
  font-family: "vd-logomin-r", "Yu Mincho", "YuMincho", "Hiragino Mincho ProN",
  background-color: #fff;
  overflow: hidden; /* コンテナ外のはみ出しは隠す */
}

/* ヘッダーエリア（タイトルとNEWバッジ） */
.csu-header {
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  border-bottom: 1px solid #d4c4a8; /* 上品なシャンパンゴールド */
  padding-bottom: 8px;
  margin-bottom: 25px;
  margin-left: 10px;  /* コンテナ端からの余白 */
  margin-right: 40px; /* NEWバッジが大きくはみ出るため、右側のマージンを広めに確保 */
}
.csu-title {
  font-size: 22px;
  font-weight: 500;
  color: #111;
  letter-spacing: 0.08em;
  margin: 0;
}
.csu-badge {
  position: absolute;
  right: -15px;
  bottom: -34px;
  color: #bfa77a;
  font-size: 100px; /* 編集いただいたダイナミックなサイズ */
  font-weight: 300; /* 編集いただいた細身のウェイト設定 */
  letter-spacing: 0.05em;
  padding: 4px 14px;
  border-radius: 2px;
  z-index: 10;
  font-family: 'My Imperial Script', cursive !important;
  line-height: 1;
  text-transform: none;
}

/* スライダー外枠（左右の均等見切れ用ステージ） */
.csu-slider-outer {
  overflow: visible; /* トラックのはみ出しを許容 */
  position: relative;
  width: 100%;
}
.csu-slider-track {
  display: flex;
  transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
  cursor: grab;
  user-select: none;
  width: 100%;
}
.csu-slider-track:active {
  cursor: grabbing;
}

/* 商品カード */
.csu-card {
  box-sizing: border-box;
  padding: 0 15px; /* 編集いただいたカード間の余白設定 */
  text-align: center;
  transition: opacity 0.4s ease;
  opacity: 0.4; /* 両脇に見切れるカードを少し薄くして中央を引き立てます */
}
.csu-card.csu-active {
  opacity: 1; /* 画面中央にアクティブ表示されているカードはくっきり */
}
.csu-link {
  text-decoration: none;
  display: block;
  color: #333;
}

/* 画像エリア */
.csu-img-box {
  width: 100%;
  background-color: #fafafa;
  margin-bottom: 15px;
  position: relative;
  overflow: hidden;
  border: 1px solid #f0f0f0;
}
.csu-img-box img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.5s ease;
}
.csu-link:hover .csu-img-box img {
  transform: scale(1.03); /* 高級感を損なわない微細なズーム効果 */
}

/* 商品情報エリア */
.csu-info {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.csu-name {
  width: 90%; /* 画像幅の90% */
  margin: 0 auto;
  font-size: 18px; /* 編集いただいた大きめのサイズ */
  line-height: 1.6;
  color: #333;
  text-align: center;
  
  /* 2行制限・3点リーダー処理 */
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
  height: 3.2em; /* レイアウト崩れ防止のための高さ固定 */
}
.csu-price {
  margin-top: 10px;
  font-size: 16px;
  font-weight: 600;
  color: #a98e59; /* 金額はゴールドブラウンで上品に */
  letter-spacing: 0.05em;
}
.csu-tax {
  font-size: 11px;
  color: #777;
  font-weight: normal;
}

/* 💻 レスポンシブ設定（PC表示：768px以上） */
@media screen and (min-width: 768px) {
  .csu-title {
    font-size: 26px;
  }
  .csu-header {
    margin-left: 10px;
  }
  /* カード自体の幅（%）やセンター配置のロジックは、JS側が動的に計算します */

/* ── PC表示時のみ、3枚ともベールを外す（不透明度100%）ためのCSS上書き ── */
  .champagne-slider-unique .csu-card {
    opacity: 1 !important; /* 全カードをくっきり表示 */
  }
}

