@charset "utf-8";

/* 色変更 */
a.button {
    background-color: #FFFFFF;
    border: solid 2px #FFA9BF;
}

a.button > span {
    color: #FFA9BF
}

a.button > span::before {
    border-left-color: #FFA9BF;
}

footer > .totop > p {
    background-color: #FFA9BF;
}

footer > section > h3 {
    border-color: #FFA9BF;
}

footer > .copyright {
    background-color: #FFA9BF;
}

main {
    background-color: #CAEBF0;
}

main section > h2 {
    border-color: #FFA9BF;
}

main section .author_list > li > h3 {
    border-color: #FFA9BF;
}

/* 作品概要 */
main section.overview.with_book .book figure {
    border: solid 1px #CCCCCC;
}

/* キャラクター紹介 */
.character > div > h3 {
    padding-left: 10px;
    line-height: 28px;
    font-size: 18px;
    font-weight: bold;
    border-left: 4px solid #FFA9BF;
}

.character > div > p {
    margin-top: 16px;
}

.chara_list {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 30px;
}

@media screen and (max-width: 1024px) {
    .chara_list {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media screen and (max-width: 767px) {
    .chara_list {
        grid-template-columns: repeat(1, 1fr);
    }
}


@media screen and (max-width: 767px) {
    .chara_list > li {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
}

.chara_list > li > figure {
    max-width: 200px;
    max-height: 200px;
    aspect-ratio: 1 / 1;
}

.chara_list > li > p {
    margin-top: 1em;
}

/* 著者紹介 */
main section .author_list > li {
    min-height: auto;
}

main section .author_list > li > h3,
main section .author_list > li > p {
    margin-left: 0;
    padding-bottom: 0;
}
