/* ============================================================
   アーティスト紹介 カード
============================================================ */
.artist-card-list {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 20px 10px;
	list-style: none;
	padding: 0;
	margin: 30px auto 0;
	/*max-width: 960px;*/
}

.artist-card {
	width: calc(33% - 18px);
}

@media screen and (max-width: 768px) {
	.artist-card-list {
		gap: 20px 10px;
		max-width: 100%;
	}
	.artist-card {
		width: calc(50% - 6px);
	}
	.artist-card__name {
		font-size: 1.2rem !important;
	}
	.artist-card__photo {
		aspect-ratio: 1 / 1;
	}
	.is-duo .artist-card__photo {
		aspect-ratio: 1 / 1;
	}
	.has-duo-photos .artist-card__photo {
		aspect-ratio: 1 / 1 !important;
	}
}

.artist-card__btn {
	width: 100%;
	background: none;
	border: none;
	cursor: pointer;
	padding: 0;
	text-align: center;
	transition: opacity 0.2s;
}

.artist-card__btn:hover {
	opacity: 0.75;
}

.artist-card__photos {
	display: flex;
	gap: 4px;
	justify-content: center;
}

.artist-card__photo {
	width: 100%;
	height: auto;
	aspect-ratio: 1 / 1;
	object-fit: cover;
	object-position: top;
	display: block;
	border-radius: 30px;
}

@media screen and (max-width: 768px) {
	.artist-card__photo {
		border-radius: 20px;
	}
}

/* ソロ＆Duo写真1枚の時はDuo1枚分の幅に合わせて中央配置 */
.artist-card:not(.has-duo-photos) .artist-card__photo-wrap {
	flex: none;
	width: calc(50% - 2px);
}

.artist-card:not(.has-duo-photos) .artist-card__photos {
	justify-content: center;
}

.artist-card__name {
	margin: 10px 0 4px;
	font-size: 1.4rem;
	font-weight: bold;
	line-height: 1.4;
}

.artist-card__part {
	font-size: 0.85rem;
	color: #666;
	margin: 0;
}

/* ============================================================
   アーティスト モーダル
============================================================ */
.artist-modal {
	display: none;
	position: fixed;
	inset: 0;
	z-index: 9999;
	align-items: center;
	justify-content: center;
}

.artist-modal.is-active {
	display: flex;
}

.artist-modal__overlay {
	position: absolute;
	inset: 0;
	background: rgba(0, 0, 0, 0.6);
	cursor: pointer;
}

.artist-modal__inner {
	position: relative;
	background: #fff;
	width: 90%;
	max-width: 860px;
	max-height: 90vh;
	overflow-y: auto;
	padding: 30px 32px 32px;
	border-radius: 4px;
}

@media screen and (max-width: 768px) {
	.artist-modal__inner {
		padding: 20px 20px 24px;
	}
}

.artist-modal__close {
	position: absolute;
	top: 0px;
	right: 0px;
	background: none;
	border: none;
	font-size: 3.6rem;
	cursor: pointer;
	line-height: 1;
	color: #333;
}

.artist-modal__title {
	font-size: 1.8rem;
	font-weight: bold;
	margin: 0 0 4px;
	border-bottom: 2px solid #8b3a2a;
	padding-bottom: 8px;
}

.artist-modal__part {
	font-size: 0.9rem;
	color: #666;
	margin: 4px 0 16px;
}

.artist-modal__duo-desc {
	font-size: 1.2rem;
	line-height: 1.8;
	margin: 0 0 12px;
	padding: 12px;
	background: #f9f6f4;
}


.artist-modal__member-name {
	font-size: 1.4rem;
	font-weight: bold;
	text-align: left;
	margin: 0 0 6px;
}

.artist-modal__profile {
	font-size: 1.2rem;
	line-height: 1.8;
	color: #333;
	margin-top: 30px;
}

.artist-modal__link {
	margin-top: 16px;
	text-align: center;
}

.artist-modal__link a {
	color: #8b3a2a;
	text-decoration: underline;
}

/* Duoスライダー */
.artist-modal__slider {
	overflow: hidden;
	position: relative;
}

.artist-modal__slide {
	display: none;
}

.artist-modal__slide.is-active {
	display: block;
}

.artist-modal__slide:nth-child(2).is-active {
	margin-top: 20px;
}

.artist-modal__slider-nav {
	display: contents;
}
.artist-modal .slider-prev,
.artist-modal .slider-next {
	position: fixed;
	top: 50%;
	transform: translateY(-50%);
	background: rgba(139, 58, 42, 0.85);
	color: #fff;
	border: none;
	padding: 16px 12px;
	cursor: pointer;
	font-size: 1.8rem;
	border-radius: 4px;
	z-index: 10000;
	line-height: 1;
	display: none;
}

.artist-modal .slider-prev {
	left: max(8px, calc(50% - 453px));
}

.artist-modal .slider-next {
	right: max(8px, calc(50% - 453px));
}

.artist-modal.is-active .slider-prev,
.artist-modal.is-active .slider-next {
	display: block;
}

@media screen and (max-width: 768px) {
	.artist-modal .slider-prev,
	.artist-modal .slider-next {
		padding: 12px 8px;
		font-size: 1.4rem;
	}
}

/* ♪アーティスト紹介 見出し */
.artist-section__intro-ttl {
	display: block;
	margin: 24px 0 8px;
}

/* 任期・件数メタ行 */
.artist-section__meta {
	margin: 26px 0 0;
	font-size: 1.4rem;
	color: #b9513b;
}

.artist-section__period {
	font-weight: bold;
}

.artist-section__period + .artist-section__count {
	margin-left: 8px;
}

.artist-section__count {
	font-weight: bold;
}

/* アウトリーチ画像6枚 */
.artist-outreach__images {
	display: flex;
	flex-wrap: wrap;
	gap: 32px;
	list-style: none;
	padding: 0;
	margin: 40px auto 0;
	max-width: 900px;
}

@media screen and (max-width: 769px) {
	.artist-outreach__images {
		margin-top: 30px;
		gap: 16px;
	}
}

.artist-outreach__images li {
	width: calc(33.333% - 22px);
}

.artist-outreach__images li img {
	width: 100%;
	height: auto;
	aspect-ratio: 4 / 3;
	object-fit: cover;
	display: block;
	border-radius: 40px;
	border: 3px solid #b9513a;
}

@media screen and (max-width: 768px) {
	.artist-outreach__images li {
		width: calc(50% - 8px);
	}
}

/* ============================================================
   アウトリーチ画像 ライトボックス
============================================================ */
.lightbox {
	display: flex;
	position: fixed;
	inset: 0;
	z-index: 10000;
	align-items: center;
	justify-content: center;
}

.lightbox__overlay {
	position: absolute;
	inset: 0;
	background: rgba(0, 0, 0, 0.85);
	cursor: pointer;
}

.lightbox__inner {
	position: relative;
	z-index: 1;
	max-width: 90vw;
	max-height: 90vh;
}

.lightbox__img {
	display: block;
	max-width: 90vw;
	max-height: 90vh;
	object-fit: contain;
}

.lightbox__close {
	position: absolute;
	top: -36px;
	right: 0;
	background: none;
	border: none;
	color: #fff;
	font-size: 1.8rem;
	cursor: pointer;
	line-height: 1;
}

.artist-outreach__images li img {
	cursor: pointer;
}

/* モーダル リンクボタン */
.artist-modal__links {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-top: 16px;
}

.artist-modal__link-btn {
	display: inline-block;
	padding: 6px 16px;
	background: #8b3a2a;
	color: #fff;
	text-decoration: none;
	font-size: 1.2rem;
	border-radius: 2px;
	transition: opacity 0.2s;
}

.artist-modal__link-btn:hover {
	opacity: 0.8;
	color: #fff;
}

/* コピーライト表記 */
.artist-modal__copyright {
	font-size: 0.75rem;
	color: #999;
	text-align: right;
	margin: 2px 0 0;
}

/* カードサムネイル コピーライト */
.artist-card__photo-wrap {
	position: relative;
	flex: 1;
}

/* ソロはDuo1枚分の幅に合わせて中央配置 */
.artist-card:not(.is-duo) .artist-card__photos {
	justify-content: center;
}

.artist-card:not(.is-duo) .artist-card__photo-wrap {
	flex: none;
	width: calc(50% - 2px);
}

.artist-card__copyright {
	position: absolute;
	bottom: 4px;
	right: 4px;
	font-size: 0.65rem;
	color: #fff;
	background: rgba(0, 0, 0, 0.45);
	padding: 1px 4px;
	line-height: 1.4;
}

/* テキストセクション */
.artist-text-section {
	font-size: 1.6rem;
	line-height: 1.8;
}

.artist-section__lead {
	font-size: 1.6rem;
	line-height: 1.8;
}

.artist-modal__content-body {
	display: flex;
	gap: 24px;
	align-items: flex-start;
}

.artist-modal__photo-col {
	flex-shrink: 0;
}

.artist-modal__photo {
	width: 100%;
	max-width: 210px;
	height: auto;
	display: block;
	margin: 0;
}

.artist-modal__text {
	flex: 1;
}

.artist-modal--solo .slider-prev,
.artist-modal--solo .slider-next {
	display: none !important;
}

.artist-modal--solo .artist-modal__member-name {
	display: none;
}

@media screen and (max-width: 600px) {
	.artist-modal__content-body {
		flex-direction: column;
		align-items: center;
		gap: 12px;
	}
	.artist-modal--solo .artist-modal__photo,
	.artist-modal__slide .artist-modal__photo {
		max-width: 140px;
		margin: 0 auto;
	}
	.artist-modal__text {
		width: 100%;
	}
	.artist-modal__profile {
		margin-top: 0;
	}
	.artist-modal__member-name {
		text-align: center;
	}
	.artist-modal__duo-desc {
		line-height: 1.6;
		padding: 10px 8px;
	}
}
