.company {
    padding-bottom: calc(40px + var(--spacing-4xl));
}

/**
 * Concept
 */
.concept {
    margin-inline: auto;
    max-width: 910px;
}

.concept__container {
    padding-top: var(--spacing-3xl);
}

.concept__head {
    display: grid;
    font-family: var(--font-serif);
    font-size: 27px;
    font-weight: 200;
    letter-spacing: 0.1em;
    line-height: 1.78;
    text-align: center;
    text-wrap: balance;
}

.concept__lead {
    letter-spacing: 0;
    line-height: 2.59;
    margin-top: var(--spacing-2xl);
}

@media (max-width: 768px) {
    .concept__head {
        font-size: 24px;
    }

    .concept__lead {
        line-height: 1.8;
    }
}

/**
 * Service
 */
.service {
    --color-blue: #3490bf;
    --color-green: #94c33a;
    --color-orange: #f18b1a;
    --color-pink: #fb495f;

    margin-inline: auto;
    max-width: 910px;
    padding-block: var(--spacing-3xl) calc(var(--spacing-4xl) + 40px);
}

.service__container {
    margin-inline: auto;
}

.service__lead {
    display: grid;
    font-family: var(--font-mincho);
    font-size: var(--text-4xl);
    grid-template-columns: repeat(3, 1fr);
    margin-inline: auto;
    max-width: 430px;
    text-align: center;
}

.service__lead span.orange {
    color: var(--color-orange);
}

.service__lead span.green {
    color: var(--color-green);
}

.service__lead span.pink {
    color: var(--color-pink);
}

.service__list {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    justify-items: center;
    margin-top: var(--spacing-xl);
}

.service__item {
    aspect-ratio: 1;
    border-radius: var(--rounded-full);
    color: var(--color-text-white);
    display: grid;
    font-size: var(--text-2xl);
    place-items: center;
    position: relative;
    width: 172px;
}

.service__item--orange {
    background-color: var(--color-orange);
}

.service__item--green {
    background-color: var(--color-green);
}

.service__item--blue {
    background-color: var(--color-blue);
}

.service__item--pink {
    background-color: var(--color-pink);
}

.service__item img {
    left: 52.4%;
    position: absolute;
    top: 50%;
    transform: translate(-50%, -50%) scale(1.25);
    transform-origin: center;
    z-index: 0;
}

.service__item span {
    z-index: 1;
}

@media (max-width: 768px) {
    .service__list {
        gap: 20px;
        grid-template-columns: repeat(2, 1fr);
        margin-inline: auto;
        margin-top: 32px;
        max-width: 80%;
    }

    .service__item {
        font-size: 18px;
        width: 100%;
    }

    .service__item img {
        width: 100%;
    }
}

/**
 * Attempt
 */
.attempt {
    --content-width: 1056px;
}

.attempt ~ .attempt {
    margin-top: calc(var(--spacing-4xl) + 20px);
}

.attempt__container {
    display: grid;
    gap: var(--spacing-lg);
    grid-template-columns: 43.8% 47.3%;
    justify-content: space-between;
    margin-left: auto;
    max-width: 86.9%;
    width: 100%;
}

.attempt__container--reverse {
    grid-template-columns: 47.3% 43.8%;
    margin-left: 0;
    margin-right: auto;
}

.attempt__heading {
    color: var(--color-primary-light);
    display: inline-grid;
    font-size: 26px;
    font-weight: 400;
    letter-spacing: 0.05em;
    line-height: 1;
}

.attempt__heading::after {
    background: var(--linear-gradient-primary);
    content: "";
    display: block;
    height: 4px;
    margin-top: 12px;
    transform: translateX(-16px);
    width: 80px;
}

.attempt__lead {
    font-size: var(--text-2xl);
    font-weight: 300;
    justify-content: center;
    letter-spacing: 0.01em;
    line-height: 1.64;
    margin-top: var(--spacing-2xl);
}

.attempt__body {
    font-family: var(--font-sans);
    font-size: var(--text-md);
    font-weight: 400;
    line-height: 2.59;
    margin-top: var(--spacing-xl);
}

.attempt__button {
    display: flex;
    justify-content: center;
    margin-top: var(--spacing-2xl);
}

.attempt__image img {
    width: 100%;
}

@media (max-width: 1023px) {
    .attempt__container {
        gap: 40px var(--spacing-xl);
        grid-template-columns: auto 47.3%;
        max-width: 92%;
    }
}

@media (max-width: 992px) {
    .attempt__container {
        grid-template-columns: auto;
        margin-inline: auto;
        width: min(90%, 600px);
    }

    .attempt__text {
        order: 2;
        text-align: center;
    }

    .attempt__heading {
        justify-items: center;
    }

    .attempt__heading::after {
        justify-items: center;
        margin-top: 12px;
        transform: translateX(0);
    }

    .attempt__body {
        text-align: left;
    }

    .attempt__image img {
        aspect-ratio: 3 / 2;
    }
}
