/* Lightboxのオーバーレイ */
.lightboxOverlay {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: rgba(0, 0, 0, 0.8);
	z-index: 9999;
	display: none;
}

/* Lightboxのコンテナ */
.lightbox {
	position: fixed;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	max-width: 90%;
	max-height: 90%;
	text-align: center;
	z-index: 10000;
	display: none;
}

/* 画像のスタイル */
.lightbox img {
	width: 100%;
	height: auto;
	max-width: 100%;
	border-radius: 8px;
}

/* キャンセルボタン */
.lb-close {
	position: absolute;
	top: 10px;
	right: 10px;
	background: url('https://wp.yu-wa.com/wp/wp-content/uploads/2025/04/close.png') no-repeat center;
	background-size: 32px 32px;
	width: 32px;
	height: 32px;
	cursor: pointer;
	opacity: 0.7;
	z-index: 10001;
}
.lb-close:hover { opacity: 1;}

/* ナビゲーションボタン（前後の画像） */
.lb-nav {
	position: absolute;
	top: 50%;
	width: 100%;
	z-index: 10001;
	display: flex;
	justify-content: space-between;
}
.lb-prev, .lb-next {
	background: url('https://wp.yu-wa.com/wp/wp-content/uploads/2025/04/prev.png') no-repeat center;
	width: 34px;
	height: 34px;
	cursor: pointer;
}
.lb-next {
	background: url('https://wp.yu-wa.com/wp/wp-content/uploads/2025/04/next.png') no-repeat center;
}

/* ナビゲーションボタン（前）非表示 */
.lb-prev,
.lb-next {
	display: none !important;
}

/* ナビゲーションボタンの表示（ホバー時） */
.lb-prev:hover, .lb-next:hover {
	opacity: 1;
	transition: opacity 0.2s;
}