/***********
buy配下のカテゴリ検索/ブランド検索メニュー
***********/

section.headerSearchView{
    width: 100vw;
    height: 100vh;
    position:fixed;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    z-index:9997!important;
    display: none;
    padding: 0;
    margin: 0;

}

.headerSearchView_bg {
    background-color: #3C3C3C;
    opacity: 0.5;
    width: 100%;
    height: 100%;
    position: fixed;
    z-index: 9998!important;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
}

.headerSearchView_inner {
    background: #fff;
    border-radius: 20px;
    position: absolute;
    z-index: 9999!important;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 1200px;
}

.headerSearchViewCloseBtn {
    position: absolute;
    top: 50%;
    right: 30px;
    transform: translateY(-50%);
}

.headerSearchViewCloseBtn span {
    cursor: pointer;
    display: inline-block;
    vertical-align: middle;
    color: #192B5B;
    line-height: 1;
    width: 15px;
    height: 1px;
    background: #707070;
    position: relative;
    transform: rotate(45deg);
}

.headerSearchViewCloseBtn span::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: inherit;
    border-radius: inherit;
    transform: rotate(90deg);
}

.viewSearchHeader {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 0 auto;
    position: relative;
    padding: 26px 0 26px 40px;
    font-weight: bold;
    border-bottom: 1px solid #D9D9D9;
}

.viewSearchHeader p{
    flex: 1;
    font-size: 18px;
    line-height: calc(24/16*1em);
    margin-bottom: 0;
    padding-right: 20px;
    text-align: left;
}

.catOpenTxt{
    display: none;
}


.viewSearchFooter {
    background-color: #F7F7F7;
    border-radius: 0 0 20px 20px;
    position: relative;
    padding: 20px 0;
    text-align: center;
}

.m-btn.-searchBrandSubmit {
    width: 260px;
    height: 54px;
    line-height: 54px;
    background-color: #0A2149;
    font-size: 14px;
    color: #fff;
    margin: 0 auto;
}

.searchBrandClear{
    cursor: pointer;
    font-size: 14px;
    position: absolute;
    right: 388px;
    top: 50%;
    transform: translateY(-50%);
    text-decoration: none;
}

.viewSearchFooter_min {
    display: flex;
    justify-content: flex-end;
    position: relative;
    padding: 20px 60px;
    text-align: center;
}

.viewSearchFooter_min .searchBrandClear{
    position: relative;
    right: 0;
    top: 0;
    bottom: 0;
    transform: unset;
    margin: auto 40px auto 0;
    font-size: 14px;
    text-decoration: none;
    line-height: 40px;
}

.viewSearchFooter_min .m-btn.-searchBrandSubmit {
    line-height: 40px;
    font-size: 12px;
    height: 40px;
    margin: 0;
    width: 72px;
}



/* 絞り込み・カテゴリーポップアップ */
.categoryView_wrapper_header {
    position: relative;
}

.categoryView_wrapper_header ul {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    margin: 30px auto;
    width: 1080px;
} 

.categoryView_wrapper_header ul li {
    border-bottom: 1px solid #F7F7F7;
    display: block;
    float: left;
    width: 360px;
}

.categoryView_wrapper_header ul li:nth-child(3n){
    margin-right: 0;
}

.categoryView_wrapper_header ul li.backcat {
    position: absolute;
    top: -30px;
    height: 70px;
    line-height: 70px;
    width: 100%;
    left: 0;
}
.categoryView_wrapper_header ul li.all {
    width: 100%;
    margin: 20px 0 0;
}

.categoryView_wrapper_header ul li span.count {
    color: #A2A2A2;
    font-size: 12px;
    margin: 0 0 0 10px;
}

#headerCategorySearch > li {
    position: relative;
}

.categoryView_wrapper_header ul.ecSideChild {
    display: none;
}

#headerCategorySearch ul li.none{
    display: none;  
}

#headerCategorySearch ul .level_h4,
#headerCategorySearch ul .level_h5,
#headerCategorySearch ul a {
    font-size: 14px;
    cursor: pointer;
    height: 60px;
    line-height: 60px;
    margin: 0;
    position: relative;
    padding: 0 15px;
    text-decoration: none;
    width: 320px;
    white-space: nowrap;
}

#headerCategorySearch ul .level_h4.none,
#headerCategorySearch ul .level_h5.none,
#headerCategorySearch ul a.none {
    display: none;

}
#headerCategorySearch .level_h4:hover,
#headerCategorySearch .level_h5:hover,
#headerCategorySearch ul a:hover {
    opacity: 0.8;
    -ms-transition: all 0.4s ease;
    -moz-transition: all 0.4s ease;
    -webkit-transition: all 0.4s ease;
    transition: all 0.4s ease;
}

#headerCategorySearch .level_h5 {
    background: #fff;
}

#headerCategorySearch ul a.setParentCat.cat_name {
    width: 100%;
}

#headerCategorySearch .level_h4::after,
#headerCategorySearch .level_h5::after {
    content: '';
    display: inline-block;
    position: absolute;
    width: 9px;
    height: 9px;
    top: 50%;
    right: 0;
    margin: -7px 13px 0 0;
    border: 2px solid #808080;
    border-top: none;
    border-right: none;
    transform: rotate(-135deg);
}

#headerCategorySearch .open::after {
    margin: -2px 13px 0 0;
    transform: rotate(135deg);
}

#headerCategoryBack {
    border-bottom: 1px solid #c3c3c3;
    font-size: 18px;
    padding-left: 60px;
    position: relative;
    cursor: pointer;
}

#headerCategoryBack::before{
    content: '';
    display: inline-block;
    position: absolute;
    width: 9px;
    height: 9px;
    top: 50%;
    left: 20px;
    margin: 0 0 0 10px;
    border: 2px solid #707070;
    border-top: none;
    border-right: none;
    transform: translateY(-50%) rotate(45deg);
}

#headerCategorySearch ul a {
    display: block;
    font-weight: bold;
}

#headerCategorySearch ul a.selected{
    background: #F4F4F4;
}

#headerCategorySearch ul a:hover {
    text-decoration: none;
    color: inherit;
}

#headerCategorySearch .selected {
    background: #f4f4f4;
}



/* 絞り込み・ブランドポップアップ */


/*絞り込み・ブランド*/
.headerSearchBrandWrap {
    margin: 10px auto 0;
}

.headerSearchBrandWrap p {
    margin-bottom: 0;
}

.headerSearchBrandWrap input[type="button"] {
    display: none;
}

.headerSearchBrandInputWrap{
    position: relative;
    width: 1080px;
    margin: 10px auto;
}

.headerSearchBrandInputWrap::after{

}

input#headerSearchBrandInput {
    width: 100%;
    height: 50px;
    margin: 0;
    padding: 0 45px 0 20px;
    border: 1px solid #B3B3B3;
    border-radius: 4px;
    font-size: 12px;
    line-height: 50px;
    box-sizing: border-box;
}

#headerSearchBrandSearchClear {
    position: absolute;
    top: 50%;
    right: 10px;
    width: 20px;
    height: 20px;
    background-color: #D9D9D9;
    color: #D9D9D9;
    border-radius: 50%;
    cursor: pointer;
    transform: translateY(-50%);
    border: 1px solid #D9D9D9;
}

#headerSearchBrandSearchClear span{
    display: inline-block;
    vertical-align: middle;
    color: #fff;
    line-height: 1;
    width: 10px;
    height: 1px;
    background: #fff;
    transform: translate(-50%, -50%) rotate(45deg);
    top: 50%;
    left: 50%;
    position: absolute;

}

#headerSearchBrandSearchClear span::after{
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: inherit;
    border-radius: inherit;
    transform: rotate(90deg);
}

#searchBrandSelectWindow{
    height: 300px;
    overflow-y: scroll;
}

#searchBrandSelect {
    margin: 20px auto;
    overflow: hidden;
    text-align: left;
    width: 1080px;
}

#searchBrandSelect ul {
    display: flex;
    flex-wrap: wrap;
}

#searchBrandSelect ul li {
    background: #F4F4F4;
    border-radius: 5px;
    border: 1px solid #D9D9D9;
    font-size: 12px;
    padding: 0 36px 0 10px;
    height: 40px;
    line-height: 40px;
    position: relative;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    width: auto;
    margin: 0 10px 10px 0;
}

#searchBrandSelect ul li a.delete {
    position: absolute;
    top: 50%;
    right: 10px;
    width: 15px;
    height: 15px;
    background-color: #D9D9D9;
    color: #D9D9D9;
    border-radius: 50%;
    cursor: pointer;
    transform: translateY(-50%);
    border: 1px solid #D9D9D9;
}

#searchBrandSelect ul li a.delete span {
    display: inline-block;
    vertical-align: middle;
    color: #fff;
    line-height: 1;
    width: 10px;
    height: 1px;
    background: #fff;
    transform: translate(-50%, -50%) rotate(45deg);
    top: 50%;
    left: 50%;
    position: absolute;
}

#searchBrandSelect ul li a.delete span::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: inherit;
    border-radius: inherit;
    transform: rotate(90deg);
}

p.selectBrand {
    font-size: 16px;
    font-weight: bold;
    margin-bottom: 10px;
    display: none;
}

.brandAnchor {
    font-size: 18px;
    padding: 0 0 20px;
    border-bottom: 1px solid #D9D9D9;
}

ul#headerSearchArphBrandList {
    display: flex;
    flex-wrap: wrap;
    margin: 24px auto 20px;
    width: 1080px;
}

ul#headerSearchArphBrandList li {
    border-left: 1px solid #D9D9D9;
    cursor: pointer;
    margin-bottom: 10px; 
    text-align: center;
    width: 40px;
}


ul#headerSearchArphBrandList li#searchBrandN,ul#headerSearchArphBrandList li#searchBrandOther {
    border-right: 1px solid #D9D9D9;
}

ul#headerSearchArphBrandList li:hover{
    background: #F4F4F4;
}


#headerSearchWindow {
    width: 1080px;
    margin: 20px auto;
    height: 240px;
    overflow-y: scroll;
}

#headerSearchWindow ul {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin: 10px 0 0;
}

#headerSearchWindow ul li {
    margin: 0 0 20px;
    position: relative;
    text-align: left;
    width: 49%;
}

#headerSearchWindow ul li label {
    display: flex;
}

#headerSearchWindow ul li p {
    padding-left: 24px;
}

#headerSearchWindow ul li input[type=checkbox] + p::before {
    position: absolute;
    content: '';
    display: block;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: #D9D9D9;
    border: 1px solid #D9D9D9;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
}

#headerSearchWindow ul li input[type=checkbox]:checked + p::before{
    background: #3C3C3C;
    border: 1px solid #3C3C3C;
}

#headerSearchWindow ul li input[type=checkbox] + p::after {
    content: '';
    border: 2px solid #fff;
    border-left: none;
    display: block;
    position: absolute;
    border-top: none;
    height: 10px;
    left: 6px;
    top: 50%;
    opacity: 1;
    transition: .3s;
    transform: translate(0, -65%) rotate(45deg);
    width: 6px;
}

#headerSearchWindow span.kana {
    font-size: 12px;
    display: block;
    color: #A2A2A2;
}

#headerSearchWindow span.co {
    font-size: 12px;
    color: #A2A2A2;
    display: inline-block;
    margin: 0 0 0 10px;
}
