@charset "utf-8";

/* メインセクション */
.main-page-section {
  gap: 64px;
}

.main-visual-slide {
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
}

.main-visual-slide .main-info {
  font-size: var(--font-size-xs);
}

.main-visual-img {
  width: 100%;
  max-width: none;
  max-height: 480px;
  vertical-align: bottom;
  display: flex;
  justify-content: flex-end;
  align-items: center;
}

.main-visual-img img {
  width: auto;
  height: auto;
  max-height: 480px;
  max-width: 100%;
  object-fit: contain;
  margin-left: auto;
}

.single-section {
  padding-top: 100px;
}

.main-page-section+.single-section {
  margin-top: 100px;
}

/* single-exhibition_アーティストリスト */
secition.artists {
  width: 100%;
  margin: 40px 0;
}

.artist-list {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.artist-item {
  background: var(--color-white);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.artist-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

.artist-item h3 {
  font-size: var(--font-size-md);
  margin: 0 0 16px 0;
  color: var(--color-main);
  letter-spacing: var(--letter-spacing-base);
}

.artist-image {
  margin-bottom: 16px;
  overflow: hidden;
}

.artist-image img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.3s ease;
}

.artist-item:hover .artist-image img {
  transform: scale(1.05);
}

.artist-profile {
  font-size: var(--font-size-sm);
  line-height: 1.6;
  color: var(--color-gray);
  margin: 0 0 20px 0;
}

.artist-links {
  display: flex;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
}

.artist-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--color-box-light);
  color: var(--color-main);
  transition: all 0.3s ease;
}

.artist-links a:hover {
  background: var(--color-accent);
  color: var(--color-white);
  transform: scale(1.1);
}

.artist-links a[href*="公式サイト"] {
  width: 40px;
  height: 40px;
  padding: 0;
  border-radius: 50%;
  font-size: 0;
  text-decoration: none;
  position: relative;
}

.artist-links a[href*="公式サイト"]::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 20px;
  height: 20px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='currentColor'%3E%3Cpath d='M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm-1 17.93c-3.94-.49-7-3.85-7-7.93 0-.62.08-1.21.21-1.79L9 15v1c0 1.1.9 2 2 2v1.93zm6.9-2.54c-.26-.81-1-1.39-1.9-1.39h-1v-3c0-.55-.45-1-1-1H8v-2h2c.55 0 1-.45 1-1V7h2c1.1 0 2-.9 2-2v-.41c2.93 1.19 5 4.06 5 7.41 0 2.08-.8 3.97-2.1 5.39z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
}

.map {
  padding: 0 100px 100px 100px;
}

.map .exhibition-term,
.map .exhibition-time,
.map .exhibition-remark,
.map .exhibition-address {
  font-size: var(--font-size-sm);
}

.map .exhibition-address {
  padding-bottom: 10px;
}

.map .exhibition-remark {
  padding-bottom: 20px;
}

/* レスポンシブ対応 */
@media (max-width: 549px) {
  .main-page-section {
    gap: 40px !important;
  }

  .main-page-section h1 {
    font-size: 17px;
    white-space: normal;
  }

  .main-page-section h1 span {
    bottom: 0px;
    top: auto;
    transform: translateY(100%);
  }

  .main-page-section h1::after {
    left: -4.5vw;
  }

  .main-visual-slide p {
    font-size: 1.5rem;
  }

  .main-page-section+.single-section {
    margin-top: 0px;
  }

  .map {
    padding: 0 20px 40px 20px;
  }

  .artist-list {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

  .artist-item {
    padding: 16px;
  }

  .artist-item h3 {
    font-size: var(--font-size-sm);
    margin-bottom: 12px;
  }

  .artist-profile {
    font-size: var(--font-size-xs);
    margin-bottom: 16px;
  }

  .artist-links {
    gap: 8px;
  }

  .artist-links a {
    width: 36px;
    height: 36px;
  }

  .artist-links a[href*="公式サイト"] {
    width: 36px;
    height: 36px;
    padding: 0;
  }

  .artist-links a[href*="公式サイト"]::before {
    width: 18px;
    height: 18px;
  }

  /* トップページ */
  .main-page-section {
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    gap: unset !important;
  }

  .main-page-section .catchcopy p {
    font-size: 1.5rem;
  }

  .main-page-section .main-visual-left {
    margin-top: 25px;
    margin-bottom: 20px;
  }

  .main-page-section .main-visual-right {
    margin: 0 10px;
  }

  .main-page-section .main-visual-right .main-info p {
    font-size: 1.3rem;
  }

  .main-page-section .main-visual-slider {
    flex-direction: column-reverse;
    justify-content: center;
    align-items: flex-start;
  }

  .main-page-section .main-visual-img {
    width: 95vw;
    max-width: fit-content;
    aspect-ratio: unset;
    vertical-align: top;
  }

  .main-page-section .main-visual-right .main-info {
    position: static;
    width: 95vw;
    left: auto;
  }

  .main-page-section .pickup-info h3 {
    font-size: 1.5rem;
  }

  .main-page-section .pickup-info p {
    font-size: 1.3rem;
  }
}