@import url('./wvFont.css');

:root {
    --color-white: #ffffff;
    --color-black: #222;
    --color-main: #24379c;
    --color-accent-blue: #3792fc;
    --color-red: #ff0000;
    --color-gray: #717271;
    --color-text-gray: #666;
    --color-text-gray-2: #888;
    --color-bg-gray: #f7f7f7;
    --border-gray: 1px solid #cfcfcf;
    --font-family-g: 'GmarketSans';
}

.mb-only {
    display: none;
}

body,
textarea {
    font-family: 'Pretendard';
    color: var(--color-black);
}

.wrap-inner {
    max-width: 1200px;
    margin: 0 auto;
}

.visible-hidden {
    visibility: hidden;
    position: absolute;
    left: 0;
    top: 0;
    width: 1px;
    height: 1px;
    opacity: 0;
}

/* =============== button =============== */
.btn {
    display: inline-block;
    border-radius: 5px;
    font-weight: 500;
    transition: 0.3s;
    line-height: 1.5;
    border: 1px solid;
    text-align: center;
    flex-shrink: 0;
    cursor: pointer;
}

.btn:disabled,
.btn.disabled {
    opacity: 0.5;
}

.btn:has(img) {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-xs {
    padding: 4px;
    font-size: 13px;
    font-weight: 500;
    line-height: 1;
    border-radius: 2px;
}

.btn-s {
    padding: 6px 16px;
    font-weight: 500;
    font-size: 14px;
}

.btn-m {
    min-width: 100px;
    padding: 8px 20px;
    font-weight: 500;
    font-size: 16px;
}

.btn-l {
    min-width: 143px;
    padding: 11px 20px;
    font-weight: 600;
    font-size: 18px;
}

.btn--primary {
    border-color: var(--color-main);
    background: var(--color-main);
    color: var(--color-white);
}

.btn--gray {
    border-color: #717271;
    background: #717271;
    color: var(--color-white);
}

.btn--secondary {
    border-color: var(--color-accent-blue);
    background: var(--color-accent-blue);
    color: var(--color-white);
}

.btn--secondary:hover {
    background: #90c3ff;
}

.btn--primary:hover {
    border: 1px solid var(--color-main);
    color: var(--color-main);
    background: var(--color-white);
}

.btn--gray:hover {
    border: 1px solid #717271;
    color: #717271;
    background: var(--color-white);
}

.btn--black {
    border-color: var(--color-black);
    background: var(--color-black);
    color: var(--color-white);
}

.btn--black:hover {
    border: 1px solid var(--color-black);
    color: var(--color-black);
    background: var(--color-white);
}

.btn--red {
    border-color: var(--color-red);
    background: var(--color-red);
    color: var(--color-white);
}

.btn--red:hover {
    border: 1px solid var(--color-red);
    color: var(--color-red);
    background: var(--color-white);
}

.btn--line {
    border-color: var(--color-main);
    color: var(--color-main);
}

.btn--line:hover {
    background: var(--color-main);
    color: var(--color-white);
}

.more-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-shrink: 0;
    line-height: 1.5;
    font-size: 15px;
    font-weight: 500;
}

.more-btn::after {
    content: '';
    display: block;
    width: 13px;
    height: 12px;
    background: url(../images/icon-more-arrow.svg) no-repeat center center / 100%;
    transition: transform 0.3s ease;
}

.more-btn:hover::after {
    animation: more-arrow-bounce 0.7s ease-in-out infinite;
}

@keyframes more-arrow-bounce {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(5px);
    }
}

.download-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    border-radius: 5px;
}

.download-btn::after {
    content: '';
    display: block;
    width: 100%;
    height: 100%;
    background: url(../images/icon-download-black.svg) no-repeat center center / 100%;
}

.dropdown-group {
    position: relative;
}

.dropdown-group .dropdown-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    border-radius: 5px;
}

.download-btn:hover,
.dropdown-group .dropdown-btn:hover {
    background: #f4f4fc;
}

.dropdown-group .dropdown-btn::after {
    content: '';
    display: block;
    width: 100%;
    height: 100%;
    background: url(../images/icon-dots-vertical.svg) no-repeat center center / 100%;
}

.dropdown-list {
    position: absolute;
    bottom: -10px;
    right: 0;
    z-index: 3;
    width: 120px;
    transform: translateY(100%);
    background: var(--color-white);
    border: var(--border-gray);
    border-radius: 5px;
    font-size: 14px;
    font-weight: 500;
    display: none;
}

.dropdown-group.active .dropdown-list {
    display: block;
}

.dropdown-list li a {
    display: block;
    padding: 8px 12px;
    transition: 0.3s;
}

.dropdown-list li a:hover {
    background: #f4f4fc;
    color: var(--color-main);
}

.tooltip-group {
    height: 24px;
    position: relative;
    display: inline-block;
    vertical-align: middle;
}

.tooltip-group .tooltip-btn {
    width: 24px;
    height: 24px;
    border-radius: 5px;
}

.tooltip-group .tooltip-btn::after {
    content: '';
    display: block;
    width: 100%;
    height: 100%;
    background: url(../images/icon-tooltip.svg) no-repeat center center / 100%;
}

.tooltip-group .tooltip-btn:hover + .tooltip-content {
    opacity: 1;
    visibility: visible;
}

.tooltip-group .tooltip-content {
    position: absolute;
    top: 100%;
    left: 50%;
    z-index: 2;
    transform: translateX(-50%);
    opacity: 0;
    width: 300px;
    visibility: hidden;
    transition: 0.3s ease;
    background: rgba(0, 0, 0, 0.8);
    padding: 10px;
    border-radius: 3px;
    color: var(--color-white);
    font-size: 13px;
    font-weight: 400;
}

.tooltip-group .tooltip-content ol {
    list-style: disc;
    padding-left: 20px;
}

.tooltip-group .tooltip-content ol li {
    list-style: disc;
}

.tooltip-group .tooltip-content ol li + li {
    margin-top: 5px;
}

.meta-group {
    position: relative;
}

.meta-group .dropdown-list {
    width: 220px;
}

.meta-group.active .dropdown-list {
    display: block;
}

.download-link {
    transition: 0.3s;
    font-weight: 500;
}

.download-link:hover {
    color: var(--color-accent-blue);
}

.download-link::after {
    content: '';
    display: inline-block;
    vertical-align: middle;
    flex-shrink: 0;
    width: 20px;
    height: 20px;
    background: url(../images/icon-download-black.svg) no-repeat center center / 100%;
}

/* =============== text =============== */
.ellipsis {
    line-height: 1.5;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    word-break: break-all;
    position: relative;
}

.ellipsis2 {
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.ellipsis3 {
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
}

.text--black {
    color: var(--color-black);
}

.text--main {
    color: var(--color-main);
}

.text--blue {
    color: var(--color-accent-blue);
}

.text--red {
    color: var(--color-red);
}

.text--gray {
    color: var(--color-text-gray);
}

.text--gray-2 {
    color: var(--color-text-gray-2);
}

.link-text:hover {
    text-decoration: underline;
}

.text-center {
    text-align: center;
}

.text-right {
    text-align: right;
}

.content-title-l {
    font-weight: 700;
    font-size: 32px;
    margin-bottom: 30px;
}

.content-title-m {
    font-weight: 600;
    font-size: 24px;
}

.content-title-s {
    font-weight: 600;
    font-size: 20px;
}

.content-title-xs {
    font-weight: 500;
    font-size: 17px;
}

.text--underline {
    text-decoration: underline;
}

.text-base {
    font-size: 16px;
}

.text-s {
    font-size: 14px;
}

/* =============== FONT =============== */
.font-outfit-bold {
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
}

.font-bold {
    font-weight: 700;
}

.font-medium {
    font-weight: 500;
}

/* =============== input =============== */
.check-box {
    display: inline-flex;
    align-items: center;
    font-size: 15px;
}

.check-box input[type='checkbox'] + label {
    position: relative;
    display: inline-flex;
    align-items: flex-start;
    cursor: pointer;
    font-weight: 500;
    color: #666;
}

.check-box input[type='checkbox'] {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}

.check-box input[type='checkbox']:checked + label {
    color: var(--color-black);
}

.check-box input[type='checkbox'] + label::before {
    content: '';
    display: block;
    width: 24px;
    height: 24px;
    flex-shrink: 0;
    margin-right: 6px;
    background: url('../images/checkbox-unchecked.svg') no-repeat center / 100%;
}

.check-box input[type='checkbox'][disabled]:checked + label::before {
    background-image: url('../images/checkbox-checked-disabled.svg');
}

.check-box input[type='checkbox']:checked + label::before {
    background-image: url('../images/checkbox-checked.svg');
}

.check-box input[type='checkbox']:disabled + label::before {
    background-image: url('../images/checkbox-unchecked-disabled.svg');
}

.check-box input[type='checkbox']:disabled + label {
    color: #a6a6a6;
}

.check-box input[type='checkbox']:focus-visible + label::after {
    position: absolute;
    top: -1px;
    left: -1px;
    content: '';
    width: 26px;
    height: 26px;
    border: 1px dashed #000;
}

.checkbox-group {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
}

.checkbox-group.row {
    gap: 16px;
}

.checkbox-group.column {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
}


/* radio */
.radio-box {
    display: inline-flex;
    align-items: center;
    font-size: 15px;
}

.radio-box input[type='radio'] + label {
    position: relative;
    display: inline-flex;
    align-items: flex-start;
    cursor: pointer;
    font-weight: 500;
    color: #666;
}

.radio-box input[type='radio'] {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}

.radio-box input[type='radio']:checked + label {
    color: var(--color-black);
}

.radio-box input[type='radio'] + label::before {
    content: '';
    display: block;
    width: 24px;
    height: 24px;
    flex-shrink: 0;
    margin-right: 6px;
    background: url('../images/radio-unchecked.svg') no-repeat center / 100%;
}

.radio-box input[type='radio'][disabled]:checked + label::before {
    background-image: url('../images/radio-checked-disabled.svg');
}

.radio-box input[type='radio']:checked + label::before {
    background-image: url('../images/radio-checked.svg');
}

.radio-box input[type='radio']:disabled + label::before {
    background-image: url('../images/radio-unchecked-disabled.svg');
}

.radio-box input[type='radio']:focus-visible + label::after {
    position: absolute;
    top: -1px;
    left: -1px;
    content: '';
    width: 26px;
    height: 26px;
    border: 1px dashed #000;
}

.radio-group {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
}

.radio-group.row {
    gap: 16px;
}

.radio-group.column {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
}


.normal-textarea {
    width: 100%;
    border: var(--border-gray);
    border-radius: 5px;
    padding: 8px 12px;
    font-size: 15px;
}

input[type='date'].normal-input,
input[type='text'].normal-input,
input[type='number'].normal-input,
input[type='tel'].normal-input,
input[type='email'].normal-input,
input[type='password'].normal-input {
    width: 100%;
    height: 40px;
    border: var(--border-gray);
    border-radius: 5px;
    padding: 8px 12px;
    font-size: 15px;
}

input[type='date'].normal-input:read-only,
input[type='text'].normal-input:read-only,
input[type='number'].normal-input:read-only,
input[type='tel'].normal-input:read-only,
input[type='email'].normal-input:read-only,
input[type='password'].normal-input:read-only,
input[type='date'].normal-input:disabled,
input[type='text'].normal-input:disabled,
input[type='number'].normal-input:disabled,
input[type='tel'].normal-input:disabled,
input[type='email'].normal-input:disabled,
input[type='password'].normal-input:disabled,
.normal-textarea:read-only,
.normal-textarea:disabled {
    background-color: #f0f0f0;
    color: #7f7f7f;
}

input.normal-input.date-input,
input.date-input {
    position: relative;
    width: 160px;
    background: #fff url('../images/icon-calender.svg') no-repeat calc(100% - 10px) center;
    background-size: 18px;
    cursor: pointer;
}

input[type='date'].date-input::-webkit-calendar-picker-indicator {
    background: url('../images/icon-calender.svg') no-repeat center;
    background-size: 18px;
    opacity: 1; /* 기본 흐림 제거 */
    cursor: pointer;
}

/* input[type="date"]의 기본 달력 아이콘을 제거하고, 커스텀 아이콘으로 변경 */
input[type='date'].date-input::-webkit-calendar-picker-indicator {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
}

input[type='date'].date-input {
    background: #fff url('../images/icon-calender.svg') no-repeat 95% center;
    background-size: 24px 24px;
    cursor: pointer;
}

/* 파이어폭스용 기본 아이콘 숨기기 */
input[type='date'].date-input::-moz-focus-inner,
input[type='date'].date-input::-moz-focusring {
    border: 0;
}

input[type='date'].date-input::-ms-input-placeholder {
    color: transparent;
}

/* Edge, IE 등에서 기본 아이콘 숨기기 */
input[type='date'].date-input::-ms-clear,
input[type='date'].date-input::-ms-reveal {
    display: none;
}

/* input[type="date"]의 텍스트와 아이콘이 겹치지 않도록 패딩 조정 */
input[type='date'].date-input {
    padding-right: 40px;
}

/* =============== select =============== */
.select-normal {
    max-width: 250px;
    min-width: 132px;
    height: 40px;
    padding: 8px 30px 8px 12px;
    border: 1px solid #cfcfcf;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.5;
    background: var(--color-white) url(../images/icon-arrow-down.svg) no-repeat right 5px center /
    24px;
    cursor: pointer;
    text-overflow: ellipsis;
    /* width: 100%; */
    overflow: hidden;
    white-space: nowrap;
}

.multi-select {
    position: relative;
    min-width: 230px;
    max-width: 230px;
    font-size: 14px;
}

.multi-select .selected {
    width: 100%;
    height: 40px;
    padding: 8px 30px 8px 12px;
    border: 1px solid #cfcfcf;
    background: var(--color-white) url(../images/icon-arrow-down.svg) no-repeat right 5px center /
    24px;
    cursor: pointer;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.5;
    text-align: left;
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
}

.multi-select .dropdown {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    z-index: 3;
    border: 1px solid #ccc;
    border-radius: 4px;
    background: #fff;
    max-height: 300px;
    overflow-y: auto;
}

.multi-select.open .dropdown {
    display: block;
}

.multi-select .dropdown ul li a {
    display: block;
    padding: 0px 3px;
}

.multi-select .dropdown ul li a:hover {
    color: var(--color-main);
    font-weight: 500;
}

.multi-select input[type='text'] {
    width: 100%;
    padding: 6px;
    border: none;
    border-bottom: 1px solid #eee;
}

.multi-select ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.multi-select .dropdown > ul > li {
    padding: 6px;
}

.multi-select li:hover {
    background: #f4f4fc;
}

.multi-select .check-box {
    font-size: 14px;
}

.multi-select .check-box input[type='checkbox'] + label::before {
    width: 18px;
    height: 18px;
    margin-top: 2px;
}

.multi-select .dropdown ul.collapsed {
    display: none;
}

.multi-select .depth-list {
    margin-top: 8px;
    padding-left: 10px;
}

.multi-select .depth-list > li + li {
    margin-top: 5px;
}

.multi-select .dropdown .has-children {
    position: relative;
    padding-left: 24px;
}

.multi-select .toggle {
    position: absolute;
    top: 6px;
    left: 5px;
    width: 14px;
    height: 14px;
    margin-right: 5px;
    font-size: 20px;
    user-select: none;
    color: var(--color-main);
    cursor: pointer;
}

.multi-select .depth-list .toggle {
    top: 0;
}

/* =============== pagination =============== */
.pagination-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    margin-top: 40px;
}

.pagination-list {
    display: flex;
    align-items: center;
    margin: 0 10px;
}

.pagination-list li {
}

.pagination-list li a {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 36px;
    height: 36px;
    padding: 3px;
    border-radius: 5px;
    color: #666;
    transition: 0.3s;
}

.pagination-list li.active a {
    background: var(--color-main);
    color: var(--color-white);
    font-weight: 500;
}

.pagination-list li a:hover {
    background-color: #e5e9fa;
}

.pagination-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 5px;
    border: var(--border-gray);
    transition: 0.3s;
}

.pagination-btn:hover {
    background-color: #e7e7e7;
}

/* =============== flex-group =============== */
.flex-group {
    display: flex;
    align-items: center;
}

.align-center {
    align-items: center;
}

.align-end {
    align-items: flex-end;
}

.justify-between {
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 10px;
}

.justify-center {
    justify-content: center;
}

.mb-column {
    flex-wrap: wrap;
}

.col-gap-30 {
    gap: 30px;
}

.row-gap-10 {
    row-gap: 10px;
}

.gap-10 {
    gap: 10px;
}

.gap-5 {
    gap: 5px;
}

/* =============== margin =============== */
.mt-auto {
    margin-top: auto;
}

.mt-xl {
    margin-top: 80px;
}

.mt-l {
    margin-top: 50px;
}

.mt-m {
    margin-top: 30px;
}

.mt-s {
    margin-top: 20px;
}

.mt-xs {
    margin-top: 10px;
}

.mb-s {
    margin-bottom: 20px;
}

.mb-xs {
    margin-bottom: 12px;
}

/* =============== tab =============== */
.tab-group .tab-list {
    display: flex;
    align-items: center;
}

.tab-item {
    flex: 1;
    border: 1px solid #dadada;
    border-right: 0;
    font-weight: 600;
    background: var(--color-bg-gray);
}

.tab-item:last-child {
    border-right: 1px solid #dadada;
}

.tab-item.active {
    background: var(--color-white);
    border-bottom-color: var(--color-white);
}

.tab-item a {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 13px;
}

.tab-item a span {
    color: #888;
}

.tab-item.active a span {
    color: var(--color-main);
}

.sub-tab-list {
    display: flex;
    align-items: center;
    background: var(--color-bg-gray);
    border-radius: 5px;
}

.sub-tab-list li {
    flex: 1;
    border-radius: 5px;
    color: #888;
}

.sub-tab-list li.active {
    background: var(--color-main);
    color: var(--color-white);
}

.sub-tab-list li a {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 13px;
    line-height: 1.5;
    font-weight: 500;
    text-align: center;
}

.tab-content {
    display: none;
}

.tab-content.on {
    display: block;
}

/* ============ header ============ */
.header {
    position: relative;
    z-index: 11;
    width: 100%;
    padding: 10px 0;
    background: var(--color-white);
    border-bottom: 1px solid transparent;
}

.header.on {
    position: fixed;
    top: 0;
    z-index: 11;
    padding: 0;
    border-bottom-color: #e5e5e5;
}

.header .wrap-inner {
    max-width: 1200px;
    margin: 0 auto;
    position: initial;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.header.head-sticky .header-top {
    height: 0;
    padding: 0;
    overflow: hidden;
}

.header.head-sticky {
    position: sticky;
    top: 0;
}

.head-logo {
    /*max-width: 232px;*/
    margin: 0;
    letter-spacing: -1px;
    font-size: 28px;
    font-weight: 600;
    color: #626262;
}

.head-logo a {
    display: flex;
    align-items: center;
    gap: 16px;
}

.head-logo img {

}

.head-logo .logo-text {
    display: flex;
    align-items: center;
    gap: 16px;
}

.head-logo .logo-text::before {
    content: "";
    display: block;
    width: 1px;
    height: 20px;
    background: #DADADA;
}

.header-group {
}

.head-nav__group {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.head-nav__depth {
    display: flex;
    align-items: center;
    gap: 16px;
}

.head-nav__title {
    margin: 0;
    font-size: 19px;
}

.head-nav__title a {
    display: block;
    padding: 25px 10px;
    font-weight: 400;
    color: #1d1d1d;
}

.menu__box-inner {
    margin: 0 auto;
    display: flex;
    height: 100%;
    align-items: flex-start;
}

.depth-nav__title {
    position: relative;
    padding: 39px 45px;
    width: calc((100% - 1200px) / 2);
}

.depth-nav__title::before {
    content: '';
    width: 27px;
    height: 4px;
    display: block;
    background-color: var(--color-main);
}

.depth-nav__title h3 {
    font-weight: 600;
    font-size: 28px;
    color: #000;
}

.depth-nav__title p {
    font-size: 16px;
    color: #555;
    line-height: 1.5;
    letter-spacing: -0.16px;
}

.depth-nav__list {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: repeat(4, calc(21% - 20px));
    height: 100%;
    gap: 23px;
    min-height: 365px;
    font-size: 17px;
    font-weight: 500;
    flex-grow: 1;
    padding: 34px 30px;
    font-family: 'Pretendard';
    background: #fff;
}

.depth-nav__list > li {
    flex-basis: calc(20% - 20px);
}

.depth-nav__list > li > a {
    display: block;
    width: 100%;
    padding: 8px 18px;
    border-radius: 4px;
    border: 1px solid #e4e4e4;
    font-weight: 400;
    color: #1d1d1d;
    letter-spacing: -0.5px;
}

.depth-ul {
    list-style-type: disc;
    padding-top: 5px;
    font-size: 15px;
}

.depth-ul li {
    margin-left: 30px;
    list-style-type: disc;
}

.depth-ul li a {
    display: block;
    padding: 8px 4px;
    line-height: 1;
    color: #555;
    font-weight: 400;
    transition: 0.5s;
}

.depth-ul li a:hover {
    color: var(--color-main);
}

.head-right-group {
    display: flex;
    align-items: center;
    gap: 16px;
    font-size: 14px;
}

.head-right-group .head-right-btn:has(img) {
    display: flex;
    align-items: center;
}

.mb-side-top {
    display: none;
}

/* ============ bread-crumb ============ */
.bread-crumb-section {
    border-top: 1px solid #e5e5e5;
    border-bottom: 1px solid #e5e5e5;
    background: var(--color-white);
}

.bread-crumb-section .wrap-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.bread-crumb-wrap {
    display: flex;
    align-items: center;
}

.bread-crumb-section button:has(img),
.bread-crumb-section a:has(img) {
    display: flex;
    align-items: center;
    justify-content: center;
}

.bread-crumb-section .side-navbar-btn {
    margin-right: 20px;
}

.bread-crumb-section .home-btn {
    margin-right: 20px;
}

.bread-crumb-group {
    position: relative;
}

.bread-crumb-group::before {
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    content: '';
    width: 1px;
    height: 14px;
    background: #E1E1E1;
}

.bread-crumb-btn {
    position: relative;
    width: 200px;
    padding: 20px 30px 20px 20px;
    text-align: left;
    border-right: 1px solid transparent;
    border-left: 1px solid transparent;
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
}

.bread-crumb-group.active .bread-crumb-btn {
    border-color: #e5e5e5;
}

.bread-crumb-btn::after {
    position: absolute;
    top: 50%;
    right: 10px;
    content: '';
    display: inline-block;
    width: 18px;
    height: 18px;
    background: url(../images/icon-arrow-circle-down.svg) no-repeat center / 100%;
    transform: translateY(-50%) rotate(0deg);
}

.bread-crumb-group.active .bread-crumb-btn::after {
    transform: translateY(-50%) rotate(180deg);
}

.bread-crumb-group.active .bread-crumb-list {
    display: block;
}

.bread-crumb-list {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    z-index: 1;
    width: 100%;
    max-height: 265px;
    overflow: auto;
    background: var(--color-white);
    border: 1px solid #e5e5e5;
    border-top: 0;
}

.bread-crumb-list li a {
    display: block;
    padding: 10px 20px;
    transition: 0.3s;
}

.bread-crumb-list li a:hover {
    background: #f4f4fc;
}

.bread-crumb-section .btn-group {
    display: flex;
    align-items: center;
    gap: 6px;
}

.bread-crumb-section .btn-group-btn {
    width: 30px;
    height: 30px;
    border-radius: 5px;
    background: #F3F3F3;
}

.bread-crumb-section .btn-group-btn:hover {
    background: #e5e5e5;
}

.sns-share-group {
    position: relative;
}

.sns-share-group .sns-share-list {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    padding: 10px;
    background: var(--color-white);
    border: 1px solid #e5e5e5;
    display: none;
}

.sns-share-group.active .sns-share-list {
    display: flex;
    align-items: center;
    gap: 10px;
}

/* side-navbar */
.side-navbar {
    position: sticky;
    top: 100px;
    right: 20px;
    width: 200px;
    height: fit-content;
    max-height: calc(100vh - 200px);
    display: grid;
    grid-template-rows: auto 1fr;
    margin-left: -200px;
    transform: translateX(-30px);
    /* display: none; */
    background: var(--color-white);
    opacity: 0;
    visibility: hidden;
    transition: 0.3s ease;
    float: left;
}

.side-navbar.on {
    /* display: block; */
    opacity: 1;
    visibility: visible;
}

.side-navbar-title {
    border-bottom: 1px solid var(--color-main);
    background: var(--color-main);
    color: var(--color-white);
    font-weight: 500;
    padding: 24px 18px;
    font-size: 18px;
    border-radius: 0 40px 0 0;
}

.side-navbar-list {
    overflow: auto;
}

.side-navbar-list .depth-1-list > li {
    border-bottom: 1px dotted #d3d3df;
}

.side-navbar-list .depth-1-list > li a {
    display: block;
    padding: 17px 16px;
    font-weight: 500;
    transition: 0.3s;
    color: var(--color-text-gray);
}

.side-navbar-list .depth-1-list > li.active > a {
    color: var(--color-main);
}

.side-navbar-list .depth-1-list > li > a:hover {
    color: var(--color-main);
}

.side-navbar-list .depth-2-list {
    border-top: 1px dotted #d3d3df;
    font-size: 15px;
    background: #f4f4fc;
}

.side-navbar-list .depth-2-list > li {
    border-bottom: 1px dotted #d3d3df;
}

.side-navbar-list .depth-2-list > li:last-child {
    border-bottom: 0;
}

.depth-1-list > li.active .depth-2-list {
    border-top: 1px solid var(--color-main);
}

.side-navbar-list .depth-2-list > li a {
    padding: 9px 20px;
}

.side-navbar-list .depth-2-list > li.active a {
    color: var(--color-main);
}

.side-navbar-list .depth-2-list > li > a::before {
    content: '';
    display: inline-block;
    vertical-align: middle;
    width: 3px;
    height: 3px;
    margin-right: 10px;
    border-radius: 50px;
    background-color: var(--color-text-gray);
}

.side-navbar-list .depth-2-list li > a {
    color: var(--color-text-gray);
    text-indent: -12px;
    margin-left: 12px;
}

/* =============== sub-content =============== */
.sub-content-layout {
    padding: 70px 0;
}

.sub-content {
    flex: 1;
    max-width: 1200px;
}

/* ===============table  =============== */
.table-normal.scroll {
    overflow: auto;
}

.table-normal.y-scroll,
.table-normal.x-scroll {
    overflow: auto;
}

.table-normal.x-scroll table {
    white-space: nowrap;
}

.table-normal {
    border-top: 2px solid var(--color-black);
}

.table-normal table {
    width: 100%;
}

.table-normal.fix-header thead {
    position: sticky;
    top: 0;
    z-index: 1;
}

.table-normal .fixed-cell {
    position: sticky;
    left: 0;
    background: var(--color-bg-gray);
    border-right: 1px solid #d9d9d9;
}

.table-normal table thead th,
.table-normal table tbody th {
    background: var(--color-bg-gray);
    font-weight: 500;
}

.table-normal table th,
.table-normal table td {
    padding: 20px 10px;
}

.table-normal table tbody th,
.table-normal table tbody td {
    border-bottom: 1px solid #d9d9d9;
}

.table-normal table tbody th {
    word-break: keep-all;
}

.table-normal table .total-cell th,
.table-normal table .total-cell td {
    background: #eaf5f0;
    color: #2EBB72;
}

.table-normal table tbody td .text--underline {
    word-break: break-all;
}

.table-normal table .link-text {
    line-height: 1.5;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    word-break: break-all;
    position: relative;
}

.form-table .input-wrap {
    display: flex;
    align-items: center;
    column-gap: 5px;
    row-gap: 10px;
    flex-wrap: wrap;
}

.form-table .input-group {
    display: inline-block;
    max-width: 300px;
}

.form-table .tell-group {
    display: flex;
    align-items: center;
    column-gap: 5px;
    row-gap: 10px;
    flex-wrap: wrap;
}

.form-table .tell-group .input-group {
    width: 100px;
}

.layer-popup .table-normal.x-scroll {
    max-height: 400px;
    overflow: auto;
}

.board-detail-table .content-text {
    min-height: 300px;
}

.board-detail-table .content-text img {
    max-width: 100%;
}

.board-detail-table table tbody th {
    border-right: 1px solid #d9d9d9;
}

.board-detail-table table tbody td + th {
    border-left: 1px solid #d9d9d9;
}

/* list */
.dot-list {
    list-style: disc;
    padding-left: 20px;
}

.dot-list > li {
    list-style: disc;
}

/* pc에서만 스타일링 */
@media screen and (min-width: 1024px) {
    .head-menu__box {
        position: absolute;
        left: 0;
        right: 0;
        width: 100%;
        height: 0;
        margin-top: 1px;
        overflow: hidden;
        visibility: hidden;
        transition: 0.3s;
        background: linear-gradient(180deg, #f9f9f9 0%, rgba(240, 240, 240) 100%);
        border-top: 1px solid #fff;
        border-bottom: 1px solid #ddd;
        /* display: none; */
    }

    .head-menu__box.on {
        height: 365px;
        max-block-size: calc(100vh - 250px);
        visibility: visible;
        max-height: 70vh;
        /* overflow-y: auto; */
        /* display: block; */
        border-color: #ddd;
    }

    .head-menu__box.on::after {
        position: absolute;
        bottom: 20px;
        left: calc((100% - 1200px) / 2 - 175px);
        z-index: 0;
        content: none;
        width: 155px;
        height: 145px;
        background: url(../images/icon-ehc-mark_gray.png) no-repeat center / 100%;
    }
}

/* ============ footer ============ */
.footer {
    padding: 52px 0;
    background: #2D3560;
    color: #fff;
}

.footer .wrap-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    row-gap: 30px;
}

.footer-info p + p {
    margin-top: 10px;
}

.footer-right {
    display: flex;
    align-items: center;
    gap: 60px;
    flex-wrap: wrap;
    row-gap: 20px;
}

.footer-link {
    display: flex;
    gap: 30px;
}

.footer-link a {
    position: relative;
}

.footer-link a + a::before {
    position: absolute;
    top: 50%;
    left: -15px;
    content: '';
    width: 1px;
    height: 14px;
    transform: translateY(-50%);
    background: #c8c8c8;
}

.footer-family select {
    padding: 10px 0;
    line-height: 1.5;
    font-weight: 500;
    cursor: pointer;
    color: rgba(255, 255, 255, 0.50);
    border-bottom: 1px solid rgba(255, 255, 255, 0.50);
    background: transparent url(../images/icon-select-arrow.png) no-repeat right 10px center / 10px;
}

.footer-family select optgroup,
.footer-family select option {
    color: var(--color-black);
}

/* =============== layer-popup =============== */
.layer-popup {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1000;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    opacity: 0;
    visibility: hidden;
    transition: 0.3s;
}

.layer-popup.on {
    opacity: 1;
    visibility: visible;
}

.layer-popup-inner {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    max-width: calc(100% - 40px);
    max-height: calc(100vh - 40px);
    width: 1000px;
    height: auto;
    display: flex;
    flex-direction: column;
    background: var(--color-white);
}

.popup-body {
    flex: 1;
    overflow: auto;
    padding: 0 40px;
    margin-bottom: 40px;
}

.popup-close-btn {
    position: absolute;
    top: 20px;
    right: 40px;
    width: 28px;
    height: 28px;
    border-radius: 5px;
    background: url(../images/icon-x-white.svg) no-repeat center center / 24px;
}

.layer-popup .popup-header {
    margin-bottom: 40px;
    padding: 20px 40px;
    background: var(--color-main);
    color: var(--color-white);
    font-weight: 600;
    font-size: 21px;
}

.layer-popup .table-normal.scroll {
    max-height: 500px;
}

/*****MEDIA QUERY*****/
@media screen and (max-width: 1700px) {
    .depth-nav__title {
        display: none;
    }
}

@media screen and (max-width: 1650px) {
    .side-navbar {
        display: none;
    }

    .bread-crumb-section .side-navbar-btn {
        display: none;
    }
}

@media screen and (max-width: 1200px) {
    .wrap-inner {
        padding: 0 16px;
    }

    .header {
        padding: 0;
    }

    .head-logo {
        font-size: 23px;
    }

    .head-logo a {
        gap: 8px;
    }

    .head-logo img {
        width: 130px;
    }

    .head-logo .logo-text {
        gap: 8px;
    }

    .head-nav__depth {
        gap: 15px;
    }

    .head-nav__title {
        font-size: 15px;
    }

    /* main content */
    .main__quick-section .wrap-inner {
        padding: 60px 0;
    }

    .find-slide {
        width: 68%;
        margin-right: 6px;
    }

    .find-slide .hover-text strong {
        font-size: 13px;
    }

    .main__find-section .title-group {
        width: 30%;
    }

    .area-status-box {
        padding: 40px 20px;
    }
}

@media all and (max-width: 1024px) {
    .header-top {
        padding: 6px 0;
    }

    .header-top .wrap-inner {
        justify-content: flex-end;
    }

    .header .mb-only {
        display: block !important;
    }

    .header .pc-only {
        display: none !important;
    }

    .head-logo {
        font-size: 18px;
    }

    .head-logo img {
        width: 100px;
    }

    .mb-head-bottom {
        padding: 14px 0;
    }

    .mb-head-bottom .wrap-inner {
        justify-content: space-between;
    }

    /* 모바일 사이드메뉴 */
    .mb-side-nav {
        position: fixed;
        top: 0;
        right: 0;
        width: 100%;
        max-width: 428px;
        height: 100%;
        padding: 0;
        transform: translateX(100%);
        border-left: var(--border-gray);
        background: #ffffff;
        transition: 0.5s;
    }

    .mb-side-nav.show {
        transform: translateX(0);
    }

    .mb-side-nav .wrap-inner {
        display: block;
        padding: 0;
        height: 100%;
    }

    .mb-side-top {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 10px 16px;
        border-bottom: 1px solid #d8d8d8;
    }

    .mb-side-top-wrap {
        display: flex;
        align-items: center;
    }

    .mb-side-top .mb-top__item {
        position: relative;
        display: flex;
        align-items: center;
        gap: 5px;
        padding: 8px 10px;
        font-size: 15px;
        color: #1d1d1d;
    }

    .mb-side-top .mb-top__item img {
        filter: invert(11%) sepia(5%) saturate(8%) hue-rotate(5deg) brightness(15%) contrast(98%);
    }

    .mb-side-top .mb-top__item + .mb-top__item {
        margin-left: 16px;
    }

    .mb-side-top .mb-top__item + .mb-top__item::before {
        position: absolute;
        top: 50%;
        left: -8px;
        content: '';
        width: 1px;
        height: 16px;
        background: #d8d8d8;
        transform: translateY(-50%);
    }

    .head-nav__group {
        display: block;
        margin: 0;
        display: block;
        height: calc(100% - 78px);
        padding: 0 16px;
        overflow-y: auto;
    }

    .head-nav__depth {
        display: block;
        color: #757575;
    }

    .head-nav__item {
        background: #fff;
    }

    .head-nav__title {
        position: relative;
        font-size: 1.8rem;
        border-bottom: 1px dashed #d8d8d8;
    }

    .head-nav__title.show {
        border-bottom: 1px solid var(--color-main);
    }

    .head-nav__title a::after {
        content: '';
        display: inline-block;
        width: 20px;
        height: 20px;
        margin-left: 10px;
        vertical-align: middle;
        background: url('../images/icon-header-snb-arrow.svg') no-repeat center / 100%;
    }

    .head-nav__title.show a::after {
        transform: rotate(180deg);
        background-image: url('../images/icon-header-snb-arrow-active.svg');
    }

    .head-nav__title.arrow-none {
        background: none;
    }

    .head-nav__title a {
        padding: 18px 12px;
        font-size: 18px;
        font-weight: 700;
        color: #555;
    }

    .head-nav__title.show a {
        color: var(--color-main);
    }

    .head-menu__box {
        background: #f8f9fa;
        display: none;
    }

    .head-menu__box.on {
    }

    .head-nav__title.show + .head-menu__box {
        display: block;
    }

    .menu__box-inner {
        display: block;
        max-width: unset;
        padding: 0;
    }

    .depth-nav__title {
        display: none;
    }

    .depth-nav__title::before {
        display: none;
    }

    .depth-nav__list {
        display: block;
        width: 100%;
        min-height: auto;
        padding: 0;
        border-bottom: 1px solid #d8d8d8;
        background-color: #f4f4fc;
    }

    .depth-nav__list li {
        border: 0;
        border-radius: 0;
    }

    .depth-nav__list li a {
        border: 0;
        color: #555;
    }

    .depth-nav__list > li > a {
        padding: 10px;
        font-weight: 700;
    }

    .depth-nav__list > li.active > a,
    .depth-nav__list > li > a:hover {
        color: var(--color-main);
    }

    .depth-ul {
        padding-top: 0;
        padding-left: 6px;
    }

    .depth-ul li a {
        padding: 10px 4px;
        font-size: 14px;
        text-indent: -5px;
    }

    .depth-ul li a:hover {
        color: var(--color-main);
    }

    .mb-head-btn {
        width: 24px;
        height: 24px;
        background-repeat: no-repeat;
        background-position: center;
        background-size: 100%;
    }

    .mb-head-btn + .mb-head-btn {
        margin-left: 0.5rem;
    }

    .mb-menu-btn {
        background-image: url('../images/icon-header-hamberger.svg');
    }

    .menu-close-btn {
        background-image: url('../images/icon-header-close.svg');
    }

    .small-nav__list {
        display: none;
    }
}

@media screen and (max-width: 768px) {
    body {
        font-size: 15px;
    }

    .pc-only {
        display: none;
    }

    .mb-only {
        display: block;
    }

    .footer {
        font-size: 14px;
    }

    .tab-group {
        margin: 0 -20px;
        overflow-x: auto;
        padding-left: 20px;
    }

    .tab-item {
        flex: 0 0 auto;
        flex-shrink: 0;
        font-size: 15px;
    }

    .tab-item a {
        padding: 10px 20px;
    }

    .mb-column {
        align-items: flex-start;
        flex-direction: column;
    }

    .bread-crumb-section {
        display: none;
    }

    .btn-s {
        font-size: 13px;
        padding: 3px 8px;
    }

    .btn-m {
        min-width: 70px;
        padding: 6px 10px;
        font-size: 14px;
    }

    .btn-l {
        font-size: 16px;
    }

    input.normal-input.date-input {
        width: 100%;
    }

    input[type='date'].normal-input,
    input[type='text'].normal-input,
    input[type='number'].normal-input,
    input[type='tel'].normal-input,
    input[type='email'].normal-input,
    input[type='password'].normal-input {
        height: 36px;
        padding: 4px 10px;
        font-size: 14px;
    }

    input[type='date'].date-input {
        background-size: 18px;
    }

    .select-normal {
        height: 36px;
        padding: 4px 30px 4px 10px;
        font-size: 14px;
    }

    .pagination-wrap {
        gap: 3px;
    }

    .pagination-list {
        margin: 0 5px;
    }

    .pagination-list li a {
        min-width: 30px;
        height: 30px;
    }

    .pagination-btn {
        width: 30px;
        height: 30px;
    }

    /* table */
    .table-normal table {
        font-size: 14px;
    }

    .table-normal table th {
        padding: 10px;
    }

    .table-normal table td {
        padding: 10px;
    }

    .table-normal table .link-text {
        -webkit-line-clamp: 2;
    }

    .table-normal.mobile-scroll {
        min-width: 500px;
        overflow: auto;
    }

    .board-list-table table th {
        padding: 10px 3px;
    }

    .board-list-table table tbody th {
        padding: 10px 3px;
    }

    .board-list-table table tbody td {
        padding: 10px 3px;
    }

    .board-detail-table table tbody th {
        padding: 10px;
    }

    .board-detail-table table tbody td {
        padding: 16px 16px;
    }

    .sub-content-layout {
        padding: 30px 0;
    }

    .content-title-l {
        font-size: 24px;
        margin-bottom: 20px;
    }

    .content-title-m {
        font-size: 20px;
    }

    .content-title-s {
        font-size: 18px;
    }

    .content-title-xs {
        font-size: 16px;
    }

    .sub-tab-list {
        flex-wrap: wrap;
    }

    .sub-tab-list li {
        flex: unset;
        width: 50%;
        font-size: 14px;
    }

    .sub-tab-list li a {
        padding: 8px;
    }

    .flex-group {
        flex-wrap: wrap;
    }

    .content-title-xs:has(.tooltip-group) {
        position: relative;
    }

    .content-title-xs .tooltip-group {
        position: initial;
    }

    .tooltip-group .tooltip-content {
        left: 0;
        transform: unset;
        width: 240px;
    }

    .layer-popup .popup-header {
        padding: 10px 20px;
        margin-bottom: 20px;
        font-size: 18px;
    }

    .popup-body {
        padding: 0 20px;
        margin-bottom: 20px;
    }

    .popup-close-btn {
        top: 10px;
        right: 10px;
    }

    .check-box {
        font-size: 14px;
    }

    .check-box input[type='checkbox']:checked + label::before {
        width: 20px;
        height: 20px;
    }

    .checkbox-group.row {
        gap: 10px;
    }

    .checkbox-group.column {
        gap: 8px;
    }
}
