#contentsWrap {
  padding-top: 0;
}
@media (max-width: 1024px) {
  #contentsWrap {
    padding-top: 100px;
  }
}

header {
  width: 100%;
  position: fixed;
  left: 0;
  top: 0;
  box-sizing: border-box;
  border-bottom: 1px solid #ddd;
  z-index: 100;
  background: #fff;
}

.m-headWrap {
  display: none;
}

header .headWrap {
  height: 100px;
  display: flex;
  align-items: center;
  width: 95%;
  max-width: 1900px;
  margin: 0 auto;
  justify-content: space-between;
  position: relative;
  z-index: 1;
}
header .headWrap h1 a {
  height: 100px;
  display: flex;
  justify-content: center;
  align-items: center;
  width: auto;
}
header .headWrap h1 a img.transparent {
  display: none;
}
header .headWrap .gnb {
  display: flex;
  margin-left: auto;
  font-family: "Lato", sans-serif;
}
header .headWrap .gnb > li h2 a {
  display: flex;
  justify-content: center;
  align-items: center;
  width: auto;
  padding: 0 30px;
  height: 100px;
  position: relative;
  font-weight: bold;
  text-shadow: 1px 1px 5px rgba(0, 0, 0, 0.3);
}
header .headWrap .gnb > li h2 a:before {
  content: "";
  display: block;
  width: 0%;
  height: 4px;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: -1px;
  background: #013e75;
  transition: 0.2s;
}
header .headWrap .gnb > li h2 a:after {
  content: " ";
  display: block;
  position: absolute;
  left: 0;
  top: 0;
  inset: 0;
  background: #013e75;
  opacity: 0.05;
  z-index: -1;
  transition: transform 0.3s ease;
  transform-origin: bottom right;
  transform: scaleX(0);
}
header .headWrap .gnb > li h2 a:hover {
  color: #013e75;
}
header .headWrap .gnb > li h2 a:hover:before {
  width: 100%;
}
header .headWrap .gnb > li h2 a:hover:after {
  transform: scaleX(1);
  transform-origin: bottom left;
}
header .headWrap .gnb > li ul h3 > a:hover {
    font-weight: 600;
  color: #013e75;
  transform: scale(1.1);
  transition: all 0.2s ease-in-out;
}
header .headWrap .side {
  font-size: 0.75rem;
  display: flex;
}
header .headWrap .side li {
  margin-left: 10px;
}
header .headWrap .side li a:hover {
  color: #013e75;
}
header .headWrap .hamBtn {
  height: 100px;
  width: 50px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  display: flex;
  transition: 0.2s;
}
@media (max-width: 768px) {
  header .headWrap .hamBtn {
    height: 100px;
  }
}
header .headWrap .hamBtn span {
  display: block;
  width: 24px;
  height: 2px;
  background-color: #fff;
  margin: 2.5px 0;
  position: relative;
}
@media (max-width: 1024px) {
  header .headWrap .hamBtn span {
    background-color: #232323;
  }
}
header .headWrap .hamBtn span em {
  display: block;
  width: 100%;
  height: 100%;
  background-color: #fff;
}
@media (max-width: 1024px) {
  header .headWrap .hamBtn span em {
    background-color: #232323;
  }
}
header .headWrap .hamBtn.on {
  transform: rotate(45deg);
}
header .headWrap .hamBtn.on span em {
  transform: rotate(90deg);
}
header .headWrap .hamBtn.on span:first-of-type, header .headWrap .hamBtn.on span:last-of-type {
  transform: scaleX(0);
}

@media (min-width: 1024px) {
  header.drop {
    border: 0;
    overflow: hidden;
    border-bottom: 1px solid #ddd;
  }
  header.drop:before {
    content: "";
    display: block;
    width: 100%;
    height: 1px;
    background-color: #ddd;
    position: absolute;
    left: 0;
    top: 100px;
  }
  header.drop .headWrap {
    align-items: flex-start;
    transition: 0.3s;
    transition-timing-function: linear;
    overflow: hidden;
    height: auto;
    max-height: 100px;
  }
  header.drop .headWrap h1 {
    height: 100px;
    display: flex;
    justify-content: center;
    align-items: center;
  }
  header.drop .headWrap .gnb > li {
    position: relative;
  }
  header.drop .headWrap .gnb > li ul {
    display: block;
    width: 100%;
    text-align: center;
  }
  header.drop .headWrap .gnb > li ul li h3 > a {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 45px;
  }
  header.drop .headWrap .side {
    height: 100px;
    align-items: center;
  }
  header.drop .headWrap:hover {
    max-height: 600px;
  }
}

.transparent {
  background-color: transparent;
}
@media (min-width: 1024px) {
  .transparent {
    transition: 0.6s;
    background-color: transparent;
  }
  .transparent h2 > a {
    color: #fff;
  }
  .transparent .headWrap h1 a img {
    display: block;
  }
  .transparent .headWrap h1 a img.transparent {
    display: none;
  }
  .transparent .headWrap .side {
    font-size: 0.75rem;
    display: flex;
  }
  .transparent .headWrap .side li {
    margin-left: 10px;
  }
  .transparent .headWrap .side li a:hover {
    color: #013e75;
  }
  .transparent:hover, .transparent.wheel {
    background-color: rgba(255, 255, 255, 0.65);
    transition: all 0.2s ease-in-out;

    &:hover {
        background: white;
    }
  }
  .transparent:hover h2 > a, .transparent.wheel h2 > a {
    color: #232323;
  }
  .transparent:hover .hamBtn span, .transparent.wheel .hamBtn span {
    background-color: #232323;
  }
  .transparent:hover .hamBtn span em, .transparent.wheel .hamBtn span em {
    background-color: #232323;
  }
}

@media (max-width: 1024px) {
  .headWrap {
    height: 100px !important;
  }
  .headWrap h1 {
    height: 100%;
  }
  .headWrap h1 a {
    display: block;
    height: 100px !important;
  }
  .headWrap h1 img {
    display: none;
  }
  .headWrap h1 img.transparent {
    display: block !important;
    width: 160px;
  }
  .headWrap .gnb {
    display: none !important;
  }
  .headWrap .side {
    display: none !important;
  }
  .headWrap .hamBtn {
    display: flex !important;
  }
  .m-headWrap {
    position: fixed;
    display: block;
    right: -120%;
    transition: 0.5s;
    top: 0;
    padding-top: 100px;
    width: 100%;
    max-width: 500px;
    height: 100vh;
    box-sizing: border-box;
    background-color: #fff;
  }
  .m-headWrap.on {
    right: 0;
  }
  .m-headWrap .side {
    display: flex;
    font-size: 12px;
    justify-content: center;
    background-color: #232323;
  }
  .m-headWrap .side li {
    width: 25%;
  }
  .m-headWrap .side li a {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 40px;
    color: #fff;
  }
  .m-headWrap .gnb > li h2 > a {
    box-sizing: border-box;
    padding: 20px;
    display: flex;
    align-items: center;
    height: 55px;
    box-sizing: border-box;
    font-size: 16px;
    background: url("/img/ui/fold.png") no-repeat 95% 50%;
  }
  .m-headWrap .gnb > li h2 > a.on {
    background: url("/img/ui/foldup.png") no-repeat 95% 50%;
  }
  .m-headWrap .gnb > li ul {
    overflow: hidden;
    display: none;
  }
  .m-headWrap .gnb > li ul li h3 > a {
    display: flex;
    align-items: center;
    box-sizing: border-box;
    color: #444;
    background-color: #f2f4f8;
    padding: 12px 0;
    padding-left: 20px;
  }
}
@media (max-width: 1024px) {
  .blackbox {
    position: fixed;
    left: 0;
    top: 0;
    height: 100vh;
    width: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    z-index: 99;
    pointer-events: none;
    transition: 0.4s;
    opacity: 0;
  }
  .blackbox.on {
    opacity: 1;
  }
}
footer {
  background: url("/img/footer.png") no-repeat 50% 50%/cover;
  color: #fff;
  padding: 90px 0;
}
footer a {
  color: #fff;
}
footer .top {
  border-bottom: 1px solid rgba(255, 255, 255, 0.438);
}
footer .top .wrap {
  position: relative;
  display: flex;
  align-items: flex-start;
  width: 95%;
  max-width: 1550px;
  margin: 0 auto;
  justify-content: space-between;
  padding-bottom: 60px;
  flex-wrap: wrap;
}
footer .top .wrap ul.foor-gnb {
  display: flex;
  font-family: "Lato", sans-serif;
}
footer .top .wrap ul.foor-gnb > li {
  white-space: nowrap;
}
footer .top .wrap ul.foor-gnb > li:not(:last-child) {
  margin-right: 80px;
}
footer .top .wrap ul.foor-gnb > li > a {
  font-weight: bold;
}
footer .top .wrap ul.foor-gnb > li ul {
  padding-top: 20px;
}
footer .top .wrap ul.foor-gnb > li ul li {
  font-size: 0.875rem;
  margin-bottom: 10px;
}
footer .top .wrap ul.foor-gnb > li ul li a {
  color: rgba(255, 255, 255, 0.5);
}
footer .top .wrap ul.foor-gnb > li ul li:last-of-type {
  margin-bottom: 0;
}
footer .top .wrap .right {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px 24px;
  width: 100%;
  justify-content: flex-end;
  margin-top: 50px;
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
}
footer .top .wrap .right ul.sign {
  display: flex;
  margin-right: 0;
  font-size: 0.875rem;
}
footer .top .wrap .right ul.sign li:not(:last-child) {
  margin-right: 14px;
}
footer .top .wrap .right ul.snscons {
  display: flex;
  align-items: center;
}
footer .top .wrap .right ul.snscons li:not(:last-child) {
  margin-right: 14px;
}
/* 패밀리사이트 */
footer .familysite {
  position: relative;
  margin-right: 0;
}
footer .familysite button {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.35);
  color: #fff;
  font-size: 0.75rem;
  padding: 9px 14px;
  min-width: 150px;
  justify-content: space-between;
  cursor: pointer;
}
footer .familysite .arrow {
  transition: 0.2s;
}
footer .familysite ul {
  position: absolute;
  left: 0;
  bottom: 100%;
  width: 100%;
  box-sizing: border-box;
  background: #1b1b1b;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-bottom: 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition: 0.25s;
}
footer .familysite ul li a {
  display: block;
  padding: 10px 14px;
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.7);
}
footer .familysite ul li a:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
}
footer .familysite:hover ul {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
footer .familysite:hover .arrow {
  transform: rotate(180deg);
}
@media (max-width: 1280px) {
  footer .top .wrap {
    flex-direction: column;
    align-items: center;
  }
  footer .top .wrap ul.foor-gnb {
    display: flex;
    font-family: "Lato", sans-serif;
  }
  footer .top .wrap ul.foor-gnb > li {
    white-space: nowrap;
  }
  footer .top .wrap ul.foor-gnb > li:not(:last-child) {
    margin-right: 50px;
  }
  footer .top .wrap ul.foor-gnb > li > a {
    font-weight: bold;
  }
  footer .top .wrap ul.foor-gnb > li ul {
    padding-top: 20px;
  }
  footer .top .wrap ul.foor-gnb > li ul li {
    font-size: 0.875rem;
    margin-bottom: 10px;
  }
  footer .top .wrap ul.foor-gnb > li ul li a {
    color: rgba(255, 255, 255, 0.5);
  }
  footer .top .wrap ul.foor-gnb > li ul li:last-of-type {
    margin-bottom: 0;
  }
  footer .top .wrap .right {
    justify-content: center;
    margin-top: 40px;
    padding-top: 30px;
  }
  footer .top .wrap .right ul.sign {
    display: flex;
    margin-right: 0;
  }
  footer .top .wrap .right ul.sign li:not(:last-child) {
    margin-right: 14px;
  }
  footer .top .wrap .right ul.snscons {
    display: flex;
    align-items: center;
  }
  footer .top .wrap .right ul.snscons li:not(:last-child) {
    margin-right: 14px;
  }
  footer .familysite {
    margin-right: 0;
  }
}
@media (max-width: 768px) {
  footer .top .wrap ul.foor-gnb {
    width: 100%;
    flex-wrap: wrap;
  }
  footer .top .wrap ul.foor-gnb > li {
    white-space: nowrap;
    width: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 30px;
  }
  footer .top .wrap ul.foor-gnb > li:not(:last-child) {
    margin-right: 0;
  }
  footer .top .wrap .right {
    flex-direction: column;
    gap: 20px;
    margin-top: 10px;
  }
  footer .familysite {
    margin-right: 0;
  }
  footer .top .wrap .right ul.sign {
    margin-right: 0;
  }
}
footer .wrap2 {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding-top: 60px;
}
footer .wrap2 > a {
  display: block;
  margin-bottom: 40px;
}
footer .wrap2 ul {
  display: flex;
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.568);
  margin-bottom: 14px;
  padding: 0 10px;
  line-height: 1.3;
}
footer .wrap2 ul b {
  font-weight: 500;
}
footer .wrap2 ul li:not(:last-of-type) {
  margin-right: 20px;
  position: relative;
}
footer .wrap2 ul li:not(:last-of-type):after {
  content: "";
  display: block;
  width: 1px;
  height: 14px;
  background-color: rgba(255, 255, 255, 0.5);
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  right: -10px;
}

@media (max-width: 860px) {
  footer {
    padding-bottom: 40px;
  }
  footer a {
    color: #fff;
  }
  footer .wrap2 {
    padding-top: 40px;
  }
  footer .wrap2 > a {
    margin-bottom: 30px;
  }
  footer .wrap2 ul {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.568);
    margin-bottom: 14px;
  }
  footer .wrap2 ul b {
    font-weight: 500;
  }
  footer .wrap2 ul li {
    margin-bottom: 10px;
  }
  footer .wrap2 ul li:not(:last-of-type) {
    margin-right: 0;
    position: relative;
  }
  footer .wrap2 ul li:not(:last-of-type):after {
    content: "";
    display: none;
  }
}