@charset "UTF-8";
/* ============================================================ 画像ポップアップ */

#contents .contents-area .post a.js-lightbox,
#contents .contents-area .post a.kaga-lb-link {
	cursor: zoom-in;
}

html.kaga-lb-lock,
html.kaga-lb-lock body {
	overflow: hidden;
}

.kaga-lb {
	position: fixed;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	z-index: 100000;
	display: flex;
	align-items: center;
	justify-content: center;
	background: rgba(0, 0, 0, 0.85);
	opacity: 0;
	visibility: hidden;
	-webkit-transition: opacity 0.25s ease, visibility 0.25s ease;
	        transition: opacity 0.25s ease, visibility 0.25s ease;
}
.kaga-lb.is-open {
	opacity: 1;
	visibility: visible;
}

.kaga-lb__inner {
	position: relative;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	width: 100%;
	height: 100%;
	padding: 50px 70px;
	box-sizing: border-box;
}
.kaga-lb__figure {
	display: flex;
	flex-direction: column;
	align-items: center;
	margin: 0;
	max-width: 100%;
	max-height: 100%;
}
.kaga-lb__img {
	display: block;
	max-width: 100%;
	max-height: calc(100vh - 140px);
	width: auto;
	height: auto;
	border-radius: 6px;
	box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
	background: #fff;
	-webkit-transition: opacity 0.2s ease;
	        transition: opacity 0.2s ease;
}
.kaga-lb.is-loading .kaga-lb__img {
	opacity: 0;
}
.kaga-lb__caption {
	margin-top: 12px;
	color: #fff;
	font-size: 14px;
	line-height: 1.6;
	text-align: center;
	letter-spacing: 1px;
}
.kaga-lb__counter {
	position: absolute;
	top: 16px;
	left: 20px;
	color: #fff;
	font-size: 14px;
	letter-spacing: 2px;
}

/* ボタン */
.kaga-lb__btn {
	position: absolute;
	margin: 0;
	padding: 0;
	border: none;
	background: rgba(198, 89, 158, 0.85); /* サイトのピンク #c6599e */
	color: #fff;
	font-family: Arial, sans-serif;
	line-height: 1;
	cursor: pointer;
	border-radius: 50%;
	-webkit-transition: background 0.2s ease;
	        transition: background 0.2s ease;
}
.kaga-lb__btn:hover,
.kaga-lb__btn:focus {
	background: #939;
	outline: none;
}
.kaga-lb__btn:focus-visible {
	box-shadow: 0 0 0 3px #fff;
}
.kaga-lb__close {
	top: 12px;
	right: 16px;
	width: 44px;
	height: 44px;
	font-size: 30px;
}
.kaga-lb__prev,
.kaga-lb__next {
	top: 50%;
	width: 48px;
	height: 48px;
	margin-top: -24px;
	font-size: 36px;
	padding-bottom: 4px;
}
.kaga-lb__prev { left: 12px; }
.kaga-lb__next { right: 12px; }

@media screen and (max-width: 640px) {
	.kaga-lb__inner {
		padding: 60px 10px;
	}
	.kaga-lb__prev,
	.kaga-lb__next {
		top: auto;
		bottom: 12px;
		margin-top: 0;
	}
}
