@media screen and (max-width: 768px) {
  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.5em;
  }

  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;
  }

  .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 0 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;
  }

  .tokutenImg {
    width: 100%;
    height: auto;
    float: none;
  }

  .programWrap {
    width: auto;
    margin: 1em auto;
  }
}

@media screen and (max-width: 480px) {

  .section-heading,
  .section-description {
    text-align: left;
  }

  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;
  }

  img.mb0 {
    margin-bottom: 0px !important;
  }

  .mincho30 {
    font-size: 125% !important;
  }

  .mincho24 {
    font-size: 115% !important;
  }

  .f18 {
    font-size: 100%;
}

.f20 {
  font-size: 110% !important;
}

.f24 ,.guidance h4.line-center{
  font-size: 110% !important;
}

h4 {
  font-size: 1.2em;
}

.hero {
  padding: 0 0 0 !important;
}

.osusume ul {
  font-size: 1.7rem;
}

.program1 .section-description {
  font-size: 1.0em;
}

.topmsg {
  font-size: 1.1em;
}

.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;
}

.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: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;
}

.photobox2 {
  width: 100%;
  margin: 0 auto 35px;
  position: relative;
  padding: 15px 15px;
  top: 0;
  background: #f6f6f6;
  box-sizing: border-box;
}

.photobox2 img {
  margin-bottom: 0 !important;
}

#headwrap {
  padding: 30px 0 1em !important;
}

#headwrap p {
  font-size: 0.9em;
  padding-bottom: 0.5em;
  margin-bottom: 0;
}

#headwrap .f32 {
  font-size: 1.25em;
}

ul#ico li {
  font-size: 1.7rem;
}
.guidance img.spw70{
	width: 70%;
}
.desc{
	font-size: 1em;
}
}

/* 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%;
  }
}
