@charset "utf-8";

/*モーダル本体の指定 + モーダル外側の背景の指定*/
body.modal-open {
	overflow: hidden;
}
.modal-wrapper{
	display: flex;
  flex-direction: column;
  flex-wrap: nowrap;
  justify-content: center;
  align-items: center;
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	text-align: center;
	background: rgba(255,255,255,70%);
	/*background: rgba(0,0,0,70%);*/
	padding: 0 20px;
	overflow: auto;
	opacity: 0;
	visibility: hidden;
	transition: .3s;
  box-sizing: border-box;
  backdrop-filter: blur(10px) brightness(0.95);
}
.modal-wrapper * {
  box-sizing: border-box;
}
/*モーダル本体に「active」クラス付与した時のスタイル*/
.modal-wrapper.active{
	opacity: 1;
	visibility: visible;
}
/*モーダル枠の指定*/
.modal-body{
	position: relative;
	display: block;
	vertical-align: middle;
	width: 95%;
	max-width: 800px;
	max-height: 100%;
	padding: 20px 0;
	/*background: #ffffff77;*/
	background: #fff;
	border: solid 1px #3AA5F5;
}
/*モーダルを閉じるボタンの指定*/
.modal-close {
	position: absolute;
	display: flex;
  align-items: center;
  justify-content: center;
	top: 10px;
	right: 10px;
	width: 50px;
	height: 50px;
	font-size: 0;
	border-radius: 50%;
	color: #333;
	cursor: pointer;
	/*background: #fff;*/
	background: #3AA5F5;
	border: solid 1px #3AA5F5;
	z-index:100;
}
.modal-close:before,
.modal-close:after {
	content: "";
	display: block;
	width: 60%;
	height: 4px;
	/*background: #333;*/
	background: #fff;
	position: absolute;
	top: 50%;
	left: 50%;
	margin-left: -30%;
	margin-top: -2px;
}
.modal-close:before {
	transform: rotate(45deg);
}
.modal-close:after {
	transform: rotate(-45deg);
}
/*モーダル内のコンテンツの指定*/
.modal-content{
	text-align: left;
	padding: 0 30px;
	height: 100%;
	overflow-y: auto;
	position: relative;
}
.content-title {
	color: #3AA5F5;
	font-size: 32px;
	font-weight: 800;
	text-align: center;
	margin-bottom: 20px;
}
.content-body {
	font-size: 15px;
}
.content-body img {
	vertical-align: middle;
	width: 100%;
	max-width: 800px;
	display: block;
	margin: 0 auto;
}
.modal-body .summary {
	text-align: center;
  font-size: 20px;
  color: #fff;
  font-weight: bold;
  background: #3AA5F5;
  margin-top: -3em;
  padding: 1em;
  position: relative;
  display: flex;
  align-items: center;
  position: absolute;
  left: 0;
  bottom: 0;
}
.modal-body .summary p {
	text-align: left;
}
.modal-body .summary:before {
	content:"";
	display: block;
  height: 100px;
  width: 100px;
  min-width: 100px;
  margin: -20px 10px -20px -10px;
	background-size: 120px auto;
	background: url(../images/before_login/enter05.png) no-repeat center;
	background-size: 120% auto;
}
#video .modal-body .summary:before {
	background-image: url(../images/before_login/enter05.png);
}
#seminar .modal-body .summary:before {
	background-image: url(../images/before_login/enter04.png);
}
#faq .modal-body .summary:before {
	background-image: url(../images/before_login/enter03.png);
}
#practical .modal-body .summary:before {
	background-image: url(../images/before_login/enter09-2.png);
}
#literature .modal-body .summary:before {
	background-image: url(../images/before_login/enter07.png);
}
@media (max-width: 767px){
	.content-body img {
		width: auto;
		max-height: 80svh;
	}
	.modal-body .summary {
  	font-size: 16px;
	}
	.modal-body .summary:before {
  	width: 80px;
    min-width: 80px;
	}
}


