@charset "utf-8";
@import url('font/fs_font.css');/* 내부 폰트적용시 */

/***********************/
/* 커스텀하여 사용권장
 직접커스텀 : https://matthewlein.com/tools/ceaser
 이징 참고표 : https://easings.net/ko
*/
/* a { transition: all 0.4s ease;} */
a:is(.on,:hover,:active,:focus) { text-decoration: none;}
/***********************/

/* 헤더영역 */
#fs_header { background: var(--white); height: 22.5rem; display: flex; align-items: center; position: fixed; top: 0; left: 0; width: 100%; z-index: 500; transition: height 0.4s cubic-bezier(0.22, 1, 0.36, 1), background 0.4s ease, border-bottom 0.4s ease; will-change: transform, height; }
#fs_header.scroll { height: 9.5rem; border-bottom: 1px solid #cdcdcd; background: rgba(255,255,255,0.98); }
/* 상단 */
.fs_head { width: 100%; max-width: 160rem; margin: 0 auto; display: flex; justify-content: space-between; align-items: center; gap:7.5rem; }
.fs_head h1 img { height: 4.6rem; }

/* 헤더메뉴 */
.fs_top_menu { margin-left:auto; }
.fs_top_menu .lnb { display: flex; gap: 4.5rem; }
.fs_top_menu .lnb > li { position: relative; padding: 1.5rem 0; }
.fs_top_menu .lnb > li > h2 > a { display: block; font-size: 1.8rem; font-weight: 700; color: var(--primary); }
.fs_top_menu .lnb:hover > li > h2 > a { color: #949494; }
.fs_top_menu .lnb > li > h2 > a:is(:hover,:active,:focus),
.fs_top_menu .lnb > li:hover > h2 > a { color: var(--primary); }
.fs_top_menu .lnb > li > h2 > a:is(.on) { text-decoration: underline; text-underline-position:under; }

/* 2뎁스 메뉴 */
.fs_top_menu .lnb > li .lnb_layer01 { opacity: 0; visibility: hidden; position: absolute; top: 100%; left: 50%; z-index: 1000; transform: translate(-40%, 1.5rem); background: var(--white); border: 1px solid #cdcdcd; padding: 1.5rem 0; min-width: 15.8rem; border-radius: 1rem; transition: all 0.3s ease; }
.fs_top_menu .lnb > li:is(.on,:hover,:active,:focus) .lnb_layer01 { opacity: 1; visibility: visible; transform: translate(-40%, 0); }
.fs_top_menu .lnb > li .lnb_layer01 li a { display: block; padding: 0.6rem 3rem; font-size: 1.7rem; color: #666; }
.fs_top_menu .lnb > li .lnb_layer01 li a:is(.on,:hover,:active,:focus) { color: var(--primary); font-weight: 700; }

/* 글로벌 */
.global_box { display: flex; align-items: center; gap: 2.6rem; }
.global_box .sns_list { display: flex; gap: 1.5rem; align-items: center; }
.global_box .sns_list li a { display: block; position: relative; }
.global_box .sns_list i { font-size: 3.2rem; color: #333; transition: all 0.3s ease; display: block; }
.global_box .sns_list li:nth-child(2) i { font-size: 2.6rem; margin-top: 2px; }
.global_box .sns_list li a:hover i { color: var(--primary); }

/* SNS 아이콘 호버 말풍선(툴팁) 효과 */
.global_box .sns_list li a::before { content: attr(data-name); position: absolute; bottom: 100%; left: 50%; transform: translateX(-50%) translateY(10px); background: #333; color: var(--white); font-size: 1.2rem; font-weight: 500; padding: 0.5rem 1rem; border-radius: 5px; white-space: nowrap; opacity: 0; visibility: hidden; transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55); pointer-events: none; z-index: 10; }
.global_box .sns_list li a::after { content: ''; position: absolute; bottom: calc(100% - 4px); left: 50%; transform: translateX(-50%) translateY(10px); border-width: 5px 5px 0 5px; border-style: solid; border-color: #333 transparent transparent transparent; opacity: 0; visibility: hidden; transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55); pointer-events: none; z-index: 10; }
.global_box .sns_list li:nth-child(2) a::before { bottom: 110%; }
.global_box .sns_list li:nth-child(2) a::after { bottom: calc(110% - 4px); }


.global_box .sns_list li a:hover::before,
.global_box .sns_list li a:hover::after { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); }
.global_box .mbtn_box .menu_open { display: block; width: 2.5rem; height: 1.8rem; position: relative; cursor: pointer; transition: transform 0.4s ease; }
.global_box .mbtn_box .menu_open .line { display: block; position: absolute; left: 0; width: 100%; height: 5px; background: var(--primary); border-radius: 50px; transition: all 0.4s ease; }
.global_box .mbtn_box .menu_open .line:nth-child(1) { top: 0; }
.global_box .mbtn_box .menu_open .line:nth-child(2) { bottom: 0; }
.global_box .mbtn_box .menu_open.on { transform: rotate(180deg); }
.global_box .mbtn_box .menu_open.on .line:nth-child(1) { top: 50%; transform: translateY(-50%) rotate(45deg); }
.global_box .mbtn_box .menu_open.on .line:nth-child(2) { bottom: 50%; transform: translateY(50%) rotate(-45deg); }

/* 메인 레이아웃 */
#fs_wrap { position: relative; }
#fs_container_wrap { min-height: 60rem; position: relative; z-index: 10; background: var(--white); border-bottom: 1px solid #cdcdcd; }
.fs_snb_contents { padding-bottom: 13rem; }
.fs_snb_contents_box { max-width: 160rem; margin: 0 auto; }

/* 로케이션 */
.con_header .location { position: relative; z-index: 1; border-bottom: none; margin-bottom: 10rem; padding-bottom: 2.5rem; }
.con_header .location .loc_line { position: absolute; bottom: 0; left: 50%; z-index: -1; transform: translateX(-50%); width: 0%; height: 1px; background: #cdcdcd; }
.location_box { display: flex; align-items: center; }
.location_box .home { display: flex; align-items: center; justify-content: flex-start; width: 10rem; height: 5rem; }
.location_box .home img { border-right: 1px solid #cdcdcd; padding-right: 2rem; }
.location_box .loc_depth { height: 5rem; display: flex; align-items: center; position: relative; cursor: pointer; }
.location_box .loc_depth a { min-width: 19.2rem; padding: 0 1.5rem; height: 100%; font-size: 2rem; color: #7c7c7c; display: flex; align-items: center; justify-content: space-between; gap: 0.5rem; font-weight: 400;; }
.location_box .loc_depth .navi_ov { color: var(--primary); }

/* 로케이션 드롭다운 */
.location_box .loc_depth .loc_list { opacity: 0; visibility: hidden; position: absolute; top: 100%; left: 0; min-width: 15.5rem; background: var(--white); border: 1px solid #cdcdcd; z-index: 500; padding: 1.5rem 0; border-radius: 1rem; transform: translateY(1.5rem); transition: all 0.3s ease; }
.location_box .loc_depth.on .loc_list { opacity: 1; visibility: visible; transform: translateY(0); }
.location_box .loc_depth .loc_list li a { display: block; padding: 0.6rem 2rem; font-size: 1.7rem; color: #333; }
.location_box .loc_depth .loc_list li a:is(.on,:hover,:active,:focus) { font-weight: 700; }

/* 로케이션 드롭다운 다크타입 */
.location_box .loc_depth .loc_list.dark { background: #949494; border: none; }
.location_box .loc_depth .loc_list.dark li a { color: var(--white); }
.location_box .loc_depth .loc_list.dark li a:is(.on,:hover,:active,:focus) { font-weight: 700; }

/* 타이틀 */
.con_header h3 { display: none; font-size: 7.5rem; font-weight: 900; color: #949494; text-transform: uppercase; margin-bottom: 10rem; line-height: 1; }

/* 실컨텐츠영역 */
.con_body { padding: 0; }
.placeholder_box { background: #e5e5e5; height: 80rem; border-radius: 4rem; }

/* 푸터영역 */
#fs_footer { padding: 6rem 0; background: var(--white); position: fixed; left: 0; bottom: 0; width: 100%; z-index: 1; }
.fs_footer_box { max-width: 160rem; margin: 0 auto; }
.foot_logo img { height: 5.6rem; margin-bottom: 6rem; }
.foot_info { display: flex; justify-content: space-between; gap: 4rem; }
.info_group { display: flex; flex-direction: column; gap: 2.5rem; flex-grow:1; }
.foot_info .title { font-size: 1.7rem; font-weight: 800; color: var(--primary); }
.info_list { display: flex; flex-direction: column; gap: 0.4rem; }
.info_list .office { display: flex; flex-wrap: wrap; }
.info_list .office ul { display: flex; flex-wrap: wrap; flex-grow: 1; }
.info_list .office ul li { margin-right:1.5rem; }
.office .name { margin-right:2rem; font-size: 1.5rem; font-weight: 500; color:var(--primary); }
.office ul li { font-size: 1.5rem; font-weight: 500; color:#666; display: flex; align-items: flex-start; gap: 0.5rem; }
.office ul li:first-child { flex-basis: 34rem; }
.office ul li i { margin-top:2px; font-size: 1.9rem; color: #b3b5b3; }

.quick_links { display: flex; flex-direction: column; gap: 2.5rem; }
.quick_links ul { display: flex; gap: 3rem; }
.quick_links ul li a { font-size: 1.5rem; color: #666; font-weight: 500; }

/* 롤링 텍스트 공통 모션 */
.roll_text_link { display: inline-flex; position: relative; overflow: hidden; vertical-align: top; }
.roll_text_link .txt_wrap { display: flex; }
.roll_text_link .txt_wrap span { display: inline-block; transition: transform 0.4s cubic-bezier(0.5, 0, 0, 1); min-width: 0.4rem; }
.roll_text_link .txt_wrap.clone { position: absolute; left: 0; top: 100%; color: var(--primary); }

.location_box .loc_depth a.roll_text_link .txt_wrap.clone { left: 1.5rem; }

/* 호버 시 롤링 발동 */
.roll_text_link:hover .txt_wrap span { transform: translateY(-100%); }

/* 서브메뉴(클릭) 열릴 때 부모 카테고리도 롤링 유지 */
li.on > h2 > .roll_text_link .txt_wrap span,
.loc_depth.on > .roll_text_link .txt_wrap span,
.loc_depth.on > h2 > .roll_text_link .txt_wrap span,
.loc_depth.on > h3 > .roll_text_link .txt_wrap span { transform: translateY(-100%); }



.foot_bottom { margin-top: 2.8rem; padding-top: 2.8rem; border-top:1px solid #e5e5e5; }
.foot_bottom .copyright { font-size: 1.5rem; font-weight: 500; color: var(--primary); }

/* 모바일 메뉴 */
.fs_mtop_menu { position: fixed; top: 0; left: 0; width: 100%; height: 100%; z-index: 2000; opacity: 0; visibility: hidden; transition: all 0.4s ease-in-out; display: flex; align-items: center; justify-content: flex-end; perspective: 1000px; }
.fs_mtop_menu.on { opacity: 1; visibility: visible; }
.fs_mtop_menu .mtop_box { position: relative; width: 50%; height: 100%; background: var(--white); backdrop-filter: blur(5px); -webkit-backdrop-filter: blur(5px); z-index: 2; padding: 4rem; display: flex; flex-direction: column; overflow-y: auto; transform: rotateY(-20deg) scale(0.90); opacity: 0; transition: all 0.6s cubic-bezier(0.22, 1, 0.36, 1); transform-origin: center center; }
.fs_mtop_menu.on .mtop_box { transform: rotateY(0deg) scale(1); opacity: 1; }
.fs_mtop_menu .mtop_header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 4rem; flex-shrink: 0; }
.fs_mtop_menu .mtop_logo img { height: 3.4rem; }
.fs_mtop_menu .menu_close i { font-size: 4rem; color: var(--primary); }

.fs_mtop_menu .m_lnb > li { border-bottom: 1px solid #cdcdcd; }
.fs_mtop_menu .m_lnb > li > h2 > a { display: flex; justify-content: space-between; align-items: center; padding: 1.5rem 0; font-size: 1.8rem; font-weight: 700; color: #333; }
.fs_mtop_menu .m_lnb > li > h2 > a:hover { text-decoration: underline; }
.fs_mtop_menu .m_lnb_layer01 { display: none; background: #f9f9f9; padding: 1rem 0; }
.fs_mtop_menu .m_lnb_layer01 li a { display: block; padding: 1rem 2rem; font-size: 1.5rem; color: #666; }
.fs_mtop_menu .m_lnb_layer01 li a:hover { text-decoration: underline; }

.fs_mtop_menu .mtop_footer { margin-top: auto; }
.fs_mtop_menu .m_sns { display: flex; gap: 2rem; align-items: center; }
.fs_mtop_menu .m_sns li a { display: block; position: relative; transition: all 0.3s cubic-bezier(0.5, 0, 0, 1); }
.fs_mtop_menu .m_sns i { font-size: 2.8rem; color: #333; transition: all 0.3s ease; display: block; }
.fs_mtop_menu .m_sns li:nth-child(2) i { font-size: 2.4rem; margin-top: 2px; }
.fs_mtop_menu .m_sns li a:hover i { color: var(--primary); }

/* 모바일 메뉴 SNS 아이콘 호버 말풍선(툴팁) 효과 */
.fs_mtop_menu .m_sns li a::before { content: attr(data-name); position: absolute; bottom: 100%; left: 50%; transform: translateX(-50%) translateY(10px); background: #333; color: var(--white); font-size: 1.2rem; font-weight: 500; padding: 0.5rem 1rem; border-radius: 5px; white-space: nowrap; opacity: 0; visibility: hidden; transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55); pointer-events: none; z-index: 10; }
.fs_mtop_menu .m_sns li a::after { content: ''; position: absolute; bottom: calc(100% - 4px); left: 50%; transform: translateX(-50%) translateY(10px); border-width: 5px 5px 0 5px; border-style: solid; border-color: #333 transparent transparent transparent; opacity: 0; visibility: hidden; transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55); pointer-events: none; z-index: 10; }
.fs_mtop_menu .m_sns li:nth-child(2) a::before { bottom: 110%; }
.fs_mtop_menu .m_sns li:nth-child(2) a::after { bottom: calc(110% - 4px); }

.fs_mtop_menu .m_sns li a:hover::before,
.fs_mtop_menu .m_sns li a:hover::after { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); }

.fs_mtop_menu .mtop_dim { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.5); z-index: 1; opacity: 0; transition: opacity 0.4s ease; pointer-events: none; }
.fs_mtop_menu.on .mtop_dim { opacity: 1; pointer-events: auto; }

/*맨위로*/
.btn_top { position: fixed; right: 4rem; bottom: 2rem; width: 7.1rem; height: 7.1rem; background: var(--primary); color: var(--white); display: flex; align-items: center; justify-content: center; border-radius: 50%; font-size: 2.4rem; z-index: 100; opacity: 0; visibility: hidden; transform: translateY(2rem); transition: all 0.4s ease; }
.btn_top.show { opacity: 1; visibility: visible; transform: translateY(0); }
.btn_top::before { content: ""; position: absolute; top: 40%; left: 47%; width: 2rem; height: 3.3px; background: var(--white); border-radius: 50px; transform-origin: right center; transform: translate(-50%, -50%) rotate(0deg) scaleX(0); transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275) 0.1s; }
.btn_top::after { content: ""; position: absolute; top: 40%; left: 53%; width: 2rem; height: 3.3px; background: var(--white); border-radius: 50px; transform-origin: left center; transform: translate(-50%, -50%) rotate(0deg) scaleX(0); transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275) 0.1s; }
.btn_top.show::before { transform: translate(-85%, -50%) rotate(-45deg) scaleX(1); }
.btn_top.show::after { transform: translate(-15%, -50%) rotate(45deg) scaleX(1); }

@media only screen and (max-width:1679px) {
    .fs_head { max-width: 172rem; padding:0 4rem; }
    .fs_snb_contents_box { max-width: 172rem; padding:0 4rem; }
    .fs_footer_box { max-width: 172rem; padding:0 4rem; }
}
@media only screen and (max-width:1199px) {
    .fs_head h1 img { height: 3.4rem; }
    .info_group { flex-direction: column; gap: 3rem; }
}
@media only screen and (max-width:1023px) {
    #fs_header { height: 12.5rem; }
    .fs_head { padding: 0 2rem; }
    .fs_head h1 img { height: 4.6rem; }
    .fs_top_menu { display: none; }

    .global_box .mbtn_box .menu_open { width: 3.5rem; height: 2.2rem; }

    .global_box .sns_list { display: none; }
    .global_box .sns_list li:nth-child(2) i { margin-top:4px; }

    .con_header h3 { display: block; font-size: 4rem; margin-bottom:4rem; }
    .con_header .location { margin-bottom: 4rem; }

    .fs_snb_contents_box { padding: 0 2rem; }

    .fs_footer_box { padding: 0 2rem; }
    .foot_logo img {margin-bottom: 3rem;}

    .info_group { gap: 1rem; }
    .foot_info { flex-direction: column; gap: 4.5rem; }
    .info_list { gap: 0.8rem; }

    .quick_links { gap: 1rem; }

    .btn_top { right: 2rem; }
}
@media only screen and (max-width:767px) {

    .fs_mtop_menu .mtop_box { width: 80%;}
    .fs_mtop_menu .m_lnb > li > h2 > a { font-size: 2rem; }
    .fs_mtop_menu .m_lnb_layer01 li a { font-size: 1.8rem; }
    .fs_mtop_menu .menu_close i { font-size: 4.5rem; margin-right:-1rem; }
    .fs_mtop_menu .mtop_header { margin-bottom: 2rem; }
    .fs_mtop_menu .mtop_box { padding: 3rem 3.5rem; }
    .fs_mtop_menu .mtop_logo img { height: 4rem; }

    .global_box .sns_list li:nth-child(2) i { margin-top:3px; }

    .info_list { flex-direction: column; }
    .placeholder_box { border-radius: 2rem; height: 65rem; }
}
@media only screen and (max-width:479px) {
    .fs_mtop_menu .mtop_box { width: 100%;}

    .location_box .home { width: auto; }

    .location_box .loc_depth { flex-grow: 1; }
    .location_box .loc_depth h2 { width: 100%; }
    .location_box .loc_depth a {min-width: auto;}
}
