/* Sticky Button Bar */
.sbb-bar {
	position: fixed;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: 9990;
	padding: 12px 10px;
	box-sizing: border-box;
	transform: translateY(110%);
	transition: transform .3s ease;
	-webkit-backdrop-filter: blur(1px);
	backdrop-filter: blur(1px);
}

.sbb-bar.sbb-visible {
	transform: translateY(0);
}

/* 画像バナーモード：黒背景・余白なし、画面幅いっぱい */
.sbb-bar.sbb-bar-banner {
	padding: 0;
	background: none !important;
	-webkit-backdrop-filter: none;
	backdrop-filter: none;
}

.sbb-banner-link {
	display: block;
	width: 100%;
	line-height: 0;
}

.sbb-banner-img {
	display: block;
	width: 100%;
	height: auto;
	margin: 0;
}

.sbb-inner {
	display: flex;
	gap: 10px;
	max-width: 720px;
	margin: 0 auto;
}

.sbb-btn {
	position: relative;
	flex: 1 1 0;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	text-align: center;
	text-decoration: none;
	color: #fff;
	border-radius: 8px;
	padding: 10px 6px;
	line-height: 1.3;
	font-weight: 700;
	box-shadow: 0 2px 6px rgba(0,0,0,.3);
	transition: opacity .2s ease, transform .1s ease;
}

.sbb-btn:hover {
	opacity: .9;
	color: #fff;
}

.sbb-btn:active {
	transform: translateY(1px);
}

.sbb-btn-top {
	display: block;
	font-weight: 700;
}

.sbb-btn-bottom {
	display: block;
	font-weight: 400;
	margin-top: 2px;
	opacity: .95;
}

/* バッジがあるボタンは上に余白を足してテキストと重ならないようにする */
.sbb-btn.sbb-has-badge {
	margin-top: 12px;
}

/* 「その場で確定！」バッジ */
.sbb-badge {
	position: absolute;
	top: -11px;
	left: 50%;
	transform: translateX(-50%);
	background: #fff;
	color: #e60012;
	font-size: 11px;
	font-weight: 700;
	line-height: 1;
	padding: 4px 10px;
	border-radius: 20px;
	white-space: nowrap;
	box-shadow: 0 1px 3px rgba(0,0,0,.3);
}

/* テーマ(SWELL等)が付与する吹き出しの三角を打ち消す */
.sbb-badge::before,
.sbb-badge::after {
	display: none !important;
	content: none !important;
	border: 0 !important;
}

/* SWELL等のフッター追従要素と被らないよう余白を確保（必要に応じ調整） */
@media (max-width: 768px) {
	.sbb-inner {
		max-width: 100%;
	}
}
