.report-list {
  display: grid;
  gap: 20px;
}

.report-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 240px;
  gap: 24px;
  align-items: start;
  background: #ffffff;
  border-radius: 18px;
  border: 1px solid #e8f1fb;
  box-shadow: 0 12px 30px rgba(11, 102, 195, 0.08);
  padding: 22px;
}

.report-card-thumb-link {
  display: block;
  overflow: hidden;
  border-radius: 16px;
  width: 100%;
  max-width: 240px;
  justify-self: end;
}

.report-card-thumb {
  display: block;
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: 16px;
}

.report-card-content {
  display: grid;
  gap: 12px;
}

.report-status {
  font-weight: 700;
}

.status-done,
.status-realized {
  background: #f7ead0;
  color: #7a4b00;
  border: 1px solid #ecd8a4;
}

.status-research {
  background: #dbeafe;
  color: #1d4ed8;
  border: 1px solid #bfdbfe;
}

.status-inquiry {
  background: #fef3c7;
  color: #92400e;
  border: 1px solid #fde68a;
}

.status-request {
  background: #ffedd5;
  color: #c2410c;
  border: 1px solid #fed7aa;
}

.status-record {
  background: #eef1f5;
  color: #4a5568;
  border: 1px solid #d8dee4;
}

.status-info,
.status-announcement {
  background: #e6f0fb;
  color: #145ea8;
  border: 1px solid #c7d9ed;
}

.report-category,
.report-subcategory {
  background: transparent;
  border: none;
  color: #345b7c;
  font-weight: 500;
  padding: 0;
}

.report-subcategory {
  background: transparent;
  color: #6b7a90;
  border: none;
  padding: 0;
  font-weight: 500;
}

.report-card-footer {
  margin-top: 8px;
}

.report-date {
  display: block;
  color: #7a9fcf;
  font-size: 0.92rem;
}

.report-title {
  margin: 0;
  font-size: 1.45rem;
  line-height: 1.3;
}

.report-title a {
  color: #0b66c3;
  text-decoration: none;
}

.report-title a:hover {
  text-decoration: underline;
}

.report-excerpt,
.report-body {
  color: #2c3a59;
  line-height: 1.8;
  margin: 0;
}

.report-excerpt {
  min-height: 4.5em;
}

.report-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #0b66c3;
  font-weight: 600;
  text-decoration: none;
}

.report-link:hover {
  text-decoration: underline;
}

.report-detail-page {
  padding-bottom: 60px;
  padding-top: 56px;
}

.report-detail-card {
  background: #ffffff;
  border-radius: 18px;
  border: 1px solid #e8f1fb;
  box-shadow: 0 12px 30px rgba(11, 102, 195, 0.08);
  padding: 28px;
  display: grid;
  gap: 22px;
  max-width: 880px;
  margin-left: auto;
  margin-right: auto;
}

.report-detail-title {
  margin: 0;
  font-size: 2rem;
  color: #0b66c3;
}

.report-detail-image {
  display: block;
  width: 100%;
  max-width: 700px;
  height: auto;
  margin: 0 auto;
  border-radius: 16px;
  border: 1px solid #e8f1fb;
  box-shadow: 0 12px 30px rgba(11, 102, 195, 0.08);
}

.report-nav {
  display: flex;
  gap: 12px;
  justify-content: center;
  margin-top: 22px;
  flex-wrap: wrap;
}

.report-nav-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 16px;
  border-radius: 12px;
  background: #0b66c3;
  color: #ffffff;
  text-decoration: none;
  border: 1px solid transparent;
  font-weight: 600;
}

.report-nav-btn.btn-secondary {
  background: #eef4fb;
  color: #0b66c3;
  border-color: #d7e9fb;
}

.report-nav-btn.disabled,
.report-nav-btn[disabled] {
  background: #f1f5f8;
  color: #94a3b8;
  pointer-events: none;
  opacity: 0.95;
}

.report-actions {
  margin-top: 8px;
}

.report-error {
  background: #fff4f4;
  color: #c0392b;
  padding: 18px;
  border-radius: 16px;
  border: 1px solid #f1c0c0;
}

.pager {
  display: flex;
  justify-content: center;
  margin-top: 56px;
  margin-bottom: 64px;
}

.pager ul {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.pager-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  padding: 10px 14px;
  border-radius: 12px;
  background: #eef4fb;
  color: #0b66c3;
  text-decoration: none;
  border: 1px solid transparent;
}

.pager-link:hover {
  background: #e2efff;
}

.pager-link.active {
  background: #0b66c3;
  color: #ffffff;
  border-color: #0b66c3;
}

.empty-state {
  color: #64748b;
  text-align: center;
  padding: 28px 0;
}

.pager-link.disabled {
  opacity: 0.45;
  pointer-events: none;
  cursor: default;
}

.page-top {
  padding: 96px 0 80px;
}

.page-top .container {
  max-width: 1100px;
  margin: 0 auto;
}

.page-top .section-header,
.page-top .page-description {
  text-align: left;
}

.report-page-header p {
  font-size: 1.2rem;
  line-height: 1.9;
  color: #6b7a90;
  max-width: 820px;
  margin: 0 auto;
}

.bg-light {
  padding: 80px 0 96px;
}

.bg-light .container {
  max-width: 1100px;
  margin: 0 auto;
}

.newsletter-box {
  background: #ffffff;
  border-radius: 20px;
  padding: 32px;
  margin-bottom: 56px;
  box-shadow: 0 12px 30px rgba(11, 102, 195, 0.08);
}

.newsletter-box h2 {
  color: #0b66c3;
  margin-top: 0;
}

.newsletter-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 24px;
}

.report-record-header {
  margin-top: 72px;
  margin-bottom: 32px;
}

.report-page-links {
  display: flex;
  gap: 18px;
  margin-top: 42px;
  flex-wrap: wrap;
  align-items: center;
}

.button-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 220px;
  min-height: 68px;
  padding: 16px 28px;
  border: 2px solid #0b66c3;
  border-radius: 999px;
  color: #0b66c3;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.2s ease;
  background: #fff;
}

.button-outline:hover {
  background: #0b66c3;
  color: #fff;
}

.report-record-header h2 {
  color: #0b66c3;
}

.report-card-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 8px 0 14px;
}

.report-badge {
  display: inline-flex;
  align-items: center;
  padding: 3px 7px;
  border-radius: 5px;
  font-size: 0.78rem;
  line-height: 1.3;
  white-space: nowrap;
}

.report-badge-status {
  font-weight: 700;
}

.report-badge-status.status-done {
  background: #f4efe2;
  color: #6f4f16;
  border: 1px solid #d8c28d;
}

.report-badge-status.status-research {
  background: #dbeafe;
  color: #1d4ed8;
  border: 1px solid #bfdbfe;
}

.report-badge-status.status-inquiry {
  background: #fef3c7;
  color: #92400e;
  border: 1px solid #fde68a;
}

.report-badge-status.status-request {
  background: #ffedd5;
  color: #c2410c;
  border: 1px solid #fed7aa;
}

.report-badge-status.status-record {
  background: #eef1f5;
  color: #4a5568;
  border: 1px solid #d8dee4;
}

.report-badge-status.status-info {
  background: #e8f1fb;
  color: #145ea8;
  border: 1px solid #c7d9ed;
}

.report-badge-subcategory {
  background: transparent;
  color: #6b7a90;
  border: none;
}

.category-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  margin: 24px 0 40px;
  border-bottom: 1px solid #dbe8f5;
  justify-content: center;
}

.category-filter-link {
  display: inline-flex;
  align-items: center;
  min-height: auto;
  padding: 10px 12px;
  border: none;
  border-radius: 0;
  background: transparent;
  color: #345b7c;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  box-shadow: none;
}

.category-filter-link + .category-filter-link::before {
  content: "｜";
  color: #b7c7d9;
  margin-right: 12px;
  font-weight: 400;
}

.category-filter-link.active {
  background: transparent;
  color: #0b66c3;
  border-bottom: 3px solid #0b66c3;
}

.report-badge-category {
  background: transparent;
  color: #0b66c3;
  border: none;
  font-weight: 700;
}

.meta-separator {
  color: #9aa9b8;
  font-size: 0.82rem;
  line-height: 1.3;
}

.report-badges {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
}

.report-category {
  color: #0b66c3;
  font-weight: 700;
}

.report-card-meta,
.report-badges {
  display: block;
}

.report-status-line {
  margin-bottom: 6px;
}

.report-category-line {
  display: flex;
  align-items: center;
  gap: 6px;
}

.top-report-link {
  display: grid;
  grid-template-columns: 160px 140px 1fr;
  gap: 16px;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid #dbe8f5;
  text-decoration: none;
  color: inherit;
}

.top-report-date {
  margin: 0;
  font-weight: 700;
}

.top-report-title {
  display: block;
  font-size: 1.05rem;
  font-weight: 700;
  color: #12324f;
}

.top-report-status {
  display: inline-flex;
  width: fit-content;
}

.top-report-status.status-done {
  background: #f4efe2;
  color: #6f4f16;
  border: 1px solid #d8c28d;
}

.top-report-status.status-research {
  background: #dbeafe;
  color: #1d4ed8;
  border: 1px solid #bfdbfe;
}

.top-report-status.status-inquiry {
  background: #fef3c7;
  color: #92400e;
  border: 1px solid #fde68a;
}

.top-report-status.status-request {
  background: #ffedd5;
  color: #c2410c;
  border: 1px solid #fed7aa;
}

.top-report-status.status-record {
  background: #eef1f5;
  color: #4a5568;
  border: 1px solid #d8dee4;
}

.top-report-status.status-info {
  background: #e8f1fb;
  color: #145ea8;
  border: 1px solid #c7d9ed;
}

.status-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin: 18px 0 36px;
  padding: 14px 18px;
  background: #f8fbff;
  border: 1px solid #dbe8f5;
  border-radius: 12px;
}

.status-filter label {
  display: flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  font-size: 0.95rem;
  color: #345b7c;
}

.status-filter input[type="checkbox"] {
  width: 16px;
  height: 16px;
}

.category-check-filter,
.status-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 18px;
  margin: 18px 0;
}

.category-check-filter label,
.status-filter label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #345b7c;
  font-size: 0.95rem;
}

.filter-clear-btn {
  padding: 8px 16px;
  border: 1px solid #c7d9ed;
  border-radius: 999px;
  background: #fff;
  color: #0b66c3;
  cursor: pointer;
  margin-bottom: 12px;
}

.filter-clear-btn:hover {
  background: #f5f9ff;
}

.newsletter-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 24px;
}

.newsletter-card {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  min-height: 180px;
  padding: 18px 20px;
  border: 1px solid #dbe8f5;
  border-radius: 14px;
  background: #fff;
}

.newsletter-badge-space,
.newsletter-badge {
  display: inline-flex;
  align-items: center;
  height: 28px;
  margin-bottom: 10px;
}

.newsletter-badge-space {
  visibility: hidden;
}

.newsletter-badge {
  width: fit-content;
  padding: 3px 10px;
  border-radius: 999px;
  background: #e74c3c;
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
}

.newsletter-date {
  margin: 0 0 4px;
  font-size: 0.92rem;
  line-height: 1.4;
  color: #345b7c;
}

.newsletter-card h3 {
  margin: 0 0 12px;
  font-size: 1.2rem;
  line-height: 1.4;
  color: #0b66c3;
}

.newsletter-card a {
  width: fit-content;
  margin-top: auto;
  padding: 7px 12px;
  border-radius: 6px;
  background: #0b66c3;
  color: #fff;
  font-size: 0.86rem;
  font-weight: 700;
  text-decoration: none;
}

@media (max-width: 768px) {
  .report-card {
    grid-template-columns: 1fr;
    padding: 18px;
  }

  .report-card-thumb-link {
    max-width: 100%;
    width: 100%;
    justify-self: stretch;
  }

  .report-card-thumb {
    height: auto;
    max-height: none;
  }

  .page-container {
    padding: 0 14px 30px;
  }

  .report-card-thumb,
    .report-detail-image {
    border-radius: 14px;
    width: 100%;
    max-width: 100%;
  }

  .report-title {
    font-size: 1.3rem;
  }

  .pager ul {
    justify-content: center;
  }

  .report-page-links {
    justify-content: center;
  }

  .button-outline {
    width: 100%;
    max-width: 320px;
  }

  .newsletter-box {
    padding: 26px 22px;
  }

  .report-record-header h2 {
    color: #0b66c3;
  }

  .report-nav-btn {
    font-size: 0.9rem;
    padding: 10px 12px;
  }

  .report-nav {
    gap: 8px;
  }

  .top-report-link {
    grid-template-columns: 1fr;
    gap: 6px;
    padding: 14px 0;
  }

  .top-report-title {
    margin: 0;
    font-size: 1.05rem;
    font-weight: 700;
  }

  .newsletter-grid {
    grid-template-columns: 1fr;
  }
}

/* 関連する活動報告 */
.related-reports {
    margin-top: 32px;
    padding-top: 24px;
    border-top: 1px solid #dbe8f5;
}

.related-reports-title {
    margin: 0 0 16px;
    font-size: 1.2rem;
    color: #204866;
}

.related-reports-list {
    display: grid;
    gap: 12px;
}

.related-report-card {
    display: block;
    padding: 14px 16px;
    border: 1px solid #dbe8f5;
    border-radius: 14px;
    background: #fff;
    text-decoration: none;
    color: inherit;
}

.related-report-card:hover {
    background: #f6fbff;
}

.related-report-date,
.related-report-category {
    display: block;
    font-size: 0.85rem;
    color: #5f7f96;
}

.related-report-title {
    display: block;
    margin: 4px 0;
    font-weight: 700;
    color: #204866;
}

.related-report-select + .related-report-select {
    margin-top: 8px;
}

.admin-help {
    margin: 6px 0 0;
    font-size: 0.85rem;
    color: #64748b;
}
