@media screen and (max-width:1850px){
	.course_wrap .left{
		width:33.637%;
	}
	
	.course_wrap .right{
		width:66.363%;
	}
	
	#elementary_ul .el_min{
		display:block;
	}
	
	#elementary_ul .el_under{
		display:table;
		margin:0 auto;
		text-align:center;
	}
	
	#elementary_ul li{
		width:calc( 100% / 5 - 1.5em );
	}
	
	#junior_high_ul li{
		width:calc( 100% / 3 - 2.2em );
	}
	
	#elementary_ul h5 span{
		display:block;
	}
	
	.en_inner p:nth-of-type(1){
		margin-top:1.5em;
	}
}

@media screen and (max-width:1690px){
	#english_intro .english_ul li{
		width:calc( 100% / 3 );
	}
	
	#english_intro ul{
		max-width:960px;
	}
	
	#english_intro .english_ul li:nth-of-type(4),
	#english_intro .english_ul li:nth-of-type(5),
	#english_intro .english_ul li:nth-of-type(6){
		margin-top:2em;
	}
	
	.english_ul li{
		width:calc( 100% / 3 - 1px );
	}
	
	.others .english_ul li:nth-of-type(4){
		margin-top:2em;
	}
	
	.english_ul li:nth-of-type(4) .wrap{
		margin:1em 0.5em 0 0.5em;
	}
	
	#english_intro ul{
		margin-bottom:2em;
	}
	
	.course_wrap .right{
		padding:7em 2em;
	}
	
	.course_wrap#junior_high_school .right{
		padding:9em 2em;
	}
}

@media screen and (max-width:1700px){
	
	.language .course_wrap#price_list h5 span{
		display:block;
		position:static;
	}

}

@media screen and (max-width:1640px){
	header#header{
		font-size:0.9em;
	}
	
	.course_wrap#price_list h5 span{
		display:block;
		position:static;
	}
	
	#about_aboutnaga h3{
		font-size:0.85vw;
	}
}

@media screen and (max-width:1550px){
	
	
	#focus .english_ul .wrap,
	#talk_talk .english_ul .wrap,
	#world_topics .english_ul .wrap,
	#elementary_school .english_ul .wrap{
		height:18em;
	}
	.course_ul{
		font-size:80%
	}
	
	#main_contents .inner.photo_right .content > p{
		font-size:110%;
	}
	
	.course_wrap#price_intro ul{
		display: -webkit-flex;
		display: -moz-flex;
		display: -ms-flex;
		display: -o-flex;
		display: flex;
		flex-wrap:wrap;
		max-width:800px;
	}
	
	.course_wrap#price_intro ul li{
		float:none;
		width:50%;
		margin-right:0;
		box-sizing:border-box;
		padding:1em;
	}
	
	.course_wrap#price_intro ul li:nth-of-type(3),
	.course_wrap#price_intro ul li:nth-of-type(4){
		margin-top:4em;
	}
	
	.course_wrap#price_intro ul li:before{
		left:0.3em;
	}
	
	#junior_high_ul li{
		width:calc( 100% / 3 - 1.2em );
	}
	
	#junior_high_school .subject_ul li:before{
		right:-1.2em;
	}
	
	.teacher_wrap .signature{
		display:block;
		margin:0 auto;
		width:33%;
	}
	
	.teacher_wrap .profile{
		width:67%;
	}
	
	.teacher_wrap .signature .left{
		text-align:center;
		width:auto;
		margin-right:1.7em;
	}
	
	.teacher_wrap .signature img{
		margin:0 auto 0.7em auto;
	}
	
	.tel_text{
		display:block;
		margin-top:0.5em;
	}
}

@media screen and (max-width:1490px){
	header#header li div:nth-of-type(1){
		margin-right:0.4em;
	}
	
	header#header li a{
		padding:1.8em 0.5em;
	}
	
}

@media screen and (max-width:1390px){
	#elementary_ul{
		flex-wrap:wrap;
		justify-content:flex-start;
	}
	
	#elementary_ul li{
		width:calc( 100% / 3 - 1.21em );
		margin-right:1.8em;
	}
	
	#elementary_ul li:nth-of-type(3){
		margin-right:0;
	}
	
	#elementary_school .subject_ul li:nth-of-type(4),
	#elementary_school .subject_ul li:nth-of-type(5){
		margin-top:2em;
	}
	
	.en_inner .yellow_wrap,
	.en_inner .red_wrap{
		position:static;
		margin-top:0.7em;
		margin-bottom:-0.2em;
	}
}

@media screen and (max-width:1280px){
	body{
		font-size:0.8em;
	}
	
	#footer_kotoba span{
		font-size:0.79rem
	}
	
	#main_contents .inner.photo_right .content,
	#main_contents .inner.photo_left .content{
		width:34.5em;
	}
	
	#main_contents .inner .top_image_wrap{
		width:calc( 100% - 37.79em );
	}
	
	.read_more{
		font-size:0.9rem;
	}
	
	#top_image #lesson_click{
		width:4em;
		top:40%;
	}
	
	.course_wrap#price_list .two,
	.course_wrap#price_list .three{
		float:right;
		margin-right:0;
	}
	
	.course_wrap#price_list ul.private li{
		width:calc( 100% / 2 - 1em );
		margin-right:0;
	}
	.course_wrap#price_list ul.private li:nth-of-type(2){
		float:right;
	}
	
	.course_wrap#price_list ul.private li:nth-of-type(3){
		margin-top:2em;
	}
	
	.course_wrap#price_list .one,
	.course_wrap#price_list .two,
	.course_wrap#price_list .three{
		width:calc( 100% / 2 - 1em );
	}
	
	#about_aboutnaga h3{
		font-size:85%;
	}
}

@media screen and (max-width:1155px){
	
	.sp_inline.size1155{
		display:inline;
	}
	
	#elementary_school .english_ul .wrap{
		height:21em;
	}
	
	header#header > ul li:nth-of-type(1){
		display:none;
	}
	
	footer .under ul{
		font-size:90%;
	}
}

@media screen and (max-width:1150px){
	.jhs_kind span{
		display:block;
		margin-bottom:1em;
	}
	
	#junior_high_ul .el_min{
		display:block;
	}
	
	#junior_high_ul .el_under{
		text-align:center;
	}
	
	.others #course_japanese .english_ul .wrap{
		padding-left:0.7em;
		padding-right:0.7em;
	}
	
	#about_triangle{
		display:block;
	}
	
	#about_triangle h3{
		text-align:center;
	}
	
	#about_triangle .left{
		width:100%;
		max-width:700px;
		margin:0 auto;
	}
	
	#about_triangle .left div{
		width:100%;
		padding:4em;
	}
	
	#about_triangle .left div:after{
		content:none;
	}
	
	#about_triangle .triangle_wrap{
		margin:3em auto 0 auto;
	}
	
	#about_staff .under{
		display:block;
		margin-top:3.5em;
	}
	
	#about_staff.translation_wrap p.text{
		width:auto;
		display:table;
		margin:0 auto;
	}
	
	#about_staff .under .right{
		width:100%;
		margin-top:3em;
	}
}

@media screen and (max-width:1070px){
	.english_ul li{
		width:calc( 100% / 2 - 1px );
	}
	
	.others .english_ul li:nth-of-type(3){
		margin-top:2em;
	}
	
	.english_ul li:nth-of-type(3) .wrap{
		margin:1em 0.5em 0 0.5em;
	}
	
	.teacher_wrap{
		display:block;
	}
	
	.teacher_wrap .signature{
		width:100%;
		margin-bottom:1.5em;
		max-width:500px;
	}
	
	.teacher_wrap .profile{
		width:100%;
	}
	
	.teacher_wrap .signature .left{
		text-align:center;
		width:auto;
		margin-right:1.7em;
	}
	
	.map_under{
		display:block;
	}
	
	#map_area{
		width:100%;
	}
	
	.map_under .right{
		width:auto;
		max-width:500px;
		margin:0 auto 3em auto;
		padding-left:0;
	}
	
	.tel_text{
		display:inline;
	}
}

@media screen and (max-width:985px){
	header#header li div:nth-of-type(1){
		display:none;
	}
	
	header#header nav ul li{
		position:relative;
	}
	
	header#header nav > ul > li > a:hover{
		background-color:#eed0cf;
	}
	
	header#header li a{
		padding:1.8em 1em;
	}
	
	span.ac_arrow{
		bottom:-1em;
		left:50%;
		right:auto;
		margin-left:-0.2em;
	}
	
	.fixed span.ac_arrow{
		display:none;
	}
	
	span.ac_arrow{
		bottom:-1em;
		left:50%;
		right:auto;
		margin-left:-0.2em;
	}
	
	li:hover span.ac_arrow{
		bottom:-0.6em;
	}
	
	span.ac_arrow:before{
		bottom:0.3em;
	}
	
	span.ac_arrow:after{
		bottom:0.4em;
	}
	
	li:hover span.ac_arrow:after{
		bottom:0.4em;
		background-color:#eed0cf;
	}
	
	#footer_kotoba{
		width:50%;
	}
	
	#footer_kotoba span{
		font-size:1.3vw;
	}
	
}

@media screen and (max-width:959px){
	body{
		font-size:0.7em;
	}
	
	header#header{
		font-size:103%;
	}
}

@media screen and (max-width:850px){
	header#header li a{
		padding:1.8em 0.5em;
	}
	
	footer#footer .under > ul > li > a{
		font-size:110%;
	}
	
	.pc_inline850{
		display:none;
	}
	
	.sp_inline850{
		display:inline;
	}
	
	#course_japanese ul li:nth-of-type(2) .icons{
		line-height:2;
		margin-top:-1em;
	}
	
	#course_japanese ul li:nth-of-type(2) .icons span{
		line-height:1.4;
	}
	
	#elementary_school .english_ul .wrap{
		height:22em;
	}

}

@media screen and (max-width:777px){
	
	.course_wrap .right,
	.course_wrap#junior_high_school .right{
		padding:2em 2em;
	}
	
	.language .course_wrap#price_list h5 span{
		width:9em;
	}
	
	.language .course_wrap .left .upper{
		min-height:3em;
	}
	
	.flags{
		top:6.7em;
	}
	
	.light_box ul li{
		width:calc( 100% / 5 - 0.4em );
		margin:0.2em;
	}
	
	.course_wrap .photo:after{
		content:none;
	}
	
	header#header nav{
		display:none;
	}
	
	span.ac_arrow{
		display:none;
	}
	
	header#header > ul{
		display:none;
	}
	
	.slicknav_menu{
		display:block;
	}
	
	#nav_twitter{
		display:block;
	}
	
	#nav_facebook{
		display:block;
	}
	
	footer .under > ul{
		display:-webkit-flex;
		display:-moz-flex;
		display:-ms-flex;
		display:-o-flex;
		display:flex;
		flex-wrap:wrap;
	}
	
	footer#footer .under > ul > li{
		float:none;
		margin-right:0;
		width:calc( 100% / 3 - 1px ) !important;
		text-align:center;
		padding-bottom:1em;
		margin-bottom:1.5em;
		border-style:dotted;
		border-width:0 0 1px 0;
		border-color:#ccc3b1;
	}
	
	#footer_kotoba{
		position:static;
		width:100%;
		max-width:450px;
		margin:0 auto;
		font-size:1em;
	}
	
	.language #footer_kotoba{
		float:none;
	}
	
	.language footer#footer .under > ul > li{
		width:calc( 100% / 2 - 1px ) !important;
	}
	
	.language footer#footer .under > ul > li > a{
		font-size:160%;
	}
	
	.language #footer_text1{
		float:none;
		text-align:center;
	}
	
	#footer_kotoba span{
		font-size:1.15em;
	}
	
	#to_top,
	.language #to_top{
		width:16em;
		padding:1em 6em 0 6em;
		margin-left:-8em;
		height:4em;
	}
	
	#to_top span span{
		display:none;
	}
	
	#top_image #kotoba{
		width:70%;
		margin:-8% 0 0 -35%;
	}
	
	#top_image #naga_text{
		width:50%;
		margin-left:-25%;
		margin-top:4%;
	}
	
	#main_contents .inner.photo_right .content,
	#main_contents .inner.photo_left .content{
		display:block;
		position:static;
		width:100%;
	}
	
	#main_contents .inner.photo_right .top_image_wrap,
	#main_contents .inner.photo_left .top_image_wrap{
		display:block;
		position:static;
		width:100%;
		box-sizing:border-box;
	}
	
	#main_contents .inner.photo_right .content > p,
	#main_contents .inner.photo_left .content > p,
	#main_contents .inner.photo_left .content > div{
		height:auto;
		padding:2.5em 2em 5em 2em;
	}
	
	.read_more{
		font-size:0.8rem;
	}
	
	.sub_title1{
		display:table;
		margin-left:auto;
		margin-right:auto;
	}
	
	#main_contents{
		padding:5em 5%;
	}
	
	#main_contents .inner{
		margin-bottom:7em;
	}
	
	#main_contents .inner .top_image_wrap{
		height:auto;
		border-width:4.5vw;
	}
	
	#main_contents .inner .top_image_wrap:before{
		content:"";
		display:block;
		padding-top:60%;
	}
	
	#top_image #lesson_click{
		width:4em;
		top:auto;
		bottom:2em;
	}
	
	.course_wrap .left{
		width:100%;
		float:none;
	}
	
	.course_wrap .right{
		width:100%;
		float:none;
	}
	
	.course_wrap .photo{
		height:auto;
	}
	
	.course_wrap .photo:before{
		content:"";
		display:block;
		padding-top:40%;
	}
	
	.course_wrap.pt2 h3{
		margin-bottom:1.7em;
	}
	
	#english_intro .title img{
		display:block;
		margin:0.3em auto -0.3em auto;
	}
	
	#english_intro .title#primary img{
		margin-top:0;
	}
	
	#english_intro ul .wrap{
		height:17em;
	}
	
	#map_area{
		border-width:4.5vw;
	}
	
	#about_naga #main_contents .inner.photo_right .content > p{
		padding-bottom:1em;
	}
	
	#about_policy .under ul li{
		width:16em;
		height:16em;
		margin:0 1vw;
	}
	
	.language_top_text{
		margin-top:-2em;
	}
	
	h1{
		display:block;
		position:fixed;
		z-index:102;
		font-size:200%;
		width:10em;
		text-align:center;
		top:0;
		left:50%;
		margin-left:-5em;
		margin-top:0.8em;
		color:#921c1c;
	}
	
	h1.fixed{
		margin-top:0.4em;
	}
	
	#top_sns_wrap > div{
		width:100%;
		max-width:500px;
		margin:0 auto;
	}
	
	#twitter_wrap{
		float:none;
	}
	
	#facebook_wrap{
		float:none;
		margin-top:5em !important;
	}
	
	#top_sns_wrap .sns_icon{
		width:7em;
	}
	
	.sub #top_image #naga_text{
		margin-top:-1.3em;
	}
	
	h2,
	h3,
	h4,
	h5,
	.title_area,
	.course_wrap#price_intro .sub_text,
	.sub_title,
	footer#footer .under > ul > li > a,
	#footer_text1,
	.light_box .title,
	.sub_text2,
	.english_ul .title,
	.en_inner p:nth-of-type(1),
	.course_wrap#elementary_school div.upper > p,
	.course_wrap#junior_high_school div.upper > p,
	#about_aboutnaga span:nth-of-type(odd),
	h1,
	#main_form th,
	.private_text1,
	.teacher_wrap2 ul li div:first-child,
	.translation_wrap h4.trans_title,
	p.alt_h3{
		font-family:'ipa';
	}
	
	.bottom_buttons a,
	.bottom_buttons input[type="submit"]{
		font-family:'ipa';
	}
}

@media screen and (max-width:599px){
	
	#voice #main_contents .pwrap p{
		padding:1em 0 1em 6vw;
		margin-left:3vw;
	}

	#voice #main_contents .pwrap .alt_p{
		padding:1em 0 1em 6vw;
		margin-left:3vw;
	}
	
	#course_japanese .english_ul li,
	.course_wrap2 .english_ul > li{
		width:100%;
	}
	
	#course_japanese .english_ul li:first-child,
	.course_wrap2 .english_ul > li:first-child{
		margin-bottom:2em;
	}
	
	#course_japanese .english_ul .wrap,
	#focus .english_ul .wrap,
	#talk_talk .english_ul .wrap,
	#world_topics .english_ul .wrap,
	#elementary_school .english_ul .wrap{
		height:auto;
		padding-bottom:3em;
	}
	
	.teacher_wrap .profile table, #about_staff table{
		table-layout:auto;
	}
	
	.sub #top_image #naga_text{
		width:76%;
		margin-left:-38%;
		margin-top:-1em;
	}
	
	.sp_inline{
		display:inline;
	}
	
	.pc_inline{
		display:none;
	}
	
	.pc_block{
		display:none;
	}
	
	.sp_block{
		display:block;
	}
	
	#footer_kotoba #footer_tel{
		width:40%;
	}
	
	#footer_kotoba span{
		font-size:2.3vw;
	}
	
	#to_top,
	.language #to_top{
		width:7em;
		padding:0.6em 2em 0 2em;
		margin-left:-3.5em;
		height:3em;
	}
	
	#to_top span{
		display:none;
	}
	
	#top_image{
		height:50vh;
	}
	
	#top_image:before{
		height:65vh;
	}
	
	.sub #top_image:before{
		height:48vh;
	}
	
	#top_image .title_area{
		font-size:2.8vw;
	}
	
	.sub #top_image .title_area{
		font-size:170%;
		width:80%;
		margin-left:-40%;
	}
	
	#main_contents{
		padding:4em 5%;
	}
	
	#top_image #lesson_click{
		width:3em;
		bottom:1em;
	}
	
	#top_image .arrow_down{
		width:3.4em;
		margin-left:-1.7em;
		bottom:4.5em;
	}
	
	.sub #top_image .title_area .sub_title1 div:nth-of-type(1){
		width:3.6em;
		height:3.6em;
		margin-right:0.5em;
	}
	
	.sub #top_image .sub_title1 span{
		font-size:0.95rem;
		margin-top:0.07em;
	}
	
	#english_intro ul .wrap{
		height:20em;
	}
	
	.pc_table{
		display:none;
	}
	
	.sp_table{
		display:table;
	}
	
	#about_policy .under h4{
		margin:0.5em auto 1em auto;
	}
	
	#about_policy .under ul li{
		width:14em;
		height:14em;
	}
	
	#about_policy .under ul li:nth-of-type(2){
		margin:0 1vw;
	}
	
	#about_policy .under ul li{
		margin:0;
	}
	
	#about_triangle .triangle_wrap{
		width:100%;
	}
	
	#main_form th{
		width:5em;
		padding-right:1em;
		font-size:85%;
	}
	
	#main_form .child th{
		padding-right:0;
	}
	
	#main_form .child th{
		width:7em;
	}
	
	#main_form textarea{
		height:50vw;
	}
}

@media screen and (max-width:500px){
	.english_ul li{
		width:100%;
	}
	
	.others .english_ul li:nth-of-type(2){
		margin-top:2em;
	}
	
	#course_japanese.others .english_ul li:nth-of-type(2){
		margin-top:0;
	}
	
	.others .english_ul li:nth-of-type(2) .wrap{
		margin:1em 0.5em 0 0.5em;
	}
	
	#course_japanese.others .english_ul li:nth-of-type(2) .wrap{
		margin-top:0;
	}
	
	#about_policy .under ul{
		display:block;
	}
	
	#about_policy .under ul li{
		width:18em;
		height:18em;
		margin:0 auto;
	}
	
	#about_policy .under ul li:nth-of-type(2){
		margin:1em auto;
	}
	
	#about_policy .under h4{
		margin:2em auto;
	}
	
	#about_triangle .triangle_body{
		font-size:2.3vw;
		width:100%;
	}
	
	#about_triangle .triangle_wrap{
		height:55vw;
	}
	
	#english #about_policy .under ul li:last-child,
	#french #about_policy .under ul li:last-child{
		width:18em;
	}
	
	.sp_inline500{
		display:inline;
	}
}

@media screen and (max-width:480px){
	#footer_logo{
		float:none;
		margin:1.7em auto 0 auto;
	}
	
	#footer_text1{
		float:none;
		text-align:center;
		font-size:137%;
	}
	
	footer#footer .under{
		padding:2em 0;
	}
	
	#main_contents{
		padding:3em 5%;
	}
	
	#junior_high_ul{
		flex-wrap:wrap;
	}
	
	#elementary_ul li,
	#junior_high_ul li{
		width:calc( 100% / 2 - 0.8em);
		margin-right:0;
	}
	
	#elementary_ul li:nth-of-type(1),
	#elementary_ul li:nth-of-type(3){
		margin-right:1.6em;
	}
	
	#elementary_ul li:nth-of-type(3),
	#junior_high_ul li:nth-of-type(3){
		margin-top:2em;
	}
	
	#english_intro .english_ul li{
		width:calc( 100% / 2 );
	}
	
	#english_intro .english_ul li:nth-of-type(3){
		margin-top:2em;
	}
	
	#english_intro ul .wrap{
		height:17em;
	}
	
	.tel_text{
		display:block;
	}
}

@media screen and (max-width:440px){
	.course_wrap#price_list .one,
	.course_wrap#price_list .two,
	.course_wrap#price_list .three{
		width:100%;
		float:none;
		margin:0;
	}
	
	.course_wrap#price_list ul.private li{
		width:100%;
		float:none;
		margin:0 0 2em 0;
	}
	
	.course_wrap#price_list ul.private li:last-child{
		margin:0;
	}
	
	.course_wrap#price_intro ul li{
		width:100%;
	}
	
	.course_wrap#price_intro ul li{
		margin-top:4em;
	}
	
	.course_wrap#price_intro ul li:first-child{
		margin-top:0;
	}
	
	#english_intro ul .wrap{
		height:20em;
	}
	
	.sp_inline2{
		display:inline;
	}
	
	.pc_inline2{
		display:none;
	}
	
	.teacher_wrap .profile table th{
		width:7.5em;
	}
	
	#main_contents .teacher_wrap.inner{
		padding:2.5em 4%;
	}
	
	.bottom_buttons a,
	.bottom_buttons input[type="submit"]{
		width:100%;
	}
	
	.bottom_buttons input[type="submit"]{
		margin-top:1em;
	}
	
	.image_box{
		display:block;
	}
	
	.image_box .img_box:before{
		content:"";
		display:block;
		padding-top:68%;
	}
	
	.img_box.left,
	.img_box.right{
		width:100%;
		margin:3.5em 0;
	}
	
	#voice .text.right,
	#voice .text.left{
		width:calc( 100% - 3vw );
	}
	
	#voice .text.right{
		padding:1em 0 1em 6vw;
		margin-left:3vw;
		border-width:0 0 0 1px;
		border-style:solid;
		border-color:#dedad0;
		box-sizing:border-box;
	}
	
	.image_box.space{
		padding:0;
	}
	
	.image_box.space.pt2{
		margin:3.5em 0;
	}

}

@media screen and (max-width:400px){
	#about_triangle .triangle_body span:nth-of-type(2){
		left:0;
	}
	
	#about_triangle .triangle_body span:nth-of-type(3){
		right:0;
	}
	
	#about_aboutnaga h3{
		font-size:2.5vw;
	}
	
	#top_sns_wrap > div{
		padding:1.5em;
	}
}

@media screen and (max-width:340px){
	#about_triangle .triangle_body span:nth-of-type(2){
		left:-1em;
	}
	
	#about_triangle .triangle_body span:nth-of-type(3){
		right:-1em;
	}
}

@media screen and (min-width:600px){
	.tel_link{
		pointer-events:none;
	}
}