@charset "utf-8";

/* reset */

html, body, div, h1, h2, p, ul, li, img, header, main, footer {
    margin: 0;
    padding: 0;
    border: 0;
    font-size: 100%;
    vertical-align: baseline;
}
ul {
    list-style: none;
}
a {
    text-decoration: none;
}
img {
    max-width: 100%;
    height: auto;
}

html, body {
    height: 100%;
}
body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    font-size: 12px;
    line-height: 1.3em;
    color: #000;
    background: #fff;
    font-family: 'メイリオ', 'Meiryo', 'Hiragino Kaku Gothic ProN', 'ヒラギノ角ゴ ProN W3', 'Helvetica', 'Lucida Grande', 'Verdana', sans-serif;
}


/* header */

#header {
    width: 100%;
    background: #fff;
}
#header .header_in {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1170px;
    margin: 0 auto;
    padding: 20px 30px 25px;
    box-sizing: border-box;
}
#header h1 {
    line-height: 0;
}
#header .header_company {
    line-height: 0;
}
#header .header_company a:hover {
    opacity: 0.7;
}
#header .header_bar {
    width: 100%;
    height: 67px;
    background: #0182dc;
}


/* content */

#content {
    flex: 1;
    width: 100%;
}
#content .main_in {
    max-width: 1170px;
    margin: 0 auto;
    padding: 0 30px 80px;
    box-sizing: border-box;
}
#content h2 {
    color: #0182dc;
    font-size: 24px;
    font-weight: bold;
    line-height: 1.5em;
    text-align: center;
    border-bottom: 1px solid #0182dc;
    max-width: 390px;
    margin: 80px auto 0 auto;
    padding-bottom: 3px;
}
#content .maintenance_txt {
    max-width: 750px;
    margin: 44px auto 0 auto;
}
#content .maintenance_txt p {
    font-size: 16px;
    line-height: 1.8em;
    text-align: center;
    margin-top: 1em;
}
#content .maintenance_txt p:first-child {
    margin-top: 0;
}
#content .contact_btn {
    max-width: 750px;
    margin: 50px auto 0 auto;
}
#content .contact_btn a {
    display: block;
    height: 80px;
    line-height: 80px;
    color: #fff;
    font-size: 24px;
    font-weight: bold;
    letter-spacing: 0.1em;
    text-align: center;
    background: #00a0e9;
    border-radius: 3px;
}
#content .contact_btn a:hover {
    opacity: 0.7;
}
#content .contact_txt {
    font-size: 16px;
    line-height: 1.5em;
    text-align: center;
    margin-top: 15px;
}


/* footer */

#footer {
    width: 100%;
}
#footer .footer_bottom {
    background: #1e1d1d;
}
#footer .footer_bottom_in {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    max-width: 1170px;
    min-height: 42px;
    margin: 0 auto;
    padding: 0 30px;
    box-sizing: border-box;
}
#footer .footer_bottom p {
    font-size: 12px;
    line-height: 42px;
    color: #fff;
    margin-right: 35px;
}
#footer .footer_bottom ul {
    display: flex;
}
#footer .footer_bottom li {
    margin-right: 25px;
}
#footer .footer_bottom li a {
    font-size: 12px;
    line-height: 42px;
    color: #fff;
    text-decoration: underline;
}


/* smartphone */

@media screen and (max-width: 767px) {
    #header .header_in {
        padding: 15px 16px;
    }
    #header h1 img {
        width: 150px;
    }
    #header .header_company img {
        width: 140px;
    }
    #header .header_bar {
        height: 10px;
    }
    #content .main_in {
        padding: 0 16px 50px;
    }
    #content h2 {
        font-size: 20px;
        margin-top: 50px;
    }
    #content .maintenance_txt {
        margin-top: 30px;
    }
    #content .maintenance_txt p {
        font-size: 14px;
        text-align: left;
    }
    #content .pc_only {
        display: none;
    }
    #content .contact_btn {
        margin-top: 35px;
    }
    #content .contact_btn a {
        height: 60px;
        line-height: 60px;
        font-size: 18px;
    }
    #content .contact_txt {
        font-size: 14px;
    }
    #footer .footer_bottom_in {
        padding: 10px 16px;
    }
    #footer .footer_bottom p,
    #footer .footer_bottom li a {
        line-height: 1.8em;
    }
}
