.transactions {
  padding: 40px 20px;
  background-color: #f8f8f8;
}

.transactions h2 {
  text-align: center;
  font-size: 2rem;
  margin-bottom: 30px;
  color: #000;
}
.transaction-info h3 {
  font-size: 1.1rem;
  margin-bottom: 8px;
  color: #000; /* 明示的に黒に指定 */
}

.transaction-list {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
}

.transaction-card {
  background: #fff;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  width: 300px;
  transition: transform 0.3s ease;
}

.transaction-card:hover {
  transform: translateY(-5px);
}

.image-wrapper {
  position: relative;
}

.image-wrapper img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.status {
  position: absolute;
  top: 10px;
  left: 10px;
  padding: 6px 12px;
  font-size: 0.85rem;
  border-radius: 4px;
  color: #fff;
  font-weight: bold;
}

.status.sold {
  background-color: rgba(217, 83, 79, 0.9); /* 赤系：成約済 */
}

.status.available {
  background-color: rgba(92, 184, 92, 0.9); /* 緑系：販売中 */
}

.transaction-info {
  padding: 15px;
}

.transaction-info h3 {
  font-size: 1.1rem;
  margin-bottom: 8px;
}

.transaction-info p {
  font-size: 0.9rem;
  color: #555;
  margin: 4px 0;
}

/* ----------------------------------------- Footer ---------------------------------------------------------------- */

.footer {
  background-color: #000;
  color: #fff;
  padding: 30px 40px; /* 左右に少し余白 */
  font-size: 0.9rem;
}

.footer-content {
  text-align: left;
  line-height: 1.6;
}

.footer-content .company-name {
  font-weight: bold;
  font-size: 1rem;
}

.footer-bottom {
  text-align: center;
  margin-top: 10px;
  font-size: 0.8rem;
  color: #ccc;
}
