@charset "utf-8";
@media only screen and (max-width:1400px) {
    header hgroup .headericon.tel {
        right: 250px;
    }
}

@media only screen and (max-width:1024px) {
    .tb {
        display: block;
    }

    header hgroup .headerlogo {
        left: 3%;
    }

    header hgroup .headericon.tel {
        right: 240px;
    }

    header hgroup .headernavi {
        padding-right: 0px;
    }

    header hgroup .headernavi>li {
        margin: 0 20px;
    }

    #main .maintext {
        width: 800px;
        font: normal normal bold 46px / 53px custom-hiragino-w6;
        margin-top: 5%;
    }

    #main .submaintext {
        width: 800px;
    }

    #contents01 .service01area {
        width: 800px;
    }

    #contents01 .service02area {
        width: 800px;
    }

    #contents01 .area1 .service02area li {
        margin-bottom: 50px;
    }

    #contents01 .service02area li {
        width: 50%;
    }

    #contents01 .area2 .service02area li:last-child {
        /* margin-bottom: 150px; */
    }

    #contents02 .boxmessage {
        width: 800px;
    }

    #contents04 .centerimg.wd890 {
        width: 90% !important;
    }

    #contents05 .taiouarea li {
        width: 50%;
        margin-bottom: 150px;
    }

    #contents05 .taiouarea {
        width: 800px;
    }

    #contents05 .taiouarea li:last-child {
        margin-bottom: 0;
    }

    .price_contents01 .centerimg.wd840 {
        width: 90% !important;
    }

    .price_contents02 .centerimg.wd880 {
        width: 90% !important;
    }

    .price_contents04 .centerimg.wd880 {
        width: 100% !important;
    }

    price_contents04 .boxmessage {
        width: 80%;
    }
}
