@charset "utf-8";

.about-contact .ctactcon {
	display: grid;
	grid-template-columns: minmax(0, 3fr) minmax(0, 2fr);
	gap: 40px;
	margin: 40px 0 60px;
}

.about-contact .ctactcon::before,
.about-contact .ctactcon::after {
	display: none;
}

.about-contact .ctactwrap {
	float: none !important;
	width: auto;
	min-width: 0;
	margin: 0;
}

.contact-map-panel {
	min-width: 0;
}

.contact-map-frame {
	position: relative;
	overflow: hidden;
	border: 1px solid #ccc;
	background: #f1f2ef;
}

#contact-map {
	display: block;
	width: 100%;
	height: auto;
	aspect-ratio: 730 / 482;
	font-family: Arial, "Microsoft YaHei", sans-serif;
	cursor: grab;
	touch-action: none;
	user-select: none;
}

#contact-map.is-dragging {
	cursor: grabbing;
}

#contact-map:focus-visible {
	outline: 2px solid #333;
	outline-offset: -3px;
}

.map-place-labels {
	font-size: 16px;
	paint-order: stroke;
	stroke: #f1f2ef;
	stroke-width: 3px;
	stroke-linejoin: round;
}

.map-place-labels .map-river-label {
	fill: #667f89;
	stroke: #d8e5e9;
	font-size: 27px;
	letter-spacing: 8px;
}

.map-company-marker {
	cursor: pointer;
}

.map-company-marker:hover rect,
.map-company-marker:focus-visible rect {
	stroke: #333;
	stroke-width: 3px;
}

.contact-map-caption {
	position: absolute;
	left: 10px;
	bottom: 8px;
	padding: 2px 6px;
	background: #fff;
	color: #666;
	font-size: 12px;
	pointer-events: none;
}

.map-company-info {
	position: absolute;
	top: 12px;
	left: 12px;
	right: 12px;
	padding: 16px 40px 16px 16px;
	border: 1px solid #999;
	background: #fff;
	color: #333;
	font-size: 14px;
	line-height: 1.8;
}

.map-company-info[hidden] {
	display: none;
}

.map-company-info p {
	margin: 4px 0 0;
}

.map-company-info button {
	position: absolute;
	top: 0;
	right: 0;
	width: 36px;
	height: 36px;
	border: 0;
	background: transparent;
	color: #555;
	font-size: 24px;
	cursor: pointer;
}

.contact-map-toolbar,
.contact-map-controls {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 8px;
}

.contact-map-toolbar {
	justify-content: space-between;
	margin-top: 12px;
	gap: 8px 16px;
}

.contact-map-controls button {
	min-width: 44px;
	min-height: 44px;
	padding: 6px 12px;
	border: 1px solid #bbb;
	border-radius: 0;
	background: #fff;
	color: #333;
	font: inherit;
	font-size: 14px;
	cursor: pointer;
}

.contact-map-controls button:hover:not(:disabled) {
	background: #f2f2f2;
	border-color: #666;
}

.contact-map-controls button:disabled {
	color: #999;
	cursor: default;
}

.contact-map-toolbar output {
	padding: 0;
	color: #666;
	font-size: 13px;
}

.contact-map-panel button:focus-visible {
	outline: 2px solid #333;
	outline-offset: 2px;
}

.contact-map-help {
	margin: 10px 0 0;
	color: #666;
	font-size: 13px;
	line-height: 1.7;
}

@media (max-width: 991px) {
	.about-contact .ctactcon {
		grid-template-columns: minmax(0, 1fr);
		gap: 28px;
	}
}
