/* ==========================================
   共通スマホ追従電話CTA
========================================== */

.hakajimai-sticky-tel {
	display: none;

	position: fixed;

	right: 0;
	bottom: 0;
	left: 0;

	z-index: 999;

	padding:
		8px
		12px
		calc(
			8px
			+ env(safe-area-inset-bottom)
		);

	background:
		rgba(255, 255, 255, .97);

	border-top:
		1px solid #ddd;

	box-shadow:
		0 -4px 12px
		rgba(0, 0, 0, .1);
}


.hakajimai-sticky-tel-link {
	display: flex;
	align-items: center;
	justify-content: center;

	gap: 12px;

	width: 100%;
	max-width: 520px;

	margin: 0 auto;
	padding: 8px 10px;

	background:
		linear-gradient(
			180deg,
			#ff9a2e,
			#e8710a
		);

	border-radius: 14px;

	color: #fff;

	text-decoration: none;

	box-shadow:
		0 4px 14px
		rgba(232, 113, 10, .5);
}


.hakajimai-sticky-tel-link:hover {
	color: #fff;
}


.hakajimai-sticky-tel-photo {
	width: 56px;
	height: 56px;

	flex: 0 0 auto;

	overflow: hidden;

	background: #fff;

	border: 3px solid #fff;
	border-radius: 50%;
}


.hakajimai-sticky-tel-photo img {
	display: block;

	width: 100%;
	height: 100%;

	object-fit: cover;
}


.hakajimai-sticky-tel-body {
	display: flex;
	flex-direction: column;
	align-items: center;

	min-width: 0;
}


.hakajimai-sticky-tel-catch {
	font-size: .68rem;
	font-weight: 800;
	line-height: 1.4;

	white-space: nowrap;
}


.hakajimai-sticky-tel-body strong {
	display: inline-flex;
	align-items: center;

	gap: 8px;

	color: #fff;

	font-size: 1.5rem;
	font-weight: 900;
	line-height: 1.2;
}


.hakajimai-sticky-tel-body small {
	color: #fff;

	font-size: .64rem;
	font-weight: 700;
}



/* ==========================================
   スマホ追従CTA表示
========================================== */

@media (max-width: 900px) {

	.hakajimai-sticky-tel {
		display: block;
	}


	/**
	 * フッター最下部に
	 * 追従CTA分の実スペースを追加
	 */
	.hakajimai-footer::after {
		content: "";

		display: block;

		width: 100%;
		height:
			calc(
				110px
				+ env(safe-area-inset-bottom)
			);

		background: inherit;
	}

}
/* ==========================================
   小さいスマホ
========================================== */

@media (max-width: 420px) {

	.hakajimai-sticky-tel {
		padding-right: 8px;
		padding-left: 8px;
	}


	.hakajimai-sticky-tel-link {
		gap: 8px;

		padding:
			7px 8px;
	}


	.hakajimai-sticky-tel-photo {
		width: 50px;
		height: 50px;
	}


	.hakajimai-sticky-tel-catch {
		font-size: .61rem;
	}


	.hakajimai-sticky-tel-body strong {
		font-size: 1.35rem;
	}


	.hakajimai-sticky-tel-body small {
		font-size: .6rem;
	}

}