@charset "utf-8";

/*モーダルを開くボタン*/
.modal-open{
	/* position: fixed; */
	display: flex;
	align-items: center;
	justify-content: center;
	top: 50%;
	left: 50%;
	width: 180px;
	height: 35px;
	font-weight: bold;
	color: #fff;
	background: #293A71;
	margin: 20px 0;
	cursor: pointer;
	/* transform: translate(-50%,-50%); */
	border-radius: 5px;
}
/*モーダル本体の指定 + モーダル外側の背景の指定*/
.modal-container{
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	text-align: center;
	background: rgba(0,0,0,50%);
	padding: 40px 20px;
	overflow: auto;
	opacity: 0;
	visibility: hidden;
	transition: .3s;
    box-sizing: border-box;
}
/*モーダル本体の擬似要素の指定*/
.modal-container:before{
	content: "";
	display: inline-block;
	vertical-align: middle;
	height: 100%;
}
/*モーダル本体に「active」クラス付与した時のスタイル*/
.modal-container.active{
	opacity: 1;
	visibility: visible;
	z-index: 99999;
}
/*モーダル枠の指定*/
.modal-body{
	position: relative;
	display: inline-block;
	vertical-align: middle;
	max-width: 600px;
	width: 90%;
	z-index: 22;
}
/*モーダルを閉じるボタンの指定*/
.modal-close{
	position: absolute;
	display: flex;
	align-items: center;
	justify-content: center;
	top: -40px;
	right: -40px;
	width: 40px;
	height: 40px;
	font-size: 40px;
	color: #fff;
	cursor: pointer;
}
/*モーダル内のコンテンツの指定*/
.modal-content{
	/* background: #fff; */
	text-align: left;
	/* padding: 30px; */
	/* width: 100%; */
	text-align: center;
}
/* モーダルボタン */
.modal-content .btn_area{
    margin: 20px 0;
}

@media only screen and (max-width:767px) {
	/*モーダルを開くボタン*/
	.modal-open{
		margin: 20px auto;
	}	
}