#mv {
	background: url(../img/bg_mv.jpg) no-repeat;
	background-size: 100% auto;
	background-position: 50% 50%;
	overflow: hidden;
}

#mv .inside {
	height: 400px;
	position: relative;
}

#mv p {
	background-color: rgba(0, 0, 0, 0.7);
	color: #fff;
	font-size: 200%;
	font-weight: bold;
	left: 50%;
	letter-spacing: 2px;
	padding: 6px 40px 4px;
	position: absolute;
	text-align: center;
	text-shadow: 2px 2px 4px #333;
	top: 60%;
	transform: translate(-50%, -50%);
	width: 100%;
}

section {
	padding: 120px 0;
}

section .inside {
	overflow: hidden;
}

section h2 {
	border-bottom: 4px solid #ffc455;
	font-size: 150%;
	font-family: 'Kiwi Maru', serif;
	padding: 0 40px 10px 40px;
	text-align: center;
}

section .red {
	color: #f00;
	font-weight: bold;
}

#class-list {
	display: grid;
	grid-gap: 40px;
	grid-template-columns: 1fr 1fr 1fr 1fr 1fr;
	margin-top: 40px;
}

#class-list li a {
	border: 2px solid #fff;
	color: #333;
	display: block;
	opacity: .7;
	text-decoration: none;
	transition: all .3s ease;
}

#class-list li a:hover,
#class-list li a.active {
	border: 2px solid #ffc455;
	opacity: 1;
}

#class-list p {
	align-items: center;
	background: url(../img/bg_classname.png) no-repeat 0 0;
	background-size: 100% 100%;
	display: flex;
	justify-content: center;
	line-height: 1.2;
	min-height: 60px;
	padding: 10px 0;
	text-align: center;
}

.past-news {
	background: rgb(255, 196, 140);
	background: linear-gradient(328deg, rgba(255, 196, 140, 1) 0%, rgba(247, 197, 30, 0.6110819327731092) 100%, rgba(255, 158, 0, 0) 100%);
	color: #fff;
	text-align: center;
	border: 2px solid #d6941a;
	margin: 40px auto 0;
	width: 80%;
	min-height: 60px;
	border-radius: 60px;
}

.past-news a {
	color: #333;
	display: block;
	height: 100%;
	width: 100%;
	padding: 15px 10px;
	text-decoration: none;
}

.past-news a:hover {
	opacity: .8;
}

/* .news-data .imgFadeIn{
	opacity: 0;
	animation: fadeIn .5s linear forwards;
}
@keyframes fadeIn{
	0%{
		opacity: 0;
	}
	100%{
		opacity: 1;
	}
} */
.news-data .photo {
	background: url(../img/bg_photo.jpg) repeat 0 0;
	border: 2px dashed #ffc455;
	display: grid;
	grid-gap: 40px;
	grid-template-columns: 1fr 1fr 1fr;
	padding: 40px;
}

.news-data .photo a {
	display: block;
}

.news-data .photo h3 {
	font-size: 125%;
	text-align: center;
}

.news-data .dl-link {
	display: block;
	text-align: center;
	margin-top: 10px;
}

.news-data img {
	border: 1px solid #ccc;
	box-shadow: 2px 2px 4px #888;
}

#show-box section {
	display: none;
}

#show-box .is-show {
	background-color: #e7f1e0;
	display: block;
}

#show-box h4 {
	font-size: 150%;
	margin-top: 40px;
	padding-bottom: 10px;
	text-align: center;
}

.al-txt {
	color: #f00;
	margin-top: 20px;
	text-align: center;
}

.al-txt2 {
	color: #f00;
	margin-top: 10px;
	text-align: center;
}

.empty-text{
	text-align: center;
}

@media screen and (max-width: 1024px) {
	#mv {
		background-position: 50% 0;
		background-size: 100% auto;
	}

	#mv p {
		border: 0;
		font-size: 120%;
	}

	section {
		padding: 40px 0;
	}

	section>h2 {
		margin: 0 auto;
		width: 90%;
	}

	section .box {
		margin: 20px auto 0;
		width: 90%;
	}

	table {
		width: 100%;
	}

	#class-list {
		margin: 40px auto 0;
		width: 90%;
		grid-gap: 10px;
		grid-template-columns: repeat(4, 1fr);
	}

	.news-data .photo {
		margin: 20px auto 0;
		grid-gap: 20px;
		padding-top: 20px;
		width: 90%;
	}

	.news-data .photo h3 {
		font-size: 100%;
	}
}

@media screen and (max-width: 829px) {
	#mv {
		background-size: auto 100%;
	}

	section h2 {
		font-size: 150%;
	}

	section h2 span {
		display: block;
		margin-top: -10px;
	}

	#class-list {
		grid-template-columns: repeat(4, 1fr);
	}

	.news-data .photo {
		grid-template-columns: repeat(2, 1fr);
	}

	.al-txt {
		display: none;
	}

	.al-txt2 {
		padding: 0 20px;
		text-align: left;
	}
}

@media screen and (max-width: 539px) {
	section h2 {
		font-size: 127%;
	}

	#mv .inside {
		height: 300px;
	}

	#class-list {
		grid-template-columns: repeat(2, 1fr);
	}

	#class-list img {
		display: none;
	}

	.news-data .photo {
		grid-template-columns: repeat(1, 1fr);
	}

	.news-data .dl-link {
		font-size: 70%;
	}

}