.program_flex{display:flex; margin:0 -10px; flex-wrap:wrap;}
.program_flex > a{display:block; padding:10px;}
.wrap{
    position: relative;
    margin: 15px;
    width: 330px;
    height: 200px;
    border-radius: 15px;
}
.wrap img {
    width: 100%;
    height: 100%;
    border-radius: 15px;
}

.phrase {
    display:flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 50px;
    border-bottom-right-radius : 16px;
    text-align: center;
    border-bottom-left-radius : 16px;
    background-color: rgba(0,0,0,0.3);
    color: white;
    position: absolute;
    top: 175px;
    left: 50%;
    transform: translate(-50%, -50%);
}

.hiddenPhrase {
    display: none;
    position: absolute;
    top: 100px;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 330px;
    height: 200px;
    background-color: rgba(0,0,0,0.8);
    color: white;
    text-align: center;
    border-radius: 16px;
    animation: fadeIn 0.5s;
}

.borderBox{
    display: flex;
    align-items:center;
    justify-content: center;
    margin-top: 15px;
    border: 1px solid white;
    width:130px;
    height: 35px;
}

.wrap:hover .phrase {
    display: none;
}
.white{
    font-size: 20px;
    font-weight:bold;
}
.wrap:hover .hiddenPhrase {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}