/*
 * 会社概要。原本の背景は青みがかったモノクロ写真で、写真の形が見える程度に明るい。
 * 写真を白黒にして、淡い紺を重ねる。項目名は中央揃えの太字、行の間に明るい線。
 */
.c-company-profile {
    position: relative;
    overflow: hidden;
    padding: var(--space-lg) 0;
    background-color: var(--color-primary-dark);
}

.c-company-profile__photo {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(1) contrast(1.1) brightness(0.72);
}

/* 白黒写真の明暗はそのままに、色味だけ青に置き換える（mix-blend-mode: color） */
.c-company-profile__overlay {
    position: absolute;
    inset: 0;
    background-color: #3d6ab8;
    mix-blend-mode: color;
    opacity: 0.4;
}

.c-company-profile__inner {
    position: relative;
}

.c-company-profile .c-section-title,
.c-company-profile .c-section-subtitle {
    color: var(--color-white);
}

.c-company-profile__table {
    width: 100%;
    max-width: 900px;
    margin: var(--space-md) auto 0;
    color: var(--color-white);
    border-collapse: collapse;
}

.c-company-profile__table th,
.c-company-profile__table td {
    padding: 1.3em var(--space-sm);
    border-bottom: 2px solid rgba(255, 255, 255, 0.8);
    vertical-align: middle;
}

.c-company-profile__table th {
    width: 22%;
    text-align: center;
    font-weight: 700;
    font-size: 1.05rem;
    letter-spacing: 0.04em;
    white-space: nowrap;
}

.c-company-profile__table td {
    text-align: left;
    font-size: 1rem;
    line-height: 1.8;
    letter-spacing: 0.02em;
}

/*
 * スマホ幅では見出し列（th）が細すぎて「建設／業許／可」のように1〜2文字ずつ
 * 折り返すため、見出しを上・内容を下に積む。
 */
@media (max-width: 599px) {
    .c-company-profile__table th,
    .c-company-profile__table td {
        display: block;
        width: auto;
    }

    .c-company-profile__table th {
        text-align: left;
        padding-bottom: 0;
        border-bottom: none;
        font-size: 0.9rem;
    }

    .c-company-profile__table td {
        padding-top: 0.25em;
        font-size: 0.9rem;
    }
}
