

/* =========================

result

========================= */

/* 上書き main */
main .result { margin: 0 auto; padding: 0 30px; }

@media screen and (min-width: 768px) {
main .result { padding: 0 15px; padding-bottom: 200px; }
}


/* search__condition-btn（条件を変更する） */
main .result .search__condition-btn { border: 1px solid #231f20; font-weight: bold; }



/* product */
@media screen and (min-width: 768px) {
main .product { width: 60%; }
}
@media screen and (min-width: 850px) {
main .product { width: 46vw; }
}
@media screen and (min-width: 992px) {
main .product { width: 54vw; }
}
@media screen and (min-width: 1200px) {
main .product { width: 58vw; max-width: 1140px; }
}


/* product - head */
main .product .head { display: flex; align-items: flex-end; position: relative; flex-wrap: wrap; margin-bottom: 20px; }
main .product .head h2 { font-size: 22px; margin-right: 5px; }
main .product .head .dl-download-btn { width: 30px; position: absolute; right: 0; bottom: 0; }
main .product .head .tips { margin-bottom: 0.5rem; }
main .product .head .tips { font-size: 10px; }

@media screen and (min-width: 768px) {
main .product .head { margin-bottom: 50px; }
main .product .head h2 { font-size: 24px; margin-right: 10px; }
main .product .head .tips { font-size: 16px; }
}
@media screen and (min-width: 1024px) {
main .product .head h2 { font-size: 32px; }
}




/* product__group */
main .product__group:last-child { border-bottom: none; }
main .product__group { border-bottom: 1px solid #ccc8bd; padding-top: 30px; }
main .product__group.no-bottom-border { border-bottom: none; }
main .product__group-name { font-size: 26px; font-weight: bold; }
main .product__grid { display: grid; grid-row-gap: 40px; grid-column-gap: 20px; padding: 40px 0; grid-template-columns: repeat(2, 1fr); }

main .product__item { position: relative; cursor: pointer; }
main .product__item:hover { opacity: 0.8; }
main .product__item .main-image { width: 100%; aspect-ratio: 1/1; background-color: #c7c8ca; }
main .product__item .sub-title { margin-top: 16px; margin-bottom: 1px; font-size: 10px; font-weight: bold; }
main .product__item .title { font-size: 14px; font-weight: bolder; line-height: 20px; padding-bottom: 4px; }
main .product__item .price { font-size: 10px; font-weight: bold; }
main .product .product__item-wrapper { position: relative; }
main .product .product__item-wrapper.--new-tag::after { content: 'NEW'; display: flex; justify-content: center; align-items: center; position: absolute; font-weight: bolder; letter-spacing: 0; width: 40px; height: 40px; background-color: #9b070c; color: white; border-radius: 50%; left: 0; top: -14px; z-index: 3; font-size: 10px; }

@media screen and (min-width: 768px) {
main .product__grid { grid-template-columns: repeat(3, 1fr); }
}
@media screen and (min-width: 1191px) {
main .product__grid { grid-template-columns: repeat(4, 1fr); }
}




/* product__pagination */
main .product__pagination { display: flex; justify-content: center; align-items: center; gap: 15px; font-weight: bold; font-size: 16px; margin-top: 30px; }
main .product__pagination .line { width: 0.1px; height: 16px; background-color: #333; }
main .product__pagination a { cursor: pointer; }
main .product__pagination { margin-bottom: 100px; }

@media screen and (min-width: 768px) {
main .product__pagination { margin-bottom: 0; }
}





/* search-part（検索） */
main .search-part { position: fixed; right: 0; top: 100px; right: 50px; height: calc(100vh - 100px); overflow-y: scroll; overflow-x: hidden; padding-bottom: 150px; -ms-overflow-style: none; scrollbar-width: none; }
main .search-part::-webkit-scrollbar { display: none; }
main .search-part .search__filter-pad .filter-group .filter-group__item { border-bottom: 1px solid #ccc8bd; transition: all 0.2s ease-in-out; }
main .search-part .search__filter-pad .filter-group .group-title { font-size: 16px; font-weight: bold; padding: 20px 0; }
main .search-part .search__filter-pad .filter-group .search__input-group { display: flex; flex-direction: column; gap: 10px; }
main .search-part .search__filter-pad .filter-group .search__input-group button { margin: 30px 0 60px 0; }
main .search-part .search__filter-pad .filter-group .bottom-select { display: flex; flex-wrap: wrap; gap: 14px; }
main .search-part .search__filter-pad .filter-group .radio-line { display: flex; padding-left: 10px; gap: 3px; margin-top: 10px; }
main .search-part .search__filter-pad .filter-group .dl-download { display: flex; align-items: center; gap: 10px; font-size: 16px; font-weight: bold; margin-bottom: 40px; cursor: pointer; }
main .search-part .search__filter-pad .filter-group .dl-download:hover { opacity: 0.7; }
main .search-part .search__filter-pad .filter-group .dl-download .icon { width: 30px; height: 30px; }
main .search-part .search__filter-pad .filter-group .dl-download .icon img { width: 100%; height: 100%; }
main .search-part .search__filter-pad .filter-group .outer { display: none; }
main .search-part .search__filter-pad .filter-group .open { border-bottom: 2px solid transparent; }
main .search-part .search__filter-pad .filter-group .open .filter-group__title svg { transform: rotate(180deg); }
main .search-part .search__filter-pad .filter-group__content { display: flex; flex-wrap: wrap; padding: 12px; gap: 16px; }
main .search-part .search__filter-pad .filter-group__content label { font-size: 14px; margin-bottom: 0; padding-left: 6px; }
main .search-part .search__filter-pad .filter-group__content-item { display: flex; align-items: center; }
main .search-part .search__filter-pad .filter-group__content .color-ball { width: 16px; height: 16px; display: inline-block; border-radius: 50%; margin-right: 2px; }
main .search-part .search__filter-pad .filter-group__content .slide-group { width: 340px; }
main .search-part .search__filter-pad .filter-group__content .slide-group label { font-size: 14px; width: 50px; display: block; }
main .search-part .search__filter-pad .filter-group__content .slide-group .input-config-checkbox { display: flex;  gap: 6px; align-items: center; margin-top: 4px;}
main .search-part .search__filter-pad .filter-group__content .slide-group .input-config-checkbox span { font-size: 14px; display: block; white-space: nowrap;}
main .search-part .search__filter-pad .filter-group__content .slide-group .input-list { font-size: 14px; display: flex; gap: 6px; align-items: center; }
main .search-part .search__filter-pad .filter-group__content .slide-group input:not([id="over-price"]) { width: 100px; border: 1px solid #c3cbd1; border-radius: 2px; padding: 8px 10px; color: #c3cbd1; }
main .search-part .search__filter-pad .filter-group__content .-white { background-color: #eeeeef; }
main .search-part .search__filter-pad .filter-group__content .-rice { background-color: #eeecd9; }
main .search-part .search__filter-pad .filter-group__content .-page { background-color: #dcd0b6; }
main .search-part .search__filter-pad .filter-group__content .-brown { background-color: #7c5841; }
main .search-part .search__filter-pad .filter-group__content .-grey { background-color: #b0b1b5; }
main .search-part .search__filter-pad .filter-group__content .-black { background-color: #000; }
main .search-part .search__filter-pad .filter-group__content .-blue { background-color: #337e99; }
main .search-part .search__filter-pad .filter-group__content .-green { background-color: #648c54; }
main .search-part .search__filter-pad .filter-group__content .-yellow { background-color: #ded164; }
main .search-part .search__filter-pad .filter-group__content .-orange { background-color: #d8a13b; }
main .search-part .search__filter-pad .filter-group__content .-red { background-color: #be111c; }
main .search-part .search__filter-pad .filter-group__content .-pink { background-color: #ebb0ae; }
main .search-part .search__filter-pad .filter-group__content .-purple { background-color: #a198b2; }
main .search-part .search__filter-pad .filter-group__content .-gold { background-image: linear-gradient(to bottom right, white, #b29a38); }
main .search-part .search__filter-pad .filter-group__content .-silver { background-image: linear-gradient(to bottom right, white, #b3b4b8); }
main .search-part .search__filter-pad .filter-group__content .-maru { background-image: linear-gradient(to bottom right, #bf1c1c, #d89d39); }
main .search-part .search__filter-pad .filter-group__title { padding: 5px 12px; font-size: 14px; background-color: #e8e7e3; font-weight: bold; display: flex; justify-content: space-between; align-items: center; cursor: pointer; }
main .search-part .search__filter-pad .filter-group__title svg { transform: rotate(0); transition: all 0.2s ease-in-out; }

@media screen and (min-width: 768px) {
main .search-part { width: 30%; }
}
@media screen and (min-width: 1024px) {
main .search-part { width: 300px; }
main .search-part .search__filter-pad .filter-group .radio-line { padding-left: 30px; gap: 15px; }
}



/*# sourceMappingURL=./result.css.map */

.result .product__item-intro { font-size: 10px; }
.result .product__item .tag-box { display: flex; gap: 5px; align-items: center; margin-top: 8px; font-size: 13px; }
.result .product__item .tag { color: #fff; border-radius: 6px; width: 22px; height: 22px; display: flex; align-items: center; justify-content: center; line-height: 22px; }
.result .product__item .blue-tag { background-color: #1c66b2; }
.result .product__item .blue-tag + .tag-txt { color: #1c66b2; }
.result .product__item .orange-tag { background-color: #f58848; }
.result .product__item .orange-tag + .tag-txt { color: #f58848; }
.result .product__item .red-tag { background-color: #d8000d; }
.result .product__item .red-tag + .tag-txt { color: #d8000d; }
.result .product__item .violet-tag { background-color: #b20080; }
.result .product__item .violet-tag + .tag-txt { color: #b20080; }

/* 表示順と表示件数の親コンテナ */
.order-controls {
    display: flex;
    justify-content: flex-start;
    gap: 20px;
    align-items: center;
    margin-top: 2rem;
}

.result .order__input-group {
    width: 180px;
    margin: 0;
}

/* スマホサイズのスタイル */
@media screen and (max-width: 767px) {
    .order-controls {
        margin-top: 1rem;
        gap: 10px;
    }
    .result .order__input-group {
        width: 48%;
    }
}

@media print, screen and (min-width: 768px) {
main .product__grid { grid-row-gap: 60px; grid-column-gap: 20px; padding: 80px 0; }
main .product__item .sub-title { font-size: 14px; margin-bottom: 5px; }
main .product__item .title { font-size: 20px; line-height: 20px; padding-bottom: 8px; padding-bottom: 6px; }
main .product__item .price { font-size: 12px; }
main .product__pagination { gap: 10px; font-size: 16px; }
main .product__pagination .line { height: 16px; background-color: #333; }
main .product .product__item-wrapper.--new-tag::after { width: 60px; height: 60px; top: -20px; font-size: 16px; }
.order-controls {
    margin-top: 3rem;
}
.result .order__input-group {
    height: 3rem;
    width: 180px;
    margin: 0;
}
}

main .product__item .main-image {
    background-color: transparent;
}

.product__pagination .page {
    position: relative;
    font-size: 20px;
    text-decoration: none;
}

.product__pagination .page:is([active], a:hover)::before {
    position: absolute;
    content: '';
    width: 100%;
    height: 120%;
    border-bottom: solid;
}

/* お気に入りボタン */
.product__item-wrapper {
    position: relative;
}

.favorite-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 36px;
    height: 36px;
    background: rgba(255, 255, 255, 0.9);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 2;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.favorite-btn:hover {
    transform: scale(1.1);
}

.favorite-btn .favorite-icon {
    width: 20px;
    height: 20px;
    color: #ccc;
    transition: color 0.3s ease;
}

.favorite-btn.is-favorite .favorite-icon {
    color: #e91e63;
}

/* お気に入りなし */
.no-favorites {
    text-align: center;
    padding: 60px 20px;
    color: #666;
}

.no-favorites p {
    font-size: 16px;
    margin-bottom: 20px;
}

/* ローディング */
.loading {
    text-align: center;
    padding: 60px 20px;
    color: #666;
}

/* エラー */
.error {
    text-align: center;
    padding: 60px 20px;
    color: #c00;
}

/* カスタム確認ポップアップ */
.custom-confirm-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    animation: fadeIn 0.2s ease;
}
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}
.custom-confirm-dialog {
    background: #fff;
    padding: 40px 56px;
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
    max-width: 420px;
    min-width: 320px;
    text-align: center;
    animation: slideUp 0.25s ease;
}
@keyframes slideUp {
    from { transform: translateY(20px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}
.custom-confirm-message {
    font-size: 18px;
    font-weight: 500;
    margin-bottom: 32px;
    color: #333;
    line-height: 1.5;
}
.custom-confirm-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
}
.custom-confirm-link {
    padding: 12px 40px;
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
    border-radius: 6px;
    transition: all 0.2s ease;
    text-decoration: none;
}
.custom-confirm-link:first-child {
    background: #333;
    color: #fff;
}
.custom-confirm-link:first-child:hover {
    background: #555;
    color: #fff;
    text-decoration: none;
}
.custom-confirm-link:last-child {
    background: #f5f5f5;
    color: #666;
}
.custom-confirm-link:last-child:hover {
    background: #e8e8e8;
    color: #333;
    text-decoration: none;
}

/* お気に入りリンク（タイトル行）スタイル */
.favorite-nav {
    margin-bottom: 1rem;
    margin-right: 10px;
    margin-left: auto;
}
.favorite-page-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    color: inherit;
    text-decoration: none;
    border-radius: 6px;
}
.favorite-page-link .favorite-icon i {
    font-size: 18px;
}

@media screen and (max-width: 767px) {
    .favorite-page-link {
        font-size: 14px;
    }
    .favorite-page-link .favorite-icon img {
        width: 14px !important;
        height: 14px !important;
    }
}

@media screen and (min-width: 768px) {
    .favorite-page-link .favorite-icon img {
        width: 16px !important;
        height: 16px !important;
    }
}

/* インフォメーションツールチップ */
.info-tooltip {
    position: relative;
    display: inline-block;
    cursor: pointer;
    margin-bottom: 0.7rem;
}
.info-tooltip .info-icon {
    width: 20px;
    height: 20px;
    vertical-align: middle;
}
.info-tooltip .info-tooltip-content {
    display: none;
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    background-color: #333333d7;
    color: #fff;
    padding: 12px 16px;
    border-radius: 6px;
    font-size: 12px;
    white-space: nowrap;
    z-index: 100;
    margin-top: 8px;
}
.info-tooltip .info-tooltip-content p {
    margin: 0;
    line-height: 1.6;
}
.info-tooltip .info-tooltip-content::before {
    content: '';
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    border: 6px solid transparent;
    border-bottom-color: #333;
}
.info-tooltip:hover .info-tooltip-content {
    display: block;
}

@media screen and (max-width: 767px) {
    .favorite-btn {
        width: 32px;
        height: 32px;
    }
    
    .favorite-btn .favorite-icon {
        width: 18px;
        height: 18px;
    }

    .favorite-nav{
        margin-bottom: 0.75rem;
        margin-right: 0px;
        margin-left: auto;
    }
}
main .product .head { margin-bottom: 1.5rem; }
main .order-controls { margin-top: 1.5rem; }