@charset "utf-8";

.divider::before {
    content: "";
    display: none;
    flex: 1;
    height: 3px;
    background-image: radial-gradient(circle, #999 6px, transparent 6px);
    background-size: 18px 3px;
    background-repeat: repeat-x;
}

.divider::after {
    content: "";
    display: block;
    flex: 1;
    height: 3px;
    background-image: radial-gradient(circle, #999 6px, transparent 6px);
    background-size: 18px 3px;
    background-repeat: repeat-x;
}

.divider .divider-text {
    margin-bottom: 0.5rem;
}

.divider .divider-text p {
    font-size: 2.0rem;
}

.contpack-list .divider {
    margin-top: 1rem;
}

.btn-addCart {
    padding: 0.3rem 1.5rem;
    border-radius: 3px;
    background: #750000;
    cursor: pointer;
    color: #fff;
    font-size: 1.2rem;
    font-weight: bold;
    position: relative;
    margin-top: 0.5rem;
}

@media screen and (max-width:1024px) {
    .contpack-list .divider {
        margin-top: 1.5rem;
        margin-bottom: 0.5rem;
    }
}

@media screen and (max-width:769px) {
    .divider::after {
        content: "";
        display: block;
        flex: 1;
        height: 2px;
        background-image: radial-gradient(circle, #999 4px, transparent 4px);
        background-size: 14px 2px;
        background-repeat: repeat-x;
    }

    .divider .divider-text p {
        font-size: 1.8rem;
    }

    .btn-addCart {
        font-size: 1.0rem;
    }
}

/*--------------------------------------
           追想アイコン対応
--------------------------------------*/

.item div img.scene-icon {
    max-width: 70px;
    width: 100%;
}

.item div img.rarity-icon {
    position: absolute;
    bottom: -4px;
    right: -2px;
    z-index: 1;
    width: 20px;
}

.frame-wrapper {
    position: relative;
}

.frame-wrapper::after {
    content: "";
    position: absolute;
    inset: -2px;
    /* 上下左右にぴったり被せる */
    border: 22px solid transparent;
    /* フレーム幅に応じて設定 */
    border-image-slice: 40 fill;
    /* 40pxで四隅を固定、中央を引き延ばし */
    border-image-repeat: stretch;
    /* 伸ばす */
    pointer-events: none;
}

.frame-wrapper.lg::after {
    border-image-source: url("../img/character/frame_character_lg.png");
}

.frame-wrapper.ur::after {
    border-image-source: url("../img/character/frame_character_ur.png");
}

.frame-wrapper.sr::after {
    border-image-source: url("../img/character/frame_character_sr.png");
}

.frame-wrapper.r::after {
    border-image-source: url("../img/character/frame_character_r.png");
}

.frame-wrapper.n::after {
    border-image-source: url("../img/character/frame_character_n.png");
}

@media screen and (max-width:1024px) {
    .frame-wrapper {
        width: 85%;
        margin: 0 auto;
    }

    .frame-wrapper::after {
        border: 17.5px solid transparent;
        border-image-slice: 40 fill;
        /* 40pxで四隅を固定、中央を引き延ばし */
        border-image-repeat: stretch;
    }
}

@media screen and (max-width:768px) {
    .frame-wrapper {
        max-height: 19px;
    }

    .item div img.rarity-icon {
        position: absolute;
        bottom: -1px;
        right: -2px;
        z-index: 1;
        width: 10px;
    }

    .frame-wrapper::after {
        inset: -1px;
        border: 9px solid transparent;
        border-image-slice: 40 fill;
        /* 40pxで四隅を固定、中央を引き延ばし */
        border-image-repeat: stretch;
    }
}

@media screen and (max-width:475px) {
    .frame-wrapper {
        max-height: 18px;
    }
}