@charset "utf-8";

.cont-subscription {
    margin-top: 4rem;
}

#tabcontrol {
    max-width: 525px;
    gap: 1rem;
    border-bottom: 2.5px solid #333;
}

.tab_item {
    margin-bottom: -2px;
}

input#subscription:checked+.tab_item {
    color: #333;
    border-width: 1px;
    border-style: solid;
    border-left-width: 0;
    border-color: #750000;
    border-image: initial;
    background: #750000;
}

.container-pack-subscription .subscription {
    background-color: #0c9318;
}

.container-pack-subscription[data-category~="activated"] .lower_cont-wrap.tsumini {
    padding: 0.8rem 0.8rem 2rem 0.8rem;
}

input#subscription:not(:checked)+.tab_item,
input#subscription:checked+.tab_item {
    border-radius: 3px 3px 0px 0;
}

input#treasure:not(:checked)+.tab_item,
input#pack:not(:checked)+.tab_item,
input#subscription:not(:checked)+.tab_item {
    border: 1px solid #333;
    border-radius: 3px 3px 0px 0px;
    box-shadow: none;
}

input#treasure:checked+.tab_item {
    color: #333;
    border-width: 2px;
    border-style: solid;
    border-left-width: 0;
    border-right-width: 0;
    border-color: #750000;
    border-image: initial;
}

.frequency {
    font-size: 1.2rem;
    font-weight: bold;
    margin-right: 1rem;
}

input#pack:checked+.tab_item::before,
input#treasure:checked+.tab_item::before,
input#subscription:checked+.tab_item::before {
    content: "";
    position: absolute;
    background: url(../img/img_login.png);
    background-size: cover;
    width: 10px;
    height: 28px;
    left: 4px;
    top: 50%;
    transform: translate(0px, -50%);
}

input#pack:checked+.tab_item::after,
input#treasure:checked+.tab_item::after,
input#subscription:checked+.tab_item::after {
    content: "";
    position: absolute;
    background: url(../img/img_login.png);
    background-size: cover;
    width: 10px;
    height: 28px;
    right: 4px;
    top: 50%;
    transform: scale(-1.0) translate(0px, 50%);
}

.container-pack-subscription {
    transition: .2s cubic-bezier(0.45, 0, 0.55, 1);
}

.container-pack-subscription:active {
    transform: translate(6px, 9px);
}

.outline-red {
    color: white;
    text-shadow:
    1px 0 red,
    -1px 0 red,
    0 1px red,
    0 -1px red;
}

@media (max-width: 1024px) {
    .container-pack-subscription .add-cart {
        height: 36px;
        width: 81%;
        right: 9%;
        bottom: 16px;
    }

    .container-pack-subscription .add-cart button::before,
    .container-pack-subscription .add-cart button::after {
        width: 13px;
        height: 31px;
    }

    .frequency {
        font-size: 1.0rem;
    }
}

@media (max-width: 768px) {
    .container-pack-subscription[data-category~="activated"] .lower_cont-wrap.tsumini {
        padding: 1.0rem 0.8rem 1rem 0.8rem;
    }

    .container-pack-subscription .add-cart {
        height: 20px;
        width: 81%;
        right: 9%;
        bottom: 8px;
    }

    .container-pack-subscription .add-cart button {
        font-size: 1.0rem;
    }

    .container-pack-subscription .add-cart button::before,
    .container-pack-subscription .add-cart button::after {
        width: 6px;
        height: 16px;
    }

    input#pack:checked+.tab_item::before,
    input#treasure:checked+.tab_item::before,
    input#subscription:checked+.tab_item::before {
        width: 8px;
        height: 19px;
    }

    input#pack:checked+.tab_item::after,
    input#treasure:checked+.tab_item::after,
    input#subscription:checked+.tab_item::after {
        width: 8px;
        height: 19px;
    }

    input#treasure:not(:checked)+.tab_item,
    input#pack:not(:checked)+.tab_item,
    input#subscription:not(:checked)+.tab_item {
        border-radius: 2px 2px 0px 0px;
    }

    input#subscription:checked+.tab_item {
        border-radius: 2px 2px 0px 0;
    }
}