@import "reset.css";
@import "header.css";
@import "footer.css";
@import "modal.css";
@import "layout.css";
@import "active.css";


:root {

    /* color */
    --colorPrimary: #005FEE;
    --colorPrimary100: #EAF6FF;
    --colorPrimary200: #1B76FF;
    --colorPrimary300: #004FC6;
    --colorPrimary400: #000530;

    --colorSecondary: #9AC923;
    --colorSecondary100: #F5FAE9;
    --colorSecondary200: #AADA30;

    --colorGray100: #f5f5f5;
    --colorGray200: #e6e6e6;
    --colorGray300: #cacaca;
    --colorGray400: #999999;
    --colorGray500: #666666;
    --colorGray600: #0A071E;

    --colorWhite: #FFFFFF;

    --colorBlack: #2d2d2d;

    --colorRed: #FF3A3A;

    --colorTransparent: transparent;


    /* dim */
    --dim: rgba(0, 0, 0, 0.25);


    /* font size */
    --fontSizeXs: 12px;
    --fontSizeSm: 13px;
    --fontSizeBase: 14px;
    --fontSizeMd: 16px;
    --fontSizeLg: 18px;
    --fontSizeXl: 20px;
    --fontSize2Xl: 24px;
    --fontSize3Xl: 28px;
    --fontSize4Xl: 40px;
    --fontSize5Xl: 48px;
    --fontSize6Xl: 100px;


    /* font weight */
    --fontWeightExtralight: 200;
    --fontWeightRegular: 400;
    --fontWeightMedium: 500;
    --fontWeightSemibold: 600;
    --fontWeightBold: 700;


    /* line height */
    --lineHeightXs: 20px;
    --lineHeightSm: 22px;
    --lineHeightBase: 26px;
    --lineHeightMd: 28px;
    --lineHeightLg: 32px;
    --lineHeightXl: 34px;
    --lineHeight2Xl: 40px;
    --lineHeight3Xl: 52px;
    --lineHeight4Xl: 62px;
    --lineHeight5Xl: 120px;


    /* border radius */
    --borderRadiusXs: 6px;
    --borderRadiusSm: 10px;
    --borderRadiusMd: 12px;
    --borderRadiusLg: 20px;
    --borderRadiusXl: 300px;
}





/* 기본 폰트 설정 */
body,
button,
input,
select,
table,
textarea {
    color: var(--colorBlack);
    font-family: 'Pretendard', sans-serif;
    font-weight: var(--fontWeightRegular);
    word-break: keep-all;
    letter-spacing: -0.5px;
}

/* 기본 폰트 설정 */





/* 레이아웃 기준 센터 영역 - 반응형 대응 필요 */
.content-inner {
    max-width: 1200px;
    width: calc(100% - 80px);
    margin: 0 auto;
}

#container {
    width: 100%;
    min-height: calc(100vh - 234px);
}

section {
    width: 100%;
    padding: 200px 0 130px;
}

/* 레이아웃 기준 센터 영역 - 반응형 대응 필요 */





/* 특정 텍스트를 primary색으로 표기할 때 */
.txt-primary {
    color: var(--colorPrimary) !important;
}

/* 특정 텍스트를 primary색으로 표기할 때 */





/* 특정 텍스트를 검정색으로 표기할 때 */
.txt-black {
    color: var(--colorBlack) !important;
}

/* 특정 텍스트를 검정색으로 표기할 때 */




/* 특정 텍스트를 빨간색으로 표기할 때 */
.txt-alert {
    color: var(--colorRed) !important;
}

.txt-complete {
    color: #9AC923 !important;
}

/* 특정 텍스트를 빨간색으로 표기할 때 */





/* 특정 텍스트를 초록색으로 표기할 때 */
.txt-confirm {
    color: var(--colorSecondary) !important;
}

/* 특정 텍스트를 초록색으로 표기할 때 */





/* 특정 텍스트를 회색으로 표기할 때 */
.txt-muted {
    color: var(--colorGray400) !important;
}

.txt-dark-muted {
    color: var(--colorGray500) !important;
}

/* 특정 텍스트를 회색으로 표기할 때 */





/* 특정 텍스트를 하얀색으로 표기할 때 */
.txt-white {
    color: var(--colorWhite) !important;
}

/* 특정 텍스트를 하얀색으로 표기할 때 */





/* message 문구 */
.message {
    font-size: var(--fontSizeBase);
    line-height: var(--lineHeightSm);
    font-weight: var(--fontWeightMedium);
    display: grid;
    align-items: flex-start;
    justify-content: flex-start;
    grid-template-columns: auto auto;
    gap: 0 6px;
}

.message img {
    margin-top: 4px;
}

/* message 문구 */





/* 읽기전용 div */
.read-only {
    width: 100%;
    max-width: 400px;
    height: 40px;
    box-sizing: border-box;
    padding: 0 10px;
    font-size: var(--fontSizeBase);
    line-height: var(--lineHeightSm);
    display: flex;
    align-items: center;
    border-radius: var(--borderRadiusXs);
}

/* 읽기전용 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(--lineHeight4Xl);
    font-weight: var(--fontWeightBold);
}

.section-title {
    font-size: var(--fontSize4Xl);
    line-height: var(--lineHeight3Xl);
    font-weight: var(--fontWeightSemibold);
}

.group-title {
    font-size: var(--fontSizeXl);
    line-height: var(--lineHeightLg);
    font-weight: var(--fontWeightSemibold);
}

.desc {
    font-size: var(--fontSizeLg);
    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;
    font-weight: var(--fontWeightSemibold);
    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--borderRadiusXs);
    transition: background-color .3s, color .3s, border .3s;
}


/* button size - 반응형 대응 필요 */
.btn.small {
    min-width: 77px;
    height: 40px;
    padding: 0 30px;
    font-size: var(--fontSizeBase);
    line-height: var(--lineHeightSm);
}

.btn.medium {
    height: 48px;
    padding: 0 40px;
    font-size: var(--fontSizeMd);
    line-height: var(--lineHeightBase);
}

.btn.large {
    height: 60px;
    padding: 0 40px;
    font-size: var(--fontSizeLg);
    line-height: var(--lineHeightMd);
}


/* button color */
.btn.primary {
    background-color: var(--colorPrimary);
    color: var(--colorWhite);
}

.btn.secondary {
    background-color: var(--colorSecondary);
    color: var(--colorWhite);
}

.btn.border {
    border: 1px solid var(--colorPrimary);
    color: var(--colorPrimary);
    background-color: var(--colorWhite);
}

.btn.disabled {
    background-color: var(--colorGray200);
    color: var(--colorGray400);
    pointer-events: none;
}

/* button Style */





/* top btn */
.top {
    width: 48px;
    height: 48px;
    border-radius: var(--borderRadiusXl);
    background-color: var(--colorSecondary);
    font-size: var(--fontSizeSm);
    line-height: var(--lineHeightSm);
    font-weight: var(--fontWeightBold);
    display: none;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    position: fixed;
    right: 30px;
    bottom: 30px;
    z-index: 10;
}

/* top btn */





/* checkbox Style */
.check-box {
    position: relative;
    appearance: none;
    width: 16px;
    height: 16px;
}

.check-box::after {
    content: "";
    width: 16px;
    height: 16px;
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    background-image: url("../images/common/checkboxDefault.svg");
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

.check-box:checked::after {
    background-image: url("../images/common/checkboxChecked.svg");
}

label.check-label {
    width: max-content;
    display: grid;
    align-items: center;
    grid-template-columns: auto auto;
    gap: 0 6px;
    cursor: pointer;
}

label.check-label p {
    font-size: var(--fontSizeBase);
    line-height: var(--lineHeightSm);
}

label.check-label.highlight .check-box::after {
    background-image: url("../images/common/checkboxError.svg");
}

label.check-label.highlight .check-box:checked::after {
    background-image: url("../images/common/checkboxChecked.svg");
}

label.check-label.highlight p {
    color: var(--colorRed);
}

/* checkbox Style */





/* input / textarea Style */
label.input-label {
    width: 100%;
    height: 40px;
    display: block;
}

label.input-label input {
    width: 100%;
    height: 100%;
    box-sizing: border-box;
    border: 1px solid var(--colorGray200);
    background-color: var(--colorWhite);
    font-size: var(--fontSizeBase);
    color: var(--colorBlack);
    padding: 0 10px;
    border-radius: var(--borderRadiusXs);
}

label.textarea-label {
    width: 100%;
    height: 450px;
    display: block;
}

label.textarea-label textarea {
    width: 100%;
    height: 100%;
    box-sizing: border-box;
    border: 1px solid var(--colorGray200);
    background-color: var(--colorWhite);
    font-size: var(--fontSizeBase);
    color: var(--colorBlack);
    padding: 10px;
    border-radius: var(--borderRadiusXs);
}

label.input-label input:focus,
label.textarea-label textarea:focus {
    border: 1px solid var(--colorPrimary);
}

label.input-label input::placeholder,
label.textarea-label textarea::placeholder {
    font-size: var(--fontSizeBase);
    color: var(--colorGray300);
}

label.input-label.highlight input,
label.textarea-label.highlight textarea {
    border: 1px solid var(--colorRed);
}

/* input / textarea Style */





/* selectBox Style - 반응형 대응 필요 */
/* 전체 영역 */
.select-area {
    width: 100%;
    box-sizing: border-box;
    position: relative;
}


/* 선택된 영역 */
.select-box {
    width: 100%;
    height: 40px;
    padding: 0 10px;
    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: space-between;
    text-align: left;
    background-color: var(--colorWhite);
    border: 1px solid var(--colorGray200);
    border-radius: var(--borderRadiusXs);
    cursor: pointer;
}

.select-text {
    font-size: var(--fontSizeBase);
    color: var(--colorGray300);
}

/* 선택 옵션 영역 */
.select-option {
    width: 100%;
    position: absolute;
    top: 46px;
    left: 0;
    z-index: 10;
    background-color: var(--colorWhite);
    border: 1px solid var(--colorBlack);
    box-sizing: border-box;
    overflow: hidden;
    border-radius: var(--borderRadiusXs);
    box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.12);
    padding: 4px 0;
}

.select-option button {
    width: 100%;
    height: 38px;
    padding: 0 10px;
    box-sizing: border-box;
    font-size: var(--fontSizeBase);
    display: flex;
    align-items: center;
    justify-content: space-between;
    text-align: left;
}

.select-box.highlight{
    border: 1px solid var(--colorRed);
}

/* selectBox Style - 반응형 대응 필요 */





/* pagination Style */
.pagination {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0 6px;
    margin-top: 30px;
}

.pagination button {
    display: flex;
    align-items: center;
    justify-content: center;
}

.page-arrow {
    display: flex;
    align-items: center;
}

.page-number {
    display: flex;
    align-items: center;
    gap: 0 4px;
}

.page-number button {
    width: 32px;
    height: 32px;
    font-size: var(--fontSizeBase);
    line-height: var(--lineHeightSm);
    color: var(--colorGray400);
    border-radius: var(--borderRadiusXs);
}
/* pagination Style */





/* search-keyword-area Style - 반응형 대응 필요 */
.search-keyword-area {
    width: 300px;
    height: 40px;
    background-color: var(--colorWhite);
    border-radius: var(--borderRadiusXs);
    box-sizing: border-box;
    display: grid;
    align-items: center;
    grid-template-columns: 1fr auto;
    gap: 0 10px;
    border: 1px solid var(--colorGray200);
    padding: 0 10px;
}

.search-keyword-area:focus-within {
    border: 1px solid var(--colorBlack);
}

.search-keyword-area:focus-within .search-btn img {
    content: url(/images/common/search-icon-active.svg);
}

.search-keyword-area .input-label {
    width: auto;
    height: 100%;
}

.search-keyword-area .input-label input {
    border: 0;
    padding: 0;
}

.search-keyword-area .input-label input:focus {
    border: none;
}

.search-btn {
    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) {
    .btn.primary:hover {
        background-color: var(--colorPrimary200);
    }

    .btn.secondary:hover {
        background-color: var(--colorSecondary200);
    }

    .btn.border:hover {
        background-color: var(--colorPrimary);
        color: var(--colorWhite);
    }

    .select-option button:hover {
        background-color: var(--colorPrimary100);
    }

    .page-number button:hover {
        color: var(--colorBlack);
        background-color: var(--colorPrimary100);
    }
}





/* responsive css */
@media screen and (min-width: 768px) and (max-width: 1279px) {

    /* 레이아웃 기준 센터 영역 - 반응형 대응 필요 */
    #container {
        min-height: calc(100vh - 296px);
    }

    section {
        padding: 110px 0 120px;
    }

    /* 레이아웃 기준 센터 영역 - 반응형 대응 필요 */


    /* 공통 타이틀 및 텍스트 */
    .title {
        font-size: var(--fontSize4Xl);
        line-height: var(--lineHeight3Xl);
    }

    .section-title {
        font-size: var(--fontSize3Xl);
        line-height: var(--lineHeight2Xl);
        font-weight: var(--fontWeightBold);
    }

    /* 공통 타이틀 및 텍스트 */
}

@media screen and (max-width: 767px) {

    /* 레이아웃 기준 센터 영역 - 반응형 대응 필요 */
    .content-inner {
        width: calc(100% - 60px);
    }

    #container {
        min-height: calc(100vh - 488px);
    }

    section {
        padding: 90px 0 100px;
    }

    /* 레이아웃 기준 센터 영역 - 반응형 대응 필요 */


    /* top btn */
    .top {
        width: 42px;
        height: 42px;
        right: 10px;
    }

    /* top btn */


    /* title group gap */
    .title-group {
        gap: 12px 0;
    }

    /* title group gap */


    /* 공통 타이틀 및 텍스트 */
    .title {
        font-size: var(--fontSize3Xl);
        line-height: var(--lineHeight2Xl);
    }

    .section-title {
        font-size: 30px;
        line-height: var(--lineHeight2Xl);
    }

    .group-title {
        font-size: var(--fontSizeLg);
        line-height: var(--lineHeightMd);
    }

    .desc {
        font-size: var(--fontSizeMd);
        line-height: var(--lineHeightBase);
    }

    /* 공통 타이틀 및 텍스트 */


    /* button size - 반응형 대응 필요 */
    .btn.small {
        min-width: 65px;
        padding: 0 20px;
    }

    .btn.medium {
        padding: 0 30px;
    }

    .btn.large {
        height: 56px;
        padding: 0 30px;
        font-size: var(--fontSizeMd);
        line-height: var(--lineHeightBase);
    }

    /* button size - 반응형 대응 필요 */


    /* pagination Style */
    .pagination {
        margin-top: 20px;
    }
    /* pagination Style */


    /* search-keyword-area Style - 반응형 대응 필요 */
    .search-keyword-area{
        width: 100%;
    }
    /* search-keyword-area Style - 반응형 대응 필요 */
}