@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(--deepgreen);
	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/karate.webp");
}
.lesson02 ul li:first-child{
	background: url("../img/lesson/gymnastics.webp");
}
.lesson03 ul li:first-child{
	background: url("../img/lesson/soccer.webp");
}
.lesson04 ul li:first-child{
	background: url("../img/lesson/english.webp");
}
.lesson05 ul li:first-child{
	background: url("../img/lesson/piano.webp");
}
.lesson06 ul li:first-child{
	background: url("../img/lesson/art.webp");
}
.lesson07 ul li:first-child{
	background: url("../img/lesson/gakken.webp");
}
.lesson08 ul li:first-child{
	background: url("../img/lesson/violin.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(--deepgreen);
	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;
}
@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);
	}
}


/* karate */

.lessonKarateNote{
	text-align: center;
	font-size: var(--fsSmall);
	color: #666;
	margin-bottom: 50px;
}
.lessonKarateWrap{
	background: linear-gradient(to bottom, #fff 10%, var(--pale) 100%) 0 0 / 100% 100%;
	padding-bottom: 50px;
}
.lessonKarateWrap section{
	border-radius: 25px;
	background: #fff;
	box-shadow: 3px 3px 5px #efefef;
	border: solid 1px var(--base);
	overflow: hidden;
}
.lessonKarateWrap h3{
	font-size: var(--fsXLarge);
	font-weight: 500;
	color: #fff;
	background: var(--liner);
	padding: 18px 30px;
	text-align: center;
}
.lessonKarateWrap h3 span,
.lessonKarateWrap h4 span{
	display: inline-block;
}
.lessonKarateWrap h4{
	text-align: center;
	color: var(--dark);
	padding: 10px 30px;
	border-bottom: dotted 1px var(--base);
}
.lessonKarateInner{
	padding: 0 40px 40px;
}
.lessonKarateInner h5{
	background: var(--pale);
	color: var(--deepgreen);
	font-size: var(--fsLarge);
	font-weight: 600;
	margin: 30px 0 20px;
	padding: 12px 20px;
	border-left: solid 5px var(--base);
}
.lessonKarateInner table{
	margin-bottom: 8px;
	border-radius: 8px;
	overflow: hidden;
}
.lessonKarateInner table th{
	background: var(--liner);
	color: #fff;
	font-weight: 600;
	width: 140px;
	border-radius: 8px;
	text-align: center;
}
.lessonKarateInner table td{
	color: var(--dark);
	font-weight: 500;
}
.lessonKarateInner table td:first-of-type{
	padding-left: 25px;
}
.lessonKarateInner table td:last-of-type{
	padding-left: 18px;
}
.lessonKarateInner table tr:first-of-type td{
	padding-top: 12px;
}
.lessonKarateInner table tr:last-of-type td{
	padding-bottom: 12px;
}
.lessonKarateInner table tr:not(:last-of-type) td{
	padding-bottom: 4px;
}
.lessonKarateInner ul{
	padding-top: 30px;
	width: 100%;
	display: grid;
	gap: 12px;
	justify-content: center;
}
.lessonKarateInner ul:has(li:nth-child(1):nth-last-child(1)){
	grid-template-columns: 1fr;
	max-width: 500px;
	margin: 0 auto;
}
.lessonKarateInner ul:has(li:nth-child(2):nth-last-child(1)){
	grid-template-columns: repeat(2, 1fr);
}
.lessonKarateInner ul:has(li:nth-child(3):nth-last-child(1)){
	grid-template-columns: repeat(2, 1fr);
}
.lessonKarateInner ul:has(li:nth-child(4):nth-last-child(1)){
	grid-template-columns: repeat(2, 1fr);
}
.lessonKarateInner ul li{
	background: #fff;
	border-radius: 15px;
	overflow: hidden;
	/*box-shadow: 0px 3px 10px rgba(0,0,0,0.1);*/
	aspect-ratio: 4/3;
}
.lessonKarateInner ul li img{
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}
@media screen and (max-width: 550px){
	.lessonKarateWrap{
		padding-bottom: 30px;
	}
	.lessonKarateInner{
		padding: 0 15px 15px;
	}
	.lessonKarateWrap h3{
		font-size: var(--fsLarge);
		line-height: 1.6em;
		padding: 18px 30px;
	}
	.lessonKarateWrap h4{
		line-height: 1.6em;
	}
	.lessonKarateWrap h4 span{
		display: block;
	}
	.lessonKarateWrap h4 span:first-of-type{
		display: none;
	}
	.lessonKarateInner h5{
		font-size: var(--fsMiddle);
		margin: 20px 0 15px;
	}
	.lessonKarateInner table{
		margin-bottom: 5px;
	}
	.lessonKarateInner table th{
		width: 100px;
	}
	.lessonKarateInner table td{
		line-height: 1.7em;
	}
	.lessonKarateInner table td:first-of-type{
		padding-left: 20px;
	}
	.lessonKarateInner table td:last-of-type{
		padding-left: 12px;
	}
	.lessonKarateInner table tr:first-of-type td{
		padding-top: 10px;
	}
	.lessonKarateInner table tr:last-of-type td{
		padding-bottom: 10px;
	}
	.lessonKarateInner table tr:not(:last-of-type) td{
		padding-bottom: 4px;
	}
	.lessonKarateInner ul{
		padding-top: 30px;
	}
}
@media screen and (max-width: 350px){
	.lessonKarateInner table th{
		width: 80px;
	}
}
