@charset "utf-8";

.page-sub {
  --sub-hero-height: 360px;
  --sub-content-max: 1440px;
  --sub-navy: #071a3e;
  --sub-navy-dark: #041225;
  --sub-navy-hover-bg: #fff4ef;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  border: 0;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}

@media (min-width: 1241px) {
  .page-sub .site-header { position: absolute; }
}

.sub-hero {
  position: relative;
  height: var(--sub-hero-height);
  overflow: hidden;
  color: #fff;
}

.sub-hero__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
}

.sub-hero__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: rgba(18, 19, 17, .48);
  pointer-events: none;
}

.sub-hero__content {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  height: 100%;
}

.sub-hero__inner {
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: min(var(--sub-content-max), calc(100% - 60px));
  height: 100%;
  margin: 0 auto;
  color: #fff;
}

.sub-hero__title {
  margin: 0 0 8px;
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: -.03em;
}

.sub-hero__desc {
  margin: 0;
  color: rgba(255, 255, 255, .9);
  font-size: clamp(15px, 1.4vw, 18px);
  font-weight: 400;
  letter-spacing: -.02em;
}

.sub-util-bar {
  position: relative;
  z-index: 3;
  width: 100%;
  padding: 0 30px;
  border-top: 1px solid rgba(0, 0, 0, .08);
  border-bottom: 1px solid rgba(0, 0, 0, .08);
  background: #fff;
}

.sub-util-bar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 56px;
  max-width: var(--sub-content-max);
  margin: 0 auto;
  border-right: 1px solid #e6e6e6;
}

.sub-util-bar__left {
  display: flex;
  flex: 1;
  align-items: stretch;
  min-width: 0;
  border-left: 1px solid #e6e6e6;
}

.sub-util-bar__home {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  border-right: 1px solid #e6e6e6;
  color: #333;
  font-size: 18px;
}

.sub-util-bar__home:hover { color: var(--orange); }

.sub-util-bar__dropdown {
  position: relative;
  flex: 1;
  min-width: 0;
  border-right: 1px solid #e6e6e6;
}

.sub-util-bar__trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  min-height: 56px;
  padding: 0 20px;
  gap: 12px;
  color: var(--sub-navy);
  font-size: 16px;
  font-weight: 500;
  transition: background-color .2s ease, color .2s ease;
}

.sub-util-bar__trigger:hover,
.sub-util-bar__dropdown.is-open .sub-util-bar__trigger {
  color: var(--sub-navy-dark);
  background: #f8f8f8;
}

.sub-util-bar__arrow {
  color: var(--sub-navy);
  font-size: 24px;
  opacity: .65;
  transition: transform .2s ease, opacity .2s ease;
}

.sub-util-bar__trigger:hover .sub-util-bar__arrow,
.sub-util-bar__dropdown.is-open .sub-util-bar__arrow { opacity: 1; }

.sub-util-bar__dropdown.is-open .sub-util-bar__arrow { transform: rotate(180deg); }

.sub-util-bar__menu {
  position: absolute;
  z-index: 20;
  top: calc(100% + 1px);
  right: 0;
  left: 0;
  display: none;
  margin: 5px 0 0;
  padding: 0;
  overflow: hidden;
  border: 1px solid var(--navy);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 10px 24px rgba(0, 0, 0, .08);
  list-style: none;
}

.sub-util-bar__dropdown.is-open .sub-util-bar__menu { display: block; }

.sub-util-bar__menu a {
  display: block;
  padding: 10px 20px;
  color: var(--sub-navy);
  font-size: 15px;
  transition: background-color .2s ease, color .2s ease;
}

.sub-util-bar__menu a:hover,
.sub-util-bar__menu a.is-active {
  color: var(--orange);
  background: var(--sub-navy-hover-bg);
}

.sub-util-bar__right {
  display: flex;
  align-items: center;
  padding: 0 10px;
  gap: 8px;
}

.sub-util-bar__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 8px;
  color: #555;
  font-size: 16px;
}

.sub-util-bar__btn:hover {
  color: var(--orange);
  background: #fff0ea;
}

.sub-main {
  padding: 48px 0 96px;
  background: #fff;
}

.sub-main__inner {
  box-sizing: border-box;
  display: flex;
  align-items: flex-start;
  width: 100%;
  max-width: var(--sub-content-max);
  margin: 0 auto;
  gap: 48px;
}

.sub-content {
  flex: 1;
  width: 100%;
  min-width: 0;
}

.lnb {
  flex: 0 0 260px;
  width: 260px;
}

.lnb__head {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 104px;
  padding: 20px 16px;
  background: var(--navy);
  text-align: center;
}

.lnb__head-text {
  margin: 0;
  color: #fff;
  font-size: 28px;
  font-weight: 800;
  letter-spacing: -.02em;
  line-height: 1.4;
}

.lnb__list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.lnb__item { border-bottom: 1px solid #e6e6e6; }
.lnb__item:last-child { border-bottom: 0; }

.lnb__link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 52px;
  padding: 12px 18px;
  gap: 12px;
  color: #333;
  font-size: 16px;
  font-weight: 500;
}

.lnb__item.is-active .lnb__link {
  color: #fff;
  background: var(--orange);
  font-weight: 700;
}

.lnb__item:not(.is-active) .lnb__link:hover {
  color: var(--orange);
  background: #fff6f2;
}

.sub-page-title {
  margin: 0 0 32px;
  padding-bottom: 20px;
  border-bottom: 1px solid #e6e6e6;
  color: #111;
  font-size: clamp(28px, 3vw, 40px);
  font-weight: 800;
  letter-spacing: -.03em;
  line-height: 1.3;
}

.sub-tabs-dropdown__trigger { display: none; }

.sub-section + .sub-section { margin-top: 48px; }

.sub-section__title {
  position: relative;
  margin: 0 0 20px;
  padding-bottom: 14px;
  color: #111;
  font-size: 24px;
  font-weight: 600;
  letter-spacing: -.02em;
}

.sub-section__title::after {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 42px;
  height: 3px;
  background: var(--orange);
  content: "";
}

.sub-text {
  margin: 0 0 16px;
  color: #444;
  font-size: 16px;
  line-height: 1.75;
  word-break: keep-all;
}

.sub-list {
  margin: 0 0 24px;
  padding-left: 1.1em;
  color: #444;
  line-height: 1.75;
}

.sub-table-wrap { overflow-x: auto; }

.sub-table {
  width: 100%;
  border-collapse: collapse;
  border-top: 2px solid #333;
}

.sub-table th,
.sub-table td {
  padding: 14px 16px;
  border: 1px solid #e0e0e0;
  font-size: 15px;
  text-align: center;
  vertical-align: middle;
  word-break: keep-all;
}

.sub-table thead th {
  background: #f3f5f8;
  font-weight: 600;
}

.sub-table tbody th {
  background: #f8f8f8;
  font-weight: 500;
}

.greeting__lead {
  margin-bottom: 34px !important;
  padding-left: 16px;
  border-left: 4px solid var(--orange);
  color: var(--navy) !important;
  font-size: 24px !important;
  font-weight: 700;
  letter-spacing: -.03em;
  line-height: 1.5 !important;
}

.greeting__emphasis {
  margin-top: 34px !important;
  color: var(--navy) !important;
}

@media (max-width: 1440px) {
  .sub-main__inner {
    padding-right: 30px;
    padding-left: 30px;
  }
}

@media (max-width: 1240px) {
  .page-sub .sub-hero { padding-top: 68px; }

  .sub-util-bar { padding: 0; }

  .sub-util-bar__inner { border-right: 0; }

  .sub-util-bar__right { display: none; }
}

@media (max-width: 1024px) {
  .sub-main__inner {
    flex-direction: column;
    gap: 32px;
  }

  .lnb { display: none; }
}

@media (max-width: 768px) {
  .page-sub { --sub-hero-height: 300px; }

  .sub-hero__inner { width: calc(100% - 48px); }

  .sub-util-bar__inner { min-height: 48px; }

  .sub-util-bar__home { width: 48px; }

  .sub-util-bar__trigger {
    min-height: 48px;
    padding: 0 14px;
    font-size: 14px;
  }

  .sub-main { padding: 32px 0 72px; }

  .sub-page-title {
    margin-bottom: 24px;
    font-size: 28px;
  }

  .greeting__lead { font-size: 21px !important; }
}

@media (max-width: 600px) {
  .sub-tabs-dropdown {
    position: relative;
    margin: 0 0 24px;
  }

  .sub-tabs-dropdown__trigger {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    width: 100%;
    min-height: 48px;
    padding: 0 16px;
    border: 0;
    border-radius: 8px;
    color: #fff;
    background: var(--orange);
    font-size: 15px;
    font-weight: 500;
    transition: color .2s ease, background-color .2s ease;
  }

  .sub-tabs-dropdown__trigger:hover,
  .sub-tabs-dropdown__trigger:active,
  .sub-tabs-dropdown.is-open .sub-tabs-dropdown__trigger {
    color: #fff;
    background: var(--orange);
  }

  .sub-tabs-dropdown__arrow {
    color: #fff;
    font-size: 22px;
    opacity: .85;
    transition: transform .2s ease, opacity .2s ease;
  }

  .sub-tabs-dropdown.is-open .sub-tabs-dropdown__arrow {
    opacity: 1;
    transform: rotate(180deg);
  }

  .sub-tabs-dropdown .sub_tabs,
  .sub-tabs-dropdown.is-open .sub_tabs {
    position: absolute;
    z-index: 20;
    top: calc(100% + 4px);
    right: 0;
    left: 0;
    flex-direction: column;
    margin: 0;
    padding: 0;
    overflow: hidden;
    border: 1px solid var(--navy);
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 10px 24px rgba(0, 0, 0, .08);
    list-style: none;
  }

  .sub-tabs-dropdown .sub_tabs { display: none; }

  .sub-tabs-dropdown.is-open .sub_tabs { display: flex; }

  .sub-tabs-dropdown .sub_tabs li {
    flex: none;
    border: 0;
    border-bottom: 1px solid #e6e6e6;
    background: #fff;
  }

  .sub-tabs-dropdown .sub_tabs li + li { margin-left: 0; }

  .sub-tabs-dropdown .sub_tabs li:last-child { border-bottom: 0; }

  .sub-tabs-dropdown .sub_tabs li a {
    display: block;
    justify-content: flex-start;
    height: auto;
    padding: 12px 16px;
    color: var(--sub-navy);
    background: #fff;
    font-size: 15px;
    line-height: 1.4;
    text-align: left;
  }

  .sub-tabs-dropdown .sub_tabs li a:hover { background: #fff; }

  .sub-tabs-dropdown .sub_tabs li.on,
  .sub-tabs-dropdown .sub_tabs li.subTab_sub_on,
  .sub-tabs-dropdown .sub_tabs li.active {
    z-index: auto;
    border-color: #e6e6e6;
    background: #fff;
  }

  .sub-tabs-dropdown .sub_tabs li.on a,
  .sub-tabs-dropdown .sub_tabs li.subTab_sub_on a,
  .sub-tabs-dropdown .sub_tabs li.active a {
    color: var(--orange) !important;
    background: #fff !important;
    font-weight: 600;
  }
}

@media print {
  .site-header,
  .site-footer,
  .sub-hero,
  .sub-util,
  .sub-util-bar,
  .lnb,
  #google_translate_element,
  .skiptranslate {
    display: none !important;
  }

  .sub-page,
  .sub-layout,
  .sub-content {
    display: block !important;
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  /* 스크롤 애니메이션으로 내용이 숨겨지는 현상 방지 */
  [data-aos] {
    opacity: 1 !important;
    transform: none !important;
  }
}



/* 게시판 게시글 이미지 반응형 */
@media (max-width: 1240px) {
  .view_content img { width: 100% !important; height: auto !important; }
}

.board_write .right_area:has(.btn_task) {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 6px;
}

.board_write .btn_task {
  display: inline-block;
  box-sizing: border-box;
  min-width: 132px;
  height: 44px;
  margin: 0;
  padding: 0 20px;
  border: 1px solid var(--orange);
  border-radius: 0;
  color: #fff;
  background: var(--orange);
  font-size: 15px;
  font-weight: 400;
  line-height: 42px;
  text-align: center;
  vertical-align: top;
  cursor: pointer;
}

.board_write .btn_task:hover {
  filter: brightness(1.06);
}

@media (max-width: 768px) {
  .board_write:has(.btn_task) { min-height: 0; }

  .board_write .right_area:has(.btn_task) {
    width: 100%;
    justify-content: flex-end;
  }

  .board_write .btn_task,
  .board_write .right_area:has(.btn_task) .btn_write {
    min-width: 108px;
    height: 40px;
    padding: 0 14px;
    font-size: 14px;
    line-height: 38px;
  }

  .board_write:has(.btn_task) + .paginate {
    height: auto;
    margin: 16px 0 35px;
    padding: 0;
  }

  .board_write:has(.btn_task) + .paginate #mobile_paging {
    position: static;
    top: auto;
    left: auto;
    display: flex;
    width: 100%;
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .board_write .btn_task,
  .board_write .right_area:has(.btn_task) .btn_write {
    flex: 1 1 calc(50% - 3px);
    min-width: 0;
  }
}