/* データポケット 拡大表示 */
.hdp-zoom.hdpz-on { padding: 0; align-items: stretch; justify-content: stretch; }

.hdpz-stage {
	position: absolute;
	inset: 0;
	overflow: hidden;
	touch-action: none;
	cursor: zoom-in;
	-webkit-user-select: none;
	user-select: none;
}
.hdp-zoom.hdpz-zoomed .hdpz-stage { cursor: grab; }
.hdp-zoom.hdpz-zoomed .hdpz-stage:active { cursor: grabbing; }

.hdpz-img {
	position: absolute;
	left: 0;
	top: 0;
	max-width: none !important;
	max-height: none !important;
	transform-origin: 0 0;
	will-change: transform;
	-webkit-user-drag: none;
	user-select: none;
	background: #fff;
	border-radius: 0 !important;
	box-shadow: none !important;
}

.hdpz-bar {
	position: absolute;
	left: 50%;
	bottom: 18px;
	transform: translateX(-50%);
	display: flex;
	align-items: center;
	gap: 6px;
	padding: 6px;
	border-radius: 999px;
	background: rgba(14, 26, 36, .82);
	box-shadow: 0 6px 22px rgba(0, 0, 0, .3);
	backdrop-filter: blur(6px);
	z-index: 3;
	max-width: calc(100vw - 20px);
	white-space: nowrap;
}
.hdpz-b {
	appearance: none;
	border: 0;
	background: rgba(255, 255, 255, .12);
	color: #fff;
	font-size: 17px;
	font-weight: 700;
	line-height: 1;
	min-width: 42px;
	height: 42px;
	padding: 0 12px;
	border-radius: 999px;
	cursor: pointer;
	white-space: nowrap;
	flex: 0 0 auto;
}
.hdpz-b:hover { background: rgba(255, 255, 255, .22); }
.hdpz-b:disabled { opacity: .35; cursor: default; }
.hdpz-b.hdpz-fit { font-size: 14px; }
.hdpz-sm { display: none; }
.hdpz-pct {
	color: #fff;
	font-size: 14px;
	font-weight: 700;
	min-width: 62px;
	text-align: center;
	font-variant-numeric: tabular-nums;
}

.hdpz-hint {
	position: absolute;
	left: 50%;
	top: 18px;
	transform: translateX(-50%);
	max-width: calc(100% - 120px);
	padding: 9px 16px;
	border-radius: 999px;
	background: rgba(14, 26, 36, .78);
	color: #fff;
	font-size: 13px;
	line-height: 1.5;
	text-align: center;
	z-index: 3;
	transition: opacity .5s ease;
}
.hdpz-hint.is-off { opacity: 0; pointer-events: none; }

.hdp-zoom.hdpz-on .hdp-zoom-close { z-index: 4; }
.hdp-zoom.hdpz-on .hdp-zoom-cap {
	position: absolute;
	left: 50%;
	bottom: 80px;
	transform: translateX(-50%);
	margin: 0;
	padding: 8px 18px;
	max-width: min(88%, 880px);
	border-radius: 999px;
	background: rgba(14, 26, 36, .80);
	color: #fff;
	text-align: center;
	line-height: 1.5;
	z-index: 2;
	pointer-events: none;
}

@media (max-width: 600px) {
	.hdpz-bar { bottom: 12px; gap: 4px; padding: 5px; }
	.hdpz-b { min-width: 40px; height: 40px; padding: 0 10px; font-size: 16px; }
	.hdpz-b.hdpz-fit { font-size: 13px; padding: 0 12px; }
	.hdpz-lg { display: none; }
	.hdpz-sm { display: inline; }
	.hdpz-pct { min-width: 50px; font-size: 13px; }
	.hdpz-hint { font-size: 12px; max-width: calc(100% - 76px); line-height: 1.45; }
	.hdp-zoom.hdpz-on .hdp-zoom-cap {
		bottom: 64px;
		font-size: 12px;
		padding: 7px 14px;
		max-width: calc(100% - 24px);
		white-space: nowrap;
		overflow: hidden;
		text-overflow: ellipsis;
	}
}
