#bnr {
	position: fixed;
	bottom: 0;
	left: 0;
	width: 100%;
	background-color: #f6f6f6;
	padding: 40px 0;
	z-index: 10000;
	box-sizing: border-box;
}

#bnr *,
#bnr *::before,
#bnr *::after {
	box-sizing: border-box;
}

#bnr .bnr-inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 4em;
	max-width: 1100px;
	margin: 0 auto;
	padding: 0 20px;
}

#bnr .bnr-text {
	flex: 1 1 auto;
}

#bnr p {
	margin: 0 0 0.5em;
	font-size: 12px;
	line-height: 1.7;
}

#bnr .bnr-link {
	display: inline-block;
	margin-top: 20px;
	font-size: 12px;
	color: #04388e;
	text-decoration: underline;
}

#bnr .bnr-actions {
	display: flex;
	flex-direction: column;
	align-items: center;
	flex: 0 0 250px;
}

#bnr .bnr-accept,
#bnr .bnr-reject {
	display: block;
	width: 100%;
	max-width: 250px;
	height: 50px;
	padding: 5px;
	border: 2px solid #04388e;
	border-radius: 30px;
	font-family: inherit;
	font-size: 14px;
	font-weight: bold;
	line-height: 1;
	text-align: center;
	cursor: pointer;
	transition: opacity 0.2s, background-color 0.2s, color 0.2s;
}

/* 同意する */
#bnr .bnr-accept {
	background-color: #04388e;
	color: #fff;
}
#bnr .bnr-accept:hover {
	opacity: 0.85;
}

/* 拒否する */
#bnr .bnr-reject {
	margin-top: 12px;
	background-color: #fff;
	color: #04388e;
}
#bnr .bnr-reject:hover {
	background-color: #04388e;
	color: #fff;
}

#bnr button:focus-visible,
#bnr .bnr-link:focus-visible {
	outline: 2px solid #04388e;
	outline-offset: 3px;
}

/* SP */
@media (max-width: 767px) {
	#bnr {
		padding: 24px 0;
	}

	#bnr .bnr-inner {
		flex-direction: column;
		align-items: stretch;
		gap: 1.5em;
	}

	#bnr .bnr-link {
		margin-top: 10px;
	}

	#bnr .bnr-actions {
		flex-basis: auto;
	}

	#bnr .bnr-accept,
	#bnr .bnr-reject {
		width: 80%;
		margin-left: auto;
		margin-right: auto;
	}
}
