@charset "UTF-8";
@media (max-width: 990px) {
/*---------------------------------------------------*/
main{
	width: 100%;
	margin: 0 auto;
	padding: 0 20px;
}
.fluid {
	max-width: 100%;
	height: auto;
}
.teacher {
	width: 100px;
}
.line {
	display: block;
	text-align: center;
}
.line img {
	width: 80%;
}
.line2 {
	display: block;
	text-align: center;
}
.line2 img{
	width: 95%;
}
h2{
	margin-top: 50px;
}
h2 img{
	width: 80%;
}
.keireki p img{
	width: 40%;
}
.keireki h3{
	width: 80%;
	font-size: 18px;
}
.kokuban h3 span{
	font-size: 15px;
	padding-left: 10px;
	padding-right: 10px;
}
.kokuban dt, .kokuban dd{
	font-size: 12px;
	line-height: 15px;
}
.kokuban{
	width: 100%;
	margin-top: 50px;
	padding: 10px;
	border: 10px solid rgb(0,82,67,0.4);
	border-radius: 10px;
}
hr{
	margin-top: 10px;
	border: 10px solid rgb(166,124,82,0.4);
}
/*------------開発ストーリー----------------*/
.story{
	margin-top: 100px;
	font-size: 15px;
	line-height: 23px;
}
.story h3{
	font-size: 30px;
}
.s_content {
	padding: 0 30px;
}
.s_content:nth-of-type(2),.s_content:nth-of-type(3){
	margin-top: 25px;
}
.s_content:nth-of-type(1) p,.s_content:nth-of-type(3) p{
	margin-left: 0px;
}
.s_content:nth-of-type(2) p:nth-of-type(4){
	position: absolute;
	bottom: -20px;
	right: 0;
}
.s_content_text {
	margin-top:0px;
}
.s_content_text2 {
	margin-top:0px;
}
.s_content:nth-of-type(2) {
	margin-bottom: 100px;
}
.study{
	width: 100%;
	margin-top: 25px;
	font-size: 15px;
	line-height: 20px;
}
.study:nth-of-type(3){
	width: 60%;
	padding-left: 20px;
	padding-top:10px;
	margin-left: 10px;
}
.s_content:nth-of-type(2) p:nth-of-type(4){
	bottom: 0px;
	right: 20px;
}
.last_study{
	width: 80%;
	position:absolute;
	bottom: -80px;	
}
/*------------ポイント----------------*/
.point{
	margin-top: 70px;
}
.attention p:first-of-type{
	font-size: 18px;
	line-height: 25px;
}
.attention_title::before{
	content: '';/*何も入れない*/
	display: inline-block;/*忘れずに！*/
	width: 50px;/*画像の幅*/
	height: 50px;/*画像の高さ*/
	background:url(../img/naname-l.png) no-repeat;
	background-size: contain;
	position: absolute;
	top:20px;
	left:0;
}
.attention_title::after{
	content: '';/*何も入れない*/
	display: inline-block;/*忘れずに！*/
	width: 50px;/*画像の幅*/
	height: 50px;/*画像の高さ*/
	background:url(../img/naname-r.png) no-repeat;
	background-size: contain;
	position: absolute;
	top:20px;
	right:0;
}
.attention p:nth-of-type(2) img{
	width: 150px;
}
/*------------ポイント内容----------------*/
.p_content h4{
	font-size: 18px;
}
.p_content h4:nth-child(2){
	left:35%;
	top:70px;
}
.sentence{
	margin: 30px 30px 0;
	font-size: 15px;
	line-height: 24px;
}
.waki_t p:first-child{
	margin-top: 70px;
	margin-right: 30px;
}
.waki_t p:nth-child(2){
	margin-right: 15px;
}
.sikonin{
	justify-content: flex-end;
	margin-right: 0px;
}
.last_sentence {
	margin:0;
	margin-top: -20px;
}
.s_content:nth-of-type(3){
	display: block;
}
.float {
	float: left;
	margin-right: 10px;
}
.float_none {
	clear: both;
}

/*---------------------------------------------------*/
}/*767*/
@media (max-width: 400px) {
.s_content_text2 {
	margin-top:14px;
}
.s_content:nth-of-type(1) {
	display: block;
}
.attention p:first-of-type{
	font-size: 14px;
	line-height: 20px;
}
.study:nth-of-type(3){
	width: 100%;
	padding-left: 10px;
	padding-top:10px;
	margin-left: 5px;
}
.s_content:nth-of-type(2) p:nth-of-type(4){
	bottom: -110px;
	right: 20px;
}
.last_study{
	width: 50%;
	position:absolute;
	bottom: -130px;	
}
.line3 {
	margin-top: 130px;
}
.light p img{
	width: 60%;
	margin: 0 auto;
}
.light h3 img {
	width: 60%;
}
.light h3:first-of-type,.light h3:last-of-type{
	font-size: 15px;
	font-weight: normal;
}
.light h3:first-of-type{
	width: 40%;
}
.waki{
	font-size: 15px;
}
.p_content h4:nth-of-type(2){
	left:30%;
	top:60px;
}
.kurou{
	flex-direction: column-reverse;

}
.kurou p:first-of-type img {
	width:100px;
	margin-top:-20px; 
}
.kurou p:nth-of-type(2) {
	padding-left: 30%;
	margin-top: 0px;
}
.teacher_head{
	margin-bottom:-30px;
}

}/*400*/