@media screen and (max-width: 768px) {

	h2{
		text-align: center;
		font-weight:bold;
		font-size:2.0em;
	}

	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;
	}

	#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;
	}
	#headwrap {
    padding-top: 69px;}

	#headbox{
		width: 98%;
		margin-left: 1%;
		margin-right: 1%;
	}
.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: 0 0 !important;
    background-position: center top;
    background-size: cover;
  }
img.spw {
		max-width: 100% !important;
		width: 300px;
	}
}

@media screen and (max-width: 480px) {
	#headwrap {
		padding-top: 30px;}

	.section-heading,
	.section-description {
	  text-align:left;
	}
	h2,h3.headline-lg{
		text-align: center;
		font-weight:bold;
		font-size:1.2em;
	}
	img{
		width: 100%;
	    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: 50% !important;
	}

	img.mb0{
		margin-bottom:0px !important;
	}

	.mincho30 {
	    font-size: 125% !important;
	}

	.mincho24 {
	    font-size: 110% !important;
	}
	.f20 {
	    font-size: 100% !important;
	}
	.f24 {
	    font-size: 100% !important;
	}

	h4{
		font-size:1.2em;
	}

	.hero {
	padding: 0 0 !important;

	}
	.osusume ul {
	    font-size: 1.7rem;
	}
	.program1 .section-description {
	    font-size: 1.1em;
	}
	.tab1_item, .tab2_item {
    	font-size: 125%;
    }
	.tab1_content, .tab2_content{
		padding: 10px 5px 0;
	}
	.pd15{
		padding: 0 15px 0;
	}
	.guidance .waku {
	    max-width: 100%;
	}
	.guidance .waku img{
		width: 100% !important;
		padding-top:0;
	}
	img.spw {
			max-width: 70% !important;

		}
		dl.check dt,dl.check dd{
			font-size: 1em;
		}
		.tab-bg p{
			font-size: 1.0em;
		}
		.tokuten dl{
			margin-top: 0;
			padding: 10px;
		}
		.tokuten{
			max-width: 100%;
		}
		.waku2{
			width: 90%;
			padding: 10px;
		}
		.waku2.f20,.fb20{
			font-size: 1em!important;
		}
		.message p{
			font-size: 0.9em;
		}
		.fb24,.im .content1,.sign{
			font-size:1.1em;
		}
		.im .menu1{
			margin-bottom: 0.5em;
		}
		.prof dd,.prof dt{
			font-size: 0.9em;
		}
}

/* 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%;
  }
}
