@charset "utf-8";

#wrap { position: relative; margin: 0 auto; width: 100%; min-width: 1300px; overflow: hidden; }
@media (max-width: 1299px) { #wrap { min-width: 0; } }

.top_member { width: 100%; height: 48px; background-color: #a7a09d; overflow: hidden; }
.top_member li { display: inline-block; }
.mem_cont { width: 1300px; text-align: right; margin: 0 auto; padding-top: 10px; }
.right_txt01 li a { color: #fff; font-weight: 300; font-size: 14px; }
.right_txt01 .txt01 { color: #fef7ca !important; font-weight: 500 !important; }
.right_txt01 .txt02 { color: #a4efd5 !important; font-weight: 500 !important; }
.right_txt01 .txt-unicut { color: #F1D8F1 !important; font-weight: 500 !important; }

#header { overflow: hidden; position: fixed; left: 0; opacity: .95; z-index: 1000; width: 100%; height: 70px;
	background: #fff; border-top: 1px solid #c4c3c1; border-bottom: 1px solid #c4c3c1;
	transition: height .3s, background .3s; }
#header.fixed_top { top: 0; background: #f5f0ee; }
#header .inwrap { position: relative; z-index: 10; width: 1300px; margin: 0 auto; height: 70px; }
#header h6 { position: absolute; top: 10px; left: 20px; }
#header h6 img { vertical-align: top; }

#header .gnb_list { position: absolute; top: 0; left: 17%; text-align: center; }
#header .gnb_list > li { float: left; position: relative; }
#header .gnb_list > li > a { display: block; position: relative; padding: 0 16px; height: 70px; }
#header .gnb_list > li > a span { display: block; font-family: 'S-CoreDream-4Regular'; font-size: 16px; line-height: 70px; color: #222; transition: color .3s; }
#header .gnb_list > li > a::after { position: absolute; left: 16px; right: 16px; bottom: 0; height: 2px; background: #666; content: ''; opacity: 0; transition: opacity .3s; }
#header .gnb_list > li:hover > a span { color: #ffc379; }
#header .gnb_list > li:hover > a::after { opacity: 1; }

#header .gnb_list .sub { display: none; }
#header .gnb_list .sub li a { display: block; color: #333; white-space: nowrap; transition: color .3s; }
#header .gnb_list .sub li a:hover { color: #8bd3c3; }

@media (min-width: 1100px) {
	#header::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 70px; background: #fff; }
	#header::after  { content: ''; position: absolute; top: 70px; left: 0; right: 0; height: 500px; background: #fff; }
	#header.open { height: 480px; }

	#header .gnb_list .sub { display: block; padding-top: 37px; text-align: center; }
	#header .gnb_list .sub li a { padding: 0; font-size: 16px; line-height: 30px; }
}

.pc_none { display: none; }
.pub-mobile-only { display: none; }

.pub-mnav__toggle, .pub-mnav__tel, .pub-mnav__overlay, .pub-mnav__head { display: none; }

#bottom_coun { width: 100%; height: 100px; background-color: rgba(245,199,187,.8); position: fixed; bottom: 0; left: 0; z-index: 99999; }
.bot_counsel { width: 1050px; margin: 0 auto; }
#bottom_coun .counselArea { display: block; }
#bottom_coun .counselArea table { width: 100%; }
#bottom_coun .counselArea input[type="text"],
#bottom_coun .counselArea textarea { box-sizing: content-box; }
#bottom_coun .counselArea input[type="text"].tel,
#bottom_coun .counselArea input[type="text"].name { width: 150px; height: 42px; padding: 0 0 0 10px; margin-right: 10px; }

#quick { position: fixed; right: 2.5%; top: 42%; margin-top: -240px; z-index: 10000; width: 85px; }
#quick ul li { margin-top: 8px; text-align: center; }
#quick ul li.quick_top { height: 38px; margin-top: 10px; }

#footer_wrap { clear: both; width: 100%; background: #a09f9e; }
/* PC: 하단 고정 상담폼(100px)이 푸터 끝을 덮지 않게 */
@media (min-width: 1100px) {
	#footer_wrap { padding-bottom: 100px; }
}
#footer_wrap #footer { width: 1300px; margin: 0 auto; overflow: hidden; padding: 20px 0; }
#footer address { width: 100%; text-align: center; font-weight: 400; font-style: normal; font-size: 18px; color: #fff; line-height: 1.7; }
#footer address a:link { color: #ccc; }
#footer address a:visited { color: #ccc; }
.pub-footer-member { text-align: center; padding-bottom: 16px; }
.pub-footer-member a { color: #ccc; font-size: 15px; }
#footer address .line { padding: 0 7px; color: #fff; }
#footer .copyright { display: block; padding-top: 14px; padding-bottom: 24px; color: #ccc; font-weight: 400; font-size: 16px; text-align: center; }

.pub-btm-btns { display: none; }

.pub-mobile-landing { display: none; }
.pub-mobile-landing [id^="landing_"] { width: 100% !important; max-width: 100% !important; box-sizing: border-box; }

.pub-mobile-landing [id^="landing_"] { letter-spacing: normal !important; }
.pub-mobile-landing [id^="landing_"] .title p.tit { color: #000 !important; }
.pub-mobile-landing [id^="landing_"] * { box-sizing: content-box; }
.pub-mobile-landing [id^="landing_"] .btn_Grey span { font-size: 18px !important; }
.pub-mobile-landing [id^="landing_"] th,
.pub-mobile-landing [id^="landing_"] td,
.pub-mobile-landing [id^="landing_"] input.input_text,
.pub-mobile-landing [id^="landing_"] textarea,
.pub-mobile-landing [id^="landing_"] a.btn_Grey { font-size: 20px !important; }
.pub-mobile-landing [id^="landing_"] span.privacy { font-size: 18px !important; }
.pub-mobile-landing [id^="landing_"] a.privacy    { font-size: 16.2px !important; }

@media (min-width: 1100px) and (max-width: 1280px) {
	.mem_cont { width: 100%; }
	#header .inwrap { width: 100%; }

	#header {
		--pub-gnb-p: clamp(4px, calc(4px + (100vw - 1100px) / 30), 10px);
		--pub-logo-w: clamp(130px, calc(130px + (100vw - 1100px) * 25 / 180), 155px);
		--pub-gnb-sub: clamp(13.5px, calc(13.5px + (100vw - 1100px) * 2.5 / 180), 16px);
	}
	#header h6.m_none { top: calc(10px + (54px - var(--pub-logo-w) * 54 / 155) / 2); }
	#header h6.m_none img { width: var(--pub-logo-w); height: auto; }
	#header #top_link.gnb_list { left: calc(20px + var(--pub-logo-w) + 16px - var(--pub-gnb-p)); }
	#header .gnb_list > li > a { padding: 0 var(--pub-gnb-p); }
	#header .gnb_list > li > a span { font-size: clamp(15px, calc(15px + (100vw - 1100px) / 180), 16px); }
	#header .gnb_list > li > a::after { left: var(--pub-gnb-p); right: var(--pub-gnb-p); }
	#header .gnb_list .sub li a { font-size: var(--pub-gnb-sub); }
	#header .gnb_list > li:nth-child(7) { font-size: var(--pub-gnb-sub); min-width: 5.2em; }
}


@media (max-width: 1099px) {
	#header { overflow: visible; }
	body.pub-mnav-open #header { z-index: 100000; }
	#header .inwrap { width: 100%; height: 100%; padding: 0 2.5%; box-sizing: border-box; }

	#header .inwrap h6.m_none {
		display: flex; align-items: center; justify-content: center;
		position: absolute; left: 0; right: 0; top: 0; bottom: 0; margin: 0;
		width: auto; text-align: center; pointer-events: none;
	}
	#header .inwrap h6.m_none a { pointer-events: auto; }
	#header .inwrap h6.m_none img { height: 44px; width: auto; }
	.pc_none { display: none; }

	.pub-mnav__toggle {
		display: flex; flex-direction: column; justify-content: center; gap: 6px;
		position: absolute; left: 2.5%; top: 50%; transform: translateY(-50%);
		width: 40px; height: 40px;
		padding: 0; border: none; background: none; cursor: pointer; z-index: 10002;
	}
	.pub-mnav__toggle span { display: block; width: 100%; height: 3px; background: #333; border-radius: 1px; }
	body.pub-mnav-open .pub-mnav__toggle { display: none; }

	.pub-mnav__tel {
		display: flex; align-items: center; justify-content: center;
		position: absolute; right: 3.9%; top: 50%; transform: translateY(-50%);
		width: 44px; height: 44px;
		border-radius: 50%; background: transparent;
		border: 2px solid #8c8784; box-sizing: border-box;
		color: #444; font-size: 19px; z-index: 10002;
	}

	.pub-mnav__overlay {
		display: block; position: fixed; inset: 0; background: rgba(0,0,0,.6); z-index: 100000;
		opacity: 0; visibility: hidden; transition: opacity .25s;
	}
	body.pub-mnav-open .pub-mnav__overlay { opacity: 1; visibility: visible; }
	body.pub-mnav-open { overflow: hidden; }

	#header #top_link.gnb_list.css_medi {
		display: block; position: fixed; left: 0; top: 0; z-index: 100001;
		width: 0; max-width: 320px; height: 100%; margin: 0;
		background: #fff; box-shadow: 4px 0 24px rgba(0,0,0,.2);
		overflow-x: hidden; overflow-y: auto; -webkit-overflow-scrolling: touch;
		transition: width .25s;
		text-align: left;
	}
	body.pub-mnav-open #header #top_link.gnb_list.css_medi { width: 82%; padding-top: 56px; }

	.pub-mnav__head { display: none; }
	body.pub-mnav-open .pub-mnav__head {
		display: flex; align-items: center; justify-content: space-between;
		position: fixed; left: 0; top: 0; z-index: 100002;
		width: 82%; max-width: 320px; box-sizing: border-box;
		height: 56px; padding: 0 16px; background: #333; color: #fff; font-size: 17px; font-weight: 700;
	}
	.pub-mnav__close { background: none; border: none; color: #fff; font-size: 26px; line-height: 1; cursor: pointer; }

	#header .gnb_list > li { float: none; border-bottom: 1px solid #eee; }
	#header .gnb_list > li > a { height: auto; padding: 0; }
	#header .gnb_list > li > a span { display: block; padding: 15px 16px; font-size: 16px; line-height: 1.3; color: #333; position: relative; }
	#header .gnb_list > li:has(ul.sub) > a span::after {
		content: '\203A'; position: absolute; right: 16px; top: 50%; transform: translateY(-50%) rotate(90deg);
		font-size: 20px; color: #999; transition: transform .2s;
	}
	#header .gnb_list > li.is-open > a span::after { transform: translateY(-50%) rotate(-90deg); }

	#header .gnb_list .sub {
		position: static; top: auto; left: auto; transform: none;
		display: none; min-width: 0; width: 100%; padding: 4px 0 8px; margin: 0;
		background: #f6f6f6; box-shadow: none; opacity: 1; visibility: visible;
	}
	#header .gnb_list > li.is-open .sub { display: block; }
	#header .gnb_list .sub li a { padding: 10px 28px; font-size: 14px; text-align: left; }
}

@media (max-width: 1099px) {
	:root {
		--pub-m-header-h: clamp(64px, calc(112 / 640 * 100vw), 112px);
		--pub-m-btm-h:    clamp(64px, calc(120 / 640 * 100vw), 120px);
		--pub-m-toplink-h: clamp(29px, calc(50 / 640 * 100vw), 50px);
	}
	#footer_wrap #footer { width: 96%; padding: 20px 2%; }
	.bot_counsel { width: 100%; text-align: center; }
	.m_none { display: none; }
	#quick { display: none; }
	#bottom_coun { display: none !important; }

	.top_member { display: none; }
	.top_member:not(.pub-toplink-off) { display: block; height: var(--pub-m-toplink-h); }
	.top_member .mem_cont { width: 100%; padding: 0; text-align: center; }
	.top_member .right_txt01 li { padding: 0 clamp(11px, calc(20 / 640 * 100vw), 20px); line-height: var(--pub-m-toplink-h); }
	.top_member .right_txt01 li:first-child { display: none; }
	.top_member .right_txt01 li a { font-size: clamp(14px, calc(25 / 640 * 100vw), 25px); font-weight: 400 !important; }
	.top_member .right_txt01 .txt02 { color: #a3fcdd !important; }
	.pub-mobile-hide { display: none; }
	.pub-mobile-only { display: block; }

	#wrap { overflow-x: clip; overflow-y: visible; }

	#header { height: var(--pub-m-header-h); background: #f5f0ee; }
	#header .inwrap h6.m_none img { width: clamp(115px, calc(205 / 640 * 100vw), 205px); height: auto; }

	.pub-mnav__toggle {
		gap: clamp(5px, calc(9 / 640 * 100vw), 9px);
		width: clamp(34px, calc(60 / 640 * 100vw), 60px);
		height: clamp(34px, calc(60 / 640 * 100vw), 60px);
	}
	.pub-mnav__toggle span { height: clamp(3px, calc(6 / 640 * 100vw), 6px); }

	.pub-mnav__tel {
		width: clamp(42px, calc(74 / 640 * 100vw), 74px);
		height: clamp(42px, calc(74 / 640 * 100vw), 74px);
		border-width: clamp(1px, calc(2 / 640 * 100vw), 2px);
		font-size: clamp(18px, calc(32 / 640 * 100vw), 32px);
	}

	.pub-btm-btns {
		display: block; position: fixed; left: 0; bottom: 0; z-index: 99998; width: 100%;
		height: var(--pub-m-btm-h);
		background: rgba(117,151,75,.9);
	}
	.pub-btm-btns ul { display: flex; height: 100%; margin: 0; padding: 0; list-style: none; }
	.pub-btm-btns li { flex: 1 1 0; min-width: 0; border-left: 1px solid rgba(255,255,255,.3); }
	.pub-btm-btns li:first-child { border-left: none; }
	.pub-btm-btns li a {
		display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px;
		height: 100%; color: #fff; text-align: center;
	}
	.pub-btm-btns li img { width: clamp(28px, calc(80 / 640 * 100vw), 80px); height: auto; }
	.pub-btm-btns li span { font-size: clamp(10px, calc(19 / 640 * 100vw), 19px); letter-spacing: -.02em; white-space: nowrap; }

	.pub-mobile-landing { display: block; }
	#footer_wrap { background: #f3f3f3; border-top: 1px solid #ddd; padding-bottom: var(--pub-m-btm-h); }
	#footer address,
	#footer address a:link,
	#footer address a:visited,
	#footer address .line { color: #666; }
	#footer address { font-size: clamp(12px, calc(23 / 640 * 100vw), 23px); }
	#footer .copyright { color: #999; font-size: clamp(11px, calc(21 / 640 * 100vw), 21px); }
	.pub-footer-member a { color: #666; font-size: clamp(12px, calc(23 / 640 * 100vw), 23px); }
}
