@charset "utf-8";

.num-item {
    padding: 0 2.5rem;
    margin-top: 1rem;
    margin-bottom: 1rem;
    justify-content: center;
}

.select-num {
    width: auto;
}

.btn-bulk-container.none + .btn-normal{
    margin-top: 0;
}

.reset-container {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: center;
    gap: 0.2rem;
}

.reset {
    font-size: 1rem;
    max-width: 12rem;
    text-align: center;
    color: #F57A09;
    font-weight: bold;
}

.deadline,
.subscription {
    font-size: 1rem;
    text-align: center;
    color: #fff;
    font-weight: bold;
    background-color: #F57A09;
    padding: 0 37px;
    border-radius: 30px;
    white-space: nowrap;
}

.pack-subscription {
    font-size: 1rem;
    text-align: center;
    color: #fff;
    font-weight: bold;
    background-color: #0c9318;
    padding: 0 37px;
    border-radius: 30px;
    white-space: nowrap;
}

.remainin {
    display: flex;
    margin: 8px 0;
}

.numttl {
    font-size: 1rem;
    color: #666;
    border-left: 6px solid #333;
    padding: 0 12px;
}

.num-purchases {
    font-size: 1rem;
    font-weight: bold;
    color: #666;
    margin-left: 1rem;
}

.item-detail .item-container:nth-of-type(1) {
    margin-top: 0rem;
}

.total {
    margin-top: 0px;
    align-items: baseline;
    gap: 1rem;
}

.txt-total.sub {
    font-size: 1.565rem;
}

.txt-total.sub.small {
    font-size: 1.0rem;
}

.pack-pic figcaption {
    margin: 0rem 0 1.0rem 0;
    text-align: left;
}

.sec-container.pad-reset .total {
    margin-left: auto;
    margin-bottom: 1.0rem;
    padding: 0 0rem 0 2.5rem;
}

.sec-container.pad-reset .subsc-total-free {
    margin-left: initial;
    margin-bottom: 1.0rem;
    padding: 0 0rem 0 2.5rem;
}

.onepack-item{
    font-size: 1rem;
    font-weight: bold;
    margin: 0.5rem 0;
}

.item-detail .onepack-item:nth-of-type(n + 2){
    display: none;
}

.item-pic.plusBoost::after{
    content: '';
    background: url(../img/icon_plus_boost.png) no-repeat;
    background-size: contain;
    position: absolute;
    top: 0;
    right: 0;
    width: 25px;
    height: 25px;
}

@media screen and (max-width: 640px) {
    .item-pic.plusBoost::after{
    width: 12px;
    height: 12px;
    right: 21px;
  }
}

.chara-rank {
  display: flex;
  justify-content: center;
  position: absolute;
  right: 0;
  left: 0;
  bottom: 0;
}

.item-toggle-area .order-info .chara-rank {
    width: 58px;
}

.chara-rank img.rank-star {
  width: 0.8rem;
  z-index: 2;
  margin-right: -0.26rem;
  min-width: 5px;
}

.chara-rank img.rank-star:last-child {
  margin-right: 0;
}

@media screen and (max-width: 640px) {
    .chara-rank {
        max-width: 25px;
        min-width: 20px;
        margin: 0;
    }

    .chara-rank img.rank-star {
        width: 0.2rem;
        margin-right: -0.1rem;
    }
}

.icn_attribute {
    position: absolute;
    z-index: 3;
}

.icn_attribute.red {
    background: url(../img/character/icon_attribute_red.png) center no-repeat;
    width: 1.0rem;
    height: 1.0rem;
    background-size: contain;
}

.icn_attribute.gray {
    background: url(../img/character/icon_attribute_gray.png) center no-repeat;
    width: 1.0rem;
    height: 1.0rem;
    background-size: contain;
}

.icn_attribute.green {
    background: url(../img/character/icon_attribute_green.png) center no-repeat;
    width: 1.0rem;
    height: 1.0rem;
    background-size: contain;
}

.icn_attribute.blue {
    background: url(../img/character/icon_attribute_blue.png) center no-repeat;
    width: 1.0rem;
    height: 1.0rem;
    background-size: contain;
}

@media (max-width: 640px) {
  .icn_attribute.red,
  .icn_attribute.gray,
  .icn_attribute.green,
  .icn_attribute.blue {
    width: 0.8rem;
    height: 0.8rem;
  }
}