@charset "utf-8";
    label {
        margin-right: 1em;
    }

    label>input {
        margin-right: 0.5em;
    }

    .webgene-search-form {
        width: 100%;
        max-width: 1920px;
        margin: 0 auto;
    }

    .webgene-search-form-block {
        padding: 8px 0;
        margin-bottom: 10px;
    }

    .search-submit {
        display: block;
    }

    .search-title {
        font-weight: 700;
    }

    .search-area-title {
        font-weight: 700;
    }

input[type=checkbox] {
      height: 16px;
    width: 16px;
}
.main-btn {
    position: relative;
    width: 240px;
    text-align: center;
    padding: 1.5rem;
    background-color: #2F2020;
    border-radius: 100px;
    border: none;
    display: block;
    transition: all 0.5s ease;
    height: fit-content;
    font-weight: bold;
    z-index: 0;
    transition: all .5s;
    font-weight: bold !important;
    color: #FFF !important;
    font-size: 1rem;
    padding-left: 2rem;
}
.main-btn-wrap {
    position: relative;
    width: fit-content;
    margin: 2rem auto;
}
.main-btn:hover {
    opacity: 0.5;
}

.search {
    padding: clamp(2.5rem, 0.833rem + 3.47vw, 5rem) clamp(1.25rem, -9.917rem + 23.26vw, 18rem) 0;
}
.search-title-wrapper {
        padding: 1rem 2rem;
    background-color: #fff;
    border-left: #2F2020 12px solid;
    margin-bottom: 1rem;

    @media(max-width:900px) {
        border-left: #2F2020 7px solid;
        padding-left: 30px;
    }
}

.search-title {
    position: relative;
    padding-left: 1rem;
    font-size: clamp(0.875rem, 0.739rem + 0.68vw, 1.25rem);

    @media(max-width:900px) {
        padding-left: 0;
    }
}

.search-contents-wrapper {
    padding: 1rem 2rem;

    @media(max-width:900px) {
        padding: 0;
        padding-bottom: 1rem;
    }
}

.c,
.d,
.g,
.h,
.i {
    margin: 0 0 1rem 2rem;
    display: grid;
    grid-template-columns: 1fr 5fr;
    gap: 1rem;
    border-bottom: 1px solid #2F2020;
    align-items: center;

    @media(max-width:900px) {
        display: flex;
        flex-wrap: wrap;
        gap: 1rem;
        margin-left: 0;

        .search-subtitle-wrapper {
            width: 100%;
        }
    }
}

.c p:nth-child(1),
.d p:nth-child(1),
.g p:nth-child(1),
.h p:nth-child(1),
.i p:nth-child(1) {
    position: relative;
    padding-left: 2rem;
    font-size: 16px;
    font-weight: bold;
}

.c p:nth-child(1):before,
.d p:nth-child(1):before,
.g p:nth-child(1):before,
.h p:nth-child(1):before,
.i p:nth-child(1):before {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    margin: auto 0;
    left: 0;
    width: 12px;
    height: 12px;
    background-color: #003657;
    border-radius: 30px;
}


/*====================
Pagination
====================*/
.webgene-pagination {
    width: 100%;
    grid-column: 1 / 3;
}

.webgene-pagination>ul {
    display: flex;
    padding: 0;
    justify-content: center;
    gap: 30px;
    align-items: center;
}

.webgene-pagination>ul>li {
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #FFF;
    list-style: none;
    border: 1px solid #2F2020;
}

.webgene-pagination>ul>li.prev,
.webgene-pagination>ul>li.next {
    border: none;
    background-color: transparent;
    border-bottom: 1px solid #2F2020;
    transition: .4s ease;
}

.webgene-pagination>ul>li.prev a,
.webgene-pagination>ul>li.next a {
    padding: 0;
    background-color: transparent;
}

.webgene-pagination>ul>li.prev:hover a:before,
.webgene-pagination>ul>li.next:hover a:before {
    content: none;
}

.webgene-pagination>ul>li.prev:hover,
.webgene-pagination>ul>li.next:hover {
    opacity: 50%;
}



.webgene-pagination>ul>li a {
    position: relative;
    color: #2F2020 !important;
    padding: 0.8rem 1.3rem;
    background-color: #FFF;
}

.webgene-pagination>ul>li.selected a,
.webgene-pagination>ul>li:hover a {
    position: relative;
    color: #2F2020 !important;
}

.webgene-pagination>ul>li.selected a:before,
.webgene-pagination>ul>li:hover a:before {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background-color: #2F2020;
}

/*====================
アーカイブ
====================*/
.list-wrap { 
  padding: clamp(5rem, 3.333rem + 3.47vw, 7.5rem) clamp(1.25rem, -8rem + 19.27vw, 15.125rem) 160px;


    .webgene-blog {

        display: flex;
        flex-direction: column;
        gap: 40px;

        .list-link:hover {
            opacity: 0.5;
        }
    }

    .webgene-item {
        padding-bottom: 27px;
        position: relative;
    }

    .webgene-item::after {
        content: "";
        position: absolute;
        width: calc(100% - 245px);
        height: 1px;
        background-color: #707070;
        bottom: 0;
        right: 0;

        @media(max-width:1150px) {
            width: calc(100% - 162px);
        }
        @media(max-width:500px) {
            width: 100%;
        }
    }

    .listLk {
        display: flex;
        gap: 40px;

        @media(max-width:1150px) {
            gap: 16px;
        }
        @media(max-width:500px) {
            flex-direction: column;
        }

        .column {
            display: flex;
            gap: 40px;
            align-items: center;
            width: 100%;

            @media(max-width:1150px) {
                flex-direction: column;
                gap: 16px;
            }
        }

        .listLkImgWr {
            max-width: 245px;
            width: 100%;
            height: 180px;
            border-radius: 10px;

            @media(max-width:1150px) {
                max-width: 162px;
                height: 103px;
            }
            @media(max-width:500px) {
                max-width: unset;
                height: 240px;
          }

            img {
                width: 100%;
                height: 100%;
                object-fit: cover;
                border-radius: 10px;
            }
        }

        .listCt {
            flex: 1;

            @media(max-width:1150px) {
                flex: auto;
                width: 100%;
            }
        }

        .categoryTxt {
            display: block;
            color: #FFF;
            font-size: 14px;
            background-color: #FF7745;
            padding: .25rem 1rem;
            border-radius: 50px;
            text-align: center;
            width: fit-content;
            margin-bottom: 20px;
        }

        .itemtitle {
            font-weight: 600;
            font-size: clamp(1rem, 0.293rem + 1.47vw, 2.063rem);
            letter-spacing: 0.03em;
            margin-bottom: 16px;
        }

        .listPrice {
            font-weight: 600;
            font-size: clamp(1rem, 0.293rem + 1.47vw, 2.063rem);
            letter-spacing: 0.03em;
            margin-bottom: 32px;

            @media(max-width:1150px) {}
        }

        .list-line-wrap {
            display: flex;
            gap: 64px;

            @media(max-width:1150px) {
                flex-direction: column;
                gap: 17px;
            }

            .list-line {
                display: flex;
                gap: 14px;
                align-items: flex-start;
                font-weight: 500;
                font-size: clamp(0.625rem, 0.376rem + 0.52vw, 1rem);
                line-height: calc(24/16*100%);

                @media(max-width:1150px) {
                    line-height: calc(12/10*100%);
                }
              
                img {
                  width: 19px;
              }
            }

        }

        .more {
            display: flex;
            align-items: center;
            gap: 30px;
            margin-top: auto;
            margin-bottom: auto;

            @media(max-width:1150px) {
                margin-left: auto;
            }

            .link-arrow {
                position: relative;
                background-image: url(/system_panel/uploads/images/arrow-icon.png);
              background-size: contain;
                width: 65px;
                height: 33px;
                inset: 0;
                transition: .4s ease;

                @media(max-width:700px) {
                    width: 39px;
                    height: 20px;
                    border-radius: 10px;
                }
            }

            p {
                font-weight: 500;
                --fmin: 12;
                --fmax: 16;
                font-size: clamp(0.75rem, 0.584rem + 0.35vw, 1rem);
            }
        }
    }
