@charset "UTF-8";

#face {
    background: #ccd6e0;
    height: 100vh;
    background-image: url(../price/img/top_img.jpg);
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
}

.face_content {
    margin-left: 25vw;
    padding: 20px;
    width: calc(100% - 25vw);
    position: relative;
}

.face_content .face_txt {
    position: absolute;
    left: 30px;
    bottom: 30px;
    line-height: 2;
}

@media all and (max-width: 1200px) {
    #face {
        min-height: auto;
        height: calc(100vh - 80px);
    }
    
    .face_content {
        margin-left: 0vw;
        padding: 20px;
        width: 100%;
    }
    
}

@media all and (max-width: 767px) {
    #face {
        height: calc(100vh - 50px);
        max-height: 400px;
    }

    .face_content .face_txt {
        left: 0px;
        bottom: 0px;
        line-height: 2;
        font-size: 13px;
        text-align: justify;
        margin: 0 20px 20px;
    }
}

/*------------------------
main
------------------------*/
.h2_common span {
    font-size: 40px;
}

@media all and (max-width: 767px) {
    .h2_common span {
        font-size: 24px;
    }
}

.price_dl {
    display: flex;
    flex-wrap: wrap;
    width: 100%;
    background: white;
    box-sizing: border-box;
    margin-top: 7vw;
    font-size: clamp(15px,1.5vw,18px);
}

.price_dl dt,.price_dl dd {
    padding: 20px;
    border-top: 1px solid #ddd;
    line-height: 1.5;
}

.price_dl dt:nth-last-child(-n+2),.price_dl dd:last-child {
    border-bottom: 1px solid #ddd;
}

.price_dl dt {
    width: 10em;
    font-weight: bold;
    line-height: 1;
}

.price_dl dd {
    width: calc(100% - 10em);
    text-align: justify;
}

.price_dl dd p {
    line-height: 1;
}

.price_dl dd p:not(:first-of-type) {
    margin-top: 1em;
}

.price_dl dd span {
    color: #005371;
    margin-right: 1em;
}

.contact_btn {
    text-align: center;
    width: 300px;
    height: 40px;
    margin: 50px auto 0;
    background: #005371;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    border-radius: 5px;
    transition: all 0.2s;
}

.contact_btn:hover {
    background: #fe8a7e;
}

@media all and (max-width: 767px) {
    .price_dl {
        width: 100%;
        margin: 5em auto 0;
        font-size: clamp(14px,2.4vw,16px);
        border-top: 1px solid #ddd;
        border-bottom: 1px solid #ddd;
        padding: 1em 2em;
    }

    .price_dl dt,
    .price_dl dd {
        padding: 0px;
        border-top: 0px solid #ddd;
        line-height: 1.3;
        font-size: 15px;
    }

    .price_dl dt:nth-last-child(-n+2),
    .price_dl dd:last-child {
        border-bottom: 0px solid #ddd;
    }

    .price_dl dt {
        width: 100%;
        margin-bottom: 5px;
    }

    .price_dl dd {
        width: 100%;
        line-height: 2;
    }
    
    .price_dl dd:not(:last-child) {
        margin-bottom: 30px;
    }
}