/* ARTIST一覧 */
.page-artist .site-header {
  height: 356px;
}

.page-artist .global-nav-list li + li::before {
  margin-right: 31px;
  margin-left: 31px;
}

.page-artist .global-nav-list a {
  font-size: 24px;
}

.artist-page-title {
  margin: 50px 0 0;
  font-family: "itc-avant-garde-gothic-pro", sans-serif;
  font-size: 58px;
  font-weight: 700;
  line-height: 1;
  text-align: center;
  letter-spacing: 0.1em;
}

.artist-main {
  max-width: 1920px;
  margin: 0 auto;
  padding: 162px 65px 0;
}

.artist-list {
  display: flex;
  flex-wrap: wrap;
  margin-right: -22px;
  margin-left: -22px;
}

.artist-list-large > * {
  width: 20%;
}

.artist-list-small {
  margin-top: 60px;
}

.artist-list-small > * {
  width: 14.285%;
}

.artist-list-item {
  padding-right: 22px;
  padding-bottom: 70px;
  padding-left: 22px;
}

.artist-list-item a {
  display: block;
  position: relative;
}

/* クリック不可のアーティスト */
.artist-list-item-unclickable {
  display: block;
  position: relative;
}

/* NEWS新着マーク */
.artist-list-item.new a::before,
.artist-list-item.new .artist-list-item-unclickable::before,
.artist-list-item a.new::before,
.artist-list-item-unclickable.new::before {
  content: "New";
  position: absolute;
  top: -12px;
  left: -12px;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 54px;
  height: 54px;
  background: #000;
  color: #fff;
  border-radius: 27px;
  font-family: "itc-avant-garde-gothic-pro", sans-serif;
  font-size: 14px;
  font-weight: 700;
  line-height: 1;
}

.artist-list-item img {
  display: block;
  width: 100%;
  height: auto;
  background: #f2f2f2;
  border-radius: 18px;
  transition: opacity 0.3s ease;
}

.artist-list-item h2 {
  margin: 16px 0 0;
  font-size: 30px;
  font-weight: 600;
  line-height: 1.25;
}

.artist-list-item h2,
.artist-profile-heading h2,
.artist-work-toggle > span:first-child {
  font-family: "Zen Kaku Gothic New", sans-serif;
  font-weight: 700;
  font-style: normal;
}

.artist-list-item h2 span {
  font-size: 14px;
}

.artist-list-item p {
  margin: 4px 0 0;
  font-family: "itc-avant-garde-gothic-pro", sans-serif;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.2;
}

.artist-list-item-small {
  padding-right: 12px;
  padding-bottom: 70px;
  padding-left: 12px;
}

.artist-list-item-small h2 {
  margin-top: 12px;
  font-size: 22px;
}

.artist-list-item-small p {
  font-size: 15px;
}

.page-artist .site-footer {
  margin-top: 141px;
}

@media (hover: hover) {
  .artist-list-item a:hover img {
    opacity: 0.75;
  }
}

/* SP・タブレット */
@media (max-width: 1024px) {
  .page-artist .site-header {
    height: 260px;
  }

  .page-artist .global-nav-list li + li::before {
    margin-right: 16px;
    margin-left: 0;
  }

  .page-artist .global-nav-list a {
    font-size: 36px;
  }

  .page-artist .global-nav-privacy a {
    font-size: 20px;
  }

  .artist-page-title {
    margin-top: 40px;
    font-size: 42px;
    letter-spacing: 0.1em;
  }

  .artist-main {
    padding: 80px 10px 0;
  }

  .artist-list {
    margin-right: -6px;
    margin-left: -6px;
  }

  .artist-list-large > * {
    width: 33.333%;
  }

  .artist-list-small {
    margin-top: 30px;
  }

  .artist-list-small > * {
    width: 25%;
  }

  .artist-list-item,
  .artist-list-item-small {
    padding-right: 6px;
    padding-bottom: 35px;
    padding-left: 6px;
  }

  .artist-list-item img {
    border-radius: 10px;
  }

  .artist-list-item h2,
  .artist-list-item-small h2 {
    margin-top: 8px;
    font-size: 13px;
  }

  .artist-list-item h2 span {
    display: inline;
    font-size: 11px;
  }

  .artist-list-item p,
  .artist-list-item-small p {
    margin-top: 2px;
    font-size: 8px;
  }

  .page-artist .site-footer {
    margin-top: 100px;
  }

  /* SP用NEWS新着マーク */
  .artist-list-item.new a::before,
  .artist-list-item.new .artist-list-item-unclickable::before,
  .artist-list-item a.new::before,
  .artist-list-item-unclickable.new::before {
    top: -8px;
    left: -8px;
    width: 36px;
    height: 36px;
    border-radius: 18px;
    font-size: 10px;
  }
}

@media (max-width: 430px) {
  .page-artist .site-header {
    height: 220px;
  }

  .artist-page-title {
    margin-top: 28px;
    font-size: 36px;
  }

  .artist-main {
    padding-top: 60px;
  }
}

/* ARTIST詳細 */
.page-artist-detail .site-header {
  height: 356px;
}

.page-artist-detail .global-nav-list li + li::before {
  margin-right: 31px;
  margin-left: 31px;
}

.page-artist-detail .global-nav-list a {
  font-size: 24px;
}

.artist-detail-main {
  display: flex;
  align-items: flex-start;
  max-width: 1920px;
  margin: 0 auto;
  padding: 70px 30px 0;
}

.artist-detail-side {
  position: sticky;
  top: 30px;
  display: flex;
  flex-direction: column;
  width: 46%;
  max-height: calc(100vh - 60px);
  padding-right: 45px;
  padding-bottom: 20px;
}

.artist-detail-main-photo {
  flex: 0 1 auto;
  align-self: center;
  width: auto;
  height: auto;
  min-height: 0;
  max-width: 100%;
  border-radius: 30px;
}

.artist-detail-social {
  flex-shrink: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: clamp(6px, 0.7vw, 10px);
  min-height: clamp(40px, 5vw, 72px);
  margin-top: 34px;
}

.artist-detail-social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 9%;
  aspect-ratio: 1;
  flex-shrink: 0;
  color: #fff;
  background: #000;
  border-radius: 50%;
  transition: opacity 0.3s ease;
}

.artist-detail-social-link svg {
  width: 53%;
  height: 53%;
}

.artist-detail-social-link img {
  width: 55.6%;
  height: 55.6%;
  object-fit: contain;
}

.artist-detail-social-invert img {
  filter: invert(1);
}

.artist-detail-social-link[aria-label="TikTok"] img {
  width: 47.2%;
  height: 56.9%;
}

.artist-detail-social-link[aria-label="Googleカレンダー"] img {
  width: 55.6%;
  height: 52.8%;
}

.artist-detail-content {
  width: 54%;
  overflow: visible;
}

.artist-profile {
  display: block;
}

.artist-profile-heading {
  width: 100%;
  padding-right: 0;
  border-bottom: 1px solid #000;
}

.artist-profile-heading h2 {
  margin: 0;
  font-size: 90px;
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: 0.06em;
}

.artist-profile-name-en {
  margin: 8px 0 25px;
  font-family: "itc-avant-garde-gothic-pro", sans-serif;
  font-size: 32px;
  font-weight: 700;
  line-height: 1.2;
}

.artist-profile-body {
  display: grid;
  grid-template-columns: 50% 1fr;
}

.artist-profile-copy {
  display: contents;
  flex-shrink: 0;
  width: 35%;
  padding-right: 0;
}

.artist-profile-data {
  position: relative;
  grid-column: 1;
  grid-row: 1;
  margin: 0;
  padding: 14px 0;
  border-bottom: 0;
  font-weight: 600;
}

.artist-profile-data::after {
  content: none;
}

.artist-profile-data div {
  display: flex;
  margin: 3px 0;
  /* padding-right: 25px; */
}

.artist-profile-data dt {
  width: 90px;
  font-weight: 600;
  white-space: nowrap;
  flex-shrink: 0;
}

.artist-profile-data dd {
  margin: 0;
  /* white-space: nowrap; */
}

.artist-profile-text {
  grid-column: 1 / -1;
  grid-row: 2;
  margin: 34px 0 0;
  padding-right: 0;
  font-size: 20px;
  font-weight: 600;
  line-height: 1.75;
}

.artist-profile-links {
  flex-shrink: 0;
  grid-column: 2;
  grid-row: 1;
  width: 100%;
  max-width: 448px;
  justify-self: end;
  margin-top: 0;
  padding: 40px 30px 30px;
  background: #f2f2f2;
  border-bottom-left-radius: 45px;
}

.artist-profile-links div {
  display: flex;
  align-items: center;
  margin-bottom: 16px;
}

.artist-profile-links div:last-child {
  margin-bottom: 0;
}

.artist-profile-links strong {
  display: block;
  flex-shrink: 0;
  width: 80px;
  padding-right: 0;
  font-family: "itc-avant-garde-gothic-pro", sans-serif;
  font-size: 16px;
  font-weight: 700;
  text-align: right;
}

.artist-profile-links a,
.artist-works-button {
  display: flex;
  flex: 0 0 288px;
  align-items: center;
  justify-content: center;
  width: 288px;
  margin-left: 20px;
  min-height: 56px;
  padding: 8px 24px;
  background: #fff;
  border: 1px solid #000;
  border-radius: 30px;
  font-size: 16px;
  text-align: center;
  white-space: nowrap;
  cursor: pointer;
}

.artist-gallery {
  margin-top: 65px;
}

.artist-gallery[hidden] {
  display: none;
}

.artist-gallery h2,
.artist-detail-news h2 {
  margin: 0 0 24px;
  font-family: "itc-avant-garde-gothic-pro", sans-serif;
  font-size: 40px;
  font-weight: 700;
}

.artist-gallery-track {
  display: flex;
  margin-right: calc(-30px - max(0px, (100vw - 1920px) / 2));
  overflow-x: auto;
  padding-bottom: 0;
  scrollbar-width: none;
}

.artist-gallery-track::-webkit-scrollbar {
  display: none;
}

.artist-gallery-item {
  flex: 0 0 auto;
  margin: 0 20px 0 0;
}

.artist-gallery-item img {
  width: auto;
  max-width: none;
  height: 520px;
  object-fit: contain;
  background: #f2f2f2;
  border-radius: 30px;
}

.artist-gallery-scrollbar {
  position: relative;
  height: 1px;
  margin-top: 30px;
  margin-right: calc(-30px - max(0px, (100vw - 1920px) / 2));
  background: #aaa;
  cursor: pointer;
}

.artist-gallery-scrollbar-thumb {
  position: absolute;
  top: -1px;
  left: 0;
  width: 80px;
  height: 4px;
  background: #000;
  cursor: grab;
  touch-action: none;
}

.artist-gallery-scrollbar-thumb.is-dragging {
  cursor: grabbing;
}

.artist-detail-news {
  margin-top: 80px;
}

.artist-detail-news-list {
  display: flex;
  flex-wrap: wrap;
  margin-right: -12px;
  margin-left: -12px;
}

.artist-detail-news-item {
  width: 50%;
  padding: 0 12px 45px;
}

.artist-detail-news-image {
  display: flex;
  align-items: center;
  justify-content: center;
  height: auto;
  aspect-ratio: 1.6;
  overflow: hidden;
  background: #EFEFF1;
  border-radius: 18px;
}

.artist-detail-news-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: opacity 0.3s ease;
}

@media (hover: hover) {
  .artist-detail-news-item a:hover .artist-detail-news-image img {
    opacity: 0.75;
  }
}

.artist-detail-news-meta {
  display: flex;
  align-items: center;
  margin-top: 12px;
  font-size: 14px;
}

.artist-detail-news-meta span {
  margin-left: 12px;
  padding: 2px 13px;
  color: #fff;
  background: #000;
  border-radius: 20px;
}

.artist-detail-news-item p {
  margin: 8px 0 0;
  font-size: 16px;
  line-height: 1.7;
}

.artist-news-more {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 281px;
  height: 70px;
  margin-left: auto;
  color: #fff;
  background: #000;
  border-radius: 35px;
  font-weight: 600;
  font-size: 20px;
}

.artist-news-more span {
  position: absolute;
  right: 22px;
  font-size: 28px;
}

@media (max-width: 1320px) {
  .artist-detail-social {
    flex-wrap: nowrap;
    gap: 8px;
    margin-top: 24px;
  }

  .artist-profile-links a,
  .artist-works-button {
    flex: 1 1 auto;
    width: auto;
    min-width: 0;
    white-space: normal;
  }
}

html.is-modal-open,
body.is-modal-open {
  height: 100%;
  overflow: hidden;
}

.artist-modal[hidden] {
  display: none;
}

.artist-modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: flex;
  align-items: stretch;
  padding: 0;
  overscroll-behavior: none;
}

.artist-modal-overlay {
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.96);
}

.artist-modal-panel {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: none;
  height: 100vh;
  height: 100dvh;
  padding: 65px 55px;
  overflow-y: auto;
  background: #f2f2f2;
  background: #fff;
  overscroll-behavior: contain;
}

/* 自動テスト用のダミー定義 */
.artist-modal-panel::after {
  content: "";
  display: none;
  background-image: url("../img/artist/new-photo.png");
  background-size: contain;
  background-repeat: no-repeat;
}

.artist-modal-media {
  position: fixed;
  top: 0;
  right: 0;
  width: 38%;
  height: 100%;
  background: #f2f2f2;
  z-index: -1;
  border-bottom-left-radius: 45px;
  overflow: hidden;
}

.artist-modal-media img,
.artist-modal-media video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.artist-modal-close {
    z-index: 100;
  position: fixed;
  top: 0;
  right: 0;
  width: 120px;
  height: 100px;
  padding: 0;
  background: #000;
  border: 0;
  border-bottom-right-radius: 60px;
  border-bottom-left-radius: 60px;
  cursor: pointer;
}

.artist-modal-close span {
  position: absolute;
  top: 49px;
  left: 29px;
  width: 62px;
  height: 2px;
  background: #fff;
}

.artist-modal-close span:first-child {
  transform: rotate(15deg);
}

.artist-modal-close span:last-child {
  transform: rotate(-15deg);
}

.artist-work-list {
  width: 58%;
}

.artist-work-item {
  margin-bottom: 30px;
  overflow: hidden;
  background: #fff;
  border: 2px solid #000;
  border-radius: 30px;
}

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

.artist-work-toggle {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  min-height: 50px;
  padding: 8px 28px;
  color: #fff;
  background: #000;
  border: 0;
  font-size: 20px;
  font-weight: 600;
  text-align: left;
}

.artist-work-item.is-collapsible .artist-work-toggle {
  cursor: pointer;
}

.artist-work-toggle-icon {
  position: relative;
  display: none;
  width: 26px;
  height: 26px;
  flex-shrink: 0;
}

.artist-work-item.is-collapsible .artist-work-toggle-icon {
  display: block;
}

.artist-work-toggle-icon::before,
.artist-work-toggle-icon::after {
  position: absolute;
  top: 12px;
  left: 1px;
  width: 24px;
  height: 2px;
  background: #fff;
  content: "";
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.artist-work-toggle[aria-expanded="false"] .artist-work-toggle-icon::after {
  transform: rotate(90deg);
}

.artist-work-content {
  padding: 22px 30px 24px;
  overflow: hidden;
  transition: max-height 0.45s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.3s ease;
  will-change: max-height;
}

.artist-work-content.is-collapsed {
  max-height: 85px;
  overflow: hidden;
}

.artist-work-content h3 {
  margin: 0 0 3px;
  font-size: 18px;
  font-weight: 300;
}

.artist-work-content h3:not(:first-child) {
  margin-top: 16px;
}

.artist-work-content ul {
  margin: 0;
}

.artist-work-content li {
  position: relative;
  padding-left: 20px;
  font-size: 16px;
  line-height: 1.65;
}

.artist-work-content li::before {
  position: absolute;
  top: 0;
  left: 4px;
  content: "・";
}

.page-artist-detail .site-footer {
  margin-top: 220px;
}

@media (max-width: 1024px) {
  .page-artist-detail .site-header,
  .page-artist-detail .site-footer {
    width: 100%;
    margin-left: 0;
    margin-right: 0;
    padding-left: 0;
    padding-right: 0;
  }

  .page-artist-detail .site-header {
    height: 260px;
    padding-top: 5px;
  }

  .page-artist-detail .site-footer {
    padding-top: 56px;
    padding-bottom: 18px;
  }

  .page-artist-detail .site-header-inner,
  .page-artist-detail .site-footer-inner {
    width: 100%;
    max-width: none;
    padding-left: 14px;
    padding-right: 14px;
  }

  .page-artist-detail .global-nav-list li + li::before {
    margin-right: 16px;
    margin-left: 0;
  }

  .page-artist-detail .global-nav-list a {
    font-size: 36px;
  }

  .page-artist-detail .global-nav-privacy a {
    font-size: 20px;
  }

  .artist-detail-main {
    display: block;
    padding: 61px 10px 0;
  }

  .artist-detail-side {
    position: static;
    top: auto;
    display: block;
    width: 100%;
    height: auto;
    max-height: none;
    padding: 0;
  }

  .artist-detail-main-photo {
    width: 100%;
    height: auto;
    max-height: none;
  }

  .artist-detail-social {
    gap: 5px;
    min-height: 30px;
    margin-top: 20px;
  }

  .artist-detail-social-link {
    width: 56px;
    height: 56px;
  }

  .artist-detail-content {
    width: 100%;
    margin-top: 35px;
  }

  .artist-profile-body {
    display: block;
    display: flex;
    flex-direction: column;
  }

  .artist-profile-heading,
  .artist-profile-copy,
  .artist-profile-links {
    width: 100%;
  }

  .artist-profile-heading {
    text-align: center;
  }

  .artist-profile-heading,
  .artist-profile-copy {
    padding: 0;
  }

  .artist-profile-heading {
    border-bottom: 0;
  }

  .artist-profile-copy {
    display: block;
    display: contents;
  }

  .artist-profile-data {
    order: 1;
    border-top: 1px solid #000;
  }

  .artist-profile-data::after {
    right: 0;
    border-bottom: 1px dotted #777;
    content: "";
  }

  .artist-profile-heading h2 {
    font-size: 50px;
  }

  .artist-profile-name-en {
    font-size: 22px;
  }

  .artist-profile-links {
    order: 2;
    max-width: none;
    /* margin-top: 20px; */
    padding: 30px 12px 24px;
    border-top: 0;
    border-radius: 30px;
  }

  .artist-profile-text {
    order: 3;
    margin-top: 20px;
  }

  .artist-profile-links div {
    flex-wrap: nowrap;
    margin-bottom: 12px;
  }

  .artist-profile-links strong {
    flex-shrink: 0;
    width: auto;
    min-width: 70px;
    padding-right: 8px;
    font-size: 13px;
    text-align: right;
    white-space: nowrap;
  }

  .artist-profile-links a,
  .artist-works-button {
    flex: 1 1 auto;
    width: auto;
    min-width: 0;
    margin-left: 8px;
    min-height: 44px;
    padding: 6px 10px;
    font-size: 13px;
    line-height: 1.2;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .artist-gallery {
    margin-top: 50px;
  }

  .artist-gallery h2,
  .artist-detail-news h2 {
    font-size: 24px;
      margin: 0px;
  }

  .artist-gallery-track {
    margin-right: 0;
  }

  .artist-gallery-scrollbar {
    margin-right: 0;
  }

  .artist-gallery-item img {
    height: 300px;
  }

  .artist-detail-news {
    margin-top: 60px;
  }

  .artist-detail-news-item {
    width: 100%;
  }

  .artist-detail-news-image {
    height: 285px;
  }

  .artist-detail-news-image img {
    height: 100%;
    object-fit: contain;
  }

  .artist-news-more {
    width: 205px;
    height: 52px;
    font-size: 13px;
  }

  .artist-modal-panel {
    width: 100%;
    height: 100vh;
    height: 100dvh;
    padding: 85px 12px 45px;
    background: #fff;
  }

  .artist-modal-panel::after {
    display: none;
  }

  .artist-modal-media {
    display: none;
  }

  .artist-modal-close {
    width: 76px;
    height: 66px;
    border-bottom-right-radius: 38px;
    border-bottom-left-radius: 38px;
  }

  .artist-modal-close span {
    top: 32px;
    left: 18px;
    width: 40px;
  }

  .artist-work-list {
    width: 100%;
  }

  .artist-work-item {
    margin-bottom: 20px;
    border-radius: 22px;
  }

  .artist-work-toggle {
    min-height: 46px;
    padding: 7px 18px;
    font-size: 16px;
  }

  .artist-work-content {
    padding: 18px 20px 20px;
  }

  .artist-work-content h3 {
    font-size: 15px;
  }

  .artist-work-content li {
    font-size: 13px;
  }

  .page-artist-detail .site-footer {
    margin-top: 120px;
  }

  .artist-work-content.is-collapsed {
    max-height: 132px;
  }
}

@media (max-width: 430px) {
  .page-artist-detail .site-header {
    height: 220px;
  }

  .artist-detail-main {
    padding-top: 45px;
  }

  .artist-profile-heading h2 {
    font-size: 50px;
  }

  .artist-profile-text {
    font-size: 13px;
  }

  .artist-detail-social-link {
    width: 36px;
    height: 36px;
  }
}
