body {
    background: #343434;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    width: 100vw;
    margin: 0;
    color: white;
    font-family: 'Zen Kaku Gothic Antique', sans-serif;
}

.card {
    width: 446px;
    height: 280px;
    background-color: #141414;
    opacity: 0;
    animation: card_anim 2s .5s forwards ease;
    
}

/* 高さが300px以下のときは横幅に対して16:9のサイズで表示 */
@media screen and (max-height: 300px) {
    .card {
        width: calc(100vw - 10px);
        height: calc((100vw - 10) / 16 * 9);
    }
}

.warn {
    display: none;
}

/* 横幅が400px以下のときは.warnを表示し、.cardを非表示にする */
@media screen and (max-width: 400px) {
    .card {
        display: none;
    }
    .warn {
        display: block;
    }
}

.card_inner {
    margin: 20px;
    width: calc(100% - 40px);
    height: calc(100% - 40px);
    /* display: flex;
    justify-content: baseline;
    align-items: baseline;
    flex-direction: column; */
    color: white;
    overflow: hidden;
}

h2 {
    font-size: 1.2rem;
    margin: 0;
    padding: 0;
    margin-bottom: 10px;
}
p {
    font-size: 0.7rem;
    margin: 0;
    margin-left: 10px;
    padding: 0;
    margin-bottom: 10px;
}
h3 {
    font-size: 0.9rem;
    margin: 0;
    margin-left: 5px;
    padding: 0;
    margin-bottom: 10px;
}

a {
    text-decoration: none;
    color: white;
}
a:visited, a:link {
    color: rgb(59, 225, 250);
}

@keyframes card_anim {
    0% {
        transform: scale(0.8) rotateZ(5deg);
        filter: blur(10px);
        opacity: 0;
    }
    100% {
        transform: none;
        filter: none;
        opacity: 1;
    }
}