@charset "UTF-8";
/* CSS Document */

/* ======================================================================================


全体的な事


====================================================================================== */
.highschool-btn{
    width: 100%;
    margin: 30px 0;
}

.highschool-btn ul{
    width: 93%;
    margin: 0 auto;
    display: -webkit-flex;
    display: -moz-flex;
    display: -ms-flex;
    display: -o-flex;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.highschool-btn ul li{
    width: 32%;
    text-align: center;
    margin-bottom: 20px;
    background: linear-gradient(#0099D9,#005BAC);
    border-radius: 10px;
}

.highschool-btn ul li a{
    font-size: 2.5rem;
    font-weight: bold;
    color: #fff;
    border-radius: 10px;
    display: block;
    line-height: 1.5;
    padding: 10px 0;
    transition: 0.3s;
}

.highschool-btn ul li a:hover{
    background: #005BAC;
}

.highschool-image{
    width: 100%;
}

.highschool-image-list{
    width: 97%;
    margin: 12px auto;
}

.highschool-image-list:first-child{
    margin: -20px auto 0;
}

.highschool-image-list h2 img,
.highschool-image-list img{
    width: 100%;
}


/* ======================================================================================


メディアクエリ スマホ


====================================================================================== */
@media screen and (max-width:560px){
    .highschool-btn{
        margin: 20px 0;
    }
    
    .highschool-btn ul{
        width: 93%;
    }
    
    .highschool-btn ul li{
        width: 48%;
        margin-bottom: 12px;
    }
    
    .highschool-btn ul li a{
        font-size: 1.8rem;
        padding: 6px 0;
    }

    .highschool-image-list{
        width: 97%;
        margin: 0 auto;
    }
    
    .highschool-image-list:first-child{
        margin: -15px auto 0;
    }

    .highschool-image-list:last-child{
        margin: 0 auto 15px;
    }
}


/* ======================================================================================


メディアクエリ タブレット


====================================================================================== */
@media screen and (min-width:561px) and (max-width:840px){
    .highschool-btn ul li a{
        font-size: 2rem;
        padding: 8px 0;
    }
}