/*==================================================
ムラタの技術　実用例ページの絞り込みおよびランダム表示
==================================================*/


/*-----実用例の絞り込み機能-----*/
.appli-nav .appli-nav-item {
    border: 1px solid #ccc;
    border-radius: 4px;
    margin-top: 0;
}

.appli-nav .appli-nav-item .c-title._h3 {
    background-color: #efefef;
    padding: 10px 20px;
    margin-bottom: 0;
    border-radius: 4px;
}

.appli-nav .appli-nav-item .menu-content {
    display: none;
    padding: 20px;
}

.appli-nav .appli-nav-item .menu-open {
    padding: 15px;
    color: #222!important;
    font-size: 20px;
    position: relative;
    cursor: pointer;
}

.appli-nav .appli-nav-item .menu-open::before {
    content: "+";
    position: absolute;
    right: 20px;
}

.appli-nav .appli-nav-item .menu-open .is-active::before {
    content: "-";
}

#resetBtn.link-style {
    cursor: pointer;
    text-decoration: underline;
}

#resetBtn.link-style:hover {
    color: #ea002a;
}

#searchForm label {
    white-space: no-wrap;
    display: inline-block;
}

.tech-form-checkbox label,
.tech-form-checkbox input[type=checkbox]  {
    cursor: pointer;
}

.tech-form-checkbox input[type=checkbox] {
    height: 20px;
    width: 20px;
    vertical-align: sub;
    margin-right: 15px;
    accent-color: #ea002a;
}

#status {
    font-size: 20px;
    font-weight: bold;
    margin-bottom: 30px;
}

#status .search-count {
    font-size: 16px;
    font-weight: normal;
}

.tag-list {
    display: flex;
    flex-wrap: wrap;
}

.tag-list .tag-icon {
    padding: 1px 5px;
    margin: 0 10px 10px 0;
    background: #f6f6f7 !important;
    font-size: 1.4rem;
}

.icon-filter {
    display: flex;
    align-items: center;
}

.icon-filter:before {
    content: "";
    background-image: url(/-/media/F2E6A3149E4242CDA64A776CD2472F4F.ashx);
    background-repeat: no-repeat;
    background-size: contain;
    width: 24px;
    height: 24px;
    display: block;
    margin-right: 4px;
}

/*-----ここまで　実用例の絞り込み機能-----*/



/*-----実用例の一覧表示-----*/

.card-container {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.card {
    display: flex;
    flex: 0 0 calc(50% - 10px);
    padding: 10px;
    text-decoration: none;
    color: #222;
    border: 1px solid #ddd;
    background: #fff;
    transition: background-color: 0.3s;
}

.card:hover {
    background-color: #f6f6f7;
    color: #222;
    text-decoration: none;
}

.card-body {
    flex: 3;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-left: 10px;
}

.card-image {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.card-image img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    display: block;
}


@media (max-width: 768px) {
    
    .card {
        flex: 0 0 100%;
    }
    
    .card-image {
        width: 100%;
    }
}

/*-----実用例の一覧表示-----*/