/* About Us section */
.header-bg--current {
    background-image: url("../img/header-bg-img.png");
    opacity: 1;
}

.about-us {
    padding: 80px 0 120px;
    background: var(--white);
}

.about-us-body h2 {
    font-size: 18px;
    color: var(--blue);
    letter-spacing: 0.12em;
    margin-bottom: 18px;
    font-family: "Noto Sans JP", sans-serif;
}

.about-us-body p {
    font-size: 14px;
    line-height: 2;
    color: var(--navy);
    margin-bottom: 22px;
}

.about-us-body p:last-child {
    margin-bottom: 0;
}

.about-us-visual {
    width: 100%;
    margin: 40px auto 0;
    line-height: 0;
}

.about-us-visual img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

.about-us-history {
    margin-top: 64px;
}

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

.history-summary h2 {
    font-size: 18px;
    color: var(--blue);
    letter-spacing: 0.12em;
    margin-bottom: 18px;
    font-family: "Noto Sans JP", sans-serif;
}

.history-summary p {
    font-size: 14px;
    line-height: 2;
    color: var(--navy);
    margin-bottom: 22px;
}

.history-summary p:last-child {
    margin-bottom: 0;
}

.history-summary img {
    width: 280px;
    max-width: 100%;
    height: auto;
    display: block;
    margin-top: 40px;
}

.timeline {
    padding-left: 20px;
    border-left: 4px solid #004a9a;
    position: relative;
}

.timeline__item {
    padding-bottom: 30px;
}

.row {
    --bs-gutter-x: 1.5rem;
    --bs-gutter-y: 0;
    display: flex;
    flex-wrap: wrap;
    margin-left: calc(var(--bs-gutter-x) * -0.5);
    margin-right: calc(var(--bs-gutter-x) * -0.5);
    margin-top: calc(var(--bs-gutter-y) * -1);
}

.row > * {
    padding-left: calc(var(--bs-gutter-x) * 0.5);
    padding-right: calc(var(--bs-gutter-x) * 0.5);
    margin-top: var(--bs-gutter-y);
}

.align-items-center {
    align-items: center;
}

.col-12 {
    flex: 0 0 auto;
    width: 100%;
}

.col-lg {
    flex: 1 0 0%;
}

.col-lg-4 {
    flex: 0 0 auto;
    width: 33.3333%;
}

.mb-3 {
    margin-bottom: 1rem;
}

.mb-lg-0 {
    margin-bottom: 0;
}

.timeline__title {
    font-family: "Noto Sans JP", sans-serif;
    font-size: 16px;
    margin-bottom: 10px;
    color: #004a9a;
    position: relative;
    letter-spacing: 0.08em;
}

.timeline__title::before {
    content: "";
    width: 10px;
    height: 10px;
    background: #ffffff;
    border: 2px solid #004a9a;
    border-radius: 50%;
    display: block;
    position: absolute;
    left: -29px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 1;
}

.timeline__text {
    font-size: 13px;
    line-height: 1.9;
    color: var(--navy);
}

.timeline img {
    width: 100%;
    height: auto;
    display: block;
    box-shadow: 0 8px 16px rgba(10, 44, 104, 0.12);
    border: 1px solid rgba(10, 44, 104, 0.08);
}

.timeline::after {
    content: "";
    position: absolute;
    width: 0;
    height: 0;
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    border-top: 8px solid #004a9a;
    left: -10px;
    bottom: -5px;
}

@media (max-width: 900px) {
    .about-us {
        padding: 64px 0 96px;
    }

    .page-header {
        margin-bottom: 40px;
    }

    .page-header h1 {
        font-size: 26px;
        letter-spacing: 0.16em;
    }

    .timeline img {
        width: 50%;
    }

    .history-layout {
        grid-template-columns: minmax(0, 1fr);
        gap: 32px;
    }

    .col-lg,
    .col-lg-4 {
        width: 100%;
        flex: 0 0 auto;
    }

    .mb-lg-0 {
        margin-bottom: 1rem;
    }
}

@media (max-width: 600px) {
    .page-header h1 {
        font-size: 22px;
        letter-spacing: 0.12em;
    }

    .about-us-body h2 {
        font-size: 16px;
    }

    .about-us-body p {
        font-size: 13px;
        line-height: 1.9;
    }

    .timeline {
        padding-left: 16px;
    }

    .timeline__title::before {
        left: -25px;
    }

    .timeline img {
    width: 60%;
    }

    .history-summary img {
        width: 70%;
        margin-left: auto;
        margin-right: auto;
        height: auto;
        display: block;
        margin-top: 20px;
    }
}

/* Company */
.company {
    padding: 80px 0 120px;
    background: var(--white);
}

.company--jp {
    padding-top: 0;
}

.company-header h2 {
    font-size: 20px;
    color: var(--blue);
    letter-spacing: 0.14em;
    margin-bottom: 24px;
    font-family: "Noto Sans JP", sans-serif;
}

.company-table {
    border-top: 1px solid rgba(0, 74, 154, 0.4);
}

.company-row {
    display: grid;
    grid-template-columns: 180px minmax(0, 1fr);
    gap: 20px;
    padding: 16px 0;
    border-bottom: 1px solid rgba(0, 74, 154, 0.4);
    color: var(--navy);
}

.company-row dt {
    font-size: 13px;
    letter-spacing: 0.08em;
    font-weight: 700;
}

.company-row dd {
    font-size: 13px;
    line-height: 1.9;
}

.company-row a {
    color: var(--navy);
    text-decoration: none;
}

.company-row a:hover,
.company-row a:focus-visible {
    text-decoration: underline;
}

@media (max-width: 900px) {
    .company {
        padding: 64px 0 96px;
    }

    .company--jp {
        padding-top: 0;
    }

    .company-row {
        grid-template-columns: 160px minmax(0, 1fr);
    }
}

@media (max-width: 600px) {
    .company-row {
        grid-template-columns: 1fr;
        gap: 8px;
    }
}
