@charset "utf-8";

/* モーダル共通 */
.modal{
    display: none;
    height: 100vh;
    position: fixed;
    top: 0;
	left: 0;
    width: 100%;
	z-index: 10000;
}
.modal__bg{
    background: rgba(0,0,0,0.8);
    height: 100vh;
    position: absolute;
    width: 100%;
}
.modal__content{
    background: #fff;
    left: 50%;
    position: absolute;
    top: 50%;
    transform: translate(-50%,-50%);
	padding:0 0 30px 0;
	width: 960px;
	z-index: 9999;
}
a.js-modal-close{
	background: #3dd4ff;
	color: #FFFFFF;
	border-radius: 60px;
	padding: 1em 0;
	text-align: center;
	font-weight: 700;
	line-height: 1;
	width: 280px;
	margin: 2em auto 0.5em auto;
	transform: rotate(0.03deg);
	text-decoration: none;
	display: block;
}
a.js-modal-close:hover{
	background: #00B3FF;
	color: #FFFFFF;
}
.no_scroll {
	overflow: hidden;
	/*height: 100vh;*/
}

@media screen and (max-width: 1080px) {
	.modal__content {
		width: 92vw;
	}
}

@media screen and (max-width: 767px) {
	.modal__content {
		padding-bottom: 15px;
	}
	a.js-modal-close{
		margin: 1em auto 0.5em auto;
	}
}

/* basicA（スクロールあり） */
.basicA .modal__content{
	border-radius: 5px;
	padding-bottom: 0;
	background: none;
}
.basicA .modal__content h1{
	background: #D8D8D8;
	font-size: 1.4em;
	height: 10vh;
	font-weight: 600;
	border-radius: 30px 30px 0 0;
	display: flex;
	justify-content: center;
	align-items: center;
	transform: none;
}
.basicA .modal__content h1 span{
	display: block;
	transform: rotate(0.03deg);
}
.basicA .modal__content .modalWrap{
	overflow-y: auto;
	max-height: 74vh;
	background: #fff;
	border-radius: 0 0 30px 30px;
}
.basicA .modal__content .modalWrap h2{
	font-size: 1.1em;
	font-weight: 800;
	margin-bottom: 0.6em;
}
.basicA .modal__content  .modalWrap{
	width: 90%;
	margin: 0 auto 0 auto;
	padding: 2vh 5%;
}
.basicA .modal__content  .modalWrap ul{
	list-style: disc;
	font-size: 0.9em;
	margin-left: 1.5em;
	margin-bottom: 1.5em;
}
.basicA .modal__content  .modalWrap ul li{
	transform: rotate(0.03deg);
	margin-bottom: 0.6em;
	line-height: 1.4;
}
.basicA .modal__content .modalWrap > img{
	display: block;
	margin: 40px auto 40px auto;
}
.basicA .modal__content .modalWrap > p{
	width: 100%;
	line-height: 1.8;
    font-size: 0.95em;
	text-align: left;
}
.basicA .modal__content a.js-modal-close {
	height: 2.5vh;
    width: 280px;
    margin: 2vh auto 0 auto;
	display: flex;
	justify-content: center;
	align-items: center;
}

@media screen and (max-width: 1080px) {
	.basicA .modal__content .modalWrap > img{
		width: 100%;
	}
}

@media screen and (max-width: 767px) {
	.basicA .modal__content{
		left: 50%;
		top: 4vh;
		transform: translate(-50%,0);
		padding: 0;
	}
	.basicA .modal__content h1{
		display: block;
		padding: 6%;
		height: inherit;
		text-align: left;
		font-size: 1.2em;
	}
	.basicA .modal__content .modalWrap{
		max-height: 57vh;
	}
	.basicA .modal__content .modalWrap > img{
		margin: 20px auto 20px auto;
	}
	
}

/* extraA（スクロールなし） */
.extraA .modal__content{
	border-radius: 30px;
	overflow: hidden;
}
.extraA .modal__content h1{
	background: #ffea00;
	margin-bottom: 0 !important;
	padding: 30px 0;
	position: static;
}
.extraA .modal__content > div{
	width: 92%;
	margin: 30px auto;
}
.extraA .modal__content > div > img{
	display: block;
	margin-right: 4%;
	width: 40%;
	float: left;
}
.extraA .modal__content > div > p{
	float: left;
	width: 56%;
	line-height: 1.8;
    font-size: 0.95em;
}

@media screen and (max-width: 1080px) {
	.extraA .modal__content h1{
		padding: 4vw;
	}
	.extraA .modal__content h1 img{
		width: 100%;
	}
}

@media screen and (max-width: 767px) {
	.extraA .modal__content h1{
		margin: 0 auto;
		padding: 6vw 6% 4vw 6%;
		position: static !important;
		width: 88% !important;
	}
	.extraA .modal__content > div{
		margin: 15px auto;
	}
	.extraA .modal__content > div > img{
		margin-right: 0;
		float: none;
		width: 100%;
	}
	.extraA .modal__content > div > p{
		float: none;
		width: 100%;
		margin-top: 15px;
	}
}