@charset "utf-8";
/* 웹폰트 — include/html/sri_fonts_front.php 에서 SRI link로 로드 (CSS @import는 integrity 불가) */

/*Common*/
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html,
body {
  width: 100%;
  height: 100%;
}
html {
  overflow-y: scroll;
}
body {
  background-color: #fff;
  word-break: keep-all;
  -webkit-text-size-adjust: 100% !important;
  -moz-text-size-adjust: 100% !important;
  -ms-text-size-adjust: 100% !important;
}
body,
h1,
h2,
h3,
h4,
h5,
h6,
th,
td,
li,
dt,
dd,
a,
p,
input,
textarea,
select,
option,
button {
  color: #555;
  font-family: "pretendard", "돋움", dotum, sans-serif;
  font-size: 14px;
  font-weight: normal;
}
img,
fieldset,
iframe {
  border: 0 none;
}
ul,
ol,
li {
  list-style: none;
}
em,
address {
  font-style: normal;
}
img,
input,
select,
textarea {
  vertical-align: middle;
}
a {
  color: #7d7d7d;
  text-decoration: none;
  cursor: pointer;
}
a:hover {
  color: #333;
  text-decoration: none;
}
button,
label {
  cursor: pointer;
  _cursor/**/: hand;
}
button * {
  position: relative;
}
textarea {
  overflow: auto;
}
option {
  padding-right: 6px;
}
.input-text,
textarea {
  margin: -1px 0;
  padding-right: 1px;
}
.input_check,
.input_radio {
  width: 13px;
  height: 13px;
}
.blind,
legend,
caption {
  text-indent: -9999px;
  font-size: 0;
  line-height: 0;
  overflow: hidden;
}
/* 스킵 내비게이션 — 키보드 포커스 시에만 노출 */
#skip-nav {
  position: absolute;
  top: -40px;
  left: 0;
  z-index: 100000;
  width: 100%;
  height: 40px;
  font-size: 16px;
  line-height: 40px;
  text-align: center;
  color: #fff;
  background: rgba(0, 0, 0, 0.6);
  transition: top 0.4s;
}
#skip-nav:focus {
  top: 0;
}
hr {
  display: none;
}
legend {
  width: 0;
}
:root legend {
  margin-top: -1px;
  font-size: 0;
  line-height: 0;
}
caption {
  line-height: 0;
}
img {
  max-width: 100%;
}
.viewCon a {
  font-family: inherit;
  color: inherit;
  font-size: inherit;
}

/*test*/
.test1 {
  border: 1px solid red;
}
.test2 {
  background: #4f7beb;
}

.font1 {
  font-family: "Noto Sans KR";
}
.font2 {
  font-family: "Montserrat";
}

/* popup */
.pop_today_close {
  padding: 1px 7px 3px 7px;
  color: #ffffff;
  background: #303030;
  vertical-align: middle;
  border: 0px;
}
.pop_close {
  padding: 1px 7px 3px 7px;
  color: #ffffff;
  background: #303030;
  vertical-align: middle;
  border: 0px;
}

@media (max-width: 767px) {
  /* 메인 레이어 팝업 */
  .main_layer_popup {
    width: 96% !important;
    left: 50% !important;
    top: 50px !important;
    transform: translateX(-50%);
  }
  .main_layer_popup .popupContent {
    height: 100% !important;
  }
  .main_layer_popup img {
    width: 100%;
  }
}

/*=============== 로딩스피너 =================*/
#loadingIndicator {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  padding: 20px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  display: none;
}

.spinner {
  width: 40px;
  height: 40px;
  border: 4px solid rgba(0, 0, 0, 0.2);
  border-top: 4px solid #333;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

@keyframes rotateBg {
  0% {
    transform: translate(-50%, -50%) scale(4) rotate(0);
  }
  100% {
    transform: translate(-50%, -50%) scale(4) rotate(360deg);
  }
}

/* Shared header / footer */
#wrap { min-height: 100%; }
#header {
  position: sticky;
  z-index: 30;
  top: 0;
  height: 100px;
  border-bottom: 1px solid #ebebeb;
  background: #fff;
  transform: translateY(0);
  transition: transform 0.35s ease;
}
#header.is-hidden {
  transform: translateY(-100%);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; width: calc(100% - 240px); height: 100%; margin: 0 auto; }
.mobile-menu-button,
.mobile-header-title,
.mobile-all-menu {
  display: none;
}
.site-logo { display: inline-flex; align-items: flex-end; gap: 12px; color: #02388b; }
.site-logo img { display: block; width: 96px; height: 48px; }
.site-logo-text { width: 89px; padding-bottom: 6px; color: #02388b; font-size: 20px; font-weight: 700; line-height: 1; text-align: center; }
.global-nav ul { display: flex; align-items: center; gap: clamp(26px, 4vw, 72px); }
.global-nav a { position: relative; padding: 34px 0; color: #e0e0e0; font-size: 20px; font-weight: 600; }
.global-nav a.is-current { color: #111; }
.global-nav a.is-current::after { display: none; }
.header-tools { display: flex; gap: 10px; }
.header-tools a { display: grid; width: 22px; height: 22px; place-items: center; border: 1px solid #d7d7d7; border-radius: 50%; color: #111; font-size: 7px; }
#footer { margin-top: 160px; color: #fff; background: #012253; }
.footer-inner { display: flex; flex-direction: column; align-items: stretch; justify-content: space-between; min-height: 420px; padding: 60px 120px; }
.footer-information strong, .footer-information dt, .footer-information dd, .footer-logo { color: #fff; }
.footer-information strong { display: block; margin-bottom: 72px; color: #fcfdfe; font-size: 20px; font-weight: 700; line-height: 32px; }
.footer-information strong span { display: block; color: #677a98; font-size: 18px; font-weight: 400; line-height: 28px; }
.footer-information dl { display: flex; flex-direction: column; gap: 4px; }
.footer-information dl div { display: flex; gap: 10px; }
.footer-information dt { width: 103px; }
.footer-information dt, .footer-information dd { font-size: 18px; line-height: 28px; }
.footer-information dd { color: #677a98; }
.footer-logo { align-self: flex-end; }
.footer-logo img { display: block; width: 96px; height: 48px; }
@media (max-width: 812px) {
  #header { height: 60px; }
  .header-inner {
    position: relative;
    width: 100%;
    padding: 0 16px;
  }
  .site-logo,
  .global-nav {
    display: none;
  }
  .mobile-menu-button {
    display: grid;
    position: relative;
    width: 24px;
    height: 24px;
    padding: 0;
    place-items: center;
    border: 0;
    background: transparent;
  }
  .mobile-menu-button img {
    display: block;
    width: 24px;
    height: 24px;
    transition: opacity 0.25s ease;
  }
  .mobile-header-title {
    display: block;
    position: absolute;
    top: 50%;
    left: 50%;
    color: #121212;
    font-size: 16px;
    font-weight: 600;
    line-height: 24px;
    letter-spacing: -0.1px;
    transform: translate(-50%, -50%);
    transition: opacity 0.25s ease, transform 0.25s ease;
  }
  .mobile-menu-button::before,
  .mobile-menu-button::after {
    position: absolute;
    width: 16px;
    height: 1.5px;
    border-radius: 2px;
    background: #121212;
    content: "";
    opacity: 0;
    transition: opacity 0.25s ease, transform 0.35s ease;
  }
  .mobile-menu-button::before { transform: rotate(0); }
  .mobile-menu-button::after { transform: rotate(0); }
  body.menu-open .mobile-menu-button img { opacity: 0; }
  body.menu-open .mobile-menu-button::before { opacity: 1; transform: rotate(45deg); }
  body.menu-open .mobile-menu-button::after { opacity: 1; transform: rotate(-45deg); }
  body.menu-open .mobile-header-title { opacity: 0; transform: translate(-50%, -40%); }
  .mobile-all-menu {
    display: flex;
    visibility: hidden;
    position: absolute;
    z-index: 29;
    top: 60px;
    right: 0;
    left: 0;
    width: 100%;
    height: calc(100vh - 60px);
    height: calc(100dvh - 60px);
    overflow-y: auto;
    flex-direction: column;
    justify-content: space-between;
    padding: 56px 24px 32px;
    background: #fcfdfe;
    clip-path: inset(0 0 100% 0);
    pointer-events: none;
    transition: visibility 0s linear 0.55s, clip-path 0.55s cubic-bezier(0.76, 0, 0.24, 1);
  }
  body.menu-open {
    overflow: hidden;
  }
  body.menu-open .mobile-all-menu {
    visibility: visible;
    clip-path: inset(0 0 0 0);
    pointer-events: auto;
    transition-delay: 0s;
  }
  body.menu-open .year-navigation { visibility: hidden; }
  .mobile-all-menu li {
    overflow: hidden;
    border-bottom: 1px solid #ebebeb;
  }
  .mobile-all-menu li a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 0;
    color: #bfbfbf;
    font-size: clamp(28px, 9vw, 42px);
    font-weight: 600;
    line-height: 1.15;
    letter-spacing: -0.04em;
    transform: translateY(110%);
    transition: color 0.25s ease, transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
  }
  .mobile-all-menu li a::after {
    font-size: 16px;
    content: "↗";
  }
  .mobile-all-menu li a.is-current { color: #121212; }
  body.menu-open .mobile-all-menu li a { transform: translateY(0); }
  body.menu-open .mobile-all-menu li:nth-child(1) a { transition-delay: 0.12s; }
  body.menu-open .mobile-all-menu li:nth-child(2) a { transition-delay: 0.19s; }
  body.menu-open .mobile-all-menu li:nth-child(3) a { transition-delay: 0.26s; }
  .mobile-all-menu-footer {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    color: #677a98;
    opacity: 0;
    transform: translateY(12px);
    transition: opacity 0.4s ease, transform 0.4s ease;
  }
  .mobile-all-menu-footer p,
  .mobile-all-menu-footer span {
    color: inherit;
    font-size: 10px;
    line-height: 16px;
  }
  body.menu-open .mobile-all-menu-footer {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.34s;
  }
  .header-tools a { width: 20px; height: 20px; }
  #footer { margin-top: 72px; }
  .footer-inner { min-height: 300px; padding: 38px 20px 28px; }
  .footer-information strong { margin-bottom: 24px; }
  .footer-information strong span { font-size: 12px; line-height: 20px; }
  .footer-information dl { display: block; }
  .footer-information dl div + div { margin-top: 8px; }
  .footer-information dd { max-width: 220px; }
  .footer-logo img { width: 72px; height: 36px; }
}
@media (min-width: 813px) and (max-width: 1399px) {
  #header { height: 84px; }
  .header-inner { width: calc(100% - 96px); }
  .site-logo img { width: 80px; height: 40px; }
  .site-logo-text { font-size: 9px; }
  .global-nav a { padding: 28px 0; font-size: 15px; }
  .header-tools a { width: 20px; height: 20px; }
  #footer { margin-top: 112px; }
  .footer-inner { min-height: 340px; padding: 48px; }
  .footer-information strong { margin-bottom: 48px; font-size: 16px; }
  .footer-information dt, .footer-information dd { font-size: 14px; line-height: 22px; }
}

/* Page entrance motion */
.motion-ready .archive-heading,
.motion-ready .genius-heading,
.motion-ready .official-heading {
  opacity: 0;
  transform: translateY(24px);
}
.motion-ready .archive-list,
.motion-ready .genius-list,
.motion-ready .official-content {
  opacity: 0;
  transform: translateY(36px);
}
.motion-ready #footer {
  opacity: 0;
  transform: translateY(28px);
}
.motion-ready.page-entered .archive-heading,
.motion-ready.page-entered .genius-heading,
.motion-ready.page-entered .official-heading,
.motion-ready.page-entered .archive-list,
.motion-ready.page-entered .genius-list,
.motion-ready.page-entered .official-content,
.motion-ready.page-entered #footer {
  opacity: 1;
  transform: translateY(0);
}
.motion-ready.page-entered .archive-heading,
.motion-ready.page-entered .genius-heading,
.motion-ready.page-entered .official-heading {
  transition: opacity 0.7s ease, transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}
.motion-ready.page-entered .archive-list,
.motion-ready.page-entered .genius-list,
.motion-ready.page-entered .official-content {
  transition: opacity 0.8s ease 0.12s, transform 0.9s cubic-bezier(0.22, 1, 0.36, 1) 0.12s;
}
.motion-ready.page-entered #footer {
  transition: opacity 0.7s ease 0.2s, transform 0.8s cubic-bezier(0.22, 1, 0.36, 1) 0.2s;
}

@media (prefers-reduced-motion: reduce) {
  #header,
  .mobile-menu-button img,
  .mobile-menu-button::before,
  .mobile-menu-button::after,
  .mobile-header-title,
  .mobile-all-menu,
  .mobile-all-menu li a,
  .mobile-all-menu-footer,
  .motion-ready .archive-heading,
  .motion-ready .genius-heading,
  .motion-ready .official-heading,
  .motion-ready .archive-list,
  .motion-ready .genius-list,
  .motion-ready .official-content,
  .motion-ready #footer {
    transition: none !important;
  }
}
/*=============== 로딩스피너 끝 ================*/

/*=============================== 사이트 CSS 시작 ===============================*/

/* 제목 옆 화살표 — 배경은 래퍼, 흰색 필터는 아이콘만 (filter가 배경까지 덮지 않게) */
.archive-title-link {
  display: inline-flex;
  align-items: center;
  gap: inherit;
  max-width: 100%;
  color: inherit;
  font: inherit;
  letter-spacing: inherit;
}
.archive-copy h2 .title-arrow,
.official-copy h2 .title-arrow {
  display: inline-grid;
  flex: none;
  place-items: center;
  padding: 5px;
  border-radius: 50%;
  transition: background-color 0.25s ease;
}
.archive-copy h2 .title-arrow img,
.official-copy h2 .title-arrow img {
  transition: filter 0.25s ease;
}
.archive-title-link:hover .title-arrow,
.archive-title-link:focus-visible .title-arrow,
.official-link:hover .title-arrow {
  background: #012253;
}
.archive-title-link:hover .title-arrow img,
.archive-title-link:focus-visible .title-arrow img,
.official-link:hover .title-arrow img {
  filter: brightness(0) invert(1);
}
