@charset "utf-8";

/* ===============================
    헤더
   =============================== */
#header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    min-width: 1440px;
    height: 60px;
    background-color: var(--color-white);
    z-index: 20;
}

#header.sub-head {
    border-bottom: var(--border-style-01);
}

#header .header-wrap {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: end;

    width: 1200px;
    height: 100%;
    margin: 0 auto;
}

/* 헤더-로고 */
.logo {
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    z-index: 1;
}

.logo a {
    display: block;
    width: 87px;
    height: 22px;
    background: no-repeat url("../images/common/ico-logo.svg") left center;
}

/* 헤더-네비게이션 */
#gnb {
    height: 100%;
    background-color: var(--color-white);
    z-index: 2;
    transition: width 1.2s;
}

#gnb .depth1 {
    position: relative;
    display: flex;
    justify-content: end;
    height: 100%;
    z-index: 1;
}

#gnb .depth1 > li {
    position: relative;
    display: flex;
    align-items: center;
    height: 100%;
    text-align: center;
}

#header.on #gnb .depth1 > li {
    padding: 0;
}

#gnb .depth1 > li > a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;

    font-size: 16px;
    font-weight: 700;
}

#gnb .depth1 > li:hover > a {
    color: var(--color-primary-blue);
}

#gnb .depth1 > li > a::before {
    content: "";
    position: absolute;
    left: 51%;
    right: 51%;
    bottom: -1px;
    height: 3px;
    background-color: var(--color-primary-blue);
    transition: 0.7s;
    z-index: 1;
}

#gnb .depth1 > li:hover > a::before {
    left: 0;
    right: 0;
}

#gnb .depth2 {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    width: 100%;
    padding: 26px 0;
    background-color: #fff;
    border-top: var(--border-style-01);
    border-left: var(--border-style-01);
    border-bottom: var(--border-style-01);
}

#gnb .depth1 > li:last-child .depth2 {
    border-right: var(--border-style-01);
}

#gnb .depth2 > li > a {
    display: block;
    text-align: center;
    font-weight: 300;
    font-size: 15px;
    line-height: 30px;
    transition: 0.5s;

    white-space: nowrap;
    overflow: hidden;
}

#gnb .depth2 > li > a:hover {
   /*  color: var(--color-primary-blue); */
   color: #ffffff;
   background-color: #4e78ba;
   font-weight: bolder;
}

header .gnb-bg {
    display: none;
    position: absolute;
    left: 50%;
    top: 100%;
    width: 100vw;
    min-width: 1440px;
    transform: translateX(-50%);
    background-color: var(--color-white);
    border-top: var(--border-style-01);
    border-bottom: var(--border-style-01);
}

/* 헤더-검색 */
.header-saerch {
    padding-left: 37.5px;
}

.header-saerch .search-open {
    width: 20px;
    height: 20px;
    background: no-repeat url("../images/common/ico-search-open.svg") center;
}

.header-saerch .search-open:hover {
    background: no-repeat url("../images/common/ico-search-open-on.svg") center;
}

.header-saerch .search-close {
    position: absolute;
    top: 22px;
    left: 50%;
    width: 21px;
    height: 21px;
    margin-left: 579px;
    background: no-repeat url("../images/common/ico-search-close.svg") center;
}

.header-saerch .header-saerch-wrap {
    position: absolute;
    top: 0;
    left: 50%;
    width: 100vw;
    min-width: 1440px;
    height: 337px;
    transform: translate(-50%, -100%);
    background-color: var(--color-white);
    z-index: 3;
    transition: 0.6s ease-in-out;
    visibility: hidden;
}

.header-saerch.on .header-saerch-wrap {
    transform: translate(-50%, 0);
    visibility: visible;
}

.header-saerch form {
    width: 812px;
    margin: 0 auto;
    padding-top: 103px;
}

.header-saerch .input-group input {
    width: 100%;
    padding: 0 0 12px;
    border: none;
    border-bottom: 1px solid #414141;
    border-radius: 0;
}

.header-saerch .input-group input::placeholder {
    color: #919191;
}

.header-saerch h3 {
    margin-top: 33px;
    font-weight: 500;
}

.header-saerch .recommend-list {
    display: flex;
    gap: 10px;
    margin-top: 10px;
}

.header-saerch .recommend-list a {
    display: block;
    padding: 7px 20px;
    font-size: 13px;
    border: var(--border-style-01);
    border-radius: 18px;
}

.header-saerch .recommend-list a:hover {
    border-color: var(--color-primary-blue);
}

.header-saerch .header-saerch-bg {
    visibility: hidden;
    position: absolute;
    top: 0;
    left: 50%;
    width: 100vw;
    min-width: 1440px;
    height: 100vh;
    transform: translateX(-50%);
    background-color: var(--color-backdrop-bg);
    z-index: 2;
    opacity: 0;
    transition: opacity 0.5s, visibility 0.5s;
}

.header-saerch.on .header-saerch-bg {
    visibility: visible;
    opacity: 1;
}

/* ===============================
    퀵 메뉴
   =============================== */
#quick-menu {
    position: absolute;
    top: 100px;
    left: 50%;
    margin-left: 630px;
    padding: 21px 17px;
    background-color: var(--color-white);
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 7%);
    z-index: 1;
    transition: transform 0.1s;
}

#quick-menu ul li {
    margin-top: 14px;
}

#quick-menu ul li:first-child {
    margin-top: 0;
}

#quick-menu ul a {
    display: block;
    font-weight: 500;
    font-size: 10px;
    line-height: 11px;
    text-align: center;
    transition: color 0.5s;
}
#quick-menu ul li:hover a {
    color: var(--color-primary-blue);
}

/* 09/22 수정 */
#quick-menu ul a::before {
    content: "";
    display: block;
    width: 48px;
    height: 43px;
    padding: 0px;
    margin-bottom: 6px;
    border : 0px none;
    border-radius: 15px;
    box-sizing: border-box;
    background-color: #E7ECF1;
    background-repeat: no-repeat;
    background-position: center;
}
#quick-menu ul a:hover::before {
    content: "";
    display: block;
    background-color : #D1E8FF;
}
/* 09/22 수정 */
/* 퀵 메뉴 - 아이콘 설정 */
#quick-menu ul .item01 a::before {
    background-image: url("../images/common/ico-quick-item1.svg");
}

#quick-menu ul .item02 a::before {
    background-image: url("../images/common/ico-quick-item2.svg");
}

#quick-menu ul .item03 a::before {
    background-image: url("../images/common/ico-quick-item3.svg");
}

#quick-menu ul .item04 a::before {
    background-image: url("../images/common/ico-quick-item4.svg");
}

#quick-menu ul .item05 a::before {
    background-image: url("../images/common/ico-quick-item5.svg");
}

#quick-menu ul .item06 a::before {
    background-image: url("../images/common/ico-quick-item6.svg");
}

#quick-menu ul .item07 a::before {

    background-image: url("../images/common/ico-quick-item7.svg");
}

/* ===============================
    푸터
   =============================== */
#footer {
    position: relative;
    height: 190px;
    padding: 55px 0;
    background-color: #171a1f;
}

#footer .footer-wrap {
    display: flex;
    justify-content: flex-end;
    gap: 0 110px;
    width: 1200px;
    margin: 0 auto;
    padding-left: 150px;
    background: no-repeat url("../images/common/ico-footer-logo.svg") left top;
}

#footer .info p {
    margin-top: 14px;
    font-weight: 300;
    font-size: 12px;
    line-height: 16px;
    color: #7e7e7e;
}

#footer .info p:first-child {
    margin-top: 0;
}

#footer .info p .tel {
    padding-left: 6px;
}

#footer .info p .copy {
    display: block;
    padding-top: 2px;
}

.footer-utils {
    display: flex;
    gap: 0 10px;
}

.footer-utils .more-info {
    position: relative;
}

.footer-utils .more-info button {
    position: relative;
    width: 144px;
    padding: 0px 32px 0px 22px;
    border-radius: 19px;
    background: #31343a;
    text-align: left;
    line-height: 30px;
    font-weight: 500;
    font-size: 12px;
    color: #a2a0a0;
}

.footer-utils .more-info button::before {
    content: "";
    position: absolute;
    top: 50%;
    right: 10px;
    width: 12px;
    height: 12px;
    background: no-repeat url("../images/common/ico-footer-more.svg") center;
    transform: translateY(-50%);
    transition: transform 0.2s;
}

.footer-utils .more-info button.on::before {
    transform: translateY(-50%) rotate(360deg);
}

.footer-utils .info-list {
    display: none;
    position: absolute;
    left: 0;
    bottom: calc(100% + 6px);
    width: max-content;
    min-width: 100%;
    padding: 9px 20px;
    border-radius: 16px;
    background-color: #31343a;
    z-index: 20;
}

.footer-utils .info-list a {
    position: relative;
    display: inline-block;
    padding: 3px 0;
    font-size: 12px;
    color: #a2a0a0;
}

.footer-utils .info-list a:hover::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 2px;
    height: 1px;
    background-color: #a2a0a0;
}

#footer .go-top {
    position: fixed;
    right: 34px;
    bottom: 50px;
}

#footer .go-top a {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 3px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--color-primary-blue);
    font-size: 12px;
    font-weight: 500;
    color: var(--color-white);
}

#footer .go-top a::before {
    content: "";
    width: 12px;
    height: 7px;
    margin: 0 auto;
    background: no-repeat url("../images/common/ico-gotop.svg") center;
}

@media screen and (max-width: 1439px) {
    #footer .go-top {
        display: none !important;
    }
}

/* ===============================
    탭
   =============================== */
/* 탭 type1 */
.tab-wrap.type1 .tab-btns {
    display: flex;
    gap: 0 10px;
}

.tab-wrap.type1 .tab-btns a {
    display: block;
    padding: 0 24px;
    border-radius: 21px;
    background-color: var(--color-light-blue);
    font-size: 14px;
    line-height: 34px;
    font-weight: 700;
    transition: 0.5s;
}

.tab-wrap.type1 .tab-btns .on a {
    color: var(--color-white);
    background-color: var(--color-primary-orange);
}

/* 탭 type2 */
.tab-wrap.type2 .tab-btns {
    display: flex;
    margin-bottom: 25px;
}

.tab-wrap.type2 .tab-btns li {
    flex: 1;
    margin-left: -1px;
}

.tab-wrap.type2 .tab-btns a {
    position: relative;
    display: block;
    border: var(--border-style-01);
    line-height: 44px;
    font-size: 16px;
    font-weight: 700;
    text-align: center;
    transition: 0.5s;
}

.tab-wrap.type2 .tab-btns a::before {
    content: "";
    position: absolute;
    left: -1px;
    bottom: -1px;
    width: calc(100% + 2px);
    height: 2px;
    background-color: transparent;
    transition: 0.5s;
    z-index: 1;
}

.tab-wrap.type2 .tab-btns li.on a::before {
    background-color: var(--color-primary-orange);
}

/* 탭 type3 */
.tab-wrap.type3 .tab-btns {
    display: flex;
    margin-bottom: 10px;
}

.tab-wrap.type3 .tab-btns li {
    flex: 1 1 auto;
    margin-left: -1px;
    border: var(--border-style-01);
    transition: 0.5s;
}

.tab-wrap.type3 .tab-btns a {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 26px;
    text-align: center;
    font-size: 14px;
    font-weight: 700;
}

.tab-wrap.type3 .tab-btns li.on {
    border: 1px solid var(--color-primary-orange);
    color: var(--color-white);
    background-color: var(--color-primary-orange);
    z-index: 1;
}

/* 탭 type4 */
.tab-wrap.type4 .tab-btns {
    display: flex;
    justify-content: center;
    gap: 0 16px;
    margin-bottom: 40px;
}

.tab-wrap.type4 .tab-btns a {
    display: block;
    padding: 0 22px;
    background-color: #ecf0f6;
    border-radius: 18px;
    line-height: 36px;
    font-size: 16px;
    font-weight: 700;
    transition: 0.5s;
}

.tab-wrap.type4 .tab-btns li.on a {
    background-color: var(--color-primary-blue);
    color: var(--color-white);
}

/*로딩바*/
.loader-circle {
	width: 48px;
	height: 48px;
	border-radius: 50%;
	border: 4px solid rgba(15,23,42,0.08);
	border-top-color: #0f172a;
	animation: rotate 1s linear infinite;
	box-sizing: border-box;
	display: inline-block;
	vertical-align: middle;
}
@media (prefer-reduced-motion: reduce){
	.loader-circle{animation:none;transform:rotate(0deg);}
}
@keyframes rotate {
	from{transform:rotate(0deg);}
	to{transform:rotate(360deg);}
}