#content {
    margin-bottom: 24px;
}

#content p {
    padding: 6px 0;   
}
#content img {
    max-width: 100%;
    height: auto;
}


h2 {
    font-size: 1.2rem;
    position: relative;
    padding: 0.7rem 1rem;
    border: 4px solid #EEE;
    text-align: center;
    margin-bottom: 24px;
}

h2:before {
    position: absolute;
    top: 4px;
    left: 4px;
    width: calc(100% - 16px);
    height: calc(100% - 16px);
    content: '';
    border: 4px dotted #EEE;
}
#content h3 {
    font-size: 1.2rem;
    border-bottom: 3px dashed #EEE;
    margin: 24px 0 16px 0
}

#chara-list-area {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    gap: 0 1%;
}

li.chara-list-card {
    width: 9%;
}

li.chara-list-card img {
    width: 100%;
    aspect-ratio: 1 / 1;
}
li.chara-list-card img:hover {
    border: solid 4px yellow;
    transform: scale(1.2, 1.2);
    transition-duration: 0.3s;
}
#chara-info {
    width: 70%;
    margin: 0 auto;
    padding-top: 64px;
}
@media screen and (max-width: 600px) {
    #chara-info {
        width: 100%;
    }
    li.chara-list-card {
        width: 19%;
    }
}
#character-image {
    display: none;
    position: relative;
    width: 100%;
    aspect-ratio: 1 / 1;
    margin: 0 auto 24px auto;
    overflow: hidden;
}

#character-image p {
    font-weight: bold;
    font-size: 3rem;
    color: white;
}
#bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.7;
}

#character {
    width: 100%;
    height: 100%;
    z-index: 10;
}

#black {
    width: 200%;
    height: 30%;
    background-color: black;
    transform: rotate(-8deg);
    position: absolute;
    top: -28%;
    left: -10%;
}
#job {
    width: 200%;
    height: 30%;
    transform: rotate(-8deg);
    background-color: black;
    position: absolute;
    text-align: right;
    bottom: -15%;
    left: -10%;
    padding-right: 90%;
}
#job p {
    transform-origin: right;
    margin-top: -3%;
    font-size: 2rem;
    font-weight: bold;
    color: gold;
    text-shadow: 1px 1px 1px #555, -1px 1px 1px #555, 1px -1px 1px #555, -1px -1px 1px #555, 1px 1px 1px #555, -1px 1px 1px #555, 1px -1px 1px #555, -1px -1px 1px #555, 5px 5px #9ccc65;
}
@media screen and (max-width: 600px) {
    #job p {
        font-size: 1.5rem;
    }
}

.blur {
    filter: blur(3px);
    transform: scale(1.2, 1.2);
    transition-duration: 5s;
}
.move-right {
    transform: translateX(3%);
    transition-duration: 5s;
}
.zoom {
    transform: scale(1.1, 1.1);
    transition-duration: 5s;
}

#youtube {
    width: 100%;
    aspect-ratio: 16 / 9;
}


/**/
.shake {
    display: inline-block;
    transform-origin: bottom;
    animation: shake 0.5s infinite linear;
}
@keyframes shake {
    0% {
        transform: scaleY(0.7);
        color: yellow;
    }
    50% {
        transform: scaleY(1.3);
        color: red;
    }
    100% {
        transform: scaleY(0.7);
        color: yellow;
    }
}