@import url("https://fonts.googleapis.com/css2?family=Noto+Sans+KR:wght@400;500;700;800&display=swap");

:root {
    --fm-ink: #1f2933;
    --fm-muted: #64707d;
    --fm-line: #e7e0d8;
    --fm-cream: #fffaf3;
    --fm-green: #2f6b4f;
    --fm-green-dark: #1f4f3a;
    --fm-coral: #ef7d57;
    --fm-yellow: #f6c85f;
}

html,
body.fremeal-site {
    margin: 0;
    background: #fffdf8;
    color: var(--fm-ink);
    font-family: "Noto Sans KR", "Apple SD Gothic Neo", "Malgun Gothic", sans-serif;
    font-size: 15px;
    line-height: 1.65;
}

.fremeal-site table,
.fremeal-site div,
.fremeal-site td,
.fremeal-site span,
.fremeal-site input {
    font-family: inherit;
    font-size: inherit;
    line-height: inherit;
}

.fremeal-site a {
    color: inherit;
}

.fm-header {
    position: sticky;
    top: 0;
    z-index: 50;
    border-bottom: 1px solid rgba(31, 79, 58, .12);
    background: rgba(255, 253, 248, .94);
    backdrop-filter: blur(14px);
}

.fm-header__inner {
    width: min(1180px, calc(100% - 40px));
    min-height: 76px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 28px;
}

.fm-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 190px;
    text-align: left;
}

.fm-brand__mark {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--fm-green);
    color: #fff;
    font-size: 24px;
    font-weight: 800;
}

.fm-brand strong {
    display: block;
    color: var(--fm-green-dark);
    font-size: 22px;
    line-height: 1;
    letter-spacing: 0;
}

.fm-brand em {
    display: block;
    margin-top: 4px;
    color: var(--fm-muted);
    font-size: 11px;
    font-style: normal;
    text-transform: uppercase;
}

.fm-nav {
    flex: 1;
    display: flex;
    justify-content: center;
    gap: 8px;
}

.fm-nav a,
.fm-header__cta {
    border-radius: 999px;
    padding: 10px 15px;
    color: #39444f;
    font-weight: 700;
    text-decoration: none;
    white-space: nowrap;
}

.fm-nav a:hover,
.fm-nav a.is-active {
    background: #edf5ef;
    color: var(--fm-green-dark);
}

.fm-header__cta {
    background: var(--fm-green);
    color: #fff;
}

.fm-legacy-root {
    width: 100%;
    text-align: center;
}

.fm-legacy-root > table:first-of-type {
    margin-top: 28px;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 24px 70px rgba(31, 41, 51, .08);
}

.fm-legacy-root > table:first-of-type > tbody > tr:nth-child(-n+4) {
    display: none;
}

.fm-legacy-root > table:first-of-type > tbody > tr > td[rowspan] {
    display: none;
}

.fm-legacy-root > table:first-of-type img[src*="conBottom.gif"] {
    display: none;
}

.fm-legacy-root > table:first-of-type td[style*="leftBg"] {
    background: #f7f2ea !important;
}

.fm-legacy-root > table:first-of-type td[style*="rightBg"] {
    background: #fff !important;
}

.fm-footer {
    margin-top: 70px;
    background: #203829;
    color: #fff;
    text-align: left;
}

.fm-footer__inner {
    width: min(1180px, calc(100% - 40px));
    margin: 0 auto;
    padding: 34px 0;
    display: flex;
    justify-content: space-between;
    gap: 30px;
}

.fm-footer strong {
    font-size: 22px;
}

.fm-footer p {
    margin: 8px 0 0;
    color: rgba(255, 255, 255, .72);
}

.fm-footer__links {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
}

.fm-footer__links a {
    color: rgba(255, 255, 255, .84);
    text-decoration: none;
}

.fm-home {
    text-align: left;
}

.fm-section {
    width: min(1180px, calc(100% - 40px));
    margin: 0 auto;
}

.fm-hero {
    position: relative;
    min-height: 620px;
    display: flex;
    align-items: center;
    overflow: hidden;
    background:
        linear-gradient(90deg, rgba(26, 50, 37, .92) 0%, rgba(26, 50, 37, .70) 44%, rgba(26, 50, 37, .12) 100%),
        url("/img/mainN1.png") center right / cover no-repeat;
}

.fm-hero__content {
    width: min(1180px, calc(100% - 40px));
    margin: 0 auto;
    color: #fff;
}

.fm-kicker {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 18px;
    color: #fbe3a6;
    font-size: 14px;
    font-weight: 800;
    letter-spacing: 0;
}

.fm-hero h1 {
    max-width: 660px;
    margin: 0;
    font-size: 58px;
    line-height: 1.08;
    letter-spacing: 0;
}

.fm-hero p {
    max-width: 600px;
    margin: 22px 0 0;
    color: rgba(255, 255, 255, .82);
    font-size: 19px;
    line-height: 1.75;
}

.fm-actions {
    display: flex;
    gap: 12px;
    margin-top: 34px;
    flex-wrap: wrap;
}

.fm-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    border-radius: 999px;
    padding: 0 22px;
    background: var(--fm-coral);
    color: #fff !important;
    font-weight: 800;
    text-decoration: none;
}

.fm-btn--ghost {
    border: 1px solid rgba(255, 255, 255, .46);
    background: rgba(255, 255, 255, .10);
}

.fm-service-strip {
    margin-top: -46px;
    position: relative;
    z-index: 2;
}

.fm-service-strip__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.fm-service-card {
    min-height: 122px;
    padding: 24px;
    border: 1px solid var(--fm-line);
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 18px 48px rgba(31, 41, 51, .08);
}

.fm-service-card b {
    display: block;
    color: var(--fm-green-dark);
    font-size: 20px;
}

.fm-service-card span {
    display: block;
    margin-top: 8px;
    color: var(--fm-muted);
}

.fm-section-heading {
    margin: 92px 0 28px;
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 20px;
}

.fm-section .fm-kicker,
.fm-process .fm-kicker {
    color: var(--fm-coral);
}

.fm-section-heading h2 {
    margin: 0;
    color: var(--fm-ink);
    font-size: 36px;
    line-height: 1.22;
    letter-spacing: 0;
}

.fm-section-heading p {
    max-width: 520px;
    margin: 0;
    color: var(--fm-muted);
}

.fm-product-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
}

.fm-product-card {
    border: 1px solid var(--fm-line);
    border-radius: 18px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 16px 40px rgba(31, 41, 51, .06);
}

.fm-product-card a {
    display: block;
    color: inherit;
    text-decoration: none;
}

.fm-product-card img {
    width: 100%;
    aspect-ratio: 4 / 3;
    height: auto;
    object-fit: cover;
}

.fm-product-card__body {
    padding: 17px;
}

.fm-product-card b {
    display: block;
    color: var(--fm-ink);
    font-size: 17px;
}

.fm-product-card span {
    display: block;
    margin-top: 5px;
    color: var(--fm-coral);
    font-weight: 800;
}

.fm-process {
    margin-top: 90px;
    padding: 78px 0;
    background: #f6f0e8;
}

.fm-process__grid {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 48px;
    align-items: center;
}

.fm-process h2 {
    margin: 0;
    color: var(--fm-green-dark);
    font-size: 38px;
    line-height: 1.25;
}

.fm-process p {
    margin: 18px 0 0;
    color: #56616c;
    font-size: 17px;
}

.fm-process .fm-btn--ghost {
    border-color: rgba(47, 107, 79, .22);
    background: #fff;
    color: var(--fm-green-dark) !important;
}

.fm-step-list {
    display: grid;
    gap: 12px;
}

.fm-step {
    padding: 18px 20px;
    border-radius: 14px;
    background: #fff;
    color: var(--fm-ink);
    font-weight: 800;
}

.fm-step small {
    display: block;
    margin-bottom: 4px;
    color: var(--fm-coral);
    font-size: 12px;
}

.foTable {
    min-width: 760px;
    border-radius: 14px;
    overflow: hidden;
}

.fm-table-scroll {
    width: 100%;
    overflow-x: auto;
}

.foTable img {
    max-width: 130px;
    width: 100%;
    height: auto;
    border-radius: 10px;
}

.foTable thead tr th {
    background: #2f6b4f;
    color: #fff;
}

.foTable tbody tr td {
    background: #fff6df;
}

@media (max-width: 900px) {
    .fm-header__inner {
        min-height: auto;
        padding: 16px 0;
        flex-wrap: wrap;
    }

    .fm-nav {
        order: 3;
        width: 100%;
        justify-content: flex-start;
        overflow-x: auto;
        padding-bottom: 4px;
    }

    .fm-header__cta {
        margin-left: auto;
    }

    .fm-hero {
        min-height: 560px;
        background:
            linear-gradient(180deg, rgba(26, 50, 37, .92) 0%, rgba(26, 50, 37, .68) 100%),
            url("/img/mainN1.png") center / cover no-repeat;
    }

    .fm-hero h1 {
        font-size: 40px;
    }

    .fm-service-strip__grid,
    .fm-product-grid,
    .fm-process__grid {
        grid-template-columns: 1fr;
    }

    .fm-section-heading {
        align-items: flex-start;
        flex-direction: column;
    }

    .fm-footer__inner {
        flex-direction: column;
    }

    .fm-legacy-root > table:first-of-type {
        width: calc(100% - 24px) !important;
    }
}

@media (max-width: 640px) {
    .fm-brand em,
    .fm-header__cta {
        display: none;
    }

    .fm-hero {
        min-height: 500px;
    }

    .fm-hero h1 {
        font-size: 34px;
    }

    .fm-hero p {
        font-size: 16px;
    }

    .fm-section {
        width: min(100% - 24px, 1180px);
    }
}

.fm-sub-hero {
    background:
        linear-gradient(90deg, rgba(32, 56, 41, .90), rgba(47, 107, 79, .68)),
        url("/img/mainN2.png") center / cover no-repeat;
    color: #fff;
}

.fm-sub-hero__inner {
    width: min(1180px, calc(100% - 40px));
    margin: 0 auto;
    padding: 78px 0 66px;
    text-align: left;
}

.fm-sub-hero h1 {
    margin: 0;
    font-size: 44px;
    line-height: 1.2;
    letter-spacing: 0;
}

.fm-sub-hero p {
    max-width: 620px;
    margin: 16px 0 0;
    color: rgba(255, 255, 255, .82);
    font-size: 18px;
}

.fm-sub-layout {
    width: min(1180px, calc(100% - 40px));
    margin: 54px auto 0;
    display: grid;
    grid-template-columns: 250px minmax(0, 1fr);
    gap: 34px;
    text-align: left;
}

.fm-sub-layout--single {
    grid-template-columns: 1fr;
}

.fm-side-nav {
    position: sticky;
    top: 104px;
    align-self: start;
    border: 1px solid var(--fm-line);
    border-radius: 18px;
    padding: 22px;
    background: #fff;
    box-shadow: 0 18px 48px rgba(31, 41, 51, .06);
}

.fm-side-nav strong {
    display: block;
    color: var(--fm-green-dark);
    font-size: 24px;
    line-height: 1.1;
}

.fm-side-nav p {
    margin: 9px 0 18px;
    color: var(--fm-muted);
    font-size: 14px;
    line-height: 1.55;
}

.fm-side-nav nav {
    display: grid;
    gap: 8px;
}

.fm-side-nav nav a {
    display: flex;
    align-items: center;
    min-height: 42px;
    border-radius: 12px;
    padding: 0 14px;
    background: #f8f4ee;
    color: #39444f;
    font-weight: 800;
    text-decoration: none;
}

.fm-side-nav nav a:hover,
.fm-side-nav nav a.is-active {
    background: var(--fm-green);
    color: #fff;
}

.fm-side-cta {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 44px;
    margin-top: 18px;
    border-radius: 999px;
    background: var(--fm-coral);
    color: #fff !important;
    font-weight: 800;
    text-decoration: none;
}

.fm-content-card {
    border: 1px solid var(--fm-line);
    border-radius: 22px;
    background: #fff;
    box-shadow: 0 18px 52px rgba(31, 41, 51, .06);
    overflow: hidden;
}

.fm-content-card__head {
    padding: 30px 34px 22px;
    border-bottom: 1px solid var(--fm-line);
}

.fm-content-card__head h2 {
    margin: 0;
    color: var(--fm-green-dark);
    font-size: 30px;
    line-height: 1.25;
    letter-spacing: 0;
}

.fm-content-card__head p {
    margin: 10px 0 0;
    color: var(--fm-muted);
}

.fm-content-card__body {
    padding: 34px;
}

.fm-info-image {
    width: 100%;
    max-width: 760px;
    height: auto;
    display: block;
    margin: 0 auto;
    border-radius: 16px;
}

.fm-feature-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
    margin-bottom: 28px;
}

.fm-feature {
    border-radius: 16px;
    padding: 20px;
    background: #f8f4ee;
}

.fm-feature b {
    display: block;
    color: var(--fm-green-dark);
    font-size: 18px;
}

.fm-feature span {
    display: block;
    margin-top: 8px;
    color: var(--fm-muted);
}

.fm-product-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.fm-product-list .fm-product-card img {
    aspect-ratio: 1 / .78;
}

.fm-product-detail {
    display: grid;
    grid-template-columns: minmax(280px, 48%) minmax(0, 1fr);
    gap: 34px;
    align-items: start;
}

.fm-product-detail__image {
    width: 100%;
    border-radius: 18px;
    border: 1px solid var(--fm-line);
    object-fit: cover;
}

.fm-product-detail__summary h2 {
    margin: 0 0 14px;
    color: var(--fm-green-dark);
    font-size: 32px;
}

.fm-product-detail__summary p {
    color: var(--fm-muted);
}

.fm-spec-table {
    width: 100%;
    margin-top: 20px;
    border-collapse: collapse;
}

.fm-spec-table th,
.fm-spec-table td {
    border-bottom: 1px solid var(--fm-line);
    padding: 12px 4px;
    text-align: left;
}

.fm-spec-table th {
    width: 92px;
    color: var(--fm-green-dark);
}

.fm-chip-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 24px;
}

.fm-chip-list a {
    display: inline-flex;
    align-items: center;
    min-height: 36px;
    border-radius: 999px;
    padding: 0 14px;
    background: #f8f4ee;
    color: #39444f;
    font-weight: 800;
    text-decoration: none;
}

.fm-chip-list a.is-active {
    background: var(--fm-green);
    color: #fff;
}

.fm-related {
    margin-top: 34px;
    padding-top: 28px;
    border-top: 1px solid var(--fm-line);
}

.fm-related h3 {
    margin: 0 0 16px;
    color: var(--fm-green-dark);
    font-size: 22px;
}

.fm-related__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
}

.fm-related__grid a {
    display: block;
    border-radius: 14px;
    padding: 14px;
    background: #f8f4ee;
    text-align: center;
    text-decoration: none;
}

.fm-related__grid img {
    max-width: 100%;
    height: auto;
}

.fm-pay-form {
    display: grid;
    gap: 16px;
}

.fm-pay-form label {
    display: grid;
    gap: 7px;
    color: var(--fm-green-dark);
    font-weight: 800;
}

.fm-pay-form input,
.fm-pay-form select,
.fm-pay-form textarea {
    width: 100%;
    box-sizing: border-box;
    min-height: 46px;
    border: 1px solid var(--fm-line);
    border-radius: 12px;
    padding: 10px 12px;
    background: #fff;
    color: var(--fm-ink);
    font: inherit;
}

.fm-pay-form textarea {
    min-height: 110px;
    resize: vertical;
}

.fm-form-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

.fm-form-full {
    grid-column: 1 / -1;
}

.fm-submit-btn {
    width: fit-content;
    min-height: 50px;
    border: 0;
    border-radius: 999px;
    padding: 0 28px;
    background: var(--fm-coral);
    color: #fff;
    font: inherit;
    font-weight: 800;
    cursor: pointer;
}

@media (max-width: 900px) {
    .fm-sub-layout {
        grid-template-columns: 1fr;
    }

    .fm-side-nav {
        position: static;
    }

    .fm-side-nav nav {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .fm-feature-grid,
    .fm-product-list,
    .fm-product-detail,
    .fm-related__grid,
    .fm-form-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    .fm-sub-hero__inner {
        width: min(100% - 24px, 1180px);
        padding: 54px 0 48px;
    }

    .fm-sub-hero h1 {
        font-size: 34px;
    }

    .fm-sub-layout {
        width: min(100% - 24px, 1180px);
        margin-top: 28px;
    }

    .fm-content-card__head,
    .fm-content-card__body {
        padding: 22px;
    }

    .fm-side-nav nav {
        grid-template-columns: 1fr;
    }
}
