.company-page {
    overflow: hidden;
}

.container {
    width: min(1100px, calc(100% - 40px));
    margin: 0 auto;
}

.page-hero {
    background: #fff;
    border-bottom: 1px solid #e6e0d8;
    padding: 70px 0 60px;
}

.page-hero__en {
    margin: 0 0 12px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: #8c6b3f;
}

.page-hero__title {
    margin: 0;
    font-size: 42px;
    font-weight: 700;
    line-height: 1.3;
    color: #222;
}

.page-hero__lead {
    max-width: 760px;
    margin: 24px 0 0;
    font-size: 15px;
    color: #666;
}

.section {
    padding: 70px 0;
}

.section-title-en {
    margin: 0 0 10px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.28em;
    text-transform: uppercase;
    color: #8c6b3f;
}

.section-title {
    margin: 0;
    font-size: 34px;
    line-height: 1.4;
    color: #222;
}

.message-box,
.outline-card,
.history-box {
    background: #fff;
    border: 1px solid #ece7df;
    border-radius: 24px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.04);
}

.message-box {
    display: grid;
    grid-template-columns: 320px 1fr;
    gap: 48px;
    padding: 40px;
}

.message-photo {
    aspect-ratio: 4 / 5;
    background: #f2f2f2;
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid #e6e6e6;
}

#ceo_picture {
    max-width: 100%;
    height: 100%;
    object-fit: cover;
}

.message-photo__placeholder {
    aspect-ratio: 4 / 5;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #999;
    font-size: 14px;
    text-align: center;
    padding: 20px;
}

.message-name {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #e8e2da;
}

.message-name__label {
    margin: 0 0 8px;
    font-size: 13px;
    color: #777;
}

.message-name__name {
    margin: 0;
    font-size: 30px;
    font-weight: 700;
    letter-spacing: 0.08em;
    color: #222;
}

.message-heading {
    margin: 12px 0 0;
    font-size: 36px;
    line-height: 1.5;
    color: #222;
}

.message-body {
    margin-top: 28px;
}

.message-body p {
    margin: 0 0 1.3em;
    font-size: 15px;
    color: #444;
}

.outline-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 28px;
}

.position-affiliation-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 28px;
    align-items: stretch;
}

.outline-card {
    padding: 34px;
}

.slogan-box {
    margin-top: 24px;
    padding: 24px;
    background: #f7f3ea;
    border-radius: 18px;
}

.slogan-box p {
    margin: 0;
    font-size: 24px;
    font-weight: 700;
    line-height: 1.8;
    color: #222;
}

.stats-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-top: 20px;
}

.stats-item {
    padding: 22px;
    border: 1px solid #e9e2d9;
    border-radius: 18px;
    background: #fff;
}

.stats-item__label {
    margin: 0;
    font-size: 13px;
    color: #777;
}

.stats-item__value {
    margin: 8px 0 0;
    font-size: 34px;
    font-weight: 700;
    line-height: 1.2;
    color: #222;
}

.stats-item__sub {
    margin: 6px 0 0;
    font-size: 13px;
    color: #777;
}

.position-list,
.affiliation-list {
    list-style: none;
    margin: 24px 0 0;
    padding: 0;
}

.position-list li,
.affiliation-list li {
    position: relative;
    margin-bottom: 12px;
    padding: 14px 16px 14px 34px;
    /* border: 1px solid #e9e2d9;
    border-radius: 16px; */
    background: #fff;
    font-size: 15px;
    color: #444;
}

.affiliation-list li {
    background-color: #fdfbf7;
}

.position-list li::before,
.affiliation-list li::before {
    content: "";
    position: absolute;
    top: 22px;
    left: 16px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #8c6b3f;
}

.affiliation-card {
    background: #fdfbf7;
}

.history-box {
    padding: 40px;
}

.history-list {
    margin-top: 28px;
    border-top: 1px solid #ece7df;
    border-bottom: 1px solid #ece7df;
}

.history-item {
    display: grid;
    grid-template-columns: 130px 1fr;
    gap: 24px;
    padding: 18px 0;
    /* border-bottom: 1px solid #ece7df; */
}

.history-date {
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.08em;
    color: #8c6b3f;
}

.history-text {
    font-size: 15px;
    color: #444;
}

@media (max-width: 900px) {
    .message-box {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .outline-grid,
    .position-affiliation-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    .container {
        width: min(1100px, calc(100% - 28px));
    }

    .page-hero {
        padding: 54px 0 46px;
    }

    .page-hero__title {
        font-size: 32px;
    }

    .section {
        padding: 48px 0;
    }

    .section-title {
        font-size: 28px;
    }

    .message-box,
    .outline-card,
    .history-box {
        padding: 24px;
        border-radius: 20px;
    }

    .message-heading {
        font-size: 28px;
    }

    .slogan-box p {
        font-size: 20px;
    }

    .stats-grid {
        grid-template-columns: 1fr;
    }

    .history-item {
        grid-template-columns: 1fr;
        gap: 8px;
    }
}