@charset "UTF-8";

.gakken-desc h3{
  margin-bottom: 1.5rem;
}

.gakken-cont{
  width: 70%;
  margin: 5rem auto;
}

.gakken-cont-img{
  display: flex;
  justify-content: center;
  width: 90%;
  margin: 2rem auto;
  gap: 0.5rem;
}

.gakken-cont-img img{
  max-height: 240px;
  width: calc(100%/3);
  max-width: 320px;
  object-fit: cover;
  border-radius: 10px;
}

.gakken-item{
  background-color: #FFF;
  padding: 3rem 5%;
}

.gakken-item-list{
  display: grid;
  grid-template-columns: 1fr 5fr;
  gap: 1rem;
  padding: 1.5rem 0;
  border-bottom: 1px solid #DEDEDE;
}

@media screen and (max-width: 1024px) {
  .gakken-desc{
 	width: 90%;
    margin: 3rem auto;
  }
  .gakken-desc h3{
 	font-size: 1.25rem;
    margin-bottom: 1.5rem;
  }
  .gakken-cont{
    width: 90%;
    margin: 3rem auto;
  }
}