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

/* スライドバナー */

/* スライダーの外枠 (600x200を維持) */
.slider-container {
    width: 600px;
    height: 200px;
    overflow: hidden; /* 枠外の画像を隠す */
    margin: 20px auto;
}

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

    /* ----- 自動スライドの鍵となる設定 ----- */
    animation: slide-animation 9s infinite; /* 9秒で無限ループ（1枚3秒） */
}

/* 画像個別の設定 */
.slide {
    width: 600px;
    height: 200px;
    flex-shrink: 0; /* 画像の縮小を禁止 */
}

/* ----- キーフレームアニメーション ----- */
/* 3枚のスライドを9秒（3s * 3）かけて移動させるアニメーションを定義 */
@keyframes slide-animation {
    /* 0s - 3s (0% - 33.33%)：1枚目表示 (0%移動) */
    0%, 27.77% {
        transform: translateX(0);
    }
    
    /* 3s - 6s (33.33% - 66.66%)：2枚目表示 (-600px移動) */
    33.33%, 61.11% {
        transform: translateX(-600px);
    }
    
    /* 6s - 9s (66.66% - 100%)：3枚目表示 (-1200px移動) */
    66.66%, 94.44% {
        transform: translateX(-1200px);
    }

    /* 94.44% - 100% の間に1枚目に戻るための瞬時の移動を確保 */
    100% {
        transform: translateX(0);
    }
}

/* 右寄せ */

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