/* =========================================================
   CrazyLove New Header
========================================================= */

.cl-header {
	background: var(--bg-color);
	padding: 22px 0 0;
}

.cl-header-inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 40px;
}

.cl-header-logo {
	width: 300px;
	max-width: 42%;
}

.cl-header-logo a {
	display: block;
}

.cl-header-logo img {
	display: block;
	width: 100%;
	height: auto;
}

.cl-header-nav{
    flex:0 1 auto;
    display:flex;
    justify-content:flex-end;
}

.cl-header-nav nav {
	width: 100%;
}

.cl-header-nav .top-nav {
	display: flex;
	align-items: center;
	justify-content: flex-end;
	gap: 10px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.cl-header-nav .top-nav > li {
	margin: 0;
	padding: 0;
}

.cl-header-nav .top-nav > li > a {
	display: block;
	padding: 8px 0;
	color: #123f78;
	font-family: Georgia, "Times New Roman", serif;
	font-size: 17px;
	font-weight: normal;
	text-decoration: none;
	letter-spacing: 0.02em;
	background: transparent;
	border: 0;
}

.cl-header-nav .top-nav > li > a:hover {
	color: #8f2638;
}

.cl-header-line {
	position: relative;
	width: calc(100% - 80px);
	max-width: 1440px;
	height: 30px;
	margin: 0 auto;
}

.cl-header-line::before {
	content: "";
	position: absolute;
	top: 14px;
	left: 0;
	right: 0;
	height: 1px;
	background: #b9cbe0;
}

.cl-header-line span {
	position: absolute;
	top: 9px;
	left: 50%;
	width: 10px;
	height: 10px;
	background: var(--bg-color);
	border: 1px solid #9db5d2;
	transform: translateX(-50%) rotate(45deg);
}

/* mobile */

@media screen and (max-width: 767px) {

	.cl-header {
		padding-top: 10px;
	}

	.cl-header-inner {
		position: relative;
		display: block;
	}

	.cl-header-logo {
		width: 290px;
		max-width: calc(100% - 55px);
	}

	.cl-header-nav {
		position: absolute;
		top: 50%;
		right: 0;
		transform: translateY(-50%);
	}

	.cl-header-line {
		width: calc(100% - 30px);
		height: 20px;
	}

	.cl-header-line::before {
		top: 9px;
	}

	.cl-header-line span {
		top: 4px;
	}

}

@media screen and (max-width: 767px) {

	.cl-header-nav .top-nav {
		display: block !important;
		margin: 0 !important;
		padding: 60px 25px 25px !important;
	}

	.cl-header-nav .top-nav > li {
		display: block !important;
		width: 100% !important;
		margin: 0 !important;
		border-bottom: 1px solid #d7e1ed;
	}

	.cl-header-nav .top-nav > li > a {
		display: block !important;
		width: 100% !important;
		padding: 14px 5px !important;
		font-size: 16px !important;
		color: #123f78 !important;
		text-align: left !important;
	}

}

/* =========================================================
   CrazyLove PC Header Layout Fix
========================================================= */

@media screen and (min-width: 768px) {

	.cl-header .cl-header-inner {
		display: flex !important;
		flex-direction: row !important;
		align-items: center !important;
		justify-content: space-between !important;
		flex-wrap: nowrap !important;
	}

	.cl-header-logo {
		flex: 0 0 420px !important;
		width: 420px !important;
		max-width: 420px !important;
		margin: 0 !important;
	}

	.cl-header-nav {
		position: static !important;
		display: flex !important;
		flex: 0 0 auto !important;
		justify-content: flex-end !important;
		margin: 0 !important;
	}

	.cl-header-nav nav {
		position: static !important;
		display: block !important;
		width: auto !important;
		height: auto !important;
		background: transparent !important;
		box-shadow: none !important;
	}

	.cl-header-nav .top-nav {
		display: flex !important;
		flex-direction: row !important;
		align-items: center !important;
		justify-content: flex-end !important;
		flex-wrap: nowrap !important;
	}

	#formenubar {
		display: none !important;
	}

}
@media screen and (min-width: 768px) {
	.cl-header-logo {
		flex: 0 0 340px !important;
		width: 340px !important;
		max-width: 340px !important;
	}
}