.qa{
    font-family: '游ゴシック';
    color: #0a0b3b;
    font-size: 18px;
    font-weight: 600;
}

.a.dontview{
    opacity: 0;
    visibility: hidden;
}

.a{
    background-color: #7adfee;
    margin-top: 10px;
    margin-left: 10px;
    padding-top: 20px;
    padding: 30px;
    width: 80%;
    height: 100px;
    z-index: -1;
    border-radius: 10px;
    position: relative;
    animation: dontview 0.5s forwards;
}



.a.view{
    animation: view 0.5s forwards;
    display: block;
}

.q{
    position: relative;
    overflow: hidden;
    height: 80px;
    cursor: pointer;
    font-size: 18px;
}

.q div:first-child,.a div:first-child{
    position: absolute;
    top: 50%;
    left: 50px;
    font-size: 100px;
    transform: translate(0,-50%);
    color: #bff4fc;
}

.q div:nth-child(2),.a div:nth-child(2){
    position: absolute;
    z-index: 2;
}

.q div:last-child{
    position: relative;
    width: 100%;
    height: 100%;
}

.q div:last-child::before{
    content: '';
    position: absolute;
    top: 50%;
    right: 20px;
    width: 30px;
    height: 10px;
    background-color: #0a0b3b;
    rotate: -45deg;
}
.q div:last-child::after{
    content: '';
    position: absolute;
    top: 50%;
    right: 36px;
    width: 30px;
    height: 10px;
    background-color: #0a0b3b;
    rotate: 45deg;
}

@keyframes view{
    from{
        opacity: 0;
        transform: translate(0,-100%);
    }
    to{
        opacity: 1;
        transform: translate(0,0);
    }
}

@keyframes dontview{
    from{
        opacity: 1;
        transform: translate(0,0);
    }
    to{
        opacity: 0;
        transform: translate(0,-100%);
    }
}
