: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-detail-header { padding: 40px 0 32px; border-bottom: 1px solid var(--gray-100); }
.news-detail-header__inner { max-width: 1200px; margin: 0 auto; padding: 0 48px; }
.news-detail-meta { display: flex; align-items: center; gap: 14px; margin-bottom: 16px; }
.news-detail-date { color: var(--text); font-size: 12px; font-weight: 500; letter-spacing: 0.02em; font-family: var(--sans); }
.news-detail-title { font-size: 48px; font-weight: 800; color: var(--text); letter-spacing: -0.02em; line-height: 1.5; font-family: var(--sans-bold); }

.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; }

.page-layout { max-width: 1200px; margin: 0 auto; padding: 56px 48px; }
.page-main { min-width: 0; }

.news-detail-body {
  padding: 40px 0 8px; font-size: 18px; color: var(--text); line-height: 1.9;
  word-break: keep-all; overflow-wrap: break-word; font-family: var(--sans);
}
.news-detail-body p { margin-bottom: 24px; }
.news-detail-body a { color: var(--blue); text-decoration: underline; }
.news-detail-body a:hover { color: var(--blue-dark); }
.news-detail-body h2 { font-size: 24px; font-weight: 700; color: var(--text); font-family: var(--sans-bold); margin: 40px 0 16px; }
.news-detail-body h2:first-child { margin-top: 0; }
.news-detail-body ul { margin: 0 0 24px; padding-left: 1.5em; }
.news-detail-body ul li { margin-bottom: 8px; }

.news-detail-pdf { margin: 8px 0 24px; display: flex; flex-direction: row; flex-wrap: wrap; justify-content: center; gap: 12px; }
.btn-pdf {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--blue); color: #fff;
  padding: 12px 24px; border-radius: 100px;
  font-size: 18px; font-weight: 600; font-family: var(--sans);
  letter-spacing: 0.03em;
  text-decoration: none; transition: background var(--transition);
}
.btn-pdf:hover { background: var(--blue-dark); }
.btn-pdf:active { background: var(--blue-deeper); }

.news-detail-footer { padding: 32px 0 56px; text-align: center; border-top: 1px solid var(--gray-100); margin-top: 16px; }
.btn-primary {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--blue); color: #fff;
  padding: 12px 24px; font-size: 18px; font-weight: 600;
  border-radius: 100px; font-family: var(--sans);
  letter-spacing: 0.03em; transition: background var(--transition);
}
.btn-primary:hover { background: var(--blue-dark); }
.btn-primary:active { background: var(--blue-deeper); }

@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; }
  .news-detail-header { padding: 28px 0 24px; }
  .news-detail-header__inner { padding: 0 20px; }
  .news-detail-title { font-size: 28px; }
  .news-detail-date { font-size: 10px; }
  .news-detail-body { padding: 28px 0 8px; font-size: 12px; }
  .news-detail-body h2 { font-size: 18px; margin: 24px 0 12px; }
  .news-tag { font-size: 10px; }
  .btn-pdf { font-size: 16px; }
  .btn-primary { font-size: 16px; }
}
