
.p-company__gallery{
    margin-top: 160px;
}

.company__gallery__columns{
    display: flex;
    justify-content: space-between;
    gap: 32px;
}
.company__gallery__columns+.company__gallery__columns{
    margin-top: 32px;
}
.company__gallery__columns__reverse{
    flex-direction: row-reverse;
}

.company__gallery__column_1{
    flex-basis: auto;
}

.company__gallery__column_2{
    flex-basis: auto;
}

.company__gallery__inner_columns{
    margin-top: 32px;
    display: flex;
    justify-content: space-between;
    gap: 32px;
}

.company__gallery__inner_column{
    flex-basis: auto;
    gap: 32px;
}
@media screen and (max-width: 1000px){
    .p-company__gallery{
        margin-top: 80px;
    }
    
    .company__gallery__columns{
        flex-direction: column;
        gap: 16px;
    }
    .company__gallery__columns+.company__gallery__columns{
        margin-top: 16px;
    }

    .company__gallery__column_1{
        flex-basis: 58%;
    }
    
    .company__gallery__column_2{
        flex-basis: 39.33%;
    }
    
    .company__gallery__inner_columns{
        margin-top: 16px;
        gap: 16px;
    }
    
    .company__gallery__inner_column{
        flex-basis: auto;
        gap: 16px;
    }
}

/*修正*/
.p-company-message-lead{
    max-width: 100%;
    gap: 32px;
}

.p-company-message-lead ._sign {
    justify-content: flex-end;
    margin-top: 18px;
}

.p-company-message-columns{
    display: flex;
    justify-content: space-between;
}

.p-company-column-img{
    flex-basis: 32.66%;
}
.p-company-column-txt{
    flex-basis: 61.33%;
}

@media screen and (max-width: 1000px){
    
    .p-company-message-lead ._sign {
        margin-top: 18px;
    }
    
    .p-company-message-columns{
        display: block;
    }
    
    .p-company-column-txt{
        margin-top: 32px;
    }
}

/* service__cards */

.service__cards_wrap{
    margin-top: 40px;
}

.service__cards{
    display: flex;
    justify-content: space-between;
    padding: 48px;
    background: #FAF8F5;
}

.service__cards+.service__cards{
    margin-top: 24px;
}

.service__cards__img{
    flex-basis: 20.29%;
}

.service__card__txt{
    flex-basis: 76.09%;
}

.service__card__headline{
    font-weight: 500;
    font-size: 1.25rem;
    color: #333;
}
.service__card__list li{
    position: relative;
    padding-left: 24px;
    font-weight: normal;
    font-size: 1.125rem;
    line-height: 32px;
    color: #333;
}


.service__card__list{
    margin-top: 1rem;
}
.service__card__list li+li{
    margin-top: 0.4rem;
}

.service__card__list li::before{
    content: "";
    background: #807F7D;
    border-radius: 50%;
    width: 16px;
    height: 16px;
    position: absolute;
    left: 0;
    top: 8px;
}

.service__card__txt .c-card-menu__price {
    display: inline-block;
    margin-top: 1.5rem;
    padding: 5px 20px;
    box-sizing: border-box;
    text-align: left;
}
@media screen and (max-width: 500px){
    .service__card__txt .c-card-menu__price{
        margin-top: 1.4rem;
        padding: 4px 10px;
    }
}
@media screen and (max-width: 1200px){
    .service__card__list li::before{
        width: 14px;
        height: 14px;
    }
    .service__cards__img {
        flex-basis: 30.29%;
    }
    .service__card__txt {
        flex-basis: 66.09%;
    }
}

@media screen and (max-width: 1000px){
    .service__cards_wrap{
        margin-top: 32px;
    }
    
    .service__cards{
        padding: 32px 20px;
        display: block;
    }
    
    .service__cards+.service__cards{
        margin-top: 24px;
    }
    
    .service__card__txt{
        margin-top: 24px;
    }
}

.p-roof .p-roof-type-section-item__pic img{
    height: 392px;
    object-fit: cover;
    object-position: center;
}

.p-roof-type-section-item__body .c-table table{
    width: 100%;
    table-layout: fixed;
    word-break: break-all;
    word-wrap: break-all;
    border-collapse: separate !important;
    border-spacing: 0 0.5rem;
}

.in_block{
    display: block;
}


@media screen and (max-width: 500px){
    .p-roof .p-roof-type-section-item__pic img{
        height: 300px;
    }
}
@media screen and (min-width: 501px){
    .p-404__nav ul{
        justify-content: center;
    }
}