input[type="button"],
input[type="text"],
input[type="submit"],
input[type="reset"] {
    background-image: linear-gradient(0deg, #c6ffe2, #effff7);
    border: 1px solid #006a6c;
    border-radius: 0.3em;
    padding: 3px;
}

#cart .upbutton {
    text-align: center;
}

#cart table#cart_table {
    margin: auto;
    margin-top: auto;
    position: relative;
    margin-top: 1rem;
}

@media screen and (max-width: 767px) {
    #cart table#cart_table {
        width: 265%;
    }
}

.currency_code {
    text-align: center;
}


/* gallery */

.wrap-grid {
    display: flex;
    flex-wrap: wrap;
    max-width: 100%;
    width: 85%;
    margin: auto;
}

.g-item {
    padding: 30px;
    /*
    width: 18%;
    */
    width: 27%;
    background-color: #fff;
}

.g-item:not(:nth-child(3n+3)) {
    margin-right: 2%;
}

.g-item:nth-child(n+4) {
    margin-top: 30px;
}

@media not all and (min-width: 768px) {
    .wrap-grid {
        width: 90%;
    }
    .g-item {
        width: 46%;
    }
    .g-item:not(:nth-child(3n+3)) {
        margin-right: 0;
    }
    .g-item:nth-child(n+2) {
        margin-top: 30px;
    }
}

.catbox .post .entry {
    max-width: 100%;
    width: 85%;
    margin: auto;
}

#customer-info .send {
    margin-bottom: 15px;
    padding-bottom: 15px;
}

@media screen and (max-width:640px) {
    .catbox .post .entry {
        width: 90%;
        max-width: 100%;
        margin: auto;
        padding-top: 35px;
    }
    #cart {
        width: 100%;
        overflow-x: scroll;
    }
    #cart .upbutton {
        padding-right: 0;
    }
    div.usccart_navi li.ucart {
        font-size: .7rem;
    }
}


/* */

.search-result input {
    display: none;
}

.search-result label {
    text-align: center;
    cursor: pointer;
    font-size: 14px;
    color: #111;
    margin: 10px;
    display: inline-block;
}

.search-result input[type=checkbox]:checked+span {
    background: #DDF700;
    color: #333333;
}

.search-result label span {
    border: 1px solid #DDF700;
    padding: .5em;
}

.article {
    width: 200px;
    animation-name: fadein;
    animation-duration: 2s;
    margin: 0 1em 1em 0 !important;
    padding: 0 !important;
    width: calc(100% / 4 - 16px);
    transition: all 0.2s;
}

.article-result,
.article-result>div {
    margin-right: calc(50% - 50vw);
    margin-left: calc(50% - 50vw);
    padding-right: calc(50vw - 50%) !important;
    padding-left: calc(50vw - 50%) !important;
    padding-top: 0;
    min-height: 200px;
}

.article-result>div {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    -webkit-box-pack: start;
    -ms-flex-pack: start;
    justify-content: flex-start;
}

.h-card li,
.h-card article {
    margin: 0 1em 1em 0 !important;
    padding: 0 !important;
    width: calc(100% / 4 - 16px);
    transition: all 0.2s;
}

@media screen and (max-width: 560px) {
    .h-card article {
        width: 100%;
        margin: 0 0 1em 0 !important;
    }
}

@media screen and (max-width: 768px) {
    .article {
        margin: 0px !important;
        width: calc(100% - 16px) !important;
    }
}

@keyframes fadein {
    from {
        opacity: 0;
        transform: translateY(0px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.search {
    text-align: center;
}

.search .checkbox {
    width: auto;
    margin: 0 auto;
    display: inline-block;
}

.search .checkbox .condition-title {
    padding: 10px 10px;
    background-color: #F7F7F7;
    color: #333333;
    margin-top: 20px;
}

.search .checkbox .condition {
    padding: 17px;
}

.search .checkbox .condition label {
    margin-right: 10px;
}

.search .submit-button {
    width: 200px;
    background-color: #F7F7F7;
    border: none;
    color: #353535;
    display: block;
    margin: 10px auto 50px;
    outline: none;
}

.search .article-result h-card {
    display: flex;
    align-items: center;
    justify-content: center;
}

.search .article-result h-card .article {
    float: left;
    margin-right: 20px;
}