@charset "UTF-8";
/* CSS Document */

div.map3d-area {
	position: relative;
	width: 100%;
}

div#map3d {
	width: 100%;
	height: 600px;
}

div.map3d-overlay {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;

	display: flex;
	align-items: center;
	justify-content: center;
	text-align: center;

	background-color: rgba(255, 255, 255, 0.85);
	font-size: 14px;
	color: #333;
}

/* スマートフォンでの読み込み確認 */
div.map3d-confirm {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;

	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	text-align: center;
	box-sizing: border-box;
	padding: 20px;

	background-color: #f5f5f5;
	font-size: 14px;
	color: #333;
}

div.map3d-confirm p {
	margin: 0 0 16px;
	line-height: 1.6;
}

div.map3d-confirm .map3d-confirm-size {
	font-weight: bold;
}

div.map3d-confirm .map3d-confirm-note {
	font-size: 12px;
	color: #777;
}

div.map3d-confirm button {
	padding: 10px 32px;
	border: none;
	border-radius: 4px;

	background-color: #e5528b;
	font-size: 14px;
	color: #fff;
	cursor: pointer;
}

@media screen and (max-width: 767px) {
	div#map3d {
		height: 400px;
	}
}

/* 表示の切り替えツールバー(地図の左側に浮かせる) */
div.map3d-toolbar {
	position: absolute;
	top: 10px;
	left: 10px;
	z-index: 2;

	display: flex;
	flex-direction: column;
	gap: 4px;
	width: 150px;
	padding: 8px;
	box-sizing: border-box;
	border-radius: 6px;

	background-color: rgba(255, 255, 255, 0.92);
	box-shadow: 0 1px 4px rgba(0, 0, 0, 0.3);
}

div.map3d-toolbar button.map3d-tool {
	padding: 7px 10px;
	border: 1px solid #ccc;
	border-radius: 4px;

	background-color: #fff;
	font-size: 13px;
	color: #333;
	cursor: pointer;
	text-align: center;
}

div.map3d-toolbar button.map3d-tool:hover {
	background-color: #f2f2f2;
}

div.map3d-toolbar button.map3d-tool.is-active {
	border-color: #e5528b;

	background-color: #e5528b;
	color: #fff;
}

div.map3d-toolbar p.map3d-toolbar-help {
	margin: 2px 0 0;

	font-size: 11px;
	line-height: 1.5;
	color: #666;
}

/* 歩行中はカーソルを変えて、視点操作できることを示す */
div.map3d-area.is-walking div#map3d {
	cursor: move;
}

@media screen and (max-width: 767px) {
	div.map3d-toolbar {
		width: 128px;
		padding: 6px;
	}

	div.map3d-toolbar button.map3d-tool {
		padding: 9px 8px;
		font-size: 12px;
	}
}

div.map3d-toolbar label.map3d-toggle {
	display: flex;
	align-items: center;
	gap: 5px;
	margin-top: 2px;

	font-size: 12px;
	color: #333;
	cursor: pointer;
}

/* 歩行中の移動用。画面右下に置く。 */
div.map3d-stick {
	position: absolute;
	right: 20px;
	bottom: 20px;
	z-index: 3;

	width: 120px;
	height: 120px;
	border-radius: 50%;
	border: 2px solid rgba(255, 255, 255, 0.8);

	background-color: rgba(0, 0, 0, 0.25);
	touch-action: none;
	cursor: pointer;
}

div.map3d-stick .map3d-stick-knob {
	position: absolute;
	top: 50%;
	left: 50%;

	width: 48px;
	height: 48px;
	margin: -24px 0 0 -24px;
	border-radius: 50%;

	background-color: rgba(255, 255, 255, 0.85);
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.4);
	pointer-events: none;
}

@media screen and (max-width: 767px) {
	div.map3d-stick {
		right: 14px;
		bottom: 14px;
		width: 104px;
		height: 104px;
	}

	div.map3d-stick .map3d-stick-knob {
		width: 42px;
		height: 42px;
		margin: -21px 0 0 -21px;
	}
}
