@charset "UTF-8";
/* ================================================================
   p-artist-single : アーティスト個別ページ専用スタイル
================================================================ */

.p-artist-single-main {
  background: var(--color-cream);
  padding: 56px 0 96px;
}

.p-artist-profile {
  display: flex;
  flex-direction: column;
  gap: 32px;
  margin-bottom: 64px;
}

@media (min-width: 768px) {
  .p-artist-profile {
    flex-direction: row;
    gap: 60px;
    margin-bottom: 88px;
  }
}

.p-artist-profile__photo {
  flex: 0 0 auto;
  width: 100%;
  max-width: 420px;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.1);
}

.p-artist-profile__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.p-artist-profile__body {
  flex: 1;
}

.p-artist-profile__name {
  font-family: var(--font-jp);
  font-size: clamp(28px, 3vw, 40px);
  color: var(--color-text);
  line-height: 1.4;
  margin-top: 20px;
  margin-bottom: 0;
  padding-bottom: 0;
  /* border-bottomは単色しか表現できないため、左右2色の罫線はグラデーション背景で表現 */
  background-image: linear-gradient(to right, var(--color-primary) 50%, #a3a09f 50%);
  background-position: left bottom;
  background-size: 100% 2px;
  background-repeat: no-repeat;
}

.p-artist-profile__role {
  font-size: 18px;
  font-weight: 600;
  line-height: 1.5;
  margin-top: 6px;
  margin-bottom: 24px;
}

.p-artist-profile__bio {
  font-size: 15px;
  line-height: 1.5;
}

.p-artist-single-main .c-work-grid {
  --work-grid-cols: 2;
}

/* ----------------------------------------------------------------
   アーティスト個別ページのWORKS一覧専用カード
   works.html側の.c-work-card(画像上/テキスト下)とは別クラスにして、
   お互いの変更が巻き込まれないようにしている
---------------------------------------------------------------- */
.p-artist-work-card {
  background: var(--color-white);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
  display: flex;
  color: inherit;
  text-decoration: none;
}

.p-artist-work-card__media {
  width: 45%;
  flex-shrink: 0;
  aspect-ratio: 1 / 1;
}

.p-artist-work-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.p-artist-work-card__body {
  flex: 1;
  padding: 24px;
  font-size: 16px;
  line-height: 1.5;
  color: var(--color-text);
}

.p-artist-work-card__body p {
  margin-bottom: 20px;
}

.p-artist-work-card__body p:last-child {
  margin-bottom: 0;
}
