@charset "utf-8";

@media (max-width:640px) {
    * {
        margin: 0;
        padding: 0;
    }

    .pc {
        display: none;
    }

    .sp {
        display: block;
    }

    article {
        box-sizing: border-box;
    }

    article section {
        box-sizing: border-box;
        width: 100%;
        margin: 0 auto;
        text-align: center;
    }

    #wrapper {
        padding-top: 6px;
    }

    #sptop_header {
        box-sizing: border-box;
        width: 100%;
        height: 68px;
        padding: 10px;
        position: fixed;
        top: 0;
        left: 0;
        background: #fff;
    }

    #sptop_header a {
        display: inline-block;
    }

    #sptop_header a img {
        max-height: 100%;
    }

    #sptop_header #leftbox {
        box-sizing: border-box;
        display: inline-block;
        width: 69%;
        margin: 0;
        text-align: left;
        vertical-align: middle;
    }

    #sptop_header #rightbox {
        box-sizing: border-box;
        display: inline-block;
        width: 30%;
        margin: 0;
        text-align: right;
        vertical-align: middle;
    }

    #sptop_header #rightbox #header_bt01,
    #sptop_header #rightbox #header_bt02 {
        box-sizing: border-box;
        display: inline-block;
        vertical-align: middle;
        height: 45px;
    }

    #sptop_header #rightbox #header_bt01 {
        margin-right: 10px;
    }

    #sptop_header #rightbox a {
        height: 45px;
    }

    #header_menu_sp {
        position: fixed;
        display: none;
        width: 100%;
        box-sizing: border-box;
        background: #5cc2c2;
        padding: 10px 10px 2px;
        color: #FFF;
        font-size: 0;
    }

    #header_menu_sp li {
        box-sizing: border-box;
        width: 100%;
        margin-bottom: 10px;
        font-size: 0;
    }

    #header_menu_sp #menu_title {
        box-sizing: border-box;
        color: #FFF;
        font-size: 14px;
        text-align: center;
        padding-bottom: 5px;
    }

    #header_menu_sp #halfmenu,
    #header_menu_sp #halfmenu02,
    #header_menu_sp #halfmenu03,
    #header_menu_sp #halfmenu04 {
        box-sizing: border-box;
        display: inline-block;
        width: 50%;
        background: #FFF;
        border: 1px solid #5cc2c2;
        font-size: 1em;
        text-align: center;
        padding: 5px 0;
    }

    #header_menu_sp #halfmenu04 {
        background: #5cc2c2;
        border: 1px solid #FFF;
    }

    #header_menu_sp #fullmenu,
    #header_menu_sp #fullmenu02 {
        box-sizing: border-box;
        display: inline-block;
        width: 100%;
        background: #FFF;
        border: 1px solid #5cc2c2;
        font-size: 1em;
        text-align: center;
        padding: 5px 0;
    }

    #header_menu_sp #fullmenu02 {
        background: #5cc2c2;
        border: 1px solid #FFF;
    }

    #header_menu_sp #halfmenu a,
    #header_menu_sp #halfmenu02 a,
    #header_menu_sp #halfmenu03 a,
    #header_menu_sp #halfmenu04 a,
    #header_menu_sp #fullmenu a,
    #header_menu_sp #fullmenu02 a {
        color: #5cc2c2;
        font-size: 13px;
    }

    #header_menu_sp #halfmenu04 a,
    #header_menu_sp #fullmenu02 a {
        color: #FFF;
    }

    header {
        box-sizing: border-box;
        width: 100%;
        padding: 0;
        padding-top: 62px;
    }

    header hgroup {
        background-position: top center;
        background-repeat: no-repeat;
        -moz-background-size: cover;
        background-size: cover;
        box-sizing: border-box;
        width: 100%;
        position: relative;
        margin: 0 auto;
    }

    header hgroup#sptop_header {
        min-height: 191px;
    }

    header #header_logo {
        position: static;
        width: 220px;
        font-size: 0;
        padding: 0;
        margin: 0;
    }

    header #top_mainheader {
        min-height: auto;
    }

    header #top_mainheader.top,
    header #top_mainheader.about,
    header #top_mainheader.services,
    header #top_mainheader.privacy {
        background-image: none;
        min-height: auto;
    }

    header #top_mainheader h1,
    header #top_mainheader h2 {
        display: none;
    }

    .title_bar {
        padding-top: 25px;
    }

    #top-service {
        background-image: url(../img/sp/top-service-bg.png);
    }

    .kakunin {
        margin: 25px auto;
    }

    .soushin {
        box-sizing: border-box;
        margin: 0 auto;
        background: #FFF;
        color: #3196B4;
        width: 200px;
        height: 60px;
        font-size: 14px;
        text-align: center;
        border: 1px solid #3196B4;
        cursor: pointer;
    }

    .soushin:hover {
        background: #3196B4;
        color: #FFF;
    }

    footer {
        width: 100%;
        text-align: center;
        padding: 20px 0;
    }

    footer section {
        width: 100%;
        margin: 0 auto;
    }

    footer #footer_item01 {
        width: 90%;
        font-size: 0;
        margin: 0 auto;
        padding-bottom: 20px;
        padding-top: 10px;
        border-top: 1px solid #FFF;
    }

    footer #footer_item01 li {
        display: block;
        vertical-align: top;
        width: 100%;
        font-size: 15px;
        color: #FFF;
    }

    footer #footer_item01 a {
        font-size: 15px;
        color: #FFF;
    }

    footer #footer_item02 {
        box-sizing: border-box;
        width: 90%;
        font-size: 0;
        list-style-type: none;
        text-align: center;
        margin: 0 auto;
        padding: 0;
        border: none;
    }

    footer #footer_item02 li {
        display: inline-block;
        font-size: 13px;
        color: #FFF;
        margin-right: 20px;
        margin-bottom: 10px;
        text-align: left;
        vertical-align: top;
    }

    footer #footer_item02 li:last-child {
        margin-right: 0;
    }

    footer #footer_item02 li a {
        color: #FFF;
    }

    footer #footer_item02 li a:hover {
        color: #F70506;
    }

    footer #footer_item02 li #footer_menu01 {
        border-bottom: 1px solid #FFF;
        margin-bottom: 10px;
    }

    footer #footer_item02 li #footer_menu02 li {
        vertical-align: middle;
    }

    #copylight {
        font-size: 11px;
        color: #FFF;
    }

    .gotop {
        width: 50px;
        height: 50px;
        padding-top: 25px;
        font-size: 70%;
    }
}
