.company-page .page-hero {
    background-image: url('../img/hero.webp');
    background-position: center 42%;
}

.company-page .page-hero::before {
    background:
        linear-gradient(180deg, rgba(10, 18, 27, 0.42) 0%, rgba(10, 18, 27, 0.56) 100%),
        linear-gradient(90deg, rgba(10, 18, 27, 0.2) 0%, rgba(10, 18, 27, 0.05) 45%, rgba(10, 18, 27, 0.16) 100%);
}

.company-page .ceo-intro {
    padding: clamp(72px, 8vw, 108px) 0 clamp(62px, 7vw, 94px);
    background: linear-gradient(180deg, #fff 0%, #f7f9fb 100%);
    border-bottom: 1px solid #edf1f4;
}

.company-page .ceo-intro__inner {
    max-width: 1140px;
    display: grid;
    grid-template-columns: minmax(260px, 0.82fr) minmax(0, 1.18fr);
    gap: clamp(34px, 5.8vw, 82px);
    align-items: center;
}

.company-page .ceo-intro__portrait {
    position: relative;
    width: min(100%, 420px);
    margin: 0;
    justify-self: center;
}

.company-page .ceo-intro__portrait::before {
    content: '';
    position: absolute;
    inset: 24px -20px -22px 24px;
    background: #eaf1f7;
    border: 1px solid #dce7ef;
}

.company-page .ceo-intro__portrait::after {
    content: '';
    position: absolute;
    left: -18px;
    top: 42px;
    width: 1px;
    height: 58%;
    background: var(--primary-color);
    opacity: 0.45;
}

.company-page .ceo-intro__portrait img {
    position: relative;
    z-index: 1;
    display: block;
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
    border: 1px solid #d7e2ea;
    box-shadow: 0 28px 54px rgba(17, 31, 45, 0.13);
}

.company-page .ceo-intro__content {
    position: relative;
    padding: 8px 0;
}

.company-page .ceo-intro__label {
    display: block;
    margin-bottom: 18px;
    color: #8ea2b1;
    font-family: var(--font-serif);
    font-size: 0.76rem;
    letter-spacing: 0.22em;
    text-transform: uppercase;
}

.company-page .ceo-intro__role {
    margin: 0 0 8px;
    color: var(--primary-color);
    font-size: 0.82rem;
    letter-spacing: 0.18em;
}

.company-page .ceo-intro__content h2 {
    margin: 0;
    color: var(--text-main);
    font-family: var(--font-serif);
    font-size: clamp(2.1rem, 4vw, 3.35rem);
    font-weight: 400;
    line-height: 1.25;
    letter-spacing: 0.06em;
}

.company-page .ceo-intro__divider {
    width: 92px;
    height: 1px;
    margin: clamp(22px, 3vw, 34px) 0;
    background: linear-gradient(90deg, var(--primary-color), rgba(67, 113, 153, 0));
}

.company-page .ceo-intro__message {
    margin: 0;
    color: #26333f;
    font-family: var(--font-serif);
    font-size: clamp(1.28rem, 2.25vw, 1.78rem);
    font-weight: 400;
    line-height: 1.9;
}

.company-page .profile {
    padding: clamp(70px, 8vw, 104px) 0 clamp(86px, 10vw, 128px);
    background: #fff;
}

.company-page .profile .container,
.company-page .map-section.container {
    max-width: 1140px;
}

.company-page .profile-layout {
    display: grid;
    grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
    gap: clamp(20px, 3.3vw, 40px);
    align-items: start;
}

.company-page .profile-visual {
    position: relative;
    min-height: clamp(480px, 56vw, 640px);
    overflow: hidden;
}

.company-page .profile-visual__image {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.03) 0%, rgba(255, 255, 255, 0) 26%, rgba(18, 31, 43, 0.12) 100%),
        url('../img/company.webp') 34% center / cover no-repeat;
    transform: scale(1.015);
}

.company-page .profile-visual::after {
    content: '';
    position: absolute;
    top: 0;
    right: -1px;
    width: clamp(96px, 17%, 164px);
    height: 100%;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.92) 72%, #fff 100%);
    pointer-events: none;
}

.company-page .profile-panel {
    position: relative;
    padding-top: 4px;
}

.company-page .profile-table {
    width: 100%;
    border-top: 1px solid #edf1f4;
}

.profile { padding: clamp(60px, 10vw, 100px) 0; }

.profile-table dl {
    display: grid;
    grid-template-columns: 106px minmax(0, 1fr);
    gap: 24px;
    padding: 16px 0;
    border-bottom: 1px solid #edf1f4;
}

.profile-table dt {
    width: auto;
    font-size: 0.72rem;
    letter-spacing: 0.12em;
    color: #a7b0ba;
}

.profile-table dd {
    font-size: 0.92rem;
    line-height: 2;
    color: var(--text-main);
    overflow-wrap: anywhere;
}

.map-section {
    padding-top: 10px;
    padding-bottom: 110px;
}

.sec-title {
    margin-bottom: 28px;
}

.sec-title .en-title {
    display: block;
    margin-bottom: -10px;
    color: #e3e8ed;
    font-size: clamp(2.3rem, 5vw, 3.15rem);
    font-weight: 500;
}

.sec-title h2 {
    position: relative;
    z-index: 2;
    font-family: var(--font-serif);
    font-size: 1.28rem;
    font-weight: 400;
}

.map-wrap {
    width: min(100%, 780px);
    height: 360px;
    overflow: hidden;
    border: 1px solid #edf1f4;
    background: #fff;
    box-shadow: 0 18px 36px rgba(17, 31, 45, 0.05);
}

.map-wrap iframe {
    width: 100%;
    height: 100%;
    border: none;
}

@media (max-width: 1024px) {
    .company-page .ceo-intro__inner {
        gap: 36px;
    }

    .company-page .ceo-intro__portrait {
        width: min(100%, 360px);
    }

    .company-page .profile-layout {
        grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
        gap: 24px;
    }

    .company-page .profile-visual {
        min-height: 520px;
    }

    .profile-table dl {
        grid-template-columns: 98px minmax(0, 1fr);
        gap: 20px;
    }
}

@media (max-width: 900px) {
    .page-hero {
        height: 26vh;
        min-height: 220px;
        margin-top: 55px;
    }

    .company-page .page-hero {
        background-position: center 40%;
    }

    .company-page .ceo-intro {
        padding: 62px 0 70px;
    }

    .company-page .ceo-intro__inner {
        grid-template-columns: 1fr;
        gap: 34px;
        text-align: center;
    }

    .company-page .ceo-intro__portrait {
        width: min(78vw, 340px);
    }

    .company-page .ceo-intro__portrait::before {
        inset: 18px -16px -18px 18px;
    }

    .company-page .ceo-intro__portrait::after {
        left: 50%;
        top: auto;
        bottom: -34px;
        width: 1px;
        height: 42px;
        transform: translateX(-50%);
    }

    .company-page .ceo-intro__divider {
        margin-left: auto;
        margin-right: auto;
    }

    .company-page .profile {
        padding: 60px 0 84px;
    }

    .company-page .profile-layout {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .company-page .profile-visual {
        min-height: 430px;
    }

    .company-page .profile-visual__image {
        background-position: 42% center;
    }

    .company-page .profile-visual::after {
        top: auto;
        right: 0;
        bottom: 0;
        width: 100%;
        height: 92px;
        background: linear-gradient(180deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.92) 72%, #fff 100%);
    }

    .profile-table dl {
        grid-template-columns: 108px minmax(0, 1fr);
        gap: 18px;
    }

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

@media (max-width: 600px) {
    .profile {
        padding: 50px 0 72px;
    }

    .page-hero {
        height: 24vh;
        min-height: 190px;
    }

    .company-page .page-hero {
        background-position: center 38%;
    }

    .company-page .ceo-intro {
        padding: 54px 0 62px;
    }

    .company-page .ceo-intro__inner {
        padding-left: 6%;
        padding-right: 6%;
        gap: 30px;
    }

    .company-page .ceo-intro__portrait {
        width: min(82vw, 286px);
    }

    .company-page .ceo-intro__label {
        margin-bottom: 14px;
        font-size: 0.68rem;
        letter-spacing: 0.18em;
    }

    .company-page .ceo-intro__role {
        font-size: 0.76rem;
    }

    .company-page .ceo-intro__content h2 {
        font-size: 2rem;
        line-height: 1.3;
    }

    .company-page .ceo-intro__message {
        font-size: 1.24rem;
        line-height: 1.8;
    }

    .company-page .profile .container,
    .company-page .map-section.container {
        padding-left: 6%;
        padding-right: 6%;
    }

    .company-page .profile-layout {
        gap: 18px;
    }

    .company-page .profile-visual {
        min-height: 300px;
    }

    .company-page .profile-visual__image {
        background-position: 40% center;
    }

    .profile-table {
        border-top: 1px solid #eef2f5;
    }

    .profile-table dl {
        grid-template-columns: 1fr;
        gap: 6px;
        padding: 14px 0;
    }

    .profile-table dt {
        font-size: 0.7rem;
    }

    .profile-table dd {
        font-size: 0.9rem;
        line-height: 1.95;
    }

    .map-section {
        padding-top: 0;
        padding-bottom: 76px;
    }

    .sec-title {
        margin-bottom: 22px;
    }

    .sec-title .en-title {
        margin-bottom: -6px;
        font-size: 2rem;
    }

    .sec-title h2 {
        font-size: 1.12rem;
    }

    .map-wrap {
        width: 100%;
        height: 280px;
    }
}
