@charset "utf-8";
/* CSS Document */

.link_body{
  background-color: #E0EFF2;
  background-image: url("../img/bg.png");
  background-repeat: no-repeat;
  background-position: top center;
  line-height: 1.4;
  font-size: clamp(0.75em, 0.5em + 0.91vw, 1.125em);
  padding: 3em 1em;
}
.link_body h1{
  color: #000;
  text-align: center;
  padding-bottom: 1em;
  font-size: 1.125em;
}
.link_wrap {
  width: 80%;
  margin: 0 auto 3em;  
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(16em, 100%), 1fr));
  gap: 16px;
}
.link_wrap li a{
  font-weight: bold;
  color: #000;
  border-radius: 100vw;
  background: #fff;
  border: 1px solid #c6dbdf;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1em;
  text-decoration: none;
  flex-direction: column;/*add*/
  height: 100%; /*add*/
}


@media screen and (min-width: 801px) {
  .link_wrap li a:hover{background:#c6dbdf; }
}
@media screen and (max-width: 800px) {
  .link_body{padding-bottom: calc(17.5vw + 120px);}
  
  .link_wrap {width:100%;}
}
@media screen and (max-width: 480px) {
  .link_wrap {  
    grid-template-columns: repeat(auto-fit, minmax(min(13em, 100%), 1fr));
    gap: 16px 8px;
  }
}