@import "reset.css";
@import "header.css";
@import "footer.css";
@import "modal.css";
@import "layout.css";
@import "active.css";


:root {

    /* color */
    --colorPrimary: #DC0101;
    --colorPrimary100: #FFF9F9;
    --colorPrimary200: #D38989;

    --colorGray100: #f5f5f5;
    --colorGray200: #e6e6e6;
    --colorGray300: #d9d9d9;
    --colorGray400: #B1B1B1;
    --colorGray500: #808080;
    --colorGray600: #666666;
    --colorGray700: #3e3e3e;

    --colorWhite: #FFFFFF;

    --colorBlack: #242424;

    --colorGreen: #36C752;

    --colorBlue: #4D79BB;

    --colorTransparent: transparent;

    --colorGradient: linear-gradient(88deg, #C80000 1.77%, #930000 98.23%);


    /* 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: 36px;
    --fontSize5Xl: 46px;
    --fontSize6Xl: 56px;
    --fontSize7Xl: 80px;
    --fontSize8Xl: 100px;


    /* font weight */
    --fontWeightLight: 300;
    --fontWeightRegular: 400;
    --fontWeightMedium: 500;
    --fontWeightSemibold: 600;
    --fontWeightBold: 700;


    /* line height */
    --lineHeightXs: 18px;
    --lineHeightSm: 22px;
    --lineHeightBase: 26px;
    --lineHeightMd: 28px;
    --lineHeightLg: 32px;
    --lineHeightXl: 36px;
    --lineHeight2Xl: 42px;
    --lineHeight3Xl: 60px;
    --lineHeight4Xl: 70px;
    --lineHeight5Xl: 90px;
    --lineHeight6Xl: 110px;
}





/* 기본 폰트 설정 */
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;
}

body {
    background-image: url(/images/common/pageBg.png);
    background-position: center 0;
    background-repeat: no-repeat;
    background-size: cover;
}

/* 기본 폰트 설정 */





/* 레이아웃 기준 센터 영역 - 반응형 대응 필요 */
.content-inner {
    max-width: 1400px;
    width: calc(100% - 80px);
    margin: 0 auto;
}

#container {
    width: 100%;
    min-height: calc(100vh - 234px);
}

section {
    width: 100%;
    padding: 150px 0 160px;
}

section .content-inner {
    width: calc(100% - 23%);
}

/* 레이아웃 기준 센터 영역 - 반응형 대응 필요 */





/* 특정 텍스트를 primary색으로 표기할 때 */
.txt-primary {
    color: var(--colorPrimary) !important;
}

/* 특정 텍스트를 primary색으로 표기할 때 */





/* 특정 텍스트를 초록색으로 표기할 때 */
.txt-confirm {
    color: var(--colorGreen) !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;
}

/* 특정 텍스트를 하얀색으로 표기할 때 */





/* message 문구 */
.message {
    font-size: var(--fontSizeBase);
    line-height: var(--lineHeightSm);
    display: flex;
    align-items: center;
    gap: 0 6px;
}

.message.txt-primary img{
    display: none;
}
/* message 문구 */





/* 읽기전용 div */
.read-only {
    width: 100%;
    height: 48px;
    border: 1px solid var(--colorGray300);
    box-sizing: border-box;
    background-color: var(--colorGray100);
    padding: 0 16px;
    font-size: var(--fontSizeBase);
    line-height: var(--lineHeightSm);
    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(--fontSize6Xl);
    line-height: var(--lineHeight4Xl);
    font-weight: var(--fontWeightBold);
}

.section-title {
    font-size: var(--fontSize5Xl);
    line-height: var(--lineHeight3Xl);
    font-weight: var(--fontWeightBold);
}

.group-title {
    font-size: var(--fontSizeXl);
    line-height: var(--lineHeightLg);
    font-weight: var(--fontWeightBold);
}

.sub-title {
    font-size: var(--fontSizeLg);
    line-height: var(--lineHeightMd);
    font-weight: var(--fontWeightMedium);
    color: var(--colorPrimary);
}

.desc {
    font-size: var(--fontSizeLg);
    line-height: var(--lineHeightMd);
    color: var(--colorGray600);
}

/* 공통 타이틀 및 텍스트 */





/* 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;
    height: 48px;
    font-weight: var(--fontWeightSemibold);
    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 40px;
}


/* button size - 반응형 대응 필요 */
.btn.medium {
    font-size: var(--fontSizeBase);
    line-height: var(--lineHeightSm);
}

.btn.large {
    font-size: var(--fontSizeMd);
    line-height: var(--lineHeightBase);
}


/* button color */
.btn.primary {
    background: var(--colorGradient);
    color: var(--colorWhite);
}

.btn.secondary {
    background-color: var(--colorTransparent);
    border: 1px solid var(--colorPrimary);
    color: var(--colorPrimary);
}

.btn.disabled {
    background-color: var(--colorGray200);
    color: var(--colorGray400);
    pointer-events: none;
}

/* button Style */





/* scroll Custom */
.scroll-custom::-webkit-scrollbar {
    width: 4px;
}

.scroll-custom::-webkit-scrollbar-thumb {
    background-color: var(--colorGray400);
}

.scroll-custom::-webkit-scrollbar-button {
    display: none;
}

/* scroll Custom */





/* top btn */
.top {
    width: 48px;
    height: 48px;
    background-color: var(--colorWhite);
    border: 1px solid var(--colorGray200);
    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 5px 0;
    border-radius: 50px;
    cursor: pointer;
    position: fixed;
    right: 40px;
    bottom: 60px;
    z-index: 10;
    box-shadow: 6px 6px 14px 0 rgba(0, 0, 0, 0.08);
}

.top span {
    width: 4px;
    height: 4px;
    background-color: var(--colorGray500);
}

.top p {
    font-size: var(--fontSizeBase);
    font-weight: var(--fontWeightBold);
    color: var(--colorGray500);
}

/* top btn */





/* checkbox Style */
.check-box {
    position: relative;
    appearance: none;
    width: 20px;
    height: 20px;
}

.check-box::after {
    content: "";
    width: 20px;
    height: 20px;
    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;
    justify-content: flex-start;
    grid-template-columns: auto auto;
    gap: 0 6px;
    cursor: pointer;
}

label.check-label p {
    font-size: var(--fontSizeBase);
    line-height: var(--lineHeightSm);
    color: var(--colorGray500);
}

.check-box:checked + p {
    color: var(--colorBlack);
}
/* 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(--colorGray300);
    background-color: var(--colorWhite);
    font-size: var(--fontSizeBase);
    color: var(--colorBlack);
    padding: 0 16px;
}

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(--colorGray300);
    background-color: var(--colorWhite);
    font-size: var(--fontSizeBase);
    color: var(--colorBlack);
    padding: 10px 16px;
}

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(--fontSizeBase);
    color: var(--colorGray400);
}

label.input-label.highlight input,
label.textarea-label.highlight textarea {
    border: 1px solid var(--colorPrimary);
}

/* input / textarea Style */





/* selectBox Style - 반응형 대응 필요 */
/* 전체 영역 */
.select-area {
    width: 100%;
    box-sizing: border-box;
    position: relative;
}


/* 선택된 영역 */
.select-box {
    width: 100%;
    height: 48px;
    padding: 0 14px;
    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: space-between;
    text-align: left;
    background-color: var(--colorWhite);
    border: 1px solid var(--colorGray300);
    cursor: pointer;
}

.select-box:disabled {
    background-color: var(--colorGray100);
    pointer-events: none;
    border: 1px solid var(--colorGray300);
}

.select-box.highlight{
    border: 1px solid var(--colorPrimary);
}

.select-text {
    font-size: var(--fontSizeBase);
    color: var(--colorGray400);
}

/* 선택 옵션 영역 */
.select-option {
    width: 100%;
    position: absolute;
    top: 51px;
    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: 42px;
    padding: 0 14px;
    box-sizing: border-box;
    font-size: var(--fontSizeBase);
    display: flex;
    align-items: center;
    justify-content: space-between;
    text-align: left;
}
/* selectBox Style - 반응형 대응 필요 */





/* pagination Style */
.pagination {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0 10px;
    margin-top: 30px;
}

.pagination button {
    display: flex;
    align-items: center;
    justify-content: center;
}

.page-arrow {
    display: flex;
    align-items: center;
    gap: 0 20px;
}

.page-number {
    display: flex;
    align-items: center;
}

.page-number button {
    width: 35px;
    height: 35px;
    font-size: var(--fontSizeMd);
    line-height: var(--lineHeightBase);
    font-weight: var(--fontWeightSemibold);
    color: var(--colorGray400);
}

.page-number button.active {
    color: var(--colorPrimary);
}

/* pagination Style */





/* search-keyword-area Style - 반응형 대응 필요 */
.search-keyword-area {
    width: 360px;
    height: 48px;
    background-color: var(--colorWhite);
    box-sizing: border-box;
    display: grid;
    align-items: center;
    grid-template-columns: 1fr 14px 18px;
    gap: 0 10px;
    border: 1px solid var(--colorGray300);
    padding: 0 16px;
}

.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-remove {
    opacity: 0;
    visibility: hidden;
}

.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: linear-gradient(94deg, #E90404 0%, #B40000 104.85%);
    }

    .btn.secondary:hover {
        border: 1px solid var(--colorBlack);
        color: var(--colorBlack);
    }

    .check-box:not(:checked):hover::after {
        background-image: url("../images/common/checkboxHover.svg");
    }

    .select-option button:hover {
        background-color: var(--colorPrimary100);
    }

    .page-arrow button.front:hover img {
        content: url(/images/common/pageNation-front-hover.svg);
    }

    .page-arrow button.prev:hover img {
        content: url(/images/common/pageNation-prev-hover.svg);
    }

    .page-arrow button.next:hover img {
        content: url(/images/common/pageNation-next-hover.svg);
    }

    .page-arrow button.back:hover img {
        content: url(/images/common/pageNation-back-hover.svg);
    }

    .page-number button:hover {
        color: var(--colorGray600);
    }
}





/* responsive css */
@media screen and (min-width: 768px) and (max-width: 1279px) {

    /* 레이아웃 기준 센터 영역 - 반응형 대응 필요 */
    #container {
        width: 100%;
        min-height: calc(100vh - 273px);
    }

    section {
        padding: 104px 0 100px;
    }

    section .content-inner {
        width: calc(100% - 80px);
    }

    /* 레이아웃 기준 센터 영역 - 반응형 대응 필요 */


    /* 공통 타이틀 및 텍스트 */
    .title {
        font-size: var(--fontSize4Xl);
        line-height: var(--lineHeight2Xl);
    }

    .section-title {
        font-size: var(--fontSize3Xl);
        line-height: var(--lineHeightXl);
    }

    .sub-title {
        font-size: var(--fontSizeMd);
        line-height: var(--lineHeightBase);
        margin-bottom: -16px;
    }

    .desc {
        font-size: var(--fontSizeMd);
        line-height: var(--lineHeightBase);
    }

    /* 공통 타이틀 및 텍스트 */


    /* pagination Style */
    .pagination {
        margin-top: 20px;
    }

    /* pagination Style */


    /* search-keyword-area Style - 반응형 대응 필요 */
    .search-keyword-area {
        width: 240px;
    }

    /* search-keyword-area Style - 반응형 대응 필요 */


    /* top btn */
    .top {
        right: 20px;
        bottom: 40px;
    }

    /* top btn */
}

@media screen and (max-width: 767px) {

    /* 레이아웃 기준 센터 영역 - 반응형 대응 필요 */
    .content-inner {
        width: calc(100% - 40px);
    }

    #container {
        width: 100%;
        min-height: calc(100vh - 492px);
    }

    section {
        padding: 90px 0 80px;
    }

    section .content-inner {
        width: calc(100% - 40px);
    }

    /* 레이아웃 기준 센터 영역 - 반응형 대응 필요 */


    /* 공통 타이틀 및 텍스트 */
    .title {
        font-size: var(--fontSize3Xl);
        line-height: var(--lineHeightXl);
    }

    .section-title {
        font-size: var(--fontSize2Xl);
        line-height: var(--lineHeightXl);
        text-align: center;
    }

    .group-title {
        font-size: var(--fontSizeMd);
        line-height: var(--lineHeightBase);
    }

    .sub-title {
        font-size: var(--fontSizeBase);
        line-height: var(--lineHeightSm);
        margin-bottom: -10px;
    }

    .desc {
        font-size: var(--fontSizeBase);
        line-height: var(--lineHeightSm);
    }

    /* 공통 타이틀 및 텍스트 */


    /* top btn */
    .top {
        right: 10px;
        bottom: 30px;
    }

    /* top btn */


    /* checkbox Style */
    .check-box {
        width: 16px;
        height: 16px;
    }

    .check-box::after {
        width: 16px;
        height: 16px;
    }

    /* checkbox Style */


    /* pagination Style */
    .pagination {
        margin-top: 20px;
    }

    /* pagination Style */


    /* search-keyword-area Style - 반응형 대응 필요 */
    .search-keyword-area {
        width: 100%;
    }
    /* innerBtnSearchArea Style - 반응형 대응 필요 */
}