@import "reset.css";
@import "header.css";
@import "footer.css";
@import "modal.css";
@import "layout.css";
@import "active.css";

:root {
  /* color */
  --colorPrimary: #168ce6;
  --colorPrimary100: #f0f8ff;

  --colorSecondary: #fe540a;

  --colorGray100: #f7f7f7;
  --colorGray200: #e0e0e0;
  --colorGray300: #bababa;
  --colorGray400: #858585;
  --colorGray500: #555555;

  --colorWhite: #ffffff;

  --colorBlack: #202020;

  --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: 28px;
  --fontSize3Xl: 36px;
  --fontSize4Xl: 48px;

  /* font weight */
  --fontWeightMedium: 500;
  --fontWeightBold: 700;
  --fontWeightExtrabold: 800;

  /* line height */
  --lineHeightXs: 20px;
  --lineHeightSm: 22px;
  --lineHeightBase: 26px;
  --lineHeightMd: 28px;
  --lineHeightLg: 30px;
  --lineHeightXl: 34px;
  --lineHeight2Xl: 40px;
  --lineHeight3Xl: 50px;
  --lineHeight4Xl: 60px;

  /* border radius */
  --borderRadiusXs: 5px;
  --borderRadiusSm: 10px;
  --borderRadiusMd: 20px;
  --borderRadiusLg: 50px;
}

/* 기본 폰트 설정 */
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% - 80px);
  margin: 0 auto;
}

#container {
  width: 100%;
  min-height: calc(100vh - 389px);
  box-sizing: border-box;
  margin-top: 122px;
}

section {
  width: 100%;
  padding: 80px 0 140px;
}

/* 레이아웃 기준 센터 영역 - 반응형 대응 필요 */

/* 특정 텍스트를 primary색으로 표기할 때 */
.txt-primary {
  color: var(--colorPrimary) !important;
}

/* 특정 텍스트를 primary색으로 표기할 때 */

/* 특정 텍스트를 빨간색으로 표기할 때 */
.txt-alert {
  color: var(--colorSecondary) !important;
}

/* 특정 텍스트를 빨간색으로 표기할 때 */

/* 특정 텍스트를 검정색으로 표기할 때 */
.txt-black {
  color: var(--colorBlack) !important;
}

/* 특정 텍스트를 검정색으로 표기할 때 */

/* 특정 텍스트를 회색으로 표기할 때 */
.txt-muted {
  color: var(--colorGray300) !important;
}

.txt-dark-muted {
  color: var(--colorGray400) !important;
}

/* 특정 텍스트를 회색으로 표기할 때 */

/* 특정 텍스트를 하얀색으로 표기할 때 */
.txt-white {
  color: var(--colorWhite) !important;
}

/* 특정 텍스트를 하얀색으로 표기할 때 */

/* confirm 문구 */
.message {
  width: 100%;
  font-size: var(--fontSizeXs);
  line-height: var(--lineHeightXs);
  display: flex;
  align-items: center;
  gap: 0 4px;
}

/* confirm 문구 */

/* 읽기전용 div */
.read-only {
  width: 100%;
  height: 48px;
  border: 1px solid var(--colorGray200);
  box-sizing: border-box;
  background-color: var(--colorGray100);
  padding: 0 12px;
  font-size: var(--fontSizeSm);
  color: var(--colorGray400);
  display: flex;
  align-items: center;
  border-radius: var(--borderRadiusXs);
}

/* 읽기전용 div */

/* title group gap */
.title-group {
  display: flex;
  flex-direction: column;
  gap: 10px 0;
}

/* title group gap */

/* 공통 타이틀 및 텍스트 */
.title {
  font-size: var(--fontSize4Xl);
  line-height: var(--lineHeight4Xl);
  font-weight: var(--fontWeightExtrabold);
  text-align: center;
}

.section-title {
  font-size: var(--fontSize3Xl);
  line-height: var(--lineHeight3Xl);
  font-weight: var(--fontWeightExtrabold);
}

.group-title {
  font-size: var(--fontSize2Xl);
  line-height: var(--lineHeight2Xl);
  font-weight: var(--fontWeightExtrabold);
}

.item-title {
  font-size: var(--fontSizeLg);
  line-height: var(--lineHeightLg);
  font-weight: var(--fontWeightExtrabold);
}

.desc {
  font-size: var(--fontSizeBase);
  line-height: var(--lineHeightBase);
  color: var(--colorGray400);
}

/* 공통 타이틀 및 텍스트 */

/* 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: center;
  font-weight: var(--fontWeightBold);
  box-sizing: border-box;
  display: flex;
  align-items: center;
  gap: 0 50px;
  border-radius: var(--borderRadiusXs);
  padding: 0 16px;
  transition: color 0.5s, border 0.5s, background-color 0.5s;
}

/* button size - 반응형 대응 필요 */
.btn.small {
  min-width: 80px;
  height: 34px;
  font-size: var(--fontSizeXs);
}

.btn.medium {
  min-width: 120px;
  height: 48px;
  font-size: var(--fontSizeSm);
}

.btn.large {
  min-width: 160px;
  height: 52px;
  font-size: var(--fontSizeBase);
}

/* button color */
.btn.primary {
  background-color: var(--colorPrimary);
  border: 1px solid var(--colorPrimary);
  color: var(--colorWhite);
}

.btn.secondary {
  background-color: var(--colorWhite);
  border: 1px solid var(--colorPrimary);
  color: var(--colorPrimary);
}

.btn.disabled {
  background-color: var(--colorGray200);
  border: 1px solid var(--colorGray200);
  color: var(--colorGray400);
  pointer-events: none;
}

/* button Style */

/* top Style - 반응형 대응 필요 */
.top {
  width: 48px;
  height: 48px;
  background-color: var(--colorPrimary);
  border-radius: var(--borderRadiusLg);
  position: fixed;
  right: 30px;
  bottom: 40px;
  z-index: 11;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px 0 rgba(0, 0, 0, 0.08);
  cursor: pointer;
}

/* top Style - 반응형 대응 필요 */

/* scroll Custom */
.scroll-custom::-webkit-scrollbar {
  width: 2px;
}

.scroll-custom::-webkit-scrollbar-thumb {
  background-color: var(--colorGray300);
  border-radius: var(--borderRadiusSm);
}

.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/checkboxDefault.svg);
  width: 18px;
  height: 18px;
  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 6px;
  cursor: pointer;
}

label.check-label p {
  font-size: var(--fontSizeSm);
  color: var(--colorGray500);
  line-height: var(--lineHeightSm);
}

/* 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(--colorGray200);
  background-color: var(--colorWhite);
  font-size: var(--fontSizeSm);
  color: var(--colorBlack);
  padding: 0 12px;
  border-radius: var(--borderRadiusXs);
}

label.textarea-label {
  width: 100%;
  height: 200px;
  display: block;
}

label.textarea-label textarea {
  width: 100%;
  height: 100%;
  border-radius: var(--borderRadiusXs);
  box-sizing: border-box;
  border: 1px solid var(--colorGray200);
  background-color: var(--colorWhite);
  font-size: var(--fontSizeSm);
  color: var(--colorBlack);
  padding: 15px 12px;
}

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(--fontSizeSm);
  color: var(--colorGray300);
}

label.input-label.highlight input,
label.textarea-label.highlight textarea {
  border: 1px solid var(--colorSecondary);
}

/* input / textarea Style */

/* selectBox Style - 반응형 대응 필요 */
/* 전체 영역 */
.select-area {
  box-sizing: border-box;
  position: relative;
}

/* 선택된 영역 */
.select-box {
  width: 100%;
  height: 48px;
  padding: 0 12px;
  box-sizing: border-box;
  display: grid;
  align-items: center;
  grid-template-columns: 1fr 16px;
  justify-content: space-between;
  gap: 0 10px;
  text-align: left;
  background-color: var(--colorWhite);
  border: 1px solid var(--colorGray200);
  border-radius: var(--borderRadiusXs);
  cursor: pointer;
}

.select-box > span:first-child {
  font-size: var(--fontSizeSm);
  color: var(--colorGray300);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* 선택 옵션 영역 */
.select-option {
  width: 100%;
  position: absolute;
  top: 54px;
  left: 0;
  z-index: 10;
  background-color: var(--colorWhite);
  border: 1px solid var(--colorPrimary);
  border-radius: var(--borderRadiusXs);
  box-sizing: border-box;
  overflow: hidden;
}

.select-option button {
  width: 100%;
  height: 48px;
  padding: 15px;
  box-sizing: border-box;
  font-size: var(--fontSizeSm);
  color: var(--colorGray500);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
/* selectBox Style - 반응형 대응 필요 */

/* pagination Style */
.pagination {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0 20px;
  margin-top: 40px;
}

.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 10px;
}

.page-number button {
  width: 32px;
  height: 32px;
  border-radius: var(--borderRadiusXs);
  font-size: var(--fontSizeBase);
  color: var(--colorGray300);
}

.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: max-content;
  display: flex;
  align-items: center;
  gap: 0 8px;
}

.search-keyword-area .input-label {
  width: 300px;
}

/* 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,
  .select-option button:hover p {
    background-color: var(--colorPrimary100);
    color: var(--colorPrimary);
    font-weight: var(--fontWeightBold);
  }
}





/* responsive css */
@media screen and (min-width: 768px) and (max-width: 1279px) {
  /* 레이아웃 기준 센터 영역 - 반응형 대응 필요 */
  .content-inner {
    max-width: 100%;
    width: calc(100% - 80px);
  }

  #container {
    min-height: calc(100vh - 335px);
    margin-top: 68px;
  }

  section {
    padding: 50px 0 100px;
  }

  /* 레이아웃 기준 센터 영역 - 반응형 대응 필요 */

  /* 공통 타이틀 및 텍스트 */
  .title {
    font-size: var(--fontSize3Xl);
    line-height: var(--lineHeight3Xl);
  }

  .section-title {
    font-size: var(--fontSize2Xl);
    line-height: var(--lineHeight2Xl);
  }

  .group-title {
    font-size: var(--fontSizeXl);
    line-height: var(--lineHeightXl);
  }

  .item-title {
    font-size: var(--fontSizeBase);
    line-height: var(--lineHeightBase);
  }

  .desc {
    font-size: var(--fontSizeSm);
    line-height: var(--lineHeightSm);
  }

  /* 공통 타이틀 및 텍스트 */

  /* button Style */
  /* button size - 반응형 대응 필요 */
  .btn.large {
    min-width: 120px;
    height: 48px;
    font-size: var(--fontSizeSm);
  }

  /* button Style */

  /* title group gap */
  .title-group {
    gap: 8px 0;
  }

  /* title group gap */
}

@media screen and (max-width: 767px) {

  .content-inner {
    max-width: 100%;
    width: calc(100% - 30px);
  }

  #container {
    min-height: calc(100vh - 393px);
    margin-top: 64px;
  }

  section {
    padding: 40px 0 80px;
  }

  /* 레이아웃 기준 센터 영역 - 반응형 대응 필요 */

  /* 공통 타이틀 및 텍스트 */
  .title {
    font-size: var(--fontSize2Xl);
    line-height: var(--lineHeight2Xl);
  }

  .section-title {
    font-size: var(--fontSizeXl);
    line-height: var(--lineHeightXl);
  }

  .group-title {
    font-size: var(--fontSizeLg);
    line-height: var(--lineHeightLg);
  }

  .item-title {
    font-size: var(--fontSizeBase);
    line-height: var(--lineHeightBase);
  }

  .desc {
    font-size: var(--fontSizeSm);
    line-height: var(--lineHeightSm);
  }

  /* 공통 타이틀 및 텍스트 */

  /* button Style */
  /* button size - 반응형 대응 필요 */
  .btn.large {
    min-width: 120px;
    height: 48px;
    font-size: var(--fontSizeSm);
  }

  /* button Style */

  .top {
    right: 10px;
  }

  /* title group gap */
  .title-group {
    gap: 8px 0;
  }

  /* title group gap */

  /* search-keyword-area Style - 반응형 대응 필요 */
  .search-keyword-area {
    width: 100%;
    display: grid;
    grid-template-columns: 1fr;
    gap: 6px 0;
  }

  .search-keyword-area .input-label,
  .search-keyword-area .btn {
    width: auto;
  }

  /* innerBtnSearchArea Style - 반응형 대응 필요 */

  /* pagination Style */
  .pagination {
    gap: 0 20px;
    margin-top: 30px;
  }

  .page-arrow img {
    width: 28px;
  }

  .page-number button {
    width: 28px;
    height: 28px;
    font-size: var(--fontSizeXs);
  }

  /* pagination Style */
}
