@charset "UTF-8";

/* =========================================================
 * 福恩ボタン
 * SWELLボタンの余白・サイズ変数をそのまま使う
 * （詳細パネルの S / 通常 / L / カスタム幅・文字サイズが効く）
 * ========================================================= */

:is(
	.swell-block-button.is-style-fuen,
	.swell-block-button.fuen-btn,
	.wp-block-button.is-style-fuen,
	.wp-block-button.fuen-btn,
	[data-type="loos/button"].is-style-fuen,
	.block-editor-block-list__block.is-style-fuen,
	.fuen-btn-link
) {
	--fuen-btn-gold: #e2c795;
	--fuen-btn-text: #6f6f6f;
}

:is(
	.swell-block-button.is-style-fuen,
	.swell-block-button.fuen-btn,
	.wp-block-button.is-style-fuen,
	.wp-block-button.fuen-btn,
	[data-type="loos/button"].is-style-fuen,
	.block-editor-block-list__block.is-style-fuen
) :is(.swell-block-button__link, .wp-block-button__link),
.fuen-btn-link {
	display: inline-flex;
	align-items: center;
	justify-content: space-between;
	box-sizing: border-box;
	width: var(--the-width, auto);
	min-width: var(--the-min-width, 64%);
	max-width: 100%;
	height: auto;
	padding: var(--the-padding, 0.75em 1.5em) !important;
	padding-right: 0.65em !important;
	background: #ffffff !important;
	border: 3px solid var(--fuen-btn-gold) !important;
	border-radius: 0 !important;
	box-shadow: none !important;
	color: var(--fuen-btn-text) !important;
	font-family: 'Noto Serif JP', serif !important;
	font-style: normal;
	font-weight: 700 !important;
	font-size: 1em;
	line-height: 1.5;
	letter-spacing: var(--swl-letter_spacing, 1px);
	text-align: left;
	text-decoration: none !important;
	white-space: nowrap;
	overflow: visible;
	cursor: pointer;
	-webkit-appearance: none;
	appearance: none;
	transition: opacity 0.25s ease, box-shadow 0.25s ease;
}

:is(
	.swell-block-button.is-style-fuen,
	.swell-block-button.fuen-btn,
	.wp-block-button.is-style-fuen,
	.wp-block-button.fuen-btn,
	[data-type="loos/button"].is-style-fuen,
	.block-editor-block-list__block.is-style-fuen
) :is(.swell-block-button__link, .wp-block-button__link)::before,
.fuen-btn-link::before {
	content: none !important;
	display: none !important;
	animation: none !important;
}

:is(
	.swell-block-button.is-style-fuen,
	.swell-block-button.fuen-btn,
	[data-type="loos/button"].is-style-fuen
) .__icon {
	display: none !important;
}

:is(
	.swell-block-button.is-style-fuen,
	.swell-block-button.fuen-btn,
	.wp-block-button.is-style-fuen,
	.wp-block-button.fuen-btn,
	[data-type="loos/button"].is-style-fuen,
	.block-editor-block-list__block.is-style-fuen
) :is(.swell-block-button__link, .wp-block-button__link)::after,
.fuen-btn-link::after {
	content: "" !important;
	display: block !important;
	flex-shrink: 0;
	width: 2.2em;
	height: 2.2em;
	margin: 0 0 0 0.75em !important;
	border: 0 !important;
	border-radius: 50%;
	background-color: var(--fuen-btn-gold) !important;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 48 48'%3E%3Cpath fill='%23FFFFFF' d='M44 27H4v-3h36.7l-5.8-6.5 2.2-2 8 9z'/%3E%3C/svg%3E") !important;
	background-repeat: no-repeat !important;
	background-position: center !important;
	background-size: 1em 1em !important;
	animation: none !important;
	transform: none !important;
	opacity: 1 !important;
	left: auto !important;
	top: auto !important;
	right: auto !important;
	bottom: auto !important;
	position: static !important;
}

:is(
	.swell-block-button.is-style-fuen,
	.swell-block-button.fuen-btn,
	.wp-block-button.is-style-fuen,
	.wp-block-button.fuen-btn,
	[data-type="loos/button"].is-style-fuen,
	.block-editor-block-list__block.is-style-fuen
) :is(.swell-block-button__link, .wp-block-button__link):hover,
.fuen-btn-link:hover,
.recruit-card:hover .fuen-btn-link {
	background: #ffffff !important;
	color: var(--fuen-btn-text) !important;
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1), 0 12px 24px -12px rgba(0, 0, 0, 0.2);
	opacity: 1;
	transform: none !important;
}

/* ---- 白枠ボタン：見た目は白枠のまま、テキスト左・矢印右の位置だけ福恩ボタンに合わせる ---- */
.swell-block-button.white-btn .swell-block-button__link {
	display: inline-flex;
	align-items: center;
	justify-content: space-between;
	padding: var(--the-padding, 0.75em 1.5em) !important;
	padding-right: 0.65em !important;
	text-align: left;
}

.swell-block-button.white-btn .swell-block-button__link::after {
	content: "";
	display: block;
	flex-shrink: 0;
	width: 2.2em;
	height: 2.2em;
	margin: 0 0 0 0.75em !important;
	background-color: currentColor;
	-webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 48 48'%3E%3Cpath fill='%23000' d='M44 27H4v-3h36.7l-5.8-6.5 2.2-2 8 9z'/%3E%3C/svg%3E");
	mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 48 48'%3E%3Cpath fill='%23000' d='M44 27H4v-3h36.7l-5.8-6.5 2.2-2 8 9z'/%3E%3C/svg%3E");
	-webkit-mask-repeat: no-repeat;
	mask-repeat: no-repeat;
	-webkit-mask-position: center;
	mask-position: center;
	-webkit-mask-size: 1em 1em;
	mask-size: 1em 1em;
}

@media (max-width: 999px) {
	:is(
		.swell-block-button.is-style-fuen,
		.swell-block-button.fuen-btn,
		.wp-block-button.is-style-fuen,
		.wp-block-button.fuen-btn,
		[data-type="loos/button"].is-style-fuen,
		.block-editor-block-list__block.is-style-fuen
	) :is(.swell-block-button__link, .wp-block-button__link),
	.fuen-btn-link {
		min-width: min(var(--the-min-width, 64%), 100%);
		max-width: 100%;
		white-space: normal;
	}
}

@media (max-width: 600px) {
	:is(
		.swell-block-button.is-style-fuen,
		.swell-block-button.fuen-btn,
		.wp-block-button.is-style-fuen,
		.wp-block-button.fuen-btn,
		[data-type="loos/button"].is-style-fuen,
		.block-editor-block-list__block.is-style-fuen
	):not(.-size-s):not(.-size-custom) :is(.swell-block-button__link, .wp-block-button__link) {
		width: 100%;
		min-width: 0;
	}
}
