body.modal-open {
    width: 100%;
    position: fixed;
    height: 100vh;
    overflow-y: hidden;
    padding-right: 15px; /* 幅のリフローを避ける */
}

label {
    cursor: pointer;
}

input[type="radio"], input[type="checkbox"] {
    border-top-width: 1px;
    margin: 0;
    padding: 0;
    background: none;
    border: none;
    border-radius: 0;
    outline: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}

.search-header {
    cursor: pointer;
}

.quick-view {
    z-index: 10001;
}
@media (min-width: 768px) {
    .quick-view-sp {
        display: none!important;
    }
}
@media (max-width: 769px) {
    .quick-view-pc {
        display: none!important;
    }
}

.close-area {
    z-index: 1;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}

.is-fav {
    stroke: red;
    fill: red;
}

.bg-white {
    z-index: 2;
}

.select-thumb {
    background-color: rgb(204, 204, 204);
    border: none;
    transform: none;
    background-size: contain;
}

.is-show-sp-side {
    top: 140px;
    right: calc(24rem * -1.6);
    opacity: 0;
    visibility: hidden;
    transition: right 0.3s ease, opacity 0.5s, visibility 0.5s;
}
@media screen and (max-width: 767px) {
    .is-show-sp-side {
        top: 60px;
    }
}

.is-show-sp-side.open {
    right: 0;
    opacity: 1;
    visibility: visible;
}

.search-pagination .disabled {
    pointer-events: none;
}

.search-pagination .arrow.active {
    background-color: rgb(245, 245, 247);
}

.search-pagination .arrow.disabled path {
    stroke: #e5e7eb;
}

.grid-col-auto-60{
    grid-template-columns: repeat(auto-fill, 60px);
}

.fav-mark{
    font-size: 12px;
}

/*キーワード検索のオートコンプリート*/
.autocomplete {
    position: relative;
    width: 100%;
}

.keyword-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    border: 1px solid #ccc;
    background: white;
    max-height: 150px;
    overflow-y: auto;
    margin: 4px 0 0;
    padding: 0;
    list-style: none;
}

.keyword-dropdown li {
    padding: 0.5rem;
    cursor: pointer;
}

.keyword-dropdown li.highlighted {
    background-color: #f0f0f0;
}

.transitioning {
    position: relative;
    z-index: 1; // または auto, 0 など調整
}
.aspect-square{
    transition: transform 0.3s ease-in-out;
}

/*.modal-btn{*/
/*    transition: transform 0.3s ease-in-out;*/
/*}*/
/*.modal-btn:hover{*/
/*    transform: scale(1.02) translateZ(0px);*/
/*}*/

/*inputのスタイル消し*/
.no-input-style{
    margin: 0;
    padding: 0;
    background: none;
    border: none;
    border-radius: 0;
    outline: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    -moz-appearance:textfield;
}
.no-input-style::-webkit-inner-spin-button,
.no-input-style::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
    -moz-appearance:textfield;
}

/*ローディング*/
.loading {
    background: #ccc;
    position: fixed;
    top: 0;
    width: 100%;
    height: 100%;
    z-index: 10000;
    opacity: 0.6;

    .loader_loading {
        position: fixed;
        top: 0;
        left: 0;
        overflow: auto;
        width: 100vw;
        height: 100vh;
        background-color: #000;
        opacity: .6;
        z-index: 10001;
    }

    span {
        display: block;
        font-size: 25px;
        width: 1.4rem;
        height: 1.4rem;
        border-radius: 50%;
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        text-indent: -9999em;
        -webkit-animation: load5 1.1s infinite ease;
        animation: load5 1.1s infinite ease;
        -webkit-transform: translateZ(0);
        -ms-transform: translateZ(0);
        transform: translateZ(0);
    }
}


@keyframes load5 {
    0%,
    100% {
        box-shadow: 0em -2.6em 0em 0em #ccc, 1.8em -1.8em 0 0em rgba(255, 255, 255, 0.2), 2.5em 0em 0 0em rgba(255, 255, 255, 0.2), 1.75em 1.75em 0 0em rgba(255, 255, 255, 0.2), 0em 2.5em 0 0em rgba(255, 255, 255, 0.2), -1.8em 1.8em 0 0em rgba(255, 255, 255, 0.2), -2.6em 0em 0 0em rgba(255, 255, 255, 0.5), -1.8em -1.8em 0 0em rgba(255, 255, 255, 0.7);
    }
    12.5% {
        box-shadow: 0em -2.6em 0em 0em rgba(255, 255, 255, 0.7), 1.8em -1.8em 0 0em #ccc, 2.5em 0em 0 0em rgba(255, 255, 255, 0.2), 1.75em 1.75em 0 0em rgba(255, 255, 255, 0.2), 0em 2.5em 0 0em rgba(255, 255, 255, 0.2), -1.8em 1.8em 0 0em rgba(255, 255, 255, 0.2), -2.6em 0em 0 0em rgba(255, 255, 255, 0.2), -1.8em -1.8em 0 0em rgba(255, 255, 255, 0.5);
    }
    25% {
        box-shadow: 0em -2.6em 0em 0em rgba(255, 255, 255, 0.5), 1.8em -1.8em 0 0em rgba(255, 255, 255, 0.7), 2.5em 0em 0 0em #ccc, 1.75em 1.75em 0 0em rgba(255, 255, 255, 0.2), 0em 2.5em 0 0em rgba(255, 255, 255, 0.2), -1.8em 1.8em 0 0em rgba(255, 255, 255, 0.2), -2.6em 0em 0 0em rgba(255, 255, 255, 0.2), -1.8em -1.8em 0 0em rgba(255, 255, 255, 0.2);
    }
    37.5% {
        box-shadow: 0em -2.6em 0em 0em rgba(255, 255, 255, 0.2), 1.8em -1.8em 0 0em rgba(255, 255, 255, 0.5), 2.5em 0em 0 0em rgba(255, 255, 255, 0.7), 1.75em 1.75em 0 0em #ccc, 0em 2.5em 0 0em rgba(255, 255, 255, 0.2), -1.8em 1.8em 0 0em rgba(255, 255, 255, 0.2), -2.6em 0em 0 0em rgba(255, 255, 255, 0.2), -1.8em -1.8em 0 0em rgba(255, 255, 255, 0.2);
    }
    50% {
        box-shadow: 0em -2.6em 0em 0em rgba(255, 255, 255, 0.2), 1.8em -1.8em 0 0em rgba(255, 255, 255, 0.2), 2.5em 0em 0 0em rgba(255, 255, 255, 0.5), 1.75em 1.75em 0 0em rgba(255, 255, 255, 0.7), 0em 2.5em 0 0em #ccc, -1.8em 1.8em 0 0em rgba(255, 255, 255, 0.2), -2.6em 0em 0 0em rgba(255, 255, 255, 0.2), -1.8em -1.8em 0 0em rgba(255, 255, 255, 0.2);
    }
    62.5% {
        box-shadow: 0em -2.6em 0em 0em rgba(255, 255, 255, 0.2), 1.8em -1.8em 0 0em rgba(255, 255, 255, 0.2), 2.5em 0em 0 0em rgba(255, 255, 255, 0.2), 1.75em 1.75em 0 0em rgba(255, 255, 255, 0.5), 0em 2.5em 0 0em rgba(255, 255, 255, 0.7), -1.8em 1.8em 0 0em #ccc, -2.6em 0em 0 0em rgba(255, 255, 255, 0.2), -1.8em -1.8em 0 0em rgba(255, 255, 255, 0.2);
    }
    75% {
        box-shadow: 0em -2.6em 0em 0em rgba(255, 255, 255, 0.2), 1.8em -1.8em 0 0em rgba(255, 255, 255, 0.2), 2.5em 0em 0 0em rgba(255, 255, 255, 0.2), 1.75em 1.75em 0 0em rgba(255, 255, 255, 0.2), 0em 2.5em 0 0em rgba(255, 255, 255, 0.5), -1.8em 1.8em 0 0em rgba(255, 255, 255, 0.7), -2.6em 0em 0 0em #ccc, -1.8em -1.8em 0 0em rgba(255, 255, 255, 0.2);
    }
    87.5% {
        box-shadow: 0em -2.6em 0em 0em rgba(255, 255, 255, 0.2), 1.8em -1.8em 0 0em rgba(255, 255, 255, 0.2), 2.5em 0em 0 0em rgba(255, 255, 255, 0.2), 1.75em 1.75em 0 0em rgba(255, 255, 255, 0.2), 0em 2.5em 0 0em rgba(255, 255, 255, 0.2), -1.8em 1.8em 0 0em rgba(255, 255, 255, 0.5), -2.6em 0em 0 0em rgba(255, 255, 255, 0.7), -1.8em -1.8em 0 0em #ccc;
    }
}
