@charset "utf-8";
@media screen and (min-width:769px){
.sp{
  display: none;
}

#footer{
  height: auto;
}

#link{
  display: flex;
  justify-content: center;
  align-items: baseline;
  flex-wrap: no-wrap;
}

}

@media screen and (min-width:981px){
  #about-1,
  #about-2,
  #about-3{
    position: relative;
    margin: 30px 30px 130px 50px;
  }

  #about-1 img,
  #about-2 img,
  #about-3 img{
    width: 50%;
  }

  #about-1 section,
  #about-3 section{
    position: absolute;
      bottom: -70px;
      left: 500px;
      width: 400px;
      background-color: #fff;
      padding: 20px 10px 10px 10px;
  }

  #number img{
    position: absolute;
     top: -30px;
  }

  #number2 img{
  position: absolute;
   top: -30px;
    left: 10px;
  }

  #about p{
    font-size: 14px;  }

  h3{
    font-size: 15px;
  }

  #about h4{
    color: #fff;
    background-color: #bc3039;
    padding: 10px;
    border-radius: 5px;
    text-align: center;
    display: inline-block;
    font-size: 15px;
  }

  #about-2{
    position: relative;
    margin-right: 50px;
    text-align: right;
  }

  #about-2 section{
    position: absolute;
     bottom: -60px;
     right: 500px;
     width: 400px;
     background-color: #fff;
     padding: 20px 10px 10px 10px;
  }

}

@media screen and (max-width:420px){
#lead{
  background-image: url(../img/lead_sp.png);
  padding: 50px 0 550px 0;
}

#footer{
  height: 1000px;
}
}

@media screen and (max-width:768px){
.pc{
  display: none;
}

#g-nav{
  position: fixed;
   bottom: -100%;
}

h1 a img{
  width: 40%;
}

#news-area{
  width: 220px;
}

.capsp h4{
  text-shadow: 1px 1px 5px rgba(0,0,0,0.6)
}
	
#topnews{
	padding: 20px 0;
	width: 100%;
}
	
#topnews h3{
	font-size: 20px;
}
	
#topnews section img{
	width: 85%;
}
	#pdf{
		padding: 15px 15px 30px 15px;
	}
#lead{
  background-image: url(../img/lead_pad.png);
  background-size: cover;
  width: 100vw;
  margin: 0;
  padding: 50px 0 500px 0;
}

#lead h2{
  font-size: 16px;
  text-align: center;
}

#lead ol{
  width: 300px;
  margin: 0 auto;
}

#lead ol li{
  font-size: 15px;
}
	
#about-1 h3,
#about-2 h3,
#about-3 h3{
  font-size: 18px;
}	

footer img{
  width: 20%;
}

#icon img{
  width: 10%;
}

/* スケジュールページ用 */
.titlebox{
  height: 240px;
}

.title h3{
  font-size: 18px;
}

.title h4{
  font-size: 13px;
}

.calendar iframe{
  width: 95%;
  height: 400px;
}

#title h3{
  font-size: 20px;
}

@keyframes border_anim {
	0%{
		width: 0%;
	}
	100%{
		width: 50%;
	}
}

/* contact */
form{
  width: 100%;
}

#confirm{
  width: 100%;
}

#news_section ul li img,
#news_section ul li p
{
  width: 90%;
  padding: 15px;
  margin: 0;
}

.staff table,
.career table{
  font-size: 13px;
}

.staff table caption{
  font-size: 20px;
}

.staff table caption span{
  font-size: 16px;
}

#footer{
  height: auto;
}

#link{
  gap: 20px;
}

#link img{
  width: 70%;
}

#news-list{
  padding: 0;
}

#news-list section{
  margin: 30px;
}
}

@media screen and (max-width:980px){
#container{
  overflow: hidden;
}

header{
  background-image: url(../img/header_sp.jpg);
  background-size: cover;
  width: 100vw;
}

.bgDU span.mask h4{
  position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #fff;
    line-height: 1.2;
    width: 200px;
}

#about-1,
#about-2,
#about-3{
  position: relative;
}


#about-1 img,
#about-2 img,
#about-3 img{
  margin: 40px auto;
  display: block;
  width: 80%;
}

#about-1 section,
#about-2 section,
#about-3 section{
  margin: 30px auto;
  width: 70%;
}

#number img,
#number2 img{
  width: 40%;
  position: absolute;
   top: -80px;
}

#access img{
  width: 90%;
}

#access-p{
  width: 300px;
}

.staff table,
.career table{
  width: 95%;
}



}
