body {
  font-family: Arial, sans-serif;
  margin: 0;
  background: #f3f3f3;
}

header {
  background: #320303a4;
  color: white;
  padding: 20px;
  text-align: center;
}

.container {
  max-width: 900px;
  margin: 40px auto;
  background: white;
  padding: 20px;
  border-radius: 10px;
}

/* =============================
   2カラム: 商品画像 | 情報
============================= */
.product {
  display: flex;
  gap: 30px;
  align-items: center;
}

.product > img {
  width: 400px;
  border-radius: 10px;
}

.info {
  flex: 1;
}

.info h2 {
  font-size: 1.5rem;
  margin-bottom: 12px;
}

.desc {
  font-size: 1rem;
  color: #444;
  line-height: 1.8;
  margin-bottom: 16px;
}

.price {
  font-size: 1.5rem;
  color: #e60023;
  font-weight: bold;
  margin: 20px 0;
}

button {
  background: #e60023;
  color: white;
  border: none;
  padding: 15px 25px;
  font-size: 16px;
  border-radius: 5px;
  cursor: pointer;
}

button:hover {
  background: #c4001d;
}

/* =============================
   ボタン＋推薦写真 横並び
============================= */
.info-bottom {
  display: flex;
  align-items: flex-end;
  gap: 20px;
}

.endorsement {
  width: 280px;
  flex-shrink: 0;
}

.endorsement img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  object-fit: cover;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
}

/* =============================
   フッター
============================= */
footer {
  text-align: center;
  padding: 20px;
  color: #666;
}

/* =============================
   レスポンシブ
============================= */
@media (max-width: 768px) {
  .product {
    flex-direction: column;
  }

  .product > img {
    width: 100%;
  }

  .info-bottom {
    flex-wrap: wrap;
  }

  .endorsement {
    width: 160px;
  }
}

@media (max-width: 560px) {
  .container {
    margin: 20px 8px;
    padding: 16px;
  }

  button {
    width: 100%;
  }

  .info-bottom {
    flex-direction: column;
    align-items: flex-start;
  }

  .endorsement {
    width: 140px;
  }
}
