/* ===== モーダル共通 ===== */
.uk-modal-body {
  font-size: 1rem;
  line-height: 1.4;
  padding: 16px;
}

/* dlスタイル */
.block-goods-comment5 dl {
  margin-top: 1rem;
}
.block-goods-comment5 dl dt {
  font-weight: bold;
  color: #333;
}
.block-goods-comment5 dl dd {
  margin-bottom: 1rem;
  color: #666;
}

/* テーブルスタイル */
.goodscomment2_accordion-item-body table {
  width: 100%;
  border-collapse: collapse;
  margin: 1rem 0;
  font-size: 0.9rem;
  text-align: center;
}
.goodscomment2_accordion-item-body table th,
.goodscomment2_accordion-item-body table td {
  text-align: center;
  border: 1px solid #ddd;
  padding: 8px;
}
.goodscomment2_accordion-item-body table th:first-child {
  font-weight: 600;
  background: #f9f8f6;
}

/* 閉じるボタン */
.uk-modal-close {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 10;
}

/* スマホ用調整 */
@media screen and (max-width: 767px) {
  .uk-modal-body {
    font-size: 0.9rem;
    padding: 12px;
  }

  .goodscomment2_accordion-item-body table {
    font-size: 0.8rem;
  }
}

.block-goods-comment5 dl {
  display: flex;
  flex-wrap: wrap;
  margin-top: 1rem;
}

.block-goods-comment5 dl dt {
  width: 30%; /* 左側幅 */
  font-weight: bold;
  color: #333;
}

.block-goods-comment5 dl dd {
  width: 70%; /* 右側幅 */
  margin: 0;
  color: #666;
}
@media screen and (max-width: 767px) {
  .block-goods-comment5 dl {
    display: block;
  }
  .block-goods-comment5 dl dt,
  .block-goods-comment5 dl dd {
    width: 100%;
  }
}
.goodscomment2_accordion-item-body-tablecaption {
  text-align: right;
  font-size: 0.6rem;
}

/* ===== 製品仕様（dlブロック）の整形 ===== */
.block-goods-comment5 dl {
  display: flex;
  flex-wrap: wrap;
  margin-top: 1.5rem;
  row-gap: 1.8rem; /* dt+dd の上下にゆとり */
}

.block-goods-comment5 dl dt {
  width: 28%;
  font-weight: 600;
  color: #222;
  font-size: 0.95rem;
  padding-top: 4px;
}

.block-goods-comment5 dl dd {
  width: 72%;
  margin: 0;
  color: #444;
  font-size: 0.95rem;
  line-height: 1.6;
}

/* dd 内の複数項目のまとまり感アップ */
.block-goods-comment5 dl dd p {
  margin-bottom: 1.2rem;
}
.block-goods-comment5 dl dd p:last-child {
  margin-bottom: 0;
}

/* スマホ */
@media (max-width: 767px) {
  .block-goods-comment5 dl {
    display: block;
  }
  .block-goods-comment5 dl dt,
  .block-goods-comment5 dl dd {
    width: 100%;
  }
  .block-goods-comment5 dl dt {
    margin-bottom: 0.3rem;
  }
  .block-goods-comment5 dl dd p {
    margin-bottom: 1rem;
  }
}

/* サイズ表画像大きさの調整 */
/* 共通 */
.size-figure img {
  width: 100%;
  height: auto;
  display: block;
}

p.goodscomment2_accordion-item-body-title {
  margin: 20px 0;
}
/* PC（768px以上） */
@media screen and (min-width: 768px) {
  .size-figure-wrap {
    display: flex;
    justify-content: center; /* 中央寄せ */
    gap: 30px; /* 画像同士の間隔 */
  }

  .size-figure img {
    width: 100%;
  }

  .size-figure {
    width: 50%;
    margin-bottom: 0;
  }
}

@media screen and (min-width: 768px) {
  .size-figure-wrap {
    margin-bottom: 30px;
  }
  .size-figure img {
    margin-bottom: 30px;
  }
}

/* サイズ表タイトル（男性着用時／女性着用時） */
.size-figure__title {
  text-align: center; /* センタリング */
  font-size: 12px;
  line-height: 1.4;
  margin-bottom: 4px; /* 画像との間 */
  color: #777; /* 少し控えめな色 */
}

/* PCではほんのり大きくしてもOK */
@media screen and (min-width: 768px) {
  .size-figure__title {
    font-size: 13px;
  }
}

@media screen and (max-width: 767.98px) {
  .size-figure img {
    margin-bottom: 20px;
  }
}
