/* かんたんSNSボタン front.css */

.yllb-wrap {
	--yllb-line: #06c755;
	--yllb-x: #000000;
	--yllb-ig: linear-gradient(45deg, #feda75, #fa7e1e, #d62976, #962fbf, #4f5bd5);
	box-sizing: border-box;
}
.yllb-wrap * {
	box-sizing: border-box;
}

/* 追従ボタン共通 */
.yllb-float {
	position: fixed;
	bottom: 20px;
	z-index: 9990;
	display: flex;
	flex-direction: column;
	gap: 10px;
	align-items: flex-end;
}
.yllb-float.yllb-pos-right {
	right: 16px;
	align-items: flex-end;
}
.yllb-float.yllb-pos-left {
	left: 16px;
	align-items: flex-start;
}

/* インライン（ショートコード）ボタン */
.yllb-inline {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin: 20px 0;
	align-items: center;
}

/* ボタン本体 */
.yllb-btn {
	position: relative;
	display: inline-flex;
	align-items: center;
	padding: 12px 18px;
	color: #fff !important;
	text-decoration: none !important;
	font-weight: 700;
	font-size: 15px;
	line-height: 1;
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.18);
	transition: transform 0.15s ease, box-shadow 0.15s ease;
	border: none;
}
.yllb-btn:hover {
	transform: translateY(-2px);
	box-shadow: 0 6px 16px rgba(0, 0, 0, 0.24);
	color: #fff !important;
}

/* SNSカラー */
.yllb-btn-line {
	background: var(--yllb-line);
}
.yllb-btn-x {
	background: var(--yllb-x);
}
.yllb-btn-instagram {
	background: var(--yllb-ig);
}

/* 形 */
.yllb-shape-round .yllb-btn {
	border-radius: 999px;
}
.yllb-shape-rounded .yllb-btn {
	border-radius: 10px;
}

.yllb-icon {
	display: inline-flex;
	align-items: center;
}
.yllb-text {
	white-space: nowrap;
	margin-left: 8px;
	max-width: 260px;
	overflow: hidden;
	opacity: 1;
	transition: max-width 0.3s ease, opacity 0.25s ease, margin 0.3s ease;
}

/* 数秒後：アイコンのみ表示（追従ボタン） */
.yllb-float.yllb-collapsed .yllb-text {
	max-width: 0;
	opacity: 0;
	margin-left: 0;
}
.yllb-float.yllb-collapsed .yllb-btn {
	padding: 12px;
}
.yllb-float.yllb-collapsed .yllb-powered {
	visibility: hidden;
	opacity: 0;
}

/* Powered by */
.yllb-powered {
	font-size: 11px;
	color: #888 !important;
	text-decoration: none !important;
	opacity: 0.85;
	transition: opacity 0.25s ease;
}
.yllb-inline .yllb-powered {
	width: 100%;
	margin-top: 2px;
}

/* LINE QR（PCホバー時） */
.yllb-qr {
	position: absolute;
	bottom: 50%;
	transform: translateY(50%);
	background: #fff;
	padding: 10px;
	border-radius: 10px;
	box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
	display: none;
	flex-direction: column;
	align-items: center;
	gap: 4px;
	z-index: 9991;
}
.yllb-pos-right .yllb-qr {
	right: calc(100% + 12px);
}
.yllb-pos-left .yllb-qr {
	left: calc(100% + 12px);
}
.yllb-qr img {
	width: 140px;
	height: 140px;
	display: block;
}
.yllb-qr-note {
	font-size: 11px;
	color: #333;
	white-space: nowrap;
}
/* PCでボタンにホバー時のみ表示 */
@media (hover: hover) and (min-width: 782px) {
	.yllb-btn-line:hover .yllb-qr {
		display: flex;
	}
}

/* スマホ：追従ボタンはアイコン中心のコンパクト表示 */
@media (max-width: 781px) {
	.yllb-float .yllb-btn {
		padding: 12px;
	}
	.yllb-float .yllb-text {
		display: none;
	}
	.yllb-float .yllb-powered {
		display: none;
	}
}
