/* CSS Document */

.blocker {
	background-color: #211815;
	z-index: 999;
}

.modal {
	background-color: #211815;
	color: #fff;
	box-shadow: none;
	max-width: 1100px;
	width: 95%;
	z-index: 999;
}
.modal a.close-modal {
	background: none;
}

.modal_flex {
	margin-top: 60px;
	display: flex;
	justify-content: space-between;
}

.modal_mov {
	height: 85.5vh;
	/*min-height: 493px;
	max-height: 700px;*/
	aspect-ratio: 1080 / 1920;
}
.modal_mov video {
    width: 100%;
	border-radius: 30px;
	overflow: hidden;
	aspect-ratio: 1080 / 1920;
}
.modal_text {
	height: 85.5vh;
	
	margin: 0 0 0 2em;
	max-width: 590px;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
}
.modal_text h3 {
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	padding-bottom: 30px;
}
.modal_text .join {
	font-size: 22px;
	padding-bottom: 30px;
}
.modal_text h3 .job {
	/*font-size: calc( 1rem * ( 22 / 16 ) );*/
	font-size: 22px;
	padding-bottom: 10px;
}
.modal_text h3 .name {
	/*font-size: calc( 1rem * ( 30 / 16 ) );*/
	font-size: 30px;
}
.modal_text .lead {
	margin-bottom: 2em;	
}
.modal_text h4 {
	margin: 0 0 1em 0;
	/*font-size: calc( 1rem * ( 18 / 16 ) );*/
	font-size: 20px;
}
.modal_text p {
	font-size: 18px;
	line-height: 1.6;
	margin: 0;
	padding: 0;
}
.youtube {
	width: 100%;
	height: auto;
}
.youtube iframe {
	width: 100%;
	height: auto;
	margin: 0 auto;
	padding: 0;
	padding-bottom: 0;
	aspect-ratio: 315 / 560;
	overflow: hidden;
	border-radius: 20px;
}
.youtube img {
	width: 100%;
	height: auto;
	margin: 0 auto;
	padding: 0;
	padding-bottom: 0;
	aspect-ratio: 315 / 560;
	overflow: hidden;
	border-radius: 20px;
}
.modal a.close-modal {
  margin-top: 40px;
  width: 40px;
  height: 40px;
}
.modal .close-modal::before,
.modal .close-modal::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 2px;
  height: 100%;
  background: #fff;
}
 
.modal .close-modal::before {
  transform: translate(-50%,-50%) rotate(45deg);
}
 
.modal .close-modal::after {
  transform: translate(-50%,-50%) rotate(-45deg);
}

.message {
	margin-bottom: 2em;	
}

.scroll_wrap {
	overflow-y: auto;
	height: 100%;
	padding-right: 0.5em;
}
.scroll_wrap::-webkit-scrollbar {
	height: 7px;
}
.scroll_wrap::-webkit-scrollbar-thumb {
	background-color: #b49c87;
	border-radius: 3.5px;
}
.scroll_wrap::-webkit-scrollbar-track {
	background-color: #f2eeea;
	border-radius: 3.5px;
}

.sns_list {
	margin: 1em 0 0 0;
	padding: 0;
	display: flex;
}
.sns_list li {
	list-style: none;
	padding: 0 1em;
}
.sns_list a img {
	width: 48px;
}

@media only screen and (max-width: 1024px) {
	.modal_mov {
		width: calc(100vw * (394 / 1024));
		height: auto;
	}
	.modal_text {
		width: calc(100vw * (514 / 1024));
	}
	.scroll_wrap {
		height: calc(100vw * (600 / 1024));
	}
	.modal_text h3 .job {
		font-size: calc(100vw * (22 / 1024));
	}
	.modal_text h3 .name {
		font-size: calc(100vw * (30 / 1024));
	}
	.modal_text h4 {
		font-size: calc(100vw * (20 / 1024));
	}
	.modal_text p {
		font-size: calc(100vw * (18 / 1024));
	}
	
}

@media only screen and (max-width: 768px) {
	
	.modal {
		width: calc( 100vw * (340/390) );
		margin-left: auto;
		margin-right: auto;
		padding: 0;
	}
	.modal_flex {
		margin-top: 100px;
		flex-wrap: wrap;
		width: calc( 100vw * (340/390) );
		margin-left: auto;
		margin-right: auto;
		flex-direction: column-reverse;
		padding-bottom: 2em;
	}
	.modal_mov {
		width: 100%;
		height: auto;
		min-height: none;
		max-height: none;
		aspect-ratio: 315 / 560;
	}
	.modal_text {
		width: 100%;
		max-width: 100%;
		height: auto;
		margin: 2em 0;
		/*max-width: auto;*/
	}

	.close-modal {
		width: 30px;
		height: 30px;
	}
	.scroll_wrap {
		height: auto;
	}
	.modal_text h3 .job {
		font-size: calc( 100vw * ( 16 / 390 ) );
	}
	.modal_text h3 .name {
		font-size: calc( 100vw * ( 25 / 390 ) );
	}
	.modal_text .lead {
		font-size: calc( 100vw * ( 15 / 390 ) );
	}
	.modal_text h4 {
		font-size: calc( 100vw * ( 17 / 390 ) );
	}
	.modal_text p {
		font-size: calc(100vw * (16 / 390));
	}
	.sns_list {
		justify-content: center;
	}
	
}

