/* ============================================================
   report.css — 県政・市政報告紙・議会活動 共通
   ============================================================ */

/* ── KV ────────────────────────────────── */
.report-kv {
  background-color: #152c88;
  padding: 32px 0;
}

.report-kv__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 30px;
}

.report-kv__en {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: rgba(255,255,255,0.55);
  margin-bottom: 4px;
}

.report-kv__ttl {
  font-size: clamp(22px, 2.5vw, 32px);
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.05em;
}

/* ── カテゴリータブ ─────────────────────── */
.report-tab {
  display: flex;
  gap: 0;
  border-bottom: 2px solid #152c88;
  margin-bottom: 40px;
}

.report-tab__item {
  display: inline-block;
  padding: 10px 24px;
  font-size: 14px;
  font-weight: 600;
  color: #152c88;
  text-decoration: none;
  border: 1px solid #152c88;
  border-bottom: none;
  background: #fff;
  letter-spacing: 0.05em;
  transition: background 0.2s, color 0.2s;
}

.report-tab__item + .report-tab__item {
  border-left: none;
}

.report-tab__item.is-active,
.report-tab__item:hover {
  background: #152c88;
  color: #fff;
}

/* ── アーカイブ ─────────────────────────── */
.report-archive {
  padding: 50px 0 80px;
}

.report-archive__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 30px;
}

.report-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 24px 20px;
  list-style: none;
  margin-bottom: 56px;
}

/* カード */
.report-card a {
  display: block;
  text-decoration: none;
  color: inherit;
}

.report-card__img {
  aspect-ratio: 3 / 4;
  overflow: hidden;
  background: #e8eaf2;
  border: 1px solid #dde2f0;
  margin-bottom: 10px;
}

.report-card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.report-card a:hover .report-card__img img {
  transform: scale(1.04);
}

.report-card__ttl {
  font-size: 13px;
  font-weight: 600;
  color: #152c88;
  text-align: center;
  line-height: 1.5;
}

/* ── ページネーション ────────────────────── */
.report-pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
}

.report-pagination__prev,
.report-pagination__next {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border: 1px solid #152c88;
  color: #152c88;
  text-decoration: none;
  font-size: 14px;
  transition: background 0.2s, color 0.2s;
}

.report-pagination__prev:hover,
.report-pagination__next:hover {
  background: #152c88;
  color: #fff;
}

.report-pagination__num {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  color: #152c88;
  border: 1px solid #dde2f0;
  transition: background 0.2s, color 0.2s;
}

.report-pagination__num.is-current {
  background: #152c88;
  color: #fff;
  border-color: #152c88;
}

.report-pagination__num:hover:not(.is-current) {
  background: #f0f3fa;
}

/* ── シングル ────────────────────────────── */
.report-single {
  padding: 50px 0 80px;
}

.report-single__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 30px;
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: 48px;
  align-items: start;
}

/* パンくず */
.report-breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: #888;
  margin-bottom: 20px;
}

.report-breadcrumb a {
  color: #152c88;
  text-decoration: none;
}

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

/* タイトル */
.report-single__ttl {
  font-size: clamp(18px, 2vw, 24px);
  font-weight: 700;
  color: #152c88;
  border-left: 4px solid #152c88;
  padding-left: 14px;
  margin-bottom: 28px;
  line-height: 1.4;
}

/* 画像 */
.report-single__img {
  margin-bottom: 40px;
  border: 1px solid #dde2f0;
}

.report-single__img img {
  width: 100%;
  height: auto;
  display: block;
}

/* 前後ナビ */
.report-post-nav {
  display: flex;
  align-items: stretch;
  gap: 0;
  border: 1px solid #dde2f0;
}

.report-post-nav__prev,
.report-post-nav__next {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 16px 18px;
  text-decoration: none;
  color: #152c88;
  background: #fff;
  transition: background 0.2s;
}

.report-post-nav__prev:hover,
.report-post-nav__next:hover {
  background: #f0f3fa;
}

.report-post-nav__next {
  text-align: right;
  border-left: 1px solid #dde2f0;
}

.report-post-nav__archive {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px 20px;
  font-size: 13px;
  font-weight: 600;
  color: #fff;
  background: #152c88;
  text-decoration: none;
  white-space: nowrap;
  border-left: 1px solid rgba(255,255,255,0.2);
  border-right: 1px solid rgba(255,255,255,0.2);
  transition: background 0.2s;
}

.report-post-nav__archive:hover {
  background: #0f2070;
}

.report-post-nav__label {
  font-size: 11px;
  opacity: 0.6;
  letter-spacing: 0.05em;
}

.report-post-nav__name {
  font-size: 13px;
  font-weight: 600;
}

/* ── サイドバー ──────────────────────────── */
.report-side-block {
  border: 1px solid #dde2f0;
  background: #fff;
}

.report-side-block__ttl {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: #fff;
  background: #152c88;
  padding: 10px 16px;
}

.report-side-list {
  list-style: none;
  padding: 12px 0;
}

.report-side-list__item a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 16px;
  text-decoration: none;
  transition: background 0.15s;
}

.report-side-list__item a:hover {
  background: #f0f3fa;
}

.report-side-list__item.is-current a {
  background: #f0f3fa;
  pointer-events: none;
}

.report-side-list__img {
  width: 48px;
  height: 64px;
  flex-shrink: 0;
  overflow: hidden;
  border: 1px solid #dde2f0;
  background: #e8eaf2;
}

.report-side-list__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.report-side-list__name {
  font-size: 12px;
  color: #152c88;
  font-weight: 600;
  line-height: 1.5;
}

.report-side-all {
  display: block;
  text-align: center;
  padding: 12px;
  font-size: 12px;
  font-weight: 600;
  color: #152c88;
  text-decoration: none;
  border-top: 1px solid #dde2f0;
  transition: background 0.15s;
}

.report-side-all:hover {
  background: #f0f3fa;
}

/* ============================================================
   SP
   ============================================================ */
@media screen and (max-width: 900px) {
  .report-kv {
    padding: 24px 0;
  }

  .report-kv__inner {
    padding: 0 16px;
  }

  /* タブ：横スクロール */
  .report-tab {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    white-space: nowrap;
    flex-wrap: nowrap;
    margin-bottom: 28px;
  }

  .report-tab__item {
    padding: 8px 16px;
    font-size: 13px;
  }

  /* アーカイブ */
  .report-archive {
    padding: 32px 0 56px;
  }

  .report-archive__inner {
    padding: 0 16px;
  }

  .report-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px 12px;
    margin-bottom: 40px;
  }

  /* シングル */
  .report-single {
    padding: 32px 0 56px;
  }

  .report-single__inner {
    grid-template-columns: 1fr;
    gap: 40px;
    padding: 0 16px;
  }

  .report-post-nav {
    flex-direction: column;
  }

  .report-post-nav__next {
    text-align: left;
    border-left: none;
    border-top: 1px solid #dde2f0;
  }

  .report-post-nav__archive {
    border-left: none;
    border-right: none;
    border-top: 1px solid rgba(255,255,255,0.2);
    border-bottom: 1px solid rgba(255,255,255,0.2);
  }
}
