.product_condition {
  background-color: #fff;
  padding: 0 0 64px;
}

.product_condition__heading {
  margin-bottom: 24px;
}

.product_condition__body p {
  font-size: 15px;
  font-weight: 400;
  line-height: 220%;
  margin-bottom: 16px;
}

.product_condition__body ul {
  margin-top: 16px;
  list-style: none;
  padding: 0;
}

.product_condition__body ul li {
  font-size: 15px;
  font-weight: 400;
  line-height: 220%;
  padding-left: 20px;
  position: relative;
}

.product_condition__body ul li::before {
  content: '・';
  margin-bottom: 0;
  position: absolute;
  left: 0;
  top: 0;
}

/* ========================================
   参考例 傷・擦れ・汚れ セクション
   ======================================== */
.product_condition__example {
  background-color: #fff;
  padding: 0 0 64px;
}

.product-condition-example {
  margin-top: 24px;
}

/* ギャラリー */
.product-condition-example__gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin-bottom: 24px;
}

.product-condition-example__gallery-item {
  position: relative;
  width: 100%;
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

@media screen and (hover: hover) {
  .product-condition-example__gallery-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  }
}

.product-condition-example__gallery-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* テーブル */
.product-condition-example__table-wrapper {
  overflow-x: auto;
  margin-top: 40px;
}

.product-condition-example__table {
  width: 100%;
  border-collapse: collapse;
  background-color: #fff;
  margin: 0 auto;
  font-size: 13px;
}

.product-condition-example__table-header {
  padding: 16px;
  text-align: left;
  font-weight: 700;
  color: #2A2727;
  border-bottom: 1px solid #F0F2FB;
}

.product-condition-example__table-header:nth-child(2) {
  border: 1px solid #F0F2FB;
}

.product-condition-example__table-header--empty {
  background-color: transparent;
  border: none;
}

.product-condition-example__table-header--row {
  background-color: #B8996B;
  color: #fff;
  width: 120px;
  vertical-align: middle;
  text-align: center;
}

.product-condition-example__table-cell {
  padding: 16px;
  border-bottom: 1px solid #F0F2FB;
  color: #2A2727;
  vertical-align: top;
}

.product-condition-example__table-cell.-off {
  text-align: center;
}

.product-condition-example__table-cell.-off span {
  color: #B8996B;
  font-size: 17px;
  font-weight: 700;
  text-align: center;
}

.product-condition-example__table-row:first-child .product-condition-example__table-header {
  text-align: center;
}

.sample-bg {
  background-color: #F0F2FB;
  border-bottom: 1px solid #2a272717;
}


/* モーダル */
.product-condition-example__modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 10000;
}

.product-condition-example__modal.is-active {
  display: flex;
  align-items: center;
  justify-content: center;
}

.product-condition-example__modal-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.8);
  cursor: pointer;
}

.product-condition-example__modal-content {
  position: relative;
  max-width: 90%;
  max-height: 90%;
  z-index: 10001;
  display: flex;
  align-items: center;
  justify-content: center;
}

.product-condition-example__modal-image {
  max-width: 100%;
  max-height: 90vh;
  object-fit: contain;
  display: block;
}

.product-condition-example__modal-close {
  position: absolute;
  top: -40px;
  right: 0;
  width: 40px;
  height: 40px;
  background-color: transparent;
  border: none;
  color: #fff;
  font-size: 32px;
  line-height: 1;
  cursor: pointer;
  z-index: 10002;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.3s ease;
}

.product-condition-example__modal-close:hover {
  opacity: 0.7;
}

/* レスポンシブ対応 */
@media screen and (max-width: 768px) {
  .product-condition-example__gallery {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media screen and (max-width: 480px) {
  .product-condition-example__gallery {
    gap: 8px;
  }

  .product-condition-example__table-header,
  .product-condition-example__table-cell {
    padding: 8px 12px;
  }

  .product-condition-example__table-header--row {
    width: 64px;
  }

  .product-condition-example__table-cell.-off span {
    display: block;
  }
}