/* ============================================
   Artists Page — Styles
   ============================================ */

/* --- Page Hero --- */
.page-hero {
  margin-top: 110px;
  padding: 80px 0 60px;
  border-bottom: 1px solid #eee;
}

.page-hero-label {
  font-size: 1.2rem;
  font-weight: 500;
  color: #999;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.page-hero-title {
  font-size: 4.0rem;
  font-weight: 300;
  letter-spacing: 0.1em;
  color: #000;
  margin-bottom: 20px;
}

.page-hero-subtitle {
  font-size: 1.5rem;
  color: #787878;
  line-height: 2.0;
  letter-spacing: 0.02em;
}

/* --- Artist Directory List --- */
.artist-grid {
  display: flex;
  flex-direction: column;
  border-top: 1px solid #000;
}

.artist-card {
  display: grid;
  grid-template-columns: 80px 1fr auto 24px;
  align-items: center;
  gap: 0 36px;
  padding: 24px 0;
  border-bottom: 1px solid #e0e0e0;
  text-decoration: none;
  color: inherit;
  transition: background-color 0.3s ease;
  opacity: 0;
  transform: translateY(20px);
  transition: background-color 0.3s ease, opacity 0.6s ease, transform 0.6s ease;
}

.artist-card.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.artist-card:hover {
  background-color: #f8f8f8;
  padding-left: 16px;
  padding-right: 16px;
  margin-left: -16px;
  margin-right: -16px;
}

.artist-card-index {
  display: none;
}

.artist-card-image {
  width: 80px;
  height: 80px;
  overflow: hidden;
  background: #f0f0f0;
  flex-shrink: 0;
}

.artist-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity 0.4s ease;
}

.artist-card:hover .artist-card-image img {
  opacity: 0.85;
}

.artist-card-info {
  min-width: 0;
}

.artist-card-name {
  font-size: 2.2rem;
  font-weight: 400;
  letter-spacing: 0.06em;
  color: #000;
  transition: color 0.4s ease;
  margin-bottom: 2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.artist-card:hover .artist-card-name {
  color: #555;
}

.artist-card-name-ja {
  font-size: 1.2rem;
  color: #999;
  letter-spacing: 0.06em;
}

.artist-card-genre {
  font-size: 1.05rem;
  font-weight: 500;
  color: #bbb;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  white-space: nowrap;
  text-align: right;
}

.artist-card-arrow {
  font-size: 1.4rem;
  color: #ccc;
  transition: transform 0.3s ease, color 0.3s ease;
}

.artist-card:hover .artist-card-arrow {
  transform: translateX(4px);
  color: #000;
}

/* --- Active Nav --- */
.nav-link--active {
  color: #000;
}

/* ============================================
   Artist Detail Page
   ============================================ */

.artist-detail-hero {
  margin-top: 110px;
  padding: 60px 0 0;
}

.artist-detail-hero-image {
  width: 280px;
  height: 280px;
  margin: 0 auto;
  overflow: hidden;
  background: #f0f0f0;
}

.artist-detail-hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.artist-detail-header {
  padding: 40px 0 0;
}

.artist-detail-name {
  font-size: 3.2rem;
  font-weight: 300;
  letter-spacing: 0.08em;
  color: #000;
  margin-bottom: 4px;
}

.artist-detail-name-ja {
  font-size: 1.5rem;
  font-weight: 400;
  color: #787878;
  letter-spacing: 0.06em;
  margin-bottom: 8px;
}

.artist-detail-genre {
  font-size: 1.2rem;
  font-weight: 500;
  color: #999;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-top: 8px;
}

.artist-detail-body {
  padding: 50px 0 80px;
}

.artist-detail-bio {
  max-width: 680px;
}

.artist-detail-bio .body-text:last-child {
  margin-bottom: 0;
}

.artist-detail-info {
  margin-top: 40px;
  max-width: 680px;
}

.artist-detail-info .info-row:first-child {
  border-top: 1px dotted #ddd;
}

.artist-back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 1.3rem;
  font-weight: 500;
  color: #555;
  letter-spacing: 0.04em;
  margin-bottom: 40px;
  transition: color 0.4s ease;
}

.artist-back:hover {
  color: #000;
}

/* ============================================
   News Section (TOP page)
   ============================================ */

.news-list {
  display: flex;
  flex-direction: column;
}

.news-item {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 24px;
  padding: 28px 0;
  border-bottom: 1px dotted #ccc;
  text-decoration: none;
  color: inherit;
  align-items: start;
  transition: background-color 0.3s ease;
}

.news-item:first-child {
  border-top: 1px dotted #ccc;
}

.news-item:hover {
  background-color: #f8f8f8;
}

.news-item:hover .news-image img {
  transform: scale(1.03);
}

.news-image {
  width: 200px;
  aspect-ratio: 3 / 2;
  overflow: hidden;
  background: #f5f5f5;
}

.news-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.news-body {}

.news-date {
  font-size: 1.2rem;
  font-weight: 500;
  color: #999;
  letter-spacing: 0.04em;
  margin-bottom: 6px;
}

.news-title {
  font-size: 1.8rem;
  font-weight: 500;
  color: #000;
  letter-spacing: 0.04em;
  margin-bottom: 4px;
}

.news-artist {
  font-size: 1.3rem;
  color: #787878;
  margin-bottom: 6px;
}

.news-desc {
  font-size: 1.3rem;
  color: #555;
  line-height: 1.7;
}

/* --- Company Illust --- */
.company-illust {
  max-width: 50%;
  margin: 0 auto 40px;
}

.company-illust img {
  width: 100%;
}

@media (max-width: 768px) {
  .company-illust {
    max-width: 70%;
  }
}

/* --- Floor SNS Link --- */
.floor-sns {
  margin-top: 12px;
}

.floor-sns a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 1.3rem;
  font-weight: 500;
  color: #787878;
  letter-spacing: 0.02em;
  transition: color 0.4s ease;
}

.floor-sns a:hover {
  color: #000;
}

.floor-sns svg {
  flex-shrink: 0;
}

.news-detail-date {
  font-size: 1.3rem;
  font-weight: 500;
  color: #999;
  letter-spacing: 0.06em;
  margin-bottom: 12px;
}

/* --- Floor Subtitle --- */
.floor-subtitle {
  font-size: 1.2rem;
  font-weight: 500;
  color: #999;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-top: 4px;
  margin-bottom: 16px;
}

/* --- Floor Content Layout --- */
.floor-content {
  display: flex;
  flex-direction: row;
  gap: 50px;
  align-items: flex-start;
}

.floor-text-full {
  flex: 1;
  max-width: 480px;
}

/* --- Floor Photo Gallery (2x2 compact) --- */
.floor-gallery {
  display: grid;
  gap: 10px;
  width: 460px;
  flex-shrink: 0;
}

.floor-gallery--2x2 {
  grid-template-columns: repeat(2, 1fr);
}

.floor-gallery-item {
  overflow: hidden;
  background: #f5f5f5;
}

.floor-gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 1 / 1;
  transition: transform 0.6s ease;
}

.floor-gallery-item:hover img {
  transform: scale(1.03);
}

/* 3枚の場合：最後の1枚を2カラム幅に */
.floor-gallery--2x2 .floor-gallery-item:last-child:nth-child(odd) {
  grid-column: 1 / -1;
}

.floor-gallery--2x2 .floor-gallery-item:last-child:nth-child(odd) img {
  aspect-ratio: 2 / 1;
}

/* --- News Detail Multi-Image Hero --- */
.hero-multi {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
}

.hero-multi img:only-child {
  grid-column: 1 / -1;
}

.hero-multi img:last-child:nth-child(odd) {
  grid-column: 1 / -1;
}

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

@media (max-width: 768px) {
  .page-hero {
    margin-top: 60px;
    padding: 50px 0 40px;
  }

  .page-hero-title {
    font-size: 3.0rem;
  }

  /* tablet */
  .artist-card {
    grid-template-columns: 60px 1fr auto 20px;
    gap: 0 24px;
  }

  .artist-card-image {
    width: 60px;
    height: 60px;
  }

  .artist-card-name {
    font-size: 1.8rem;
  }

  .artist-detail-hero {
    margin-top: 60px;
    padding: 30px 0 0;
  }

  .artist-detail-hero-image {
    width: 200px;
    height: 200px;
  }

  .artist-detail-name {
    font-size: 2.4rem;
  }

  /* News */
  .news-item {
    grid-template-columns: 140px 1fr;
    gap: 16px;
  }

  .news-image {
    width: 140px;
  }

  /* Floor Content — stack on mobile */
  .floor-content {
    flex-direction: column;
    gap: 24px;
  }

  .floor-text-full {
    max-width: 100%;
  }

  /* Floor Gallery */
  .floor-gallery {
    width: 100%;
    max-width: 320px;
  }
}

@media (max-width: 480px) {
  .page-hero-title {
    font-size: 2.6rem;
  }

  /* mobile */
  .artist-card {
    grid-template-columns: 48px 1fr 16px;
    gap: 0 16px;
    padding: 16px 0;
  }

  .artist-card-genre {
    display: none;
  }

  .artist-card-image {
    width: 48px;
    height: 48px;
  }

  .artist-card-name {
    font-size: 1.5rem;
  }

  .artist-detail-name {
    font-size: 2.0rem;
  }
}
