@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+KR:wght@300;400;500;700&display=swap');
*{margin:0;padding:0;box-sizing:border-box}
body{font-family:'Noto Sans KR',sans-serif;font-size:14px;color:#222;background:#fff}
a{color:inherit;text-decoration:none}
ul{list-style:none}
img{max-width:100%;display:block;border:0}

/* header */
header{position:fixed;top:0;left:0;right:0;height:100px;background:#fff;z-index:999;border-bottom:1px solid #eee}
header.main{background:rgba(255,255,255,.95)}
.gnb-area{max-width:1600px;margin:0 auto;height:100%;display:flex;align-items:center;padding:0 40px;position:relative}
.logo a{display:block;width:200px;height:42px;background:url(https://ulsan-honorsville.co.kr/images/logo1.png?2) no-repeat left center/contain;text-indent:-9999px;overflow:hidden}
.gnb{flex:1;display:flex;justify-content:center}
.gnb ul{display:flex;gap:46px}
.gnb a{white-space:nowrap;font-size:15px;font-weight:500;color:#111;position:relative;padding:12px 0;display:block}
.gnb a:after{content:'';position:absolute;left:50%;bottom:4px;width:0;height:2px;background:#012640;transition:.3s}
.gnb a:hover:after,.gnb a.on:after{left:0;width:100%}
.gnb a.on{color:#012640;font-weight:700}
.head_tel{display:flex;align-items:center;gap:10px;font-size:22px;font-weight:700;color:#0f2244;white-space:nowrap}
.head_tel img{width:40px;height:40px}
.m-menu{display:none;background:none;border:0;width:36px;height:36px;cursor:pointer;margin-left:12px}
.m-menu span{display:block;height:2px;background:#012640;margin:7px 0}

/* main visual */
.main_visual{position:relative;height:100vh;min-height:600px;margin-top:0;overflow:hidden;background:#002037}
.main_visual .bg{position:absolute;inset:0;background:url(https://ulsan-honorsville.co.kr/images/main_visual1.jpg?2) center/cover;animation:zoom 12s ease-out forwards}
@keyframes zoom{from{transform:scale(1.12)}to{transform:scale(1)}}
.main_visual .layer{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;opacity:0;animation:fadein 1.2s ease forwards}
@keyframes fadein{to{opacity:1}}

/* sub */
.sub_visual_box{height:280px;background:#002037;margin-top:100px}
.sub_home{border-bottom:1px solid #ddd}
.home_size{max-width:1400px;margin:0 auto;height:52px;display:flex;align-items:center;padding:0 20px;font-size:13px;color:#161616}
.home_size .home a{display:block;width:52px;height:52px;background:url(https://ulsan-honorsville.co.kr/images/home_icon01.png) no-repeat center;border-right:1px solid #ddd;border-left:1px solid #ddd}
.home_size .t1{position:relative;padding:0 50px 0 20px;height:52px;line-height:52px;border-right:1px solid #ddd;cursor:pointer;min-width:200px}
.home_size .t1:after{content:'›';position:absolute;right:18px;font-size:18px}
.home_size .t1 ul{display:none;position:absolute;top:52px;left:0;right:0;background:#fff;border:1px solid #ddd;z-index:5}
.home_size .t1:hover ul{display:block}
.home_size .t1 ul a{display:block;padding:0 20px;line-height:40px}
.home_size .t1 ul a:hover{background:#012640;color:#fff}
.sub_title{max-width:1400px;margin:70px auto 40px;padding:0 20px;position:relative;height:40px}
.sub_title:before{content:'';position:absolute;left:20px;right:20px;top:50%;height:1px;background:#012640}
.sub_title .title{position:absolute;left:20px;background:#fff;padding-right:20px;font-size:40px;line-height:40px;color:#012640;letter-spacing:12px;text-transform:uppercase;font-weight:300}
.sub_content{max-width:1400px;margin:0 auto 100px;padding:0 20px}
.sub_content img{width:100%}

.unit01_tab{margin:0 auto 30px;display:grid;gap:12px}
.unit01_tab li{background:#fff;border:2px solid #012640;font-size:22px;color:#012640;line-height:60px;text-align:center;cursor:pointer}
.unit01_tab li.on{background:#012640;color:#fff}
.unit-tab{display:none}.unit-tab.on{display:block}

/* register */
.register_con .title{font-size:20px;font-weight:700;color:#012640;margin:40px 0 14px}
.register_con .box{border:1px solid #ccc;padding:20px;height:220px;overflow-y:auto;line-height:1.8;color:#555;background:#fafafa}
.register_con p{line-height:1.9;color:#555}
.con1{margin-top:40px;border-top:2px solid #012640}
.con1 dl{display:flex;border-bottom:1px solid #ddd}
.con1 dt{width:200px;background:#f4f6f8;padding:20px;font-weight:700;color:#012640}
.con1 dt em{color:#d33;font-style:normal;margin-left:4px}
.con1 dd{flex:1;padding:12px 20px;display:flex;align-items:center;gap:8px;flex-wrap:wrap}
.con1 input,.con1 select{height:44px;border:1px solid #bbb;padding:0 12px;font-size:15px;font-family:inherit}
.register_input1{width:260px;max-width:100%}
.register_input2{width:100px}
.register_select1{width:100px}
.register_btn ul{display:flex;justify-content:center;gap:12px;margin-top:50px}
.register_btn button,.register_btn a{display:block;width:200px;height:60px;line-height:60px;text-align:center;font-size:18px;border:0;cursor:pointer;font-family:inherit}
.register_btn .ok button{background:#012640;color:#fff}
.register_btn .no a{background:#888;color:#fff}
.register_btn button:disabled{opacity:.6;cursor:wait}

/* footer */
#footer{background:#0d1020;color:#9a9ca8;padding:60px 40px;display:flex;justify-content:space-between;gap:40px;flex-wrap:wrap}
#footer .foot_logo img{width:181px;margin-bottom:24px}
#footer .t1{color:#ddd;margin-bottom:14px;line-height:1.7}
#footer .t2{font-size:13px;line-height:1.8}
#footer .foot-right{display:flex;gap:50px}
#footer dt{color:#fff;font-weight:700;margin-bottom:12px}
#footer dd{font-size:28px;color:#fff;font-weight:700}

/* quick */
.quick{position:fixed;right:20px;bottom:30px;z-index:900;display:flex;flex-direction:column;gap:10px}
.quick a{width:84px;height:84px;border-radius:50%;background:#012640;color:#fff;display:flex;flex-direction:column;align-items:center;justify-content:center;font-size:13px;font-weight:500;box-shadow:0 4px 14px rgba(0,0,0,.25);text-align:center;line-height:1.3}
.quick a.reg{background:#c8a464}

/* popup */
.pop-wrap{position:fixed;top:120px;left:50%;transform:translateX(-50%);z-index:1000;display:flex;gap:10px}
.pop{background:#fff;box-shadow:0 6px 30px rgba(0,0,0,.4);width:350px}
.pop .bar{display:flex;justify-content:space-between;background:#111;color:#fff;font-size:12px;padding:8px 10px}
.pop .bar button{background:none;border:0;color:#fff;cursor:pointer;font-size:12px}
.mbar{display:none}

.m_visual,.pop-dim{display:none}

@media (max-width:1400px){
  .gnb ul{gap:22px}
  .gnb a{font-size:14px}
}

/* ===== 태블릿 이하: 햄버거 메뉴 ===== */
@media (max-width:1150px){
  header{height:64px}
  .gnb-area{padding:0 16px}
  .logo a{width:150px;height:32px}
  .head_tel{margin-left:auto;font-size:16px}
  .head_tel img{width:28px;height:28px}
  .m-menu{display:block;position:relative;z-index:2}
  .m-menu span{transition:.25s}
  body.menu-open .m-menu span:nth-child(1){transform:translateY(9px) rotate(45deg)}
  body.menu-open .m-menu span:nth-child(2){opacity:0}
  body.menu-open .m-menu span:nth-child(3){transform:translateY(-9px) rotate(-45deg)}
  .gnb{display:block;position:fixed;top:64px;left:0;right:0;bottom:0;background:#0f2244;overflow:auto;
       transform:translateX(-100%);opacity:0;transition:.25s;padding:24px 10% 80px}
  body.menu-open .gnb{transform:none;opacity:1}
  body.menu-open{overflow:hidden}
  .gnb ul{flex-direction:column;gap:0}
  .gnb a{color:#fff;font-size:18px;text-align:center;padding:18px 0;border-top:1px solid #3f4e69}
  .gnb li:first-child a{border-top:0}
  .gnb a:after{display:none}
  .gnb a.on{color:#c8a464}
  .sub_visual_box{margin-top:64px;height:140px}
  .sub_title .title{font-size:26px;letter-spacing:6px}
  .sub_title{margin:40px auto 24px}
  .unit01_tab li{font-size:16px;line-height:46px}
  .quick{display:none}
  .mbar{display:flex;position:fixed;left:0;right:0;bottom:0;z-index:900;box-shadow:0 -2px 10px rgba(0,0,0,.2);padding-bottom:env(safe-area-inset-bottom);background:#012640}
  .mbar a{flex:1;height:56px;display:flex;align-items:center;justify-content:center;color:#fff;font-size:16px;font-weight:700;background:#012640}
  .mbar a.reg{background:#c8a464}
  body{padding-bottom:56px}
  #footer{padding:40px 20px}
  .main_visual{height:70vh;min-height:420px;margin-top:64px}
}

/* ===== 모바일 ===== */
@media (max-width:768px){
  header{height:56px}
  .gnb-area{padding:0 4% 0 5%}
  .logo a{width:128px;height:28px}
  .head_tel{font-size:13px;color:#fff;background:#0f2244;border-radius:16px;padding:0 12px;height:32px;gap:4px}
  .head_tel img{display:none}
  .head_tel:before{content:"\260E";font-size:15px}
  .m-menu{width:30px;margin-left:10px}
  .m-menu span{margin:6px 0}
  body.menu-open .m-menu span:nth-child(1){transform:translateY(8px) rotate(45deg)}
  body.menu-open .m-menu span:nth-child(3){transform:translateY(-8px) rotate(-45deg)}
  .gnb{top:56px}

  /* 메인 비주얼: 모바일 전용 이미지 */
  .main_visual{display:none}
  .m_visual{display:block;position:relative;margin-top:56px;width:100%;height:max(520px,min(calc(100vw * 1400 / 720),calc(100svh - 112px)));overflow:hidden;background:#002037}
  .m_visual .bg{position:absolute;inset:0;background:url(https://ulsan-honorsville.co.kr/images/m_main_visual1.jpg?2) center/cover;animation:zoom 6s ease-out forwards}
  .m_visual img{position:absolute;opacity:0}
  .m_visual .t1{left:0;top:9%;width:100%;animation:up 1.4s 1s ease-out forwards}
  .m_visual .t2{top:18%;width:23%;animation:fadein 1.2s ease-out forwards}
  .m_visual .t21{left:2.5%;animation-delay:1.5s}
  .m_visual .t22{left:26.5%;animation-delay:1.7s}
  .m_visual .t23{left:50.5%;animation-delay:1.9s}
  .m_visual .t24{left:74.5%;animation-delay:2.1s}
  .m_visual .t3{left:0;bottom:0;width:100%;animation:up 1.4s 2.5s ease-out forwards}
  .m_visual .note{position:absolute;left:4%;bottom:calc(100vw * 160 / 720 + 10px);font-size:11px;color:#fff;line-height:18px;padding:2px 6px;background:rgba(0,0,0,.55)}
  @keyframes up{from{opacity:0;transform:translateY(60px)}to{opacity:1;transform:none}}

  /* 팝업 */
  .pop-dim{display:block;position:fixed;inset:0;background:rgba(0,0,0,.6);z-index:999}
  .pop-dim.hide{display:none}
  .pop-wrap{top:72px;bottom:72px;left:0;right:0;transform:none;flex-direction:column;align-items:center;overflow:auto;gap:12px;padding-bottom:12px}
  .pop{width:min(320px,86vw);flex-shrink:0}

  /* 서브 */
  .sub_visual_box{margin-top:56px;height:90px;background:#002037 linear-gradient(135deg,#0f2244,#002037)}
  .home_size{padding:0;height:46px}
  .home_size .home a{width:46px;height:46px;border-left:0}
  .home_size .t1{flex:1;height:46px;line-height:46px;font-size:14px;font-weight:500}
  .home_size .t1 ul{top:46px}
  .home_size .t1 ul a{line-height:44px;font-size:14px}
  .sub_title{margin:28px auto 18px;height:30px;padding:0 4%}
  .sub_title:before{left:4%;right:4%}
  .sub_title .title{left:4%;font-size:22px;line-height:30px;letter-spacing:5px;padding-right:12px}
  .sub_content{padding:0;margin-bottom:40px}
  .unit01_tab{gap:6px !important;padding:0 4%;margin-bottom:16px}
  .unit01_tab li{font-size:14px;line-height:42px;border-width:1px}

  /* 관심고객등록 */
  .register_con{padding:0 4%}
  .register_con .title{font-size:17px;margin:20px 0 10px}
  .register_con .box{height:180px;padding:14px;font-size:13px}
  .register_con p{font-size:13px;line-height:1.7}
  .con1{margin-top:24px}
  .con1 dl{flex-direction:column}
  .con1 dt{width:100%;padding:10px 14px;font-size:14px}
  .con1 dd{padding:10px 0;flex-wrap:nowrap;gap:6px}
  .con1 input,.con1 select{font-size:16px;height:48px;padding:0 10px;min-width:0}
  .register_input1{width:100%}
  .register_select1{width:84px;flex:none}
  .register_input2{flex:1;width:auto}
  .register_btn{padding:0 4%}
  .register_btn ul{margin-top:28px;gap:8px}
  .register_btn li{flex:1}
  .register_btn button,.register_btn a{width:100%;height:54px;line-height:54px;font-size:17px}

  /* 푸터 */
  #footer{flex-direction:column;gap:24px;padding:32px 5%}
  #footer .foot_logo img{width:140px;margin-bottom:16px}
  #footer .t1{font-size:13px}
  #footer .t2{font-size:12px;line-height:1.7;word-break:keep-all}
  #footer .foot-right{gap:28px}
  #footer dd{font-size:22px}
}

/* 관심고객 등록 완료 안내 */
.reg_done{max-width:560px;margin:40px auto;text-align:center;border:2px solid #012640;padding:40px 24px;background:#fff}
.reg_done h3{font-size:24px;color:#012640;margin-bottom:14px}
.reg_done p{font-size:16px;line-height:1.8;color:#444;margin-bottom:24px}
.reg_done a{display:inline-block;min-width:180px;height:54px;line-height:54px;margin:4px;font-size:17px;font-weight:700}
.reg_done .call{background:#012640;color:#fff}
.reg_done .home{background:#eee;color:#333}
@media (max-width:768px){.reg_done{margin:20px 4%;padding:28px 16px}.reg_done h3{font-size:20px}.reg_done a{display:block;margin:8px 0}}

/* 관심고객등록 페이지: 모바일 하단 전화/등록 바 숨김 */
@media (max-width:1150px){
  body.page-register .mbar{display:none}
  body.page-register{padding-bottom:0}
}
