/*
 * news.htmlのページ固有のスタイル（custom.css・site.css の後に読み込む）。
 * Tailwind のユーティリティクラス（px-4、lg:grid 等）は定義していないので、HTML に書いても効かない。
 * 新しい見た目が必要なときは、このファイルにクラスを追加して HTML から使うこと。
 *
 * ブレークポイント: sm 640px / md 768px / lg 1024px / xl 1280px / 2xl 1536px
 */

/* ================================================================ ページ全体（body） */
.news-list-page { -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; background-color: #ffffff; }

/* ================================================================ news-list-hero（ニュース） */
.news-list-hero {
    position: relative;
    overflow: hidden;
    padding-bottom: 4rem;
    padding-top: 8rem;
}
.news-list-hero-backdrop { position: absolute; inset: 0; background-image: linear-gradient(to bottom right, #0f172a, #1e3a8a, #2563eb); }
.news-list-hero-decor { position: absolute; inset: 0; opacity: 0.4; }
.news-list-hero-inner {
    width: 100%;
    position: relative;
    z-index: 10;
    margin-left: auto;
    margin-right: auto;
    padding-left: 1rem;
    padding-right: 1rem;
}
.news-list-hero-content {
    margin-left: auto;
    margin-right: auto;
    max-width: 64rem;
    text-align: center;
}
.news-list-hero-badge-wrap { margin-bottom: 1.5rem; display: inline-block; }
.news-list-hero-title {
    margin-bottom: 1.5rem;
    font-size: 3rem;
    line-height: 1;
    font-weight: 900;
    letter-spacing: -0.025em;
    color: #ffffff;
}
.news-list-hero-lead {
    margin-left: auto;
    margin-right: auto;
    max-width: 48rem;
    font-size: 1.25rem;
    line-height: 1.625;
    color: rgb(255 255 255 / 0.8);
}
@media (min-width: 640px) {
    .news-list-hero-inner { max-width: 640px; padding-left: 1.5rem; padding-right: 1.5rem; }
    .news-list-hero-title { font-size: 3.75rem; line-height: 1; }
}
@media (min-width: 768px) {
    .news-list-hero-inner { max-width: 768px; }
}
@media (min-width: 1024px) {
    .news-list-hero { padding-bottom: 5rem; padding-top: 10rem; }
    .news-list-hero-inner { max-width: 1024px; padding-left: 2rem; padding-right: 2rem; }
    .news-list-hero-title { font-size: 4.5rem; line-height: 1; }
    .news-list-hero-lead { font-size: 1.5rem; line-height: 2rem; }
}
@media (min-width: 1280px) {
    .news-list-hero-inner { max-width: 1280px; }
}
@media (min-width: 1536px) {
    .news-list-hero-inner { max-width: 1536px; }
}

/* ================================================================ news-list */
.news-list-articles { padding-bottom: 4rem; padding-top: 1rem; }
.news-list-articles-inner {
    width: 100%;
    margin-left: auto;
    margin-right: auto;
    padding-left: 1rem;
    padding-right: 1rem;
}
.news-list-articles-container { margin-left: auto; margin-right: auto; max-width: 72rem; }
.news-list-grid { display: grid; gap: 1.25rem; }
@media (min-width: 640px) {
    .news-list-articles { padding-top: 1.25rem; }
    .news-list-articles-inner { max-width: 640px; padding-left: 1.5rem; padding-right: 1.5rem; }
}
@media (min-width: 768px) {
    .news-list-articles-inner { max-width: 768px; }
    .news-list-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 1024px) {
    .news-list-articles { padding-bottom: 6rem; padding-top: 2rem; }
    .news-list-articles-inner { max-width: 1024px; padding-left: 2rem; padding-right: 2rem; }
    .news-list-grid { gap: 1.5rem; }
}
@media (min-width: 1280px) {
    .news-list-articles-inner { max-width: 1280px; }
    .news-list-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (min-width: 1536px) {
    .news-list-articles-inner { max-width: 1536px; }
}

/* ================================================================ news-list（AI帳票解析サービス「Connected Base」が東急建） */
.news-list-featured-card { margin-bottom: 2rem; padding: 1.25rem; }
.news-list-featured-grid { display: grid; align-items: center; gap: 1.25rem; }
.news-list-featured-thumb-link { display: block; }
.news-list-card-meta {
    margin-bottom: 0.75rem;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.625rem;
}
.news-list-card-date {
    font-size: 0.75rem;
    line-height: 1rem;
    font-weight: 500;
    color: #6b7280;
}
.news-list-featured-eyebrow {
    margin-bottom: 0.5rem;
    font-size: 0.75rem;
    line-height: 1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    color: #0066ff;
}
.news-list-featured-title {
    margin-bottom: 0.75rem;
    font-size: 1.5rem;
    font-weight: 900;
    line-height: 1.25;
    color: #111827;
}
.news-list-featured-excerpt {
    margin-bottom: 1.25rem;
    font-size: 0.875rem;
    line-height: 1.625;
    color: #4b5563;
}
.news-list-card { padding: 1rem; }
.news-list-card-thumb-link { margin-bottom: 1rem; display: block; }
.news-list-card-title {
    margin-bottom: 0.625rem;
    font-size: 1.125rem;
    font-weight: 800;
    line-height: 1.375;
}
.news-list-card-excerpt { font-size: 0.875rem; line-height: 1.625; color: #4b5563; }
.news-list-card-footer {
    margin-top: 1rem;
    border-top-width: 1px;
    padding-top: 0.75rem;
    border-color: #f3f4f6;
}
@media (min-width: 640px) {
    .news-list-featured-excerpt { font-size: 1rem; line-height: 1.5rem; }
    .news-list-card { padding: 1.25rem; }
    .news-list-card-title { font-size: 1.05rem; }
}
@media (min-width: 1024px) {
    .news-list-featured-card { margin-bottom: 2.5rem; padding: 1.5rem; }
    .news-list-featured-grid { grid-template-columns: 1.15fr 1fr; gap: 2rem; }
    .news-list-featured-title { font-size: 1.875rem; line-height: 2.25rem; }
}
