/*
Theme Name:		Welcart Simple Plus Lefty Child Theme
Template:		welcart_simple-plus-lefty
Theme URI:		https://www.welcart.com/archives/16004.html
Author:			Welcart Inc.
Author URI:		https://www.welcart.com/
Description:	Welcart Simple Plus Lefty Child Theme.
Version:		1.0
License:		GNU General Public License v2 or later
License URI:	http://www.gnu.org/licenses/gpl-2.0.html
Tags:			responsive-layout, simple-plus,
*/

.main-logo {
    background: #FFF;
}
.site-content .button-wrap {
    background-color: #f16400 !important;
}
table:not(#confirm_table) thead th,
table:not(#confirm_table) tbody th {
    background-color: #000000 !important;
    border-color: #5E5C5C;
}
table td {
    border-color: #5E5C5C;
}
.add-to-cart.c-box .quantity-box,
.add-to-cart.c-box .cart-button {
    display: inline-block;
}
.add-to-cart.c-box .quantity-box input[type="text"] {
    width: 50px;
}
.add-to-cart.c-box .cart-button input[type="submit"] {
    width: 100px;
    height: 50px;
    border-radius: 30px;
    background-color: #f16400;
    color: white;
}
.navbar-nav .menu-item.current-menu-item > a,
.navbar-nav .menu-item > a:hover,
.navbar-nav .menu-item > span:hover,
.navbar-nav .menu-item span.menu-item-back:hover {
    background-color: #232323 !important;
}
.article-item .item-code {
    color: #e16400;
    font-size: 21px;
    font-weight: 500;
}
.article-item .taxonomy-description {
    font-size: 16px;
    font-weight: 600;
}
.article-item .spec {
    font-size: 16px;
    line-height: 1.8em;
    white-space: pre-wrap;
}
.item-category table th,
.item-category table td {
    text-align: center;
    vertical-align: middle;
    font-weight: 600;
}
.item-category table tr th:first-child,
.item-category table tr td:first-child {
    border-left: none;
}
.item-category table tr th:last-child,
.item-category table tr td:last-child {
    border-right: none;
}
.item-category table th {
    padding: 10px 0;
}
.item-category table td {
    padding: 15px 0;
}
.item-category table th span {
    display: block;
}
.item-category table th.item-code {
    width: 200px;
}
.item-category table th.price {
    width: 130px;
}
.item-category table td.price {
    color: #E60012;
    letter-spacing: 1.5px;
}
.item-category table td .tax_inc_block {
    margin-bottom: 0;
    font-size: 14px;
    color: #666;
    letter-spacing: 1px;
}
.item-category table th.cart-in {
    width: 200px;
}
.item-category table .zaiko-status {
    font-size: 14px;
    margin-bottom: -10px;
}
.item-category table .sold-out {
    width: 100px;
    height: 50px;
    border-radius: 30px;
    background-color: #c95b0c;
    color: white;
    margin: 0 auto;
}
.item-category .cut-cond {
    width: 100%;
    height: auto;
    margin-bottom: 30px;
}
.item-category .cut-cond img {
    width: 100%;
    height: auto;
}
.item-category h2.accordion-header {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 3rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid var(--general-text-color, #182927);
}
.item-category .remarks {
    margin-top: 40px;
}
.item-category .remarks p {
    white-space: pre-wrap;
    line-height: 1.7em;
    font-size: 16px;
}

.front-page section.topics,
.front-page section.news-front {
    background-color: #FFFFFF;
}

@media (max-width: 991px) {
    header.every {
        background: #FFF !important;
    }
    header.every .icon-nav path,
    header.every .menu-toggler path {
        fill: #000 !important;
    }
    .group-add-item .item-name {
        font-size: 20px;
    }
    .article-item .item-code {
        font-size: 14px;
    }
    .article-item .spec {
        font-size: 14px;
    }
    .item-category table thead {
        display: none;
    }
    .item-category table tr td {
        display: block;
        background-color: #F2F2F2;
    }
    .item-category .table>:not(:first-child) {
        border-top: none;
    }
    .item-category table tr td:first-child {
        background: #000;
        color: #FFF;
        text-align: left;
        border-bottom: 5px solid #f36301;
        font-size: 20px;
        padding: 15px 25px;
        letter-spacing: 0.1em;
        margin-bottom: 20px;
        margin-left: -11px;
        margin-right: -10px;
    }
    .item-category table tr td:not(:first-child) {
        background: #F2F2F2;
        --bs-table-accent-bg: transparent;
        border: none;
    }
    .item-category table tr td:not(:first-child):not(:last-child):not(:nth-last-child(2)) {
        position: relative;
        padding-left: 50%;
        text-align: right;
        padding-right: 20px;
    }
    .item-category table tr td:not(:first-child):not(:last-child):not(:nth-last-child(2)):nth-of-type(even) {
        background-color: #dbdddc;
    }
    .item-category table tr td:not(:first-child):not(:last-child):not(:nth-last-child(2)):before {
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        width: 50%;
        height: 100%;
        border-right: 1px solid #999;
        line-height: 54px;
        text-align: left;
        padding-left: 20px;
    }
    .item-category table tr td.price {
        text-align: left;
        padding-left: 20px;
        border: none;
        border-top: 1px solid #999;
        font-size: 22px;
    }
    .item-category table tr td.price p {
        display: inline-block;
    }
    .item-category table tr td:last-child {
        padding-bottom: 40px;
        border: none;
        text-align: right;
    }
    .item-category table tr td:last-child input {
        margin-right: 0;
    }
    .item-category table tr td:last-child .zaiko-status{
        width: 150px;
        margin-left: auto;
        padding-right: 5px;
        padding-top: 10px;
    }
    /* 2tx and 4tz */
    .item-category table.table-2tz tr td:nth-child(2):before,
    .item-category table.table-4tz tr td:nth-child(2):before {
        content: "全長（mm）" !important;
    }
    .item-category table.table-2tz tr td:nth-child(3):before,
    .item-category table.table-4tz tr td:nth-child(3):before {
        content: "刃長（mm）" !important;
    }
    .item-category table.table-2tz tr td:nth-child(4):before,
    .item-category table.table-4tz tr td:nth-child(4):before {
        content: "シャンク径（Φmm）" !important;
    }
    .item-category table.table-2tz tr td:nth-child(5):before,
    .item-category table.table-4tz tr td:nth-child(5):before {
        content: "刃径（Φmm）" !important;
    }
    /* 4tzs and 2tz-al */
    .item-category table.table-4tzs tr td:nth-child(2):before,
    .item-category table.table-2tz-al tr td:nth-child(2):before {
        content: "全長（mm）" !important;
    }
    .item-category table.table-4tzs tr td:nth-child(3):before,
    .item-category table.table-2tz-al tr td:nth-child(3):before {
        content: "刃長（mm）" !important;
    }
    .item-category table.table-4tzs tr td:nth-child(4):before,
    .item-category table.table-2tz-al tr td:nth-child(4):before {
        content: "シャンク径（Φmm）" !important;
    }
    .item-category table.table-4tzs tr td:nth-child(5):before,
    .item-category table.table-2tz-al tr td:nth-child(5):before {
        content: "外径（Φmm）" !important;
    }
    /* tzre */
    .item-category table.table-tzre tr td:nth-child(2):before {
        content: "全長（mm）" !important;
    }
    .item-category table.table-tzre tr td:nth-child(3):before {
        content: "外径（Φmm）" !important;
    }
    .item-category table.table-tzre tr td:nth-child(4):before {
        content: "刃長（mm）" !important;
    }
    .item-category table.table-tzre tr td:nth-child(5):before {
        content: "面取り（mm）" !important;
    }
    .item-category table.table-tzre tr td:nth-child(6):before {
        content: "シャンク径（Φmm）" !important;
    }
    /* 4tzv */
    .item-category table.table-4tzv tr td:nth-child(2):before {
        content: "全長（mm）" !important;
    }
    .item-category table.table-4tzv tr td:nth-child(3):before {
        content: "刃径（mm）" !important;
    }
    .item-category table.table-4tzv tr td:nth-child(4):before {
        content: "刃長（mm）" !important;
    }
    .item-category table.table-4tzv tr td:nth-child(5):before {
        content: "シャンク径（Φmm）" !important;
    }
    .item-category table.table-4tzv tr td:nth-child(6):before {
        content: "ネジレ角" !important;
    }
    /* tz-ess and tz-esr */
    .item-category table.table-tz-ess tr td:nth-child(2):before,
    .item-category table.table-tz-esr tr td:nth-child(2):before {
        content: "全長（mm）" !important;
    }
    .item-category table.table-tz-ess tr td:nth-child(3):before,
    .item-category table.table-tz-esr tr td:nth-child(3):before {
        content: "溝長（mm）" !important;
    }
    .item-category table.table-tz-ess tr td:nth-child(4):before,
    .item-category table.table-tz-esr tr td:nth-child(4):before {
        content: "シャンク径（Φmm）" !important;
    }
    .item-category table.table-tz-ess tr td:nth-child(5):before,
    .item-category table.table-tz-esr tr td:nth-child(5):before {
        content: "ドリル径（Φmm）" !important;
    }
    /* tz-po and tz-sus-po */
    .item-category table.table-tz-po tr td:nth-child(2):before,
    .item-category table.table-tz-sus-po tr td:nth-child(2):before {
        content: "呼び寸法" !important;
    }
    .item-category table.table-tz-po tr td:nth-child(3):before,
    .item-category table.table-tz-sus-po tr td:nth-child(3):before {
        content: "ねじ径" !important;
    }
    .item-category table.table-tz-po tr td:nth-child(4):before,
    .item-category table.table-tz-sus-po tr td:nth-child(4):before {
        content: "ピッチ（mm）" !important;
    }
    .item-category table.table-tz-po tr td:nth-child(5):before,
    .item-category table.table-tz-sus-po tr td:nth-child(5):before {
        content: "ねじ長さ（mm）" !important;
    }
    .item-category table.table-tz-po tr td:nth-child(6):before,
    .item-category table.table-tz-sus-po tr td:nth-child(6):before {
        content: "首下長（mm）" !important;
    }
    .item-category table.table-tz-po tr td:nth-child(7):before,
    .item-category table.table-tz-sus-po tr td:nth-child(7):before {
        content: "全長（mm）" !important;
    }
    .item-category table.table-tz-po tr td:nth-child(8):before,
    .item-category table.table-tz-sus-po tr td:nth-child(8):before {
        content: "シャンク径（Φmm）" !important;
    }
    .item-category table.table-tz-po tr td:nth-child(9):before,
    .item-category table.table-tz-sus-po tr td:nth-child(9):before {
        content: "等級" !important;
    }
    .item-category table.table-tz-po tr td:nth-child(10):before,
    .item-category table.table-tz-sus-po tr td:nth-child(10):before {
        content: "形状" !important;
    }
    /* tz-sp and tz-sus-sp */
    .item-category table.table-tz-sp tr td:nth-child(2):before,
    .item-category table.table-tz-sus-sp tr td:nth-child(2):before {
        content: "呼び寸法" !important;
    }
    .item-category table.table-tz-sp tr td:nth-child(3):before,
    .item-category table.table-tz-sus-sp tr td:nth-child(3):before {
        content: "食付" !important;
    }
    .item-category table.table-tz-sp tr td:nth-child(4):before,
    .item-category table.table-tz-sus-sp tr td:nth-child(4):before {
        content: "ねじ長さ（mm）" !important;
    }
    .item-category table.table-tz-sp tr td:nth-child(5):before,
    .item-category table.table-tz-sus-sp tr td:nth-child(5):before {
        content: "首下長（mm）" !important;
    }
    .item-category table.table-tz-sp tr td:nth-child(6):before,
    .item-category table.table-tz-sus-sp tr td:nth-child(6):before {
        content: "シャンク径（Φmm）" !important;
    }
    .item-category table.table-tz-sp tr td:nth-child(7):before,
    .item-category table.table-tz-sus-sp tr td:nth-child(7):before {
        content: "溝数" !important;
    }
    .item-category table.table-tz-sp tr td:nth-child(8):before,
    .item-category table.table-tz-sus-sp tr td:nth-child(8):before {
        content: "材質" !important;
    }
    .item-category table.table-tz-sp tr td:nth-child(9):before,
    .item-category table.table-tz-sus-sp tr td:nth-child(9):before {
        content: "表面処理" !important;
    }
    .col-6 {
        width: 100%;
    }
}