@charset "utf-8";
@import url('variables.css');

  /* 레이아웃 크기 수정 */
  #hd,
  #wrapper,
  #ft {
      /* min-width: 1920px; */
      width: 100%;
      margin: 0 auto;
  }

  #wrapper,
  #tnb, .inner {
      width: 100%;
      padding: 0 var(--padding-side);
      box-sizing: border-box;
  }
  
  #content-container {
    width: 100%;
    max-width: var(--content-width);
    margin: 0 auto;
    box-sizing: border-box;
  }
  
  /* 상단 레이아웃 */
  #hd {
    width: 100%;
    height: 105px;
    background: #fff;
    display: flex;
    flex-direction: column;
    padding: 15px 264px 11px 249px;
  }
  
  /* 최상단 유틸리티 메뉴 */
  .hd_util {
    background: #fff;
  }
  
  .hd_util_inner {
    margin: 0 auto;
    text-align: right;
  }
  
  .hd_util_inner ul {
    display: inline-flex;
    align-items: center;
  }
  
  .hd_util_inner li {
    position: relative;
    padding: 0 14px;
  }
  
  .hd_util_inner li:after {
    content: "";
    position: absolute;
    right: 0;
    top: 50%;
    width: 1px;
    height: 12px;
    background: #717171;
    transform: translateY(-50%);
  }
  
  .hd_util_inner li:last-child:after {
    display: none;
  }
  
  .hd_util_inner li:last-child {
    padding-right: 0;
  }
  
  .hd_util_inner li a {
    font-size: 13px;
    color: #717171;
  }
  
  /* 메인 헤더 */
  #hd_wrapper {
    display: flex;
    align-items: flex-end;
    height: 100%;
  }
  
  /* 로고 */
  #logo {
    flex: none;
    margin-right: 45px;
  }
  
  #logo img {
    width: 131px;
    height: 18px;
    vertical-align: middle;
  }
  
  /* 메인 메뉴 */
  #gnb {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    height: 42px;
    background: #fff;
  }
  
  .gnb_wrap {
    flex: 1;
  }
  
  #gnb_1dul {
    display: flex;
    gap: 20px;
    align-items: center;
    margin: 0;
    padding: 0;
  }
  
  .gnb_1dli {
    position: relative;
    list-style: none;
  }
  
  .gnb_1da {
    display: block;
    padding: 4px 20px;
    font-size: 17px;
    font-weight: 500;
    color: #000000;
    text-decoration: none;
    letter-spacing: -0.05em;
    position: relative;
  }
  
  /* 현재 페이지 활성화 스타일 */
  .gnb_1da.active {
    background-color: #002c23;
    padding: 4px 20px;
    border-radius: 100px;
    color: #fff;
  }

  .gnb_1da.active a {
    color: #fff;
  }
  
  /* 호버 효과 */
  .gnb_1da:not(.active):hover {
    color: #002c23;
  }
  
  /* 언더바 호버 효과 추가 */
  .gnb_1da:not(.active)::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 20px;
    width: calc(100% - 40px);
    height: 2px;
    background-color: #002c23;
    transform: scaleX(0);
    transition: transform 0.3s ease;
    transform-origin: left;
  }

  .gnb_1da:not(.active):hover::after {
    transform: scaleX(1);
  }
  
  /* 전체메뉴 버튼 숨기기 */
  .gnb_menu_btn,
  .gnb_mnal {
    display: none;
  }
  
  /* 2depth 메뉴 스타일링 */
  .gnb_2dul {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: #fff;
    min-width: 180px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    border-radius: 10px;
    padding: 10px 0;
  }
  
  .gnb_2dli {
    padding: 0;
  }
  
  .gnb_2da {
    display: block;
    padding: 8px 20px;
    color: #666;
    font-size: 15px;
    text-decoration: none;
    white-space: nowrap;
  }
  
  .gnb_2da:hover {
    color: #006241;
    background: #f8f8f8;
  }
  
  /* 1depth에 마우스 오버시 2depth 표시 */
  .gnb_1dli:hover .gnb_2dul {
    display: block;
  }
  
  /* 하위분류 bg 숨기기 */
  .bg {
    display: none;
  }
  
  
  /* 우측 유틸리티 메뉴 */
  .hd_right {
    display: flex;
    align-items: center;
    gap: 20px;
  }
  
  
  
  /* 장바구니, 마이페이지 버튼 */
  .cart_btn,
  .mypage_btn {
    display: flex;
    align-items: center;
  }
  
  .cart_btn img{
    width: 27px;
  }
  
  .mypage_btn img {
    width: 21px;
  }
  
/* 검색창 레이어 */
.amicron_search_wrap {
  position: relative;
}

.amicron_search_box {
  display: flex;
  align-items: center;
  background: #F2F2F2;
  border-radius: 100px;
  padding: 8px 15px 8px 25px;
  width: 277px;
}

#amicron_search_input {
  border: none;
  background: none;
  font-size: 15px;
  outline: none;
  width: 100%;
}

#amicron_search_submit {
  border: none;
  background: none;
  padding: 0;
  cursor: pointer;
}

#amicron_search_submit img {
  width: 22px;
}

/* 중간 레이아웃 */
#wrapper {
  width: 100%;
  min-height: calc(100vh - 105px - 313px);
  margin: 0;
  display: flex;
  flex-direction: column;
}

#container_wr {
    width: 100%;
    margin: 0 auto;
    flex: 1;
    display: flex;
    flex-direction: column;
}

#container {
    position: relative;
    width: 100%;
    flex: 1;
    display: flex;
    flex-direction: column;
}

/* 푸터 */
#ft {
    width: 100%;
    background: #fff;
    margin-top: auto;
}

/* 게시판 목록 */
#bo_list .td_subject a {
  font-size: 17px;
}

#bo_list .td_name {
  font-size: 16px;
}

#bo_list .td_datetime, 
#bo_list .td_num {
  font-size: 15px;
}

/* 게시글 보기 */
#bo_v_title .bo_v_tit {
  font-size: 30px;
}

#bo_v_info .sv_member {
  font-size: 16px;
}

#bo_v_con {
  font-size: 17px;
  line-height: 1.6;
}

#bo_v_info .profile_info {
  display: flex;
  align-items: center;
}

#bo_v_info .profile_info img {
  width: 40px;
}
#bo_v_info .profile_info .profile_info_ct {
  line-height: 1.6;
}


/* 게시글 쓰기 */
#bo_w .bo_w_tit label {
  font-size: 17px;
}

#bo_w .frm_input {
  font-size: 16px;
}

#bo_w .btn_submit {
  font-size: 16px;
}

/* 하단 레이아웃 */
#ft_wr {
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0;
    border-top: 1px solid #cbcbcb;
}
.ft_line {
    width: 100%;
    height: 1px;
    background: #cbcbcb;
}
.ft_top {
    width: 1400px;
    display: flex;
    align-items: center;
    gap: 35px;
    padding: 35px 0;
}

.ft_logo img {
    width: 95px;
    height: 62px;
}

.ft_info {
    color: #777777;
    font-size: 13px;
    line-height: 20px;
}

.ft_info p {
  margin-bottom: 10px; 
}

.ft_info p:last-child {
  margin-bottom: 0; 
}

.ft_bottom {
    width: 1400px;
    display: flex;
    justify-content: space-between;
    padding: 30px 0 80px 130px;
}
.ft_menu {
    display: flex;
    align-items: center;
}
.ft_menu ul {
    display: flex;
    align-items: center;
    gap: 10px;
}

.ft_menu li {
    position: relative;
}

.ft_a_line {
    width: 1px;
    height: 13px;
    background: #777777;
}
.ft_menu li:last-child:after {
    display: none;
}

.ft_menu li:last-child {
    margin-left: 130px;
}

.ft_menu a {
  color: #777777;
  font-size: 13px;
}

.ft_sns {
    display: flex;
    gap: 24px;
    align-items: center;
}

.ft_sns a {
    display: block;
}

.ft_sns_title {
    color: #777777;
    font-size: 13px;
}

.ft_sns .blog_btn {
    width: 33px;
}

.ft_sns .facebook_btn {
    width: 14px;
}

.ft_sns .insta_btn {
    width: 30px;
}

#top_btn {position:fixed;bottom:20px;right:20px;width:50px;height:50px;line-height:46px;border:2px solid #333;color:#333;text-align:center;font-size:15px;z-index:90;background:rgba(255,255,255,0.5)}
#top_btn:hover {border-color:#002c23;background:#002c23;color:#fff}

#bo_v_share .btn { width: 100px;}

#bo_list, #bo_v, #bo_w {
    width: 100%;
    max-width: var(--container-width);
    padding: 110px 15px;
    margin: 0 auto;
    font-size: 16px;
}

#bo_v_img img {
  width: auto;
}