@charset "UTF-8";
/* CSS Document */


 /* 商品紹介 */
.product-flex {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  margin-bottom: 40px;
  width: 100%;
}

.product-h3 {
  font-size: 1.5rem;
    line-height: 1.5em;
  font-weight: bold;
  text-align: center;
    
}

.product-img-container {
  display: flex;
  justify-content: center; /* ← 中央寄せ */
  gap: 20px;
  width: 100%;
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
}

@media screen and (max-width: 768px) {
 .product-img-container {
  display: flex;
     flex-direction: column; /* 画像を縦に並べる */
  padding: 0 0px;
}
    
    
}

.product-img {
  flex: 1;
  max-width: 40%;
}

.product-img-02 {
  flex: 1;
  max-width: 40%;
}

.product-img img {
  width: 100%;
  height: auto;
  display: block;
border-radius: 0; /* ← 角丸なし明示 */
}

.product-img-02 img {
  width: 100%;important!
  height: auto;
  display: block;
border-radius: 0; /* ← 角丸なし明示 */
}







/* 2段目：特徴と説明（左右） */
.product-detail-flex {
  display: flex;
  justify-content: flex-start;
  align-items: flex-start;
  gap: 20px;
  margin-bottom: 0px;
  flex-wrap: nowrap; /* 横並び強制 */
}

.product-atitle {
  flex: 0 0 20%; /* 左側固定幅 */
  background-color: #a08424;
  color: #ffffff;
  padding: 0.5em 1em;
  border-radius: 10px;
  font-weight: bold;
  font-size: 1.2rem;
  text-align: center;
  box-sizing: border-box;
  display: block;
  margin: 0;
}

.product-text {
  flex: 1; /* 残りの幅を使用 */
  color: #333;
  text-align: left;
  box-sizing: border-box;
}

/* レスポンシブ対応（スマホ時は縦並び） */
@media screen and (max-width: 768px) {
  .product-flex {
    flex-direction: column;
  }
 .product-h3 {
    text-align: center;
      font-size: 1.2rem;
      
  }
  
  .product-img {
    max-width: 100%;
      
  }
    
  .product-img-02 {
    max-width: 100%;
      
  }

  .product-detail-flex {
    flex-direction: column;
      gap: 0px;
  }

  .product-atitle,
  .product-text {
    width: 100%;
    flex: none;
    text-align: left;
  }

  .product-atitle {
    margin-bottom: 1em;
  }
}
 /* 商品紹介 */


 .wide-button {
    display: block;
    width: 100%;
    background-color: #287E3A; /* 背景色はお好みで */
    color: #fff;
    text-align: center;
    padding: 16px 0;
    font-size: 1.2rem;
    font-weight: bold;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    box-shadow: none; /* 影なし明示 */
  }

  .wide-button:hover {
    background-color: #1f5e2e; /* ホバー時の色 */
  }

  .wide-button:active {
    background-color: #184d25; /* クリック時の色 */
  }







.product-charm {
  display: grid;
  grid-template-columns: repeat(4, 1fr); /* 横4列 */
  gap: 20px; /* 隙間を20pxに設定 */
}

.product-charm div {
  display: flex;
  justify-content: center;
  align-items: center;
}

@media (max-width: 768px) {
  .product-charm {
    grid-template-columns: repeat(2, 1fr); /* スマホは上下2列 */
  }
}

.composition-list {
  list-style: none; /* リストのデフォルトの番号や丸印を削除 */
  padding: 0; /* リストのパディングをリセット */
  margin: 0; /* リストのマージンをリセット */
  display: flex;
  flex-wrap: wrap; /* アイテムを折り返して表示 */
}

.composition-item {
  display: flex;
  align-items: center; /* 画像とテキストを垂直にセンター */
  width: 48%; /* 2列にするため、各アイテムの幅を48%に */
  margin-bottom: 20px; /* 各アイテム間の隙間 */
  border-bottom: 1px solid #ddd; /* 各アイテムの下に薄い罫線を追加 */
  padding-bottom: 20px; /* 罫線とテキストの間に余白を追加 */
}

/* 左側のアイテムにのみ右のマージンを追加 */
.composition-item:nth-child(odd) {
  margin-right: 20px; /* 右側に隙間を追加 */
}

.composition-item .image {
  width: 30%; /* 画像の幅をさらに小さく設定 */
  height: auto; /* アスペクト比を保つ */
  margin-right: 20px; /* 画像とテキストの間隔を追加 */
  margin-left: 10px; /* 画像の左側に隙間を追加 */
}

.composition-item.text {
  font-size: 16px; /* テキストのフォントサイズ */
}

/* スマホ用の1列表示 */
@media (max-width: 768px) {
  .composition-item {
    width: 100%; /* スマホでは1列表示にする */
      margin-bottom: 10px; /* 各アイテム間の隙間 */
  padding-bottom: 10px; /* 罫線とテキストの間に余白を追加 */
      
      
  }

  .composition-item .image {
    width: 30
}
    
/* 左側のアイテムにのみ右のマージンを追加 */
.composition-item:nth-child(odd) {
  margin-right: 0px; /* 右側に隙間を追加 */
}
    
    
    }

.composition-item .text span {
  font-weight: bold;
  font-size: 1.1em;
  color: #2e7d32;                /* 落ち着いた濃い緑 */
  background-color: #e8f5e9;     /* やさしい薄緑の背景 */
  padding: 4px 8px;
  border-radius: 4px;
  display: inline-block;
  margin-bottom: 4px;
}


.ingredients {
  background-color: #f9f9f9; /* 背景色 */
  padding: 20px; /* 内側の余白 */
  border-radius: 8px; /* 角丸 */
  font-family: Arial, sans-serif; /* フォント */
  color: #333; /* テキスト色 */
  line-height: 1.6; /* 行間 */
  font-size: 14px; /* フォントサイズ */
  max-width: 600px; /* 最大幅 */
  margin: 0 auto; /* 中央揃え */
  border: 1px solid #ccc; /* 枠線 */
}

.ingredients br {
  margin-bottom: 10px; /* <br>タグの下に余白 */
}

.ingredients p {
  margin: 0; /* 段落間の余白をリセット */
  padding: 5px 0; /* 上下の余白 */
}

.ingredients p span {
  font-weight: bold; /* 太字 */
}

.ingredients p:last-child {
  margin-bottom: 0; /* 最後の段落に余白を追加しない */
}



