/**
 * 画面下固定 CTA
 * PC は depost-fixed-cta-dock で背景 #222 を一枚にし、fixed 要素＋グラデ擬似で出る白筋を防ぐ。
 */

.depost-fixed-cta-dock--pc {
	display: none;
}

.depost-fixed-cta--pc {
	display: none;
}

/* PC スペーサー — 固定バー実高に合わせる（バーを細くしたらここも下げる） */
.depost-fixed-cta__spacer--pc {
	display: none;
	height: calc(100px + env(safe-area-inset-bottom, 0px));
}

/* SP スペーサー — PC同型ボタンバー＋セーフエリア */
.depost-fixed-cta__spacer--sp {
	display: none;
	height: calc(76px + env(safe-area-inset-bottom, 0px));
}

@media (min-width: 1024px) {
	.depost-fixed-cta-dock--pc {
		display: block;
		position: fixed;
		bottom: 0;
		left: 0;
		right: 0;
		width: auto;
		z-index: 9999;
		box-sizing: border-box;
		padding-bottom: env(safe-area-inset-bottom, 0px);
		background-color: #1a2e4a;
		border-top: none;
		border-right: 0;
		border-bottom: 0;
		border-left: 0;
		box-shadow: none;
	}

	.depost-fixed-cta-dock--pc::before {
		content: none;
	}

	.depost-fixed-cta--pc {
		display: block;
		position: static;
		left: auto;
		right: auto;
		bottom: auto;
		width: 100%;
		z-index: auto;
		background: transparent;
		padding: 6px 1.5% 8px;
		box-sizing: border-box;
		overflow: visible;
		box-shadow: none;
		border-radius: 0 !important;
	}

	.depost-fixed-cta__spacer--pc {
		display: block;
	}

	.depost-fixed-cta--sp {
		display: none !important;
	}

	.depost-fixed-cta__spacer--sp {
		display: none !important;
	}
}

/* 3要素を中央に集めて表示（電話番号ブロックが画面中心に） */
.depost-fixed-cta__inner {
	position: relative;
	z-index: 1;
	width: 100%;
	margin: 0 auto;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: clamp(12px, 2vw, 28px);
	box-sizing: border-box;
	font-weight: 700;
	color: #fff;
}

/* labo 用は LP と同一レイアウトのため追加指定不要 */

.depost-fixed-cta__left--labo {
	text-align: right;
	align-self: center;
}

.depost-fixed-cta__site-lead {
	margin: 0;
	font-family: "Noto Sans JP", sans-serif;
	font-size: clamp(11px, 0.95vw, 13px);
	font-weight: 700;
	line-height: 1.45;
	color: #fff;
	letter-spacing: 0.02em;
}

.depost-fixed-cta__hours--labo {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	align-items: baseline;
	gap: 0.2rem 0.45rem;
	font-weight: 500;
}

.depost-fixed-cta__hours--labo .depost-fixed-cta__hours-time {
	font-weight: 700;
	letter-spacing: 0.02em;
}

.depost-fixed-cta__hours--labo .depost-fixed-cta__hours-day {
	opacity: 0.95;
}

.depost-fixed-cta-dock--pc:has(.depost-fixed-cta__inner--labo) + .depost-fixed-cta__spacer--pc {
	height: calc(108px + env(safe-area-inset-bottom, 0px));
}

.depost-fixed-cta__left {
	text-align: right;
	line-height: 1.02;
	font-family: "Noto Sans JP", sans-serif;
	font-weight: 700;
	color: #fff;
}

.depost-fixed-cta__lead--lg {
	font-size: clamp(28px, 2.6vw, 34px);
	color: #fff;
}

.depost-fixed-cta__lead--sm {
	font-size: clamp(21px, 2vw, 24px);
	color: #fff;
}

.depost-fixed-cta__center {
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
	gap: 1px;
	line-height: 1.15;
	min-width: 0;
}

/* キャッチ行 */
.depost-fixed-cta__copy {
	margin: 0;
	padding: 0 0.5rem;
	font-family: "Noto Sans JP", sans-serif;
	font-size: clamp(13px, 1.15vw, 15px);
	font-weight: 700;
	color: #fff;
	line-height: 1.35;
	white-space: nowrap;
	overflow: visible;
}

/* 電話番号 */
.depost-fixed-cta__tel {
	display: block;
	margin: 0;
	font-family: Roboto, "Noto Sans JP", "Helvetica Neue", Arial, sans-serif;
	font-size: clamp(36px, 3.8vw, 48px);
	font-weight: 700;
	line-height: 1;
	color: #fff;
	text-decoration: none;
	-webkit-tap-highlight-color: transparent;
}

.depost-fixed-cta__tel:hover,
.depost-fixed-cta__tel:focus-visible {
	opacity: 0.85;
}

.depost-fixed-cta__hours {
	margin: 0;
	font-family: "Noto Sans JP", sans-serif;
	font-size: clamp(11px, 1vw, 13px);
	font-weight: 400;
	color: #fff;
	line-height: 1.15;
}

/* フッターCTA: .depost-lp-cta-pc-right center — メールボタン幅を潰さない */
.depost-fixed-cta__right {
	display: flex;
	justify-content: center;
	align-items: center;
	min-width: 0;
}

@media (min-width: 1024px) {
	.depost-fixed-cta__right {
		min-width: min-content;
		justify-self: center;
	}
}

@keyframes depost-mail-cta-float {
	0%,
	100% {
		transform: translate3d(0, 0, 0);
	}

	50% {
		transform: translate3d(0, -2px, 0);
	}
}

@keyframes depost-mail-cta-gradient {
	0%,
	100% {
		background-position: 0% 50%;
	}

	50% {
		background-position: 100% 50%;
	}
}

@keyframes depost-mail-cta-shine {
	0%,
	100% {
		transform: translate3d(-185%, 0, 0) skewX(-16deg);
		opacity: 0;
	}

	6% {
		opacity: 0;
	}

	12% {
		transform: translate3d(-40%, 0, 0) skewX(-16deg);
		opacity: 0.45;
	}

	22% {
		transform: translate3d(285%, 0, 0) skewX(-16deg);
		opacity: 0;
	}
}

@keyframes depost-mail-cta-icon-pulse {
	0%,
	100% {
		transform: scale(1);
	}

	50% {
		transform: scale(1.035);
	}
}

@keyframes depost-mail-cta-sub-glow {
	0%,
	100% {
		opacity: 0.84;
	}

	50% {
		opacity: 1;
	}
}

/*
 * 固定CTA メールボタン：ヘッダー LINE と同型 CTA（控えめな角丸）。
 * 色はメール／フォーム向けのブルー系グラデーション。
 */
.depost-fixed-cta-dock--pc {
	--depost-mail-btn-fs: 16px;
	--depost-mail-btn-sub-fs: 12px;
	--depost-mail-icon-size: 22px;
	--depost-mail-icon-badge: 42px;
	--depost-mail-btn-pad-x: 18px;
	--depost-mail-btn-pad-y: 6px;
	--depost-mail-btn-min-h: 56px;
	--depost-mail-btn-radius: 8px;
	--depost-mail-blue: #8b1a2e;
	--depost-mail-blue-dark: #6e1424;
	--depost-mail-blue-glow: rgba(139, 26, 46, 0.25);
}

.depost-fixed-cta__mail {
	position: relative;
	z-index: 1;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	overflow: hidden;
	min-height: var(--depost-mail-btn-min-h);
	padding: var(--depost-mail-btn-pad-y) var(--depost-mail-btn-pad-x) var(--depost-mail-btn-pad-y) calc(var(--depost-mail-btn-pad-x) - 2px);
	border-radius: var(--depost-mail-btn-radius, 8px);
	background: var(--depost-mail-blue);
	border: 1px solid transparent;
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
	text-decoration: none;
	color: #fff !important;
	transition: background-color 0.2s ease, box-shadow 0.2s ease;
	-webkit-tap-highlight-color: transparent;
	box-sizing: border-box;
	flex-shrink: 0;
}

.depost-fixed-cta__mail::before {
	content: none;
}

.depost-fixed-cta__mail::after {
	content: none;
}

.depost-fixed-cta__mail:hover,
.depost-fixed-cta__mail:focus-visible {
	background: var(--depost-mail-blue-dark);
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
}

.depost-fixed-cta__mail:focus-visible {
	outline: 2px solid var(--depost-mail-blue);
	outline-offset: 3px;
}

@media (max-width: 1023px) {
	.depost-fixed-cta__mail {
		max-width: 100%;
	}
}

.depost-fixed-cta__mail-icon-wrap {
	position: relative;
	z-index: 2;
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
	width: var(--depost-mail-icon-badge);
	height: var(--depost-mail-icon-badge);
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.96);
	box-shadow: none;
}

.depost-fixed-cta__mail-icon {
	width: var(--depost-mail-icon-size);
	height: var(--depost-mail-icon-size);
	flex-shrink: 0;
	color: var(--depost-mail-blue);
}

.depost-fixed-cta__mail-text {
	position: relative;
	z-index: 2;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	justify-content: center;
	gap: 2px;
	line-height: 1.2;
	text-align: left;
	flex-shrink: 0;
}

.depost-fixed-cta__mail-line1 {
	font-family: "Noto Sans JP", sans-serif;
	font-size: var(--depost-mail-btn-fs);
	font-weight: 800;
	letter-spacing: 0.04em;
	color: #fff;
	white-space: nowrap;
	font-feature-settings: "palt" 1;
	line-height: 1.2;
	opacity: 1;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	text-shadow: 0 1px 0 rgba(0, 0, 0, 0.22), 0 1px 4px rgba(0, 0, 0, 0.16);
}

.depost-fixed-cta__mail-line2 {
	font-family: "Noto Sans JP", sans-serif;
	font-size: var(--depost-mail-btn-sub-fs);
	font-weight: 700;
	letter-spacing: 0.05em;
	color: #fff;
	opacity: 1;
	white-space: nowrap;
	line-height: 1.15;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	text-shadow: 0 1px 0 rgba(0, 0, 0, 0.2), 0 1px 3px rgba(0, 0, 0, 0.14);
}

.depost-fixed-cta__mail:hover .depost-fixed-cta__mail-icon-wrap,
.depost-fixed-cta__mail:focus-visible .depost-fixed-cta__mail-icon-wrap {
	animation: none;
}

@media (prefers-reduced-motion: reduce) {
	.depost-fixed-cta__mail {
		animation: none;
		transition: none;
		will-change: auto;
	}

	.depost-fixed-cta__mail::before {
		animation: none;
		display: none;
		will-change: auto;
	}

	.depost-fixed-cta__mail-icon-wrap {
		animation: none;
		will-change: auto;
	}

	.depost-fixed-cta__mail:hover,
	.depost-fixed-cta__mail:focus-visible {
		transform: none;
		box-shadow:
			0 6px 20px rgba(47, 111, 212, 0.46),
			inset 0 1px 0 rgba(255, 255, 255, 0.3);
	}
}

/* SP — 白バー＋PC同型CTA（電話・LINE） */
@media (max-width: 1023px) {
	.depost-fixed-cta--sp {
		--depost-sp-action-radius: 10px;
		--depost-sp-icon-badge: 36px;
		--depost-sp-icon-size: 18px;
		--depost-sp-label-fs: 13px;
		--depost-sp-sub-fs: 11px;
		--depost-sp-btn-pad-x: 10px;
		--depost-sp-btn-pad-y: 5px;
		--depost-sp-btn-min-h: 52px;
		--depost-sp-tel: #c00;
		--depost-sp-tel-mid: #e53935;
		--depost-sp-tel-dark: #b71c1c;
		--depost-sp-tel-glow: rgba(204, 0, 0, 0.36);
		--depost-sp-line: #06c755;
		--depost-sp-line-mid: #08d45f;
		--depost-sp-line-dark: #04a847;
		--depost-sp-line-glow: rgba(6, 199, 85, 0.38);
		display: block;
		position: fixed;
		bottom: 0;
		left: 0;
		right: 0;
		width: auto;
		z-index: 90;
		background: #fff;
		border-radius: 0 !important;
		padding: 8px 10px calc(8px + env(safe-area-inset-bottom, 0px));
		box-sizing: border-box;
		box-shadow: 0 -2px 12px rgba(15, 23, 42, 0.06);
		border-top: 1px solid #ebebeb;
		border-right: 0;
		border-bottom: 0;
		border-left: 0;
		overflow: visible;
	}

	.depost-fixed-cta--sp::before {
		content: none;
	}

	.depost-fixed-cta--sp::after {
		content: none;
	}

	.depost-fixed-cta__spacer--sp {
		display: block;
	}
}

.depost-fixed-cta--sp-has-caption + .depost-fixed-cta__spacer--sp {
	height: calc(118px + env(safe-area-inset-bottom, 0px));
}

.depost-fixed-cta__sp-head {
	padding: 0 4px 4px;
	text-align: center;
}

.depost-fixed-cta__sp-lead {
	margin: 0 0 2px;
	font-family: "Noto Sans JP", sans-serif;
	font-size: clamp(12px, 3.2vw, 14px);
	font-weight: 700;
	line-height: 1.35;
	color: #fff;
	letter-spacing: 0.02em;
}

.depost-fixed-cta__sp-meta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: 0.25rem 0.5rem;
	margin: 0;
	font-family: "Noto Sans JP", sans-serif;
	font-size: clamp(11px, 2.9vw, 12px);
	font-weight: 600;
	color: rgba(255, 255, 255, 0.92);
	line-height: 1.3;
}

.depost-fixed-cta__sp-tel {
	color: #fff !important;
	font-family: Roboto, "Noto Sans JP", sans-serif;
	font-weight: 700;
	font-size: clamp(13px, 3.5vw, 15px);
	text-decoration: none;
	-webkit-tap-highlight-color: transparent;
}

.depost-fixed-cta__sp-hours {
	font-weight: 500;
}

/* SP: 2ボタン（PC版 CTA と同型） */
.depost-fixed-cta__sp-row {
	display: flex;
	align-items: stretch;
	gap: 8px;
}

.depost-fixed-cta__sp-action {
	position: relative;
	flex: 1 1 0;
	display: flex;
	flex-direction: row;
	align-items: center;
	justify-content: center;
	gap: 8px;
	min-width: 0;
	min-height: var(--depost-sp-btn-min-h);
	padding: var(--depost-sp-btn-pad-y) var(--depost-sp-btn-pad-x) var(--depost-sp-btn-pad-y) calc(var(--depost-sp-btn-pad-x) - 2px);
	border-radius: var(--depost-sp-action-radius, 10px);
	border: none;
	text-decoration: none !important;
	color: #fff !important;
	overflow: hidden;
	box-sizing: border-box;
	-webkit-tap-highlight-color: transparent;
	/* Editorial White: グラデ/グロー/マーキー/浮遊アニメを廃し、静かでフラットな CTA に */
	animation: none;
	transition: transform 0.2s ease, box-shadow 0.2s ease;
}

/* シャイン（マーキー光沢）・上部グロス は廃止（Editorial White） */
.depost-fixed-cta__sp-action::before,
.depost-fixed-cta__sp-action::after {
	display: none !important;
}

.depost-fixed-cta__sp-action:active {
	animation: none;
	transform: scale(0.98);
}

.depost-fixed-cta__sp-action--tel {
	background: var(--depost-lp-cta, #8b1a2e);
	box-shadow: 0 6px 16px -10px rgba(139, 26, 46, 0.55);
}

.depost-fixed-cta__sp-action--tel .depost-fixed-cta__sp-action-icon {
	color: var(--depost-lp-cta, #8b1a2e);
}

.depost-fixed-cta__sp-action--line {
	background: var(--depost-sp-line, #06c755);
	box-shadow: 0 6px 16px -10px rgba(6, 199, 85, 0.5);
}

.depost-fixed-cta__sp-action-icon-wrap {
	position: relative;
	z-index: 2;
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
	width: var(--depost-sp-icon-badge);
	height: var(--depost-sp-icon-badge);
	border-radius: 50%;
	background: #ffffff;
	box-shadow: 0 1px 4px rgba(0, 0, 0, 0.12);
	animation: none;
}

.depost-fixed-cta__sp-action-icon {
	display: block;
	width: var(--depost-sp-icon-size);
	height: var(--depost-sp-icon-size);
	flex-shrink: 0;
}

.depost-fixed-cta__sp-action-line-img {
	display: block;
	width: var(--depost-sp-icon-size);
	height: var(--depost-sp-icon-size);
	flex-shrink: 0;
	object-fit: contain;
}

.depost-fixed-cta__sp-action-text {
	position: relative;
	z-index: 2;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	justify-content: center;
	gap: 2px;
	min-width: 0;
}

.depost-fixed-cta__sp-action-label {
	font-family: "Noto Sans JP", sans-serif;
	font-size: var(--depost-sp-label-fs);
	font-weight: 800;
	line-height: 1.2;
	letter-spacing: 0.04em;
	white-space: nowrap;
	font-feature-settings: "palt" 1;
	color: #fff;
	opacity: 1;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	text-shadow: 0 1px 0 rgba(0, 0, 0, 0.22), 0 1px 4px rgba(0, 0, 0, 0.16);
}

.depost-fixed-cta__sp-action-sub {
	font-family: "Noto Sans JP", sans-serif;
	font-size: var(--depost-sp-sub-fs);
	font-weight: 700;
	line-height: 1.15;
	letter-spacing: 0.05em;
	white-space: nowrap;
	color: #fff;
	opacity: 1;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	text-shadow: 0 1px 0 rgba(0, 0, 0, 0.2), 0 1px 3px rgba(0, 0, 0, 0.14);
}

.depost-fixed-cta__sp-action-sub--num {
	font-family: Roboto, "Helvetica Neue", Arial, sans-serif;
	font-size: calc(var(--depost-sp-sub-fs) + 1px);
	font-weight: 700;
	letter-spacing: 0.02em;
}

.depost-fixed-cta__sp-action:active .depost-fixed-cta__sp-action-icon-wrap {
	animation: none;
}

/* landscape SP: CTA圧縮 */
@media (max-width: 1023px) and (orientation: landscape) and (max-height: 460px) {
	.depost-fixed-cta--sp {
		--depost-sp-icon-badge: 30px;
		--depost-sp-icon-size: 15px;
		--depost-sp-label-fs: 11px;
		--depost-sp-sub-fs: 9px;
		--depost-sp-btn-min-h: 44px;
		padding: 5px 8px calc(5px + env(safe-area-inset-bottom, 0px));
	}

	.depost-fixed-cta__spacer--sp {
		height: calc(56px + env(safe-area-inset-bottom, 0px));
	}
}

/* 極小SP */
@media (max-width: 374px) {
	.depost-fixed-cta--sp {
		--depost-sp-icon-badge: 32px;
		--depost-sp-icon-size: 16px;
		--depost-sp-label-fs: 11px;
		--depost-sp-sub-fs: 9px;
		--depost-sp-btn-pad-x: 8px;
		padding: 7px 8px calc(7px + env(safe-area-inset-bottom, 0px));
	}

	.depost-fixed-cta__sp-row {
		gap: 6px;
	}

	.depost-fixed-cta__spacer--sp {
		height: calc(72px + env(safe-area-inset-bottom, 0px));
	}
}

@media (max-width: 1023px) and (prefers-reduced-motion: reduce) {
	.depost-fixed-cta__sp-action {
		animation: none;
		will-change: auto;
	}

	.depost-fixed-cta__sp-action::before {
		animation: none;
		display: none;
	}

	.depost-fixed-cta__sp-action-icon-wrap {
		animation: none;
	}
}

/* PC CTA: 1024-1280px付近 — ギャップをやや詰める */
@media (min-width: 1024px) and (max-width: 1280px) {
	.depost-fixed-cta__inner {
		gap: clamp(10px, 1.8vw, 22px);
	}

	.depost-fixed-cta__site-lead {
		font-size: clamp(10px, 0.9vw, 12px);
	}

	.depost-fixed-cta__lead--lg {
		font-size: clamp(22px, 2.2vw, 28px);
	}

	.depost-fixed-cta__lead--sm {
		font-size: clamp(16px, 1.6vw, 20px);
	}

	.depost-fixed-cta__tel {
		font-size: clamp(28px, 3vw, 38px);
	}

	.depost-fixed-cta-dock--pc {
		--depost-mail-btn-fs: 15px;
		--depost-mail-btn-sub-fs: 11px;
		--depost-mail-icon-size: 20px;
		--depost-mail-icon-badge: 38px;
		--depost-mail-btn-pad-x: 14px;
		--depost-mail-btn-min-h: 50px;
	}
}

/* TOP: 固定CTA手前のスペーサーだけクリームに統一（下地制御は front-page.css に集約） */
body.depost-is-front .depost-fixed-cta__spacer--pc,
body.depost-is-front .depost-fixed-cta__spacer--sp,
body.home .depost-fixed-cta__spacer--pc,
body.home .depost-fixed-cta__spacer--sp {
	background-color: #fdfbf4 !important;
}
