.hero-shell {
    position: relative;
    min-height: 100svh;
    background: #eef5f8;
    overflow-x: hidden;
}

.hero-stage {
    position: relative;
    min-height: 100svh;
    overflow: hidden;
    background: #d9edf5;
}

.hero-slider {
    position: absolute;
    inset: 0;
    overflow: hidden;
    background: #d9edf5;
    perspective: 1400px;
}

.hero-backdrop {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 42%;
    transform: scale(1.01);
    opacity: 0;
    z-index: 0;
    clip-path: polygon(42% 0, 58% 0, 64% 100%, 36% 100%);
    transition: opacity 0.25s ease;
    will-change: clip-path, opacity, transform;
}

.hero-backdrop.is-active {
    opacity: 1;
    z-index: 1;
    clip-path: polygon(-30% 0, 130% 0, 130% 100%, -30% 100%);
}

.hero-backdrop.is-revealing {
    opacity: 1;
    z-index: 2;
    animation: heroDiagonalReveal 1.25s cubic-bezier(0.76, 0, 0.24, 1) both;
}

.hero-backdrop.is-sliding {
    opacity: 1;
    z-index: 3;
    clip-path: polygon(-30% 0, 130% 0, 130% 100%, -30% 100%);
    animation: heroSlideReveal 0.62s cubic-bezier(0.72, 0, 0.2, 1) both;
    transition: none;
    will-change: transform;
}

.hero-backdrop.is-slide-out-left {
    opacity: 1;
    z-index: 2;
    clip-path: polygon(-30% 0, 130% 0, 130% 100%, -30% 100%);
    animation: heroSlideOutLeft 0.62s cubic-bezier(0.72, 0, 0.2, 1) both;
    transition: none;
    will-change: transform;
}

.hero-backdrop-ai {
    object-position: center center;
}

.hero-backdrop-ai02 {
    object-position: center center;
}

@keyframes heroDiagonalReveal {
    0% {
        clip-path: polygon(46% 0, 54% 0, 59% 100%, 41% 100%);
        transform: scale(1.045);
    }
    100% {
        clip-path: polygon(-30% 0, 130% 0, 130% 100%, -30% 100%);
        transform: scale(1.01);
    }
}

@keyframes heroSlideReveal {
    0% {
        opacity: 1;
        transform: translate3d(100%, 0, 0) scale(1.01);
    }
    100% {
        opacity: 1;
        transform: translate3d(0, 0, 0) scale(1.01);
    }
}

@keyframes heroSlideOutLeft {
    0% {
        opacity: 1;
        transform: translate3d(0, 0, 0) scale(1.01);
    }
    100% {
        opacity: 1;
        transform: translate3d(-100%, 0, 0) scale(1.01);
    }
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background:
    linear-gradient(180deg, rgba(247, 251, 253, 0.01) 0%, rgba(247, 251, 253, 0) 42%, rgba(6, 16, 21, 0.3) 100%),
    linear-gradient(100deg, rgba(4, 12, 16, 0.38) 0%, rgba(4, 12, 16, 0.14) 40%, rgba(4, 12, 16, 0) 72%);
}

.hero-stage-inner {
    position: relative;
    z-index: 2;
    width: min(100% - 4rem, 1280px);
    margin: 0 auto;
    min-height: 100svh;
    padding: 8.8rem 0 3rem;
    display: flex;
    flex-direction: column;
}

.hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: end;
    gap: 2rem;
    width: 100%;
    flex: 1;
    align-content: center;
    padding-bottom: 0;
}

.hero-slide-dots {
    position: absolute;
    right: 0;
    bottom: 10.4rem;
    z-index: 4;
    display: flex;
    align-items: center;
    gap: 0.72rem;
}

.hero-slide-dot {
    width: 0.66rem;
    height: 0.66rem;
    border-radius: 9999px;
    background: rgba(255, 255, 255, 0.44);
    box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.28);
    transition: background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.hero-slide-dot:hover {
    background: rgba(255, 255, 255, 0.78);
    transform: scale(1.18);
}

.hero-slide-dot.is-active {
    background: #ffffff;
    transform: scale(1.35);
    box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.7),
    0 0 18px rgba(255, 255, 255, 0.34);
}

.hero-copy-block {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    max-width: 58rem;
    transform: translateY(-2.2rem);
}

.hero-title {
    max-width: 12ch;
    margin-top: 0;
    font-family: "Manrope", sans-serif;
    font-size: clamp(4.8rem, 9.3vw, 9.6rem);
    font-weight: 800;
    letter-spacing: 0;
    line-height: 0.94;
    color: #ffffff;
    text-wrap: balance;
    text-shadow:
    0 14px 36px rgba(1, 8, 10, 0.34),
    0 30px 70px rgba(1, 8, 10, 0.2);
    opacity: 1;
    transition: opacity 0.42s ease;
}

.hero-title.is-fading {
    opacity: 0;
}

.hero-title-brand-letter {
    color: #18b7cd;
}

.hero-title-accent-letter {
    color: #18b7cd;
}

.hero-title-ai {
    width: max-content;
    max-width: min(100%, 12ch);
    margin-left: 0;
    margin-right: 0;
    text-align: left;
    transform: translateX(clamp(13rem, 24vw, 22rem));
}

.hero-title-ai02 {
    max-width: min(100%, 20ch);
    font-size: clamp(3.45rem, 6.4vw, 6.55rem);
    line-height: 1.04;
}

.hero-title-line {
    display: block;
    white-space: nowrap;
}

.hero-title-line-offset {
    transform: none;
}

.hero-lead {
    position: absolute;
    top: calc(100% + 1.35rem);
    left: 0;
    display: block;
    visibility: hidden;
    max-width: 52rem;
    margin-top: 0;
    color: rgba(255, 255, 255, 0.86);
    font-size: clamp(0.95rem, 1.18vw, 1.12rem);
    font-weight: 700;
    line-height: 1.9;
    letter-spacing: 0.02em;
    text-shadow: 0 10px 28px rgba(1, 8, 10, 0.28);
    opacity: 0;
    transition: opacity 0.42s ease, visibility 0.42s ease;
}

.hero-lead.is-visible {
    visibility: visible;
    opacity: 1;
}

.hero-lead span {
    display: block;
}

.hero-topic-row {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    border-top: 1px solid rgba(255, 255, 255, 0.36);
    border-bottom: 1px solid rgba(255, 255, 255, 0.18);
}

.hero-topic-row a {
    display: grid;
    gap: 0.9rem;
    min-height: 6.2rem;
    padding: 1.15rem 1.35rem 1.2rem clamp(0.9rem, 1.6vw, 1.35rem);
    color: #ffffff;
    border-right: 1px solid rgba(255, 255, 255, 0.2);
    text-shadow: 0 10px 28px rgba(1, 8, 10, 0.24);
    transition: background 0.2s ease, padding-left 0.2s ease;
}

.hero-topic-row a:first-child {
    padding-left: clamp(0.9rem, 1.6vw, 1.35rem);
}

.hero-topic-row a:last-child {
    border-right: none;
}

.hero-topic-row a:hover {
    background: rgba(255, 255, 255, 0.08);
    padding-left: clamp(1.15rem, 2vw, 1.6rem);
}

.hero-topic-row span {
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.18em;
    color: rgba(255, 255, 255, 0.68);
}

.hero-topic-row strong {
    font-size: clamp(1rem, 1.45vw, 1.22rem);
    font-weight: 800;
    letter-spacing: 0.02em;
    line-height: 1.45;
}

.section-break {
    position: relative;
    scroll-margin-top: 5.6rem;
}

.section-frame {
    position: relative;
    width: min(calc(100% - 4rem), 1360px);
    margin: 0 auto;
    padding: 6rem 0 4rem;
}

.section-frame::before {
    content: "";
    position: absolute;
    top: 3.25rem;
    left: 0;
    width: 100%;
    height: 1px;
    background: rgba(15, 31, 36, 0.12);
    z-index: 0;
}

.section-frame::after {
    content: "";
    position: absolute;
    top: 3.25rem;
    left: 0;
    width: 6rem;
    height: 3px;
    background: #00687a;
    z-index: 0;
}

.section-break--soft .section-frame::before {
    background: rgba(15, 31, 36, 0.12);
}

.section-break--light .section-frame::before {
    background: rgba(15, 31, 36, 0.12);
}

.section-break--dark .section-frame::before {
    background: rgba(236, 250, 255, 0.18);
    box-shadow: none;
}

.section-break--dark .section-frame::after {
    background: #7ce3fd;
}

.section-boundary {
    position: relative;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    gap: 0.9rem;
    margin-bottom: 1.9rem;
    color: #0f1f24;
}

.section-break--dark .section-boundary {
    color: #ffffff;
}

.section-boundary-label {
    font-size: clamp(1.18rem, 1.6vw, 1.55rem);
    font-weight: 800;
    letter-spacing: 0.08em;
    white-space: nowrap;
}

.section-boundary-mark {
    width: clamp(2.5rem, 5vw, 5rem);
    height: 1px;
    background: currentColor;
    opacity: 0.34;
}

.section-kicker {
    display: inline-block;
    font-size: 0.76rem;
    font-weight: 700;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: #00687a;
}

.section-kicker-dark {
    color: rgba(124, 227, 253, 0.88);
}

.concept-layout,
.company-grid {
    position: relative;
    z-index: 1;
}

.concept-layout {
    display: grid;
    grid-template-columns: minmax(340px, 0.76fr) minmax(0, 1.24fr);
    gap: clamp(2rem, 5vw, 5rem);
    align-items: center;
}

.concept-copy-column {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
    max-width: 44rem;
}

.concept-main-title {
    line-height: 1.1;
}

.index-section-title {
    line-height: 1.1;
}

.concept-actions {
    display: grid;
    gap: 0;
    margin-top: 1.7rem;
}

.company-link-card {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    margin-top: 0;
    padding: 1rem 0;
    border-radius: 0;
    border-top: 1px solid rgba(15, 31, 36, 0.12);
    background: transparent;
    color: #1d2a31;
    box-shadow: none;
    transition: color 0.25s ease, padding-left 0.25s ease;
}

.company-link-card:hover {
    color: #00687a;
    padding-left: 0.4rem;
    box-shadow: none;
}

.company-link-meta {
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.24em;
    color: #00687a;
}

.company-link-title {
    margin-top: 0.45rem;
    font-size: 1.1rem;
    font-weight: 700;
    color: inherit;
}

.section-frame-dark {
    overflow: hidden;
}

.recruitment-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 0.98fr) minmax(320px, 0.72fr);
    align-items: center;
    gap: 3.5rem;
}

.recruitment-links {
    display: grid;
    max-width: 34rem;
    border-top: 1px solid rgba(124, 227, 253, 0.34);
}

.recruitment-links .company-link-card {
    color: #ecfaff;
    border-bottom-color: rgba(124, 227, 253, 0.34);
}

.recruitment-links .company-link-meta {
    color: #7ce3fd;
}

.recruitment-links .company-link-title {
    color: #ffffff;
}

.recruitment-links .company-link-card:hover {
    color: #7ce3fd;
}

.recruit-visual-frame {
    overflow: hidden;
    box-shadow: 0 30px 70px rgba(2, 8, 10, 0.24);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.recruit-visual-frame img {
    width: 100%;
    aspect-ratio: 5 / 4;
    object-fit: cover;
    object-position: 72% 28%;
    display: block;
}

.concept-visual {
    height: clamp(28rem, 42vw, 38rem);
    border-radius: 0;
    overflow: hidden;
}

#company .section-frame {
    padding-top: 7rem;
}

#contact .section-frame {
    padding-bottom: 3.4rem;
}

#contact .company-grid {
    align-items: start;
    margin-top: 0.75rem;
}

#contact .company-panel h2 + p {
    margin-top: 1.35rem;
}

body > footer {
    padding-top: 3rem !important;
}

.concept-visual img,
.company-visual img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

.concept-visual img {
    object-position: right center;
}

.company-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.12fr) minmax(340px, 0.88fr);
    gap: clamp(2rem, 5vw, 5rem);
    align-items: center;
}

.company-panel {
    grid-column: 2;
    grid-row: 1;
    border-radius: 0;
    box-shadow: none;
    background: transparent;
    padding: 0;
}

.company-visual {
    grid-column: 1;
    grid-row: 1;
    height: clamp(24rem, 36vw, 34rem);
    overflow: hidden;
}

.company-visual img {
    transform: scale(1.18);
    transform-origin: center bottom;
    object-position: center bottom;
}

#company .company-visual img {
    object-position: center 22%;
}

.contact-index-visual {
    background: #ffffff;
    height: clamp(18rem, 28vw, 25rem);
}

.contact-index-visual img {
    object-fit: contain;
    object-position: center center;
    transform: none;
}

@media (max-width: 1150px) {
    .concept-layout,
    .recruitment-grid {
        grid-template-columns: 1fr;
    }

    .concept-visual,
    .company-visual {
        min-height: 24rem;
    }
}

@media (max-width: 900px) {
    .company-grid {
        grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
    }

    .company-panel {
        grid-column: 2;
        grid-row: 1;
    }

    .company-visual {
        grid-column: 1;
        grid-row: 1;
    }
}

@media (max-width: 767px) {
    .company-grid {
        grid-template-columns: 1fr;
    }

    .company-panel {
        grid-column: auto;
        grid-row: auto;
        order: 1;
    }

    .company-visual {
        grid-column: auto;
        grid-row: auto;
        order: 2;
    }
}

@media (max-width: 767px) {
    html,
    body {
        width: 100%;
        max-width: 100%;
        overflow-x: clip;
    }

    .hero-stage-inner {
        width: calc(100% - 2rem);
    }

    .section-frame {
        width: calc(100% - 2rem);
    }

    .hero-stage-inner {
        min-height: 100svh;
        padding-top: 6.2rem;
        padding-bottom: 1.25rem;
    }

    .hero-backdrop {
        object-position: 58% center;
    }

    .hero-overlay {
        background:
        linear-gradient(180deg, rgba(247, 251, 253, 0) 0%, rgba(6, 16, 21, 0.14) 45%, rgba(6, 16, 21, 0.48) 100%),
        linear-gradient(105deg, rgba(4, 12, 16, 0.36) 0%, rgba(4, 12, 16, 0.06) 62%);
    }

    .hero-grid {
        grid-template-columns: 1fr;
        gap: 1.2rem;
        align-content: center;
        padding-bottom: 0;
    }

    .hero-copy-block {
        transform: translateY(-1.4rem);
    }

    .hero-slide-dots {
        right: 0;
        bottom: 16rem;
        gap: 0.58rem;
    }

    .hero-slide-dot {
        width: 0.58rem;
        height: 0.58rem;
    }

    .hero-title {
        max-width: 7.8em;
        margin-top: 0;
        font-size: clamp(3.7rem, 15.5vw, 5.7rem);
        line-height: 0.96;
    }

    .hero-title-ai {
        max-width: min(100%, 7.8em);
        margin-left: 0;
        margin-right: 0;
        transform: translateX(clamp(4rem, 24vw, 7rem));
    }

    .hero-title-ai02 {
        max-width: calc(100vw - 1rem);
        font-size: clamp(1.74rem, 6.65vw, 2.55rem);
        line-height: 1.18;
        transform: translateY(0.8rem);
    }

    .hero-title-line-offset {
        transform: none;
    }

    .hero-lead {
        top: calc(100% + 4.35rem);
        max-width: 100%;
        margin-top: 0;
        font-size: 0.96rem;
        line-height: 1.75;
    }

    .hero-topic-row {
        grid-template-columns: 1fr;
    }

    .hero-topic-row a {
        min-height: auto;
        padding: 0.9rem 0.85rem;
        border-right: none;
        border-bottom: 1px solid rgba(255, 255, 255, 0.16);
        gap: 0.3rem;
    }

    .hero-topic-row a:hover {
        padding-left: 1rem;
    }

    .hero-topic-row a:last-child {
        border-bottom: none;
    }

    .hero-topic-row strong {
        font-size: 1rem;
    }

    .section-frame {
        padding-top: 7.6rem;
        padding-bottom: 4rem;
    }

    #contact .section-frame {
        padding-bottom: 3.2rem;
    }

    #contact .company-grid {
        margin-top: 0;
    }

    .section-frame::before {
        top: 4.05rem;
        width: 100%;
        height: 1px;
    }

    .section-frame::after {
        top: 4.05rem;
        width: 4.5rem;
        height: 3px;
    }

    .section-boundary {
        margin-bottom: 2.2rem;
    }

    #about .concept-layout,
    #company .company-grid,
    #solutions .company-grid,
    #contact .company-grid,
    #recruitment .recruitment-grid {
        margin-top: 0;
    }

    #about .concept-copy-column > span,
    #company .company-panel > span,
    #solutions .company-panel > span,
    #contact .company-panel > span,
    #recruitment .section-kicker {
        display: block;
        min-height: 0.9rem;
        line-height: 1;
        margin: 0 0 1rem !important;
    }

    .section-boundary-label {
        font-size: 1.08rem;
        letter-spacing: 0.12em;
    }

    .section-boundary-mark {
        width: 1.9rem;
    }

    .concept-main-title,
    .index-section-title {
        font-size: clamp(2rem, 8vw, 2.7rem) !important;
        line-height: 1.18;
        letter-spacing: 0;
    }

    .nowrap-mobile {
        white-space: nowrap;
        font-size: 0.92em;
    }

    .concept-copy-column {
        gap: 0;
    }

    .concept-copy-column > span + .concept-main-title,
    .company-panel > span + .index-section-title,
    .section-kicker + .index-recruit-title {
        margin-top: 0 !important;
    }

    .index-recruit-title {
        font-size: clamp(2.25rem, 9vw, 3rem) !important;
        line-height: 1.16;
        letter-spacing: 0;
    }

    .concept-main-title + p,
    .index-section-title + p,
    .index-recruit-title + p,
    #contact .index-section-title + p {
        margin-top: 1.2rem !important;
    }

    .recruitment-grid .space-y-8 > :not([hidden]) ~ :not([hidden]) {
        margin-top: 1.2rem !important;
    }

    #company .company-panel,
    #solutions .company-panel,
    #contact .company-panel {
        display: flex;
        flex-direction: column;
    }

    #company .company-panel > .index-section-title,
    #solutions .company-panel > .index-section-title,
    #contact .company-panel > .index-section-title {
        margin-top: 0 !important;
        margin-bottom: 1.2rem;
    }

    #company .company-panel > .index-section-title + p,
    #solutions .company-panel > .index-section-title + p,
    #contact .company-panel > .index-section-title + p {
        margin-top: 0 !important;
        margin-bottom: 1.55rem;
    }

    #company .company-panel > .company-link-card:first-of-type,
    #solutions .company-panel > .company-link-card:first-of-type,
    #contact .company-panel > .company-link-card:first-of-type {
        margin-top: 0;
    }

    .company-panel {
        padding: 1.45rem 1.35rem;
    }

    .concept-visual,
    .company-visual {
        min-height: 0;
        height: 16rem;
    }
}
