/* 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%;
  font-family: 'Spoqa Han Sans Neo', 'Spoqa Han Sans JP', sans-serif;
  font-size: 14px;
  font-weight: 400;
  background: var(--white);
  color: var(--gray-800);
  line-height: 1.3;
  letter-spacing: -1px;
  margin: 0;
}

html {
  height: 100%;
  min-height: 100vh;
  overflow-y: scroll;
  -ms-text-size-adjust: 100%;
  -webkit-text-size-adjust: 100%;
  min-width: 320px;
}

body {
  padding: 0;
  margin: 0;
  -webkit-overflow-scrolling: touch;
  scroll-behavior: smooth;
}

.no-scroll {
  overflow: hidden;
  height: 100vh;
}

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 {
  margin: 0;
  padding: 0;
  box-sizing: border-box;


}


strong {
  font-weight: 900;
}

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;
}

input,
textarea {
  color: var(--gray-800);
  font-weight: 600;
  border: 1px solid var(--gray-300);
  background: var(--white);
  border-radius: 5px !important;
  font-family: "Paperlogy", sans-serif, "Noto Sans KR" !important;
  font-size: clamp(14px, 0.125vw + 13.600px, 16px);
  width: 100%;
  padding: 10px 10px;
  border-radius: 4px;
}

::-webkit-input-placeholder,
textarea::placeholder {
  font-size: 14px;
  color: var(--gray-600);
  letter-spacing: -0.5px;
  font-weight: 500;
  font-family: "Paperlogy", sans-serif, "Noto Sans KR";
  vertical-align: middle;
  letter-spacing: 0;
  font-weight: 400;
}

input:focus,
textarea:focus {
  color: var(--gray-800);
  border: 1px solid var(--gray-800);
  border-radius: 5px;
  color: var(--gray-800);
  font-weight: 600;
}


input {
  height: 46px;
  outline: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  transition: border-color 0.3s ease;
  cursor: pointer;
}

input:disabled {
  background: var(--gray-200) !important;
  cursor: not-allowed;
}


textarea {
  width: 100%;
  height: 150px;
  line-height: 130%;
  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;
}


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-weight: 400;
  border-radius: 0;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  margin: 0;
  padding: 0;
  letter-spacing: 0;
  text-align: center;
  text-decoration: none;
  border: none;
  background: transparent;
  line-height: 100%;
  color: var(--gray-700);
}

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;

  &>td {
    word-wrap: break-word;
  }
}

select {
  border: 1px solid var(--gray-200);
  background: var(--white);
  height: 52px;
  padding: 0 3px 0 14px;
  border-radius: 4px;
  cursor: pointer;
  background: url("../svg/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;

  &::-ms-expand {
    display: none;
  }
}

/*체크박스*/
input[type="checkbox"] {
  display: none !important;

  +.checkBox {
    display: flex;
    align-items: center;
    gap: 4px;
    width: 100%;

    &>span {
      display: inline-block;
      background: url("../images/checkbox-off.svg") no-repeat center;
      background-size: 100%;
      width: 20px !important;
      height: 20px !important;
      cursor: pointer;
    }

    &:checked+.checkBox {
      span {
        background: url("../images/checkbox-on.svg") no-repeat;
        background-size: 100% auto;
      }
    }

    .alltxt {
      width: 100%;
      font-size: 15px;
    }

    .btn-more-arrow {
      margin-left: auto;
      white-space: nowrap;
      font-weight: 500;
      font-size: 13px;
      display: flex;
      color: var(--gray-700);
    }
  }
}

.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: 14px !important;
        height: 14px !important;
        cursor: pointer;
        filter: var(--filter-gray-200);
      }

      &:checked+.checkBox {
        span {
          filter: var(--filter-gray-900);
        }
      }


      .txt {
        font-size: 14px;
        color: var(--gray-700);

        .im {
          color: var(--secondary-tiffanyBlue);
          font-size: 12px;
        }
      }

      .btn-more-arrow {
        margin-left: auto;
        white-space: nowrap;
        font-size: 12px;
        display: flex;
        color: var(--gray-600);
      }
    }
  }
}



/* 라디오 버튼*/
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: 20px;
      height: 20px;
      margin: -3px 4px 0 0;
      vertical-align: middle;
      cursor: pointer;
    }

    .small {
      font-size: 13px;
      color: var(--gray-600);
    }
  }


  &:checked+.rdo-label span {
    background: url("../images/radio-box-on.svg") no-repeat center;
    background-size: 100%;
  }
}



/**/
.radio-new {
  &::after {
    content: "";
    display: table;
    clear: both;
  }

  & input[type="radio"] {
    display: none;
  }

  & input[type="radio"]+label {
    display: inline-block;
    cursor: pointer;
    width: 100%;
    height: 48px;
    display: flex;
    justify-content: center;
    align-items: center;
    /*margin-right:10px;*/
  }

  & input[type="radio"]+label {
    color: var(--color300);
    background: 1px solid var(--gray-800);
    border-radius: 6px;
    border: 1px solid var(--gray-800);
  }

  & input[type="radio"]:checked+label {
    border: 1px solid var(--secondary-400, #e8ff59);
    background: var(--secondary-900, #2d330a);
    color: var(--secondary-500);
  }
}

/**/





/* 드롭다운,셀렉트 박스 */
.dropdown-menu {
  height: 46px;
  padding: 0 50px 0 10px;

  font-weight: 500;
  font-family: inherit;
  background: url(../images/arrow-down-gray.svg) no-repeat 92% 50%/20px auto;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  color: var(--gray-700);
  border: 1px solid var(--gray-200);
  border-radius: 4px;
  outline: none;
  cursor: pointer;

  &::-ms-expand {
    display: none;
  }

  @media all and (max-width: 768px) {
    height: 42px;
    padding: 0 22px 0 8px;
    background: url(../images/arrow-down-gray.svg) no-repeat 96% 50%/17px auto;
  }

  @media all and (max-width: 320px) {
    padding: 0 18px 0 6px;
    background: url(../images/arrow-down-gray.svg) no-repeat 96% 50%/14px auto;
  }
}





/*기본토글*/
.toggleWrap {
  display: flex;
  align-items: center;
  gap: 4px;

  .toggle-Switch {
    width: 36px;
    height: 20px;
    display: block;
    position: relative;
    border-radius: 30px;
    background-color: var(--gray-500);
    cursor: pointer;

    .toggle-Button {
      width: 16px;
      height: 16px;
      position: absolute;
      top: 50%;
      left: 2px;
      transform: translateY(-50%);
      border-radius: 50%;
      background: var(--white);
    }
  }

  #toggle:checked~.toggle-Switch {
    background: var(--primera-500);

    .toggle-Button {
      left: calc(100% - 18px);
      background: var(--white);
    }
  }

  .toggle-Switch,
  .toggle-Button {
    transition: all 0.2s ease-in;
  }

  .text {
    margin-top: 2px;
    font-size: 13px;
  }
}

/*로그인 비밀번호  보안 */
.eyeView {
  position: absolute;
  top: 50%;
  right: 0;
  transform: translate(-50%, -50%);

  .security[type="checkbox"]+.Link {
    color: #222;
  }

  .security[type="checkbox"]+.Link span {
    display: inline-block;
    background: url("../images/ico-eye-off.svg") no-repeat;
    background-size: 100% auto;
    width: 24px;
    height: 24px;
    filter: var(--filter-gray-700);
    cursor: pointer;
  }

  .security[type="checkbox"]:checked+.Link span {
    background: url("../images/ico-eye-on.svg") no-repeat;
    background-size: 100% auto;
    filter: var(--filter-gray-400);
  }
}



/***root***********************************************************************************/
:root {
  --white: #fff;
  --black: #000;
  --red: #de4a45;

  --primera-500: #F0543A;
  --primera-600: #E1362F;
  --secondary-yellow: #FBC02D;
  --secondary-tiffanyBlue: #0ABBB5;
  --secondary-blue-500: #0000FF;
  --secondary-dark-bg: #09080D;
  --secondary-dark-blue: #151530;


  --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;

  --rgb-white: 255, 255, 255;
  --rgb-black: 0, 0, 0;
  --rgb-primera-500: 241, 84, 100;


  --filter-primera-500: invert(46%) sepia(35%) saturate(6276%) hue-rotate(341deg) brightness(99%) contrast(90%);
  --filter-primera-600: invert(28%) sepia(65%) saturate(2460%) hue-rotate(342deg) brightness(90%) contrast(94%);

  --filter-red: invert(21%) sepia(77%) saturate(3366%) hue-rotate(345deg) brightness(91%) contrast(105%);
  --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%);

  --box-shadow: 0px 3px 0px 0px rgba(0, 0, 0, 0.04);


}

/*********************************************************************************************************************/

.bg-white {
  background: var(--white) !important;
}

.color-gray-700 {
  color: var(--gray-700);
}

.color-primay-500 {
  color: var(--primera-500) !important;
}


.color-white {
  color: var(--white) !important;
}

.color-red {
  color: var(--red);
}

.bg-transparent {
  background: transparent !important;
}

.bg-gray {
  background: var(--gray-100);
}

.cover-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/************************/
.font-size-13 {
  font-size: 13px !important;
}

.w-100 {
  width: 100% !important;
}

.text-center {
  text-align: center !important;
}

.relative {
  position: relative !important;
}

.transparent {
  background: transparent !important;
}


/*flex*/
.d-flex {
  display: flex !important;
}

.flex-center {
  display: flex;
  justify-content: center;
  align-items: center;
}

.flex-space-between {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.justify-content-center {
  justify-content: center;
}

.justify-content-start {
  justify-content: start !important;
}

.justify-content-end {
  display: flex;
  justify-content: flex-end !important;
}

.justify-space-between {
  display: flex;
  align-items: center;
  justify-content: space-between;
}


.flex-column {
  flex-direction: column !important;
}

/*gap*/
.gap-0 {
  gap: 0px !important;
}

.gap-5 {
  gap: 5px !important;
}

.gap-10 {
  gap: 10px !important;
}

.gap-30 {
  gap: 30px !important;
}

/*margin-auto*/
.margin-auto {
  margin: 0 auto;
}

.margin-left-auto {
  margin-left: auto;
}

.margin-left-auto-unset {
  margin-left: unset !important;
}

.fit-content {
  width: fit-content !important;
}

.ellipsis {
  width: 96%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}


/***/



.p-0 {
  padding: 0 !important;
}

.pt-0 {
  padding-top: 0 !important;
}

.pl-0 {
  padding-left: 0 !important;
}

.pr-0 {
  padding-right: 0 !important;
}

.plr-16 {
  padding-left: 16px !important;
  padding-right: 16px !important;
}

.p-16 {
  padding: 16px !important;
}

/**마진**/
.mb-0 {
  margin-bottom: 0 !important;
}

.mlr-16 {
  margin-left: 16px !important;
  margin-right: 16px !important;
}

.mt-10 {
  margin-top: 10px !important;
}

.mt-15 {
  margin-top: 15px !important;
}

.mt-20 {
  margin-top: 20px !important;
}


.mt-30 {
  margin-top: 20px !important;
}

.mt-40 {
  margin-top: 40px !important;
}

.mt-50 {
  margin-top: 50px !important;
}

.mt-70 {
  margin-top: 70px !important;
}

.mb-10 {
  margin-bottom: 10px !important;
}

.ml-20 {
  margin-left: 20px !important;
}






/*************** 버튼 ******************************************************************************************************************************/
.btn-scrollTop {
  display: none;
  position: fixed;
  right: 16px;
  bottom: 75px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background-color: var(--gray-500);
  font-size: 0;
  cursor: pointer;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  z-index: 500;

  &::after {
    content: "";
    background: url("../images/arrow-top.svg") no-repeat center;
    background-size: 100%;
    width: 15px;
    height: 15px;
    display: flex;
    filter: var(--filter-white) !important;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
  }

  &.show {
    display: block;
    opacity: 1;
  }

  &:hover {
    background: var(--primera-500);
    transform: translateY(-3px);
  }
}


/** 버튼 **/
.pop-bwRow-wrap {
  display: flex;
  justify-content: center;
  width: 100%;
  gap: 8px;
  padding: 40px 0 0;

  &.fit {}

  &.fill {
    &>button {
      width: 100% !important;
    }
  }
}

.footer-fix {
  position: absolute;
  bottom: 0;
  right: 0;
  padding: 0 16px !important;
}

.bwRow-wrap {
  width: 100%;
  display: flex;
  justify-content: center;
  gap: 8px;
  padding: 35px 0 0;
  margin: 0 auto;

  &.fit {}

  &.fill {
    &>button {
      width: 100% !important;
    }
  }
}



.btn {
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 6px !important;
  white-space: nowrap;
}


/* 버튼 사이즈 */
.bs-xl {
  height: 52px;
  font-size: 17px;
  padding: 0 30px;
}

.bs-md {
  height: 46px;
  font-size: 16px;
  padding: 0 26px;
}

.bs-input {
  height: 46px;
  font-size: 14px;
  padding: 0 14px;
}

.bs-sm {
  height: 34px;
  font-size: 14px;
  padding: 0 16px;
  border-radius: 4px !important;
}

.bs-xsm {
  height: 24px;
  font-size: 12px;
  padding: 0 8px;
  border-radius: 4px;
}

.bty-text {
  padding: 0 !important;

}

/* 버튼 색상 */
.bc-primera-500 {
  background: var(--primera-500);
  color: var(--white);
}

.bc-primera-600 {
  background: var(--primera-600);
  color: var(--white);
}

.bc-primera-tran {
  border: 1px solid var(--primera-500);
  background: rgba(255, 74, 11, 0.08);
  color: var(--primera-500);
}


.bc-primera-600-line {
  border: 1px solid var(--primera-600);
  background: var(--white);
  color: var(--primera-600);
}

.bc-red {
  background: var(--red);
  color: var(--white);
}

.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-400-line {
  background: var(--white);
  color: var(--gray-800);
  border: 1px solid var(--gray-400);
}

.disabled {
  background: var(--gray-400);
  color: var(--gray-500);
}

.bc-3d-red {
  border-radius: 4px;
  background: linear-gradient(0deg, #C41710 0%, #E1362F 100%);
  box-shadow: 0px 3px 3px 1px #000, 0px 0px 0.5px 3px #000, 0px 2px 0px 0px rgba(224, 226, 255, 0.25) inset;
  color: var(--white);
  font-weight: 600;
}

.bc-3d-gray {
  border-radius: 4px;
  background: linear-gradient(180deg, #454852 0%, #1C1E29 100%);
  box-shadow: 0px 3px 3px 1px #000, 0px 0px 0.5px 3px #000, 0px 2px 0px 0px rgba(224, 226, 255, 0.25) inset;
  color: var(--white);
  font-weight: 600;
}


.bc-n-red {
  border-radius: 4px;
  background: linear-gradient(0deg, #C41710 0%, #E1362F 100%);
  box-shadow: 0px 1px 1px 1px #000, 0px 0px 0.5px 1px #000, 0px 1px 0px 0px rgba(224, 226, 255, 0.25) inset;
  color: var(--white);
  font-weight: 600;
}


.bc-n-gray {
  border-radius: 4px;
  background: linear-gradient(180deg, #454852 0%, #1C1E29 100%);
  box-shadow: 0px 1px 1px 1px #000, 0px 0px 0.5px 1px #000, 0px 1px 0px 0px rgba(224, 226, 255, 0.25) inset;
  color: var(--white);
  font-weight: 600;
}