/* Shared service section: Instagram / latest news */
.c-service-news {
	padding: 0;
	background: #fff;
	color: #382710;
	font-family: "Zen Kaku Gothic New", "Noto Sans JP", sans-serif;
	overflow: clip;
}

.c-service-news *,
.c-service-news *::before,
.c-service-news *::after {
	box-sizing: border-box;
}

.c-service-news__surface {
	min-height: 1108px;
	padding: 160px 24px;
	border-radius: 144px 144px 0 0;
	background: linear-gradient(to bottom, #f5f3ef 0, #f5f3ef 1108px, #fff 1108px, #fff 100%);
}

.c-service-news--feed-hidden .c-service-news__surface {
	min-height: 0;
	padding-top: 120px;
	padding-bottom: 136px;
	background: #f5f3ef;
}

.c-service-news__inner {
	display: flex;
	flex-direction: column;
	align-items: center;
	width: min(850px, 100%);
	margin: 0 auto;
}

.c-service-news__header {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 6px;
}

.c-service-news__label {
	display: block;
	width: 166px;
	height: 48px;
}

.c-service-news__title-row {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 12px;
}

.c-service-news__icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 36px;
	height: 36px;
	flex: 0 0 36px;
	border-radius: 50%;
	background: #f5e04b;
	color: #fff;
}

.c-service-news__title-row h2 {
	margin: 0;
	color: #382710;
	font-size: 31px;
	font-weight: 700;
	letter-spacing: 0.05em;
	line-height: 1.6;
}

.c-service-news__lead {
	width: min(608px, 100%);
	margin-top: 22px;
	color: #382710;
	font-size: 13px;
	font-weight: 500;
	letter-spacing: 0.05em;
	line-height: 1.8;
	text-align: center;
}

.c-service-news__lead p {
	margin: 0;
	text-wrap: balance;
}

.c-service-news__lead p > span {
	display: block;
}

.c-service-news__lead p + p {
	margin-top: 8px;
}

.c-service-news__lead-heading {
	font-size: 18px;
	font-weight: 700;
}

.c-service-news__feed {
	width: min(782px, 100%);
	margin-top: 22px;
}

.c-service-news__preview {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 8px;
}

.c-service-news__preview-item {
	position: relative;
	display: block;
	min-width: 0;
	aspect-ratio: 1;
	overflow: hidden;
	background: #ece9e3;
}

.c-service-news__preview-item img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center bottom;
	transition: transform 0.3s ease;
}

.c-service-news__preview-item > iconify-icon {
	position: absolute;
	top: 10px;
	right: 10px;
	color: #fff;
	filter: drop-shadow(0 1px 3px rgba(0, 0, 0, 0.28));
}

.c-service-news__preview-item:hover img {
	transform: scale(1.025);
}

.c-service-news__actions {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	margin-top: 9px;
}

.c-service-news__actions--standalone {
	margin-top: 28px;
}

.c-service-news__actions--standalone .c-service-news__button {
	min-height: 44px;
	padding: 10px 20px;
	font-size: 14px;
}

.c-service-news__button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	min-height: 30px;
	padding: 6px 13px;
	border-radius: 4px;
	color: #fff;
	font-family: Inter, "Noto Sans JP", sans-serif;
	font-size: 12px;
	font-weight: 400;
	letter-spacing: 0;
	line-height: 1.5;
	text-decoration: none;
	transition: opacity 0.2s ease;
}

.c-service-news__button:hover {
	opacity: 0.82;
	color: #fff;
}

.c-service-news__button--more {
	background: #333;
}

.c-service-news__button--instagram {
	background: #408bd1;
}

/* Smash Balloon Instagram Feed */
.c-service-news__feed #sb_instagram,
.c-service-news__feed .sbi {
	width: 100% !important;
	max-width: none !important;
	padding: 0 !important;
}

.c-service-news__feed #sbi_images {
	display: grid !important;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 8px !important;
	padding: 0 !important;
}

.c-service-news__feed .sbi_item {
	width: 100% !important;
	padding: 0 !important;
}

.c-service-news__feed .sbi_photo_wrap {
	position: relative;
	width: 100%;
	padding-top: 100%;
	overflow: hidden;
}

.c-service-news__feed .sbi_photo {
	position: absolute !important;
	inset: 0 !important;
	display: block;
	width: 100% !important;
	height: 100% !important;
}

.c-service-news__feed .sbi_photo img {
	position: absolute;
	inset: 0;
	width: 100% !important;
	height: 100% !important;
	object-fit: cover;
}

.c-service-news__feed #sbi_load {
	display: flex !important;
	align-items: center;
	justify-content: center;
	gap: 8px;
	padding-top: 9px !important;
}

.c-service-news__feed .sbi_load_btn,
.c-service-news__feed .sbi_follow_btn a {
	min-height: 30px !important;
	margin: 0 !important;
	padding: 6px 13px !important;
	border-radius: 4px !important;
	font-size: 12px !important;
	line-height: 1.5 !important;
}

@media (max-width: 767px) {
	.c-service-news__surface {
		min-height: 0;
		padding: 88px 20px 104px;
		border-radius: 48px 48px 0 0;
		background: linear-gradient(to bottom, #f5f3ef 0, #f5f3ef calc(100% - 84px), #fff calc(100% - 84px), #fff 100%);
	}

	.c-service-news__label {
		width: 132px;
		height: auto;
	}

	.c-service-news__title-row {
		gap: 9px;
	}

	.c-service-news__icon {
		width: 32px;
		height: 32px;
		flex-basis: 32px;
	}

	.c-service-news__title-row h2 {
		font-size: 26px;
	}

	.c-service-news__lead {
		margin-top: 20px;
		font-size: 15px;
	}

	.c-service-news__feed {
		margin-top: 28px;
	}

	.c-service-news__preview,
	.c-service-news__feed #sbi_images {
		gap: 5px !important;
	}

	.c-service-news__preview-item > iconify-icon {
		top: 6px;
		right: 6px;
		font-size: 15px;
	}

	.c-service-news__actions,
	.c-service-news__feed #sbi_load {
		flex-wrap: wrap;
		margin-top: 12px;
	}

	.c-service-news__button,
	.c-service-news__feed .sbi_load_btn,
	.c-service-news__feed .sbi_follow_btn a {
		min-height: 44px !important;
		padding: 10px 13px !important;
		font-size: 12px !important;
	}
}

@media (max-width: 374px) {
	.c-service-news__surface {
		padding-right: 16px;
		padding-left: 16px;
	}

	.c-service-news__title-row h2 {
		font-size: 24px;
	}

	.c-service-news__actions {
		flex-direction: column;
	}

	.c-service-news__button {
		width: 200px;
	}
}
