@charset "utf-8";
/*******************************************************
MeySen Academy Copyright(c) All Rights Reserved.
*******************************************************/

/*****************************************************
TOP
******************************************************/

#pg-access {
	background-image: linear-gradient(to bottom, rgba(0, 0, 0, .3) 0%, rgba(0, 0, 0, .3) 100%), url(/img/access/mainVisual.jpg);
}

.bl-content-section-single {
	padding-right: calc((var(--window-width) - 1200px - 9%) /2 );
	padding-left:calc((var(--window-width) - 1200px - 9%) /2 );
}

.bl-access-wrap {
	display: grid;
	grid-template-columns: 35% 60%;
	grid-template-rows: 1fr 1fr;
	grid-gap: 5rem 5%;
}



.bl-access-text-wrap {
	display: flex;
	flex-direction: column;
	height: auto;
	margin-right: auto;
}

.el-access-schoolName {
	margin: 3rem 0 1.5rem;
	font-size: 2rem;
}

.el-access-address {
	margin-bottom:3.5rem;
}

.el-campus-movie {
	width: 100%;
	height: 250px;
	margin-top: auto;
	background: url(/img/access/img.jpg);
	background-size: cover;
}

#maruyama-movie::after, #takamori-movie::after { 
background: linear-gradient(to bottom, rgba(0, 0, 0, .15) 0%, rgba(0, 0, 0, .15) 100%);
}

.el-campus-movie p {
  position: absolute;
  bottom: 1rem;
	left: 1rem;
	font-size: 1rem;
	font-weight: bold;
	color: #fff;
	line-height: 1.5em;
	z-index: 15;
	transition: all .3s ease-in;
}

.bl-access-map-wrap {
	display: flex;
	height: clamp(300px, 100%, 600px);
}

.bl-access-map-wrap iframe {
	width: 100%;
  height: 100%;
}

/**text space**/
.hp-mt-spacer { margin:60px 0 28px 0 }

@media screen and (max-width : 1200px) {
}
@media screen and (max-width : 960px) {
}
@media screen and (max-width : 768px) {

.bl-access-wrap {
	grid-template-columns: 100%;
	grid-template-rows: auto 300px auto 300px;
	grid-gap: 0;
}
	
	.bl-access-text-wrap {
		width: 100%;
	}	
	
	.el-access-schoolName {
		font-size: 1.5rem;
		margin: 0rem 0 1rem;
	}
	
	.el-access-schoolName:last-of-type {
		  margin-top: 4rem;
	}
			
.el-campus-movie {
	width:100%;
	height: 250px;
	margin-bottom: .5rem;
	}

	.el-access-address {
		margin-bottom: 1.5rem;
	}
	
	
}

@media screen and (max-width : 640px) {
#pg-access {
	background-image: linear-gradient(to bottom, rgba(0, 0, 0, .3) 0%, rgba(0, 0, 0, .3) 100%), url(/img/access/sp-mainVisual.jpg);
}
	

		
	
}