
/*トップスライド*/
.mv01 .swiper-slide-active .slide-media img {
  transform: scale(1.0);
}

.mv01 .slide-media img {
  transform: scale(1);
  transition: transform 7s ease;
}



/* フェードモード時 共通調整 */
.swiper-fade .swiper-slide {
  transition-property: opacity !important;
}


/* PC：通常の一覧表示 */
.news-swiper {
    overflow: visible;
}

.news-list.swiper-wrapper {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 30px;
    padding: 0;
    margin: 0;
    list-style: none;
}

.news-list .swiper-slide {
    width: auto;
    height: auto;
}

/* ページネーションはPCでは非表示 */
.news-swiper-pagination {
    display: none;
}

/* 768px以下：Swiper表示 */
@media screen and (max-width: 768px) {
    .news-swiper {
        overflow: hidden;
    }

    .news-list.swiper-wrapper {
        display: flex;
        gap: 0;
    }

    .news-list .swiper-slide {
        width: 100%;
        flex-shrink: 0;
    }

    .news-swiper-pagination {
        display: block;
        position: static;
        margin-top: 20px;
        text-align: center;
    }
}




/* PC：通常の一覧表示 */
.works-swiper {
    overflow: visible;
}

.works-list.swiper-wrapper {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 30px;
    padding: 0;
    margin: 0;
    list-style: none;
		padding-bottom: 2em;
}
@media screen and (min-width: 769px) and (max-width: 1280px) {
	.works-list.swiper-wrapper{grid-template-columns: repeat(3, minmax(0, 1fr));}
}

.works-list .swiper-slide {
    width: auto;
    height: auto;
}
@media screen and (min-width: 769px) {
/* ページネーションはPCでは非表示 */
#index-works .swiper-button-next,
#index-works .swiper-button-prev,
#index-works .swiper-pagination{
    display: none;
}


}


.works-swiper .card_title {
	display: block;
	color:#1A2937;
}


.works-swiper .card_img {
	margin: 0 0 10px;
	aspect-ratio: 4 / 3;
	overflow: hidden;
}

.works-swiper .card_img img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	border-radius: 20px;
}


/* 768px以下：Swiper表示 */
@media screen and (max-width: 768px) {
    .works-swiper {
        overflow: hidden;
    }

    .works-list.swiper-wrapper {
        display: flex;
        gap: 0;
    }

    .works-list .swiper-slide {
        width: 100%;
        flex-shrink: 0;
    }
/*
    .works-swiper-pagination {
        display: block;
        position: static;
        margin-top: 20px;
        text-align: center;
    }*/
		
.works-swiper .swiper-pagination {
    bottom: 0;
}

.works-swiper .swiper-button-prev,
.works-swiper .swiper-button-next {
    display: flex;
    width: 40px;
    height: 40px;
    color: #445ea1;
    z-index: 10;
}

.works-swiper .swiper-button-prev {
    left: 0;
}

.works-swiper .swiper-button-next {
    right: 0;
}
}


/*不動産*/
.realestate-swiper {
    position: relative;
}

.realestate-swiper .swiper-wrapper {
    padding: 0;
    margin: 0;
    list-style: none;
}

.realestate-swiper .swiper-slide {
    height: auto;
}

.realestate-swiper .swiper-slide a {
    display: block;
    text-decoration: none;
}

.realestate-swiper .card_img {
    margin: 0 0 10px;
    aspect-ratio: 4 / 3;
    overflow: hidden;
}

.realestate-swiper .card_img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.realestate-swiper .card_title {
    display: block;
		color:#1A2937;
}

.realestate-swiper .swiper-pagination {
    bottom: 0;
}

.realestate-swiper .swiper-button-prev,
.realestate-swiper .swiper-button-next {
    display: flex;
    width: 40px;
    height: 40px;
    color: #445ea1;
    z-index: 10;
}

.realestate-swiper .swiper-button-prev {
    left: 0;
}

.realestate-swiper .swiper-button-next {
    right: 0;
}

.swiper-button-next:after, .swiper-button-prev:after{
	font-size:24px;
	font-weight: bold;
	color: #fff;
	    text-shadow: 0 0 2px #333;
}

/*スタッフ*/
.staff-swiper {
    overflow: hidden;
}

.staff-swiper .swiper-wrapper {
    transition-timing-function: linear !important;
}

.staff-swiper .swiper-slide {
    height: auto;
}