@media screen and (max-width: 768px) {
a{ word-break: break-all;}

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

	h3, h3.headline-box{
		text-align: center;
		font-weight:bold;
		font-size:1.5em;
	}

	h4.x12{
		font-size:1.35em;
	}

	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: 320px !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;
	}

	img.w100{
		width: 100%;
	}

.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;
	}
	img.mb0{
		margin-bottom:0px !important;
	}
  .hero {
    padding: 0 !important;
    background-position: center top;
    background-size: cover;
  }

  	.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;
	}
	h4.title{
		width: 95%;
		box-sizing: border-box;
	}
	div.formwrap{
		max-width: 95%;
		padding-left: 10px;
		padding-right: 10px;
		box-sizing: border-box;
	}
	.profbg {
		background-size: 150%;
	}

}

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

	.section-heading,
	.section-description {
	  text-align:left;
	}

	h2,h3.headline-lg,h3.headline-box{
		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;
	}

	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: 0 !important;

	}
	ul#ico li {
	      font-size: 1.5rem;
	}
	.program1 .section-description, .description .section-description {
	    font-size: 1.1em;
	    text-align: left;
	}
	.program1 .topmsg h3{
		font-size:1.25em;
	}
	.guidance .waku {
	    max-width: 100%;
		padding:2rem 1.5rem 1rem;
	}

	.guidance .guide-txt{
	    margin-top:0.5em;
	}
	.guidance dt{
	  float: none;
	}

	.guidance img{
		width:100%;
	}
	.guidance dd{
	  margin-left: 0;
	  text-align: left;
	  margin-bottom:1em;
    font-size:1.0em;
	}

	.guidance .pr-border{
		padding: 1em 0.5em 0;
	}
	.guidance dl.menu dt{
	  float: none;
	}
	.guidance dl.menu dd{
	    font-size:1.1em;
	    margin-bottom:0.5em;
			padding-left: 0;
	}
	.guidance .price {
		font-size: 1.2em;
	}
	.menu1 {
		/*display: block;
		width: auto;*/
		font-size:1.2em;
		margin-bottom: 0.5em;
	}
	.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:before, .photo-box:after{
	content:'';
	position:absolute;
	top:-10px;
	width:1px;
	height:-webkit-calc(100% + 20px);
	height:calc(100% + 20px);
	background-color:#c9a27b;
	}
	.photo-box:before {left:10px;}
	.photo-box:after {right:10px;}
	*/
	.photo-box img{width:100%; margin-bottom:0 !important; }

	div.formwrap table.formTable1{width: 100%;}
	div.formwrap table th,div.formwrap table td{
		width: 100%;
		display: block;
		box-sizing: border-box;
	}
	input[type="text"],	input[type="email"] {
	 width: 100%;
 }
 .entryform .w85,
 .program .w85 {
 	width: 100%;
 }

}

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

}
