.directions_wrap {
	width: 100%;
	max-width: none;
	margin: 0;
	padding: 160px 0 0;
	color: var(--n-900, #0c0c0c);
}

.directions_wrap .local_inner {
	display: flex;
	flex-direction: column;
	gap: clamp(56px, 5.47vw, 84px);
}

.directions_wrap .sect_header {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: clamp(48px, 5.47vw, 84px);
}

.directions_wrap .directions_head {
	display: flex;
	flex: 1 1 auto;
	flex-direction: column;
	gap: 16px;
	min-width: 0;
	margin: 0;
}

.directions_wrap .directions_head .page_tit {
	margin: 0;
	font-size: clamp(32px, 3.13vw, 48px);
	font-weight: 500;
	line-height: 1.25;
	letter-spacing: -0.04em;
	word-break: keep-all;
}

.directions_wrap .directions_head .page_label {
	margin: 0;
}

.directions_wrap .directions_head .label_current {
	font-style: normal;
	font-weight: 500;
}

.directions_wrap .local_info {
	display: flex;
	flex: 0 1 clamp(360px, 42.97vw, 702px);
	flex-direction: column;
	gap: 12px;
	width: clamp(360px, 42.97vw, 702px);
	margin: 0;
	padding: 0;
	list-style: none;
}

.directions_wrap .local_info a,
.directions_wrap .local_info_link {
	display: inline-flex;
	align-items: center;
	max-width: 100%;
	margin: 0;
	padding: 0;
	border: 0;
	background: transparent;
	color: var(--n-600, #5d5d5d);
	font-family: inherit;
	font-size: clamp(16px, 1.3vw, 20px);
	font-weight: 400;
	line-height: 1.5;
	text-align: left;
	text-decoration: none;
	cursor: pointer;
}

.directions_wrap .local_info a:hover,
.directions_wrap .local_info_link:hover {
	color: var(--n-900, #0c0c0c);
}

.directions_wrap .sect_content {
	display: flex;
	flex-direction: column;
	gap: clamp(56px, 5.47vw, 84px);
}

.directions_wrap .maps_wrap {
	display: flex;
	flex-direction: column;
	gap: 16px;
	width: 100%;
}

.directions_wrap .maps_box {
	position: relative;
	width: 100%;
	height: clamp(440px, 52.08vw, 600px);
	background: var(--gray-light2, #f6f6f6);
	overflow: hidden;
}

.directions_wrap .directions_map {
	position: relative;
	z-index: 0;
	width: 100%;
	height: 100%;
	border: 0;
	background: var(--gray-light2, #f6f6f6);
	box-sizing: border-box;
}

.directions_wrap .maps_tool {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px 20px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.directions_wrap .maps_tool button {
	position: relative;
	margin: 0;
	padding: 2px 0 4px;
	border: 0;
	border-bottom: 1px solid transparent;
	background: transparent;
	color: var(--n-600, #5d5d5d);
	font-family: inherit;
	font-size: 16px;
	font-weight: 500;
	line-height: 1.4;
	cursor: pointer;
	transition: border-color .2s ease, color .2s ease;
}

.directions_wrap .maps_tool button:hover,
.directions_wrap .maps_tool button.active {
	border-bottom-color: currentColor;
	color: var(--n-900, #0c0c0c);
}

.directions_panorama_wrap {
	position: relative;
	width: 100%;
	background: var(--gray-light2, #f6f6f6);
	overflow: hidden;
}

.directions_panorama {
	position: relative;
	width: 100%;
	height: clamp(360px, 42vw, 520px);
	border: 0;
	background: #1b2022;
	box-sizing: border-box;
}

.directions_panorama_summary {
	position: absolute;
	top: 24px;
	right: 24px;
	z-index: 2;
	width: min(320px, calc(100% - 48px));
	padding: 20px;
	border: 1px solid rgba(255, 255, 255, .7);
	background: rgba(255, 255, 255, .94);
	box-shadow: 0 12px 36px rgba(0, 0, 0, .14);
	box-sizing: border-box;
	pointer-events: none;
}

.directions_panorama_summary span,
.directions_panorama_summary strong,
.directions_panorama_summary p,
.directions_panorama_summary em {
	display: block;
}

.directions_panorama_summary span {
	margin-bottom: 8px;
	color: var(--gray-blue, #40535d);
	font-size: 12px;
	font-weight: 700;
	letter-spacing: .04em;
}

.directions_panorama_summary strong {
	margin-bottom: 6px;
	color: var(--n-900, #0c0c0c);
	font-size: 17px;
	font-weight: 600;
}

.directions_panorama_summary p {
	margin: 0 0 8px;
	color: var(--n-600, #5d5d5d);
	font-size: 14px;
	line-height: 1.55;
}

.directions_panorama_summary em {
	color: var(--n-400, #a5a5a5);
	font-size: 13px;
	font-style: normal;
}

.directions_simple_popup {
	position: relative;
	width: 292px;
	padding: 18px;
	border: 1px solid var(--gray-light, #dcddde);
	background: #fff;
	box-shadow: 0 8px 28px rgba(0, 0, 0, .16);
	box-sizing: border-box;
}

.directions_simple_popup:before,
.directions_simple_popup:after {
	position: absolute;
	left: 50%;
	width: 0;
	height: 0;
	border-style: solid;
	border-color: transparent;
	content: "";
	transform: translateX(-50%);
}

.directions_simple_popup:before {
	bottom: -12px;
	border-width: 11px 10px 0;
	border-top-color: var(--gray-light, #dcddde);
}

.directions_simple_popup:after {
	bottom: -10px;
	border-width: 10px 9px 0;
	border-top-color: #fff;
}

.directions_simple_popup strong,
.directions_simple_popup span {
	display: block;
}

.directions_simple_popup strong {
	margin-bottom: 6px;
	font-size: 16px;
	font-weight: 600;
}

.directions_simple_popup span {
	margin-bottom: 12px;
	color: var(--n-600, #5d5d5d);
	font-size: 13px;
	line-height: 1.5;
}

.directions_simple_popup button {
	width: 100%;
	height: 36px;
	border: 1px solid var(--n-900, #0c0c0c);
	background: var(--n-900, #0c0c0c);
	color: #fff;
	font-family: inherit;
	font-size: 13px;
	font-weight: 500;
	cursor: pointer;
}

.directions_wrap .route_area {
	width: 100%;
}

.directions_wrap .route_list {
	display: flex;
	flex-direction: column;
	gap: 0;
	margin: 0;
}

.directions_wrap .route_row {
	display: grid;
	grid-template-columns: clamp(130px, 10.42vw, 180px) minmax(0, 1fr);
	gap: clamp(28px, 3.13vw, 48px);
	padding: clamp(28px, 3.13vw, 44px) 0;
	border-top: 1px solid var(--gray-light, #dcddde);
}

.directions_wrap .route_row:first-child {
	padding-top: 0;
	border-top: 0;
}

.directions_wrap .route_row:last-child {
	padding-bottom: 0;
}

.directions_wrap .route_row > dt {
	margin: 0;
	color: var(--n-900, #0c0c0c);
	font-size: clamp(17px, 1.3vw, 20px);
	font-weight: 600;
	line-height: 1.5;
}

.directions_wrap .route_row > dd {
	min-width: 0;
	margin: 0;
	color: var(--n-600, #5d5d5d);
	font-size: 16px;
	line-height: 1.7;
}

.directions_wrap .stop_list {
	display: flex;
	flex-direction: column;
	gap: 9px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.directions_wrap .stop_list li {
	display: flex;
	align-items: center;
	gap: 10px;
}

.directions_wrap .stop_num {
	display: inline-flex;
	flex: 0 0 24px;
	align-items: center;
	justify-content: center;
	width: 24px;
	height: 24px;
	border-radius: 50%;
	background: var(--n-900, #0c0c0c);
	color: #fff;
	font-size: 13px;
	font-weight: 700;
	line-height: 1;
}

.directions_wrap .bus_item {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	margin: 0;
}

.directions_wrap .bus_badge {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 48px;
	height: 26px;
	padding: 0 9px;
	background: var(--point-primary, #40535d);
	color: #fff;
	font-size: 13px;
	font-weight: 700;
	line-height: 1;
	box-sizing: border-box;
}

.directions_info {
	min-width: 0;
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

.directions_info_title {
	margin: 0 0 14px;
	color: var(--n-900, #0c0c0c);
	font-size: 18px;
	font-weight: 600;
	line-height: 1.45;
}

.directions_location > strong {
	display: block;
	margin-bottom: 5px;
	color: var(--n-900, #0c0c0c);
	font-size: 17px;
	font-weight: 500;
}

.directions_location > p {
	margin: 0;
	color: var(--n-600, #5d5d5d);
}

.directions_location_data {
	display: grid;
	grid-template-columns: minmax(110px, 150px) minmax(0, 1fr);
	gap: 10px 20px;
	margin: 22px 0 0;
	padding: 20px 0;
	border-top: 1px solid var(--gray-light, #dcddde);
	border-bottom: 1px solid var(--gray-light, #dcddde);
}

.directions_wrap .route_row .directions_location_data dt {
	flex: none;
	width: auto;
	color: var(--n-600, #5d5d5d);
	font-size: 15px;
	font-weight: 400;
	line-height: 1.6;
}

.directions_wrap .route_row .directions_location_data dd {
	flex: none;
	width: auto;
	min-width: 0;
	margin: 0;
	color: var(--n-900, #0c0c0c);
	font-size: 15px;
	font-weight: 500;
	line-height: 1.6;
	word-break: keep-all;
}

.directions_status {
	margin: 16px 0 0;
	padding: 13px 16px;
	border-left: 3px solid var(--gray-blue, #40535d);
	background: var(--gray-light2, #f6f6f6);
	color: var(--gray-blue, #40535d);
	font-size: 14px;
	line-height: 1.55;
}

.directions_status:empty {
	display: none;
}

.directions_status.error {
	border-left-color: #9f4c3d;
	background: #fbf4f2;
	color: #8a382b;
}

.directions_manual_location {
	margin-top: 12px;
	padding: 18px;
	border: 1px solid var(--gray-light, #dcddde);
	background: var(--gray-light2, #f6f6f6);
	box-sizing: border-box;
}

.directions_manual_location > label {
	display: block;
	margin-bottom: 9px;
	color: var(--n-900, #0c0c0c);
	font-size: 14px;
	font-weight: 600;
}

.directions_manual_field {
	display: flex;
	gap: 8px;
}

.directions_manual_location input {
	flex: 1 1 auto;
	min-width: 0;
	height: 44px;
	padding: 0 14px;
	border: 1px solid var(--gray-light, #dcddde);
	background: #fff;
	color: var(--n-900, #0c0c0c);
	font-family: inherit;
	font-size: 14px;
	box-sizing: border-box;
}

.directions_manual_location button {
	flex: 0 0 116px;
	height: 44px;
	border: 1px solid var(--n-900, #0c0c0c);
	background: var(--n-900, #0c0c0c);
	color: #fff;
	font-family: inherit;
	font-size: 14px;
	font-weight: 500;
	cursor: pointer;
}

.directions_manual_location button:disabled {
	cursor: wait;
	opacity: .55;
}

.directions_manual_location > p {
	margin: 9px 0 0;
	color: var(--n-400, #a5a5a5);
	font-size: 13px;
	line-height: 1.5;
}

.directions_actions {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-top: 16px;
}

.directions_actions button,
.directions_result > button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 170px;
	height: 46px;
	padding: 0 20px;
	border: 1px solid var(--n-900, #0c0c0c);
	background: #fff;
	color: var(--n-900, #0c0c0c);
	font-family: inherit;
	font-size: 14px;
	font-weight: 500;
	cursor: pointer;
	box-sizing: border-box;
	transition: background-color .2s ease, color .2s ease, opacity .2s ease;
}

.directions_actions button:hover,
.directions_result > button:hover {
	background: var(--n-900, #0c0c0c);
	color: #fff;
}

.directions_actions #publicRouteButton {
	background: var(--n-900, #0c0c0c);
	color: #fff;
}

.directions_actions button:disabled,
.directions_result > button:disabled {
	border-color: var(--gray-light, #dcddde);
	background: var(--gray-light2, #f6f6f6);
	color: var(--n-400, #a5a5a5);
	cursor: default;
}

.directions_transit .route_memo {
	display: flex;
	flex-direction: column;
	gap: 6px;
}

.directions_transit .route_memo p {
	margin: 0;
	word-break: keep-all;
}

.directions_transit .route_memo p:nth-of-type(3) {
	margin-top: 8px;
}

.directions_transit .route_memo strong {
	color: var(--n-900, #0c0c0c);
	font-weight: 600;
}

.directions_result_head {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 20px;
}

.directions_route_option {
	display: flex;
	flex: 0 0 auto;
	align-items: center;
	gap: 10px;
	color: var(--n-600, #5d5d5d);
	font-size: 14px;
}

.directions_route_option select {
	height: 40px;
	padding: 0 32px 0 12px;
	border: 1px solid var(--gray-light, #dcddde);
	background-color: #fff;
	color: var(--n-900, #0c0c0c);
	font-family: inherit;
	font-size: 14px;
	box-sizing: border-box;
}

.directions_result > p {
	margin: 4px 0 0;
	color: var(--n-600, #5d5d5d);
}

.directions_metrics {
	display: none;
	grid-template-columns: minmax(110px, 1fr) auto minmax(110px, 1fr) auto;
	gap: 11px 20px;
	margin: 18px 0 0;
	padding: 20px;
	background: var(--gray-light2, #f6f6f6);
}

.directions_result.loaded > p {
	display: none;
}

.directions_result.loaded > .directions_metrics {
	display: grid;
}

.directions_wrap .route_row .directions_metrics dt {
	flex: none;
	width: auto;
	color: var(--n-600, #5d5d5d);
	font-size: 14px;
	font-weight: 400;
	line-height: 1.6;
}

.directions_wrap .route_row .directions_metrics dd {
	flex: none;
	width: auto;
	margin: 0;
	color: var(--n-900, #0c0c0c);
	font-size: 14px;
	font-weight: 600;
	line-height: 1.6;
	text-align: right;
}

.directions_result > button {
	margin-top: 16px;
}

.directions_guide {
	margin-top: 28px;
	padding-top: 28px;
	border-top: 1px solid var(--gray-light, #dcddde);
}

.directions_guide_head {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 20px;
	margin-bottom: 18px;
}

.directions_guide_head h3 {
	margin: 0;
	color: var(--n-900, #0c0c0c);
	font-size: 18px;
	font-weight: 600;
}

.directions_guide_head p {
	margin: 0;
	color: var(--n-400, #a5a5a5);
	font-size: 13px;
	line-height: 1.5;
}

.directions_guide ol {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 0;
	margin: 0;
	padding: 0;
	border-top: 1px solid var(--gray-light, #dcddde);
	list-style: none;
}

.directions_guide li {
	display: grid;
	grid-template-columns: 28px minmax(0, 1fr) auto;
	align-items: center;
	gap: 10px;
	padding: 14px 12px;
	border-bottom: 1px solid var(--gray-light, #dcddde);
}

.directions_guide li:nth-child(odd) {
	border-right: 1px solid var(--gray-light, #dcddde);
}

.directions_guide_number {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 24px;
	height: 24px;
	border-radius: 50%;
	background: var(--gray-blue, #40535d);
	color: #fff;
	font-size: 12px;
	font-weight: 700;
	line-height: 1;
}

.directions_guide li strong {
	color: var(--n-900, #0c0c0c);
	font-size: 14px;
	font-weight: 500;
	line-height: 1.45;
}

.directions_guide li em {
	color: var(--n-400, #a5a5a5);
	font-size: 12px;
	font-style: normal;
	white-space: nowrap;
}

@media screen and (max-width: 1024px) {
	.directions_wrap {
		padding-top: 80px;
	}

	.directions_wrap .sect_header {
		flex-direction: column;
		align-items: flex-start;
		gap: 36px;
	}

	.directions_wrap .local_info {
		flex-basis: auto;
		width: 100%;
	}

	.directions_wrap .maps_box {
		height: 500px;
	}

	.directions_wrap .route_row {
		grid-template-columns: 1fr;
		gap: 16px;
	}
}

@media screen and (max-width: 768px) {
	.directions_wrap {
		padding-top: 40px;
	}

	.directions_wrap .local_inner,
	.directions_wrap .sect_content {
		gap: 48px;
	}

	.directions_wrap .directions_head .page_tit {
		font-size: 30px;
	}

	.directions_wrap .maps_box {
		height: 380px;
	}

	.directions_panorama {
		height: 380px;
	}

	.directions_panorama_summary {
		top: 16px;
		right: 16px;
		width: min(300px, calc(100% - 32px));
		padding: 16px;
	}

	.directions_wrap .route_row {
		padding: 28px 0;
	}

	.directions_location_data {
		grid-template-columns: minmax(100px, 130px) minmax(0, 1fr);
	}

	.directions_result_head,
	.directions_guide_head {
		flex-direction: column;
		align-items: flex-start;
	}

	.directions_route_option {
		width: 100%;
		justify-content: space-between;
	}

	.directions_metrics {
		grid-template-columns: minmax(110px, 1fr) auto;
	}

	.directions_guide ol {
		grid-template-columns: 1fr;
	}

	.directions_guide li:nth-child(odd) {
		border-right: 0;
	}
}

@media screen and (max-width: 600px) {
	.directions_wrap .directions_head .page_tit {
		font-size: 27px;
	}

	.directions_wrap .maps_box {
		height: 340px;
	}

	.directions_panorama {
		height: 320px;
	}

	.directions_panorama_summary {
		position: static;
		width: 100%;
		border: 1px solid var(--gray-light, #dcddde);
		box-shadow: none;
	}

	.directions_manual_field {
		flex-direction: column;
	}

	.directions_manual_location button {
		flex-basis: auto;
		width: 100%;
	}

	.directions_actions {
		display: grid;
		grid-template-columns: 1fr;
	}

	.directions_actions button,
	.directions_result > button {
		width: 100%;
		min-width: 0;
	}

	.directions_location_data {
		grid-template-columns: 1fr;
		gap: 4px;
	}

	.directions_location_data dd + dt {
		margin-top: 9px;
	}

	.directions_metrics {
		padding: 16px;
	}

	.directions_guide li {
		grid-template-columns: 26px minmax(0, 1fr);
	}

	.directions_guide li em {
		grid-column: 2;
	}

	.directions_simple_popup {
		width: 250px;
	}
}
