@charset "UTF-8";

/* =======================================================================
CSSの名前：size-search.css
最終更新日時：2025/12/10
======================================================================= */
* {
  box-sizing: border-box;
}

*::before {
  box-sizing: border-box;
}

*::after {
  box-sizing: border-box;
}
#search-top {
    width: 100%;
    height: auto;
    padding: 80px 0;
    background: url(../images/search_main_pc_3.jpg) no-repeat;
    background-size: cover;
    text-align: center;
    margin: 40px 0;
}
.search-top_inner {
    background: rgba(255, 255, 255, 0.5);
    width: fit-content;
    padding: 20px 40px;
}
#new_category #search-top h1 {
    font-weight: bold;
    font-size: 26px;
    text-align: left;
    margin: 0 0 10px 0;
    padding: 0;
}
#search-top p {
    font-size: 16px;
    text-align: left;
}
.search-nrw__inner dl {
    display: flex;
    border-bottom: 1px solid #D8DBDB;
}
.search-nrw__inner dl:first-child {
    border-top: 1px solid #D8DBDB;
}
.search-nrw__inner dt {
    width: 140px;
    background: #F7F7F7;
}
#new_category .search-nrw__inner dt h2 {
    display: flex;
    align-items: center;
    font-size: 14px;
    height: 100%;
    padding-left: 20px;
    margin:0;
}
.search-nrw__inner dd {
    width: calc(100% - 140px);
    padding: 20px 0 20px 20px;
}
#new_category .search-nrw__inner dd h3 {
    font-size: 14px;
    margin: 20px 0;
    border-top: 1px solid #D8DBDB;
    padding-top: 20px;
}
#new_category .search-nrw__inner dd h3:first-child {
    margin: 0 0 20px 0;
    border-top: none;
    padding-top: 0;
}
#new_category .search-nrw__inner dd h4 {
    font-size: 14px;
    margin: 20px 0 10px;
    font-weight: normal;
}
#new_category .search-nrw__inner dd h4:before {
    content: '';
    display: inline-block;
    width: 7px;
    height: 7px;
    background: #111;
    margin-right: 5px;
}
.search-nrw__inner ul {
    display: flex;
    gap: 20px 30px;
    flex-wrap: wrap;
}
.search-nrw__inner li label {
    font-size: 14px;
}
.search-nrw__series li,
.search-nrw__parts li {
    width: 193px;
    padding: 10px;
    border: 1px solid #EEEEEE;
}
.search-nrw__series ul,
.search-nrw__parts ul {
    gap: 10px 18px;
}
#new_category .search-nrw__series img,
#new_category .search-nrw__parts img {
    width: 96px;
    height: 78px;
    margin: 0 auto 10px;
    object-fit: cover;
}
label {
    margin-right: 0;
}
input[type="radio"],
input[type="checkbox"] {
    margin-right: 7px;
}
.search-nrw__color ul {
    gap: 10px 10px;
}
.search-nrw__color li {
    width: 165px;
    border: 1px solid #EEEEEE;
    padding: 10px;
}
#new_category .search-nrw__color li img {
    width: 40px;
    height: 40px;
    margin: 0 auto 10px;
    object-fit: cover;
}

/* =====ラジオボタンとチェックボックスの装飾===== */
.search-nrw__inner input {
    appearance: none;
    position: absolute;
}
.search-nrw__inner input[type="radio"] + label {
    position: relative;
    display: flex;
    align-items: center;
    padding-left:27px;
    cursor:pointer;
}
.search-nrw__inner input[type="radio"] + label::before {
    content: ''; 
    display: block; 
    border-radius: 50%;
    border: 1px solid #707070;
    width: 20px;
    height: 20px;
    position: absolute;
    left: 0;
    top: 0;
}
.search-nrw__inner input[type="radio"]:checked + label::after { 
    content: '';
    position: absolute;
    top:4px;
    left: 4px;
    display: block;
    border-radius: 50%;
    width: 12px;
    height: 12px;
    background-color: #D80C18;
}

.search-nrw__inner input[type="checkbox"] + label {
    position: relative;
    display: flex;
    align-items: center;
    padding-left:27px;
    cursor:pointer;
}
.search-nrw__inner input[type="checkbox"] + label::before {
    position: absolute;
    left: 0;
    top:0;
    display: block;
    border: 1px solid #707070;
    content: '';
    width: 20px;
    height: 20px;
}
.search-nrw__inner input[type="checkbox"]:checked + label::after {
    position: absolute;
    top: 0;
    left: 5px;
    display: block;
    border-right: 3px solid #D80C18;
    border-bottom: 3px solid #D80C18;
    content: '';
    width: 10px;
    height: 14px;
    transform: rotate(45deg);
}
.search-nrw__inner .search-nrw__color li label {
    font-size: 12px;
}

/* =====検索ボタン===== */
.search-btn {
    margin: 60px 0;
}
.search-btn button {
    border: none;
    width: 225px;
    height: 44px;
    border-radius: 4px;
    background: #D80C18;
    color: #fff;
    font-size: 16px;
    font-weight: bold;
    margin: 0 auto;
    display: block;
}

/* =====テスト用===== */
#new_category .test img{
    width:96px;
    height:78px;
}

/* =====商品一覧===== */
#new_category section.main {
    margin: 0;
    width: 1200px;
}
.itemlist_box.new li {
    width: 17.86%;
}
.itemlist_box.new {
    gap: 40px 2.666%;
    margin-bottom: 60px;
}
.item_notexist {
    border-top: 1px solid #eee;
    border-bottom: 1px solid #eee;
    text-align: center;
    padding: 80px 0;
}
