.company-landing-body {
    --company-navy: #071a34;
    --company-navy-deep: #041226;
    --company-navy-soft: #0d294d;
    --company-cyan: #30b9c4;
    --company-text: rgba(247, 251, 255, 0.92);
    --company-muted: rgba(247, 251, 255, 0.72);
    --company-faint: rgba(247, 251, 255, 0.48);
    --company-line: rgba(247, 251, 255, 0.18);
    color: var(--company-text);
    background: var(--company-navy);
    overflow-x: clip;
}

.company-page {
    position: relative;
    z-index: 0;
    background: var(--company-navy);
    overflow-x: clip;
}

.company-page::before {
    content: '';
    position: fixed;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    background:
        radial-gradient(circle at 8% 12%, rgba(45, 90, 160, 0.1), transparent 40%),
        radial-gradient(circle at 92% 88%, rgba(48, 185, 196, 0.05), transparent 40%);
}

.company-page section { padding: 0; }
.company-page section[id] { scroll-margin-top: 96px; }

.company-representative,
.company-profile,
.company-contact {
    background-color: transparent;
}

.company-page a:focus-visible,
.company-page button:focus-visible {
    outline: 2px solid rgba(247, 251, 255, 0.82);
    outline-offset: 5px;
}

.company-shell {
    width: min(100%, 1280px);
    margin: 0 auto;
    padding-inline: clamp(24px, 6vw, 88px);
}

.company-eyebrow,
.company-hero__eyebrow,
.company-hero__scroll,
.company-representative__portrait small {
    font-family: 'Inter', sans-serif;
}

.company-eyebrow {
    margin-bottom: 24px;
    color: var(--company-faint);
    font-size: 0.76rem;
    font-weight: 500;
    letter-spacing: 0.24em;
}

.company-section-title { display: inline-block; max-width: 100%; }
.company-section-title__mask { overflow: hidden; }

.company-section-title h2 {
    color: var(--company-text);
    font-size: clamp(2.2rem, 4vw, 3.7rem);
    line-height: 1.16;
    letter-spacing: -0.04em;
}

.company-section-title__line {
    display: block;
    height: 1px;
    margin-top: 18px;
    background: rgba(48, 185, 196, 0.55);
    transform-origin: left;
}

/* 共通ヘッダーのダーク配色は style-<hash>.css 側。このページは濃めの値に差し替える */
.company-landing-body {
    --header-shade: linear-gradient(180deg, rgba(4, 14, 30, 0.78), rgba(4, 14, 30, 0.28) 64%, transparent);
    --header-link: rgba(247, 251, 255, 0.9);
}

/* Hero */
.company-hero {
    --hero-progress: 0;
    --hero-image-scale: 1;
    --hero-visual-opacity: 1;
    --hero-scroll-opacity: 1;
    position: relative;
    min-height: 100svh;
    display: flex;
    align-items: center;
    isolation: isolate;
    overflow: visible;
}

.company-hero__media,
.company-hero__media picture,
.company-hero__media img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.company-hero__media {
    z-index: -3;
    opacity: var(--hero-visual-opacity);
    transform: translate3d(0, calc(var(--hero-progress) * 26svh), 0) scale(var(--hero-image-scale));
    transform-origin: center center;
    -webkit-mask-image: linear-gradient(to bottom, #000 0%, #000 72%, transparent 100%);
    mask-image: linear-gradient(to bottom, #000 0%, #000 72%, transparent 100%);
}

.company-hero__media picture { display: block; }

.company-hero__media img {
    display: block;
    object-fit: cover;
    object-position: center;
    filter: saturate(0.76) brightness(0.96) contrast(0.94);
}

.company-hero__shade {
    position: absolute;
    inset: 0;
    z-index: -2;
    background:
        linear-gradient(90deg, rgba(2, 10, 23, 0.84) 0%, rgba(3, 13, 29, 0.64) 42%, rgba(3, 13, 29, 0.6) 100%),
        linear-gradient(180deg, rgba(2, 8, 18, 0.1), rgba(2, 8, 18, 0.44));
    transform: translate3d(0, calc(var(--hero-progress) * 26svh), 0);
    -webkit-mask-image: linear-gradient(to bottom, #000 0%, #000 72%, transparent 100%);
    mask-image: linear-gradient(to bottom, #000 0%, #000 72%, transparent 100%);
}

.company-hero__shade::after {
    content: '';
    position: absolute;
    inset: 0;
    /* 終端色をページ背景の navy に合わせ、完全被覆(opacity 1)まで上げることで
       媒体フェードと打ち消し合わず単調に「沈む」(明るさが途中で戻らない) */
    background: linear-gradient(180deg, var(--company-navy-deep), var(--company-navy));
    opacity: clamp(0, calc(var(--hero-progress) * 1.25), 1);
}

.company-hero__content {
    width: min(100%, 1440px);
    min-height: 100svh;
    margin: 0 auto;
    padding: clamp(96px, 12vh, 132px) clamp(32px, 6vw, 104px);
    display: grid;
    grid-template-columns: minmax(330px, 0.9fr) minmax(400px, 0.72fr);
    gap: clamp(70px, 9vw, 142px);
    align-items: center;
}

.company-hero__eyebrow {
    margin-bottom: 22px;
    color: rgba(247, 251, 255, 0.5);
    font-size: 0.78rem;
    font-weight: 500;
    letter-spacing: 0.24em;
}

.company-hero h1 {
    max-width: 900px;
    color: var(--company-text);
    font-size: clamp(2.5rem, 4.5vw, 5rem);
    line-height: 1.18;
    letter-spacing: -0.04em;
    text-wrap: balance;
}

.company-hero__story {
    max-width: 580px;
    padding-bottom: 4px;
}

.company-hero__story-copy {
    color: rgba(247, 251, 255, 0.75);
    font-size: clamp(0.88rem, 1.05vw, 0.98rem);
    line-height: 2;
}

.company-hero__story-copy p + p { margin-top: 1.25em; }

.company-hero__scroll {
    position: absolute;
    left: clamp(18px, 2.4vw, 38px);
    bottom: clamp(30px, 5vh, 56px);
    display: flex;
    align-items: center;
    gap: 12px;
    color: rgba(247, 251, 255, 0.48);
    font-size: 0.66rem;
    font-weight: 500;
    letter-spacing: 0.2em;
    writing-mode: vertical-rl;
    opacity: var(--hero-scroll-opacity);
}

.company-hero__scroll::after {
    content: '';
    width: 1px;
    height: 62px;
    background: linear-gradient(180deg, rgba(247, 251, 255, 0.42), transparent);
    transform-origin: top;
    animation: page-scroll-line 2.8s var(--ease-expo) infinite;
}

/* Representative */
.company-representative {
    padding-block: clamp(240px, 28vw, 380px) clamp(150px, 19vw, 260px) !important;
}

.company-representative__heading,
.company-profile__heading { margin-bottom: clamp(72px, 10vw, 124px); }

.company-representative__layout {
    display: grid;
    grid-template-columns: minmax(260px, 0.64fr) minmax(430px, 1fr);
    gap: clamp(72px, 11vw, 170px);
    align-items: start;
}

.company-representative__portrait { margin: 0; }

.company-representative__portrait img {
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
    filter: saturate(0.74) contrast(0.97);
}

.company-representative__portrait figcaption {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 3px 16px;
    margin-top: 24px;
    align-items: baseline;
}

.company-representative__portrait figcaption span {
    grid-row: 1 / 3;
    color: var(--company-faint);
    font-size: 0.76rem;
}

.company-representative__portrait strong {
    color: var(--company-text);
    font-size: 1.12rem;
    font-weight: 600;
    letter-spacing: 0.04em;
}

.company-representative__portrait small {
    color: var(--company-faint);
    font-size: 0.62rem;
    letter-spacing: 0.16em;
}

.company-representative__catch {
    margin-bottom: clamp(42px, 6vw, 66px);
    color: var(--company-text);
    font-size: clamp(1.72rem, 3.25vw, 2.75rem);
    font-weight: 600;
    line-height: 1.62;
    letter-spacing: -0.035em;
}

.company-representative__copy {
    display: grid;
    gap: 26px;
    color: var(--company-muted);
    font-size: clamp(0.96rem, 1.15vw, 1.04rem);
    line-height: 2.1;
}

.company-representative__profile {
    margin-top: clamp(46px, 6vw, 68px);
    padding-top: 28px;
    border-top: 1px solid var(--company-line);
    color: rgba(247, 251, 255, 0.58);
    font-size: 0.82rem;
    line-height: 1.95;
}

/* Company profile */
.company-profile {
    padding-block: clamp(140px, 18vw, 230px) !important;
}

.company-profile__table-wrap { max-width: 980px; margin-left: auto; }
.company-profile__table { width: 100%; border-collapse: collapse; }

.company-profile__table th,
.company-profile__table td {
    padding: 27px 0;
    border-bottom: 1px solid var(--company-line);
    text-align: left;
    vertical-align: top;
}

.company-profile__table th {
    width: 27%;
    padding-right: 30px;
    color: var(--company-faint);
    font-size: 0.78rem;
    font-weight: 500;
    letter-spacing: 0.04em;
}

.company-profile__table td {
    color: rgba(247, 251, 255, 0.82);
    font-size: 0.96rem;
    line-height: 1.85;
}

.company-profile__table small { color: var(--company-faint); font-size: 0.74rem; }
.company-profile__mobile-break { display: none; }

.company-profile__services {
    display: grid;
    gap: 5px;
    padding-left: 1.2em;
    list-style: disc;
}

/* Contact */
.company-contact {
    position: relative;
    padding-block: clamp(130px, 17vw, 220px) !important;
    overflow: hidden;
}

.company-contact__inner { position: relative; z-index: 1; }

.company-contact__actions {
    margin-top: clamp(44px, 6vw, 66px);
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}

.company-contact__button {
    position: relative;
    min-width: 228px;
    min-height: 58px;
    padding: 16px 22px;
    display: inline-flex;
    justify-content: space-between;
    align-items: center;
    gap: 28px;
    border: 1px solid rgba(247, 251, 255, 0.32);
    color: var(--company-text);
    font-size: 0.9rem;
    font-weight: 600;
    text-decoration: none;
    transition: color 0.7s var(--ease-expo), background-color 0.7s var(--ease-expo), border-color 0.7s var(--ease-expo);
}

.company-contact__button--primary {
    border-color: rgba(247, 251, 255, 0.9);
    color: var(--company-navy);
    background: rgba(247, 251, 255, 0.94);
}

.company-contact__button:hover { border-color: var(--company-cyan); color: var(--company-navy); background: var(--company-cyan); }

.company-contact__button .material-symbols-rounded {
    font-size: 1.15rem;
    transition: transform 0.7s var(--ease-expo);
}

.company-contact__button:hover .material-symbols-rounded { transform: translateX(5px); }

/* Footer */
.company-landing-body footer {
    position: relative;
    overflow: hidden;
    padding: 120px 0 40px;
    color: #fff;
    background: var(--company-navy);
    font-size: 15px;
    line-height: 1.75;
}

.company-landing-body footer .footer-container {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 1120px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    flex-direction: row;
    gap: 80px;
}

.company-landing-body footer .footer-links,
.company-landing-body footer .footer-links:first-child { flex: 0 0 auto; margin-right: 0; }

.company-landing-body footer .footer-links h3 {
    margin-bottom: 20px;
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.875rem;
    font-weight: 700;
}

.company-landing-body footer .footer-links ul { display: flex; flex-direction: column; gap: 12px; }
.company-landing-body footer .footer-links li { margin-bottom: 0; }

.company-landing-body footer .footer-links a {
    padding-bottom: 2px;
    color: #fff;
    font-size: 0.875rem;
    background-image: linear-gradient(#fff, #fff);
    background-repeat: no-repeat;
    background-position: 0 100%;
    background-size: 0 1px;
    transition: background-size 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}

.company-landing-body footer .footer-links a:hover { color: #fff; background-size: 100% 1px; }

.company-landing-body footer .copyright {
    position: relative;
    z-index: 1;
    max-width: 1120px;
    margin: 80px auto 0;
    padding: 24px 24px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.75rem;
    text-align: left;
}

/* Motion: opt-in only */
.company-motion-ready .company-hero__media picture {
    animation: company-hero-image-in 1.6s var(--ease-expo) both;
}

.company-motion-ready .company-hero__eyebrow,
.company-motion-ready .company-hero h1,
.company-motion-ready .company-hero__story,
.company-motion-ready .company-hero__scroll {
    animation: company-hero-copy-in 1.6s var(--ease-expo) both;
}

.company-motion-ready .company-hero__eyebrow { animation-delay: 0.28s; --hero-enter-y: 15px; }
.company-motion-ready .company-hero h1 { animation-delay: 0.46s; --hero-enter-y: 25px; }
.company-motion-ready .company-hero__story { animation-delay: 0.72s; --hero-enter-y: 20px; }
.company-motion-ready .company-hero__scroll { animation: company-hero-fade-in 1.2s var(--ease-expo) 1.05s both; }

@keyframes company-hero-image-in {
    from { opacity: 0.6; transform: scale(1.035); }
    to { opacity: 1; transform: scale(1); }
}

@keyframes company-hero-copy-in {
    from { opacity: 0; transform: translateY(var(--hero-enter-y)); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes company-hero-fade-in { from { opacity: 0; } to { opacity: 1; } }

@media (min-width: 901px) {
    .company-motion-ready [data-company-section] { --section-progress: 0; }

    .company-motion-ready .company-representative__portrait,
    .company-motion-ready .company-representative__catch,
    .company-motion-ready .company-representative__copy,
    .company-motion-ready .company-representative__profile,
    .company-motion-ready .company-profile__table-wrap,
    .company-motion-ready .company-contact__inner > * {
        --reveal-progress: clamp(0, calc((var(--section-progress) - var(--reveal-delay, 0)) * 2.35), 1);
        opacity: var(--reveal-progress);
        transform: translate3d(0, calc((1 - var(--reveal-progress)) * var(--reveal-offset, 24px)), 0);
    }

    .company-motion-ready .company-representative__portrait { --reveal-delay: 0.1; --reveal-offset: 38px; }
    .company-motion-ready .company-representative__catch { --reveal-delay: 0.15; }
    .company-motion-ready .company-representative__copy { --reveal-delay: 0.26; }
    .company-motion-ready .company-representative__profile { --reveal-delay: 0.38; }
    .company-motion-ready .company-profile__table-wrap { --reveal-delay: 0.14; }
    .company-motion-ready .company-contact__inner > :nth-child(2) { --reveal-delay: 0.08; }

    .company-motion-ready .company-section-title h2 {
        --title-progress: clamp(0, calc((var(--section-progress) - 0.08) * 2.1), 1);
        transform: translate3d(0, calc((1 - var(--title-progress)) * 102%), 0);
    }

    .company-motion-ready .company-section-title__line {
        --line-progress: clamp(0, calc((var(--section-progress) - 0.28) * 2.5), 1);
        transform: scaleX(var(--line-progress));
    }

}

@media (max-width: 900px) {
    .company-hero { min-height: 100svh; }
    .company-hero__content {
        min-height: auto;
        padding: 126px clamp(20px, 6vw, 48px) 108px;
        grid-template-columns: 1fr;
        gap: 58px;
        align-items: start;
    }

    .company-hero__story { max-width: 670px; }
    .company-hero__scroll { display: none; }
    .company-representative__layout { grid-template-columns: 1fr; }
    .company-representative__layout { gap: 64px; }
    .company-representative__portrait { width: min(100%, 420px); }
    .company-profile__table-wrap { margin-left: 0; }

    .company-motion-ready [data-company-section] .company-section-title h2 {
        transform: translateY(102%);
        transition: transform 1.6s var(--ease-slow);
    }

    .company-motion-ready [data-company-section] .company-section-title__line {
        transform: scaleX(0);
        transition: transform 1.8s var(--ease-slow) 0.5s;
    }

    .company-motion-ready [data-company-section].is-visible .company-section-title h2,
    .company-motion-ready [data-company-section].is-visible .company-section-title__line { transform: none; }

    .company-motion-ready [data-company-section] .company-representative__portrait,
    .company-motion-ready [data-company-section] .company-representative__catch,
    .company-motion-ready [data-company-section] .company-representative__copy,
    .company-motion-ready [data-company-section] .company-representative__profile,
    .company-motion-ready [data-company-section] .company-profile__table-wrap,
    .company-motion-ready [data-company-section] .company-contact__inner > * {
        opacity: 0;
        transform: translateY(26px);
        transition: opacity 1.35s var(--ease-slow), transform 1.55s var(--ease-slow);
    }

    .company-motion-ready [data-company-section].is-visible .company-representative__portrait,
    .company-motion-ready [data-company-section].is-visible .company-representative__catch,
    .company-motion-ready [data-company-section].is-visible .company-representative__copy,
    .company-motion-ready [data-company-section].is-visible .company-representative__profile,
    .company-motion-ready [data-company-section].is-visible .company-profile__table-wrap,
    .company-motion-ready [data-company-section].is-visible .company-contact__inner > * {
        opacity: 1;
        transform: translateY(0);
    }

    .company-motion-ready [data-company-section] .company-representative__copy,
    .company-motion-ready [data-company-section] .company-profile__table-wrap { transition-delay: 0.25s; }
}

@media (max-width: 768px) {
    .company-landing-body footer { padding: 80px 0 32px; }
    .company-landing-body footer .footer-container { flex-direction: column; gap: 48px; }
    .company-landing-body .menu-overlay { z-index: 999; }
}

@media (max-width: 600px) {
    .company-shell { padding-inline: 20px; }
    .company-hero { min-height: 92svh; }
    .company-hero__media img { object-position: 58% center; }

    .company-hero__shade {
        background:
            linear-gradient(90deg, rgba(2, 10, 23, 0.83), rgba(3, 13, 29, 0.35) 86%),
            linear-gradient(180deg, rgba(2, 8, 18, 0.12), rgba(2, 8, 18, 0.55));
    }

    .company-hero__content { padding-top: 112px; padding-bottom: 64px; }
    .company-hero__eyebrow { margin-bottom: 16px; }
    .company-hero h1 { font-size: clamp(2.35rem, 11vw, 3.4rem); line-height: 1.22; }
    .company-hero__story-copy { font-size: 0.88rem; line-height: 1.95; }
    .company-representative__portrait { width: 84%; }
    .company-representative__catch br { display: none; }
    .company-profile__table th,
    .company-profile__table td { display: block; width: 100%; }

    .company-profile__table th { padding: 23px 0 7px; border-bottom: 0; }
    .company-profile__table td { padding: 0 0 23px; }
    .company-profile__mobile-break { display: initial; }
    .company-contact__actions { flex-direction: column; }
    .company-contact__button { width: 100%; }
}
