@media screen and (max-width: 960px) {
	.guidance .subheader img{
		width: 100%;
	}
	.container{
		padding: 0 10px;
	}
	#countdown img{
		width: 100%;}
}

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

.container{
	padding: 0 10px;
}

a{ word-break: break-all;}

	h2{
		text-align: center;
		font-weight:bold;
		font-size:2.0em;
	}

	h3{
		text-align: center;
		font-weight:bold;
		font-size:1.6em;
	}

	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.nores {
    width: auto !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: block;
	}

	.nosp{
		display: none!important;
	}
		.nopc img{
			width: 100%;
		}
	img.mb0{
		margin-bottom:0px !important;
	}


  	.content1{
		display: block;
		margin-bottom: 0.5em;
	}

	.content1 span img {
		width: auto !important;
		display: inline-block !important;
		margin: 0 !important;
		padding: 0 !important;
	}

	.content1 span {
		display: block;
		text-align: left;
		padding: 0.5em 0.5em 0.5em 0;
	}
	.box {
		font-size:1.1em;
	}


}

@media screen and (max-width: 480px) {
	body{
		font-size: 140%;
	}
	.section-heading,
	.section-description {
	  text-align:left;
	}

	.f30{font-size: 2.0rem;}
	.f24r,.guidance h3.ttl
	{font-size: 1.8rem;}

	h2,h3,h3.headline-lg{
		text-align: center;
		font-weight:bold;
		font-size:1.3em;
	}
	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.nores {
    width: auto !important;
  }
	img.img-float-r{
		max-width: 60% !important;
	}

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

	.spw70{
		width: 70%!important;
	}

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

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

	h4{
		font-size:1.2em;
	}


	ul#ico li,ul#ico2 li{
		padding-left: 2.4rem;
		font-size:1.7rem;
	}
	.osusume ul {
	    font-size: 1.7rem;
	}
	.program1 .section-description {
	    font-size: 1.1em;
	}

	.program1 .topmsg2 {
		background: url(../images/top-left.png) no-repeat left top, url(../images/top-right.png) no-repeat right bottom;
		background-size:20%;
		padding:20px;
	}
	.program1 .topmsg2 p {
		padding:20px;
	}

	.guidance .waku {
	    max-width: 100%;
			padding: 0 1em;

	}
	.guidance .guidbox li{
		font-size: 2.0rem;
	}
	.guidance .f40{
		font-size: 2.4rem;
	}

	.guidance .guide-txt{
	    margin-top:0.5em;
	}
	.guidance dt{
	  float: none;
	}
	.guidance dd{
	  margin-left: 0;
	  text-align: left;
	  margin-bottom:1em;
	}
	.tab1_content, .tab2_content {
  		padding: 20px 10px 10px;
  	}
	.tab1_item, .tab2_item{
		font-size:120%;
	}
	.menu1 {
		/*display: block;
		width: auto;*/
	}
	.content1{
		display: block;
		/*font-size:120%;*/
	}
	.content1 span {
		display: block;
		text-align: left;
		padding: 0.5em 0.5em 0.5em 0;
	}
	.content1 span img {
		width: auto !important;
		display: inline-block !important;
		margin: 0 !important;
		padding: 0 !important;
	}
	.photo-box{
	width:100%;
	margin:0 auto 25px auto;
	position:relative;
	/*
	padding:10px 20px;
	border-top:solid 1px #c9a27b;
	border-bottom:solid 1px #c9a27b;
	*/
	}
	.photo-box img{width:100%; margin-bottom:0 !important; }
	.w80{	width:100%;
	}
	.message_box{
		padding:15px;
		font-size: 1.6rem;
	}
	.prof .section-description {
	    font-size: 1.1em;
	}
	.profBox{
		font-size: 1.0em;
		padding: 1em;
	}
	.profBox img{
		width: 100%;
	}
.prof_box{
	padding: 1em;
}

	.qa dl dd {
		margin-bottom: 0;
	}
	.desc{font-size: 1.6rem;}
	h3.ttl,	.message .line-center span, .prof .line-center span
	{font-size: 1.8rem;}
.desc.spmb0{
	margin-bottom: 0!important;

}
.desc.spmb0 p.pt30{
	padding-top: 0!important;
	margin-bottom: 0;
}
}

/* 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%;
  }
}
