:root {
  --color-main: #2288ff;
}

.search-box {
  background: #f5f5f5;
  border-radius: 20px;
  width: min(100%, 860px);
  margin: 0 auto 60px;
  font-size: 1.6rem;
  line-height: 1.5;
  padding: 30px min(3vw, 30px);
}
.search-box h3 {
  font-size: 1.8rem;
  text-align: center;
  margin-bottom: 20px;
}
.search-box dl {
  border-bottom: 1px solid #ddd;
  display: flex;
  align-items: center;
  padding: 10px;
}
.search-box dl:first-of-type {
  border-top: 1px solid #ddd;
}
.search-box dl dt {
  width: 8.5em;
  font-weight: 700;
  flex-shrink: 0;
}
.search-box dl dd {
  margin-left: 20px;
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}
.search-box dl dd label {
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 6px;
  padding: 5px;
}
.search-box dl dd label.active {
  background: #7bb0b0;
  color: #fff;
}
.search-box #jsctl-filterbtn-mokuteki dd label.active {
  background: #7ba2c1;
}
.search-box #jsctl-filterbtn-gyoushu dd label.active {
  background: #c7b38a;
}

@media screen and (max-width: 767px) {
  .search-box dl {
    flex-wrap: wrap;
  }
  .search-box dl dt {
    width: 100%;
  }
  .search-box dl dd {
    flex-wrap: wrap;
    margin-left: 0;
    margin-top: 10px;
    font-size: 1.4rem;
  }
}
.search-reset button {
  display: block;
  margin: 20px auto 0;
  background: #fff;
  border-radius: 6px;
  border: 1px solid #ddd;
  padding: 10px 20px 10px 40px;
  position: relative;
  cursor: pointer;
  font-family: inherit;
  font-size: inherit;
  color: inherit;
}
.search-reset button::before {
  content: "";
  background: url(../support_img/icn_clear.svg) no-repeat 50% 50%;
  background-size: contain;
  width: 24px;
  height: 24px;
  display: inline-block;
  position: absolute;
  left: 10px;
  top: 50%;
  transform: translateY(-50%);
}

#contents .search-no-result {
  margin: 180px auto;
}
#contents .search-no-result p {
  text-align: center;
  font-size: 1.8rem;
}

.card-container {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
  grid-template-rows: repeat(6, auto);
  gap: 0 60px;
  border-bottom: 2px solid #ddd;
  max-width: 100%;
}
@media screen and (max-width: 767px) {
  .card-container {
    display: block;
  }
}

.card-container .card {
  display: grid;
  grid-template-rows: subgrid;
  grid-row: span 6;
  gap: 0;
  margin-bottom: 60px;
}
@media screen and (min-width: 768px) {
  .card-container .card {
    max-width: 360px;
  }
}
@media screen and (max-width: 767px) {
  .card-container .card {
    display: block;
  }
}

#contents .card-container .card a {
  display: inherit;
  grid-template-rows: inherit;
  grid-row: inherit;
  gap: 10px;
  line-height: 1.5;
  text-decoration: none;
  color: inherit;
}
@media screen and (max-width: 767px) {
  #contents .card-container .card a {
    display: flex;
    flex-direction: column;
  }
}

#contents .card-container .card a:hover .card-image img {
  transform: scale(1.1);
  overflow: hidden;
}

.card-image {
  width: 100%;
  aspect-ratio: 360/230;
  border-radius: 10px;
  overflow: hidden;
}
.card-image img {
  object-fit: cover;
  width: 100%;
  height: 100%;
}
@media screen and (max-width: 767px) {
  .card-image {
    height: auto;
    width: calc(100% - 10px);
    margin-inline: auto;
  }
}

#contents .card * {
  font-size: 1.6rem;
  transition: all 0.3s ease;
  text-align: left;
}

#contents .support-list .name {
  font-weight: 700;
  line-height: 1.2;
}

#contents .support-list .name,
#contents .date {
  color: var(--color-main);
}

#contents .support-list .title {
  font-size: 1.8rem;
  color: inherit;
  padding: 0;
  margin: 0;
}
#contents .support-list .title::after {
  content: none;
}

#contents .type {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 3px;
  align-content: baseline;
}

#contents .type span {
  border-radius: 6px;
  color: #fff;
  font-size: 1.4rem;
  padding: 3px 7px;
  line-height: 1.5;
}

.type :where(.jirei, .yakudatu) {
  background: #7bb0b0;
}

.type :where(.othermokuteki, .kakudai, .jinzai, .digital, .funding, .succession) {
  background: #7ba2c1;
}

.type :where(.kouri, .seizou, .kensetu, .iryou, .othergyoushu) {
  background: #c7b38a;
}

.type :where(.shisan, .hoken, .loan, .other) {
  background: #ff8c82;
}

.type :where(.shushoku, .marriage, .mycar, .souzoku, .secondlife) {
  background: #39d1e3;
}

#contents .support-list .desc {
  line-height: 1.5;
}

.pagination {
  margin-top: 40px;
}

.pagination-list {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
}
.pagination-list .page-item:where(.previous, .next) a::before {
  content: "";
  mask-image: url("data:image/svg+xml;charset=utf8,%3C%3Fxml%20version%3D%221.0%22%20encoding%3D%22UTF-8%22%3F%3E%3Csvg%20id%3D%22_%E3%83%AC%E3%82%A4%E3%83%A4%E3%83%BC_1%22%20data-name%3D%22%E3%83%AC%E3%82%A4%E3%83%A4%E3%83%BC%201%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%227.061%22%20height%3D%2212.707%22%20viewBox%3D%220%200%207.061%2012.707%22%3E%20%3Cdefs%3E%20%3Cstyle%3E%20.cls-1%20%7B%20fill%3A%20none%3B%20stroke%3A%20%23ff8c82%3B%20stroke-miterlimit%3A%2010%3B%7D%20%3C%2Fstyle%3E%20%3C%2Fdefs%3E%20%3Cpolyline%20class%3D%22cls-1%22%20points%3D%226.707%20.354%20.707%206.354%206.707%2012.354%22%2F%3E%3C%2Fsvg%3E");
  mask-repeat: no-repeat;
  mask-position: center;
  mask-size: contain;
  background-color: var(--color-main);
  display: inline-block;
  width: 13px;
  height: 13px;
}
.pagination-list .page-item.next a::before {
  transform: scale(-1, 1);
}

#contents .pagination-list .page-item a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  box-shadow: 0 5px 5px rgba(0, 0, 0, 0.1);
  display: grid;
  place-content: center;
  font-size: 1.6rem;
  text-decoration: none;
  color: inherit;
}

#contents .pagination-list .page-item.current a {
  background: var(--color-main);
  color: #fff;
}/*# sourceMappingURL=common-parts.css.map */