@charset "utf-8";

*{
    margin: 0;padding: 0;line-height: 1;list-style: none;
}

a{text-decoration: none;}

.contents {
  padding :0 10px 3em;
}




#contents{
   
   
    width: 96%;
    margin: 0 auto;
}

/* CSS Document */
.lead {
  margin: 0 0px 20px;
}
.lead p {
  font-size: 18px;
  margin-bottom: 10px;
}

h1{
  
  margin-top: 100px;
}

h1 img{
  max-width: 800px;
  display: block;
  margin: 0 auto;
}


.lead ul{
padding-left: 10px;
text-align: center;
position: relative;
left: -13px;
}

.lead li {
  
  border-radius: 5px;
  font-family: 'Kosugi', sans-serif;
  font-size: 18px;
  color: #484848;
  position: relative;
  padding: 15px 10px;
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: center;
}
.lead li svg {
  width: 1em;
  height: 1em;
  fill: #666666;
  margin-right: 10px;
}
.lead li:nth-of-type(1) {
  background-color: #FFBFE4;
  margin-bottom: 5px;
}
.lead li:nth-of-type(1)::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  border: 15px solid transparent;
  border-top: 15px solid #FFBFE4;
  z-index: 10;
}
.lead li:nth-of-type(2) {
  background-color: #C4D7FF;
}
.lead li:nth-of-type(2)::after {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  border: 15px solid transparent;
  border-top: 15px solid #FFF;
}

#page-link dl{
  display:flex;
  flex-wrap:wrap;
  justify-content:space-between;
  margin-bottom: 50px;
}

#page-link dt{
  flex-basis:calc((100% - 20px) / 2);
  max-width:calc((100% - 20px) / 2);
  margin-top: 20px;
  /* 以降はレイアウトとは無関係です */
  text-align:center;
 
 
}


#page-link a{
  color: #ffffff;
  display: block;
  font-size: 18px;
  background-color: #658ce9;
  border-radius: 6px;
  
  padding: 9px;
}

#page-link a:hover{
  background-color: #b3c3e9;
  color: #5f5f5f;
}
/*--------------学校動画部分-------------------*/

.quickBox{
   
    display: flex;
    flex-wrap: wrap;
   justify-content: start;
  
   
}

.quickBox .video{
margin: 10px;
width: 23%;
box-sizing: border-box;

}


.quickBox .video-text{
 
 
  height:60px;
  
  
}

.video-contents h3{
font-size: 18px;
padding-left: 4px;
display: inline-block;
border-left: 5px solid #81a9ff;
padding: 5px;
}

/* .video-contents h3{
  font-size: 19px;
  font-weight: 900;
  color: #81a9ff;
  
  padding: 15px;
  margin-top: 13px;
  margin-bottom: 5px;
  text-align-last: left;
} */

.video-contents span{
  font-size: 14px;
}


.quickBox .video-box{
 
  display: inline-block;
  margin: 0px;
  height: auto;
  width: 100%;
  background-color: #ffffff;
}

.video-contents h4{
 
 font-size: 27px;
 padding:85px 0px 15px 5px;
 margin-bottom: 10px;
 color: #444444;

}

.quickBox img{
  object-fit: contain;

  width: 100%;
  height: 100%;
}




.video-contents p{
  font-size: 17px;
  color: #81a9ff;
  margin-top: 5px;
  padding: 3px;
 text-align: right;
}



@media (max-width: 1065px){

  .quickBox .video-text{
 
 
    height:70px;
    
    
  }

  h1 img{
    width: 100%;
  }


.lead p {
  font-size: 16px;
  margin-bottom: 10px;
}
.lead li {
  border-radius: 5px;
  font-family: 'Kosugi', sans-serif;
  font-size: 16px;
  color: #484848;
  position: relative;
  padding: 15px 10px;
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: center;
}
.lead li svg {
  width: 1em;
  height: 1em;
  fill: #666666;
  margin-right: 10px;
}
.lead li:nth-of-type(1) {
  background-color: #FFBFE4;
  margin-bottom: 5px;
}
.lead li:nth-of-type(1)::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  border: 15px solid transparent;
  border-top: 15px solid #FFBFE4;
  z-index: 10;
}
.lead li:nth-of-type(2) {
  background-color: #C4D7FF;
}
.lead li:nth-of-type(2)::after {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  border: 15px solid transparent;
  border-top: 15px solid #FFF;
}

#page-link dl{
 display: block;

 
  margin-bottom: 30px;
  
}

#page-link dt{
 max-width: 100%;
  margin-top: 20px;
  /* 以降はレイアウトとは無関係です */
  text-align:center;

 
}


#page-link a{
  color: #ffffff;
 display: inline-block;
 width: 80%;
margin: 0 auto;align-items: center;
  background-color: #658ce9;
  border-radius: 6px;

  padding: 9px;
}

#page-link a:hover{
  background-color: #b3c3e9;
  color: #5f5f5f;
}
/*--------------学校動画部分-------------------*/

.quickBox{
  
   width: 100%;
    display: flex;
    flex-wrap: wrap;
   justify-content: space-between;
    
   
}

.quickBox .video{
margin: 0px;
width: 48%;
box-sizing: border-box;

}




.video-contents h4{
 
 font-size: 20px;
 padding:60px 0px 15px 5px;
 margin-bottom: 10px;
 color: #444444;
 
}

.video-contents h3{
  font-size: 16px;
  padding-left: 4px;
  display: inline-block;
  border-left: 5px solid #81a9ff;
  padding: 5px;
  }
  



.video-contents span{
    font-size: 14px;
}


.video-contents p{
  font-size: 17px;
  color: #81a9ff;
  margin-top: 5px;
  padding: 3px;
 text-align: right;
}

  
}