/**
 * 帝国No.1 SEO・CV最適化 — 追従LINE CTA
 * BEM: teikoku-cta__*
 */

.teikoku-cta {
	position: fixed;
	right: 24px;
	bottom: 24px;
	z-index: 99990;
	display: flex;
	align-items: flex-start;
	opacity: 0;
	transform: translateY(12px);
	pointer-events: none;
	transition: opacity 0.3s ease, transform 0.3s ease;
}

.teikoku-cta--visible {
	opacity: 1;
	transform: translateY(0);
	pointer-events: auto;
}

.teikoku-cta__button {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 13px 22px 13px 18px;
	background: #06C755; /* LINE公式カラー */
	color: #fff !important;
	text-decoration: none !important;
	border-radius: 999px;
	box-shadow: 0 6px 20px rgba(6, 199, 85, 0.38), 0 2px 6px rgba(0, 0, 0, 0.12);
	font-family: inherit;
	line-height: 1.3;
	transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.teikoku-cta__button:hover {
	transform: translateY(-2px);
	box-shadow: 0 10px 26px rgba(6, 199, 85, 0.45), 0 3px 8px rgba(0, 0, 0, 0.15);
	color: #fff !important;
}

.teikoku-cta__icon {
	flex-shrink: 0;
}

.teikoku-cta__label {
	display: flex;
	flex-direction: column;
}

.teikoku-cta__text {
	font-size: 15px;
	font-weight: 700;
	letter-spacing: 0.02em;
}

.teikoku-cta__subtext {
	font-size: 11px;
	font-weight: 400;
	opacity: 0.92;
	margin-top: 2px;
}

.teikoku-cta__close {
	margin-left: 6px;
	width: 24px;
	height: 24px;
	padding: 0;
	border: none;
	border-radius: 50%;
	background: rgba(0, 0, 0, 0.45);
	color: #fff;
	font-size: 15px;
	line-height: 24px;
	text-align: center;
	cursor: pointer;
	transition: background 0.15s ease;
}

.teikoku-cta__close:hover {
	background: rgba(0, 0, 0, 0.65);
}

/* モバイル */
@media (max-width: 600px) {
	.teikoku-cta {
		right: 12px;
		bottom: 14px;
	}

	.teikoku-cta__button {
		padding: 11px 18px 11px 15px;
	}

	.teikoku-cta__text {
		font-size: 13.5px;
	}

	.teikoku-cta__subtext {
		font-size: 10px;
	}
}

/* アニメーション抑制設定の尊重 */
@media (prefers-reduced-motion: reduce) {
	.teikoku-cta,
	.teikoku-cta__button {
		transition: none;
	}
}
