:root {
  --c-point: #ea0029;
}

#prev_footer {
  display: none;
}

.container {
  /* overflow: hidden; */
}
/*header*/
.header {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 9999;
  width: 100%;
  transition: 0.3s;

  transition: all 0.3s;
}
.header:after {
  content: "";
  display: block;
  position: absolute;
  width: 100%;
  height: 0px;
  background: #fff;
  top: 0px;
  left: 0;
  z-index: -1;
  transition: all 0.3s;
}
.header .header-in {
  display: flex;
  justify-content: space-between;
  align-items: center;padding: 0 5%;
}
.header.on:after {
  /* height: 250px; */
}
.header .logo {
  width: 101px;
  height: 32px;
  background: url(/img/logo.png);
  background-size: 100% 100%;
  transition: all 0.3s;
  position: relative;
}
.header .logo a {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}
.header .gnb-area {
}
.header .gnb-area .list-gnb {
  text-align: center;
  display: flex;
}
.header .gnb-area .gnb-item {
  padding: 22px 25px;
  font-size: 20px;
  transition: 0.3s;
}

.header .gnb-area .list-gnb > li:last-child {
  padding-right: 0;
}
.header .gnb-area .gnb-item a {
  color: #fff;
  font-weight: 700;
  font-size: 17px;
  transition: all 0.3s;
  position: relative;
}
.header .gnb-area .gnb-item > a::after {
  content: "";
  display: block;
  position: absolute;
  width: 0%;
  opacity: 0;
  height: 2px;
  background-color: #000;
  bottom: -21px;
  left: 50%;
  transform: translateX(-50%);
  transition: all 0.4s;
}
.header .gnb-area .gnb-item.on > a::after {
  width: 100%;
  opacity: 1;
}

.header.active,
.header.on {
  background-color: #fff;
}
.header.active .logo {
  width: 81px;
  height: 26px;
  background: url(/img/logo_fixed.png) no-repeat center/cover;
}
.header.on .logo {
  background: url(/img/logo_fixed.png) no-repeat center/cover;
}
.header.active .gnb-area .cate-wrap {
  top: 52px;
}
.header.active .gnb-area .gnb-item {
  padding: 16px 25px;
}
.header.active .gnb-area .gnb-item a {
  font-weight: 600;
  font-size: 15px;
  line-height: 18px;
  color: #000;
}
.header.active .gnb-area .gnb-item > a::after {
  bottom: -15.5px;
}

.header.on .gnb-area .gnb-item a {
  color: #000;
}

.header .gnb-area .cate-wrap {
  position: absolute;
  width: 100%;
  z-index: 10;
  top: 64px;
  /* padding-top: 50px; */
  left: 50%;
  transform: translateX(-50%);
  height: 0;
  overflow: hidden;
  transition: all 0.5s;
  background: #fff;
  box-sizing: border-box;
  box-shadow: 0 4px 6px -4px rgb(0 0 0 / 10%);
}
.header .gnb-area .cate-wrap .cate-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  border-top: 1px solid #eaeaea;
}
.header .gnb-area .cate-wrap .cate-box {
  padding: 40px;
  text-align: left;
}
.header .gnb-area .cate-wrap .cate-box .cate-big {
  padding-top: 24px;
}
.header .gnb-area .cate-wrap .cate-tit,
.header .gnb-area .cate-wrap .cate-tit > a {
  font-size: 15px;
  line-height: 18px;
  font-weight: 600;
  display: block;
  color: #000;
}
.header .gnb-area .cate-big li.cate-item {
  padding-bottom: 12px;
}
.header .gnb-area .cate-big li:last-child {
  padding-bottom: 0;
}
.header .gnb-area .cate-big li.cate-item > a {
  font-weight: 400;
  font-size: 15px;
  line-height: 18px;
  color: #666666;
}
/* 영문 */
.lang li{display:inline-block; margin-right:5px;}
.header .gnb-item.lang li a{color: #999999; font-size:12px!important; font-weight:500!important; }
.header .gnb-item.lang li.active a{color:#ffffff; border-bottom:1px solid #ffffff;}
.header.active .gnb-item.lang li a{color: #999999; }
.header.active .gnb-item.lang li.active a, .header.on .gnb-item.lang li.active a{color:#000000; border-bottom:1px solid #000000;}
.side-lang{padding-top: 40px;}
.side-lang li a{color:#999999; font-size:15px; margin-right:6px;}
.side-lang li.active a{color:#000000; border-bottom:1px solid #000000;}


/* 모바일 메뉴 */
.btn-menu {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 20px;
  height: 16px;
  right: 20px;
  display: none;
}
.btn-menu.on i:first-child {
  transform: rotate(45deg) translate(6px, 5px);
}
.btn-menu.on i:nth-child(2) {
  opacity: 0;
  transform: translateX(20px);
}
.btn-menu.on i:last-child {
  transform: rotate(-45deg) translate(5px, -4px);
}
.btn-menu i.bar {
  display: block;
  height: 1px;
  background-color: #fff;
  transition: all 0.3s;
}
.btn-menu i.bar:nth-child(2n) {
  margin: 6px 0;
}
.header.active .btn-menu i.bar {
  background-color: #000;
}

.side-area {
  position: absolute;
  background: #fff;
  top: 54px;
  right: -100%;
  width: 100%;
  height: 100vh;
  transition: 0.6s;
  padding: 0 20px 75px;
  overflow-y: scroll;
  display: flex;
      flex-wrap: wrap;
      flex-direction: column;
      justify-content: space-between;
}
.menu-open .side-area {
  right: 0;
}
.side-area .side-list li.m-list-item {
  padding-top: 40px;
}
.side-area .side-list li.m-list-item > a,
.side-area .side-list li.m-list-item > b {
  font-weight: 600;
  font-size: 22px;
  line-height: 26px;
  color: #000;
  position: relative;
}
.side-area .side-list li.m-list-item > b:after {
  content: "";
  display: block;
  width: 10px;
  height: 5px;
  background: url(/img/menu-arrow.png) no-repeat center/cover;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  right: -24px;
  transition: transform 0.2s;
}

.side-area .side-list li.m-list-item.on > b:after {
  transform: translateY(-50%) rotate(180deg);
}
.side-area .side-list .m-cate_wrap {
  height: 0;
  overflow: hidden;
  transition: all 0.6s;
}
.side-area .side-list .m-cate_wrap .m-cate_box {
  display: flex;
  flex-wrap: wrap;
  padding: 20px 0 0 10px;
}
.side-area .side-list .m-cate_box .cate-title {
  font-weight: 600;
  font-size: 16px;
  line-height: 19px;
  width: 90px;
  position: relative;
}
.side-area .side-list .m-cate_box .cate-title:before {
  content: "";
  display: block;
  position: absolute;
  width: 3px;
  height: 3px;
  background: #999999;
  left: -11px;
  top: 8px;
}
.side-area .side-list .m-cate_box .cate-title.w100{width: 100%;}
.side-area .side-list .m-cate_box ul.m-cate_list {
  padding-left: 25px;width: calc(100% - 90px);
}
.side-area .side-list .m-cate_box ul.m-cate_list > li {
  padding-top: 14px;
}
.side-area .side-list .m-cate_box ul.m-cate_list > li:first-child {
  padding-top: 0;
}
.side-area .side-list .m-cate_box ul.m-cate_list > li a {
  font-weight: 400;
  font-size: 16px;
  line-height: 19px;
  color: #666666;
}

/* footer */
.footer {
  padding: 80px 0 100px;
  background-color: #f8f8fa;
  position: relative;
}
.footer .footer-wrap {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;    padding: 0 5%;
}
.footer .footer-wrap .footer-logo {
  display: block;
  width: 107px;
  height: 34px;
  background: url(/img/logo_fixed.png) no-repeat center/cover;
  margin-bottom: 20px;
}
.footer .footer-wrap .footer-info .copy-r {
  padding-top: 20px;
  color: #999;
  font-size: 12px;
  line-height: 20px;
}
.footer .footer-wrap .footer-info .company-info {
}
.footer .footer-wrap .footer-info .company-info b {
  font-size: 13px;
  line-height: 20px;
  display: block;
  color: #000;
  padding-bottom: 6px;
  font-weight: 600;
}
.footer .footer-wrap .footer-info .company-info span,
.footer .footer-wrap .footer-info .company-info a {
  color: #999;
  line-height: 20px;
  font-size: 13px;
  font-weight: 400;
}

.footer .footer-wrap .footer-info .company-info a {
  color: #000;
}
.footer .footer-wrap .footer-info .company-info span.v_line {
  display: inline-block;
  width: 1px;
  margin: 0px 6px;
  height: 10px;
  background-color: #999;
}
.footer .footer-wrap .footer-right {
  width: 280px;
  flex-direction: column;
}
.footer .footer-wrap .footer-right .footer-link {
  padding-right: 70px;
}
.footer .footer-wrap .footer-right .footer-link li:first-child {
  padding-right: 33px;
}
.footer .footer-wrap .footer-right .footer-link li a {
  font-weight: 700;
  font-size: 15px;
  line-height: 18px;
}

.footer .footer-right .fam-logo {
  display: flex;
  flex-wrap: wrap;
  margin-top: 30px;
  justify-content: end;
}
.footer .footer-right .blog-logo {
  display: block;
  width: 56px;
  height: 56px;
  background: url(/img/footer-blog.png) no-repeat center/cover;
  margin-right: 20px;
}
.footer .footer-right .fam-logo .award-logo {
  display: block;
  width: 50px;
  height: 68px;
  background: url(/img/award_logo.png) no-repeat center/cover;
}

.family-site {
  position: relative;
}
.family-site .view-fam_site {
  font-weight: 700;
  font-size: 15px;
  line-height: 18px;
  border: 1px solid #dedede;
  border-left: 0;
  border-right: 0;
  position: relative;
  cursor: pointer;
  padding: 17px 10px 16px;
  transition: all 0.3s;
}
.family-site .view-fam_site:before {
  content: "";
  display: block;
  width: 70%;
  height: 100%;
  background-color: var(--c-point);
  position: absolute;
  top: 0;
  left: 0;
  transition: all 0.4s;
  opacity: 0;
}
.family-site .view-fam_site:hover:before {
  opacity: 1;
  width: 100%;
}
.family-site .view-fam_site > p {
  position: relative;
}
.family-site .view-fam_site:hover > p {
  color: #fff;
}
.family-site .view-fam_site .icon-plus {
  display: block;
  position: absolute;
  width: 13px;
  height: 13px;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
}
.family-site .view-fam_site .icon-plus:after,
.family-site .view-fam_site .icon-plus::before {
  content: "";
  display: block;
  position: absolute;
  background-color: #000;
}
.family-site .view-fam_site:hover .icon-plus:after,
.family-site .view-fam_site:hover .icon-plus::before {
  background-color: #fff;
}

.family-site .view-fam_site .icon-plus::before {
  width: 100%;
  height: 1px;
  top: 50%;
  transform: translateY(-50%);
}
.family-site .view-fam_site .icon-plus::after {
  width: 1px;
  height: 100%;
  left: 50%;
  transform: translateX(-50%);
  transition: transform 0.3s;
}
.family-site .view-fam_site.on .icon-plus::after {
  transform: translateX(-50%) rotate(90deg);
}

.family-site .fam-link_box {
  position: absolute;
  bottom: 53px;
  left: 0;
  background-color: #fff;
  width: 100%;
  border: 1px solid #dedede;
  box-sizing: border-box;
  border-bottom: 0;
  height: 0;
  overflow: hidden;
  opacity: 0;
  transition: all 0.6s;
  z-index: 9;
}
.family-site .fam-link_box.on {
  opacity: 1;
}
.family-site .fam-link {
  padding: 0 20px 20px 20px;
}
.family-site .fam-link li {
  padding-top: 20px;
}
.family-site .fam-link li a {
}
@media all and (max-width: 1500px) {
    .header .header-in{padding: 0 50px;}
}
@media all and (max-width: 1200px) {
  .header {
    padding: 16px 20px;
  }
  .header.active {
    border-bottom: 1px solid #eaeaea;
  }
  .header .header-in {
    padding: 0;
  }
  .header .gnb-area {
    display: none;
  }
  .header .logo,
  .header.active .logo {
    width: 67px;
    height: 21px;
  }
  .btn-menu {
    display: block;
  }
  .footer .footer-wrap{padding:  0 20px;}
}
@media all and (max-width: 900px) {
  .footer {
    padding: 50px 0 80px;
  }
  .footer .footer-wrap {
    flex-direction: column;
    padding: 0 20px;
  }
  .footer .footer-right .fam-logo {
    margin-top: 40px;
    justify-content: center;
  }
  .footer .footer-wrap .footer-right {
    margin-top: 40px;
    width: 100%;
  }
  .footer .footer-right .blog-logo {
    width: 53px;
    height: 53px;
  }
  .footer .footer-right .fam-logo .award-logo {
    width: 45px;
    height: 62px;
  }
}

@media all and (max-width: 767px) {
  .video-wrap:after {
    content: "";
    display: block;
    position: absolute;
    width: 20px;
    height: 10px;
    background: url(../img/m-visual_arrow.png) no-repeat center/cover;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
  }
}
