@import url("./article-content.css");

body {
    overflow-x: clip;
}

.caseOtherList {
    margin: 0;
    padding: 0;
}

.caseOtherList li {
    border-bottom: 1px solid #e1e1e1;
}

.caseOtherList li:first-child {
    border-top: 1px solid #e1e1e1;
}

.caseOtherList a {
    display: flex;
    align-items: center;
    gap: 0.16em;
    padding: 0.16em 0;
}

.caseThumb {
    flex: 0 0 1.12em;
    width: 1.12em;
    height: 0.76em;
    overflow: hidden;
    background: #ececec;
}

.caseThumb img,
.caseThumbEmpty {
    display: block;
    width: 100%;
    height: 100%;
}

.caseThumb img {
    object-fit: cover;
    transition: transform 0.3s ease;
}

.caseThumbEmpty {
    background: linear-gradient(135deg, #eeeeee, #d8d8d8);
}

.caseTitle {
    color: #222222;
    font-size: 0.17em;
    font-weight: 600;
    line-height: 1.45;
    display: -webkit-box;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
}

.caseOtherList a:hover .caseTitle {
    color: #cf142c;
}

.caseOtherList a:hover .caseThumb img {
    transform: scale(1.06);
}

@media screen and (min-width: 768px) {
    .blogShow,
    .blogShow > .wbWidth1,
    .blogShow .blogs,
    .blogShow .blogsMain,
    .caseSidebar,
    .caseSidebar .blogSy {
        overflow: visible;
    }

    .blogShow .blogsMain {
        align-items: stretch;
    }

    .caseSidebar {
        position: relative;
        align-self: stretch;
    }

    .caseSidebar .blogSy {
        height: 100%;
    }

    .caseSidebar .caseInquiry {
        position: sticky;
        top: 96px;
    }
}

@media screen and (max-width: 767px) {
    .caseOtherList a {
        gap: 14px;
        padding: 12px 0;
    }

    .caseThumb {
        flex-basis: 112px;
        width: 112px;
        height: 76px;
    }

    .caseTitle {
        font-size: 13px;
    }

    .caseSidebar .caseInquiry {
        position: static;
    }
}
