.FeaturedPatentAttorneyList {
    display: grid;
    grid-template-areas: "LeftButton RightButton";
    grid-template-columns: repeat(2, 30px);
    justify-content: space-between;
    grid-template-rows: 1fr;
    overflow: hidden;
}

.FeaturedPatentAttorneyList .CardContainer {
    grid-area: 1 / 1 / -1 / -1;
    display: flex;
    gap: 15px;
    padding: 5px;
    flex-wrap: nowrap;
    scroll-behavior: smooth;
    /* スクロールボタン分の余白 */
    padding-right: 40px;
    overflow-y: scroll;
    white-space: nowrap;
    /* IE, Edge 対応 */
    -ms-overflow-style: none;
    /* Firefox 対応 */
    scrollbar-width: none;
}
/* Chrome, Safari 対応 */
.FeaturedPatentAttorneyList .CardContainer::-webkit-scrollbar {
    display: none;
}

.FeaturedPatentAttorneyList .ListCard {
    min-width: 300px;
    height: 150px;
    border: 1px solid #ccc;
    border-radius: 5px;
}

.FeaturedPatentAttorneyList .ScrollButton {
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 5px;
    color: #777;
    font-weight: bold;
    background-color: #ffffff22;
    opacity: 0;
    transition: all 0.3s;
}
.FeaturedPatentAttorneyList .ScrollLeftButton {
    grid-area: LeftButton;
}
.FeaturedPatentAttorneyList .ScrollRightButton {
    grid-area: RightButton;
}

.FeaturedPatentAttorneyList:hover .ScrollLeftButton,
.FeaturedPatentAttorneyList:hover .ScrollRightButton {
    opacity: 1;
}