@charset "UTF-8";

/*******************************

事業所紹介 Css

*******************************/

/*-----------------------------
common
-----------------------------*/
.block-office-list {
    margin-right: -40px;
}

.block-office-list .item {
    width: 33.333%;
    margin-bottom: 40px;
    padding-right: 40px;
}

.block-office-list .item a {
    display: block;
    height: 100%;
}

.block-office-list .item p {
    text-align: left;
    font-size: 93.8%;
    margin-top: 6px;
}

.block-office-list .item p:after {
    content: "\f138";
    font-family: FontAwesome;
    color: #e68e68;
    margin-left: 5px;
}

.block-office-list .item .img span {
    display: block;
    position: relative;
    overflow: hidden;
	border-radius: 5px;
}

.block-office-list .item .img span:before {
    content: "";
    display: block;
    padding-top: 70%;
}

.block-office-list .item .img img {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    margin: auto;
    -o-object-fit: cover;
    object-fit: cover;
    vertical-align: top;
    -webkit-transition: 1s ease;
    transition: 1s ease;
    -webkit-transform: scale(1);
    transform: scale(1);
    -o-object-position: center;
    object-position: center;
    font-family: 'object-fit: cover; object-position: bottom;';
}

.block-office-list .item a:hover img {
    opacity: 1;
    -webkit-transform: scale(1.05);
    transform: scale(1.05);
}


/*==== tablet タブレット用css ===*/

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

    .block-office-list {
        margin-right: -20px;
    }
    .block-office-list .item {
        width: 33.333%;
        margin-bottom: 20px;
        padding-right: 20px;
    }
}

/*==== mobile スマフォ縦用css ===*/

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

    .block-office-list {
        margin-right: -10px;
    }
    .block-office-list .item {
        width: 50%;
        margin-bottom: 10px;
        padding-right: 10px;
    }
    .block-office-list .item a {
        padding: 5px;
    }

}


/*-----------------------------
fattoria
-----------------------------*/

.fattoria {
    position: relative;
    overflow: hidden;
}

.fattoria,
.fattoria a {
    color: #fff;
}

.fattoria a {
    display: block;
    padding: 120px 0 65px;
}

.fattoria p {
    text-align: center;
    font-weight: 600;
    margin: 40px 0 20px;
}

.fattoria .inner {
    position: relative;
    z-index: 1;
}

.fattoria .img img {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    margin: auto;
    -o-object-fit: cover;
    object-fit: cover;
    vertical-align: top;
    -webkit-transition: 1s ease;
    transition: 1s ease;
    -webkit-transform: scale(1);
    transform: scale(1);
    -o-object-position: center;
    object-position: center;
    font-family: 'object-fit: cover; object-position: bottom;';
}

.fattoria a:hover .img img {
    -webkit-transform: scale(1.02);
    transform: scale(1.02);
}

/*==== tablet タブレット用css ===*/

@media screen and (max-width: 1024px) {
    .fattoria a {
        padding: 80px 0 30px;
    }
}

/*==== mobile スマフォ縦用css ===*/

@media screen and (max-width: 480px) {
    .fattoria a {
        padding: 50px 0 30px;
    }
    .fattoria h2 {
        width: 70%;
        margin: 0 auto;
    }
    .fattoria p {
        margin: 20px 0 0;
    }
}
