.section-projects .subheading {
    color: var(--tateru-color-primary);
    display: block;
    margin-bottom: calc(var(--tateru-default-padding) / 4);
    text-box-trim: trim-both;
    text-box-edge: cap alphabetic;
}

.section-projects .h1-style,
.section-projects .h3-style {
    color: var(--tateru-color-primary);
}

.section-projects .h1-style {
    line-height: 1;
    margin-bottom: calc(var(--tateru-default-padding) / 2);
    text-box-trim: trim-both;
    text-box-edge: cap alphabetic;
}

.section-projects .boxes {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: calc(var(--tateru-default-padding) / 2);
}

.section-projects .box {
    height: 100%;
}

.section-projects .box.image {
    background-size: cover;
    background-position: center;
    display: flex;
    justify-content: center;
    align-items: center;
}

.section-projects .box.image .logo {
    height: 38px;
}

.section-projects .box.text {
    background: var(--tateru-color-secondary);
    padding: calc(var(--tateru-default-padding) / 2);
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.section-projects .box.text p {
    margin: 0;
    border-left: 1px solid #C2CCB8;
    padding-left: 30px;
}

.section-projects .box.text .h3-style {
    font-size: 21px;
    max-width: 250px;
    margin-bottom: calc(var(--tateru-default-padding) / 2);
    text-box-trim: trim-both;
    text-box-edge: cap alphabetic;
}

@media screen and (max-width: 1100px) {
    .section-projects .boxes {
        grid-template-columns: repeat(12, 1fr);
    }

    .section-projects .box.text {
        grid-column: span 12;
    }

    .section-projects .box.image {
        aspect-ratio: 16 / 10;
        grid-column: span 6;
    }
    
    .section-projects .box.text .h3-style {
        max-width: 100%;
    }
}

@media screen and (max-width: 670px) {
    .section-projects .boxes {
        display: flex;
        flex-direction: column;
    }
    .section-projects .box.image {
        grid-column: span 12;
    }
}
