:root {
  --blue:         #005AAB;
  --blue-dark:    #368AD5;
  --blue-deeper:  #003F78;
  --blue-vivid:   #0A70E3;
  --blue-light:   #EBF4FC;
  --white:        #ffffff;
  --off-white:    #F9F9F8;
  --gray-100:     #D0D0D9;
  --gray-200:     #9EAAB1;
  --gray-400:     #656568;
  --gray-600:     #5F6368;
  --text:         #191A1C;
  --sans:         "Gen Interface JP", Helvetica, "Hiragino Sans", "Noto Sans JP", sans-serif;
  --sans-bold:    "Gen Interface JP-Bold", Helvetica, "Hiragino Sans", "Noto Sans JP", sans-serif;
  --transition:   0.18s ease;
}

@font-face { font-family: "Gen Interface JP"; src: url("/fonts/gen-interface-jp/GenInterfaceJP-Regular.woff2") format("woff2"), local("Gen Interface JP"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Gen Interface JP-Bold"; src: url("/fonts/gen-interface-jp/GenInterfaceJP-Bold.woff2") format("woff2"), local("Gen Interface JP-Bold"); font-weight: 700; font-display: swap; }

*, *::before, *::after { box-sizing: border-box; }
body { font-family: var(--sans); font-size: 18px; line-height: 1.8; color: var(--text); background: var(--white); -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
html, body { margin: 0; padding: 0; }
a { text-decoration: none; color: inherit; }

.breadcrumb { background: transparent; border-bottom: none; padding: 0; }
.breadcrumb__inner {
  max-width: 1200px; margin: 0 auto; padding: 12px 48px;
  display: flex; align-items: center; gap: 8px;
  font-size: 12px; color: var(--gray-600);
}
.breadcrumb a { color: var(--blue); text-decoration: underline; transition: color var(--transition); }
.breadcrumb a:hover { color: var(--blue-dark); }
.breadcrumb__sep { color: var(--gray-400); font-size: 11px; }
.breadcrumb__cur { color: var(--text); font-weight: 500; }

.news-page-bg { background: var(--white); padding-bottom: 48px; }
.news-page-header { padding: 48px 0 40px; }
.news-page-header__inner { max-width: 1200px; margin: 0 auto; padding: 0 48px; }
.news-page-header__title { font-size: 48px; font-weight: 800; color: var(--text); letter-spacing: -0.02em; font-family: var(--sans-bold); }

.page-layout { max-width: 1200px; margin: 0 auto; padding: 56px 48px; }
.page-main { min-width: 0; }
.page-main > .news-filter { margin-top: 120px; }
.page-main > :first-child { margin-top: 0 !important; }

.news-filter { display: flex; flex-wrap: nowrap; gap: 12px; border: none; margin-bottom: 32px; overflow: visible; }
.news-filter-btn {
  flex: 1; display: block; padding: 16px 12px; text-align: center;
  font-size: 18px; font-weight: 600; letter-spacing: 0; font-family: var(--sans);
  border-radius: 16px; border: 1px solid var(--gray-200);
  background: var(--blue-light); color: var(--blue);
  cursor: pointer; transition: background var(--transition), color var(--transition);
  line-height: 1.4;
}
.news-filter-btn:hover, .news-filter-btn.active { background: var(--blue); color: #fff; border-color: var(--blue-vivid); }
.news-filter-btn:hover[data-filter="important"], .news-filter-btn.active[data-filter="important"] { background: #C62828; }
.news-filter-btn:hover[data-filter="info"], .news-filter-btn.active[data-filter="info"] { background: #656568; }
.news-filter-btn:hover[data-filter="service"], .news-filter-btn.active[data-filter="service"] { background: #1E7E34; }
.news-filter-btn:hover[data-filter="event"], .news-filter-btn.active[data-filter="event"] { background: #005AAB; }

.news-list-section { background: var(--white); border-radius: 12px; padding: 4px 32px; box-shadow: 0 1px 4px rgba(0, 40, 80, 0.08); }
.news-list { list-style: none; display: flex; flex-direction: column; gap: 16px; margin: 0; padding: 16px 0; }
.news-list-section .news-item { display: none; }
.news-list-section .news-item.show { display: flex; }
.news-item {
  display: flex; align-items: center; flex-wrap: wrap;
  column-gap: 16px; row-gap: 8px;
  padding: 24px 64px 24px 24px;
  border: 1px solid var(--gray-200); border-radius: 16px;
  font-size: 18px; position: relative;
  transition: border-color var(--transition), box-shadow var(--transition);
}
.news-item:hover { border-color: var(--blue-vivid); box-shadow: 0 4px 16px rgba(10, 112, 227, 0.10); }
.news-item::after {
  content: "\f054"; font-family: "Font Awesome 6 Free"; font-weight: 900;
  position: absolute; right: 20px; top: 50%; transform: translateY(-50%);
  width: 28px; height: 28px; border-radius: 50%;
  border: 1.5px solid var(--blue); color: var(--blue);
  display: flex; align-items: center; justify-content: center;
  font-size: 12px; transition: background-color var(--transition), color var(--transition), border-color var(--transition);
}
.news-item:hover::after { background-color: var(--blue); border-color: var(--blue); color: #fff; }

.news-item .news-title { order: 1; flex: 1 0 100%; width: 100%; font-size: 18px; font-weight: 400; color: var(--text); line-height: 1.5; font-family: var(--sans); }
.news-item .news-title::before { content: ""; position: absolute; inset: 0; }
.news-item .news-tag { order: 2; }
.news-item .news-date { order: 3; }

.news-date { color: var(--text); font-size: 12px; font-weight: 500; letter-spacing: 0.02em; white-space: nowrap; font-family: var(--sans); }
.news-tag {
  display: inline-block; width: 72px; padding: 4px 0; font-size: 12px; font-weight: 700;
  white-space: nowrap; letter-spacing: 0.03em; border-radius: 4px; text-align: center;
  font-family: var(--sans);
}
.tag-important { background: #C62828; color: #fff; }
.tag-info { background: #656568; color: #fff; }
.tag-service { background: #1E7E34; color: #fff; }
.tag-event { background: #005AAB; color: #fff; }
.news-title { color: var(--text); line-height: 1.6; transition: color var(--transition); }
.news-title:hover { color: var(--blue-vivid); }
.news-empty { padding: 48px 0; text-align: center; color: var(--text); font-size: 18px; display: none; }
.news-empty.show { display: block; }

.news-pagination { display: flex; align-items: center; justify-content: center; gap: 8px; margin-top: 32px; }
.news-page-btn {
  min-width: 40px; height: 40px; padding: 0 8px;
  display: flex; align-items: center; justify-content: center;
  border: 1px solid var(--gray-200); border-radius: 8px;
  background: var(--white); color: var(--text);
  font-size: 18px; font-weight: 600; cursor: pointer;
  transition: background var(--transition), border-color var(--transition), color var(--transition);
}
.news-page-btn:hover:not(:disabled) { border-color: var(--blue); color: var(--blue); }
.news-page-btn.active { background: var(--blue); border-color: var(--blue); color: #fff; }
.news-page-btn:disabled { opacity: 0.35; cursor: default; }

@media (max-width: 768px) {
  .breadcrumb__inner { padding: 10px 20px; font-size: 10px; flex-wrap: wrap; }
  .page-layout { max-width: 100%; margin: 0; padding: 32px 20px; }
  .page-main > .news-filter { margin-top: 48px; }
  .news-page-header { padding: 32px 0 28px; }
  .news-page-header__inner { padding: 0 20px; }
  .news-page-header__title { font-size: 28px; }
  .news-filter { flex-direction: column; }
  .news-list-section { padding: 4px 20px; }
  .news-item { padding: 14px 56px 14px 16px; border-radius: 12px; }
  .news-item .news-title { font-size: 12px; }
  .news-item .news-date { font-size: 10px; }
  .news-filter-btn { font-size: 16px; padding: 10px 12px; }
  .news-item { font-size: 12px; }
  .news-tag { font-size: 10px; }
  .news-empty { font-size: 12px; }
  .news-page-btn { font-size: 16px; }
}