@charset "UTF-8";

.lessonWrap{
	padding-bottom: 50px;
}
.lessonWrap section{
	padding-top: 20px;
}
.lessonWrap .lesson01{
	padding-top: 30px;
}
.lessonWrap section ul{
	display: flex;
	align-items: flex-start;
	gap: 15px;
}
.lessonWrap section ul li:first-child{
	width: 45%;
	aspect-ratio: 41/29;
	position: relative;
	background-position: center;
	background-size: cover;
	border-radius: 20px;
}
.lessonWrap section ul li:last-child{
	width: 55%;
	margin-top: 45px;
}
.lessonWrap .lessonTtl{
	position: absolute;
	top: -35px;
	right: -30px;
	display: inline-block;
	padding: 22px 3px 9px 0;
	background: var(--bright);
	border-radius: 13px;
	transform: translate(6%, 0%) rotate(6deg);
    opacity: 0;
    transition: opacity 0.5s ease;
}
.lessonWrap .lessonTtl span{
	background: #fff;
	color: var(--vermilion);
	font-family: var(--aralet);
	font-size: 1.5rem;
	line-height: 1rem;
	letter-spacing: 0.05em;
	padding: 16px 50px 12px;
	border-radius: 13px;
	box-shadow: 1px 1px 7px rgba(0, 0, 0, 0.2);
}
.lessonWrap .lessonTtl.is-show{
    animation: lessonTtl 1s ease-out forwards;
    opacity: 1;
}
@keyframes lessonTtl{
	0% { transform: translateY(-30px) rotate(-30deg);	}
	60% { transform: translateY(10px) rotate(8deg); }
	100% { transform: translateY(0) rotate(6deg); }
}
.lesson01 ul li:first-child{
	background: url("../img/lesson/swimming.webp");
}
.lesson02 ul li:first-child{
	background: url("../img/lesson/cheerleading.webp");
}
.lesson03 ul li:first-child{
	background: url("../img/lesson/hiphop.webp");
}
.lesson04 ul li:first-child{
	background: url("../img/lesson/english.webp");
}
.lesson05 ul li:first-child{
	background: url("../img/lesson/soccer.webp");
}
.lesson06 ul li:first-child{
	background: url("../img/lesson/gymnastics.webp");
}
.lesson07 ul li:first-child{
	background: url("../img/lesson/art.webp");
}
@media screen and (max-width: 768px){
	.lessonWrap section ul{
		margin: 0 auto;
		max-width: 500px;
		flex-wrap: wrap;
		gap: 15px;
	}
	.lessonWrap section ul li:first-child{
		width: 100%;
	}
	.lessonWrap section ul li:last-child{
		width: 100%;
		margin-top: 0;
	}
}
@media screen and (max-width: 600px){
	.lessonWrap .lessonTtl{
		top: -25px;
		right: -10px;
		padding: 22px 3px 8px 0;
	}
	.lessonWrap .lessonTtl span{
		font-size: 1.4rem;
		padding: 16px 45px 12px;
	}
	.lessonWrap section ul{
		width: 95%;
		flex-wrap: wrap;
		justify-content: center;
	}
}
@media screen and (max-width: 360px){
	.lessonWrap .lessonTtl{
		top: -25px;
		right: -10px;
		padding: 18px 3px 7px 0;
	}
	.lessonWrap .lessonTtl span{
		font-size: 1.25rem;
		padding: 14px 40px 12px;
	}
	.lessonWrap section ul{
		width: 95%;
		flex-wrap: wrap;
		justify-content: center;
	}
}


/* table */

.lessonTable{
	width: 100%;
}
.lessonTable th,
.lessonTable td{
	vertical-align: middle;
	box-sizing: border-box;
	line-height: 1.75rem;
}
.lessonTable th{
	text-align: center;
	font-weight: 600;
	color: var(--vermilion);
	background: var(--pale);
	width: 130px;
}
.lessonTable td{
	background: #fff;
	padding: 22px 30px;
}
.lessonTable tr:not(:last-of-type) th,
.lessonTable tr:not(:last-of-type) td{
	border-bottom: dashed 1px var(--deep);
}
.lessonTable th span,
.lessonTable td span{
	display: block;
	font-size: 0.7em;
	line-height: 1.2rem;
}
.lessonTable th span{
	margin-top: 3px;
}
.lessonTable td span{
	margin-top: 5px;
}
.lessonTable a{
	color: #242323;
}
.lessonTable a:hover{
	color: var(--base);
}
@media screen and (max-width: 450px){
	.lessonTable{
		line-height: 1.5rem;
	}
	.lessonTable th{
		width: 100px;
	}
	.lessonTable td{
		padding: 20px 20px;
	}
	.lessonTable tr:not(:last-of-type) th,
	.lessonTable tr:not(:last-of-type) td{
		border-bottom: dotted 1px var(--deep);
	}
}

