#fv {
    background: url(works_fv.jpg);
    background-size: cover;
    background-position: center 20%;
}

/**********************************

    about

**********************************/

@media(min-width: 768px) {
    #about {
        display: flex;
        justify-content: space-around;
    }

    #about hgroup {
        width: min(48%, 400px);
    }

    #about p {
        width: calc(100% - 448px);
    }
}

/*********************************

    選択できるコース

**********************************/

#course .item {
    padding: 24px 16px;
    border: solid 2px #01009D; 
    border-left: solid 10px #01009D;
    margin: 16px auto;
}

#course .item h3 {
    font-size: clamp(24px, 6vw, 32px);
    color: #01009D;
}

#course .item img {
    width: min(90%, 300px);
    aspect-ratio: 1/1;
    object-fit: cover;
    object-position: center;
    display: block;
    margin: 16px auto;
}

#course .item .btn-1 {
    border: solid 2px #010088;
    width: min(100%, 400px);
}

@media(min-width: 640px) {
    #course .item {
        display: grid;
        grid-template-areas: 
        "a b"
        "c b"
        "d b";
        gap: 0 2%;
    }

    #course .item h3 {
        grid-area: a;
    }

    #course .item > img {
        grid-area: b;
        width: 100%;
    }

    #course .item p {
        grid-area: c;
    }

    #course .item .btn-1 {
        grid-area: d;
        display: flex;
        flex-direction: column;
        justify-content: center;
        margin-top: auto;
    }
}

/*******************************

    施工管理の流れ

*******************************/

#flow ol {
    padding: 0;
    counter-reset: number 0;
}

#flow ol li {
    list-style: none;
    background: #F5F5F5;
    padding: 16px;
    margin: 16px auto;
}

#flow ol li h3 {
    font-size: 1.5em;
    position: relative;
    padding-left: 3em;
    position: relative;
}

#flow ol li h3::before {
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    counter-increment: number 1;
    content: "0" counter(number);
    left: 0;
    background: #01009D;
    font-family: 'outfit', sans-serif;
    color: white;
    width: 2em;
    aspect-ratio: 1/1;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
}

#flow ol li img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    object-position: center;
}

@media(min-width: 640px) {
    #flow ol {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    }

    #flow ol li {
        box-sizing: border-box;
        display: flex;
        flex-direction: column;
        margin: 16px;
    }

    #flow ol li p {
        flex-grow: 1;
    }
}

@media(min-width: 900px) {
    #flow {
        display: flex;
        justify-content: space-around;
    }

    #flow hgroup {
        position: sticky;
        top: 96px;
        left: 0;
        width: 300px;
        height: fit-content;
    }

    #flow .right {
        width: calc(100% - 348px);
    }
}

/*************************************

    recruit

**************************************/

#recruit {
    background: url(recruit-back.jpg);
    background-size: cover;
    background-position: 30% center;
}