body{
    width:100%;
    margin:0 auto;

    line-height:1.7;
    font-family: 'Noto Sans JP', sans-serif, Lato,"ヒラギノ角ゴ ProN W3", "Hiragino Kaku Gothic ProN", "メイリオ", Meiryo;
}

sub {
    font-size: 0.65em;
    vertical-align: baseline;
}

input{
    font-family: 'Noto Sans JP', sans-serif, Lato,"ヒラギノ角ゴ ProN W3", "Hiragino Kaku Gothic ProN", "メイリオ", Meiryo;
}

header{
    width:100%;
    height: 298px;

    background-image:url("../img/header_bg.png");
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    background-color:#0084cb;
    color:#fff;
}

@media screen and (min-width: 1221px){
    header .header_inner_wrapper{
        width:1200px;
        height: 298px;
        margin:0 auto;
        position:relative;
    }

    header h1{
        margin:0;
        padding:0;
        text-align:left;
    
        top:55px;
        left:299px;
        position:absolute;
    }

    header .header_text{
        text-align:left;
        top:178px;
        left:306px;
        position:absolute;
    
        font-size:16px;
    }

    header .annotation{
        width:100%;
        text-align:right;
        top:276px;
        position:absolute;
    
        font-size:10px;
    }
}

/*
@media screen and (max-width: 1220px){
    header{
        background-position: top center;
        background-size: contain;
    }

    header .header_inner_wrapper{
        width:100%;
        height: 298px;
        padding-right:20px;
        padding-left:20px;
        position:relative;
        box-sizing: border-box;
    }

    header h1{
        margin:0;
        padding:20px 0;
        text-align:center;
    }

    header h1 img{
        width:100%;
    }

    header .header_text{
        font-size:16px;
    }

    header .annotation{
        width:calc(100% - 40px);
        margin:0;
        bottom:10px;
        position:absolute;
    
        font-size:10px;
    }
}
*/


@media screen and (max-width: 1220px){
    header{
        height:auto;
    }

    header .header_inner_wrapper{
        width:100%;
        /*height: 298px;*/
        padding-right:20px;
        padding-left:20px;
        position:relative;
        box-sizing: border-box;
    }

    header h1{
        margin:0;
        padding:20px 0;
        text-align:center;
    }

    header h1 img{
        width:100%;
    }

    header .header_text{
        font-size:16px;
    }

    header .annotation{
        width:calc(100% - 40px);
        margin:30px 0 0;
        padding-bottom:20px;
    
        font-size:10px;
    }
}


h2{
    font-size:48px;
    color:#0698A8;
    text-align:center;
}

h3{
    font-size:40px;
    color:#0698A8;
    text-align:center;
}


@media screen and (max-width: 1220px){
    h2{
        font-size:1.25em;
    }

    main h3{
        font-size:1.25em;
    }
}


main{
    /*
    width:1200px;
    margin:0 auto;
    */

    background-image:url("../img/main.png");
    background-repeat: no-repeat;
    background-position: top center;
    background-size: contain;

    padding-top:71px;
}

main .main_text{
    width:828px;
    margin:0 auto;
}

@media screen and (max-width: 1220px){
    main{
        padding-right:20px;
        padding-left:20px;
    }

    main .main_text{
        width:100%;
    }
}


main .main_text h2{
    font-size:40px;
}

main .main_devices{
    text-align:center;
    margin-bottom:40px;
}

main .main_devices img{
    width:764px;
}

@media screen and (max-width: 1220px){
    main .main_devices img{
        width:100%;
    }
}

main .main_text_inner{
    font-size:28px;
    line-height:1.3;
    margin-bottom:120px;
}

@media screen and (max-width: 1220px){
    main .main_text_inner{
        font-size: 16px;
        margin-bottom: 60px;
    }
}

main h3{
    margin-bottom:40px;
}

#askform{
    width: 800px;
    margin: 0 auto 0;
    padding: 50px 0;
}

@media screen and (max-width: 1220px){
    #askform{
        width:100%;
    }

    .section{
        margin: 0 0 20px 0;
        padding: 0;
    }

    input[type="text"], input[type="email"], input[type="tel"]{
        width:100% !important;
    }
}

footer{
    text-align: center;
}

footer #askform{
    text-align: left;
}

footer .footer_text{
    background-color:#1A3A43;
}

@media screen and (max-width: 1220px){
    footer .footer_text{
        padding-right:20px;
        padding-left:20px;
    }
}

footer .footer_text_links{
    display:flex;
    justify-content:center;
    gap:40px;

    padding-bottom:50px;
}

@media screen and (max-width: 1220px){
    footer .footer_text_links{
        display:block;
    }
}

footer .footer_text_inner{
    /* padding:50px 0 0; */
    font-size:20px;
}

@media screen and (max-width: 1220px){
    footer .footer_text_inner{
        font-size: 16px;
        text-align: left;
    }
}

footer a:link, footer a:visited, footer a:hover, footer a:active{
    color:#fff;
}

footer div.button_link{
    width: 393px;
    font-size: 26px;
    background-color: #fff;
    color: #000;
    display: block;
    border-radius: 40px;
    padding: 10px 0;
}

footer div.button_link a:link, footer div.button_link a:visited, footer div.button_link a:hover, footer div.button_link a:active{
    color:#000;
}

footer a{
    text-decoration:none !important;
}

footer div.footer_text_tel div.info_link{
    margin-top:16px;
    font-size:40px;
    margin-left: 15px;
    padding-left: 35px;

    background-image:url("../img/footer_tel.png");
    background-size:37px auto;
    background-repeat:no-repeat;
    background-position:20px center;
}

footer div.footer_text_contact div.info_link{
    margin-top:20px;
    font-size:30px;

    margin-left: 15px;
    padding-top:8px;
    padding-left: 70px;
    background-image:url("../img/footer_pc.png");
    background-size:63px auto;
    background-repeat:no-repeat;
    background-position:left center;
}

footer div.time{
    font-size: 14px;
    text-align: right;
    margin-top: -10px;
    margin-right: 40px;
}

footer .footer_text{
    color:#fff;
}

footer .footer_copyright{
    background-color:#fff;
    color:#000;
    font-size:12px;
    padding:15px 0 20px;
}