@charset "UTF-8";

@import url('https://fonts.googleapis.com/css2?family=Black+Han+Sans&family=Do+Hyeon&family=Gowun+Batang:wght@400;700&family=Nanum+Myeongjo:wght@400;700;800&family=Noto+Sans+KR:wght@400;500;700;800&display=swap');

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  max-width: 100%;
  min-width: 320px;
  overflow-x: hidden;
}

.wrap {
  overflow-x: hidden;
}

.container {
  width: calc(100% - 48px);
  max-width: 1200px;
  margin: 0 auto;
}

img,
video,
iframe,
canvas,
svg {
  max-width: 100%;
  height: auto;
}

table {
  max-width: 100%;
}

nav .container {
  display: flex;
  align-items: center;
  gap: 32px;
}

.top_logo {
  float: none !important;
  width: auto !important;
  margin-top: 0 !important;
  flex: 0 0 auto;
}

.top_logo a {
  padding: 14px 0 !important;
}

.top_logo img {
  width: auto;
  height: auto !important;
  max-width: 220px;
  max-height: 92px;
}

nav .menu {
  float: none !important;
  width: 100% !important;
  padding: 0 !important;
  display: flex;
  align-items: stretch;
  justify-content: space-between;
  gap: 12px;
}

nav .menu > li {
  float: none !important;
  width: auto !important;
  flex: 1 1 0;
  min-width: 0;
}

nav .menu > li > a {
  padding: 30px 12px 28px !important;
  font-size: clamp(14px, 1vw, 18px);
}

nav .menu .sub_menu {
  top: 100% !important;
  width: 220px !important;
  max-width: 240px;
}

nav .menu .sub_menu a {
  white-space: normal;
  word-break: keep-all;
}

.mob_nav {
  height: 60px;
  padding: 0 16px;
}

.mob_btn,
.mob_back {
  top: 5px;
}

.mob_nav .mob_logo {
  padding: 14px 48px;
}

.mob_nav img,
#menu .menu_log img {
  width: auto;
  height: auto !important;
  max-height: 32px;
  max-width: 100%;
}

#menu {
  width: 380px;
  max-width: 88vw;
  left: -380px;
  overflow-x: hidden !important;
  overflow-y: auto;
}

#menu.open {
  left: 0 !important;
}

#nav-left > li > div,
#nav-left > .open_menu > ul > li > a {
  word-break: keep-all;
}

#quickM {
  right: 12px;
  top: auto;
  bottom: 20px;
  width: 120px;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

#quickM ul li {
  padding: 8px 0;
}

.location .menu {
  display: flex;
  flex-wrap: wrap;
}

.location .menu > li {
  float: none;
}

.home-mobile-fallback-banner {
  display: block;
  width: 100%;
  height: auto !important;
  max-height: 72vh;
  object-fit: cover;
}

.p_slider img,
.m_slider img,
.home-main-slider img {
  display: block;
  width: 100%;
  height: auto;
}

.home-main-banner {
  position: relative;
  width: 100%;
  margin: 0 auto;
}

.home-main-banner .bx-wrapper {
  margin-bottom: 0;
  border: 0;
  box-shadow: none;
  background: transparent;
}

.home-main-banner .bx-viewport {
  left: 0;
  border: 0;
  background: transparent;
  transition: height 0.25s ease;
}

.home-main-slider li {
  list-style: none;
  height: var(--banner-image-height, clamp(320px, 38vw, 620px));
  min-height: var(--banner-image-height, clamp(320px, 38vw, 620px));
}

.home-main-slider {
  margin: 0;
  padding: 0;
}

.home-main-slide {
  position: relative;
  display: block;
  overflow: hidden;
  height: var(--banner-image-height, clamp(320px, 38vw, 620px));
  min-height: var(--banner-image-height, clamp(320px, 38vw, 620px));
  color: #fff;
  text-decoration: none;
}

.home-main-slide img {
  width: 100%;
  height: var(--banner-image-height, clamp(320px, 38vw, 620px));
  min-height: var(--banner-image-height, clamp(320px, 38vw, 620px));
  max-height: var(--banner-image-height, clamp(320px, 38vw, 620px));
  object-fit: cover;
}

.home-main-slide__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: var(--banner-overlay-gradient, linear-gradient(90deg, rgba(7, 16, 31, 0.82) 0%, rgba(7, 16, 31, 0.52) 38%, rgba(7, 16, 31, 0.12) 74%, transparent 100%));
}

.home-main-slide__content {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  align-items: var(--banner-content-align, center);
  justify-content: var(--banner-content-justify, flex-start);
  width: min(100%, 1240px);
  margin: 0 auto;
  padding: 48px 56px;
  pointer-events: none;
  text-align: var(--banner-text-align, left);
}

.home-main-slide__text-box {
  display: flex;
  flex-direction: column;
  align-items: var(--banner-box-align, flex-start);
  gap: 14px;
  max-width: min(620px, 100%);
  padding: 30px 32px;
  border: 1px solid var(--banner-box-border-color, rgba(255, 255, 255, 0.22));
  border-radius: 28px;
  background: var(--banner-box-background, rgba(16, 27, 48, 0.24));
  backdrop-filter: blur(10px);
  box-shadow: 0 16px 40px rgba(8, 16, 31, 0.22);
  font-family: var(--banner-font-family, 'Noto Sans KR', 'Malgun Gothic', sans-serif);
}

.home-main-slide__subtitle {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  padding: 7px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.15);
  color: var(--banner-subtitle-color, #fff);
  font-size: var(--banner-subtitle-size, 18px);
  font-weight: 700;
  letter-spacing: 0.02em;
  line-height: 1.4;
  font-family: var(--banner-subtitle-font-family, var(--banner-font-family, 'Noto Sans KR', 'Malgun Gothic', sans-serif));
}

.home-main-slide__headline {
  display: block;
  font-size: var(--banner-headline-size, 48px);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.03em;
  word-break: keep-all;
  color: var(--banner-headline-color, #fff);
  font-family: var(--banner-headline-font-family, var(--banner-font-family, 'Noto Sans KR', 'Malgun Gothic', sans-serif));
  text-shadow: 0 6px 18px rgba(0, 0, 0, 0.24);
}

.home-main-slide__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  min-width: 140px;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 999px;
  border: 1px solid var(--banner-button-border-color, transparent);
  background: var(--banner-button-background, #fff);
  color: var(--banner-button-text-color, #111);
  font-size: var(--banner-button-size, 15px);
  font-weight: 700;
  line-height: 1;
  font-family: var(--banner-button-font-family, var(--banner-headline-font-family, var(--banner-font-family, 'Noto Sans KR', 'Malgun Gothic', sans-serif)));
}

.main > .home-main-banner + .web,
.main > .home-main-banner + .web + .mob.m_wrap,
.main > .home-gallery-section-v2 + .web.home-gallery-section,
.main > .home-gallery-section-v2 + .web.home-gallery-section + .mob.home-gallery-section--mobile {
  display: none !important;
}

.home-board-section,
.home-gallery-section {
  width: 100%;
  max-width: 1240px;
  margin: 30px auto 0;
  padding: 0 24px;
  text-align: center;
}

.home-gallery-section {
  margin-top: 50px;
}

.home-board-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 32px;
  align-items: stretch;
}

.home-board-card {
  flex: 1 1 0;
  min-width: 0;
  display: block;
  text-align: left;
}

.home-board-divider {
  width: 100%;
  margin: 20px 0 10px;
  border-bottom: 1px solid #666666;
}

.home-board-card td a,
.home-board-section td a {
  display: inline-block;
  max-width: 100%;
}

.home-board-card td,
.home-board-section td {
  word-break: keep-all;
}

.home-gallery-wrap {
  width: 100%;
  display: block;
}

.home-gallery-section-v2 {
  width: 100%;
  max-width: 1240px;
  margin: 50px auto 0;
  padding: 0 24px;
  text-align: center;
}

.home-gallery-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 32px;
  align-items: start;
}

.home-gallery-layout.has-side-banners {
  grid-template-columns: minmax(0, 1fr) 280px;
}

.home-gallery-main,
.home-gallery-side-banners {
  min-width: 0;
}

.home-gallery-grid {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin: 0 !important;
  padding: 0;
}

.home-gallery-grid::before,
.home-gallery-grid::after {
  display: none;
}

.home-gallery-item {
  margin-top: 20px;
  width: auto !important;
  float: none !important;
  padding: 0;
  list-style: none;
}

.home-gallery-thumb {
  display: block;
  width: 100%;
  height: auto !important;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: 14px;
}

.home-gallery-banner-title {
  margin-bottom: 18px;
  padding-bottom: 14px;
  border-bottom: 1px solid #a9a9a9;
  font-size: 24px;
  font-weight: 700;
  line-height: 1.2;
  color: #222;
  text-align: left;
}

.home-gallery-side-banners__list,
.home-gallery-bottom-banners__list {
  display: grid;
  gap: 16px;
}

.home-gallery-side-banners__list {
  grid-template-columns: 1fr;
}

.home-gallery-side-banners__list > *,
.home-gallery-bottom-banners__list > * {
  list-style: none;
}

.home-gallery-side-banner,
.home-gallery-bottom-banner {
  display: block;
  overflow: hidden;
  border: 1px solid #cfcfcf;
  background: #fff;
}

.home-gallery-side-banner img,
.home-gallery-bottom-banner img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
}

.home-gallery-side-banner img {
  aspect-ratio: 11 / 4;
}

.home-gallery-bottom-banners {
  margin-top: 48px;
}

.home-gallery-bottom-banners__list {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.home-gallery-bottom-banner img {
  aspect-ratio: 11 / 4;
}

.site-footer {
  margin-top: 80px !important;
}

.site-footer .container {
  width: calc(100% - 48px);
  max-width: 1240px;
}

.site-footer__brand {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.site-footer__brand-logo {
  width: auto;
  max-width: 120px;
  margin-right: 0 !important;
}

.site-footer__authority {
  float: none !important;
  display: flex !important;
  align-items: center;
  justify-content: flex-end;
  gap: 18px;
  flex-wrap: wrap;
}

.site-footer__authority--mobile {
  justify-content: center;
}

.site-footer__authority-logo {
  width: auto;
  max-width: 100%;
  max-height: 50px;
}

.site-footer__text {
  line-height: 1.9;
  word-break: keep-all;
}

.site-footer__text a {
  color: inherit;
}

#page {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
}

#page a {
  margin: 0;
  flex: 0 0 auto;
}

.board_search {
  width: 100% !important;
  max-width: 680px;
}

.board_search ul {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
}

.board_search ul li {
  width: auto !important;
  padding: 0 !important;
  flex: 0 0 auto;
}

.board_search ul li:nth-child(2) {
  width: auto !important;
  flex: 1 1 280px;
  min-width: 180px;
}

.board_search input,
.board_search select {
  width: 100%;
  min-width: 0;
  height: 40px;
}

@media (max-width: 1199px) {
  nav .container {
    gap: 18px;
  }

  nav .menu > li > a {
    padding-left: 8px !important;
    padding-right: 8px !important;
  }

  .home-board-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
  }
}

@media (max-width: 991px) {
  html,
  body {
    font-size: 14px;
  }

  .home-main-slide img {
    height: var(--banner-image-height, 520px);
    min-height: var(--banner-image-height, 520px);
    max-height: var(--banner-image-height, 520px);
  }

  .home-main-slide__content {
    padding: 28px 24px;
  }

  .home-main-slide__headline {
    font-size: clamp(28px, 5vw, 46px);
  }

  .home-main-slide__text-box {
    max-width: min(560px, 100%);
  }

  .wrap {
    padding-top: 60px;
  }

  .container {
    width: calc(100% - 32px);
  }

  #quickM {
    width: 92px;
    bottom: 14px;
  }

  #quickM ul li {
    font-size: 12px;
  }

  .home-board-section,
  .home-gallery-section {
    margin-top: 24px;
    padding: 0 18px;
  }

  .home-board-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .home-gallery-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .site-footer {
    margin-top: 56px !important;
  }

  .site-footer__brand {
    justify-content: center;
    text-align: center;
  }

  .site-footer__authority {
    justify-content: center;
    width: 100%;
  }
}

@media (max-width: 767px) {
  .container {
    width: calc(100% - 24px);
  }

  .home-main-slide img {
    height: var(--banner-image-height, 420px);
    min-height: var(--banner-image-height, 420px);
    max-height: var(--banner-image-height, 420px);
  }

  .home-main-slide__content {
    padding: 18px 16px 24px;
    align-items: flex-end !important;
    justify-content: flex-start !important;
    text-align: left !important;
  }

  .home-main-slide__text-box {
    gap: 10px;
    max-width: 100%;
    padding: 0;
  }

  .home-main-slide__subtitle {
    padding: 6px 12px;
    font-size: 12px;
  }

  .home-main-slide__headline {
    font-size: clamp(24px, 7.6vw, 34px);
  }

  .home-main-slide__button {
    min-width: 124px;
    min-height: 42px;
    padding: 0 18px;
    font-size: 13px;
  }

  .home-board-section,
  .home-gallery-section {
    padding: 0 12px;
  }

  .home-board-section td,
  .home-gallery-section td {
    font-size: 14px !important;
  }

  .home-gallery-grid {
    grid-template-columns: 1fr;
  }

  .board_search ul li,
  .board_search ul li:nth-child(2) {
    width: 100% !important;
    flex: 1 1 100%;
  }

  .board_search a,
  .board_search button,
  .board_search input,
  .board_search select {
    width: 100%;
  }

  #page a {
    width: 36px;
    height: 36px;
    line-height: 36px;
  }

  .location .menu > li {
    width: 100%;
    border-left: 0 !important;
    border-right: 0;
    border-bottom: 1px solid #ddd;
  }

  .location .menu > li:nth-child(1) {
    display: none;
  }

  .location .sub {
    top: 100%;
  }
}

@media (max-width: 1199px) {
  .home-gallery-layout.has-side-banners {
    grid-template-columns: minmax(0, 1fr) 240px;
  }

  .home-gallery-bottom-banners__list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 991px) {
  .home-gallery-section-v2 {
    margin-top: 24px;
    padding: 0 18px;
  }

  .home-gallery-layout.has-side-banners {
    grid-template-columns: 1fr;
  }

  .home-gallery-side-banners__list,
  .home-gallery-bottom-banners__list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 767px) {
  .home-gallery-section-v2 {
    padding: 0 12px;
  }

  .home-gallery-banner-title {
    font-size: 18px;
  }

  .home-gallery-side-banners__list,
  .home-gallery-bottom-banners__list {
    grid-template-columns: 1fr;
  }
}
