@charset "utf-8";

/**
 * Content
 */
.cost .title h2 {
    font-size: 1.8rem;
    text-align: center;
}

.cost .content .flex {
    margin-bottom: 3rem;
}

.cost .content .flex:nth-last-of-type(1) {
    margin-bottom: 0;
}

.cost .content .flex .img {
    position: relative;
    margin-bottom: 1rem;
}

.cost .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;
}

.cost .content .flex .txt h3 {
    margin-bottom: 0.5rem;
    font-size: 1.8rem;
    text-align: center;
}

.cost .content .frame {
    margin-bottom: 3rem;
    padding: 3rem 2rem;
    background-color: #FFFFFF;
}

.cost .content .frame .ttl {
    margin-bottom: 2rem;
}

.cost .content .frame .ttl h3 {
    font-size: 1.8rem;
    text-align: center;
}

.cost .content .frame .con {
    margin-bottom: 3rem;
}

.cost .content .frame .con:nth-last-of-type(1) {
    margin-bottom: 0;
}

.cost .content .frame .con .price img {
    margin-bottom: 1rem;
}

.cost .content .frame .con .price p {
    color: #717171;
    font-size: 1.3rem;
    text-align: center;
}

.cost .content .frame .con .after {
    margin-bottom: 2rem;
}

.cost .content .frame .con .after:nth-last-of-type(1) {
    margin-bottom: 0;
}

.cost .content .frame .con .after dt {
    margin-bottom: 1rem;
}

.cost .content .frame .con .after dt .border {
    margin-bottom: 1rem;
    padding: 1rem;
    font-size: 1.6rem;
    font-weight: 700;
    text-align: center;
    border-radius: 5rem;
    border: 0.1rem solid #333333;
}

.cost .content .frame .con .after dd img {
    margin-bottom: 1rem;
}

.cost .content .frame .con .after dd p:nth-of-type(1) {
    margin-bottom: 1rem;
}

.cost .content .frame .con .after dd p:nth-of-type(2) {
    padding: 1rem;
    background-color: #F4F4F4;
}

.cost .content .frame .con .after dd p:nth-of-type(2) span {
    display: block;
    margin-bottom: 0.5rem;
    padding-bottom: 0.5rem;
    font-weight: 700;
    text-align: center;
    border-bottom: 0.1rem solid #D8D8D8;
}

@media all and (min-width: 500px) {

    .cost .title h2 {
        font-size: 2.2rem;
    }

    .cost .content .flex {
        margin-bottom: 4.5rem;
    }

    .cost .content .flex .img {
        margin-bottom: 1.5rem;
    }

    .cost .content .flex .img p {
        top: 1.5rem;
        left: -1.5rem;
    }

    .cost .content .flex .txt h3 {
        font-size: 2.2rem;
    }

    .cost .content .frame {
        margin-bottom: 4.5rem;
        padding: 4.5rem 3rem;
    }

    .cost .content .frame .ttl {
        margin-bottom: 3rem;
    }

    .cost .content .frame .ttl h3 {
        font-size: 2.2rem;
    }

    .cost .content .frame .con {
        margin-bottom: 4.5rem;
    }

    .cost .content .frame .con .price img {
        margin-bottom: 1.5rem;
    }

    .cost .content .frame .con .after {
        margin-bottom: 3rem;
    }

    .cost .content .frame .con .after dt {
        margin-bottom: 1.5rem;
    }

    .cost .content .frame .con .after dt .border {
        margin-bottom: 1.5rem;
        padding: 1.5rem;
        font-size: 1.7rem;
    }

    .cost .content .frame .con .after dd img {
        margin-bottom: 1.5rem;
    }

    .cost .content .frame .con .after dd p:nth-of-type(1) {
        margin-bottom: 1.5rem;
    }

    .cost .content .frame .con .after dd p:nth-of-type(2) {
        padding: 1.5rem;
    }

    .cost .content .frame .con .after dd p:nth-of-type(2) span {
        margin-bottom: 0.75rem;
        padding-bottom: 0.75rem;
    }

}

@media all and (min-width: 1000px) {

    .cost .title h2 {
        font-size: 2.6rem;
    }

    .cost .content .flex {
        display: -webkit-flex;
        display: flex;
        -webkit-justify-content: center;
        justify-content: center;
        -webkit-align-items: center;
        align-items: center;
        margin-bottom: 6rem;
    }

    .cost .content .flex .img,
    .cost .content .flex .txt {
        width: 50%;
    }

    .cost .content .flex .img {
        margin-bottom: 0;
    }

    .cost .content .flex .img p {
        top: 2rem;
        left: -2rem;
    }

    .cost .content .flex .txt {
        padding-left: 4rem;
    }

    .cost .content .flex .txt h3 {
        font-size: 2.6rem;
        text-align: left;
    }

    .cost .content .frame {
        margin-bottom: 6rem;
        padding: 6rem 4rem;
    }

    .cost .content .frame .ttl {
        margin-bottom: 4rem;
    }

    .cost .content .frame .ttl h3 {
        font-size: 2.6rem;
    }

    .cost .content .frame .con {
        margin-bottom: 6rem;
    }

    .cost .content .frame .con .price img {
        max-width: 62rem;
        margin: 0 auto;
        margin-bottom: 2rem;
    }

    .cost .content .frame .con .after {
        margin-bottom: 4rem;
    }

    .cost .content .frame .con .after dt {
        margin-bottom: 2rem;
    }

    .cost .content .frame .con .after dt .border {
        max-width: 62rem;
        margin: 0 auto;
        margin-bottom: 2rem;
        padding: 2rem;
        font-size: 1.8rem;
    }

    .cost .content .frame .con .after dd img {
        max-width: 42rem;
        margin: 0 auto;
        margin-bottom: 2rem;
    }

    .cost .content .frame .con .after dd p {
        max-width: 62rem;
        margin: 0 auto;
    }

    .cost .content .frame .con .after dd p:nth-of-type(1) {
        margin-bottom: 2rem;
    }

    .cost .content .frame .con .after dd p:nth-of-type(2) {
        padding: 2rem;
        text-align: center;
    }

    .cost .content .frame .con .after dd p:nth-of-type(2) span {
        margin-bottom: 1rem;
        padding-bottom: 1rem;
    }

}
