/* モーダル */
.modal-overlay {
	align-items: center;
	background: rgba(0,0,0,.6);
	bottom: 0;
	display: flex;
	justify-content: center;
	left: 0;
	position: fixed;
	right: 0;
	top: 0;
	z-index: 100;
  }
  
  .modal-container {
	background-color: #fff;
	max-height: 80vh;
	max-width: 500px;
	overflow-y: auto;
	padding: 20px;
	width: 80%;
  }
  
  .modal-header {
	align-items: center;
	display: flex;
	justify-content: flex-end;
	height: 50px !important;
	border-bottom: none !important;
  }
  
  .modal-close {
	background: transparent;
	border: 0;
  }
  
  .modal-header .modal-close::before {
	content: "\2715";
  }
  
  .modal-content {
	line-height: 1.5;
	margin-bottom: 2rem;
	margin-top: 2rem;
	border:none !important;
	
  }
  
  .modal-open {
	/* display: block; */
	margin: 10px;
	border: none !important;
	background-color: transparent !important;
  }
  
  .box01 {
	height: 200px;
	margin: 0 auto;
	width: 80%;
  }
  
  .box02 {
	height: 200px;
	margin: 0 auto;
	width: 80%;
  }

  .modal-open img{
	width: 270px !important;
    height: 270px;
  }
  
  /* モーダルアニメーション */
  @keyframes mmfadeIn {
	from {
	  opacity: 0;
	}
	to {
	  opacity: 1;
	}
  }
  
  @keyframes mmfadeOut {
	from {
	  opacity: 1;
	}
	to {
	  opacity: 0;
	}
  }
  
  @keyframes mmslideIn {
	from {
	  transform: translateY(15%);
	}
	to {
	  transform: translateY(0);
	}
  }
  
  @keyframes mmslideOut {
	from {
	  transform: translateY(0);
	}
	to {
	  transform: translateY(-10%);
	}
  }
  
  .micromodal-slide {
	display: none;
  }
  
  .micromodal-slide.is-open {
	display: block;
  }
  
  .micromodal-slide[aria-hidden="false"] .modal-overlay {
	animation: mmfadeIn .3s cubic-bezier(.0, .0, .2, 1);
  }
  
  .micromodal-slide[aria-hidden="false"] .modal-container {
	animation: mmslideIn .3s cubic-bezier(0, 0, .2, 1);
  }
  
  .micromodal-slide[aria-hidden="true"] .modal-overlay {
	animation: mmfadeOut .3s cubic-bezier(.0, .0, .2, 1);
  }
  
  .micromodal-slide[aria-hidden="true"] .modal-container {
	animation: mmslideOut .3s cubic-bezier(0, 0, .2, 1);
  }
  
  .micromodal-slide .modal-container,
  .micromodal-slide .modal-overlay {
	will-change: transform;
  }


  .swiper--wrapper {
	/* wrapperのサイズを調整 */
	width: 100%;
}

.swiper-slide {
	color: #ffffff;
	width: 100%;
	height: 100%;
	text-align: center;
	padding: 0 20px;
	flex-basis: 100%;
}


.slide_area {
	position: relative;
	width: 100%;
	margin: 30px auto;
}

.swiper-button-prev {
	left: -20px;
}

.swiper-button-next {
	right: -20px;
}

.swiper-pagination {
	bottom: -30px !important;
}

.swiper-button-prev,
.swiper-button-next {
	height: 50px;
	/* width: 50px; */
}

.swiper-button-prev::after {
	background-repeat: no-repeat;
    background-size: contain;
    content: "";
    height: 50px;
    margin: auto;
    width: 40px;
    position: absolute;
    left: 140px;
}

.swiper-button-next::after {
	background-repeat: no-repeat;
    background-size: contain;
    content: "";
    height: 50px;
    margin: auto;
    width: 40px;
    position: absolute;
    right: 140px;
}


.swiper-button-prev.swiper-button-disabled {
	opacity: 1 !important;
}

.swiper-button-prev::after {
	background-image: url("/m/fc383915d40f250ac0b5a24068b41d71e14d459108cb3e47b15e441689b91af6");
}

.swiper-button-next::after {
	background-image: url("/m/507b08098d6826e14a2aa45ab7c05e42a5bff1bcc1d42f50f957085999c7dc01");
}

.swiper-slide img {
	height: 760px;
    width: 760px;
    /* max-height: 790px; */
    object-fit: contain;
}

.crass_box {
	padding-top: 1px !important;
}

.crass_box_li {
	float: right;
	color: #333;
	text-decoration: underline;
	font-size: 12px;
}

.classroom_tit,
.classroom_tit02 {
	margin: 5px 0;
	color: #333;
	display: inherit;
	font-weight: bold;
}

.classroom_tit::before {
	content: '';
	display: inline-block;
	width: 20px;
	height: 20px;
	background: url("/m/1d7ae011d5f59e2b20d72f83b585ef0cf82a6b95ef350f23f6adb073721a988a");
	background-repeat: no-repeat;
	background-size: contain;
	vertical-align: middle;
}

.classroom_tit02::before {
	content: '';
	display: inline-block;
	width: 20px;
	height: 20px;
	background: url("/m/4be334dccc7991a912c534f8fc803f8c32efefb3ce83fb63a119babaa4d7b9eb");
	background-repeat: no-repeat;
	background-size: contain;
	vertical-align: middle;
}

.class_a {
	color: #333 !important;
	text-decoration: underline !important;
	margin-right: 10px;
}

.classwrap li {
	display: block;
	margin: 0 5px;
}

.tit-room02 {
	margin: 10px auto 20px !important;
	text-align: left;
	font-size: 16px;
	font-weight: normal;
	line-height: 160%;
}

@media screen and (max-width: 347px) {
	.modal-open img {
		width: 100px !important;
		height: 100px;
	}
	.modal-open {
		/* display: block; */
		margin: 0 !important;
	}
}

@media screen and (min-width: 348px) and (max-width: 750px)  {
	.modal_spwrap{
		display: flex;
		justify-content: space-around;
	}
	.modal-open img {
		width: 100px !important;
		height: 100px;
	}
	.modal-open{
		padding: 0;
	}
	.swiper-slide img {
		height: 250px;
		width: 100%;
		max-height: 250px;
	}

	.swiper-button-prev::after {
		background-repeat: no-repeat;
		background-size: contain;
		content: "";
		height: 50px;
		margin: auto;
		width: 30px;
		position: absolute;
		left: 25px;
	}
	
	.swiper-button-next::after {
		background-repeat: no-repeat;
		background-size: contain;
		content: "";
		height: 50px;
		margin: auto;
		width: 30px;
		position: absolute;
		right: 25px;
	}
}
/* 続きを読む（合格実績校） */
.cp_box *, .cp_box *:before, .cp_box *:after {
	-webkit-box-sizing: border-box;
	box-sizing: border-box;
}
.cp_box {
	position: relative;
}
.cp_box label {
	position: absolute;
	z-index: 1;
	bottom: -1px;
	width: 100%;
	height: 80px; /* グラデーションの高さ */
	cursor: pointer;
	text-align: center;
	/* 以下グラデーションは背景を自身のサイトに合わせて設定してください */
	background: linear-gradient(to bottom, rgba(255, 255, 255, 0) 0, #fff 0%);
}
.cp_box input:checked + label {
	background: inherit; /* 開いた時にグラデーションを消す */
}
.cp_box label:after {
	line-height: 2.5rem;
	position: absolute;
	z-index: 2;
	bottom: 20px;
	left: 50%;
	width: 100%;
	content: ' 続きをよむ ＋';
	transform: translate(-50%, 0);
	letter-spacing: 0.05em;
	color: #e6003b;
	border-radius: 20px;
	background-color: #fff;
	font-weight: bold;
}
.cp_box input {
	display: none;
}
.cp_box .cp_container {
	overflow: hidden;
    height: 200px;
    transition: all 0.5s;
    margin-top: 1em;
    padding-top: 0.5em;
}
.cp_box input:checked + label {
	/* display: none ; 閉じるボタンを消す場合解放 */
}
.cp_box input:checked + label:after {
	content: ' 閉じる －';
	font-weight: bold;
}
.cp_box input:checked ~ .cp_container {
	height: auto;
	padding-bottom: 80px; /* 閉じるボタンのbottomからの位置 */
	transition: all 0.5s;
}

@media screen and (max-width: 750px){
	.cp_box label {
		height: 78px;
		background: linear-gradient(to bottom, rgba(255, 255, 255, 0) 0, #fff 0%);
	}
}

@media screen and (min-width: 768px) and (max-width: 1024px)  {
	.swiper-slide img {
		height: 500px;
	}
}
