@charset "UTF-8";
/* CSS Document */

/*==============================
コンテンツ設定
==============================*/

/*ページビジュアル*/
#pageVisual{
	background: url(../img/works/bg_main.webp) no-repeat center center / cover;
}

/*ページビジュアル  見出し英語*/
#pageVisual .pageNav h2::after{
	content: "WORKS";
}

/*分譲情報全体*/
#worksInfo{
	background: #333;
}

/*ギャラリー*/
#worksInfo .info .gallery-wrapper{
	width: 100%;
}

/*メイン写真*/
.main-image img {
	display: block;
	width: 100%;
	height: 100%;
	aspect-ratio: 1.8 / 1;
	overflow: hidden;
	object-fit: cover;
	transition: opacity 0.3s ease; /* 切り替えを滑らかに */
}

/*サムネイルリスト*/
.thumbnail-list {
	margin: 40px 0 0 0;
	display: flex;
	flex-wrap: wrap;
	gap: 16px;
}

/*サムネイル*/
.thumb {
	width: calc((100% - 16px * 5) / 6);
	cursor: pointer;
	opacity: 0.6;
	transition: 0.3s;
	aspect-ratio: 1.3 / 1;
	overflow: hidden;
	object-fit: cover;
}

/*サムネイル 写真
.thumb img{
	width: 100%;
	height: 100%;
}*/

/* ホバー */
@media (any-hover: hover) {

	/*サムネイル js制御*/
	.thumb:hover, .thumb.active {
		opacity: 1;
	}

}

#worksInfo h2{
	margin: 60px 0 0 0;
	color: #fff;
	font-size: 2.6rem;
	line-height: 1.6;
	text-align: center;
}

#worksInfo .info{
	margin: 16px 0 0 0;
	color: #fff;
	font-size: 1.2rem;
	text-align: center;
	font-family:"ヒラギノ角ゴPro W3", "Hiragino Kaku Gothic Pro",Osaka, "メイリオ", Meiryo, "ＭＳ Ｐゴシック", sans-serif;
}
#worksInfo .info .city::after{
	content: "・";
}

#worksInfo .txt{
	margin: 16px auto 0;
	max-width: 660px;
	color: #fff;
	font-size: 1.4rem;
	line-height: 2;
	text-align: justify;
	font-family:"ヒラギノ角ゴPro W3", "Hiragino Kaku Gothic Pro",Osaka, "メイリオ", Meiryo, "ＭＳ Ｐゴシック", sans-serif;
}



/*==============================
レスポンシブ設定
==============================*/

/*768px以下の場合*/
@media screen and (max-width:768px){

	#worksInfo h2{
		margin: 30px 0 0 0;
		font-size: 2rem;
	}

	#worksInfo .info{
		margin: 10px 0 0 0;
	}

	#worksInfo .txt{
		margin: 10px auto 0;
	}

	
}

/*600px以下の場合*/
@media screen and (max-width:600px){

	/*サムネイルリスト*/
	.thumbnail-list {
		margin: 20px 0 0 0;
		gap: 10px;
	}

	/*サムネイル*/
	.thumb {
		width: calc((100% - 10px * 3) / 4);
	}


}

/*430px以下の場合*/
@media screen and (max-width:430px){

	/*ページビジュアル*/
	#pageVisual{
		background: url(../img/works/bg_main_sp.webp) no-repeat center center / cover;
	}




}




































