:root {
    --color-primary: #01375C;
    --color-white: #fff;
    --color-text: #17364b;
    --color-muted: #607786;
    --color-line: #e7eef2;
    --content-width: 1280px;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    min-width: 320px;
    scroll-behavior: smooth;
}

body {
    min-height: 100vh;
    margin: 0;
    background: var(--color-white);
    color: var(--color-text);
    font-family: "Pretendard", "Noto Sans KR", sans-serif;
    -webkit-font-smoothing: antialiased;
}

a {
    color: inherit;
    text-decoration: none;
}

button {
    font: inherit;
}

.site-header {
    position: relative;
    z-index: 10;
    width: 100%;
    background: var(--color-white);
    border-bottom: 1px solid var(--color-line);
}

.site-header-inner {
    width: min(var(--content-width), calc(100% - 48px));
    min-height: 88px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}

.site-logo {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
}

.site-logo img {
    display: block;
    width: auto;
    max-width: 220px;
    max-height: 54px;
    object-fit: contain;
}

.primary-nav {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: clamp(18px, 2.4vw, 36px);
    margin-left: auto;
}

.primary-nav a {
    position: relative;
    padding: 10px 0;
    color: var(--color-primary);
    font-size: 15px;
    font-weight: 650;
    white-space: nowrap;
    transition: color .18s ease;
}

.primary-nav a::after {
    position: absolute;
    right: 0;
    bottom: 3px;
    left: 0;
    height: 2px;
    border-radius: 2px;
    background: var(--color-primary);
    content: "";
    transform: scaleX(0);
    transform-origin: right;
    transition: transform .18s ease;
}

.primary-nav a:hover {
    color: #17668f;
}

.primary-nav a:hover::after {
    transform: scaleX(1);
    transform-origin: left;
}

.header-actions {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    gap: 10px;
}

.header-divider {
    width: 1px;
    height: 26px;
    margin: 0 7px 0 1px;
    background: #d7e1e7;
}

.header-icon-link,
.menu-toggle {
    width: 42px;
    height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #dce7ed;
    border-radius: 11px;
    background: var(--color-white);
    color: var(--color-primary);
    transition: color .18s ease, border-color .18s ease, background .18s ease, transform .18s ease;
}

.header-icon-link {
    font-size: 16px;
}

.header-icon-link:hover,
.menu-toggle:hover {
    transform: translateY(-1px);
    border-color: var(--color-primary);
    background: #f3f8fb;
}

.menu-toggle {
    padding: 0;
    cursor: pointer;
}

.menu-toggle > i {
    font-size: 17px;
}

.home-hero {
    min-height: min(660px, calc(100vh - 88px));
    display: flex;
    align-items: center;
    background:
        linear-gradient(90deg, rgba(255, 255, 255, .94) 0%, rgba(255, 255, 255, .86) 42%, rgba(255, 255, 255, .18) 100%),
        url("/images/main_hero.jpg") center / cover no-repeat;
}

.home-hero-inner {
    width: min(var(--content-width), calc(100% - 48px));
    margin: 0 auto;
    padding: 100px 0 120px;
}

.hero-copy {
    max-width: 760px;
}

.hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    margin: 0 0 22px;
    color: var(--color-primary);
    font-size: 13px;
    font-weight: 750;
    letter-spacing: .08em;
}

.hero-eyebrow::before {
    width: 24px;
    height: 2px;
    border-radius: 2px;
    background: var(--color-primary);
    content: "";
}

.home-hero h1 {
    margin: 0;
    color: var(--color-primary);
    font-size: clamp(34px, 4.6vw, 56px);
    font-weight: 800;
    letter-spacing: -.06em;
    line-height: 1.3;
    word-break: keep-all;
}

.home-hero h1 span {
    display: block;
}

.home-hero p {
    max-width: 620px;
    margin: 25px 0 0;
    color: var(--color-muted);
    font-size: clamp(17px, 2vw, 20px);
    font-weight: 450;
    line-height: 1.8;
    word-break: keep-all;
}

.home-hero .hero-footnote {
    margin-top: 12px;
    color: var(--color-primary);
    font-size: 16px;
    font-weight: 650;
}

.care-promises {
    background: #f8fafb;
}

.care-promises-inner {
    width: min(var(--content-width), calc(100% - 48px));
    margin: 0 auto;
    padding: 92px 0 100px;
}

.care-promises-heading {
    max-width: 700px;
    margin: 0 auto 42px;
    text-align: center;
}

.care-promises-eyebrow {
    margin: 0 0 12px;
    color: #39799c;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .14em;
}

.care-promises-heading h2 {
    margin: 0;
    color: var(--color-primary);
    font-size: clamp(26px, 3.2vw, 38px);
    font-weight: 800;
    letter-spacing: -.045em;
    line-height: 1.35;
    word-break: keep-all;
}

.care-promises-heading > p:last-child {
    margin: 13px 0 0;
    color: var(--color-muted);
    font-size: 16px;
    line-height: 1.7;
    word-break: keep-all;
}

.care-promise-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.care-promise-card {
    min-height: 0;
    padding: 0 0 26px;
    overflow: hidden;
    border: 1px solid #e6edf1;
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 10px 28px rgba(1, 55, 92, .045);
    transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

.care-promise-card:hover {
    transform: translateY(-4px);
    border-color: #c9dce7;
    box-shadow: 0 16px 34px rgba(1, 55, 92, .09);
}

.care-promise-icon {
    width: 100%;
    height: 240px;
    overflow: hidden;
    margin-bottom: 22px;
    border-radius: 17px 17px 0 0;
    background: #eaf3f8;
}

.care-promise-icon img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.care-promise-card h3,
.care-promise-card p {
    margin-right: 0;
    margin-left: 0;
    padding-right: 28px;
    padding-left: 28px;
}

.care-promise-card h3 {
    margin: 0;
    color: var(--color-primary);
    font-size: 18px;
    font-weight: 750;
    letter-spacing: -.035em;
    line-height: 1.45;
    text-align: center;
    word-break: keep-all;
}

.care-promise-card p {
    margin: 13px 0 0;
    color: #607786;
    font-size: 14px;
    line-height: 1.8;
    word-break: keep-all;
}

.service-process {
    background: #fff;
}

.service-process-inner {
    width: min(var(--content-width), calc(100% - 48px));
    margin: 0 auto;
    padding: 92px 0 100px;
}

.service-process-heading {
    margin: 0 auto 48px;
    text-align: center;
}

.service-process-eyebrow {
    margin: 0 0 12px;
    color: #39799c;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .14em;
}

.service-process-heading h2 {
    margin: 0;
    color: var(--color-primary);
    font-size: clamp(26px, 3.2vw, 38px);
    font-weight: 800;
    letter-spacing: -.045em;
    line-height: 1.35;
    word-break: keep-all;
}

.service-process-heading > p:last-child {
    margin: 13px 0 0;
    color: var(--color-muted);
    font-size: 16px;
    line-height: 1.7;
}

.process-timeline {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.process-step {
    position: relative;
    min-height: 230px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 28px 22px;
    border: 1px solid #e6edf1;
    border-radius: 18px;
    background: #f8fafb;
    text-align: center;
}

.process-step:not(:last-child)::after {
    position: absolute;
    z-index: 1;
    top: 50%;
    right: -20px;
    width: 20px;
    display: grid;
    place-items: center;
    color: #6b9ab4;
    font-family: "Font Awesome 6 Free";
    font-size: 14px;
    font-weight: 900;
    content: "\f061";
    transform: translateY(-50%);
}

.process-step-number {
    position: absolute;
    top: 17px;
    left: 18px;
    color: #78a1b7;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .08em;
}

.process-step-icon {
    width: 64px;
    height: 64px;
    display: grid;
    place-items: center;
    margin-bottom: 20px;
    border-radius: 20px;
    background: #e7f1f6;
    color: var(--color-primary);
    font-size: 25px;
}

.process-step h3 {
    max-width: 220px;
    margin: 0;
    color: var(--color-primary);
    font-size: 17px;
    font-weight: 750;
    letter-spacing: -.03em;
    line-height: 1.5;
    word-break: keep-all;
}

.site-footer {
    background: #f4f7f9;
    color: #536b79;
}

.site-footer-inner {
    width: min(var(--content-width), calc(100% - 48px));
    margin: 0 auto;
    padding: 48px 0 24px;
}

.footer-main {
    display: grid;
    grid-template-columns: minmax(220px, .75fr) minmax(0, 1.25fr);
    gap: 48px;
    padding-bottom: 34px;
}

.footer-brand img {
    display: block;
    width: auto;
    max-width: 190px;
    max-height: 48px;
    object-fit: contain;
}

.footer-brand p {
    margin: 17px 0 0;
    color: #718692;
    font-size: 14px;
    line-height: 1.8;
}

.footer-company {
    display: grid;
    align-content: start;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 11px 22px;
}

.footer-company p {
    display: flex;
    gap: 9px;
    margin: 0;
    color: #536b79;
    font-size: 13px;
    line-height: 1.6;
    overflow-wrap: anywhere;
}

.footer-company strong {
    flex: 0 0 auto;
    color: var(--color-primary);
    font-weight: 700;
}

.footer-company a:hover {
    color: var(--color-primary);
    text-decoration: underline;
}

.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding-top: 18px;
    border-top: 1px solid #dfe7eb;
}

.footer-policy-links {
    display: flex;
    align-items: center;
    gap: 20px;
}

.footer-policy-links button {
    padding: 4px 0;
    border: 0;
    background: transparent;
    color: var(--color-primary);
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
}

.footer-policy-links button:hover {
    text-decoration: underline;
}

.footer-copyright {
    margin: 0;
    color: #83949d;
    font-size: 12px;
    text-align: right;
}

.policy-dialog {
    width: min(720px, calc(100% - 32px));
    max-width: 720px;
    max-height: min( min(78vh, 760px), calc(100% - 32px));
    padding: 0;
    overflow: hidden;
    border: 0;
    border-radius: 18px;
    background: #fff;
    color: var(--color-text);
    box-shadow: 0 24px 80px rgba(0, 28, 48, .24);
}

.policy-dialog::backdrop {
    background: rgba(3, 24, 38, .56);
    backdrop-filter: blur(3px);
}

.policy-dialog-header {
    position: sticky;
    top: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 20px 24px;
    border-bottom: 1px solid var(--color-line);
    background: #fff;
}

.policy-dialog-header h2 {
    margin: 0;
    color: var(--color-primary);
    font-size: 20px;
    font-weight: 750;
}

.policy-dialog-close {
    width: 38px;
    height: 38px;
    flex: 0 0 auto;
    border: 1px solid var(--color-line);
    border-radius: 10px;
    background: #fff;
    color: var(--color-primary);
    font-size: 17px;
    cursor: pointer;
}

.policy-dialog-close:hover {
    background: #f3f8fb;
}

.policy-dialog-content {
    max-height: calc(min(78vh, 760px) - 80px);
    padding: 24px;
    overflow-y: auto;
}

.policy-text {
    color: #425b69;
    font-size: 14px;
    line-height: 1.85;
    overflow-wrap: anywhere;
}

.policy-text[hidden] {
    display: none;
}

@media (max-width: 1050px) {
    .site-header-inner {
        gap: 20px;
    }

    .site-logo img {
        max-width: 180px;
    }

    .primary-nav {
        gap: 17px;
    }

    .primary-nav a {
        font-size: 14px;
    }

    .header-actions {
        gap: 7px;
    }

    .care-promise-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .process-timeline {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 18px;
    }

    .process-step::after {
        display: none;
    }
}

@media (max-width: 820px) {
    .site-header-inner {
        position: relative;
        width: calc(100% - 36px);
        min-height: 74px;
        gap: 14px;
    }

    .site-logo img {
        max-width: 170px;
        max-height: 48px;
    }

    .primary-nav {
        position: absolute;
        top: calc(100% - 1px);
        right: -18px;
        left: -18px;
        display: none;
        align-items: stretch;
        gap: 0;
        margin: 0;
        padding: 9px 18px 17px;
        border-bottom: 1px solid var(--color-line);
        background: var(--color-white);
        box-shadow: 0 12px 20px rgba(1, 55, 92, .08);
    }

    .primary-nav.is-open {
        display: flex;
        flex-direction: column;
    }

    .primary-nav a {
        padding: 13px 3px;
        border-bottom: 1px solid #edf2f5;
        font-size: 15px;
    }

    .primary-nav a:last-child {
        border-bottom: 0;
    }

    .primary-nav a::after {
        display: none;
    }

    .header-divider {
        height: 23px;
        margin-right: 3px;
    }

    .header-icon-link,
    .menu-toggle {
        width: 39px;
        height: 39px;
        border-radius: 10px;
    }

    .home-hero {
        min-height: calc(100vh - 74px);
    }

    .home-hero-inner {
        width: calc(100% - 40px);
        padding: 76px 0 92px;
    }

    .site-footer-inner {
        width: calc(100% - 40px);
    }

    .footer-main {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .care-promises-inner {
        width: calc(100% - 40px);
        padding: 72px 0 78px;
    }

    .service-process-inner {
        width: calc(100% - 40px);
        padding: 72px 0 78px;
    }
}

@media (max-width: 480px) {
    .site-header-inner {
        width: calc(100% - 28px);
    }

    .site-logo img {
        max-width: 145px;
    }

    .header-actions {
        gap: 5px;
    }

    .header-divider {
        margin-left: 0;
        margin-right: 2px;
    }

    .header-icon-link,
    .menu-toggle {
        width: 35px;
        height: 35px;
        border-radius: 9px;
        font-size: 14px;
    }

    .home-hero-inner {
        width: calc(100% - 36px);
        padding: 64px 0 78px;
    }

    .hero-eyebrow {
        margin-bottom: 17px;
        font-size: 11px;
    }

    .home-hero p {
        margin-top: 18px;
        font-size: 16px;
    }

    .site-footer-inner {
        width: calc(100% - 36px);
        padding: 36px 0 20px;
    }

    .footer-company {
        grid-template-columns: 1fr;
        gap: 9px;
    }

    .footer-bottom {
        align-items: flex-start;
        flex-direction: column;
        gap: 12px;
    }

    .footer-policy-links {
        gap: 16px;
    }

    .footer-copyright {
        text-align: left;
    }

    .policy-dialog-header {
        padding: 16px 18px;
    }

    .policy-dialog-content {
        padding: 19px 18px;
    }

    .care-promises-inner {
        width: calc(100% - 36px);
        padding: 58px 0 64px;
    }

    .care-promises-heading {
        margin-bottom: 28px;
    }

    .care-promises-heading > p:last-child {
        font-size: 14px;
    }

    .care-promise-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .care-promise-card {
        min-height: 0;
                padding: 0 0 22px;
    }

    .care-promise-icon {
                height: 190px;
                margin-bottom: 18px;
                border-radius: 15px 15px 0 0;
        }

        .care-promise-card h3,
        .care-promise-card p {
            padding-right: 18px;
            padding-left: 18px;
    }

    .care-promise-card h3 {
        font-size: 17px;
    }

    .care-promise-card p {
        font-size: 13px;
    }

    .service-process-inner {
        width: calc(100% - 36px);
        padding: 58px 0 64px;
    }

    .service-process-heading {
        margin-bottom: 30px;
    }

    .service-process-heading > p:last-child {
        font-size: 14px;
    }

    .process-timeline {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .process-step {
        min-height: 174px;
    }

    .process-step:not(:last-child)::after {
        top: auto;
        right: auto;
        bottom: -16px;
        left: 50%;
        width: auto;
        content: "\f063";
        transform: translate(-50%, 50%);
    }
}

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    clip-path: inset(50%);
}

.public-page-hero {
    min-height: 270px;
    display: flex;
    align-items: center;
    background:
        linear-gradient(90deg, rgba(246, 250, 252, .97) 0%, rgba(246, 250, 252, .9) 54%, rgba(246, 250, 252, .62) 100%),
        url("/images/main_hero.jpg") center 48% / cover no-repeat;
}

.public-page-hero-inner,
.public-page-content {
    width: min(var(--content-width), calc(100% - 48px));
    margin: 0 auto;
}

.public-page-hero-inner {
    padding: 38px 0 42px;
}

.public-sitemap {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 30px;
    color: #647d8b;
    font-size: 12px;
}

.public-sitemap-label {
    margin-right: 5px;
    color: var(--color-primary);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .12em;
}

.public-sitemap i {
    color: #9aadb8;
    font-size: 9px;
}

.public-sitemap a:hover {
    color: var(--color-primary);
    text-decoration: underline;
}

.public-page-kicker {
    margin: 0 0 10px;
    color: #39799c;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .14em;
}

.public-page-hero h1 {
    margin: 0;
    color: var(--color-primary);
    font-size: clamp(32px, 4vw, 46px);
    font-weight: 800;
    letter-spacing: -.05em;
    line-height: 1.25;
    word-break: keep-all;
}

.public-page-hero-inner > p:last-child {
    max-width: 700px;
    margin: 13px 0 0;
    color: #607786;
    font-size: 16px;
    line-height: 1.7;
    word-break: keep-all;
}

.public-page-content {
    min-height: 420px;
    padding: 54px 0 88px;
}

.public-list-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 23px;
}

.public-list-count {
    margin: 0;
    color: #718692;
    font-size: 14px;
}

.public-list-count strong {
    color: var(--color-primary);
    font-weight: 800;
}

.public-search {
    width: min(360px, 100%);
    height: 44px;
    display: flex;
    overflow: hidden;
    border: 1px solid #dce6eb;
    border-radius: 10px;
    background: #fff;
}

.public-search input {
    min-width: 0;
    flex: 1;
    padding: 0 13px;
    border: 0;
    outline: none;
    background: transparent;
    color: var(--color-text);
    font-size: 13px;
}

.public-search input:focus-visible {
    box-shadow: inset 0 0 0 2px #8db4c9;
}

.public-search button {
    min-width: 76px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    padding: 0 13px;
    border: 0;
    background: var(--color-primary);
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
}

.public-search button:hover,
.inquiry-submit:hover {
    background: #07517d;
}

.public-gallery {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}

.public-gallery-card {
    min-width: 0;
    overflow: hidden;
    border: 1px solid #e6edf1;
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 9px 26px rgba(1, 55, 92, .045);
    transition: transform .18s ease, box-shadow .18s ease;
}

.public-gallery-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 32px rgba(1, 55, 92, .1);
}

.public-gallery-image {
    aspect-ratio: 16 / 10;
    display: block;
    overflow: hidden;
    background: #edf4f7;
}

.public-gallery-image img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    transition: transform .3s ease;
}

.public-gallery-card:hover .public-gallery-image img {
    transform: scale(1.035);
}

.public-gallery-placeholder {
    width: 100%;
    height: 100%;
    display: grid;
    place-items: center;
    background: linear-gradient(145deg, #edf5f8, #e0edf3);
    color: #4b819e;
    font-size: 38px;
}

.public-gallery-info {
    padding: 20px 21px 22px;
}

.public-gallery-number {
    color: #7d96a3;
    font-size: 11px;
    font-weight: 750;
    letter-spacing: .05em;
}

.public-gallery-info h2 {
    margin: 9px 0 0;
    color: var(--color-primary);
    font-size: 18px;
    font-weight: 750;
    letter-spacing: -.03em;
    line-height: 1.45;
    word-break: keep-all;
}

.public-gallery-info h2 a:hover {
    text-decoration: underline;
    text-underline-offset: 3px;
}

.public-gallery-info p {
    min-height: 48px;
    margin: 10px 0 14px;
    color: #6b808c;
    font-size: 13px;
    line-height: 1.75;
    word-break: keep-all;
}

.public-gallery-info time {
    color: #91a1a9;
    font-size: 11px;
}

.public-board-wrap {
    overflow-x: auto;
    border-top: 2px solid var(--color-primary);
}

.public-board {
    width: 100%;
    border-collapse: collapse;
    text-align: center;
}

.public-board th,
.public-board td {
    height: 58px;
    padding: 12px 16px;
    border-bottom: 1px solid #e8eef1;
    color: #607786;
    font-size: 14px;
}

.public-board th {
    height: 52px;
    background: #f7f9fa;
    color: var(--color-primary);
    font-size: 13px;
    font-weight: 750;
}

.public-board-title {
    width: 72%;
    text-align: left;
}

.public-board-title a {
    display: block;
    overflow: hidden;
    color: #243f50;
    font-weight: 650;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.public-board-title a:hover {
    color: #17668f;
}

.public-empty-state {
    margin: 0;
    padding: 72px 20px;
    border-top: 1px solid #e6edf1;
    border-bottom: 1px solid #e6edf1;
    color: #758b97;
    font-size: 15px;
    text-align: center;
}

.public-pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    margin-top: 34px;
}

.public-pagination a {
    min-width: 38px;
    height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid transparent;
    border-radius: 9px;
    color: #687f8c;
    font-size: 13px;
    font-weight: 700;
}

.public-pagination a:hover {
    border-color: #dce6eb;
    background: #f7fafb;
    color: var(--color-primary);
}

.public-pagination a.active {
    border-color: var(--color-primary);
    background: var(--color-primary);
    color: #fff;
}

.public-detail {
    width: 100%;
    margin: 0 auto;
    border-top: 2px solid var(--color-primary);
}

.public-detail-title {
    margin: 0;
    padding: 22px 4px 18px;
    color: var(--color-primary);
    font-size: clamp(20px, 2.4vw, 26px);
    font-weight: 750;
    letter-spacing: -.035em;
    line-height: 1.45;
    word-break: keep-all;
}

.public-detail-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 18px 4px;
    border-bottom: 1px solid #e8eef1;
    color: #82949e;
    font-size: 13px;
}

.public-detail-meta span {
    color: var(--color-primary);
    font-weight: 700;
}

.public-detail-body {
    min-height: 220px;
    padding: 38px 4px 54px;
    color: #344f5f;
    font-size: 15px;
    line-height: 1.9;
    overflow-wrap: anywhere;
}

.public-detail-body img {
    max-width: 100%;
    height: auto;
}

.public-detail-body table {
    width: 100%;
    border-collapse: collapse;
}

.public-detail-body th,
.public-detail-body td {
    padding: 9px;
    border: 1px solid #dce6eb;
}

.public-detail-actions {
    padding: 20px 0 0;
    border-top: 1px solid #e8eef1;
    text-align: center;
}

.public-back-link {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 0 20px;
    border: 1px solid #dce6eb;
    border-radius: 10px;
    color: var(--color-primary);
    font-size: 13px;
    font-weight: 700;
}

.public-back-link:hover {
    background: #f5f9fb;
}

.inquiry-layout {
    display: grid;
    grid-template-columns: minmax(260px, .75fr) minmax(0, 1.25fr);
    align-items: start;
    gap: 26px;
}

.inquiry-contact-card,
.inquiry-form-card {
    padding: 30px;
    border: 1px solid #e5edf1;
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 10px 28px rgba(1, 55, 92, .045);
}

.inquiry-contact-card {
    background: #f5f9fb;
}

.inquiry-contact-card h2,
.inquiry-form-card h2 {
    margin: 0;
    color: var(--color-primary);
    font-size: 21px;
    font-weight: 800;
    letter-spacing: -.04em;
}

.inquiry-contact-card > p {
    margin: 12px 0 22px;
    color: #6c818d;
    font-size: 14px;
    line-height: 1.8;
    word-break: keep-all;
}

.inquiry-contact-link {
    display: flex;
    align-items: center;
    gap: 11px;
    margin-top: 13px;
    color: #35586d;
    font-size: 14px;
    overflow-wrap: anywhere;
}

.inquiry-contact-link i {
    width: 36px;
    height: 36px;
    flex: 0 0 36px;
    display: grid;
    place-items: center;
    border-radius: 10px;
    background: #e4eff5;
    color: var(--color-primary);
}

.inquiry-form {
    display: grid;
    gap: 17px;
    margin-top: 23px;
}

.inquiry-form > label {
    display: grid;
    gap: 8px;
    color: #345163;
    font-size: 13px;
    font-weight: 700;
}

.inquiry-form input:not([type="checkbox"]),
.inquiry-form textarea {
    width: 100%;
    min-height: 46px;
    padding: 11px 13px;
    border: 1px solid #dce6eb;
    border-radius: 9px;
    outline: none;
    background: #fff;
    color: var(--color-text);
    font: inherit;
    font-size: 14px;
}

.inquiry-form input:focus,
.inquiry-form textarea:focus {
    border-color: #79a9c1;
    box-shadow: 0 0 0 3px rgba(1, 55, 92, .08);
}

.inquiry-form textarea {
    min-height: 150px;
    resize: vertical;
    line-height: 1.7;
}

.optional-label {
    color: #8c9da6;
    font-size: 11px;
    font-weight: 500;
}

.privacy-consent {
    display: flex !important;
    align-items: flex-start;
    gap: 9px !important;
    color: #637984 !important;
    font-size: 12px !important;
    font-weight: 500 !important;
    line-height: 1.6;
}

.privacy-consent-row {
    display: flex;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 6px 12px;
}

.privacy-consent input {
    flex: 0 0 auto;
    margin: 2px 0 0;
    accent-color: var(--color-primary);
}

.privacy-policy-link {
    padding: 0;
    border: 0;
    background: transparent;
    color: var(--color-primary);
    font: inherit;
    font-weight: 750;
    text-decoration: underline;
    cursor: pointer;
}

.inquiry-submit {
    min-height: 49px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    border: 0;
    border-radius: 10px;
    background: var(--color-primary);
    color: #fff;
    font-size: 14px;
    font-weight: 750;
    cursor: pointer;
}

.inquiry-feedback {
    margin: 16px 0 0;
    padding: 12px 14px;
    border: 1px solid #d2e8da;
    border-radius: 9px;
    background: #f0faf3;
    color: #247043;
    font-size: 13px;
    line-height: 1.6;
}

.inquiry-feedback.error {
    border-color: #f0d7d7;
    background: #fff5f5;
    color: #a83b3b;
}

.inquiry-privacy-content section + section {
    margin-top: 21px;
}

.inquiry-privacy-content h3 {
    margin: 0 0 7px;
    color: var(--color-primary);
    font-size: 15px;
    font-weight: 750;
}

.inquiry-privacy-content p {
    margin: 0;
    color: #526b79;
    font-size: 14px;
    line-height: 1.8;
    word-break: keep-all;
}

.inquiry-success-content {
    display: grid;
    justify-items: center;
    gap: 15px;
    text-align: center;
}

.inquiry-success-dialog {
    width: min(460px, calc(100% - 32px));
    max-width: 460px;
}

.inquiry-success-icon {
    color: #23845a;
    font-size: 48px;
    line-height: 1;
}

.inquiry-success-content p {
    margin: 0;
    color: #526b79;
    font-size: 15px;
    line-height: 1.8;
}

.inquiry-success-confirm {
    width: min(220px, 100%);
    margin-top: 4px;
}

@media (max-width: 820px) {
    .public-page-hero-inner,
    .public-page-content {
        width: calc(100% - 40px);
    }

    .public-gallery {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 17px;
    }

    .inquiry-layout {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .public-page-hero {
        min-height: 230px;
    }

    .public-page-hero-inner,
    .public-page-content {
        width: calc(100% - 36px);
    }

    .public-page-hero-inner {
        padding: 28px 0 34px;
    }

    .public-sitemap {
        gap: 7px;
        margin-bottom: 22px;
        font-size: 11px;
    }

    .public-page-hero-inner > p:last-child {
        font-size: 14px;
    }

    .public-page-content {
        padding: 34px 0 60px;
    }

    .public-list-toolbar {
        align-items: stretch;
        flex-direction: column;
        gap: 12px;
    }

    .public-search {
        width: 100%;
    }

    .public-gallery {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .public-gallery-info {
        padding: 17px 18px 19px;
    }

    .public-board th,
    .public-board td {
        padding: 10px 8px;
        font-size: 12px;
    }

    .public-board-title {
        width: auto;
        min-width: 190px;
    }

    .public-detail-body {
        padding: 26px 0 38px;
        font-size: 14px;
    }

    .inquiry-contact-card,
    .inquiry-form-card {
        padding: 22px 18px;
    }
}

.site-popup-dialog {
    width: min(520px, calc(100% - 32px));
    max-width: 520px;
    max-height: calc(100vh - 32px);
    padding: 0;
    overflow: hidden auto;
    border: 0;
    border-radius: 17px;
    background: #fff;
    color: var(--color-text);
    box-shadow: 0 24px 80px rgba(0, 28, 48, .3);
}

.site-popup-dialog::backdrop {
    background: rgba(3, 24, 38, .62);
    backdrop-filter: blur(3px);
}

.site-popup-header {
    min-height: 56px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 10px 16px 10px 20px;
    border-bottom: 1px solid #e8eef1;
}

.site-popup-header p {
    margin: 0;
    color: var(--color-primary);
    font-size: 11px;
    font-weight: 850;
    letter-spacing: .12em;
}

.site-popup-close,
.site-popup-pagination button {
    width: 36px;
    height: 36px;
    display: inline-grid;
    place-items: center;
    border: 1px solid #dfe8ed;
    border-radius: 10px;
    background: #fff;
    color: var(--color-primary);
    cursor: pointer;
}

.site-popup-close:hover,
.site-popup-pagination button:hover {
    background: #f2f7fa;
}

.site-popup-slide[hidden] {
    display: none;
}

.site-popup-slide h2 {
    margin: 0;
    padding: 20px 24px 14px;
    color: var(--color-primary);
    font-size: 20px;
    font-weight: 750;
    line-height: 1.4;
    word-break: keep-all;
}

.site-popup-slide img {
    width: 100%;
    max-height: min(64vh, 620px);
    display: block;
    object-fit: contain;
    background: #f7f9fa;
}

.site-popup-pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 13px;
    padding: 12px 16px 4px;
    color: #748994;
    font-size: 12px;
}

.site-popup-pagination strong {
    color: var(--color-primary);
}

.site-popup-pagination button {
    width: 30px;
    height: 30px;
    border-radius: 8px;
    font-size: 11px;
}

.site-popup-footer {
    min-height: 58px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 10px 20px;
    border-top: 1px solid #e8eef1;
    color: #687e89;
    font-size: 12px;
}

.site-popup-footer label {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    cursor: pointer;
}

.site-popup-footer input {
    margin: 0;
    accent-color: var(--color-primary);
}

.site-popup-dismiss {
    min-width: 64px;
    min-height: 34px;
    padding: 0 12px;
    border: 0;
    border-radius: 8px;
    background: var(--color-primary);
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
}

.site-popup-dismiss:hover {
    background: #07517d;
}

@media (max-width: 480px) {
    .site-popup-dialog {
        width: calc(100% - 24px);
        max-height: calc(100vh - 24px);
        border-radius: 13px;
    }

    .site-popup-slide h2 {
        padding: 16px 17px 12px;
        font-size: 17px;
    }

    .site-popup-slide img {
        max-height: 58vh;
    }

    .site-popup-footer {
        padding: 9px 14px;
    }
}
