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

:root {
  /* color */
  --colorPrimary: #6d63ff;
  --colorPrimary100: #f8f8ff;
  --colorPrimary200: #dedeff;

  --colorGray100: #f9f9f9;
  --colorGray200: #ececec;
  --colorGray300: #e0e0e0;
  --colorGray400: #cdcdcd;
  --colorGray500: #bababa;
  --colorGray600: #858585;
  --colorGray700: #555555;

  --colorWhite: #ffffff;

  --colorBlack: #2c2c2c;

  --colorRed: #d80707;

  --colorTransparent: transparent;

  /* gradient */
  --gradient: linear-gradient(
    0deg,
    #4e42fb 11.74%,
    #6d63f9 46.17%,
    #8981ff 75.25%,
    #d7d4ff 131.64%
  );

  /* shadow */
  --shadow100: 0px 0px 12px 0px rgba(54, 0, 161, 0.1);
  --shadow200: 0px 6px 16px 0px rgba(109, 99, 255, 0.16);
  --shadow300: 0px 0px 22px 0px rgba(0, 0, 0, 0.08);
  --shadow400: 0px 12px 26px 0px rgba(22, 13, 159, 0.08);

  /* dim */
  --dim100: rgba(0, 0, 0, 0.4);
  --dim200: rgba(0, 0, 0, 0.6);

  /* font size */
  --fontSizeXs: 11px;
  --fontSizeSm: 12px;
  --fontSizeBase: 13px;
  --fontSizeMd: 14px;
  --fontSizeLg: 16px;
  --fontSizeXl: 18px;
  --fontSize2Xl: 20px;
  --fontSize3Xl: 24px;
  --fontSize4Xl: 28px;
  --fontSize5Xl: 36px;
  --fontSize6Xl: 48px;
  --fontSize7Xl: 60px;

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

  /* line height */
  --lineHeightXs: 14px;
  --lineHeightSm: 16px;
  --lineHeightBase: 18px;
  --lineHeightMd: 20px;
  --lineHeightLg: 22px;
  --lineHeightXl: 26px;
  --lineHeight2Xl: 28px;
  --lineHeight3Xl: 30px;
  --lineHeight4Xl: 34px;
  --lineHeight5Xl: 40px;
  --lineHeight6Xl: 50px;
  --lineHeight7Xl: 66px;
  --lineHeight8Xl: 78px;

  /* border */
  --borderRadiusSm: 10px;
  --borderRadiusMd: 15px;
  --borderRadiusLg: 20px;
  --borderRadiusXl: 25px;
  --borderRadius2Xl: 30px;
  --borderRadius3Xl: 50px;
  --borderRadius4Xl: 60px;
}

/* 기본 폰트 설정 */
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 - 261px);
  box-sizing: border-box;
}

section {
  width: 100%;
  padding: 178px 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(--fontSizeBase);
  line-height: var(--lineHeightMd);
  padding: 0 8px;
  box-sizing: border-box;
}

/* confirm 문구 */

/* 읽기전용 div */
.read-only {
  width: 403px;
  height: 52px;
  border: 1px solid var(--colorGray300);
  box-sizing: border-box;
  background-color: var(--colorGray200);
  padding: 0 18px;
  font-size: var(--fontSizeMd);
  color: var(--colorGray600);
  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(--fontSize6Xl);
  line-height: var(--lineHeight7Xl);
  font-weight: var(--fontWeightExtrabold);
}

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

.group-title {
  width: 100%;
  font-size: var(--fontSize2Xl);
  line-height: var(--lineHeight3Xl);
  font-weight: var(--fontWeightExtrabold);
}

.desc {
  font-size: var(--fontSizeXl);
  line-height: var(--lineHeight2Xl);
}

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

/* 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;
  justify-content: center;
  border-radius: var(--borderRadius3Xl);
  transition: color 0.5s, border 0.5s, background-color 0.5s;
}

/* button size - 반응형 대응 필요 */
.btn.small {
  min-width: 90px;
  height: 40px;
  padding: 0 15px;
  font-size: var(--fontSizeMd);
}

.btn.medium {
  min-width: 160px;
  height: 52px;
  padding: 0 20px;
  font-size: var(--fontSizeLg);
}

.btn.large {
  min-width: 200px;
  height: 62px;
  padding: 0 30px;
  font-size: var(--fontSizeXl);
}

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

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

.btn.disabled {
  background-color: var(--colorGray200);
  color: var(--colorGray500);
  cursor: default;
}

/* button Style */

/* top Style - 반응형 대응 필요 */
.top {
  width: 70px;
  height: 70px;
  cursor: pointer;
  position: fixed;
  bottom: 60px;
  right: 60px;
  z-index: 9;
  background-image: url(/images/common/topArrow.svg);
  background-position: center center;
  background-size: cover;
  border-radius: var(--borderRadius3Xl);
  box-shadow: var(--shadow200);
  opacity: 0;
  visibility: hidden;
  transition: background-image 0.3s, opacity 0.5s, visibility 0.5s;
}

.top.show {
  opacity: 1;
  visibility: visible;
}

.top:hover {
  background-image: url(/images/common/topArrowHover.svg);
}

.top img {
  max-width: 100%;
}

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

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

.scroll-custom::-webkit-scrollbar-track {
  background-color: var(--colorWhite);
  border-radius: var(--borderRadius3Xl);
}

.scroll-custom::-webkit-scrollbar-thumb {
  background-color: var(--colorPrimary);
  border-radius: var(--borderRadius3Xl);
}

.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/checkDefualt.svg);
  width: 18px;
  height: 18px;
  display: block;
  position: absolute;
  top: 0;
  left: 0;
}

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

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

/* checkbox Style */

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

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

/* label 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(--fontSizeMd);
  color: var(--colorBlack);
  padding: 0 18px;
  border-radius: var(--borderRadius3Xl);
}

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

label.textarea-label textarea {
  width: 100%;
  height: 100%;
  border-radius: var(--borderRadiusLg);
  box-sizing: border-box;
  border: 1px solid var(--colorGray300);
  background-color: var(--colorWhite);
  font-size: var(--fontSizeMd);
  color: var(--colorBlack);
  padding: 20px;
}

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(--fontSizeMd);
  color: var(--colorGray500);
}

label.input-label.highlight input,
label.textarea-label.highlight textarea {
  border: 1px solid var(--colorRed);
}
label.check-label.highlight input[type="checkbox"]::after {
  content: url(../images/common/checkError.svg);
}

label.check-label.highlight input[type="checkbox"]:checked::after {
  content: url(../images/common/checked.svg);
}

/* input / textarea Style */

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

/* 선택된 영역 */
.select-box {
  width: 100%;
  height: 52px;
  padding: 0 18px;
  box-sizing: border-box;
  display: grid;
  align-items: center;
  grid-template-columns: 1fr 16px;
  gap: 0 10px;
  text-align: left;
  border-radius: var(--borderRadius3Xl);
  background-color: var(--colorWhite);
  border: 1px solid var(--colorGray300);
  cursor: pointer;
}

.select-box span {
  color: var(--colorGray600);
  font-size: var(--fontSizeMd);
  font-weight: var(--fontWeightMedium);
}

/* 선택 옵션 영역 */
.select-option {
  width: 100%;
  padding: 10px 0;
  position: absolute;
  top: 57px;
  left: 0;
  z-index: 10;
  background-color: var(--colorWhite);
  border: 1px solid var(--colorPrimary);
  border-radius: var(--borderRadiusMd);
  overflow: hidden;
  box-sizing: border-box;
}

.select-option button {
  width: 100%;
  padding: 12px 18px;
  box-sizing: border-box;
  font-size: var(--fontSizeMd);
  line-height: var(--lineHeightLg);
  color: var(--colorGray600);
  text-align: left;
}

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

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

.check-select-area {
  width: 300px;
}

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

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

.page-arrow {
  gap: 0 5px;
}

.page-number {
  display: flex;
  align-items: center;
}

.page-number button {
  display: flex;
  align-items: center;
  justify-content: center;
}

.page-number button {
  width: 40px;
  height: 40px;
  font-size: var(--fontSizeLg);
  color: var(--colorGray500);
}

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

/* pagination Style */

/* search-keyword-area Style - 반응형 대응 필요 */
/* 버튼이 안에 삽입되어있는 경우 */
.search-keyword-area {
  width: 300px;
  position: relative;
}

.search-keyword-area .input {
  width: 100%;
  padding-right: 52px;
}

.search-keyword-area button {
  position: absolute;
  right: 18px;
  top: 50%;
  transform: translateY(-50%);
}

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

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

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

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

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

/* 컨텐츠 display */

/* 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 - 58px);
  }

  section {
    padding: 130px 0 100px;
  }

  /* button Style */
  .btn.large {
    min-width: 160px;
    height: 52px;
    padding: 0 20px;
    font-size: var(--fontSizeLg);
  }

  /* top Style */
  .top {
    width: 52px;
    height: 52px;
    bottom: 91px;
    right: 20px;
  }

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

  .section-title {
    font-size: var(--fontSize4Xl);
    line-height: var(--lineHeight5Xl);
  }

  .group-title {
    font-size: var(--fontSize2Xl);
    line-height: var(--lineHeight3Xl);
  }

  .desc {
    font-size: var(--fontSizeLg);
    line-height: var(--lineHeightXl);
  }

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

  /* innerBtnSearchArea Style */
  .search-keyword-area {
    width: 100%;
  }

  /* innerBtnSearchArea Style */

  /* 읽기전용 div */
  .read-only {
    width: 100%;
  }

  /* 읽기전용 div */
}

@media screen and (max-width: 767px) {
  body {
    min-width: 360px;
  }

  .content-inner {
    max-width: 100%;
    width: calc(100% - 40px);
  }

  #container {
    min-height: calc(100vh - 58px);
  }

  section {
    padding: 88px 0 80px;
  }

  /* button size */
  .btn.small {
    min-width: 80px;
    height: 34px;
    font-size: var(--fontSizeBase);
  }

  .btn.medium,
  .btn.large {
    min-width: 120px;
    height: 45px;
    font-size: var(--fontSizeMd);
  }

  /* top Style */
  .top {
    width: 42px;
    height: 42px;
    bottom: 83px;
    right: 12px;
  }

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

  /* title group gap */

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

  .section-title {
    font-size: var(--fontSize2Xl);
    line-height: var(--lineHeight3Xl);
  }

  .group-title {
    font-size: var(--fontSizeLg);
    line-height: var(--lineHeightXl);
  }

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

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

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

  label.input-label input {
    font-size: var(--fontSizeBase);
  }

  label.textarea-label textarea {
    width: 100%;
    font-size: var(--fontSizeBase);
    padding: 20px;
  }

  /* input Style */

  /* pagination Style */
  .page-number button {
    width: 32px;
    height: 32px;
    font-size: var(--fontSizeMd);
  }

  /* pagination Style */

  /* label Style */
  label.check-label p {
    font-size: var(--fontSizeBase);
    line-height: var(--lineHeightMd);
  }

  /* label Style */

  /* selectBox Style */
  /* 전체 영역 */
  .select-area {
    box-sizing: border-box;
    position: relative;
  }

  /* 선택된 영역 */
  .select-box {
    height: 45px;
  }

  .select-box p {
    font-size: var(--fontSizeBase);
  }

  /* 선택 옵션 영역 */
  .defualt-select-area,
  .period-select-area,
  .search-select-area,
  .check-select-area {
    width: 100%;
  }

  /* selectBox Style */

  /* innerBtnSearchArea Style */
  .search-keyword-area {
    width: 100%;
  }

  /* innerBtnSearchArea Style */

  /* 읽기전용 div */
  .read-only {
    width: 100%;
    height: 45px;
  }

  /* 읽기전용 div */

  /* pagination */
  .page-number {
    gap: 0 5px;
  }
  /* pagination */
}
