/**
 * HOME画面の新着知財記事
 */

.NewArticleListContainer {
    display: grid;
    gap: 15px;
}

.NewArticleListContainer .EmptyCard {
    display: grid;
    justify-content: center;
    align-items: center;
    width: 100%;
    padding: 30px 10px;
    text-decoration: none;
    color: #555;
    background-color: #fff;
    border-top: 1px solid #ccc;
    border-bottom: 1px solid #ccc;
}

.NewArticleListContainer .ListCard {
    display: grid;
    grid-auto-rows: min-content;
    gap: 5px;
    width: 100%;
    padding: 20px;
    text-decoration: none;
    color: #333;
    background-color: #fafafa;
    border-top: 1px solid #ccc;
    border-bottom: 1px solid #ccc;
    transition: all 0.2s;
}

.NewArticleListContainer .ListCard:hover {
    background-color: #ffffff;
    border-top: 1px solid #999;
    border-bottom: 1px solid #999;
}

.NewArticleListContainer .Title {
    width: 100%;
    font-size: 17px;
    font-weight: bold;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    color: #333;
}
.NewArticleListContainer .ContentArea {
    width: 100%;
    display: grid;
    align-items: center;
    padding: 8px;
    background-color: #f5f5f5;
    border-radius: 5px;
}
.NewArticleListContainer .Content {
    width: 100%;
    overflow: hidden;
    font-size: 0.8em;
    color: #555;
    /* 以下で文の左右整列はできるが、Safariで-webkit-line-clampで3点リーダー表示をさせる際、表示が崩れる */
    /* text-align: justify; */
}

.NewArticleListContainer .ArticleFooter {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: flex-end;
    margin-top: 5px;
}

.NewArticleListContainer .DateTime {
    font-size: 0.7em;
    color: #999;
    flex-grow: 1;
    text-align: right;
}

.NewArticleListContainer .More {
    text-align: center;
    font-size: 15px;
    padding: 10px;
    color: var(--PrimaryButtonColor);
    background-color: #f5f5f5;
}