.related_case_block .h1 {
    margin-bottom: clamp(16px, 28 * (100vw/1920), 28px);
}

.related_case_block .related_case_block_wrap {
    display: flex;
    flex-direction: row;
    gap: 1.5em;
}
.related_case_block .related_case_block_item {
    flex: 1 0 calc(33.33% - 1em);
}
.related_case_block .related_case_block_item .related_case_block_item_title {
    font-size: 1.5em;
    margin-bottom: 1em;
}

.related_case_block .list-posts {
    position: relative;
}
.related_case_block .list-posts > a {
    position: relative;
    display: block;
}
.related_case_block .list-posts img {
    width: 100%;
    height: auto;
}
.related_case_block .case_logo {
    position: absolute;
    left: 15px;
    top: 15px;
    background: rgba(255, 255, 255, 0.5);
    padding: 0.5em;
    z-index: 1;
}
.related_case_block .case_logo > div {
    height: clamp(28px, 56 * (100vw / 1920), 56px);
    display: flex;
    align-items: center;
}
.related_case_block .case_logo > div > img {
    object-fit: contain;
    height: inherit;
    width: inherit;
    max-width: none;
}
.related_case_block .case_info {
    position: relative;
    z-index: 2;
    margin-bottom: clamp(16px, 28 * (100vw / 1920), 28px);
}
.related_case_block .case_info:last-child {
    margin-bottom: 0;
}
.related_case_block .case_info p {
    color: #818181;
    padding-right: 0;
}
.related_case_block .case_info h2:has(a):hover {
    text-decoration: underline;
    text-underline-position: from-font;
}
.related_case_block .list-posts h2 {
    margin: 0.5em 0;
}
.related_case_block .case_info_bottom {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: clamp(12px, 28 * (100vw / 1920), 28px);
    margin-bottom: 12px;
}
.related_case_block .case_info_bottom__item {
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.related_case_block .case_info_bottom__title {
    font-weight: 500;
    font-size: 0.8em;
    line-height: 1.25em;
    text-transform: uppercase;
}
.related_case_block .case_info_bottom__text {
    font-weight: 500;
    font-size: 1em;
    line-height: 1.25em;
    text-transform: uppercase;
}
.related_case_block .case_info_bottom__text a:hover {
    text-decoration: underline;
}

@media screen and (max-width: 768px) {
    .related_case_block .related_case_block_wrap {
        flex-direction: column;
    }
}
