@media (max-width: 568px) {

    #main {
        width: 100%;
        display: block;
        float: none;
    }

    #side-bar {
        width: 100%;
        display: block;
        float: none;
    }

    #container {
        width: calc(100% - 20px);
        margin: 0 10px;
    }

    /*HEADER ここから*/
    header {
        width: 100%;
        margin: 0;
        display: inline-block;
        padding: 0;
    }

    header#education-hd {
        background: url(../../img/header/education-hd-bg.png);
        background-size: 100%;
        background-repeat: no-repeat;
        padding-bottom: 60px;
    }

    header section#education-ttl {
        display: block;
        text-align: center;
    }

    header section#education-ttl img {
        margin: 0 auto;
        max-width: 160px;
        width: 100%;
    }

    header#school-guide-hd {
        background: url(../../img/header/school-guide-hd-bg.png);
        background-repeat: no-repeat;
        background-size: 100%;
    }

    header section#school-guide-ttl {
        display: block;
        text-align: center;
    }

    header section#school-guide-ttl img {
        margin: 0 auto 112px;
        max-width: 160px;
        width: 100%;
    }

    header section#logo {
        width: 108px;
        display: block;
        float: left;
        margin: 20px 20px 0;
    }

    header nav {
        display: none;
    }

    #hamburger-btn-wrap {
        background: #004080;
        width: 62px;
        display: block;
        float: right;
    }

    #hamburger-btn span {
        width: 40px;
        background: #fff;
        display: block;
        margin-bottom: 8px;
        border-bottom: 2px solid #fff;
    }

    #hamburger-btn span:last-child {
        margin-bottom: 4px;
    }

    #hamburger-btn {
        padding: 16px 12px 0;
    }

    #menu-ttl {
        display: block;
        text-align: center;
        color: #fff;
        font-size: 10px;
        letter-spacing: 1px;
        padding: 0 0px 8px 2px;
    }

    /*HEADER ここまで*/


    /*メイン ここから*/
    .hd h3 {
        font-size: 18px;
        color: #4D4D4D;
    }

    .hd .line {
        margin: 4px 0 24px;
    }
	.message-img2 {
    width: 50%;
    margin: 30px auto 0;
}
    /*メイン ここまで*/

    /*パンくずリスト　ここから*/

    #breadcrumb {
        padding: 0;
    }

    #breadcrumb ul {
        color: #000;
        padding: 0 0 24px;
        max-width: 1180px;
        width: 100%;
        margin: 0 auto;
    }

#breadcrumb li {
    font-size: 14px;
    display: inline-block;
}
    #breadcrumb li:after {
        content: ">";
        display: inline-block;
        padding: 0 8px;
    }

    #breadcrumb li:last-child:after {
        content: "";
    }

    /*パンくずリスト ここまで*/


    /*サイドバー　ここから*/

#side-bar {
    width: 100%;
    /* margin-right: 70px; */
    margin: 0 auto;
    display: block;
    float: none;
    margin-bottom: 0;
}

#side-bar nav h2 {
    font-size: 12px;
    display: block;
    text-align: center;
    color: #004080;
    border-top: 2px solid #004080;
    border-bottom: 2px solid #004080;
    padding: 12px 0;
    font-weight: normal;
}

#side-bar nav ul li {
    padding: 8px 0;
    border-bottom: 1px dotted #4d4d4d;
    width: 100%;
    position: relative;
    display: block;
    float: left;
}
#side-bar nav ul li.subcat-inq{
    padding:12px 0;
}
#side-bar nav ul li:nth-child(even){
    margin-right:28px;
}

    #side-bar nav ul li span {
        display: inline-block;
        font-size: 11px;
    }

#side-bar nav ul li.subcat-inq:before {
    content: "";
    border-bottom: 2px solid #4d4d4d;
    width: 24px;
    display: inline-block;
    margin-right: 8px;
    vertical-align: 70%;
}

#side-bar nav ul li.subcat-inq:after {
    display: inline-block;
    top: 24px !important;
}
    #side-bar nav ul li.subcat-apply:before {
        content: "";
        border-bottom: 2px solid #4d4d4d;
        width: 24px;
        display: inline-block;
        margin-right: 8px;
        vertical-align: 12%;
    }
/*    #side-bar nav ul li.subcat-apply{
        border-bottom: 0 transparent;
    }*/
    #side-bar nav ul li.cat span {
        font-weight: normal;
        color: #4d4d4d;
    }
    #side-bar nav ul li.cat:first-child{
        width:100%;
    }
    #side-bar nav ul li.cat:first-child span {
        font-weight: bold;
        color: #004080;
    }

#side-bar nav ul li.link:after {
    content: ">";
    right: 0;
    position: absolute;
    font-size: 16px;
    font-weight: normal;
    top: 6px;
    padding-right: 20px;
    color: #004080;
}
    #side-bar nav ul li:last-child {
        border-bottom: 0 transparent;
    }
    #side-bar nav ul li.now span {
        color: #004080;
    }
    #side-bar nav ul {
        list-style-type: none;
        border-bottom: 2px solid #004080;
        display: inline-block;
    }
    /*サイドバー ここまで */





    /*FOOTER　ここから*/

footer {
    max-width: 100%;
    width: 100%;
    display: block;
    padding: 60px 0 16px;
    margin: 0 auto;
    background: #fff;
}

    #footer-ttl {
        font-size: 16px;
        display: block;
        text-align: center;
        letter-spacing: 6px;
        font-weight: normal;
        margin-bottom: 36px;
    }

    footer .btn-wrap {
        max-width: 725px;
        display: block;
        margin: 0 auto 42px;
        padding: 0 12px;
        width: 100%;
    }

    footer .btn-wrap button {
        max-width: 350px;
        width: 58%;
        max-width: 220px;
        display: block;
        text-align: center;
        background: #004080;
        border: none;
        color: #fff;
        font-size: 12px;
        float: none;
        margin: 0 auto 16px;
        position: relative;
    }

    footer .btn-wrap button:after {
        content: "";
        position: absolute;
        vertical-align: 4%;
        background: url(../../img/icon-btn-arrow.png) 0 0/100% no-repeat;
        width: 15px;
        height: 15px;
        top: 50%;
        right: 25px;
        -webkit-transform: translate(0, -50%);
        transform: translate(0, -50%);
    }
    footer .btn-wrap button:first-child::after {
        right: 25px;
    }

    footer .btn-wrap button:first-child {
        margin: 0 auto 16px;
    }

    footer nav {
        max-width: 1280px;
        margin: 0 auto 36px;
        width: 100%;
    }

    footer nav .col {
        width: 100%;
        display: block;
        float: none;
        padding-left: 0;
    }

    footer nav .col li.cat {
        font-size: 12px;
        font-weight: normal;
        color: #fff;
        /* padding-left: 16px; */
        padding: 8px 0 8px 32px;
        
    }

    footer nav .col li.cat:before {
        content: "";
        position: absolute;
        display: inline-block;
        left: 16px;
        width: 9px;
        height: 16px;
        background: url(../../img/footer-list-icon.png) 0 0/100% no-repeat;
        top: 50%;
        -webkit-transform: translate(0, -50%);
        transform: translate(0, -50%);
    }

    footer nav .col ul.subcat {
        font-size: 14px;
        padding-left: 0;
    }

/*    footer nav .col ul.subcat:before {
        content: "";
        width: 100%;
        text-align: right;
        background: url(../../img/footer-list-icon-arrow.png) 0 0/100% no-repeat;
        position: absolute;
        color: #fff;
        width: 16px;
        height: 16px;
        z-index: 1;
        right: 16px;
        top: 50%;
        font-weight: normal;
        -webkit-transform: translate(0, -50%);
        transform: translate(0, -50%);
    }
*/
    footer nav .col ul.subcat li {
        color: #4d4d4d;
        margin-top: 0;
        /* padding-top: 2px; */
        border-top: 2px solid #e3e9ed;
        color: #fff;
        display: none;
    }

    footer nav .col ul.subcat li:before {
        content: ">";
        display: inline-block;
        color: #004087;
        margin-right: 4px;
    }

    footer nav .col ul.cat-grp {
        margin-bottom: 2px;
        background: #004080;
        position: relative;
    }

    footer address .logo {
        width: calc(100% - 20px);
        display: block;
        float: none;
        margin: 0 auto 16px;
        max-width: 115px;
    }

    footer address .address {
        display: block;
        float: left;
        width: 100%;
    }

    footer address .address p {
        font-size: 10px;
        display: block;
    }

    footer address {
        width: 100%;
        margin: 0 auto 24px;
    }

    footer address .address p span:first-child {
        width: calc(50% - 6px);
        text-align: right;
        display: block;
        float: left;
        margin-right: 6px;
        margin-left: 0;
    }

    footer address .address p span {
        width: calc(50% - 6px);
        text-align: left;
        display: block;
        float: left;
        margin-left: 6px;
    }

    footer .search-input-wrap {
        display: none;
        text-align: center;
        border-bottom: 1px solid #004080;
        padding-bottom: 48px;
    }

    footer .search-input-wrap input {
        background: url(../../img/icon-search.png);
        background-repeat: no-repeat;
        background-position: 95% 4px;
        border: 1px solid #666666;
        height: 30px;
        width: 204px;
        font-size: 14px;
        padding-left: 8px;
    }

    footer aside {
        letter-spacing: 2px;
        font-size: 10px;
        display: block;
        text-align: center;
        color: #000;
        padding: 0;
    }

    /*FOOTER　ここまで*/

}


