@font-face {
  font-family: "Montserrat";
  src: url(../fonts/Montserrat.woff2) format("woff2");
}
@font-face {
  font-family: "Pretendard";
  src: url("../fonts/Pretendard-Regular.woff2") format("woff2");
}

:root {
  --header-height: 94px;
  --layout-padding-horizontal: 40px;
  --layout-section-padding-vertical: 70px;
  --screen-max-width: 1900px;
  --screen-max-width-middle: 1400px;
  --screen-max-width-narrow: 1200px;
  --common-radius: 10px;

  --common-transition: background-color 0.3s ease, color 0.17s ease, border-color 0.3s ease, text-shadow 0.3s ease, box-shadow 0.3s ease, filter 0.3s ease;
  --color-background-light: #f8f9fa;
  --color-theme-purple: #3640ff;
  --color-theme-purple-light: #bcc0ff;
  --color-theme-green: #00ac65;
  --color-theme-skyblue: #13b7fd;
  --color-theme-lightgray: #89939e;

  --section-label-font-size: 26px;
  --section-title-font-size: 50px;
  --section-subtitle-font-size: 28px;
  --section-desc-font-size: 18px;
}

* {
  font-family:
    "Pretendard",
    -apple-system,
    BlinkMacSystemFont,
    system-ui,
    Roboto,
    "Helvetica Neue",
    "Segoe UI",
    "Apple SD Gothic Neo",
    "Noto Sans KR",
    "Malgun Gothic",
    sans-serif;
  word-break: keep-all;
  box-sizing: border-box;
}
body {
  font-family: "Pretendard", sans-serif;
}
a {
  text-decoration: none;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
body.no-scroll {
  overflow: hidden;
}
.hide {
  display: none !important;
}
.btn {
  cursor: pointer;
  border: none;
  background: none;
  padding: 0;
  margin: 0;
  appearance: none;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  transition: var(--common-transition);
}
.btn:hover {
  filter: brightness(1.2);
}

.icn_box {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  background-position: center center;
  background-repeat: no-repeat;
  background-size: contain;
}
.icn_box.icn_close {
  width: 24px;
  height: 24px;
  background-image: url("../img/icon/icn_close.svg");
}
#wrap {
  overflow: hidden;
  font-size: 16px;
}
.common_aside_title {
  font-size: 32px;
  line-height: 1.28;
  font-weight: bold;
  margin-bottom: 0.6em;
}

.common_aside_title.not_bottom_margin {
  margin-bottom: 0;
}

.common_aside_desc {
  font-size: 20px;
  line-height: 2;
}
.common_aside_title + .common_aside_desc {
  margin-top: 0.72em;
}
.common_btn {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  padding: 0.6em 1.2em;
  font-size: 16px;
  font-weight: 500;
  border: none;
  border-radius: var(--common-radius);
  cursor: pointer;
  transition: var(--common-transition);
}
.common_btn.btn_sm {
  padding: 0.4em 0.8em;
  font-size: 14px;
}
.common_btn.btn_big {
  padding: 1em 2em;
  font-size: 20px;
}
.common_btn:hover {
  filter: brightness(1.35);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.common_btn.btn_purple {
  background-color: var(--color-theme-purple);
  color: #fff;
}

.section_padding {
  padding: var(--layout-section-padding-vertical) var(--layout-padding-horizontal);
}

.section_label {
  text-align: center;
  font-size: var(--section-label-font-size);
  font-weight: 700;
  color: var(--section-label-color);
}
.section_title {
  text-align: center;
  font-size: var(--section-title-font-size);
  line-height: 1.42;
  font-weight: 800;
}

.section_subtitle {
  text-align: center;
  font-size: var(--section-subtitle-font-size);
}

.section_desc {
  text-align: center;
  font-size: var(--section-desc-font-size);
  color: #ccc;
}

.section_title + .section_desc {
  margin-top: 0.5em;
}

.common_client_list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1em;
  width: 100%;
}
.common_client_list.six_columns {
  grid-template-columns: repeat(5, 1fr);
  gap: 1%;
}
.common_client_item {
  display: block;
  transition: transform 0.3s ease;
}
.common_client_item:hover {
  transform: translateY(-4px);
}

.common_logo_box {
  position: relative;
  width: 100%;
  height: 0;
  background-color: #fff;
  border-radius: 16px;
  padding-top: 50%;
}
.common_logo_box img {
  position: absolute;
  max-width: 80%;
  height: 50px;
  max-height: 80%;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  object-fit: contain;
}

.common_logo_box img.icon_mode {
  width: 50%;
  height: auto;
}

.common_logo_box img.horizontal {
  width: 80%;
  height: auto;
}

.common_modal_wrap {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.6);
  color: #000;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1000;
  backdrop-filter: blur(4px);
}

.common_modal_inner {
  background-color: #ffffff;
  width: 80%;
  max-width: 1000px;
  width: 90%;
  max-height: 100%;
  position: relative;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
}

.common_modal_header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  font-size: 24px;
  line-height: 1.5;
  padding: 15px 30px;
  border-bottom: 1px solid #efefef;
  gap: 2em;
}

.common_modal_close {
  flex: 0 0 auto;
  width: 30px;
  height: 30px;
  border-radius: 3px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  margin: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: var(--common-transition);
}
.common_modal_close:hover {
  background-color: #ccc;
}

.common_modal_content {
  padding: 20px 30px 40px 30px;
  overflow-x: hidden;
  overflow-y: auto;
  max-height: calc(90vh - 60px);
}

.common_modal_title {
  font-weight: 700;
  margin: 0;
  text-align: left;
}

.common_form .form-container {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 20px;
}

.common_form .form-content {
  max-width: 640px;
  margin: 0 auto;
}

.common_form .form-header {
  text-align: center;
  margin-bottom: 30px;
  margin-top: 20px;
}

.common_form .form-header .brand {
  font-weight: 800;
  font-size: 22px;
  line-height: 36px;
  color: #3640ff;
  display: block;
  margin-bottom: 20px;
}

.common_form .form-header .title {
  font-weight: 700;
  font-size: 45px;
  line-height: 60px;
  letter-spacing: -2px;
  color: #000000;
  margin-bottom: 15px;
}

.common_form .form-header .description {
  font-weight: 400;
  font-size: 18px;
  line-height: 28px;
  color: #89939e;
}

.common_form .contact_form {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.common_form .form_group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.common_form .form_group.full {
  grid-column: 1 / -1;
}

.common_form .form_group label {
  font-weight: 600;
  font-size: 16px;
  line-height: 24px;
  color: #000000;
}

.common_form .form_group .radio_label {
  font-weight: 400;
  font-size: 16px;
  line-height: 24px;
  color: #000000;
  cursor: pointer;
}

.common_form .form_group input,
.common_form .form_group textarea,
.common_form .form_group select {
  padding: 12px;
  background: #ffffff;
  border: 1px solid #d0d5dd;
  border-radius: 8px;
  font-size: 16px;
  line-height: 24px;
  color: #000000;
}

.common_form .form_group input::placeholder,
.common_form .form_group textarea::placeholder,
.common_form .form_group select::placeholder {
  color: #667085;
}

.common_form .form_group textarea {
  resize: vertical;
  min-height: 120px;
}

.common_form .form_group select {
  appearance: none;
  background-image: url("../img/icons/chevron-down-white.svg");
  background-repeat: no-repeat;
  background-position: right 16px center;
  background-size: 20px;
  cursor: pointer;
}

.common_form .form_group select option {
  background-color: #000000;
  color: #ffffff;
  padding: 12px;
}

.common_form .form_agreement {
  grid-column: 1 / -1;
  margin: 12px 0;
  display: flex;
  gap: 10px;
  justify-content: space-between;
  align-items: center;
}

.common_form .checkbox-label {
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
}

.common_form .checkbox-label input[type="checkbox"] {
  display: none;
}

.common_form .checkbox-custom {
  width: 20px;
  height: 20px;
  border: 1px solid #d0d5dd;
  border-radius: 4px;
  position: relative;
  margin-top: 3px;
}

.common_form .checkbox-label input[type="checkbox"]:checked + .checkbox-custom::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 12px;
  height: 12px;
  background-color: #3640ff;
  border-radius: 2px;
}

.common_form .agreement-text {
  font-family: "Pretendard", sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 20px;
  color: #667085;
}

.common_form .submit_button {
  width: 100%;
  grid-column: 1 / -1;
  background-color: #3640ff;
  border: none;
  border-radius: 9px;
  padding: 12px 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  cursor: pointer;
  transition: background-color 0.3s ease;
  height: 60px;
}

.common_form .submit_button span {
  font-family: "Pretendard", sans-serif;
  font-weight: 700;
  font-size: 20px;
  line-height: 30px;
  letter-spacing: -0.5px;
  color: #ffffff;
}

.common_form .submit_button:hover {
  background-color: #2930cc;
}

.common_form .submit_button {
  transition: all 0.3s ease;
}

.common_form .submit_button.disabled {
  opacity: 0.6;
  cursor: not-allowed;
  background-color: #cccccc;
}

.common_form .submit_button.disabled:hover {
  transform: none;
  background-color: #cccccc;
}

.common_form input[type="tel"] {
  padding: 12px;
  border: 1px solid #ddd;
  border-radius: 8px;
  font-size: 16px;
  line-height: 24px;
  width: 100%;
}

.common_form input#phone.valid {
  border: 2px solid #28a745 !important;
  background-color: #f8fff8 !important;
}

.common_form input#phone.invalid {
  border: 2px solid #dc3545 !important;
  background-color: #fff8f8 !important;
}

.common_form .error-message {
  display: block;
  margin-top: 5px;
  color: #dc3545;
  font-size: 12px;
  transition: all 0.3s ease;
}

.common_form input#email.valid {
  border: 2px solid #28a745 !important;
  background-color: #f8fff8 !important;
}

.common_form input#email.invalid {
  border: 2px solid #dc3545 !important;
  background-color: #fff8f8 !important;
}
.apply_form {
  max-width: 640px;
  margin: 0 auto;
}
.apply_header {
  text-align: center;
  margin-bottom: 2em;
}
.apply_header .section_label {
  font-size: 1.28em;
  font-weight: bold;
  color: var(--color-theme-purple);
}
.apply_header .section_title {
  text-align: center;
}
.apply_header .section_desc {
  font-size: 1em;
  color: #89939e;
}

.cont_terms {
  width: 100%;
  height: auto;
  overflow: hidden;
  position: relative;
  padding-bottom: 48px;
}

.cont_terms h2 {
  width: 100%;
  height: auto;
  overflow: hidden;
  position: relative;
  font-size: 18px;
  font-weight: 500;
  color: #222;
  margin-top: 30px;
}

.cont_terms h2:first-of-type {
  margin-top: 20px;
}

.cont_terms h4 {
  width: 100%;
  height: auto;
  overflow: hidden;
  position: relative;
  font-size: 16px;
  font-weight: 500;
  color: #222;
  margin-top: 20px;
}

.cont_terms .cont_wrap {
  width: 100%;
  height: auto;
  overflow: hidden;
  position: relative;
  font-size: 14px;
  color: #888;
  margin-top: 10px;
}

.common_custom_loader_container {
  position: fixed;
  top: 0;
  left: 0;
  display: flex;
  width: 100%;
  height: 100%;
  justify-content: center;
  align-items: center;
  background-color: rgba(0, 0, 0, 0.7);
  z-index: 2000;
}
.common_custom_loader {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background:
    radial-gradient(farthest-side, #766df4 94%, #0000) top/8px 8px no-repeat,
    conic-gradient(#0000 30%, #766df4);
  -webkit-mask: radial-gradient(farthest-side, #0000 calc(100% - 8px), #000 0);
  animation: s3 1s infinite linear;
}

@keyframes s3 {
  100% {
    transform: rotate(1turn);
  }
}

@media screen and (min-width: 1025px) {
  .only-m {
    display: none !important;
  }
}
@media screen and (max-width: 1900px) {
  :root {
    --layout-padding-horizontal: 40px;
    --layout-section-padding-vertical: 70px;
    --screen-max-width: 1900px;
    --screen-max-width-middle: 1400px;
    --screen-max-width-narrow: 1200px;
  }
}

@media screen and (max-width: 1440px) {
  :root {
    --header-height: 80px;
    --layout-padding-horizontal: 30px;
    --layout-section-padding-vertical: 60px;
    --screen-max-width: 1000px;
    --screen-max-width-middle: 900px;
    --screen-max-width-narrow: 800px;

    --section-label-font-size: 20px;
    --section-title-font-size: 40px;
    --section-subtitle-font-size: 24px;
    --section-desc-font-size: 15px;
  }
}

@media screen and (max-width: 1024px) {
  :root {
    --header-height: 60px;
    --layout-padding-horizontal: 20px;
    --layout-section-padding-vertical: 40px;

    --screen-max-width: 96%;
    --screen-max-width-middle: 96%;
    --screen-max-width-narrow: 96%;

    --section-label-font-size: 18px;
    --section-title-font-size: 32px;
    --section-subtitle-font-size: 18px;
    --section-desc-font-size: 14px;
  }
  #wrap {
    font-size: 14px;
  }
  .only-pc {
    display: none !important;
  }
  .common_btn {
    font-size: 14px;
  }
  .common_btn.btn_sm {
    font-size: 12px;
  }
  .common_btn.btn_big {
    font-size: 16px;
  }
  .common_aside_title {
    font-size: 24px;
  }
  .common_aside_desc {
    font-size: 14px;
  }
  .common_client_list {
    margin-top: 1em;
    grid-template-columns: repeat(3, 1fr);
    gap: 1em;
    row-gap: 1em;
  }
  .common_logo_box {
    margin-top: 0;
  }
}

@media screen and (max-width: 768px) {
  :root {
    --layout-padding-horizontal: 15px;
    --layout-section-padding-vertical: 20px;
    --section-label-font-size: 16px;
    --section-title-font-size: 28px;
    --section-subtitle-font-size: 16px;
    --section-desc-font-size: 13px;
  }
  .common_aside_title {
    font-size: 20px;
    margin-bottom: 0.3em;
  }
  .common_aside_title + .common_aside_desc {
    margin-top: 0.3em;
  }
  .common_aside_desc {
    font-size: 13px;
  }
  .common_client_list {
    grid-template-columns: repeat(2, 1fr);
  }
  .common_modal_close {
    width: 28px;
    height: 28px;
  }
  .common_modal_header {
    padding: 10px 10px;
    font-size: 18px;
  }
  .common_modal_content {
    padding: 15px 20px 20px 20px;
  }
  .common_form .contact_form {
    grid-template-columns: repeat(1, 1fr);
    gap: 15px;
  }
}
