.container h2 {
	font-family: "garamond-premier-pro", serif;
	font-size: 25px;
	font-weight: 100;
	letter-spacing: 10px;
}

.container p {
	font-family: "Shippori Mincho B1", serif;
	text-align: center;
	margin-bottom: 40px;
	font-size: 23px;
	font-weight: initial;
	letter-spacing: 10px;
}


/*インスタグラム*/
.instagram-section {
	padding: 0px 40px;
	text-align: center;
}

.instagram-section .container h2 {
	font-family: "itc-avant-garde-gothic-pro", sans-serif;
	font-size: 24px;
	font-weight: normal;
	letter-spacing: 0.2em;
	margin-bottom: 20px;
}
/*instagram feedプラグイン導入後
.instagram-grid {
	display: grid;
	grid-template-columns: repeat(5, 1fr);
	gap: 10px; 
}

.insta-post img {
	width: 100%;
	height: 100%;
	aspect-ratio: 1 / 1;
	object-fit: cover;
	display: block;
}*/

.brand-section {
	padding: 0px 40px;
	background-color: #ffffff;
}

.brand-section .container h2 {
	font-family: "itc-avant-garde-gothic-pro", sans-serif;
	font-size: 24px;
	font-weight: normal;
	letter-spacing: 0.2em;
	margin-bottom: 20px;
}

.brand-section .container .etc {
	font-family: "itc-avant-garde-gothic-pro", sans-serif;
	font-size: 20px;
	font-weight: normal;
	letter-spacing: 0.5em;
	margin-bottom: 20px;
}


.brand-logos {
	display: flex;
	justify-content: center;
	align-items: center;
	flex-wrap: wrap;
	gap: 16px;
	padding-bottom: 30px;
}

.realestate-section {
	padding: 80px 0; /* 上下の余白 */
	text-align: center;
}

.realestate-image-wrapper {
	position: relative; /* テキストを重ねるための基準 */
	text-align: center; /* 中のテキストを中央揃え */
	color: white;
	width: 1280px;
	margin: 0 auto;
}

.realestate-image-wrapper img {
	width: 100%;
	height: auto;
	display: block;
}

.realestate-text-content {
	margin-top: 40px; /* 画像とテキストの間の余白 */
}

.realestate-text-content p {
	font-family: 'Garamond Premier Pro', serif; /* Garamondフォントを指定 */
	letter-spacing: 0.5em;
	font-size: 16px;
	margin-bottom: 20px;
}

.realestate-text-content h2 {
	font-size: 18px;
	font-weight: initial;
	margin-bottom: 30px;
	letter-spacing: 0.2em;
}

.realestate-link {
	font-family: 'Garamond Premier Pro', serif;
	text-decoration: none;
	color: #555;
	letter-spacing: 0.2em;
}



/* ▼▼▼ ここからが円形にするためのスタイル ▼▼▼ */
.logo-item {
	display: flex;
	justify-content: center;
	align-items: center;
}

/* 円の中に配置するロゴ画像のスタイル */
.logo-item img {
	max-width: 90px;  /* ロゴが円からはみ出さないように調整 */
	max-height: 90px; /* ロゴが円からはみ出さないように調整 */
	height: auto;
}

.logo-item.long {
	
}

.logo-item.long img {
	max-width: 300px;
}

@media (max-width: 768px) {
	.top {
	height: 50vh;
	}
	
	.container {
		margin: 50px auto 0;
		padding: 0;
	}
		
	.instagram-section .container h2,.brand-section .container h2{
		font-size: 16px;
		letter-spacing: 0.2em;
		margin-bottom: 20px;
		font-family: "itc-avant-garde-gothic-pro", sans-serif;
	}
	.container h2{
		font-size: 16px;
		letter-spacing: 0.2em;
		margin-bottom: 20px;
		font-family: "garamond-premier-pro", serif;
	}
	
	.brand-section .container .etc {
		font-family: "itc-avant-garde-gothic-pro", sans-serif;
		font-size: 14px;
		font-weight: normal;
		letter-spacing: 0.5em;
		margin-bottom: 20px;
	}
	
	.container p{
		font-size: 20px;
		letter-spacing: 0.4em;
	}
	
	
	.instagram-section {
		padding: 10px 0;
		text-align: center;
	}
	
	.instagram-section .container {
		padding: 0 10px;
	}
	
	.brand-logos {
		justify-content: center;
		gap: 15px;
	}
	
	.realestate-image-text {
		font-size: 8vw;
	}
	.realestate-text-content h2 {
		font-size: 16px;
	}
	
	.brand-section{
		padding: 0;
	}
	.brand-logos {
		display: flex; /* Flexboxを有効化 */
		flex-wrap: wrap; /* 要素の折り返しを有効化 */
		justify-content: center; /* 全体を中央揃え */
		gap: 10px;
		padding-bottom: 40px;
	}
	
	/* 既存の .logo-item の flex-basis 指定は削除します */
	.logo-item {
		display: flex;
		justify-content: center;
		align-items: center;
	}
	
	.logo-item img {
		width: 100%;
		height: 100%;
		max-width: 150px;
		max-height: 150px;
	}
	
	.logo-item.long img {
		width: 100%;
		height: 100%;
		max-width: 150px;
		max-height: 150px;
	}

	
	/* ▼▼▼ ここからがレイアウト指定 ▼▼▼ */
	.logo-item:nth-child(-n+3) {
		flex-basis: calc(33.333% - 50px);
	}
	
	/* 4番目以降のロゴアイテム */
	.logo-item:nth-child(n+4) {
		flex-basis: calc(25% - 20px);
	}
	
	.realestate-section {
		padding: 60px 0 80px;
	}
	
	.realestate-text-content p {
		font-size: 16px;
		letter-spacing: 0.2em;
		margin-bottom: 20px;
		font-family: "garamond-premier-pro", serif;
	}
	
	.realestate-image-wrapper {
		width: 100%;
	}

}

@media (max-width: 480px) {
	.instagram-grid {
		grid-template-columns: repeat(4, 1fr);
		gap: 5px;
	}
}