:root {
  --color-primary: #104493;
  --color-kakao-text: #442f01;
  --color-naver: #00c13a;
}

/* 공통 */
.si_inner {
  max-width: 1420px;
  width: 100%;
  margin: 0 auto;
}

@media screen and (max-width: 1420px) {
  .si_inner {
    padding: 0 20px;
  }
}

@media screen and (max-width: 1024px) {
  body {
    font-size: 14px;
  }
}

@media screen and (max-width: 512px) {
  body {
    font-size: 12px;
  }
}

/* 헤더 */
#si_header {
  display: unset;
}

#si_header .top_bar {
  padding: 24px 0;
  border-bottom: 1px solid #eaeaea;
}

#si_header .top_bar .si_inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

#si_header .top_bar .user_utils {
  display: flex;
  gap: 40px;
}

#si_header .top_bar .user_utils a {
  color: #666;
}

#si_header .bottom_bar {
  position: sticky;
  left: 0;
  top: 0;
  z-index: 999;
  background: #fff;
  border-bottom: 1px solid #eaeaea;
}

#si_header .bottom_bar .all_menu {
  background: var(--color-primary);
  color: #fff;
  padding: 24px 36px;
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
}

#si_header .bottom_bar .hamberger {
  width: 18px;
  height: 14px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

#si_header .bottom_bar .hamberger span {
  width: 100%;
  height: 2px;
  background: #fff;
    transition: all 0.3s ease;
  transform-origin: center
}

#si_header .bottom_bar .hamberger.active span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

#si_header .bottom_bar .hamberger.active span:nth-child(2) {
  opacity: 0; 
}

#si_header .bottom_bar .hamberger.active span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}


#si_header .bottom_bar .si_inner {
  display: flex;
  align-items: center;
  gap: 20px;
  overflow: hidden;
}

#si_header .main_nav_wrap ul {
  display: flex;
}

#si_header .main_nav_wrap > nav > ul > li > a {
  padding: 24px;
}

#si_header .main_nav_wrap > nav > ul > li ul{
  display: flex;
  background: #fff;
    visibility: hidden;
  pointer-events: none;
  position: absolute;
  top: 100%;
  transition: all 0.3s; 
  flex-direction: column;
  align-items: center;
  z-index: 20;
  opacity: 0;
box-shadow: 0 0px 12px rgba(0, 0, 0, 0.12);


}


#si_header .main_nav_wrap > nav > ul > li:hover ul {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

#si_header .main_nav_wrap > nav > ul > li:hover > a {
  color: var(--color-primary);
}

#si_header .main_nav_wrap ul ul a {
  display: inline-block;
  padding: 14px 16px;
  transition: 0.3s all;
}


#si_header .main_nav_wrap ul ul a:hover{
 background: #f7f7f7;
 color: var(--color-primary);
}

#si_header .all_menu_box{
 background: #fff;
 padding: 40px 0;
   max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-height 0.35s ease, opacity 0.3s ease;
  position: absolute; 
  left: 0;
  right: 0;
  top: 100%;
  z-index: 10;
  border-bottom: 1px solid #ddd;
    visibility: hidden;
  pointer-events: none;
}

/* 열렸을 때 */
#si_header .all_menu_box.active {
  max-height: 500px; 
  opacity: 1;
    visibility: visible;
  pointer-events: auto;
}


#si_header .all_category_nav{
 width: 100%;
}

#si_header .all_category_nav > ul {
 width: 100%;
 display: grid;
 grid-template-columns: repeat(4, 1fr);
 row-gap: 40px;
  max-height: 300px;
 overflow-y: scroll; 
}


#si_header .all_category_nav > ul > li > a{
 font-weight: 700;
 display: block;
 padding: 10px;
}

#si_header .all_category_nav > ul > li > a:hover{
 color: var(--color-primary);
}

#si_header .all_category_nav ul ul li{
 padding: 10px;
}

@media screen and (max-width: 1440px){
	#si_header .main_nav_wrap > nav > ul > li > a{
	 padding: 24px 12px;
	 font-size: 0.875rem; 
	}
	
	#si_header .bottom_bar .all_menu{	
	 padding: 24px 12px;
	 font-size: 0.875rem; 
	}
	
	#si_header .bottom_bar .si_inner{
	gap: 10px;
	}
}

@media screen and (max-width: 1024px){

	#si_header {
	 position: fixed;
	 width: 100%;
	 left: 0;
	 top: 0;
	 z-index: 99999;
	 background: #fff;
	 padding-top: 34px;
	     display: flex;
    justify-content: space-between;
	padding: 0 0 0 20px;
	border-bottom: 1px solid #eaeaea;
	}
	
	#si_header .bottom_bar, #si_header .top_bar{
	 border: none;
	}
	
	#si_header .main_nav_wrap{
		display: none;
	}
	
	#si_header {

	}
	
	#si_header .si_inner{
	 padding: 0;
	}
	
	#si_header .top_bar{
	 padding: 12px 0;
	}
	
	#si_header .top_bar .si_inner{
	 gap: 20px;
	}
	
	
	#si_header .bottom_bar .all_menu, #si_header .bottom_bar .si_inner{
	 height: 100%; 
	}	
	
	#si_header .all_menu_box{
	position: fixed;
    left: 0;
    right: unset;
    z-index: 10;
    top: 88px;
	width: 100%;
	}
	
	#si_header .all_category_nav > ul{
	 max-height: 240px;
	}
}

@media screen and (max-width: 768px){
	#si_header h1 img{
	 width: 80%;
	}
	
	#si_header .bottom_bar .all_menu{
	 background: none;
	}
	
	#si_header .bottom_bar .all_menu > span{
	 display: none;
	}
	
	#si_header .bottom_bar .hamberger span{
		background: #121212;
	}
}

@media screen and (max-width: 512px){
#si_header{
top: 33px
}
	
		#si_header h1 img{
	 width: 60%;
	}

	#si_header .user_utils{
	 background: var(--color-primary);
	 color: #fff;
	 position: fixed;
	 left: 0;
	 top: 0;
	 gap: 20px;
	 padding: 10px 20px;
	 width: 100%;
	         justify-content: center;
	}

	#si_header .top_bar .user_utils{
	  gap: 20px;
	}
	
	#si_header .top_bar .user_utils a{
	  color: #fff;
	}
	
	#si_header .bottom_bar{
	 background: none;
	 position: unset;
	 inset: 0;
	}
	
	#si_header .all_category_nav > ul{
	    grid-template-columns: repeat(3, 1fr);
	}
}


/* 푸터 */

/*footer*/
.s_footer {
  background: #000;
  box-sizing: border-box;
}
.ft_top {
  background: #212121;
  width: 100%;
  padding: 24.5px 0;
}
.ft_top_box {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.info_list {
  display: flex;
}
.info_list li {
  position: relative;
}
.info_list li:after {
  content: "";
  width: 1px;
  height: 12px;
  background: #999;
  position: absolute;
  left: -50px;
  top: 50%;
  transform: translateY(-50%);
}
.info_list li:first-child:after {
  display: none;
}
.info_list li + li {
  margin-left: 96px;
}

.ft_tp_rt {
  display: flex;
  align-items: center;
}

.social_list {
  display: flex;
  align-items: center;
}
.social_list li + li {
  margin-left: 25px;
}
.family_box {
  margin-left: 34px;
  position: relative;
}
.family_box > a {
  display: block;
  width: 160px;
  height: 34px;
  line-height: 34px;
  text-align: center;
  border-radius: 17px;
  border: 1px solid #666;
}
.family_box > a > i {
  margin-left: 12px;
}
.family_list {
  display: none;
  position: absolute;
  top: 120%;
  text-align: center;
  width: 100%;
  background: #fff;
  border-radius: 12px;
}
.family_list > li > a {
  display: block;
  padding: 10px 0;
}

.ft_bt {
  padding: 40px 0;
}
.ft_bottom_box {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  row-gap: 20px;
}

.ft_bt_lt {
  width: 80%;
  line-height: 1.6em;
}

.ft_bt_lt p i.after_n:after {
  display: none;
}
.ft_bt_rt h3 {
  text-align: right;
}
.ft_bt_rt p {
  text-align: right;
  line-height: 1.5em;
}

.ft_bt_lt p {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 20px;
}

@media screen and (max-width: 1024px) {
  .ft_bt_rt {
    width: 100%;
  }
}

@media screen and (max-width: 960px) {
  .ft_tp_lt {
    width: 100%;
  }

  .info_list li + li {
    margin-left: 25px;
  }
  .info_list li:after {
    display: none;
  }

  .ft_top_box a,
  .ft_top_box a b {
    font-size: 0.875rem;
  }

  .family_box {
    margin-left: 25px;
  }
}
@media screen and (max-width: 767px) {
  .ft_bt_lt p i:after {
    display: none;
  }

  .ft_bt_lt p i + i {
    margin-right: 15px;
  }

  .family_box > a {
    width: 120px;
  }
  
.ft_bt_lt{
  width: 100%;
 }
 
 .ft_bt_rt h3, .ft_bt_rt p{
  text-align: left;
 }
 
 .ft_top{
  padding: 16px 0 ;
 }
}

/* 공통 줄바꿈 */
@media screen and (min-width: 760px) {
  br.br_t {
    display: none;
  }
}

@media screen and (min-width: 512px) {
  br.br_m {
    display: none;
  }
}
