@charset "UTF-8";

/* ===== Base ===== */

html {
  font-size: 62.5%;
  scroll-behavior: smooth;
}

a {
  text-decoration: none;
}

ul,
ol {
  list-style: none;
  padding: 0;
  margin: 0;
}

body {
  margin: 0;
  font-family: "Noto Serif JP", serif;
  color: #5a2ca0;
  background: url("../image/grid-background-artist.png") center / cover no-repeat fixed;
}

/* ===== Hero ===== */

.artist-hero {
  padding: 60px 0 40px;
  text-align: center;
}

.artist-hero__title {
  font-size: 6rem;
  font-family: "Playfair Display", serif;
  font-weight: 400;
}


/* ======================================
   Artist
====================================== */

.artist-profile {
  width: 80%;
  margin: 0 auto 120px;
}

/* 上段（アイコン＋情報） */

.artist-profile__main {
  display: grid;
  grid-template-columns: 400px 1fr;
  gap: 80px;
  align-items: center;
}

/* アイコン */

.artist-profile__image img {
  width: 400px;
  height: 400px;
  object-fit: cover;
  display: block;
}

/* テキスト */

.artist-profile__name {
  font-size: 3.2rem;
  margin-bottom: 24px;
  font-family: "Playfair Display", serif;
}

.artist-profile__bio {
  font-size: 1.6rem;
  line-height: 2.6rem;
  max-width: 1000px;
  margin-top: 40px;
}


/* ===== Past Works ===== */

.artist-works {
  margin-top: 60px;
}

.artist-works__title {
  font-size: 2.4rem;
  margin-bottom: 32px;
  font-family: "Playfair Display", serif;
  letter-spacing: 1px;
}

/* グリッド（自動で列数減少） */

.artist-works__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
}

/* 画像 */

.artist-works__grid img {
  width: 100%;
  height: auto;
  display: block;
}


/* ===== アーティスト間の区切りライン ===== */

.artist-profile:not(:last-child)::after {
  content: "";
  display: block;
  width: 80vw;
  height: 2px;
  background: #5a2ca0;
  margin: 100px auto 0;
}


/* ======================================
   Responsive
====================================== */

@media (max-width: 1000px) {

  .artist-profile__main {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .artist-profile__image img {
    width: min(400px, 80vw);
    height: min(400px, 80vw);
  }

  .artist-profile__bio {
    margin: 0 auto;
  }
}

@media (max-width: 600px) {

  .artist-hero__title {
    font-size: 4.2rem;
  }

  .artist-works__grid {
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  }

}

/* ===== Back Button ===== */

.back-button {
  position: fixed;
  right: 40px;
  top: 40px;

  padding: 14px 24px;
  background: #5a2ca0;
  color: #fff;
  font-size: 1.4rem;
  text-decoration: none;
  font-family: "Playfair Display", serif;

  border-radius: 4px;
  transition: 0.3s ease;
  z-index: 1000;
}

.back-button:hover {
  background: #3f1e70;
}

/* ================= FOOTER ================= */

.footer {
  background: #000;
  color: #e8efef;
  padding: 40px 20px 60px;
  font-size: 1.6rem;
  line-height: 2rem;
  font-family: "Playfair Display", serif;
  font-weight: lighter;
}

.footer-nav__list {
  margin-top: 100px;
  display: flex;
  flex-direction: column;
  gap: 20px
}

.footer-logo {
  font-size: 4rem;
}

.footer__copyright{
  margin-top: 320px;
}

.footer a,
.footer a:visited,
.footer a:hover,
.footer a:active {
  color: #e8efef;
  text-decoration: none;
}