/* ボタンブロック - フロントエンドスタイル */
.wp-block-medical-service-button {
	margin: 20px 0;
	text-align: center;
}

.withmind-button {
	display: block;
	width: 100%;
	padding: 12px 8px;
	background-color: transparent;
	border: 2px solid #000000;
	font-size: 1rem;
	font-weight: 600;
	color: #000000;
	cursor: pointer;
	transition: all 0.3s ease;
	font-family: inherit;
	text-align: center;
	text-decoration: none;
	position: relative;
	box-sizing: border-box;
	line-height: 1.6;
	transform: translateY(0);
	vertical-align: top;
	min-height: 48px;
	overflow: visible;
}

.withmind-button::after {
	content: '';
	position: absolute;
	bottom: -2px;
	left: -2px;
	right: -2px;
	height: 4px;
	background-color: rgba(0, 0, 0, 0.2);
	pointer-events: none;
	z-index: 0;
}

.withmind-button-text {
	display: inline-block;
	text-align: center;
	white-space: pre-wrap;
	word-wrap: break-word;
	overflow-wrap: break-word;
	position: relative;
	z-index: 1;
}

/* 改行時のスタイル調整 */
.withmind-button br {
	display: block;
	content: "";
	margin: 0;
	line-height: 1.6;
}

.withmind-button p {
	margin: 0;
	padding: 0;
	line-height: 1.6;
}

.withmind-button p + p {
	margin-top: 0.5em;
}

.withmind-button:hover {
	background-color: #000000;
	color: white;
	transform: translateY(2px);
}

.withmind-button:hover::after {
	background-color: rgba(0, 0, 0, 0.3);
	height: 4px;
}

.withmind-button:active {
	transform: translateY(4px);
}

.withmind-button:active::after {
	background-color: rgba(0, 0, 0, 0.3);
	height: 2px;
}

.withmind-button--primary {
	box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2), 0 2px 4px rgba(0, 0, 0, 0.12);
}

.withmind-button--primary:hover {
	box-shadow: 0 6px 8px rgba(0, 0, 0, 0.25), 0 3px 6px rgba(0, 0, 0, 0.15);
	opacity: 0.9;
}

.withmind-button--secondary:hover {
	box-shadow: 0 6px 8px rgba(0, 0, 0, 0.15), 0 3px 6px rgba(0, 0, 0, 0.1);
	opacity: 0.9;
}

.withmind-button--tertiary:hover {
	box-shadow: 0 6px 8px rgba(0, 0, 0, 0.15), 0 3px 6px rgba(0, 0, 0, 0.1);
	opacity: 0.9;
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
	.withmind-button {
		padding: 16px 20px;
		font-size: 0.9rem;
	}
}

