.refa_spec_table {
  width: 100%;
  font-size: 12px;
  text-align: center;
}

.name {
  margin-bottom: 25px;
}

.life th {
  width: 200px;
}

.life td {
  text-align: left;
}

.color_attention {
  margin-top: 30px;
}

/* ---- サイズ表 ---- */
.block-size--item-title {
  margin: 0 0 1rem 0;
  font-size: 1.5rem;
  font-weight: 600;
}

.block-goods-size--box.block-unisize {
  margin: 1em 0 2em 0;
}

.c-item-detail-expand-items--table {
  display: table;
  width: 100%;
  border-right: solid 1px #d9d9d9;
  border-bottom: solid 1px #d9d9d9;
  table-layout: fixed;
  border-collapse: collapse;
}

.c-item-detail-expand-items--table > div {
  display: table-row;
}

.c-item-detail-expand-items--table > div > div {
  display: table-cell;
  border-left: solid 1px #d9d9d9;
  border-top: solid 1px #d9d9d9;
  padding: 0.8rem 0.5rem;
  font-size: 1.4rem;
  font-weight: 500;
  text-align: center;
  word-break: break-word;
}

.c-item-detail-expand-items--table > div:first-child > div,
.c-item-detail-expand-items--table > div > div:first-child {
  background: #f9f8f6;
}

/* ---- 商品コメント4（商品情報） ---- */
.block-goods-comment4 > dd dl {
  display: flex;
  flex-wrap: wrap;
  font-size: 1.6rem;
  margin-top: 1.5rem;
  line-height: 1.6;
}

.block-goods-comment4 > dd dl dt {
  width: 14rem; /* 項目名の幅を固定 */
  font-weight: bold;
  color: #333;
  flex-shrink: 0;
}

.block-goods-comment4 > dd dl dd {
  flex: 1;
  color: #6e6e6e;
}

@media screen and (max-width: 767px) {
  .block-goods-comment4 > dd dl {
    font-size: 0.9rem;
    font-weight: 300;
    display: block;
  }
  .block-goods-comment4 > dd dl dt {
    font-size: 1rem;
    width: auto;
    margin-bottom: 0.3rem;
  }

  .block-goods-comment4 > dd dl dd {
    font-size: 0.9rem;
    flex: 1;
    color: #6e6e6e;
  }
}

/* =====================================================
   PC表示時（768px以上）モーダル文字を少し小さく
===================================================== */
@media screen and (min-width: 768px) {
  .uk-modal-body {
    font-size: 1.3rem;
    line-height: 1.3;
  }

  .block-goods-comment4 > dd dl {
    font-size: 1.2rem;
  }

  .block-goods-comment4 > dd dl dt,
  .block-goods-comment4 > dd dl dd {
    font-size: 1rem;
  }

  .block-size--item-title {
    font-size: 1rem;
  }

  .c-item-detail-expand-items--table > div > div {
    font-size: 1rem;
  }
}

/* =====================================================
   スマホ用（600px以下）
===================================================== */
@media (max-width: 600px) {
  .refa_spec_table {
    font-size: 10px;
  }

  .c-item-detail-expand-items--table > div > div {
    padding: 0.4rem 0.3rem;
    font-size: 1rem;
  }

  .block-size--item-title {
    font-size: 1.2rem;
  }

  .block-goods-size--box.block-unisize {
    margin: 0.5em 0 1.5em 0;
  }

  .uk-modal-body {
    padding: 0 16px;
  }

  /* 商品情報（dlリスト）を少し小さく */
  .block-goods-comment4 > dd dl {
    font-size: 1.4rem;
  }

  .life th {
    width: auto; /* 固定幅解除 */
  }
}

/* =====================================================
   SP：モーダル内スクロール修正
===================================================== */
@media screen and (max-width: 767px) {
  /* モーダル外枠 */
  .uk-modal {
    overflow-y: auto !important;
    -webkit-overflow-scrolling: touch;
  }

  /* モーダル本体 */
  .uk-modal-dialog {
    width: calc(100% - 20px) !important;
    max-width: 100% !important;
    height: auto !important;
    max-height: none !important;
    margin: 10px auto !important;
    overflow: visible !important;
  }

  /* モーダル本文 */
  .uk-modal-body {
    padding: 12px 16px !important;
    overflow: visible !important;
    height: auto !important;
    max-height: none !important;
  }
}
