/* 中デバイス（タブレット, 992px 未満）
==============================================*/
@media screen and (max-width:991.98px) {
#footer #footer-contents > div{
    padding-bottom: 1rem;
}
    
} /* END */

/* 小デバイス（横向きモバイル, 768px 未満）
==============================================*/
@media screen and (max-width:767.98px) {
h1{
    font-size: 2rem;
}    
main .btn{
    font-size: 0.95rem;
}
    #footer #footer-contents > div:first-child {
    border-right: none !important;
}
#footer .container{
    padding-top: 0px;
}
#footer .container .row{
    margin-bottom: 0;
}

#footer h2{
    margin: 2rem 0;
}

/* トップページ：各セクション */
#top-images h1 + small {
    font-size: 1.5rem;
}

#top-images section{
    padding-top: 50px;
}
#top-images section .container > h2{
    margin-bottom: 20px;
    font-size: 1.5rem;
}
#top-images section .container > h2 + p{
    margin-bottom: 40px;
}
#top-images section .container h3{
    font-size: 1.2rem;
}

/* 極小デバイス（縦向きモバイル, 576px 未満）
==============================================*/
@media screen and (max-width:575.98px) {
.navbar-collapse .btn {
    margin: 10px auto;
}


/* 下層ページ */

#page section {
    padding: 2rem 0 0;
}    
    
} /* END */