@charset "UTF-8";

/* font */
@font-face {font-family: 'Noto Sans KR';src: url('../fonts/NotoSansKR-Thin.woff2') format('woff2');font-weight: 100;font-style: normal;}
@font-face {font-family: 'Noto Sans KR';src: url('../fonts/NotoSansKR-ExtraLight.woff2') format('woff2');font-weight: 200;font-style: normal;}
@font-face {font-family: 'Noto Sans KR';src: url('../fonts/NotoSansKR-Light.woff2') format('woff2');font-weight: 300;font-style: normal;}
@font-face {font-family: 'Noto Sans KR';src: url('../fonts/NotoSansKR-Regular.woff2') format('woff2');font-weight: 400;font-style: normal;}
@font-face {font-family: 'Noto Sans KR';src: url('../fonts/NotoSansKR-Medium.woff2') format('woff2');font-weight: 500;font-style: normal;}
@font-face {font-family: 'Noto Sans KR';src: url('../fonts/NotoSansKR-SemiBold.woff2') format('woff2');font-weight: 600;font-style: normal;}
@font-face {font-family: 'Noto Sans KR';src: url('../fonts/NotoSansKR-Bold.woff2') format('woff2');font-weight: 700;font-style: normal;}
@font-face {font-family: 'Noto Sans KR';src: url('../fonts/NotoSansKR-ExtraBold.woff2') format('woff2');font-weight: 800;font-style: normal;}
@font-face {font-family: 'Noto Sans KR';src: url('../fonts/NotoSansKR-Black.woff2') format('woff2');font-weight: 900;font-style: normal;}
@font-face {font-family: 'Pretendard Variable';src: url('../fonts/PretendardVariable.woff2') format('woff2');font-style: normal;}

*,
*::before,
*::after {
  box-sizing: border-box;
}

* {
  margin: 0;
}

html {
  font-size: 62.5%; /* 1rem = 10px */
  -webkit-text-size-adjust: 100%;
}

body {
  font-size: 1.6rem;
  line-height: 1.6;
  font-family:
    "Noto Sans KR",
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    Roboto,
    "Apple SD Gothic Neo",
    "Malgun Gothic",
    Arial,
    sans-serif;
  color: #222;
  background-color: #fff;
}

img,
picture,
video,
svg {
  display: block;
  max-width: 100%;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: 600;
  line-height: 1.2;
}

p {
  word-break: keep-all;
}

ul,
ol {
  list-style: none;
  padding: 0;
}

a {
  color: inherit;
  text-decoration: none;
}

input,
button,
textarea,
select {
  font: inherit;
}

button {
  background: none;
  border: 0;
  padding: 0;
  margin: 0;
  font: inherit;
  line-height: inherit;
  color: inherit;
  cursor: pointer;
}

button:disabled {
  cursor: not-allowed;
}

:focus-visible {
  outline: 2px solid #005fcc;
  outline-offset: 2px;
}

/* scrollbar - chrome, safari -------------------------------------------------------------------------------------------*/
::-webkit-scrollbar {width: 8px; height: 8px; border:none;}
::-webkit-scrollbar-button:start:decrement, ::-webkit-scrollbar-button:end:increment {display: block; height: 8px; background: none;}
::-webkit-scrollbar-track {background: #F5F5F5; -webkit-border-radius: 8px; border-radius:8px;}
::-webkit-scrollbar-thumb {background: #BDBDBD; -webkit-border-radius: 8px; border-radius: 8px;}

/* color */
:root {
  --ai_purple: #7748F4;
  --ai_bg: linear-gradient(135deg, #266AFD -10.29%, #9B17F3 77.96%);
  --bg_purple: #F8F7FD;
  --navy: #02176A;
  --navy_txt: #333F54;
  --white: #FFF;
  --black: #111;
  --gray_0: #333;
  --gray_1: #717171;
  --gray_2: #898989;
  --gray_3: #BEBEBE;
  --gray_4: #D7D7D7;
  --gray_5: #E7E7E7;
  --gray_6: #F7F7F7;
  --hover_gray: #F9F9F9;
}

/* font-weight */
.fw-100 {font-weight: 100;}
.fw-200 {font-weight: 200;}
.fw-300 {font-weight: 300;}
.fw-400 {font-weight: 400;}
.fw-500 {font-weight: 500;}
.fw-600 {font-weight: 600;}
.fw-700 {font-weight: 700;}
.fw-800 {font-weight: 800;}
.fw-900 {font-weight: 900;}

.hidden {
  display: none !important;
}

.ellipsis {
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  border: 0;
  white-space: nowrap;
}

.only-mo {display: none !important;}


/* modal */
.modal {position:fixed; left:0; top:0; width:100%; height:100%; background-color:rgb(0,0,0); background-color:rgba(0,0,0,0.4); z-index:999; }
.modal-wrap {display:table; table-layout: fixed; width:100%; height:100%; }
.modal-inner { table-layout: fixed; display:table-cell; vertical-align: middle; text-align:center; }
.modal-inner .modal-content {position:relative; display:inline-block; background-color:#fff; padding:20px; border-radius: 5px; }
.modal-flex {display:flex;display: -ms-flexbox;display: -webkit-flex;height:100vh;justify-content: center;align-items: center;}
.modal-flex-inner {background:#fff;border-radius: 1rem;max-width:90%;max-height:90vh;overflow:auto;display: flex;flex-direction: column;justify-content:flex-start;}
.modal-flex-inner .modal-header {display: flex;padding: 2rem 2.5rem 0;}
.modal-flex-inner .modal-header .close-btn {margin-left: auto;display: inline-flex;justify-content: center;align-items: center;width: 4rem;height: 4rem;border-radius: 4rem;background: #F6F6F6;}
.modal-flex-inner .modal-header .close-btn svg {width: 2.4rem;color: #222222;transition: 0.2s;}
.modal-flex-inner .modal-header .close-btn:hover svg {color: var(--ai_purple, #7748F4);transform: rotate(-90deg);}
.modal-flex-inner .modal-content {overflow: hidden; display: flex; justify-content: flex-start;}
.modal-flex-inner .modal-content .modal-padding {min-width:300px;overflow: auto;padding: 2rem 3rem 4rem;}

@media screen and (min-width: 1024px) and (max-width: 1200px) {
  html {font-size: 56.25%;}
}

@media screen and (min-width: 768px) and (max-width: 1023px) {
  html {font-size: 75%;}
  .only-pc {display: none !important;}
  .only-mo {display: block !important;}
  .modal-flex-inner .modal-content .modal-padding {padding: 2rem;}
}

@media screen and (max-width: 767px) {
  html {font-size: 62.5%;}
  .only-pc {display: none !important;}
  .only-mo {display: block !important;}
  .modal-flex-inner .modal-content .modal-padding {padding: 2rem;}
}