.yusui-instagram-section {
	background: #fff;
	color: #173b52;
	overflow: clip;
	padding: clamp(72px, 8vw, 128px) 0;
}

.yusui-instagram-section *,
.yusui-instagram-section *::before,
.yusui-instagram-section *::after {
	box-sizing: border-box;
}

.yusui-instagram-section__inner {
	margin: 0 auto;
	max-width: 1200px;
	width: min(1200px, calc(100% - 48px));
}

.yusui-instagram-section__header {
	align-items: end;
	display: grid;
	gap: 32px;
	grid-template-columns: minmax(0, 1fr) auto;
	margin-bottom: 44px;
}

.yusui-instagram-section__eyebrow {
	color: #b7684d;
	font-family: Arial, sans-serif;
	font-size: 13px;
	font-weight: 700;
	letter-spacing: .2em;
	margin: 0 0 18px;
}

.yusui-instagram-section h2 {
	color: #173b52;
	font-family: "Noto Serif JP", "Yu Mincho", "Hiragino Mincho ProN", serif;
	font-size: clamp(34px, 4.2vw, 58px);
	font-weight: 600;
	letter-spacing: .03em;
	line-height: 1.45;
	margin: 0;
}

.yusui-instagram-section__header p:not(.yusui-instagram-section__eyebrow) {
	color: #4f5f69;
	font-size: 16px;
	line-height: 1.95;
	margin: 22px 0 0;
	max-width: 720px;
}

.yusui-instagram-section__button {
	align-items: center;
	background: #173b52;
	border-radius: 999px;
	color: #fff;
	display: inline-flex;
	font-size: 15px;
	font-weight: 700;
	justify-content: center;
	min-height: 54px;
	padding: 13px 26px;
	text-decoration: none;
	white-space: nowrap;
}

.yusui-instagram-section__feed {
	min-width: 0;
}

.yusui-instagram-section__feed img {
	height: auto;
	max-width: 100%;
}

.yusui-instagram-section--pending {
	background: #f8f1e9;
	border-bottom: 1px dashed #c8ad91;
	border-top: 1px dashed #c8ad91;
	padding: 34px 0;
}

.yusui-instagram-section--pending h2 {
	font-size: 28px;
}

.yusui-instagram-section--pending p:last-child {
	color: #66594f;
	margin-bottom: 0;
}

@media (max-width: 720px) {
	.yusui-instagram-section {
		padding: 72px 0;
	}

	.yusui-instagram-section__inner {
		width: min(1200px, calc(100% - 28px));
	}

	.yusui-instagram-section__header {
		align-items: stretch;
		grid-template-columns: minmax(0, 1fr);
		margin-bottom: 30px;
	}

	.yusui-instagram-section h2 {
		font-size: 34px;
	}

	.yusui-instagram-section__button {
		width: 100%;
	}

	/* Keep the homepage feed quick to scan on a phone: two compact rows
	 * of the newest eight posts, with the account button above for the rest. */
	.home .yusui-instagram-section__feed #sb_instagram #sbi_images {
		display: grid !important;
		gap: 3px !important;
		grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
	}

	.home .yusui-instagram-section__feed #sb_instagram .sbi_item {
		display: block !important;
		margin: 0 !important;
		width: auto !important;
	}

	.home .yusui-instagram-section__feed #sb_instagram .sbi_item:nth-child(n + 9) {
		display: none !important;
	}

	/* Reels remain identifiable without covering the thumbnail. */
	.home .yusui-instagram-section__feed #sb_instagram .sbi_type_video svg.sbi_playbtn,
	.home .yusui-instagram-section__feed #sb_instagram .sbi_type_video .sbi_playbtn,
	.home .yusui-instagram-section__feed #sb_instagram svg.sbi_playbtn,
	.home .yusui-instagram-section__feed #sb_instagram .sbi_playbtn {
		height: 20px !important;
		max-height: 20px !important;
		max-width: 20px !important;
		min-height: 20px !important;
		min-width: 20px !important;
		opacity: .72;
		width: 20px !important;
	}
}
