@charset "utf-8";

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

a.button > span {
    color: #11B80D
}

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

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

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

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

main {
    background-color: #FFF096;
}

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

main section.introduction .book figure {
    border: solid 1px #CCCCCC;
}

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

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

/* キャラクター紹介 */
.chara_list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

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

@media screen and (max-width: 500px) {
    .chara_list {
        grid-template-columns: auto;
    }
}

.chara_list > li {
    display: grid;
    grid-template-columns: 160px 1fr;
    gap: 16px;
}

@media screen and (max-width: 1024px) {
    .chara_list > li {
        grid-template-columns: auto;
        justify-items: center;
    }
}

.chara_list > li > h3 {
    grid-row: 1 / 2;
    grid-column: 1 / 3;
    padding-left: 10px;
    line-height: 28px;
    font-size: 18px;
    font-weight: bold;
    border-left: 4px solid #11B80D;
}

@media screen and (max-width: 1024px) {
    .chara_list > li > h3 {
        grid-row: auto;
        grid-column: auto;
        width: 100%;
    }
}

.chara_list > li > figure {
    width: 160px;
    height: 160px;
    overflow: hidden;
    border: solid 2px #11B80D;
    border-radius: 80px;
}

.chara_list > li > p {
    display: flex;
    align-items: center;
}

/* 著者紹介 */
main section .author_list > li > p.balloon {
    position: relative;
    padding: 20px;
    background-color: #FFF6C0;
    border-radius: 10px;
}

main section .author_list > li > p.balloon::before {
    position: absolute;
    top: 20px;
    left: -20px;
    border-right: solid #FFF6C0 20px;
    border-top: solid transparent 10px;
    border-bottom: solid transparent 10px;
    content: '';
}

@media screen and (max-width: 767px) {
    main section .author_list > li > p.balloon::before {
        top: -20px;
        left: 30px;
        transform: rotate(90deg);
    }
}
