@charset "utf-8";
/* CSS Document */

#ms_floatingBanner_typeA {
	width: 40em;
}

#ms_floatingBanner_typeA .textWrap{
	display: flex;
	width: auto;
	align-items: center;
	padding: 1em 8px;
	background-color: #fff;
	border: 1px solid #959595;
	box-shadow: 0 2px 10px 0 rgba(0, 0, 0, 0.4);
	border-radius: 8px;
}

#ms_floatingBanner_typeA .textWrap > p{
	display: block;
	margin: 0;
	font-size: 1rem;
}

#ms_floatingBanner_typeA .textWrap > p span.annotation{
	margin-left: 0;
	padding-left: 0.5em;
	padding-right: 2em;
}

#ms_floatingBanner_typeA .textWrap > p a.s5-buttonV3{
	vertical-align: text-top;
}

/* 閉じるボタン */
button.closeBanner {
	position: absolute;
	top: -12px;
	width: 22px;
	height: 22px;
	background: none;
	border: none;
	cursor: pointer;
	padding: 0;
	z-index: 999;
}

button.closeBanner > img{
	width: 100%;
	height: auto;
}

#ms_floatingBanner_typeA.floating button.closeBanner{
	right: -10px;
}

#ms_floatingBanner_typeB {
	position: fixed;
	bottom: 2em;
	right: 2em;
	width: 200px;
	z-index: 1000;
}

#ms_floatingBanner_typeB a{
	width: 200px;
	height: auto;
	display: block;
	box-shadow: 0px 2px 10px 0px rgba(0, 0, 0, 0.4);
	border-radius: 8px;
	font-size: 0;
}


#ms_floatingBanner_typeB button.closeBanner{
	right: -12px;
}

@media (min-width: 641px){
	#ms_floatingBanner_typeA {
		margin: -1em auto 0;
	}
}

@media (max-width: 760px){
	#ms_floatingBanner_typeA {
		width: 90%;
	}
}
@media (max-width: 640px){
	#ms_floatingBanner_typeA{
		position: static;
		width: 90%;
		margin: 0 auto 1.5em;
	}
	#ms_floatingBanner_typeA .textWrap{
		width: auto;
		padding: 5px;
	}
	
	#ms_floatingBanner_typeA .textWrap > p{
		display: block;
		padding-right: 0;
		font-size: 0.875rem;
	}
	#ms_floatingBanner_typeA .textWrap > p span.annotation{
		display: block;
		font-size: 0.813rem;
	}
	#ms_floatingBanner_typeA .textWrap > p a.s5-buttonV3{
		display: block;
		width: 40%;
		margin: 10px auto 0 auto;
		text-align: center;
	}
}
@media (max-width: 454px){
	#ms_floatingBanner_typeA{
		width: 100%;
	}
	#ms_floatingBanner_typeA .textWrap > p a.s5-buttonV3{
		width: 60%;
	}
}

