@import "reset.css";
@import "header.css";
@import "footer.css";
@import "modal.css";
@import "layout.css";
@import "active.css";


:root {

    /* color */
    --colorPrimary: #ff5001;
    --colorPrimary100: #FFF8F4;

    --colorGray100: #F9F9F9;
    --colorGray200: #ECECEC;
    --colorGray300: #E0E0E0;
    --colorGray400: #cdcdcd;
    --colorGray500: #BABABA;
    --colorGray600: #858585;
    --colorGray700: #555555;

    --colorWhite: #FFFFFF;

    --colorBlack: #111111;

    --colorRed: #D80707;

    --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: 32px;
    --fontSize3Xl: 36px;
    --fontSize4Xl: 48px;
    --fontSize5Xl: 52px;
    --fontSize6Xl: 62px;
    --fontSize7Xl: 82px;


    /* font weight */
    --fontWeightMedium: 500;
    --fontWeightSemibold: 600;
    --fontWeightBold: 700;
    --fontWeightExtrabold: 800;
    --fontWeightHeavy: 900;


    /* line height */
    --lineHeightXs: 20px;
    --lineHeightSm: 22px;
    --lineHeightBase: 26px;
    --lineHeightMd: 28px;
    --lineHeightLg: 30px;
    --lineHeightXl: 36px;
    --lineHeight2Xl: 44px;
    --lineHeight3Xl: 48px;
    --lineHeight4Xl: 52px;
    --lineHeight5Xl: 62px;
    --lineHeight6Xl: 68px;
    --lineHeight7Xl: 80px;
    --lineHeight8Xl: 90px;
    --lineHeight9Xl: 94px;
}





/* 기본 폰트 설정 */
body,
button,
input,
select,
table,
textarea {
    color: var(--colorBlack);
    font-family: 'SUIT', sans-serif;
    letter-spacing: -0.5px;
    font-weight: var(--fontWeightMedium);
    word-break: keep-all;
}

/* 기본 폰트 설정 */





/* 레이아웃 기준 센터 영역 - 반응형 대응 필요 */
.content-inner {
    max-width: 1280px;
    width: calc(100% - 88px);
    margin: 0 auto;
}

#container {
    width: 100%;
    min-height: calc(100vh - 525px);
    box-sizing: border-box;
    padding-top: 102px;
}

section {
    width: 100%;
    padding: 80px 0 140px;
}

/* 레이아웃 기준 센터 영역 - 반응형 대응 필요 */





/* 특정 텍스트를 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 {
    width: 100%;
    font-size: var(--fontSizeSm);
    line-height: var(--lineHeightSm);
}

/* confirm 문구 */





/* 읽기전용 div */
.read-only {
    width: 100%;
    height: 48px;
    border-bottom: 1px solid var(--colorBlack);
    box-sizing: border-box;
    background-color: var(--colorGray200);
    padding: 0 10px;
    font-size: var(--fontSizeSm);
    color: var(--colorGray600);
    display: flex;
    align-items: center;
}

/* 읽기전용 div */





/* title group gap */
.title-group {
    display: flex;
    flex-direction: column;
    gap: 15px 0;
}

/* title group gap */





/* 공통 타이틀 및 텍스트 */
.title {
    font-size: var(--fontSize7Xl);
    line-height: var(--lineHeight9Xl);
    font-weight: var(--fontWeightHeavy);
    text-transform: uppercase;
}

.section-title {
    font-size: var(--fontSize5Xl);
    line-height: var(--lineHeight6Xl);
    font-weight: var(--fontWeightMedium);
}

.group-title {
    font-size: var(--fontSizeXl);
    line-height: var(--lineHeightXl);
    font-weight: var(--fontWeightExtrabold);
    position: relative;
}

.item-title {
    font-size: var(--fontSize3Xl);
    font-weight: var(--fontWeightExtrabold);
    line-height: var(--lineHeight4Xl);
}

.desc {
    font-size: var(--fontSizeBase);
    line-height: var(--lineHeightBase);
}

/* 공통 타이틀 및 텍스트 */





/* logo Style */
h1,
h1>a {
    width: max-content;
    display: flex;
    align-items: center;
    justify-content: center;
}

h1>a img {
    max-width: 100%;
}

/* logo Style */





/* button Style */
/* button Common Style */
.btn {
    width: max-content;
    justify-content: space-between;
    font-weight: var(--fontWeightBold);
    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0 10px;
    padding: 0 15px;
    transition: color .5s, border .5s, background-color .5s;
}

.btn img {
    width: 18px;
}


/* button size - 반응형 대응 필요 */
.btn.small {
    min-width: 80px;
    height: 36px;
    font-size: var(--fontSizeXs);
}

.btn.medium {
    min-width: 140px;
    height: 48px;
    font-size: var(--fontSizeSm);
}

/* button color */
.btn.primary {
    background-color: var(--colorBlack);
    color: var(--colorWhite);
}

.btn.secondary {
    border: 1px solid var(--colorBlack);
    color: var(--colorBlack);
}

.btn.disabled {
    background-color: var(--colorGray200);
    color: var(--colorGray600);
    pointer-events: none;
}

/* button Style */





/* top Style - 반응형 대응 필요 */
.top {
    width: 72px;
    height: 72px;
    position: fixed;
    right: 30px;
    bottom: 30px;
    z-index: 10;
    border: 1px solid var(--colorPrimary);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    overflow: hidden;
    background-color: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(4px);
}

.top-inner {
    width: 100%;
    height: 144px;
    position: absolute;
    top: 0;
    left: 0;
}

.top-inner p {
    width: 100%;
    height: 72px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/*.top:hover .top-inner {*/
/*    top: -72px;*/
/*    transition: top .5s;*/
/*}*/

/* top Style - 반응형 대응 필요 */





/* scroll Custom */
.scroll-custom::-webkit-scrollbar {
    width: 6px;
}

.scroll-custom::-webkit-scrollbar-thumb {
    background-color: var(--colorBlack);
}

.scroll-custom::-webkit-scrollbar-button {
    display: none;
}

/* scroll Custom */





/* checkbox Style */
.check-label {
    display: flex;
    align-items: center;
    gap: 0 8px;
    cursor: pointer;
}

.check-label p {
    font-size: var(--fontSizeSm);
    line-height: var(--lineHeightSm);
    color: var(--colorGray700);
}

.check-box {
    position: relative;
    appearance: none;
    width: 18px;
    height: 18px;
}

.check-label.highlight p {
    color: var(--colorRed);
}

.check-label.highlight .check-box::after {
    content: url(../images/common/check-error.svg);
}

.check-box::after {
    content: url(../images/common/checkbox-default.svg);
    width: 18px;
    height: 18px;
    display: block;
    position: absolute;
    top: 0;
    left: 0;
}

.check-box:checked::after {
    content: url(../images/common/checkbox-checked.svg);
}

.check-label.disabled{
    pointer-events: none;
}

.check-label.disabled .check-box::after {
    content: url(../images/common/checkbox-disabled.svg);
}
/* 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-bottom: 1px solid var(--colorBlack);
    background-color: var(--colorGray100);
    font-size: var(--fontSizeSm);
    color: var(--colorBlack);
    padding: 0 10px;
}

label.textarea-label {
    width: 100%;
    height: 200px;
    display: block;
}

label.textarea-label textarea {
    width: 100%;
    height: 100%;
    box-sizing: border-box;
    /*border-bottom: 1px solid var(--colorBlack);*/
    background-color: var(--colorGray100);
    font-size: var(--fontSizeSm);
    line-height: var(--lineHeightSm);
    color: var(--colorBlack);
    padding: 15px 10px;
}

/*label.input-label input:focus,*/
/*label.textarea-label textarea:focus {*/
/*    background-color: var(--colorWhite);*/
/*}*/

label.input-label input:focus {
    background-color: var(--colorWhite);
}

label.input-label input::placeholder,
label.textarea-label textarea::placeholder {
    font-size: var(--fontSizeSm);
    line-height: var(--lineHeightSm);
    color: var(--colorGray500);
}

/*label.input-label.highlight input,*/
/*label.textarea-label.highlight textarea {*/
/*    border-bottom: 1px solid var(--colorRed);*/
/*}*/

label.input-label.highlight input{
    border-bottom: 1px solid var(--colorRed);
}

/* input / textarea Style */





/* selectBox Style - 반응형 대응 필요 */
/* 전체 영역 */
.select-area {
    box-sizing: border-box;
    position: relative;
}


/* 선택된 영역 */
.select-box {
    width: 100%;
    height: 48px;
    padding: 0 10px;
    box-sizing: border-box;
    display: grid;
    align-items: center;
    grid-template-columns: 1fr 20px;
    justify-content: space-between;
    gap: 0 10px;
    text-align: left;
    background-color: var(--colorGray100);
    border-bottom: 1px solid var(--colorBlack);
    cursor: pointer;
}

.select-box>span:first-child {
    font-size: var(--fontSizeSm);
    color: var(--colorGray600);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* 선택 옵션 영역 */
.select-option {
    width: 100%;
    position: absolute;
    top: 48px;
    left: 0;
    z-index: 10;
    background-color: var(--colorWhite);
    border-left: 1px solid var(--colorGray400);
    border-right: 1px solid var(--colorGray400);
    border-bottom: 1px solid var(--colorBlack);
    box-sizing: border-box;
}

.select-option button {
    width: 100%;
    height: 48px;
    padding: 10px;
    box-sizing: border-box;
    font-size: var(--fontSizeSm);
    color: var(--colorGray700);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.select-option button p {
    display: flex;
    align-items: center;
    gap: 0 5px;
}

.select-option button p span.option-price {
    color: var(--colorBlack);
}

.select-option button p span.option-discount {
    font-size: var(--fontSizeXs);
    font-weight: var(--fontWeightMedium) !important;
}

/*.select-option button:hover,*/
/*.select-option button:hover p {*/
/*    background-color: var(--colorPrimary100);*/
/*    color: var(--colorPrimary);*/
/*    font-weight: var(--fontWeightBold);*/
/*}*/

/*.select-option button:hover p span.option-price {*/
/*    color: var(--colorPrimary);*/
/*}*/

.defualt-select-area,
.period-select-area {
    width: 280px;
}

/* selectBox Style - 반응형 대응 필요 */





/* pagination Style */
.pagination {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0 14px;
}

.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 12px;
}

.page-number button {
    width: 32px;
    height: 32px;
    font-size: var(--fontSizeBase);
    color: var(--colorGray600);
}

.page-number button.active {
    background-color: var(--colorPrimary);
    color: var(--colorWhite);
    font-weight: var(--fontWeightExtrabold);
}

/* pagination Style */





/* search-keyword-area Style - 반응형 대응 필요 */
.search-keyword-area {
    width: 280px;
    overflow: hidden;
    display: grid;
    grid-template-columns: 232px 48px;
}

.search-keyword-area .input-label {
    width: inherit;
}

.search-keyword-area .input-label input {
    border-top: 1px solid var(--colorGray400);
    border-bottom: 1px solid var(--colorGray400);
    border-left: 1px solid var(--colorGray400);
    background-color: var(--colorWhite);
    padding: 0 8px;
}

.search-keyword-area button {
    width: 48px;
    height: 48px;
    background-color: var(--colorBlack);
}

/* search-keyword-area Style - 반응형 대응 필요 */





/* 컨텐츠 display */
.hide {
    display: none !important;
}

.show-block {
    display: block !important;
}

.show-flex {
    display: flex !important;
}

.show-grid {
    display: grid !important;
}

/* 컨텐츠 display */





@media (hover: hover) and (pointer: fine) {
    .top:hover .top-inner {
        top: -72px;
        transition: top .5s;
    }

    .select-option button:hover,
    .select-option button:hover p {
        background-color: var(--colorPrimary100);
        color: var(--colorPrimary);
        font-weight: var(--fontWeightBold);
    }

    .select-option button:hover p span.option-price {
        color: var(--colorPrimary);
    }
}





/* responsive css */
@media screen and (min-width: 768px) and (max-width: 1279px) {
    .content-inner {
        max-width: 100%;
    }

    #container {
        min-height: calc(100vh - 589px);
        padding-top: 83px;
    }

    section {
        padding: 40px 0 100px;
    }


    /* top Style - 반응형 대응 필요 */
    .top {
        width: 52px;
        height: 52px;
        right: 20px;
        bottom: 40px;
    }

    .top-inner {
        height: 104px;
    }

    .top-inner p {
        width: 100%;
        height: 52px;
    }

    .top-inner p img {
        width: 16px;
        content: url(../images/common/mobile-top-btn.svg);
    }

    /*.top:hover .top-inner {*/
    /*    top: -52px;*/
    /*}*/

    /* top Style - 반응형 대응 필요 */


    /* 공통 타이틀 및 텍스트 */
    .title {
        font-size: 45px;
        line-height: 55px;
    }

    .section-title {
        font-size: var(--fontSize3Xl);
        line-height: var(--lineHeight4Xl);
    }

    /* 공통 타이틀 및 텍스트 */

}

@media screen and (max-width: 767px) {
    .content-inner {
        max-width: 100%;
        width: calc(100% - 40px);
    }

    #container {
        min-height: calc(100vh - 540px);
        padding-top: 73px;
    }

    section {
        padding: 30px 0 80px;
    }


    /* title group gap */
    .title-group {
        gap: 10px 0;
    }

    /* title group gap */


    /* top Style - 반응형 대응 필요 */
    .top {
        width: 38px;
        height: 38px;
        right: 15px;
        bottom: 40px;
    }

    .top-inner {
        width: 100%;
        height: 76px;
        position: absolute;
        top: 0;
        left: 0;
    }

    .top-inner p {
        width: 100%;
        height: 38px;
    }

    .top-inner p img {
        content: url(../images/common/mobile-top-btn.svg);
    }

    /*.top:hover .top-inner {*/
    /*    top: -38px;*/
    /*}*/

    /* top Style - 반응형 대응 필요 */


    /* 공통 타이틀 및 텍스트 */
    .title {
        font-size: var(--fontSizeXl);
        line-height: var(--lineHeightXl);
    }

    .section-title {
        font-size: var(--fontSizeXl);
        line-height: var(--lineHeightXl);
    }

    .group-title {
        font-size: var(--fontSizeBase);
        line-height: var(--lineHeightBase);
    }

    .item-title {
        font-size: var(--fontSizeLg);
        line-height: var(--lineHeightLg);
    }

    .desc {
        font-size: var(--fontSizeSm);
        line-height: var(--lineHeightSm);
    }

    /* 공통 타이틀 및 텍스트 */


    /* pagination Style */
    .pagination {
        gap: 0 10px;
    }

    .page-arrow img {
        width: 26px;
        height: 26px;
    }

    .page-number {
        gap: 0 10px;
    }

    .page-number button {
        width: 26px;
        height: 26px;
        font-size: var(--fontSizeSm);
    }

    /* pagination Style */


    /* search-keyword-area Style - 반응형 대응 필요 */
    .search-keyword-area {
        width: 100%;
        grid-template-columns: 1fr 48px;
    }

    /* innerBtnSearchArea Style - 반응형 대응 필요 */


    /* input / textarea Style */
    label.textarea-label {
        height: 300px;
    }
    /* input / textarea Style */
}