@charset "UTF-8";

/*******************************
 
岩崎学園について　窓Css
 
*******************************/
.contents .linkbnr{
	margin-right: -40px;
}
.contents .linkbnr .item{
	width: 33.333%;
	margin-bottom: 60px;
	padding-right: 40px;
}
.contents .linkbnr .item .img{
	display: block;
    position: relative;
    overflow: hidden;
	border-radius: 5px;
}
.contents .linkbnr .item .img:before {
    content: "";
    display: block;
    padding-top: 70%;
}
.contents .linkbnr .item .img img {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    margin: auto;
    object-fit: cover;
    vertical-align: top;
    transition: 1s ease;
    -moz-transform: scale(1);
    -ms-transform: scale(1);
    -webkit-transform: scale(1);
    transform: scale(1);
    object-position: center;
    font-family: 'object-fit: cover; object-position: bottom;';
}
.contents .linkbnr .item a:hover img{
	opacity: 1;
    -moz-transform: scale(1.05);
    -ms-transform: scale(1.05);
    -webkit-transform: scale(1.05);
    transform: scale(1.05);
}

.contents .linkbnr .item p{
	margin: 5px 0;
	font-weight: 600;
}
.contents .linkbnr .item p:after {
    content: "\f138";
    font-family: FontAwesome;
    color: #e68e68;
    margin-left: 5px;
}

/*==== mobile スマフォ横〜用css ===*/
@media screen and (max-width: 896px){
	.contents .linkbnr{
		margin-right: -30px;
	}
	.contents .linkbnr .item{
		margin-bottom: 40px;
		padding-right: 30px;
	}
}
/*==== mobile スマフォ縦用css ===*/
@media screen and (max-width: 480px){
	.contents .linkbnr{
		margin-right: -15px;
	}
	.contents .linkbnr .item{
		width: 50%;
		margin-bottom: 20px;
		padding-right: 15px;
	}
}