.banner_outside_wrapper {
	display: none; /* 初期状態は非表示 */
	font-size: 16px;
	line-height: 1.4;
	letter-spacing: 0;
	color: #222;
	box-sizing: border-box;
	position: fixed;
	top: 84px;
	right: 13px;
	margin-left: 20px;
	z-index: 11111111;
	opacity: 1;
	transition:
		opacity 0.4s ease,
		visibility 0.4s ease;
}
.banner_outside_wrapper.visible_banner {
	display: block; /* JSで付与された時だけ表示する */
}
@media screen and (min-width: 768px) {
	.banner_outside_wrapper {
		top: 20px;
		right: 30px;
	}
}
.banner_outside_wrapper .banner_inside_wrapper {
	max-width: 324px;
	min-width: 200px; /* CSS競合によるつぶれ防止 */
	min-height: 50px; /* CSS競合によるつぶれ防止 */
	position: relative;
	display: flex !important; /* 絶対表示 */
	align-items: center;
	gap: 8px;
	padding: 6px 18px;
	border-radius: 16px;
	border: 2px solid rgba(97, 117, 128, 0.1);
	background: #ffffffe6;
	-webkit-backdrop-filter: blur(10px);
	backdrop-filter: blur(2px);
	cursor: pointer;
	box-shadow: 6px 6px 8px rgba(0, 0, 0, 0.2);
}
.banner_outside_wrapper .banner_inside_wrapper p {
	color: #222 !important;
	font-size: 14px;
	margin: 0;
}
.banner_outside_wrapper img {
	max-width: 100%;
	display: block;
}
.info_icon {
	width: 60px;
	height: 60px;
	border-radius: 50%;
	object-fit: contain;
}
.banner_outside_wrapper *,
.banner_outside_wrapper *:before,
.banner_outside_wrapper *:after {
	box-sizing: border-box;
	margin: 0;
	padding: 0;
}
.banner_close_btn {
	position: absolute;
	top: -9px;
	right: -11px;
	width: 32px;
	height: 32px;
	background: #ffffff;
	border: 1px solid #cbd5e1;
	border-radius: 50%;
	box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	color: #617580;
	padding: 0;
}
.banner_close_btn:hover {
	background: #f1f5f9;
	color: #222;
}

.close_text {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

/* モーダル用スタイル */
.modal_banner {
	display: none;
	position: fixed;
	top: 0;
	left: 0;
	width: 100vw;
	height: 100vh;
	z-index: 2147483647; /*FourM広告があるページは最大にしておくこと*/
	align-items: center;
	justify-content: center;
}
.modal_banner.modal_open {
	display: flex;
}
.modal_banner_overlay {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: rgba(0, 0, 0, 0.6);
	backdrop-filter: blur(4px);
}
.modal_banner_container {
	position: relative;
	background: #fff;
	width: 90%;
	max-width: 440px;
	border-radius: 16px;
	padding: 24px;
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
	z-index: 22222222;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 16px;
	box-sizing: border-box;
	max-height: 70vh;
	overflow: visible;
}
.modal_banner_close {
	position: absolute;
	top: -12px;
	right: -12px;
	z-index: 10;
	width: 32px;
	height: 32px;
	background: #ffffff;
	border: 1px solid #cbd5e1;
	border-radius: 50%;
	box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
	cursor: pointer;
	color: #617580;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 0;
}
.modal_banner_close:hover {
	background: #f1f5f9;
	color: #222;
}
.modal_banner_wrapper {
	display: flex;
	align-items: center;
	gap: 12px;
	width: 100%;
	padding-right: 28px;
}
.modal_banner_logo {
	height: 45px;
	width: auto;
	object-fit: contain;
}
.modal_banner_title {
	font-size: 18px;
	font-weight: bold;
	color: #222;
	margin: 0;
	overflow-wrap: anywhere;
}
.modal_banner_subtitle {
	font-size: 17px;
	font-weight: bold;
	color: #222;
	margin: 0;
}
.modal_banner_maintext {
	overflow-y: scroll;
}
.modal_banner_img {
	width: 100%;
	height: auto;
	border-radius: 8px;
	display: block;
	object-fit: cover;
}
.modal_banner_btn {
	display: inline-block;
	background: #e71a10;
	color: #fff;
	font-weight: bold;
	text-decoration: none;
	padding: 12px 36px;
	border-radius: 30px;
	text-align: center;
	transition: background 0.2s;
}
.modal_banner_btn:hover {
	background: #e71a10;
}
