@charset "utf-8";
@import url('https://fonts.googleapis.com/css2?family=Lato:ital,wght@0,100;0,300;0,400;0,700;0,900;1,100;1,300;1,400;1,700;1,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 !important;
  box-sizing: border-box;
}

body {
  font-family: "Pretendard", "Noto Emoji", "Segoe UI Emoji", sans-serif;
  font-weight: 400;
  font-style: normal;
  font-size: 1rem;
}

.en {
  font-family: "Lato", "Noto Emoji", "Segoe UI Emoji", sans-serif;
}

html,
body {
  overscroll-behavior-y: none;
}

@media (min-width:1024px) {

  html,
  body {
    overscroll-behavior-y: initial;
  }
}

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: #2E59A7;
  --seconday: #666;
  --dark-blue: #00125E;
  --ca-color: #333;
  --full-h: calc(var(--vh, 1vh) * 100);
  --full-w: calc(var(--vw, 1vw) * 100);
  --header-h: 70px;


  .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;
  }


  /* 애니메이션 관련 */


  /* 버튼 */
  .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 {
    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;
  }

  #logo {
    background-image: url("../img/logo1.png");
    z-index: 51;
  }

  #header {
    background-color: #fff;
  }

  #header.active #logo {
    background-image: url("../img/w_logo.png");
  }

  .nav-item:after {
    content: "";
    position: absolute;
    bottom: 2.5px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 1.5px;
    transition: all 0.5s ease;
    background-color: var(--primary);
  }


  .nav-item:hover:after {
    width: 100%;
  }

  #toggler span {
    position: absolute;
    top: 0;
    left: 0;
    display: block;
    width: 100%;
    height: 2px;
    max-height: 5px;
    transition: all ease 200ms;
    z-index: 55;

  }

  #toggler .first {
    top: 0%;
    transition: transform 100ms;
  }

  #toggler .second {
    top: 50%;
  }

  #toggler .third {
    top: 100%;
  }

  #toggler.active .first {
    transform: translateY(13px) translateX(0) rotate(45deg);
    transition: all ease 200ms;
  }

  #toggler.active .second {
    opacity: 0;
    transition: all ease 200ms;
  }

  #toggler.active .third {
    transform: translateY(-11px) translateX(0) rotate(-45deg);
    transition: all ease 200ms;
  }

  #toggler.active span {
    background-color: #fff;
  }

  .main-nav {
    position: fixed;
    left: 0;
    top: 0;
    z-index: 0;
    width: 100%;
    padding-top: var(--header-h);
    opacity: 0;
    transform: scale(0.85);
    transition: 0.5s;
    visibility: hidden;

    background-color: var(--dark-blue);
  }

  .main-nav.active {
    visibility: visible;
    z-index: 50;
    transform: scale(1);
    opacity: 1;
    transition: 0.5s;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
  }

  .menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    width: 100%;
    height: var(--full-h);
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 0;
    visibility: hidden;
    opacity: 0;
    transition: all 0.5s ease;
  }

  .menu-overlay.active {
    visibility: visible;
    opacity: 1;
    z-index: 10;
  }

  /* SPlitType */
  @keyframes slide-up2 {
    0% {
      transform: translateX(40px);
      opacity: 0;
    }

    30% {
      transform: translateX(40px);
      opacity: 1;
    }
  }

  .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));
  }
}

.ctt_admin {
  display: none;
}

#bo_cate a {
  border-radius: 8px !important;
  border: 1px solid #2E59A7 !important;
  color: #2E59A7 !important;
  opacity: 1 !important;
}

#bo_cate a:focus,
#bo_cate a:hover,
#bo_cate a:active {
  text-decoration: none;
  background: #2E59A7 !important;
  color: #fff !important;
}

#bo_cate #bo_cate_on {
  z-index: 2;
  background: #2E59A7 !important;
  color: #fff !important;
  font-weight: 500 !important;
  border: 1px solid #2E59A7 !important;
  box-shadow: none !important;
}

/* 카카오 지도 스타일 */
.root_daum_roughmap,
.root_daum_roughmap_landing {
  width: 100% !important;
  height: 100% !important;
}

.root_daum_roughmap iframe {
  width: 100% !important;
  height: 100% !important;
}


.main-swiper .swiper-button-next,
.main-swiper .swiper-button-prev {
  color: #fff;
  width: 36px;
  height: 36px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  backdrop-filter: blur(10px);
  transition: all 0.3s ease;
  z-index: 20;
}

.main-swiper .swiper-button-next:hover,
.main-swiper .swiper-button-prev:hover {
  background: rgba(255, 255, 255, 0.3);
  transform: scale(1.1);
}

.main-swiper .swiper-button-next::after,
.main-swiper .swiper-button-prev::after {
  font-size: 18px;
  font-weight: bold;
}

/* 커스텀 pagination */
.custom-pagination {
  position: absolute;

  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 15;
  pointer-events: auto;
}

.custom-pagination-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  padding-bottom: 10px;
}

.custom-pagination-text {
  color: #fff;
  font-size: 16px;
  font-weight: 400;
  letter-spacing: 2px;
  font-family: "Lato", sans-serif;
  transition: all 0.3s ease;
}

.custom-pagination-bullets {
  display: flex;
  gap: 8px;
  align-items: center;
  justify-content: center;
}

.custom-pagination-bullet {
  font-size: 0;
  background: none;
  border: none;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: #fff;
  cursor: pointer;
  padding: 0;
  position: relative;
}

@keyframes rotateDots {
  0% {
    -webkit-transform: translate(-50%, -50%) rotate(0deg);
    transform: translate(-50%, -50%) rotate(0deg);
  }

  100% {
    -webkit-transform: translate(-50%, -50%) rotate(360deg);
    transform: translate(-50%, -50%) rotate(360deg);
  }
}

.custom-pagination-bullet.active:after {
  content: "";
  width: 14px;
  height: 14px;
  background-image: url("data:image/svg+xml,%3csvg width='100%25' height='100%25' xmlns='http://www.w3.org/2000/svg'%3e%3crect width='100%25' height='100%25' fill='none' rx='100' ry='100' stroke='white' stroke-width='2' stroke-dasharray='2%2c 2' stroke-dashoffset='0' stroke-linecap='butt'/%3e%3c/svg%3e");
  border-radius: 50%;
  position: absolute;
  top: 50%;
  left: 50%;
  -webkit-animation: rotateDots linear 4s infinite;
  animation: rotateDots linear 4s infinite;
}




@media (min-width: 1024px) {
  .main-text text {
    font-size: 60px;
  }
}

.main-swiper .slide-2 .image-container,
.main-swiper .slide-3 .image-container {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;

  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.scroll-down {
  position: absolute;
  bottom: 1.5rem;
  left: 0;

  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: start;
  color: #fff;
}


@keyframes scrollDown {
  0% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(10px);
  }

  100% {
    transform: translateY(0);
  }
}

.scroll-down-icon {
  animation: scrollDown 2s ease-in-out infinite;
}

[data-aos="blur"] {
  filter: blur(10px);
  transition: filter 0.8s ease-out;
}

[data-aos="blur"].aos-animate {
  filter: blur(0);
}

.typography {
  font-family: "Lato", "Noto Emoji", "Segoe UI Emoji", sans-serif;
  background-image: linear-gradient(to bottom, rgba(234, 234, 234, 1) 0%, rgba(234, 234, 234, 0.8) 30%, rgba(234, 234, 234, 0.4) 60%, transparent 100%);
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
  font-size: 100px;
  font-weight: 700;
  letter-spacing: -1px;
  line-height: 1;
  white-space: nowrap;
}

.typography-rolling {
  overflow: hidden;
  width: 100%;
}

.typography-track {
  display: flex;
  gap: 40px;
  animation: typography-roll 30s linear infinite;
  will-change: transform;
}

.typography-track .typography {
  flex-shrink: 0;
}

@keyframes typography-roll {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-50%);
  }
}

/* 커스텀 스크롤바 */
/* Webkit 브라우저 (Chrome, Safari, Edge) */
.scrollbar::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}

.scrollbar::-webkit-scrollbar-track {
  background: transparent;
  border-radius: 50px;
}

.scrollbar::-webkit-scrollbar-thumb {
  background: #212121;
  border-radius: 50px;
  transition: all 0.3s ease;
}

.scrollbar::-webkit-scrollbar-thumb:hover {
  background: #212121;
  box-shadow: 0 2px 8px rgba(46, 89, 167, 0.3);
  transform: scaleX(1.2);
}

.scrollbar::-webkit-scrollbar-thumb:active {
  background: #212121;
}