/* /assets/css/news.css — お知らせ一覧 & 詳細 */

/* ===== Hero ===== */
.news-hero {
  padding: 80px 0 60px;
  background: linear-gradient(135deg, #0b2447 0%, #1e3a8a 100%);
  color: #fff;
  text-align: center;
}
.news-hero .container { max-width: 1100px; margin: 0 auto; padding: 0 24px; }
.news-hero .hero-pill {
  display: inline-block;
  padding: 6px 14px;
  background: rgba(255,255,255,.15);
  border: 1px solid rgba(255,255,255,.55);
  border-radius: 999px;
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  margin-bottom: 18px;
}
.news-hero .hero-title {
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 800;
  line-height: 1.3;
  color: #fff;
  margin: 0 0 16px;
}
.news-hero .hero-title .accent {
  background: linear-gradient(90deg,#93c5fd,#c7d2fe);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.news-hero .hero-lead {
  max-width: 720px;
  margin: 0 auto;
  font-size: 16px;
  line-height: 1.9;
  color: #e2e8f0;
}

/* ===== Filter ===== */
.filter-section {
  padding: 28px 0 8px;
  border-bottom: 1px solid #e7eaf0;
  background: #fafbfd;
}
.filter-section .container { max-width: 1100px; margin: 0 auto; padding: 0 24px; }
.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 16px 28px;
  align-items: end;
}
.filter-group { display: flex; flex-direction: column; gap: 6px; min-width: 200px; }
.filter-label { font-size: 12px; color: #6e6e73; font-weight: 600; }
.filter-select { position: relative; }
.filter-select-btn {
  display: flex; align-items: center; justify-content: space-between;
  width: 100%;
  padding: 10px 14px;
  background: #fff;
  border: 1px solid #d6dae3;
  border-radius: 10px;
  font-size: 14px;
  color: #0f2447;
  cursor: pointer;
  transition: border-color .15s, box-shadow .15s;
}
.filter-select-btn:hover { border-color: #95a5c8; }
.filter-select-btn.is-open { border-color: #19376d; box-shadow: 0 0 0 3px rgba(25,55,109,.12); }
.filter-select-btn .count {
  display: inline-block;
  margin-right: 8px;
  padding: 1px 7px;
  border-radius: 999px;
  background: #19376d;
  color: #fff;
  font-size: 11px;
  font-weight: 700;
}
.filter-select-btn .arrow {
  width: 0; height: 0;
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  border-top: 6px solid #6e6e73;
  margin-left: 8px;
  transition: transform .15s;
}
.filter-select-btn.is-open .arrow { transform: rotate(180deg); }
.filter-dropdown {
  position: absolute;
  top: calc(100% + 4px);
  left: 0; right: 0;
  background: #fff;
  border: 1px solid #d6dae3;
  border-radius: 10px;
  box-shadow: 0 10px 28px rgba(15,36,71,.12);
  padding: 6px;
  max-height: 280px;
  overflow-y: auto;
  z-index: 20;
  display: none;
}
.filter-dropdown.is-open { display: block; }
.filter-option {
  display: flex; align-items: center; gap: 10px;
  padding: 9px 12px;
  border-radius: 6px;
  cursor: pointer;
  font-size: 14px;
  color: #0f2447;
}
.filter-option:hover { background: #f4f6fb; }
.filter-option input { accent-color: #19376d; }
.filter-clear {
  margin-left: auto;
  padding: 10px 18px;
  background: transparent;
  border: 1px solid #d6dae3;
  border-radius: 10px;
  font-size: 13px;
  color: #6e6e73;
  cursor: pointer;
  transition: all .15s;
}
.filter-clear:hover { background: #fff; color: #0f2447; border-color: #95a5c8; }

/* ===== Result summary ===== */
.result-summary {
  padding: 20px 24px 0;
  max-width: 1100px;
  margin: 0 auto;
  font-size: 13px;
  color: #6e6e73;
}
.result-summary strong { color: #0f2447; }

/* ===== News list ===== */
.news-list-section { padding: 16px 0 64px; }
.news-list-section .container { max-width: 1100px; margin: 0 auto; padding: 0 24px; }
.news-list { list-style: none; padding: 0; margin: 0; border-top: 1px solid #e7eaf0; }
.news-item {
  display: grid;
  grid-template-columns: 120px 110px 1fr;
  gap: 20px;
  padding: 22px 8px;
  border-bottom: 1px solid #e7eaf0;
  text-decoration: none;
  color: #0f2447;
  transition: background .15s;
  align-items: start;
}
.news-item:hover { background: #fafbfd; }
.news-item-date {
  font-size: 14px;
  color: #6e6e73;
  font-weight: 500;
  font-variant-numeric: tabular-nums;
  padding-top: 2px;
}
.news-item-cat {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .04em;
  text-align: center;
  align-self: start;
  white-space: nowrap;
}
.news-item-cat.cat-プロダクト { background:#e9f2ff; color:#1d4ed8; }
.news-item-cat.cat-サービス   { background:#fff1e6; color:#c2410c; }
.news-item-cat.cat-ソリューション { background:#f0f9e8; color:#3f6212; }
.news-item-cat.cat-事例       { background:#fef2f4; color:#be123c; }
.news-item-cat.cat-イベント   { background:#f3e8ff; color:#6b21a8; }
.news-item-cat.cat-コーポレート { background:#eef2f6; color:#374151; }
.news-item-title {
  font-size: 16px;
  font-weight: 600;
  line-height: 1.6;
  margin: 0;
  color: #0f2447;
  transition: color .15s;
}
.news-item:hover .news-item-title { color: #19376d; }

/* ===== Empty / load more ===== */
.no-results { padding: 48px 24px; text-align: center; color: #6e6e73; }
.load-more-wrap { padding: 32px 0; text-align: center; }
.load-more {
  padding: 12px 40px;
  background: #19376d;
  color: #fff;
  border: 0;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: background .15s, transform .15s;
}
.load-more:hover { background: #0b2447; transform: translateY(-1px); }
.load-more[hidden] { display: none; }

/* ===== Detail page ===== */
.breadcrumb { padding: 20px 0 0; background: #fff; font-size: 12px; }
.breadcrumb .container { max-width: 880px; margin: 0 auto; padding: 0 24px; }
.breadcrumb ol { list-style:none; display:flex; gap:8px; padding:0; margin:0; flex-wrap:wrap; color:#6e6e73; }
.breadcrumb li:not(:last-child)::after { content:"›"; margin-left:8px; color:#9ca3af; }
.breadcrumb a { color:#6e6e73; text-decoration:none; }
.breadcrumb a:hover { color:#0f2447; text-decoration:underline; }
.breadcrumb [aria-current="page"]{ color:#0f2447; }

.news-article { padding: 40px 0 80px; background:#fff; }
.news-article .container { max-width: 880px; margin: 0 auto; padding: 0 24px; }
.news-article-header { margin-bottom: 32px; padding-bottom: 24px; border-bottom: 1px solid #e7eaf0; }
.news-article-meta {
  display: flex; gap: 12px; align-items: center; margin-bottom: 14px;
  font-size: 13px; color: #6e6e73; flex-wrap: wrap;
}
.news-article-title {
  font-size: clamp(22px, 3vw, 32px);
  font-weight: 800;
  line-height: 1.5;
  margin: 0;
  color: #0f2447;
}
.news-article-body { font-size: 15px; line-height: 1.95; color: #1a2a44; }
.news-article-body h2 { font-size: 22px; font-weight: 700; margin: 40px 0 14px; padding-bottom: 8px; border-bottom: 2px solid #19376d; color:#0f2447; }
.news-article-body h3 { font-size: 18px; font-weight: 700; margin: 28px 0 10px; color: #19376d; }
.news-article-body p { margin: 0 0 18px; }
.news-article-body a { color: #19376d; text-decoration: underline; }
.news-article-body a:hover { color: #0b2447; }
.news-article-body ul, .news-article-body ol { padding-left: 24px; margin: 0 0 18px; }
.news-article-body li { margin-bottom: 6px; }
.news-article-body img { max-width: 100%; height: auto; border-radius: 8px; margin: 16px 0; }

.news-article-back {
  display: inline-flex; align-items: center; gap: 6px;
  margin-top: 40px; padding: 10px 20px;
  background: #fff; border: 1px solid #d6dae3; border-radius: 999px;
  color: #0f2447; text-decoration: none; font-size: 14px; font-weight: 600;
  transition: all .15s;
}
.news-article-back:hover { background: #19376d; color: #fff; border-color: #19376d; }

/* ===== Responsive ===== */
@media (max-width: 720px) {
  .news-item { grid-template-columns: 90px 90px 1fr; gap: 12px; padding: 16px 4px; }
  .news-item-date { font-size: 13px; }
  .news-item-cat { font-size: 10px; padding: 2px 8px; }
  .news-item-title { font-size: 14px; }
  .filter-group { min-width: 100%; }
  .filter-clear { width: 100%; margin-left: 0; }
}
