@charset "utf-8";

/* skipnavi */
#skipnavi {
  position: absolute;
  top: -1px;
  left: 0;
  background-color: #333;
  z-index: 9999;
}

#skipnavi a {
  position: absolute;
  top: 0;
  left: 0;
  padding: 0.625rem 1.625rem;
  margin-top: -100px;
  text-align: center;
  line-height: 1;
  white-space: nowrap;
  background-color: #000;
}

#skipnavi a:link {
  color: #333;
}

#skipnavi a:focus {
  margin-top: 0;
  text-decoration: underline;
  color: #fff
}

.mo-bg {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(54, 60, 131, 0.95);
  z-index: 2;
  overscroll-behavior: contain;
}

.fixed {
  position: fixed;
  left: 0;
  top: 0;
  width: 100%;
}

/* globals */
.visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.header {
  margin-bottom: 40px;
  border-top: 6px solid #363c83;
  background-color: #fff;
}

.gnb-top .gnb-bar {
  display: -webkit-flex;
  display: -ms-flex;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  padding: 20px 0;
}
.gnb-top .gnb-bar .logo {

}
.gnb-top .gnb-bar .logo > a {
  display: inline-block;
  height: 100%;
  order: -1;
}
.gnb-top .gnb-bar .date {
  display: block;
  order: -1;
  text-transform: uppercase;
  font-family: 'S-CoreDream-6Bold';
  color: #363c83;
}
.gnb-top .gnb-bar .archive {
  order: 3;
  display: block;
  position: relative;
  font-family: 'S-CoreDream-6Bold';
}
.gnb-top .gnb-bar .archive:before {
  content: '\2756';
  display: inline-block;
  font-size: 24px;
  color: #363c83;
  transform: rotate(45deg);
  vertical-align: -2px;
}

.gnb-top .gnb-bar .menu-btn {
  display: block;
  position: absolute;
  right: 0;
  top: 35px;
  width: 45px;
  height: 45px;
  padding: 10px;
  cursor: pointer;
  z-index: 10;
  background-color: #363c83;
  border: 0;
  border-radius: 10px;
}

.gnb-top .gnb-bar .menu-btn:before {
  content: 'MENU';
  display: -webkit-flex;
  display: -ms-flex;
  display: flex;
  justify-content: center;
  align-items: center;
  position: absolute;
  left: -110%;
  top: 0;
  height: 100%;
  font-weight: bold;
  color: #363c83;
}

.menu-btn span {
  display: block;
  position: absolute;
  top: 50%;
  /* left: 50%; */
  right: 26%;
  width: 24px;
  width: 15px;
  height: 3px;
  background-color: #fff;
  color: transparent;
  transform: translate(-50%, -50%);
  transition: all 0.3s;
  text-indent: -9999px;
  text-align: right;
}

.menu-btn span:before,
.menu-btn span:after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 24px;
  height: 3px;
  background-color: #fff;
  transition: all 0.3s;
  z-index: 10;
}

.menu-btn span:before {
  top: -10px;
}

.menu-btn span:after {
  top: 10px;
}
.menu-btn.on span {
  background-color: rgba(222, 133, 133, 0);
}

.menu-btn.on span:before {
  top: 0;
  transform: rotate(45deg);
}

.menu-btn.on span:after {
  top: 0;
  transform: rotate(-45deg);
}



.gnb-btm {
  position: relative;
  background-color: #363c83;
}
.gnb-btm .gnb-nav .gnb-nav-list {
  display: -webkit-flex;
  display: -ms-flex;
  display: flex;
}
.gnb-btm .gnb-nav .gnb-nav-item {
  position: relative;
  width: 25%;
  text-align: center;
}
.gnb-btm .gnb-nav .gnb-nav-item > a {
  position: relative;
  display: block;
  width: 100%;
  padding: 20px 0;
  font-family: 'S-CoreDream-6Bold';
  font-size: 20px;
  color: #fff;
  transition: color 100ms ease-in;
}
.header .gnb-nav .gnb-nav-item > a:hover,
.header .gnb-nav .gnb-nav-item > a.active {
  color: #ffe35f;
}

.header .gnb-nav .gnb-nav-item:not(:last-child) > a:after {
  content: "";
  position: absolute;
  top: 50%;
  left: 100%;
  width: 1px;
  height: 40%;
  background-color: #202566;
  transform: translateY(-50%);
}
.header .gnb-nav .lnb-nav-list {
  display: -webkit-flex;
  display: -ms-flex;
  display: flex;
  position: absolute;
  left: 35%;
  top: 100%;
  width: 135%;
  z-index: 1;
  line-height: 40px;
  opacity:0;
  visibility: hidden;
}
.gnb-btm .gnb-nav .gnb-nav-item:nth-child(4) .lnb-nav-list,
.gnb-btm .gnb-nav .gnb-nav-item:nth-child(5) .lnb-nav-list {
  justify-content: center;
  left: 0;
  width: 100%;
}

.gnb-btm .gnb-nav .gnb-nav-item:nth-child(4) .lnb-nav-item a,
.gnb-btm .gnb-nav .gnb-nav-item:nth-child(5) .lnb-nav-item a {
  text-align: center;
}
.header .gnb-nav .gnb-nav-item:hover .lnb-nav-list {
  opacity:1;
  visibility: visible;
}
.subPage .gnb-btm:after {
  content: "";
  position: absolute;
  left: 0;
  top: 100%;
  width: 100%;
  height: 40px;
  background-color: rgba(255,255,255,0.6);
}
.header .gnb-nav .lnb-nav-item a {
  display: inline-block;
  margin-right: 15px;
  line-height: 100%;
  font-family: 'S-CoreDream-6Bold';
  color: #363c83;
  transition: color 100ms ease-in, padding-bottom 100ms ease-in;
}
.header .gnb-nav .lnb-nav-item:before {
  content: "";
  display: inline-block;
  width: 3px;
  height: 3px;
  margin-right: 4px;
  background-color: #363c83;
  vertical-align: 4px;
  border-radius: 50%;
}

.header .gnb-nav .lnb-nav-item:hover a {
  padding-bottom: 2px;
  border-bottom: 1px solid #7279c6;
  color: #7279c6;
}


.global-footer {
  padding: 30px 0;
  background-color: #3d3f4c;
}
.global-footer * {
  color: #fff;
}

.global-footer .global-footer-link {
  position: absolute;
  right: 5px;
  top: 0;
  padding: 8px 20px;
  background-color: #26262b;
  border-radius: 50px;
  line-height: 100%;
}
.global-footer .global-footer-title {
  margin-bottom: 10px;
  font-size: 20px;
  font-family: 'S-CoreDream-6Bold'
}
.global-footer .global-footer-address {
  margin-bottom: 15px;
  font-size: 14px;
}
.global-footer .global-footer-copyright {
  margin-bottom: 10px;
  font-size: 14px;
}

/* common */
.font-serif { font-family: 'Noto Serif KR', serif !important; }
.font-ch { font-family:'Noto Sans SC' !important; }
.fw-300 {font-family: 'S-CoreDream-3Light' !important; font-weight: 300 !important;}
.fw-400 {font-family: 'S-CoreDream-4Regular' !important; font-weight: 400 !important;}
.fw-600 {font-family: 'S-CoreDream-6Bold' !important; font-weight: 600 !important;}
.tal {text-align: left !important;}
.tac {text-align: center !important;}
.tar {text-align: right !important;}

/*  ------------------------------------------------------ */

@media screen and (min-width: 768px) {
  .sm-only {
    display: none !important;
  }
}

@media screen and (max-width: 767px) {
  .md-only {
    display: none !important;
  }
}

@media screen and (min-width: 1220px) {
  .md-only {
    display: none !important;
  }
}

@media screen and (max-width: 1219px) {
  .lg-only {
    display: none !important;
  }
}

@media screen and (max-width: 767px) {
  .sm-hidden {
    display: none !important;
  }
}

@media screen and (min-width: 768px) and (max-width: 1219px) {
  .md-hidden {
    display: none !important;
  }
}

@media screen and (min-width: 1221px) {
  .lg-hidden {
    display: none !important;
  }
}

/*  ------------------------------------------------------ */


/*  -----------------------  반응형   --------------------------------------  */
@media all and (max-width:1600px) {
  .header .gnb-nav .lnb-nav-list {
    width: 130%;
    left: -15%;
    justify-content: center;
  }

}

@media all and (max-width:1220px) {
  /* html, body {
    font-size: 12px;
  } */

  .header {
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 20;
    border-bottom: 1px solid #ddd;
  }

  .gnb-top .gnb-bar {
    justify-content: flex-start;
  }
  .gnb-top .gnb-bar .logo {
    margin-right: 10px;
  }
  .gnb-top .gnb-bar .date {
    order: 1;
  }

  .header {
    margin-bottom: 0;
  }

  .gnb-top .gnb-bar .archive {
    margin: auto;
    margin-right: 0;
  }

  .gnb-btm {
    display: none;
    visibility: hidden;
    opacity: 0;
  }

  .mobile .header {
    background-color: transparent;
  }

  .mobile .gnb-btm {
    visibility: visible;
    opacity: 1;
    top: 0;
    display: block;
    z-index: 10;
    background-color: transparent;
    border-top: 1px solid #fff;
  }
  .mobile .gnb-btm .gnb-nav .gnb-nav-list {display: block;}
  .mobile .header .gnb-nav .gnb-nav-item:not(:last-child) > a:after {
    display: none;
  }
  .mobile .gnb-btm .gnb-nav .gnb-nav-item > a {
    padding-bottom: 0;
    text-align: left;
  }
  .mobile .subPage .gnb-btm:after {
    display: none;
  }
  .mobile .gnb-btm .gnb-nav .gnb-nav-item {
    width: 100%;
  }
  .mobile .header .gnb-nav .lnb-nav-list {
    justify-content: flex-start !important;
    position: relative;
    top: 0;
    opacity: 1;
    visibility: visible;
  }
  /* .mobile .gnb-btm .gnb-nav .gnb-nav-item:nth-child(4) .lnb-nav-list,
  .mobile .gnb-btm .gnb-nav .gnb-nav-item:nth-child(5) .lnb-nav-list {
    justify-content: flex-start;
  } */

  .mobile .header .gnb-nav .lnb-nav-item a {
    padding-bottom: 0;
    color: #999fe0;
  }
  .mobile .header .gnb-nav .lnb-nav-list {
    width: 100%;
    left: auto;
  }
  .mobile .header .gnb-nav .lnb-nav-item:before {
    background-color: #999fe0;
  }
  .mobile .gnb-top .gnb-bar .menu-btn {
    background-color: #fff;
  }
  .mobile .menu-btn span,
  .mobile .menu-btn span:before, .mobile .menu-btn span:after {
    background-color: #363c83;
  }
  .menu-btn.on span {
    background-color: #fff;
  }

  .mobile .mo-archive {
    position: absolute;
    top: 45px;
    left: 15px;
    z-index: 100;
    color: #fff;
    font-family: 'S-CoreDream-6Bold';
    font-size: 20px;
  }

  .mobile .mo-archive:before {
    content: '\2756';
    display: inline-block;
    font-size: 24px;
    color: #fff;
    transform: rotate(45deg);
    vertical-align: -1px;
  }

  .main-content {
    padding-top: 140px;
  }
  .sub-content {
    padding-top: 120px;
  }

}

@media all and (max-width:1024px) {}

@media all and (max-width:960px) {}

@media all and (max-width:768px) {
  .main-content {
    padding-top: 100px;
  }
  .sub-content {
    padding-top: 78px;
  }
  .mobile .mo-archive {
    top: 25px;
  }
  .gnb-top .gnb-bar {
    padding: 10px 0;
  }

  .gnb-top .gnb-bar .logo img {
    width: 120px;
  }
  .gnb-top .gnb-bar .date {
    font-size: 14px;
  }

  .gnb-top .gnb-bar .menu-btn {
    top: 15px;
  }
  .global-footer {
    padding: 15px 0;
  }
  .global-footer .global-footer-link {
    display: inline-block;
    position: relative;
    right: auto;
    left: 50%;
    top: 0;
    padding: 8px 20px;
    margin-bottom: 10px;
    font-size: 14px;
    transform: translateX(-50%);
  }

  .global-footer .global-footer-title {
    font-size: 18px;
    text-align: center;

  }

  .global-footer .global-footer-address,
  .global-footer .global-footer-copyright {
    text-align: center;
    word-break: keep-all;
    font-size: 12px;
    line-height: 1.6;
  }
}

@media all and (max-width:460px) {
  .gnb-top .gnb-bar .date {
    display: none;
  }
}
