:root {
	--beige: #f5f0ea;
	--beige-mid: #ede6dc;
	--brown-light: #c9b89a;
	--brown: #8c7355;
	--btn-color: #a08060;
	--brown-dark: #5c4a32;
	--text: #3a3028;
	--text-light: #7a6a5a;
	--white: #fdfbf8;
	--border: #ddd5c8;
}

.wp-block-group:has(.price-table):not(:last-child) {
	margin-bottom: 5em;
}

.price-table-wrap .wp-block-heading {
	padding-bottom: 0.5em;
	margin-bottom: 1em;
	letter-spacing: 0.12em;
	border-bottom: 1px solid !important;
}

.wp-block-table.price-table table {
	width: 100%;
	border-collapse: separate;
	background-color: #fff;
	letter-spacing: 0;
}

.wp-block-table.price-table td,
.wp-block-table.price-table th {
	border: 0;
}

.wp-block-table.price-table table thead th {
	font-size: 0.84rem;
	font-weight: 400;
	white-space: nowrap;
	border-bottom: 1px solid var(--border);
}
.wp-block-table.price-table table thead th:first-child {
	width: 34%;
}
.wp-block-table.price-table table thead th:not(:first-child) {
	width: 22%;
	font-size: 0.78rem;
	text-align: right;
}
.wp-block-table.price-table table tr:hover {
	background-color: var(--beige);
	transition: background-color 0.4s;
}
.wp-block-table.price-table table th,
.wp-block-table.price-table table td {
	border: none;
}
.wp-block-table.price-table table th {
	padding: 9px 8px;
	font-size: 0.62rem;
	font-weight: 400;
	color: var(--brown-dark);
	text-align: left;
	background: var(--beige);
	border-bottom: 1px solid var(--border);
}
.wp-block-table.price-table table td:nth-child(1) {
	padding: 9px 8px;
	font-weight: 400;
	vertical-align: top;
}
.wp-block-table.price-table table td:not(:first-child) {
	padding: 9px 4px;
	font-size: 0.78rem;
	line-height: 1.5;
	vertical-align: middle;
	color: var(--text);
	text-align: right;
}
.wp-block-table.price-table table td .small {
	font-size: 75%;
}
.tag-grid {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	justify-content: center;
}
.tag-grid a {
	text-decoration: none;
	padding: 8px 16px;
	font-family: "Noto Sans JP", sans-serif;
	font-size: 0.8rem;
	font-weight: 300;
	color: var(--text-light);
	letter-spacing: 0.06em;
	cursor: pointer;
	background: var(--white);
	border: 1px solid var(--border);
	border-radius: 2px;
	transition: all 0.2s;
}
.tag-grid a:hover {
	color: var(--brown);
	border-color: var(--brown-light);
}

.price-table-wrap h3.wp-block-heading {
  margin-top: 3em;
}

.wp-block-table + .wp-block-table {
  margin-top: 3em;
}