body {
    color: #1d1d1d;
    background: #fff;
}

body.is-menu-locked {
    overflow: hidden;
}

:root {
    --point-color: #005baa;
    --text-dark: #1d1d1d;
    --header-line-color: rgba(255, 255, 255, 0.22);
    --header-line-color-active: rgba(17, 24, 39, 0.12);
    --footer-line-color: rgba(255, 255, 255, 0.14);
    --sub-section-max: 1280px;
    --sub-section-bg: #fff;
    --sub-section-border: rgba(17, 24, 39, 0.08);
    --sub-section-shadow: 0 24px 60px rgba(15, 23, 42, 0.08);
    --sub-title-color: #111827;
    --sub-text-color: #475569;
    --sub-muted-color: #64748b;
    --sub-accent-color: #005baa;
    --sub-radius-xl: 32px;
    --sub-radius-lg: 24px;
    --sub-radius-md: 18px;
    --sub-gap-12: clamp(0.75rem, 0.8vw, 0.875rem);
    --sub-gap-16: clamp(0.875rem, 1vw, 1rem);
    --sub-gap-20: clamp(1rem, 1.2vw, 1.25rem);
    --sub-gap-24: clamp(1.125rem, 1.4vw, 1.5rem);
    --sub-gap-32: clamp(1.5rem, 2vw, 2rem);
    --sub-gap-40: clamp(2rem, 2.6vw, 2.5rem);
    --sub-gap-56: clamp(2.5rem, 3vw, 3.5rem);
    --sub-pad-section: clamp(1.5rem, 2.8vw, 3rem);
    --sub-pad-panel: clamp(1.25rem, 2vw, 2rem);
    --sub-font-body: clamp(0.975rem, 1vw, 1.0625rem);
    --sub-font-lead: clamp(1.0625rem, 1.2vw, 1.1875rem);
    --sub-font-h3: clamp(1.8rem, 3vw, 2.75rem);
}

.site-header {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 20;
    width: 100%;
    height: 88px;
    overflow: hidden;
    border-bottom: 1px solid var(--header-line-color);
    transition: height 0.3s ease, background-color 0.3s ease, border-color 0.3s ease;
}

.site-header::after {
    content: "";
    position: absolute;
    top: 87px;
    right: 0;
    left: 0;
    height: 1px;
    background: var(--header-line-color-active);
    opacity: 0;
    transform: scaleX(0.98);
    transform-origin: center;
    transition: opacity 0.22s ease, transform 0.22s ease;
}

.site-header:hover,
.site-header:focus-within {
    height: 380px;
    background: rgba(255, 255, 255, 0.94);
    border-color: var(--header-line-color-active);
    backdrop-filter: blur(8px);
}

.site-header:hover::after,
.site-header:focus-within::after {
    opacity: 1;
    transform: scaleX(1);
}

.header-inner,
.hero-inner,
.hero-controls-inner,
.footer-inner {
    width: min(1440px, calc(100% - 48px));
    margin: 0 auto;
}

.header-inner {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    height: 100%;
}

.site-header h1 {
    flex-shrink: 0;
    padding-top: 23px;
}

.header-logo {
    position: relative;
    display: block;
    width: 172px;
}

.header-logo img {
    transition: opacity 0.2s ease;
}

.logo-color {
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
}

.site-header:hover .logo-white,
.site-header:focus-within .logo-white {
    opacity: 0;
}

.site-header:hover .logo-color,
.site-header:focus-within .logo-color {
    opacity: 1;
}

.menu-toggle {
    display: none;
    position: relative;
    z-index: 30;
    width: 44px;
    height: 44px;
    padding: 0;
    border: 0;
    background: transparent;
}

.menu-toggle span {
    position: absolute;
    left: 50%;
    width: 22px;
    height: 2px;
    border-radius: 999px;
    background: #fff;
    transform: translateX(-50%);
    transition: transform 0.24s ease, opacity 0.24s ease, background-color 0.24s ease;
}

.menu-toggle span:nth-child(1) {
    top: 8px;
}

.menu-toggle span:nth-child(2) {
    top: 15px;
}

.menu-toggle span:nth-child(3) {
    top: 22px;
}

.site-header:hover .menu-toggle span,
.site-header:focus-within .menu-toggle span,
.site-header.is-menu-open .menu-toggle span {
    background: var(--text-dark);
}

.gnb {
    position: relative;
    height: 100%;
}

.gnb-list {
    display: flex;
    align-items: flex-start;
    gap: 40px;
    height: 100%;
}

.gnb-list > li {
    max-width: 120px;
    padding-top: 34.5px;
}

.gnb-list > li > a {
    position: relative;
    display: flex;
    width: 100%;
    justify-content: center;
    align-items: center;
    color: #fff;
    font-size: 18px;
    font-weight: 600;
    transition: color 0.2s ease;
    text-align: center;
}

.site-header:hover .gnb-list > li > a,
.site-header:focus-within .gnb-list > li > a {
    color: var(--text-dark);
}

.gnb-list > li:hover > a,
.gnb-list > li:has(.sub-menu a:hover) > a,
.gnb-list > li:has(.sub-menu a:focus) > a,
.gnb-list > li:focus-within > a,
.site-header:hover .gnb-list > li > a:hover,
.site-header:hover .gnb-list > li > a:focus,
.site-header:focus-within .gnb-list > li > a:hover,
.site-header:focus-within .gnb-list > li > a:focus {
    color: var(--point-color);
}

.sub-menu {
    display: grid;
    gap: 18px;
    margin-top: 60px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: opacity 0.22s ease, transform 0.22s ease, visibility 0.22s ease;
}

.site-header:hover .sub-menu,
.site-header:focus-within .sub-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.sub-menu li {
    width: 100%;
    text-align: center;
}

.sub-menu a {
    display: block;
    width: 100%;
    color: #374151;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.35;
    transition: color 0.2s ease;
    text-align: center;
}

.sub-menu a:hover,
.sub-menu a:focus {
    color: var(--point-color);
}

.hero {
    position: relative;
    overflow: hidden;
    padding: 0 !important;
}

.hero-swiper {
    width: 100%;
    max-height: 960px;
}

.hero-slide {
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center center;
}

.hero-slide.slide-1 {
    background-image: url("../images/main/key_visual_bg_1.png");
}

.hero-slide.slide-2 {
    background-image: url("../images/main/key_visual_bg_2.png");
}

.hero-slide.slide-3 {
    background-image: url("../images/main/key_visual_bg_3.png");
}

.hero-inner {
    position: relative;
    min-height: 960px;
    padding: 140px 0 112px;
}

.hero-copy {
    position: absolute;
    left: 0;
    bottom: calc(10.416% + 88px);
    max-width: min(760px, 100%);
    color: #fff;
    text-wrap: balance;
}

.hero-copy span {
    display: block;
    margin-bottom: 12px;
    font-size: 20px;
    font-weight: 400;
    line-height: 1.5;
    letter-spacing: -0.02em;
}

.hero-copy strong {
    display: block;
    font-size: clamp(36px, 2.917vw, 56px);
    font-weight: 700;
    line-height: 1.18;
}

.hero-controls {
    position: absolute;
    right: 24px;
    bottom: 10.416%;
    left: 24px;
    z-index: 5;
}

.hero-controls-inner {
    display: flex;
    align-items: center;
    gap: 16px;
}

.hero-pagination.swiper-pagination {
    position: static;
    display: flex;
    align-items: center;
    gap: 10px;
}

.hero-pagination .swiper-pagination-bullet {
    width: 8px;
    height: 8px;
    margin: 0;
    opacity: 1;
    background: rgba(255, 255, 255, 0.36);
}

.hero-pagination .swiper-pagination-bullet-active {
    width: 60px;
    border-radius: 999px;
    background: #fff;
}

.site-footer {
    padding: 48px 0;
    background: #0f172a;
    border-top: 1px solid var(--footer-line-color);
    color: rgba(255, 255, 255, 0.78);
}

.footer-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.footer-inner strong {
    display: block;
    margin-bottom: 8px;
    color: #fff;
    font-size: 20px;
}

@media (max-width: 1280px) {
    .hero-inner {
        min-height: 820px;
        padding: 132px 0 104px;
    }

    .hero-copy {
        bottom: calc(9% + 72px);
        max-width: 640px;
    }

    .hero-copy span {
        font-size: 18px;
    }

    .hero-copy strong {
        font-size: clamp(34px, 3.6vw, 48px);
    }
}

@media (max-width: 1024px) {
    .site-header {
        position: fixed;
        inset: 0 0 auto 0;
        z-index: 1000;
        height: 56px;
        min-height: 56px;
        overflow: hidden;
        padding: 0;
        background: transparent;
    }

    .site-header.is-scrolled {
        background: rgba(255, 255, 255, 0.96);
        border-color: var(--header-line-color-active);
        box-shadow: 0 8px 24px rgba(15, 23, 42, 0.08);
        backdrop-filter: blur(8px);
    }

    .site-header:hover,
    .site-header:focus-within {
        height: 56px;
    }

    .site-header::after {
        display: none;
    }

    .header-inner {
        display: grid;
        grid-template-columns: 1fr auto;
        align-items: center;
        align-content: start;
        gap: 0 12px;
        min-height: 56px;
        height: 56px;
    }

    .site-header h1 {
        display: flex;
        align-items: center;
        min-height: 56px;
        margin: 0;
        padding-top: 0;
        align-self: center;
    }

    .header-logo {
        width: 122px;
    }

    .menu-toggle {
        display: block;
        align-self: center;
        width: 32px;
        height: 32px;
    }

    .gnb {
        grid-column: 1 / -1;
        width: 100%;
        max-height: 0;
        overflow: hidden;
        border-top: 1px solid transparent;
        opacity: 0;
        transition: max-height 0.28s ease, opacity 0.24s ease, border-color 0.24s ease;
    }

    .site-header.is-menu-open {
        inset: 0;
        z-index: 1200;
        height: 100dvh;
        background: rgba(255, 255, 255, 0.98);
        border-color: var(--header-line-color-active);
        backdrop-filter: blur(8px);
    }

    .site-header.is-menu-open .header-inner {
        height: 100%;
        grid-template-rows: 56px auto;
        align-content: start;
    }

    .site-header.is-scrolled .logo-white,
    .site-header.is-menu-open .logo-white {
        opacity: 0;
    }

    .site-header.is-scrolled .logo-color,
    .site-header.is-menu-open .logo-color {
        opacity: 1;
    }

    .site-header.is-scrolled .menu-toggle span,
    .site-header.is-menu-open .menu-toggle span {
        background: #3582d9;
    }

    .site-header.is-menu-open .gnb {
        max-height: calc(100dvh - 56px);
        align-self: start;
        border-color: var(--header-line-color-active);
        opacity: 1;
        padding: 0 0 24px;
        overflow-y: auto;
        overscroll-behavior: contain;
        scrollbar-width: thin;
        scrollbar-color: rgba(0, 91, 170, 0.28) transparent;
    }

    .site-header.is-closing-immediate,
    .site-header.is-closing-immediate .gnb,
    .site-header.is-closing-immediate .menu-toggle span {
        transition: none !important;
    }

    .site-header.is-menu-open .gnb::-webkit-scrollbar {
        width: 6px;
    }

    .site-header.is-menu-open .gnb::-webkit-scrollbar-track {
        background: transparent;
    }

    .site-header.is-menu-open .gnb::-webkit-scrollbar-thumb {
        border-radius: 999px;
        background: rgba(0, 91, 170, 0.28);
    }

    .site-header.is-menu-open .gnb::-webkit-scrollbar-thumb:hover {
        background: rgba(0, 91, 170, 0.44);
    }

    .site-header.is-menu-open .menu-toggle span:nth-child(1) {
        top: 15px;
        transform: translateX(-50%) rotate(45deg);
    }

    .site-header.is-menu-open .menu-toggle span:nth-child(2) {
        opacity: 0;
    }

    .site-header.is-menu-open .menu-toggle span:nth-child(3) {
        top: 15px;
        transform: translateX(-50%) rotate(-45deg);
    }

    .gnb,
    .gnb-list {
        height: auto;
    }

    .gnb-list {
        width: 100%;
        flex-direction: column;
        gap: 0;
        flex-wrap: nowrap;
        justify-content: flex-start;
    }

    .gnb-list > li {
        width: 100%;
        min-width: 100%;
        padding-top: 16px;
        padding-bottom: 18px;
        border-bottom: 1px solid rgba(17, 24, 39, 0.08);
    }

    .gnb-list > li:first-child {
        padding-top: 14px;
    }

    .gnb-list > li:last-child {
        padding-bottom: 0;
        border-bottom: 0;
    }

    .gnb-list > li > a {
        display: flex;
        width: 100%;
        padding: 0 0 12px;
        color: var(--text-dark);
        font-size: 17px;
        font-weight: 700;
        letter-spacing: -0.02em;
    }

    .sub-menu {
        display: grid;
        gap: 8px;
        margin-top: 0;
        padding: 0 0 0 2px;
        opacity: 1;
        visibility: visible;
        transform: none;
    }

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

    .sub-menu a {
        display: block;
        width: 100%;
        padding: 3px 0;
        color: #6b7280;
        font-size: 14px;
        font-weight: 500;
        line-height: 1.45;
        text-align: center;
    }

    .hero-inner {
        min-height: 700px;
        padding: 124px 0 96px;
    }

    .hero-copy {
        bottom: 120px;
        max-width: 520px;
    }

    .hero-copy span {
        margin-bottom: 10px;
        font-size: 16px;
    }

    .hero-copy strong {
        font-size: clamp(32px, 4.6vw, 42px);
        line-height: 1.22;
    }
}

@media (max-width: 768px) {
    .header-inner,
    .hero-inner,
    .hero-controls-inner,
    .footer-inner {
        width: min(calc(100% - 24px), 1440px);
    }

    .hero-inner {
        min-height: 560px;
        padding: 112px 0 84px;
    }

    .hero-copy {
        left: 0;
        right: auto;
        bottom: 94px;
        max-width: min(320px, 88%);
    }

    .hero-copy span {
        margin-bottom: 12px;
        font-size: 13px;
        line-height: 1.45;
    }

    .hero-copy strong {
        font-size: clamp(26px, 7.6vw, 34px);
        line-height: 1.22;
        letter-spacing: -0.03em;
    }

    .menu-toggle span {
        left: 50%;
        width: 22px;
    }

    .gnb-list > li > a {
        font-size: 16px;
        white-space: normal;
    }

    .sub-menu a {
        font-size: 13px;
    }

    .hero-controls {
        right: 12px;
        bottom: 24px;
        left: 12px;
    }

    .hero-pagination.swiper-pagination {
        gap: 8px;
    }

    .hero-pagination .swiper-pagination-bullet {
        width: 7px;
        height: 7px;
    }

    .hero-pagination .swiper-pagination-bullet-active {
        width: 44px;
    }

    .footer-inner {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (max-width: 400px) {
    .hero-inner {
        min-height: 500px;
        padding: 104px 0 78px;
    }

    .hero-copy {
        bottom: 82px;
        max-width: min(280px, 90%);
    }

    .hero-copy span {
        margin-bottom: 10px;
        font-size: 12px;
    }

    .hero-copy strong {
        font-size: clamp(23px, 8vw, 28px);
        line-height: 1.2;
    }

    .hero-slide.slide-1 {
        background-position: 67% center;
    }

    .hero-slide.slide-2 {
        background-position: 60% center;
    }

    .hero-slide.slide-3 {
        background-position: 65% center;
    }
}
