/* 2026-11-13 v09560: 共有ヘッダー右上の「無料相談を申し込む」を大きく・光らせる(角田「もうちょっと大きくして光らせたい」)。
 * これまで 11.5px・高さ42px。ボタンが出るのは 1181px〜(それ以下はハンバーガー)。
 * 既存の指定(style.css・article-shell.css)が !important なので、詳しさの高いセレクタ＋!important で上書きする。 */
@media (min-width: 1181px) {
	html body .sc-header--shared .sc-header__actions .sc-btn.sc-btn--primary {
		position: relative !important;
		isolation: isolate;
		overflow: hidden !important;
		min-height: 54px !important;
		max-width: none !important;
		padding: 0 24px 0 26px !important;
		border: 1px solid #0a5bc4 !important;
		border-radius: 6px !important;
		background: linear-gradient(135deg, #0d6be0 0%, #004594 100%) !important;
		color: #fff !important;
		font-size: 16px !important;
		letter-spacing: .03em !important;
		text-overflow: clip !important;
		box-shadow: 0 4px 14px rgba(0, 77, 165, .35);
		animation: scHdrCtaRing 4.5s ease-out 1s infinite;
		transition: transform .15s ease, filter .15s ease;
	}
	/* 白い光が左から右へ流れる(4.5秒のうち最初の0.8秒) */
	html body .sc-header--shared .sc-header__actions .sc-btn.sc-btn--primary::before {
		position: absolute;
		top: -2px;
		bottom: -2px;
		left: -60%;
		z-index: 1;
		width: 45%;
		background: linear-gradient(100deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, .6) 50%, rgba(255, 255, 255, 0) 100%);
		content: "";
		transform: skewX(-20deg);
		animation: scHdrCtaShine 4.5s ease-in-out 1s infinite;
		pointer-events: none;
	}
	html body .sc-header--shared .sc-header__actions .sc-btn.sc-btn--primary:hover,
	html body .sc-header--shared .sc-header__actions .sc-btn.sc-btn--primary:focus-visible {
		filter: brightness(1.1);
		transform: translateY(-1px);
		animation-play-state: paused;
	}
	@keyframes scHdrCtaShine {
		0% { left: -60%; }
		18%, 100% { left: 130%; }
	}
	/* 青い輪が外へ広がって消える(光が流れるのと同時) */
	@keyframes scHdrCtaRing {
		0% { box-shadow: 0 4px 14px rgba(0, 77, 165, .35), 0 0 0 0 rgba(13, 107, 224, .55); }
		35%, 100% { box-shadow: 0 4px 14px rgba(0, 77, 165, .35), 0 0 0 10px rgba(13, 107, 224, 0); }
	}
}
/* 1366〜1439px は 15px・高さ52px */
@media (min-width: 1366px) and (max-width: 1439px) {
	html body .sc-header--shared .sc-header__actions .sc-btn.sc-btn--primary {
		min-height: 52px !important;
		padding: 0 20px 0 22px !important;
		font-size: 15px !important;
		letter-spacing: .02em !important;
	}
}
/* 1181〜1365px はメニューとの空きが 18〜88px しかない(11/13 本番で測定)→ 控えめに */
@media (min-width: 1181px) and (max-width: 1365px) {
	html body .sc-header--shared .sc-header__actions .sc-btn.sc-btn--primary {
		min-height: 48px !important;
		padding: 0 11px 0 13px !important;
		font-size: 13.5px !important;
		letter-spacing: 0 !important;
	}
}
@media (min-width: 1181px) and (prefers-reduced-motion: reduce) {
	html body .sc-header--shared .sc-header__actions .sc-btn.sc-btn--primary,
	html body .sc-header--shared .sc-header__actions .sc-btn.sc-btn--primary::before {
		animation: none !important;
	}
	html body .sc-header--shared .sc-header__actions .sc-btn.sc-btn--primary::before {
		display: none;
	}
}
