@charset "utf-8";

/*--------------------------------------------------------------
    ニュースリリース表示
  --------------------------------------------------------------*/


.news {
    color: #fff !important;
    background-color: rgb(var(--main-color) / 1.0) !important;
    border-radius: 1rem;
}

.blog {
    color: #fff !important;
    background-color: #6ccf6f;
    border-radius: 1rem;
}

.taxonomy.category {
    display: none;
}



/*--------------------------------------------------------------
    リリース表示
  --------------------------------------------------------------*/
#news-blog {
    margin: 0;
    padding: 2rem 2rem 2rem 2rem;
    background-color:rgb(255, 253, 252);


}

#news-blog>h2 {
    margin: 0 0 2rem 0;
}

#news-blog ul.release {
    margin: 0;
    padding: 0;
}

#news-blog ul.release.top-margin {
    margin: 02rem 0 0 0;
    padding: 0;
}

#news-blog ul.release>li>a {
    display: grid;
    grid-template-columns: minmax(30px, 7vw) minmax(50px, 6vw) minmax(50px, 7vw) 1fr;
    column-gap: 1rem;
    justify-content: center;
    align-items: center;

    margin: 0;
    padding: 0;

    transition: 1.0s;
}

#news-blog ul.release>li>a:hover {
    background-color: #eee;
}

#news-blog ul.release>li {
    border-top: 1px solid #eee;
    margin: 0;
    padding: 0;
}

#news-blog ul.release>li:last-child {
    border-top: 1px solid #eee;
    border-bottom: 1px solid #eee;
}

#news-blog ul.release>li>a div:first-child>img {
    width: clamp(20px, 4vw, 70px);
    height: clamp(20px, 4vw, 70px);

    margin: 0.3rem 0 0.3rem 2rem;
    padding: 0;
}

#news-blog ul.release>li>a time {
    font-size: clamp(0.5rem, 0.9vw, 0.8rem);
    line-height: clamp(0.5rem, 0.9vw, 0.8rem);
    font-weight: 500;
    text-align: center;
    text-wrap: nowrap;
}

#news-blog ul.release>li>a div:nth-child(3)>p {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    margin: 0;
    padding: 0.2rem 0.5rem 0.3rem 0.5rem;
    font-size: clamp(0.4rem, 1.0vw, 0.6rem);
    line-height: clamp(0.4rem, 1.0vw, 0.6rem);
    font-weight: 500;
    text-align: center;
}

#news-blog ul.release>li>a>p {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    height: 100%;
    margin: 0;
    padding: 0 2rem 0 0;

    font-size: 0.7rem;
    line-height: 0.9rem;
}

@media (max-width: 767.98px) {

    /* sm 以下の画面サイズの場合のスタイル */
    #news-blog {
        padding: 2rem 1rem 2rem 1rem;
    }

    #news-blog ul.release>li>a div:first-child>img {
        margin: 0.3rem 0 0.3rem 0.5rem;
        padding: 0;
    }

    #news-blog ul.release>li>a>p {
        padding: 0.5rem 0.5rem 0.5rem 0;
    }
}

@media (min-width: 768px) and (max-width: 991.98px) {

    /* md の画面サイズの場合のスタイル */
    #news-blog {
        padding: 2rem 1rem 2rem 1rem;
    }

    #news-blog ul.release>li>a div:first-child>img {
        margin: 0.3rem 0 0.3rem 0.5rem;
        padding: 0;
    }

    #news-blog ul.release>li>a>p {
        padding: 0.5rem 0.5rem 0.5rem 0;
    }
}

@media (min-width: 992px) {
    /* lg 以上の画面サイズの場合のスタイル */
}