/* header */
#header {
	width: 100vw;
	position: fixed;
	z-index: 100;
	font-family: "Noto Sans KR", sans-serif;
}

/* 헤더 컨테이너 */
#header .header_container {
	width: 89.8%;
	margin: 0 auto;
}
/* 최상단 메뉴 */
#header .top_menu {
	width: 100%;
	height: 44px;
	background-color: #2a2a2a;
}
#header .top_menu .header_container {
	height: 100%;
	display: flex;
	justify-content: space-between;
	align-items: center;
}

/* 최상단 메뉴 -> 패밀리사이트 */
#header .top_menu .links ul {
	display: flex;
	gap: 0 8px;
	align-items: center;
}
#header .top_menu .links ul li a {
	width: 70px;
	height: 24px;
	display: flex;
	align-items: center;
	justify-content: center;
	border: 1px solid #d2d2d2;
	border-radius: 20px;
	font-size: 14px;
	line-height: 20px;
	color: #d2d2d2;
	transition: all 0.3s ease;
}
#header .top_menu .links ul li.active a,
#header .top_menu .links ul li a:hover {
	background-color: #d2d2d2;
	border: 1px solid #d2d2d2;
	color: #2a2a2a;
	transition: all 0.1s ease;
}

/* 최상단 메뉴 -> utils 버튼(로그인, 회원가입, 언어) */
#header .top_menu .utils {
	display: flex;
	height: 100%;
	gap: 0 43px;
	align-items: center;
}
#header .top_menu .utils ul {
	display: flex;
	align-items: center;
	gap: 0 14px;
}
#header .top_menu .utils ul.member {
	gap: 0 28px;
}
#header .top_menu .utils ul.member li:last-child {
	position: relative;
}
#header .top_menu .utils ul.member li:last-child::before {
	position: absolute;
	left: -14px;
	top: 50%;
	transform: translateY(-50%);
	color: #b2b2b2;
	content: "|";
}
#header .top_menu .utils ul li a {
	display: flex;
	align-items: center;
	font-size: 15px;
	color: #b2b2b2;
}

/* 메인 헤더 */
#header .main_header {
	width: 100%;
	height: 90px;
	transition: all 0.3s ease-in-out;
	background-color: #fff;
	box-shadow: rgba(0, 0, 0, 0.08) 0px 0px 6px 0px;
	transition: all 0.3s ease-in-out;
}
#header .main_header .header_container {
	height: 100%;
	display: flex;
	align-items: center;
	justify-content: space-between;
}

/* 메인 헤더 -> 로고 */
#header .main_header .hd_logo {
	width: 226px;
}
#header .main_header .hd_logo img {
	width: 100%;
}

/* 메인 헤더 -> GNB(PC) */
#header .main_header .pc_gnb {
	width: calc(100% - 380px);
}
#header .main_header .pc_gnb ul {
	display: flex;
	width: 100%;
	height: 100%;
	justify-content: center;
}

/* 메인 헤더 -> 1차 GNB */
#header .main_header .pc_gnb .main_menu > li {
	display: inline-block;
	text-align: center;
	margin: 0 1.5%;
	height: 100%;
	position: relative;
}
#header .main_header .pc_gnb .main_menu > li > a {
	color: #0f0f0f;
	font-size: 18px;
	line-height: 20px;
	display: inline-block;
	padding: 30px 0;
	letter-spacing: -0.2px;
}
#header .main_header .pc_gnb .main_menu > li.sub_active > a {
	font-weight: 500;
}
#header .main_header .pc_gnb .main_menu > li.sub_active > a::after {
	content: "";
	position: absolute;
	bottom: 20px;
	left: 0;
	width: 100%;
	height: 2px;
	background-color: #0f0f0f;
}
#header .main_header .pc_gnb .main_menu > li > a::after {
	content: "";
	position: absolute;
	bottom: 20px;
	left: 0;
	width: 0;
	height: 2px;
	background-color: #0f0f0f;
	transition: width 0.8s cubic-bezier(0.2, 0.9, 0.4, 1.1);
}
#header .main_header .pc_gnb .main_menu > li:hover > a::after {
	width: 100%;
}

/* 메인 헤더 -> 2차 GNB(서브 메뉴) */
#header .main_header .pc_gnb .sub_menu {
	position: absolute;
	left: 50%;
	transform: translateX(-50%);
	top: 70px;
	height: auto;
	content: "";
	background-color: #000000d8;
	flex-direction: column;
	width: 200px;
	padding: 44px 0;
	gap: 18px 0;
	display: none;
}
#header .main_header .pc_gnb .sub_menu li {
	display: flex;
	align-items: center;
	justify-content: center;
}
#header .main_header .pc_gnb .sub_menu li:hover a {
	font-weight: 500;
	color: #fff;
	transition: all 0.3s ease;
}
#header .main_header .pc_gnb .sub_menu li a {
	color: #e8e8e8;
	display: block;
	padding: 0 30px;
	font-weight: 300;
	transition: all 0.3s ease;
}

/* 메인 헤더 -> 빠른 상담 */
#header .main_header .hd_quick {
	width: 120px;
	cursor: pointer;
}
#header .main_header .hd_quick {
	color: #000;
	gap: 0 14px;
	font-size: 16px;
	line-height: 20px;
	display: flex;
	align-items: center;
	border: 1px solid #d3d3d3;
	border-radius: 30px;
	padding: 8px 15px;
	position: relative;
}
#header .main_header .hd_quick img {
	width: 26px;
}
#header .main_header .hd_quick::before {
	position: absolute;
	content: "";
	width: 24px;
	height: 24px;
	left: 34px;
	top: -4px;
	background-image: url(/images/middle-aged/utils/quick_icon02.png);
	background-repeat: no-repeat;
}
#header .main_header .hd_quick .rolling_text {
	height: 28px;
	line-height: 26px;
	overflow: hidden;
}
#header .main_header .hd_quick .rolling_text .swiper,
#header .main_header .hd_quick .rolling_text .swiper-wrapper,
#header .main_header .hd_quick .rolling_text .swiper-slide {
	height: 100%;
}

/* 메인 헤더 -> GNB(Mobile) */
.mobile_gnb {
	display: none;
}

/* 빠른예약 팝업 */
#quick_counsel_pop {
	display: none;
	position: fixed;
	width: 100%;
	height: 100%;
	left: 0;
	top: 0;
	z-index: 9999;
}
#quick_counsel_pop .quick_bg {
	width: 100%;
	height: 100%;
	background: rgba(0, 0, 0, 0.7);
}
#quick_counsel_pop .quick_counsel_pop_close {
	position: absolute;
	right: -10px;
	top: -44px;
	padding: 10px;
	cursor: pointer;
}
#quick_counsel_pop .quick_counsel_pop_close svg {
	width: 20px;
	height: 20px;
}
#quick_counsel_pop .quick_box {
	position: absolute;
	width: 480px;
	height: 580px;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	z-index: 99999;
	background: #fcfcfc;
	padding: 0 50px;
	display: flex;
	flex-direction: column;
	justify-content: center;
	box-sizing: border-box;
}
#quick_counsel_pop .quick_box h3 {
	font-size: 24px;
	color: #1e1e1e;
	margin-bottom: 30px;
	font-weight: 500;
}
#quick_counsel_pop .quick_box .quick_db li {
	margin-bottom: 6%;
}
#quick_counsel_pop .quick_box .quick_db li p {
	display: inline-block;
	font-size: 17px;
	color: #1e1e1e;
	margin-right: 80px;
	font-weight: 500;
}
#quick_counsel_pop .quick_box .quick_db li label {
	margin-right: 4%;
	color: #1e1e1e;
	cursor: ponter !important;
}
#quick_counsel_pop .quick_box .quick_db li input,
#quick_counsel_pop .quick_box .quick_db li select {
	font-size: 17px;
	cursor: pointer;
}
#quick_counsel_pop .quick_box .quick_db li.text_input label {
	display: block;
	width: 100%;
	font-size: 17px;
	color: #1e1e1e;
	margin-bottom: 5px;
	font-weight: 500;
}
#quick_counsel_pop .quick_box .quick_db li.text_input input,
#quick_counsel_pop .quick_box .quick_db li.text_input select {
	width: 100%;
	box-sizing: border-box;
	border: 0;
	border-bottom: 1px solid #ededed;
	background: none;
	padding: 8px 0;
	color:#3c3c3c;
}
#quick_counsel_pop .quick_box .quick_db li.text_input input {
	padding: 8px 2px;
}
#quick_counsel_pop .quick_box .quick_db li.text_input input::placeholder {
	color: #cbcbcb;
}
#quick_counsel_pop .quick_box .agree {
	margin-bottom: 5%;
}
#quick_counsel_pop .quick_box .radio_input label,
#quick_counsel_pop .quick_box .agree label {
	cursor: pointer;
}
#quick_counsel_pop .quick_box .agree input {
	margin-right: 5px;
	cursor: pointer;
}
#quick_counsel_pop .quick_box button {
	font-family: "Noto Sans KR", sans-serif;
	width: 100%;
	cursor: pointer;
	background-color: #ff1e34;
	transition: all 0.3s ease;
	color: #fff;
	font-size: 18px;
	border: 0;
	height: 60px;
	border-radius: 5px;
	font-weight: 500;
}
#quick_counsel_pop .quick_box button:hover {
	background-color: #d00015;
	transition: all 0.3s ease;
}
@media (max-width: 1700px) {
	#header .main_header .pc_gnb .main_menu > li {
		display: inline-block;
		text-align: center;
		margin: 0 1%;
		height: 100%;
	}
	#header .main_header .pc_gnb .main_menu > li > a {
		font-size: 16px;
		line-height: 20px;
		display: inline-block;
		padding: 30px 0;
		letter-spacing: -0.2px;
	}
}
@media (max-width: 1412px) {
	#header .header_container {
		width: 92%;
		margin: 0 auto;
	}
	#header .main_header .hd_logo {
		width: 180px;
	}
	#header .main_header .hd_quick {
		width: 90px;
		cursor: pointer;
	}
	#header .main_header .pc_gnb {
		width: calc(100% - 270px);
	}
	#header .main_header .hd_quick {
		font-size: 14px;
		padding: 4px 8px;
		gap: 0 8px;
	}
	#header .main_header .hd_quick img {
		width: 24px;
	}
	#header .main_header .pc_gnb .main_menu > li {
		margin: 0 0.8%;
	}
	#header .main_header .pc_gnb .main_menu > li > a {
		font-size: 1.2vw;
		line-height: 18px;
	}
	/* 2차 GNB(서브 메뉴) */
	#header .main_header .pc_gnb .sub_menu {
		padding: 36px 0;
	}
	#header .main_header .pc_gnb .sub_menu li a {
		padding: 0 30px;
		font-size: 1.2vw;
	}
}
@media (max-width: 1200px) {
	#header .top_menu .header_container {
		justify-content: center;
	}
	#header .top_menu .utils {
		display: none;
	}

	#header .main_header .pc_gnb {
		display: none;
	}
	.hd_quick {
		margin-left: auto;
		margin-right: 24px;
	}

	/* 메인 헤더 -> GNB(Mobile) */
	.mobile_gnb {
		position: relative;
		display: block;
	}

	.mobile_gnb .hamburger_menu {
		display: flex;
		flex-direction: column;
		justify-content: space-between;
		width: 30px;
		height: 24px;
		cursor: pointer;
	}
	.mobile_gnb .hamburger_menu span {
		display: block;
		height: 2px;
		width: 100%;
		background-color: #000;
		border-radius: 2px;
		transition: all 0.3s ease;
	}

	.mobile_gnb .m_menu_list {
		display: none;
		position: fixed;
		top: 44px;
		z-index: 200;
		right: 0;
		width: 100%;
		height: 100vh;
		vertical-align: top;
		box-sizing: border-box;
	}
	.mobile_gnb .m_menu_list::before {
		position: absolute;
		left: 0;
		top: 0;
		width: 100%;
		height: 100vh;
		content: "";
		background-color: rgba(255, 255, 255, 0.97);
		z-index: -1;
	}
	.mobile_gnb .m_menu_list .utils {
		width: 100%;
		height: 90px;
		background-color: #c9aa97;
	}

	.mobile_gnb .m_menu_list .utils ul {
		display: flex;
		align-items: center;
		margin-right: 2%;
	}
	.mobile_gnb .m_menu_list .utils .member {
		gap: 0 20px;
	}
	.mobile_gnb .m_menu_list .utils .member li {
		display: inline-block;
	}
	.mobile_gnb .m_menu_list .utils .member li a {
		color: #fff;
		font-size: 18px;
		font-weight: 500;
		padding: 32px 0;
	}
	.mobile_gnb .m_menu_list .utils .member li:last-child {
		position: relative;
	}
	.mobile_gnb .m_menu_list .utils .member li:last-child::before {
		position: absolute;
		left: -11px;
		top: 50%;
		transform: translateY(-50%);
		color: #fff;
		content: "|";
	}
	.mobile_gnb .m_menu_list .utils .lang {
		margin-right: auto;
		gap: 0 12px;
	}
	.mobile_gnb .m_menu_list .utils .lang img {
		border-radius: 50%;
		width: 35px;
		height: 35px;
		object-fit: cover;
	}
	.mobile_gnb .m_menu_list .m_menu_close {
		width: 30px;
		cursor: pointer;
		padding: 32px 10px;
	}

	.mobile_gnb .m_menu_list .main_menu {
		width: 100%;
		height: 70%;
		padding: 20px 0;
		display: flex;
		flex-direction: column;
		align-items: center;
		overflow-y: scroll;
		overflow-x:hidden;
		z-index: 1001;
		position: relative;
	}
	.mobile_gnb .m_menu_list .main_menu > li {
		width: 100%;
		text-align: center;
		opacity: 0;
		transform: translateY(20px);
		transition: opacity 0.5s ease, transform 0.5s ease;
	}
	.mobile_gnb .m_menu_list .main_menu > li > a {
		display: inline-block;
		padding: 14px 0;
		width: 100%;
		font-size: 20px;
		font-weight: 500;
		transition: all 0.3s ease;
	}
	.mobile_gnb .m_menu_list .main_menu > li.active > a {
		color: #ad8979 !important;
	}
	/* .mobile_gnb .m_menu_list .main_menu > li:hover > a {
		color: #ad8979 !important;
		transition: all 0.3s ease;
	} */
	.mobile_gnb .m_menu_list .main_menu .sub_menu {
		display: none;
		flex-direction: column;
	}
	.mobile_gnb .m_menu_list .main_menu .sub_menu li a {
		display: inline-block;
		padding: 14px 0;
		width: 100%;
		font-size: 18px;
		font-weight: 400;
		transition: all 0.3s ease;
	}
	/* .mobile_gnb .m_menu_list .main_menu .sub_menu li a:hover {
		font-weight: 600;
	} */
	#header .main_header .hd_quick {
		width: auto;
		cursor: pointer;
	}
	#header .main_header .hd_quick {
		border: 0;
		border-radius: 0;
		padding: 0;
		position: relative;
	}
	#header .main_header .hd_quick img {
		width: 30px;
	}
	#header .main_header .hd_quick::before {
		display: none;
	}
	#header .main_header .hd_quick .rolling_text {
		display: none;
	}

	#header.sub_page .main_header .hamburger_menu span {
		background-color: #000;
	}
	#header.sub_page .main_header {
		background-color: #fff;
		box-shadow: rgba(0, 0, 0, 0.08) 0px 0px 6px 0px;
		transition: all 0.3s ease-in-out;
	}
}
@media (max-width: 768px) {
	#header .header_container {
		width: 92%;
	}

	/* 메인 헤더 */
	#header .main_header {
		height: 60px;
	}
	.hd_quick {
		margin-left: auto;
		margin-right: 20px;
	}
	.mobile_gnb .m_menu_list .utils {
		height: 60px;
	}
	.mobile_gnb .m_menu_list .utils ul {
		margin-right: 4%;
	}
	.mobile_gnb .m_menu_list .utils .member {
		gap: 0 20px;
	}
	.mobile_gnb .m_menu_list .utils .member li {
		display: inline-block;
	}
	.mobile_gnb .m_menu_list .utils .member li a {
		font-size: 16px;
		padding: 25px 0;
	}
	.mobile_gnb .m_menu_list .utils .member li:last-child::before {
		font-size: 16px;
	}
	.mobile_gnb .m_menu_list .utils .lang {
		margin-right: auto;
		gap: 0 6px;
	}
	.mobile_gnb .m_menu_list .utils .lang img {
		width: 25px;
		height: 25px;
	}
	.mobile_gnb .m_menu_list .m_menu_close {
		width: 24px;
		padding: 25px 0px;
	}
	.mobile_gnb .m_menu_list .main_menu > li > a {
		padding: 10px 0;
		font-size: 18px;
	}
	.mobile_gnb .m_menu_list .main_menu .sub_menu li a {
		display: inline-block;
		padding: 10px 0;
		font-size: 16px;
	}

	/* 빠른예약 팝업 */
#quick_counsel_pop .quick_box {
		position: absolute;
		width: 84%;
		height: auto;
		padding: 8% 0 0;
		border-radius: 0;
	}
	#quick_counsel_pop .quick_box h3 {
		font-size: 18px;
		margin-bottom: 16px;
	}
	#quick_counsel_pop .quick_box .quick_db li {
		margin-bottom: 6%;
	}
	#quick_counsel_pop .quick_box .quick_db li p {
		font-size: 14px;
		margin-right: 20px;
	}
	#quick_counsel_pop .quick_box .quick_db li label,
	#quick_counsel_pop .quick_box .quick_db li input,
	#quick_counsel_pop .quick_box .quick_db li select {
		font-size: 14px;
	}
	#quick_counsel_pop .quick_box .quick_db li.text_input label {
		font-size: 14px;
	}
	#quick_counsel_pop .quick_box .quick_db li.text_input input,
	#quick_counsel_pop .quick_box .quick_db li.text_input select {
		padding: 6px 0;
		border-radius: 0;
	}
	#quick_counsel_pop .quick_box .quick_db li.text_input select{
		appearance:none;
		background:url('/images/middle-aged/utils/select_arrow.png') no-repeat right 10px center;
		background-size: 14px;
	}
	#quick_counsel_pop .quick_box .quick_db li.text_input input {
		padding: 6px 2px;
		border-radius: 0;
	}
	#quick_counsel_pop .quick_box .agree {
		margin-bottom: 5%;
		font-size: 12px;
		display: flex;
		align-items: flex-end;
	}
	#quick_counsel_pop .quick_box h3,
	#quick_counsel_pop .quick_box .quick_db,
	#quick_counsel_pop .quick_box .agree {
		padding: 0 6%;
	}
	#quick_counsel_pop .quick_box button {
		font-size: 16px;
		height: 50px;
		border-radius: 0;
		margin-top: 30px;
	}
}
