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

@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;
}

/* paperlogy 폰트 */
@font-face {
    font-family: 'Paperozi';
    src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/2408-3@1.0/Paperlogy-1Thin.woff2') format('woff2');
    font-weight: 100;
    font-display: swap;
}

@font-face {
    font-family: 'Paperozi';
    src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/2408-3@1.0/Paperlogy-2ExtraLight.woff2') format('woff2');
    font-weight: 200;
    font-display: swap;
}

@font-face {
    font-family: 'Paperozi';
    src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/2408-3@1.0/Paperlogy-3Light.woff2') format('woff2');
    font-weight: 300;
    font-display: swap;
}

@font-face {
    font-family: 'Paperozi';
    src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/2408-3@1.0/Paperlogy-4Regular.woff2') format('woff2');
    font-weight: 400;
    font-display: swap;
}

@font-face {
    font-family: 'Paperozi';
    src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/2408-3@1.0/Paperlogy-5Medium.woff2') format('woff2');
    font-weight: 500;
    font-display: swap;
}

@font-face {
    font-family: 'Paperozi';
    src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/2408-3@1.0/Paperlogy-6SemiBold.woff2') format('woff2');
    font-weight: 600;
    font-display: swap;
}

@font-face {
    font-family: 'Paperozi';
    src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/2408-3@1.0/Paperlogy-7Bold.woff2') format('woff2');
    font-weight: 700;
    font-display: swap;
}

@font-face {
    font-family: 'Paperozi';
    src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/2408-3@1.0/Paperlogy-8ExtraBold.woff2') format('woff2');
    font-weight: 800;
    font-display: swap;
}

@font-face {
    font-family: 'Paperozi';
    src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/2408-3@1.0/Paperlogy-9Black.woff2') format('woff2');
    font-weight: 900;
    font-display: swap;
}

* {
  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;
}

/* 초기화 */
html {
  overflow-y: auto !important;
}

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;
}


/*head.sub.php로 셋팅하는 값 = full-h, full-w*/
:root {
  --primary: #0068FF;
  --seconday: #6DA9FF;
  --lightblue: #C8DEFF;
  --lightblue2: #F5F9FF;
  --black: #212121;
  --black2: #292F34;
  --gray: #696969;
  --lightgray: #EAEAEA;
  --lightgray2: #F5F5F5;
  --lightgray3: #F9F9F9;
  /* --full-h: calc(var(--vh, 1vh) * 100);
  --full-w: calc(var(--vw, 1vw) * 100); */
  --header-h: 60px;
  --lnb-h: 48px;
}

.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 {
  background-color: transparent !important;
  color: var(--primary) !important;
  box-shadow: none;
}

#header.active #logo {
  background-image: url("../img/logo.png") !important;
}

/* 아이콘 있는 경우 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);
}

.btn-animation {
  position: relative;
  overflow: hidden;
  color: var(--primary);
  outline: 1px solid var(--primary);
}

.btn-animation::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 0;
  height: 100%;
  background-color: var(--primary);
  z-index: -1;
  transition: all 0.3s ease;
}

.btn-animation:hover {
  color: #fff;
  outline: 0;
}

.btn-animation:hover::before {
  width: 100%;
}

.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);
}

.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;
}

/* Lnb 관련  */
/* lnb  */
.lnb_wrap {
  position: relative;
}

.lnb {
  background: #fff;

}

.lnb .lnb_map {
  height: var(--lnb-h);
  display: flex;
  align-items: center;
  border-left: 1px solid #f1f1f1;
  border-right: 1px solid #f1f1f1;
  max-width: 1600px;
  margin: 0 auto;
}

.lnb .lnb_map .home {
  width: var(--lnb-h);
  height: 100%;
  background: #fff;
  display: flex;
  justify-content: center;
  align-items: center;
}

.lnb .lnb_map .home a {
  color: #333;
}


.lnb .lnb_map>li {

  height: 100%;
  border-right: 1px solid #ddd;

  position: relative;
}

.lnb .lnb_map li.dep a {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;

}

.lnb .lnb_map li.dep a span {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;

  color: #333;
}


.lnb .lnb_map li.dep ul {
  display: none;
  position: absolute;
  left: 0;
  top: var(--lnb-h);
  width: 100%;
  z-index: 9999;
}

.lnb .lnb_map li.dep ul li {
  width: 100%;
  background: #f9f9f9;
  border-bottom: 1px solid #fff;
}



.lnb .lnb_map li.dep ul li a:hover {
  background: var(--primary);
  color: #fff;
  transition: 0.3s all;
}

.lnb .lnb_map li.dep ul li a.on {
  background: var(--primary);
  color: #fff;
}

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

body {
  position: static !important;
  top: 0px !important;
}

.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;
}

/* Main Landing Page */
.main-hero__objects {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.main-hero__object {
  position: absolute;
  max-width: none;
  object-fit: contain;
}

.main-hero__object--01 {
  left: -2%;
  bottom: 8%;
  width: 28%;
  max-width: 630px;
}

.main-hero__object--02 {
  right: 2%;
  top: 18%;
  width: 22%;
  max-width: 472px;
}

.main-hero__object--03 {
  left: 8%;
  top: 6%;
  width: 16%;
  max-width: 358px;
}

.main-hero__object--04 {
  right: 8%;
  top: 10%;
  width: 8%;
  max-width: 173px;
}

.main-about__cards {
  padding-top: 2rem;
}

.main-about__tag {
  position: absolute;
  z-index: 20;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.625rem 1.75rem;
  border-radius: 9999px;
  background-color: #000;
  color: #fff;
  font-size: 1rem;
  font-weight: 700;
  white-space: nowrap;
}

.main-about__tag--brand {
  left: 0;
  top: 3rem;
}

.main-about__tag--content {
  right: 0;
  top: 0;
  background-color: #0068ff;
}

.main-about__tag--variety {
  left: 0;
  top: 0;
  z-index: 30;
}

.main-about__card {
  position: relative;
  width: 72vw;
  max-width: 439px;
  aspect-ratio: 439 / 531;
  border-radius: 20px;
  overflow: hidden;
}

.main-about__card--blue {
  background-color: #0068ff;
}

.main-about__card--poster {
  background-color: #0068ff;
}

.main-about__card--stats {
  background: linear-gradient(135deg, #eaeaea 0%, #0068ff 100%);
}

.main-about__card--gray {
  background-color: #eaeaea;
}

.main-history__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  pointer-events: none;
  display: block;
}

.main-history__overlay {
  position: absolute;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.55);
}

.main-history__overlay--dark {
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.8));
}

/* History inner layout */
.main-history__inner {
  position: relative;
  z-index: 10;
  width: 100%;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  padding: 4rem 1.5rem;
  max-width: 1920px;
  margin: 0 auto;
  box-sizing: border-box;
}

@media (min-width: 1024px) {
  .main-history__inner {
    flex-direction: row;
    justify-content: flex-start;
    align-items: flex-start;
    height: 100vh;
    min-height: 100vh;
    padding: 14vh 12.5vw 0 12.5vw;
  }
}

.main-history__fixed {
  flex-shrink: 0;
  width: 100%;
}

@media (min-width: 1024px) {
  .main-history__fixed {
    width: 29.375vw;
    position: relative;
  }
}

.main-history__scroll {
  flex: 1;
  width: 100%;
  margin-top: 3rem;
}

@media (min-width: 1024px) {
  .main-history__scroll {
    margin-top: 18.8vh;
    width: 27.5vw;
    flex: none;
    margin-left: 10.46vw;
  }
}

.main-history__header {
  margin-bottom: 2.5rem;
}

@media (min-width: 1024px) {
  .main-history__header {
    margin-bottom: 9.25vh;
  }
}

.main-history__year-wrap {
  flex-shrink: 0;
}

.main-history__year {
  font-size: 80px;
  line-height: 1;
  font-weight: 900;
  letter-spacing: -2px;
}

@media (min-width: 640px) {
  .main-history__year {
    font-size: 120px;
  }
}

@media (min-width: 1024px) {
  .main-history__year {
    font-size: 150px;
    line-height: 179px;
    letter-spacing: 0;
  }
}

.main-history__items {
  display: flex;
  flex-direction: column;
  gap: 4.5rem;
}

@media (min-width: 1024px) {
  .main-history__items {
    gap: 24vh;
  }
}

.main-history__item {
  width: 100%;
  opacity: 0;
  transition: opacity 0.5s ease;
}

@media (max-width: 1023px) {
  .main-history__item {
    opacity: 0.22;
  }
}

.main-history__item.active {
  opacity: 1 !important;
}

.main-history__item.next {
  opacity: 0.22 !important;
}

.main-history__list {
  list-style: none;
  padding: 0;
  margin: 0.5rem 0 0 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.main-history__list li {
  font-size: 0.9rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.75);
  padding-left: 0;
  position: relative;
}

.main-history__list li::before {
  content: '•';
  position: static;
  margin-right: 0.3em;
  color: rgba(255, 255, 255, 0.5);
}

@media (max-width: 1023px) {
  .main-history__inner {
    text-align: center;
  }
}

@media (min-width: 1024px) {
  .main-history__list li {
    padding-left: 1.1em;
  }
  .main-history__list li::before {
    position: absolute;
    left: 0;
  }
}

@media (min-width: 1024px) {
  .main-history__list li {
    font-size: 1.05rem;
  }
}

.main-programs__poster {
  aspect-ratio: 345 / 490;
  border-radius: 10px;
  overflow: hidden;
  background-color: #212121;
}

.main-content__deco {
  position: absolute;
  left: -8%;
  top: 18%;
  width: 42%;
  max-width: 808px;
  opacity: 0.9;
  pointer-events: none;
}

.main-content__slide {
  position: relative;
  aspect-ratio: 636 / 415;
  border-radius: 20px;
  overflow: hidden;
}

.main-content__play {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 6rem;
  height: 6rem;
  border-radius: 9999px;
  background-color: rgba(255, 255, 255, 0.6);
}

.main-content-bullet {
  display: inline-block;
  width: 0.625rem;
  height: 0.625rem;
  border-radius: 9999px;
  background-color: rgba(0, 104, 255, 0.3);
  cursor: pointer;
  transition: background-color 0.2s;
  /* Swiper 기본 pagination bullet 스타일 덮어쓰기 */
  opacity: 1 !important;
  margin: 0 !important;
}

.main-content-bullet-active {
  background-color: #0068ff;
  opacity: 1 !important;
}

.main-contact__image-wrap {
  aspect-ratio: 585 / 368;
}

.main-contact__character {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 30%;
  max-width: 559px;
  object-fit: contain;
  pointer-events: none;
}

@media (max-width: 1023px) {
  .main-about__tag {
    position: static;
  }

  /* Hero objects: 모바일에서 크기/위치 최적화 */
  .main-hero__object--01 {
    width: 36%;
    bottom: 3%;
  }

  .main-hero__object--02 {
    width: 26%;
  }

  .main-hero__object--03,
  .main-hero__object--04 {
    display: none;
  }

  /* History: 모바일 연도 크기 줄임 */
  .main-history__year {
    font-size: 60px;
    letter-spacing: -1px;
  }

  /* History: 모바일 항목 간격 축소 */
  .main-history__items {
    gap: 3rem;
  }

  /* History: 모바일 inner 패딩 축소 */
  .main-history__inner {
    padding: 3rem 1.25rem;
  }

  /* History: 모바일 헤더 마진 축소 */
  .main-history__header {
    margin-bottom: 1.5rem;
  }

  /* History: 모바일 스크롤 영역 마진 줄임 */
  .main-history__scroll {
    margin-top: 3rem;
  }
}

/* 태블릿 (640px ~ 1023px): 중간 사이즈 최적화 */
@media (min-width: 640px) and (max-width: 1023px) {
  .main-hero__object--01 {
    width: 30%;
    opacity: 0.6;
  }

  .main-hero__object--02 {
    width: 22%;
    opacity: 0.5;
  }

  .main-history__year {
    font-size: 90px;
  }

  .main-history__inner {
    padding: 4rem 3rem;
  }
}

/* =============================================
   Content Swiper 슬라이드 효과
   ============================================= */

.main-content-swiper {
  overflow: visible !important;
  opacity: 0;                          /* 초기 로드 시 잘못된 위치 노출 방지 */
  transition: opacity 0.4s ease;       /* 위치 교정 후 부드럽게 나타남 */
}

/* slidesPerView:auto 에서 명확한 width 지정 → 모호한 w-full+max-w 조합 제거 */
.main-content-slide {
  width: 300px;
  max-width: calc(100vw - 32px);      /* 모바일 화면 넘침 방지 */
  flex-shrink: 0;
}

@media (min-width: 1024px) {
  .main-content-slide {
    width: 730px;
    max-width: none;
  }
}

/* Swiper disabled 상태에서 인라인 pointer-events:none 주입을 차단
   → next 버튼의 마지막 클릭(bullet 5 활성화)이 항상 도달하도록 보장 */
.main-content-next,
.main-content-prev {
  pointer-events: auto !important;
}


/* sec5 원형 텍스트 시계방향 회전 애니메이션 */
@keyframes rotate-clockwise {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}

.sec5-spin {
  animation: rotate-clockwise 20s linear infinite;
  transform-origin: center center;
}

/* =============================================
   모바일 전용 Contact 배경 텍스트 크기 제한
   ============================================= */
@media (max-width: 479px) {
  .contact-bg-text-ani {
    font-size: 2rem !important; /* 32px */
    line-height: 1.2 !important;
    letter-spacing: -0.5px !important;
  }
}

@media (min-width: 480px) and (max-width: 767px) {
  .contact-bg-text-ani {
    font-size: 3rem !important; /* 48px */
    line-height: 1.2 !important;
  }
}

@media (min-width: 768px) and (max-width: 1023px) {
  .contact-bg-text-ani {
    font-size: 5rem !important; /* 80px */
    line-height: 1.15 !important;
  }
}

/* =============================================
   모바일 About 카드 스냅 최적화
   ============================================= */
@media (max-width: 479px) {
  /* 아주 작은 모바일에서 카드 폭 줄임 */
  .main-about__card {
    width: 65vw !important;
  }
}

/* =============================================
   모바일 Programs 카드 hover 효과 (터치 대신 항상 이미지 보임)
   ============================================= */
@media (max-width: 1023px) {
  .main-programs .group > .absolute.bg-\[\#111\] {
    display: none;
  }
}

/* =============================================
   모바일 Contact 맵 비율 고정
   ============================================= */
@media (max-width: 1023px) {
  .contact-map-ani {
    aspect-ratio: 16 / 9;
    height: auto !important;
  }
}