.wp-block-button.is-style-outline .wp-element-button:hover {
	background-color: var(
		--wp--preset--color--custom-gray-light
	);
}

/* 矢印付きボタン（Default） */
.wp-block-button.is-style-default-arrow-button
	.wp-element-button {
	display: inline-flex;
	align-items: center;
	gap: var(--wp--preset--spacing--16);
	padding: var(--wp--preset--spacing--16)
		var(--wp--preset--spacing--40);
	border: 2px solid var(--wp--preset--color--custom-gray);
	background: var(--wp--preset--color--custom-white);
	color: var(--wp--preset--color--custom-black);

	&::after {
		content: "";
		flex-shrink: 0;
		width: 24px;
		aspect-ratio: 1;
		background: url(../image/block/button/default-arrow-button.svg)
			no-repeat center / contain;
	}

	&:hover {
		background-color: var(
			--wp--preset--color--custom-gray-light
		);

		&::after {
			background-image: url(../image/block/button/default-arrow-button--hover.svg);
		}
	}
}
/* 矢印付きボタン（Priority） */
.wp-block-button.is-style-priority-arrow-button
	.wp-element-button {
	display: inline-flex;
	align-items: center;
	gap: var(--wp--preset--spacing--16);
	padding: var(--wp--preset--spacing--16)
		var(--wp--preset--spacing--40);
	border: 2px solid var(--wp--preset--color--custom-red);
	background: var(--wp--preset--color--custom-red);
	color: var(--wp--preset--color--custom-white);

	&::after {
		content: "";
		flex-shrink: 0;
		width: 24px;
		aspect-ratio: 1;
		background: url(../image/block/button/priority-arrow-button.svg)
			no-repeat center / contain;
	}

	&:hover {
		background-color: var(
			--wp--preset--color--custom-red-dark
		);
		border-color: var(--wp--preset--color--custom-red-dark);

		&::after {
			background-image: url(../image/block/button/priority-arrow-button--hover.svg);
		}
	}
}

.wp-block-post-terms.is-style-category_badge {
	display: flex;
	gap: 8px;
	flex-wrap: wrap;
}

.wp-block-post-terms.is-style-category_badge
	a:where(:not(.wp-element-button)) {
	display: block;
	padding: 4px 8px;
	border-radius: 4px;
	color: var(--wp--preset--color--custom-white);
	background-color: var(--wp--preset--color--custom-blue);
	/* font-size: var(--wp--preset--font-size--small); */
	text-decoration: none;
}

.wp-block-post-terms.is-style-category_badge
	.wp-block-post-terms__separator {
	display: none;
}

.wp-block-query-pagination {
}

.wp-block-query-pagination
	.wp-block-query-pagination-previous {
	margin-right: var(--wp--preset--spacing--30);
}

.wp-block-query-pagination .wp-block-query-pagination-next {
	margin-left: var(--wp--preset--spacing--30);
}

.wp-block-query-pagination
	.wp-block-query-pagination-previous-arrow,
.wp-block-query-pagination
	.wp-block-query-pagination-next-arrow {
	margin: 0;
}

.wp-block-query-pagination-numbers {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
}

.page-numbers {
	display: grid;
	place-items: center;
	min-width: 32px;
	height: 32px;
	border-radius: 50%;
	background: var(--wp--preset--color--custom-gray-light);
	text-decoration: none;

	&.current {
		background-color: var(--wp--preset--color--custom-red);
		color: var(--wp--preset--color--custom-white);
		font-weight: 700;
	}
}

.wp-block-search__input {
	border-color: var(
		--wp--preset--color--custom-gray-more-light
	);
	border-width: 2px;
	background: var(
		--wp--preset--color--custom-gray-more-light
	);
	padding: var(--wp--preset--spacing--12);
	border-radius: 8px;
}

.wp-block-search__button .wp-element-button {
}

:root .wp-block-search__button {
	padding: var(--wp--preset--spacing--12)
		var(--wp--preset--spacing--24);
	white-space: nowrap;
	border-radius: 8px;
}

.wp-block-categories-list {
	display: grid;
	gap: var(--wp--preset--spacing--12);
	margin: 0;
	padding: 0;
}

.wp-block-categories-list .cat-item {
	list-style: none;
	padding-left: 18px;
	position: relative;
}

.wp-block-categories-list .cat-item::before {
	content: "";
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: var(--wp--preset--color--custom-green);
	position: absolute;
	left: 0;
	top: 50%;
	transform: translateY(-50%);
}

.wp-block-categories-list .cat-item a {
	text-decoration: none;
}

/*********************************
	to-top
*********************************/
.scroll-top {
  align-items: center;
  background-color:  var(--wp--preset--color--custom-green);
  border-radius: 50%;
  bottom: 16px;
  color: #fff;
  cursor: pointer;
  display: flex;
  height: 48px;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  position: fixed;
  right: 16px;
  transition: opacity 0.4s ease,visibility 0.4s ease;
  visibility: hidden;
  width: 48px;
  z-index: 9999
}
.scroll-top svg {
  height: 20px;
  width: 20px
}
.scroll-top.show {
  opacity: 1;
  pointer-events: auto;
  visibility: visible
}

.snow-monkey-form {
}

.smf-form > .smf-item + .smf-item {
	margin-top: var(--wp--preset--spacing--30);
}

/* テキスt（1行） */
.smf-form .smf-text-control__control {
	width: 100%;
	padding: 24px 20px;
	border: none;
	border-radius: 8px;
	background: var(
		--wp--preset--color--custom-gray-more-light
	);
	font-size: 16px;
	font-weight: 500;
	box-shadow: none;
}

/* テキストエリア */
.smf-form .smf-textarea-control__control {
	width: 100%;
	height: 150px;
	padding: 24px 20px;
	border: none;
	border-radius: 8px;
	background: var(
		--wp--preset--color--custom-gray-more-light
	);
	font-size: 16px;
	font-weight: 500;
	box-shadow: none;
}

/* セレクトボックス */
.smf-form .smf-select-control {
	display: block;
}

.smf-form .smf-select-control__control {
	display: block;
	width: 100%;
	padding: 24px 70px 24px 20px;
	border: none;
	border-radius: 8px;
	background: var(
			--wp--preset--color--custom-gray-more-light
		)
		url(../image/block/form/select-icon.svg) no-repeat center
		right 0 / auto 100%;
	font-size: 16px;
	font-weight: 500;
	appearance: none;
	color: inherit;
}

/* ラジオボタン */
.smf-radio-buttons-control__control {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 20px;

	@media (min-width: 768px) {
		flex-direction: row;
		align-items: center;
		gap: 24px;
	}
}

.smf-form .smf-radio-button-control {
	align-items: center;
	gap: 10px;
}

.smf-form .smf-radio-button-control__control {
	position: relative;
	width: 20px;
	height: 20px;
	margin: 0;
	border: none;
	border-radius: 50%;
	background: #e8e8e8;
	appearance: none;
}

.smf-form .smf-radio-button-control__control::before {
	content: "";
	position: absolute;
	top: 4px;
	left: 4px;
	width: 12px;
	height: 12px;
	border-radius: 50%;
	background-color: var(--wp--preset--color--custom-red);
	opacity: 0;
	transition: opacity 0.3s;
}

.smf-form .smf-radio-button-control__control:checked {
	background-color: #e8e8e8;
	border: none;
}

/* .smf-form .smf-radio-button-control__control:checked + .smf-radio-button-control__label {
	font-weight: 700;
} */

.smf-form
	.smf-radio-button-control__control:checked::before {
	opacity: 1;
}

.smf-radio-button-control__label {
}

/* チェックボックス */
.smf-form .smf-checkbox-control {
	display: flex;
	justify-content: center;
	gap: 12px;
}

.smf-form .smf-checkbox-control__control {
	position: relative;
	width: 28px;
	height: 28px;
	margin: 0;
	border: 1px solid #dcdcdc;
	border-radius: 4px;
	background: #fff;
	appearance: none;
}

.smf-form .smf-checkbox-control__control::before {
	content: "";
	position: absolute;
	top: 8.65px;
	left: 6.54px;
	width: 14.91px;
	height: 10.69px;
	background: url(../image/block/form/check-icon.svg)
		no-repeat center / contain;
	transform: none;
	opacity: 0;
	transition: opacity 0.3s;
}

.smf-form .smf-checkbox-control__control:checked {
	background: #fff;
	border-color: #dcdcdc;
}

.smf-form .smf-checkbox-control__control:checked::before {
	opacity: 1;
}

.smf-item {
	display: grid;
	gap: 20px;
}

.smf-item__label__text {
	font-size: var(--wp--preset--font-size--semi-large);
	font-weight: 700;
}

.smf-item:has([data-validations*="required"])
	.smf-item__label {
	display: flex;
	align-items: center;
	gap: 0.75rem;

	&::after {
		content: "必須";
		font-size: var(--wp--preset--font-size--small);
		padding: 8px;
		background: var(--wp--preset--color--custom-red-dark);
		border-radius: 4px;
		color: #fff;
	}
}

.smf-text-control__control {
}

/* ボタン */
.smf-action {
	text-align: center;
}

.smf-action .smf-button-control__control {
	display: inline-flex;
	gap: var(--wp--preset--spacing--16);
	align-items: center;
	margin-top: 40px;
	padding: var(--wp--preset--spacing--16)
		var(--wp--preset--spacing--40);
	text-align: left;
	border-radius: 60px;
	background: var(--wp--preset--color--custom-red);
	border-width: 0;
	color: var(--wp--preset--color--custom-white);
	font-family: inherit;
	font-size: inherit;
	font-style: normal;
	font-weight: 700;
	line-height: inherit;

	&::after {
		content: "";
		flex-shrink: 0;
		width: 24px;
		aspect-ratio: 1;
		background: url(../image/block/button/priority-arrow-button.svg)
			no-repeat center / contain;
	}
}

/* フッタープライバシーポリシー */
p.my-policy a {
	font-size: var(--wp--preset--font-size--small);
}

/* pcではtelかけられないように */
@media (min-width: 768px) {
	a[href^="tel:"] {
		pointer-events: none;
		text-decoration: none; /* 任意。リンクっぽく見せたくない場合 */
		color: inherit; /* 任意。色も統一したい場合 */
	}
}

/* header-nav font-weight */
.wp-block-navigation-item__label {
	font-weight: 700;
}