*{
    margin: 0;
    color: #1d1d1d;
    font-weight: 700;
}
.search_filter {
    padding: 10px;
    border-radius: 5px;
    max-width: 300px;
    box-sizing: border-box;
    margin-left: 10px;
    margin-top: 10px;
}
.search_filter .search_filter_border{
    background-color: #E1E4E7;
    height: 1px;
}
.search_filter h3.search_filter_heading{
    margin-bottom: 30px;
}
.search_filter h3, 
.search_filter h4 {
    font-size: 16px;
    margin-bottom: 10px;
}
.search_filter h4 {
    display: flex;
    justify-content: space-between; 
    align-items: center;
    padding: 8px;
}
.search_filter h4{
    border-bottom: 1px solid #1d1d1d;
    padding-bottom: 10px;
}
.search_filter .material_buttons{
    padding-top: 10px;
}
.search_filter .applied_filter {
    margin-bottom: 20px;
}
.search_filter .filter_tags {
    display: flex;
    flex-wrap: wrap;
}
.search_filter .filter_tag {
    padding: 2px 7px 3px;
    margin-right: 5px;
    margin-bottom: 5px;
    margin-top: 10px;
    border-radius: 5px;
    display: inline-flex;
    align-items: center;
    font-size: 12px;
    color: #fff;
}
.search_filter .filter_tag.applied1 {
    background-color: #FF7600;
} 
.search_filter .filter_tag.applied2 { 
    background-color: #FF1919;
}
.search_filter .filter_tag.applied3 { 
    background-color: #138d27d1;
}
.search_filter .close_btn {
    background: none;
    border: none;
    font-size: 14px;
    cursor: pointer;
    color: #fff; 
    padding: 0 0 0 4px;
}
.search_filter .material_types label {
    display: block;
    margin-bottom: 5px;
}
.search_filter .category_search {
    margin-bottom: 20px;
}
.search_filter .category_item{
    margin-top: 15px;
}
.search_filter .category_item summary {
    cursor: pointer;
    padding: 5px 10px;
    background-color: #FFCE71;
    /*
    border: 1px solid #ddd;
    */
    border-radius: 5px;
}
.search_filter .category_item details[open] summary {
    background-color: #FFE8BC;
    margin-top: 10px;
}
.search_filter .category_item details {
    margin-bottom: 10px;
}
.search_filter .category_item label {
    display: block;
    /*
    margin-top: 10px;
    */
    padding-bottom: 5px;
}
.search_filter .style_filters {
    margin-bottom: 20px;
}
.search_filter .style_filters h4 {
    display: flex;
    align-items: center;
    cursor: pointer;
}
.search_filter .toggle_arrow {
    margin-left: 10px;
    font-size: 18px;
    transition: transform 0.3s ease;
}
.search_filter .style_buttons {
    display: block;
    transition: max-height 0.3s ease;
    margin-top: 10px;
}
.search_filter .style_buttons.collapsed {
    display: none;
}
.search_filter .style_filters .rotated {
    transform: rotate(180deg);
}
.search_filter .style_filters button {
    border: none;
    cursor: pointer;
    box-sizing: border-box;
}
.search_filter .style_filters button.material_btn{
    border: 1px solid #9A9A9A;
}
.search_filter .material_btn {
    display: inline-block;
    padding: 10px 20px;
    margin: 5px;
    margin-left: 0px;
    background-color: #fcfcfc;
    border: 1px solid #9A9A9A;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.search_filter .material_btn.active {
    background-color: gray;
    color: white;
}
/*
.search_filter .material_btn:hover {
    background-color: #ddd;
}
*/
.search_filter input[type="checkbox"] {
    appearance: none;
    width: 16px;
    height: 16px;
    border: 1px solid #1d1d1d;
    border-radius: 3px;
    vertical-align: middle;
    margin-left: auto !important;
    cursor: pointer;
}
.search_filter input[type="checkbox"]:checked {
    background-color: #ffffff;
    border-color: #ffffff;
    position: relative;
    border: 1px solid #9A9A9A;
}
.search_filter input[type="checkbox"]:checked::after {
    content: "✔";
    position: absolute;
    top: 0;
    left: 2px;
    color: orange;
    font-size: 14px;
}
.search_filter .collapsed {
    display: none;
}
.search_filter .rotated {
    transform: rotate(180deg);
}
.search_filter .checkbox-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    /*
    margin-bottom: 5px;
    */
}
.search_filter .checkbox-container label {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    flex-grow: 1;
    /*
    padding: 10px;
    padding-bottom: 10px;
    padding-top: 0;
    */
    padding: 8px 10px;
}
.search_filter input[type="checkbox"] {
    margin:0 0 0 auto;
}
/*まとめる為SCSS*/
.search_filter details {
    summary {
        display: flex;;
        justify-content: space-between;
        align-items: center;
        cursor: pointer;
        padding: 8px;
    }
    summary::-webkit-details-marker {
        display: none;
    }
    summary .arrow {
        margin-left: 8px;
        transition: transform 0.3s ease;
    }
    details[open] summary .arrow {
        transform: rotate(180deg);
    }
}
/*----------*/
/*---10/26〜10/29---*/
.search_filter{
    padding: 20px;
}
.search_filter h3.search_filter_heading{
    margin-bottom: 25px;
}
.search_filter h4{
    padding:0;
    padding-bottom:10px;
}
.search_filter h3, .search_filter h4{
    margin-bottom:0;
}
.search_filter .style_filters{
    margin-bottom:15px;
    margin-top: 0;
}
.search_filter input[type="checkbox"]:checked::after {
    top: -4px;
    left: 1.5px;
}
.search_filter h3{
    font-size:16px;
    display: flex;
    justify-content: space-between;
}
.search_filter h4{
    font-size:14px;
}
.search_filter summary{
    font-size:14px;
}
.style_buttons button{
    font-size:12px;
}
.search_filter .fa-chevron-down{
    font-size:16px;
}
/*
.search_filter .category_item label {
    border-bottom: 1px solid #9A9A9A;
}
*/
/*---add---*/
.search_filterhum_flex01 h2{
    font-size:16px;
}
@media(min-width:769px){
    .search_filterhum_flex_content{
        margin-bottom:25px;
    }
}
@media(max-width:768px){
    .search_filterhum_header {
        display: flex;
        align-items: center;
        justify-content: space-between;
        color: #fff;
        /* padding: 10px 20px; */
        width: 95vw;
        margin:0 auto !important;
        padding-top:15px;
        padding-bottom:15px;
    }
    .search_filterhum_header i{
        font-size:26px;
    }
    .search_filterhum_flex01 h2{
        font-size:16px;
        font-weight:500;
    }
    .search_filterhum_filter-container {
        position: fixed;
        top: 0;
        left: 0;
        height: 0;
        background-color: #fff;
        overflow: hidden;
        transition: height 0.5s ease;
    }
    .search_filterhum_filter-container.active {
        height: 100%;
        width: auto;
        cursor: pointer;
    }
    .search_filterhum_flex01 h2{
        font-size:16px;
    }
    .search_filterhum_flex01 h2{
        font-size:16px !important;
        font-weight:700
    }
    .search_filterhum_filter-container {
        max-width: 100%;
    }
    .search_filterhum_flex_content{
        display: flex;
        justify-content: space-between;
        margin-bottom: 25px;
    }
    .search_filterhum_flex02 i{
        font-size: 26px;
    }
    .mypage_all_browsing_add_flex_content{
        flex-wrap: wrap;
    }
    .search_filterhum_filter-container{
        margin-top:68px;
        position: absolute;
        z-index: 10;
    }
    .search_filterhum_hamburger-menu span{
        font-size:16px;
    }
    .search_filter {
        z-index:99999;
        padding: 10px;
        border-radius: 5px;
        max-width: 100%;
        box-sizing: border-box;
        margin: 0 auto;
    }
    .search_filterhum_hamburger-menu{
        display:flex;
        justify-content:space-between;
        align-items:center;
        width:100%
    }
    .search_filter_add_flex_content{
        display:flex;
        gap:5px;
        align-items:center;
    }
    .search_filter_add_flex img{
        width:26px;
        vertical-align:bottom;
    }
    .search_filter_add_flex p{
        color:#FF7000;
        font-weight:700;
    }
    .search_file_flex_content{
        display:flex;
        justify-content:space-between;
        align-items:center;
        width:100%;
    }
    .click_sort_wrapper_adds{
        width:40%;
    }
    .search_filter_add_flex_content{
        justify-content:end;
        width:60%;
    } 
}
@media(min-width:769px){
    .mypage_all_blowsing_histosy_heading_text{
        position:relative;
        top:-30px;
    }
    .border_area_content{
        position:relative;
        top:30px;
    }
    .click_sort_wrapper{
        position:relative;
        top:35px;
    }
    .mypage_all_blowsing_histosy_flex_content {
        padding-top:40px !important;
    }
}
@media(max-width:768px){
    .mypage_all_browsing_add_flex_content{
        gap:0 !important;
    }
    .mypage_all_blowsing_histosy_heading_text{
        position:relative;
        top:-55px;
    }
    .border_area_content{
        position:relative;
        top:-65px;
    }
    .search_filterhum_header{
        position:relative;
        top:60px;
        z-index: 1;
        cursor:pointer;
    }
    .mypage_all_blowsing_histosy_flex_content{
        position:relative;
        top:-40px;
        gap: 10px;
    }
    .mypage_all_blowsing_histosy_flex_content{
        flex-wrap:wrap;
    }
    .mypage_all_blowsing_histosy_flex{
        width:50%;
    }
    .mypage_all_blowsing_histosy_flex {
        min-width: 47% !important;
        max-width: 47% !important;
        box-sizing: border-box;
    }
    .mypgae_all_browsing_history_content_area{
        width:100%
    }
    .border_area_content {
        height: 1px;
        width: 100% !important;
    }
    .mypage_all_blowsing_histosy_heading_text h2 span{
        font-size:14px !important;
    }
    .search_filterhum_flex_content{
        padding-top:20px;
    }
    .search_filterhum_filter-container.active {
        height: 100%;
        width: 100%;
        cursor: pointer;
    }
    .search_filterhum_filter-container {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        z-index: 100000000;
    }
    .search_filterhum_filter-container {
        margin-top: 60px;
    }
    .search_filterhum_filter-container.active {
        display: block;
        height: 100%;
        width: 100%;
        cursor: pointer;
    }
    #filterMenu {
        max-height: calc(100vh - 50px);
        overflow-y: auto;
        z-index: 999999;
    }
    .search_filterhum_filter-container {
        max-height: calc(80vh - 50px); 
        overflow-y: auto;
    }
}
.search_filter h4 {
    border-bottom: 1px solid#9A9A9A;
}
.style_buttons_color button{
    height: 27px;
    width: 27px;
}
/*
.multicolor {
    background: linear-gradient(135deg, #1D1D1D 50%, #FFFFFF 50%);
}
*/
.custom-dropdown {
    position: relative;
    width: 200px;
}
.custom-dropdown-selected {
    display: flex;
    gap:10px;
    font-size:14px;
    align-items: center;
    cursor: pointer;
    border-radius: 5px;
}
.custom-dropdown-options {
    display: none;
    position: absolute;
    top: 100%;
    left: 5px;
    width: 120px;
    background-color: #ffffff;
    border: 1px solid #9A9A9A;
    border-radius: 5px;
    box-shadow:0px 1px 6px rgba(0, 0, 0, 0.16);
    z-index:10;
    font-size:14px;
}
.custom-dropdown-options.show {
    display: block;
}
.custom-dropdown-option {
    padding: 5px;
    cursor: pointer;
}
.search_filter .category_item .details02 summary {
    background-color: #FFE8BC;
}
.search_filter .checkbox-container label{
    font-size: 14px;
}
.custom-dropdown-options {
    width: 90px;
    text-align: center;
}
/*jsで表示・非表示を管理*/
.color_search {
    display: none;
}
.style_filters_add_design {
    display: none;
}
@media (max-width: 768px) {
    .mypage_all_browsing_history_container .click_sort_wrapper {
        display: block;
    }
    .click_sort_content{
        position:absolute;
        z-index:9999;
        margin-top:-31px;
    }
    #selectedOption{
        font-size:16px;
    }
    .search_filter_add_flex_content {
        margin-left: auto;
    }
}
@media (min-width: 769px) {
    .search_filterhum_header{
        display:none;
    }
    .search_filterhum_flex02{
        display:none;
    }
}