:root {
  --primary-color: rgb(220 38 38);
}

*, *:before, *:after {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    border-width: 0;
    border-style: solid;
    border-color: hsl(0, 2%, 90%);
}

body {
    color: hsl(0, 0%, 18%);
    font-family: ui-sans-serif, system-ui, sans-serif, Apple Color Emoji, Segoe UI Emoji, Segoe UI Symbol, Noto Color Emoji;
    min-height: 50vh;
    margin: 0;
    line-height: inherit;
}

input {
    font-size: 13px;
}

a {
    cursor: pointer;
    text-decoration: none;
    color: hsl(222, 47%, 11%);
}

audio, canvas, embed, iframe, img, object, svg, video {
    display: block;
}

img, video {
    max-width: 100%;
    height: auto;
    vertical-align: middle;
}

.shadows {
    --tw-shadow-color: #000;
    --tw-ring-offset-shadow: 0 0 #0000;
    --tw-ring-shadow: 0 0 #0000;
    --tw-shadow: 0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);
    --tw-shadow-colored: 0 1px 3px 0 var(--tw-shadow-color), 0 1px 2px -1px var(--tw-shadow-color);
    box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
}

.bg-slate {
    --tw-bg-opacity: 1;
    background-color: rgb(241 245 249 / var(--tw-bg-opacity, 1));
}

.min-h-screen {
    min-height: 61.5vh;
}

.text-sm {
    font-size: 0.875rem;
    line-height: 1.25rem;
}

.text-xl {
    font-size: 1.25rem;
    line-height: 1.75rem;
}

.text-lg {
    font-size: 1.125rem;
    line-height: 1.75rem;
}

.text-2xl {
    font-size: 1.5rem;
    line-height: 2rem;
}

.text-3xl {
    font-size: 1.875rem;
    line-height: 2.25rem;
}

.font-bold {
    font-weight: 700;
}

.container-custom, .wrapper {
    margin-left: auto;
    margin-right: auto;
    width: 100%;
    max-width: 800px;
    padding-left: 1rem;
    padding-right: 1rem;
}

.header-section {
    top: 0;
    position: sticky;
    z-index: 50;
    background-color: white;
}

.img-logo {
    color: transparent;
    /* height: auto; */
    /* width: 136px; */
    margin-left: -.25rem;
    height: 70px;
    border-radius: 15%;
}

.after-login {
    gap: 0.25rem;
    margin-right: -.375rem;
}

.grid {
    display: grid;
}

.grid-cols-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.grid-cols-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.grid-cols-4 {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.grid-cols-5 {
    grid-template-columns: repeat(5, minmax(0, 1fr));
}

.btn-before-login {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    white-space: nowrap;
    line-height: 1.25rem;
    font-size: 0.875rem;
    padding: 0.5rem 1rem;
    height: 2.25rem;
    min-width: 6rem;
}

.btn-before-login:focus-visible {
    outline: none
}

.btn-before-login:disabled {
    cursor: unset;
    opacity: 0.5;
}

.transition-colors {
    transition-property: color,background-color,border-color,text-decoration-color,fill,stroke;
    transition-timing-function: cubic-bezier(.4,0,.2,1);
    transition-duration: .15s;
}

.transition-all {
    transition-property: all;
    transition-timing-function: cubic-bezier(.4,0,.2,1);
    transition-duration: .15s;
}

.btn-register {
    font-weight: 700;
    background-color: var(--primary-color);
    color: #ffffff;
}

.btn-register:hover {
    background-color: var(--primary-color);
    opacity: 0.8;
}

.btn-login {
    border: 1px solid;
    border-color: var(--primary-color);
    background-color: #ffffff;
}

.btn-login:hover {
    background-color: hsl(210, 40%, 96%);
    color: hsl(222, 47%, 11%);
}

.rounded-full {
    border-radius: 9999px;
}

.jp-point {
    padding-right: 0.25rem;
    --tw-bg-opacity: 1;
    background-color: rgb(241 245 249 / var(--tw-bg-opacity, 1));
    height: 1.5rem;
    border-radius: calc(0.5rem - 4px);
    gap: 0.125rem;
}

.jp-point-img {
    color: transparent;
    height: 1.5rem;
}

.normal-point {
    padding-right: 0.25rem;
    --tw-bg-opacity: 1;
    background-color: rgb(241 245 249 / var(--tw-bg-opacity, 1));
    height: 1.5rem;
    gap: 0.25rem;
}

.normal-point-img {
    color: transparent;
    width: 27px;
    height: 27px;
}

.point-number {
    font-weight: 700;
    color: hsl(222, 47%, 11%);
}

.svg-plus {
    --tw-bg-opacity: 1;
    background-color: rgb(220 38 38 / var(--tw-bg-opacity, 1));
}

.svg-plus svg {
    width: 18px;
    height: 18px;
}

.svg-bell {
    color: transparent;
}

.banner-section {
    max-width: 768px;
    margin: 0.5rem auto;
}

.banner-container {
    margin-left: -1rem;
}

.banner-item {
    padding-left: 1rem;
    flex-grow: 0;
    flex-shrink: 0;
    flex-basis: 100%;
    min-width: 0;
}

.banner-item img {
    width: 100%;
    aspect-ratio: 4 / 1;

}

.category-section {
    position: sticky;
    /* top: 65px; */
    z-index: 50;
    box-shadow: rgba(0, 0, 0, 0.1) 0px 4px 2px -2px;
    --tw-bg-opacity: 1;
    background-color: rgb(255 255 255 / var(--tw-bg-opacity, 1));
    top: 80px;
}

.category-list {
    outline: none;
    display: flex;
    justify-content: start;
    align-items: center;
    padding: 0 !important;
    overflow-x: scroll;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.category-item {
    --tw-ring-offset-color: hsl(240 9% 98%);
    font-size: .875rem;
    line-height: 1.25rem;
    text-align: center;
    padding: 0.5rem 0.75rem;
    --tw-border-opacity: 1;
    border-color: rgb(255 255 255 / var(--tw-border-opacity, 1));
    border-bottom-width: 3px;
    flex: 1 1 0%;
    color: hsl(0, 0%, 18%);
}

.category-item.gt3 {
    min-width: 33.333333%;
    flex: none;
}

.active-category {
    font-weight: 700;
    --tw-bg-opacity: 1;
    background-color: rgb(255 255 255 / var(--tw-bg-opacity, 1));
    color: var(--primary-color);
    border-bottom-color: var(--primary-color);
}

.gacha-section {
    background-color: #f9f9fa;
}

.gacha-container {
    padding-top: 1.5rem;
    padding-bottom: 1.5rem;
    min-height: 41vh;
}

.gacha-item {
    --tw-shadow: 0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);
    --tw-shadow-colored: 0 1px 3px 0 var(--tw-shadow-color), 0 1px 2px -1px var(--tw-shadow-color);
    box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
    --tw-bg-opacity: 1;
    background-color: rgb(255 255 255 / var(--tw-bg-opacity, 1));
    border-radius: .25rem;
    overflow: hidden;
    position: relative;
}

.gacha-point {
    font-size: 1.25rem;
    line-height: 1.75rem;
    font-weight: 700;
    color: hsl(222, 47%, 11%);
}

.gacha-text-quantity {
    font-size: 0.875rem;
    line-height: 1.25rem;
    font-weight: 700;
    color: hsl(0, 0%, 18%);
}

.button-buy {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 2.5rem;
    font-size: .875rem;
    line-height: 1.25rem;
    font-weight: 700;
    border-radius: .25rem;
    padding-top: .75rem;
    padding-bottom: .75rem;
}

.button-buy.disabled {
    cursor: unset;
    opacity: 0.5;
    background-color: #a6a6a6;
}

.button-buy.disabled:hover {
    background-color: #a6a6a6;
}

.button-buy-1 {
    background-color: hsl(45, 90%, 54%);
}

.button-buy-10,
.button-buy-100,
.button-buy-all {
    --tw-bg-opacity: 1;
    background-color: rgb(220 38 38 / var(--tw-bg-opacity, 1));
}

.button-buy-1:hover {
    background-color: hsl(45 90% 54% / 0.7);
}

.button-buy-10:hover,
.button-buy-100:hover,
.button-buy-all:hover {
    background-color: rgb(220 38 38 / 0.7);
}

.video-gacha {
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: #000;
    z-index: 999999;
}

.wrap-loading {
    display: flex;
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    justify-content: center;
    align-items: center;
    background: #00000033;
    z-index: 9999;
    scroll-behavior: revert-layer;
    overflow: hidden;
    height: 100vh;
}

.skip-button {
    position: absolute;
    display: flex;
    gap: 0.5rem;
    width: fit-content;
    background: none;
    border: none;
    padding: 20px 0;
    text-decoration: none;
    font-weight: bold;
    align-items: center;
    z-index: 1000;
    top: 10px;
    right: 10px;
    color: white;
    border: none;
    padding: 10px 20px;
    cursor: pointer;
}

.skip-button:hover {
    color: var(--primary-color);
    background-color: none;
}

.grayscale, .invert {
    filter: grayscale(100%);
}

.scroll-to-top {
    display: none;
    position: fixed;
    bottom: 20;
    right: 20;
    z-index: 99;
    border: none;
    border-radius: 9999px;
    outline: none;
    background-color: transparent;
    color: hsl(0, 0%, 98%);
    cursor: pointer;
    padding: 5px;
}

.sticky-nav {
    position: sticky;
    bottom: 0;
    z-index: 50;
    background-color: white;
    --tw-shadow: 0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);
    --tw-shadow-colored: 0 1px 3px 0 var(--tw-shadow-color), 0 1px 2px -1px var(--tw-shadow-color);
    box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
}

.navigation-item {
    color: hsl(0, 0%, 18%);
}

.navigation-item.active {
    color: var(--primary-color);
}

.navigation-name {
    font-size: 0.75rem;
    line-height: 1rem;
    font-weight: 600;
    color: hsl(0, 0%, 18%);
    text-align: center;
}

.navigation-item.active .navigation-name {
    color: var(--primary-color);
}

.footer-section {
    padding-top: 2.2rem;
    padding-bottom: 2.25rem;
    background-color: hsl(0, 0%, 18%);
    color: hsl(0, 0%, 98%);
}

.footer-title {
    font-size: 1.25rem;
    line-height: 1.75rem;
    font-weight: 700;
}

.footer-links a {
    color: hsl(0, 0%, 98%);
}

.button-back {
    margin-left: -6px;
    color: hsl(0, 0%, 18%);
}

.cards-section {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin-top: 2rem;
}

.card-level-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
}

.card-gacha-quantity {
    top: 0;
    right: 0;
    position: absolute;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: hsl(0, 0%, 18%);
    padding-left: 0.75rem;
    padding-right: 0.75rem;
}

.card-gacha-quantity-text {
    font-size: 1.5rem;
    line-height: 2rem;
    font-weight: 700;
}

.sticky-bottom-gacha {
    position: sticky;
    bottom: 0;
    z-index: 50;
    background-color: white;
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
    border-top-left-radius: 0.5rem;
    border-top-right-radius: 0.5rem;;
}

.user-rank-container {
    position: relative;
    overflow: hidden;
    border-radius: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.user-rank-container img {
    /* width: 100%;
    height: auto; */
    height: 250px;
    color: transparent;
    object-fit: fill;
}

.user-invitation-info {
    display: flex;
    flex-direction: column;
    padding: 1rem;
    border-radius: 0.75rem;
}

.divider-bottom>:not([hidden])~:not([hidden]) {
    --tw-divide-opacity: 1;
    border-color: rgb(226 232 240 / var(--tw-divide-opacity, 1));
    --tw-divide-y-reverse: 0;
    border-top-width: calc(1px * calc(1 - var(--tw-divide-y-reverse)));
    border-bottom-width: calc(1px * var(--tw-divide-y-reverse));
}

.register-link {
    color: var(--primary-color);
    margin-top: 15px;
    font-size: 12px;
    text-decoration: none;
    text-align: center;
    text-wrap: nowrap;
}

.forgot-pass-link{
    color: var(--primary-color);
    text-decoration: none;
    white-space: nowrap;
}

.forgot-pass-link:hover{
    color: var(--primary-color);
    opacity: 0.7;
}

.checkbox-text:before {
    border-color: var(--primary-color) !important;
}

.checkbox-text:after {
    border-color: var(--primary-color) !important;
    top: 4px !important;
    left: 9px !important;
}

.checkbox-result input:checked + label:after, .checkbox-acquired input:checked + label:after {
    top: 3px !important;
    left: 8px !important;
}

.form-login form {
    min-width: 100% !important;
}

.type-column {
    border: 1px solid var(--primary-color);
    outline: none;
    color: var(--primary-color);
    background: hsl(0, 0%, 98%);
    border-top-left-radius: 7px;
    border-bottom-left-radius: 7px;
    width: 41px;
    height: 28px;
    border-right: 0px;
}

.type-row {
    border: 1px solid var(--primary-color);
    outline: none;
    color: var(--primary-color);
    background: hsl(0, 0%, 98%);
    border-top-right-radius: 7px;
    border-bottom-right-radius: 7px;
    width: 41px;
    height: 28px;
}

.type-active {
    background: var(--primary-color);
    color: hsl(0, 0%, 98%);
    border: 1px solid var(--primary-color);
}

.product-action button.btn-skip {
    width: 250px;
    padding: 7px;
    border-radius: 9999px;
    border-color: var(--primary-color);
    outline: none;
    color: var(--primary-color);
    background: hsl(0, 0%, 98%);
    border: 1px solid;
    margin-bottom: 15px;
    font-weight: bold;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
}

.product-action button.btn-skip a {
    margin: 0;
    height: 100%;
    width: 100%;
    text-align: center;
    color: var(--primary-color);
}

.product-action button.btn-skip a:hover {
    color: var(--primary-color) !important;
    opacity: 0.7;
}

.product-action button.btn-convert {
    width: 250px;
    padding: 7px;
    border-radius: 9999px;
    border-color: var(--primary-color);
    outline: none;
    color: hsl(0, 0%, 98%);
    background: var(--primary-color);
    border: none;
    margin-bottom: 15px;
    font-weight: bold;
}

.product-action button.btn-convert[disabled] {
    background: var(--primary-color);
    opacity: 0.5;
}

.modal .btn-submit {
    background-color: var(--primary-color) !important;
    border: none;
    outline: none;
    color: hsl(0, 0%, 98%);
}

.modal .btn-submit:hover {
    background-color: var(--primary-color) !important;
    opacity: 0.7;
}

.text-after-gacha{
    font-size: 35px;
    padding: 30px 0;
    font-weight: 700;
    white-space: nowrap;
}

.back-highlight {
    height: 8rem; 
    background: linear-gradient(to right, #fbff00 0%, #ff5555 100%);
    border-radius: 0.5rem;
    padding-right: 1rem;
}

.vertical-sideways {
    writing-mode: sideways-lr;
    text-orientation: sideways;
    color: #ff5353;
    font-size: 1rem;
    padding-left: 1rem;
    padding-right: 1rem;
}

.active-checkbox {
    background: var(--primary-color);
}

.ac-check label{
    cursor: pointer;
}

.ref-content-body {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.copy-code-button {
    background: var(--primary-color);
}

.unread {
    position: absolute;
    top: 0;
    right: 0;
    width: 2rem;
    height: 50%;
    background: red;
    clip-path: polygon(0 0, 100% 0, 100% 100%);
}

.unread span {
    position: absolute;
    top: 2px;
    right: 2px;
    color: white;
    font-size: 10px;
    transform: rotate(45deg);
}

.list-contact hr {
    opacity: 0.6;
    border-width: 0px 0px 1px;
    border-image: initial;
    border-style: solid;
    width: 100%;
    border-color: hsl(0, 0%, 80%);
}

.pagination {
    display: flex;
    justify-content: center;
    list-style: none;
}
.page-item.active {
    z-index: 3;
    color: #ffffff;
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}
.page-item.disabled {
    color: #4B5563;
    pointer-events: none;
    background-color: #ffffff ;
    border-color: var(--primary-color);
}

.page-link {
    position: relative;
    display: block;
    color: var(--primary-color);
    background-color: #ffffff;
    border: 0.0625rem solid var(--primary-color);
    transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

.page-item.active .page-link {
    z-index: 3;
    color: #ffffff;
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.page-item.disabled .page-link {
    color: var(--primary-color);
    pointer-events: none;
    background-color: #ffffff;
    border-color: var(--primary-color);
}

.page-link:hover {
    z-index: 2;
    color: var(--primary-color);
    background-color: hsl(0, 0%, 98%);
    border-color: var(--primary-color);
}

.page-link:focus {
    z-index: 3;
    color: var(--primary-color);
    background-color: #E5E7EB;
    outline: 0;
    box-shadow: 0 0 0 0.18rem rgba(31, 41, 55, 0.25);
}

.tab-item {
    /* --tw-ring-offset-color: hsl(240 9% 98%); */
    padding: 0.5rem 0.75rem;
    flex: 1 1 0%;
    border-bottom-width: 2px;
    text-align: center;
    font-size: 0.75rem;
    line-height: 1.25rem;
}

.tab-item.active {
    color: var(--primary-color);
    font-weight: 700;
    border-bottom-color: var(--primary-color);
    --tw-bg-opacity: 1;
    background-color: rgb(255 255 255 / var(--tw-bg-opacity, 1));
}

.padding-no-data {
    padding-top: 12rem;
    padding-bottom: 12rem;
}

@media screen and (min-width: 640px) {
    .category-item.gt3 {
        min-width: unset;
        flex: 1 1 0%;
    }

    .grid-cols-2-sm {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    /* .img-logo {
        width: 152px;
        margin-left: 0;
    } */

    .after-login {
        gap: 0.75rem;
        margin-right: 0;
    }

    .jp-point {
        font-size: 1rem;
        line-height: 1.5rem;
        padding-right: 0.25rem;
        height: 1.75rem;
    }

    .jp-point-img {
        /* width: 56px;
        height: 53px; */
        margin-right: 0;
    }

    .normal-point {
        font-size: 1rem;
        line-height: 1.5rem;
        padding-right: 0.25rem;
        height: 1.75rem;
    }

    .normal-point-img {
        width: 30px;
        height: 30px;
    }

    .svg-plus svg {
        width: 1.25rem;
        height: 1.25rem;
    }

    .svg-bell {
        width: 24px;
    }

    .banner-item {
        flex-basis: 60%;
    }

    .banner-item img {
        border-radius: calc(0.5rem - 2px);
    }

    .tab-item {
        font-size: 0.875rem;
    }
}

.label-payment{
    font-size: 20px;
}

.active-checkbox .label-payment{
    color: white;
    background: var(--primary-color);
}

#pt_exchange_card::after {
    content: 'PT交換専用カード';
}
@media screen and (max-width: 530px) {
    #pt_exchange_card::after {
        content: 'PT交換専用';
    }
}

.text-white{
    color: white;
}