@charset "utf-8";

html,body,h1,h2,h3,h4,p,ol,ul,li{
    margin: 0;
    padding: 0;
		line-height: 1.4;
		font-family:"Hiragino Kaku Gothic ProN",Meiryo,sans-serif;
}
ul,ol{
	list-style: none;
}
img{
	border: none;
	vertical-align: bottom;
	max-width: 100%;
	height: auto;
}
a{
	text-decoration: none;
}

.content{
	max-width: 960px;
	margin: 30px auto 100px;
}

h1{
	margin-bottom: 30px;
}
.spimg{
	display: none;
}

.bay{
	margin-bottom: 30px;
}
.gallery-box{
	display: flex;
	justify-content: space-between;
	margin-bottom: 20px;
}
.gallery-box li{
	width: 50%;
	margin-left: 1.2%;
}
.gallery-box li:first-child{
	margin-left: 0;
}

.gallery-box img{
	border-radius: 20px;
}

h2{
	margin-bottom: 30px;
	padding: 18px;
	background: #7fa672;
	color: #fff;
	text-align: center;
	font-size: 30px;
}

.text-box1{
	margin-bottom: 60px;
	font-size: 30px;
	line-height: 1.6;
}

.font-30{
	border-bottom: 2px dashed #000;
}

.text-box2{
	margin-bottom: 50px;
	padding-bottom: 50px;
	border-bottom: 2px solid #231815;
	font-size: 24px;
}

.color-g{
	font-size: 34px;
	font-weight: bold;
	color: #7fa672;
}

h3{
	position: relative;
	padding: 10px 10px 10px 34px;
	font-size: 30px;
}

h3::after {
	position: absolute;
	content: '';
	bottom: 0.6em;
	left: 0;
	width: 28px;
	height: 28px;
	background-color: #7fa672;
}

.use-list{
	counter-reset: my-counter;
	padding: 0;
	margin: 0;
}

.use-list li{
	margin-bottom: 10px;
	padding-left: 30px;
	position: relative;
	font-size: 24px;
}

.use-list li:before {
	content: counter(my-counter);
	counter-increment: my-counter;
	background-color: #333;
	border: 1px solid;
	border-radius: 50%;
	box-sizing: border-box;
	display: flex;
	justify-content: center;
	align-items: center;
	height: 28px;
	width: 28px;
	color: #ffffff;
	font-size: 70%;
	position: absolute;
	top: 0;
	left: 0;
}

.s-font{
	font-size: 20px;
}

.notes li{
	margin-bottom: 10px;
	padding-left: 30px;
	position: relative;
	font-size: 24px;
}

.notes li::after {
	position: absolute;
	content: '';
	left: 10px;
	top: 10px;
	width: 5px;
	height: 5px;
	background-color: #000;
	border-radius: 50%;
}

h4{
	margin-bottom: 26px;
	font-size: 30px;
}

h4 img{
	padding-left: 20px;
	height: 27px;
	vertical-align: middle;
}

.teacher{
	margin-bottom: 50px;
}

.teacher p{
	font-size: 24px;
}

.teacher-r{
	max-width: 300px;
	margin-bottom: 30px;
	margin-left: 30px;
	float: right;
	border-radius: 20px;
}

.btn{
	text-align: center;
}

.btn a{
	padding: 6px 30px;
	background: #f00;
	color: #fff;
	font-size: 24px;
}

footer{
	padding: 40px 20px;
	background-color: #404040;
	text-align: center;
	color: #ffffff;
	font-size: 20px;
	line-height: 1.4; 
	font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,"Noto Sans",sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji";
}

footer .container{
	margin: 0 auto;
	max-width: 960px;
}
.footer-nav{
	display: flex;
	justify-content: space-evenly;
	list-style: none;
	text-align: center;
	text-decoration: none;
	padding-inline-start: 0px;
	margin-bottom: 40px;
}
.footer-nav li{
	line-height: 1.8;
}
.footer-nav li a{
	color: #ffffff;
	height: auto;
}
.footer-nav li:hover{
    opacity: 0.5;
}
.ec-footerTitle__logo{
	margin-bottom: 10px;
}
.ec-footerTitle__logo img{
	width: 280px;
	text-align: center;
}
.ec-footerTitle__logo img:hover{
	opacity: .5;
}
.ec-footerTitle__copyright{
  font-size: 12px;
  color: #ffffff;
  margin-bottom: 40px;
}
ul.footer-nav{
  padding-left: 29px;
}
.ec-footerLicence{
  display: flex;
  max-width: 580px;
  margin: 0 auto;
  padding:0 20px;
  text-align: start;
}
.ec-footerLicence__left{
  max-width: 60px;
  margin-right: 20px;
}
.ec-footerLicence__right{
  width: 500px;
  font-size: 10px;
  color: #fff;
  text-align: justify;
}
.ec-footerLicence__right a{
  color: #fff;
  text-decoration: none;
}
  

@media screen and (max-width: 767px){
	.content{
		padding: 0 10px;
	}
	.pcimg{
		display: none;
	}
	.spimg{
		display: inherit;
	}
	.gallery-box{
		display: inherit;
	}
	.gallery-box li{
		width: 100%;
		margin-left:0;
		margin-bottom: 10px;
	}
	
	h2{
		margin-bottom: 20px;
		padding: 8px;
		font-size: 20px;
	}
	
	.text-box1{
		margin-bottom: 30px;
		font-size: 18px;
	}
	
	.text-box2{
		margin-bottom: 30px;
		font-size: 18px;
	}
	
	.color-g{
		font-size: 20px;
	}
	h3{
		padding: 10px 10px 10px 28px;
	}
	
	h3,h4{
		font-size: 20px;
	}
	
	h3::after{
		bottom: 0.8em;
		width: 20px;
		height: 18px;
	}
	
	.use-list li{
		font-size: 18px;
	}
	.use-list li:before {
		height: 20px;
		width: 20px;
		font-size: 70%;
	}
	
	.s-font{
		font-size: 14px;
	}
	
	.notes li{
	font-size: 18px;
	}
	
	.teacher-sp{
		width: 50%;
		margin-bottom: 20px;
		border-radius: 20px;
	}
	
	.teacher p{
		font-size: 18px;
	}

	footer{
		padding: 20px 0px;
	}
	footer .container{
		margin: 0 auto;
		max-width: 540px;
	}
	.ec-footerLicence{
		width: 80%;
	  }
	.ec-footerTitle__logo img{
		width: 240px;
	}	
	.ec-footerTitle__copyright{
		font-size: 10px;
	  }
}
