/* ===== カテゴリナビ アコーディオン ===== */

/* ヘッダー行 */
.catNavi-header {
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 5px;
    margin: 20px 0 0;
    border-bottom: 1px solid #d4d4d4;
}

#main-category-toggle {
    font-size: 10px;
    color: #666;
}

/* リスト全体 */
.catNavi-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.catNavi-list li {
    list-style: none;
}

/* 大カテゴリ（子あり）の行 */
.catNavi-parent {
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    border-bottom: 1px solid #d4d4d4;
    background: #fff;
}

.catNavi-parent:hover {
    background: #e4effc;
}

.catNavi-parent > a {
    flex: 1;
    display: block;
    height: 35px;
    padding: 0 0 0 5px;
    line-height: 35px;
    color: #000;
    text-decoration: none;
    font-size: 12px;
    font-weight: normal;
    overflow: hidden;
}

.catNavi-parent > a:hover {
    text-decoration: none;
}

.catNavi-arrow {
    padding: 0 8px;
    font-size: 10px;
    color: #666;
    pointer-events: none;
    flex-shrink: 0;
}

/* 大カテゴリ（子なし）の直リンク */
.catNavi-item > a {
    display: block;
    height: 35px;
    padding: 0 0 0 5px;
    line-height: 35px;
    color: #000;
    text-decoration: none;
    font-size: 12px;
    font-weight: normal;
    border-bottom: 1px solid #d4d4d4;
    background: #fff;
    overflow: hidden;
}

.catNavi-item > a:hover {
    background: #e4effc;
}

/* 子カテゴリリスト */
.catNavi-children {
    list-style: none;
    padding: 0;
    margin: 0;
    background: #fff;
}

/* 子カテゴリ（子あり）の行 */
.catNavi-parent--child {
    padding-left: 15px;
    background: #fff;
}

.catNavi-parent--child:hover {
    background: #e4effc;
}

/* 子カテゴリ（子なし）の直リンク */
.catNavi-child-item > a {
    display: block;
    height: 35px;
    padding: 0 0 0 20px;
    line-height: 35px;
    color: #000;
    text-decoration: none;
    font-size: 12px;
    font-weight: normal;
    border-bottom: 1px solid #d4d4d4;
    background: #fff;
    overflow: hidden;
}

.catNavi-child-item > a:hover {
    background: #e4effc;
}

/* 孫カテゴリリスト */
.catNavi-children--grand {
    background: #fff;
}

/* 孫カテゴリの直リンク */
.catNavi-grand-item > a {
    display: block;
    height: 35px;
    padding: 0 0 0 35px;
    line-height: 35px;
    color: #000;
    text-decoration: none;
    font-size: 12px;
    font-weight: normal;
    border-bottom: 1px solid #d4d4d4;
    background: #fff;
    overflow: hidden;
}

.catNavi-grand-item > a:hover {
    background: #e4effc;
}
