/* shared components */

.marker {
	background: linear-gradient(transparent 35%, var(--wp-color-highlight) 0%);
	display: inline;
	/*横に余白をつけたり、下にずらしたりするときは以下のpaddingを調整してください*/
	padding: 0 2px var(--wp-space-2xs);
}

.button {
	display: inline-block;
	width: 100%;
	height: var(--wp-control-height);
}

.button a {
	display: block;
	border-radius: var(--wp-radius-pill);
	width: 100%;
	height: var(--wp-control-height);
	line-height: var(--wp-control-line-height);
	text-align: center;
	font-size: var(--wp-font-size-md);
	font-weight: bold;
	overflow: hidden;
	text-decoration: none;
	transition:
		color var(--wp-duration-normal) var(--wp-easing-standard) 0s,
		background-color var(--wp-duration-normal) var(--wp-easing-standard) 0s,
		border-color var(--wp-duration-normal) var(--wp-easing-standard) 0s,
		opacity var(--wp-duration-normal) var(--wp-easing-standard) 0s;
	color: var(--wp-color-white);
	border: solid var(--wp-border-width-strong) var(--wp-color-text);
	background-color: var(--wp-color-text);
}

.button a:hover {
	border: solid var(--wp-border-width-strong) var(--wp-color-brand);
	background-color: var(--wp-color-brand);
}

.button--transparent {
	display: inline-block;
	height: var(--wp-control-height);
}

.button--transparent a {
	display: block;
	border-radius: var(--wp-radius-pill);
	width: 100%;
	height: var(--wp-control-height);
	line-height: var(--wp-control-line-height);
	text-align: center;
	font-size: var(--wp-font-size-md);
	font-weight: bold;
	overflow: hidden;
	text-decoration: none;
	transition:
		color var(--wp-duration-normal) var(--wp-easing-standard) 0s,
		background-color var(--wp-duration-normal) var(--wp-easing-standard) 0s,
		border-color var(--wp-duration-normal) var(--wp-easing-standard) 0s,
		opacity var(--wp-duration-normal) var(--wp-easing-standard) 0s;
	color: var(--wp-color-white);
	border: solid var(--wp-border-width-strong) var(--wp-color-white);
}

.button--transparent a:hover {
	color: var(--wp-color-white);
	background: var(--wp-color-brand-hover);
	border-color: var(--wp-color-brand-hover);
}

.button--gold {
	display: inline-block;
	height: var(--wp-control-height);
}

.button--gold a {
	display: block;
	border-radius: var(--wp-radius-pill);
	width: 100%;
	height: var(--wp-control-height);
	line-height: var(--wp-control-line-height);
	text-align: center;
	font-size: var(--wp-font-size-md);
	font-weight: bold;
	overflow: hidden;
	text-decoration: none;
	transition:
		color var(--wp-duration-normal) var(--wp-easing-standard) 0s,
		background-color var(--wp-duration-normal) var(--wp-easing-standard) 0s,
		border-color var(--wp-duration-normal) var(--wp-easing-standard) 0s,
		opacity var(--wp-duration-normal) var(--wp-easing-standard) 0s;
	color: var(--wp-color-white);
	border: solid var(--wp-border-width-strong) var(--wp-color-brand);
	background-color: var(--wp-color-brand);
}

.button--gold a:hover {
	color: var(--wp-color-white);
	background: var(--wp-color-brand-hover);
	border-color: var(--wp-color-brand-hover);
}

.button--gold--transparent {
	display: inline-block;
	height: var(--wp-control-height);
}

.button--gold--transparent a {
	display: block;
	border-radius: var(--wp-radius-pill);
	width: 100%;
	height: var(--wp-control-height);
	line-height: var(--wp-control-line-height);
	text-align: center;
	font-size: var(--wp-font-size-md);
	font-weight: bold;
	overflow: hidden;
	text-decoration: none;
	transition:
		color var(--wp-duration-normal) var(--wp-easing-standard) 0s,
		background-color var(--wp-duration-normal) var(--wp-easing-standard) 0s,
		border-color var(--wp-duration-normal) var(--wp-easing-standard) 0s,
		opacity var(--wp-duration-normal) var(--wp-easing-standard) 0s;
	color: var(--wp-color-brand);
	border: solid var(--wp-border-width-strong) var(--wp-color-brand);
}

.button--gold--transparent a:hover {
	color: var(--wp-color-white);
	background: var(--wp-color-brand-hover);
	border-color: var(--wp-color-brand-hover);
}

.button--black {
	width: 100%;
	display: inline-block;
	height: var(--wp-control-height);
}

.button--black a {
	display: block;
	border-radius: var(--wp-radius-pill);
	width: 100%;
	height: var(--wp-control-height);
	line-height: var(--wp-control-line-height);
	text-align: center;
	font-size: var(--wp-font-size-md);
	font-weight: bold;
	overflow: hidden;
	text-decoration: none;
	transition:
		color var(--wp-duration-normal) var(--wp-easing-standard) 0s,
		background-color var(--wp-duration-normal) var(--wp-easing-standard) 0s,
		border-color var(--wp-duration-normal) var(--wp-easing-standard) 0s,
		opacity var(--wp-duration-normal) var(--wp-easing-standard) 0s;
	color: var(--wp-color-white);
	background-color: var(--wp-color-text-strong);
}

.button--black a:hover {
	background: var(--wp-color-brand-hover);
	border-color: var(--wp-color-brand-hover);
}

.button--black input {
	display: block;
	border-radius: var(--wp-radius-pill);
	width: 100%;
	height: var(--wp-control-height);
	line-height: var(--wp-control-line-height);
	text-align: center;
	font-size: var(--wp-font-size-md);
	font-weight: bold;
	overflow: hidden;
	text-decoration: none;
	transition:
		color var(--wp-duration-normal) var(--wp-easing-standard) 0s,
		background-color var(--wp-duration-normal) var(--wp-easing-standard) 0s,
		border-color var(--wp-duration-normal) var(--wp-easing-standard) 0s,
		opacity var(--wp-duration-normal) var(--wp-easing-standard) 0s;
	color: var(--wp-color-white);
	width: 100%;
	height: var(--wp-control-height-lg);
	background-color: var(--wp-color-text-strong);
	cursor: pointer;
}

.button--black input:hover {
	background: var(--wp-color-brand-hover);
	border-color: var(--wp-color-brand-hover);
}

.button--blue {
	display: inline-block;
	height: var(--wp-control-height);
}

.button--blue a {
	display: block;
	border-radius: var(--wp-radius-pill);
	width: 100%;
	height: var(--wp-control-height);
	line-height: var(--wp-control-line-height);
	text-align: center;
	font-size: var(--wp-font-size-md);
	font-weight: bold;
	overflow: hidden;
	text-decoration: none;
	transition:
		color var(--wp-duration-normal) var(--wp-easing-standard) 0s,
		background-color var(--wp-duration-normal) var(--wp-easing-standard) 0s,
		border-color var(--wp-duration-normal) var(--wp-easing-standard) 0s,
		opacity var(--wp-duration-normal) var(--wp-easing-standard) 0s;
	color: var(--wp-color-white);
	background-color: var(--wp-color-link);
}

.button--blue a:hover {
	opacity: 0.8;
}

.button--blue input {
	display: block;
	border-radius: var(--wp-radius-pill);
	width: 100%;
	height: var(--wp-control-height);
	line-height: var(--wp-control-line-height);
	text-align: center;
	font-size: var(--wp-font-size-md);
	font-weight: bold;
	overflow: hidden;
	text-decoration: none;
	transition:
		color var(--wp-duration-normal) var(--wp-easing-standard) 0s,
		background-color var(--wp-duration-normal) var(--wp-easing-standard) 0s,
		border-color var(--wp-duration-normal) var(--wp-easing-standard) 0s,
		opacity var(--wp-duration-normal) var(--wp-easing-standard) 0s;
	color: var(--wp-color-white);
	width: 200px;
	background-color: var(--wp-color-link);
	cursor: pointer;
}

.button--blue input:hover {
	opacity: 0.8;
}

.button--inverse {
	display: inline-block;
	height: var(--wp-control-height);
}

.button--inverse a {
	display: block;
	border-radius: var(--wp-radius-pill);
	width: 100%;
	height: var(--wp-control-height);
	line-height: var(--wp-control-line-height);
	text-align: center;
	font-size: var(--wp-font-size-md);
	font-weight: bold;
	overflow: hidden;
	text-decoration: none;
	transition:
		color var(--wp-duration-normal) var(--wp-easing-standard) 0s,
		background-color var(--wp-duration-normal) var(--wp-easing-standard) 0s,
		border-color var(--wp-duration-normal) var(--wp-easing-standard) 0s,
		opacity var(--wp-duration-normal) var(--wp-easing-standard) 0s;
	color: var(--wp-color-text);
	border: solid var(--wp-border-width-strong) var(--wp-color-white);
	background-color: var(--wp-color-white);
}

.button--inverse a:hover {
	color: var(--wp-color-white);
	background: var(--wp-color-brand-hover);
	border-color: var(--wp-color-brand-hover);
}

.button--action {
	display: inline-block;
	height: var(--wp-control-height);
}

.button--action a {
	display: block;
	border-radius: var(--wp-radius-pill);
	width: 100%;
	height: var(--wp-control-height);
	line-height: var(--wp-control-line-height);
	text-align: center;
	font-size: var(--wp-font-size-md);
	font-weight: bold;
	overflow: hidden;
	text-decoration: none;
	transition:
		color var(--wp-duration-normal) var(--wp-easing-standard) 0s,
		background-color var(--wp-duration-normal) var(--wp-easing-standard) 0s,
		border-color var(--wp-duration-normal) var(--wp-easing-standard) 0s,
		opacity var(--wp-duration-normal) var(--wp-easing-standard) 0s;
	color: var(--wp-color-white);
	border: solid var(--wp-border-width-strong) var(--wp-color-white);
}

.button--action a:hover {
	color: var(--wp-color-white);
	background: var(--wp-color-brand-hover);
	border-color: var(--wp-color-brand-hover);
}

@media screen and (max-width: 767px) {
	.button {
		display: inline-block;
	}

	.button--blue {
		width: 100%;
	}

	.button--blue input {
		width: 100%;
	}
}

@media (prefers-reduced-motion: reduce) {
	.button a,
	.button--transparent a,
	.button--gold a,
	.button--gold--transparent a,
	.button--black a,
	.button--black input,
	.button--blue a,
	.button--blue input,
	.button--inverse a,
	.button--action a {
		transition: none;
	}
}
