/*------------companyページ--------------*/


.company__wrapper h3{
    text-align: left;
}

.company__wrapper .page__flexbox {
    display: flex;
    justify-content: space-around;
    gap: 24px;
}

.company__wrapper .img__background-blue {
    background-color: #102968;
    padding: 16px;
}

.company__wrapper section {
    margin-bottom: 160px;
}


.company__wrapper .blue__table {
    width: fit-content;
    padding: 0 16px;
    line-height: 1.75em;
}

.company__wrapper .blue__table th {
    background-color: var(--blue);
    color: var(--white);
    padding: 8px;
    border-bottom: 0.5px solid var(--light);
    white-space: nowrap;
}

.company__wrapper .blue__table td {
    padding: 8px;
    border-bottom: 0.5px solid var(--blue);
}

.company__wrapper .imgarea {
    max-width: 50%;
    box-shadow: 5px 5px 5px 0 #ccc;
    height: fit-content;
}

.company__wrapper .p-company__sale{
    justify-content:space-between ;
}

.company__wrapper .p-company__sale--textarea{
    max-width: 40%;
}

.company__wrapper .p-compnay__sale--imgarea{
    flex: 1;
    max-width: 100%;
}



.company__wrapper .p-company__history th {
    color: var(--blue);
    font-weight: 500;
    padding: 8px;
    white-space: nowrap;
}

.company__wrapper .p-company__history td {
    padding: 8px 0;
}

.company__wrapper .p-company__caption {
    font-weight: 500;
    background-color: var(--navy);
    color: var(--white);
    padding-left: 4px;
}

.company__wrapper .mapImg {
    max-width: 50vw;
}



@media screen and (max-width:768px) {
    .company__wrapper section {
        margin-bottom: 80px;
    }

    .company__wrapper .page__flexbox {
        flex-direction: column;
        justify-content: center;
    }

    .company__wrapper .textarea {
        max-width: 90%;
    }

    .company__wrapper .p-company__sale--textarea{
        max-width: 90%;
    }

    .company__wrapper .imgarea {
        max-width: 90%;
        margin: 0 auto;
    }

    .company__wrapper .mapImg {
        max-width: 95vw;
    }

    .company__wrapper .p-company__caption {
        font-size: 0.9em;
    }
}
