/* ==== 固定サイドボタン(説明会・個別相談) ==== */
#fixed_side_btns{
	position: fixed;
	top: 50%;
	right: 16px;
	transform: translateY(-50%);
	z-index: 9999;
	display: flex;
	flex-direction: column;
	gap: 14px;
}
#fixed_side_btns a{
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	width: 96px;
	height: 96px;
	border-radius: 10px;
	background-color: #ffa500;
	color: #fff;
	text-decoration: none;
	font-family: "Hiragino Kaku Gothic ProN","Meiryo",sans-serif;
	font-size: 13px;
	font-weight: bold;
	line-height: 1.3;
	box-shadow: 0 3px 8px rgba(0,0,0,.25);
	transition: transform .15s ease, background-color .15s ease;
}
#fixed_side_btns a:hover{
	background-color: #ff8c00;
	transform: scale(1.05);
}
#fixed_side_btns a.side_btn_sub{
	background-color: #fff;
	color: #ffa500;
	border: 2px solid #ffa500;
}
#fixed_side_btns a.side_btn_sub:hover{
	background-color: #eaf7fd;
}
#fixed_side_btns svg{
	width: 30px;
	height: 30px;
	margin-bottom: 6px;
	fill: currentColor;
}
@media screen and (max-width: 767px){
	#fixed_side_btns{
		top: auto;
		bottom: 48px; /* .ebook5-ui-pager-wrap の実際の高さ(元CSSで height:48px と定義)に合わせたフォールバック値。JSで実測値に自動上書きされる */
		right: 0;
		left: 0;
		transform: none;
		flex-direction: row;
		gap: 0;
		width: 100%;
	}
	#fixed_side_btns a{
		flex: 1 1 50%;
		width: auto;
		height: 56px;
		font-size: 12px;
		border-radius: 0;
		box-shadow: 0 -2px 6px rgba(0,0,0,.2);
		box-sizing: border-box;
		border-top: 2px solid transparent; /* 白ボタンのborder-topと厚みを揃えて中身のズレを防止 */
	}
	#fixed_side_btns a.side_btn_sub{
		border: none;
		box-sizing: border-box;
		border-top: 2px solid #ffa500;
	}
	#fixed_side_btns svg{
		width: 20px;
		height: 20px;
		margin-bottom: 2px;
	}
}
