@charset "UTF-8";
@import url("https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@400;500;700;900&display=swap");
:root {
  --color-background: #f8f6f4;
  --color-surface: #ffffff;
  --color-surface-muted: #f0ece9;
  --color-text-primary: #171411;
  --color-text-secondary: #8a8989;
  --color-text-inverse: #ffffff;
  --color-brand-red: #cf2e2e;
  --color-brand-red-hover: #b02525;
  --color-brand-red-light: rgba(207, 46, 46, 0.08);
  --color-brand-dark: #171411;
  --color-border-strong: #cf2e2e;
  --color-border-soft: #d9cfc9;
  --color-border-muted: rgba(150, 133, 124, 0.35);
  --color-badge-outline-border: #171411;
  --shadow-soft: 0 18px 36px rgba(23, 20, 17, 0.08);
  --font-family-base:
    "Noto Sans JP", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --transition-fast: 0.15s ease;
  --transition-normal: 0.2s ease;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: var(--font-family-base);
  background: var(--color-background);
  color: var(--color-text-primary);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--color-brand-red);
  text-decoration: none;
  transition: color var(--transition-fast), opacity var(--transition-fast);
  cursor: pointer;
}
a:hover {
  text-decoration: underline;
  opacity: 0.85;
}
a:active {
  opacity: 0.7;
}

img {
  max-width: 100%;
  display: block;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.container {
  width: min(1200px, 93%);
  margin: 0 auto;
  padding: 48px 0;
}

.global-header {
  background: #377ac2;
  padding: 16px 0 20px;
  position: relative;
  box-shadow: 0 6px 18px rgba(23, 20, 17, 0.12);
}
.global-header__inner {
  width: min(1200px, 93%);
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}
.global-header__branding {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}
.global-header__logo {
  width: 195px;
  height: auto;
  -o-object-fit: contain;
     object-fit: contain;
}
.global-header__title {
  margin: 6px 0 0;
  display: flex;
  align-items: flex-start;
  gap: 10px;
}
.global-header__title img {
  height: 46px;
}
.global-header__title span {
  display: flex;
  align-items: center;
  color: var(--color-text-inverse);
  font-size: 30px;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-shadow: 1px 1px 0 var(--color-text-secondary);
}
.global-header__title span ruby {
  ruby-align: center;
}
.global-header__title span rt {
  font-size: 14px;
  font-weight: 400;
}
.global-header__search {
  display: flex;
  align-items: center;
  background: var(--color-surface);
  border-radius: 999px;
  height: 50px;
  padding: 0 12px 0 24px;
  box-shadow: inset 0 0 0 1px rgba(23, 20, 17, 0.08);
  min-width: 280px;
}
.global-header__search input {
  flex: 1;
  border: none;
  background: transparent;
  font-family: inherit;
  font-size: 16px;
  color: var(--color-text-secondary);
  outline: none;
}
.global-header__search input::-moz-placeholder {
  color: var(--color-text-secondary);
}
.global-header__search input::placeholder {
  color: var(--color-text-secondary);
}
.global-header__search button[type=submit] {
  border: none;
  background: transparent;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  padding: 0;
  color: var(--color-text-primary);
  cursor: pointer;
}
.global-header__search button[type=submit]:hover {
  background: transparent;
  transform: scale(1.05);
  box-shadow: none;
}
.global-header__search button[type=submit]:active {
  transform: scale(0.98);
  background: transparent;
  box-shadow: none;
}

.back-link {
  margin-bottom: 24px;
  font-size: 14px;
  color: var(--color-text-secondary);
  padding: 6px 0;
  margin-bottom: 0;
}
.back-link a {
  text-decoration: underline;
}
.back-link a:hover {
  text-decoration: none;
}

.board__heading {
  margin-bottom: 28px;
}
.board__heading h1 {
  margin: 0;
  font-size: 24px;
  font-weight: 700;
  letter-spacing: 0.08em;
}
.board-empty {
  padding: 32px;
  text-align: center;
  color: var(--color-text-secondary);
  font-weight: 500;
  border-radius: 12px;
  background: var(--color-surface-muted);
}
.board-pagination {
  margin-top: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  font-size: 14px;
  font-weight: 700;
  color: var(--color-brand-red);
}
.board-pagination__nav {
  color: var(--color-brand-red);
  text-decoration: none;
  padding: 8px 16px;
  border-radius: 8px;
  transition: background var(--transition-fast), transform var(--transition-fast);
}
.board-pagination__nav:hover {
  background: var(--color-brand-red-light);
  text-decoration: none;
  transform: translateY(-1px);
}
.board-pagination__nav:active {
  transform: translateY(0);
}
.board-pagination__nav[aria-disabled=true] {
  opacity: 0.4;
  pointer-events: none;
}
.board-pagination__pages {
  display: flex;
  gap: 8px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.board-pagination__page {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 36px;
  height: 36px;
  padding: 4px 12px;
  border-radius: 999px;
  color: var(--color-brand-red);
  text-decoration: none;
  background: transparent;
  transition: background var(--transition-fast), color var(--transition-fast), transform var(--transition-fast);
}
.board-pagination__page:hover, .board-pagination__page:focus {
  background: var(--color-brand-red-light);
  text-decoration: none;
  transform: translateY(-1px);
}
.board-pagination__page:active {
  transform: translateY(0);
}
.board-pagination__page--current {
  background: var(--color-brand-red);
  color: var(--color-text-inverse);
}
.board-pagination__page--current:hover {
  background: var(--color-brand-red-hover);
  transform: none;
}

.board-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--color-surface);
  border-radius: 12px;
  overflow: hidden;
  table-layout: fixed;
}
.board-table thead {
  background: var(--color-surface-muted);
  font-size: 13px;
  font-weight: 700;
  color: var(--color-text-secondary);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.board-table th,
.board-table td {
  padding: 16px;
  text-align: left;
  vertical-align: middle;
  border-bottom: 1px solid var(--color-border-muted);
}
.board-table th.title,
.board-table td.title {
  width: 45%;
}
.board-table tbody tr:last-child td {
  border-bottom: none;
}
.board-table tbody td {
  font-size: 15px;
  font-weight: 500;
  color: var(--color-text-primary);
}
.board-table__date {
  width: 10%;
}
.board-table__type {
  width: 10%;
}
.board-table__classification {
  width: 10%;
}
.board-table__department {
  width: 25%;
}
.board-table__title {
  font-size: 16px;
  font-weight: 700;
  color: var(--color-text-primary);
  text-decoration: underline;
  transition: color var(--transition-fast);
}
.board-table__title:hover, .board-table__title:focus {
  color: var(--color-brand-red);
  text-decoration: underline;
}
.board-table__title.is-read {
  color: var(--color-text-secondary);
  font-weight: 500;
  text-decoration: none;
}
.board-table__title.is-read:hover, .board-table__title.is-read:focus {
  color: var(--color-brand-red);
  text-decoration: underline;
}

.badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 72px;
  height: 24px;
  padding: 0 4px;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
}
.badge--outlined {
  border: 1px solid var(--color-badge-outline-border);
  background: var(--color-text-inverse);
  color: var(--color-text-primary);
}
.badge--dark {
  background: var(--color-brand-dark);
  color: var(--color-text-inverse);
}
.badge--alert {
  background: var(--color-brand-red);
  color: var(--color-text-inverse);
}
.badge--color-blue {
  background: #0081c8;
  color: var(--color-text-inverse);
}
.badge--color-yellow {
  background: #ffc72c;
  color: #171411;
}
.badge--color-black {
  background: #000000;
  color: var(--color-text-inverse);
}
.badge--color-green {
  background: #00a651;
  color: var(--color-text-inverse);
}
.badge--color-red {
  background: #ee334e;
  color: var(--color-text-inverse);
}

.badge--new {
  background: var(--color-brand-red);
  color: var(--color-text-inverse);
  margin-top: 4px;
}

.type-tabs {
  display: grid;
  grid-template-columns: repeat(7, minmax(100px, 1fr));
  width: min(1000px, 93%);
  margin: 24px auto 0;
  gap: 16px;
  padding: 0;
}

.type-tab {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  text-decoration: none;
  padding: 16px;
  color: var(--color-text-inverse);
  background: var(--color-brand-red);
  border-radius: 6px;
}

.board-search {
  background: var(--color-surface);
  padding: 20px;
  border-radius: 12px;
  margin-bottom: 24px;
  border: 1px solid var(--color-border-soft);
}

.board-search__fields {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
  align-items: end;
}

.board-search__field label {
  display: block;
  margin-bottom: 8px;
  font-weight: 500;
  font-size: 0.875rem;
}
.board-search__field input,
.board-search__field select {
  width: 100%;
  padding: 8px 12px;
  border: 1px solid var(--color-border-soft);
  border-radius: 6px;
  font-size: 0.875rem;
  font-family: inherit;
}

.button-secondary, .button,
button[type=submit] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 20px;
  min-height: 44px;
  border-radius: 8px;
  border: 2px solid transparent;
  cursor: pointer;
  font-size: 15px;
  font-weight: 700;
  font-family: inherit;
  text-decoration: none;
  letter-spacing: 0.02em;
  transition: background var(--transition-normal), border-color var(--transition-normal), transform var(--transition-fast), box-shadow var(--transition-fast);
}
.button-secondary:hover, .button:hover,
button[type=submit]:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  text-decoration: none;
}
.button-secondary:active, .button:active,
button[type=submit]:active {
  transform: translateY(0);
  box-shadow: none;
}

.button,
button[type=submit] {
  background: var(--color-brand-red);
  color: var(--color-text-inverse);
  border-color: var(--color-brand-red);
}
.button:hover,
button[type=submit]:hover {
  background: var(--color-brand-red-hover);
  border-color: var(--color-brand-red-hover);
}

.button-secondary {
  background: var(--color-surface);
  color: var(--color-brand-red);
  border-color: var(--color-brand-red);
}
.button-secondary:hover {
  background: var(--color-brand-red-light);
}

.board-search__actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.board-search__actions .button,
.board-search__actions .button-secondary,
.board-search__actions button[type=submit] {
  min-width: 100px;
}

.post-full {
  background: var(--color-surface);
  padding: 32px;
  border-radius: 16px;
  border: 1px solid rgba(23, 20, 17, 0.08);
  box-shadow: var(--shadow-soft);
}
.post-full header {
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--color-border-muted);
}
.post-full header h1 {
  margin: 0 0 12px;
  font-size: 28px;
  font-weight: 700;
  color: var(--color-text-primary);
}

.meta {
  font-size: 0.875rem;
  color: var(--color-text-secondary);
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}
.meta span {
  display: inline-block;
}

.content {
  background: var(--color-surface);
  padding: 24px 0;
  font-size: 15px;
  line-height: 1.8;
  color: var(--color-text-primary);
}

.attachments {
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid var(--color-border-muted);
}
.attachments h2 {
  margin: 0 0 16px;
  font-size: 18px;
  font-weight: 700;
  color: var(--color-text-primary);
}
.attachments ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.attachments li {
  margin-bottom: 12px;
}
.attachments li:last-child {
  margin-bottom: 0;
}
.attachments a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: var(--color-surface-muted);
  border: 1px solid var(--color-border-soft);
  border-radius: 8px;
  color: var(--color-brand-red);
  font-weight: 600;
  font-size: 14px;
  transition: background var(--transition-fast), border-color var(--transition-fast), transform var(--transition-fast);
}
.attachments a:hover {
  background: var(--color-brand-red);
  color: var(--color-text-inverse);
  border-color: var(--color-brand-red);
  transform: translateY(-1px);
  text-decoration: none;
}
.attachments a:active {
  transform: translateY(0);
}
.attachments a::before {
  content: "📄";
  font-size: 16px;
}

.badge--pinned {
  display: inline-block;
  padding: 2px 8px;
  background: var(--color-brand-red);
  border-radius: 4px;
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--color-text-inverse);
}

.badge--type {
  background: #6b7280;
  color: var(--color-text-inverse);
  font-size: 12px;
  padding: 4px 10px;
  white-space: nowrap;
}
.badge--type-announcement {
  background: #ef4444;
}
.badge--type-regulation {
  background: #3b82f6;
}
.badge--type-manual {
  background: #8b5cf6;
}
.badge--type-policy {
  background: #f59e0b;
}
.badge--type-hr {
  background: #10b981;
}
.badge--type-department {
  background: #06b6d4;
}
.badge--type-event {
  background: #ec4899;
}
.badge--type-directory {
  background: #6366f1;
}

.search-result-info {
  margin: 8px 0 0;
  font-size: 14px;
  color: var(--color-text-secondary);
}

.board-table--search th.title,
.board-table--search td.title {
  width: 40%;
}

.global-header__title-link {
  text-decoration: none;
  color: inherit;
  transition: opacity var(--transition-fast);
}
.global-header__title-link:hover {
  text-decoration: none;
}
.global-header__title-link:hover .global-header__title {
  opacity: 0.8;
}

.public-tree .public-tree-children {
  margin-bottom: 0.5rem;
  padding-left: 1.5rem;
}
.public-tree .public-tree-accordion {
  margin: 2rem 0 0;
}
.public-tree .public-tree-accordion:first-child {
  margin-top: 0;
}
.public-tree .public-tree-accordion > summary {
  list-style: none;
  cursor: pointer;
  font-size: 1.5rem;
  font-weight: 700;
  padding: 0.35rem 0 0.35rem 0.5rem;
  background: var(--color-brand-red);
  color: var(--color-text-inverse);
  -webkit-user-select: none;
     -moz-user-select: none;
          user-select: none;
}
.public-tree .public-tree-accordion > summary::-webkit-details-marker {
  display: none;
}
.public-tree .public-tree-accordion > summary::before {
  content: "▶";
  display: inline-block;
  margin-right: 0.35rem;
  font-size: 0.85em;
  transition: transform 0.2s ease;
}
.public-tree .public-tree-accordion[open] > summary::before {
  transform: rotate(90deg);
}
.public-tree .public-tree-accordion > .public-tree-children {
  padding-top: 0.5rem;
}
.public-tree .public-tree-heading--level-1 {
  font-size: 1.5rem;
  font-weight: 700;
  margin: 2rem 0 0.5rem;
  padding-left: 0;
  color: var(--color-brand-dark);
  padding: 0.35rem 0 0.35rem 0.5rem;
  background: var(--color-brand-red);
  color: var(--color-text-inverse);
}
.public-tree .public-tree-heading--level-1:first-child {
  margin-top: 0;
}
.public-tree .public-tree-heading--level-2 {
  font-size: 1.3rem;
  font-weight: 600;
  margin: 1.5rem 0 0.35rem;
  color: var(--color-text-primary);
  border-left: 10px solid var(--color-brand-red);
  border-bottom: 2px solid var(--color-brand-red);
  padding-left: 0.5rem;
}
.public-tree .public-tree-heading--level-3 {
  font-size: 1.1rem;
  font-weight: 600;
  margin: 1.5rem 0 0.25rem;
  color: var(--color-text-primary);
  border-bottom: 1px solid var(--color-brand-red);
}
.public-tree .public-tree-item {
  margin: 0.25rem 0;
}
.public-tree .public-tree-item::before {
  content: "・";
  color: var(--color-text-primary);
  margin-right: 0.25rem;
}
.public-tree .public-tree-item a {
  text-decoration: underline;
}
.public-tree .public-tree-item a:hover {
  text-decoration: none;
}/*# sourceMappingURL=style.css.map */