/* =========================================================
   어스틴자산운용 홈페이지 — 모든 페이지 공통 스타일
   (헤더 · 전체 메뉴 · 모바일 메뉴 · 서브 상단 · 고정 메뉴 · 푸터)
   색: 남색 #092a62 · 주황 #fa6514
   ========================================================= */

/* ---------- 기본값 ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { overflow-y: scroll; scroll-behavior: smooth; }
body {
  margin: 0; padding: 0; background: #fff; color: #000;
  font-family: 'Pretendard', 'Noto Sans KR', 'Malgun Gothic', dotum, sans-serif;
  font-size: 12px; font-weight: 400; line-height: normal;
  word-break: keep-all; -webkit-text-size-adjust: none; text-size-adjust: none;
  overflow-x: hidden;
}
h1, h2, h3, h4, h5, h6 { margin: 0; padding: 0; font-size: 1em; font-weight: 500;
  font-family: 'Pretendard', 'Noto Sans KR', sans-serif; }
p { margin: 0; }
ul, ol, li, dl, dt, dd { margin: 0; padding: 0; list-style: none; }
a { color: inherit; text-decoration: none; }
a:hover { color: inherit; text-decoration: none; }
img { border: 0; vertical-align: middle; }
button { margin: 0; padding: 0; border: 0; background: none; cursor: pointer;
  font: inherit; color: inherit; }
button:focus { outline: none; }
table { border-collapse: collapse; }
.sound_only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

#wrapper { width: 100%; overflow-x: hidden; }
#container { position: relative; margin: 0 auto; min-height: 500px; background: #fff; }
#container::after { content: ""; display: block; clear: both; }
.mt0 { margin-top: 0 !important; }
.mb0 { margin-bottom: 0 !important; }
.mb100 { margin-bottom: 100px !important; }

/* ---------- 헤더 ---------- */
#header_wrap { position: absolute; left: 0; top: 0; width: 100%; z-index: 57; transition: all .3s ease;
  border-bottom: 1px solid rgba(255,255,255,0); }
#header { background: transparent; transition: all .3s ease; }
#header .header-inner { position: relative; display: flex; justify-content: space-between; align-items: center;
  width: 100%; height: 100%; margin: 0 auto; padding: 0 50px; max-width: 1860px; z-index: 10; }
#logo { height: 100%; display: flex; align-items: center; }
#logo a { display: flex; align-items: center; justify-content: center; position: relative; }

#top_nav { height: 150px; transition: all .5s ease; display: flex; align-items: center; }
#top_nav .gnb { display: flex; height: 100%; }
#top_nav .gnb > li { position: relative; text-align: center; margin-right: 77px; }
#top_nav .gnb > li > a { display: flex; justify-content: center; align-items: center; height: 100%;
  font-size: 21px; color: #fff; font-weight: 500; white-space: nowrap; position: relative; transition: all .5s ease; }
#top_nav .gnb .snb { display: none; width: 240px; position: absolute; top: 120px; left: 50%; transform: translateX(-50%);
  padding: 20px 30px; background-color: rgba(0,0,0,.5); border-radius: 20px; -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
#top_nav .gnb .snb li a { display: block; font-weight: 400; letter-spacing: -.5px; font-size: 16px; line-height: 1.56;
  color: rgba(255,255,255,.5); transition: color .3s; }
#top_nav .gnb .snb li a:hover { color: #fa6514; }
#top_nav .gnb .snb li + li { border-top: 1px solid rgba(255,255,255,.2); padding-top: 15px; margin-top: 15px; }

#hd_btns { display: flex; align-items: center; }
#menu_slider_btn { position: relative; width: 30px; height: 16px; display: flex; flex-direction: column;
  justify-content: space-between; align-items: flex-end; cursor: pointer; }
#menu_slider_btn span { display: block; width: 100%; height: 2px; background: #fff; transition: all .3s ease; }
#menu_slider_btn span:first-child { width: 22px; }

/* ---------- 전체 메뉴 (PC 햄버거) ---------- */
#menu_close_btn { position: absolute; right: 0; top: 0; width: 60px; height: 60px; display: flex; align-items: center;
  justify-content: center; color: #fff; background: #fa6514; font-size: 30px; z-index: 1000; transition: all .3s; }
#menu_close_btn:hover { background: #092a62; }
.hidden_nav { position: fixed; top: 0; left: 0; width: 0; height: 100vh; z-index: 999; overflow: hidden; background: #fff;
  text-align: left; transition: all .8s cubic-bezier(0.215, 0.610, 0.355, 1.000); }
.hidden_nav.active { width: 100%; }
.hidden_nav > div { display: none; position: absolute; top: 0; left: 50%; transform: translateX(-50%); width: 100%; height: 100%;
  padding: 100px; overflow-y: auto; }
.h_gnb { display: flex; width: 100%; height: 100%; }
.h_lm { position: relative; flex: 1; }
.h_lm > a { display: block; width: 100%; font-size: 27px; font-weight: bold; color: #000; margin-bottom: 50px; padding-bottom: 50px;
  border-bottom: 1px solid #ddd; position: relative; line-height: 1.1; white-space: nowrap; }
.h_lm > a::before { content: ''; display: block; width: 50px; height: 1px; background-color: #000; margin: 0 0 20px; }
.h_snb { position: relative; z-index: 1; }
.h_snb > li { margin-bottom: 40px; padding-right: 30px; }
.h_snb > li:last-child { margin-bottom: 0; }
.h_snb > li > a { display: inline; font-size: 18px; font-weight: 500; position: relative; color: #000; line-height: 1.5;
  transition: color .3s ease; }
.h_snb > li > a::after { content: ''; position: absolute; bottom: -5px; left: 50%; transform: translateX(-50%); width: 0; height: 1px;
  background-color: #000; transition: all .4s; }
.h_snb > li > a:hover::after { width: 100%; }

/* ---------- 모바일 메뉴 (1024px 이하) ---------- */
#open-button { display: none; }
#open-button .hamburger { position: relative; cursor: pointer; width: 25px; display: flex; flex-wrap: wrap; justify-content: flex-end; }
#open-button .hamburger span { display: block; width: 100%; height: 2px; background: #fff; transition: all .2s ease; }
#open-button .hamburger span:nth-child(n+2) { margin-top: 4px; }
#open-button .hamburger span:first-child { width: 75%; }
.scrolled #open-button .hamburger span { background-color: #000; }
#open-button.on .hamburger span { opacity: 0; pointer-events: none; }

#right-side { position: fixed; z-index: 100; top: 0; right: -320px; max-width: 320px; width: 100%; height: 100%; overflow: auto;
  padding: 60px 30px 30px; background-color: #fdfdff; border-left: 1px solid #eee; transition: right .3s ease; }
.right-side-on #right-side { right: 0; }
.side_gnb { position: relative; width: 100%; }
.side_gnb .menu-list { position: relative; border-bottom: 1px solid #ddd; }
.side_gnb .menu-list > li > a { display: block; position: relative; color: #000; font-size: 17px; line-height: 26px; padding: 15px 10px;
  border-top: 1px solid #ddd; font-weight: 500; }
.side_gnb .menu-list > li > a i { display: block; position: absolute; top: 50%; right: 1.5em; width: 5.31%; max-width: 32px;
  border: 1px solid rgba(0,0,0,.2); border-left-width: 0; border-bottom-width: 0;
  transform: translateY(-75%) rotate(135deg); transition: transform .3s ease; }
.side_gnb .menu-list > li > a i::before { content: ""; display: block; position: relative; padding-top: 100%; }
.side_gnb .menu-list > li.on > a i { transform: translateY(-25%) rotate(315deg); }
.side_gnb .depth-2 { display: none; }
.side_gnb .depth-2 > li { background-color: #f1f1f1; }
.side_gnb .depth-2 > li > a { display: block; font-size: 14px; font-weight: 300; line-height: 24px; padding: 10px 15px;
  border-bottom: 1px solid #fff; color: #333; }

/* ---------- 서브 상단 (배경 사진 · 제목 · 탭) ---------- */
.sub_visual { position: relative; z-index: 2; width: calc(100% - 20px); height: 550px; margin: 10px auto 0; overflow: hidden;
  border-radius: 20px; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.sub_visual .bg { position: absolute; top: 0; left: 0; width: 100%; height: 100%; z-index: -1;
  background: url('../img/common/sub_bg1.jpg') center center / cover no-repeat; transition: all .5s ease; }
.sub_visual.sub2 .bg { background-image: url('../img/common/sub_bg2.jpg'); }
.sub_visual.sub3 .bg { background-image: url('../img/common/sub_bg3.jpg'); }
.sub_visual.sub4 .bg { background-image: url('../img/common/sub_bg4.jpg'); }
.sub_visual .title_warp { position: relative; z-index: 3; width: 100%; max-width: 1600px; padding: 0 50px; text-align: center; }
.sub_visual h2 { display: block; font-size: 80px; font-weight: 700; color: #fff; line-height: 1;
  font-family: 'Poppins', 'Pretendard', sans-serif; }
.sub_visual .sm_menu { display: flex; align-items: baseline; justify-content: center; margin-bottom: 20px; }
.sub_visual .sm_menu li { font-size: 15px; font-weight: 400; color: #fff; }
.sub_visual .sm_menu li a { display: inline-flex; align-items: baseline; color: #fff; position: relative; top: 1px; font-size: 17px; }
.sub_visual .sm_menu li::after { content: ">"; display: inline-block; margin: 0 12px; }
.sub_visual .sm_menu li:last-child::after { display: none; }

#sub_top_menu { position: absolute; bottom: 60px; left: 0; z-index: 5; width: 100%; text-align: center; }
#sub_top_menu ul { display: flex; justify-content: center; width: 100%; height: 100%; max-width: 1600px; margin: 0 auto; padding: 0 50px; }
#sub_top_menu ul li { flex: 1; max-width: 485px; margin-right: 23px; }
#sub_top_menu ul li:last-child { margin-right: 0; }
#sub_top_menu ul li a { display: flex; align-items: center; justify-content: center; width: 100%; height: 100%; position: relative;
  padding: 0 0 20px; font-size: 20px; font-weight: 500; line-height: 1.3; color: rgba(255,255,255,.4); transition: all .3s ease; }
#sub_top_menu ul li a::after { content: ''; position: absolute; bottom: -1px; left: 0; width: 100%; height: 3px; border-radius: 2px;
  background-color: rgba(255,255,255,.4); transition: .3s; }
#sub_top_menu ul li a:hover, #sub_top_menu ul li a.active { color: #fff; }
#sub_top_menu ul li a:hover::after, #sub_top_menu ul li a.active::after { background: #fff; }

/* ---------- 스크롤하면 나타나는 고정 메뉴 (PC) ---------- */
#fix_menu { display: none; position: fixed; z-index: 100; top: 0; left: 0; width: 100%;
  background-color: rgba(255,255,255,.93); border-top: 1px solid #ddd; }
#fix_menu.fixed { display: block; }
#fix_menu .fix_wrap { display: flex; max-width: 1600px; margin: 0 auto; }
#fix_menu .fix_wrap i.home { width: 65px; line-height: 70px; text-align: center; font-size: 22px; font-style: normal;
  border-right: 1px solid #ddd; }
#fix_menu .fix_wrap .menu { display: flex; width: calc(100% - 65px); height: 70px; }
#fix_menu .fix_wrap .menu > li { width: 20%; height: 100%; border-right: 1px solid #ddd; }
#fix_menu .fix_wrap .menu > li button { position: relative; width: 100%; height: 100%; padding: 0 50px 0 30px; text-align: left;
  font-size: 18px; font-weight: 500; color: #000; }
#fix_menu .fix_wrap .menu > li button::before { content: ""; position: absolute; top: 50%; right: 30px; width: 10px; height: 7px;
  transform: translateY(-50%); background: url('../img/common/menu_arrow.png') 50% / cover no-repeat; }
#fix_menu .fix_wrap .menu > li button.active::before { background-image: url('../img/common/menu_arrow_on.png'); }
#fix_menu .fix_wrap .menu > li div { position: relative; overflow: hidden; height: 0; left: -1px; width: calc(100% + 2px); }
#fix_menu .fix_wrap .menu > li div ul { position: absolute; width: 100%; border: 1px solid #ddd; z-index: 5; }
#fix_menu .fix_wrap .menu > li div ul li a { display: flex; align-items: center; height: 70px; padding: 0 30px;
  font-size: 18px; font-weight: 500; line-height: 1.3; color: #000;
  background-color: rgba(255,255,255,.93); border-bottom: 1px solid #ddd; transition: background .3s ease; }
#fix_menu .fix_wrap .menu > li div ul li a:hover { background: #f7f7f7; }
#fix_menu .progress { position: relative; width: 100%; height: 2px; background-color: #ddd; }
#fix_menu .progress span { position: absolute; top: 0; left: 0; display: block; width: 0; height: 100%; background-color: #092a62; }

/* ---------- 푸터 ---------- */
footer { width: calc(100% - 20px); margin: 10px auto; overflow: hidden; border-radius: 20px; background-color: #092a62;
  clear: both; text-align: left; }
.footer_con { width: 100%; max-width: 1600px; margin: 0 auto; padding: 100px 50px; }
.footer_con > div { display: flex; justify-content: space-between; }
.footer_con .top { width: 100%; margin-bottom: 50px; padding-bottom: 37px; align-items: center;
  border-bottom: 1px solid rgba(221,221,221,.3); }
.footer_con .top h2 { flex-shrink: 0; font-size: 25px; font-weight: 700; color: #fff; text-transform: uppercase;
  font-family: "Poppins", sans-serif; }
.footer_con .logo { flex-shrink: 0; margin-left: 30px; }
footer .pc { display: block; }
footer .mob { display: none; }
.ft_copy { font-size: 15px; font-weight: 400; color: #fff; line-height: 2; }
.footer_con .btm { align-items: flex-start; }
.footer_con .btm span { font-size: 15px; font-weight: 300; color: rgba(255,255,255,.5); line-height: 1.6; margin-top: 25px; }
.footer_con .btm span a { color: rgba(255,255,255,.5); }
.footer_con .logo_list { display: flex; align-items: center; }
.footer_con .logo_list > li + li { margin-left: 33px; }

#top_btn { position: fixed; right: 20px; bottom: 20px; z-index: 10; width: 50px; height: 50px; display: flex; justify-content: center;
  align-items: center; border: 1px solid #333; color: #333; font-size: 15px; background: rgba(255,255,255,.5);
  opacity: 0; pointer-events: none; transition: .3s; }
#top_btn:hover { border-color: #fa6514; background: #fa6514; color: #fff; }
.scrolled #top_btn { opacity: 1; pointer-events: auto; }

/* ---------- 화면 폭별 ---------- */
@media screen and (max-width: 1700px) {
  .h_lm > a { padding-bottom: 30px; }
  .h_snb > li { margin-bottom: 28px; }
  .h_snb > li > a { font-size: 20px; }
  .h_lm > a span { display: block; width: 10ch; min-height: 66px; white-space: pre-wrap; word-break: break-all; overflow-wrap: break-word; }
  .hidden_nav > div { padding: 70px; }
}
@media screen and (max-width: 1400px) {
  #fix_menu .fix_wrap i.home { line-height: 65px; font-size: 20px; }
  #fix_menu .fix_wrap .menu { height: 65px; }
  #fix_menu .fix_wrap .menu > li button { font-size: 17px; padding: 0 20px; }
  #fix_menu .fix_wrap .menu > li button::before { right: 20px; }
  #fix_menu .fix_wrap .menu > li div ul li a { font-size: 17px; height: 65px; padding: 0 20px; }
  .footer_con .btm { display: block; }
  .footer_con .logo_list { justify-content: flex-end; margin: 20px 0 0; }
}
@media screen and (max-width: 1280px) {
  #top_nav .gnb { display: none; }
  #menu_close_btn { width: 50px; height: 50px; font-size: 25px; }
  .h_lm > a { font-size: 24px; margin-bottom: 40px; padding-bottom: 40px; }
  .h_lm > a::before { width: 30px; }
  .h_snb > li { margin-bottom: 20px; padding-right: 15px; }
  .h_snb > li > a { font-size: 16px; }
  .hidden_nav > div { padding: 70px 50px 50px; }
  #fix_menu .fix_wrap i.home { line-height: 55px; font-size: 20px; }
  #fix_menu .fix_wrap .menu { height: 55px; }
  #fix_menu .fix_wrap .menu > li button { font-size: 16px; padding: 0 15px; }
  #fix_menu .fix_wrap .menu > li div ul li a { font-size: 16px; height: 60px; padding: 0 15px; }
}
@media screen and (max-width: 1024px) {
  #top_nav, #hd_btns { display: none; }
  #logo a img { width: auto; max-height: 35px; }
  #header .header-inner { justify-content: center; padding: 0 20px; }
  #header_wrap { position: fixed; height: 60px; }
  #header { height: 60px; }
  .scrolled #header_wrap { background-color: #fff; border-bottom-color: #ddd; }
  #header_wrap .hidden_nav { display: none !important; }

  #open-button { display: block; position: fixed; top: 0; right: 20px; z-index: 101; padding-top: 21px; cursor: pointer; transition: .3s ease-out; }
  #open-button .navicon-line { position: absolute; top: -10px; right: 0; width: 25px; height: 2px; border-radius: 1px; margin: 0; padding: 0;
    background: #000; opacity: 0; pointer-events: none; transform: rotate(225deg); transition: opacity .2s ease; }
  #open-button .nl1 { transform: rotate(135deg); }
  #open-button.on .navicon-line { opacity: 1; pointer-events: auto; }

  .sub_visual { width: 100%; height: 400px; margin: 0; padding-bottom: 50px; border-radius: 0; text-align: center; }
  .sub_visual .title_warp { padding: 0 30px; top: 15px; }
  .sub_visual h2 { font-size: 50px; }
  .sub_visual .sm_menu li { font-size: 14px; }
  #sub_top_menu { bottom: 40px; }
  #sub_top_menu ul { padding: 0 30px; }
  #sub_top_menu ul li a { font-size: 16px; padding: 0 0 15px; }
  #fix_menu.fixed { display: none; }

  footer { width: 100%; margin: 0; border-radius: 0; text-align: center; }
  footer .pc { display: none; }
  footer .mob { display: block; }
  .footer_con { padding: 70px 30px; }
  .footer_con > div { flex-direction: column; align-items: center; }
  .footer_con .top { margin-bottom: 40px; padding-bottom: 40px; }
  .footer_con .top h2 { margin: 0 0 20px; font-size: 22px; }
  .footer_con .btm { display: block; }
  .ft_copy, .footer_con .btm span { font-size: 14px; line-height: 1.65; }
  .footer_con .btm span { margin: 10px 0 0; }
  .footer_con .logo { margin: 0; }
  .footer_con .logo img { height: 40px; }
  .footer_con .logo_list { justify-content: center; margin: 30px 0 0; }
}
@media screen and (max-width: 640px) {
  .sub_visual { height: 250px; padding: 0; }
  .sub_visual .title_warp { padding: 0 20px; }
  .sub_visual h2 { font-size: 40px; }
  .sub_visual .sm_menu { margin-bottom: 10px; }
  .sub_visual .sm_menu li { font-size: 13px; }
  .sub_visual .sm_menu li a { font-size: 15px; }
  #sub_top_menu { display: none; }

  .footer_con { padding: 50px 20px; }
  .footer_con .top { margin-bottom: 30px; padding-bottom: 30px; }
  .footer_con .top h2 { font-size: 18px; }
  .ft_copy, .footer_con .btm span { font-size: 13px; }
  .footer_con .logo_list { flex-wrap: wrap; }
  .footer_con .logo_list > li + li { margin-left: 0; }
  .footer_con .logo_list > li { width: 33.3%; padding: 0 10px; }
  .footer_con .logo_list > li:nth-child(n+4) { margin-top: 20px; }
}
