@charset "utf-8";

/**
 * Content
 */
.design .title h2 {
    font-size: 1.8rem;
    text-align: center;
}

.design .content .flex {
    margin-bottom: 3rem;
}

.design .content .flex:nth-last-of-type(1) {
    margin-bottom: 0;
}

.design .content .flex .img {
    position: relative;
    margin-bottom: 1rem;
}

.design .content .flex .img p {
    position: absolute;
    top: 1rem;
    left: -1rem;
    display: inline-block;
    padding: 0.5rem 1rem;
    color: #F4F4F4;
    font-size: 1.3rem;
    background-color: #008842;
}

.design .content .flex .txt h3 {
    margin-bottom: 0.5rem;
    font-size: 1.8rem;
    text-align: center;
}

.design .content .frame {
    margin-bottom: 3rem;
    padding: 3rem 2rem;
    background-color: #FFFFFF;
}

.design .content .frame .ttl {
    margin-bottom: 2rem;
    text-align: center;
}

.design .content .frame .ttl h3 {
    margin-bottom: 0.5rem;
    font-size: 1.8rem;
}

.design .content .frame .ttl p {
    color: #717171;
    font-size: 1.3rem;
}

.design .content .frame .con .col {
    margin-bottom: 2rem;
}

.design .content .frame .con .col:nth-last-of-type(1) {
    margin-bottom: 0;
}

.design .content .frame .con .col .step {
    display: -webkit-flex;
    display: flex;
    -webkit-justify-content: center;
    justify-content: center;
    -webkit-align-items: center;
    align-items: center;
    margin-bottom: 2rem;
    background-color: #F4F4F4;
}

.design .content .frame .con .col .step:nth-last-of-type(1) {
    margin-bottom: 0;
}

.design .content .frame .con .col .step .img {
    position: relative;
    width: 40%;
}

.design .content .frame .con .col .step .img::before {
    content: "";
    display: block;
    padding-top: 100%;
}

.design .content .frame .con .col .step .img img {
    position: absolute;
    top: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    font-family: "object-fit: cover;";
}

.design .content .frame .con .col .step .txt {
    width: 60%;
    padding: 1rem;
}

.design .content .frame .con .col .step .txt h4 {
    margin-bottom: 0.5rem;
    font-size: 1.5rem;
}

.design .content .frame .con .col .step .txt > p {
    display: inline-block;
    margin-bottom: 0.5rem;
    padding: 0 1rem;
    font-size: 1.3rem;
    border: 0.1rem solid #333333;
}

.design .content .frame .con .col .step .txt div {
    display: -webkit-flex;
    display: flex;
    -webkit-justify-content: flex-start;
    justify-content: flex-start;
    -webkit-flex-wrap: wrap;
    flex-wrap: wrap;
}

.design .content .frame .con .col .step .txt div p {
    margin-right: 0.5rem;
    padding: 0.2rem 1rem;
    color: #F4F4F4;
    font-size: 1.3rem;
    border-radius: 3rem;
}

.design .content .frame .con .col .step .txt div p:nth-last-of-type(1) {
    margin-right: 0;
}

.design .content .frame .con .col .step .txt div .bk  {
    background-color: #333333;
}

.design .content .frame .con .col .step .txt div .gr  {
    background-color: #008842;
}

@media all and (min-width: 500px) {

    .design .title h2 {
        font-size: 2.2rem;
    }

    .design .content .flex {
        margin-bottom: 4.5rem;
    }

    .design .content .flex .img {
        margin-bottom: 1.5rem;
    }

    .design .content .flex .img p {
        top: 1.5rem;
        left: -1.5rem;
    }

    .design .content .flex .txt h3 {
        font-size: 2.2rem;
    }

    .design .content .frame {
        margin-bottom: 4.5rem;
        padding: 4.5rem 3rem;
    }

    .design .content .frame .ttl {
        margin-bottom: 3rem;
    }

    .design .content .frame .ttl h3 {
        font-size: 2.2rem;
    }

    .design .content .frame .con .col {
        margin-bottom: 3rem;
    }

    .design .content .frame .con .col .step {
        margin-bottom: 3rem;
    }

    .design .content .frame .con .col .step .img::before {
        padding-top: 75%;
    }

    .design .content .frame .con .col .step .txt {
        padding: 1.5rem;
    }

}

@media all and (min-width: 1000px) {

    .design .title h2 {
        font-size: 2.6rem;
    }

    .design .content .flex {
        display: -webkit-flex;
        display: flex;
        -webkit-justify-content: center;
        justify-content: center;
        -webkit-align-items: center;
        align-items: center;
        margin-bottom: 6rem;
    }

    .design .content .flex .img,
    .design .content .flex .txt {
        width: 50%;
    }

    .design .content .flex .img {
        margin-bottom: 0;
    }

    .design .content .flex .img p {
        top: 2rem;
        left: -2rem;
    }

    .design .content .flex .txt {
        padding-left: 4rem;
    }

    .design .content .flex .txt h3 {
        font-size: 2.6rem;
        text-align: left;
    }

    .design .content .frame  {
        margin-bottom: 6rem;
        padding: 6rem 4rem;
    }

    .design .content .frame .ttl {
        margin-bottom: 4rem;
    }

    .design .content .frame .ttl h3 {
        font-size: 2.6rem;
    }

    .design .content .frame .con {
        display: -webkit-flex;
        display: flex;
        -webkit-justify-content: flex-start;
        justify-content: flex-start;
        -webkit-flex-wrap: wrap;
        flex-wrap: wrap;
    }

    .design .content .frame .con .col {
        width: calc((100% - 4rem) / 2);
        margin-right: 4rem;
        margin-bottom: 0;
    }

    .design .content .frame .con .col:nth-of-type(2n) {
        margin-right: 0;
    }

    .design .content .frame .con .col .step {
        margin-bottom: 4rem;
    }

}
