/* Ver3 news cards. Scoped so the same design can be used in WordPress. */
.seikin-news { padding: clamp(84px, 10vw, 140px) 0; color: #12383e; background: #edf9fb; }
.seikin-news .section-number { margin: 0; color: #007c94; font: 750 .78rem/1.5 var(--font-body, "Hiragino Sans", "Yu Gothic", sans-serif); letter-spacing: .1em; }
.seikin-news-shell { width: min(100% - 96px, 1320px); margin: 0 auto; }
.seikin-news-heading { display: flex; justify-content: space-between; align-items: end; gap: 32px; margin-bottom: 42px; }
.seikin-news-heading h2 { margin: 17px 0 0; font-family: "Hiragino Sans", "Yu Gothic", "Noto Sans JP", sans-serif; font-size: clamp(2.8rem, 5vw, 5.8rem); font-weight: 500; line-height: 1.38; letter-spacing: -.015em; }
.seikin-news-heading > p { margin: 0 0 7px; color: #587477; line-height: 1.9; }
.seikin-news-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.seikin-news-card { min-width: 0; overflow: hidden; background: #fff; border: 1px solid #d9e8e6; transition: transform .25s, box-shadow .25s; }
.seikin-news-card:hover { transform: translateY(-5px); box-shadow: 0 18px 38px #0a46431a; }
.seikin-news-card-button, .seikin-news-card-link { display: block; width: 100%; height: 100%; padding: 0; border: 0; color: inherit; background: transparent; text-align: left; text-decoration: none; cursor: pointer; font: inherit; }
.seikin-news-card-image { position: relative; display: block; overflow: hidden; aspect-ratio: 1.52; background: #c3dfdb; }
.seikin-news-card-image img { width: 100%; height: 100%; display: block; object-fit: cover; transition: transform .55s; }
.seikin-news-card:hover .seikin-news-card-image img { transform: scale(1.055); }
.seikin-news-card-category { position: absolute; left: 16px; bottom: 16px; padding: 8px 12px; color: #fff; background: #007c94; font: 700 .72rem/1 var(--font-body, "Hiragino Sans", "Yu Gothic", sans-serif); letter-spacing: .06em; }
.seikin-news-card-body { display: block; min-height: 194px; padding: 23px 24px 26px; }
.seikin-news-card-date { display: block; margin-bottom: 12px; color: #007c94; font: 700 .82rem/1.4 var(--font-body, "Hiragino Sans", "Yu Gothic", sans-serif); letter-spacing: .06em; }
.seikin-news-card-title { display: block; margin-bottom: 12px; font-size: clamp(1.13rem, 1.5vw, 1.45rem); font-weight: 800; line-height: 1.5; letter-spacing: -.025em; }
.seikin-news-card-summary { display: block; color: #5e777a; font-size: .88rem; line-height: 1.75; }
.seikin-news-card-arrow { display: block; margin-top: 15px; color: #007c94; text-align: right; font-size: 1.4rem; line-height: 1; }
.seikin-news-caption { margin: 19px 0 0; color: #657b7d; font-size: .8rem; line-height: 1.7; }
.seikin-news-more { display: flex; width: fit-content; min-width: 290px; justify-content: space-between; gap: 44px; margin: 34px 0 0 auto; padding: 17px 20px; border: 1px solid #00afcc; color: #006f85; font-size: .85rem; font-weight: 750; text-decoration: none; transition: color .2s, background .2s; }
.seikin-news-more:hover { color: #05262f; background: #00afcc; }
.seikin-news-dialog { width: min(960px, calc(100% - 32px)); max-height: min(90vh, 900px); padding: 0; border: 0; color: #153b40; background: #fff; box-shadow: 0 24px 90px #00181ec2; }
.seikin-news-dialog::backdrop { background: #011d27c9; }
.seikin-news-dialog-image { width: 100%; max-height: 62vh; display: block; object-fit: cover; background: #d9eae7; }
.seikin-news-dialog-content { padding: 26px clamp(25px, 4vw, 48px) 37px; }
.seikin-news-dialog-meta { margin: 0 0 12px; color: #007c94; font: 700 .82rem/1.5 var(--font-body, "Hiragino Sans", "Yu Gothic", sans-serif); letter-spacing: .04em; }
.seikin-news-dialog-content h3 { margin: 0 0 12px; font-family: "Hiragino Sans", "Yu Gothic", "Noto Sans JP", sans-serif; font-size: clamp(1.5rem, 3vw, 2.4rem); font-weight: 500; line-height: 1.5; }
.seikin-news-dialog-content > p:last-child { margin: 0; line-height: 1.8; color: #5e777a; }
.seikin-news-dialog-close { position: absolute; top: 14px; right: 14px; width: 42px; height: 42px; border: 0; color: #fff; background: #083f45dc; font-size: 1.65rem; line-height: 1; cursor: pointer; }
.news-archive-page { background: #edf9fb; }
.news-archive-hero { padding: 170px 0 72px; color: #fff; background: linear-gradient(120deg, #092b35, #007c94); }
.news-archive-hero-inner { width: min(100% - 96px, 1320px); margin: 0 auto; }
.news-archive-hero h1 { margin: 12px 0 18px; font-family: "Hiragino Sans", "Yu Gothic", "Noto Sans JP", sans-serif; font-size: clamp(3rem, 7vw, 7rem); font-weight: 500; letter-spacing: -.015em; }
.news-archive-hero p:last-child { margin: 0; color: #c8e5e3; line-height: 1.8; }
.news-archive-page .seikin-news { padding-top: 70px; }
.news-archive-page .seikin-news-heading h2 { font-size: clamp(2rem, 4vw, 3.5rem); }
.seikin-news-empty { grid-column: 1 / -1; padding: 36px; border: 1px solid #d9e8e6; background: #fff; }
@media (max-width: 900px) {
  .seikin-news-shell, .news-archive-hero-inner { width: min(100% - 48px, 1320px); }
  .seikin-news-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .seikin-news-shell, .news-archive-hero-inner { width: min(100% - 36px, 1320px); }
  .seikin-news-heading { display: block; margin-bottom: 29px; }
  .seikin-news-heading > p { margin-top: 18px; font-size: .9rem; }
  .seikin-news-grid { grid-template-columns: 1fr; gap: 19px; }
  .seikin-news-card-body { min-height: 0; }
  .seikin-news-more { width: 100%; min-width: 0; }
  .news-archive-hero { padding-top: 132px; }
}
