@charset "UTF-8";

ul{
    list-style: none;
    padding: 0;
    margin: 0;
}

#search input[type="checkbox"] + span{
    display: inline-flex;
    border-radius: 3.46em;
    padding:.75em .75em;
    line-height: 1.1;
    border:1px solid #ccc;
    background: #fff;
    text-align: center;
    min-width: 100px;
    flex-direction: row;
    justify-content: center;
    cursor: pointer;
    position: relative;
    margin: 5px 0;
    font-size: 14px;
    width: 100%;
    transition: 0.5s;
    color:#202020;
}

#search input[type="checkbox"] + span:hover, dl.search__wrap__btn dt:hover{
    background: #eee;
    border:1px solid #000;
    box-shadow: 0px 0px 15px -9px #777777;
}

#search input[type="checkbox"]:checked + span{
    border:1px solid #000;
    background: #eee;
    box-shadow: 0px 0px 15px -9px #777777;
}

#search input[type="checkbox"]:checked + span::before{
    position: absolute;
    font-size: 18px;
    right: 8px;
    color: #444;
    line-height: 1.0;
    font-weight: bold;
    top: -3px;
    content: '×';
}

#search input[type="checkbox"]{
    display: none;
}

div.searchform{
    display: flex;
    column-gap: 2%;
    max-width: 100%;
    flex-direction: column-reverse;
    margin: auto;
    flex-wrap: wrap;

}

div.searchform.mb{
    margin-bottom: 0;
}

.searchform .top__wrap{
    padding: 1.5em 1em 1em;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap:1vh .5%;
    width: 100%;
    align-items: flex-start;
}

.searchform .top__wrap.bg-wh{
    background: #fefefe;
    border: 1px solid #ddd;
    margin-bottom: 1em;
}

.searchform .bottom__wrap{
    display: flex;
    column-gap: 1%;
    flex-wrap: wrap;
    flex-direction: column;
    row-gap: 1em;
    width: 100%;
    padding: .5em 1em;
    align-items: center;
}

.searchform .bottom__wrap ul{
    margin: 0 auto;
    padding: 0;
    display: flex;
    justify-content: center;
    gap:1%;
}

.searchform .bottom__wrap ul li:first-child{
    display: none;
}

.searchform .title{
    color:#fff;
    font-size: clamp(19px,1.2rem,1.25rem);
    margin-bottom: .5em;
}

#search .searchform .bottom__wrap ul input[type="checkbox"] + span{
    border-radius: 50%;
    min-width: 60px;
    min-height: 60px;
    max-height: 60px;
    width: 60px;
    height: 60px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    font-size: 14px;
    padding: .75em .5em;
}

#search .searchform .bottom__wrap ul input[type="checkbox"] + span:before{
    top:5px;
    right:7px;
}

.searchform .top__wrap.bg-wh .title{
    color: #202020;
    padding-left: 20px;
    border-left: chocolate 8px solid;
    line-height: 1.1;
    font-weight: 600;
    margin-top: 1em;
}

dl.search__wrap__btn{
    display: flex;
    gap:0;
    flex-direction: column;
    align-items: flex-start;
    margin: 0 auto;
    min-width: 49%;
    position: relative;
}

.search__wrap h3{
    color:#202020;
    padding: 1em;
}

.searchform .top__wrap.bg-wh dl.search__wrap__btn{
    min-width: 24%;
}

dl.search__wrap__btn dt{
    padding: .5em;
    text-align: left;
    border: 1px solid #ddd;
    background: #fff;
    width: 100%;
    border-radius: .26em;
    line-height: 1.8;
    transition: 0.5s;
    color:#000;
}

dl.search__wrap__btn dd{
    display: flex;
    gap:.5em;
    flex-wrap: wrap;
    margin:0 auto;
    display: none;
}

.bottom__wrap dl.search__wrap__btn dd{
    display: flex !important;
}

dl.search__wrap__btn dd.is-open{
    display: flex;
}

.qa__head{
    position: relative;
    cursor: pointer;
}
  
  .qa__head:after {
    content: "";
    border-top: 1px solid #aaa;
    border-left: 1px solid #aaa;
    display: inline-block;
    width: 8px;
    height: 8px;
    transform: rotate(-135deg) translateY(9px);
    position: absolute;
    right: 22px;
    top: 50%;
    transition: transform .4s;
  }
  
  .qa__body {
    position: relative;
    opacity: 0;
    transition: line-height 0.4s, padding 0.4s, opacity 0.4s;
    height: 0;
  }
  
  .qa__body.is-open {
    opacity: 1;
    height: auto;
    position: absolute;
    background: rgba(255,255,255,0.97);
    border: 1px solid #ccc;
    padding: .5em;
    z-index: 5;
    top: 100px;
    width: 100%;
    box-shadow: 0px 0px 15px -5px #777777;
    border-radius: 0;
    max-height: 170px;
    overflow-y: auto;
    }
    .qa__body.is-open > div{
        margin: auto;
        width: 100%;
    }

  .qa__head.is-open::after {
    transform: rotate(45deg) translateY(-10px);
    }

    .search-submit{
        background: #202020;
        padding: .5em;
        color:#fff;
        border:none;
        border-radius: 1.46em;
        line-height: 1.8;
        margin-left: auto;
        margin-right: auto;
        margin-top: 1em;
        width: 90%;
        max-width: 250px;
        font-size: 18px;
        font-weight: 600;
        cursor: pointer;
        border: 1px solid #202020;
        transition: 0.5s;
        border: 1px solid #ccc;
    }

    .search-submit:hover{
        background: #fff;
        color:#202020;
        border: 1px solid #202020;
    }
    @media screen and (min-width: 1241px){

        .search-submit{
            margin-left: auto;
            margin-right: auto;
        }
        .bottom__wrap dl.search__wrap__btn{
            margin-left: 2.6vw;
        }
    }
    @media screen and (min-width: 768px) and (max-width: 1240px) {
    section.cream .comm__Inner__wrap{
        padding: 1.6vw;
    }
    #search .searchform .bottom__wrap ul input[type="checkbox"] + span {
        border-radius: 50%;
        min-width: 50px;
        min-height: 50px;
        max-height: 50px;
        width: 50px;
        height: 50px;
    }
}

.search-results{
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    background: #f3f3fa;
    gap:0;
    margin: 0 auto 1em;
    max-width: 100%;
}

.search-results .Item{
    width: calc(100% / 4);
    border-bottom: 1px solid #fff;
    padding: 1em;
}

.search-results .Item{
    border-right:1px solid #fff;
}

.search-results .Item:last-of-type{
    border-right: 0;
}

.search-results .Item .flex{
display: flex;
flex-direction: row;
gap: .5em;
flex-wrap: wrap;
}

.search-results h4{
    margin-bottom: .75em;
    color:#202020;
    border-left: 6px solid #ccc;
    line-height: 1.2;
    padding-left: 1em;
    margin-top: 0;
    font-size: 1.05rem;
}

div.not{
    display: none;
}

div.not.checked{
    display: block !important;
}

div.result{
    border-radius: .16em;
    padding: .25em .5em;
    text-align: center;
    font-size: 0.9rem;
    font-weight: 400;
    border: 1px solid #d0ffda;
    background: #61d092;
    line-height: 1.625;
}

.clear-btn{
    border: 1px solid #ccc;
    border-radius: 6px;
    max-width: max-content;
    font-size: 0.9rem;
    background: #f2f2f2;
    cursor: pointer;
    color:#202020;
    border-radius: 1.46em;
    line-height: 1.8;
    margin-left: auto;
    margin-right: auto;
    margin-top: 1em;
    width: 90%;
    max-width: 250px;
    padding: .5em;
    text-align: center;
}

@media screen and (max-width: 767px){

    div.result{
        font-size: 10px;
    }
    .clear-btn{
        font-size: 0.75rem;
    }
}