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

:root {
  /* color */
  --colorPrimary: #ff9f15;
  --colorPrimary100: #fef8ef;

  --colorGray100: #f7f7f7;
  --colorGray200: #e0e0e0;
  --colorGray300: #bababa;
  --colorGray400: #7b7b7b;
  --colorGray500: #444444;

  --colorWhite: #ffffff;

  --colorBlack: #222222;

  --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: 30px;
  --fontSize4Xl: 32px;
  --fontSize5Xl: 40px;
  --fontSize6Xl: 42px;
  --fontSize7Xl: 48px;
  --fontSize8Xl: 52px;

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

  /* line height */
  --lineHeightXs: 20px;
  --lineHeightSm: 22px;
  --lineHeightBase: 26px;
  --lineHeightMd: 28px;
  --lineHeightLg: 30px;
  --lineHeightXl: 34px;
  --lineHeight2Xl: 38px;
  --lineHeight3Xl: 42px;
  --lineHeight4Xl: 50px;
  --lineHeight5Xl: 56px;
  --lineHeight6Xl: 58px;
  --lineHeight7Xl: 64px;
  --lineHeight8Xl: 68px;

  /* border radius */
  --borderRadiusXs: 6px;
  --borderRadiusSm: 8px;
  --borderRadiusMd: 10px;
  --borderRadiusLg: 16px;
  --borderRadiusXl: 20px;
  --borderRadius2Xl: 50px;
}

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

/* 기본 폰트 설정 */

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

#container {
  width: 100%;
  min-height: calc(100vh - 354px);
  box-sizing: border-box;
  margin-top: 84px;
}

section {
  width: 100%;
  padding: 120px 0;
}

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

/* 특정 텍스트를 primary색으로 표기할 때 */
.txt-primary {
  color: var(--colorPrimary) !important;
}

/* 특정 텍스트를 primary색으로 표기할 때 */

/* 특정 텍스트를 빨간색으로 표기할 때 */
.txt-alert {
  color: var(--colorPrimary) !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;
}

/* 특정 텍스트를 하얀색으로 표기할 때 */

/* 특정 텍스트를 굵게 표기할 때 */
.txt-bold {
  font-weight: var(--fontWeightBold);
}

/* 특정 텍스트를 굵게 표기할 때 */

/* confirm 문구 */
.message {
  width: 100%;
  font-size: var(--fontSizeXs);
  line-height: var(--lineHeightXs);
  font-weight: var(--fontWeightMedium);
  display: flex;
  align-items: flex-start;
  gap: 0 4px;
}
.message img {
  margin-top: 2px;
}
/* confirm 문구 */

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

/* 읽기전용 div */

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

/* title group gap */

/* 공통 타이틀 및 텍스트 */
.title {
  font-size: var(--fontSize8Xl);
  line-height: var(--lineHeight7Xl);
  font-weight: var(--fontWeightExtrabold);
  text-align: center;
}

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

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

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

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

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

/* 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(--fontWeightSemibold);
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0 10px;
  border-radius: var(--borderRadius2Xl);
  transition: color 0.5s, border 0.5s, background-color 0.5s;
}

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

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

.btn.large {
  min-width: 140px;
  height: 56px;
  padding: 0 22px;
  font-size: var(--fontSizeBase);
}

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

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

.btn.disabled {
  border: 0;
  background-color: var(--colorGray100);
  color: var(--colorGray300);
  pointer-events: none;
}

/* button Style */

/* top Style - 반응형 대응 필요 */
.top {
  width: 48px;
  height: 48px;
  background-color: var(--colorPrimary);
  border-radius: var(--borderRadius2Xl);
  position: fixed;
  right: 35px;
  bottom: 40px; /* PC 기본 */
  z-index: 11;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  transition: opacity 1s, background-color 0.5s;
}

/*.top:hover {*/
/*  background-color: var(--colorBlack);*/
/*}*/

.top.show {
  opacity: 1 !important;
  pointer-events: auto;
}

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

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

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

.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(--colorBlack);
  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 14px;
  border-radius: var(--borderRadius2Xl);
}

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

label.textarea-label textarea {
  width: 100%;
  height: 100%;
  border-radius: var(--borderRadiusMd);
  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(--colorBlack);
}

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(--colorPrimary);
}

/* input / textarea Style */

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

/* 선택된 영역 */
.select-box {
  width: 100%;
  height: 48px;
  padding: 0 14px;
  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(--borderRadius2Xl);
  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(--borderRadiusMd);
  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(--colorBlack);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.select-option button p {
  display: flex;
  align-items: center;
}

.select-option button p span.option-discount {
  font-size: var(--fontSizeSm);
  font-weight: var(--fontWeightSemibold);
}

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

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

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

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

.page-number button {
  width: 36px;
  height: 36px;
  border-radius: var(--borderRadius2Xl);
  font-size: var(--fontSizeBase);
  font-weight: var(--fontWeightMedium);
  color: var(--colorGray300);
}

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

/* 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: 330px;
}

/* 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(--fontWeightSemibold);
  }

  .top:hover {
    background-color: var(--colorBlack);
  }
}

@media (hover: none) and (pointer: coarse) {
  .select-option button.is-pressed,
  .select-option button.is-pressed p {
    background-color: var(--colorPrimary100);
    color: var(--colorPrimary);
    font-weight: var(--fontWeightSemibold);
  }

  .top.is-pressed {
    background-color: var(--colorBlack);
  }
}





/* 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 - 488px);
    margin-top: 84px;
  }

  section {
    padding: 80px 0 120px;
  }

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

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

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

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

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

  /* button Style */
  /* button Common Style */
  .btn {
    gap: 0 8px;
  }

  /* button size - 반응형 대응 필요 */
  .btn.small {
    min-width: 80px;
    padding: 0 18px;
  }

  .btn.medium {
    padding: 0 18px;
  }

  /* button Style */

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

  .search-keyword-area .input-label,
  .search-keyword-area .btn {
    width: auto;
  }

  .search-keyword-area a {
    grid-column: 1 / span 2;
  }

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

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

  #container {
    min-height: calc(100vh - 453px);
    margin-top: 64px;
  }

  section {
    padding: 60px 0;
  }

  /* top Style - 반응형 대응 필요 */
  .top {
    width: 36px;
    height: 36px;
    right: 12px;
    bottom: 30px;
  }

  .top img {
    width: 12px;
  }

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

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

  /* title group gap */

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

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

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

  .item-title {
    font-size: var(--fontSizeMd);
    line-height: var(--lineHeightMd);
  }

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

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

  /* button Style */
  /* button Common Style */
  .btn {
    gap: 0 6px;
  }

  .btn img {
    width: 20px;
  }

  /* button size - 반응형 대응 필요 */
  .btn.small {
    min-width: 80px;
    padding: 0 18px;
  }

  .btn.medium {
    min-width: 120px;
    padding: 0 18px;
  }

  .btn.large {
    height: 48px;
    padding: 0 18px;
    font-size: var(--fontSizeSm);
  }

  /* button Style */

  /* pagination Style */
  .page-arrow img {
    width: 28px;
  }

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

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

  /* pagination Style */

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

  .search-keyword-area .input-label,
  .search-keyword-area .btn {
    width: auto;
  }

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