/* --------------------
 Company
-------------------- */
.company {
    margin: 0 0 100px;
    padding: 60px 0 0;
}

@media (min-width: 768px) {
    .company {
        padding: 70px 0 0;
    }
}

.company-container {
    margin: 0 auto;
    max-width: 1020px;
    padding: 0 20px;
    width: 100%;
}

@media (min-width: 768px) {
    .company-container {
        padding: 0 30px;
    }
}

.company__main__table-wrapper {
    margin: 0 -3px 80px;
}

@media (min-width: 768px) {
    .company__main__table-wrapper {
        margin: 0 -3px 100px;
    }
}

.company__main__table {
    border: none;
    border-collapse: separate;
    border-spacing: 3px;
    margin: 0;
    max-width: none;
    width: 100%;
}

.company__main__table > tbody > tr > th, .company__main__table > tbody > tr > td {
    border-bottom: 1px solid rgba(var(--color-theme-rgb), 0.4);
    vertical-align: middle;
}

.company__main__table > tbody > tr > th {
    color: var(--color-theme);
    font-size: var(--fs14);
    font-weight: 500;
    letter-spacing: 0.15em;
    line-height: 1.4;
    padding: 12px 0;
    text-align: center;
    width: 80px;
}

@media (min-width: 768px) {
    .company__main__table > tbody > tr > th {
        font-size: var(--fs18);
        padding: 20px 0;
        width: 136px;
    }
}

.company__main__table > tbody > tr > td {
    font-size: var(--fs14);
    font-weight: 300;
    letter-spacing: 0.15em;
    line-height: 1.5;
    padding: 12px 8px;
    text-align: left;
    width: auto;
}

@media (min-width: 768px) {
    .company__main__table > tbody > tr > td {
        font-size: var(--fs16);
        padding: 20px;
    }
}

.company__main__table > tbody > tr > td p {
    margin: 0 0 1.5em;
}

.company__main__table > tbody > tr > td p:last-child {
    margin-bottom: 0;
}

.company__main__table__office {
    margin: 0 -8px 0 0;
}

@media (min-width: 768px) {
    .company__main__table__office {
        margin: 0 -20px 0 0;
    }
}

.company__main__table__office__item {
    border-bottom: 1px solid rgba(var(--color-theme-rgb), 0.2);
    display: flex;
    flex-flow: column nowrap;
    gap: 8px 30px;
    padding: 12px 0;
    width: 100%;
}

@media (min-width: 768px) {
    .company__main__table__office__item {
        align-items: center;
        flex-direction: row;
        justify-content: flex-start;
        padding: 20px 0;
    }
}

.company__main__table__office__item:first-child {
    padding-top: 0;
}

.company__main__table__office__item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.company__main__table__office__item__address {
    display: block;
    margin: 0;
    width: 100%;
}

@media (min-width: 768px) {
    .company__main__table__office__item__address {
        flex-grow: 1;
        flex-shrink: 1;
        width: auto;
    }
}

.company__main__table__office__item__address b {
    font-weight: 500;
}

.company__main__table__office__item__action {
    flex-grow: 0;
    flex-shrink: 0;
    width: 140px;
}

@media (min-width: 768px) {
    .company__main__table__office__item__action {
        width: 160px;
    }
}

.company__main__table__office__item__action a {
    align-items: center;
    border: 1px solid var(--color-theme);
    border-radius: 15px;
    color: var(--color-theme);
    display: flex;
    flex-flow: row nowrap;
    font-size: var(--fs12);
    font-weight: inherit;
    height: 26px;
    justify-content: center;
    max-width: 160px;
    padding: 0 15px 0 0;
    position: relative;
    text-align: center;
    text-decoration: none;
    transition: background-color 0.35s cubic-bezier(0.645, 0.045, 0.355, 1) 0s, color 0.35s cubic-bezier(0.645, 0.045, 0.355, 1) 0s;
    width: 100%;
}

@media (min-width: 768px) {
    .company__main__table__office__item__action a {
        font-size: var(--fs14);
        height: 30px;
    }
}

.company__main__table__office__item__action a:after {
    background-color: var(--color-theme);
    bottom: 0;
    content: "";
    display: block;
    height: 10px;
    margin: auto 0;
    -webkit-mask-image: url(../images/commons/com-button-white-arrow-right.svg);
    mask-image: url(../images/commons/com-button-white-arrow-right.svg);
    -webkit-mask-position: center;
    mask-position: center;
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    -webkit-mask-size: contain;
    mask-size: contain;
    position: absolute;
    right: 15px;
    top: 0;
    transition: transform 0.35s cubic-bezier(0.645, 0.045, 0.355, 1) 0s, background-color 0.35s cubic-bezier(0.645, 0.045, 0.355, 1) 0s;
    width: 10px;
}

.company__main__table__office__item__action a:focus {
    background-color: var(--color-theme);
    color: #fff;
}

.company__main__table__office__item__action a:focus:after {
    background-color: #fff;
    transform: translateX(5px);
}

@media (hover: hover) and (pointer: fine) {
    .company__main__table__office__item__action a:hover {
        background-color: var(--color-theme);
        color: #fff;
    }

    .company__main__table__office__item__action a:hover:after {
        background-color: #fff;
        transform: translateX(5px);
    }
}

.company__main__table__member {
    border: none;
    border-collapse: collapse;
    border-spacing: 0;
    margin: 0;
    width: 100%;
}

.company__main__table__member > tbody > tr > th, .company__main__table__member > tbody > tr > td {
    font-size: inherit;
    font-weight: inherit;
    text-align: left;
    vertical-align: top;
    width: auto;
}

.company__main__table__member > tbody > tr > th {
    width: 125px;
}

@media (min-width: 768px) {
    .company__main__table__member > tbody > tr > th {
        width: 190px;
    }
}