@charset "UTF-8";

/* ===============================================================
  最新のお知らせ（sec06）専用スタイル
=============================================================== */

.sec06 .infocardchild.news-item {
    font-size: 1.6rem;
}
.sec06 .infocardchild.news-item > a {
    display: block;
    width: 100%;
}

/* サムネイル枠：A4縦比率（210:297）の固定コンテナ */
.sec06 .news-thumb {
    position: relative;
    width: 100%;
    aspect-ratio: 210 / 297;
    overflow: hidden;
    background: #f5f5f5;
}
/* 中身：枠に収まるよう縮小し、中央寄せ */
.sec06 .news-thumb > img,
.sec06 .news-thumb > canvas.news-pdf-thumb {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center center;
    display: block;
}

.sec06 .news-date {
    margin-top: 1.5rem;
    font-size: 1.5rem;
    font-weight: 700;
    color: #fff;
    line-height: 1.4;
}
.sec06 .news-text {
    margin-top: 0.5rem;
    font-size: 1.3rem;
    font-weight: 400;
    color: #ccc;
    line-height: 1.6;
}

@media screen and (max-width: 768px) {
    .sec06 .news-date { font-size: 1.4rem; }
    .sec06 .news-text { font-size: 1.2rem; }
}
