@charset "UTF-8";


/* kyosai_sec
***************************************************************/
.kyosai_sec{
  padding-top: 0;
}

/*.kyosai_anc_list{
  display: flex;
  flex-wrap: wrap;
  gap: 18px 1.8%;
  margin-top: 60px;
}
.kyosai_anc_list a{
  width: 23.65%;
  display: block;
  background-color: var(--green);
}*/

.anchor{
  margin-top: -150px;
}


.kyosai_anc_list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-top: 60px;
}
.kyosai_anc_list a{
  min-height: 80px;
  background-color: var(--green);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: clamp(16px, 1.6vw, 20px);
  text-align: center;
  line-height: 1.2;
  color: var(--white);
  padding: 16px 20px;
  position: relative;
}
.kyosai_anc_list a::before{
  content: '';
  width: calc(100% - 10px);
  height: calc(100% - 10px);
  border: 2px solid var(--white);
  position: absolute;
  top: 5px;
  left: 5px;
}
.kyosai_anc_list a::after {
  content: '';
  position: absolute;
  bottom: 5px;
  right: 5px;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 0 0 clamp(20px, 2.1vw, 30px) clamp(20px, 2.1vw, 30px);
  border-color: transparent transparent var(--white) transparent;
  transition: all 0.3s;
}

/*--------------------PC--------------------*/
@media all and (min-width:900px){
  .kyosai_anc_list a:hover{
    opacity: 1;
    background-color: var(--orange);
  }

}
/*--------------------SP--------------------*/
@media all and (max-width:899px){
  .kyosai_anc_list {
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin-top: 30px;
  }
  .kyosai_anc_list a{
    min-height: 70px;
    font-size: clamp(15px, 2vw, 16px);
    padding: 16px 0;
  }

  .anchor{
    margin-top: -60px;
  }
  .more_btn {
    max-width: 280px;
    margin-left: auto !important;
  }

}

@media all and (max-width:600px){
  .kyosai_anc_list {
    grid-template-columns: repeat(2, 1fr);
  }
  .kyosai_anc_list a{
    min-height: 62px;
    padding: 15px 0;
  }
  
}

 


/* aaa
***************************************************************/

/*--------------------PC--------------------*/
@media all and (min-width:900px){
}
/*--------------------SP--------------------*/
@media all and (max-width:899px){
}

