@charset "UTF-8";

/*       マウスオーバー時      */
@media screen and (min-width: 1025px) {

  .inner_btn:hover{
      color: #28a7e1;
  }

  .linkbox:hover{
      box-shadow: 0px 0px 6px 6px #cccccc;
      transform: translateY(3px);
      -webkit-transform: translateY(3px);
      -ms-transform: translateY(3px);
      -moz-transform: translateY(3px);
  }

  .inner_btn:hover{
      color: #28a7e1;
  }

  .scale span:hover {
      -webkit-transform: scale(1.2);
      -moz-transform: scale(1.2);
      -o-transform: scale(1.2);
      -ms-transform: scale(1.2);
      transform: scale(1.2);
  }
}


#it_english {
    width: 60%;
    max-width: 720px;
    box-sizing: border-box;
}

#it_english > h2,
#it_english > p {
    text-align: left;
}

#it_english > h2 {
    margin-bottom: 20px;
    margin-top: 60px;
}

#it_english p {
    line-height: 1.5;
}

#it_school {
    padding-top: 150px;
    width: auto;
    max-width: 1080px;
    box-sizing: border-box;
    margin-bottom: 50px;
}

.linkbox {
    width: auto;
    max-width: 720px;
    height: auto;
    display: flex;
    box-shadow: 0px 0px 6px 3px #cccccc;
    padding-left: 20px;
    padding-right: 20px;
    padding-top: 30px;
    padding-bottom: 50px;
    box-sizing: border-box;
    transition: all .1s;
    position: relative;
    transition: all .1s;
}



.scale {
    width: 400px;
    height: auto;
    margin-right: 20px;
    overflow: hidden;
}

.scale span{
    width: 100%;
    height: 100%;
    -moz-transition: -moz-transform 0.5s linear;
    -webkit-transition: -webkit-transform 0.5s linear;
    -o-transition: -o-transform 0.5s linear;
    -ms-transition: -ms-transform 0.5s linear;
    transition: transform 0.5s linear;
    display: block;
    background-image: url(img/school.jpg);
    background-repeat: no-repeat;
    background-position: center bottom;
    background-size: cover;
}



.linktxt {
    display: block;
    width: 100%;
    height: auto;
    background-color: #fff;
}

.linktxt h2 {
    position: absolute;
    top: 10px;
    left: -10px;
    color: #FFF;
    background: #1a3d8d;
    padding: 10px;
    width: 12em;
    text-align: left;
    font-size: 1.25em;
}

.linktxt p{
    line-height: 1.5;
    text-align: justify;
}

.inner_btn{
    margin-left: auto;
    padding: 10px;
    margin-top: 10px;
    width: 100px;
    transition: all .1s;
}



/*        スマートフォン用            */

@media screen and (max-width:750px) {

    .linkbox{
        width: 90%;
        margin: 0 auto;
        flex-direction: column;
        justify-content: center;
        padding-bottom: 0px;
    }

    .linkbox:active{
        box-shadow: 0px 0px 6px 6px #cccccc;
        transform: translateY(3px);
        -webkit-transform: translateY(3px);
        -ms-transform: translateY(3px);
        -moz-transform: translateY(3px);
    }


    .scale{
        width: 100%;
        height: 200px;
    }

    .inner_btn:active{
        color: #28a7e1;
    }

    .scale span:active {
        -webkit-transform: scale(1.2);
        -moz-transform: scale(1.2);
        -o-transform: scale(1.2);
        -ms-transform: scale(1.2);
        transform: scale(1.2);
    }

    .linktxt{
        margin-left: auto;
        margin-right: auto;
        margin-top: 20px;
    }

    .linktxt h2{
        top: 15px;
    }

    #it_english {
        max-width: inherit;
        width: 90%;
        padding-top: 50px;
    }

    #it_school {
        max-width: inherit;
        padding-top: 50px;
    }

}

/*        タブレット（縦）用           */

@media screen and (min-width:751px) and (max-width: 1024px) {

    #it_school .SPhide {
        display: none;
    }

    #it_school .PChide {
        display: block;
    }


    .linkbox:active{
        box-shadow: 0px 0px 6px 6px #cccccc;
        transform: translateY(3px);
        -ms-transform: translateY(3px);
        -moz-transform: translateY(3px);
    }

    .inner_btn:active{
        color: #28a7e1;
    }

    .scale span:active {
        -webkit-transform: scale(1.2);
        -moz-transform: scale(1.2);
        -o-transform: scale(1.2);
        -ms-transform: scale(1.2);
        transform: scale(1.2);
    }
}
