.page_header {
    width: calc(100% - 40px);
    background: linear-gradient(to bottom, var(--primary-bg-light), transparent);
    border-radius: var(--radius-lg);
    padding: 80px 0  var(--sec-gap);
    margin: 0 auto;
}
.ph_inner {
    display: flex;
    align-items: center;
    gap: 40px;
    justify-content: center;
    flex-direction: column;
}
.ph_l {
    display: flex;
    gap: 40px;
}
.ph_logo {
    width: 86px;
    height: 86px;
}
.ph_title h1 {
    font-size: var(--ft32);
    font-weight: var(--semi-bold);
    color: var(--gray-700);
    margin-bottom: 20px;
    text-align: center;
}
.ph_title p {
    font-size: var(--ft16);
    color: var(--gray-500);
    text-align: center;
}
.ph_btns {
    display: flex;
    align-items: center;
    gap: 10px;
}
.ph_btns a {
    width: 164px;
    height: 50px;
    border-radius: var(--radius-sm);
    color: white;
    font-size: var(--ft16);
    font-weight: var(--semi-bold);
    display: flex;
    align-items: center;
    justify-content: center;
}
.ph_btns .sell_btn {
    background: var(--primary);
}
.ph_btns .guide_btn {
    background: var(--gray-500);
}

.sec_header {
    margin-bottom: 50px;
}
.sec_header h2 {
    font-size: var(--ft24);
    font-weight: var(--semi-bold);
    color: var(--gray-700);    
}
.sec_header p {
    font-size: var(--ft16);
    color: var(--gray-500);
    margin-top: 24px;
}


/* 멤버십토글박스 */
.membership_toggle_box {
    display: inline-flex;
    align-items: center;
    padding: 10px;
    border-radius: 999px;
    background: var(--white);
    box-shadow: var(--shadow);
}
.m_toggle {
    position: relative;
    width: 48px;
    height: 26px;
    flex: none;
    cursor: pointer;
    margin-right: 10px;
}
.m_toggle input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}
.m_toggle .toggle_slider {
    position: relative;
    display: block;
    width: 100%;
    height: 100%;
    border-radius: 99px;
    transition: background .2s ease;
    background: var(--gray-200);
}
.m_toggle .toggle_slider::after {
    content: "";
    position: absolute;
    top: 2px;
    left: 2px;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: #ffffff;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.12);
    transform: translateX(0);
    transition: transform .4s ease;
}
.m_toggle input:checked + .toggle_slider {
    background: #f99634;
}
.m_toggle input:checked + .toggle_slider::after {
    transform: translateX(100%);
}
.m_toggle_title {   
    font-size: var(--ft16);
    font-weight: var(--medium);
    color: var(--gray-500);
}
.m_discount_badge {
    padding: 4px 10px;
    border-radius: 99px;
    background: var(--primary-bg-light);
    margin-left: 24px;
    font-size: var(--ft14);
    font-weight: var(--semi-bold);
    color: var(--primary);
}

/* 멤버십 */
.membership_list {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 20px;
}
.m_card {
    height: 100%;
    padding: 60px 30px 30px;
    background: var(--white);
    box-shadow: var(--shadow);
    border-radius: var(--radius-lg);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
}
.m_card .type {
    font-size: var(--ft28);
    color: var(--gray-500);
    font-weight: var(--semi-bold);
    margin-bottom: 16px;
}
.m_card .price_box {
    margin-bottom: 60px;
    position: relative;
    overflow: hidden;
}
.m_card .price {
    font-size: var(--ft36);
    color: var(--gray-700);
    font-weight: var(--bold);
        transition: transform .4s cubic-bezier(.17, .67, .73, 1.33);
}
.m_card .price:last-child {
    position: absolute;
}
.m_card .price .unit {
    font-size: .6em;
    color: inherit;
    opacity: .8;
    margin-left: 10px;
    font-weight: var(--medium);
}
.membership_list.year .price_box .price {
    transform: translateY(-100%);
}

.m_card .desc li {
    font-size: var(--ft16);
    color: var(--gray-600);
    font-weight: var(--medium);
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 16px;
    position: relative;
}

.m_card .desc li::before {
    content: '';
    display: block;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: var(--primary-bg-light);
}
.m_card .desc li::after {
    content: '';
    display: block;
    width: 18px;
    height: 18px;
    position: absolute;
    left: 0;
    background: var(--gray-400);
    mask: url('/images/icon/check.svg') no-repeat center / 11px;
    -webkit-mask: url('/images/icon/check.svg') no-repeat center / 11px;
}
.m_card .desc li:last-child {
    margin-bottom: 0;
}
.m_btn {
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 100px;
}

.m_btn.disabled {
    background: var(--gray-100);
}
.m_btn.disabled p {
    color: var(--gray-400)
}

/* 멤버십 플러스 */
.m_card.active {
    background: linear-gradient(160deg, var(--primary-gradient));
}
.m_card.active .type,
.m_card.active .price {
    color: white;
}
.m_card.active .desc li {
    color: white;   
}
.m_card.active .desc li::before {
    background: white;
    opacity: .2;
}
.m_card.active .desc li::after {
    background: white;
}
.m_card.active .m_btn::before {
    background: white;
}
.m_card.active .m_btn p {
    color: var(--primary);
}
.m_card .best_badge {
    width: fit-content;
    background: rgba(255, 255, 255, .2);
    border-radius: 99px;
    padding: 6px 20px;
    display: flex;
    align-items: center;
    gap: 6px;
    color: white;
    font-size: var(--ft14);
    font-weight: var(--semi-bold);
    position: absolute;
    right: 20px;
    top: 20px;
}
.m_card .best_badge::before {
    content: '';
    display: block;
    width: 16px;
    height: 16px;
    background: url('/images/membership.svg') no-repeat center / contain;
}



/* value_sec */
.value_sec {
    padding: 80px 100px;
    border-radius: var(--radius-lg);
    background: var(--primary-bg-light);
    margin-bottom: var(--sec-gap);
}
.value_list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
}
.v_card {
    height: 100%;
    border-radius: var(--radius-lg);
    background: var(--bg);
    box-shadow: var(--shadow);
    padding: 60px 28px 36px;
    position: relative;
}
.v_card h3 {
    font-size: var(--ft18);
    font-weight: var(--medium);
    color: var(--gray-700);
    margin-bottom: 16px;
}
.v_card p {
    font-size: var(--ft16);
    color: var(--gray-500);
}
.v_card .icon {
    width: 40px;
    height: 40px;
    position: absolute;
    top: 24px;
    right: 24px;
}

/* plan_sec */
.plan_sec {
    margin-bottom: var(--sec-gap);
}
.plan_sec .sec_header {
    margin-bottom: 0;
}
.plan_table {
    width: 100%;
}
.plan_table th span {
    margin-right: 10px;
    padding: 4px 8px;
    border-radius: 20px;
    background-color: var(--gray-100);
    font-size: var(--ft13);
    font-weight: var(--semi-bold);
}

th, td {
    padding: 20px 30px;
    border-bottom: 1px solid var(--dark-line);
}
th.active, td.active {
    background: var(--primary-bg-light)
}
thead th.active {
    border-top-right-radius: var(--radius-lg);
    border-top-left-radius: var(--radius-lg);
}
tfoot td.active {
    border-bottom-right-radius: var(--radius-lg);
    border-bottom-left-radius: var(--radius-lg);
}
tfoot th,
tfoot td {
    border: 0;
}

th {
    font-size: var(--ft16);
    text-align: left;
    color: var(--gray-600);
    font-weight: var(--semi-bold);
}

.plan_name {
    width: fit-content;
    font-size: var(--ft14);
    color: var(--gray-400);
    font-weight: var(--medium);
    display: flex;
    align-items: center;
    gap: 4px;
    margin-bottom: 10px;
}
.plan_name.plus {
    color: white;
    background: linear-gradient(160deg, var(--primary-gradient));
    padding: 5px 10px;
    border-radius: 99px;
}
.plan_name.pro {
    color: white;
    background: linear-gradient(160deg, var(--pro-gradient));
    padding: 5px 10px;
    border-radius: 99px;
}
.plan_name.plus::before,
.plan_name.pro::before {
    content: '';
    display: block;
    width: 14px;
    height: 14px;
    background: url('/images/membership.svg') no-repeat center / contain;
}
.plan_price {
    font-size: var(--ft28);
    font-weight: var(--semi-bold);
    color: var(--gray-700);
}
td.check::after {
    content: '';
    display: block;
    width: 16px;
    height: 16px;
    background: var(--primary);
    mask: url('/images/icon/check.svg') no-repeat center / contain;
    -webkit-mask: url ('/images/icon/check.svg') no-repeat center / contain;
}
td.check.pro::after {
    background: linear-gradient(160deg, var(--pro-gradient));
}
.plan_btn {
    height: 50px;
}
.plan_btn.free {
    border: 1px solid var(--dark-line);
    display: flex;
    align-items: center;
    justify-content: center;
}
.plan_btn.plus::before {
    background: linear-gradient(160deg, var(--primary-gradient));
}
.plan_btn.pro::before {
    background: linear-gradient(160deg, var(--pro-gradient));
}
.plan_btn.btn_shrink p {
    color: white;
}






/* 안내사항 */
.info_sec .inner {
    border-top: 1px solid var(--gray-400);
    padding: 40px 20px; 
}
.info_box {
    display: flex;
    align-items: start;
    gap: 20px 40px;
    margin-bottom: var(--content-gap);    
}
.info_box:last-child {
    margin-bottom: 0;
}
.info_box h2 {
    width: 80px;
    font-size: var(--ft16);
    font-weight: var(--medium);
    color: var(--gray-700);
    flex-shrink: 0;
}

@media all and (max-width: 1200px) {

    /*-- page_header --*/
    .page_header {
        padding-top: 60px;
    }
    .ph_inner {
        gap: 30px;
    }
    .ph_logo {
        width: 60px;
        height: 60px;
    }
    .ph_title h1 {
        font-size: var(--ft28);
    }

    /*-- membership_list --*/
    .m_card .type {
        font-size: var(--ft24);
        margin-bottom: 12px;
    }
    .m_card .price_box {
        margin-bottom: 32px;
    }
    .m_card .price {
        font-size: var(--ft28);
    }
    .m_btn {
        margin-top: 50px;
    }

    /*-- value_sec --*/
    .value_sec {
        padding: 60px;
    }

    /*-- plan_sec --*/
    .plan_price {
        font-size: var(--ft24);
    }
}

@media all and (max-width: 1024px) {
    /*-- membership_list --*/
    .membership_list {
        grid-template-columns: repeat(1, 1fr);
    }
    .m_card {
        padding: 30px 20px 20px;
    }
    .m_btn {
        margin-top: 24px;
    }
    .m_card .type {
        font-size: var(--ft18);
    }
    .m_card .price_box {
        margin-bottom: 23px;
    }
    .m_card .price {
        font-size: var(--ft24);
    }

    /*-- value_sec --*/
    .value_sec {
        padding: 60px 40px 40px;
    }
    .sec_header {
        margin-bottom: 28px;
    }
    .value_list {
        grid-template-columns: repeat(1, 1fr);
    }
    .v_card {
        padding: 24px;
    }
    .v_card h3 {
        margin-bottom: 10px;
    }

    /*-- plan_sec --*/
    th, td {
        padding: 16px;
    }
    .plan_price {
        font-size: var(--ft20);
    }
}

@media all and (max-width: 768px) {
    /*-- page_header --*/
    .page_header {
        width: 100%;
        padding-top: 40px;
        border-radius: 0;
    }
    .ph_inner {
        gap: 16px;
    }
    .ph_logo {
        width: 40px;
        height: 40px;
    }
    .ph_title h1 {
        font-size: var(--ft24);
    }

    .m_toggle {
        width: 44px;
        height: 24px;
    }
    .m_toggle .toggle_slider::after {
        width: 20px;
        height: 20px;
    }
    .m_discount_badge {
        margin-left: 16px;
    }

    /*-- membership_list --*/
    .m_card .best_badge {
        padding: 6px 12px;
    }
    .m_card .type {
        font-size: var(--ft16);
    }
    .m_card .price_box {
        margin-bottom: 16px;
    }
    .m_card .desc li {
        margin-bottom: 10px;
        font-size: var(--ft14);
        gap: 6px;
    }
    .m_card .desc li::before {
        width: 14px;
        height: 14px;
    }
    .m_card .desc li::after {
        width: 14px;
        height: 14px;
    }
    .m_btn {
        height: 42px;
    }
    .m_btn p {
        font-size: var(--ft14);
    }

    /*-- value_sec --*/
    .value_sec {
        padding: 40px 20px 20px;
    }
    .sec_header h2 {
        font-size: var(--ft20);
    }
    .sec_header p {
        margin-top: 16px;
    }
    .v_card .icon {
        width: 32px;
        height: 32px;
        margin-bottom: 12px;
        position: static;
    }

    /*-- info_sec --*/
    .info_sec .inner {
        padding: 30px 0 0;
    }
    .plan_sec {
        display: none;
    }
    .info_box {
        flex-direction: column;
    }
}