@import "reset.css";
@import "header.css";
@import "footer.css";
@import "modal.css";
@import "layout.css";
@import "active.css";


:root {

    /* color */
    --colorPrimary: #25C6AB;

    --colorGray100: #F9F9F9;
    --colorGray200: #EFEFEF;
    --colorGray300: #DCDCDC;
    --colorGray400: #CDCDCD;
    --colorGray500: #A0A0A0;
    --colorGray600: #707070;

    --colorWhite: #FFFFFF;

    --colorBlack: #111111;

    --colorRed: #EF2222;

    --colorTransparent: transparent;


    /* dim */
    --dim: rgba(0, 0, 0, 0.4);


    /* font size */
    --fontSizeXs: 13px;
    --fontSizeSm: 14px;
    --fontSizeBase: 16px;
    --fontSizeMd: 18px;
    --fontSizeLg: 20px;
    --fontSizeXl: 22px;
    --fontSize2Xl: 24px;
    --fontSize3Xl: 26px;
    --fontSize4Xl: 30px;
    --fontSize5Xl: 32px;
    --fontSize6Xl: 40px;
    --fontSize7Xl: 46px;
    --fontSize8Xl: 58px;
    --fontSize9Xl: 70px;
    --fontSize10Xl: 76px;


    /* font weight */
    --fontWeightLight: 300;
    --fontWeightRegular: 400;
    --fontWeightMedium: 500;
    --fontWeightSemibold: 600;
    --fontWeightBold: 700;


    /* line height */
    --lineHeightXs: 22px;
    --lineHeightSm: 26px;
    --lineHeightBase: 28px;
    --lineHeightMd: 30px;
    --lineHeightLg: 32px;
    --lineHeightXl: 34px;
    --lineHeight2Xl: 36px;
    --lineHeight3Xl: 38px;
    --lineHeight4Xl: 40px;
    --lineHeight5Xl: 44px;
    --lineHeight6Xl: 50px;
    --lineHeight7Xl: 60px;
    --lineHeight8Xl: 72px;
    --lineHeight9Xl: 80px;
    --lineHeight10Xl: 82px;
    --lineHeight11Xl: 90px;
}





/* 기본 폰트 설정 */
body,
button,
input,
select,
table,
textarea {
    color: var(--colorBlack);
    font-family: 'Pretendard', sans-serif;
    letter-spacing: -0.5px;
    font-weight: var(--fontWeightRegular);
    word-break: keep-all;
}

@font-face {
    font-family: 'GMarketSans';
    src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/noonfonts_2001@1.1/GmarketSansLight.woff') format('woff');
    font-weight: 300;
    font-display: swap;
}

@font-face {
    font-family: 'GMarketSans';
    src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/noonfonts_2001@1.1/GmarketSansBold.woff') format('woff');
    font-weight: 700;
    font-display: swap;
}
/* 기본 폰트 설정 */





/* 레이아웃 기준 센터 영역 - 반응형 대응 필요 */
.content-inner {
    max-width: 1280px;
    width: calc(100% - 68px);
    margin: 0 auto;
}

#container {
    width: 100%;
    min-height: calc(100vh - 544px);
}

section {
    width: 100%;
}

/* 레이아웃 기준 센터 영역 - 반응형 대응 필요 */





/* 영문은 특정 폰트로 적용 */
.montserrat {
    font-family: 'Montserrat', sans-serif;
}
/* 영문은 특정 폰트로 적용 */





/* 특정 텍스트를 primary색으로 표기할 때 */
.txt-primary {
    color: var(--colorPrimary) !important;
}

/* 특정 텍스트를 primary색으로 표기할 때 */





/* 특정 텍스트를 빨간색으로 표기할 때 */
.txt-alert {
    color: var(--colorRed) !important;
}

/* 특정 텍스트를 빨간색으로 표기할 때 */





/* 특정 텍스트를 검정색으로 표기할 때 */
.txt-black {
    color: var(--colorBlack) !important;
}

/* 특정 텍스트를 검정색으로 표기할 때 */





/* 특정 텍스트를 회색으로 표기할 때 */
.txt-muted {
    color: var(--colorGray500) !important;
}

.txt-dark-muted {
    color: var(--colorGray600) !important;
}

/* 특정 텍스트를 회색으로 표기할 때 */





/* 특정 텍스트를 하얀색으로 표기할 때 */
.txt-white {
    color: var(--colorWhite) !important;
}

/* 특정 텍스트를 하얀색으로 표기할 때 */





/* confirm 문구 */
.message {
    font-size: var(--fontSizeSm);
    line-height: var(--lineHeightXs);
    font-weight: var(--fontWeightMedium);
}

/* confirm 문구 */





/* 읽기전용 div */
.read-only {
    width: 100%;
    height: 48px;
    border: 1px solid var(--colorGray400);
    box-sizing: border-box;
    background-color: var(--colorGray100);
    padding: 0 12px;
    font-size: var(--fontSizeSm);
    color: var(--colorGray600);
    display: flex;
    align-items: center;
}

/* 읽기전용 div */





/* title group gap */
.title-group {
    display: flex;
    flex-direction: column;
    gap: 20px 0;
}

/* title group gap */





/* 공통 타이틀 및 텍스트 */
.title {
    font-size: var(--fontSize9Xl);
    line-height: var(--lineHeight10Xl);
    font-weight: var(--fontWeightBold);
}

.title.montserrat {
    font-size: var(--fontSize10Xl);
    line-height: var(--lineHeight10Xl);
}

.section-title {
    font-size: var(--fontSize7Xl);
    line-height: var(--lineHeight7Xl);
    font-weight: var(--fontWeightBold);
}

.group-title {
    font-size: var(--fontSizeLg);
    line-height: var(--lineHeightLg);
    font-weight: var(--fontWeightSemibold);
}

.page-title {
    font-size: var(--fontSize6Xl);
    font-weight: var(--fontWeightSemibold);
    line-height: var(--lineHeight6Xl);
    text-align: center;
}

.desc {
    font-size: var(--fontSizeMd);
    line-height: var(--lineHeightMd);
}

/* 공통 타이틀 및 텍스트 */





/* logo Style */
.header-logo,
.header-logo>a {
    width: max-content;
    display: flex;
    align-items: center;
    justify-content: center;
}

.header-logo>a img {
    max-width: 100%;
}

/* logo Style */





/* button Style */
/* button Common Style */
.btn {
    width: max-content;
    justify-content: center;
    font-weight: var(--fontWeightSemibold);
    box-sizing: border-box;
    display: flex;
    align-items: center;
    transition: color .3s, border .3s, background-color .3s;
}


/* button size - 반응형 대응 필요 */
.btn.small {
    min-width: 88px;
    height: 40px;
    font-size: var(--fontSizeSm);
    line-height: var(--lineHeightXs);
}

.btn.medium {
    min-width: 120px;
    height: 48px;
    font-size: var(--fontSizeBase);
    line-height: var(--lineHeightSm);
}

.btn.large {
    min-width: 180px;
    height: 54px;
    font-size: var(--fontSizeBase);
    line-height: var(--lineHeightSm);
}


/* button color */
.btn.primary {
    background-color: var(--colorBlack);
    color: var(--colorWhite);
}

.btn.secondary {
    background-color: var(--colorTransparent);
    border: 1px solid var(--colorBlack);
    color: var(--colorBlack);
}

.btn.cancel {
    background-color: var(--colorGray200);
    color: var(--colorGray600);
}

.disabled {
    pointer-events: none !important;
}

/* button Style */





/* scroll Custom */
.scroll-custom::-webkit-scrollbar {
    width: 6px;
    background-color: #E4E4E4;
}

.scroll-custom::-webkit-scrollbar-thumb {
    background-color: var(--colorBlack);
}

.scroll-custom::-webkit-scrollbar-button {
    display: none;
}

/* scroll Custom */





/* top btn */
.top {
    width: 58px;
    height: 58px;
    background-color: var(--colorBlack);
    display: none;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    position: fixed;
    right: 40px;
    bottom: 40px;
    z-index: 10;
}

/* top btn */





/* checkbox Style */
.check-box {
    position: relative;
    appearance: none;
    width: 20px;
    height: 20px;
}

.check-box::after {
    content: url(../images/common/checkboxDefault.svg);
    width: 20px;
    height: 20px;
    display: block;
    position: absolute;
    top: 0;
    left: 0;
}

.check-box:checked::after {
    content: url(../images/common/checkboxChecked.svg);
}

label.check-label {
    width: max-content;
    display: flex;
    align-items: center;
    gap: 0 10px;
    cursor: pointer;
}

label.check-label p {
    font-size: var(--fontSizeBase);
    line-height: var(--lineHeightSm);
    font-weight: var(--fontWeightSemibold);
}

/* checkbox Style */





/* input / textarea Style */
label.input-label {
    width: 100%;
    height: 48px;
    display: block;
}

label.input-label input {
    width: 100%;
    height: 100%;
    box-sizing: border-box;
    border: 1px solid var(--colorGray400);
    background-color: var(--colorWhite);
    font-size: var(--fontSizeSm);
    color: var(--colorBlack);
    padding: 0 12px;
}

label.textarea-label {
    width: 100%;
    height: 400px;
    display: block;
}

label.textarea-label textarea {
    width: 100%;
    height: 100%;
    box-sizing: border-box;
    border: 1px solid var(--colorGray400);
    background-color: var(--colorWhite);
    font-size: var(--fontSizeSm);
    color: var(--colorBlack);
    padding: 10px 12px;
}

label.input-label input:focus,
label.textarea-label textarea:focus {
    border: 1px solid var(--colorBlack);
}

label.input-label input::placeholder,
label.textarea-label textarea::placeholder {
    font-size: var(--fontSizeSm);
    color: var(--colorGray500);
}

label.input-label.montserrat input,
label.textarea-label.montserrat textarea,
label.input-label.montserrat input::placeholder,
label.textarea-label.montserrat textarea::placeholder {
    font-family: 'Montserrat', sans-serif;
}

label.input-label.highlight input,
label.textarea-label.highlight textarea {
    border: 1px solid var(--colorRed);
}

/* input / textarea Style */





/* selectBox Style - 반응형 대응 필요 */
/* 전체 영역 */
.select-area {
    width: 180px;
    box-sizing: border-box;
    position: relative;
}


/* 선택된 영역 */
.select-box {
    width: 100%;
    height: 48px;
    padding: 0 12px;
    box-sizing: border-box;
    align-items: center;
    justify-content: space-between;
    display: grid;
    grid-template-columns: 1fr auto auto;
    gap: 0 17px;
    text-align: left;
    background-color: var(--colorWhite);
    border: 1px solid var(--colorGray400);
    cursor: pointer;
}

.select-text {
    font-size: var(--fontSizeSm);
    color: var(--colorGray600);
}

.select-box.active .select-text{
    color: var(--colorBlack);
}

.select-area p {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 0 3px;
    opacity: 1;
    visibility: visible;
}

.select-area p.hidden{
    opacity: 0;
    visibility: hidden;
}

.select-area p span {
    font-size: var(--fontSizeSm);
}

/* 선택 옵션 영역 */
.select-option {
    width: 100%;
    position: absolute;
    top: 47px;
    left: 0;
    z-index: 10;
    background-color: var(--colorWhite);
    border: 1px solid var(--colorBlack);
    box-sizing: border-box;
    overflow: hidden;
}

.select-option button {
    width: 100%;
    height: 48px;
    padding: 0 12px;
    box-sizing: border-box;
    font-size: var(--fontSizeSm);
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: var(--colorGray600);
}
/* selectBox Style - 반응형 대응 필요 */





/* pagination Style */
.pagination {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0 40px;
}

.pagination button {
    display: flex;
    align-items: center;
    justify-content: center;
}

.page-arrow {
    display: flex;
    align-items: center;
    gap: 0 12px;
}

.page-number {
    display: flex;
    align-items: center;
    gap: 0 16px;
}

.page-number button {
    width: 36px;
    height: 36px;
    font-size: var(--fontSizeBase);
    color: var(--colorGray500);
    font-family: 'Montserrat', sans-serif;
}

.page-number button.active {
    background-color: var(--colorBlack);
    color: var(--colorWhite);
    font-weight: var(--fontWeightBold);
}

/* pagination Style */





/* search-keyword-area Style - 반응형 대응 필요 */
.search-keyword-area {
    width: 300px;
    height: 48px;
    background-color: var(--colorWhite);
    box-sizing: border-box;
    display: grid;
    align-items: center;
    grid-template-columns: 1fr 48px;
}

.search-keyword-area .input-label {
    width: auto;
    height: 100%;
}

.search-keyword-area .input-label input:focus {
    border: 1px solid var(--colorGray400);
}

.search-btn {
    width: auto;
    height: 48px;
    background-color: var(--colorBlack);
    display: flex;
    align-items: center;
    justify-content: center;
}

/* innerBtnSearchArea Style - 반응형 대응 필요 */





/* 컨텐츠 display */
.hide {
    display: none !important;
}

.show-block {
    display: block;
}

.show-flex {
    display: flex;
}

.show-grid {
    display: grid;
}

/* 컨텐츠 display */





@media (hover: hover) and (pointer: fine) {
    .select-option button:hover>span {
        color: var(--colorBlack);
        font-weight: var(--fontWeightSemibold);
    }
}





/* responsive css */
@media screen and (min-width: 768px) and (max-width: 1279px) {

    #container {
        min-height: calc(100vh - 516px);
    }


    /* 공통 타이틀 및 텍스트 */
    .title {
        font-size: var(--fontSize7Xl);
        line-height: var(--lineHeight7Xl);
    }

    .title.montserrat {
        font-size: var(--fontSize7Xl);
        line-height: var(--lineHeight7Xl);
    }

    .section-title {
        font-size: var(--fontSize5Xl);
        line-height: var(--lineHeight4Xl);
    }

    .group-title {
        font-size: var(--fontSizeBase);
        line-height: var(--lineHeightSm);
    }

    .page-title {
        font-size: var(--fontSize5Xl);
        line-height: var(--lineHeight4Xl);
        font-weight: var(--fontWeightBold);
    }

    /* 공통 타이틀 및 텍스트 */


    /* top btn */
    .top {
        width: 52px;
        height: 52px;
        right: 34px;
        bottom: 30px;
    }

    .top.myTop{
        bottom: 104px;
    }
    /* top btn */


    /* search-keyword-area Style - 반응형 대응 필요 */
    .search-keyword-area {
        width: 100%;
    }

    /* innerBtnSearchArea Style - 반응형 대응 필요 */


    /* button Style */
    .btn.small {
        min-width: 80px;
        height: 38px;
        padding: 0 18px;
        font-size: var(--fontSizeXs);
    }

    /* button Style */
}

@media screen and (max-width: 767px) {
    #container {
        min-height: calc(100vh - 602px);
    }


    /* 레이아웃 기준 센터 영역 - 반응형 대응 필요 */
    .content-inner {
        max-width: 100%;
        width: calc(100% - 40px);
    }

    /* 레이아웃 기준 센터 영역 - 반응형 대응 필요 */


    /* top btn */
    .top {
        width: 48px;
        height: 48px;
        right: 20px;
        bottom: 15px;
    }

    .top.myTop{
        bottom: 74px;
    }
    /* top btn */


    /* search-keyword-area Style - 반응형 대응 필요 */
    .search-keyword-area {
        width: 100%;
    }

    /* innerBtnSearchArea Style - 반응형 대응 필요 */


    /* 공통 타이틀 및 텍스트 */
    .title {
        font-size: var(--fontSize5Xl);
        line-height: var(--lineHeight5Xl);
    }

    .title.montserrat {
        font-size: var(--fontSize5Xl);
        line-height: var(--lineHeight5Xl);
    }

    .section-title {
        font-size: var(--fontSize2Xl);
        line-height: var(--lineHeightXl);
    }

    .group-title {
        font-size: var(--fontSizeBase);
        line-height: var(--lineHeightSm);
        font-weight: var(--fontWeightBold);
    }

    .page-title {
        font-size: var(--fontSize5Xl);
        line-height: var(--lineHeight5Xl);
        font-weight: var(--fontWeightBold);
    }

    .desc {
        font-size: var(--fontSizeSm);
        line-height: var(--lineHeightXs);
    }

    /* 공통 타이틀 및 텍스트 */


    /* title group gap */
    .title-group {
        gap: 15px 0;
    }

    /* title group gap */


    /* button Style */
    .btn.large {
        min-width: 150px;
        height: 48px;
        font-size: var(--fontSizeSm);
        line-height: var(--lineHeightXs);
    }

    .btn.medium {
        min-width: 100px;
    }

    .btn.small {
        min-width: 80px;
        height: 38px;
        padding: 0 18px;
        font-size: var(--fontSizeXs);
    }

    /* button Style */


    /* pagination Style */
    .pagination {
        gap: 0 13px;
    }

    .page-arrow {
        gap: 0;
    }

    .page-arrow button {
        width: 24px;
    }

    .page-arrow button img {
        width: 100%;
    }

    .page-number {
        gap: 0 6px;
    }

    .page-number button {
        width: 34px;
        height: 34px;
    }

    /* pagination Style */


    /* checkbox Style */
    label.check-label p {
        font-size: var(--fontSizeSm);
        line-height: var(--lineHeightXs);
    }

    /* checkbox Style */
}