@charset "utf-8";
/* @import url('https://fonts.googleapis.com/css2?family=Noto+Sans+KR:wght@100..900&display=swap'); */
/* NotoSans 쓸 경우 주석 풀고, body 적용 */
@import url("https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap");

@font-face {
  font-family: "Pretendard";
  src: url("fonts/Pretendard-ExtraLight.otf") format("opentype");
  font-weight: 200;
  font-style: normal;
}

@font-face {
  font-family: "Pretendard";
  src: url("fonts/Pretendard-Light.otf") format("opentype");
  font-weight: 300;
  font-style: normal;
}

@font-face {
  font-family: "Pretendard";
  src: url("fonts/Pretendard-Regular.otf") format("opentype");
  font-weight: 400;
  font-style: normal;
}

@font-face {
  font-family: "Pretendard";
  src: url("fonts/Pretendard-Medium.otf") format("opentype");
  font-weight: 500;
  font-style: normal;
}

@font-face {
  font-family: "Pretendard";
  src: url("fonts/Pretendard-SemiBold.otf") format("opentype");
  font-weight: 600;
  font-style: normal;
}

@font-face {
  font-family: "Pretendard";
  src: url("fonts/Pretendard-Bold.otf") format("opentype");
  font-weight: 700;
  font-style: normal;
}

@font-face {
  font-family: "Pretendard";
  src: url("fonts/Pretendard-ExtraBold.otf") format("opentype");
  font-weight: 800;
  font-style: normal;
}

* {
  word-break: keep-all;
  box-sizing: border-box;
}

body {
  font-family: "Pretendard", "Noto Emoji", "Segoe UI Emoji", sans-serif;
  font-weight: 400;
  font-style: normal;
  font-size: 1rem;
}

/* 초기화 */
body.lock {
  width: 100%;
  position: fixed;
  left: 0;
  right: 0;
  overflow: hidden;
}

html,
h1,
h2,
h3,
h4,
h5,
h6,
form,
fieldset,
img {
  margin: 0;
  padding: 0;
  border: 0;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-size: 1em;
  font-family: inherit !important;
}

article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
menu,
nav,
section {
  display: block;
}

ul,
dl,
dt,
dd {
  margin: 0;
  padding: 0;
  list-style: none;
}

legend {
  position: absolute;
  margin: 0;
  padding: 0;
  font-size: 0;
  line-height: 0;
  text-indent: -9999em;
  overflow: hidden;
}

label,
input,
button,
select,
img {
  vertical-align: middle;
  font-size: 1em;
}

input,
button {
  margin: 0;
  padding: 0;
  font-family: inherit !important;
}

input[type="submit"] {
  cursor: pointer;
}

button {
  cursor: pointer;
}

textarea,
select {
  font-family: inherit !important;
}

select {
  margin: 0;
}

p {
  margin: 0;
  padding: 0;
  word-break: break-all;
}

pre {
  overflow-x: scroll;
  font-size: 1.1em;
}

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

html,
body {
  overscroll-behavior-y: auto;
}

@media (min-width: 1024px) {
  html,
  body {
    overscroll-behavior-y: initial;
  }
}

/*head.sub.php로 셋팅하는 값 = full-h, full-w*/
:root {
  --primary: #1e61f0;
  --seconday: #666;
  --ca-color: #333;
  --full-h: calc(var(--vh, 1vh) * 100);
  --full-w: calc(var(--vw, 1vw) * 100);
  --header-h: 60px;
  --lnb-h: 48px;
}

.en {
  font-family: "Montserrat", sans-serif;
}

.overlay {
  position: relative;
}

.overlay::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.2);
  z-index: 0;
}

/* 아이콘 있는 경우 header.active * {color: #000 !important;} 해주시면 됩니다. */

/* 애니메이션 관련 */

/* 버튼 */
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 4px;
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s ease;
}

.btn-primary {
  background-color: var(--primary);
  color: #fff;
  transition:
    background 0.2s,
    color 0.2s,
    box-shadow 0.2s;
}

.btn-primary:hover,
.btn-primary:focus {
  background: #fff;
  color: var(--primary);
  outline: 1px solid var(--primary);
  box-shadow: 0 2px 8px rgba(96, 165, 250, 0.15);
}

.btn-primary:active {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 1px 4px rgba(96, 165, 250, 0.1);
}

.btn-secondary {
  background-color: var(--seconday);
  color: #fff;
  transition:
    background 0.2s,
    color 0.2s,
    box-shadow 0.2s;
}

.btn-secondary:hover,
.btn-secondary:focus {
  background: #fff;
  color: var(--seconday);
  outline: 1px solid var(--seconday);
  box-shadow: 0 2px 8px rgba(156, 163, 175, 0.15);
}

.btn-secondary:active {
  background: var(--seconday);
  color: #fff;
  box-shadow: 0 1px 4px rgba(156, 163, 175, 0.1);
}

.btn-primary-outline {
  background-color: transparent;
  color: var(--primary);
  outline: 1px solid var(--primary);
  transition:
    background 0.2s,
    color 0.2s,
    box-shadow 0.2s;
}

.btn-primary-outline:hover,
.btn-primary-outline:focus {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 2px 8px rgba(96, 165, 250, 0.15);
  outline: none;
}

.btn-primary-outline:active {
  background: #fff;
  color: var(--primary);
  box-shadow: 0 1px 4px rgba(96, 165, 250, 0.1);
}

.btn-secondary-outline {
  background-color: transparent;
  color: var(--seconday);
  outline: 1px solid var(--seconday);
  transition:
    background 0.2s,
    color 0.2s,
    box-shadow 0.2s;
}

.btn-secondary-outline:hover,
.btn-secondary-outline:focus {
  background: var(--seconday);
  color: #fff;
  box-shadow: 0 2px 8px rgba(156, 163, 175, 0.15);
  outline: none;
}

.btn-secondary-outline:active {
  background: #fff;
  color: var(--seconday);
  box-shadow: 0 1px 4px rgba(156, 163, 175, 0.1);
}

.button:disabled,
.btn-primary:disabled,
.btn-secondary:disabled,
.btn-primary-outline:disabled,
.btn-secondary-outline:disabled,
.btn-animation:disabled {
  background: #e5e7eb !important;
  /* Tailwind gray-200 */
  color: #b0b0b0 !important;
  border: none !important;
  outline: none !important;
  box-shadow: none !important;
  cursor: not-allowed !important;
  opacity: 0.6;
  pointer-events: none;
  filter: grayscale(0.2);
}

.btn-collision {
  --btn-width: 120px;
  --btn-height: 42px;
  --btn-circle-size: 20px;
  --btn-circle-expand: 1.5;
  --btn-transition-duration: 0.5s;
  --btn-animation-duration: 0.8s;
  border-radius: 9999px;
  position: relative;
  color: var(--btn-circle);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  width: 100%;
  height: var(--btn-height);
  max-width: var(--btn-width);
  border: 1px solid var(--btn-circle);
  transition: all var(--btn-transition-duration) ease-in-out;
  z-index: 1;
}

@media (max-width: 991px) {
  .btn-collision {
    --btn-width: 80px;
    --btn-height: 28px;
    font-size: 14px;
  }
}

.btn-collision span {
  position: relative;
  z-index: 1;
}

.btn-collision:before,
.btn-collision:after {
  content: "";
  position: absolute;
  top: 50%;
  width: var(--btn-circle-size);
  height: var(--btn-circle-size);
  background-color: var(--btn-circle);
  border-radius: 50%;
  transform: translateY(-50%);
  z-index: 0;
}

.btn-collision:before {
  left: calc(var(--btn-circle-size) * -1);
}

.btn-collision:after {
  right: calc(var(--btn-circle-size) * -1);
}

@keyframes criss-cross-left {
  0% {
    left: -20px;
    width: 20px;
    height: 20px;
  }

  50% {
    left: 50%;
    width: 20px;
    height: 20px;
    transform: translate(-50%, -50%);
  }

  100% {
    left: 50%;
    width: calc(var(--btn-width) * 1.5);
    height: calc(var(--btn-width) * 1.5);
    transform: translate(-50%, -50%);
  }
}

@keyframes criss-cross-right {
  0% {
    right: -20px;
    width: 20px;
    height: 20px;
  }

  50% {
    right: 50%;
    width: 20px;
    height: 20px;
    transform: translate(50%, -50%);
  }

  100% {
    right: 50%;
    width: calc(var(--btn-width) * 1.5);
    height: calc(var(--btn-width) * 1.5);
    transform: translate(50%, -50%);
  }
}

.btn-collision:hover {
  color: var(--btn-color);
}

.btn-collision:hover:before {
  animation: criss-cross-left var(--btn-animation-duration) both;
  animation-direction: alternate;
}

.btn-collision:hover:after {
  animation: criss-cross-right var(--btn-animation-duration) both;
  animation-direction: alternate;
}

.button-reveal {
  --btn-width: 120px;
  --btn-height: 42px;
  --btn-color: #fff;
  --text-color: #000;
  --btn-gradient-angle: 30deg;
  --btn-gradient-size: 500px;
  --btn-transition-duration: 0.5s;
  border-radius: 9999px;
  width: var(--btn-width);
  height: var(--btn-height);
  font-weight: 500;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-color);
  border: 1px solid var(--btn-color);
  background-image: -webkit-linear-gradient(
    var(--btn-gradient-angle),
    var(--btn-color) 50%,
    transparent 50%
  );
  background-image: linear-gradient(
    var(--btn-gradient-angle),
    var(--btn-color) 50%,
    transparent 50%
  );
  background-size: var(--btn-gradient-size);
  background-repeat: no-repeat;
  background-position: 0%;
  transition: background var(--btn-transition-duration) ease-in-out;
}

.button-reveal:hover {
  background-position: 100%;
  color: var(--btn-color);
}

@media (max-width: 991px) {
  .btn-collision {
    --btn-width: 100px !important;
    --btn-height: 32px !important;
    font-size: 14px !important;
  }

  .button-reveal {
    --btn-width: 100px !important;
    --btn-height: 32px !important;
    font-size: 14px !important;
  }
}

/* 원형 이미지 무한 회전 애니메이션 */
@keyframes circle-rotate-left {
  0% {
    transform: translateZ(0px) scale(1);
  }

  50% {
    transform: translateZ(50px) scale(1.4);
  }

  100% {
    transform: translateZ(0px) scale(1);
  }
}

@keyframes circle-rotate-right {
  0% {
    transform: rotate(0deg) translateZ(0px);
  }

  50% {
    transform: rotate(-45deg) translateZ(20px);
  }

  100% {
    transform: rotate(0deg) translateZ(0px);
  }
}

.animate-circle-rotate-left {
  animation: circle-rotate-left 20s ease-in-out infinite;
  transform-style: preserve-3d;
}

.animate-circle-rotate-right {
  animation: circle-rotate-right 5s ease-in-out infinite;
  transform-style: preserve-3d;
}

.sit_icon {
  display: flex;
  gap: 4px;
  align-items: center;
  flex-wrap: wrap;
}

.editor-content img {
  display: initial;
}

#sev_himg * {
  font-family:
    "Pretendard", "Noto Emoji", "Segoe UI Emoji", sans-serif !important;
}

.sev_admin {
  display: none;
}

/* 구글 번역 부분 커스텀 css - 번역기능 있을 경우만 사용 */

.goog-logo-link {
  display: none !important;
}

.goog-te-gadget {
  color: transparent !important;
  display: none !important;
}

body > .skiptranslate,
.goog-logo-link,
.gskiptranslate,
.goog-te-gadget span,
.goog-te-banner-frame,
#goog-gt-tt,
.goog-te-balloon-frame,
div#goog-gt- {
  display: none !important;
}

.goog-te-gadget {
  color: transparent !important;
  font-size: 0px;
  width: 100px;
}

.goog-text-highlight {
  background: none !important;
  box-shadow: none !important;
}

#google_translate_element select {
  background: transparent;
  color: #000;
  border: none;
  font-weight: bold;
  border-radius: 0px;
  padding: 8px 12px;
}

.notranslate {
  translate: no !important;
}

/* custom */

@keyframes slide-up2 {
  0% {
    transform: translateX(40px);
    opacity: 0;
  }

  30% {
    transform: translateX(40px);
    opacity: 1;
  }
}

#banner-title .char {
  display: inline-block;
  animation: slide-up2 1.2s cubic-bezier(0.5, 0, 0.5, 1) both;
  animation-delay: calc(100ms * var(--char-index));
}

.depth1-menu {
  transition: background-position-x 0.9s linear;
}

.depth1-menu > a {
  position: relative;
  color: #262626;
  transition: 0.5s;
  z-index: 1;
  overflow: hidden;
}

.depth1-menu > a:before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-top: 2px solid #262626;
  border-bottom: 2px solid #262626;
  transform: scaleY(2);
  opacity: 0;
  transition: 0.3s;
}

.depth1-menu > a:after {
  content: "";
  position: absolute;
  top: 2px;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #262626;
  transform: scale(0);
  opacity: 0;
  transition: 0.3s;
  z-index: -1;
}

.depth1-menu:hover > a {
  color: #fff;
}

.depth1-menu:hover > a:before {
  transform: scaleY(1);
  opacity: 1;
}

.depth1-menu:hover > a:after {
  transform: scale(1);
  opacity: 1;
}

.sub-menu-wrap {
  position: absolute;
  top: var(--header-h);
  left: 0;
  width: 100%;
  background: #262626;
  z-index: -1;
  color: #fff;
  visibility: hidden;
  opacity: 0;
}

.sub-menu-wrap li {
  visibility: hidden;
  opacity: 0;
  background-color: #262626;
  transition: 0.3s;
}

.depth1-menu:hover .sub-menu-wrap {
  visibility: visible;
  opacity: 1;
}

.depth1-menu .sub-menu-wrap li:nth-of-type(odd) {
  transform: translateX(-30%);
}

.depth1-menu .sub-menu-wrap li:nth-of-type(even) {
  transform: translateX(30%);
}

.depth1-menu:hover .sub-menu-wrap li {
  opacity: 1;
  visibility: visible;
  transform: translateX(0);
}

.menu-icon span {
  position: absolute;
  top: 0;
  left: 0;
  display: block;
  width: 100%;
  height: 2px;
  max-height: 5px;
  background: #000;
  transition: all ease 200ms;
}

.menu-icon .first {
  top: 0%;
  transition: transform 100ms;
}

.menu-icon .second {
  top: 50%;
}

.menu-icon .third {
  top: 100%;
}

.menu-icon.active .first {
  transform: translateY(13px) translateX(0) rotate(45deg);
  transition: all ease 200ms;
}

.menu-icon.active .second {
  opacity: 0;
  transition: all ease 200ms;
}

.menu-icon.active .third {
  transform: translateY(-11px) translateX(0) rotate(-45deg);
  transition: all ease 200ms;
}

.site-wrap {
  position: relative;
}

.site-wrap.active .menu-bg {
  height: var(--full-h);
  transition: 0.5s;
  opacity: 1;
  visibility: visible;
}

.site-wrap.active .menu-bg::before {
  opacity: 1;
  transition: 0.5s;
}

#header {
  z-index: 101;
}

.main-nav {
  position: fixed;
  left: 0;
  top: var(--header-h);
  z-index: 0;
  height: calc(var(--full-h) - var(--header-h));
  width: 100%;
  padding: 1.5em 2em;
  opacity: 0;
  transform: scale(0.85);
  transition: 0.5s;
  visibility: hidden;
  background-image: url(../img/sub/diagram_bg2.png);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.main-nav.active {
  visibility: visible;
  z-index: 100;
  transform: scale(1);
  opacity: 1;
  transition: 0.5s;
}

.main-nav > ul > li > a {
  color: #000;
  font-weight: 300;
  display: block;
  transition: 0.5s;
  border-bottom: 1px solid rgba(0, 0, 0, 0.15);
  font-weight: 500;
}

.main-nav > ul > li:last-child > a {
  border-bottom: none;
}

.main-nav > ul > li > a:hover {
  opacity: 0.45;
  transition: 0.5s;
  padding: 0.8em;
}

.logo-swiper .swiper-wrapper {
  transition-timing-function: linear !important;
}

/* Line clamp utility */
.line-clamp-2 {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.card-item {
  position: relative;
  overflow: hidden;
}

.card-item .item1 {
  position: absolute;
  bottom: 0;
  left: 0;
  z-index: 0;
}

.card-item .item2 {
  position: absolute;
  bottom: 0;
  right: 0;
  z-index: 0;
}

/* AOS 애니메이션이 적용된 후에도 keyframe이 작동하도록 */
.card-item .item1[data-aos],
.card-item .item2[data-aos] {
  will-change: transform;
}

.card-item .item1.aos-animate,
.card-item .item2.aos-animate {
  animation-play-state: running;
}

.card-item:nth-child(1) {
  perspective: 1000px;
  transform-style: preserve-3d;
}

.card-item:nth-child(1) .item1.aos-animate {
  animation: item1Float 5s ease-in-out infinite;
  animation-delay: 1.5s;
}

.card-item:nth-child(1) .item2.aos-animate {
  animation: item2Float 7s ease-in-out infinite;
  animation-delay: 1.5s;
}

.card-item:nth-child(2) .item1.aos-animate {
  animation: item3Float 5s ease-in-out infinite;
  animation-delay: 1.5s;
}

.card-item:nth-child(2) .item2.aos-animate {
  animation: item4Float 8s ease-in-out infinite;
  animation-delay: 1.5s;
}

.card-item:nth-child(3) .item1.aos-animate {
  animation: item5Float 6s ease-in infinite;
}

.card-item:nth-child(3) .item2.aos-animate {
  animation: item6Float 8s ease-in-out infinite;
}

@keyframes item1Float {
  0%,
  100% {
    transform: translateX(0px) scale(1) translateY(0px) translateZ(0px);
  }

  50% {
    transform: translateX(-15px) scale(0.98) translateY(15px) translateZ(-50px);
  }
}

@keyframes item2Float {
  0%,
  100% {
    transform: translateX(0px) scale(1) translateY(0px) translateZ(0px);
  }

  50% {
    transform: translateX(10px) scale(1.05) translateY(-5px) translateZ(40px);
  }
}

@keyframes item3Float {
  0%,
  100% {
    transform: translateY(0px) scale(1);
  }

  50% {
    transform: translateY(15px) scale(1.05);
  }
}

@keyframes item4Float {
  0%,
  100% {
    transform: translateY(0) rotate(0deg);
  }

  50% {
    transform: translateX(20px) translateY(30px) rotate(-10deg);
  }
}

@keyframes item5Float {
  0%,
  100% {
    transform: translateY(0px);
  }

  50% {
    transform: translateY(-20px);
  }
}

@keyframes item6Float {
  0%,
  100% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.1);
  }
}

.vertical-text {
  writing-mode: vertical-rl;
  text-orientation: mixed;
}

#contact .contact-bg {
  animation: item6Float 12s linear infinite;
}

#captcha #captcha_key {
  width: auto !important;
  min-width: 90px !important;
  height: 32px !important;
  border-radius: 12px !important;
}

#captcha {
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  gap: 4px !important;
  flex-wrap: wrap !important;
}

#captcha #captcha_info {
  width: 100% !important;
  font-size: 12px !important;
  color: #666 !important;
}

#captcha #captcha_mp3,
#captcha #captcha_reload {
  margin: 0;
  padding: 0;
  width: 32px !important;
  height: 32px !important;
  border: 0;
  background: transparent;
  vertical-align: middle;
  overflow: hidden;
  cursor: pointer;
  background: url(../img/captcha2.png) no-repeat;
  text-indent: -999px;
  border-radius: 3px;
}

#captcha #captcha_mp3 {
  background: url(../img/icons/captcha.png) no-repeat !important;
}

#captcha #captcha_reload {
  background: url(../img/icons/captcha.png) no-repeat 0 -32px !important;
}

.chk_box input[type="checkbox"] + label {
  position: relative;
  display: flex;
  align-items: center;
  gap: 6px;
}

.chk_box input[type="checkbox"] + label span {
  width: 18px;
  height: 18px;
  display: block;
  background: #fff;
  border: 1px solid #d0d4df;
  border-radius: 3px;
}

.chk_box input[type="checkbox"]:checked + label {
  color: #000;
}

.chk_box input[type="checkbox"]:checked + label span {
  background: url(../img/icons/checked.png) no-repeat center;
  border-radius: 3px;
  border: none;
}

/* 세미나 신청 폼 스타일 */
#contact form input[type="checkbox"] {
  position: relative;
}

#contact form input[type="checkbox"]:checked::after {
  content: "";
  position: absolute;
  left: 6px;
  top: 2px;
  width: 6px;
  height: 10px;
  border: 2px solid white;
  border-top: none;
  border-left: none;
  transform: rotate(45deg);
}

#contact form select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%23757575' d='M6 8L0 0h12z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 10px center;
  padding-right: 30px;
  cursor: pointer;
}

#contact form input::placeholder,
#contact form textarea::placeholder,
#contact form select {
  color: #78716c;
}

#contact form input:focus,
#contact form textarea:focus,
#contact form select:focus {
  outline: none;
}

#bo_cate a {
  display: block;
  line-height: 28px;
  padding: 5px 15px;
  border-radius: 5px;
  background: #eaeaea;
  color: #696969;
  transition: all 0.3s ease;
  border: 0;
  box-shadow: none;
}

#bo_cate a:focus,
#bo_cate a:hover,
#bo_cate a:active {
  text-decoration: none;
  background: #212121;
  color: #fff;
}

#bo_cate #bo_cate_on {
  z-index: 2;
  background: #212121;
  color: #fff;
  font-weight: bold;
  border: 1px solid #212121;
  box-shadow: none;
}

/* 메인 이미지 배경 위치 반응형 처리 */
.main-img {
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}
