/* 冒頭 */

.about .hedding-block h2 strong {
    color: #c04;
}

.about .content-block img {
    max-width: 965px;
    display: block;
    margin: 0 auto;
}

/* 特長 */

.feature {
    background: #f2f2f2;
}

.feature ol {
    counter-reset: number;
    display: grid;
    grid-template-columns: 1fr;
    gap: 60px;
}

.feature ol li {
    counter-increment: number;
    display: flex;
    justify-content: center;
    gap: 60px;
}

.feature ol li .image-box {
    max-width: 490px;
    flex-shrink: 0;
    width: calc(490 / 1235 * 100%);
}

.feature ol li .image-box img {
    width: 100%;
}

.feature ol li .text-box {
    padding-top: calc(26px + 30px);
    position: relative;
}

.feature ol li .text-box::before {
    content: "0"counter(number);
    position: absolute;
    top: 0;
    left: 0;
    font-size: 36px;
    font-style: normal;
    font-weight: 700;
    line-height: 42px;
    font-family: var(--bold-font-family);
    color: #c02;
}

.feature ol li .text-box h3 {
    margin-bottom: 20px;
}

@media screen and (max-width: 767px) {
    .feature ol {
        gap: 6rem;
    }
    
    .feature ol li {
        flex-direction: column;
        gap: 1rem;
    }

    .feature ol li .image-box {
        width: auto;
    }
}

/* 機能 */

.function .content-block ul {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 55px;
}

.function .content-block ul li {
    display: flex;
    gap: 50px;
}

.function .content-block ul li .image-box {
    max-width: 140px;
    flex-shrink: 0;
}

.function .content-block ul li .image-box img {
    width: 100%;
}

.function .content-block ul li .text-box h3 {
    margin-bottom: 20px;
}

@media screen and (max-width: 767px) {
    .function .content-block ul {
        grid-template-columns: 1fr;
        gap: 6rem;
    }

    .function .content-block ul li {
        flex-direction: column;
        gap: 2rem;
    }

    .function .content-block ul li .image-box {
        margin: 0 auto;
        max-width: 100px;
    }

    .function .content-block ul li .text-box h3 {
        font-size: 1.2rem;
        text-align: center;
    }
}

/* 相談会 */

.consultation {
    background: #f2f2f2;
}