.product-embed-section {
	--product-embed-section-bg: #1d64a0;
	--product-embed-section-accent: #e65100;
	box-sizing: border-box;
	padding-block: clamp(40px, 4.2vw, 80px);
	padding-inline: var(--wp--preset--spacing--50, clamp(30px, 5vw, 50px));
	background-color: var(--product-embed-section-bg);
	margin-top: 64px;
}

.product-embed-section__inner {
	width: 100%;
	max-width: 1200px;
	margin-inline: auto;
}

.product-embed-section__heading {
	margin-bottom: clamp(28px, 2.4vw, 46px);
	text-align: center;
}

.product-embed-section__heading-en {
	margin: 0 0 0.9em;
	font-size: clamp(0.8125rem, 0.85vw, 1rem);
	font-weight: 700;
	line-height: 1.3;
	letter-spacing: 0.08em;
	color: var(--product-embed-section-accent);
}

.product-embed-section__heading-ja {
	margin: 0;
	font-size: clamp(1.125rem, 1.3vw, 1.5rem);
	font-weight: 700;
	line-height: 1.45;
	color: #ffffff;
}

.product-embed-section__items {
	display: grid;
	gap: clamp(24px, 3vw, 40px);
}

.product-embed {
	--product-embed-accent: #e65100;
	--product-embed-text: #333333;
	--product-embed-spec-bg: #f3f3f3;
	display: grid;
	grid-template-columns: minmax(180px, 0.88fr) minmax(0, 2fr);
	grid-template-rows: auto 1fr;
	column-gap: clamp(20px, 3vw, 40px);
	row-gap: 0;
	align-items: start;
	color: var(--product-embed-text);
	background: #ffffff;
}

.product-embed__label {
  display: inline-block;
	margin: 0;
	padding: 0.55em 0.75em;
	font-size: 0.95em;
	font-weight: 700;
	line-height: 1.4;
	text-align: center;
	color: #ffffff;
	background-color: var(--product-embed-accent);
	border-radius: 0 0 10px 0;
}

.product-embed__thumbnail {
	grid-column: 1;
	grid-row: 2;
	min-width: 0;
	background: #ffffff;
	padding: 16px;
}

.product-embed__thumbnail img {
	display: block;
	width: 100%;
	height: auto;
	object-fit: contain;
}

.product-embed__body {
	grid-column: 2;
	grid-row: 2;
	display: flex;
	flex-direction: column;
	min-width: 0;
	padding: 32px;
	padding-top: 0.15em;
	padding-left: 0;
}

.product-embed:not(:has(.product-embed__label)) .product-embed__thumbnail,
.product-embed:not(:has(.product-embed__label)) .product-embed__body {
	grid-row: 1 / -1;
}

.product-embed__title {
	margin: 0 0 0.55em;
	font-size: clamp(1.35rem, 2vw, 1.75rem);
	font-weight: 700;
	line-height: 1.35;
	color: var(--product-embed-text);
}

.product-embed__description {
	margin: 0 0 1.1em;
	font-size: 0.95em;
	line-height: 1.75;
}

.product-embed__description > *:first-child {
	margin-top: 0;
}

.product-embed__description > *:last-child {
	margin-bottom: 0;
}

.product-embed__spec {
	width: 100%;
	margin: 0 0 1.35em;
	border-collapse: separate;
	border-spacing: 0 3px;
}

.product-embed__spec th,
.product-embed__spec td {
	padding: 0.7em 1em;
	font-size: 0.92em;
	line-height: 1.6;
	text-align: left;
	vertical-align: top;
	background-color: var(--product-embed-spec-bg);
}

.product-embed__spec th {
	width: 8.5em;
	font-weight: 700;
	white-space: nowrap;
}

.product-embed__spec td {
	font-weight: 500;
}

.product-embed__button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	position: relative;
	margin-top: auto;
	padding: 0.85em 6.25em 0.85em 5em;
	font-size: 1em;
	font-weight: 700;
	line-height: 1.4;
	text-align: center;
	text-decoration: none;
	color: #ffffff;
	background-color: var(--product-embed-accent);
	border-radius: 6px;
	transition: opacity 0.25s;
}

.product-embed__button:hover,
.product-embed__button:focus-visible {
	color: #ffffff;
	opacity: 0.85;
}

.product-embed__button-icon {
	display: flex;
	align-items: center;
	justify-content: center;
	position: absolute;
	right: 10px;
	top: 50%;
	width: 1.2em;
	height: 1.2em;
	border-radius: 50%;
	background-color: #ffffff;
	transform: translateY(-50%);
}

.product-embed__button-icon svg {
	display: block;
	width: 1em;
	height: 1em;
	fill: var(--product-embed-accent);
}

@media (max-width: 781px) {
	.product-embed {
		display: block;
	}

	.product-embed-section {
		margin-inline: calc(var(--wp--style--root--padding-right) * -1) !important;

	}

	.product-embed__thumbnail,
	.product-embed__body {
		padding: 16px;
	}

	.product-embed__spec th {
		width: 6.5em;
		white-space: normal;
	}
}