@charset "utf-8";
/* CSS Document */

#contents .linkArea ul{
    justify-content: left;
    align-items: flex-start;
    flex-wrap: wrap;
}

#contents .linkArea ul > li{
    width: calc((100% - 30px) / 3);
    margin-bottom: 2em;
	padding: 0 0.35em;
}

#contents .linkArea ul > li a{
    cursor: default;
    color:#333;
}

#contents .linkArea ul > li a:hover > span.textLink{
    color: #43677e;
    text-decoration: underline;
}

#contents .linkArea ul > li a:focus{
    outline: none;
}

#contents .linkArea ul > li a > img{
    cursor: pointer;
}

#contents .linkArea ul > li a:hover > img{
    opacity: 0.7;
}
#contents .linkArea ul > li a:focus > img{
    outline: thin dotted;
}

#contents .linkArea ul > li a span{
    display: inline-block;
    cursor: pointer;
    margin: 10px;
    font-weight: bold;
}

#contents .linkArea ul > li a:focus span{
    outline: thin dotted;
}



@media (max-width: 640px){
    
    #contents .linkArea {
        text-align: center;
    }
    
    #contents .linkArea ul > li{
        width: 100%;
        margin-bottom: 2em;
    }
    #contents .linkArea ul > li a > img{
        display: block;
        margin: 0 auto 10px auto;
        
    }
    
    #contents .linkArea ul > li a > span{
        width: 220px;
        margin: 0;
        text-align: left;
    }
    
}