/* Semantic price table for product detail pages. */
.main.product .semantic-price-table-wrap {
  display: block;
  overflow: visible;
}
.main.product .semantic-price-table {
  display: block;
  width: 100%;
  border: 0;
  border-collapse: collapse;
  border-spacing: 0;
  color: inherit;
}
.main.product .semantic-table-caption {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.main.product .semantic-price-table-head {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.main.product .semantic-price-table tbody {
  display: flex;
  flex-wrap: wrap;
  width: 100%;
}
.main.product section.price .semantic-price-table .list-item {
  display: grid;
  grid-template-columns: 40% minmax(0, 1fr) 129px;
  grid-template-areas:
    "model new action"
    "model old action";
  width: 50%;
  min-width: 0;
  padding: 0;
  box-sizing: border-box;
}
.main.product section.price .semantic-price-table .list-item .left {
  grid-area: model;
  width: auto;
  min-width: 0;
  max-width: none;
  box-sizing: border-box;
  text-align: left;
  font-weight: normal;
  line-height: 1.2;
  border: 0;
}
.main.product .semantic-price-table .semantic-new-price-cell,
.main.product .semantic-price-table .semantic-old-price-cell,
.main.product .semantic-price-table .semantic-assessment-cell {
  border: 0;
  box-sizing: border-box;
  font-weight: bold;
}
.main.product .semantic-price-table .semantic-new-price-cell,
.main.product .semantic-price-table .semantic-old-price-cell {
  border-left: 1px dashed var(--color7);
  text-align: right;
  font-size: 12px;
  line-height: 1.2;
}
.main.product .semantic-price-table .semantic-new-price-cell {
  grid-area: new;
  align-self: end;
  padding: 10px 0 0 20px;
}
.main.product .semantic-price-table .semantic-old-price-cell {
  grid-area: old;
  align-self: start;
  padding: 0 0 10px 20px;
}
.main.product .semantic-price-table .cell-label {
  display: block;
  white-space: nowrap;
}
.main.product .semantic-price-table .semantic-new-price-cell .cell-label {
  color: #e05d9c;
}
.main.product .semantic-price-table .semantic-old-price-cell .cell-label {
  color: #5a7386;
  font-size: 0.95em;
  margin-top: 3px;
}
.main.product .semantic-price-table .new-price {
  color: #f41782;
  padding-bottom: 2px;
}
.main.product .semantic-price-table .new-price .big {
  font-size: 1.67em;
}
.main.product .semantic-price-table .old-price {
  color: var(--color4);
  font-size: 1.25em;
}
.main.product .semantic-price-table .old-price .small,
.main.product .semantic-price-table .junk-price .small {
  font-size: 9px;
}
.main.product .semantic-price-table .junk-text {
  margin-top: 4px;
}
.main.product .semantic-price-table .semantic-assessment-cell {
  grid-area: action;
  align-self: center;
  padding: 0 20px 0 16px;
  line-height: 1.2;
}
.main.product .semantic-price-table .semantic-assessment-cell .square-blue-btn {
  display: flex;
  justify-content: flex-end;
  width: 93px;
}
.main.product .semantic-price-table .semantic-assessment-cell .square-blue-btn a {
  width: 100%;
  box-sizing: border-box;
}
@media (max-width: 750px) {
  .main.product .semantic-price-table tbody {
    display: block;
  }
  .main.product section.price .semantic-price-table .list-item {
    grid-template-columns: 40% minmax(0, 1fr) 99px;
    width: 100%;
  }
  .main.product .semantic-price-table .semantic-new-price-cell,
  .main.product .semantic-price-table .semantic-old-price-cell {
    font-size: 10px;
  }
  .main.product .semantic-price-table .semantic-new-price-cell {
    padding: 12px 0 0 13px;
  }
  .main.product .semantic-price-table .semantic-old-price-cell {
    padding: 0 0 12px 13px;
  }
  .main.product .semantic-price-table .old-price {
    line-height: 1.1em;
  }
  .main.product .semantic-price-table .semantic-assessment-cell {
    padding: 0 13px 0 8px;
  }
  .main.product .semantic-price-table .semantic-assessment-cell .square-blue-btn {
    width: 78px;
  }
}

/* T5: semantic matrix for the nine direct-sale assessment pages. */
.main.purchase .semantic-step-table-wrap {
  display: none;
  width: 100%;
  padding-top: 0;
  overflow: hidden;
}
.main.purchase .semantic-step-table-wrap .semantic-step-table-scroll {
  flex: 1 1 100%;
  width: 100%;
  margin-top: 0;
  overflow-x: auto;
}
.main.purchase .purchase-step.purchase-step03 .semantic-step-table-wrap .semantic-step-table-scroll {
  width: 100%;
  margin-top: 0;
}
.main.purchase .semantic-step-table-wrap .scroll-hint-shadow-wrap {
  width: 100%;
}
.main.purchase .semantic-step-table-wrap .swipe-hint {
  min-width: 620px;
}
.main.purchase .semantic-step-price-table {
  width: 100%;
  border: 0;
  border-collapse: separate;
  border-spacing: 0;
  table-layout: fixed;
}
.main.purchase .semantic-step-price-table .semantic-table-caption {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.main.purchase .semantic-step-price-table th,
.main.purchase .semantic-step-price-table td {
  border: 0;
  box-sizing: border-box;
}
.main.purchase .semantic-step-price-table thead th {
  height: 30px;
  padding: 0 8px 10px;
  color: var(--color4);
  font-size: 13px;
  font-weight: bold;
  line-height: 1.5;
  text-align: center;
  white-space: nowrap;
}
.main.purchase .semantic-step-price-table thead th:first-child {
  width: 125px;
  color: transparent;
}
.main.purchase .semantic-step-price-table thead th.pink {
  color: #F41782;
}
.main.purchase .semantic-step-price-table .purchase-step-body {
  display: table-row;
}
.main.purchase .semantic-step-price-table .purchase-step-cell {
  width: 125px;
  padding: 5px 17px 5px 10px;
  background: var(--color10);
  color: #333;
  font-weight: normal;
  vertical-align: middle;
}
.main.purchase .semantic-step-price-table tbody tr:first-child .purchase-step-cell {
  border-radius: 5px 5px 0 0;
}
.main.purchase .semantic-step-price-table tbody tr:last-child .purchase-step-cell {
  border-radius: 0 0 5px 5px;
}
.main.purchase .semantic-step-price-table td {
  position: relative;
  padding: 0 8px 13px;
  vertical-align: middle;
}
.main.purchase .semantic-step-price-table td + td::before {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 0;
  border-left: 1px dashed var(--color7);
  content: "";
}
.main.purchase .semantic-step-price-table .purchase-btn {
  width: 100%;
  min-width: 0;
  margin: 0;
}

@media (max-width: 750px) {
  .main.purchase .semantic-step-table-wrap .swipe-hint {
    min-width: 464px;
  }
  .main.purchase .semantic-step-price-table thead th {
    height: 22px;
    padding: 0 5px 6px;
    font-size: 10px;
  }
  .main.purchase .semantic-step-price-table thead th:first-child,
  .main.purchase .semantic-step-price-table .purchase-step-cell {
    position: sticky;
    left: 0;
    z-index: 2;
    width: 104px;
    min-width: 104px;
  }
  .main.purchase .semantic-step-price-table thead th:first-child {
    z-index: 3;
    background: #fff;
  }
  .main.purchase .semantic-step-price-table .purchase-step-cell {
    padding: 2px 8px;
  }
  .main.purchase .semantic-step-price-table td {
    width: 120px;
    padding: 0 5px 12px;
  }
  .main.purchase .semantic-step-price-table .purchase-btn {
    padding: 9px 2px;
    font-size: 11px;
  }
}
