:root {
    --company-blue: #00305b;
    --company-blue2: #004fbb;
    --company-ink: #1a1a1a;
    --company-muted: #999999;
    --company-line: #d9d9d9;
    --company-panel: #f2f2f2;
}

.company-page {
    padding-top: 80px;
    background: #ffffff;
    color: var(--company-ink);
}

.company-content-width {
    width: min(1296px, calc(100% - 48px));
    margin: 0 auto;
}

.company-title-area {
    padding: 60px 0;
}

.company-title-area h1 {
    font-size: 64px;
    font-weight: 700;
    line-height: 76px;
    letter-spacing: -0.5px;
}

.company-breadcrumb {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-top: 24px;
    color: var(--company-muted);
    font-size: 16px;
    line-height: 1.5;
}

.company-breadcrumb a,
.company-breadcrumb span {
    display: inline-flex;
    align-items: center;
}

.company-breadcrumb > i {
    color: #b7b7b7;
    font-size: 10px;
}

.company-tabs {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    height: 70px;
    border: 2px solid var(--company-line);
    border-bottom-color: var(--company-ink);
}

.company-tabs a {
    display: flex;
    align-items: center;
    justify-content: center;
    color: #404040;
    font-size: 24px;
    font-weight: 500;
    line-height: 29px;
}

.company-tabs a + a {
    border-left: 2px solid var(--company-line);
}

.company-tabs a.active {
    border-color: var(--company-blue);
    background: var(--company-blue);
    color: #ffffff;
    font-weight: 700;
}

.company-greeting {
    padding: 80px 0 120px;
}

.company-greeting-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 36px;
    align-items: start;
    padding-bottom: 48px;
    border-bottom: 2px solid #e6e6e6;
}

.company-greeting-copy {
    padding-top: 0;
}

.company-reveal-enabled .company-rise-reveal {
    opacity: 0;
    transform: translate3d(0, 56px, 0);
    transition: opacity .8s ease, transform .8s cubic-bezier(.22, .7, .25, 1);
    will-change: opacity, transform;
}

.company-reveal-enabled .company-rise-reveal.company-rise-reveal--delay-1 {
    transition-delay: .14s;
}

.company-reveal-enabled .company-rise-reveal.is-visible {
    opacity: 1;
    transform: translate3d(0, 0, 0);
}

@media (prefers-reduced-motion: reduce) {
    .company-reveal-enabled .company-rise-reveal {
        opacity: 1;
        transform: none;
        transition: none;
        will-change: auto;
    }
}

.company-greeting-copy h2 {
    margin-bottom: 26px;
    font-size: 20px;
    font-weight: 700;
    line-height: 30px;
    letter-spacing: -0.5px;
    word-break: keep-all;
}

.company-greeting-copy p {
    margin: 0;
    color: #404040;
    font-size: 18px;
    font-weight: 500;
    line-height: 27px;
    letter-spacing: -0.5px;
    word-break: keep-all;
}

.company-greeting-image {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 20px;
    object-fit: cover;
}

.company-information {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 36px;
    margin-top: 48px;
}

.company-information article {
    display: flex;
    align-items: center;
    min-height: 178px;
    padding: 24px;
    gap: 24px;
    border-radius: 8px;
    background: var(--company-panel);
}

.company-info-icon {
    display: flex;
    flex: 0 0 108px;
    align-items: center;
    justify-content: center;
    width: 108px;
    height: 108px;
    border-radius: 50%;
    background: #ffffff;
}

.company-info-icon img {
    width: 64px;
    height: 64px;
    object-fit: contain;
}

.company-information article div {
    display: flex;
    min-width: 0;
    flex-direction: column;
    gap: 2px;
}

.company-information article div span {
    color: var(--company-muted);
    font-size: 20px;
    font-weight: 700;
    line-height: 1.5;
    letter-spacing: -0.5px;
}

.company-information article strong {
    color: var(--company-ink);
    font-size: 24px;
    font-weight: 500;
    line-height: 1.5;
    letter-spacing: -0.5px;
    word-break: keep-all;
}

.company-map {
    margin-top: 96px;
}

.company-map iframe {
    display: block;
    width: 100%;
    height: clamp(320px, 44.2vw, 572px);
    margin: 0 auto;
    border: 0;
}

.history-content {
    padding: 80px 0 120px;
}

.history-content h2 {
    display: flex;
    align-items: center;
    min-height: 144px;
    font-size: 48px;
    font-weight: 600;
    line-height: 1.5;
    letter-spacing: -0.5px;
    word-break: keep-all;
}

.history-timeline {
    display: flex;
    flex-direction: column;
    gap: 68px;
    margin-top: 80px;
}

.history-row {
    display: grid;
    grid-template-columns: 297px minmax(0, 1fr);
    gap: 36px;
    align-items: start;
}

.history-row h3 {
    display: flex;
    align-items: center;
    justify-content: start;
    height: 68px;
    padding: 12px 0 0;
    border-top: 2px solid #004fbb;
    color: #004fbb;
    font-size: 44px;
    font-weight: 700;
    line-height: 53px;
    letter-spacing: -0.02em;
}

.history-events {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.history-events p {
    display: flex;
    align-items: center;
    height: 68px;
    padding: 20px;
    gap: 10px;
    border-width: 2px 0;
    border-style: solid;
    border-color: #e6e6e6;
    margin: 0;
    color: var(--company-ink);
    font-size: 20px;
    font-weight: 400;
    line-height: 1.4;
    word-break: keep-all;
}

.history-events p .history-event-month {
    display: flex;
    flex: 0 0 auto;
    align-items: center;
    gap: 10px;
    color: var(--company-ink);
    font-weight: 700;
}

.history-events p .history-event-content {
    display: block;
    min-width: 0;
    color: inherit;
    font-weight: inherit;
    overflow-wrap: anywhere;
}

.history-events p .history-event-month::after {
    content: "·";
    width: 6px;
    color: #b3b3b3;
    font-weight: 600;
    text-align: center;
}

@media (max-width: 1100px) {
    .company-greeting-grid {
        grid-template-columns: 1fr 48%;
        gap: 56px;
    }

    .company-greeting-copy p {
        font-size: 16px;
    }

    .company-information article strong {
        font-size: 20px;
    }

    .history-row {
        grid-template-columns: clamp(88px, 18vw, 180px) minmax(0, 1fr);
        gap: clamp(12px, 2.5vw, 26px);
        min-width: 0;
    }

    .history-row h3 {
        font-size: clamp(26px, 4vw, 38px);
        line-height: 1.2;
        white-space: nowrap;
    }

    .history-events {
        min-width: 0;
    }

    .history-events p {
        height: auto;
        min-height: 68px;
        min-width: 0;
        padding: 16px 12px;
        align-items: flex-start;
        font-size: clamp(14px, 2vw, 18px);
        white-space: normal;
    }

    .history-events p .history-event-content {
        flex: 1 1 auto;
        white-space: normal;
    }
}

@media (max-width: 760px) {
    .company-content-width {
        width: calc(100% - 40px);
    }

    .company-title-area {
        padding: 56px 0 42px;
    }

    .company-title-area h1 {
        font-size: 44px;
    }

    .company-breadcrumb {
        gap: 12px;
        margin-top: 20px;
        font-size: 14px;
    }

    .company-tabs {
        height: 62px;
    }

    .company-tabs a {
        font-size: 17px;
    }

    .company-greeting {
        padding: 58px 0 86px;
    }

    .company-greeting-grid {
        grid-template-columns: 1fr;
        gap: 38px;
        padding-bottom: 44px;
    }

    .company-greeting-copy h2 {
        margin-bottom: 24px;
        font-size: 19px;
    }

    .company-greeting-copy p {
        margin-top: 22px;
        font-size: 15px;
        line-height: 1.7;
    }

    .company-greeting-image {
        border-radius: 14px;
    }

    .company-information {
        grid-template-columns: 1fr;
        gap: 16px;
        margin-top: 36px;
    }

    .company-information article {
        min-height: 140px;
        padding: 24px;
        gap: 20px;
    }

    .company-info-icon {
        flex-basis: 76px;
        width: 76px;
        height: 76px;
    }

    .company-info-icon img {
        width: 50px;
        height: 50px;
    }

    .company-information article div span {
        font-size: 16px;
    }

    .company-information article strong {
        font-size: 17px;
    }

    .company-map {
        margin-top: 58px;
    }

    .company-map iframe {
        height: 320px;
    }

    .history-content {
        padding: 72px 0 92px;
    }

    .history-content h2 {
        display: block;
        min-height: 0;
        font-size: 30px;
        text-align: left;
    }

    .history-timeline {
        gap: 26px;
        margin-top: 48px;
    }

    .history-row {
        grid-template-columns: minmax(0, 1fr);
        gap: 8px;
        min-width: 0;
    }

    .history-row h3 {
        display: block;
        width: 100%;
        height: auto;
        min-height: 0;
        padding: 12px 0 4px;
        font-size: clamp(26px, 7vw, 32px);
        line-height: 1.2;
    }

    .history-events {
        gap: 0;
        min-width: 0;
    }

    .history-events p {
        height: auto;
        min-height: 0;
        min-width: 0;
        padding: 10px 0;
        border: 0;
        border-bottom: 1px solid #e6e6e6;
        align-items: flex-start;
        gap: 10px;
        font-size: 15px;
        line-height: 1.5;
        white-space: normal;
        word-break: normal;
    }

    .history-events p .history-event-month {
        flex: 0 0 36px;
        gap: 4px;
        padding-top: 0;
        align-items: flex-start;
    }

    .history-events p .history-event-month::after {
        display: block;
    }

    .history-events p .history-event-content {
        flex: 1 1 0;
        min-width: 0;
        line-height: 1.5;
        white-space: normal;
        word-break: normal;
        overflow-wrap: anywhere;
    }

    .history-events p:last-child {
        border-bottom: 0;
    }
}

@media (max-width: 420px) {
    .company-content-width {
        width: calc(100% - 32px);
    }

    .company-title-area h1 {
        font-size: 38px;
    }

    .company-tabs a {
        font-size: 15px;
    }

    .company-information article {
        padding: 20px;
    }

    .company-information article strong {
        font-size: 16px;
    }

    .history-content h2 {
        font-size: 26px;
    }
}
