﻿.productIndex .result * {
    box-sizing: border-box;
}

.productIndex .result > li {
    display: flex;
    flex-flow: column wrap;
    align-items: flex-start;
    align-content: space-between;
    height: 202px;
}

    .productIndex .result > li > * {
        width: 520px;
    }

.productIndex .result li:after {
    content: none;
}

.resultImg {
    border: 1px solid #f0f0f0;
    width: 132px !important;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

    .resultImg a {
        text-align: center;
    }

.result dl {
    display: flex;
    flex-flow: column wrap;
    height: 56px;
    margin-bottom: 8px;
}

.result dt, .result dd {
    /*width: 25%;*/
    height: 50%;
    border: 1px solid #e6e6e6;
    border-right: none;
    display: flex;
    align-items: center;
    justify-content: center;
}

.result dt {
    background-color: #fef7f1;
    border-bottom: none;
}

    .result dt:last-of-type, .result dd:last-of-type {
        border-right: 1px solid #e6e6e6;
    }

.result dd strong {
    color: #ff5309;
}

#tab-1 > div {
    display: flex;
    flex-flow: row wrap;
    justify-content: space-between;
}

.catName {
    width: 100%;
    height: 30px;
    padding-left: 10px;
    display: flex;
    align-items: center;
}

    .catName:before {
        content: "";
        display: inline-block;
        width: 0px;
        height: 0px;
        margin-right: 10px;
        border-left: 8.66px solid var(--theme-color);
        border-top: 5px solid transparent;
        border-bottom: 5px solid transparent;
    }

.catItem {
    margin-bottom: 5px;
    box-sizing: border-box;
    height: 90px;
    width: 220px;
    border: 3px solid;
    padding: 2px 0px 2px 2px;
}

    .catItem a {
        height: 100%;
        width: 100%;
        display: flex;
        align-items: center;
        justify-content: flex-start;
        text-decoration: none;
        color: black;
        font-size: 15px;
    }

    .catItem img {
        padding-right: 3px;
    }

.sheet {
    border-color: #A4E21F;
    background-color: #f6ffe8;
}

.card {
    border-color: #FBED7F;
    background-color: #ffffe8;
}

.sproket {
    border-color: #94C2FE;
    background-color: #e8faff;
}

.staticElectric {
    border-color: #FBA2FF;
    background-color: #fff0fc;
}

.about {
    border-color: none;
    background-color: #f4f4ff;
}

.dummy {
    border: none;
    background-color: transparent;
}

.catalogList {
    border: 1px solid #cccccc;
    padding: 15px 18px 3px 18px;
}

    .catalogList .listBlock {
        border-bottom: 1px solid #cccccc;
        margin: 0px 0px 10px 0px;
        padding: 0px 0px 10px 0px;
        line-height: 1.3em;
    }

        .catalogList .listBlock:last-child {
            margin: 0px;
            padding: 0px;
            border-bottom: none;
        }

    .catalogList .webCatalog {
    }

        .catalogList .webCatalog a {
            color: white;
            text-decoration: none;
            display: inline-block;
            margin: 5px 0px;
            padding: 1em;
            font-size: 18px;
        }

        .catalogList .webCatalog span {
            font-size: 12px;
        }

    .catalogList ul {
        margin-top: 10px;
        display: flex;
        flex-flow: row wrap;
        justify-content: space-between
    }

    .catalogList li {
        border: 1px solid #cccccc;
        width: 273px;
        min-height: 64px;
        margin-bottom: 10px;
        padding: 19px 25px;
        display: flex;
        flex-flow: column nowrap;
        line-height: 150%;
    }

        .catalogList li a {
            font-weight: bold;
            text-decoration: none;
        }

.sizeList {
    border: 1px solid #cccccc;
    padding: 15px 11px 15px 18px;
}

    .sizeList > div {
        width: 100%;
        display: flex;
        align-items: center;
        justify-content: space-between;
    }

.sizeListLeft {
    width: 370px;
}

    .sizeListLeft .pattern {
        background-color: #FDF3EA;
        width: 350px;
        padding: 10px;
    }

    .sizeListLeft input[type="number"], .sizeListLeft select {
        border: 1px solid #c9c9c9;
        background-color: white;
        height: 24px;
        text-align: center;
        font-weight: bold;
        font-size: 15px;
    }

    .sizeListLeft select {
        text-align: left;
    }

.labelSize {
    display: flex;
    justify-content: flex-start;
    align-items: flex-end;
}

    .labelSize dt {
        font-size: 16px;
        font-weight: bold;
    }

    .labelSize input[type="number"] {
        width: 58px;
    }

    .labelSize p {
        font-size: 20px;
        font-weight: bold;
        padding: 0px 5px;
    }

    .labelSize dd {
        display: flex;
        align-items: flex-end;
    }

        .labelSize dd:after {
            content: "mm";
            font-size: 14px;
        }

.sizeListRight {
    width: 292px;
}

.sheetSize {
    text-align: center;
    font-size: 12pt;
    margin: 10px 0px;
    padding: 5px;
    background-color: #faebd7;
}

    .sheetSize p {
        display: flex;
        flex-flow: row nowrap;
        justify-content: space-between;
        align-items: center;
    }

    .sheetSize input[type="number"] {
        width: 50px;
    }

.sizeButtons {
    display: flex;
    flex-flow: row nowrap;
    justify-content: space-between;
}

    .sizeButtons > * {
        padding: 5px 25px;
        font-size: 18px;
    }

/**2024/04/03 Miyamoto add start 新商品の強調表示**/
.newItem {
    border-style: solid;
    border-width: 2px;
    border-color: var(--theme-color) !important;
    position: relative;
}

    .newItem:after {
        content: 'NEW';
        position: absolute;
        top: 0;
        left: 0;
        padding: 0px 5px;
        color: white;
        background-color: var(--theme-color);
    }
/**2024/04/03 Miyamoto add end**/

@media (max-width: 1000px) {
    .productIndex * {
        font-size: 1.5rem !important;
        text-decoration: none !important;
    }

    .productIndex .page {
        padding: 0px 0px 5px 5px;
    }

    .productIndex .sort {
        padding: 5px;
        display: flex;
        flex-flow: row nowrap;
        justify-content: space-between;
    }

        .productIndex .sort > * {
            float: none !important;
        }

    .sort select {
        height: 100% !important;
        width: 7rem !important;
    }

    .productIndex .sort dl {
        padding: 0px;
    }

    .productIndex .sort li, .productIndex .sort dt {
        margin: 0px;
        padding: 0px;
        border: none;
    }

        .productIndex .sort li:last-child, .productIndex .sort dd {
            margin-left: 5px;
            padding-left: 5px;
            border-left: 1px solid #cccccc;
        }

    .productIndex .filtering {
        line-height: unset !important;
        padding: 8px 5px;
        margin-bottom: 5px;
    }

    .productIndex .result {
        margin: 0px;
        padding: 0px;
    }

        .productIndex .result > li {
            padding: 0px;
            margin: 5px 0px;
            height: auto;
            border-top: 1px solid #e3e3e3;
        }

            .productIndex .result > li:first-of-type {
                border-top: none;
            }

        .productIndex .result h2 {
            font-weight: normal;
            font-size: 2rem !important;
            padding: 2px 0px;
        }

    .resultImg {
        width: auto !important;
        height: auto !important;
        flex-grow: 0;
        border: none;
    }

        .resultImg img {
            height: 200px;
            width: auto;
            max-width: 100%;
        }

    .productIndex .result > li > * {
        width: 100%;
        align-self: stretch;
    }

    .result dl {
        height: auto;
        width: 100%;
        flex-flow: row wrap;
        margin-bottom: 2px;
    }

    .result dt, .result dd {
        height: 2rem;
        font-size: 1.2rem !important;
        border: none;
        border-top: 1px solid #e6e6e6;
    }

        .result dt:last-of-type, .result dd:last-of-type {
            border: none;
            border-top: 1px solid #e6e6e6;
            border-bottom: 1px solid #e6e6e6;
        }

    .result dt {
        width: 30%;
    }

    .result dd {
        width: 70%;
    }

    .productIndex .result .icon li {
        float: right;
    }

    .icon img {
        width: 2rem;
        height: 2rem;
    }

    .productIndex .page dl {
        padding: 0px;
    }

    .productIndex .page dd {
        padding-left: 15px;
    }

    .productIndex .page input[type=submit] {
        -webkit-appearance: none;
        width: auto;
        height: auto !important;
        color: black;
    }

    #tab li {
        width: auto;
        height: auto;
        flex-grow: 1;
        margin: 0;
    }

        #tab li a {
            font-size: 1.2rem;
            padding-bottom: 0.5rem;
            padding-top: 0.5rem;
        }

        #tab li .selected {
            font-size: 1.5rem;
        }

    #tab-1, #tab-2, #tab-3, #tab-4 {
        border-top: none !important;
    }

    #productMenu .typeList, #productMenu .sizeList, #productMenu .catalogList {
        padding: 5px 2px 0;
    }

    .catName {
        height: auto;
        padding: 0.5rem;
        font-size: 1.5rem;
    }

        .catName:before {
            border-left: 8.66px solid var(--theme-color);
            border-top: 5px solid transparent;
            border-bottom: 5px solid transparent;
        }

    .catItem {
        box-sizing: border-box;
        height: 7rem;
        width: 49%;
        border-width: 1px;
        padding: 0;
    }

        .catItem a {
            font-size: 1.2rem;
        }

        .catItem img {
            height: 100%;
        }

    .dummy {
        display: none;
    }

    .sizeList > div {
        flex-flow: row wrap;
    }

    .sizeListLeft {
        width: 100%;
    }

        .sizeListLeft input[type="number"], .sizeListLeft select {
            font-size: 2rem;
        }

        .sizeListLeft > p {
            font-size: 1.2rem;
            line-height: 150%;
        }

        .sizeListLeft .pattern {
            width: 100%;
            padding: 5px;
        }

    .labelSize dt {
        display: none;
        font-size: 1.2rem;
    }

    .labelSize p {
        font-size: 2rem;
    }

    .labelSize input[type="number"] {
        width: 7rem;
    }

    .labelSize dd:after {
        font-size: 1.2rem;
    }

    .sizeListRight {
        display: none;
    }

    .sheetSize p {
        font-size: 1.5rem;
        margin: 3px 0;
    }

    .sheetSize input[type="number"] {
        width: 7rem;
    }

    .sizeButtons > * {
        padding: 0.5rem 1rem;
        font-size: 2rem;
        line-height: 100%;
    }

    .catalogList ul {
        margin-top: 5px;
    }

    .catalogList li {
        width: 100%;
        font-size: 1.5rem;
        margin-bottom: 5px;
        padding: 5px;
        min-height: initial;
        min-height: auto;
    }

    .catalogList .listBlock {
        font-size: 1.2rem;
    }

    .catalogList .webCatalog a {
        padding: 1.2rem 1.2rem;
        font-size: 1.5rem;
    }

    .product .name > * {
        font-size: 2rem !important;
        padding: 5px !important;
    }

    .product .detail {
        padding-top: 5px;
    }

    .product .left {
        width: 100%;
    }

        .product .left img {
            width: 100%;
            height: auto;
        }

    .product .right {
        width: 100%;
    }

        .product .right table {
            font-size: 1.5rem;
            margin-bottom: 5px;
        }

        .product .right td, .product .right th {
            padding: 2px 3px;
        }

        .product .right ul {
            padding-bottom: 0px;
        }

        .product .right li {
            font-size: 1.2rem;
        }

            .product .right li img {
                height: 1.5rem;
                width: auto;
            }

    .product .explain {
        font-size: 1.2rem !important;
    }

    .shohinDtlButtons > div {
        width: 100%;
    }

        .shohinDtlButtons > div > * {
            font-size: 1.5rem !important;
            padding-bottom: 1.8rem !important;
            padding-top: 1.8rem !important;
            margin: 5px !important;
        }
}
