@import "reset.css";
@import "header.css";
@import "footer.css";
@import "modal.css";
@import "layout.css";
@import "active.css";


:root {

    /* color */
    --colorPrimary: #389DC9;
    --colorPrimary100: #606F7B;

    --colorGray100: #F7F7F7;
    --colorGray200: #EEEEEE;
    --colorGray300: #CECECE;
    --colorGray400: #AAAAAA;
    --colorGray500: #7B7B7B;

    --colorWhite: #FFFFFF;

    --colorBlack: #1E1E1E;

    --colorRed: #E14444;

    --colorTransparent: transparent;


    /* dim */
    --dim: rgba(0, 0, 0, 0.4);


    /* font size */
    --fontSizeXs: 13px;
    --fontSizeSm: 14px;
    --fontSizeBase: 16px;
    --fontSizeMd: 18px;
    --fontSizeLg: 20px;
    --fontSizeXl: 24px;
    --fontSize2Xl: 30px;
    --fontSize3Xl: 36px;
    --fontSize4Xl: 42px;
    --fontSize5Xl: 48px;


    /* font weight */
    --fontWeightRegular: 400;
    --fontWeightMedium: 500;
    --fontWeightSemibold: 600;
    --fontWeightBold: 700;


    /* line height */
    --lineHeightXs: 20px;
    --lineHeightSm: 22px;
    --lineHeightBase: 26px;
    --lineHeightMd: 28px;
    --lineHeightLg: 30px;
    --lineHeightXl: 34px;
    --lineHeight2Xl: 42px;
    --lineHeight3Xl: 46px;
    --lineHeight4Xl: 58px;
    --lineHeight5Xl: 66px;


    /* border radius */
    --borderRadiusXs: 10px;
    --borderRadiusSm: 12px;
    --borderRadiusMd: 15px;
    --borderRadiusLg: 16px;
    --borderRadiusXl: 20px;
    --borderRadius2Xl: 30px;
    --borderRadius3Xl: 50px;
}





/* 기본 폰트 설정 */
body,
button,
input,
select,
table,
textarea {
    color: var(--colorBlack);
    font-family: 'SUIT', sans-serif;
    letter-spacing: -0.2px;
    font-weight: var(--fontWeightRegular);
    word-break: keep-all;
}

/* 기본 폰트 설정 */





body::-webkit-scrollbar {
    width: 10px;
    background-color: var(--colorGray100);
}

body::-webkit-scrollbar-thumb {
    background-color: var(--colorBlack);
    border-radius: var(--borderRadius3Xl);
}

body::-webkit-scrollbar-button {
    display: none;
}





/* 레이아웃 기준 센터 영역 - 반응형 대응 필요 */
.content-inner {
    max-width: 1200px;
    width: calc(100% - 100px);
    margin: 0 auto;
}

#container {
    width: 100%;
    min-height: calc(100vh - 310px);
    box-sizing: border-box;
    margin-top: 90px;
}

section {
    width: 100%;
    padding: 80px 0 130px;
}

/* 레이아웃 기준 센터 영역 - 반응형 대응 필요 */





/* 특정 텍스트를 primary색으로 표기할 때 */
.txt-primary {
    color: var(--colorPrimary) !important;
}

/* 특정 텍스트를 primary색으로 표기할 때 */





/* 특정 텍스트를 secondary색으로 표기할 때 */
.txt-secondary {
    color: var(--colorPrimary100) !important;
}

/* 특정 텍스트를 primary색으로 표기할 때 */





/* 특정 텍스트를 빨간색으로 표기할 때 */
.txt-alert {
    color: var(--colorRed) !important;
}

/* 특정 텍스트를 빨간색으로 표기할 때 */





/* 특정 텍스트를 검정색으로 표기할 때 */
.txt-black {
    color: var(--colorBlack) !important;
}

/* 특정 텍스트를 검정색으로 표기할 때 */





/* 특정 텍스트를 회색으로 표기할 때 */
.txt-muted {
    color: var(--colorGray400) !important;
}

.txt-dark-muted {
    color: var(--colorGray500) !important;
}

/* 특정 텍스트를 회색으로 표기할 때 */





/* 특정 텍스트를 하얀색으로 표기할 때 */
.txt-white {
    color: var(--colorWhite) !important;
}

/* 특정 텍스트를 하얀색으로 표기할 때 */





/* top btn */
.top{
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 15;
    cursor: pointer;
    opacity: 0;
    transition: opacity 1s;
}

.top.show {
    opacity: 1 !important;
    pointer-events: auto;
}
/* top btn */





/* confirm 문구 */
.message {
    width: 100%;
    font-size: var(--fontSizeSm);
    line-height: var(--lineHeightSm);
    margin-top: 10px;
}

/* confirm 문구 */





/* 읽기전용 div */
.read-only {
    width: 100%;
    height: 52px;
    border: 1px solid var(--colorGray300);
    box-sizing: border-box;
    background-color: var(--colorGray100);
    padding: 0 16px;
    font-size: var(--fontSizeBase);
    color: var(--colorGray500);
    display: flex;
    align-items: center;
    border-radius: var(--borderRadius3Xl);
}

/* 읽기전용 div */





/* title group gap */
.title-group {
    display: flex;
    flex-direction: column;
    gap: 20px 0;
}

/* title group gap */





/* 공통 타이틀 및 텍스트 */
.title {
    font-size: var(--fontSize5Xl);
    line-height: var(--lineHeight5Xl);
    font-weight: var(--fontWeightBold);
}

.section-title {
    font-size: var(--fontSizeXl);
    line-height: var(--lineHeightXl);
    font-weight: var(--fontWeightBold);
}

.group-title {
    font-size: var(--fontSizeLg);
    line-height: var(--lineHeightLg);
    font-weight: var(--fontWeightBold);
}

.desc {
    font-size: var(--fontSizeBase);
    line-height: var(--lineHeightBase);
}

/* 공통 타이틀 및 텍스트 */





/* 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;
    gap: 0 6px;
    border-radius: var(--borderRadius3Xl);
}


/* button size - 반응형 대응 필요 */
.btn.xSmall {
    height: 38px;
    font-size: var(--fontSizeSm);
    padding: 0 24px;
}

.btn.small {
    height: 44px;
    font-size: var(--fontSizeBase);
    padding: 0 24px;
}

.btn.medium {
    min-width: 140px;
    height: 52px;
    font-size: var(--fontSizeBase);
    padding: 0 40px;
}

.btn.large {
    min-width: 180px;
    height: 62px;
    font-size: var(--fontSizeMd);
    padding: 0 40px;
}


/* button color */
.btn.primary {
    background-color: var(--colorBlack);
    border: 1px solid var(--colorBlack);
    color: var(--colorWhite);
}

.btn.secondary {
    background-color: var(--colorWhite);
    border: 1px solid var(--colorBlack);
    color: var(--colorBlack);
}

.btn.disabled {
    background-color: var(--colorGray200);
    color: var(--colorGray500);
    pointer-events: none;
    border: none;
}

/* button Style */





/* scroll Custom */
.scroll-custom::-webkit-scrollbar {
    width: 5px;
    background-color: var(--colorGray100);
}

.scroll-custom::-webkit-scrollbar-thumb {
    background-color: var(--colorBlack);
    border-radius: var(--borderRadiusXs);
}

.scroll-custom::-webkit-scrollbar-button {
    display: none;
}

/* scroll Custom */





/* checkbox Style */
.check-box {
    position: relative;
    appearance: none;
    width: 18px;
    height: 18px;
}

.check-box::after {
    content: url(../images/common/check-normal.svg);
    width: 18px;
    height: 18px;
    display: block;
    position: absolute;
    top: 0;
    left: 0;
}

.check-box:checked::after {
    content: url(../images/common/check-click.svg);
}

label.check-label {
    width: max-content;
    display: flex;
    align-items: center;
    gap: 0 8px;
    cursor: pointer;
}

label.check-label p {
    font-size: var(--fontSizeSm);
    line-height: var(--lineHeightSm);
}

/* checkbox Style */





/* input / textarea Style */
label.input-label {
    width: 100%;
    height: 52px;
    display: block;
}

label.input-label input {
    width: 100%;
    height: 100%;
    box-sizing: border-box;
    border: 1px solid var(--colorGray300);
    background-color: var(--colorWhite);
    font-size: var(--fontSizeBase);
    color: var(--colorBlack);
    padding: 0 16px;
    border-radius: var(--borderRadius3Xl);
}

label.textarea-label {
    width: 100%;
    height: 400px;
    display: block;
}

label.textarea-label textarea {
    width: 100%;
    height: 100%;
    border-radius: var(--borderRadiusXl);
    box-sizing: border-box;
    border: 1px solid var(--colorGray300);
    background-color: var(--colorWhite);
    font-size: var(--fontSizeBase);
    color: var(--colorBlack);
    padding: 20px 16px;
}

label.input-label input:focus,
label.textarea-label textarea:focus {
    border: 1px solid var(--colorPrimary);
    outline: 1px solid var(--colorPrimary);
}

label.input-label input::placeholder,
label.textarea-label textarea::placeholder {
    font-size: var(--fontSizeBase);
    color: var(--colorGray400);
    font-weight: var(--fontWeightRegular);
}

label.input-label.highlight input,
label.textarea-label.highlight textarea {
    border: 1px solid var(--colorBlack);
    outline: 1px solid var(--colorBlack);
}

/* input / textarea Style */





/* selectBox Style - 반응형 대응 필요 */
/* 전체 영역 */
.select-area {
    box-sizing: border-box;
    position: relative;
}


/* 선택된 영역 */
.select-box {
    width: 200px;
    height: 52px;
    padding: 0 16px;
    box-sizing: border-box;
    display: grid;
    align-items: center;
    grid-template-columns: 1fr 18px;
    justify-content: space-between;
    gap: 0 10px;
    text-align: left;
    background-color: var(--colorWhite);
    border: 1px solid var(--colorGray300);
    border-radius: var(--borderRadius3Xl);
    cursor: pointer;
}

.select-box>p {
    font-size: var(--fontSizeBase);
    line-height: var(--lineHeightBase);
}

.select-text {
    color: var(--colorGray400);
    font-size: var(--fontSizeBase);
}


/* 선택 옵션 영역 */
.select-option {
    width: 100%;
    position: absolute;
    top: 60px;
    left: 0;
    z-index: 10;
    background-color: var(--colorWhite);
    border: 1px solid var(--colorPrimary);
    outline: 1px solid var(--colorPrimary);
    border-radius: var(--borderRadiusXl);
    box-sizing: border-box;
    overflow: hidden;
    padding: 20px 16px;
}

.select-option button {
    width: 100%;
    box-sizing: border-box;
    font-size: var(--fontSizeBase);
    line-height: var(--lineHeightBase);
    text-align: left;
}

.select-option button:not(:last-child) {
    margin-bottom: 14px;
}
/* selectBox Style - 반응형 대응 필요 */





/* pagination Style */
.pagination {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0 20px;
    margin-top: 30px;
}

.pagination button {
    display: flex;
    align-items: center;
    justify-content: center;
}

.page-arrow {
    display: flex;
    align-items: center;
    gap: 0 4px;
}

.page-arrow button {
    width: 24px;
    height: 24px;
}

.page-number {
    display: flex;
    align-items: center;
    gap: 0 4px;
}

.page-number button {
    width: 36px;
    height: 36px;
    border-radius: var(--borderRadius3Xl);
    font-size: var(--fontSizeBase);
    color: var(--colorGray400);
}

.page-number button.active {
    background-color: var(--colorBlack);
    color: var(--colorWhite);
    font-weight: var(--fontWeightSemibold);
}

/* pagination Style */





/* search-keyword-area Style - 반응형 대응 필요 */
.search-keyword-area {
    width: 320px;
    height: 52px;
    background-color: var(--colorWhite);
    border-radius: var(--borderRadius2Xl);
    border: 1px solid var(--colorGray300);
    box-sizing: border-box;
    display: grid;
    align-items: center;
    grid-template-columns: 1fr auto;
    overflow: hidden;
    padding: 0 16px;
    gap: 0 16px;
}

.search-keyword-area .input-label {
    width: 100%;
    height: 100%;
}

.search-keyword-area .input-label input {
    border: 0;
    font-weight: var(--fontWeightSemibold);
    padding: 0;
}

.search-keyword-area .input-label input:focus {
    border: 0;
    outline: 0;
}

.search-keyword-area:focus-within {
    border: 1px solid var(--colorPrimary);
    outline: 1px solid var(--colorPrimary);
}

.search-keyword-area button {
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* search-keyword-area Style - 반응형 대응 필요 */





/* 컨텐츠 display */
.hide {
    display: none;
}

.show-block {
    display: block;
}

.show-flex {
    display: flex;
}

.show-grid {
    display: grid;
}

/* 컨텐츠 display */





@media (hover: hover) and (pointer: fine) {
    .select-option button:hover,
    .select-option button:hover p {
        color: var(--colorPrimary);
        font-weight: var(--fontWeightBold);
    }
}





/* responsive css */
@media screen and (min-width: 768px) and (max-width: 1279px) {

    /* 레이아웃 기준 센터 영역 - 반응형 대응 필요 */
    .content-inner {
        max-width: 100%;
    }

    #container {
        min-height: calc(100vh - 348px);
        margin-top: 75px;
    }

    section {
        width: 100%;
        padding: 50px 0 100px;
    }

    /* 레이아웃 기준 센터 영역 - 반응형 대응 필요 */


    /* button Style */
    .btn.xSmall {
        min-width: 80px;
        height: 38px;
        font-size: var(--fontSizeSm);
        padding: 0 20px;
    }

    .btn.small {
        height: 44px;
        font-size: var(--fontSizeBase);
        padding: 0 20px;
    }

    .btn.medium {
        min-width: 140px;
        height: 48px;
        font-size: var(--fontSizeBase);
        padding: 0 30px;
    }

    .btn.large {
        height: 56px;
        font-size: var(--fontSizeMd);
        padding: 0 30px;
    }

    /* button Style */


    /* title group gap */
    .title-group {
        gap: 10px 0;
    }

    /* title group gap */


    /* 공통 타이틀 및 텍스트 */
    .title {
        font-size: var(--fontSize3Xl);
        line-height: var(--lineHeight3Xl);
    }

    .section-title {
        font-size: var(--fontSizeLg);
        line-height: var(--lineHeightLg);
    }

    .group-title {
        font-size: var(--fontSizeLg);
        line-height: var(--lineHeightLg);
        font-weight: var(--fontWeightBold);
    }

    .desc {
        font-size: var(--fontSizeBase);
        line-height: var(--lineHeightBase);
    }

    /* 공통 타이틀 및 텍스트 */


    /* search-keyword-area Style - 반응형 대응 필요 */
    .search-keyword-area {
        height: 48px;
        padding: 0 12px;
        gap: 0 12px;
    }

    /* search-keyword-area Style - 반응형 대응 필요 */


    /* pagination Style */
    .pagination {
        margin-top: 30px;
    }

    /* pagination Style */


    /* input / textarea Style */
    label.input-label {
        height: 48px;
    }

    label.input-label input {
        font-size: var(--fontSizeSm);
        padding: 0 12px;
    }

    label.textarea-label textarea {
        font-size: var(--fontSizeSm);
        padding: 20px 12px;
    }

    label.input-label input::placeholder,
    label.textarea-label textarea::placeholder {
        font-size: var(--fontSizeSm);
    }

    /* input / textarea Style */


    /* confirm 문구 */
    .message {
        margin-top: 12px;
    }

    /* confirm 문구 */


    /* 읽기전용 div */
    .read-only {
        height: 48px;
        padding: 0 12px;
        font-size: var(--fontSizeSm);
    }

    /* 읽기전용 div */
}

@media screen and (max-width: 767px) {

    /* 레이아웃 기준 센터 영역 - 반응형 대응 필요 */
    .content-inner {
        max-width: 100%;
        width: calc(100% - 40px);
    }

    #container {
        min-height: calc(100vh - 479px);
        margin-top: 60px;
    }

    section {
        width: 100%;
        padding: 30px 0 80px;
    }

    /* 레이아웃 기준 센터 영역 - 반응형 대응 필요 */


    /* button Style */
    .btn.xSmall,
    .btn.small {
        min-width: 80px;
        height: 38px;
        font-size: var(--fontSizeSm);
        padding: 0 20px;
    }

    .btn.medium,
    .btn.large {
        min-width: 140px;
        height: 48px;
        font-size: var(--fontSizeBase);
        padding: 0 30px;
    }

    /* button Style */


    /* 공통 타이틀 및 텍스트 */
    .title {
        font-size: var(--fontSizeXl);
        line-height: var(--lineHeightXl);
    }

    .section-title {
        font-size: var(--fontSizeLg);
        line-height: var(--lineHeightLg);
    }

    .group-title {
        font-size: var(--fontSizeBase);
        line-height: var(--lineHeightBase);
    }

    .desc {
        font-size: var(--fontSizeSm);
        line-height: var(--lineHeightSm);
    }

    /* 공통 타이틀 및 텍스트 */


    /* input / textarea Style */
    label.input-label {
        height: 48px;
    }

    label.input-label input {
        font-size: var(--fontSizeSm);
        padding: 0 12px;
    }

    label.textarea-label {
        height: 200px;
    }

    label.textarea-label textarea {
        font-size: var(--fontSizeSm);
        padding: 20px 16px;
        border-radius: var(--borderRadiusXs);
    }

    label.input-label input::placeholder,
    label.textarea-label textarea::placeholder {
        font-size: var(--fontSizeSm);
    }

    /* input / textarea Style */


    /* title group gap */
    .title-group {
        gap: 10px 0;
    }

    /* title group gap */


    /* search-keyword-area Style - 반응형 대응 필요 */
    .search-keyword-area {
        width: auto;
        height: 48px;
        padding: 0 12px;
    }

    /* search-keyword-area Style - 반응형 대응 필요 */


    /* pagination Style */
    .pagination {
        gap: 0 10px;
        margin-top: 30px;
    }

    .page-arrow button {
        width: 24px;
        height: 24px;
    }

    .page-number {
        gap: 0 6px;
    }

    .page-number button {
        width: 28px;
        height: 28px;
        font-size: var(--fontSizeSm);
    }

    /* pagination Style */


    /* selectBox Style - 반응형 대응 필요 */
    /* 전체 영역 */
    .select-area {
        box-sizing: border-box;
        position: relative;
    }


    /* 선택된 영역 */
    .select-box {
        width: 100%;
        height: 48px;
        padding: 0 10px;
        grid-template-columns: 1fr 16px;
    }

    .select-box>p {
        font-size: var(--fontSizeSm);
        line-height: var(--lineHeightSm);
    }

    .select-text {
        font-size: var(--fontSizeSm);
    }


    /* 선택 옵션 영역 */
    .select-option {
        top: 56px;
        padding: 20px 12px;
    }

    .select-option button {
        font-size: var(--fontSizeSm);
        line-height: var(--lineHeightSm);
    }

    .select-option button:not(:last-child) {
        margin-bottom: 14px;
    }
    /* selectBox Style - 반응형 대응 필요 */
}