@charset "utf-8";

html {
	scroll-behavior: smooth;
}

.school-item{
  display: flex;
  flex-direction: column;
  gap: 3rem;
  margin: 3rem auto;
}

.school-item-inner{
  position: absolute;
  height: 100%;
  width: 400vw;
  background-color: #FFF;
  border-radius: 50%;
  left: -150vw;
  margin: 0 auto;
  z-index: -2;
}

.school-item-img{
  position: absolute;
  right: 0;
  top: 5rem;
  max-width: 25%;
  height: auto;
  z-index: -1;
}

.school-item-img-r{
  position: absolute;
  left: 0;
  top: 5rem;
  max-width: 25%;
  height: auto;
  z-index: -1;
}

.school-item-text{
  text-align: center;
  margin: 1.5rem auto;
}

.school-desc{
  display: flex;
  gap: 5%;  
  width: 100%;
  margin-bottom: 5rem;
  padding-top: 5rem;
}

.school-desc-r{
  display: flex;
  flex-direction: row-reverse;
  gap: 5%;  
  width: 100%;
  margin-bottom: 5rem;
  padding-top: 5rem;
}

.school-desc img{
  width: 45%;
  height: auto;
  border-radius: 10px;
  max-height: 400px;
}

.school-desc-r img{
  width: 45%;
  height: auto;
  border-radius: 10px;
  max-height: 400px;
}

.school-desc-text h3{
  position: relative;
  text-align: left;
  font-size: 2rem;
  padding: 0 0 1.5rem;
  margin-bottom: 2rem;
}

.school-desc-text h3:before{
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: auto;
  width: 80px;
  height: 8px;
  border-radius: 8px;
  background-color: #FD5B50;
}

.school-ticket{
  display: flex;
  flex-direction: column;
  gap: 1rem;  
  width: fit-content;
  margin: 3rem auto;
}

.school-ticket-item{
  position: relative;
  display: flex;
  gap: 3rem;  
  width: 80%;
  min-width: 700px;
  margin: 0 auto;
  align-items: center;
  padding: 2rem 5%;
  border: solid 1px #707070;
  border-radius: 10px;
}

.school-ticket-item-b:before {
  position: absolute;
  content: "";
  width: 8px;
  height: 56px;
  border-radius: 4px;
  background-color: #01A0E9;
  top: 0;
  bottom: 0;
  left: 0;
  margin: auto 0;
}
.school-ticket-item-r:before {
  position: absolute;
  content: "";
  width: 8px;
  height: 56px;
  border-radius: 4px;
  background-color: #FD5B50;
  top: 0;
  bottom: 0;
  left: 0;
  margin: auto 0;
}
.school-ticket-item-g:before {
  position: absolute;
  content: "";
  width: 8px;
  height: 56px;
  border-radius: 4px;
  background-color: #C6FE5C;
  top: 0;
  bottom: 0;
  left: 0;
  margin: auto 0;
}

.school-ticket-item p{
  width: 30%;
  border-right: 1px solid #000;
  font-size: 1.125rem;
  font-weight: bold;
}

.school-ticket-item-price{
  display: flex;
  gap: 2rem;
}

.school-ticket-item-price img{
  width: auto;
  height: 40px;
}

.school-join{
  position: relative;
}

.school-join-title{
  background-color: #01A0E9!important;
}

.school-join-item{
  border: 3px solid #01A0E9!important;
  background-color: #FFF;
  width: 280px;
  height: 280px;
}


.school-coach-cont{
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  font-size: 14px;
  width: 80%;
  min-width: 800px;
  margin: 0 auto;
}

.school-coach{
  display: flex;
  flex-direction: column;
  gap: 1rem;
  width: 30%;
  max-width: 320px;
  min-width: 240px;
}

.school-coach img{
  height: 240px;
  width: auto;
  border-radius: 10px;
}

.school-coach-name{
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.school-coach-list{
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.school-coach-list-item{
  display: grid;
  grid-template-columns: 1fr 6fr;
  gap: 1rem;
}

.webgene-blog{
  display: flex;
  flex-direction: row!important;
  justify-content: center;
}

.school-link{
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin: 3rem auto;
  width: 80%;
}

.school-link a{
  min-width: 240px;
  height: fit-content;
  width: fit-content;
  box-shadow: 2px 2px 4px #0000005e;
  border-radius: 10px;
}

.school-link a:hover{
  box-shadow: inset 2px 2px 4px #0000005e;
}


@media screen and (max-width: 768px) {
  
  .school-ticket{
    width: 100%;
  }
  .school-ticket-item{
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;  
    width: 90%;
    min-width: auto;
    margin: 0 auto;
    align-items: center;
    padding: 2rem 5%;
    border: solid 1px #707070;
    border-radius: 10px;
  }
  .school-ticket-item p{
    width: 100%;
    border-bottom: 1px solid #dedede;
    border-right: none;
    font-size: 1.125rem;
    font-weight: bold;
    text-align: center;
  }
  .school-ticket-item-price{
    display: flex;
    flex-direction: column;
    gap: 1rem;
  }
  .school-coach{
    display: flex;
    flex-direction: column;
    gap: 1rem;
    width: 45%;
  }

  .school-coach img{
    height: 240px;
    width: auto;
    border-radius: 10px;
  }

  
}

@media screen and (max-width: 680px) {
  .school-desc{
    display: flex;
    flex-direction: column;
    gap: 1.5rem;  
    width: 100%;
    margin-bottom: 3rem;
    padding-top: 3rem;
  }

  .school-desc-r{
    display: flex;
    flex-direction: column;
    gap: 1.5rem;  
    width: 100%;
    margin-bottom: 3rem;
    padding-top: 3rem;
  }

  .school-desc img{
    width: 100%;
    height: auto;
    border-radius: 10px;
    max-height: 400px;
  }

  .school-desc-r img{
    width: 100%;
    height: auto;
    border-radius: 10px;
    max-height: 400px;
  }
  .school-desc-text h3{
    font-size: 1.5rem;
  }
  .school-coach-cont{
    display: flex;
    gap: 1rem;
    flex-direction: column;
    font-size: 14px;
    width: 100%;
    min-width: auto;
    margin: 0 auto;
    }
  .school-coach{
    display: flex;
    flex-direction: column;
    gap: 1rem;
    width: 100%;
    max-width: 320px;
    min-width: 240px;
  }

  .school-coach img{
    height: 240px;
    width: auto;
    border-radius: 10px;
  }

}