/* Works / cases band (spec §6, §8). */
.cases-list {
  --cases-band: #f4f5f7;
  padding-top: 120px;
  padding-bottom: 120px;
  background-color: var(--cases-band);
  box-shadow: 0 0 0 100vmax var(--cases-band);
  clip-path: inset(0 -100vmax);
}

.cases-list .sec-ja-suffix {
  font-size: 0.75em;
  color: inherit;
  font-weight: inherit;
  letter-spacing: inherit;
}

.cases-list .sec-head {
  margin-bottom: 28px;
}

.cases-list .lede {
  margin-top: 16px;
}

.cases-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  margin-top: 56px;
  list-style: none;
  padding: 0;
}

.cases-card {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  padding: 28px;
  border: 1px solid #e6e9f0;
  border-radius: 4px;
  background: #fff;
}

.cases-card.is-placeholder {
  border-style: dashed;
  border-color: #c9d2e6;
  background: transparent;
  color: #8a93a8;
  font-size: 13px;
  justify-content: center;
}

.cases-card__name {
  display: flex;
  align-items: center;
  min-height: 56px;
}

.cases-card__name-inner {
  display: block;
  flex: 1 1 auto;
  min-width: 0;
  color: #16224a;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.4;
  text-wrap: pretty;
  word-break: auto-phrase;
}

.cases-card__area {
  margin-top: 16px;
  color: #21418b;
  font-size: 12px;
  line-height: 1.6;
}

.cases-note {
  margin-top: 20px;
  color: #5a6378;
  font-size: 12px;
  line-height: 1.6;
}

.cases-list__names {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0;
  list-style: none;
}

.cases-list__names li {
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
  color: var(--ink);
  font-size: 16px;
  line-height: 1.7;
}

@media (max-width: 900px) {
  .cases-list {
    padding-top: 96px;
    padding-bottom: 96px;
  }

  .cases-grid {
    grid-template-columns: 1fr;
    margin-top: 40px;
  }
}
