.subsidy-archive {
  background: #fff;
}

/* 絞り込み：全幅グレー */
.subsidy-filter-section {
  width: 100%;
  background: #f2f2f2;
  padding: 26px 20px 28px;
}

.subsidy-filter {
  max-width: 760px;
  margin: 0 auto;
}

.subsidy-filter__title {
  margin: 0 0 18px;
  text-align: center;
  font-size: 16px;
  line-height: 1;
  font-weight: 700;
}

.subsidy-filter__inner {
  display: flex;
  justify-content: center;
  align-items: flex-end;
  gap: 18px;
}

.subsidy-filter__item {
  width: 170px;
}

.subsidy-filter__item label {
  display: block;
  margin: 0 0 6px;
  font-size: 11px;
  line-height: 1;
  font-weight: 700;
}

.subsidy-filter__item select {
  width: 100%;
  height: 32px;
  padding: 0 9px;
  border: 1px solid #bdbdbd;
  border-radius: 3px;
  background: #fff;
  font-size: 12px;
}

.subsidy-filter__buttons {
  display: flex;
  align-items: flex-end;
  gap: 8px;
}

.subsidy-filter__buttons button {
  width: 68px;
  height: 32px;
  border: 0;
  border-radius: 3px;
  background: #999;
  color: #fff;
  font-size: 12px;
  cursor: pointer;
}

.subsidy-filter__buttons a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 68px;
  height: 32px;
  border-radius: 3px;
  background: #b8b8b8;
  color: #fff;
  font-size: 12px;
  text-decoration: none;
}

/* 一覧：白背景 / 幅1100px */
.subsidy-content {
  background: #fff;
  padding: 34px 20px 90px;
}

.subsidy-content__inner {
  max-width: 1100px;
  margin: 0 auto;
}

.subsidy-count {
  margin: 0 0 16px;
  font-size: 14px;
  line-height: 1.4;
  font-weight: 700;
}

.subsidy-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px 20px;
}

.subsidy-card {
  background: #fff;
  border: 1px solid #bcbcbc;
  border-radius: 4px;
  overflow: hidden;
}

.subsidy-card__head {
  height: 38px;
  padding: 0 16px;
  background: #f0f0f0;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.subsidy-card__head span {
  color: #333;
  font-size: 14px;
  line-height: 1;
  font-weight: 400;
}

.subsidy-card__head strong {
  color: #0071bc;
  font-size: 17px;
  line-height: 1;
  font-weight: 700;
}

.subsidy-card__body {
  min-height: 96px;
  padding: 15px 16px 14px;
}

.subsidy-card__body h2 {
  margin: 0 0 7px;
  font-size: 17px;
  line-height: 1.35;
  font-weight: 700;
}

.subsidy-card__body p {
  margin: 0 0 10px;
  font-size: 12px;
  line-height: 1.45;
}

.subsidy-card__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.subsidy-card__tags span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 18px;
  padding: 2px 10px;
  border-radius: 999px;
  background: #eee;
  color: #333;
  font-size: 10px;
  line-height: 1.2;
  white-space: nowrap;
}

/* SP */
@media (max-width: 767px) {
  .subsidy-filter-section {
    padding: 26px 20px 31px;
  }

  .subsidy-filter {
    max-width: none;
  }

  .subsidy-filter__title {
    margin-bottom: 18px;
    font-size: 18px;
    font-weight: 500;
  }

  .subsidy-filter__inner {
    display: block;
  }

  .subsidy-filter__item {
    width: 100%;
    margin-bottom: 13px;
  }

  .subsidy-filter__item label {
    margin-bottom: 7px;
    font-size: 14px;
    font-weight: 400;
  }

  .subsidy-filter__item select {
    height: 34px;
    padding: 0 12px;
    font-size: 14px;
  }

  .subsidy-filter__buttons {
    justify-content: center;
    margin-top: 10px;
  }

  .subsidy-filter__buttons button {
    display: none;
  }

  .subsidy-filter__buttons a {
    width: 70px;
    height: 35px;
    font-size: 14px;
  }

  .subsidy-content {
    padding: 28px 20px 80px;
  }

  .subsidy-content__inner {
    max-width: none;
  }

  .subsidy-count {
    margin-bottom: 11px;
    font-size: 16px;
    font-weight: 400;
  }

  .subsidy-grid {
    display: block;
  }

  .subsidy-card {
    margin-bottom: 16px;
    border-radius: 6px;
  }

  .subsidy-card__head {
    height: 59px;
    padding: 0 13px;
  }

  .subsidy-card__head span {
    font-size: 21px;
  }

  .subsidy-card__head strong {
    font-size: 21px;
  }

  .subsidy-card__body {
    min-height: 0;
    padding: 16px 14px 17px;
  }

  .subsidy-card__body h2 {
    margin-bottom: 6px;
    font-size: 21px;
    line-height: 1.35;
  }

  .subsidy-card__body p {
    margin-bottom: 9px;
    font-size: 14px;
    line-height: 1.55;
  }

  .subsidy-card__tags {
    gap: 6px;
  }

  .subsidy-card__tags span {
    min-height: 22px;
    padding: 3px 12px;
    font-size: 12px;
  }
}

.subsidy-filter__buttons button {
  width: 68px;
  height: 32px;
  border: 0;
  border-radius: 3px;
  background: #333;
  color: #fff;
  font-size: 12px;
  cursor: pointer;
}