/* Category photography with the original corporate blue and Gothic type. */
.sidebar-banner { display: block; border-radius: 8px; transition: box-shadow .2s; }
.sidebar-banner img { display: block; width: 100%; height: auto; border-radius: 8px; }
.sidebar-banner:hover { box-shadow: 0 6px 20px #0b2d5c30; }
.topic-card { padding: 0; background: #fff; border-radius: 14px; border: 1px solid #dce6ef; }
.topic-card:after { display: none; }
.topic-visual { display: block; position: relative; overflow: hidden; aspect-ratio: 1.95; background: #edf4fa; }
.topic-visual img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.topic-card:hover .topic-visual img { transform: scale(1.035); }
.topic-card:hover { background: #fff; box-shadow: 0 10px 26px #0b2d5c18; }
.topic-visual .topic-number { position: absolute; left: 16px; bottom: 12px; background: #fff; border-radius: 3px; padding: 2px 9px; font-size: 11px; color: #0b2d5c; }
.topic-card-body { padding: 23px 25px 19px; }
.topic-card h3 { margin: 0; font-size: 17px; color: #0b2d5c; }
.topic-card-body>p { font-size: 12px; line-height: 2; color: #656d75; margin-top: 12px; min-height: 48px; }
.topic-bottom { border-top: 1px solid #e2eaf2; padding-top: 12px; margin-top: 18px; }
.category-hero { position: relative; isolation: isolate; background: #edf5fc; overflow: hidden; }
.category-hero-inner { display: flex; align-items: center; justify-content: center; min-height: 160px; }
.category-hero-copy { position: relative; z-index: 1; width: 100%; padding-block: 20px; text-align: center; text-shadow: 0 1px 8px #ffffffb3; }
.category-hero h1 { font-size: 38px; color: #0b2d5c; line-height: 1.7; margin: 0; letter-spacing: .06em; }
.category-hero .archive-description { max-width: 650px; font-size: 13px; color: #344c65; margin-top: 10px; }
.category-visual { position: absolute; z-index: 0; inset: 0; overflow: hidden; }
.category-visual:after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg,#f0f7ff26,#f6faffeb 36%,#f6faffeb 64%,#f0f7ff26); }
.category-visual img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center 20%; }
.category-hero+.home-main .articles-section { padding-top: 55px; }
@media(max-width:800px) {
  .topic-card-body { padding: 21px; }
  .category-hero-inner { min-height: 150px; }
  .category-hero h1 { font-size: 32px; }
  .category-hero-copy { padding-block: 16px; }
  .category-hero .archive-description { font-size: 12px; }
}
@media(max-width:540px) {
  .topic-card { border-radius: 10px; }
  .topic-visual { aspect-ratio: 1.5; }
  .topic-visual .topic-number { left: 10px; bottom: 9px; font-size: 9px; padding: 1px 7px; }
  .topic-card-body { padding: 16px 14px 12px; }
  .topic-card h3 { font-size: 13px; min-height: 44px; }
  .topic-card-body>p { font-size: 10px; min-height: 66px; margin-top: 8px; }
  .topic-bottom { font-size: 9px; margin-top: 12px; padding-top: 9px; }
  .category-hero-inner { min-height: 140px; }
  .category-hero-copy { padding-block: 16px; }
  .category-hero h1 { font-size: 27px; letter-spacing: .025em; }
  .category-hero .archive-description { font-size: 12px; margin-top: 8px; }
  .category-visual img { object-position: center 25%; }
  .category-visual:after { background: linear-gradient(180deg,#f2f8ff73,#f6faffeb 34%,#f6faffeb 70%,#f2f8ff73); }
  .category-hero+.home-main .articles-section { padding-top: 38px; }
}
@media(prefers-reduced-motion:reduce) { .topic-card:hover .topic-visual img { transform: none; } }
