@import url("https://cdn.jsdelivr.net/gh/orioncactus/pretendard@v1.3.9/dist/web/variable/pretendardvariable.min.css");
@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap');


html,
body {
    margin: 0;
    padding: 0;
}

html {
    box-sizing: border-box;
}

*,
*::before,
*::after {
    box-sizing: inherit;
}

body {
    font-family: "Pretendard Variable",
        Pretendard,
        -apple-system,
        BlinkMacSystemFont,
        system-ui,
        Roboto,
        "Helvetica Neue",
        "Segoe UI",
        "Apple SD Gothic Neo",
        "Noto Sans KR",
        "Malgun Gothic",
        "Apple Color Emoji",
        "Segoe UI Emoji",
        "Segoe UI Symbol",
        sans-serif;
}

nav {
    font-family: 'Montserrat',
        "Pretendard Variable",
        sans-serif;
}

#navbarNavDesktop .navbar-nav .nav-link.active {
    color: #EC4C99 !important; 
    font-weight: 900 !important; 
}
@media (max-width: 991.98px) {
    #navbarNavDesktop .navbar-nav .nav-link.active {
        position: relative;
        color: #212529 !important; 
    }

    #navbarNavDesktop .navbar-nav .nav-link.active::before {
        position: absolute;
        bottom: 0;
        content: '';
        width: 100%;
        height: 2px;
        background-color: #212925;
    }
}

.navbar-transparent {
    transition: background-color 0.3s ease-in-out;
}

.bg-dark-half-opacity {
    background-color: rgba(0, 0, 0, 0.5) !important;
}

.bg-transparent {
    background-color: transparent !important;
}

.offcanvas .navbar-nav .nav-link {
    padding: 0.75rem 1rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.offcanvas[data-bs-theme="light"] .btn-close {
    filter: none; 
    background-image: var(--bs-btn-close-bg); 
    opacity: 0.5;
}
.offcanvas[data-bs-theme="light"] .btn-close:hover {
    opacity: 1;
}

.btn-check:checked+.btn, .btn.active, .btn.show, .btn:first-child:active, :not(.btn-check)+.btn:active {
    border-color: transparent;
}

.btn-close:focus, 
.custom-close-btn:focus {
    outline: 0;
    box-shadow: none !important;
}

#mobile-fixed-row {
    background-color: transparent;
    z-index: 1030;
}

.navbar-toggler-icon {
    width: 24px !important;
    height: 24px !important;
}

@media (min-width: 992px) {
    #header-nav-menu {
        position: fixed !important;
        top: 0;
        width: 100%;
        z-index: 1030;
    }

    .navbar-brand img {
        max-height: 60px;
    }

}

@media (max-width: 991.98px) {
    #header-nav-menu {
        --bs-navbar-padding-y: 0;
        --bs-navbar-padding-y: 0;
    }

    #header-nav-menu>.container {
        display: block;
        flex-wrap: initial;
        align-items: initial;
        justify-content: initial;
    }

    #mobile-fixed-row {
        position: fixed !important;
        top: 0;
        left: 0;
        right: 0;
        padding: 0.125rem 0.5rem;
        background-color: white !important;
        border-bottom: 1px solid #e7e7e7;
    }

    .navbar-brand {
        margin-right: 0;
    }

    .navbar-brand img {
        max-height: 36px;
    }

    #header-nav-menu {
        background-color: white !important;
        box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
    }

    #header-nav-menu .navbar-toggler-icon,
    #header-nav-menu .navbar-toggler-icon {
        filter: invert(100%) grayscale(100%) brightness(0);
    }

    .mobile-search-btn svg {
        stroke: #737373;
    }

    #header-nav-menu .navbar-brand img {
        content: url('/images/logo-b.svg');
    }

    #navbarNavDesktop {
        display: block;
        background-color: white;
        overflow-x: auto;
        -ms-overflow-style: none;
        scrollbar-width: none;
    }

    #navbarNavDesktop::-webkit-scrollbar {
        display: none;
    }

    #navbarNavDesktop .navbar-nav {
        display: flex;
        flex-direction: row;
        flex-wrap: nowrap;
        padding: 0;
        justify-content: space-between;
        width: 100%;
    }

    #navbarNavDesktop .nav-link {
        font-size: 0.813rem;
        color: #212529 !important;
        line-height: 1;
        padding: 1rem 0 0.938rem 0;
        white-space: nowrap;
    }
}

@media (max-width: 575.98px) {
    #navbarNavDesktop .nav-link {
        font-size: clamp(0.688rem, 3vw, 0.813rem);
        color: #212529 !important;
        line-height: 1;
        padding: 1rem 0 0.938rem 0;
        white-space: nowrap;
    }

    #navbarNavDesktop .nav-link+.nav-link {
        margin-left: 1rem;
    }
}

#search1.modal {
    min-height: 100vh;
}

#search1 .modal-dialog {
    max-width: 100%;
    margin: 0;
    height: 100%;
}

#search1 .modal-content {
    display: flex;
    flex-direction: column;
    height: 100%;
    background-color: transparent;
    border: none;
    border-radius: 0;
}

#search1 .modal-header {
    width: 100%;
    padding: 2rem;
    border-bottom: none;
}

#search1 .modal-body {
    max-width: 600px;
    width: 100%;
    margin-left: auto;
    margin-right: auto;

    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

#search1 .search-form {
    display: flex;
    align-items: center;
    width: 100%;
    position: relative;
}

#search1 .search-form .search-input {
    border: none;
    flex-grow: 1;
    padding: 16px 40px 16px 25px;
    color: white;
    font-size: 1rem;
    line-height: 1.5;
    border-radius: 0.5rem;
    border: 1px solid rgba(255, 255, 255, 1);
    background: rgba(255, 255, 255, 0.1490196078);
    outline: none;
}

#search1 .search-form .search-input::placeholder {
    color: rgba(255, 255, 255, 0.4);
}

#search1 .search-form .search-btn {
    border: none;
    background: none;
    cursor: pointer;
    position: absolute;
    top: 50%;
    right: 15px;
    transform: translateY(-50%);
    z-index: 10;
    padding: 0;
}

#search1 .search-form .search-btn svg {
    color: white;
    width: 22px;
    height: 22px;
}

#search1.modal {
    background-color: rgba(0, 0, 0, 0.85);
}

#search1 .btn-close {
    filter: invert(1);
}

#search1 .modal-body p {
    color: white;
    margin-top: -80px; 
}

/* font */
.heading-large {
    font-size: 1.75rem;
}
@media (min-width: 360px) and (max-width: 1199px) {
    .heading-large {
        font-size: clamp(1.75rem, 1.2rem + 1.5vw, 3rem);
    }
}
@media (min-width: 1200px) {
    .heading-large {
        font-size: 3rem;
    }
}

.section-title {
    font-size: 1.25rem;
}
@media (min-width: 360px) and (max-width: 1199px) {
    .section-title {
        font-size: clamp(1.25rem, 1.0rem + 0.075vw, 1.875rem);
    }
}
@media (min-width: 1200px) {
    .section-title {
        font-size: 1.875rem;
    }
}

.cf-xl {
    font-size: 0.938rem;
}
@media (min-width: 360px) and (max-width: 1199px) {
    .cf-xl {
        font-size: clamp(0.938rem, 0.9rem + 0.03vw, 1.25rem);
    }
}
@media (min-width: 1200px) {
    .cf-xl {
        font-size: 1.25rem;
    }
}

.cf-lg {
    font-size: 0.875rem;
}
@media (min-width: 360px) and (max-width: 1199px) {
    .cf-lg {
        font-size: clamp(0.875rem, 0.85rem + 0.03vw, 1.125rem);
    }
}
@media (min-width: 1200px) {
    .cf-lg {
        font-size: 1.125rem;
    }
}

.cf-md {
    font-size: 0.875rem;
}
@media (min-width: 360px) and (max-width: 1199px) {
    .cf-md {
        font-size: clamp(0.875rem, 0.85rem + 0.015vw, 1rem);
    }
}
@media (min-width: 1200px) {
    .cf-md {
        font-size: 1rem;
    }
}

/* button */
.btn-link {
    padding: 8px 20px;
    font-size: 0.875rem;
    color: #fff;
    font-weight: 700;
    border: 1px solid rgba(255, 255, 255, .1);
    background: rgba(255, 255, 255, .1);
    border-radius: 35px;
    text-decoration: none;
}

.btn-link:hover,
.btn-link:focus,
.btn-link:active,
.btn-link:hover:active,
.btn-link:focus-visible {
    color: #000;
    border-color: rgba(255, 255, 255, 1);
    background-color: rgba(255, 255, 255, 1);
}

.ico-link-plus {
    display: inline-block;
    line-height: normal;
    width: 11px;
    height: 11px;
    background: url(/images/ico-plus.png) no-repeat center / auto 100%;
}

.btn-link:hover .ico-link-plus,
.btn-link:focus .ico-link-plus,
.btn-link:active .ico-link-plus,
.btn-link:hover:active .ico-link-plus,
.btn-link:focus-visible .ico-link-plus {
    background: url(/images/ico-plus-on.png) no-repeat center / auto 100%;
}

.ico-link-arrow {
    display: inline-block;
    line-height: normal;
    width: 11px;
    height: 11px;
    background: url(/images/ico-arrow.png) no-repeat center / auto 100%;
}

.btn-link:hover .ico-link-arrow {
    background: url(/images/ico-arrow-on.png) no-repeat center / auto 100%;
}

.ico-link-back {
    display: inline-block;
    line-height: normal;
    width: 11px;
    height: 11px;
    background: url(/images/ico-back.png) no-repeat center / auto 100%;
}

.btn-link:hover .ico-link-back {
    background: url(/images/ico-back-on.png) no-repeat center / auto 100%;
}

@media screen and (max-width: 767px) {
    .btn-link {
        padding: 5px 15px;
        font-size: 0.75rem;
    }

    .ico-link-plus {
        width: 9px;
        height: 9px;
    }
}

/* main */
.main-title {
    font-size: 2.5rem;
}

@media (min-width: 360px) and (max-width: 767px) {
    .main-title {
        font-size: clamp(2.5rem, 1.177rem + 0.3676vw, 4rem);
    }
}

@media (min-width: 768px) and (max-width: 1399px) {
    .main-title {
        font-size: clamp(4rem, 1.567rem + 0.317vw, 6rem);
    }
}

@media (min-width: 1400px) {
    .main-title {
        font-size: 6rem;
    }
}

.gr {
    height: 300px;
    width: 100%;
    position: absolute;
    left: 0;
    bottom: 0;
    background-image: linear-gradient(to bottom,
    rgba(0, 0, 0, 0),
    rgba(0, 0, 0, 1)
    );
}

.arrow-img {
    max-width: 66px;
    height: auto;
}

@media (min-width: 1200px) {
    .col-xl-5th {
        flex: 0 0 20% !important; 
        max-width: 20% !important;
    }
}

.image-with-white-shadow {
    box-shadow: 0px 0px 30px rgba(255, 255, 255, 0.4);
    transition: box-shadow 0.4s ease-in-out;
}
.image-with-white-shadow:hover {
    box-shadow: 0px 0px 50px rgba(255, 255, 255, 0.5);
}

/* footer */
footer {
    border-top: 1px solid rgba(255, 255, 255, 0.25);
}

/* comm */
@media (min-width: 992px) {
    .w-lg-30 {
        width: 30% !important;
    }
}

/* page */
.subpage-main {
    padding-top: 220px;
    padding-bottom: 100px;
    background-image: url('/images/page-bg-2024.webp'); 
    background-attachment: fixed; 
    background-size: cover; 
    background-position: top center; 
    background-repeat: no-repeat; 
    /*min-height: 100vh;*/
}
@media (max-width: 991.98px) {
    .subpage-main {
        padding-top: 70px;
        padding-bottom: 50px;
    }
}

/* nav tabs */
.subpage-main .nav-tabs .nav-link.active {
    color: #EC4C99 !important; 
}

.subpage-main .nav-tabs .nav-link.active {
    border-bottom: 1px solid #EC4C99 !important; 
}

.subpage-main .nav-tabs .nav-link {
    padding-bottom: 8px !important;
    font-size: 1rem;
}
@media (min-width: 360px) and (max-width: 767px) {
    .subpage-main .nav-tabs .nav-link {
        font-size: clamp(1rem, 0.835rem + 0.047vw, 1.125rem);
    }
}

@media (min-width: 768px) {
    .subpage-main .nav-tabs .nav-link {
        font-size: 1.125rem;
    }
}

.subpage-main .card-img-top {
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 0 !important;
}

.subpage-main .card {
    border-radius: 0 !important;
}

.subpage-main .card-title {
    font-size: 0.875rem;
    font-weight: 600;
}
@media (min-width: 360px) and (max-width: 1199px) {
    .subpage-main .card-title {
        font-size: clamp(0.875rem, 0.85rem + 0.03vw, 1.125rem);
    }
}
@media (min-width: 1200px) {
    .subpage-main .card-title {
        font-size: 1.125rem;
    }
}

@media (max-width: 575.98px) {
    .subpage-main .card-title + .small {
        font-size: 0.75rem !important;
    }
}