.re-post-section {
  width: 100%;
  padding-top: 52px;
}

.re-post-heading {
  margin: 0 0 34px;
  text-align: center;
  font-size: 30px;
  line-height: 1.4;
  font-weight: 600;
}

.re-post {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px 22px;
  width: 100%;
  box-sizing: border-box;
}

.re-post-item {
  min-width: 0;
  position: relative;
  z-index: 1;
  text-align: center;
}

.re-post-image:hover {
  z-index: 2;
}

.re-post-link {
  display: block;
  color: inherit;
  text-decoration: none;
}

.re-post-image {
  display: block;
  overflow: hidden;
  width: 100%;
  aspect-ratio: 1 / 1;
}

.re-post-image {
  position: relative;
}

.re-post-badge {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 14px 10px;
  color: #fff;
  background: rgba(0, 0, 0, .68);
  font-size: 17px;
  font-weight: 700;
  line-height: 1.4;
  text-align: center;
  box-sizing: border-box;
}

/* オーダー休止中だけ、画像中央に表示 */
.re-post-badge-paused {
  top: 50%;
  bottom: auto;
  transform: translateY(-50%);
  background: rgba(190, 35, 35, .82);
}

/* セール中：画像中央の赤い帯 */
.re-post-badge-sale {
  top: 50%;
  bottom: auto;
  transform: translateY(-50%);
  background: #be2323;
}

/* 予約受付中：画像中央の緑の半透明帯 */
.re-post-badge-reservation {
  top: 50%;
  bottom: auto;
  transform: translateY(-50%);
  background: rgba(52, 105, 65, .80);
}


/* Coming soon：画像全体を覆う黒の半透明表示 */
.re-post-badge-coming_soon {
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  transform: none;
  color: #fff2a8;
  font-weight: 400;
}

/* 期間限定：画像下部の青い半透明帯・赤文字 */
.re-post-badge-limited {
  color: #e60000;
  font-weight: 700;
}

.re-post-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .25s ease, box-shadow .25s ease;
}

.re-post-image:hover img {
  transform: scale(1.12);
  box-shadow: 0 8px 18px rgba(0, 0, 0, .16);
}

.re-post-category,
.re-post-title,
.re-post-price {
  display: block;
  line-height: 1.5;
}

.re-post-category {
  margin-top: 9px;
  text-decoration: none;
  color: #b6a18f;
  font-size: 14px;
  line-height: 1.4;
  text-align: left;
}

.re-post-title {
  margin-top: 8px;
  overflow: hidden;
  font-size: 19px;
  font-weight: 600;
  line-height: 1.45;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.re-post-price {
  display: flex;
  justify-content: flex-start;
  align-items: baseline;
  gap: 10px;
  margin-top: 8px;
  font-size: 18px;
  color: #111;
}

.re-post-regular-price.is-sale {
  text-decoration: line-through;
  text-decoration-thickness: 2px;
  text-decoration-color: #c62828;
}

.re-post-sale-price {
  font-weight: 500;
}

@media screen and (max-width: 767px) {
  .re-post {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px 12px;
  }

  .re-post-title {
    font-size: 17px;
  }

  .re-post-category {
    font-size: 12px;
  }

  .re-post-price {
    font-size: 16px;
  }

  /* タッチ端末ではhover拡大を常時発生させない */
  @media (hover: none) {
    .re-post-image:hover img {
      transform: none;
      box-shadow: none;
    }
  }
}
