/* reset */
body,
h1,
h2,
h3,
h4,
h5,
h6,
p,
div,
ul,
li,
dl,
dt,
dd,
img,
br {
  margin: 0;
  padding: 0;
}
body {
  font-family: "Noto Sans", "맑은 고딕", "나눔고딕", sans-serif;
  font-size: 16px;
  line-height: 1.5;
}
ul,
li,
dl,
dt,
dd {
  list-style: none;
}
a {
  text-decoration: none;
  color: inherit;
}
address {
  font-style: normal;
}

/* common */
.hide {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

/* skip menu */
.skip_menu {
  position: absolute;
  left: 10px;
  top: -100px;
  width: 200px;
}
.skip_menu a {
  display: block;
  background-color: #194e91;
  color: #fff;
  padding: 5px;
  position: absolute;
}
.skip_menu a:focus,
.skip_menu a:active {
  top: 110px;
}
/* active는 클릭했을때. focus는 shift+tab 했을때.
  숨겨놨다가 보여야 하니까 top 값을 바꿈 */

.wrap {
  max-width: 100%;
}

/* header */
#header {
  height: 160px;
  width: 100%;
  position: relative;
  z-index: 10;
  justify-content: center;
  border-bottom: 10px solid #194e91;
  box-sizing: border-box;
}
.header_top {
  height: 35px;
  width: 1200px;
  margin: 0 auto 55px;
  position: relative;
  display: flex;
  justify-content: space-between;
}

/* family site */
.family_site_header {
  width: 250px;
  height: 35px;
  font-size: 14px;
  background-color: #194e91;
  color: #fff;
  border-radius: 0 0 10px 10px;
}
.family_site_header ul {
  width: 215px; /* 변경! */
  display: flex;
  margin: auto;
  align-items: center;
  justify-content: space-between; /* 변경! */
  position: relative; /* 추가! */
  top: -1px; /* 추가! */
}
.family_site_header ul > li {
  margin-top: 7px;
}
.family_site_header ul > li > a {
  font-size: 14px;
}

/* util menu */
.util_menu {
  width: 362px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: absolute; /* 추가! */
  right: 0; /* 추가! */
}
.util_menu a {
  height: 20px;
  display: block;
  font-size: 14px;
}

/* 추가! */
.util_menu a:hover{
  text-decoration: underline;
}

.util_menu ul {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  box-sizing: border-box;
  position: relative;
  vertical-align: middle;
}
.util_menu li img {
  /* position: absolute; */
  position: relative;
  top: -2px;
  width: 20px;
  height: 20px;
  margin-right: 9px;
  vertical-align: middle;
}

/* header bottom */
.header_bottom {
  width: 1200px;
  margin: 0 auto 20px;
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-sizing: border-box;
}

/* logo */
.logo {
  width: 80px;
  height: 34px;
  top: 107px;
  padding-bottom: 28px;
  box-sizing: border-box;
}

/* main */
.main {
  width: 100%;
}
#main section {
  max-width: 1600px;
  height: 800px;
  margin: 0 auto;
}

/* gnb */
.gnb {
  height: 38px;
  margin: 0 auto;
}
.gnb > ul {
  width: 920px;
  height: 65px;
  padding-top: 5px;
  font-size: 20px;
  display: flex;
  justify-content: space-between;
  box-sizing: border-box;
}
.all_menu {
  display: block;
}
.all_menu img {
  width: 38px;
  height: 38px;
  padding-top: 5px;
}
.nav_bg {
  width: 100%;
  height: 502px;
  background-color: rgba(255, 255, 255, 0.9);
  position: relative;
  top: 0px;
  display: none;
  z-index: -1;
}
.gnb ul ul li:first-child {
  font-weight: bold;
}
.gnb div {
  position: absolute;
  top: 70px;
  width: 171px;
  height: 450px;
  text-align: center;
  padding: 25px 0;
  display: none;
}
.gnb ul ul {
  border-right: 1px solid #194e91;
  height: 420px;
  text-align: center;
  box-sizing: border-box;
}
.gnb ul li:last-child ul {
  border-right: 0 none;
}
.gnb ul ul li {
  font-size: 16px;
  font-weight: normal;
  padding: 9px 0;
  box-sizing: border-box;
}
.gnb ul ul li:not(:first-child):hover {
  background-color: #194e91;
  color: #fff;
}
.menu01 div {
  left: 0;
}
.menu02 div {
  left: 171px;
}
.menu03 div {
  left: 342px;
}
.menu04 div {
  left: 513px;
}
.menu05 div {
  left: 683px;
}
.menu06 div {
  left: 854px;
}
.menu07 div {
  left: 1025px;
}

/* 추가! */
.spread_underline {
  color: #333;
  text-decoration: none;
  padding: 15px 0;
  position: relative;
}
.spread_underline:after {
  background: none repeat scroll 0 0 transparent;
  content: "";
  display: block;
  height: 3px;
  left: 50%;
  position: absolute;
  background: #194e91;
  transition: width 0.3s ease 0s, left 0.3s ease 0s;
  width: 0;
}
.spread_underline:hover:after {
  width: 100%;
  left: 0;
}

/* 추가! */
.family_site_header ul > li > a:hover{
  text-decoration: underline;
}

.search_bar input{
  position: absolute;
  right: 0;
  top: 50px;
  width: 200px;
  height: 30px;
  border: 2px solid #194e91;
  border-radius: 20px;
  padding: 0 15px;
  box-sizing: border-box;
  
}
.search_bar input:focus{
  border: 2px solid #194e91;
  outline: none;
}
.search_bar img{
  width: 20px;
  position: absolute;
  z-index: 1;
  right: 10px;
  top: 55px;
}
.hidden {
  display: none;
}

/* sub-menu */
/* gnb 항목 이름 */
.side_menu h3 {
  font-size: 18px;
  font-weight: normal;
  height: 60px;
  display: flex;
  justify-content: center;
  align-items: center;
  border-bottom: 1px solid #194e91;
}

.side_menu02_open {
  background: #fff;
}

.side_menu > ul > li > a > img {
  top: 13px;
  width: 30px;
  height: 30px;
}

/* hover 효과 */
.gnb_hover {
  background: #ddeeff;
  color: #194e91;
  font-weight: bold;
}

/* nav 1depth link active */
/*
.active {
  color: #194e91;
  font-weight: bold;
}*/

.side_menu a {
  font-size: 16px;
  display: block;
  height: auto;
  padding-left: 20px;
}

/* 위치고정 */

.real {
  width: 100%;
  height: 1700px;
}

.main_wrap {
  width: 1200px;
  margin: auto;
  height: 1700px;
  position: relative;
  z-index: 2;
}

.side_menu {
  position: sticky;
  max-height: 70vh;
  top: 23vh;
  margin-right: 50px;
  margin-bottom: 10px;
  color: #86878f;
  box-sizing: border-box;
  height: 580px;
}

.sub_section_wrap{
  animation: slide-up 1.5s ease-in-out forwards
}
@keyframes slide-up{
  from{
    transform: translateY(100%);
    opacity:0;
  }
  to{
    transform: translateY(0);
    opacity: 1;
  }
}

/* border 및 underline 효과 */
/* 전체메뉴 border, 회사소개 마지막 항목이 +여서 겹치는 부분 발생 이슈로 인해 각 부분 border 주었음.*/

.li_wrap1 {
  border-top: 2px solid #fff;
}

.side_menu ul ul li:last-child {
  border-bottom: 0;
}

.side_menu li {
  width: 220px;
  line-height: 3.5;
  border-top: 1px solid #194e91;
  box-sizing: border-box;
}

/* plus icon */
.li_wrap1,
.li_wrap2 {
  position: relative;
}
.li_wrap1 img,
.li_wrap2 img {
  position: absolute;
  width: 20px;
  height: 20px;
  right: 10px;
  top: 14px;
}



.main_wrap .sub_section_wrap {
  width: 930px;

  text-align: center;
  position: absolute;
  right: 0;
}

.sub_section_wrap > img {
  display: block;
  margin: 60px auto 65px;
}
.sub_section_wrap p {
  position: relative;
  text-align: center;
}

/* top button  */
.top_button_wrap {
  width: 100%;
  margin: auto;
}
.top_button {
  z-index: 100;
  position: fixed;
  right: 3vw;
  bottom: 2vh;
}
.top_button img {
  width: 60px;
  height: 60px;
}

#main .checked {
  background: #ddeeff;
  color: #194e91;
  font-weight: bold;
}

/* footer */
.maeil_footer {
  width: 100%;
  margin: 0 auto;
}
footer h3 {
  font-size: 20px;
}
.footer_bg {
  width: 100%;
  margin: 0 auto;
  background: #194e91;
  height: 290px;
  box-sizing: border-box;
}
.maeil_footer .footer_bg .footer_wrap {
  width: 1200px;
  margin: 0 auto;
  display: inline-block;
  display: flex;
  justify-content: space-between;
  color: #fff;
}
.footer_wrap {
  position: relative;
}
.contact_us {
  margin-top: 30px;
}
.contact_us h3 {
  font-size: 18px;
  margin-bottom: 10px;
}
.contact_us > p {
  font-size: 15px;
  margin-bottom: 10px;
}
.maeil_map_footer {
  border: 1px solid #fff;
  height: 35px;
  width: 175px;
  display: flex;
  align-items: center;
  padding-left: 10px;
  text-indent: 24px;
  background: url(../images/home.svg) no-repeat left/20px;
  background-position-x: 5px;
  box-sizing: border-box;
}
.maeil_map_footer > a {
  background: url(../images/arrow_white.svg) no-repeat right/15px;
  background-position-x: 170px;
}
.agreement a {
  width: 100%;
}
.agreement_address_wrap {
  border-top: 1px solid #e2e2e2;
  padding-top: 10px;
  width: 1200px;
  position: absolute;
  white-space: nowrap;
  margin-top: 165px;
  bottom: -30px;
  font-size: 14px;
}
.agreement > a > img {
  display: inline-block;
  width: 20px;
  vertical-align: middle;
 
  color: #fff;
}
.agreement > a:hover {
  text-decoration: underline;
}
.agreement > a:last-child {
  padding: 5px 10px;
  border-radius: 20px;
  box-sizing: border-box;
  background: #143c70;
  justify-content: center;
  align-items: center;
  white-space: nowrap;
}
.agreement_address_wrap {
  line-height: 2;
  margin-bottom: -30px;
}

.sns {
  width: 200px;
  margin-top: 102px;
}
.sns h3 {
  font-size: 16px;
  margin-bottom: 10px;
}

.sns ul {
  display: flex;
  justify-content: center;
}
.sns img {
  width: 40px;
  height: 40px;
  margin-bottom: 20px;
}
.sns > ul > li {
  margin-right: 10px;
}

.tel {
  width: 150px;
  height: 25px;
  margin-bottom: 10px;
  box-sizing: border-box;
}


/* famiily_site */
.family_site {
  margin-top: 126px;
  position: relative;
  width: 190px;
  margin-bottom: 10px;
}
.family_site:hover {
  cursor: pointer;
}
.family_site h3 {
  border: 3px solid #fff;
  border-radius: 30px;
  padding: 10px 40px 10px 25px;
  font-size: 16px;
  box-sizing: border-box;
  font-weight: normal;
}
.family_site h3 img {
  position: absolute;
  width: 20px;
  height: 20px;
  right: 15px;
  top: 15px;
}
.family_site ul {
  width: 190px;
  z-index: 10;
  background: #fff;
  box-shadow: 0 3px 6px rgba(0, 0, 0, 0.16);
  height: 300px;
  overflow-y: auto;
  box-sizing: border-box;
  position: absolute;
  bottom: 75px;
  right: 0px;
  border-radius: 8px;
  padding: 3px;
  display: none;
}
.family_site_option a {
  width: 182px;
}
.family_site ul::-webkit-scrollbar {
  width: 8px;
}

.family_site ul::-webkit-scrollbar-track {
  background: #f1f1f1;
  border-radius: 7px;
}

.family_site ul::-webkit-scrollbar-thumb {
  background: #888;
  border-radius: 10px;
}

.family_site ul::-webkit-scrollbar-thumb:hover {
  background: #555;
}
.family_site ul li {
  color: #000;
  font-size: 12px;
  line-height: 3;
  text-indent: 3px;
  border-radius: 5px;
}
.family_site ul li:hover {
  background-color: #194e91;
  color: #fff;
}
.family_site ul li.active {
  background-color: #194e91;
  color: #fff;
}

.depth1 {
  background: #084f8c;
  color: #fff;
}
