.hm-consult-counter {
	box-sizing: border-box;
	color: #191919;
	font-family: "Noto Sans JP", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
	font-variant-numeric: tabular-nums;
}

.home-message-set__img > .hm-consult-counter[data-hm-auto] {
	position: absolute;
	top: 3.5%;
	left: 3%;
	z-index: 8;
	width: 94%;
}

.hm-consult-counter:not([hidden]) {
	display: block;
}

.hm-consult-counter {
	padding: 14px 18px 10px;
	border: 1px solid rgba(181, 163, 106, 0.72);
	border-radius: 4px;
	background:
		linear-gradient(115deg, rgba(255, 255, 255, 0.97), rgba(250, 248, 240, 0.93));
	box-shadow: 0 10px 28px rgba(31, 27, 17, 0.10);
	backdrop-filter: blur(3px);
}

.hm-consult-counter__header {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 12px;
	margin: 0 0 8px;
	padding: 0 0 7px;
	border-bottom: 1px solid rgba(181, 163, 106, 0.42);
}

.hm-consult-counter__title {
	margin: 0;
}

.hm-consult-counter__title {
	font-size: clamp(13px, 1.25vw, 17px);
	font-weight: 700;
	letter-spacing: 0.08em;
}

.hm-consult-counter__schedule {
	flex: none;
	color: #665b38;
	font-size: 10px;
	font-weight: 600;
	letter-spacing: 0.04em;
}

.hm-consult-counter__items {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 0;
}

.hm-consult-counter__item {
	display: grid;
	grid-template-rows: auto auto auto;
	align-content: start;
	justify-items: center;
	min-width: 0;
	padding: 0 10px;
	text-align: center;
}

.hm-consult-counter__item + .hm-consult-counter__item {
	border-left: 1px solid rgba(181, 163, 106, 0.34);
}

.hm-consult-counter__label {
	color: #5b5133;
	font-size: 11px;
	font-weight: 700;
}

.hm-consult-counter__value {
	display: inline-flex;
	align-items: baseline;
	justify-content: center;
	white-space: nowrap;
	font-size: 12px;
	font-weight: 700;
	line-height: 1;
}

.hm-consult-counter__value strong {
	margin-right: 2px;
	color: #9b843d;
	font-family: Inter, "Noto Sans JP", sans-serif;
	font-size: clamp(22px, 2.4vw, 34px);
	font-weight: 600;
	letter-spacing: -0.03em;
	line-height: 1.05;
}

.hm-consult-counter__item small {
	min-height: 1.35em;
	margin-top: 3px;
	color: #706a5a;
	font-size: 9px;
	line-height: 1.35;
}

@media (max-width: 767px) {
	.home-message-set__img > .hm-consult-counter[data-hm-auto] {
		top: 4%;
		left: 0;
		width: 100%;
	}

	.hm-consult-counter {
		padding: 9px 8px 7px;
		border-radius: 3px;
		box-shadow: 0 6px 18px rgba(31, 27, 17, 0.09);
	}

	.hm-consult-counter__header {
		gap: 6px;
		margin-bottom: 6px;
		padding-bottom: 5px;
	}

	.hm-consult-counter__title {
		font-size: 12px;
		letter-spacing: 0.04em;
	}

	.hm-consult-counter__schedule {
		font-size: 8px;
	}

	.hm-consult-counter__item {
		padding: 0 4px;
	}

	.hm-consult-counter__label {
		font-size: 9px;
	}

	.hm-consult-counter__value {
		font-size: 9px;
	}

	.hm-consult-counter__value strong {
		font-size: clamp(18px, 6vw, 23px);
	}

	.hm-consult-counter__item small {
		font-size: 8px;
	}

}

@media (prefers-reduced-motion: reduce) {
	.hm-consult-counter * {
		scroll-behavior: auto !important;
	}
}


@media (min-width: 768px) {
  .home-message-set__img > .hm-consult-counter[data-hm-auto] {
    top: 0;
    left: 0;
    width: 110%;
    transform: translate(-15%, calc(-100% - 10px));
  }
}

@media (min-width: 768px) {
  .home-message-set__img > .hm-consult-counter[data-hm-auto] {
    top: 0;
    left: 3%;
    width: 94%;
    transform: none;
  }
}

@media (min-width: 768px) {
  .home-message-set__img > .hm-consult-counter[data-hm-auto] {
    top: -90px;
    left: auto;
    right: -8%;
    width: 94%;
    transform: none;
  }
}

@media (max-width: 767px) {
  .home-message-set__img > .hm-consult-counter[data-hm-auto] {
    top: -45px;
  }
}

@media (max-width: 767px) {
  .home-message-set__img > .hm-consult-counter[data-hm-auto] {
    top: -75px;
  }
}