/* base */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
  outline: none;

}

html,
body {
  width: 100%;

}

html {
  height: 100%;
  min-height: 100vh;
  overflow-y: scroll;
  -ms-text-size-adjust: 100%;
  -webkit-text-size-adjust: 100%;
  margin: 0;

}

body {
  font-family: "Paperlogy", -apple-system, BlinkMacSystemFont, "Segoe UI",
    Roboto, Oxygen, Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif;
  font-weight: 500;
  height: 100%;
  color: var(--white);
  /* background: radial-gradient(circle at 20% 10%, #1f2022 0%, #0f1116 45%); */
  background: var(--black);
  line-height: 110%;
  font-size: 15px;
  letter-spacing: -0.57px;
  padding: 0;
  margin: 0;
  -webkit-font-smoothing: antialiased;
  -webkit-overflow-scrolling: touch;
}


h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: normal;
  font-size: 100%;
  line-height: 100%;
}

body,
div,
dl,
dt,
dd,
ul,
ol,
li,
h1,
h2,
h3,
h4,
h5,
h6,
pre,
code,
form,
fieldset,
legend,
textarea,
p,
blockquote,
th,
td,
input,
select,
textarea,
button,
a,
span,
em,
hr {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  line-height: 100%;
}

strong {
  font-weight: 800;
}

input,
select,
textarea,
button,
label {
  font-size: 100%;
  vertical-align: middle;
  cursor: pointer;
}

/* *,
*:after,
*:before {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
} */

hr {
  padding: 0;
  margin: 0;
  outline: 0;
  border: 0;
}

/************************************************************/
/**** input,select,textarea *********************************/

/*디자인*/
input,
select,
textarea {
  border-radius: 0px;
  color: var(--white);
  border: 1px solid var(--gray-200);
  font-weight: 600;
  width: 100%;
  font-size: 16px;
  font-family: inherit;
  background: transparent;
}

/*스타일*/
input,
select {
  height: 56px;
  padding: 0 16px;
  outline: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  transition: border-color 0.3s ease;
  cursor: pointer;
  overflow: visible;
}


textarea {
  height: 150px;
  line-height: 130%;
  width: 100%;
  padding: 10px 16px;
  overflow: visible;
  text-align: left;
  vertical-align: middle;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  resize: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  cursor: pointer;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  outline: 0;
  box-shadow: none;
}


::-webkit-input-placeholder,
textarea::placeholder {
  font-size: 15px;
  color: var(--gray-500);
  letter-spacing: -0.5px;
  font-weight: 500;
  vertical-align: middle;
  letter-spacing: 0;
}

input:focus,
textarea:focus {
  color: var(--white);
  border: 1px solid var(--gray-800);
  font-weight: 600;
}



/***********************************/
fieldset,
img,
iframe {
  border: 0 none
}

img {
  max-width: 100%;
  height: auto;
  vertical-align: middle;
  border-style: none;
}

em,
address {
  font-style: normal
}

a {
  text-decoration: none;
  background-color: transparent;
  vertical-align: middle;
  -webkit-text-decoration-skip: objects;
  color: inherit;
  word-break: break-word;
  cursor: pointer;
}

a:hover,
a:active,
a:focus {
  text-decoration: none;
}

menu,
li {
  list-style: none
}

button {
  font-family: inherit;
  font-weight: 600;
  border-radius: 0;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  margin: 0;
  padding: 0;
  letter-spacing: -0.2px;
  text-align: center;
  text-decoration: none;
  border: none;
  background: transparent;
}

button,
input {
  overflow: visible;
}

caption {
  width: 0;
  height: 0;
  font-size: 0;
  line-height: 0;
  overflow: hidden;
  visibility: hidden
}

i,
em,
address {
  font-style: normal
}

label {
  cursor: pointer
}

table {
  width: 100%;
  border-spacing: 0;
  border-collapse: 0;
  color: inherit;
  table-layout: fixed
}

table td {
  word-wrap: break-word;
}

.hidden-scrollbar {
  overflow-y: auto;
  -ms-overflow-style: none;
  scrollbar-width: none;
}

.hidden-scrollbar::-webkit-scrollbar {
  display: none;
  /* Chrome, Safari */
}

/*체크박스*/
input[type="checkbox"] {
  display: none !important;

  +.checkBox {
    display: flex;
    align-items: center;
    gap: 6px;
    width: 100%;

    >span {
      display: inline-block;
      background: url("../images/checkbox-off.svg") no-repeat center;
      background-size: 100%;
      width: 24px !important;
      height: 24px !important;
      cursor: pointer;
    }

    .alltxt {
      width: 100%;
      font-size: 15px;
      font-weight: 600;
      color: var(--gray-700);
    }

    .btn-more-arrow {
      margin-left: auto;
      white-space: nowrap;
      font-weight: 500;
      font-size: 13px;
      display: flex;
      color: var(--gray-700);
    }
  }

  &:checked+.checkBox>span {
    background: url("../images/checkbox-on.svg") no-repeat center;
    background-size: 100% auto;
  }
}

/*스몰체크*/
.small-check {
  input[type="checkbox"] {
    display: none !important;

    +.checkBox {
      display: flex;
      align-items: center;
      gap: 8px;
      width: 100%;

      >span {
        display: inline-block;
        background: url("../images/ico-check.svg") no-repeat center;
        background-size: 100%;
        width: 16px !important;
        height: 16px !important;
        cursor: pointer;
        filter: var(--filter-gray-200);
      }

      .txt {
        font-size: 15px;
        color: var(--gray-700);

        .im {
          color: var(--secondary-tiffanyBlue);
          font-size: 12px;
        }
      }

      .btn-more-arrow {
        margin-left: auto;
        white-space: nowrap;
        font-size: 13px;
        display: flex;
        color: var(--gray-500);
        letter-spacing: -0.7px;
      }
    }

    &:checked+.checkBox>span {
      filter: var(--filter-gray-900);
    }
  }
}






select {
  border: 1px solid var(--gray200);
  background: var(--white);
  height: 52px;
  padding: 0 3px 0 14px;
  border-radius: 4px;
  cursor: pointer;
  background: url('../images/arrow-down.svg') no-repeat right 14px center;
  background-size: 16px 16px;
  -webkit-appearance: none;
  -moz-appearance: none;
  -ms-appearance: none;
  appearance: none;
  outline: 0;
  box-shadow: none;

}

select::-ms-expand {
  display: none;
}




input[type="radio"] {
  display: none !important;

  &+.rdo-label {
    &:last-child {
      font-weight: 500;
    }

    span {
      display: inline-block;
      background: url('../images/radio-box-off.svg') no-repeat center;
      background-size: 100%;
      width: 26px;
      height: 26px;
      margin: -3px 8px 0 0;
      vertical-align: middle;
      cursor: pointer;
    }
  }

  &:checked+.rdo-label {
    span {
      background: url('../images/radio-box-on.svg') no-repeat center;
      background-size: 100%;
    }
  }
}


.radio-new {

  & input[type="radio"],
  & input[type="checkbox"] {
    display: none;
  }

  & input[type="radio"]+label,
  & input[type="checkbox"]+label {
    display: inline-flex;
    cursor: pointer;
    width: 100%;
    height: 56px;
    justify-content: center;
    align-items: center;
    border-radius: 6px;
    border: 1px solid var(--gray-200);
    background: transparent;
    user-select: none;
    -webkit-tap-highlight-color: transparent;
  }


  & input[type="radio"]:checked+label,
  & input[type="checkbox"]:checked+label {
    border: 1px solid var(--primary);
    background: var(--primary);
    color: var(--white);
  }


  & input[type="radio"]:focus-visible+label,
  & input[type="checkbox"]:focus-visible+label {
    outline: 3px solid var(--primary);
    outline-offset: 2px;
  }


  & input[type="radio"]:disabled+label,
  & input[type="checkbox"]:disabled+label {
    opacity: 0.45;
    cursor: not-allowed;
  }
}

.radio-new.method {
  display: flex;
  gap: 6px;
}



/** 드롭다운 **/
.custom-select {
  position: relative;
  display: inline-block;
  width: 100%;
  font-family: inherit;
  user-select: none;

  .cs-toggle {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 56px !important;
    padding: 10px 14px;
    border-radius: 0;
    color: var(--gray-700);
    border: 1px solid var(--gray-200);
    background: transparent;
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    transition: border-color 0.18s ease, box-shadow 0.12s ease;

    &:focus {
      outline: none;
      border-color: var(--gray-300);
    }

    .cs-value {
      color: var(--gray-600);
      font-size: 15px;
    }

    .cs-arrow {
      width: 16px;
      height: 16px;
      display: inline-block;
      background: url("../images/arrow-down.svg") no-repeat center;
      background-size: 16px 16px;
      transition: transform 0.22s ease, filter 0.22s ease;
      filter: var(--filter-gray-300);
      pointer-events: none;
    }
  }

  &[data-open="true"] .cs-arrow {
    transform: rotate(180deg);
    filter: var(--filter-gray-300);
  }

  .cs-list {
    position: absolute;
    left: 0;
    right: 0;
    margin-top: 2px;
    padding: 6px;
    border: 1px solid var(--gray-200);
    background: var(--white);
    border-radius: 0;
    max-height: 180px;
    overflow-y: auto;
    z-index: 40;

    &>li {
      padding: 15px 12px;
      border-radius: 0;
      cursor: pointer;
      display: flex;
      align-items: center;
      gap: 8px;
      font-size: 15px;
      font-weight: 500;
      color: var(--gray-900);
      white-space: nowrap;
      transition: background 0.12s ease, color 0.12s ease;

      &:hover,
      &:focus {
        background: var(--gray-150);
        outline: none;
      }

      &[aria-selected="true"] {
        background: var(--primary);
        color: var(--white);
      }
    }
  }

  /* 모바일 터치 시 리스트 간격 보정 */
  @media (pointer: coarse) {
    .cs-list {
      max-height: 320px;
    }

    .cs-list li {
      padding: 14px 16px;
    }
  }
}

/* 드롭다운,셀렉트 박스 */
.dropdown-menu {
  width: 100%;
  height: 48px !important;
  padding: 0 22px 0 10px;
  font-size: clamp(12px, 3vw, 14px);
  font-weight: 500;
  font-family: inherit;
  background: url(../images/arrow-down-gray.svg) no-repeat 94% 50%/20px auto;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  color: var(--gray-400);
  border: 1px solid var(--gray-800);
  background-color: var(--gray-900);
  border-radius: 5px;
  outline: none !important;

  & option {
    font-weight: 500;
    background: var(--gray-800);
    padding: 3px 0;
    color: var(--white);
  }

  &::-ms-expand {
    display: none;
  }

  @media all and (max-width: 768px) {
    height: 42px;
  }
}


/*기본토글*/
.toggleWrap {
  display: inline-block;
}

.toggleWrap input {
  display: none;
}

.toggleWrap .toggle-Switch {
  width: 38px;
  height: 22px;
  display: block;
  position: relative;
  border-radius: 30px;
  background-color: var(--gray-500);
  cursor: pointer;
  transition: all 0.2s ease-in;
}

.toggleWrap .toggle-Switch .toggle-Button {
  width: 16px;
  height: 16px;
  position: absolute;
  top: 50%;
  left: 3px;
  transform: translateY(-50%);
  border-radius: 50%;
  background: var(--white);
  transition: all 0.2s ease-in;
}

.toggleWrap input:checked+.toggle-Switch {
  background: var(--primary);
}

/* 버튼 이동 */
.toggleWrap input:checked+.toggle-Switch .toggle-Button {
  left: calc(100% - 20px);
}

/********************************/
.width-auto {
  width: auto !important;
}

.text-center {
  text-align: center;
}

.text-left {
  text-align: left;
}

.mt-auto {
  margin-top: auto !important;
}


.d-flex {
  display: flex;
}

.justify-start {
  justify-content: flex-start !important;
}

.justify-center {
  justify-content: center;
}

.justify-between {
  justify-content: space-between;
}

.align-center {
  align-items: center;
}

.flex-row {
  flex-direction: row !important;
}

.flex-column {
  display: flex;
  flex-direction: column !important;
}

.d-flex-none {
  display: block !important;
}

.d-none {
  display: none !important;
}

.relative {
  position: relative !important;
}


.white {
  color: var(--white) !important;
}

.secondary-500 {
  color: var(--secondary-500);
}



/****** *******/
.plr-0 {
  padding-left: 0 !important;
  padding-right: 0 !important;
}

.plr-25 {
  padding-left: 25px !important;
  padding-right: 25px !important;
}

.mt-0 {
  margin-top: 0px !important;
}

.mt-10 {
  margin-top: 10px !important;
}

.mt-16 {
  margin-top: 16px !important;
}

.mt-20 {
  margin-top: 20px !important;
}

.mt-40 {
  margin-top: 40px !important;
}

.mt-50 {
  margin-top: 50px !important;
}

.mb-10 {
  margin-bottom: 10px;
}


.pt-0 {
  padding-top: 0 !important;
}

.border-bottom-unset {
  border-bottom: unset !important;
}

.row-box {
  display: flex;
  align-items: center;
  gap: 4px;
}

/*** end *********************************/

.pageTopWrap {
  display: flex;
  position: fixed;
  bottom: 80px;
  width: 100%;
  z-index: 2;
}

.pageTopWrap .btn-top {
  background: var(--gray700);
  width: 60px;
  height: 60px;
  border-radius: var(--radius100);
  margin-left: auto;
  margin-right: 16px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.pageTopWrap .btn-top img {
  filter: invert(95%) sepia(38%) saturate(2%) hue-rotate(214deg) brightness(108%) contrast(101%);
  height: 20px;
}



:root {
  --container: 1024px;
  --shadow: 0 10px 26px rgba(15, 23, 42, 0.06);
  --bg: #f4f4f2;
  --bg-dark: #050608;
  --radius-xl: 32px;
  --radius-lg: 24px;
  --radius-md: 18px;
  --radius-sm: 12px;
  --header-height: 82px;
  --hero-progress: 0;

  --white: #FFF;
  --black: #000;
  --bg: #10110F;
  --red: #D62A1E;

  --primary: #0447c3;

  --secondary-red: #D62A1E;
  --secondary-orange: #FF6D1E;
  --secondary-yellow: #FBC02D;
  --secondary-tiffanyBlue: #0ABBB5;
  --secondary-skyblue: #00d4ff;
  --secondary-dark-blue: #151530;
  --secondary-dark-navy: #23213E;



  --gray-900: #1F1F25;
  --gray-800: #33333D;
  --gray-700: #5F616D;
  --gray-600: #868793;
  --gray-500: #979AA3;
  --gray-400: #B6B7BE;
  --gray-300: #D9DBE0;
  --gray-200: #E7E9EB;
  --gray-150: #F1F3F8;
  --gray-100: #F7F7F8;
  --gray-50: #efeff0;

  --primary-gradient: linear-gradient(270deg, #FF9720 0%, #FF6D1E 100%);

  --filter-secondary-red: invert(27%) sepia(84%) saturate(2539%) hue-rotate(347deg) brightness(83%) contrast(102%);
  --filter-white: invert(97%) sepia(97%) saturate(2%) hue-rotate(82deg) brightness(103%) contrast(100%);
  --filter-black: invert(0%) sepia(100%) saturate(0%) hue-rotate(21deg) brightness(97%) contrast(103%);

  --filter-gray-900: invert(8%) sepia(7%) saturate(1453%) hue-rotate(202deg) brightness(96%) contrast(102%);
  --filter-gray-800: invert(14%) sepia(4%) saturate(1430%) hue-rotate(202deg) brightness(93%) contrast(100%);
  --filter-gray-700: invert(32%) sepia(4%) saturate(606%) hue-rotate(202deg) brightness(91%) contrast(89%);
  --filter-gray-600: invert(50%) sepia(4%) saturate(360%) hue-rotate(202deg) brightness(90%) contrast(85%);
  --filter-gray-500: invert(57%) sepia(4%) saturate(311%) hue-rotate(202deg) brightness(92%) contrast(85%);
  --filter-gray-400: invert(70%) sepia(4%) saturate(228%) hue-rotate(202deg) brightness(95%) contrast(85%);
  --filter-gray-300: invert(85%) sepia(2%) saturate(170%) hue-rotate(202deg) brightness(98%) contrast(85%);
  --filter-gray-200: invert(91%) sepia(2%) saturate(100%) hue-rotate(202deg) brightness(100%) contrast(85%);
  --filter-gray-150: invert(95%) sepia(1%) saturate(50%) hue-rotate(202deg) brightness(101%) contrast(85%);
  --filter-gray-100: invert(97%) sepia(0%) saturate(0%) hue-rotate(202deg) brightness(102%) contrast(85%);
  --filter-gray-50: invert(94%) sepia(1%) saturate(57%) hue-rotate(202deg) brightness(102%) contrast(85%);
  --rgb-white: 255, 255, 255;
  --rgb-black: 0, 0, 0;

}

/** 버튼 **/


.bwRow-wrap {
  width: 100%;
  display: flex;
  justify-content: center;
  gap: 8px;
  padding: 25px 0 0;
  margin: 0 auto;

  &.fit {
    max-width: 200px;
  }

  &>button {
    width: 100%;
  }

  @media all and (max-width: 768px) {
    &.fit {
      max-width: 100%;
    }
  }
}



.button-colum-wrap {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.btn {
  display: flex;
  justify-content: center;
  align-items: center;
  white-space: nowrap;
}


/* 버튼 사이즈 */
.bs-lg {
  height: 60px;
  font-size: 18px;
  padding: 0 30px;
  width: 100%;
}

.bs-md {
  height: 46px;
  font-size: 16px;
  padding: 0 20px;

  @media all and (max-width: 768px) {
    height: 36px;
    font-size: 15px;
    padding: 0 16px;
  }
}

.bs-sm {
  height: 32px;
  font-size: 13px;
  padding: 0 12px;
  font-weight: 400;
  border-radius: 3px !important;
}

.bs-xsm {
  height: 24px;
  font-size: 12px;
  padding: 0 8px;
  border-radius: 3px !important;
}


/* 버튼 색상 */
.bc-primary {
  background: var(--primary);
  color: var(--white);

  &:disabled {
    background: var(--gray-400);
    cursor: not-allowed;
  }

  /* &:hover {
    background: var(--gray-800);
  } */
}


.bc-primary-line {
  border: 1px solid var(--primary);
  background: var(--white);
  color: var(--primary);
}

.bc-red {
  background: var(--red);
  color: var(--white);
}

.bc-white {
  background: var(--white);
  color: var(--black);
}

.bc-black {
  background: var(--black);
  color: var(--white);
}

.bc-black-line {
  border: 1px solid var(--black);
  color: var(--black);
  background: var(--white);
}

.bc-gray-900 {
  background: var(--gray-900);
  color: var(--gray-300);
}

.bc-gray-600 {
  background: var(--gray-600);
  color: var(--gray-100);
}

.bc-gray-500 {
  background: var(--gray-500);
  color: var(--gray-100);
}


.bc-gray-300 {
  background: var(--gray-300);
  color: var(--gray-900);
}

.bc-gray-300-line {
  background: var(--white);
  color: var(--gray-700);
  border: 1px solid var(--gray-300);
}

.bc-gray-150 {
  background: var(--gray-150);
  color: var(--gray-800);
}

.bc-blue {
  border: 1px solid var(--blue);
  color: var(--blue);
}

.bc-red {
  border: 1px solid var(--red);
  color: var(--red);
  background: var(--white);
}

.bs-o {
  padding: 0 !important;
  border: 0;

}