:root {
    --hm-legacy-navy: #0f2947;
    --hm-legacy-blue: #174e7f;
    --hm-legacy-green: #16844a;
    --hm-legacy-line: #d8e1eb;
    --hm-legacy-soft: #f4f7fa;
    --hm-legacy-hero: #edf4fb;
    --hm-legacy-text: #30465f;
}

body,
button,
input,
select,
textarea {
    font-family: Pretendard Variable, Pretendard, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif !important;
}

/* 공통 서브페이지 타이틀 */
.hm-subpage--generic {
    min-height: 0;
    padding: 0;
    color: var(--hm-legacy-navy);
    background: #fff;
}

.hm-subpage-hero {
    background: var(--hm-legacy-hero);
}

.hm-subpage-hero__inner {
    display: flex;
    min-height: 200px;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 42px 20px;
    text-align: center;
    box-sizing: border-box;
}

.hm-subpage-hero__eyebrow {
    color: #07518b;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: .01em;
}

.hm-subpage-hero h1 {
    margin: 12px 0 0;
    color: #061d38;
    font-size: clamp(30px, 3vw, 40px);
    font-weight: 650;
    line-height: 1.25;
    letter-spacing: -.045em;
}

.hm-subpage--generic > .hm-subpage__inner {
    padding-top: 64px;
    padding-bottom: 100px;
}

/* 회원가입 약관 및 회원정보 */
.hm-subpage--generic .register,
.hm-subpage--generic > .hm-subpage__inner > .mbskin {
    width: min(100%, 880px);
    margin: 0 auto;
    color: var(--hm-legacy-text);
}

.hm-subpage--generic .register > form > p,
.hm-subpage--generic .mbskin > form > p {
    padding: 17px 20px;
    margin: 0 0 24px;
    border: 1px solid #cfe0ef;
    border-radius: 4px;
    color: #294c6c;
    background: #f4f9fd;
    font-size: 15px;
    line-height: 1.65;
}

.hm-subpage--generic #fregister > p {
    position: relative;
    height: auto;
    padding: 17px 20px 17px 24px;
    margin: 0 0 24px;
    color: #294c6c;
    background: #f4f9fd;
    font-size: 15px;
    line-height: 1.65;
    text-align: left;
}

.hm-subpage--generic #fregister > p::before {
    width: 4px;
    height: 100%;
    border-radius: 4px 0 0 4px;
    background: var(--hm-legacy-blue);
}

.hm-subpage--generic #fregister_term,
.hm-subpage--generic #fregister_private,
.hm-subpage--generic #register_form .register_form_inner,
.hm-subpage--generic #fregisterform > .form_01,
.hm-subpage--generic #fregisterform > .tbl_wrap {
    padding: 26px 28px;
    margin: 0 0 18px;
    border: 1px solid var(--hm-legacy-line);
    border-radius: 4px;
    background: #fff;
    box-shadow: 0 10px 30px rgba(15, 41, 71, .04);
    box-sizing: border-box;
}

.hm-subpage--generic #fregister_term h2,
.hm-subpage--generic #fregister_private h2,
.hm-subpage--generic .register_form_inner > h2,
.hm-subpage--generic .form_01 > h2 {
    padding: 0 0 15px;
    margin: 0 0 18px;
    border-bottom: 1px solid var(--hm-legacy-line);
    color: var(--hm-legacy-navy);
    font-size: 20px;
    font-weight: 700;
}

.hm-subpage--generic #fregister_term textarea {
    width: 100%;
    min-height: 220px;
    padding: 18px;
    border: 1px solid var(--hm-legacy-line);
    border-radius: 3px;
    color: #53667a;
    background: var(--hm-legacy-soft);
    font-size: 14px;
    line-height: 1.75;
    resize: vertical;
    box-sizing: border-box;
}

.hm-subpage--generic #fregister_private > div,
.hm-subpage--generic #fregister_private .tbl_wrap {
    overflow-x: auto;
}

.hm-subpage--generic #fregister_private table {
    width: 100%;
    border-collapse: collapse;
}

.hm-subpage--generic #fregister_private th,
.hm-subpage--generic #fregister_private td {
    padding: 14px 12px;
    border: 1px solid var(--hm-legacy-line);
    color: #40556d;
    font-size: 14px;
    line-height: 1.55;
    text-align: left;
}

.hm-subpage--generic #fregister_private th {
    color: var(--hm-legacy-navy);
    background: var(--hm-legacy-soft);
    font-weight: 700;
}

.hm-subpage--generic .fregister_policy_link {
    margin: 14px 0 0;
    text-align: right;
}

.hm-subpage--generic #fregister .fregister_policy_link {
    position: static;
    height: auto;
    padding: 0;
    margin: 14px 0 0;
    color: var(--hm-legacy-blue);
    background: transparent;
    font-size: 14px;
    font-weight: 650;
    line-height: 1.6;
    text-align: right;
}

.hm-subpage--generic #fregister .fregister_policy_link::before {
    display: none;
}

.hm-subpage--generic .fregister_policy_link a,
.hm-subpage--generic .js-open-consent {
    color: var(--hm-legacy-blue);
    font-weight: 650;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.hm-subpage--generic .fregister_agree,
.hm-subpage--generic #fregister_chkall {
    min-height: 48px;
    padding: 13px 16px;
    border: 1px solid var(--hm-legacy-line);
    border-radius: 3px;
    color: var(--hm-legacy-navy);
    background: #fff;
    box-sizing: border-box;
}

.hm-subpage--generic #fregister section > .fregister_agree {
    position: absolute;
    top: 23px;
    right: 24px;
    min-height: 26px;
    padding: 0;
    border: 0;
    background: transparent;
}

.hm-subpage--generic #fregister section > .fregister_agree label span {
    top: 0;
    right: 0;
    width: 20px;
    height: 20px;
}

.hm-subpage--generic #fregister_chkall {
    margin: 18px 0 24px;
    background: var(--hm-legacy-soft);
    font-weight: 700;
}

.hm-subpage--generic #fregisterform ul {
    padding: 0;
    margin: 0;
    list-style: none;
}

.hm-subpage--generic #fregisterform li {
    padding: 10px 0;
}

.hm-subpage--generic #fregisterform .frm_label {
    display: block;
    margin: 0 0 8px;
    color: var(--hm-legacy-navy);
    font-size: 14px;
    font-weight: 650;
}

.hm-subpage--generic #fregisterform .frm_input,
.hm-subpage--generic #fregisterform input[type="text"],
.hm-subpage--generic #fregisterform input[type="email"],
.hm-subpage--generic #fregisterform input[type="password"],
.hm-subpage--generic #fregisterform textarea,
.hm-subpage--generic #fregisterform select {
    min-height: 50px;
    padding: 0 14px;
    border: 1px solid #c9d5e2;
    border-radius: 3px;
    color: var(--hm-legacy-navy);
    background: #fff;
    font-size: 15px;
    box-sizing: border-box;
}

.hm-subpage--generic #fregisterform textarea {
    min-height: 120px;
    padding-top: 14px;
}

.hm-subpage--generic #fregisterform .full_input,
.hm-subpage--generic #fregisterform .frm_address,
.hm-subpage--generic #fregisterform input[type="email"] {
    width: 100%;
}

.hm-subpage--generic #fregisterform .half_input {
    width: calc(50% - 6px);
}

.hm-subpage--generic #fregisterform .frm_info,
.hm-subpage--generic #fregisterform .cert_desc,
.hm-subpage--generic #fregisterform .consent-date {
    display: block;
    margin-top: 7px;
    color: #718195;
    font-size: 13px;
    line-height: 1.55;
}

.hm-subpage--generic #fregisterform .btn_frmline,
.hm-subpage--generic #fregisterform .btn_file {
    min-height: 46px;
    padding: 0 16px;
    border: 1px solid var(--hm-legacy-navy);
    border-radius: 3px;
    color: var(--hm-legacy-navy);
    background: #fff;
    font-weight: 650;
}

.hm-subpage--generic .btn_confirm,
.hm-subpage--generic .btn_confirm_reg {
    display: flex;
    gap: 10px;
    align-items: center;
    justify-content: center;
    margin-top: 28px;
}

.hm-subpage--generic .btn_confirm > a,
.hm-subpage--generic .btn_confirm > button,
.hm-subpage--generic .btn_confirm_reg > a,
.hm-subpage--generic .reg_btn_submit {
    display: inline-flex;
    min-width: 150px;
    min-height: 52px;
    align-items: center;
    justify-content: center;
    padding: 0 24px;
    border: 1px solid var(--hm-legacy-navy);
    border-radius: 4px;
    font-size: 16px;
    font-weight: 700;
    box-sizing: border-box;
}

.hm-subpage--generic .btn_confirm .btn_submit,
.hm-subpage--generic .reg_btn_submit {
    color: #fff;
    background: var(--hm-legacy-blue);
}

.hm-subpage--generic .btn_confirm .btn_close,
.hm-subpage--generic .btn_confirm .btn_cancel {
    color: var(--hm-legacy-navy);
    background: #fff;
}

/* 비밀번호 재확인과 조건부 회원 화면 */
.hm-subpage--generic #mb_confirm,
.hm-subpage--generic #reg_result,
.hm-subpage--generic .member_cert_refresh,
.hm-subpage--generic #pw_reset {
    width: min(100%, 640px);
    padding: 36px 40px;
    margin: 0 auto;
    border: 1px solid var(--hm-legacy-line);
    border-radius: 4px;
    background: #fff;
    box-shadow: 0 14px 40px rgba(15, 41, 71, .07);
    box-sizing: border-box;
}

.hm-subpage--generic #mb_confirm > h1,
.hm-subpage--generic #pw_reset > h1,
.hm-subpage--generic #reg_result > h2 {
    display: none;
}

.hm-subpage--generic #mb_confirm > p,
.hm-subpage--generic #reg_result .reg_result_p {
    margin: 0 0 24px;
    color: #5a6e84;
    font-size: 15px;
    line-height: 1.7;
    text-align: center;
}

.hm-subpage--generic #mb_confirm > p strong {
    display: block;
    margin-bottom: 6px;
    color: var(--hm-legacy-navy);
    font-size: 21px;
}

.hm-subpage--generic #mb_confirm fieldset {
    display: grid;
    grid-template-columns: 120px 1fr;
    gap: 10px 14px;
    align-items: center;
    padding: 0;
    border: 0;
}

.hm-subpage--generic #mb_confirm .confirm_id {
    color: #65778a;
    font-size: 14px;
}

.hm-subpage--generic #mb_confirm #mb_confirm_id {
    color: var(--hm-legacy-navy);
    font-weight: 700;
}

.hm-subpage--generic #mb_confirm .frm_input {
    grid-column: 1 / 3;
    width: 100%;
    min-height: 52px;
    padding: 0 14px;
    border: 1px solid #c9d5e2;
    border-radius: 3px;
    box-sizing: border-box;
}

.hm-subpage--generic #mb_confirm .btn_submit {
    grid-column: 1 / 3;
    min-height: 52px;
    margin-top: 6px;
    border-radius: 3px;
    color: #fff;
    background: var(--hm-legacy-blue);
    font-weight: 700;
}

/* 새글·통합검색·현재접속자 */
.hm-subpage--generic #new_sch,
.hm-subpage--generic #sch_res_detail {
    padding: 22px;
    margin: 0 0 26px;
    border: 1px solid var(--hm-legacy-line);
    border-radius: 4px;
    background: var(--hm-legacy-soft);
}

.hm-subpage--generic #new_sch form,
.hm-subpage--generic #sch_res_detail {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    align-items: center;
}

.hm-subpage--generic #new_sch select,
.hm-subpage--generic #new_sch input:not([type="radio"]):not([type="checkbox"]),
.hm-subpage--generic #sch_res_detail select,
.hm-subpage--generic #sch_res_detail input:not([type="radio"]):not([type="checkbox"]) {
    min-height: 46px;
    padding: 0 12px;
    border: 1px solid #c9d5e2;
    border-radius: 3px;
    background: #fff;
    box-sizing: border-box;
}

.hm-subpage--generic #new_sch .btn_submit,
.hm-subpage--generic #sch_res_detail .btn_submit {
    min-height: 46px;
    padding: 0 20px;
    border-radius: 3px;
    color: #fff;
    background: var(--hm-legacy-blue);
}

.hm-subpage--generic .tbl_wrap {
    overflow-x: auto;
}

.hm-subpage--generic .tbl_wrap table {
    width: 100%;
    border-collapse: collapse;
}

.hm-subpage--generic .tbl_wrap th,
.hm-subpage--generic .tbl_wrap td {
    padding: 15px 12px;
    border-bottom: 1px solid var(--hm-legacy-line);
    color: #43576d;
    font-size: 14px;
    line-height: 1.5;
}

.hm-subpage--generic .tbl_wrap th {
    color: var(--hm-legacy-navy);
    background: var(--hm-legacy-soft);
    font-weight: 700;
}

.hm-subpage--generic #current_connect > ul {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    padding: 0;
    margin: 0;
    list-style: none;
}

.hm-subpage--generic #current_connect li {
    display: grid;
    grid-template-columns: 42px 48px minmax(0, 1fr);
    gap: 12px;
    align-items: center;
    min-height: 88px;
    padding: 16px;
    border: 1px solid var(--hm-legacy-line);
    border-radius: 4px;
    background: #fff;
    box-sizing: border-box;
}

.hm-subpage--generic #current_connect .crt_num {
    color: #7990a6;
    font-size: 13px;
}

.hm-subpage--generic #current_connect .crt_profile img {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    object-fit: cover;
}

.hm-subpage--generic #current_connect .crt_name,
.hm-subpage--generic #current_connect .crt_lct {
    display: block;
}

.hm-subpage--generic #current_connect .crt_name {
    color: var(--hm-legacy-navy);
    font-weight: 700;
}

.hm-subpage--generic #current_connect .crt_lct {
    margin-top: 4px;
    color: #718195;
    font-size: 13px;
}

.hm-subpage--generic #sch_result .search_board_result,
.hm-subpage--generic #sch_res_ov,
.hm-subpage--generic .empty_list {
    padding: 24px;
    margin-top: 16px;
    border: 1px solid var(--hm-legacy-line);
    border-radius: 4px;
    background: #fff;
}

/* 쇼핑 보조 화면 */
.hm-shop-page {
    color: var(--hm-legacy-navy);
    background: #fff;
}

.hm-shop-page__hero {
    background: var(--hm-legacy-hero);
}

.hm-shop-page__hero-inner {
    display: flex;
    min-height: 220px;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 42px 20px;
    text-align: center;
    box-sizing: border-box;
}

.hm-shop-page__hero-inner > span {
    color: #07518b;
    font-size: 15px;
    font-weight: 700;
}

.hm-shop-page__hero h1 {
    margin: 11px 0 0;
    color: #061d38;
    font-size: clamp(30px, 3vw, 40px);
    line-height: 1.25;
    letter-spacing: -.045em;
}

.hm-shop-page__hero p {
    margin: 12px 0 0;
    color: #64778c;
    font-size: 15px;
}

.hm-shop-page__content {
    background: #fff;
}

.hm-shop-page__content-inner {
    min-height: 360px;
    padding-top: 64px;
    padding-bottom: 100px;
}

.hm-shop-page #sct,
.hm-shop-page #ssch,
.hm-shop-page #sod_bsk,
.hm-shop-page #sod_ws {
    width: 100%;
    margin: 0;
}

.hm-shop-page .sct_noitem {
    display: flex;
    min-height: 180px;
    align-items: center;
    justify-content: center;
    padding: 30px;
    border: 1px solid var(--hm-legacy-line);
    border-radius: 4px;
    color: #687b8f;
    background: var(--hm-legacy-soft);
    text-align: center;
    box-sizing: border-box;
}

.hm-shop-page td.empty_table {
    display: table-cell;
    height: 180px;
    padding: 30px;
    color: #687b8f;
    background: var(--hm-legacy-soft);
    text-align: center;
    vertical-align: middle;
}

.hm-shop-page #sod_bsk table:has(td.empty_table) {
    min-width: 0;
}

.hm-shop-page #sod_bsk table:has(td.empty_table) thead {
    display: none;
}

.hm-shop-page #sod_bsk table:has(td.empty_table) td.empty_table {
    width: 100%;
}

.hm-shop-page #ssch > h2 {
    padding: 0 0 18px;
    margin: 0 0 24px;
    border-bottom: 1px solid var(--hm-legacy-line);
    color: var(--hm-legacy-navy);
    font-size: 26px;
}

.hm-shop-page #ssch_frm {
    border: 1px solid var(--hm-legacy-line);
    border-radius: 4px;
    overflow: hidden;
    background: var(--hm-legacy-soft);
}

.hm-shop-page .ssch_scharea,
.hm-shop-page .ssch_option,
.hm-shop-page #ssch_cate,
.hm-shop-page #ssch_sort_all {
    padding: 18px 20px;
    border-bottom: 1px solid var(--hm-legacy-line);
}

.hm-shop-page .ssch_scharea {
    display: flex;
    gap: 8px;
    align-items: center;
}

.hm-shop-page .ssch_input,
.hm-shop-page #ssch input[type="text"] {
    min-height: 46px;
    padding: 0 13px;
    border: 1px solid #c6d2df;
    border-radius: 3px;
    background: #fff;
    box-sizing: border-box;
}

.hm-shop-page #ssch .btn_submit {
    min-height: 46px;
    padding: 0 20px;
    border-radius: 3px;
    color: #fff;
    background: var(--hm-legacy-blue);
    font-weight: 700;
}

.hm-shop-page #ssch_cate ul,
.hm-shop-page #ssch_sort_all {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    padding-left: 20px;
    margin: 0;
    list-style: none;
}

.hm-shop-page #ssch_cate li,
.hm-shop-page #ssch_sort_all li {
    float: none;
    width: auto;
    padding: 0;
    border: 0;
}

.hm-shop-page #ssch_cate a,
.hm-shop-page #ssch_sort_all a {
    display: inline-flex;
    min-height: 38px;
    align-items: center;
    padding: 0 13px;
    border: 1px solid #cfd9e4;
    border-radius: 999px;
    color: #40556d;
    background: #fff;
    font-size: 14px;
}

.hm-shop-page .sct_10,
.hm-shop-page .sct_20,
.hm-shop-page .sct_30,
.hm-shop-page .sct_40 {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
    margin-top: 28px;
}

.hm-shop-page .sct_li {
    float: none;
    width: auto !important;
    border: 1px solid var(--hm-legacy-line);
    border-radius: 4px;
    overflow: hidden;
    background: #fff;
}

.hm-shop-page .sct_img,
.hm-shop-page .sct_img img {
    background: var(--hm-legacy-soft);
}

.hm-shop-page .sct_img:has(img[src*="no_image.gif"]) {
    display: flex;
    min-height: 170px;
    align-items: center;
    justify-content: center;
    background: linear-gradient(145deg, #eef5fb, #f7f9fc);
}

.hm-shop-page .sct_img:has(img[src*="no_image.gif"]) > a {
    display: flex;
    width: 100%;
    min-height: 170px;
    align-items: center;
    justify-content: center;
}

.hm-shop-page .sct_img:has(img[src*="no_image.gif"]) > a::before {
    width: 76px;
    height: 66px;
    background: url("../img/house-market-logo-mark-v11.svg") center / contain no-repeat;
    content: "";
}

.hm-shop-page .sct_img:has(img[src*="no_image.gif"]) img {
    display: none;
}

.hm-shop-page .sct_txt,
.hm-shop-page .sct_basic,
.hm-shop-page .sct_cost {
    padding-right: 16px;
    padding-left: 16px;
}

.hm-shop-page .tbl_wrap {
    overflow-x: auto;
    border: 1px solid var(--hm-legacy-line);
    border-radius: 4px;
}

.hm-shop-page .tbl_wrap table {
    width: 100%;
    border-collapse: collapse;
}

.hm-shop-page .tbl_wrap th,
.hm-shop-page .tbl_wrap td {
    padding: 15px 12px;
    border-bottom: 1px solid var(--hm-legacy-line);
}

.hm-shop-page .tbl_wrap th {
    color: var(--hm-legacy-navy);
    background: var(--hm-legacy-soft);
}

.hm-shop-page #sod_ws .list_02 > ul {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
    padding: 0;
    margin: 0;
    list-style: none;
}

.hm-shop-page #sod_ws .list_02 > ul > li {
    float: none;
    width: auto;
    padding: 18px;
    border: 1px solid var(--hm-legacy-line);
    border-radius: 4px;
    background: #fff;
    box-sizing: border-box;
}

.hm-shop-page #sod_ws .list_02 > ul > li.empty_table {
    grid-column: 1 / -1;
    display: flex;
    min-height: 180px;
    align-items: center;
    justify-content: center;
    color: #687b8f;
    background: var(--hm-legacy-soft);
    text-align: center;
}

.hm-shop-page #sod_bsk_act,
.hm-shop-page #sod_ws_act {
    display: flex;
    gap: 10px;
    justify-content: center;
    margin-top: 24px;
}

.hm-shop-page #sod_bsk_act button,
.hm-shop-page #sod_bsk_act a,
.hm-shop-page #sod_ws_act button {
    min-height: 48px;
    padding: 0 22px;
    border-radius: 3px;
    font-weight: 700;
}

/* 독립 팝업형 회원 보조 화면 */
body:has(> .new_win),
body:has(> #pw_confirm) {
    min-width: 0;
    color: var(--hm-legacy-text);
    background: var(--hm-legacy-soft);
}

body > .new_win,
body > #pw_confirm {
    width: min(calc(100% - 32px), 760px);
    min-height: 0;
    padding: 0 0 24px;
    margin: 28px auto;
    border: 1px solid var(--hm-legacy-line);
    border-radius: 6px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 18px 50px rgba(15, 41, 71, .1);
    box-sizing: border-box;
}

body > .new_win #win_title,
body > .new_win > h1,
body > #pw_confirm > h1 {
    min-height: 72px;
    padding: 0 26px;
    margin: 0;
    border: 0;
    color: #fff;
    background: var(--hm-legacy-navy);
    font-size: 22px;
    font-weight: 700;
    line-height: 72px;
    box-sizing: border-box;
}

body > .new_win .new_win_con,
body > .new_win .new_win_con2,
body > #pw_confirm form,
body > #pw_confirm > p {
    padding-right: 26px;
    padding-left: 26px;
}

body > .new_win .win_ul {
    display: flex;
    padding: 18px 26px 0;
    margin: 0;
    border-bottom: 1px solid var(--hm-legacy-line);
    list-style: none;
}

body > .new_win .win_ul a {
    display: block;
    padding: 11px 14px;
    color: #62758a;
}

body > .new_win .win_ul .selected a,
body > .new_win .win_ul a.selected {
    color: var(--hm-legacy-blue);
    border-bottom: 2px solid var(--hm-legacy-blue);
    font-weight: 700;
}

body > .new_win .frm_input,
body > .new_win input[type="text"],
body > .new_win input[type="email"],
body > .new_win input[type="password"],
body > .new_win textarea,
body > #pw_confirm .frm_input {
    min-height: 48px;
    padding: 0 13px;
    border: 1px solid #c9d5e2;
    border-radius: 3px;
    box-sizing: border-box;
}

body > .new_win textarea {
    min-height: 130px;
    padding-top: 13px;
}

body > .new_win .win_btn,
body > .new_win > .btn_close,
body > #pw_confirm .btn_confirm {
    display: flex;
    gap: 8px;
    justify-content: center;
    padding: 20px 26px 0;
    margin-top: 20px;
    border-top: 1px solid var(--hm-legacy-line);
}

body > .new_win .btn_submit,
body > .new_win .btn_close,
body > #pw_confirm .btn_submit {
    display: inline-flex;
    min-width: 120px;
    min-height: 46px;
    align-items: center;
    justify-content: center;
    padding: 0 18px;
    border-radius: 3px;
    font-weight: 700;
}

body > .new_win .btn_submit,
body > #pw_confirm .btn_submit {
    color: #fff;
    background: var(--hm-legacy-blue);
}

body > .new_win .btn_close {
    color: var(--hm-legacy-navy);
    background: #e8eef4;
}

body > .new_win .empty_table,
body > .new_win .empty_li {
    padding: 48px 20px;
    color: #75869a;
    text-align: center;
}

@media (max-width: 768px) {
    .hm-subpage-hero__inner,
    .hm-shop-page__hero-inner {
        min-height: 164px;
        padding: 34px 20px;
    }

    .hm-subpage-hero__eyebrow,
    .hm-shop-page__hero-inner > span {
        font-size: 13px;
    }

    .hm-subpage-hero h1,
    .hm-shop-page__hero h1 {
        margin-top: 9px;
        font-size: 29px;
    }

    .hm-shop-page__hero p {
        max-width: 300px;
        font-size: 14px;
        line-height: 1.55;
    }

    .hm-subpage--generic > .hm-subpage__inner,
    .hm-shop-page__content-inner {
        width: min(calc(100% - 32px), var(--hm-shell));
        padding-top: 38px;
        padding-bottom: 64px;
    }

    .hm-subpage--generic #fregister_term,
    .hm-subpage--generic #fregister_private,
    .hm-subpage--generic #register_form .register_form_inner,
    .hm-subpage--generic #fregisterform > .form_01,
    .hm-subpage--generic #fregisterform > .tbl_wrap,
    .hm-subpage--generic #mb_confirm,
    .hm-subpage--generic #reg_result,
    .hm-subpage--generic .member_cert_refresh,
    .hm-subpage--generic #pw_reset {
        padding: 21px 18px;
    }

    .hm-subpage--generic #fregisterform .half_input {
        width: 100%;
    }

    .hm-subpage--generic .btn_confirm > a,
    .hm-subpage--generic .btn_confirm > button,
    .hm-subpage--generic .btn_confirm_reg > a,
    .hm-subpage--generic .reg_btn_submit {
        min-width: 0;
        flex: 1;
    }

    .hm-subpage--generic #mb_confirm fieldset {
        grid-template-columns: 1fr;
    }

    .hm-subpage--generic #mb_confirm .frm_input,
    .hm-subpage--generic #mb_confirm .btn_submit {
        grid-column: 1;
    }

    .hm-subpage--generic #new_sch form,
    .hm-subpage--generic #sch_res_detail {
        display: grid;
        grid-template-columns: 1fr;
    }

    .hm-subpage--generic #new_sch select,
    .hm-subpage--generic #new_sch input:not([type="radio"]):not([type="checkbox"]),
    .hm-subpage--generic #new_sch .btn_submit,
    .hm-subpage--generic #sch_res_detail select,
    .hm-subpage--generic #sch_res_detail input:not([type="radio"]):not([type="checkbox"]),
    .hm-subpage--generic #sch_res_detail .sch_wr,
    .hm-subpage--generic #sch_res_detail .btn_submit {
        width: 100%;
    }

    .hm-subpage--generic #current_connect > ul {
        grid-template-columns: 1fr;
    }

    .hm-subpage--generic .tbl_wrap table,
    .hm-shop-page .tbl_wrap table {
        min-width: 680px;
    }

    .hm-shop-page .ssch_scharea {
        display: grid;
        grid-template-columns: minmax(0, 1fr) auto;
    }

    .hm-shop-page .ssch_scharea .ssch_input {
        width: 100%;
    }

    .hm-shop-page .ssch_option {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px 8px;
        line-height: 1.5;
    }

    .hm-shop-page .ssch_option .ssch_input {
        width: 100%;
    }

    .hm-shop-page #ssch_cate ul,
    .hm-shop-page #ssch_sort_all {
        padding: 15px 16px;
    }

    .hm-shop-page #sod_ws .list_02 > ul {
        grid-template-columns: 1fr;
    }

    .hm-shop-page .sct_10,
    .hm-shop-page .sct_20,
    .hm-shop-page .sct_30,
    .hm-shop-page .sct_40 {
        grid-template-columns: 1fr;
    }

    body > .new_win,
    body > #pw_confirm {
        width: calc(100% - 24px);
        margin: 12px auto;
    }

    body > .new_win #win_title,
    body > .new_win > h1,
    body > #pw_confirm > h1 {
        min-height: 62px;
        padding: 0 18px;
        font-size: 19px;
        line-height: 62px;
    }

    body > .new_win .new_win_con,
    body > .new_win .new_win_con2,
    body > #pw_confirm form,
    body > #pw_confirm > p {
        padding-right: 18px;
        padding-left: 18px;
    }
}
