@charset "UTF-8"; 
@import url("reset.css"); 

:root { 
 --color-brand: #D17B4B; 
 } 


/* ==============================
   Fixed Header
============================== */

.headerWrap {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100px;
    z-index: 900;
    border-bottom: 1px solid #efefef;
    box-sizing: border-box;
    overflow: visible;
    transition: transform 0.35s ease, background 0.25s ease, border-color 0.25s ease;
}


.headerWrap.header-hide {
    transform: translateY(-100%);
}

.headerWrap.header-show {
    transform: translateY(0);
}

.headerInner {
    position: relative;
    width: 100%;
    height: 100%;
    margin: 0 auto;
    display: flex;
    align-items: end;
    justify-content: center;
    box-sizing: border-box;
}

/* 로고 */
.logo {
    position: absolute;
    left: 110px;
    top: 60%;
    transform: translateY(-50%);
    margin: 0;
    padding: 0;
}



.logo a,
.logo img {
    display: block;
}

.logo img {
    height: 25px;
    width: auto;
}

.logo .m_logo {
    display: none;
}

/* GNB */
.gnbWrap {
    display: flex;
    height: fit-content;
    align-items: center;
    justify-content: center;
}

#gnb {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0;
    padding: 0;
    list-style: none;
    background-color: transparent;
}

#gnb > li {
    margin: 0;
    padding: 0;
    width: 115px;

}

#gnb > li > a {
    display: block;
    color: #fff;
    font-size: 18px;
    font-weight: 500;
    text-decoration: none;
    white-space: nowrap;
    text-align: center;
    padding: 9px 0 23px;
    
}

#gnb > li.active > a,
#gnb > li > a:hover {
    opacity: 0.8;
}

/* 전화번호 */
.headerWrap .tel {
    position: absolute;
    right: 110px;
    top: 60%;
    transform: translateY(-50%);
}

.headerWrap .tel a {
    display: block;
    color: #fff;
    font-size: 28px;
    font-weight: 700;
    text-decoration: none;
}


.sub_header .logo{top: 50%;}
.sub_header .headerInner{align-items: center;}
.sub_header #gnb > li > a{padding: 9px 0;}
.sub_header .tel{top: 50%;}


/* ==============================
   PC Mega Menu
============================== */

.megaMenu {
    position: absolute;
    left: 0;
    top: 100px;
    width: 100%;
    background: rgba(255, 255, 255, 0.98);
    border-bottom: 1px solid #e5e5e5;
    box-shadow: 0 14px 26px rgba(0, 0, 0, 0.08);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s ease;
    z-index: 899;
}

.megaMenu.on {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.megaInner {
    width: fit-content;
    margin: 0 auto;
    padding: 30px 0 36px;
    display: flex;
    box-sizing: border-box;
}

.megaCol {
    width: 115px;
    text-align: center;
}

.megaCol a {
    display: block;
    margin-bottom: 15px;
    color: #666;
    font-size: 15px;
    font-weight: 400;
    text-decoration: none;
}

.megaCol a:hover {
    color: #222;
    font-weight: 600;
}

/* ==============================
   Header 상태 변경
============================== */

.headerWrap.bg,
.headerWrap.hover,
.headerWrap.add-menu {
    background: #fff;
    border-bottom: 1px solid #ddd;
}

.headerWrap.bg::before,
.headerWrap.bg::after,
.headerWrap.hover::before,
.headerWrap.hover::after,
.headerWrap.add-menu::before,
.headerWrap.add-menu::after {
    display: none;
}

.headerWrap.bg #gnb > li > a,
.headerWrap.hover #gnb > li > a,
.headerWrap.add-menu #gnb > li > a,
.headerWrap.bg .tel a,
.headerWrap.hover .tel a,
.headerWrap.add-menu .tel a {
    color: #222;
}

/* ==============================
   Mobile Base
============================== */

.m_menu_btn,
.m_tel_btn,
.m_gnb,
.m_gnb_dim {
    display: none;
}


body.main_page {
    padding-top: 0;
}

body.main_page .main_visual {
    padding-top: 58px;
    box-sizing: border-box;
}

body.overflow {
    overflow: hidden;
}

/* ==============================
   Tablet
============================== */

@media (max-width: 1200px) {
    .headerInner {
        max-width: 100%;
        padding: 0 24px;
    }

    .logo {
        left: 24px;
    }

    .headerWrap .tel {
        right: 24px;
    }

    #gnb {
        gap: 24px;
    }

    #gnb > li > a {
        font-size: 12px;
    }

    .headerWrap .tel a {
        font-size: 18px;
    }

    .megaInner {
        max-width: 620px;
    }
}

/* ==============================
   Mobile Header
============================== */

@media (max-width: 768px) {
    body {
        padding-top: 58px;
    }

    body.main_page {
        padding-top: 0;
    }

    body.main_page .main_visual {
        padding-top: 58px;
    }

    .headerWrap {
        height: 58px;
        background: #fff;
        border-bottom: 1px solid #ddd;
    }

    .headerWrap::before,
    .headerWrap::after {
        display: none;
    }

    .headerInner {
        height: 58px;
        padding: 0 18px;
        justify-content: center;
        background: #fff;
    }

    .logo {
        position: static;
        transform: none;
    }

    .logo .pc_logo {
        display: none;
    }

    .logo .m_logo {
        display: block;
        height: 35px;
    }

    .gnbWrap,
    .headerWrap .tel,
    .megaMenu {
        display: none;
    }

    .m_menu_btn {
        display: flex;
        position: absolute;
        left: 18px;
        top: 50%;
        transform: translateY(-50%);
        width: 26px;
        height: 22px;
        border: 0;
        padding: 0;
        margin: 0;
        background: none;
        flex-direction: column;
        justify-content: space-between;
        cursor: pointer;
    }

    .m_menu_btn span {
        display: block;
        width: 100%;
        height: 2px;
        background: #222;
    }

    .m_tel_btn {
        display: block;
        position: absolute;
        right: 18px;
        top: 50%;
        transform: translateY(-50%);
        width: 28px;
        height: 28px;
        text-decoration: none;
    }

    .m_tel_btn::before {
        content: "☎";
        display: flex;
        align-items: center;
        justify-content: center;
        width: 28px;
        height: 28px;
        color: #222;
        font-size: 22px;
        font-weight: 700;
        line-height: 1;
    }

    /* 모바일 딤 */
    .m_gnb_dim {
        display: block;
        position: fixed;
        inset: 0;
        background: rgba(0, 0, 0, 0.45);
        z-index: 998;
        opacity: 0;
        visibility: hidden;
        transition: all 0.25s ease;
    }

    .m_gnb_dim.is-open {
        opacity: 1;
        visibility: visible;
    }

    /* 모바일 메뉴 */
    .m_gnb {
        display: block;
        position: fixed;
        top: 0;
        left: -82%;
        width: 82%;
        max-width: 340px;
        height: 100vh;
        background: #fff;
        z-index: 999;
        transition: left 0.3s ease;
        box-shadow: 8px 0 20px rgba(0, 0, 0, 0.15);
        overflow-y: auto;
    }

    .m_gnb.is-open {
        left: 0;
    }

    .m_gnb_top {
        position: relative;
        height: 68px;
        display: flex;
        align-items: center;
        padding: 0 22px;
        border-bottom: 1px solid #e5e5e5;
        box-sizing: border-box;
    }

    .m_gnb_top img {
        display: block;
        height: 34px;
        width: auto;
    }

    .m_menu_close {
        position: absolute;
        right: 18px;
        top: 50%;
        width: 26px;
        height: 26px;
        transform: translateY(-50%);
        border: 0;
        background: none;
        cursor: pointer;
    }

    .m_menu_close::before,
    .m_menu_close::after {
        content: "";
        position: absolute;
        left: 50%;
        top: 50%;
        width: 24px;
        height: 2px;
        background: #222;
    }

    .m_menu_close::before {
        transform: translate(-50%, -50%) rotate(45deg);
    }

    .m_menu_close::after {
        transform: translate(-50%, -50%) rotate(-45deg);
    }

    .m_menu {
        margin: 0;
        padding: 0;
        list-style: none;
    }

    .m_menu > li {
        border-bottom: 1px solid #eee;
    }

    .m_menu > li > a,
    .m_menu > li > button {
        display: flex;
        align-items: center;
        justify-content: space-between;
        width: 100%;
        min-height: 54px;
        padding: 0 22px;
        border: 0;
        background: #fff;
        color: #222;
        font-size: 16px;
        font-weight: 700;
        text-align: left;
        text-decoration: none;
        letter-spacing: -0.04em;
        box-sizing: border-box;
        cursor: pointer;
    }

    .m_menu > li.has_sub > button::after {
        content: "";
        width: 8px;
        height: 8px;
        border-right: 2px solid #222;
        border-bottom: 2px solid #222;
        transform: rotate(45deg);
        transition: transform 0.25s ease;
    }

    .m_menu > li.has_sub.is-open > button::after {
        transform: rotate(-135deg);
    }

    .m_depth2 {
        display: none;
        margin: 0;
        padding: 8px 0;
        list-style: none;
        background: #f7f7f7;
    }

    .m_menu > li.has_sub.is-open .m_depth2 {
        display: block;
    }

    .m_depth2 li a {
        display: block;
        padding: 11px 34px;
        color: #444;
        font-size: 14px;
        font-weight: 500;
        text-decoration: none;
        letter-spacing: -0.04em;
    }

    .m_depth2 li a:hover {
        color: #D17B4B;
    }

    .m_gnb_tel {
        padding: 24px 22px;
    }

    .m_gnb_tel a {
        display: flex;
        align-items: center;
        justify-content: center;
        height: 46px;
        border-radius: 4px;
        background: #D17B4B;
        color: #fff;
        font-size: 18px;
        font-weight: 800;
        text-decoration: none;
    }
}




/* 푸터 */
#footer {
    position: relative;
    background: #202020;
    color: #aaa;
    padding: 55px 0 45px;
}

.footer_inner {
    width: 100%;
    padding: 0 110px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 40px;
}

.footer_top {
    position: absolute;
    top: -26px;
    left: 50%;
    transform: translateX(-50%);
    width: 52px;
    height: 52px;  
    cursor: pointer;
    border: 0;
    z-index: 990;
}

.footer_logo {
    margin: 0 0 20px;
    height: 36px;
}
.footer_logo img{ height: 100%;}

.footer_info {
    margin: 0 0 15px;
    font-size: 14px;
    font-weight: 400;
    color: #E8E7E0;
    letter-spacing: -1px;
}

.footer_notice {
    margin: 0;
    padding: 0;
    list-style: none;
}

.footer_notice li {
    font-size: 14px;
    color: #E8E7E0;
    letter-spacing: -1px;
    font-weight: 400;
}

.footer_right {
    margin: 15px;
    text-align: right;
}

.footer_tel {
    display: block;
    font-size: 40px;
    font-weight: 700;
    letter-spacing: -1px;
    color: #fff;
}

.footer_addr {
    margin: 0 0 10px;
    font-size: 17px;
    font-weight: 400;
    color: #C9C9C9;
}
.footer_addr b {
    font-size: 17px;
    font-weight: 500;
    color: #fff;
}

.footer_company {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    height: 20px;
}
.footer_company img{height: 100%;}

/* ==============================
   Admin Floating Panel
============================== */

.admin_visit_floating {
    position: fixed;
    right: 24px;
    bottom: 24px;
    z-index: 9999;
    display: flex;
    align-items: center;
    gap: 18px;
    width: auto;
    min-width: 620px;
    padding: 12px 14px;
    background: rgba(18, 20, 24, 0.78);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 14px;
    color: #fff;
    font-size: 13px;
    line-height: 1.5;
    font-family: "Montserrat", sans-serif;
    overflow: hidden;
    backdrop-filter: blur(10px);
    transition: opacity 0.25s ease, visibility 0.25s ease, transform 0.25s ease;
}

.admin_visit_floating.is-hide {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(16px);
}

.admin_visit_floating * {
    box-sizing: border-box;
    font-family: "Montserrat", sans-serif;
}

.admin_visit_floating a {
    color: inherit;
    text-decoration: none;
}


/* ==============================
   Admin Quick Buttons
============================== */

.admin_quick_btns {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0;
    flex-shrink: 0;
}

.admin_quick_btn {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 170px;
    height: 42px;
    padding: 0 18px;
    background: #fff;
    color: #151515 !important;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 800;
    letter-spacing: -0.04em;
    text-decoration: none;
    transition: all 0.2s ease;
}

.admin_quick_btn:hover {
    background: #d8b36a;
    color: #fff !important;
}

.admin_logout_btn {
    min-width: 90px;
    background: rgba(255, 255, 255, 0.08);
    color: #fff !important;
    border: 1px solid rgba(255, 255, 255, 0.18);
}

.admin_logout_btn:hover {
    background: #b84a4a;
    color: #fff !important;
    border-color: #b84a4a;
}


/* ==============================
   Visit Layout
============================== */

/* ==============================
   Admin Quick Buttons
============================== */

.admin_quick_floating {
    position: fixed;
    right: 192px;
    bottom: 24px;
    z-index: 9999;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px;
    background: rgba(18, 20, 24, 0.78);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 14px;
    backdrop-filter: blur(10px);
    transition: opacity 0.25s ease, visibility 0.25s ease, transform 0.25s ease;
}

.admin_quick_floating.is-hide {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(16px);
}

.admin_quick_btn {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 170px;
    height: 42px;
    padding: 0 18px;
    background: #fff;
    color: #151515 !important;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 800;
    letter-spacing: -0.04em;
    text-decoration: none;
    transition: all 0.2s ease;
}

.admin_quick_btn:hover {
    background: #d8b36a;
    color: #fff !important;
}

.admin_logout_btn {
    min-width: 90px;
    background: rgba(255, 255, 255, 0.08);
    color: #fff !important;
    border: 1px solid rgba(255, 255, 255, 0.18);
}

.admin_logout_btn:hover {
    background: #b84a4a;
    color: #fff !important;
    border-color: #b84a4a;
}


/* ==============================
   Admin Visit Count
============================== */

.admin_visit_floating {
    position: fixed;
    right: 24px;
    bottom: 24px;
    z-index: 9999;
    width: 160px;
    min-width: 0;
    padding: 14px;
    background: rgba(18, 20, 24, 0.82);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 14px;
    color: #fff;
    font-size: 13px;
    line-height: 1.5;
    font-family: "Montserrat", sans-serif;
    overflow: hidden;
    backdrop-filter: blur(10px);
    transition: opacity 0.25s ease, visibility 0.25s ease, transform 0.25s ease;
}

.admin_visit_floating.is-hide {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(16px);
}

.admin_visit_floating * {
    box-sizing: border-box;
    font-family: "Montserrat", sans-serif;
}

.admin_visit_floating a {
    color: inherit;
    text-decoration: none;
}

.admin_visit_floating #visit {
    display: block;
}

/* 접속자집계 제목 */
.admin_visit_floating h2,
.admin_visit_floating h3,
.admin_visit_floating .visit_title,
.admin_visit_floating #visit h2,
.admin_visit_floating #visit h3 {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin: 0 0 12px;
    padding: 0 0 12px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    color: #fff;
    font-size: 14px;
    font-weight: 800;
    letter-spacing: -0.04em;
    white-space: nowrap;
}

.admin_visit_floating h2::after,
.admin_visit_floating h3::after,
.admin_visit_floating .visit_title::after,
.admin_visit_floating #visit h2::after,
.admin_visit_floating #visit h3::after {
    content: "ADMIN";
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 20px;
    padding: 0 8px;
    background: rgba(216, 179, 106, 0.16);
    border: 1px solid rgba(216, 179, 106, 0.35);
    border-radius: 999px;
    color: #d8b36a;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0;
}

/* 리스트형 대응 */
.admin_visit_floating ul,
.admin_visit_floating ol {
    display: block;
    margin: 0;
    padding: 0;
    list-style: none;
}

.admin_visit_floating li {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 29px;
    padding: 5px 0 5px 13px;
    color: rgba(255, 255, 255, 0.75);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: -0.03em;
    white-space: nowrap;
}

.admin_visit_floating li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    width: 5px;
    height: 5px;
    background: #d8b36a;
    border-radius: 50%;
    transform: translateY(-50%);
}

.admin_visit_floating li span,
.admin_visit_floating li a {
    color: rgba(255, 255, 255, 0.75);
}

.admin_visit_floating li strong,
.admin_visit_floating li b {
    margin-left: auto;
    color: #fff;
    font-size: 13px;
    font-weight: 800;
}

/* 테이블형 대응 */
.admin_visit_floating table {
    width: 100%;
    margin: 0;
    border-collapse: collapse;
}

.admin_visit_floating caption {
    display: none;
}

.admin_visit_floating tbody,
.admin_visit_floating tr {
    display: block;
}

.admin_visit_floating tr {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    min-height: 29px;
}

.admin_visit_floating th,
.admin_visit_floating td {
    height: 29px;
    padding: 5px 0;
    border: 0;
    background: transparent;
    font-size: 13px;
    letter-spacing: -0.03em;
    white-space: nowrap;
}

.admin_visit_floating th {
    position: relative;
    padding-left: 13px;
    text-align: left;
    color: rgba(255, 255, 255, 0.75);
    font-weight: 600;
}

.admin_visit_floating th::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    width: 5px;
    height: 5px;
    background: #d8b36a;
    border-radius: 50%;
    transform: translateY(-50%);
}

.admin_visit_floating td {
    text-align: right;
    color: #fff;
    font-weight: 800;
}

/* dl 구조 대응 */
.admin_visit_floating dl {
    display: grid;
    grid-template-columns: 1fr auto;
    row-gap: 6px;
    margin: 0;
}

.admin_visit_floating dt,
.admin_visit_floating dd {
    margin: 0;
    padding: 0;
    font-size: 13px;
    white-space: nowrap;
}

.admin_visit_floating dt {
    position: relative;
    padding-left: 13px;
    color: rgba(255, 255, 255, 0.75);
    font-weight: 600;
}

.admin_visit_floating dt::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    width: 5px;
    height: 5px;
    background: #d8b36a;
    border-radius: 50%;
    transform: translateY(-50%);
}

.admin_visit_floating dd {
    text-align: right;
    color: #fff;
    font-weight: 800;
}

#visit dt span {
    display: none !important;
}

/* 그누보드 기본 아이콘 숨김 */
.admin_visit_floating .visit_admin,
.admin_visit_floating .btn_admin,
.admin_visit_floating .fa-cog,
.admin_visit_floating i {
    display: none !important;
}

.admin_visit_floating .sound_only {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    border: 0 !important;
}


/* ==============================
   Responsive
============================== */

@media (max-width: 1024px) {
    .admin_quick_floating {
        right: 16px;
        bottom: 246px;
        display: flex;
        flex-direction: column;
        width: 230px;
    }

    .admin_quick_btn {
        width: 100%;
        min-width: 0;
    }

    .admin_visit_floating {
        right: 16px;
        bottom: 16px;
        display: block;
        width: 230px;
        min-width: 0;
        padding: 14px;
    }

    .admin_visit_floating #visit {
        display: block;
    }

    .admin_visit_floating h2,
    .admin_visit_floating h3,
    .admin_visit_floating .visit_title,
    .admin_visit_floating #visit h2,
    .admin_visit_floating #visit h3 {
        justify-content: space-between;
        margin: 0 0 12px;
        padding: 0 0 12px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }

    .admin_visit_floating ul,
    .admin_visit_floating ol,
    .admin_visit_floating dl,
    .admin_visit_floating tbody,
    .admin_visit_floating tr {
        display: block;
    }

    .admin_visit_floating li {
        justify-content: space-between;
        min-height: 29px;
        padding: 5px 0 5px 13px;
    }

    .admin_visit_floating table {
        width: 100%;
    }

    .admin_visit_floating th,
    .admin_visit_floating td {
        height: 29px;
        padding: 5px 0;
    }

    .admin_visit_floating th {
        padding-left: 13px;
    }

    .admin_visit_floating td {
        text-align: right;
    }

    .admin_visit_floating dl {
        display: grid;
        grid-template-columns: 1fr auto;
        row-gap: 6px;
    }

    .admin_visit_floating dt {
        padding-left: 13px;
    }

    .admin_visit_floating dd {
        margin-left: 0;
        text-align: right;
    }
}

@media (max-width: 768px) {
    .admin_quick_floating,
    .admin_visit_floating {
        display: none;
    }
}
#visit dt span{display: none !important;}

.admin_quick_btns {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 14px;
}

.admin_logout_btn {
    background: rgba(255, 255, 255, 0.08);
    color: #fff !important;
    border: 1px solid rgba(255, 255, 255, 0.16);
}

.admin_logout_btn:hover {
    background: #b84a4a;
    color: #fff !important;
    border-color: #b84a4a;
}


/* 모바일에서는 숨김 */
@media (max-width: 768px) {
    .admin_visit_floating {
        display: none;
    }
}


/* 반응형 */
@media (max-width: 768px) {
    #footer {
        padding: 42px 0 32px;
    }

    .footer_inner {
        width: calc(100% - 40px);
        display: block;
    }

    .footer_logo {
        height: 26px;
    }

    .footer_right {
        min-width: auto;
        margin: 0;
        margin-top: 26px;
        padding-top: 0;
        text-align: left;
    }

    .footer_tel {
        font-size: 26px;
    }

    .footer_company {
        justify-content: flex-start;
        height: 12px;
    }
    .footer_addr{font-size: 15px;}

}

/* =========================================================
   Responsive patch - EFETE Siheung Eungye
   메인/서브 공통 반응형 보강
========================================================= */
*, *::before, *::after { box-sizing: border-box; }
html, body { max-width: 100%; overflow-x: hidden; }
img { max-width: 100%; height: auto; }

@media (max-width: 1400px) {
    .logo { left: 40px; }
    .headerWrap .tel { right: 40px; }
    #gnb > li { width: 104px; }
    #gnb > li > a { font-size: 16px; }
    .headerWrap .tel a { font-size: 24px; }
    .megaCol { width: 104px; }
}

@media (max-width: 1024px) {
    body { padding-top: 64px; }
    body.main_page { padding-top: 0; }
    body.main_page .main_visual { padding-top: 64px; }

    .headerWrap {
        height: 64px;
        background: #fff;
        border-bottom: 1px solid #ddd;
    }

    .headerInner {
        height: 64px;
        padding: 0 22px;
        align-items: center;
        justify-content: center;
        background: #fff;
    }

    .logo {
        position: static;
        transform: none;
    }

    .logo .pc_logo { display: none; }
    .logo .m_logo {
        display: block;
        height: 36px;
    }

    .gnbWrap,
    .headerWrap .tel,
    .megaMenu { display: none; }

    .m_menu_btn {
        display: flex;
        position: absolute;
        left: 22px;
        top: 50%;
        transform: translateY(-50%);
        width: 28px;
        height: 22px;
        border: 0;
        padding: 0;
        margin: 0;
        background: none;
        flex-direction: column;
        justify-content: space-between;
        cursor: pointer;
    }

    .m_menu_btn span {
        display: block;
        width: 100%;
        height: 2px;
        background: #222;
    }

    .m_tel_btn {
        display: block;
        position: absolute;
        right: 22px;
        top: 50%;
        transform: translateY(-50%);
        width: 30px;
        height: 30px;
        text-decoration: none;
    }

    .m_tel_btn::before {
        content: "☎";
        display: flex;
        align-items: center;
        justify-content: center;
        width: 30px;
        height: 30px;
        color: #222;
        font-size: 24px;
        font-weight: 700;
        line-height: 1;
    }

    .m_gnb_dim {
        display: block;
        position: fixed;
        inset: 0;
        background: rgba(0,0,0,.45);
        z-index: 998;
        opacity: 0;
        visibility: hidden;
        transition: all .25s ease;
    }

    .m_gnb_dim.is-open {
        opacity: 1;
        visibility: visible;
    }

    .m_gnb {
        display: block;
        position: fixed;
        top: 0;
        left: -84%;
        width: 84%;
        max-width: 360px;
        height: 100vh;
        background: #fff;
        z-index: 999;
        transition: left .3s ease;
        box-shadow: 8px 0 20px rgba(0,0,0,.15);
        overflow-y: auto;
    }

    .m_gnb.is-open { left: 0; }

    .m_gnb_top {
        position: relative;
        height: 68px;
        display: flex;
        align-items: center;
        padding: 0 22px;
        border-bottom: 1px solid #e5e5e5;
    }

    .m_gnb_top img { height: 34px; width: auto; }

    .m_menu_close {
        position: absolute;
        right: 18px;
        top: 50%;
        width: 28px;
        height: 28px;
        transform: translateY(-50%);
        border: 0;
        background: none;
        cursor: pointer;
    }

    .m_menu_close::before,
    .m_menu_close::after {
        content: "";
        position: absolute;
        left: 50%;
        top: 50%;
        width: 24px;
        height: 2px;
        background: #222;
    }

    .m_menu_close::before { transform: translate(-50%,-50%) rotate(45deg); }
    .m_menu_close::after { transform: translate(-50%,-50%) rotate(-45deg); }

    .m_menu { margin: 0; padding: 0; list-style: none; }
    .m_menu > li { border-bottom: 1px solid #eee; }

    .m_menu > li > a,
    .m_menu > li > button {
        display: flex;
        align-items: center;
        justify-content: space-between;
        width: 100%;
        min-height: 56px;
        padding: 0 22px;
        border: 0;
        background: #fff;
        color: #222;
        font-size: 16px;
        font-weight: 700;
        text-align: left;
        text-decoration: none;
        letter-spacing: -.04em;
        cursor: pointer;
    }

    .m_menu > li.has_sub > button::after {
        content: "";
        width: 8px;
        height: 8px;
        border-right: 2px solid #222;
        border-bottom: 2px solid #222;
        transform: rotate(45deg);
        transition: transform .25s ease;
    }

    .m_menu > li.has_sub.is-open > button::after { transform: rotate(-135deg); }

    .m_depth2 {
        display: none;
        margin: 0;
        padding: 8px 0;
        list-style: none;
        background: #f7f7f7;
    }

    .m_menu > li.has_sub.is-open .m_depth2 { display: block; }
    .m_depth2 a {
        display: block;
        padding: 12px 30px;
        color: #555;
        font-size: 14px;
        text-decoration: none;
    }

    .m_gnb_tel {
        padding: 24px 22px 34px;
        background: #fff;
    }

    .m_gnb_tel a {
        display: flex;
        align-items: center;
        justify-content: center;
        height: 46px;
        border-radius: 500px;
        background: #3a3435;
        color: #fff;
        font-size: 18px;
        font-weight: 700;
        text-decoration: none;
    }

    .footer_inner {
        width: 100%;
        padding: 48px 24px 58px;
        flex-direction: column;
        gap: 32px;
    }

    .footer_right { align-items: flex-start; text-align: left; }
}

@media (max-width: 768px) {
    body { padding-top: 58px; }
    body.main_page .main_visual { padding-top: 58px; }
    .headerWrap,
    .headerInner { height: 58px; }
    .headerInner { padding: 0 18px; }
    .m_menu_btn { left: 18px; width: 20px; height: 16px; }
    .m_tel_btn { right: 18px; }
    .logo .m_logo { height: 24px; }
    .footer_inner { padding: 42px 18px 50px; }
    .footer_info { font-size: 13px; line-height: 1.65; }
    .footer_notice li { font-size: 12px; line-height: 1.55; }
    .footer_tel { font-size: 25px; }
}

@media (max-width: 475px) {
    .logo .m_logo { height: 20px; }
    .m_gnb_top img { height: 20px; }
}