/**
 * アーティスト一覧ページ。
 */

.jhhn-artist-directory {
  margin-top: 1.5rem;
}

.jhhn-artist-directory-intro {
  display: flex;
  gap: 2rem;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 2rem;
  padding: 1.5rem;
  border-left: 4px solid #a94264;
  background: #f6f3f3;
}

.jhhn-artist-directory-intro p {
  margin: 0;
}

.jhhn-artist-directory-count {
  display: flex;
  flex: 0 0 auto;
  gap: 0.4rem;
  align-items: baseline;
  color: #705860;
}

.jhhn-artist-directory-count strong {
  color: #803149;
  font-size: 1.8rem;
  line-height: 1;
}

.jhhn-artist-directory-count span,
.jhhn-artist-directory-list small {
  font-size: 0.72rem;
}

.jhhn-artist-filter {
  margin: 0 0 1.5rem;
}

.jhhn-artist-filter label {
  display: block;
  margin-bottom: 0.4rem;
  font-weight: 700;
}

.jhhn-artist-filter input[type="search"] {
  box-sizing: border-box;
  width: 100%;
  max-width: 440px;
  min-height: 44px;
  padding: 8px 12px;
  border: 1px solid #cdbfc6;
  border-radius: 5px;
  color: #333;
  background: #fff;
  font: inherit;
  font-size: 16px;
}

.jhhn-artist-filter-count { margin: 0.5rem 0 0; color: #705860; }
.jhhn-artist-filter-empty { padding: 1rem; background: #f6f3f3; }
.jhhn-artist-filter-empty button { min-height: 44px; margin-left: 0.5rem; border: 0; background: transparent; color: #803149; font: inherit; text-decoration: underline; cursor: pointer; }
.jhhn-artist-filter :is(input, button):focus-visible, .jhhn-artist-filter-empty button:focus-visible { outline: 3px solid #a94264; outline-offset: 2px; }
.jhhn-artist-directory-list li[hidden], .jhhn-artist-filter[hidden], .jhhn-artist-filter-empty[hidden] { display: none !important; }

.jhhn-artist-directory-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.65rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.jhhn-artist-directory-list li {
  margin: 0;
}

.jhhn-artist-directory-list a {
  display: flex;
  gap: 0.75rem;
  align-items: center;
  justify-content: space-between;
  min-height: 3.2rem;
  padding: 0.7rem 0.9rem;
  border: 1px solid #e2d9dc;
  color: #42383b;
  background: #fff;
}

.jhhn-artist-directory-list a:hover {
  border-color: #db7093;
  color: #803149;
  background: #fff7f9;
}

.jhhn-artist-directory-list a:focus-visible {
  outline: 3px solid #a94264;
  outline-offset: 2px;
}

.jhhn-artist-directory-list small {
  flex: 0 0 auto;
  color: #9b7d86;
}

.jhhn-artist-directory-empty {
  padding: 1.5rem;
  background: #f6f3f3;
}

@media screen and (max-width: 834px) {
  .jhhn-artist-directory-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media screen and (max-width: 560px) {
  .jhhn-artist-directory-intro {
    gap: 1rem;
    align-items: flex-start;
    flex-direction: column;
    padding: 1.2rem;
  }

  .jhhn-artist-directory-list {
    grid-template-columns: 1fr;
  }
}
