@media screen and (max-width: 768px) {

	h2{
		text-align: center;
		font-weight:bold;
		font-size:2.0em;
	}
	h3{
		text-align: center;
		font-weight:bold;
		font-size:1.5em;
	}
	h3.f-small{
		font-size:1.25em;
	}

	img{
		width: 90%;
	    margin-left:auto !important;
	    margin-right:auto !important;
		height:auto !important;
		display:block !important;
		margin-bottom:15px !important;
		float: none !important;
	}

	.cource img{
		max-width: 100%;
		margin-bottom:0 !important;
	}

	img.u-max-full-width{
		width: auto;
		max-width: 100% !important;
	}

	#countdown img{
		width: 100%;
	    margin-left:auto !important;
	    margin-right:auto !important;
		height:auto !important;
		display:block !important;
		margin-bottom:0px !important;
		float: none !important;
	}

.backtop{
	position: absolute;
	right:  0px;
    top: 50px;
	z-index:1;
	width:300px;
}
.backtop2{
	position: absolute;
	right:  0px;
/*    bottom: -150px;*/
    bottom: 0px;
	z-index:1;
	width:300px;
}
	body div.section1{
/*		padding-bottom:170px;*/
		padding-bottom:30px;
	}

	img.img-float-r{
		max-width: 45%;
	}
	img.nores{
		width: auto !important;
	}
	.nopc{
		display: inline-block;
	}
	.nosp{
		display: none;
	}
	img.mb0{
		margin-bottom:0px !important;
	}
  .hero {
    padding: 60px 0 0 !important;
    background-position: center top;
    background-size: cover;
  }

.topmsg {
    width: 95%;
}
img.spw {
		max-width: 100% !important;
		width: 300px;
	}
	.hero_inner{
			padding: 0;
	}
}

@media screen and (max-width: 480px) {

	h2,h3.headline-lg{
		text-align: center;
		font-weight:bold;
		font-size:1.4em;
	}
	img{
		width: 90%;
	    margin-left:auto !important;
	    margin-right:auto !important;
		height:auto !important;
		display:block !important;
		margin-bottom:15px !important;
		float: none !important;
	}

	img.u-max-full-width{
		width: auto;
		max-width: 100% !important;
	}

	img.u-max-70p-width{
		max-width: 70% !important;
	}

	img.img-float-r{
		max-width: 90% !important;
		margin-left:0;
	}

	img.mb0{
		margin-bottom:0px !important;
	}

	.mincho30 {
	    font-size: 125% !important;
	}

	.mincho24 {
	    font-size: 115% !important;
	}
	.f20 {
	    font-size: 110% !important;
	}
	.f24 {
	    font-size: 120% !important;
	}

	h4{
		font-size:1.2em;
	}

	.hero {
	padding: 30px 0 0 !important;

	}

	.hero_inner{
	  	padding: 0;
	}
	.osusume ul {
	    font-size: 1.7rem;
	}
	.program1 .section-description {
	    font-size: 1.1em;
	}

	.guidance .waku {
	    max-width: 100%;
	}
	.guidance .waku img{
		width: 100% !important;
		padding-top:0;
	}
	img.spw {
			max-width: 70% !important;

		}
		table.haishin th,table.haishin td{
		  font-size: 0.88em;
		}
		.tokuten_p{
			width: 100%;
		}

	  table.outlineTable {
	    border-top: 1px solid #999;
	    border-bottom: 1px solid #999;
	  }
	  table.outlineTable td {
	    display: block;
	    width: auto;
	    border-bottom: none;
	  }

}

/* Bigger than 550 */
@media (min-width: 550px) {
  .section {
    padding: 3rem 0 2rem;
  }
  .hero {
  	/*padding: 0 0 !important;*/
  }
  .hero-heading {
    font-size: 2.4rem;
  }
}



/* Bigger than 1000 */
@media (min-width: 1000px) {
  .section {
    padding: 3rem 0 3rem;
  }
  .hero {
  	/*padding: 0 0 !important;*/
    /*height: 980px;*/
    height: auto;

  }
  .hero-heading {
    font-size: 3.0rem;
  }
}

/* Bigger than 769 */
@media (min-width: 769px) {
  .hero {
  	/*padding: 0 0 !important;*/
  }
  .hero-heading {
    font-size: 2.6rem;
  }
  .section {
    padding: 4rem 0 3rem;
    width: 100%;
  }
  .section-description {
    max-width: 95%;
    margin-left: auto;
    margin-right: auto;
  }
  .container{
    width: 100%;
  }
}
