@charset "utf-8";

html,
body {
    font-size: 1rem;
}

body,
input,
textarea,
select,
button,
table {
    font-family: 'Pretendard Variable', 'pretendard', '나눔바른고딕', NanumBarunGothic, 'Apple SD Gothic Neo', AppleGothic, sans-serif;
    font-weight: normal;
    font-size: 1rem;
    letter-spacing: -0.01em;
    -webkit-font-smoothing: antialiased;
}
body {
    color: #2f2a26;
    background: #fff;
    word-break: keep-all;
}
a,
.nav-link {
    color: #2f2a26;
    text-decoration: none;
    transition: all .3s ease;
}
a:hover {
    color: rgb(var(--main-rgb));
}
input:focus {
    outline: none !important;
    box-shadow: none !important;
}
#dg-container {
    margin: 0 auto;
    max-width: 1920px;
    overflow: hidden;
}

/* Bootstrap 기본 색을 브랜드 색으로 */
.btn-primary {
    --bs-btn-bg: rgb(var(--dark-rgb));
    --bs-btn-border-color: rgb(var(--dark-rgb));
    --bs-btn-hover-bg: rgb(var(--main-rgb));
    --bs-btn-hover-border-color: rgb(var(--main-rgb));
    --bs-btn-active-bg: rgb(var(--main-rgb));
    --bs-btn-active-border-color: rgb(var(--main-rgb));
}
.text-primary { color: rgb(var(--main-rgb)) !important; }
.bg-main { background-color: rgb(var(--main-rgb)) !important; }
.form-control:focus,
.form-select:focus {
    border-color: rgb(var(--main-rgb));
}

#scollTop {
    display: none;
    position: fixed;
    right: 1.5rem;
    bottom: 2rem;
    width: 50px;
    height: 50px;
    border: none;
    border-radius: 50%;
    background: rgb(var(--dark-rgb));
    box-shadow: 0 3px 10px rgba(0, 0, 0, .2);
    z-index: 99;
}
#scollTop:hover {
    background: rgb(var(--main-rgb));
}

/* 서브 상단 */
.sub-header {
    background-color: rgb(var(--dark-rgb));
    background-image:
        radial-gradient(circle at 85% 20%, rgba(var(--main-rgb), .55), transparent 45%),
        linear-gradient(135deg, rgb(var(--dark-rgb)) 0%, #2b1f18 100%);
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
}
.sub-header:before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: var(--bs-border-radius-xxl) !important;
    background: linear-gradient(180deg, rgba(31, 26, 23, .1) 30%, rgba(31, 26, 23, .55) 100%);
}
.sub-header-kicker {
    margin-bottom: 6px;
    font-size: 14px;
    letter-spacing: .1em;
    color: var(--dg-sand);
}
.sub-header h1 {
    font-weight: 800;
    letter-spacing: -.03em;
}
.sub-header .nav-link,
.sub-header .bi {
    color: rgba(255, 255, 255, .78);
}
.sub-header .nav-link:hover {
    color: #fff;
}

/* 하단 */
.dg-footer {
    color: rgba(255, 255, 255, .6);
    background: var(--dg-ink);
}
.dg-footer a {
    color: rgba(255, 255, 255, .75);
}
.dg-footer a:hover {
    color: #fff;
}
.dg-footer-logo {
    gap: 12px;
}
.dg-footer-logo img {
    width: 48px;
    height: 48px;
}
.dg-footer-logo span {
    display: flex;
    flex-direction: column;
    line-height: 1.15;
}
.dg-footer-logo strong {
    font-size: 22px;
    font-weight: 800;
    color: #fff;
}
.dg-footer-logo small {
    font-size: 12px;
    color: var(--dg-sand);
}
.dg-footer-tel {
    font-size: 22px;
    font-weight: 800;
    color: #fff !important;
}
.dg-footer-tel i {
    color: rgb(var(--main-rgb));
}
.dg-footer .footer-menu .nav-link {
    padding: .25rem .9rem;
    font-size: 15px;
}
.dg-footer .form-select {
    color: #fff;
    background-color: transparent;
    border-color: rgba(255, 255, 255, .2);
}
.dg-footer-links {
    gap: 8px;
}
.dg-footer-links a {
    display: inline-block;
    padding: 6px 16px;
    border: 1px solid rgba(255, 255, 255, .18);
    border-radius: 999px;
    font-size: 14px;
}
.dg-footer-links a:hover {
    border-color: rgb(var(--main-rgb));
    background: rgb(var(--main-rgb));
}
.dg-footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, .1);
    font-size: 14px;
    line-height: 1.8;
}
.dg-footer .copyright {
    color: rgba(255, 255, 255, .4);
}

/*bs style*/
.modal-backdrop {
    --bs-backdrop-bg: #fff;
}
.modal-backdrop.show {
    opacity: 1;
}

@media screen and (max-width: 575px) {
    .container-xs {
        --bs-gutter-x: 2.5rem;
    }
    .sub-header h1 {
        font-size: 28px;
    }
}
