.bs01 {
    padding: 20px;
}

.bs01 h3 {
    margin: 10px 20px;
    font-size: 16px;
}

.bs01 ul {
    white-space: nowrap;
    flex-wrap: wrap;
    display: flex;
    justify-content: center;
    align-items: center;
    
}


.bs01 li {
    margin: 10px 20px;
    font-size: 14px;
    break-inside: avoid;
    width: 100%;
    max-width: 220px;
}

.bs01 a {
    display: flex;
    justify-content: space-between;
    border-bottom: 2px dotted #EDEFF0;
    color: #000;
}

.bs01 a:hover {
    color:#e31e25;
    border-bottom: 2px solid #e31e25;
}


@media only screen and (max-width: 768px) {
    .bs01 li:nth-child(n+6) {
        display: none;
      }
      .bs01 li {
          max-width: none;
      }
}