@charset "utf-8";
.none{display: none;}
a{text-decoration: none;}
a:hover{opacity: 1;}

h1{
font-size: 18px;
margin-top: 50px;
margin-bottom: 20px;
}
.top_img{width: 100%;max-width: 1200px;margin: 0 auto;}
.top_img img{width: 100%;}

.angle{color: #14aae6;}


/*-----分野リスト-----*/
.tag{
display: flex;
flex-wrap: wrap;
justify-content: left;
}

.tag a{
  /* display: inline-block;
  padding: 1px 10px;
  margin: 2px;
  font-weight: bold;
  background-color: #ffffff;
  border-radius: 5px;
  text-align: center; */
	display: block;
	text-align: center;
	vertical-align: middle;
	text-decoration: none;
	margin: 5px;
	padding: 0.3rem 1.3rem;
	font-weight: bold;
	color: #14aae6;
	border-bottom: 5px solid #14aae6;
	border-radius: 100vh;
	box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
	-webkit-box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
	transition: 0.5s;
}
.tag a:hover {
	color: #fff;
	background: #14aae6;
	/* border-bottom: 5px solid #fff; */
	transform: translateY(3px);
}

.link-hight{
  padding-top: 40px;
  margin-top: -40px;
}

/*-----学校リスト-----*/

 h2{
  position: relative;
  display: inline-block;
  padding: 0 55px;
  font-weight: bold;
  margin-top: 80px;
  margin-bottom: 20px;
  margin-left: 15px;
  font-size: 18px;

  
}

 h2:before,h2:after {
  content: '';
  position: absolute;
  top: 50%;
  display: inline-block;
  width: 45px;
  height: 1px;
  background-color: black;
}

h2:before {
  left:0;
}
h2:after {
  right: 0;
}


.scool_box{
  display: flex;
  flex-wrap: wrap;
  justify-content: start;
}

.scool_list{
    width: 32%;
    margin: 3px;
    box-sizing: border-box;
    border: 1px solid #e7e7e7;
    border-radius: 5px;
    background-color: #fff;
    padding: 10px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}


.scool_list h3{
  width: 100%;
  height:80px;
  font-size: 16px;
  padding-left: 4px;
  display: inline-block;
  border-left: 5px solid #81a9ff;
  color: #81a9ff;
  padding: 10px;
  font-weight: bold;
  background-color: #f2f8fd;
 line-height: 1.5;
 margin-top: 5px;
}

.bunya{
background-color: #fff;
color: #747474;
height: 80px;
padding-top: 10px;
padding-left: 10px;
margin-top: 0;
font-size: 13px;
line-height: 1.3;
}

.scool_list .area{
  font-size: 17px;
  color: #81a9ff;
  margin-top: 5px;
  padding: 3px;
  text-align: right;
  margin-bottom: 20px;
}


/*----------------------------元デザイン(学校画像部分)-------------------------------------------*/

/* .scool_list .img_box{
  width: 95%;
  margin: 0 auto;
  position: relative;

}

.scool_img{
    height: 170px;
    object-fit: cover;
    width: 100%;
}




.img_box .icon{
  z-index: 20;
  width: 130px;
  position: absolute;
  right: -10px;
  top: -30px;
  transition: all 0.6s ease 0s;
}

.img_box .icon:hover{
  cursor: pointer;
	transform: scale(1.3, 1.3);
} */

/*------------------------------------------------------------------------*/

.icon_box{
  position: relative;
}

.icon_box .icon{
  z-index: 20;
  width: 130px;
  position: absolute;
  right: -8px;
  top: -40px;
  transition: all 0.6s ease 0s;
}

.icon_box .icon img{
  width: 100%;
}

.icon_box .icon:hover{
  cursor: pointer;
	transform: scale(1.2, 1.2);
}


.hover {
  cursor: pointer;
  max-width: 500px;
  overflow: hidden;
  width: 100%;
}
.hover img {
  height: 230px;
  object-fit: cover;
  width: 100%;

  transition: transform .6s ease; /* ゆっくり変化させる */
}
.hover:hover img {
  transform: scale(1.1); /* 拡大 */
}

/*---------------------------------Bプラン---------------------------------------*/

.hover_none {
  max-width: 500px;
  width: 100%;
}
.hover_none img {
  height: 230px;
  object-fit: cover;
  width: 100%;
}

/*------------------------------------------------------------------------*/


.btn1 {
  display: block;
  padding: 0.5em 1em;
  text-decoration: none;
  border-radius: 50px;
  color: #ffffff;
  background-image: linear-gradient(45deg, #0087d4 0%, #5fe7ff 100%);
  box-shadow: 0px 2px 2px rgba(0, 0, 0, 0.29);
  border-bottom: solid 3px #5c617a;
  margin: 0 auto;
  width: 95%;
  text-align: center;
  font-weight: bold;
  margin-bottom: 30px;
  /* cursor: pointer;
	transition: all 0.3s ease 0s; */
}

.btn1:hover{
  /* box-shadow: none;
  border-bottom: none;
  border-bottom-color: transparent;
	transform: translateY(0.1875em); */
  opacity: 0.5;
}


/*-----検索リンク-----*/

.search{
  margin-top: 100px;
  max-width: 400px;
  margin-bottom: 20px;
}

.search_img{width: 100%;}

.link_box{
display: flex;
justify-content: left;
flex-wrap: nowrap;
margin-top: 80px;
}

.link_box a{
  width: 45%;
  display: block;
}

.link_box a:hover{
  opacity: 0.5;
}

.all{
  display: block;
  font-size: 16px;
  color: #14aae6;
  font-weight: bold;
  padding: 10px;
  margin-bottom: 10px;
  text-align: right;
}

@media screen and (max-width:800px) {
  .none{display: block;}

  .contents_main{padding: 0;}
  h1{
  font-size: 15px;
  margin-top: 30px;

  }
  
  /*-----分野リスト-----*/
  
  .tag a{
    font-size: 13px;
  }
  
/*-----学校リスト-----*/

h2{
  margin-left: 10px;
  font-size: 16px;
  margin-top: 40px;
}

.scool_box{
    display: block;
    justify-content: start;
}

.scool_list{
  margin: 0px;
  margin-bottom: 20px;
    width: 100%;
    padding: 10px;
}


.scool_list h3{
  height:auto;
  font-size: 16px;
  line-height: 1.5;
  padding-top: 15px;
  padding-bottom: 15px;
}

.bunya{
height: auto;
padding-left: 0px;
padding: 5px;
font-size: 13px;
line-height: 1.4;
margin-bottom: 20px;
margin-top: 10px;
}

.scool_list .area{
  font-size: 15px;
  margin-top: 0px;
  padding-right: 15px;
}

.hover img{
    height: auto;  
    width: 100%;
}

.hover_none{
  width: 95%;
  margin: 0 auto;
}
.hover_none img{
  height: auto;  
  width: 100%;
}



.scool_list .icon{
  width: 110px;
  right: -10px;
  top: -30px;
  transition: all 0.6s ease 0s;
}

.scool_list .icon:hover{
  cursor: pointer;
	transform: scale(1.3, 1.3);
}




.btn1 {
  display: block;
  border-radius: 50px;
  margin: 0 auto;
  width: 95%;
  text-align: center;
  font-weight: bold;
  margin-bottom: 10px;
  line-height: 1.3;
  margin-top: 20px;
}

.btn1:hover{
  opacity: 0.5;
}
  
  
  /*-----検索リンク-----*/
  
  .search{
    margin-top: 80px;
  }
  
  .search_img{width: 100%;}
  
  .link_box{
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  margin-top: 40px;
  }
  
  .link_box a{
    width: 49%;
    display: block;
  }
  .all{
    font-size: 13px;

  }
}