@charset 'utf-8';
/* CSS Document */
/* テキスト位置微調整 */

.introarea p {
  margin-left: 1%;
}
.loBox3 {
  margin-left: 1%;
}

.product-image {
  width: 100%;
} 

/* 商品枠 */

.product-row {
  display: flex;
  align-items: center;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  padding: 15px;
  margin: 15px 0 15px 1%;/* 左にスキマいれました */
}

.product-image-container {
  flex: 0 0 120px;
  margin-right: 20px;
}

.row-image {
  width: 100%;
  height: auto;
  border-radius: 4px;
}

.product-details {
  padding-left: 15px; /* 画像との間隔を確保 */
  display: flex; /* flexboxを使う */
  flex-direction: column; /* 要素を縦に並べる */
  justify-content: center; /* 垂直方向の中央に揃える */
}

.product-title {
  font-size: 1.2em;
  font-weight: bold;
  margin-bottom: 5px;
}

.product-price {
  font-size: 1.5em; /* 価格を少し大きくする */
  font-weight: bold;
  margin: 0 0 10px;
}

.product-description {
  font-size: 0.9em;
  color: #666;
  margin: 10px 0;
}

.product-button {
  /* ボタンの背景色をオレンジに設定 */
  background-color: #ff8c00;
  /* 文字色を白に設定 */
  color: #fff !important;
  
  padding: 10px 40px;
  border-radius: 5px;
  text-decoration: none;
  display: inline-block;
  font-weight: bold;
}

.product-button:hover {
  /* ホバー時の色を少し濃いオレンジに */
  background-color: #e57300;
}

/* 商品2並び枠 */

.product-list-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 20px;
  max-width: 600px;
  margin: 0 auto;
}

.product-card {
  width: calc(50% - 12px); /* 50%幅から余白を引くことで2列表示に */
  box-sizing: border-box;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
  text-align: center;
}
.product-card .product-info {
  text-align: center;/* hoverしたときにセンター寄せが解除されるのを防ぐ */
}
.product-card .product-info h3 {
  text-align: center;/* hoverしたときにセンター寄せが解除されるのを防ぐ */
}

/* 商品画像のみ */

.image-gallery-container {
  display: flex; /* 子要素を横並びにする */
  justify-content: space-between; /* 子要素を両端に寄せて均等に配置 */
  /* gap: 15px; */ /* 子要素間の余白 */
  /* max-width: 600px; */ /* 全体の最大幅を600pxに設定 */
  margin: 0 auto; /* 全体を中央に配置 */
}

.image-gallery-item {
  flex: 1 1 0; /* 各アイテムの幅を均等にする */
  overflow: hidden;
  border-radius: 8px;
  text-decoration: none;
  transition: transform 0.2s ease;
}

.image-gallery-item:hover {
  transform: translateY(-5px); /* ホバー時に少し上に移動するエフェクト */
}

.image-gallery-item img {
  width: 100%; /* 親要素の幅に合わせて画像を100%にする */
  height: auto;
  display: block;
}
