@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;
}

.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 20px;
  border-radius: 5px;
  text-decoration: none;
  display: inline-block;
  font-weight: bold;
}

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

/* 下線 */

.text-underline {
  text-decoration: underline;
}

/* スライドバナー */
.slider-container {
  width: 600px;
  height: 200px;
  overflow: hidden;
  margin: 20px auto;
}

/* 画像を横に並べるラッパー */
.slider-wrapper {
  /* 4枚分の幅 (600px * 4 = 2400px) */
  width: 2400px; 
  height: 100%;
  display: flex;

  /* 12秒で無限ループ（1枚3秒 × 4枚） */
  animation: slide-animation 12s infinite; 
}

.slide {
  width: 600px;
  height: 200px;
  flex-shrink: 0;
}

/* ----- キーフレームアニメーション (4枚用) ----- */
@keyframes slide-animation {
  /* 1枚目 (0px) */
  0%, 20% {
      transform: translateX(0);
  }
  
  /* 2枚目 (-600px) */
  25%, 45% {
      transform: translateX(-600px);
  }
  
  /* 3枚目 (-1200px) */
  50%, 70% {
      transform: translateX(-1200px);
  }

  /* 4枚目 (-1800px) */
  75%, 95% {
      transform: translateX(-1800px);
  }

  /* 最後、瞬時に1枚目に戻る */
  100% {
      transform: translateX(0);
  }
}

/* 右寄せ */

.link2 {
  display: inline-block; /* インラインブロック要素にする */
  float: right; /* 右に寄せる */
}
