/* Header_bar. */

.header_bar {
	position: relative;
	grid-gap: 40px;
	padding: 20px 0;
}

.header_bar__right {
	display: flex;
	justify-content: space-between;
}

.language {
	margin-left: auto;
}

.header_bar_tel {
	font-weight: 600;
	font-size: 1rem;
	position: relative;
}

#contact_us {
	font-size: 0.85rem;
}

@media screen and (min-width: 1030px) {
	#contact_us {
		font-size: 1rem;
	}

	.header_bar_tel {
		margin-right: 2rem;
	}

	.header_bar_tel__mob {
		display: none;
	}
}

#contact_us .s-icon {
	transition: transform .2s;
}

#contact_us span {
	margin-right: 0.5rem;
	margin-left: 0.5rem;
}

#contact_us.on .s-icon:nth-last-of-type(1) {
	transform: rotate(180deg);
}

.header_bar_tel_wrapper .s-icon {
	display: inline;
	margin-right: 0.75rem;
}

.header_bar_tel_wrapper.on {
	opacity: 1;
	transform: unset;
}

.header_bar_tel_wrapper {
	min-width: 240px;
	position: absolute;
	top: 100%;
	right: 0;
	margin-top: 0.5rem;
	padding: 1rem 1.25rem;
	background-color: var(--bg);
	border-radius: 8px;
	transform: translateY(-99999px);
	transition: opacity .43s;
	box-shadow: var(--box-shadow-sm);
	opacity: 0;
	z-index: 10;
}

.header_bar_tel_wrapper a {
	white-space: nowrap;
	transition: background-color .35s;
	display: flex;
	align-items: center;
	padding: 0.35rem 0.5rem;
	margin-bottom: .5rem;
	border-radius: 6px;
}

.header_bar_tel_wrapper a:hover {
	background-color: var(--gray-100);
}

.open-time__title {
	display: flex;
	justify-content: flex-end;
	padding: 0.25rem 0;
	align-items: center;
}

.header_bar_nav ul {
	display: flex;
	align-items: center;
}

.header_bar_nav a {
	--color: var(--gray);
	padding: 0.5rem;
	position: relative;
	text-align: center;
	margin-right: .25rem;
	margin-left: .25rem;
	transition: color .35s ease-in-out;
	font-size: 1.1rem;
}

.header_bar_nav a:hover {
	color: var(--primary);
}

.header_bar_nav a::before {
	content: '';
	width: 100%;
	height: .2rem;
	position: absolute;
	bottom: 0;
	left: 0;
	transition: background-color .35s ease-in-out;
}

.header_bar_nav .active a::before, .header_bar_nav a:hover::before {
	background-color: var(--primary);
}

.header_bar_lang .language > * + * {
	margin-left: 4px;
}

.header_bar_lang .language .link.active {
	color: var(--primary);
}

.header_bar_lang .language a.link:hover{
	border-bottom: 2px solid var(--primary);
}

@media only screen and (max-width: 1030px) {
	.header_bar {
		display: none;
	}
}