html * {
    box-sizing: border-box;
    font-family: var(--font-sans);
    font-display: swap;
    -webkit-tap-highlight-color: transparent;
}

html {
    /* scroll-behavior: smooth; */
    overflow-x: clip;
}

body {
    margin: 0;
    position: relative;
    font-weight: 600;
    color: var(--color-text);
    background-color: var(--color-mint);
    max-width: 100%;
}

.loading-container {
    display: none;
    position: fixed;
    left: 0;
    top: 0;
    width: 100vw;
    height: 100vh;
    background-color: var(--color-mint);
    z-index: 100;
    pointer-events: none;
    opacity: 0;
    transition: all 500ms ease-in-out;
}

body.loading .loading-container {
    opacity: 1;
    pointer-events: all;
}

/* page transition — overlay curtain (desktop: vertical, mobile: horizontal) */
.page-transition {
    --page-transition-duration: 950ms;
    --page-transition-ease: cubic-bezier(0.77, 0, 0.175, 1);
    --pt-off-x: 0;
    --pt-off-y: 100%;
    --pt-exit-x: 0;
    --pt-exit-y: -100%;
    position: fixed;
    inset: 0;
    z-index: 9999;
    background-color: #fff;
    transform: translate3d(var(--pt-off-x), var(--pt-off-y), 0);
    transition: transform var(--page-transition-duration) var(--page-transition-ease);
    pointer-events: none;
    will-change: transform;
}

.page-transition--cover {
    transform: translate3d(var(--pt-off-x), var(--pt-off-y), 0);
    transition: none;
    pointer-events: all;
}

.page-transition--entering,
.page-transition--active {
    transform: translate3d(0, 0, 0);
    pointer-events: all;
}

.page-transition--exiting {
    transform: translate3d(var(--pt-exit-x), var(--pt-exit-y), 0);
    pointer-events: all;
}

.page-transition--idle {
    transform: translate3d(var(--pt-off-x), var(--pt-off-y), 0);
    pointer-events: none;
}

.page-transition--instant {
    transition: none;
}

@media (max-width: 768px) {
    .page-transition {
        --pt-off-x: 100%;
        --pt-off-y: 0;
        --pt-exit-x: -100%;
        --pt-exit-y: 0;
    }

    .page-transition__label {
        gap: 16px;
        max-width: min(86vw, 520px);
        padding: 0 28px;
    }

    .page-transition__label-en {
        font-size: clamp(1.875rem, 9vw, 3rem);
    }

    .page-transition__label-ko {
        font-size: clamp(1.125rem, 4vw, 1.375rem);
    }

    .page-transition__label-sub {
        font-size: clamp(1rem, 3.6vw, 1.2rem);
    }

    .page-transition__label-title {
        font-size: clamp(1.75rem, 7vw, 2.75rem);
    }
}

.page-transition__label {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
    margin: 0;
    padding: 0 24px;
    max-width: min(90vw, 720px);
    text-align: center;
    opacity: 0;
    transition: opacity 450ms ease 280ms;
    word-break: keep-all;
}

.page-transition__label-en,
.page-transition__label-ko {
    font-weight: 300;
    color: var(--color-text);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    line-height: 1.35;
}

.page-transition__label-en {
    font-size: clamp(1.5rem, 4.5vw, 2.75rem);
}

.page-transition__label-ko {
    font-size: clamp(0.95rem, 2.4vw, 1.25rem);
}

.page-transition__label-sub {
    font-size: clamp(0.85rem, 2vw, 1.05rem);
    font-weight: 400;
    color: var(--color-text-muted);
    letter-spacing: 0.04em;
    line-height: 1.4;
}

.page-transition__label-title {
    font-size: clamp(1.35rem, 4vw, 2.5rem);
    font-weight: 700;
    color: var(--color-text);
    letter-spacing: -0.02em;
    line-height: 1.3;
    word-break: keep-all;
}

.page-transition__logo {
    display: block;
    width: min(220px, 52vw);
    height: auto;
}

.page-transition--entering .page-transition__label,
.page-transition--active .page-transition__label {
    opacity: 1;
}

.page-transition--cover .page-transition__label,
.page-transition--exiting .page-transition__label {
    opacity: 0;
    transition: opacity 350ms ease;
}

body.page-transition-active {
    overflow: hidden;
}

body.portfolio-enter-active {
    overflow: hidden;
}

.portfolio-enter {
    position: fixed;
    inset: 0;
    z-index: 9998;
    pointer-events: none;
    opacity: 0;
}

.portfolio-enter__backdrop {
    position: absolute;
    inset: 0;
    background: var(--color-mint);
    opacity: 0;
}

.portfolio-enter__frame {
    overflow: hidden;
    box-shadow: 0 12px 48px rgba(43, 64, 57, 0.18);
}

.portfolio-enter__dim {
    position: absolute;
    inset: 0;
    z-index: 1;
    background: #00000080;
    pointer-events: none;
}

.portfolio-enter__image,
.portfolio-enter__placeholder {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.portfolio-enter__placeholder {
    background: linear-gradient(135deg, rgba(43, 64, 57, 0.08), rgba(43, 64, 57, 0.16));
}

.portfolio-enter__meta {
    position: fixed;
    left: 50%;
    z-index: 3;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    width: min(92vw, 960px);
    padding: 0 24px;
    text-align: center;
    color: #fff;
    pointer-events: none;
}

.portfolio-enter__tags {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px 10px;
    margin: 0;
    font-size: 0.95rem;
    font-weight: 500;
    opacity: 0.92;
}

.portfolio-enter__title {
    margin: 0;
    font-size: clamp(2rem, 5vw, 3.75rem);
    font-weight: 800;
    line-height: 1.08;
    letter-spacing: -0.02em;
    word-break: keep-all;
}

@media (max-width: 768px) {
    .portfolio-enter__title {
        font-size: clamp(1.75rem, 8vw, 2.5rem);
    }

    .portfolio-enter__tags {
        font-size: 0.82rem;
    }
}

header {
    width: 100%;
    min-height: var(--site-header-height);
    position: fixed;
    top: 0;
    left: 0;
    padding-block: var(--site-header-padding-block);
    padding-inline: clamp(20px, 5vw, 64px);
    box-sizing: border-box;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: transparent;
    color: var(--color-text);
    gap: 24px;
    border-bottom: none;
    box-shadow: none;
    z-index: 100;
    transition:
        background-color 0.3s ease,
        box-shadow 0.3s ease,
        border-color 0.3s ease,
        color 0.3s ease;
}

body:has(main section.intro) header.shown {
    color: var(--color-text);
}

body:has(main section.intro) header.shown nav>ul>li>a {
    color: var(--color-text);
}

body:has(main section.intro) header.shown nav>ul>li>a:hover,
body:has(main section.intro) header.shown nav>ul>li.current>a {
    color: var(--color-text);
}

body:has(main section.intro) header.shown a.logo img {
    filter: none;
}

body:has(section.portfolio-header) header:not(.shown) {
    color: #fff;
}

body:has(section.portfolio-header) header:not(.shown) nav>ul>li>a {
    color: rgba(255, 255, 255, 0.88);
}

body:has(section.portfolio-header) header:not(.shown) nav>ul>li>a:hover,
body:has(section.portfolio-header) header:not(.shown) nav>ul>li.current>a {
    color: #fff;
}

body:has(section.portfolio-header) header:not(.shown) a.logo img {
    filter: brightness(0) invert(1);
}

body:has(section.portfolio-header) header:not(.shown) .global_menu_handle {
    color: #fff;
}

body:has(section.inquiry_page) header:not(.shown) {
    color: #fff;
}

body:has(section.inquiry_page) header:not(.shown) nav>ul>li>a {
    color: rgba(255, 255, 255, 0.88);
}

body:has(section.inquiry_page) header:not(.shown) nav>ul>li>a:hover,
body:has(section.inquiry_page) header:not(.shown) nav>ul>li.current>a {
    color: #fff;
}

body:has(section.inquiry_page) header:not(.shown) a.logo img {
    filter: brightness(0) invert(1);
}

body:has(section.inquiry_page) header:not(.shown) .global_menu_handle {
    color: #fff;
}

body:has(section.portfolio-header) header.shown {
    color: var(--color-text);
}

body:has(section.portfolio-header) header.shown nav>ul>li>a {
    color: var(--color-text);
}

body:has(section.portfolio-header) header.shown nav>ul>li>a:hover,
body:has(section.portfolio-header) header.shown nav>ul>li.current>a {
    color: var(--color-text);
}

body:has(section.portfolio-header) header.shown a.logo img {
    filter: none;
}

header,
footer {
    user-select: none;
}

header a.logo {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    filter: none;
}

header a.logo img {
    height: 30px;
    width: auto;
    object-fit: contain;
}

header nav {
    flex: 1;
    min-width: 0;
}

header .actions {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

header nav>ul {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: clamp(20px, 3vw, 48px);
}

header nav>ul>li {
    position: relative;
}

header nav>ul>li>a {
    position: relative;
    display: inline-flex;
    align-items: center;
    padding: 4px 0;
    font-size: 0.875rem;
    font-weight: 500;
    letter-spacing: 0.01em;
    color: var(--color-text);
    white-space: nowrap;
    transition: color 0.25s ease, opacity 0.25s ease;
}

header nav>ul>li>a:hover,
header nav>ul>li.current>a {
    color: var(--color-text);
    font-weight: 600;
}

header nav>ul>li>ul {
    position: absolute;
    left: 0;
    width: 100%;
    pointer-events: none;
    opacity: 0;
    transition: opacity 200ms ease-in;
}

header nav>ul>li:hover>ul {
    opacity: 1;
    pointer-events: visible;
}

header nav>ul>li>ul>li a {
    display: inline-block;
    text-align: center;
    line-height: 30px;
}

.global_menu_handle {
    display: none;
    align-items: center;
    margin: 0;
    padding: 0;
    color: var(--color-text);
    cursor: pointer;
    line-height: 0;
    -webkit-tap-highlight-color: transparent;
}

.global_menu_handle .hamburger {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 4px;
    width: 30px;
    height: 30px;
    border-radius: 6px;
    transition: background-color 0.2s ease;
}

.global_menu_handle .hamburger span {
    display: block;
    width: 20px;
    height: 2px;
    border-radius: 1px;
    background-color: currentColor;
    transition: transform 0.3s ease, opacity 0.2s ease;
}

.global_menu_handle:has(:checked) .hamburger span:nth-child(1) {
    transform: translateY(6px) rotate(45deg);
}

.global_menu_handle:has(:checked) .hamburger span:nth-child(2) {
    opacity: 0;
}

.global_menu_handle:has(:checked) .hamburger span:nth-child(3) {
    transform: translateY(-6px) rotate(-45deg);
}

footer {
    position: relative;
    box-sizing: border-box;
}

footer .footer-inner {
    display: flex;
    align-items: stretch;
    justify-content: space-between;
    gap: 32px;
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 32px clamp(16px, 4vw, 40px) 24px;
    box-sizing: border-box;
}

footer .footer-col {
    display: flex;
    flex-direction: column;
    min-height: 100%;
}

footer .footer-col--start {
    flex: 1 1 auto;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 16px;
}

footer .footer-page-title {
    margin: 0;
    max-width: 28rem;
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.45;
    letter-spacing: -0.02em;
    color: rgba(43, 64, 57, 0.88);
    word-break: keep-all;
}

footer .footer-col--end {
    flex: 1 1 auto;
    align-items: flex-end;
    text-align: right;
    justify-content: flex-start;
    gap: 16px;
}

footer .footer-brand {
    margin-top: auto;
    align-self: flex-start;
}

footer .footer-brand a {
    display: inline-flex;
}

footer .footer-brand img {
    height: 28px;
    width: auto;
    opacity: 0.9;
    transition: opacity 0.2s ease;
}

footer .footer-brand a:hover img {
    opacity: 1;
}

footer .footer-menu ul {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    margin: 0;
    padding: 0;
    list-style: none;
}

footer .footer-menu li {
    display: block;
    width: 100%;
}

footer .footer-menu a {
    display: inline-block;
    font-size: 0.875rem;
    font-weight: 500;
    line-height: 1.5;
    color: rgba(43, 64, 57, 0.65);
    transition: color 0.2s ease;
}

footer .footer-menu a:hover {
    color: var(--color-primary);
}

footer ul.social {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 8px;
    margin: 0;
    padding: 0;
    list-style: none;
}

footer ul.social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: rgba(0, 0, 0, 0.03);
    transition: background-color 0.25s ease, transform 0.25s ease;
}

footer ul.social a:hover {
    background: var(--color-primary);
    transform: translateY(-2px);
}

footer ul.social img {
    display: block;
    width: 20px;
    height: 20px;
    object-fit: contain;
    opacity: 0.75;
    transition: opacity 0.2s ease;
}

footer ul.social a:hover img {
    opacity: 1;
}

footer .footer-contact {
    display: flex;
    flex-direction: column;
    gap: 4px;
    align-items: flex-end;
    font-style: normal;
    font-size: 0.8125rem;
    font-weight: 500;
    line-height: 1.6;
    color: rgba(43, 64, 57, 0.65);
}

footer .footer-contact a,
footer .footer-contact span {
    word-break: keep-all;
}

footer .footer-contact a {
    transition: color 0.2s ease;
}

footer .footer-contact a:hover {
    color: var(--color-primary);
}

footer .copy {
    margin: auto 0 0;
    font-size: 0.75rem;
    font-weight: 400;
    line-height: 1.5;
    color: rgba(43, 64, 57, 0.45);
}

@keyframes quick-nav-enter {
    from {
        opacity: 0;
        transform: translateY(18px) scale(0.94);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@keyframes quick-nav-enter-mobile {
    from {
        opacity: 0;
        transform: translateY(18px) scale(0.96);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

nav.quick {
    display: none;
    position: sticky;
    bottom: 32px;
    margin-right: 32px;
    margin-left: auto;
    width: fit-content;
    font-size: 1rem;
    z-index: 20;
    padding: 5px;
    border-radius: 999px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.18);
    backdrop-filter: blur(56px) saturate(200%) brightness(1.06);
    -webkit-backdrop-filter: blur(56px) saturate(200%) brightness(1.06);
    border: none;
    box-shadow: none;
    pointer-events: none;
    animation: quick-nav-enter 0.65s cubic-bezier(0.22, 1, 0.36, 1) 0.5s both;
    transition:
        transform 320ms cubic-bezier(0.22, 1, 0.36, 1),
        background-color 320ms ease;
}

nav.quick a,
nav.quick button {
    pointer-events: auto;
}

nav.quick::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    pointer-events: none;
    background: linear-gradient(165deg,
            rgba(255, 255, 255, 0.22) 0%,
            rgba(255, 255, 255, 0.04) 45%,
            rgba(255, 255, 255, 0.1) 100%);
}

nav.quick:hover {
    background: rgba(255, 255, 255, 0.26);
    transform: translateY(-3px);
}

nav.quick ul {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 2px;
    margin: 0;
    padding: 0;
    list-style: none;
    position: relative;
    z-index: 1;
}

nav.quick li {
    display: flex;
    position: relative;
}

nav.quick li+li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    width: 1px;
    height: 20px;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.06);
    pointer-events: none;
}

nav.quick .quick-inquiry::before {
    display: none;
}

nav.quick a,
nav.quick button {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 7px;
    padding: 9px 14px;
    min-width: 0;
    line-height: 1;
    text-align: center;
    white-space: nowrap;
    background-color: transparent;
    border: none;
    border-radius: 999px;
    color: var(--color-text);
    cursor: pointer;
    transition:
        background-color 240ms ease,
        color 240ms ease,
        transform 240ms cubic-bezier(0.22, 1, 0.36, 1),
        box-shadow 240ms ease;
}

nav.quick a:hover,
nav.quick button:hover {
    transform: translateY(-1px);
}

nav.quick .quick-call a:hover,
nav.quick .quick-call button:hover {
    background-color: rgba(47, 94, 231, 0.1);
}

nav.quick .quick-kakao a:hover,
nav.quick .quick-kakao button:hover {
    background-color: rgba(254, 229, 0, 0.18);
}

nav.quick .quick-location a:hover,
nav.quick .quick-location button:hover {
    background-color: rgba(34, 197, 94, 0.1);
}

nav.quick .quick-inquiry a:hover,
nav.quick .quick-inquiry button:hover {
    background: rgba(47, 94, 231, 0.92);
    color: #fff;
    box-shadow: 0 4px 16px rgba(47, 94, 231, 0.35);
}

nav.quick i {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 32px;
    height: 32px;
    margin-right: 0;
    line-height: 1;
    font-size: 17px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.45);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 0.5px solid rgba(255, 255, 255, 0.6);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.7),
        0 2px 6px rgba(0, 0, 0, 0.05);
    transition: transform 240ms cubic-bezier(0.22, 1, 0.36, 1), box-shadow 240ms ease, background-color 240ms ease;
}

nav.quick a:hover i,
nav.quick button:hover i {
    transform: scale(1.06);
}

nav.quick .quick-call i {
    color: var(--color-primary);
    background: rgba(47, 94, 231, 0.12);
    border-color: rgba(47, 94, 231, 0.18);
}

nav.quick .quick-kakao i {
    color: #7c5e00;
    background: rgba(254, 229, 0, 0.22);
    border-color: rgba(254, 229, 0, 0.35);
}

nav.quick .quick-location i {
    color: #15803d;
    background: rgba(34, 197, 94, 0.14);
    border-color: rgba(34, 197, 94, 0.22);
}

nav.quick .quick-inquiry a,
nav.quick .quick-inquiry button {
    margin-left: 2px;
    padding: 9px 16px;
    background: rgba(47, 94, 231, 0.88);
    color: #fff;
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.22),
        0 4px 14px rgba(47, 94, 231, 0.32);
}

nav.quick .quick-inquiry i {
    color: #fff;
    background: rgba(255, 255, 255, 0.22);
    border-color: rgba(255, 255, 255, 0.35);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

nav.quick span {
    display: inline-block;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: -0.02em;
}

nav.quick .quick-inquiry span {
    font-weight: 700;
}

@media (hover: none) {

    nav.quick .quick-call a:active,
    nav.quick .quick-call button:active {
        background-color: rgba(47, 94, 231, 0.1);
    }

    nav.quick .quick-kakao a:active,
    nav.quick .quick-kakao button:active {
        background-color: rgba(254, 229, 0, 0.18);
    }

    nav.quick .quick-location a:active,
    nav.quick .quick-location button:active {
        background-color: rgba(34, 197, 94, 0.1);
    }

    nav.quick .quick-inquiry a:active,
    nav.quick .quick-inquiry button:active {
        background: rgba(47, 94, 231, 0.92);
        color: #fff;
    }

    nav.quick a:active i,
    nav.quick button:active i {
        transform: scale(1.06);
    }
}

::selection {
    background-color: var(--color-text);
    color: var(--color-light);
}

body:has(:is(button:hover, a:hover, [data-copy]:hover, label:hover)) #cursor {
    width: 60px;
    height: 60px;
    cursor: none !important;
}

#cursor {
    z-index: 10000;
    position: fixed;
    background-color: var(--color-light);
    width: 16px;
    height: 16px;
    border-radius: 50%;
    transform: translate(-50%, -50%);
    mix-blend-mode: difference;
    pointer-events: none;
    top: var(--cursor-y);
    left: var(--cursor-x);
    transition: width 300ms ease-in-out, height 300ms ease-in-out;
}


#scroll-guide.shown {
    opacity: 1;
}

body.portfolio #scroll-guide {
    bottom: 8px;
}

body:has(section.portfolio-header) #scroll-guide {
    top: 450px;
    bottom: auto;
}

#scroll-guide {
    position: fixed;
    left: calc(50% - 8px);
    bottom: 8px;
    width: 16px;
    height: 30px;
    border: 1px solid var(--color-light);
    border-radius: 8px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 200ms ease-out;
    text-transform: uppercase;
    z-index: 8;
}

#scroll-guide::before {
    content: 'scroll';
    position: absolute;
    transform: translate(calc(-50% + 8px), -16px);
    font-size: 10px;
    font-weight: 400;
    color: var(--color-light);
    animation-name: twinkling;
    animation-iteration-count: infinite;
    animation-duration: 2400ms;
    animation-timing-function: ease-out;
}

#scroll-guide::after {
    content: '';
    position: absolute;
    width: 14px;
    height: 14px;
    border-radius: 7px;
    background-color: var(--color-light);
    animation-name: toDown;
    animation-iteration-count: infinite;
    animation-duration: 1200ms;
    animation-timing-function: ease-out;
}

body:has(.global_menu_handle :checked) {
    overflow: hidden;
    user-select: none;
}

body:has(.global_menu_handle :checked) aside {
    opacity: 1;
    pointer-events: auto;
    user-select: auto;
}

body:has(.global_menu_handle :checked) main .site-content,
body:has(.global_menu_handle :checked) main nav.quick,
body:has(.global_menu_handle :checked) footer {
    pointer-events: none;
    user-select: none;
}

body:has(.global_menu_handle :checked) header {
    pointer-events: auto;
    user-select: auto;
    z-index: 101;
}

aside nav ul {
    display: flex;
    flex-direction: column;
    gap: 20px;
    justify-content: flex-start;
    align-items: flex-start;
    min-height: 100vh;
    font-size: 1.625rem;
    font-weight: 400;
    color: var(--color-text);
    box-sizing: border-box;
    padding: calc(var(--site-header-height) + var(--site-header-padding-block) * 2 + 28px) clamp(20px, 5vw, 32px) 32px;
}

aside nav ul>li>a {
    display: inline-block;
    font-weight: inherit;
    letter-spacing: 0.01em;
    line-height: 1.18;
}

aside nav ul>li.current>a {
    font-weight: 500;
    color: var(--color-primary);
}

body:has(.global_menu_handle :checked) nav.quick {
    background: rgba(120, 120, 128, 0.22);
    backdrop-filter: blur(56px) saturate(180%) brightness(0.92);
    -webkit-backdrop-filter: blur(56px) saturate(180%) brightness(0.92);
}

body:has(.global_menu_handle :checked) nav.quick::after {
    background: linear-gradient(165deg,
            rgba(255, 255, 255, 0.12) 0%,
            rgba(255, 255, 255, 0.02) 45%,
            rgba(255, 255, 255, 0.06) 100%);
}

body:has(.global_menu_handle :checked) nav.quick a,
body:has(.global_menu_handle :checked) nav.quick button {
    color: rgba(255, 255, 255, 0.92);
}

body:has(.global_menu_handle :checked) nav.quick li+li::before {
    background: rgba(255, 255, 255, 0.1);
}

body:has(.global_menu_handle :checked) nav.quick .quick-inquiry a {
    background: rgba(47, 94, 231, 0.75);
    color: #fff;
}

aside {
    position: fixed;
    left: 0;
    top: 0;
    width: 100vw;
    height: 100vh;
    z-index: 90;
    background-color: var(--color-mint);
    opacity: 0;
    pointer-events: none;
    user-select: none;
    transition: opacity 500ms cubic-bezier(0.86, 0.01, 0.77, 0.78);
}

main {
    position: relative;
}


/* Common Style END!*/
#popup-container {
    position: fixed;
    left: 0;
    top: 0;
    width: 100vw;
    height: 100vh;
    background-color: #00000070;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 5;
}

#popup-slider {}

.popup-swiper .swiper-slide {
    width: 500px;
    height: 500px;
    background-color: var(--color-white);
}

.popup img {
    width: 500px;
    height: 500px;
    object-fit: cover;
    object-position: center;
}

/* Main Style*/
main section {
    position: relative;
    width: 90%;
    max-width: 1024px;
    margin: auto;
    padding: 70px 0;

}

main section .background {
    position: sticky;
    top: 0;
    left: 0;
}

main section.intro {
    padding: 0;
    width: 100%;
    max-width: initial;
}

main section.intro::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    right: 0;
    bottom: 0;
    background-color: #00000060;
    z-index: 1;
}

main section.intro video {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

main section.intro .content {
    position: relative;
    z-index: 2;
    width: 100vw;
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 80px;
    color: #fff;
    text-shadow: 0 0 50px #333;
    text-align: center;
    padding-top: 100px;
    padding-bottom: 70px;
}

main section.intro h2 {
    font-size: 80px;
    line-height: 80px;
    font-weight: 900;
    text-transform: uppercase;
    margin-bottom: 40px;
}

main section.intro h2 span {
    display: inline-block;
}

main section.intro h2 span.primary {
    color: #7eb4ff;
}

main section.intro h2 span.error {
    color: #f48484;
}

main section.intro p {
    font-size: 45px;
    margin-bottom: 20px;
}

p.typing-container {
    width: 730px;
    height: 130px;
    line-height: 1.5em;
}

#b_cursor {
    border-left: 2px solid #fff;
    animation: blink .8s infinite;
    display: inline-block;
    margin-left: 3px;
    height: 45px;
    vertical-align: middle;
    margin-bottom: 10px;
}

@keyframes blink {
    0% {
        opacity: 1;
    }

    50% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

main section.intro .banner_cs {
    padding: 30px;
    border-radius: 10px;
    background-color: rgba(0, 0, 0, .3);
    backdrop-filter: blur(3px);
    display: flex;
    gap: 30px;
    align-items: center;
}

main section.intro .banner_cs>h3 {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 0;
    line-height: normal;
}

main section.intro .banner_cs>h3 span {
    display: block;
    font-size: 0.4em;
    margin-bottom: 20px;
    font-weight: 600;
}

main section.intro .banner_cs>ul {
    border-left: 1px solid var(--color-white);
    padding: 8px 0 8px 30px;
    text-align: left;
    font-weight: 300;
    line-height: 2em;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

main section.intro .banner_cs>ul li b {
    width: 80px;
    display: inline-block;
    font-weight: 600;
    margin-right: 15px;
}

main section h2 {
    font-weight: 700;
    font-size: 30px;
    margin-bottom: 20px;
    line-height: 40px;
}

main section h3 {
    font-size: 20px;
    margin-bottom: 15px;
    line-height: 25px;
    font-weight: 400;
}

main section.comment h3 {
    font-size: 4.5rem;
    font-weight: 800;
    margin-bottom: 1em;
    text-align: center;
    /* line-height: 50px; */
}

main section.comment h3 .icon_3d {
    display: inline-flex;
    align-items: center;
    white-space: nowrap;
}

main section.comment h3 .icon_3d img {
    height: 80px;
    width: 80px;
    display: inline-block;
    margin: 0 8px;
    object-fit: contain;
}

main section p {
    word-break: keep-all;
}

main section.comment {
    text-align: center;
    padding: 0;
    overflow: hidden;
}

main section.comment .comment__stage {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    padding: 120px clamp(16px, 4vw, 32px) 70px;
    box-sizing: border-box;
}

main section.comment.comment--ready .comment__line {
    opacity: 0;
    transform: translateY(72px);
    filter: blur(10px);
    will-change: transform, opacity, filter;
}

main section.comment.comment--ready .comment__line .icon_3d img {
    transform: scale(0) rotate(-18deg);
    transform-origin: 50% 80%;
    will-change: transform;
}

main .service-sections {
    position: relative;
    width: 100%;
    min-height: 100vh;
    min-height: 100dvh;
}

main .service-sections__fade {
    position: relative;
    display: block;
    width: 100%;
    height: var(--sections-fade-height);
    pointer-events: none;
    --sections-fade-height: clamp(220px, 45vh, 560px);
}

main .service-sections__fade--start {
    --sections-fade-color: #61a1f1;
    background: linear-gradient(180deg, transparent 0%, var(--sections-fade-color) 100%);
}

main .service-sections__fade--end {
    --sections-fade-color: #55bc6a;
    background: linear-gradient(180deg, var(--sections-fade-color) 0%, transparent 100%);
}

main .service-sections__pager {
    --pager-radius: 28px;
    --pager-inset: 4px;
    --pager-fill-radius: calc(var(--pager-radius) - var(--pager-inset));
    position: absolute;
    left: 50%;
    bottom: clamp(14px, 2.5vh, 24px);
    z-index: 10;
    width: min(540px, calc(100% - 28px));
    padding: var(--pager-inset);
    transform: translateX(-50%);
    pointer-events: auto;
    border-radius: var(--pager-radius);
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border: 1px solid rgba(255, 255, 255, 0.14);
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.08);
    isolation: isolate;
    opacity: 1;
    visibility: visible;
    transition:
        opacity 0.35s ease,
        visibility 0.35s ease,
        transform 0.35s ease;
}

main .service-sections__pager.is-hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateX(-50%) translateY(10px);
}

main .service-sections__pager-gauge {
    position: absolute;
    left: var(--pager-inset);
    top: var(--pager-inset);
    bottom: var(--pager-inset);
    width: calc((100% - (var(--pager-inset) * 2)) * var(--pager-progress, 0));
    max-width: calc(100% - (var(--pager-inset) * 2));
    border-radius: var(--pager-fill-radius);
    overflow: hidden;
    will-change: width;
}

main .service-sections__pager-gauge-fill {
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: calc(100% / max(var(--pager-progress, 0.001), 0.001));
    background: var(--pager-gradient, linear-gradient(90deg, #61a1f1, #55bc6a));
}

main .service-sections__pager-items {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: stretch;
    gap: 3px;
}

main .service-sections__pager-item {
    flex: 1 1 0;
    min-width: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 7px 6px;
    border: none;
    background: transparent;
    color: rgba(255, 255, 255, 0.58);
    font: inherit;
    cursor: pointer;
    border-radius: 0;
    white-space: nowrap;
    transition: color 0.2s ease;
}

main .service-sections__pager-item:hover {
    color: rgba(255, 255, 255, 0.88);
}

main .service-sections__pager-item.is-active,
main .service-sections__pager-item.is-complete {
    color: rgba(255, 255, 255, 0.96);
}

main .service-sections__pager-label {
    position: relative;
    z-index: 1;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: -0.02em;
    line-height: 1.1;
    overflow: hidden;
    text-overflow: ellipsis;
}

main .service-sections__bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    background-color: #61a1f1;
    opacity: 1;
    transition: none;
}

main .service-sections__viewport {
    position: relative;
    z-index: 1;
    width: 100%;
    min-height: 100vh;
    min-height: 100dvh;
    overflow: hidden;
}

main .service-sections__track {
    display: flex;
    flex-wrap: nowrap;
    will-change: transform;
}

main .service-sections__track>section.service-section {
    flex: 0 0 100%;
    width: 100%;
    min-width: 100%;
}

main .service-sections.service-sections--ready .service-section {
    background-color: transparent;
}

main section.service-section.service-section--ready .service-section__stage {
    position: relative;
    z-index: 2;
}

main section.service-section.service-section--ready .service-section__items {
    position: relative;
    z-index: 1;
}

main section.service-section.service-section--ready .service-section__item {
    opacity: 1;
}

main section.service-section.service-section--ready .service-section__title {
    z-index: 10;
}

main section.service-section.service-section--ready .service-section__float {
    will-change: transform, opacity;
}

main section.service-section {
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 0;
    color: #fff;
    background-color: var(--service-bg, #61a1f1);
    overflow: hidden;
}

main section.service-section .service-section__row {
    display: flex;
    align-items: stretch;
    min-height: 100vh;
    min-height: 100dvh;
}

main section.service-section[data-layout="1"] .service-section__row,
main section.service-section[data-layout="3"] .service-section__row {
    flex-direction: row-reverse;
}

main section.service-section .service-section__stage {
    position: relative;
    flex: 1 1 50%;
    min-height: 100vh;
    min-height: 100dvh;
    box-sizing: border-box;
}

main section.service-section .service-section__stage-inner {
    position: relative;
    width: 100%;
    height: 100%;
    min-height: inherit;
}

main section.service-section .service-section__float {
    position: absolute;
    z-index: 2;
    margin: 0;
    opacity: 0;
}

main section.service-section .service-section__title {
    font-size: clamp(2rem, 3.6vw, 3.2rem);
    font-weight: 600;
    line-height: 1.12;
    letter-spacing: -0.02em;
    max-width: 82%;
    text-wrap: balance;
}

main section.service-section .service-section__desc-line {
    font-size: clamp(0.95rem, 1.35vw, 1.15rem);
    font-weight: 400;
    line-height: 1.55;
    opacity: 0.94;
    max-width: 78%;
}

main section.service-section .service-section__media {
    display: block;
    width: min(72%, 320px);
    height: auto;
    object-fit: contain;
    filter: drop-shadow(0 18px 36px rgba(0, 0, 0, 0.16));
    pointer-events: none;
    user-select: none;
}

/* stage 좌측 — 타이틀·설명·이미지 세로 배치 */
main section.service-section[data-layout="0"] .service-section__title,
main section.service-section[data-layout="2"] .service-section__title {
    top: 14%;
    left: 10%;
}

main section.service-section[data-layout="0"] .service-section__desc-line--0,
main section.service-section[data-layout="2"] .service-section__desc-line--0 {
    top: 27%;
    left: 10%;
}

main section.service-section[data-layout="0"] .service-section__desc-line--1,
main section.service-section[data-layout="2"] .service-section__desc-line--1 {
    top: 34%;
    left: 10%;
}

main section.service-section[data-layout="0"] .service-section__desc-line--2,
main section.service-section[data-layout="2"] .service-section__desc-line--2 {
    top: 41%;
    left: 10%;
}

main section.service-section[data-layout="0"] .service-section__media,
main section.service-section[data-layout="2"] .service-section__media {
    top: 54%;
    left: 14%;
}

/* stage 우측 — 텍스트 우측 정렬 */
main section.service-section[data-layout="1"] .service-section__title,
main section.service-section[data-layout="3"] .service-section__title {
    top: 14%;
    right: 10%;
    left: auto;
    text-align: right;
}

main section.service-section[data-layout="1"] .service-section__desc-line--0,
main section.service-section[data-layout="3"] .service-section__desc-line--0 {
    top: 27%;
    right: 10%;
    left: auto;
    text-align: right;
}

main section.service-section[data-layout="1"] .service-section__desc-line--1,
main section.service-section[data-layout="3"] .service-section__desc-line--1 {
    top: 34%;
    right: 10%;
    left: auto;
    text-align: right;
}

main section.service-section[data-layout="1"] .service-section__desc-line--2,
main section.service-section[data-layout="3"] .service-section__desc-line--2 {
    top: 41%;
    right: 10%;
    left: auto;
    text-align: right;
}

main section.service-section[data-layout="1"] .service-section__media,
main section.service-section[data-layout="3"] .service-section__media {
    top: 54%;
    right: 14%;
    left: auto;
}

main section.service-section .service-section__items {
    flex: 1 1 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    padding: clamp(48px, 6vw, 88px) clamp(28px, 3.5vw, 48px);
}

main section.service-section .service-section__item-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    list-style: none;
    margin: 0;
    padding: 0;
    width: 100%;
    max-width: 520px;
}

main section.service-section .service-section__item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 14px 16px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.22);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    box-shadow: none;
    height: 100%;
    box-sizing: border-box;
}

main section.service-section .service-section__item-index {
    flex-shrink: 0;
    font-size: 1.35rem;
    font-weight: 600;
    line-height: 1;
    opacity: 0.45;
    letter-spacing: -0.04em;
}

main section.service-section .service-section__item-body h4 {
    margin: 0 0 8px;
    font-size: 0.95rem;
    font-weight: 600;
    line-height: 1.35;
}

main section.service-section .service-section__item-body p {
    margin: 0 0 4px;
    font-size: 0.82rem;
    font-weight: 500;
    line-height: 1.45;
    opacity: 0.88;
}

main section.service-section .service-section__item-body p:last-child {
    margin-bottom: 0;
}

@media (min-width: 769px) {

    main .service-sections--ready:not(.service-sections--last)+.service-sections__fade--end,
    main .service-sections:not(.service-sections--ready)+.service-sections__fade--end {
        display: none;
    }
}

@media (max-width: 768px) {
    main .service-sections__pager {
        display: none;
    }
}

main section.comment .comment__line--emphasis {
    font-weight: 700;
}

main section.comment p {
    font-size: 2.5rem;
    line-height: 2em;
    font-weight: 500;
}

main section.comment p .icon_3d {
    display: inline-flex;
    align-items: center;
}

main section.comment p .icon_3d img {
    height: 1.05em;
    display: inline-block;
    margin: 0 8px;
    width: 1.05em;
    object-fit: contain;
}

main section.service_page {
    padding-top: 100px;
    padding-bottom: 100px;
}

body:has(section.service_page) #scroll-guide,
body:has(section.inquiry_page) #scroll-guide {
    display: none;
}

main section.inquiry_cta {
    text-align: center;
    padding: 100px 0;
    width: 100vw;
    max-width: initial;
    color: #fff;
    overflow: hidden;
}

main section.inquiry_cta--scroll {
    padding: 0;
    background: #0a0a0a;
    overflow: hidden;
}

main section.inquiry_cta--scroll::before {
    display: none;
}

main section.inquiry_cta--scroll .inquiry_cta__stage {
    position: relative;
    height: 100vh;
    height: 100dvh;
    width: 100%;
}

main section.inquiry_cta--scroll .inquiry_cta__panel {
    --cta-clip-t: 6%;
    --cta-clip-r: 34%;
    --cta-clip-b: 6%;
    --cta-clip-l: 34%;
    position: absolute;
    inset: 0;
    clip-path: inset(var(--cta-clip-t) var(--cta-clip-r) var(--cta-clip-b) var(--cta-clip-l));
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    will-change: clip-path;
}

main section.inquiry_cta--scroll .inquiry_cta__panel::before,
main section.inquiry_cta::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    right: 0;
    bottom: 0;
    background-color: #00000080;
    z-index: 1;
    pointer-events: none;
}

main section.inquiry_cta--scroll .inquiry_cta__panel .background {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

main section.inquiry_cta--scroll .inquiry_cta__content {
    position: relative;
    z-index: 2;
    width: 90%;
    max-width: 1024px;
    padding: 0 clamp(16px, 4vw, 32px);
    box-sizing: border-box;
}

main section.inquiry_cta.inquiry_cta--ready .inquiry_cta__content {
    visibility: hidden;
}

main section.inquiry_cta.inquiry_cta--ready .inquiry_cta__line {
    opacity: 0;
    transform: translateY(48px);
    filter: blur(10px);
    will-change: transform, opacity, filter;
}

main section.inquiry_cta.inquiry_cta--ready .cta_actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

main section.inquiry_cta .background {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
}

main section.inquiry_cta .background video {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

main section.inquiry_cta .container {
    position: relative;
    z-index: 2;
}

/* --- home showcase (partners · certificates · posts) --- */
main section.home-showcase {
    padding: 100px clamp(16px, 4vw, 32px);
}

main section.home-showcase .home-showcase__inner {
    max-width: 1200px;
    margin: 0 auto;
}

main section.home-showcase .home-showcase__title {
    font-size: 30px;
    font-weight: 700;
    line-height: 40px;
    margin-bottom: 8px;
    text-align: center;
    text-transform: capitalize;
}

main section.home-showcase .home-showcase__subtitle {
    font-size: 16px;
    font-weight: 300;
    line-height: 24px;
    color: var(--color-text-muted);
    text-align: center;
    margin-bottom: 40px;
}

main section.home-partners .home-partners__track-wrap {
    overflow: hidden;
}

main section.home-partners .home-partners__track-wrap--marquee {
    mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}

main section.home-partners .home-partners__track {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 32px 48px;
    list-style: none;
    margin: 0;
    padding: 0;
}

main section.home-partners .home-partners__track-wrap--marquee .home-partners__track {
    flex-wrap: nowrap;
    justify-content: flex-start;
    width: max-content;
    animation: homePartnerMarquee 36s linear infinite;
}

main section.home-partners .home-partners__track-wrap--marquee:hover .home-partners__track {
    animation-play-state: paused;
}

main section.home-partners .home-partners__track li {
    flex: 0 0 auto;
}

main section.home-partners .home-partners__track a,
main section.home-partners .home-partners__track .progressive-image,
main section.home-partners .home-partners__fallback {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 120px;
    max-width: 180px;
    height: 64px;
}

main section.home-partners .home-partners__track img {
    display: block;
    max-width: 100%;
    max-height: 64px;
    width: auto;
    height: auto;
    object-fit: contain;
    filter: grayscale(1);
    opacity: 0.72;
    transition: filter 0.25s ease, opacity 0.25s ease, transform 0.25s ease;
}

main section.home-partners .home-partners__track a:hover img {
    filter: grayscale(0);
    opacity: 1;
    transform: scale(1.04);
}

main section.home-partners .home-partners__fallback {
    font-size: 16px;
    font-weight: 400;
    color: var(--color-text-muted);
    padding: 0 12px;
    text-align: center;
    word-break: keep-all;
}

@keyframes homePartnerMarquee {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-50%);
    }
}

main section.home-certificates .home-certificates__list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 20px;
    list-style: none;
    margin: 0;
    padding: 0;
}

main section.home-certificates .home-certificates__card {
    margin: 0;
    height: 100%;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

main section.home-certificates .home-certificates__media {
    aspect-ratio: 3 / 4;
    background-color: #fff;
    box-shadow: var(--shadow-container);
    border-radius: 20px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

main section.home-certificates .home-certificates__media img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

main section.home-certificates .home-certificates__placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    color: var(--color-text-muted);
    font-size: 2.5rem;
}

main section.home-certificates figcaption {
    font-size: 18px;
    font-weight: 700;
    text-align: center;
    line-height: 24px;
    word-break: keep-all;
}

main section.home-posts .home-posts__list {
    display: flex;
    flex-direction: column;
    list-style: none;
    margin: 0;
    padding: 0;
    border-top: 1px solid rgba(43, 64, 57, 0.12);
}

main section.home-posts .home-posts__row {
    display: flex;
    align-items: center;
    gap: 24px;
    padding: 16px 0;
    border-bottom: 1px solid rgba(43, 64, 57, 0.12);
    color: inherit;
    text-decoration: none;
    transition: background-color 0.2s ease;
}

main section.home-posts .home-posts__row:hover .home-posts__title {
    color: var(--color-primary);
}

main section.home-posts .home-posts__date {
    flex: 0 0 100px;
    font-size: 14px;
    font-weight: 400;
    line-height: 20px;
    color: var(--color-text-muted);
}

main section.home-posts .home-posts__board {
    flex: 0 0 auto;
    font-size: 13px;
    font-weight: 400;
    line-height: 18px;
    color: var(--color-text-muted);
    padding: 4px 10px;
    border: 1px solid rgba(43, 64, 57, 0.15);
    border-radius: 999px;
    white-space: nowrap;
}

main section.home-posts .home-posts__title {
    flex: 1;
    min-width: 0;
    margin: 0;
    font-size: 16px;
    font-weight: 500;
    line-height: 24px;
    word-break: keep-all;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

main section.board-list {
    padding: calc(var(--site-header-height) + var(--site-header-padding-block) * 2 + 48px) clamp(16px, 4vw, 32px) 100px;
}

main section.board-list .board-list__header {
    margin-bottom: 48px;
    padding-bottom: 24px;
}

main section.board-list .home-showcase__title {
    margin-bottom: 12px;
}

main section.board-list .home-showcase__subtitle {
    margin-bottom: 0;
}

main section.board-list .board-list__pagination {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
    margin-top: 36px;
}

main section.board-list .board-list__page {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 36px;
    height: 36px;
    padding: 0 10px;
    border-radius: 8px;
    color: var(--color-text);
    text-decoration: none;
    background: #fff;
    box-shadow: var(--shadow-container);
}

main section.board-list .board-list__page.is-active {
    background: var(--color-primary, #61a1f1);
    color: #fff;
}

main section.board-list .board-list__page.is-disabled {
    opacity: 0.45;
}

/* board gallery */
main section.board-list .board-gallery__list {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
    list-style: none;
    margin: 0;
    padding: 0;
}

main section.board-list .board-gallery__card {
    display: flex;
    flex-direction: column;
    height: 100%;
    color: inherit;
    text-decoration: none;
    border: 1px solid rgba(43, 64, 57, 0.12);
    border-radius: 12px;
    overflow: hidden;
    background: #fff;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

main section.board-list .board-gallery__body {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 16px;
}

main section.board-list .board-gallery__title {
    margin: 0;
    font-size: 16px;
    font-weight: 500;
    line-height: 24px;
    word-break: keep-all;
}

main section.board-list .board-gallery__meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    font-size: 13px;
    line-height: 18px;
    color: var(--color-text-muted);
}

main section.board-list .board-gallery__meta time {
    flex: 0 0 100px;
}

main section.board-list .board-gallery__meta span {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

main section.board-list .board-gallery__empty,
main section.board-list .board-feed__empty {
    grid-column: 1 / -1;
    margin: 0;
    padding: 48px 16px;
    text-align: center;
    color: var(--color-text-muted);
    list-style: none;
}

/* board feed */
main section.board-list .board-feed__list {
    display: flex;
    flex-direction: column;
    gap: 20px;
    list-style: none;
    margin: 0;
    padding: 0;
    border-top: 1px solid rgba(43, 64, 57, 0.12);
}

main section.board-list .board-feed__card {
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding: 24px 0;
    color: inherit;
    text-decoration: none;
    border-bottom: 1px solid rgba(43, 64, 57, 0.12);
    transition: background-color 0.2s ease;
}

main section.board-list .board-feed__body {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

main section.board-list .board-feed__meta {
    display: flex;
    align-items: center;
    gap: 16px;
    font-size: 13px;
    line-height: 18px;
    color: var(--color-text-muted);
}

main section.board-list .board-feed__board {
    padding: 4px 10px;
    border: 1px solid rgba(43, 64, 57, 0.15);
    border-radius: 999px;
    white-space: nowrap;
}

main section.board-list .board-feed__title {
    margin: 0;
    font-size: 18px;
    font-weight: 600;
    line-height: 28px;
    word-break: keep-all;
}

main section.board-list .board-feed__excerpt {
    margin: 0;
    min-height: 24px;
    font-size: 15px;
    font-weight: 300;
    line-height: 1.6;
    color: var(--color-text-muted);
    word-break: keep-all;
}

main section.board-list .board-post__thumb {
    position: relative;
    overflow: hidden;
    background: rgba(43, 64, 57, 0.06);
}

main section.board-list.board-list--gallery .board-post__thumb {
    aspect-ratio: 4 / 3;
}

main section.board-list.board-list--feed .board-feed__thumb {
    aspect-ratio: 16 / 9;
    border-radius: 10px;
}

main section.board-list .board-post__thumb-empty {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 120px;
    background: linear-gradient(135deg, rgba(43, 64, 57, 0.05), rgba(43, 64, 57, 0.1));
}

@media (hover: hover) {
    main section.board-list .board-gallery__card:hover {
        border-color: rgba(97, 161, 241, 0.35);
        box-shadow: 0 8px 24px rgba(43, 64, 57, 0.08);
    }

    main section.board-list .board-gallery__card:hover .board-gallery__title,
    main section.board-list .board-feed__card:hover .board-feed__title {
        color: var(--color-primary);
    }
}

@media (max-width: 992px) {
    main section.board-list .board-gallery__list {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 16px;
    }
}

@media (max-width: 768px) {
    main section.board-list .board-gallery__list {
        grid-template-columns: 1fr;
    }

    main section.board-list .board-feed__title {
        font-size: 16px;
        line-height: 24px;
    }
}

main section.inquiry_cta h3 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 16px;
}

main section.inquiry_cta p {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 32px;
}

main section.inquiry_cta .cta_actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin: 0;
    padding: 0;
    list-style: none;
}

main section.inquiry_cta .cta_actions .cta_item a,
main section.inquiry_cta .cta_actions .cta_item button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-width: 0;
    padding: 12px 22px;
    border: none;
    border-radius: 999px;
    font-size: 0.95rem;
    font-weight: 600;
    line-height: 1;
    color: #fff;
    background: rgba(255, 255, 255, 0.14);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    cursor: pointer;
    transition:
        background-color 0.2s ease,
        transform 0.2s ease,
        box-shadow 0.2s ease;
}

main section.inquiry_cta .cta_actions .cta_item a:hover,
main section.inquiry_cta .cta_actions .cta_item button:hover {
    transform: translateY(-2px);
}

main section.inquiry_cta .cta_actions .cta_item i {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    font-size: 17px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.18);
}

main section.inquiry_cta .cta_actions .cta-call a:hover,
main section.inquiry_cta .cta_actions .cta-call button:hover {
    background: rgba(47, 94, 231, 0.88);
    box-shadow: 0 4px 16px rgba(47, 94, 231, 0.35);
}

main section.inquiry_cta .cta_actions .cta-kakao a:hover,
main section.inquiry_cta .cta_actions .cta-kakao button:hover {
    background: rgba(254, 229, 0, 0.92);
    color: #3d2f00;
    box-shadow: 0 4px 16px rgba(254, 229, 0, 0.3);
}

main section.inquiry_cta .cta_actions .cta-kakao a:hover i,
main section.inquiry_cta .cta_actions .cta-kakao button:hover i {
    color: #3d2f00;
    background: rgba(0, 0, 0, 0.08);
}

main section.inquiry_cta .cta_actions .cta-location a:hover,
main section.inquiry_cta .cta_actions .cta-location button:hover {
    background: rgba(34, 197, 94, 0.88);
    box-shadow: 0 4px 16px rgba(34, 197, 94, 0.3);
}

main section.inquiry_cta .cta_actions .cta-inquiry a,
main section.inquiry_cta .cta_actions .cta-inquiry button {
    background: rgba(47, 94, 231, 0.92);
    box-shadow: 0 4px 14px rgba(47, 94, 231, 0.32);
}

main section.inquiry_cta .cta_actions .cta-inquiry a:hover,
main section.inquiry_cta .cta_actions .cta-inquiry button:hover {
    background: #2549c4;
}

main section .container {
    position: relative;
    z-index: 2;
    padding: 35px;
}

main section#web .container {
    background-color: #61a1f1;
    color: #fff;
}

main section#solution .container {
    background-color: #15c4f4;
    color: #fff;
}

main section#design .container {
    background-color: #20d4b4;
    color: #fff;
}

main section#marketing .container {
    background-color: #55bc6a;
    color: #fff;
}

main section#portfolio .container {
    padding: 35px 0;
}

main section .container.round {
    border-radius: 50px;
    box-shadow: var(--shadow-container);
    background-color: #fff;
    margin-bottom: 50px;
    position: relative;
    overflow: hidden;
}

main section .container .content {
    display: flex;
    height: 300px;
}

main section .container .content .description {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    font-size: 24px;
    line-height: 2em;
    font-weight: 700;
    padding-bottom: 30px;
}

main section .container .content .media {
    width: 400px;
}

main section .container .content .media>img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    animation-name: waveMotion;
    animation-duration: 2000ms;
    animation-timing-function: linear;
    animation-iteration-count: infinite;
}

div.portfolio_link {
    text-align: center;
    position: absolute;
    bottom: 30px;
    left: 30px;
    width: 35px;
    height: 35px;
    background-color: #000;
    border-radius: 50px;
    transition: all .4s ease;
}

div.portfolio_link a {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    gap: 0;
    width: 100%;
    height: 100%;
    /* padding: 10px 20px;
    border: 2px solid #fff; */
    border-radius: 50px;
    box-sizing: border-box;
    position: relative;
    transition: all 0.5s ease;

}

div.portfolio_link a>p {
    font-size: 0;
    opacity: 0;
    transition: all .5s ease;
}

/* div.portfolio_link a::before{
    content: "";
    position: absolute;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background-color: #fff;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: -1;
    opacity: 0;
    transition: all 0.5s ease;
} */

main section ul.service_list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px 20px;
}

main section ul.service_list li div {
    box-shadow: var(--shadow-container);
    background-color: #fff;
    padding: 20px;
    border-radius: 20px;
    height: 100%;
}

main section ul.service_list li div em {
    display: block;
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 20px;
}

main section ul.service_list li div p {
    font-size: 16px;
    line-height: 24px;
    font-weight: 300;
}

main section .grid-content {
    display: grid;
    grid-template-columns: 1fr 3fr;
    margin-top: 4rem;
    padding: 2rem 0;
    border-top: 1px solid #eee;
    word-break: keep-all;
}

main section .grid-content>em {
    color: var(--color-gray);
    text-transform: uppercase;
    font-size: 1.5rem;
}

main section .grid-content>div {
    overflow: hidden;
}

main section .grid-content h3 {
    font-size: 2.9rem;
    font-weight: 700;
    margin-bottom: 1rem;

}

main section .grid-content h4 {
    font-size: 2.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

main section .grid-content h5 {
    font-size: 1.5rem;
    font-weight: 550;
    margin-bottom: .8rem;
    text-transform: capitalize;
}

main section .grid-content h6 {
    font-size: 1.3rem;
    font-weight: 500;
    margin-bottom: .8rem;
}

main section .grid-content p {
    font-weight: 500;
    font-size: 1rem;
    line-height: 1.5rem;
    margin-bottom: 1rem;
}

/* mainpage-portfolio */
main section.portfolio h2 {
    text-transform: capitalize;
    font-weight: 800;
}

main section.portfolio .container .content {
    height: auto;
}

main section.portfolio .container .description {
    font-size: 2.1rem;
    line-height: 1.5em;
    font-weight: 800;
}

main section.portfolio ul.portfolio-list {
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: repeat(4, 1fr);
    width: 100%;
    aspect-ratio: 1/1;
    gap: 10px;
}

main section.portfolio ul.portfolio-list li {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 0 6px #00000050;
    transition: all 0.5s ease;
}

main section.portfolio ul.portfolio-list li:first-child {
    grid-column: 1/3;
    grid-row: 1/3;
}

main section.portfolio ul.portfolio-list li:last-child {
    grid-column: 3/5;
    grid-row: 3/5;
}

main section.portfolio ul.portfolio-list li>a {
    display: block;
    position: relative;
    overflow: hidden;
    height: 100%;
}

main section.portfolio ul.portfolio-list li>a img {
    transition: transform 0.5s ease-out;
    height: 100%;
    object-fit: cover;
}

main section.portfolio ul.portfolio-list li>a .project_info {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 10px;
    opacity: 0;
    background-color: #00000070;
    color: var(--color-white);
    backdrop-filter: blur(1px);
    transition: opacity 0.5s ease-out;
}

main section.portfolio ul.portfolio-list li>a .project_label {
    text-transform: uppercase;
    font-weight: 400;
}

main section.portfolio ul.portfolio-list li>a .project_name {
    font-size: 1.2rem;
    font-weight: 700;
}

.portfolio_wrap {
    width: 450px;
}

.main_swiper,
.swiper_1,
.port_thum_wrap,
.portfolio_thum {
    height: 100%;
}

.main_swiper {
    height: 250px;
}

.portfolio_thum {
    width: fit-content;
    text-align: center;
}

.port_thum_wrap .portfolio_thum a {
    display: inline-block;
    width: 100%;
    height: 100%;
}

.port_thum_wrap .portfolio_thum a img {
    height: 100%;
    object-fit: cover;
}

.sub_swiper {}

.swiper_2 {
    height: 100%;
}

.portfolio_title {
    height: 100%;
    text-align: center;
    padding: 10px 0;
    font-size: 1.25rem;
}

.portfolio_title .portfolio_label {
    margin-bottom: 10px;
    color: var(--color-primary);
    font-size: 0.8em;
    font-weight: 500;
}

.portfolio_title .project_name {
    font-weight: 600;
}

.swiper-button-next,
.swiper-button-prev {
    width: 20px !important;
    height: 20px !important;
    margin-top: 0 !important;
    transform: translateY(-50%);
    cursor: pointer;
}

.swiper-button-next {
    background: url(/image/icon/next.png) no-repeat;
    background-size: cover;
}

.swiper-button-prev {
    background: url(/image/icon/prev.png) no-repeat;
    background-size: cover;
}

.swiper-button-next:after,
.swiper-button-prev:after {
    display: none;
}

@media (hover: hover) and (pointer: fine) {

    .swiper-button-next:hover,
    .swiper-button-prev:hover {
        filter: invert(29%) sepia(93%) saturate(3121%) hue-rotate(220deg) brightness(95%) contrast(91%);
    }
}

/* mainpage-portfolio end */

main:has(section.inquiry_page) {
    background-color: #1a1a2e;
    padding-bottom: 0;
}

main section#inquiry {
    min-height: 100vh;
    position: relative;
    width: 100vw;
    max-width: initial;
    color: #fff;
    padding: 0;
    background: #1a1a2e url('/image/video_2.jpg') center / cover no-repeat;
}

main section#inquiry::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    right: 0;
    bottom: 0;
    background-color: #00000080;
    z-index: 1;
}

main section#inquiry .container {
    padding: calc(var(--site-header-height) + var(--site-header-padding-block) * 2 + 32px) 70px 70px;
}

main section#inquiry .container .form-area {
    background-color: #00000050;
    backdrop-filter: blur(5px);
    border-radius: 20px;
    width: 1000px;
    margin: auto;
    padding: 50px 30px;
}

main section#inquiry h2 {
    font-size: 40px;
    margin-bottom: 30px;
}

main section#inquiry h3 {
    font-size: 35px;
    line-height: normal;
    margin-bottom: 20px;
    font-weight: 800;
}

.inquiry-portfolio-ref {
    margin: 0 0 16px;
    padding: 12px 16px;
    border-radius: 12px;
    background: rgba(47, 94, 231, 0.12);
    color: #fff;
    font-size: 0.95rem;
    line-height: 1.5;
}

.inquiry-portfolio-ref strong {
    color: #fff;
    font-weight: 800;
}

main section#inquiry p {
    font-size: 15px;
    line-height: 20px;
    font-weight: 400;
    margin-bottom: 10px;
}

main section#inquiry .form-row {
    display: flex;
    gap: 30px;
    align-items: center;
}

main section#inquiry .form-row .form-field {
    flex: 1;
}

.form-field {
    padding: 10px 0;
}

.form-field .form-label {
    display: flex;
    margin-bottom: 15px;
    font-size: 1rem;
    font-weight: 700;
    justify-content: space-between;
    align-items: center;
    gap: 3px;
}

.form-field .form-label .form-description {
    font-size: 0.8rem;
    font-weight: 400;
    word-break: keep-all;
    text-align: right;
}

.form-field .form-input {
    border: none;
    outline: none;
    width: 100%;
    padding: 10px 15px;
    background-color: #cccccc80;
    border-radius: 5px;
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--color-white);
    resize: none;
    margin-bottom: 5px;
}

.form-field:has(:required) .form-label .label::after {
    content: '✱';
    color: var(--color-error);
}

.form-field .form-input[type=file] {
    font-size: 0.9rem;
    font-weight: 400;
}

.form-field .form-input[type=file]::file-selector-button {
    padding: 5px 20px;
    /* font-family: 'SUIT Variable', sans-serif; */
    font-family: inherit;
    border-radius: 5px;
    background-color: #fefefe;
    border: 0;
    font-size: 12px;
    margin-right: 15px;
    cursor: pointer;
}

.form-field .form-radio,
.form-field .form-checkbox {
    display: flex;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
}

.form-field .form-radio label,
.form-field .form-checkbox label {
    flex: 1;
}

.form-field .form-radio label span,
.form-field .form-checkbox label span {
    display: inline-block;
    width: 100%;
    text-align: center;
    line-height: 40px;
    border-radius: 10px;
    white-space: nowrap;
    padding: 0 5px;
    font-size: 0.9rem;
}



.form-field .form-radio label:has(:checked) span,
.form-field .form-checkbox label:has(:checked) span {
    background-color: #ffffff;
    color: var(--color-primary);
    font-weight: 700;
    font-size: 0.95rem;
}

.form-field .form-input:-webkit-autofill {
    box-shadow: 0 0 0 1000px white inset !important;
    -webkit-text-fill-color: var(--color-text) !important;
    transition: background-color 5000s ease-in-out 0s;
}

.form-field .form-file {
    position: relative;
    display: block;
    width: 100%;
    height: 50px;
    padding: 10px 15px;
    background-color: #cccccc80;
    border-radius: 5px;
}

.form-field .form-file .file-empty {
    display: none;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    font-size: 13px;
    color: var(--color-text-muted);
    font-weight: 400;
}

.form-field .form-file:has(.file-container:empty) .file-empty {
    display: inherit;
}

.form-action {
    display: flex;
    padding: 20px 0;
    justify-content: center;
    gap: 20px;
    align-items: center;
}

.form-action>label {
    display: flex;
    justify-content: center;
    align-items: center;
}

.form-action>label input[type="checkbox"] {
    margin: 0;
    margin-right: 5px;
}

.form-action button {
    position: relative;
    background-color: var(--color-primary);
    color: var(--color-white);
    padding: 12px 30px;
    border-radius: 10px;
    border: none;
    outline: none;
    font-size: 1rem;
    font-weight: 600;
}

/*@keyframes marquee {*/
/*    0% {*/
/*        transform: translateX(0);*/
/*    }*/
/*    100% {*/
/*        transform: translateX(-50%);*/
/*    }*/
/*}*/

/* portfolio-list */
main section.portfolio_list_wrapper {
    width: 100%;
    max-width: none;
    padding: calc(var(--site-header-height) + var(--site-header-padding-block) * 2 + 12px) 0 0;
}

main:has(section.portfolio_list_wrapper) {
    background-color: var(--color-mint);
}

body:has(section.portfolio_list_wrapper) #scroll-guide {
    display: none;
}

section.portfolio_list_wrapper .portfolio-container {
    width: 100%;
    max-width: 1320px;
    margin: 0 auto;
    padding: 0 clamp(16px, 4vw, 40px) 64px;
}

section.portfolio_list_wrapper ul.portfolio-page-list {
    display: flex;
    flex-direction: column;
    gap: clamp(28px, 5vw, 64px);
    width: 100%;
    margin: 0;
    padding: 0;
    list-style: none;
}

section.portfolio_list_wrapper .portfolio-page-item {
    width: 100%;
    border: none;
}

section.portfolio_list_wrapper .portfolio-page-item__row {
    display: grid;
    grid-template-columns: 1fr min(240px, 24vw);
    align-items: end;
    gap: clamp(20px, 4vw, 48px);
}

section.portfolio_list_wrapper .portfolio-page-item:nth-child(even) .portfolio-page-item__row {
    grid-template-columns: min(240px, 24vw) 1fr;
}

section.portfolio_list_wrapper .portfolio-page-item:nth-child(even) .portfolio-page-item__meta {
    order: -1;
    text-align: right;
    align-items: flex-end;
}

section.portfolio_list_wrapper .portfolio-page-item:nth-child(even) .portfolio-page-item__tags {
    justify-content: flex-end;
}

section.portfolio_list_wrapper .portfolio-page-item__card {
    display: block;
    position: relative;
    width: 100%;
    overflow: hidden;
    color: inherit;
    text-decoration: none;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 16px rgba(43, 64, 57, 0.07);
}

section.portfolio_list_wrapper .portfolio-page-item__meta {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-end;
    gap: 8px;
    min-width: 0;
    padding-bottom: clamp(8px, 1.4vw, 18px);
}

section.portfolio_list_wrapper .portfolio-page-item__tags {
    display: flex;
    flex-wrap: wrap;
    gap: 4px 8px;
    max-width: 100%;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--color-text-muted);
    line-height: 1.35;
}

section.portfolio_list_wrapper .portfolio-page-item__tags span {
    white-space: nowrap;
}

section.portfolio_list_wrapper .portfolio-page-item__name {
    max-width: 100%;
    font-size: clamp(1.05rem, 2vw, 1.6rem);
    font-weight: 800;
    line-height: 1.28;
    letter-spacing: -0.02em;
    word-break: keep-all;
    color: var(--color-text);
}

section.portfolio_list_wrapper .portfolio-page-item__motion {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    will-change: transform;
    transform-origin: center center;
}

section.portfolio_list_wrapper .portfolio-page-item .image {
    position: relative;
    width: 100%;
    overflow: hidden;
    line-height: 0;
    background: #ebebeb;
}

/* absolute 자식만 있을 때(iOS 등) 비율 박스 높이 유지 */
section.portfolio_list_wrapper .portfolio-page-item .image::before {
    content: '';
    display: block;
    width: 100%;
    aspect-ratio: 16 / 9;
}

section.portfolio_list_wrapper .portfolio-page-item .image .progressive-image {
    width: 100%;
    height: 100%;
}

section.portfolio_list_wrapper .portfolio-page-item .image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.65s cubic-bezier(0.22, 1, 0.36, 1);
}

section.portfolio_list_wrapper .portfolio-page-item .image .no-image {
    display: flex;
    justify-content: center;
    align-items: center;
    position: absolute;
    inset: 0;
    background: #ebebeb;
    color: var(--color-text-muted);
    font-size: 0.85rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

section.portfolio_list_wrapper .portfolio-scroll-sentinel {
    height: 1px;
    width: 100%;
}

section.portfolio_list_wrapper .portfolio-loading,
section.portfolio_list_wrapper .portfolio-empty {
    text-align: center;
    padding: 48px 20px 80px;
    color: var(--color-text-muted);
    font-size: 0.95rem;
}

.portfolio-list-cursor {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 200;
    pointer-events: none;
}

.portfolio-list-cursor__body {
    position: relative;
    width: 96px;
    height: 96px;
    transform: translate(-50%, -50%);
    opacity: 0;
    border-radius: 50%;
    --cursor-accent: var(--color-primary);
    --cursor-fg: #fff;
    --cursor-fg-soft: rgba(255, 255, 255, 0.45);
    --cursor-fg-ring: rgba(255, 255, 255, 0.85);
    --cursor-fg-glow: rgba(255, 255, 255, 0.25);
    background: var(--cursor-accent);
    will-change: transform, opacity, background-color;
}

.portfolio-list-cursor__orbit {
    position: absolute;
    inset: 0;
    overflow: visible;
    color: var(--cursor-fg);
    pointer-events: none;
}

.portfolio-list-cursor__orbit-text {
    fill: var(--cursor-fg);
    font-size: 8px;
    font-weight: 700;
    letter-spacing: 0.02em;
}

.portfolio-list-cursor__ring {
    position: absolute;
    left: 50%;
    top: 50%;
    border-radius: 50%;
    pointer-events: none;
    will-change: transform;
}

.portfolio-list-cursor__ring--inner {
    width: 58px;
    height: 58px;
    margin: -29px 0 0 -29px;
    border: 1px dashed var(--cursor-fg-soft);
    opacity: 0.75;
}

.portfolio-list-cursor__dot {
    position: absolute;
    left: 50%;
    top: 50%;
    width: 5px;
    height: 5px;
    margin: -2.5px 0 0 -2.5px;
    border-radius: 50%;
    background: var(--cursor-fg);
    box-shadow: 0 0 0 3px var(--cursor-fg-glow);
    will-change: transform;
}

body.portfolio-list-cursor-active section.portfolio_list_wrapper .portfolio-page-item__card {
    cursor: none;
}

body.portfolio-list-cursor-active:has(section.portfolio_list_wrapper) #cursor {
    opacity: 0 !important;
}


#portfolio .actions {
    display: flex;
    padding: 30px 0;
    justify-content: end;
    align-items: center;
    font-size: 1.2rem;
}

#portfolio .actions a {
    display: inline-block;
    position: relative;
    transition: all .5s ease;
}

#portfolio .actions a::before {
    content: '';
    width: 0;
    height: 3px;
    position: absolute;
    left: 0;
    bottom: -8px;
    background-color: #000;
    transition: width .5s ease;
}

/* portfolio-list end */

/* portfolio-view */
main:has(.portfolio-view-viewport) {
    background-color: var(--color-mint);
    overflow-x: clip;
}

.portfolio-view-viewport {
    position: relative;
    overflow: hidden;
    width: 100%;
    touch-action: pan-y;
}

.portfolio-view-stage {
    position: relative;
    width: 100%;
    will-change: transform;
}

.portfolio-view-panel--current {
    position: relative;
    z-index: 1;
    width: 100%;
}

.portfolio-view-panel--prev,
.portfolio-view-panel--next {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 0;
    width: 100%;
    pointer-events: none;
    transform: translate3d(var(--portfolio-side-x, -100%), var(--portfolio-side-scroll-y, 0px), 0);
}

.portfolio-view-panel--next {
    --portfolio-side-x: 100%;
}

.portfolio-view-stage .progressive-image__full,
.portfolio-view-stage .progressive-image__placeholder {
    transition: none;
}

.portfolio-view-actions {
    position: fixed;
    left: 50%;
    bottom: clamp(16px, 4vw, 28px);
    z-index: 90;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 4px 24px rgba(43, 64, 57, 0.16);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transform: translateX(-50%);
}

.portfolio-view-actions__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 96px;
    padding: 12px 20px;
    border-radius: 999px;
    font-size: 0.875rem;
    font-weight: 700;
    line-height: 1;
    text-decoration: none;
    border: 1.5px solid transparent;
    transition:
        transform 220ms ease,
        background-color 220ms ease,
        color 220ms ease,
        border-color 220ms ease;
}

.portfolio-view-actions__btn--ghost {
    background: transparent;
    color: var(--color-text);
    border-color: rgba(43, 64, 57, 0.14);
}

.portfolio-view-actions__btn--primary {
    background: var(--color-primary);
    color: #fff;
}

.portfolio-header {
    width: 100vw;
    height: 500px;
    position: relative;
    max-width: initial;
    padding: 100px 0;
}

.portfolio-header::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: #00000080;
    z-index: 1;
}

.portfolio-header img {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.portfolio-header .title {
    position: relative;
    z-index: 2;
    text-align: center;
    color: #fff;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-direction: column;
    gap: 80px;
}

.portfolio-header .title .title_tag_wrap {
    padding-top: 30px;
}

.portfolio-header .title ul.tag {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-weight: 500;
    font-size: 1.1rem;
    margin-top: 30px;
}

.portfolio-header .title a.link {
    font-size: 18px;
    font-weight: 300;
    display: flex;
    align-items: center;
    gap: 5px;
}

.portfolio-header .title a.link>.material-icons {
    font-size: 1.25em;
}

.portfolio-header h2 {
    margin-bottom: initial;
    font-size: 60px;
    font-weight: 800;
    line-height: 60px;
}

section.portfolio-content {
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 0;
}

section.portfolio-content .portfolio-img-wrap {
    width: 100%;
    max-width: none;
    box-shadow: none;
    border-radius: 0;
    overflow: hidden;
}

section.portfolio-content .portfolio-img-wrap .image-wrapper {
    width: 100%;
}

section.portfolio-content .portfolio-img-wrap .image-wrapper .progressive-image--inline,
section.portfolio-content .portfolio-img-wrap .image-wrapper .progressive-image--inline .progressive-image__full {
    width: 100%;
    max-width: none;
}

section.portfolio-content .portfolio-img-wrap img {
    display: block;
    width: 100%;
    max-width: none;
    height: auto;
}

.portfolio-tool-box {
    position: sticky;
    left: 0;
    top: calc(100vh - var(--site-header-height));
    /* width: 100vw; */
    padding: 0;
    background-color: #ffffff80;
    box-shadow: 0 -2px 5px #00000030;
    z-index: 11;
    box-sizing: content-box;
    backdrop-filter: blur(3px);
}

.portfolio-tool-box section {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
    padding: 0;
    gap: 20px;
}

.portfolio-tool-box section :is(button, a) {
    background-color: var(--color-gray);
    border: none;
    padding: 10px;
    border-radius: 10px;
    font-size: 14px;
    color: #fff;
    font-weight: 400;
    height: 50px;
}

.portfolio-tool-box section :is(a.info) {
    background-color: #000;
    display: flex;
    align-items: center;
    justify-content: center;
}

.portfolio-tool-box section> :first-child {
    background-color: var(--color-primary);
    flex: 1;
    padding: 0 10px;
}

.portfolio-tool-box section form.quick_cs {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    height: 50px;
    padding: 0 15px;
    border-radius: 10px;
}

.portfolio-tool-box section {
    padding: 0 10px;
}

.portfolio-tool-box section .m_quick_cs {
    display: none;
}

.portfolio-nav-arrows {
    position: fixed;
    inset: 0;
    z-index: 12;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 clamp(16px, 3vw, 32px);
    pointer-events: none;
}

.portfolio-nav-btn {
    pointer-events: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 52px;
    height: 52px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.92);
    color: var(--color-text);
    text-decoration: none;
    box-shadow: 0 4px 24px rgba(43, 64, 57, 0.14);
    cursor: pointer;
    font: inherit;
    backdrop-filter: blur(8px);
    transition:
        transform 220ms ease,
        box-shadow 220ms ease,
        opacity 220ms ease;
}

.portfolio-nav-btn .material-symbols-outlined {
    font-size: 28px;
    line-height: 1;
}

.portfolio-nav-btn:hover:not(.is-disabled):not(:disabled) {
    transform: scale(1.06);
    box-shadow: 0 8px 28px rgba(43, 64, 57, 0.18);
}

.portfolio-view-actions__btn:hover {
    transform: translateY(-1px);
}

.portfolio-view-actions__btn--ghost:hover {
    background: rgba(43, 64, 57, 0.04);
}

.portfolio-view-actions__btn--primary:hover {
    filter: brightness(1.05);
}

.portfolio-nav-btn.is-disabled {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.portfolio-nav-btn:disabled:not(.is-disabled) {
    opacity: 0.55;
    cursor: wait;
}

.portfolio-tool-box section form.quick_cs .quick_form {
    display: grid;
    grid-template-columns: 1fr 1fr 2fr;
    gap: 10px;
    flex: 1;
}

form.quick_cs .quick_form>input {
    border: 0;
    /* border-radius: 5px; */
    padding: 0 10px 5px;
    border-bottom: 1px solid #fff;
    box-sizing: border-box;
    background-color: transparent;
    color: var(--color-white);
    font-size: 1rem;
    width: 100%;
    height: 30px;
}

form.quick_cs .quick_form>input::placeholder {
    color: var(--color-white);
    font-size: 14px;
}

form.quick_cs .quick_form>input:focus {
    border: 0;
}

form.quick_cs .quick_form>input:focus-visible {
    box-shadow: none;
    outline: 2px solid rgba(255, 255, 255, .8);
    border-radius: 5px;
}

.portfolio-tool-box section form.quick_cs>button {
    background-color: var(--color-white);
    color: var(--color-primary);
    border-radius: 5px;
    line-height: 14px;
    font-weight: 600;
    padding: 5px 10px;
    height: 30px;
    box-sizing: border-box;
    width: 100px;
}

/* 모바일빠른상담form 모달창 */
.quick_modal {
    display: none;
    position: fixed;
    width: 100%;
    height: 100vh;
    top: 0;
    left: 0;
    background-color: #00000050;
    backdrop-filter: blur(5px);
    z-index: 999;
}

.quick_modal.on {
    display: block;
}

.quick_modal>form {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 90%;
    padding: 10px;
    background-color: #ffffff50;
    color: #fff;
    border-radius: 20px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 10px;
}

.quick_modal>form ol.quick_form {
    width: 100%;
    padding: 20px;
    background-color: var(--color-white);
    color: var(--color-text);
    border-radius: 10px;
}

.quick_modal>form ol.quick_form li {
    display: grid;
    grid-template-columns: 55px 1fr;
    gap: 10px;
    align-items: center;
    font-size: 1rem;
    padding: 5px 10px;
    border-radius: 5px;
    box-shadow: 0 0 6px #00000020;
}

.quick_modal>form ol.quick_form li:nth-child(2) {
    margin: 10px 0;
}

.quick_modal>form ol.quick_form li label {
    padding: 5px 0;
    box-sizing: border-box;
}

.quick_modal>form ol.quick_form li input {
    width: 100%;
    padding: 5px;
    box-sizing: border-box;
    border: 0;
}

.quick_modal>form ol.quick_form li input:focus {
    outline-color: var(--color-text);
}

.quick_modal>form button {
    padding: 10px;
    border: 0;
    background-color: var(--color-primary);
    color: #fff;
    border-radius: 10px;
    font-weight: 600;
}

.quick_modal .close_btn {
    position: absolute;
    top: 20px;
    right: 20px;
    background-color: transparent;
    border-radius: 50%;
    padding: 5px;
    border: 0;
    background-color: #ffffff50;
    color: var(--color-white);
    box-shadow: inset 0 0 3px #00000030;
}

.quick_modal .close_btn>span {
    display: block;
}

/* portfolio-view end */

.pagination {
    display: flex;
    gap: 10px;
    justify-content: center;
    align-items: center;
    padding: 20px 0;

}

.pagination.main {
    color: #fff;
}

.pagination span,
.pagination a {
    display: inline-block;
    width: 30px;
    line-height: 30px;
    text-align: center;
    border-radius: 50%;
    font-size: 15px;
}

.pagination li.active span {
    background-color: #fff;
    color: var(--color-text);
}

body:has(.modal.active) {
    width: 100vw;
    height: 100vh;
    overflow: hidden;
}


main section.content-view {
    font-size: 14px;
    line-height: 24px;
    margin-bottom: 6px;
}

main section.content-view article {
    padding: 30px 20px;
}

main section.content-view article:not(:last-child) {
    border-bottom: 1px solid #eee;
}

main section.content-view h1 {
    font-size: 30px;
    margin-bottom: 20px;
}

main section.content-view h2 {
    font-size: 20px;
    margin-bottom: 15px;
}


main section.content-view ol {
    list-style: hangul;
    padding: 0 20px;
}

main section.content-view table {
    border-collapse: collapse;
    width: 100%;
}

main section.content-view table tr {
    border-bottom: 1px solid #eee;
}

main section.content-view table td,
main section.content-view table th {
    padding: 5px 0;
    text-align: start;
}

/* --- board view --- */
main section.board-view {
    position: relative;
    padding: calc(var(--site-header-height) + var(--site-header-padding-block) * 2 + 56px) clamp(18px, 5vw, 56px) 96px;
    background: #f7f5ef;
}

main section.board-view .home-showcase__inner {
    position: relative;
    max-width: 1040px;
    margin: 0 auto;
}

main section.board-view .board-view__hero {
    position: relative;
    display: grid;
    min-height: clamp(360px, 54vw, 620px);
    margin: 0 calc(clamp(18px, 5vw, 56px) * -1) clamp(42px, 7vw, 76px);
    overflow: hidden;
    isolation: isolate;
    color: #fff;
    background: linear-gradient(135deg, #23322d 0%, #61756c 100%);
}

main section.board-view .board-view__hero::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.04) 0%, rgba(0, 0, 0, 0.28) 58%, rgba(0, 0, 0, 0.64) 100%);
}

main section.board-view .board-view__cover {
    position: absolute;
    inset: 0;
    z-index: 0;
    overflow: hidden;
    background:
        radial-gradient(circle at 72% 26%, rgba(255, 255, 255, 0.16), transparent 28%),
        linear-gradient(135deg, #1b2824 0%, #394a43 100%);
}

main section.board-view .board-view__cover img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    opacity: 0.74;
    filter: saturate(0.96) contrast(0.96);
}

main section.board-view .board-view__hero-inner {
    position: relative;
    z-index: 2;
    align-self: end;
    width: min(1040px, 100%);
    margin: 0 auto;
    padding: clamp(96px, 16vw, 180px) clamp(18px, 5vw, 56px) clamp(44px, 7vw, 76px);
}

main section.board-view .board-view__source {
    margin: 0 0 16px;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.4;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    opacity: 0.78;
}

main section.board-view .board-view__title {
    max-width: 860px;
    margin: 0 0 22px;
    font-size: clamp(2.35rem, 6vw, 5.75rem);
    font-weight: 800;
    line-height: 0.98;
    letter-spacing: -0.07em;
    text-align: left;
    text-transform: none;
    word-break: keep-all;
}

main section.board-view .board-view__date {
    display: block;
    font-size: 15px;
    font-weight: 500;
    line-height: 1.5;
    opacity: 0.72;
}

main section.board-view .board-view__content {
    max-width: 820px;
    min-height: 280px;
    margin: 0 auto;
    padding: 0;
}

main section.board-view .board-view__body {
    font-size: 18px;
    font-weight: 360;
    line-height: 1.95;
    color: #263831;
    word-break: keep-all;
}

main section.board-view .board-view__body :is(p, ul, ol, blockquote) {
    margin: 0 0 1.25em;
}

main section.board-view .board-view__body :is(h2, h3, h4) {
    margin: 2.2em 0 0.75em;
    font-weight: 800;
    line-height: 1.35;
    letter-spacing: -0.045em;
    color: #16251f;
}

main section.board-view .board-view__body h2 {
    font-size: clamp(1.6rem, 3vw, 2.25rem);
}

main section.board-view .board-view__body h3 {
    font-size: clamp(1.3rem, 2vw, 1.7rem);
}

main section.board-view .board-view__body :is(ul, ol) {
    padding-left: 1.25em;
}

main section.board-view .board-view__body li + li {
    margin-top: 0.35em;
}

main section.board-view .board-view__body blockquote {
    padding: 2px 0 2px 22px;
    border-left: 3px solid rgba(38, 56, 49, 0.32);
    color: rgba(38, 56, 49, 0.72);
    font-size: 1.05em;
}

main section.board-view .board-view__body img {
    display: block;
    width: min(100vw - 36px, 1040px);
    max-width: none;
    height: auto;
    margin: clamp(34px, 6vw, 64px) 50% clamp(34px, 6vw, 64px);
    transform: translateX(-50%);
}

main section.board-view .board-view__body a {
    color: var(--color-primary);
    text-decoration: none;
    background-image: linear-gradient(currentColor, currentColor);
    background-position: 0 100%;
    background-repeat: no-repeat;
    background-size: 100% 1px;
}

main section.board-view .board-view__body table {
    width: 100%;
    margin: 2em 0;
    border-collapse: collapse;
    overflow: hidden;
    box-shadow: 0 1px 0 rgba(43, 64, 57, 0.14);
}

main section.board-view .board-view__body :is(th, td) {
    padding: 13px 0;
    border-bottom: 1px solid rgba(43, 64, 57, 0.14);
    text-align: left;
}

main section.board-view .board-view__body th {
    font-weight: 700;
}

main section.board-view .board-view__empty {
    margin: 0;
    font-size: 15px;
    font-weight: 400;
    line-height: 1.75;
    color: var(--color-text-muted);
}

main section.board-view .board-view__footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    max-width: 820px;
    margin: clamp(52px, 8vw, 84px) auto 0;
    padding-top: 24px;
    border-top: 1px solid rgba(43, 64, 57, 0.2);
}

main section.board-view .board-view__back {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 40px;
    padding: 0;
    font-size: 14px;
    font-weight: 600;
    line-height: 20px;
    color: #263831;
    text-decoration: none;
    transition: color 0.2s ease;
}

main section.board-view .board-view__nav {
    display: flex;
    align-items: center;
    gap: 18px;
}

main section.board-view .board-view__nav-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    min-height: 40px;
    padding: 0;
    font-size: 14px;
    font-weight: 600;
    line-height: 20px;
    color: #263831;
    text-decoration: none;
    transition: color 0.2s ease;
}

main section.board-view .board-view__nav-link .material-symbols-outlined {
    font-size: 20px;
}

main section.board-view .board-view__nav-link.is-disabled {
    opacity: 0.35;
    pointer-events: none;
}

main section.home-posts .home-posts__empty-row {
    display: flex;
    align-items: center;
    gap: 24px;
    padding: 16px 0;
    border-bottom: 1px solid rgba(43, 64, 57, 0.12);
}

main section.home-posts .home-posts__empty {
    margin: 0;
    font-weight: 400;
    color: var(--color-text-muted);
    white-space: normal;
}

@media (hover: hover) {

    main section.board-view .board-view__back:hover {
        color: var(--color-primary);
    }

    main section.board-view .board-view__nav-link:not(.is-disabled):hover {
        color: var(--color-primary);
    }
}

@media (max-width: 768px) {
    main section.board-view {
        padding: calc(var(--site-header-height) + var(--site-header-padding-block) * 2 + 24px) 18px 72px;
    }

    main section.board-view .board-view__hero {
        min-height: 460px;
        margin: 0 -18px 38px;
    }

    main section.board-view .board-view__hero-inner {
        padding: 112px 18px 38px;
    }

    main section.board-view .board-view__source {
        margin-bottom: 12px;
        font-size: 12px;
    }

    main section.board-view .board-view__title {
        margin-bottom: 22px;
        letter-spacing: -0.055em;
    }

    main section.board-view .board-view__date {
        font-size: 13px;
    }

    main section.board-view .board-view__body {
        font-size: 16px;
        line-height: 1.86;
    }

    main section.board-view .board-view__body table {
        display: block;
        overflow-x: auto;
        white-space: nowrap;
    }

    main section.board-view .board-view__footer {
        flex-direction: column;
        align-items: stretch;
        margin-top: 44px;
    }

    main section.board-view .board-view__back,
    main section.board-view .board-view__nav-link {
        min-height: 42px;
    }

    main section.board-view .board-view__nav {
        justify-content: space-between;
    }

    main section.board-view .board-view__nav-link {
        flex: 1;
        padding: 0 10px;
    }

    main section.home-posts .home-posts__empty-row {
        flex-wrap: wrap;
        gap: 8px 16px;
        padding: 14px 0;
    }
}

.modal {
    position: fixed;
    left: 0;
    top: 0;
    width: 100vw;
    height: 100vh;
    background-color: #00000070;
    z-index: 100;
    pointer-events: none;
    backdrop-filter: blur(5px);
    opacity: 0;
    transition: opacity 200ms ease-out;
    display: flex;
    justify-content: center;
    align-items: center;
}

.modal.active {
    pointer-events: inherit;
    opacity: 1;
}

.modal .modal-close {
    position: absolute;
    right: 50px;
    top: 50px;
    border: none;
    background-color: initial;
    color: var(--color-white);
}

.modal .modal-close i {
    font-size: 50px;
}

.modal-container {
    background-color: #ffffff;
    padding: 50px;
    border-radius: 20px;
    width: 80%;
    max-width: 1024px;
    max-height: 90vh;
    overflow: hidden;
}

.modal .modal-container h4 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    font-weight: 800;
    color: var(--color-primary);
}

[data-modal=location] .contact_info>p {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    line-height: 1.5em;
    font-weight: 600;
}

[data-modal=location] .contact_info {
    margin-bottom: 2rem;
}

[data-modal=location] .contact_info>ol {
    font-size: 1.5rem;
    color: rgba(43, 64, 57, 0.7);
    font-weight: 700;
    display: flex;
    flex-wrap: wrap;
    column-gap: 20px;
    row-gap: 10px;
    align-items: center;
}

[data-modal=location] .contact_info>ol b {
    font-weight: 900;
    color: var(--color-text);
    margin-right: 0.5rem;
}

[data-modal=location] .map {
    width: 100% !important;
    aspect-ratio: 5/3;
    border-radius: 5px;
    overflow: hidden;
}

[data-modal=location] .map_wrap {
    position: relative;
    box-shadow: 2px 2px 10px #00000020;
}

.root_daum_roughmap .wrap_map {
    height: 100% !important;
}

[data-modal=location] .map_wrap>ul {
    position: absolute;
    width: 320px;
    top: 10px;
    right: 15px;
    font-size: 1rem;
    color: var(--color-text);
    line-height: 20px;
    z-index: 100;
}

[data-modal=location] .map_wrap>ul h5 {
    font-size: 1.2rem;
    font-weight: 800;
    margin-bottom: 10px;
    color: var(--color-primary);
}

[data-modal=location] .map_wrap>ul li {
    padding: 20px;
    margin-bottom: 20px;
    background-color: rgba(255, 255, 255, .5);
    backdrop-filter: blur(5px);
    box-shadow: 2px 2px 8px #00000020;
    border-radius: 10px;
}

[data-modal=location] .map_wrap>ul li:nth-child(2) p span {
    display: block;
    margin: 5px 0;
}

[data-modal=location] .map_wrap>ul li:first-child p {
    display: flex;
    align-items: center;
}

[data-modal=location] .map_wrap>ul li span.t_icon {
    width: 1rem;
    height: 1rem;
    display: inline-block;
    margin: 0 3px 0 5px;
}


span.primary {
    color: var(--color-primary);
}

span.primary.privercy {
    color: #20d4b4;
}

span.error {
    color: var(--color-error);
}

span.success {
    color: var(--color-success);
}

span.secondary {
    color: var(--color-secondary);
}

span.info {
    color: var(--color-info)
}

iframe.location {
    width: 100%;
    aspect-ratio: 2/1;
    margin: 10px 0;
}


.underline {
    text-decoration: underline;
}

@media (hover: hover) and (pointer: fine) {

    .form-field .form-radio label:hover span,
    .form-field .form-checkbox label:hover span {
        background-color: #00000080;
    }

    main section.portfolio ul.portfolio-list li:hover {
        box-shadow: none;
    }

    main section.portfolio ul.portfolio-list li>a:hover .project_info {
        opacity: 1;
    }

    main section.portfolio ul.portfolio-list li>a:hover img {
        transform: scale(1.05);
    }

    section.portfolio_list_wrapper .portfolio-page-item__card:hover .image img,
    section.portfolio_list_wrapper .portfolio-page-item__card:hover .progressive-image__full {
        transform: scale(1.04);
    }

    #portfolio .actions a:hover {
        padding-right: 10px;
    }

    #portfolio .actions a:hover::before {
        width: 100%;
        box-shadow: 0 1px 2px #00000030;
    }

    /* div.portfolio_link a:hover::before{
        width: 100%;
        height: 100%;
        border-radius: 50px;
        border: 2px solid #fff;
        opacity: 1;
    } */
}

@media (hover: hover) and (pointer: fine) and (min-width: 769px) {
    div.portfolio_link:hover {
        width: 100%;
        height: 100%;
        left: 0;
        bottom: 0;
        padding: 30px;
    }

    div.portfolio_link:hover a {
        gap: 10px;
    }

    div.portfolio_link:hover a>span {
        font-size: 2rem;
    }

    div.portfolio_link:hover a>p {
        opacity: 1;
        font-size: 2rem;
    }
}

/* ≤768px: 모바일 — 햄버거 메뉴, quick 하단 고정 바 */
@media (max-width: 768px) {

    .global_menu_handle {
        display: flex;
    }

    .global_menu_handle .hamburger:active {
        background-color: rgba(0, 0, 0, 0.06);
    }

    body:has(main section.intro) header:not(.shown) .global_menu_handle .hamburger:active,
    body:has(section.portfolio-header) header:not(.shown) .global_menu_handle .hamburger:active,
    body:has(section.inquiry_page) header:not(.shown) .global_menu_handle .hamburger:active {
        background-color: rgba(255, 255, 255, 0.12);
    }

    header nav {
        display: none;
    }

    #cursor {
        display: none;
    }

    a,
    label,
    button {
        cursor: pointer;
    }

    aside nav ul {
        gap: 24px;
        font-size: clamp(1.75rem, 8vw, 2.35rem);
        padding-top: calc(var(--site-header-height) + var(--site-header-padding-block) * 2 + 36px);
    }
}


@media (max-width: 1024px) {
    header {
        padding: 0 clamp(16px, 4vw, 32px);
        gap: 16px;
    }

    header nav>ul>li>a {
        padding: 0;
        font-size: 0.8125rem;
    }

    header nav>ul {
        gap: 24px;
    }

    main section.intro .content {
        gap: 60px;
    }

    main section.intro h2 {
        width: 70%;
        min-width: 670px;
        font-size: 60px;
        line-height: 60px;
        margin-bottom: 30px;
    }

    main section.intro p {
        font-size: 35px;
    }

    #b_cursor {
        height: 35px;
    }

    p.typing-container {
        width: 600px;
        height: 100px;
    }

    main section h5 {
        font-size: 40px;
    }

    main section#portfolio .container {
        padding: 0 0 35px;
    }

    main section.portfolio h2 {
        margin-top: 10px;
        font-size: 1.5rem;
    }

    main section.portfolio .container .description {
        font-size: 1.8rem;
    }

    main section.comment .comment__stage {
        min-height: 100vh;
        min-height: 100dvh;
        padding: 96px clamp(16px, 4vw, 24px);
        justify-content: center;
    }

    main section.comment h3 {
        font-size: 3rem;
    }

    main section.comment h3 .icon_3d img {
        height: 60px;
        width: 60px;
    }

    main section.comment p {
        font-size: 25px;
    }

    main section.comment p .icon_3d img {
        margin: 0 5px;
    }

    main section .container.round {
        margin-bottom: 30px;
    }

    main section .container .content .media {
        width: 350px;
    }

    main section .container .content .portfolio_wrap {
        width: 400px;
    }

    main section#inquiry .container .form-area {
        width: 100%;
    }

    /* footer */
    footer .footer-inner {
        padding-inline: clamp(16px, 4vw, 32px);
    }

    /* portfolio_view */
    .portfolio-tool-box section {
        gap: 15px;
    }

    /* location modal */
    .modal .modal-close {
        top: 30px;
        right: 30px;
    }

    .modal .modal-close i {
        font-size: 2rem;
    }

    .modal .modal-container h4 {
        font-size: 2.2rem;
    }

    [data-modal=location] .contact_info>p {
        font-size: 1.6rem;
        line-height: 2rem;
        word-break: keep-all;
    }

    [data-modal=location] .contact_info>ol {
        font-size: 1.4rem;
        column-gap: 15px;
    }

    [data-modal=location] .map_wrap {
        box-shadow: none;
    }

    [data-modal=location] .map {
        aspect-ratio: 5/2;
        box-shadow: 2px 2px 8px #00000020;
    }

    [data-modal=location] .map_wrap>ul {
        position: initial;
        width: 100%;
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 10px;
        margin-top: 20px;
    }

    [data-modal=location] .map_wrap>ul li {
        margin-bottom: 0;
    }
}

@media (max-width: 768px) {
    html {
        font-size: 15px;
    }

    .portfolio-view-actions {
        bottom: 12px;
        width: calc(100% - 24px);
        max-width: 360px;
        justify-content: stretch;
    }

    .portfolio-view-actions__btn {
        flex: 1;
        min-width: 0;
        padding: 11px 14px;
        font-size: 0.8125rem;
    }

    section.portfolio_list_wrapper ul.portfolio-page-list {
        gap: clamp(32px, 8vw, 44px);
    }

    section.portfolio_list_wrapper .portfolio-container {
        padding: 0 0 48px;
    }

    section.portfolio_list_wrapper .portfolio-page-item {
        padding: 0;
        margin: 0;
        border: none;
    }

    section.portfolio_list_wrapper .portfolio-page-item__row {
        display: flex;
        flex-direction: column;
        gap: 14px;
        background: none;
        border-radius: 0;
        box-shadow: none;
        overflow: visible;
    }

    section.portfolio_list_wrapper .portfolio-page-item:nth-child(even) .portfolio-page-item__meta {
        order: 0;
        text-align: left;
        align-items: flex-start;
    }

    section.portfolio_list_wrapper .portfolio-page-item__card {
        background: transparent;
        border-radius: 0;
        box-shadow: none;
        overflow: hidden;
        margin: 0;
    }

    section.portfolio_list_wrapper .portfolio-page-item .image::before {
        aspect-ratio: 3 / 2;
    }

    section.portfolio_list_wrapper .portfolio-page-item .image {
        background: rgba(43, 64, 57, 0.04);
    }

    section.portfolio_list_wrapper .portfolio-page-item__meta {
        align-self: stretch;
        justify-content: flex-start;
        padding: 0 clamp(16px, 5vw, 24px);
        gap: 8px;
    }

    section.portfolio_list_wrapper .portfolio-page-item__tags {
        gap: 4px 10px;
        font-size: 0.62rem;
        font-weight: 600;
        letter-spacing: 0.1em;
        text-transform: uppercase;
        color: var(--color-text-muted);
    }

    section.portfolio_list_wrapper .portfolio-page-item__name {
        font-size: clamp(1.02rem, 4.2vw, 1.18rem);
        font-weight: 800;
        line-height: 1.34;
        letter-spacing: -0.015em;
        display: block;
        overflow: visible;
        -webkit-line-clamp: unset;
    }

    section.portfolio_list_wrapper .portfolio-page-item__card:active .image img,
    section.portfolio_list_wrapper .portfolio-page-item__card:active .progressive-image__full {
        opacity: 0.92;
        transform: none;
        transition-duration: 0.2s;
    }

    main section {
        width: 100%;
        padding: 70px 10px 0 10px;
    }

    main section.intro h2 {
        width: 100%;
        max-width: 530px;
        font-size: 3rem;
        line-height: 1.4em;
        min-width: auto;
        margin-bottom: 25px;
    }

    main section.intro .content {
        padding-bottom: 150px;
    }

    main section.intro p {
        font-size: 1.8rem;
    }

    #b_cursor {
        height: 1.8rem;
        margin-bottom: 5px;
    }

    p.typing-container {
        width: 480px;
        height: 80px;
    }

    main section.comment {
        padding-top: 90px;
        padding-bottom: 40px;
        margin-top: 30px;
    }

    main section.comment .comment__stage {
        min-height: 100vh;
        min-height: 100dvh;
        padding-top: 96px;
        padding-bottom: 96px;
    }

    main section.comment h3 {
        font-size: 2.5rem;
        line-height: 3.5rem;
        word-break: keep-all;
        margin-bottom: 40px;
    }

    main section.comment h3 .icon_3d img {
        height: 2.7rem;
        width: 2.7rem;
    }

    main section.comment p {
        font-size: 1.5rem;
        line-height: 1.7em;
    }

    main section.home-showcase {
        padding: 70px 16px;
    }

    main section.home-showcase .home-showcase__title {
        font-size: 1.5rem;
        line-height: 2rem;
    }

    main section.home-showcase .home-showcase__subtitle {
        font-size: 14px;
        line-height: 22px;
        margin-bottom: 28px;
    }

    main section.home-partners .home-partners__track {
        gap: 24px 32px;
    }

    main section.home-certificates .home-certificates__list {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 16px;
    }

    main section.home-certificates figcaption {
        font-size: 16px;
        line-height: 22px;
    }

    main section.home-posts .home-posts__row {
        flex-wrap: wrap;
        gap: 8px 16px;
        padding: 14px 0;
    }

    main section.home-posts .home-posts__date {
        flex: 0 0 auto;
        font-size: 13px;
    }

    main section.home-posts .home-posts__title {
        flex: 1 1 100%;
        font-size: 15px;
        line-height: 22px;
        white-space: normal;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
    }

    main section.inquiry_cta {
        padding: 70px 20px;
    }

    main section.inquiry_cta--scroll {
        padding: 0;
    }

    main section.inquiry_cta--scroll .inquiry_cta__panel {
        --cta-clip-t: 10%;
        --cta-clip-r: 24%;
        --cta-clip-b: 10%;
        --cta-clip-l: 24%;
    }

    main section.inquiry_cta h3 {
        font-size: 1.75rem;
    }

    main section.inquiry_cta p {
        font-size: 1rem;
        margin-bottom: 24px;
    }

    main section.inquiry_cta .cta_actions {
        gap: 10px;
    }

    main section.inquiry_cta .cta_actions .cta_item a,
    main section.inquiry_cta .cta_actions .cta_item button {
        padding: 10px 16px;
        font-size: 0.85rem;
    }

    main section.inquiry_cta .cta_actions .cta_item i {
        width: 26px;
        height: 26px;
        font-size: 15px;
    }

    .portfolio-content {
        padding: 70px 0;
    }

    main section h3 {
        font-size: 1.1rem;
        text-align: center;
        margin-bottom: 25px;
    }

    main section .container .content {
        flex-direction: column;
        align-items: center;
        height: auto;
        gap: 50px;
    }

    main section .container.round {
        border-radius: 20px;
        padding: 30px;
    }

    div.portfolio_link {
        margin-top: 30px;
        position: initial;
        background-color: transparent;
        width: auto;
        height: auto;
    }

    div.portfolio_link a {
        width: auto;
        height: auto;
        padding: 8px 20px;
        border: 2px solid var(--color-white);
        font-size: 1.25rem;
        gap: 5px;
        background-color: #00000010;
    }

    div.portfolio_link a>span {
        font-size: 1.2em;
    }

    div.portfolio_link a>p {
        font-size: 1em;
        opacity: 1;
    }

    main section .container .content .description {
        text-align: center;
    }

    main section ul.service_list {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    main section ul.service_list li div p {
        text-align: end;
    }

    main .service-sections__bg {
        display: block;
        position: absolute;
        inset: 0;
        z-index: 0;
        pointer-events: none;
    }

    main .service-sections__viewport {
        min-height: auto;
        overflow: visible;
    }

    main .service-sections__track {
        position: relative;
        z-index: 1;
        display: block;
        min-height: auto;
    }

    main .service-sections.service-sections--ready .service-section,
    main .service-sections .service-section {
        background-color: transparent;
    }

    main .service-sections.service-sections--ready .service-section {
        position: relative;
        inset: auto;
        width: 100%;
        min-width: 0;
        min-height: auto;
        overflow: visible;
    }

    main section.service-section .service-section__row {
        flex-direction: column;
        min-height: auto;
        justify-content: flex-start;
    }

    main section.service-section[data-layout="1"] .service-section__row,
    main section.service-section[data-layout="3"] .service-section__row {
        flex-direction: column;
    }

    main section.service-section .service-section__stage {
        flex: none;
        width: 100%;
        min-height: auto;
        padding: 96px 0 32px;
    }

    main section.service-section .service-section__stage-inner {
        min-height: auto;
    }

    main section.service-section .service-section__float {
        position: relative;
        top: auto !important;
        left: auto !important;
        right: auto !important;
        max-width: none !important;
        text-align: left !important;
        margin-bottom: 12px;
    }

    main section.service-section .service-section__items {
        flex: none;
        width: 100%;
        padding: 0 6% max(72px, calc(48px + env(safe-area-inset-bottom, 0px)));
    }

    main section.service-section .service-section__title {
        font-size: 1.85rem;
        font-weight: 600;
        padding: 0 6%;
    }

    main section.service-section .service-section__desc-line {
        padding: 0 6%;
        font-size: 1rem;
    }

    main section.service-section .service-section__desc-line--1 {
        padding-left: 12%;
    }

    main section.service-section .service-section__desc-line--2 {
        padding-right: 10%;
        text-align: right;
    }

    main section.service-section .service-section__media {
        display: block;
        width: min(68vw, 280px);
        margin: 16px auto 0;
    }

    main section.service-section .service-section__item-list {
        grid-template-columns: 1fr;
        gap: 10px;
        max-width: none;
    }

    main section h2 {
        font-size: 2rem;
        text-align: center;
        margin-bottom: 30px;
    }

    main section.portfolio h2 {
        margin-top: 0;
        margin-bottom: 10px;
    }

    main section .container .content .portfolio_wrap {
        width: 80%;
    }

    ul.portfolio-list {
        grid-template-columns: repeat(2, 1fr);
    }

    main section#marketing {
        padding-bottom: 0;
    }

    main section#inquiry h3 {
        font-size: 1.7rem;
    }

    main section#inquiry .container {
        padding: calc(var(--site-header-height) + var(--site-header-padding-block) * 2 + 16px) 30px 30px;
    }

    main section#inquiry .form-row {
        flex-direction: column;
        gap: 0;
    }

    main section#inquiry .form-row .form-field {
        width: 100%;
    }

    .form-field .form-radio label span,
    .form-field .form-checkbox label span {
        line-height: 35px;
    }

    .portfolio-header {
        height: 400px;
    }

    #scroll-guide {
        bottom: max(76px, calc(60px + env(safe-area-inset-bottom, 0px)));
    }

    footer {
        padding-bottom: max(76px, calc(60px + env(safe-area-inset-bottom, 0px)));
    }

    footer .footer-inner {
        flex-direction: column;
        align-items: stretch;
        gap: 24px;
        padding: 24px clamp(12px, 4vw, 20px) 16px;
    }

    footer .footer-col--start,
    footer .footer-col--end {
        width: 100%;
        min-height: auto;
        align-items: center;
        text-align: center;
    }

    footer .footer-brand {
        align-self: center;
    }

    footer .footer-page-title {
        max-width: none;
        text-align: center;
    }

    footer .footer-menu ul {
        align-items: center;
    }

    footer .footer-menu li {
        text-align: center;
    }

    footer .footer-contact {
        align-items: center;
    }

    footer ul.social {
        justify-content: center;
    }

    footer ul.social a {
        width: 36px;
        height: 36px;
    }

    footer ul.social img {
        width: 18px;
        height: 18px;
    }

    /* ≤768px: 모바일 — 햄버거 메뉴, quick는 하단 고정 바 */
    nav.quick {
        position: fixed;
        right: 6px;
        left: 6px;
        bottom: max(10px, env(safe-area-inset-bottom, 10px));
        margin: 0;
        width: auto;
        max-width: none;
        padding: 4px 6px;
        border-radius: 999px;
        transform: none;
        animation: quick-nav-enter-mobile 0.55s cubic-bezier(0.22, 1, 0.36, 1) 0.4s both;
        z-index: 20;
    }

    nav.quick:hover {
        transform: translateY(-2px);
    }

    nav.quick ul {
        width: 100%;
        gap: 0;
        justify-content: space-evenly;
    }

    nav.quick li+li::before {
        display: none;
    }

    nav.quick ul li {
        flex: 0 0 auto;
    }

    nav.quick a,
    nav.quick button {
        flex-direction: row;
        justify-content: center;
        gap: 0;
        width: auto;
        padding: 4px;
    }

    nav.quick .quick-inquiry a,
    nav.quick .quick-inquiry button {
        margin-left: 0;
        padding: 4px;
        background: rgba(47, 94, 231, 0.88);
        box-shadow:
            inset 0 1px 0 rgba(255, 255, 255, 0.2),
            0 2px 10px rgba(47, 94, 231, 0.3);
    }

    nav.quick i {
        width: 38px;
        height: 38px;
        font-size: 19px;
    }

    nav.quick .quick-inquiry i {
        color: #fff;
        background: rgba(255, 255, 255, 0.2);
        border-color: rgba(255, 255, 255, 0.3);
    }

    nav.quick span {
        display: none;
    }

    section.portfolio_list_wrapper {
        padding-bottom: max(72px, calc(56px + env(safe-area-inset-bottom, 0px)));
    }

    /* portfolio_view */
    body:has(section.portfolio-header) #scroll-guide {
        display: none;
    }

    .portfolio-header .title .title_tag_wrap {
        padding-top: 50px;
    }

    .portfolio-header h2 {
        font-size: 3.5rem;
        line-height: 3.5rem;
    }

    .portfolio-header .title a.link {
        font-size: 1.1rem;
    }

    .portfolio-tool-box section form.quick_cs .quick_form {
        grid-template-columns: repeat(3, 1fr);
    }

    .portfolio-tool-box {
        top: calc(100vh - 140px);
    }

    .portfolio-nav-arrows {
        padding: 0 10px;
    }

    .portfolio-nav-btn {
        width: 44px;
        height: 44px;
    }

    .portfolio-nav-btn .material-symbols-outlined {
        font-size: 24px;
    }

    /* location modal */
    .modal-container {
        width: 90%;
        max-height: 80vh;
        padding: 40px 0;
    }

    .modal .modal-container h4 {
        margin-bottom: 1rem;
    }

    .location_info_wrapper {
        max-height: calc(80vh - 100px);
        overflow-y: scroll;
        overflow-x: hidden;
        padding: 10px 40px;
    }

    .location_info_wrapper::-webkit-scrollbar {
        width: 6px;
        background-color: transparent;
    }

    .location_info_wrapper::-webkit-scrollbar-thumb {
        background-color: #00000020;
        border-radius: 4px;
    }

    [data-modal=location] .map_wrap>ul {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 425px) {
    html {
        font-size: 14px;
    }

    :root {
        --site-header-padding-block: 8px;
        --site-header-height: 50px;
    }

    .page-transition__label-en {
        font-size: clamp(2rem, 11vw, 2.85rem);
    }

    .page-transition__label-ko {
        font-size: 1.2rem;
    }

    .page-transition__label-sub {
        font-size: 1.05rem;
    }

    .page-transition__label-title {
        font-size: clamp(1.85rem, 8.5vw, 2.5rem);
    }

    aside nav ul {
        gap: 22px;
        font-size: clamp(2rem, 9.5vw, 2.45rem);
        padding-inline: 24px;
    }

    nav.quick a,
    nav.quick button {
        padding: 3px;
    }

    nav.quick i {
        width: 34px;
        height: 34px;
        font-size: 17px;
    }

    header a.logo img {
        height: 26px;
    }

    .global_menu_handle .hamburger {
        gap: 3px;
        width: 26px;
        height: 26px;
    }

    .global_menu_handle .hamburger span {
        width: 18px;
    }

    .global_menu_handle:has(:checked) .hamburger span:nth-child(1) {
        transform: translateY(5px) rotate(45deg);
    }

    .global_menu_handle:has(:checked) .hamburger span:nth-child(3) {
        transform: translateY(-5px) rotate(-45deg);
    }

    main section.intro .content {
        gap: 30px;
    }

    main section.intro h2 {
        font-size: 40px;
        line-height: 50px;
        margin-bottom: 20px;
    }

    main section.intro p {
        font-size: 25px;
    }

    #b_cursor {
        height: 25px;
    }

    main section.intro .banner_cs {
        flex-direction: column;
        gap: 20px;
    }

    main section.intro .banner_cs>h3 span {
        margin-bottom: 10px;
    }

    main section.intro .banner_cs>ul {
        border-left: 0;
        border-top: var(--color-white) 1px solid;
        padding: 20px 20px 0;
        width: 100%;
        height: auto;
    }

    p.typing-container {
        width: 300px;
        margin: 0 auto;
        height: auto;
        min-height: 110px;
    }

    main section h5 {
        font-size: 30px;
    }

    main section.portfolio h2 {
        line-height: normal;
        font-size: 1.3rem;
        margin-bottom: 20px;
    }

    main section.portfolio .container .description {
        line-height: 1.5em !important;
        font-size: 1.4rem !important;
        text-align: center !important;
    }

    main section.portfolio ul.portfolio-list {
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: repeat(5, 1fr);
        aspect-ratio: 2 / 5;
        gap: 0;
    }

    main section.portfolio ul.portfolio-list li {
        border-radius: 0;
    }

    main section.portfolio ul.portfolio-list li:first-child,
    main section.portfolio ul.portfolio-list li:last-child {
        grid-column: auto;
        grid-row: auto;
    }

    #portfolio .actions {
        font-size: 1rem;
        font-weight: 500;
        justify-content: center;
        padding: 25px 0;
    }

    #portfolio .actions a {
        padding: 8px 20px;
        border: 1.5px solid #000;
        border-radius: 20px;
    }

    main section.comment {
        padding: 80px 0 40px;
    }

    main section.comment .comment__stage {
        min-height: 100vh;
        min-height: 100dvh;
        padding-top: 88px;
        padding-bottom: 88px;
    }

    main section.comment h3 {
        font-size: 2.3rem;
        line-height: 1.5em;
        margin-bottom: 30px;
    }

    main section.comment p {
        font-size: 1.45rem;
        line-height: 1.8em;
    }

    /* main section.comment p {
        font-size: 20px;
        line-height: 30px;
    } */
    main section h3 {
        font-size: 1rem;
        text-align: left;
        margin-bottom: 20px;
    }

    main section .container .content .media {
        width: 90%;
    }

    main section .container .content .description {
        width: 100%;
        font-size: 18px;
        text-align: left;
        padding-bottom: 0;
        line-height: 1.8em;
    }

    main section ul.service_list li div {}

    main section ul.service_list li div em {
        font-size: 16px;
        margin-bottom: 15px;
    }

    main section ul.service_list li div p {
        font-size: 1rem;
    }

    main section .container.round {
        margin-bottom: 20px;
        padding: 30px 20px;
    }

    main section .container {
        padding: 10px 0;
    }

    main section .container .content .portfolio_wrap {
        width: 100%;
    }

    main section#inquiry .container {
        padding: calc(var(--site-header-height) + var(--site-header-padding-block) * 2 + 16px) 0 0;
    }

    main section#inquiry .container .form-area {
        border-radius: 0;
        padding: 50px 5%;
    }

    main section#inquiry h3 {
        font-size: 25px;
    }

    /* portfolio_list */
    section.portfolio_list_wrapper .portfolio-container {
        padding: 0 0 40px;
    }

    /* portfolio_view */
    .portfolio-header h2 {
        font-size: 3rem;
        line-height: 3rem;
    }

    .portfolio-header .title ul.tag {
        font-size: 1.05rem;
        margin-top: 20px;
    }

    .portfolio-tool-box {
        top: calc(100vh - 140px);
    }

    .portfolio-tool-box section form.quick_cs {
        display: none;
    }

    .portfolio-tool-box section .m_quick_cs {
        display: block;
        flex: 1;
        background-color: var(--color-primary);
        font-weight: 600;
    }

    form.quick_cs .quick_form>input {
        padding: 0 5px 3px;
    }

    section.portfolio-content {
        width: 100%;
        max-width: none;
        padding: 0 0 100px;
    }

    /* location modal */
    .modal .modal-container h4 {
        font-size: 1.8rem;
    }

    .modal-container {
        padding: 30px 0;
    }

    .location_info_wrapper {
        padding: 10px;
    }

    [data-modal=location] .contact_info {
        margin-bottom: 1.8rem;
    }

    [data-modal=location] .contact_info>p {
        font-size: 1.3rem;
        line-height: 1.9rem;
    }

    [data-modal=location] .contact_info>ol {
        font-size: 1.25rem;
        padding: 15px;
        box-sizing: border-box;
        background-color: var(--color-background);
        border-radius: 10px;
    }

    [data-modal=location] .contact_info>ol li {
        width: 100%;
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    [data-modal=location] .map {
        aspect-ratio: 5/3;
    }

    .location_info_wrapper {
        height: calc(100% - 60px);
    }


}

img {
    width: 100%;
    display: block;
}

/* Turnstile: interaction-only 시 평소 레이아웃 점유 최소화, 챌린지 시에만 영역 확보 */
.turnstile-wrap {
    min-height: 0;
    margin: 0;
    padding: 0;
    line-height: 0;
    overflow: visible;
}

.turnstile-wrap .cf-turnstile:empty {
    min-height: 0;
}

/* 클릭효과 */
.portfolio-tool-box section :is(a.info):active,
.portfolio-tool-box section .m_quick_cs:active,
.quick_modal>form button:active,
.portfolio-tool-box section form.quick_cs>button:active,
.quick_modal .close_btn:active {
    transform: scale(0.95);
}